/* Omelune: paper cut-outs in the logo's own colours on a warm white wall. Story words are set in Newsreader. */

:root {
  --paper: #f7f1e6;
  --white: #fffcf6;
  --ink: #1d1b33;
  --ink-soft: rgba(29, 27, 51, 0.74);
  --ink-faint: rgba(29, 27, 51, 0.5);
  --rule: rgba(29, 27, 51, 0.14);
  --red: #dc432e;
  --apricot: #f4ab68;
  --lilac: #b28ed3;
  --cobalt: #2e47a5;
  --night: #15132a;
  --sans: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
  --story: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.2, 0.9, 0.25, 1.12);
  --cut-a: 30px 42px 34px 46px / 40px 30px 46px 34px;
  --cut-b: 44px 30px 48px 32px / 32px 46px 30px 44px;
  --shadow: 0 1px 1px rgba(29, 27, 51, 0.1), 0 22px 34px -16px rgba(29, 27, 51, 0.38);
  --shadow-lift: 0 2px 2px rgba(29, 27, 51, 0.1), 0 34px 48px -18px rgba(29, 27, 51, 0.45);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body::before { content: ''; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.06; background-image: var(--noise); }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
::selection { background: rgba(244, 171, 104, 0.45); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }
.story-voice { font-family: var(--story); font-optical-sizing: auto; }

h1, h2, h3 { font-family: var(--sans); font-stretch: 88%; text-wrap: balance; }
h1 { margin: 0 0 26px; font-weight: 700; font-size: clamp(44px, 5.2vw, 82px); line-height: 0.98; letter-spacing: -0.03em; }
h2 { margin: 0; font-weight: 700; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -0.028em; }
h3 { margin: 0 0 8px; font-weight: 650; font-size: 25px; line-height: 1.12; letter-spacing: -0.015em; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--story); font-style: italic; font-weight: 450; letter-spacing: 0; text-transform: none; font-size: 18px; }
.kicker::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--dot, var(--red)); }
.sub { max-width: 38em; margin: 22px 0 0; color: var(--ink-soft); }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--ink-faint); }

/* Bar */
.bar {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2 * var(--gutter) + 24px), calc(var(--max) + 24px));
  margin: 12px auto 0;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(247, 241, 230, 0);
  transition: background 0.4s, box-shadow 0.4s;
}
.bar.scrolled { background: rgba(255, 252, 246, 0.95); box-shadow: 0 1px 1px rgba(29, 27, 51, 0.08), 0 14px 28px -18px rgba(29, 27, 51, 0.4); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 22px; font-stretch: 90%; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; transition: transform 0.6s var(--spring); }
.brand:hover img { transform: rotate(-14deg) scale(1.08); }
.bar nav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.bar nav a:not(.pill) { text-decoration: none; color: var(--ink-soft); transition: color 0.3s; }
.bar nav a:not(.pill):hover, .bar nav a.on { color: var(--ink); }
.bar nav a b { margin-right: 2px; font-weight: 700; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-faint); transition: color 0.3s; }
.bar nav a:hover b, .bar nav a.on b { color: var(--fc); }
[data-nav='knows-you'] { --fc: var(--red); }
[data-nav='you-decide'] { --fc: var(--cobalt); }
[data-nav='hands-on'] { --fc: #9a6fc4; }
[data-nav='ending'] { --fc: #e0893a; }
[data-nav='looks'] { --fc: var(--ink); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), translate 0.35s var(--ease);
}
.pill:hover { background: var(--red); }
.pill span { transition: transform 0.35s var(--ease); }
.pill:hover span { transform: translateX(4px); }
.pill.big { padding: 18px 28px; font-size: 17px; }
.pill.light { background: var(--white); color: var(--ink); }
.pill.light:hover { background: var(--ink); color: var(--white); }
.magnetic { translate: var(--mx, 0px) var(--my, 0px); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter));
  min-height: min(calc(100svh - 150px), 820px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 44px) var(--gutter) clamp(40px, 5vw, 64px);
}
.cut-words .w { display: inline-block; animation: cut-in 1s var(--spring) both; animation-delay: calc(var(--i) * 55ms + 150ms); }
.cut-words .accent { color: var(--red); }
.lead { max-width: 30em; margin: 0 0 34px; font-size: clamp(19px, 1.45vw, 21px); color: var(--ink-soft); animation: up 1.1s 0.85s var(--ease) both; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; animation: up 1.1s 1s var(--ease) both; }
.spec { font-size: 14.5px; line-height: 1.5; color: var(--ink-faint); }
.spec b { font-weight: 600; color: var(--ink-soft); }

.float { position: absolute; z-index: -1; display: block; translate: 0 var(--py, 0px); pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.f1 { top: 4%; left: 50%; width: 64px; aspect-ratio: 1; border-radius: 54% 46% 58% 42% / 47% 56% 44% 53%; background: var(--apricot); opacity: 0.85; }
.f2 { bottom: 4%; left: -2%; width: 150px; aspect-ratio: 1.6; border-radius: 60% 40% 52% 48% / 55% 44% 56% 45%; background: var(--lilac); opacity: 0.45; animation-duration: 21s; }
.f3 { top: 16%; right: -2%; width: 42px; aspect-ratio: 0.8; border-radius: 50% 50% 46% 54% / 60% 58% 42% 40%; background: var(--cobalt); animation-duration: 13s; }
.f4 { bottom: 10%; left: 56%; width: 24px; aspect-ratio: 1; border-radius: 50%; background: var(--red); animation-duration: 11s; }

.mark-stage { position: relative; display: grid; place-items: center; }
/* The pieces are 1240 px wide: sharp up to 620 CSS px on a Retina screen. */
.mark { position: relative; width: min(100%, 440px); aspect-ratio: 620 / 715; --mx: 0px; --my: 0px; --sy: 0; }
.piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(calc(var(--mx) * var(--d) + var(--sy) * var(--dx)), calc(var(--my) * var(--d) + var(--sy) * var(--dy)), 0) rotate(calc(var(--sy) * var(--dr))) var(--off);
  transition: transform 1.9s var(--spring);
  filter: drop-shadow(0 1px 1px rgba(29, 27, 51, 0.14)) drop-shadow(0 12px 14px rgba(29, 27, 51, 0.12));
}
.mark:not(.settled) .piece { will-change: transform; }
.p-red { --d: 0.55; --dx: -60px; --dy: 10px; --dr: -8deg; --off: translate(-17%, 7%) rotate(-13deg); transform-origin: 29% 44%; }
.p-apricot { --d: 1.1; --dx: 10px; --dy: 70px; --dr: 10deg; --off: translate(3%, 24%) rotate(16deg); transform-origin: 52% 54%; transition-delay: 0.22s; }
.p-lilac { --d: 0.8; --dx: 70px; --dy: 0px; --dr: 8deg; --off: translate(19%, -3%) rotate(11deg); transform-origin: 76% 66%; transition-delay: 0.1s; }
.p-cobalt { --d: 1.8; --dx: 40px; --dy: -80px; --dr: -20deg; --off: translate(14%, -30%) rotate(-26deg) scale(1.25); transform-origin: 67% 24%; transition-delay: 0.38s; }
.mark.assembled .piece { --off: translate(0, 0) rotate(0deg) scale(1); }
.mark.settled .piece { transition: transform 0.9s var(--ease); transition-delay: 0s; }

/* Collaborating institutions */
.partners { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 22px var(--gutter) 0; }
.partners-label { margin: 0 0 18px; text-align: center; font-family: var(--story); font-style: italic; font-weight: 450; letter-spacing: 0; text-transform: none; font-size: 17px; color: var(--ink-faint); }
.partner-logos { list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 26px clamp(10px, 1.4vw, 20px); margin: 0; padding: 28px 0 0; border-top: 1px solid var(--rule); }
.partner-logos li { display: grid; place-items: center; height: 56px; }
.partner-logos img { max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(0.62) contrast(1.25); opacity: 0.8; transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--spring); }
.partner-logos li:hover img { filter: none; opacity: 1; transform: translateY(-2px); }

/* Sections */
section { position: relative; }
.feature, .privacy { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(96px, 12vw, 168px) var(--gutter) 0; scroll-margin-top: 64px; }
.head { max-width: 50rem; margin-bottom: clamp(40px, 5vw, 64px); }
.band { margin-top: clamp(88px, 11vw, 150px); padding: clamp(80px, 10vw, 136px) var(--gutter); }
.band > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Features: a number in the feature's colour, a name, one line, then the thing itself */
.f-red { --fc: var(--red); }
.f-cobalt { --fc: var(--cobalt); }
.f-lilac { --fc: var(--lilac); }
.f-apricot { --fc: var(--apricot); }
.f-ink { --fc: var(--ink); }
.f-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 2.2vw, 30px); align-items: end; max-width: 62rem; margin-bottom: clamp(34px, 4.4vw, 56px); }
.f-no { grid-row: 1 / span 2; align-self: center; font-weight: 800; font-stretch: 75%; font-size: clamp(84px, 10vw, 152px); line-height: 0.8; letter-spacing: -0.06em; color: var(--fc); text-shadow: 0 1px 0 rgba(29, 27, 51, 0.1), 0 16px 26px rgba(29, 27, 51, 0.16); rotate: -4deg; transition: transform 1s var(--spring), opacity 0.8s var(--ease); }
.f-head h2 { grid-column: 2; }
.f-line { grid-column: 2; margin: 12px 0 0; max-width: 40em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-soft); }
.demo-note { margin: 16px 2px 0; font-size: 14.5px; color: var(--ink-faint); }
.js .f-head.reveal:not(.in) .f-no { opacity: 0; transform: translateY(24px) rotate(12deg) scale(0.86); }

/* 01 It gets to know you */
.slip-label { margin: 0 0 10px !important; font-family: var(--story); font-style: italic; font-weight: 450; letter-spacing: 0; text-transform: none; font-size: 16.5px; color: var(--ink-faint); }
.interview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.slip { padding: 24px 26px 26px; background: var(--white); border-radius: 6px 10px 8px 12px; box-shadow: var(--shadow); rotate: -1.2deg; }
.slip p { margin: 0; }
.note .story-voice { font-size: 20px; line-height: 1.5; }
.asks { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.asks li { position: relative; padding: 16px 18px 16px 48px; border-radius: 16px 20px 14px 22px; background: rgba(255, 252, 246, 0.7); box-shadow: inset 0 0 0 1.5px var(--rule); }
.asks li::before { content: ''; position: absolute; left: 18px; top: 20px; width: 16px; height: 16px; border-radius: 52% 48% 56% 44% / 46% 56% 44% 54%; background: var(--lilac); }
.asks li:nth-child(2)::before { background: var(--apricot); }
.asks li:nth-child(3)::before { background: var(--cobalt); }
.asks p { margin: 0 0 10px; font-weight: 650; font-size: 17px; line-height: 1.3; }
.asks span { display: inline-block; padding: 6px 12px 7px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; }
.js .asks li.in span { animation: pick 0.7s 0.5s var(--spring) both; }
.asks li:nth-child(2) { transition-delay: 0.08s; }
.asks li:nth-child(3) { transition-delay: 0.16s; }
.understood { padding: 22px 22px 20px; border-radius: var(--cut-b); background: var(--ink); color: var(--white); box-shadow: var(--shadow-lift); rotate: 1deg; }
.understood .slip-label { color: var(--apricot); }
.chips-static { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.chips-static span { padding: 6px 12px 7px; border-radius: 999px; background: rgba(255, 252, 246, 0.12); font-size: 14.5px; }
.games-row { margin-top: clamp(56px, 7vw, 88px); }
.games-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.covers-lead { max-width: 36em; margin: 0; font-weight: 600; font-size: 20px; }
.games-nav { display: flex; flex: none; gap: 8px; }
.games-nav button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--rule); cursor: pointer; font-size: 18px; transition: background 0.3s, color 0.3s, transform 0.4s var(--spring), opacity 0.3s; }
.games-nav button:hover:not(:disabled) { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.games-nav button:disabled { opacity: 0.35; cursor: default; }
/* One row of cut-out covers, each on a sheet of coloured paper; it scrolls sideways. */
.games { list-style: none; display: flex; gap: clamp(34px, 4vw, 56px); margin: 0 calc(-1 * var(--gutter)); padding: 46px var(--gutter) 30px calc(var(--gutter) + 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: calc(var(--gutter) + 22px); scrollbar-width: none; overscroll-behavior-x: contain; }
.games::-webkit-scrollbar { display: none; }
.game { position: relative; flex: 0 0 clamp(230px, 24vw, 300px); margin: 0; scroll-snap-align: start; }
.game::before { content: ''; position: absolute; left: -9%; top: -5%; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r2); background: var(--c); transform: rotate(-5deg); transition: transform 0.9s var(--spring); }
.game:hover::before { transform: rotate(-11deg) translate(-4%, 2%); }
.game .cut { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); transition: border-radius 1.2s var(--ease); }
.game .cut img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.game:hover .cut { border-radius: var(--r2); }
.game:hover .cut img { transform: scale(1.06); }
.game:nth-child(4n+1) { --c: var(--apricot); --r: 46% 54% 42% 58% / 38% 40% 60% 62%; --r2: 52% 48% 58% 42% / 44% 58% 42% 56%; }
.game:nth-child(4n+2) { --c: var(--red); --r: 56% 44% 52% 48% / 44% 56% 44% 56%; --r2: 42% 58% 46% 54% / 56% 42% 58% 44%; }
.game:nth-child(4n+3) { --c: var(--lilac); --r: 44% 56% 58% 42% / 52% 44% 56% 48%; --r2: 58% 42% 44% 56% / 46% 54% 46% 54%; }
.game:nth-child(4n+4) { --c: var(--cobalt); --r: 52% 48% 44% 56% / 58% 46% 54% 42%; --r2: 46% 54% 56% 44% / 42% 56% 44% 58%; }
.game:nth-child(even)::before { transform: rotate(4deg); }
.game:nth-child(even):hover::before { transform: rotate(10deg) translate(4%, 2%); }
.game p { position: relative; margin: 24px 4px 0; }
.game b { display: block; font-weight: 650; font-stretch: 90%; font-size: 20px; line-height: 1.15; letter-spacing: -0.015em; }
.game span { display: block; margin-top: 6px; font-family: var(--story); font-style: italic; font-size: 16px; line-height: 1.38; color: var(--ink-soft); }
.js .game.reveal:not(.in) { transform: translateY(40px) rotate(6deg) scale(0.94); }
.js .game.reveal:nth-child(even):not(.in) { transform: translateY(40px) rotate(-5deg) scale(0.94); }
.game:nth-child(2) { transition-delay: 0.08s; }
.game:nth-child(3) { transition-delay: 0.16s; }
.game:nth-child(4) { transition-delay: 0.24s; }

/* 02 You decide what happens */
.player { position: relative; aspect-ratio: 16 / 9; max-width: var(--max); overflow: hidden; border-radius: 22px 28px 20px 30px / 26px 20px 30px 22px; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); cursor: pointer; user-select: none; -webkit-user-select: none; outline: none; }
.player:focus-visible { box-shadow: 0 0 0 3px var(--apricot), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.player-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: breathe 22s ease-in-out infinite alternate; }
.player.turning .player-art { animation: page-turn 1s var(--ease), breathe 22s ease-in-out infinite alternate; }
.player-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 20, 0) 34%, rgba(10, 8, 20, 0.55) 62%, rgba(10, 8, 20, 0.88)); }
.player-text { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(22px, 4vw, 52px); width: min(58%, 640px); }
.player-who { min-height: 1.4em; margin: 0 0 6px; font-family: var(--story); font-style: italic; font-weight: 450; letter-spacing: 0; text-transform: none; font-size: 17px; color: var(--apricot); }
.player-who.narration { opacity: 0; }
.player-line { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.38; color: #fffaf0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.player-line.spoken { font-style: italic; }
.player-line.in { animation: up 0.6s var(--ease) both; }
.player-hint { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(18px, 3vw, 34px); margin: 0; font-size: 13px; color: rgba(255, 252, 246, 0.6); animation: blink 2.4s ease-in-out infinite; }
.player-page { position: absolute; top: 16px; left: 18px; padding: 5px 12px 6px; border-radius: 999px; background: rgba(255, 252, 246, 0.14); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 252, 246, 0.85); }
.player-choices { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(56px, 7vw, 80px); display: grid; gap: 8px; width: min(36%, 400px); cursor: default; animation: up 0.6s var(--ease) both; }
.choices-label { margin: 0 0 2px; font-family: var(--story); font-style: italic; font-weight: 450; letter-spacing: 0; text-transform: none; font-size: 16px; color: var(--apricot); }
.choice { padding: 11px 15px 12px; border: 0; border-radius: 14px 18px 12px 18px; background: rgba(255, 252, 246, 0.94); color: var(--ink); text-align: left; cursor: pointer; font-family: var(--story); font-size: 16px; line-height: 1.35; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.6); transition: transform 0.4s var(--spring), background 0.3s; }
.choice:hover:not(:disabled) { transform: translateX(-4px); }
.choice:disabled { opacity: 0.55; cursor: default; }
.choice.taken { background: var(--apricot); transform: translateX(-8px) scale(1.02); }
.choice.again { font-family: var(--sans); font-weight: 600; text-align: center; background: var(--apricot); }
.own-move { padding: 2px 0; }
.own-field { display: block; min-height: 2.6em; padding: 10px 14px; border-radius: 12px; background: rgba(255, 252, 246, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 252, 246, 0.28); font-family: var(--story); font-style: italic; font-size: 15.5px; color: rgba(255, 252, 246, 0.72); }
.own-field.typing { color: #fffaf0; font-style: normal; }
.own-field.typing::after { content: '|'; margin-left: 1px; animation: blink 1s steps(2) infinite; }
.own-field.sent { background: var(--apricot); color: var(--ink); box-shadow: none; }
.own-field.sent::after { content: ''; }
.choices-note { margin: 4px 0 0; padding: 9px 12px; border-radius: 10px; background: rgba(21, 19, 42, 0.86); font-size: 13.5px; line-height: 1.4; color: rgba(255, 252, 246, 0.86); }

/* 03 You do things with your hands */
.stage-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.stage-tabs button { padding: 9px 16px 10px; border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--rule); cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.4s var(--spring); }
.stage-tabs button:hover { transform: translateY(-2px); color: var(--ink); }
.stage-tabs button[aria-selected='true'] { background: var(--ink); color: var(--white); box-shadow: none; }
.stage-tabs .invent { display: inline-flex; align-items: center; gap: 8px; }
.stage-tabs .invent::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--apricot); }
.tab-sep { width: 1px; height: 22px; margin: 0 6px; background: var(--rule); }
.stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 26px 34px 24px 38px / 32px 24px 36px 26px; background: #2a2622; box-shadow: var(--shadow-lift); touch-action: none; user-select: none; -webkit-user-select: none; }
.stage-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease), filter 0.8s; }
.stage-art.shown { opacity: 1; }
.stage-play { position: absolute; inset: 0; }
.stage-card { position: absolute; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 20; width: min(360px, 40%); padding: 15px 18px 17px; border-radius: 16px 22px 14px 24px; background: rgba(255, 252, 246, 0.95); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); pointer-events: none; }
.stage-card > * { pointer-events: auto; }
.stage-kind { margin: 0 0 4px; font-family: var(--story); font-style: italic; font-weight: 450; letter-spacing: 0; text-transform: none; font-size: 15.5px; color: #8a5cb8; }
.stage-title { margin: 0; font-weight: 650; font-stretch: 90%; font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; }
.stage-prompt { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.stage-done { margin: 0; max-height: 0; overflow: hidden; font-style: italic; font-size: 17.5px; line-height: 1.4; transition: max-height 0.6s var(--ease), margin 0.6s var(--ease); }
.stage-done:not(:empty) { max-height: 6em; margin-top: 10px; }
.stage-done.pop { animation: up 0.5s var(--ease) both; }
.stage-again { margin-top: 10px; padding: 6px 14px 7px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); cursor: pointer; font-weight: 600; font-size: 13px; }
.stage.is-invented .stage-card { left: auto; right: clamp(14px, 2vw, 26px); bottom: auto; top: clamp(14px, 2vw, 26px); width: min(300px, 34%); background: rgba(255, 252, 246, 0.9); }
.stage.is-invented .stage-prompt { font-size: 13.5px; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* wipe */
.fog { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; transition: opacity 1.4s ease; }
.fog:active { cursor: grabbing; }
.fog.gone { opacity: 0; pointer-events: none; }
/* water */
.bloom { -webkit-mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), #000 0, #000 calc(var(--r, 0px) * 0.6), transparent var(--r, 0px)); mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), #000 0, #000 calc(var(--r, 0px) * 0.6), transparent var(--r, 0px)); }
.pour { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.hold-pill { position: absolute; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 6; display: grid; gap: 8px; min-width: 170px; padding: 13px 20px 13px; border: 0; border-radius: 18px 22px 16px 22px; background: rgba(255, 252, 246, 0.96); color: var(--ink); cursor: pointer; font-weight: 650; font-size: 15px; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55); touch-action: none; user-select: none; -webkit-user-select: none; transition: transform 0.4s var(--spring), opacity 0.6s; }
.hold-pill i { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(29, 27, 51, 0.12); }
.hold-pill b { display: block; height: 100%; background: var(--cobalt); transform: scaleX(0); transform-origin: left; }
.hold-pill.held { transform: scale(0.95); }
.hold-pill.done { opacity: 0; pointer-events: none; }
/* lanterns */
.lit, .lit-all { opacity: 0; transition: opacity 1.4s var(--ease); }
.lit.on, .lit-all.on { opacity: 1; }
.lit-all { transition-duration: 2s; }
.glow { position: absolute; z-index: 2; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 200, 120, 0.42), rgba(255, 170, 80, 0.14) 55%, rgba(255, 160, 60, 0)); mix-blend-mode: screen; opacity: 0; pointer-events: none; transition: opacity 1.6s var(--ease); }
.glow.on { opacity: 1; animation: flicker 3.4s ease-in-out infinite; }
.spot { position: absolute; z-index: 3; translate: -50% -50%; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.spot::before { content: ''; position: absolute; inset: -18%; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 246, 228, 0.85), 0 0 24px 6px rgba(255, 236, 200, 0.3); animation: beckon 2.4s ease-in-out infinite; }
.spot:nth-of-type(2)::before { animation-delay: 0.5s; }
.spot:nth-of-type(3)::before { animation-delay: 1s; }
.spot.on { cursor: default; }
.spot.on::before { opacity: 0; animation: none; transition: opacity 0.4s; }
/* dial */
.m-dial .stage-art { filter: blur(5px) brightness(0.6) saturate(0.95); transform: scale(1.05); }
.dial-box { position: absolute; left: 66%; top: 50%; height: 88%; aspect-ratio: 1; translate: -50% -50%; touch-action: none; cursor: grab; }
.dial-box img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dial-base { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); }
.dial-wheel { will-change: transform; }
.dial-stop { filter: drop-shadow(-2px 3px 3px rgba(40, 25, 5, 0.45)); }
.dial-box.held { cursor: grabbing; }
.dial-box.ringing { animation: ring 0.16s linear 12; }
/* petals */
.petal-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-start { position: absolute; left: 62%; top: 50%; translate: -50% -50%; z-index: 5; padding: 14px 30px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; font-weight: 650; font-size: 16px; box-shadow: var(--shadow-lift); transition: transform 0.4s var(--spring); }
.stage-start:hover { transform: scale(1.05); }
/* invented */
.invented-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0b0a09; }
.stage:not(.awake) .glow.on, .stage:not(.awake) .spot::before { animation-play-state: paused; }

/* 04 The ending gives something back */
.table { position: relative; aspect-ratio: 16 / 9; border-radius: 26px 34px 24px 38px / 32px 24px 36px 26px; box-shadow: var(--shadow-lift); --ex: 21%; --ey: 4.5%; --ew: 32%; }
.table-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: filter 1.4s var(--ease); }
.table.out .table-art { filter: brightness(0.8) saturate(0.92); }
.env { position: absolute; left: var(--ex); top: var(--ey); width: var(--ew); aspect-ratio: 932 / 1100; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; perspective-origin: 50% 58.68%; filter: drop-shadow(0 14px 16px rgba(70, 40, 10, 0.3)); -webkit-tap-highlight-color: transparent; }
.env > img, .env-flap, .env-flap > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.env-body { z-index: 0; }
.env-pocket { z-index: 3; }
.env-flap { z-index: 5; transform-origin: 50% 58.68%; transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(0.5, 0, 0.2, 1), z-index 0s 0.5s; }
.env-flap > img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.env-flap-back { transform: rotateX(180deg); transform-origin: 50% 58.68%; }
.table:not(.open) .env { animation: nudge 3.6s ease-in-out infinite; }
.table:not(.open) .env:hover { animation: none; }
.table:not(.open) .env:hover .env-flap { transform: rotateX(-16deg); transition-duration: 0.6s; }
.table.open .env { cursor: default; }
.table.open .env-flap { z-index: 1; transform: rotateX(-180deg); }
.env-photo { position: absolute; z-index: 2; left: 29%; top: 2.5%; width: 42%; padding: 2.6% 2.6% 0; background: #fbf8f1; box-shadow: 0 3px 8px rgba(40, 20, 0, 0.28); container-type: inline-size; }
.env-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(0.1) saturate(0.95); }
.env-note { display: block; padding: 5cqi 3cqi 6cqi; font-style: italic; font-size: 5.6cqi; line-height: 1.25; text-align: center; color: #4a3b30; opacity: 0; transition: opacity 1.2s var(--ease); }
.table.out .env-photo { z-index: 6; box-shadow: 0 3px 9px rgba(30, 15, 0, 0.32); }
.table.landed .env-note { opacity: 1; }
.env-hint { position: absolute; left: 50%; top: 63%; z-index: 7; translate: -50% 0; padding: 7px 14px 8px; border-radius: 999px; background: rgba(255, 252, 246, 0.95); color: var(--ink); font-weight: 650; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(40, 20, 0, 0.5); transition: opacity 0.4s; }
.table.open .env-hint { opacity: 0; }
.env-again { margin-left: 8px; padding: 6px 14px 7px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); cursor: pointer; font-weight: 600; font-size: 13px; }

/* 05 Painted in the look you pick */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(70px, 7.4vw, 104px); gap: clamp(12px, 1.6vw, 20px); }
.mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px 22px 14px 24px; box-shadow: var(--shadow); translate: 0 var(--py, 0px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 12px 7px; border-radius: 10px 14px 9px 13px; background: rgba(255, 252, 246, 0.94); font-family: var(--story); font-style: italic; font-weight: 500; font-size: 15.5px; line-height: 1.25; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.4); }
.m1 { grid-column: 1 / span 7; grid-row: span 4; }
.m2 { grid-column: 8 / span 5; grid-row: span 6; }
.m3 { grid-column: 1 / span 4; grid-row: span 3; }
.m4 { grid-column: 5 / span 3; grid-row: span 4; }
.m5 { grid-column: 1 / span 4; grid-row: span 3; }
.m6 { grid-column: 8 / span 5; grid-row: span 3; }
.m7 { grid-column: 5 / span 3; grid-row: span 2; }
.m8 { grid-column: 1 / span 3; grid-row: span 4; }
.m9 { grid-column: 4 / span 5; grid-row: span 4; }
.m10 { grid-column: 9 / span 4; grid-row: span 2; }
.m11 { grid-column: 9 / span 4; grid-row: span 2; }

/* Privacy */
.privacy { --dot: var(--red); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.three p { margin: 0; color: var(--ink-soft); font-size: 18px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dot.big { display: block; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 54% 46% 50% 50% / 48% 54% 46% 52%; box-shadow: var(--shadow); transition: transform 0.8s var(--spring); }
.three > div:hover .dot.big { transform: rotate(-24deg) scale(1.12); }
.d-red { background: var(--red); }
.d-lilac { background: var(--lilac); }
.d-cobalt { background: var(--cobalt); }
.three > div:nth-child(2) { transition-delay: 0.08s; }
.three > div:nth-child(3) { transition-delay: 0.16s; }

/* Download */
.band-red { background: var(--red); color: var(--white); }
.download { text-align: center; }
.download .icon { width: 128px; height: 128px; margin: 0 auto 30px; filter: drop-shadow(0 22px 30px rgba(80, 15, 5, 0.35)); animation: bob 5s ease-in-out infinite; }
.download h2 { margin-bottom: 34px; font-size: clamp(44px, 5.4vw, 84px); }
.download .spec { margin: 20px 0 0; color: rgba(255, 252, 246, 0.82); }
.confetto { position: fixed; z-index: 80; width: 14px; height: 11px; pointer-events: none; }

/* Footer */
.foot { padding: 64px var(--gutter) 72px; text-align: center; font-size: 15.5px; color: var(--ink-soft); }
.foot img { margin: 0 auto 18px; }
.foot p { max-width: 46em; margin: 8px auto; }
.foot .care { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--ink-faint); }
.foot .care a[href^='tel'] { font-weight: 700; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), translate 0.6s var(--spring), rotate 0.8s var(--spring), box-shadow 0.5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .slip.reveal:not(.in) { transform: translateY(26px) rotate(-5deg); }
.js .asks li.reveal:not(.in) { transform: translateX(-24px); }
.js .mosaic figure.reveal:not(.in) { transform: translateY(40px) scale(0.96); }
[data-marquee]:not(.on) .float, [data-marquee]:not(.on) .icon { animation-play-state: paused; }
@keyframes cut-in { from { opacity: 0; transform: translateY(0.5em) rotate(7deg) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: rotate(-8deg) scale(1); } to { transform: rotate(10deg) scale(1.08) translateY(-14px); } }
@keyframes pick { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes breathe { from { transform: scale(1.04); } to { transform: scale(1.1) translate(-1%, -1%); } }
@keyframes page-turn { from { opacity: 0.2; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes sway { from { transform: rotate(-2.4deg); } to { transform: rotate(2.4deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: 0.92; } 55% { opacity: 0.98; } }
@keyframes ring { 25% { transform: rotate(1.1deg); } 75% { transform: rotate(-1.1deg); } }
@keyframes beckon { 0%, 100% { transform: scale(0.9); opacity: 0.5; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes nudge { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-2deg) translateY(-3px); } 94% { transform: rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Smaller screens */
@media (max-width: 1060px) {
  .partner-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bar nav a:not(.pill) { display: none; }
  .interview { grid-template-columns: minmax(0, 1fr); }
  .player-text { width: min(64%, 640px); }
  .player-choices { width: min(42%, 400px); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .bar { top: 8px; padding-left: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 8px; }
  .mark-stage { order: -1; }
  .mark { width: min(64%, 300px); }
  .float { display: none; }
  .partner-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-logos img { max-height: 40px; }
  .f-head { column-gap: 14px; }
  .f-no { font-size: 76px; }
  .game { flex-basis: 66vw; }
  .games-nav { display: none; }
  .player { aspect-ratio: 3 / 4; }
  .player-text { left: 18px; right: 18px; width: auto; bottom: 18px; }
  .player-choices { left: 14px; right: 14px; width: auto; bottom: 14px; }
  .player-hint { display: none; }
  .stage { aspect-ratio: 4 / 5; }
  .stage-card { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .stage.is-invented .stage-card { display: none; }
  .dial-box { left: 50%; top: 33%; width: 80%; height: auto; }
  .stage-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .stage-tabs::-webkit-scrollbar { display: none; }
  .stage-tabs button { flex: none; }
  .tab-sep { flex: none; }
  .stage-start { left: 50%; top: 40%; }
  .hold-pill { left: 12px; right: 12px; bottom: auto; top: 12px; }
  .table { aspect-ratio: 4 / 5; --ex: 16%; --ey: 5%; --ew: 54%; }
  .table-art { object-position: 35% 50%; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .mosaic figure { grid-column: auto / span 1 !important; grid-row: span 2 !important; }
  .m1, .m9 { grid-column: 1 / span 2 !important; }
  .three { grid-template-columns: minmax(0, 1fr); }
}
