/* Hello Little Weekend: main stylesheet */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
	--navy: #1C2650;
	--navy-deep: #141C3D;
	--navy-2: #2A3566;
	--yellow: #FFC83D;
	--yellow-soft: #FFF3D1;
	--white: #FFFFFF;
	--surface: #F4F5FA;
	--ink: #1C2650;
	--muted: #4A5275;
	--line: #DFE2EE;
	--pink: #F2668B;
	--blue: #4F7CF0;

	--font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r-sm: 8px;
	--r-md: 20px;
	--r-lg: 32px;
	--r-pill: 999px;
	--shadow: 0 18px 50px -20px rgba(28, 38, 80, .35);
	--shadow-sm: 0 8px 24px -12px rgba(28, 38, 80, .3);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 40px);
	--header-h: 76px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:where(body) { margin: 0; }
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
:where(img, svg, video) { display: block; max-width: 100%; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; }
:where(a) { color: inherit; }

body {
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Type */
h1, h2, h3 { font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.sec-title { font-size: clamp(28px, 3.6vw, 44px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; }
em { font-style: normal; color: var(--yellow); }

/* Wordmark */
.wordmark { display: inline-flex; flex-direction: column; line-height: .95; font-weight: 700; letter-spacing: -.02em; color: var(--white); text-decoration: none; }
.wordmark__hello { display: inline-flex; align-items: center; color: var(--yellow); font-weight: 500; font-size: 15px; }
.wordmark__o { width: .95em; height: .95em; margin-left: .04em; }
.wordmark__rest { font-size: 19px; }
.wordmark--lg .wordmark__hello { font-size: 22px; }
.wordmark--lg .wordmark__rest { font-size: 30px; }

/* Buttons */
.btn {
	--bg: var(--navy); --fg: var(--white);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 24px; border-radius: var(--r-pill); border: 2px solid transparent;
	background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--accent { --bg: var(--yellow); --fg: var(--navy); }
.btn--navy { --bg: var(--navy); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: var(--white); box-shadow: none; }
.btn--ghost-navy { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn--ghost-navy:hover { border-color: var(--navy); box-shadow: none; }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--sm { padding: 9px 16px; font-size: 14px; gap: 7px; }
.btn--sm svg { width: 17px; height: 17px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; background: none; border: 0; padding: 0; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg:last-child { transform: translateX(4px); }

.round-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); color: var(--navy); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { border-color: var(--navy); }
.round-btn:active { transform: scale(.94); }

/* Badges and tags */
.badge { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-sm); line-height: 1.3; }
.badge--navy { background: var(--navy); color: var(--yellow); }
.badge--lg { font-size: clamp(14px, 1.4vw, 17px); padding: 7px 14px; }
.tag { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Checks */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 24px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.checks--big li { font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.25; color: var(--white); }
.checks--big svg { width: 28px; height: 28px; margin-top: 0; }
.checks--light li { color: var(--white); font-size: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); background: rgba(28, 38, 80, .94); backdrop-filter: saturate(140%) blur(10px); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-header__brand { text-decoration: none; flex: none; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { position: relative; padding: 8px 14px; border-radius: var(--r-pill); color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--yellow); }
.site-header__cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { background: var(--navy); padding: 4px var(--gut) 20px; border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); }
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .92); text-decoration: none; font-size: 17px; font-weight: 600; padding: 13px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu nav a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; }
.mobile-menu nav a[aria-current="page"] { color: var(--yellow); }
.mobile-menu .btn { width: 100%; padding: 11px 18px; font-size: 15px; }
@media (max-width: 960px) {
	.site-nav, .site-header__cta { display: none; }
	.menu-toggle { display: grid; }
	:root { --header-h: 66px; }
}

/* Reveal (only hides when JS runs) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js :is(.hero, .event-hero, .page-hero, .about-hero) .reveal { opacity: 1; transform: none; transition: none; animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; animation: none !important; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head__actions { display: flex; gap: 10px; align-items: center; }
.sec-head__actions .link-arrow { margin-left: 10px; }

/* HERO */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding: clamp(24px, 3.5vw, 44px) 0 clamp(44px, 5vw, 64px); isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, .16), rgba(255, 200, 61, 0) 65%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; max-width: 15ch; }
.hero__live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 22px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 200, 61, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 200, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 200, 61, 0); } }
.hero__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.hero__quick span { font-size: 14px; color: rgba(255, 255, 255, .7); margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .hero__dot { animation: none; } }
@media (max-width: 520px) { .hide-sm { display: none; } }
.form-note { font-size: 13px; color: var(--muted); grid-column: 1 / -1; }
.form-note a, .site-footer__bottom a, .book-card__fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom a + a { margin-left: 12px; }
.prose [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.hero__title em { display: inline-block; }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__deck { position: relative; justify-self: center; width: min(100%, 330px); --d: .15s; }
.hero__bookmark { position: absolute; width: 54px; right: -26px; top: 40px; transform: rotate(12deg); z-index: 3; animation: float 6s ease-in-out infinite; }
.hero__smiley { position: absolute; width: 70px; height: 70px; right: -26px; bottom: -22px; z-index: 3; border-radius: 50%; box-shadow: 0 0 0 6px var(--navy), 0 14px 30px -10px rgba(0, 0, 0, .5); animation: float 7s ease-in-out infinite reverse; }
.hero__live-more { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.hero__live-more::before { content: ""; width: 1px; height: 14px; background: rgba(255, 255, 255, .3); }
@keyframes float { 50% { transform: translateY(-12px) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .hero__bookmark, .hero__smiley { animation: none; } }

/* Story deck (reel style) */
.deck { position: relative; aspect-ratio: 9 / 16; max-height: min(560px, calc(100vh - 170px)); min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-deep); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 8px rgba(255, 255, 255, .06); transform: rotate(2.5deg); }
.deck__bars { position: absolute; z-index: 4; top: 22px; left: 22px; right: 22px; display: flex; gap: 6px; }
.deck__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.deck__bars i { display: block; height: 100%; width: 0; background: var(--white); }
.deck__bars span.is-done i { width: 100%; }
.deck__slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 46px 28px 32px; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.deck__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.deck__slide--navy { background: var(--navy-2); color: var(--white); }
.deck__slide--yellow { background: var(--yellow); color: var(--navy); }
.deck__slide--white { background: var(--white); color: var(--navy); }
.deck[data-tone="light"] .deck__bars span { background: rgba(28, 38, 80, .22); }
.deck[data-tone="light"] .deck__bars i { background: var(--navy); }
.deck__label { font-size: 12px; font-weight: 500; opacity: .85; }
.deck__illus { width: 72px; height: auto; margin-top: 44px; }
.deck__hook { display: block; margin-top: 22px; font-size: clamp(24px, 2.5vw, 30px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.deck__bottom { margin-top: auto; display: grid; gap: 8px; justify-items: start; }
.deck__title { font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.deck__venue { font-size: 14px; opacity: .8; }
.deck__slide.is-active .deck__illus, .deck__slide.is-active .deck__hook, .deck__slide.is-active .deck__bottom { animation: rise .7s var(--ease) both; }
.deck__slide.is-active .deck__hook { animation-delay: .08s; }
.deck__slide.is-active .deck__bottom { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.deck__nav { position: absolute; z-index: 3; top: 0; bottom: 0; width: 34%; background: transparent; border: 0; }
.deck__nav--prev { left: 0; }
.deck__nav--next { right: 0; }
.deck--empty { display: grid; place-content: center; text-align: center; padding: 40px; color: var(--white); gap: 20px; }
.deck--empty .deck__illus { margin: 0 auto; width: 90px; }

/* Up next / countdown */
.next { background: var(--yellow); color: var(--navy); }
.next__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 30px; flex-wrap: wrap; }
.next__kicker { font-weight: 600; font-size: 15px; }
.next__title { font-size: clamp(24px, 3vw, 36px); margin: 4px 0 8px; }
.next__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.next__title a:hover { background-size: 100% 3px; }
.next__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.next__count { display: flex; gap: 10px; }
.next__count div { background: var(--navy); color: var(--white); border-radius: 16px; min-width: 78px; padding: 12px 10px 10px; text-align: center; }
.next__count strong { display: block; font-size: clamp(28px, 3.4vw, 42px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--yellow); }
.next__count span { font-size: 12px; opacity: .8; }

/* Cards */
.card { --bg: var(--navy); --fg: var(--white); height: 100%; }
.card--yellow { --bg: var(--yellow); --fg: var(--navy); }
.card--white { --bg: var(--white); --fg: var(--navy); }
.card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); overflow: hidden; text-decoration: none; background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__art { position: relative; aspect-ratio: 4 / 3; background: var(--bg); color: var(--fg); padding: 22px; display: flex; flex-direction: column; overflow: hidden; }
.card--white .card__art { background: var(--surface); }
.card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__bar { display: block; height: 3px; border-radius: 3px; background: currentColor; opacity: .3; position: relative; }
.card__bar i { position: absolute; inset: 0 60% 0 0; background: var(--yellow); border-radius: 3px; }
.card--yellow .card__bar i { background: var(--navy); }
.card__illus { width: 76px; height: auto; margin-top: 18px; transition: transform .5s var(--ease); }
.card__link:hover .card__illus { transform: rotate(-8deg) scale(1.08); }
.card__tagline { margin-top: auto; font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; max-width: 16ch; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; align-items: flex-start; }
.card__title { font-size: 23px; color: var(--navy); }
.card__meta { display: flex; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.card__meta svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 10px; }
.card__go { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); transition: transform .3s var(--ease), background-color .3s; }
.card__go svg { width: 18px; height: 18px; }
.card__link:hover .card__go { transform: rotate(-35deg); background: var(--navy); color: var(--yellow); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.grid .card.is-hidden { display: none; }

/* Rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 30px; scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail__more { display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; border-radius: var(--r-md); border: 2px dashed var(--line); color: var(--navy); font-weight: 700; font-size: 20px; text-decoration: none; min-height: 380px; transition: border-color .3s, background-color .3s; }
.rail__more svg { width: 72px; transition: transform .5s var(--ease); }
.rail__more:hover { border-color: var(--navy); background: var(--yellow-soft); }
.rail__more:hover svg { transform: rotate(-12deg) scale(1.08); }

/* Bento */
.bento-sec { background: var(--surface); }
.bento-sec .sec-title { margin-bottom: 36px; max-width: 18ch; }
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.bento__tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); text-decoration: none; overflow: hidden; min-height: 300px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bento__tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento__tile--0 { grid-row: span 2; min-height: 520px; }
.bento__tile--yellow { background: var(--yellow); color: var(--navy); }
.bento__tile--navy { background: var(--navy); color: var(--white); }
.bento__tile--white { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.bento__count { font-size: clamp(54px, 7vw, 96px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.bento__count small { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; margin-top: 8px; opacity: .8; }
.bento__illus { position: absolute; right: clamp(20px, 3vw, 36px); top: clamp(20px, 3vw, 36px); width: clamp(90px, 10vw, 130px); height: auto; transition: transform .6s var(--ease); }
.bento__tile--0 .bento__illus { width: clamp(150px, 18vw, 230px); top: auto; bottom: 120px; right: 30px; }
.bento__tile:hover .bento__illus { transform: rotate(-6deg) translateY(-6px); }
.bento__text { margin-top: auto; display: grid; gap: 4px; padding-right: 60px; padding-top: 20px; }
.bento__text strong { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.bento__text span { opacity: .82; max-width: 34ch; }
.bento__go { position: absolute; right: clamp(20px, 3vw, 32px); bottom: clamp(20px, 3vw, 32px); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--yellow); transition: transform .3s var(--ease); }
.bento__tile--navy .bento__go { background: var(--yellow); color: var(--navy); }
.bento__go svg { width: 22px; }
.bento__tile:hover .bento__go { transform: rotate(-35deg); }

/* Marquee */
.marquee { background: var(--navy); color: var(--white); overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(255, 255, 255, .08); }
.marquee__track { display: flex; align-items: center; gap: 22px; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span { font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.marquee__track svg { width: 18px; height: 18px; flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* How it works */
.how__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.how__copy .lead { margin-top: 18px; }
.how__phone { position: relative; justify-self: center; }
.how__mic { position: absolute; width: 74px; left: -56px; top: 30px; transform: rotate(-14deg); }
.how__balloons { position: absolute; width: 96px; right: -54px; bottom: 30px; }

.phone { position: relative; width: min(300px, 76vw); aspect-ratio: 9 / 16; border-radius: 36px; padding: 10px; background: var(--navy-deep); box-shadow: 0 40px 80px -30px rgba(28, 38, 80, .55); }
.phone video, .phone__placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: var(--navy); }
.phone__placeholder { display: grid; place-items: center; }
.phone__placeholder svg { width: 90px; }
.phone--tilt { transform: rotate(3deg); }
.phone__sound { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: var(--r-pill); border: 0; background: rgba(20, 28, 61, .78); color: var(--white); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.phone__sound[aria-pressed="true"] { background: var(--yellow); color: var(--navy); }

/* Reel preview shown in the phone until a reel video is attached */
.reelmock { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 28px; color: var(--white); text-decoration: none; isolation: isolate;
	background: radial-gradient(120% 70% at 85% 8%, rgba(255, 200, 61, .32), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(79, 124, 240, .35), transparent 65%), linear-gradient(170deg, var(--navy-2), var(--navy) 55%, var(--navy-deep)); }
.reelmock::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(12, 17, 38, .75)); z-index: -1; }
.reelmock__bars { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; gap: 4px; }
.reelmock__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.reelmock__bars i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.reelmock__bars i.is-done::after { transform: scaleX(1); }
.reelmock__bars i.is-on::after { transform: scaleX(1); }
.js .reelmock__bars i.is-on::after { animation: reelbar 3.8s linear both; }
@keyframes reelbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reelmock__top { position: absolute; top: 26px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.reelmock__top b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reelmock__avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--navy), 0 0 0 3.5px var(--pink); }
.reelmock__avatar svg { width: 20px; height: 20px; }
.reelmock__follow { flex: none; margin-left: 2px; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--r-pill); font-size: 11px; font-weight: 600; }
.reelmock__slides { position: absolute; left: 18px; right: 52px; top: 26%; bottom: 23%; }
.reelmock__slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reelmock__slide.is-on { opacity: 1; transform: none; transition-duration: .5s; transition-delay: .3s; }
.reelmock__slide:not(.is-on) { transition-duration: .25s; transform: translateY(-10px); }
.reelmock__kicker { align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 700; transform: rotate(-3deg); }
.reelmock__title { font-size: clamp(20px, 6.2vw, 26px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.reelmock__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.reelmock__meta svg { flex: none; width: 14px; height: 14px; color: var(--yellow); }
.reelmock__rail { position: absolute; right: 12px; bottom: 24%; display: grid; gap: 16px; }
.reelmock__rail svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.reelmock__rail svg:first-child { fill: var(--pink); stroke: var(--pink); }
.reelmock__caption { position: absolute; left: 16px; right: 16px; bottom: 18px; display: grid; gap: 10px; font-size: 12.5px; line-height: 1.4; }
.reelmock__caption small { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); color: var(--navy); font-size: 12.5px; font-weight: 700; transition: background .2s, transform .2s var(--ease); }
.reelmock__caption small svg { width: 12px; height: 12px; }
.reelmock:hover .reelmock__caption small, .reelmock:focus-visible .reelmock__caption small { background: var(--yellow); transform: translateY(-2px); }
.reelmock:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .reelmock__slide { transition: none; } .js .reelmock__bars i.is-on::after { animation: none; } }

/* Organiser band */
.organiser { padding-top: 0; }
.organiser__box { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--yellow); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); }
.organiser__kids { width: clamp(110px, 12vw, 160px); }
.organiser__box h2 { font-size: clamp(24px, 3vw, 36px); }
.organiser__box p { margin-top: 8px; max-width: 52ch; }

/* Page heroes */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.page-hero--navy { background: var(--navy); color: var(--white); }
.page-hero--yellow { background: var(--yellow); color: var(--navy); }
.page-hero__title { font-size: clamp(34px, 5vw, 62px); line-height: 1.05; letter-spacing: -.03em; max-width: 16ch; }
.page-hero__sub { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; opacity: .85; }
.page-hero__art { position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); bottom: -6px; width: clamp(110px, 16vw, 200px); height: auto; opacity: .95; }
.page-hero--split .page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.page-hero--split .checks { margin: 0; }
.page-hero--404 { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.page-hero--404 .page-hero__title, .page-hero--404 .page-hero__sub { margin-inline: auto; }
.page-hero--404 .btn { margin-top: 28px; }
.big-smile { width: 120px; margin: 0 auto 28px; }

/* Filters */
.filters { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filters__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 18px; }
.filters__row > * { min-width: 0; max-width: 100%; }
.filters__row { display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 18px; border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; color: var(--navy); transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip:active { transform: scale(.96); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip--sm { padding: 7px 14px; font-size: 14px; }
.chip--sm.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.filters__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.select select, .search input { height: 44px; border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--white); padding: 0 18px; font-size: 15px; color: var(--navy); }
.select select { padding-right: 40px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2650' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { padding-left: 40px; width: min(300px, 100%); }
.select select:focus, .search input:focus { outline: none; border-color: var(--navy); }

.empty-state { text-align: center; padding: 60px 20px; display: grid; justify-items: center; gap: 10px; }
.empty-state__art { width: 90px; margin-bottom: 8px; }
.empty-state h2 { font-size: 28px; }
.empty-state p { color: var(--muted); }
.empty-state__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.empty { color: var(--muted); }

/* Calendar */
.cal-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal__month { font-size: clamp(22px, 2.6vw, 30px); }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow span { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.cal__day { position: relative; aspect-ratio: 1; border-radius: 14px; border: 0; background: var(--surface); color: var(--navy); font-weight: 600; font-size: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: background-color .2s, transform .2s var(--ease), color .2s; }
.cal__day:hover { background: var(--yellow-soft); }
.cal__day:active { transform: scale(.95); }
.cal__day.is-out { background: transparent; color: #A9AEC6; }
.cal__day.is-past { color: #A9AEC6; }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--navy); }
.cal__day.has-events { background: var(--navy); color: var(--white); }
.cal__day.has-events:hover { background: var(--navy-2); }
.cal__day.is-selected { background: var(--yellow) !important; color: var(--navy) !important; }
.cal__dots { display: flex; gap: 3px; height: 6px; }
.cal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.cal__day.is-selected .cal__dots i { background: var(--navy); }
.cal__today { margin-top: 18px; font-size: 15px; }
.cal-side { position: sticky; top: calc(var(--header-h) + 24px); }
.cal-side__title { font-size: 26px; margin-bottom: 18px; }
.cal-side__list { display: grid; gap: 14px; }
.mini { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--surface); text-decoration: none; transition: transform .3s var(--ease), background-color .3s; animation: rise .5s var(--ease) both; }
.mini:hover { transform: translateX(4px); background: var(--yellow-soft); }
.mini__date { flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--navy); color: var(--yellow); display: grid; place-content: center; text-align: center; line-height: 1; }
.mini__date b { font-size: 24px; }
.mini__date small { font-size: 12px; font-weight: 600; color: var(--white); text-transform: uppercase; margin-top: 3px; }
.mini__body strong { display: block; font-size: 18px; line-height: 1.2; }
.mini__body span { font-size: 14px; color: var(--muted); }
.cal-side__empty { padding: 26px; border-radius: var(--r-md); border: 2px dashed var(--line); color: var(--muted); }

/* Event page */
.event-hero { --bg: var(--navy); --fg: var(--white); background: var(--bg); color: var(--fg); padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.event-hero--yellow { --bg: var(--yellow); --fg: var(--navy); }
.event-hero--white { --bg: var(--surface); --fg: var(--navy); }
.event-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; opacity: .85; margin-bottom: clamp(24px, 4vw, 48px); }
.back svg { width: 18px; height: 18px; }
.back:hover { opacity: 1; }
.event-hero__hook { display: flex; gap: 14px; align-items: center; font-size: clamp(18px, 2vw, 22px); font-weight: 600; max-width: 30ch; margin-bottom: 24px; line-height: 1.3; }
.event-hero__smile { width: 46px; flex: none; }
.event-hero__title { font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.04em; margin: 16px 0 18px; }
.event-hero__venue { display: flex; gap: 10px; align-items: flex-start; font-size: clamp(16px, 1.6vw, 19px); opacity: .9; }
.event-hero__venue svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.event-hero__media { justify-self: center; --d: .15s; }
.event-hero__img { border-radius: var(--r-lg); width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; transform: rotate(2deg); }
.event-hero .notice { margin-top: 20px; }
.story-art { width: min(320px, 76vw); aspect-ratio: 9 / 16; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 26px; transform: rotate(3deg); box-shadow: var(--shadow); }
.story-art--yellow { background: var(--yellow); color: var(--navy); }
.story-art--navy { background: var(--navy); color: var(--white); }
.story-art svg { width: 110px; }
.story-art p { margin-top: auto; font-size: 30px; font-weight: 700; line-height: 1.1; }

.event-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); padding-block: clamp(40px, 6vw, 80px); align-items: start; }
.event-main { display: grid; gap: 22px; }
.story { position: relative; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); overflow: hidden; }
.story--yellow { background: var(--yellow); color: var(--navy); display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.story--navy { background: var(--navy); color: var(--white); }
.story--white { background: var(--white); border: 1px solid var(--line); }
.story--share { background: var(--navy-2); color: var(--white); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.story--share p { color: var(--yellow); font-weight: 500; margin-top: 6px; }
.story__illus { width: clamp(90px, 12vw, 140px); flex: none; }
.story__illus--sm { width: 80px; margin-bottom: 18px; }
.story__big { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.story__big--white { color: var(--white); font-size: clamp(24px, 2.8vw, 34px); }
.story__label { font-size: 17px; font-weight: 500; color: var(--yellow); letter-spacing: 0; }
.story__label--ink { color: var(--muted); }
.story .checks { margin: 18px 0 0; gap: 16px; }
.story__date { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-top: 6px; }
.story__time { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin-top: 10px; }
.story--white .link-arrow { margin-top: 22px; }
.story--white .link-arrow svg:first-child { width: 20px; height: 20px; }

.prose { font-size: 18px; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--navy); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose--page { max-width: 760px; }

.event-side { position: sticky; top: calc(var(--header-h) + 24px); }
.book-card { background: var(--white); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.book-card__facts { display: grid; gap: 14px; margin: 20px 0 24px; }
.book-card__facts div { display: flex; gap: 12px; align-items: flex-start; }
.book-card__facts dt svg { width: 22px; height: 22px; color: var(--navy); }
.book-card__facts dd { font-weight: 600; line-height: 1.35; }
.book-card__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
.book-card__row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.book-card__row .btn { flex: 1; }
.book-card__fine { font-size: 12px; color: var(--muted); margin-top: 18px; text-align: center; }

.book-bar { display: none; }
@media (max-width: 960px) {
	.book-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; background: var(--navy); color: var(--white); border-radius: var(--r-md); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .4s var(--ease); }
	.book-bar.is-visible { transform: none; }
	.book-bar div { display: grid; min-width: 0; line-height: 1.3; }
	.book-bar strong { color: var(--yellow); font-size: 13px; }
	.book-bar span { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.book-bar .btn { padding: 11px 18px; font-size: 15px; }
}
.more { background: var(--surface); }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 28px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form legend { font-size: 22px; font-weight: 700; margin-bottom: 16px; padding: 0; }
.form--card { grid-template-columns: 1fr 1fr; gap: 18px; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); align-content: start; }
.form--card .notice, .form--card .btn { grid-column: 1 / -1; justify-self: start; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); color: var(--navy); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 200, 61, .45); }
.field input::placeholder, .field textarea::placeholder { color: #8A90AC; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C9364F; }
.field__err { color: #B42341; font-size: 13px; font-weight: 500; }
.form > .btn { justify-self: start; }
.form .btn[disabled] { opacity: .7; pointer-events: none; }
.notice { border-radius: 14px; padding: 14px 18px; font-weight: 600; font-size: 15px; }
.notice--ok { background: #E3F6EC; color: #155B3A; }
.notice--err { background: #FDE8EC; color: #9B1C38; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.form-aside__card { background: var(--yellow); border-radius: var(--r-lg); padding: 30px; }
.form-aside__art { width: 64px; margin-bottom: 14px; }
.form-aside__card h2 { font-size: 24px; }
.form-aside__card .checks { margin-bottom: 0; }
.form-aside__note { color: var(--muted); font-size: 15px; }
.form-aside__note a { color: var(--navy); font-weight: 600; }

/* About */
.about-hero { background: var(--navy); color: var(--white); padding: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.about-hero__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.about-hero__mark { justify-self: center; }
.about-hero__smile { width: clamp(150px, 20vw, 260px); animation: wobble 8s ease-in-out infinite; }
@keyframes wobble { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .about-hero__smile { animation: none; } }
.about-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-story__big { position: sticky; top: calc(var(--header-h) + 32px); background: var(--yellow); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.about-story__big strong { display: block; font-size: clamp(90px, 13vw, 170px); line-height: .85; letter-spacing: -.06em; }
.about-story__big span { display: block; font-size: 20px; font-weight: 600; margin-top: 14px; max-width: 14ch; line-height: 1.25; }
.about-story__text .lead { margin-top: 18px; }
.about-story__text p:not(.lead) { margin-top: 16px; max-width: 62ch; }
.contact { background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info .lead { margin-top: 14px; }
.contact__links { display: grid; gap: 12px; margin-top: 28px; }
.contact__link { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); text-decoration: none; font-weight: 600; transition: transform .3s var(--ease); word-break: break-word; }
.contact__link:hover { transform: translateX(4px); }
.contact__link > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--yellow); color: var(--navy); flex: none; }
.contact__link small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: clamp(56px, 8vw, 96px) 0 28px; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand p { margin-top: 18px; max-width: 34ch; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 28px; }
.site-footer__cols h2 { font-size: 15px; font-weight: 600; color: var(--yellow); letter-spacing: 0; margin-bottom: 14px; }
.site-footer__cols a { display: block; padding: 5px 0; text-decoration: none; color: var(--white); font-size: 15px; word-break: break-word; }
.site-footer__cols a:hover { color: var(--yellow); }
.site-footer__cols a[href^="mailto:"] { white-space: nowrap; word-break: normal; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }
.site-footer__smile { position: absolute; right: -60px; bottom: -80px; width: 260px; opacity: .08; pointer-events: none; }
.site-footer__smile svg { width: 100%; }

/* Responsive */
@media (max-width: 1080px) {
	.event-body { grid-template-columns: 1fr; }
	.event-side { position: static; }
	.cal-layout { grid-template-columns: 1fr; }
	.cal-side { position: static; }
}
@media (max-width: 960px) {
	.hero__grid, .how__grid, .event-hero__grid, .form-layout, .contact__grid, .about-story, .about-hero__grid, .page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__deck { width: min(100%, 330px); margin-top: 8px; }
	.hero__title { max-width: 15ch; }
	.event-hero__media { justify-self: start; }
	.form-aside, .about-story__big { position: static; }
	.organiser__box { grid-template-columns: 1fr; justify-items: start; }
	.site-footer__top { grid-template-columns: 1fr; }
	.about-hero__mark { justify-self: start; }
	.how__phone { margin-inline: auto; }
	.how__mic { left: -30px; top: 44%; }
	.how__balloons { right: -30px; }
	.hero__bookmark { right: -10px; }
	.hero__smiley { right: -8px; bottom: -18px; width: 60px; height: 60px; }
	.page-hero__art { width: 110px; opacity: .35; }
}
@media (max-width: 720px) {
	.page-hero__art { display: none; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.bento { grid-template-columns: 1fr; }
	.bento__tile--0 { grid-row: auto; min-height: 380px; }
	.bento__tile--0 .bento__illus { bottom: auto; top: 28px; width: 130px; }
	.next__count { width: 100%; }
	.next__count div { flex: 1; min-width: 0; }
	.form fieldset, .form--card { grid-template-columns: 1fr; }
	.story--yellow { flex-direction: column; align-items: flex-start; }
	.story--share { grid-template-columns: 1fr; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
	.site-footer__cols > div:last-child { grid-column: 1 / -1; }
	.sec-head__actions .round-btn { display: none; }
	.sec-head__actions .link-arrow { margin-left: 0; }
	.rail { grid-auto-columns: 82%; }
	.search input { width: 100%; }
	.filters__tools, .filters__tools > * { flex: 1 1 100%; }
	.select select { width: 100%; }
	.filters { position: static; }
	.event-hero__title { font-size: clamp(40px, 12vw, 60px); }
	.site-footer { padding-bottom: 100px; }
}
@media (max-width: 420px) {
	.hero__ctas .btn { width: 100%; }
	.site-footer__cols { grid-template-columns: 1fr; }
}

/* SEO hubs, pills, breadcrumbs */
.pill { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; text-decoration: none; background: rgba(255, 255, 255, .14); color: inherit; transition: background-color .2s, transform .2s var(--ease); }
.pill:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
.pill--dark { background: var(--surface); color: var(--navy); border: 1px solid var(--line); }
.pill--dark:hover { background: var(--yellow); border-color: var(--yellow); }
.event-hero__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.event-hero--yellow .pill, .event-hero--white .pill { background: rgba(28, 38, 80, .1); }
.crumbs { font-size: 14px; margin-bottom: 18px; opacity: .8; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.tax-count { font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.explore { margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.explore__title { font-size: 24px; margin-bottom: 16px; }
.explore__links { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-block { padding-top: 0; }
.seo-block__head { max-width: 760px; margin-bottom: 36px; }
.seo-block .lead { margin-top: 16px; }
.hubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hubs__col { background: var(--surface); border-radius: var(--r-md); padding: 24px 24px 12px; }
.hubs__title { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.hubs__list { list-style: none; padding: 0; margin: 0; }
.hubs__list li + li { border-top: 1px solid var(--line); }
.hubs__list a { display: flex; align-items: center; gap: 10px; padding: 13px 0; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 16px; }
.hubs__list a span { flex: 1; }
.hubs__list small { min-width: 28px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--white); color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.hubs__list svg { width: 16px; height: 16px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.hubs__list a:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hubs__list a:hover svg { transform: translateX(4px); color: var(--navy); }
@media (max-width: 960px) { .hubs { grid-template-columns: minmax(0, 1fr); } }

/* Brain games */
.games { padding-top: clamp(32px, 5vw, 56px); }
.g-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.g-pick { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--white); text-align: left; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.g-pick:hover { border-color: var(--navy); transform: translateY(-2px); }
.g-pick.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.g-pick__icon { width: 40px; height: 40px; flex: none; }
.g-pick strong { display: block; font-size: 16px; line-height: 1.2; }
.g-pick small { font-size: 13px; opacity: .75; }
.g-panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); }
.g-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.g-help { font-weight: 600; }
.g-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); }
.g-seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--navy); }
.g-seg button.is-on { background: var(--yellow); }
.g-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.g-stats span { padding: 7px 12px; border-radius: var(--r-pill); background: var(--white); font-size: 14px; color: var(--muted); }
.g-stats b { color: var(--navy); font-variant-numeric: tabular-nums; }

.g-board { display: grid; gap: clamp(8px, 1.4vw, 14px); grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; margin: 0 auto; }
.g-board--10 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 760px; }
.g-board--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 820px; }
.g-card { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 16px; background: transparent; perspective: 600px; }
.g-card__back, .g-card__face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 16px; backface-visibility: hidden; transition: transform .45s var(--ease); }
.g-card__back { background: var(--navy); }
.g-card__back svg { width: 38%; opacity: .9; }
.g-card__face { background: var(--white); border: 2px solid var(--line); transform: rotateY(180deg); }
.g-card__face svg { width: 62%; height: 62%; }
.g-card.is-open .g-card__back, .g-card.is-done .g-card__back { transform: rotateY(180deg); }
.g-card.is-open .g-card__face, .g-card.is-done .g-card__face { transform: rotateY(360deg); }
.g-card.is-done .g-card__face { border-color: var(--yellow); background: var(--yellow-soft); }
.g-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.g-seq { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 2vw, 16px); padding: 24px 12px; background: var(--white); border-radius: var(--r-md); margin-bottom: 20px; }
.g-shape { width: clamp(38px, 7vw, 56px); height: clamp(38px, 7vw, 56px); display: inline-block; }
.g-shape--circle { border-radius: 50%; background: var(--g); }
.g-shape--square { border-radius: 10px; background: var(--g); }
.g-shape--triangle { background: var(--g); clip-path: polygon(50% 6%, 96% 92%, 4% 92%); }
.g-shape--star { background: var(--g); clip-path: polygon(50% 4%, 62% 37%, 97% 38%, 69% 59%, 79% 94%, 50% 73%, 21% 94%, 31% 59%, 3% 38%, 38% 37%); }
.g-shape--q { display: grid; place-items: center; border: 3px dashed var(--navy); border-radius: 12px; font-weight: 800; font-size: 24px; color: var(--navy); }
.g-c--navy { --g: var(--navy); }
.g-c--yellow { --g: #F2B300; }
.g-c--pink { --g: var(--pink); }
.g-c--blue { --g: var(--blue); }
.g-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.g-opt { padding: 16px; border-radius: var(--r-md); border: 3px solid var(--line); background: var(--white); transition: transform .2s var(--ease), border-color .2s; }
.g-opt:hover { transform: translateY(-3px); border-color: var(--navy); }
.g-opt.is-right, .g-num.is-right { border-color: #1a9a5a; background: #E3F6EC; }
.g-opt.is-wrong, .g-num.is-wrong { border-color: #C9364F; background: #FDE8EC; }

.g-maths { display: grid; justify-items: center; gap: 22px; padding: 12px 0 8px; }
.g-sum { font-size: clamp(36px, 7vw, 64px); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: center; }
.g-options--num { display: grid; grid-template-columns: repeat(4, minmax(64px, 110px)); }
.g-num { padding: 16px 0; border-radius: var(--r-md); border: 3px solid var(--line); background: var(--white); font-size: clamp(22px, 4vw, 30px); font-weight: 700; color: var(--navy); }
.g-num:hover:not(:disabled) { border-color: var(--navy); }

.g-words { display: grid; justify-items: center; gap: 20px; }
.g-hint { font-size: 17px; color: var(--muted); text-align: center; }
.g-hint span { color: var(--navy); font-weight: 600; }
.g-answer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 60px; }
.g-slot { width: clamp(38px, 8vw, 52px); height: clamp(46px, 9vw, 60px); display: grid; place-items: center; border-bottom: 4px solid var(--navy); font-size: clamp(22px, 4vw, 30px); font-weight: 700; }
.g-slot.is-filled { border-color: var(--yellow); }
.g-answer.is-right .g-slot { color: #1a9a5a; border-color: #1a9a5a; }
.g-answer.is-wrong { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.g-letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.g-letter { width: clamp(44px, 9vw, 58px); height: clamp(44px, 9vw, 58px); border-radius: 14px; border: 0; background: var(--navy); color: var(--white); font-size: clamp(20px, 4vw, 26px); font-weight: 700; transition: transform .15s var(--ease), opacity .2s; }
.g-letter:hover:not(:disabled) { transform: translateY(-2px); }
.g-letter:disabled { opacity: .2; }
.g-actions { display: flex; gap: 10px; }
.g-done { font-size: 28px; font-weight: 700; }
.g-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--navy); color: var(--white); padding: 14px 22px; border-radius: var(--r-pill); font-weight: 600; box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center; }
.g-note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.games-cta { padding-top: 0; }
.g-seg button:disabled { cursor: not-allowed; }
.g-seg button.is-locked { color: var(--muted); opacity: .55; padding-right: 26px; background: no-repeat right 9px center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5275' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7a4 4 0 0 1 8 0v3.5'/%3E%3C/svg%3E"); }
.g-help--center { text-align: center; margin: -6px 0 16px; color: var(--muted); font-weight: 500; font-size: 15px; }
.g-shape--heart { background: var(--g); clip-path: polygon(50% 92%, 13% 57%, 5% 42%, 5% 26%, 13% 13%, 26% 7%, 39% 9%, 50% 20%, 61% 9%, 74% 7%, 87% 13%, 95% 26%, 95% 42%, 87% 57%); }
.g-c--green { --g: #1F9D6B; }
.g-ready { max-width: 360px; text-align: center; color: var(--muted); font-weight: 500; grid-column: 1 / -1; align-self: center; }

/* Colour copy */
.g-simon-wrap, .g-odd-wrap { display: grid; justify-items: center; gap: 22px; padding: 6px 0 4px; }
.g-simon { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(340px, 100%); aspect-ratio: 1; }
.g-pad { border: 0; border-radius: 26px; opacity: .45; transition: opacity .12s, transform .12s, box-shadow .12s; }
.g-pad--navy { background: var(--navy); border-top-left-radius: 120px; }
.g-pad--yellow { background: var(--yellow); border-top-right-radius: 120px; }
.g-pad--pink { background: var(--pink); border-bottom-left-radius: 120px; }
.g-pad--blue { background: var(--blue); border-bottom-right-radius: 120px; }
.g-pad.is-lit { opacity: 1; transform: scale(1.04); box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), 0 14px 36px -10px rgba(28, 38, 80, .55); }
.g-pad:active { opacity: .9; }
.g-simon.is-watching .g-pad, .is-watching .g-pad { cursor: default; }
.g-simon__mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 38%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow-sm); font-weight: 700; font-size: clamp(14px, 3.6vw, 18px); text-align: center; line-height: 1.15; pointer-events: none; }
.is-over .g-simon__mid { color: #C9364F; }

/* Odd one out */
.g-odd { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(6px, 1.2vw, 10px); width: min(460px, 100%); min-height: 220px; }
.g-oddcell { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 14px; background: var(--white); padding: 0; transition: transform .12s, border-color .2s; }
.g-oddcell:hover { transform: translateY(-2px); border-color: var(--navy); }
.g-oddcell .g-shape { width: 66%; height: 66%; }
.g-oddcell.is-right { border-color: #1a9a5a; background: #E3F6EC; }
.g-oddcell.is-wrong { border-color: #C9364F; background: #FDE8EC; animation: shake .35s; }
.g-odd .g-done { grid-column: 1 / -1; text-align: center; align-self: center; }
.g-lives { color: var(--pink) !important; letter-spacing: 1px; }

/* Slide puzzle */
.g-slide { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; width: min(420px, 100%); margin: 0 auto; padding: 10px; background: var(--white); border-radius: var(--r-md); }
.g-tile { aspect-ratio: 1; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); font-size: clamp(18px, 5vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums; transition: background .2s, transform .12s; }
.g-tile:hover:not(.g-tile--blank) { transform: translateY(-2px); }
.g-tile.is-home { background: var(--yellow); color: var(--navy); }
.g-tile--blank { background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); cursor: default; }
.g-slide.is-solved .g-tile, .g-sudoku.is-solved .g-cell { animation: pop .5s var(--ease); }
@keyframes pop { 50% { transform: scale(1.06); } }

/* Number sudoku */
.g-sudoku-wrap { display: grid; justify-items: center; gap: 18px; }
.g-sudoku { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); width: min(360px, 100%); background: var(--white); border: 4px solid var(--navy); border-radius: 14px; overflow: hidden; }
.g-sudoku--6 { width: min(420px, 100%); }
.g-cell { aspect-ratio: 1; border: 0; border-right: 1.5px solid #C3C9DC; border-bottom: 1.5px solid #C3C9DC; background: var(--white); padding: 0; font-size: clamp(20px, 5.4vw, 30px); font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.g-cell.e-r { border-right: 0; }
.g-cell.e-b { border-bottom: 0; }
.g-cell.b-r { border-right: 4px solid var(--navy); }
.g-cell.b-b { border-bottom: 4px solid var(--navy); }
.g-cell.is-given { color: var(--navy); font-weight: 800; }
.g-cell.is-alt { background: #ECEFF7; }
.g-cell.is-peer { background: #FFF6D9; }
.g-cell.is-same { background: var(--yellow-soft); }
.g-cell.is-sel { background: var(--yellow); color: var(--navy); }
.g-cell.is-clash { color: #C9364F; background: #FDE8EC; }
.g-cell:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.g-keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.g-key { min-width: 52px; height: 52px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); font-size: 22px; font-weight: 700; }
.g-key:hover { background: var(--navy-2); }
.g-key--erase { background: var(--white); color: var(--navy); border: 2px solid var(--line); font-size: 15px; }
.g-answer--long .g-slot { width: clamp(28px, 7vw, 46px); font-size: clamp(18px, 4vw, 28px); }
.g-group { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-group ~ .g-group { margin-top: 4px; }
.g-group + .g-picker { margin-bottom: 18px; }
.g-c--orange { --g: #F28C28; }
.g-c--purple { --g: #7B5BD6; }

/* Word guess */
.g-guess { display: grid; justify-items: center; gap: 20px; }
.g-wboard { display: grid; gap: 7px; }
.g-wrow { display: grid; grid-template-columns: repeat(5, clamp(48px, 13vw, 60px)); gap: 7px; }
.g-wrow.is-shake { animation: shake .35s; }
.g-wtile { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 10px; background: var(--white); font-size: clamp(22px, 6vw, 30px); font-weight: 800; text-transform: uppercase; transition: background .3s, border-color .3s, color .3s; }
.g-wtile.is-typed { border-color: var(--navy-2); }
.g-wtile.is-hit, .g-kbkey[data-s="hit"] { background: #1F9D6B; border-color: #1F9D6B; color: var(--white); }
.g-wtile.is-near, .g-kbkey[data-s="near"] { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.g-wtile.is-miss { background: #8A90A8; border-color: #8A90A8; color: var(--white); }
.g-kbkey[data-s="miss"] { background: #C9CCD8; color: #6B7190; }
.g-kb { display: grid; gap: 7px; width: min(520px, 100%); }
.g-kb__row { display: flex; justify-content: center; gap: 5px; }
.g-kbkey { flex: 1 1 0; min-width: 0; max-width: 46px; height: 52px; border: 0; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 700; color: var(--navy); padding: 0; }
.g-kbkey--wide { flex: 1.6 1 0; max-width: 72px; font-size: 12px; }
.g-kbkey:active { transform: translateY(1px); }

/* Number merge */
.g-merge-wrap { display: grid; justify-items: center; gap: 16px; }
.g-merge { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; width: min(400px, 100%); padding: 8px; border-radius: var(--r-md); background: #D5D9E8; touch-action: none; user-select: none; }
.g-mtile { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .45); font-size: clamp(20px, 6vw, 32px); font-weight: 800; font-variant-numeric: tabular-nums; }
.g-mtile.is-small { font-size: clamp(15px, 4.4vw, 24px); }
.g-merge[style*="--n: 5"] .g-mtile, .g-merge[style*="--n:5"] .g-mtile { font-size: clamp(16px, 4.8vw, 26px); }
.g-mtile.is-new { animation: mnew .22s var(--ease); }
.g-mtile.is-joined { animation: pop .22s var(--ease); }
@keyframes mnew { from { transform: scale(.3); opacity: 0; } }
.is-over .g-merge { opacity: .55; }
.g-arrows { display: grid; grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(2, 44px); gap: 6px; }
.g-arrow { border: 0; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 20px; font-weight: 700; color: var(--navy); }
.g-arrow[data-dir="up"] { grid-column: 2; }
.g-arrow[data-dir="left"] { grid-column: 1; grid-row: 2; }
.g-arrow[data-dir="down"] { grid-column: 2; grid-row: 2; }
.g-arrow[data-dir="right"] { grid-column: 3; grid-row: 2; }
@media (hover: none) { .g-arrows { display: none; } }

/* Mine finder */
.g-mines-wrap { display: grid; justify-items: center; gap: 16px; }
.g-mines { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 3px; width: min(440px, 100%); padding: 6px; border-radius: 14px; background: var(--navy); user-select: none; }
.g-mines--12 { width: min(520px, 100%); }
.g-mc { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; padding: 0; border-radius: 5px; background: var(--navy-2); font-size: clamp(12px, 3.6vw, 18px); font-weight: 800; color: var(--navy); }
.g-mc:not(.is-open):hover { background: #34417A; }
.g-mc.is-open { background: var(--white); }
.g-mc.n1 { color: var(--blue); } .g-mc.n2 { color: #1F9D6B; } .g-mc.n3 { color: #D94E7A; } .g-mc.n4 { color: #7B5BD6; } .g-mc.n5, .g-mc.n6, .g-mc.n7, .g-mc.n8 { color: #C9364F; }
.g-mc.is-flag::before, .g-flagicon { content: ""; width: 42%; height: 48%; border-left: 2px solid var(--white); background: linear-gradient(to bottom right, var(--yellow) 50%, transparent 50%) 0 0 / 100% 60% no-repeat; }
.g-mc.is-mine::before { content: ""; width: 46%; height: 46%; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px rgba(28, 38, 80, .25); }
.g-mc.is-shown { background: #E3E6F1; }
.g-mc.is-boom { background: var(--pink) !important; }
.g-flagbtn { display: inline-flex; align-items: center; gap: 8px; }
.g-flagicon { display: inline-block; width: 14px; height: 16px; border-left-color: var(--navy); }
.g-flagbtn.is-on { background: var(--yellow); border-color: var(--yellow); }

/* Code breaker */
.g-code { display: grid; justify-items: center; gap: 14px; }
.g-secret { display: flex; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--navy); }
.g-peg { width: 30px; height: 30px; border-radius: 50%; background: var(--g); flex: none; }
.g-peg.is-empty { background: transparent; border: 2px dashed #B8BDD3; }
.g-peg.is-hidden { display: grid; place-items: center; background: var(--navy-2); color: var(--yellow); font-weight: 800; font-size: 14px; }
.g-crows { display: grid; gap: 6px; width: min(380px, 100%); }
.g-crow { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: var(--white); opacity: .55; }
.g-crow.is-done { opacity: 1; }
.g-crow.is-live { opacity: 1; box-shadow: inset 0 0 0 2px var(--yellow); }
.g-crow__n { font-size: 12px; font-weight: 700; color: var(--muted); text-align: right; }
.g-crow__pegs { display: flex; gap: 8px; }
.g-fb { display: grid; grid-template-columns: repeat(2, 10px); gap: 3px; }
.g-fb--5 { grid-template-columns: repeat(3, 10px); }
.g-fb i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.g-fb i.is-b { background: var(--navy); }
.g-fb i.is-w { background: var(--white); box-shadow: inset 0 0 0 2px var(--navy); }
.g-palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.g-swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--white); background: var(--g); box-shadow: 0 0 0 1px var(--line); }
.g-swatch:hover { transform: translateY(-2px); }
@media (max-width: 520px) {
	.g-peg { width: 26px; height: 26px; }
	.g-crow__pegs { gap: 6px; }
	.g-kbkey { height: 48px; font-size: 14px; }
	.g-kb__row { gap: 4px; }
	.g-mines { gap: 2px; padding: 4px; }
}
@media (prefers-reduced-motion: reduce) { .g-wtile { transition: none; } .g-mtile.is-new, .g-mtile.is-joined, .g-wrow.is-shake { animation: none; } }
@media (prefers-reduced-motion: reduce) { .g-card__back, .g-card__face, .g-pad, .g-tile { transition: none; } .g-answer.is-wrong, .g-oddcell.is-wrong, .g-slide.is-solved .g-tile, .g-sudoku.is-solved .g-cell { animation: none; } }
@media (max-width: 860px) { .g-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
	.g-pick { padding: 10px 12px; gap: 8px; }
	.g-pick__icon { width: 30px; height: 30px; }
	.g-pick strong { font-size: 14px; }
	.g-board--8, .g-board--10, .g-board--12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.g-seg button { padding: 7px 11px; font-size: 13px; }
	.g-seg button.is-locked { padding-right: 22px; background-position: right 7px center; }
	.g-slide { gap: 6px; padding: 6px; }
	.g-key { min-width: 46px; height: 48px; }
	.g-options--num { grid-template-columns: repeat(2, minmax(100px, 140px)); }
	.g-bar { gap: 10px; }
}

/* Home: games teaser */
.play-teaser { padding-top: 0; }
.play-teaser__box { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); overflow: hidden; }
.play-teaser__box h2 { font-size: clamp(26px, 3.2vw, 40px); }
.play-teaser__box p { margin-top: 10px; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.play-teaser__box .btn { margin-top: 22px; }
.play-teaser__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.play-teaser__grid a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); color: var(--white); text-decoration: none; font-weight: 600; transition: background-color .2s, transform .2s var(--ease); }
.play-teaser__grid a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.play-teaser__grid svg { width: 34px; height: 34px; flex: none; }
@media (max-width: 860px) { .play-teaser__box { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .play-teaser__grid { grid-template-columns: minmax(0, 1fr); } }

/* Places to visit */
.checks--ink li { color: var(--navy); }
.sec-title--sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.place-events { margin-top: 8px; }
.place-note { margin-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }
.place-facts dt { display: flex; align-items: center; gap: 8px; min-width: 128px; flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.place-facts dt svg { flex: none; }
.place-facts div { align-items: baseline; }
.place-facts dd { font-size: 15px; }
.places-home .sec-head p { color: var(--muted); max-width: 52ch; margin-top: 8px; }
@media (max-width: 520px) { .place-facts div { flex-direction: column; gap: 4px; } .place-facts dt { min-width: 0; } }

/* Hero card on event and place pages (when there is no photo or reel) */
.plan-card-wrap { position: relative; width: min(350px, 100%); }
.plan-card-wrap::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 30px; background: var(--yellow); transform: rotate(4deg); z-index: 0; }
.plan-card-wrap--yellow::before { background: var(--navy-2); opacity: .35; }
.event-hero--yellow .plan-card-wrap--navy::before { background: var(--white); opacity: .55; }
.event-hero--navy .plan-card-wrap--yellow::before { background: var(--navy-2); opacity: 1; }
.plan-card { --pc-fg: var(--white); --pc-bg: var(--navy); --pc-accent: var(--yellow); --pc-ink: var(--navy); --pc-soft: rgba(255, 255, 255, .08); --pc-line: rgba(255, 255, 255, .14);
	position: relative; z-index: 1; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 18px; min-height: 540px; padding: 18px 20px 20px; border-radius: 30px; background: var(--pc-bg); color: var(--pc-fg); box-shadow: 0 30px 70px -28px rgba(20, 28, 61, .6); }
.plan-card--navy { background: radial-gradient(120% 60% at 100% 0%, rgba(255, 200, 61, .18), transparent 60%), var(--navy); }
.plan-card--yellow { --pc-fg: var(--navy); --pc-bg: var(--yellow); --pc-accent: var(--navy); --pc-ink: var(--yellow); --pc-soft: rgba(28, 38, 80, .08); --pc-line: rgba(28, 38, 80, .14); background: radial-gradient(120% 60% at 100% 0%, rgba(255, 255, 255, .45), transparent 60%), var(--yellow); }
.plan-card__art { position: absolute; z-index: -1; right: -34px; bottom: 70px; width: 190px; height: auto; opacity: .07; transform: rotate(-10deg); }
.plan-card__top { display: grid; gap: 12px; }
.plan-card__bars { display: flex; gap: 4px; }
.plan-card__bars i { flex: 1; height: 3px; border-radius: 3px; background: var(--pc-line); }
.plan-card__bars i:first-child { background: var(--pc-accent); }
.plan-card__brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; min-width: 0; }
.plan-card__brand > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-card__avatar { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--pc-bg), 0 0 0 3.5px var(--pink); }
.plan-card__avatar svg { width: 18px; height: 18px; }
.plan-card__kicker { margin-left: auto; flex: none; max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px; border-radius: var(--r-pill); background: var(--pc-soft); border: 1px solid var(--pc-line); font-size: 12px; }
.plan-card__date { display: flex; align-items: center; gap: 14px; }
.plan-card__day { flex: none; min-width: 74px; padding: 10px 12px; border-radius: 18px; background: var(--pc-accent); color: var(--pc-ink); font-size: 34px; font-weight: 800; line-height: 1; text-align: center; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-card__when { display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.3; opacity: .9; overflow-wrap: anywhere; }
.plan-card__when b { font-size: 16px; opacity: 1; }
.plan-card__title { font-size: clamp(22px, 2.4vw, 26px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plan-card__rows { display: grid; gap: 10px; margin: 0; padding: 14px; border-radius: 20px; background: var(--pc-soft); border: 1px solid var(--pc-line); }
.plan-card__rows div { display: flex; gap: 12px; align-items: flex-start; }
.plan-card__rows dt { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--pc-accent); color: var(--pc-ink); }
.plan-card__rows dt svg { width: 17px; height: 17px; }
.plan-card__rows dd { display: grid; gap: 1px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; }
.plan-card__rows dd small { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .65; }
.plan-card__rows dd { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plan-card__rows dd small { display: block; }
.plan-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-card__chips span { padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--pc-line); font-size: 12px; font-weight: 600; }
.plan-card__cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: var(--r-pill); background: var(--pc-accent); color: var(--pc-ink); font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.plan-card__cta svg { width: 18px; height: 18px; }
.plan-card__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(20, 28, 61, .5); }
.plan-card__cta:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
@media (max-width: 860px) { .plan-card { min-height: 0; } .event-hero__media { width: 100%; } .plan-card-wrap { width: min(380px, calc(100% - 16px)); } }

/* Polish pass: sizes and layout */
@media (max-width: 520px) { .hero__live-more { display: none; } }
.event-hero__title--long { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.04; }
@media (max-width: 860px) { .event-hero__title--long { font-size: clamp(32px, 9vw, 46px); } }
@media (min-width: 1100px) { .places-home .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .places-home .card__tagline { font-size: 19px; } }
@media (min-width: 640px) and (max-width: 1099px) { .places-home .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .card__art { aspect-ratio: 16 / 10; padding: 18px; } .card__tagline { font-size: 19px; } }

@media (max-width: 520px) { .g-keys { flex-wrap: nowrap; width: min(100%, 420px); gap: 6px; } .g-key { flex: 1 1 0; min-width: 0; padding: 0; } .g-key--erase { flex: 1.5 1 0; font-size: 13px; } }

/* Games open full screen, in front of the list */
html.g-lock { overflow: hidden; }
.g-panel.is-stage { position: fixed; inset: 0; z-index: 90; margin: 0; padding: 0 0 40px; border-radius: 0; background: var(--surface); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; animation: g-stage-in .25s var(--ease); }
.g-panel.is-stage > :not(.g-stagebar) { width: min(980px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.g-panel.is-stage > .g-bar { margin-top: 22px; }
@keyframes g-stage-in { from { opacity: 0; transform: translateY(16px); } }
.g-stagebar { display: none; }
.is-stage .g-stagebar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px clamp(16px, 3vw, 28px); background: var(--navy); color: var(--white); box-shadow: 0 8px 24px -16px rgba(20, 28, 61, .6); }
.g-stagebar__title { font-size: clamp(17px, 2.2vw, 22px); color: var(--white); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-back, .g-x { display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); border-radius: var(--r-pill); font-weight: 600; font-size: 14px; }
.g-back { justify-self: start; padding: 9px 16px 9px 10px; }
.g-x { justify-self: end; width: 40px; height: 40px; justify-content: center; }
.g-back svg, .g-x svg { width: 20px; height: 20px; }
.g-back:hover, .g-x:hover { background: var(--yellow); color: var(--navy); }
.g-toast { z-index: 100; }
@media (max-width: 520px) { .g-back span { display: none; } .g-back { padding: 9px; } }
@media (prefers-reduced-motion: reduce) { .g-panel.is-stage { animation: none; } }
.g-panel:focus { outline: none; }
@media (min-width: 1000px) { .g-picker--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Word guess: clearer empty boxes */
.g-wtile { border-color: #B4BBD3; }
.g-wtile.is-typed { border-color: var(--navy); }

/* Pop the smiley */
.g-pop-wrap { display: grid; justify-items: center; gap: 20px; }
.g-pop { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 18px); width: min(440px, 100%); padding: clamp(12px, 3vw, 20px); border-radius: var(--r-lg); background: #2E9A62; touch-action: manipulation; user-select: none; }
.g-hole { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 70%, #10351F 0 55%, #1B5C38 56% 100%); cursor: pointer; }
.g-mole { position: absolute; inset: 14%; transform: translateY(120%); transition: transform .14s var(--ease); display: grid; place-items: center; }
.g-mole svg { width: 100%; height: 100%; }
.g-hole.is-good .g-mole { background: var(--yellow); border-radius: 50%; }
.g-hole.is-good .g-mole svg { width: 78%; height: 78%; }
.g-hole.is-up .g-mole { transform: none; }
.g-hole.is-hit { box-shadow: 0 0 0 4px var(--yellow) inset; }
.g-hole.is-oops { animation: shake .3s; box-shadow: 0 0 0 4px var(--pink) inset; }

/* Tic-tac-toe */
.g-ttt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(360px, 100%); margin: 0 auto; padding: 10px; border-radius: var(--r-lg); background: var(--navy); }
.g-ttt-cell { aspect-ratio: 1; border: 0; border-radius: 16px; background: var(--white); display: grid; place-items: center; padding: 0; transition: background .2s; }
.g-ttt-cell:hover:not(.is-x):not(.is-o) { background: var(--yellow-soft); }
.g-ttt-cell svg { width: 62%; height: 62%; }
.g-ttt-cell.is-x { color: var(--navy); }
.g-ttt-cell.is-o { color: var(--pink); }
.g-ttt-cell.is-win { background: var(--yellow); }

/* Connect four */
.g-four { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(4px, 1.2vw, 8px); width: min(520px, 100%); margin: 0 auto; padding: clamp(8px, 2vw, 14px); border-radius: var(--r-lg); background: var(--navy); }
.g-four-cell { aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; cursor: pointer; }
.g-four-cell span { width: 86%; height: 86%; border-radius: 50%; }
.g-four-cell.is-you span { background: var(--yellow); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.g-four-cell.is-cpu span { background: var(--pink); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.g-four-cell.is-new span { animation: g-drop .32s cubic-bezier(.5, 0, .7, 1.2); }
.g-four-cell.is-win span { box-shadow: 0 0 0 4px var(--white); }
@keyframes g-drop { from { transform: translateY(-260%); } }
@media (hover: hover) { .g-four:hover .g-four-cell:not(.is-you):not(.is-cpu):hover { background: #34417A; } }
@media (prefers-reduced-motion: reduce) { .g-four-cell.is-new span, .g-hole.is-oops { animation: none; } .g-mole { transition: none; } }
.g-panel.is-stage > .g-ttt { width: min(380px, calc(100% - 32px), calc(100dvh - 300px)); }
.g-panel.is-stage > .g-four { width: min(560px, calc(100% - 32px), calc((100dvh - 290px) * 7 / 6)); }
.g-panel.is-stage > .g-slide { width: min(420px, calc(100% - 32px), calc(100dvh - 260px)); }
