/* "Dawn to dusk": the page moves through one day as you scroll, sunrise at the top, night at the contact section.
   Deliberately one look (no dark mode): every section sets its own background and text color. */
:root {
  --ink: #1A1206;
  --cream: #FFF3E2;
  --dawn: #F7F2EE;
  --morning: #FFC94A;
  --noon: #FF7A3D;
  --afternoon: #C9285F;
  --dusk: #5A2AA0;
  --evening: #22226B;
  --night: #100C28;
  /* Softer versions of the day colors for section backgrounds; the full-strength ones stay for accents */
  --bg-morning: #F8DC98;
  --bg-noon: #F98B5A;
  --bg-afternoon: #BD3967;
  --bg-dusk: #4E3C8E;
  --bg-evening: #262A5C;
  --ink-soft: #4A3826;
  --brown: #6B5440;
  --rust: #B8410E;
  --rust-2: #A3360A;
  --amber: #8A3A12;
  --ochre: #6A4300;
  --good: #1E6B3A;
  --bad: #A3240A;
  --pink-ink: #7A0E36;
  --pink-soft: #FFD3E0;
  --lilac: #D9C8FF;
  --lilac-text: #E6DCFF;
  --lilac-ink: #3B1478;
  --violet-text: #F6F0FF;
  --indigo-text: #EEF0FF;
  --indigo-mute: #B9BDF5;
  --night-text: #F4EFFF;
  --night-body: #DCD5F5;
  --night-mute: #A9A2D6;
  --bb: #FF9F43; --sc: #4CD38A; --vb: #5AA9FF; --pb: #FFD84A;
  --hob-pink: #F58BB0; --hob-lilac: #B79BFF;

  --f-disp: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ser: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gut: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gut: max(clamp(20px, 5vw, 64px), env(safe-area-inset-left, 0px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { opacity: .78; }
:focus-visible { outline: 3px solid var(--noon); outline-offset: 3px; border-radius: 6px; }

.ll { position: relative; font-family: var(--f-body); color: var(--ink); background: var(--dawn); overflow-x: clip; -webkit-font-smoothing: antialiased; }
:where(.ll) :where(h1, h2, h3, h4, p) { margin: 0; }
.ll h1, .ll h2, .ll h3 { text-wrap: balance; }
.disp { font-family: var(--f-disp); letter-spacing: -0.035em; }
.ser { font-family: var(--f-ser); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.08em; }

.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--cream); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Motion helpers */
.tl { transform: rotate(-1.6deg); }
.tr { transform: rotate(1.4deg); }
.lift { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.lift:hover { transform: rotate(0deg) translateY(-8px); }
@keyframes ll-tick { to { transform: translateX(-50%); } }
@keyframes ll-rise { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes ll-sink { from { transform: translateY(0) scale(1); } to { transform: translateY(560px) scale(1.35); } }
@keyframes ll-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ll-twinkle { 50% { opacity: .2; } }
@keyframes ll-bob { 50% { transform: translateY(8px); } }
.tick { animation: ll-tick 30s linear infinite; }
.tw { animation: ll-twinkle 3.2s ease-in-out infinite; }
.bob { animation: ll-bob 2.2s ease-in-out infinite; }
@supports (animation-timeline: view()) {
  .rv { animation: ll-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  .sun { animation: ll-sink linear both; animation-timeline: scroll(root); animation-range: 0px 1100px; }
  .bar { animation: ll-bar linear both; animation-timeline: scroll(root); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ll *, .ll *::before { animation: none !important; transition: none !important; }
}

/* Shared bits */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.label { font-size: 18px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.h-xl { font-size: clamp(44px, 6vw, 88px); line-height: .95; font-weight: 800; }
.h-l { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; font-weight: 800; }
.h-l2 { font-size: clamp(40px, 5.2vw, 76px); line-height: .98; font-weight: 800; }
.intro { margin-top: 14px; font-size: 21px; }
.lead { margin-top: 32px; max-width: 760px; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.4; }
.sub { margin-top: clamp(90px, 10vw, 130px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.actions.center { justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 10px 18px; border-radius: 999px; font-size: 15px; }
.chip-cream { background: var(--cream); }
.chip-cream-pink { background: var(--cream); color: var(--pink-ink); font-weight: 700; }
.chip-outline { border: 2px solid currentColor; }
.chip-sun { background: var(--morning); color: var(--ink); font-weight: 700; }
.chip-tang { background: var(--noon); color: var(--ink); font-weight: 700; }
.chip-pink { background: var(--hob-pink); color: var(--ink); font-weight: 700; }
.chip-lilac { background: var(--hob-lilac); color: var(--ink); font-weight: 700; }

.btn, .pill { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px; }
.btn-dark, .pill-dark { background: var(--ink); color: var(--cream); }
.pill-dark { color: var(--morning); }
.btn-line, .pill-line { border: 2px solid var(--ink); }
.pill-dashed { border: 2px dashed var(--ink); }
.pill-lilac { background: var(--violet-text); color: var(--lilac-ink); margin-top: 26px; }
.btn-sun { background: var(--morning); color: var(--ink); }
.btn-ghost { border: 2px solid var(--night-text); }
.btn-dashed { border: 2px dashed var(--night-text); }

/* Placeholders: clearly marked, readable on any section */
.todo-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--morning); margin-right: 8px; vertical-align: middle; }
.todo-inline { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--morning); color: var(--ink); }
.todo-box { margin-top: 20px; max-width: 65ch; font-size: 16px; line-height: 1.6; padding: 16px 20px; border-radius: 16px; border: 2px dashed currentColor; }

/* Nav */
.nav-shell { position: sticky; top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 30; height: 0; display: flex; justify-content: center; padding: 0 16px; }
.nav { position: relative; display: flex; align-items: center; gap: 4px; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px; box-shadow: 0 12px 40px rgba(26,18,6,.25); overflow: hidden; height: max-content; }
.nav-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--noon); color: var(--ink); font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: -.02em; }
.navlinks { display: flex; }
.navlinks a { padding: 12px 18px; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; transform-origin: left center; background: linear-gradient(90deg, var(--morning), var(--noon), var(--afternoon), var(--dusk), var(--evening)); }

/* Sky transitions: one continuous gradient. Each section eases from a blend with the color before it
   into its own color and out toward the next one, and the bands in between finish the blend (in oklab,
   so mixes stay clean instead of going muddy). */
.fade { height: clamp(160px, 20vw, 320px); background: linear-gradient(in oklab, var(--from), var(--to)); }
.sky { --c: var(--bg-morning); --top: var(--c); --bot: var(--c); --ease: 35%;
  background: linear-gradient(in oklab, var(--top), var(--c) var(--ease), var(--c) calc(100% - var(--ease)), var(--bot));
  padding-block: 20px clamp(100px, 10vw, 140px); }
.sky-morning { --c: var(--bg-morning); --top: color-mix(in oklab, var(--bg-morning) 60%, var(--dawn)); --bot: color-mix(in oklab, var(--bg-morning) 60%, var(--bg-noon)); padding-top: 40px; }
.sky-noon { --c: var(--bg-noon); --top: color-mix(in oklab, var(--bg-noon) 60%, var(--bg-morning)); --bot: color-mix(in oklab, var(--bg-noon) 60%, var(--bg-afternoon)); }
.sky-afternoon { --c: var(--bg-afternoon); --top: color-mix(in oklab, var(--bg-afternoon) 60%, var(--bg-noon)); --bot: color-mix(in oklab, var(--bg-afternoon) 60%, var(--bg-dusk)); color: var(--cream); }
.sky-dusk { --c: var(--bg-dusk); color: var(--violet-text); }
#sports { --top: color-mix(in oklab, var(--bg-dusk) 60%, var(--bg-afternoon)); }
.sky-evening { --c: var(--bg-evening); color: var(--indigo-text); }
#more { --bot: color-mix(in oklab, var(--bg-evening) 60%, var(--night)); }
:root { --pick-bot: color-mix(in oklab, var(--dawn) 80%, var(--bg-morning)); }
.f-dawn { --from: var(--pick-bot); --to: color-mix(in oklab, var(--bg-morning) 60%, var(--dawn)); }
.f-noon { --from: color-mix(in oklab, var(--bg-morning) 60%, var(--bg-noon)); --to: color-mix(in oklab, var(--bg-noon) 60%, var(--bg-morning)); }
.f-afternoon { --from: color-mix(in oklab, var(--bg-noon) 60%, var(--bg-afternoon)); --to: color-mix(in oklab, var(--bg-afternoon) 60%, var(--bg-noon)); }
.f-dusk { --from: color-mix(in oklab, var(--bg-afternoon) 60%, var(--bg-dusk)); --to: color-mix(in oklab, var(--bg-dusk) 60%, var(--bg-afternoon)); }
.f-evening { --from: color-mix(in oklab, var(--bg-dusk) 60%, var(--bg-evening)); --to: color-mix(in oklab, var(--bg-evening) 60%, var(--bg-dusk)); }
.f-night { --from: color-mix(in oklab, var(--bg-evening) 60%, var(--night)); --to: var(--night); }

/* Dawn: hero */
.hero { position: relative; overflow: hidden; padding-block: 160px 120px; background: var(--dawn); }
.sun { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.sun-big { right: -6vw; top: 120px; width: clamp(260px, 38vw, 560px); background: linear-gradient(160deg, #FF9A72 10%, #F5838F 90%); }
.sun-small { right: 8vw; top: 90px; width: clamp(90px, 10vw, 150px); background: var(--morning); mix-blend-mode: multiply; }
.hero-in { position: relative; }
.hero .eyebrow { color: var(--amber); }
.hero-h { margin-top: 28px; font-size: clamp(52px, 8.4vw, 132px); line-height: .92; font-weight: 800; max-width: 11.5ch; }
.accent { color: var(--rust); }
.hero-body { margin-top: 40px; max-width: 600px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-soft); }
.hero-body strong { color: var(--ink); }
.hero-body + .hero-body { margin-top: 16px; }
.hero .actions { margin-top: 40px; }
.hero .btn { min-height: 56px; padding: 0 30px; }
.scroll-hint { margin-top: 96px; font-size: 14px; color: var(--brown); display: flex; align-items: center; gap: 10px; }
.scroll-hint span { display: inline-block; width: 40px; height: 2px; background: currentColor; }

.ticker { background: var(--ink); color: var(--morning); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 0 -20px; position: relative; z-index: 2; }
.tick { display: flex; width: max-content; gap: 40px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; white-space: nowrap; }
.tick-star { color: var(--noon); }

/* Project picker: glossy bubbles that drift around a stage (motion in main.js) */
.picker { position: relative; background: linear-gradient(in oklab, var(--dawn) 55%, var(--pick-bot)); padding-block: clamp(80px, 9vw, 110px) clamp(60px, 7vw, 100px); scroll-margin-top: 0; overflow: clip; }
.picker .intro { color: var(--ink-soft); }
.stage { position: relative; height: 820px; margin-top: 40px; }
.slot { position: absolute; will-change: transform; }
.bob { animation: ll-jelly 4s ease-in-out infinite; }
@keyframes ll-jelly { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.04, .96); } 60% { transform: scale(.97, 1.03); } }
.bubble {
  width: var(--s); height: var(--s); border-radius: 50%; box-sizing: border-box; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 14%; text-decoration: none;
  transition: transform .5s cubic-bezier(.2,.9,.25,1.45), filter .35s ease;
}
.bubble:hover { opacity: 1; transform: scale(1.08) rotate(-2deg); filter: saturate(1.15) brightness(1.05); }
.bubble:active { transform: scale(.96); }
.bubble:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.bub-shine { position: absolute; left: 16%; top: 9%; width: 40%; height: 22%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.88), rgba(255,255,255,0) 70%); transform: rotate(-26deg); pointer-events: none; }
.bubble-t { position: relative; font-weight: 800; font-size: var(--t); line-height: .96; }
.bubble-s { position: relative; font-size: var(--st, 14px); line-height: 1.28; font-weight: 500; max-width: 100%; text-wrap: balance; }
.tone-morning { --zoom: #FFC93C; color: #1A1206; background: radial-gradient(circle at 32% 26%, #FFF1B8 0%, #FFC93C 36%, #F7931E 72%, #E0610B 100%); box-shadow: inset -24px -30px 54px rgba(170,60,0,.35), inset 14px 18px 34px rgba(255,255,255,.55), 0 40px 70px -20px rgba(240,130,20,.65), 0 14px 26px -12px rgba(120,50,0,.3); }
.tone-morning .bubble-s { color: #4A2A08; }
.tone-afternoon { --zoom: #D61F5B; color: #FFF6F0; text-shadow: 0 1px 2px rgba(80,0,30,.35); background: radial-gradient(circle at 32% 26%, #FFC2D1 0%, #FF5C8A 34%, #D61F5B 70%, #8E0F3E 100%); box-shadow: inset -22px -28px 50px rgba(90,0,30,.42), inset 12px 16px 30px rgba(255,255,255,.4), 0 36px 64px -20px rgba(214,31,91,.6), 0 12px 24px -12px rgba(90,0,30,.35); }
.tone-afternoon .bubble-s { color: #FFE3EA; }
.tone-night { --zoom: #1C2A66; color: #F2F5FF; background: radial-gradient(circle at 32% 26%, #9FB2F0 0%, #3A52A8 30%, #1C2A66 66%, #0A1236 100%); box-shadow: inset -20px -26px 46px rgba(0,5,30,.55), inset 10px 14px 28px rgba(190,205,255,.32), 0 34px 60px -20px rgba(28,42,102,.6), 0 12px 22px -12px rgba(10,18,54,.45); }
.tone-night .bubble-s { color: #D3DCFF; }
.tone-teal { --zoom: #1FB5B0; color: #062A2E; background: radial-gradient(circle at 32% 26%, #C8FFF3 0%, #5EE6CF 36%, #1FB5B0 72%, #0B6E7E 100%); box-shadow: inset -18px -22px 40px rgba(0,60,70,.35), inset 10px 14px 26px rgba(255,255,255,.5), 0 30px 54px -18px rgba(20,170,170,.6), 0 10px 20px -10px rgba(0,60,70,.3); }
.tone-teal .bubble-s { color: #0E4448; }
.tone-dusk { --zoom: #7232E0; color: #FFFFFF; text-shadow: 0 1px 2px rgba(40,0,90,.35); background: radial-gradient(circle at 32% 26%, #E2C4FF 0%, #A86BFF 30%, #7232E0 66%, #3D1194 100%); box-shadow: inset -22px -26px 48px rgba(30,0,80,.45), inset 12px 16px 30px rgba(255,255,255,.4), 0 36px 62px -20px rgba(114,50,224,.6), 0 12px 22px -12px rgba(40,0,90,.35); }
.tone-dusk .bubble-s { color: #EFE4FF; }
.tone-noon { --zoom: #F2542D; color: #1A1206; background: radial-gradient(circle at 32% 26%, #FFD6B8 0%, #FF8A4C 34%, #F2542D 70%, #B8300F 100%); box-shadow: inset -20px -26px 46px rgba(120,20,0,.38), inset 12px 16px 30px rgba(255,255,255,.45), 0 36px 62px -20px rgba(242,84,45,.6), 0 12px 22px -12px rgba(120,20,0,.3); }
.tone-noon .bubble-s { color: #3D1608; }
.tone-pink { --zoom: #F2639B; color: #3A0A1F; background: radial-gradient(circle at 32% 26%, #FFE9F1 0%, #FFAACB 34%, #F2639B 72%, #C2306E 100%); box-shadow: inset -22px -26px 48px rgba(120,10,50,.32), inset 12px 16px 30px rgba(255,255,255,.55), 0 36px 62px -20px rgba(242,99,155,.6), 0 12px 22px -12px rgba(120,10,50,.3); }
.tone-pink .bubble-s { color: #5A1430; }
.tone-jungle { --zoom: #3DB55A; color: #0E2A12; background: radial-gradient(circle at 32% 26%, #E4FFC0 0%, #8BE36A 36%, #3DB55A 72%, #167044 100%); box-shadow: inset -18px -22px 40px rgba(0,60,20,.35), inset 10px 14px 26px rgba(255,255,255,.5), 0 30px 54px -18px rgba(40,160,80,.6), 0 10px 20px -10px rgba(0,60,20,.3); }
.tone-jungle .bubble-s { color: #1E4A22; }
.tone-evening { --zoom: #3A4FD8; color: #FFFFFF; text-shadow: 0 1px 2px rgba(10,15,80,.35); background: radial-gradient(circle at 32% 26%, #BFD0FF 0%, #6C86FF 32%, #3A4FD8 68%, #1A2178 100%); box-shadow: inset -18px -22px 40px rgba(5,10,60,.42), inset 10px 14px 26px rgba(255,255,255,.4), 0 30px 54px -18px rgba(58,79,216,.6), 0 10px 20px -10px rgba(10,15,80,.35); }
.tone-evening .bubble-s { color: #E4E9FF; }
/* Small bubbles rising behind the big ones */
.mini { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); animation: ll-bubble-rise 16s linear infinite; }
.mini-morning { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(255,201,74,.35) 55%, rgba(247,147,30,.25)); }
.mini-afternoon { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(255,92,138,.35) 55%, rgba(214,31,91,.25)); }
.mini-dusk { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(168,107,255,.35) 55%, rgba(114,50,224,.25)); }
.mini-teal { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(94,230,207,.4) 55%, rgba(31,181,176,.3)); }
.mini-noon { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(255,138,76,.35) 55%, rgba(242,84,45,.25)); }
.mini-evening { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(108,134,255,.35) 55%, rgba(58,79,216,.25)); }
.mini-jungle { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(139,227,106,.4) 55%, rgba(61,181,90,.3)); }
@keyframes ll-bubble-rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translate3d(30px, -760px, 0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bob, .mini { animation: none; } .mini { display: none; } }
@media (max-width: 600px) { .stage { height: 670px; } }
}

.zoom { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; clip-path: circle(var(--r, 0px) at var(--x, 50%) var(--y, 50%)); }
.zoom.grow { opacity: 1; clip-path: circle(150vmax at var(--x) var(--y)); transition: clip-path .5s cubic-bezier(.6,0,.3,1); }
.zoom.out { opacity: 0; transition: opacity .4s ease; }

/* Morning: GoodGame */
.sky-morning .eyebrow { color: var(--ochre); }
.gg-top { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; margin-top: 20px; }
.gg-intro { flex: 999 1 520px; min-width: 0; }
.gg-title { font-size: clamp(72px, 12vw, 184px); line-height: .85; font-weight: 800; }
.gg-title .ser { font-size: 1.05em; letter-spacing: -.02em; }
.gg-pitch { margin-top: 28px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; max-width: 620px; font-weight: 500; }
.gg-pitch .ser { font-size: 1.12em; }
.gg-phone { flex: 1 1 260px; display: flex; justify-content: center; }

.phone { width: 220px; max-width: 100%; aspect-ratio: 220 / 450; border-radius: 38px; background: var(--ink); padding: 10px; }
.phone.big { width: 270px; aspect-ratio: 270 / 560; border-radius: 46px; padding: 12px; box-shadow: 0 40px 80px rgba(106,67,0,.35); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.phone.big img { border-radius: 36px; }
.phone-ph { width: 100%; height: 100%; border-radius: 30px; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; font-size: 14px; line-height: 1.5; color: var(--brown); }
.phone.big .phone-ph { border-radius: 36px; }
.phone-ph .todo-tag { margin: 0; }
.phone-ph-t { font-size: 26px; font-weight: 800; color: var(--ink); }

.problem { margin-top: clamp(90px, 10vw, 140px); display: flex; flex-wrap: wrap; gap: 56px; }
.problem-text { flex: 1 1 340px; min-width: 0; }
.body-lg { margin-top: 18px; font-size: 19px; line-height: 1.65; max-width: 65ch; }
.pull { flex: 1.3 1 420px; margin: 0; min-width: 0; }
.pull p { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.05; }
.pull mark { background: var(--ink); color: var(--morning); padding: 0 10px; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.role-card { margin-top: 100px; background: var(--cream); border-radius: 32px; padding: clamp(28px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.role-card h3 { flex: 1 1 220px; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; font-weight: 800; }
.role-card p { flex: 2 1 400px; min-width: 0; font-size: 18px; line-height: 1.65; color: #3A2A1A; }

/* Noon: GoodGame continued */
.tabs { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 720px) { .tabs { grid-template-columns: repeat(3, 1fr); } }
.tab-card { background: var(--cream); border-radius: 28px; padding: clamp(22px, 2.6vw, 34px); min-height: 280px; height: 100%; }
.num { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--morning); align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.tab-card h4 { margin: 22px 0 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; }
.tab-q { margin-top: 6px; font-size: 26px; color: var(--rust-2); }
.tab-b { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.legend { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.legend-k { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-right: 6px; }
.pin { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-bb { background: var(--bb); } .dot-sc { background: var(--sc); } .dot-vb { background: var(--vb); } .dot-pb { background: var(--pb); }

.loop { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.loop-start { flex: 1 1 260px; background: var(--ink); color: var(--cream); border-radius: 32px; padding: 36px; }
.loop-start .eyebrow { font-size: 13px; color: var(--morning); }
.loop-big { margin-top: 10px; font-size: 52px; font-weight: 800; line-height: 1; }
.loop-d { margin-top: 12px; font-size: 19px; }
.loop-arrow { flex: 0 0 auto; color: var(--ink); }
.loop-outs { flex: 2 1 340px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.loop-out { background: var(--cream); border-radius: 28px; padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; }
.loop-out .disp { font-size: 38px; font-weight: 800; }
.loop-good, .loop-bad { font-size: 18px; font-weight: 700; }
.loop-good { color: var(--good); }
.loop-bad { color: var(--bad); }
@media (max-width: 640px) { .loop-arrow { transform: rotate(90deg); margin-inline: auto; } }

.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.strip-ctl { display: flex; align-items: center; gap: 10px; }
.muted-s { font-size: 16px; margin-right: 6px; }
.ctl { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream); color: var(--ink); font: 700 18px/1 var(--f-body); cursor: pointer; }
.ctl:hover { background: var(--morning); }
.strip {
  list-style: none; margin: 36px 0 0; display: flex; gap: 24px; overflow-x: auto;
  padding: 10px max(var(--gut), calc((100% - 1200px) / 2 + var(--gut))) 30px;
  scroll-padding-inline: max(var(--gut), calc((100% - 1200px) / 2 + var(--gut)));
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.strip li { flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.strip-cap { margin-top: 14px; font-size: 15px; line-height: 1.4; }

.decisions { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.dec { background: var(--ink); color: var(--cream); border-radius: 28px; padding: 34px; }
.dec-n { font-size: 56px; font-weight: 800; color: var(--noon); line-height: 1; }
.dec h4 { margin: 16px 0 0; font-size: 28px; font-weight: 700; line-height: 1.15; }
.dec-b { margin-top: 14px; font-size: 17px; line-height: 1.6; color: #E9DCCB; }
.dec-t { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,243,226,.25); font-size: 16px; line-height: 1.55; color: var(--morning); }
.sky-noon .todo-box { margin-top: 24px; }

.next { display: flex; flex-wrap: wrap; gap: 48px; }
.next h3 { flex: 1 1 280px; }
.qs { flex: 2 1 440px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; min-width: 0; }
.qs li { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 2px solid var(--ink); font-size: 20px; line-height: 1.45; }
.qs li:last-child { border-bottom: 2px solid var(--ink); }
.qs .ser { font-size: 34px; min-width: 32px; }

/* Afternoon: Samba */
.sky-afternoon .eyebrow { color: var(--pink-soft); }
.co-title { margin-top: 20px; font-size: clamp(64px, 10vw, 156px); line-height: .88; font-weight: 800; }
.co-title .ser { font-size: 1.05em; }
.lead .ser { font-size: 1.15em; }
.process { margin: 64px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.process-step { display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 14px; border-radius: 999px; background: var(--cream); color: var(--pink-ink); font-weight: 700; font-size: 17px; }
.process-step .disp { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--afternoon); color: var(--cream); align-items: center; justify-content: center; }
.process-arr { font-size: 26px; }
.pillars { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.pillars > div { border-top: 2px solid var(--cream); padding-top: 22px; }
.pillar-k { font-size: 44px; font-weight: 800; line-height: 1; }
.pillars p:last-child { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.privacy { margin-top: 56px; font-size: 24px; color: var(--pink-soft); }

/* Samba sprints: full-bleed strips of prototype screens */
.sprints { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 80px; }
.sprint-head h3 { margin-top: 8px; font-size: clamp(32px, 4vw, 54px); font-weight: 800; line-height: 1; }
.sprint-head .eyebrow { color: var(--pink-soft); font-size: 13px; }
.sprint-shot { margin-top: 28px; overflow-x: auto; scrollbar-width: thin; padding-inline: max(var(--gut), calc((100% - 1200px) / 2 + var(--gut))); }
.sprint-shot img { width: 100%; min-width: 760px; max-width: 1200px; border-radius: 22px; box-shadow: 0 30px 70px rgba(60,0,20,.4); }
.sprint-find { margin-top: 26px; display: flex; gap: 20px; align-items: baseline; font-size: 19px; line-height: 1.5; max-width: 760px; }
.sprint-find .disp { font-size: 44px; font-weight: 800; line-height: 1; flex: 0 0 auto; }
.samba-quote { margin: 96px 0 0; }
.samba-quote p { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.08; max-width: 20ch; }
.samba-quote footer { margin-top: 16px; font-size: 15px; color: var(--pink-soft); }
.signal { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.signal > div { background: var(--cream); color: var(--pink-ink); border-radius: 28px; padding: 30px; }
.signal > div:last-child { background: rgba(255,243,226,.12); color: var(--cream); border: 2px solid rgba(255,243,226,.4); }
.signal ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; font-size: 17px; line-height: 1.45; }

/* Dusk: Sports */
.sky-dusk .eyebrow { color: var(--lilac); }
.sp-title { margin-top: 20px; font-size: clamp(48px, 6.6vw, 104px); line-height: .92; font-weight: 800; max-width: 12ch; }
.sp-title .ser { font-size: 1.06em; }
.sky-dusk .lead { margin-top: 26px; max-width: 700px; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; }
.sky-dusk .chips { margin-top: 26px; }
.sky-dusk .chip-outline { border-color: var(--lilac); }
.chart { margin: 64px 0 0; }
.chart-card { background: #FFFFFF; border-radius: 28px; padding: clamp(14px, 2vw, 28px); box-shadow: 0 40px 90px rgba(20,8,50,.45); }
.chart-card img { width: 100%; height: auto; border-radius: 12px; }
.chart figcaption { margin-top: 22px; font-size: 15px; color: var(--lilac); }
.sp-cols { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.sp-cols > div { flex: 1 1 320px; min-width: 0; }
.sp-cols > div:last-child { flex: 1.3 1 380px; }
.sp-q { margin-top: 14px; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; }
.sp-why { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--lilac-text); }
.found { margin: 14px 0 0; padding: 0; list-style: none; }
.found li { padding: 18px 0; border-bottom: 1px solid rgba(246,240,255,.3); font-size: 18px; line-height: 1.55; }
.found li:last-child { border-bottom: 0; }

/* Urban planning: three prototypes, each a "board" of photos then notes */
.sky-dusk .pill-dashed { border-color: var(--violet-text); }
#urban { padding-top: 40px; }
#urban .actions .pill-lilac { margin-top: 0; }
#urban .pill-line { border-color: var(--violet-text); color: var(--violet-text); }
.proto { margin-top: clamp(80px, 10vw, 130px); }
.proto-head { display: flex; gap: clamp(16px, 2.4vw, 28px); align-items: flex-end; }
.proto-n { font-size: clamp(64px, 9vw, 128px); font-weight: 800; line-height: .8; color: var(--hob-pink); }
.proto-head h3 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1; }
.proto-sub { margin-top: 6px; font-size: clamp(20px, 2vw, 28px); color: var(--lilac); }
.proto-shots { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.proto-shots figure { margin: 0; min-width: 0; background: #FFFFFF; padding: 10px; border-radius: 20px; box-shadow: 0 30px 70px rgba(20,8,50,.4); }
.proto-shots figure:nth-child(odd) { rotate: -1.2deg; }
.proto-shots figure:nth-child(even) { rotate: 1deg; }
.proto-shots img { display: block; width: 100%; height: auto; border-radius: 12px; }
.proto-shots figure { max-width: 100%; }
.proto-shots figcaption { padding: 8px 4px 2px; font-size: 13px; color: var(--brown); }
.proto-text { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 40px; }
.proto-text > div { flex: 1 1 320px; min-width: 0; }
.proto-what { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; max-width: 40ch; }
.proto-hyp { margin-top: 24px; padding: 20px 22px; border-radius: 20px; background: rgba(246,240,255,.1); border: 2px solid rgba(246,240,255,.3); font-size: 17px; line-height: 1.55; }
.proto-hyp .label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--hob-pink); }
.proto-test { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--lilac-text); }
.proto-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.found + .proto-steps { margin-top: 28px; }
.proto-steps li { background: var(--violet-text); color: var(--lilac-ink); border-radius: 20px; padding: 18px 20px; font-size: 17px; line-height: 1.5; }
.proto-steps .disp { display: block; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 4px; color: #A3245A; }
.proto-changed { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--lilac-text); }
.scenario { margin-top: 48px; background: var(--morning); color: var(--ink); border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); }
.scenario .eyebrow { color: var(--ochre); }
.scenario-q { margin-top: 10px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; max-width: 24ch; }
.scenario ol { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.scenario li { background: var(--cream); border-radius: 18px; padding: 18px 20px; font-size: 17px; line-height: 1.5; }
.scenario li .disp { display: block; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; color: var(--rust); margin-bottom: 6px; }
.proto-app { margin-top: 36px; }
.proto-live { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.proto-live .proto-app-text { flex: 1 1 320px; min-width: 0; }
.proto-live .actions { margin-top: 24px; }
.proto-app-text .proto-app-note { margin-top: 16px; }
.live-phone { flex: 0 1 320px; display: flex; justify-content: center; }
.live-phone .phone { width: 320px; max-width: 100%; box-shadow: 0 40px 90px rgba(20,8,50,.5); position: relative; }
.live-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #fff; display: block; }
.live-start { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; border-radius: 30px; overflow: hidden; }
.live-start img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-start:focus-visible { outline: 3px solid var(--morning); outline-offset: 4px; }
.live-cta { position: absolute; left: 50%; bottom: 22%; translate: -50% 0; white-space: nowrap; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .2s ease; }
.live-start:hover .live-cta { transform: scale(1.05); }
.proto-app-text h4 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1; }
.proto-app-text p { margin-top: 12px; max-width: 60ch; font-size: 18px; line-height: 1.55; }
.proto-app-text .proto-app-note { font-size: 14px; color: var(--lilac); }
.proto-phones { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 20px; justify-items: center; }
.proto-phones li { width: 100%; max-width: 220px; text-align: center; }
.proto-phones .phone { width: 100%; box-shadow: 0 30px 70px rgba(20,8,50,.45); }
.proto-phones p { margin-top: 12px; font-weight: 700; font-size: 15px; }
.urban-end { margin-top: 24px; }
#urban .samba-quote footer { color: var(--lilac); }
.urban-aside { margin-top: 28px; max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--lilac-text); }

/* GoodGame landing page, shown in a browser frame */
.browser { margin: 64px 0 0; background: var(--ink); border-radius: 22px; padding: 0 10px 10px; box-shadow: 0 40px 80px rgba(106,67,0,.3); }
.browser-bar { display: flex; gap: 7px; padding: 14px 6px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #4A3F33; }
.browser img { width: 100%; border-radius: 12px; }
.browser figcaption { color: var(--cream); opacity: .8; font-size: 15px; padding: 14px 6px 4px; }

/* Evening: playground */
.play { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 7vw, 96px); }
.play-card { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; scroll-margin-top: 90px; }
.play-card.flip { flex-direction: row-reverse; }
.play-shots { flex: 1.3 1 min(420px, 100%); min-width: 0; display: grid; gap: 16px; }
.play-shots.two { grid-template-columns: 1fr minmax(0, .38fr); align-items: center; }
.play-shots img { width: 100%; border-radius: 18px; box-shadow: 0 30px 70px rgba(5,5,30,.5); }
.play-shots.phones { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.play-shots.phones img { border-radius: 16px; border: 4px solid var(--ink); }
.play-shots.three { grid-template-columns: 1fr 1fr; }
.play-shots.three img:first-child { grid-column: 1 / -1; }
.play-shots img.shot-tall { border-radius: 26px; border: 6px solid var(--ink); }
.shot-ph { aspect-ratio: 16 / 10; border-radius: 18px; border: 2px dashed var(--indigo-mute); background: rgba(255,255,255,.04); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--indigo-mute); font-size: 15px; }
.shot-ph .todo-tag { margin: 0; }
.play-text { flex: 1 1 min(320px, 100%); min-width: 0; }
.play-text .eyebrow { color: var(--indigo-mute); font-size: 13px; }
.play-text h3 { margin-top: 12px; font-size: clamp(36px, 4vw, 56px); line-height: .95; font-weight: 800; }
.play-pitch { margin-top: 16px; font-size: 20px; line-height: 1.45; }
.play-body { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--indigo-mute); max-width: 60ch; }
.play-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill-cream { background: var(--indigo-text); color: var(--evening); }
.pill-cream-pink { background: var(--cream); color: var(--pink-ink); }
.sky-evening .pill-dashed { border-color: var(--indigo-text); }
#more { padding-top: 60px; }

/* Evening: more */
.more { margin-top: 52px; display: flex; flex-direction: column; }
.more-row { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 30px 0; border-top: 1px solid rgba(238,240,255,.3); }
.more-row:last-child { border-bottom: 1px solid rgba(238,240,255,.3); }
.more-row > div { flex: 1 1 420px; min-width: 0; }
.more-when { flex: 0 0 160px; font-size: 15px; color: var(--indigo-mute); padding-top: 8px; }
.more-org { font-size: 32px; font-weight: 700; }
.more-role { margin-top: 4px; font-size: 16px; color: var(--indigo-mute); }
.more-line { margin-top: 12px; font-size: 17px; line-height: 1.6; max-width: 65ch; }

/* Night */
.night { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
#about { position: relative; padding-block: 40px 140px; }
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.about-photo { flex: 1 1 280px; display: flex; justify-content: center; }
.portrait { width: 300px; max-width: 100%; aspect-ratio: 300 / 380; border-radius: 160px 160px 28px 28px; object-fit: cover; object-position: 50% 20%; }
.portrait-ph { background: #2A2358; border: 2px dashed #8E86C9; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #C8C1F0; font-size: 15px; }
.portrait-ph .todo-tag { margin: 0; }
.about-text { flex: 2 1 460px; min-width: 0; }
.night .eyebrow { color: var(--morning); }
.night .accent { color: var(--morning); }
#about-h { margin-top: 16px; }
.about-p { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--night-body); max-width: 65ch; }
#about-h + .about-p { margin-top: 30px; }

#contact { position: relative; padding-block: 80px 0; text-align: center; }
.moon { width: 120px; height: 120px; border-radius: 50%; background: var(--cream); margin: 0 auto; box-shadow: 0 0 80px rgba(255,243,226,.35), inset -26px -10px 0 #E6DCC6; }
.contact-in { max-width: 1100px; }
.contact-h { margin-top: 48px; font-size: clamp(48px, 8vw, 128px); line-height: .9; font-weight: 800; }
.contact-line { margin-top: 28px; font-size: 20px; color: var(--night-body); }
#contact .btn { min-height: 58px; padding: 0 30px; }

.foot { position: relative; margin-top: 140px; padding-block: 28px max(28px, env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--night-mute); border-top: 1px solid rgba(244,239,255,.18); }
.foot a { text-decoration: none; }

@media (max-width: 640px) {
  .navlinks a { padding: 10px; }
  .tl, .tr { transform: none; }
  .hero { padding-block: 120px 80px; }
  .scroll-hint { margin-top: 64px; }
}

/* Vine down the left gutter (drawn in main.js). Sits above section backgrounds, never takes clicks. */
.vine { position: absolute; top: 0; left: 0; width: 100%; z-index: 20; pointer-events: none; overflow: visible; }
.vine-stem, .vine-core, .vine-shine, .vine-twist, .vine-rib, .vine-stalk, .vine-curl, .vine-pvein, .vine-stamen { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.vine-stem { stroke: #1D5A2C; stroke-width: 11; }
.vine-core { stroke: #3C8A3C; stroke-width: 7.5; }
.vine-shine { stroke: #9BD67F; stroke-width: 2; opacity: .75; }
.vine-twist { stroke-width: 3.2; }
.vine-twist-back { stroke: #1D5A2C; }
.vine-twist-front { stroke: #5DB053; }
.vine-leaf { stroke: #1D5A2C; stroke-width: 1; }
.vine-shade { fill: #0B3A1C; opacity: .24; }
.vine-rib { stroke: #1D5A2C; stroke-width: 1.1; opacity: .7; }
.vine-gloss { fill: #fff; opacity: .34; }
.vine-stalk { stroke: #2E6E3A; stroke-width: 2.2; }
.vine-curl { stroke: #3C8A3C; stroke-width: 2; }
.vine-petal { stroke: rgba(90, 10, 40, .25); stroke-width: .8; }
.vine-pvein { stroke: #fff; stroke-width: .8; opacity: .4; }
.vine-throat { fill: #7A1838; }
.vine-stamen { stroke: #FFF0C2; }
.vine-pollen { fill: #FFD43B; }
.vine-sepal { fill: #2E8B47; }
/* Leaves and flowers pop open from where they join the stem, with a little overshoot */
.vine-x, .vine-sway { transform-box: view-box; transform-origin: 0 0; }
.vine-x { transform: scale(0); opacity: 0; transition: transform .6s cubic-bezier(.34, 1.7, .5, 1), opacity .2s ease; }
.vine-x.on { transform: scale(1); opacity: 1; }
.vine-sway { animation: ll-sway 4.5s ease-in-out infinite alternate; }
.vine-x:not(.on) .vine-sway { animation-play-state: paused; }
@keyframes ll-sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (max-width: 640px) {
  .vine-stem { stroke-width: 5; }
  .vine-core { stroke-width: 3.4; }
  .vine-shine { stroke-width: 1; }
  .vine-twist { stroke-width: 1.4; }
  .vine-leaf, .vine-rib, .vine-petal { stroke-width: .5; }
  .vine-stalk, .vine-curl { stroke-width: 1.1; }
}
@media (prefers-reduced-motion: reduce) { .vine-x { transition: none; } .vine-sway { animation: none; } }

/* GoodGame runs on into the next section, so keep the gap between them about the size of a sub-section gap */
#goodgame { padding-bottom: clamp(40px, 4vw, 60px); position: relative; z-index: 2; }
.fade.f-noon { height: clamp(40px, 5vw, 80px); }
/* With a short band here, the two sections meet at the halfway color so there's no visible seam */
.sky-morning { --bot: color-mix(in oklab, var(--bg-morning) 50%, var(--bg-noon)); }
.sky-noon { --top: color-mix(in oklab, var(--bg-noon) 50%, var(--bg-morning)); }
.fade.f-noon { --from: color-mix(in oklab, var(--bg-morning) 50%, var(--bg-noon)); --to: var(--from); }

/* Samba process: one row on anything wider than a phone, shrinking to fit */
@media (min-width: 720px) {
  .process { flex-wrap: nowrap; gap: clamp(6px, 1vw, 14px); }
  .process-step { white-space: nowrap; font-size: clamp(13px, 1.35vw, 17px); padding: clamp(8px, 1vw, 14px) clamp(14px, 1.6vw, 22px) clamp(8px, 1vw, 14px) clamp(8px, 1vw, 14px); gap: clamp(8px, 1vw, 12px); }
  .process-step .disp { width: clamp(28px, 2.6vw, 36px); height: clamp(28px, 2.6vw, 36px); flex: none; }
  .process-arr { font-size: clamp(18px, 2vw, 26px); }
}

/* Samba stats: three in a row, number, subtitle, then detail */
.pillars { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar-k { font-size: clamp(32px, 3.6vw, 48px); }
.pillar-s { margin-top: 10px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; color: var(--pink-soft); }

/* Demo video: 16:9 player, or a dashed placeholder until there's a link */
.demo-video { margin-top: 28px; aspect-ratio: 16 / 9; width: 100%; max-width: 1200px; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 70px rgba(60,0,20,.4); }
.demo-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(0,0,0,.18); border: 2px dashed var(--cream); box-shadow: none; text-align: center; padding: 24px; font-size: 17px; }
.demo-play { display: inline-flex; align-items: center; justify-content: center; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%; background: var(--cream); color: var(--afternoon); font-size: clamp(24px, 3vw, 36px); padding-left: 6px; }
.demo-link { margin-top: 28px; }

/* Sprint 4: separate screens on the cream card; each one grows on hover and opens full size on click */
.sprint-screens { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); min-width: 760px; max-width: 1200px; padding: clamp(14px, 2vw, 28px); border-radius: 22px; background: #F5DBC2; box-shadow: 0 30px 70px rgba(60,0,20,.4); box-sizing: border-box; }
.zoomable { all: unset; display: block; min-width: 0; position: relative; cursor: zoom-in; border-radius: 16px; background: #111; padding: 4px; transition: transform .35s cubic-bezier(.2,.9,.25,1.2), box-shadow .35s ease; transform-origin: center; }
.sprint-shot .zoomable img { display: block; width: 100%; min-width: 0; max-width: none; border-radius: 12px; box-shadow: none; }
@media (hover: hover) {
  .zoomable:hover { transform: scale(1.9); z-index: 5; box-shadow: 0 24px 50px rgba(0,0,0,.45); }
  .sprint-screens .zoomable:first-child:hover { transform-origin: left center; }
  .sprint-screens .zoomable:last-child:hover { transform-origin: right center; }
}
.zoomable:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.sprint-shot:has(.sprint-screens) { overflow: visible; padding-block: 8px; }
@media (max-width: 820px) { .sprint-shot:has(.sprint-screens) { overflow-x: auto; } }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(10, 6, 20, .82); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .zoomable { transition: none; } }

/* Hiki, MassBids, Guppo, Jungle Quest: standalone projects, spaced like the bigger sections */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.beyond-cards { margin-top: 56px; margin-bottom: 40px; }

/* MassBids, Hiki, Guppo, Jungle Quest: full sections in their bubble colors */
.proj { scroll-margin-top: 0; }
.proj-light { color: var(--ink); }
.proj-light .eyebrow { color: rgba(26,18,6,.62); }
.proj-dark { color: #F2F5FF; }
.proj-dark .eyebrow { color: #B9C6F5; }
.proj-shots { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: clamp(14px, 2vw, 24px); }
.proj-shots img { width: 100%; display: block; border-radius: 20px; box-shadow: 0 30px 70px rgba(10,10,40,.32); }
.proj-shots.one { max-width: 1040px; }
.proj-shots.two { grid-template-columns: minmax(0, 1fr) minmax(0, .36fr); align-items: center; }
.proj-shots.phones { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; }
.proj-shots.phones img { border-radius: 18px; border: 5px solid var(--ink); }
.proj-shots img.shot-tall { border-radius: 28px; border: 6px solid var(--ink); }
@media (max-width: 600px) { .proj-shots.phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proj-shots.two { grid-template-columns: minmax(0, 1fr); } .proj-shots.two img.shot-tall { max-width: 60%; justify-self: center; } }
.proj-foot { margin-top: clamp(32px, 4vw, 48px); max-width: 760px; }
.proj-body { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.proj-light .proj-body { color: rgba(26,18,6,.82); }
.proj-dark .proj-body { color: #D6DEFA; }
.proj-light .pill-proj { background: var(--ink); color: var(--cream); }
.proj-dark .pill-proj { background: #F2F5FF; color: #1C2A66; }
.proj-role { margin-top: 18px; font-size: 18px; font-weight: 600; }
.proj-role .label { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.urban-role { margin-top: 18px; max-width: 700px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--lilac); }
/* Sports: second chart, the two teams on their own scale */
.teams { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.teams-fig { flex: 1.25 1 420px; min-width: 0; margin: 0; }
.teams-fig .chart-card { border-radius: 22px; padding: clamp(10px, 1.4vw, 20px); box-shadow: 0 30px 70px rgba(20,8,50,.4); }
.teams-fig .chart-card img { width: 100%; height: auto; display: block; border-radius: 10px; }
.teams-fig figcaption { margin-top: 18px; font-size: 15px; color: var(--lilac); }
.teams-fig figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.teams-text { flex: 1 1 300px; min-width: 0; }
.teams-text p { margin-top: 14px; font-size: 17px; line-height: 1.6; }
.teams-text p:last-child { font-weight: 600; }
/* GoodGame decisions: compact, four across on desktop */
.dec-h { font-size: clamp(28px, 3vw, 40px); line-height: 1; font-weight: 800; }
.decisions { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.dec { border-radius: 18px; padding: 18px 18px 16px; }
.dec-n { font-size: 22px; }
.dec h4 { margin-top: 8px; font-size: 17px; line-height: 1.2; }
.dec-b { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.dec-t { margin-top: 10px; padding-top: 10px; font-size: 13.5px; line-height: 1.45; }
.sky-noon .dec ~ .todo-box, .sky-noon .decisions + .todo-box { margin-top: 14px; font-size: 14px; padding: 10px 14px; }
/* Sports: FanSignal, the product layer built on the research */
#sports .pill-line { border-color: var(--violet-text); color: var(--violet-text); }
.fs { margin-top: clamp(80px, 9vw, 130px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid rgba(232,222,255,.22); }
.fs .eyebrow { color: var(--lilac); }
.fs-title { margin-top: 14px; font-size: clamp(44px, 6vw, 84px); line-height: .95; font-weight: 800; }
.fs .lead { margin-top: 24px; }
.fs-problem { margin-top: 16px; max-width: 700px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; opacity: .85; }
.fs-flow { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: fs; }
.fs-flow li { counter-increment: fs; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 600; }
.fs-flow li::before { content: counter(fs) " · "; color: var(--lilac); }
.fs-shots { margin: 44px 0 0; }
.fs-grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fs-grid .zoomable { background: #12162B; padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(10,5,40,.45); }
.fs-grid .zoomable img { display: block; width: 100%; height: auto; }
@media (hover: hover) { .fs-grid .zoomable:hover { transform: scale(1.03); } }
@media (max-width: 700px) { .fs-grid { grid-template-columns: minmax(0, 1fr); } }
.fs-shots figcaption { margin-top: 14px; font-size: 15px; color: var(--lilac); }
.fs-features { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 26px 40px; }
.fs-features h4 { font-size: 19px; font-weight: 700; }
.fs-features p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; opacity: .85; }
.fs .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.fs .actions .pill-lilac { margin-top: 0; }
.fs-note { margin-top: 18px; max-width: 700px; font-size: 14px; line-height: 1.5; color: var(--lilac); }

/* Urban / Claremont Columns: pink, like its bubble. Dark plum text; the lilac tokens are remapped for pink. */
:root { --bg-pink: #F39BBE; }
#sports { --bot: color-mix(in oklab, var(--bg-dusk) 60%, var(--bg-pink)); }
.f-pink { --from: color-mix(in oklab, var(--bg-dusk) 60%, var(--bg-pink)); --to: color-mix(in oklab, var(--bg-pink) 60%, var(--bg-dusk)); }
.sky-pink { --c: var(--bg-pink); --top: color-mix(in oklab, var(--bg-pink) 60%, var(--bg-dusk)); color: #3A0A1F;
  --lilac: #8A1E4E; --lilac-text: #4E1230; --violet-text: #3A0A1F; --lilac-ink: #FFF0F5; --hob-pink: #7A0E36; }
.sky-pink .eyebrow { color: #7A0E36; }
#urban .proto-steps .disp { color: #FF9CC2; }
#urban .proto-hyp { background: rgba(255,255,255,.28); border-color: rgba(58,10,31,.22); }
#urban .todo-box { border-color: #3A0A1F; }
/* Scroll label beside the scrollbar */
.scroll-tag { position: fixed; right: 18px; top: 50%; z-index: 60; transform: translate(8px, -50%); opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 999px; background: rgba(26,18,6,.88); color: #FFF3E2; font: 700 14px/1 "DM Sans", system-ui, sans-serif;
  letter-spacing: .01em; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.25); backdrop-filter: blur(6px);
  transition: opacity .25s ease, transform .25s ease; }
.scroll-tag.on { opacity: 1; transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) { .scroll-tag { transition: opacity .2s ease; transform: translate(0, -50%); } }
@media (min-width: 720px) { .decisions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.samba-quote.sprint-quote { margin-top: clamp(36px, 4vw, 56px); }
.samba-quote.sprint-quote p { font-size: clamp(30px, 3.6vw, 50px); }
.samba-quote.sprint-quote p { max-width: 34ch; text-wrap: balance; }
.sprint-find p + p { margin-top: 1.5em; }
@media (min-width: 900px) { .samba-quote.sprint-quote p { max-width: none; white-space: nowrap; font-size: clamp(26px, 3.4vw, 52px); } }
.sprint-quote footer { padding-left: clamp(24px, 4vw, 64px); white-space: pre; }
.samba-quote.sprint-quote { width: fit-content; max-width: 100%; }
.sprint-quote footer { padding-left: 0; text-align: right; }

/* Sprint 2 quote: centered on the page */
.samba-quote.sprint-quote { margin-inline: auto; }
.samba-quote.sprint-quote { margin-top: clamp(64px, 7vw, 104px); }
/* Sprint 2 quote: thin white outline box with soft corners */
.samba-quote.sprint-quote { border: 1.5px solid rgba(255,255,255,.85); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px) clamp(22px, 2.8vw, 40px); box-sizing: border-box; }
@media (min-width: 900px) { .samba-quote.sprint-quote p { font-size: clamp(24px, 3.1vw, 46px); } }
/* Hero: "data" gets extra weight and a soft orange underline */
.hero-data { -webkit-text-stroke: .025em currentColor; background: linear-gradient(var(--rust), var(--rust)) no-repeat 0 92% / 100% .065em; padding-bottom: .02em; }
.hero-data { color: var(--rust); }

/* GoodGame origin story: its own block under the problem */
.problem-story { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1.5px solid rgba(26,18,8,.18); }
/* "Why I built it": full width under the problem, two paragraphs side by side on desktop */
.story-cols { display: grid; gap: 0 clamp(32px, 4vw, 64px); }
.story-cols p { margin: 0 0 1em; }
@media (min-width: 900px) { .story-cols { grid-template-columns: 1fr 1fr; } }
.problem-story > .label { margin-bottom: 16px; }
.story-end { margin-top: clamp(8px, 1.5vw, 20px); }
.story-end { max-width: none; }
.story-end { text-wrap: balance; }
.story-end { max-width: none; text-wrap: pretty; }
.story-end { margin-top: clamp(32px, 4vw, 56px); }
.role-card { align-items: center; }
@media (min-width: 720px) { .role-card h3 { text-align: center; } }
@media (min-width: 720px) { .role-card h3 { padding-right: clamp(32px, 4vw, 64px); } }
/* Claremont Columns: overview in its own box under the title */
.proto-intro { margin-top: clamp(24px, 3vw, 36px); max-width: 860px; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 36px); border: 1.5px solid rgba(255,255,255,.7); border-radius: 22px; background: rgba(255,255,255,.18); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.proto-app-text .proto-intro { margin: 0 0 clamp(28px, 3vw, 40px); max-width: none; font-size: clamp(16px, 1.3vw, 18px); }

#urban .urban-end .samba-quote { margin-top: 12px; }
.proj-light .pill-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.proj-dark .pill-line { border-color: #F2F5FF; color: #F2F5FF; background: transparent; }
/* Hiki: case-study detail */
.proj-deep { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.18); }
.proj-light .proj-deep { border-top-color: rgba(26,18,6,.18); }
.proj-deep > .label { margin: clamp(40px, 5vw, 64px) 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.proj-deep > .label:first-of-type { margin-top: 20px; }
.deep-team { font-size: 15px; opacity: .75; }
.deep-p { max-width: 760px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.proj-dark .deep-p { color: #D6DEFA; }
.deep-cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .deep-cards.three { grid-template-columns: repeat(3, 1fr); } .deep-cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .deep-cards.four { grid-template-columns: repeat(4, 1fr); } }
.deep-card { border-radius: 20px; padding: 20px 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.proj-light .deep-card { background: rgba(255,255,255,.35); border-color: rgba(26,18,6,.12); }
.deep-card h4 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
.deep-card p { font-size: 15.5px; line-height: 1.55; margin: 0; }
.proj-dark .deep-card p { color: #D6DEFA; }
.deep-card .deep-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; color: inherit; }
.slide-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.slide-strip a { flex: 0 0 min(80vw, 520px); scroll-snap-align: start; }
.slide-strip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.proj-intro { max-width: 760px; margin-top: 18px; }
.proj-intro-below { margin-top: clamp(32px, 4vw, 48px); }
.proj-intro-below + .proj-foot { margin-top: 20px; }
.about-photo { flex-direction: column; align-items: center; }
.about-chips { width: 360px; max-width: 100%; margin-top: 28px; justify-content: center; }
.pull mark { margin-left: .14em; }
.tabs { margin-top: 32px; }
/* GoodGame decision 04: full-width, green "reward" strip */
.dec-reward { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; background: #3FAE5C; color: #0E2A16; border-radius: 18px; padding: 18px 24px; }
.dec-reward .dec-n { font-size: 22px; color: #0E2A16; opacity: .6; }
.dec-reward h4 { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.1; }
.dec-reward .dec-b { margin: 0; flex: 1 1 320px; font-size: 16px; line-height: 1.5; color: #0E2A16; }
.dec-tag { padding: 5px 12px; border-radius: 999px; background: #0E2A16; color: #B8F5C6; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.proto-steps-end { margin-top: 24px; }
.proj-body-more { margin-top: 14px; }
