/* The Last Goal Wins — a dark stage. The canvas is the world; the DOM is restrained captions over it.
   One accent (volt), used only for progress and the active state. */
:root {
  --bg: #050506;
  --ink: #f5f5f7;
  --ink-2: #86868b;
  --line: rgba(255, 255, 255, .12);
  --card: #0e0e10;
  --accent: #b9f53c;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.47 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #000; }

h1, h2 { font-weight: 600; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(44px, min(6.5vw, 13vh), 124px); }
h2 { font-size: clamp(36px, min(5.4vw, 9.5vh), 88px); }
h3 { font-weight: 600; letter-spacing: -.03em; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.42; color: var(--ink-2); max-width: 31em; letter-spacing: -.015em; }
.fine { font-size: 13px; color: var(--ink-2); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Buttons — one shape, 44px+ targets */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 0; cursor: pointer; font: 500 16px/1 var(--font); letter-spacing: -.01em;
  background: #fff; color: #000; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.btn span { transition: transform .5s var(--ease); }
.btn:hover { transform: scale(1.035); box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 18px 50px -12px rgba(255, 255, 255, .35); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: 16px; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; }
.link span { transition: transform .5s var(--ease); }
.link:hover span { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* The world */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; opacity: 0; transition: opacity 1.6s var(--ease); }
html[data-tier="webgl"] #stage { display: block; }
html.is-ready #stage { opacity: 1; }
html[data-tier="webgl"] .ball-fallback { display: none; }
main, .foot { position: relative; z-index: 1; }

.loader { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: var(--bg); color: #fff; transition: opacity .9s var(--ease), visibility 0s .9s; }
.loader svg { width: 44px; animation: pulse 1.4s ease-in-out infinite; }
html[data-tier="webgl"] .loader { display: grid; }
html.is-ready .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { opacity: .25; } }
.progress { position: fixed; z-index: 60; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); display: none; }
html[data-tier="webgl"] .progress { display: block; }

/* Discreet, always-there dock: WhatsApp + booking pill (chrome, so it may be glass) */
.dock { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; transition: opacity .6s var(--ease); }
.wa {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff;
  background: rgba(22, 22, 24, .55); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s, border-color .3s, transform .5s var(--ease);
}
.wa svg { width: 20px; height: 20px; }
.wa:hover, .wa:focus-visible { background: #25d366; border-color: #25d366; transform: translateY(-2px); }
.book {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .86);
  background: rgba(22, 22, 24, .55); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s, border-color .3s, background .3s;
}
.book svg { width: 17px; height: 17px; }
.book:hover { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(40, 40, 44, .7); transform: translateY(-2px); }
.book.is-away { opacity: 0; transform: translateY(12px); pointer-events: none; }
html[data-tier="webgl"]:not(.is-ready) .dock { opacity: 0; }
@media (max-width: 520px) { .book span { display: none; } .book { padding: 0; width: 46px; justify-content: center; } }
@media (prefers-reduced-transparency: reduce) { .book, .wa { background: #161618; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Nav — the only other glass on the page */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px)); height: 52px; padding: 0 8px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 999px;
  background: rgba(22, 22, 24, .55); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; min-height: 44px; }
.mark { width: 24px; height: 16px; }
.nav nav { display: flex; gap: 30px; font-size: 14px; }
.nav nav a { color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; transition: color .3s; }
.nav nav a:hover { color: #fff; }
.nav nav a[aria-current="page"] { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-contact { display: none !important; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #fff; cursor: pointer; }
/* two independent lines that meet in an X — no nested transforms to go wrong */
.menu-btn i { display: none; }
.menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn::before { top: 17px; }
.menu-btn::after { top: 25px; }
html.menu-open .menu-btn::before { top: 21px; transform: rotate(45deg); }
html.menu-open .menu-btn::after { top: 21px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav { padding-left: 16px; }
  .brand span { display: none; }
  .menu-btn { display: block; }
  .nav nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 22px; border-radius: 24px; background: #121214; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
  html.menu-open .nav nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .nav nav a { font-size: 20px; color: #fff; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav nav a:last-child { border-bottom: 0; }
  .nav-contact { display: inline-flex !important; }
}
@media (max-width: 400px) { .nav .btn-sm { padding: 0 12px; font-size: 13px; } }
@media (prefers-reduced-transparency: reduce) { .nav { background: #161618; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Reveal */
html[data-tier="webgl"] [data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1.3s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s), filter 1.3s var(--ease) var(--d, 0s); }
html[data-tier="webgl"].is-ready [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* Pinned acts: plain documents in the static tier, stages in the webgl tier */
.pin { position: relative; }
.panel { position: relative; padding: 110px var(--pad) 72px; }
html[data-tier="webgl"] .pin { height: calc(100vh + var(--len, 100vh)); }
html[data-tier="webgl"] .panel { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: 92px; padding-bottom: 32px; }

/* 01 Hero */
.hero-panel { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; will-change: transform, opacity; padding-top: clamp(8px, 5vh, 64px); }
.hero-copy h1 { margin: 18px 0 22px; }
.hero-copy .lede { max-width: 34em; }
.hero-copy .cta-row { justify-content: center; margin-top: 28px; }
.br-p { display: none; }
.hero-ball { width: min(46vh, 70vw); margin-top: 5vh; }
.trust { margin-top: 64px; }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px clamp(28px, 5vw, 72px); margin-top: 28px; }
.trust img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .72; }
html[data-tier="webgl"] .trust { position: absolute; left: 0; right: 0; top: 17vh; margin: 0; padding: 0 var(--pad); opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); pointer-events: none; }
html[data-tier="webgl"] .trust.in { opacity: 1; transform: none; }
.scroll-cue {
  position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 3;
  display: none; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 10px; border-radius: 999px; width: max-content; max-width: 92vw;
  font-size: 14px; color: rgba(255, 255, 255, .8); background: rgba(12, 12, 14, .62); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transition: opacity .6s, border-color .3s;
}
.scroll-cue:hover { border-color: rgba(255, 255, 255, .35); }
.scroll-cue strong { color: #fff; font-weight: 600; letter-spacing: .01em; }
html[data-tier="webgl"] .scroll-cue { display: inline-flex; }
.scroll-cue i { position: relative; flex: none; width: 22px; height: 32px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .75); }
.scroll-cue b { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80%, 100% { transform: translateY(11px); opacity: 0; } }
.scroll-cue em { font-style: normal; }
@media (max-width: 520px) { .scroll-cue em { display: none; } .scroll-cue { padding-right: 18px; } }
@media (max-aspect-ratio: 1/1) { .br-p { display: inline; } h1 { font-size: clamp(44px, 13.5vw, 84px); } .hero-copy .lede { font-size: 16px; } }

/* 02 Work — data-driven case-study cards (js/projects.js → js/work.js) */
.work-panel { display: flex; flex-direction: column; gap: clamp(12px, 2.2vh, 26px); padding-left: 0; padding-right: 0; }
.work-head { padding: 0 var(--pad); }
.work-head h2 { font-size: clamp(30px, min(4.2vw, 6.6vh), 60px); margin-top: 10px; }
.touchline { position: relative; height: 1px; margin: clamp(6px, 1.4vh, 16px) var(--pad) 0; background: var(--line); display: none; }
.touchline i { position: absolute; inset: -0.5px 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--accent); }
html[data-tier="webgl"] .touchline { display: block; }

.track-clip { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.track-clip::-webkit-scrollbar { display: none; }
html[data-tier="webgl"] .track-clip { overflow: visible; scroll-snap-type: none; height: 52vh; flex: none; }
.track { display: flex; gap: clamp(14px, 1.8vw, 26px); height: 100%; width: max-content; padding: 0 var(--pad); will-change: transform; }
.track li { height: 100%; scroll-snap-align: center; }

.card {
  position: relative; display: block; height: 100%; aspect-ratio: 4 / 5; max-width: 80vw; overflow: hidden;
  border: 0; border-radius: 26px; padding: 0; margin: 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit; background: var(--card); -webkit-appearance: none; appearance: none;
  transition: transform .9s var(--ease);
  -webkit-box-reflect: below 10px linear-gradient(transparent 74%, rgba(0, 0, 0, .14));
}
html[data-tier="static"] .card { height: 62vh; -webkit-box-reflect: unset; }
.card:hover { transform: translateY(-8px); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.card-media { position: absolute; inset: 0; display: block; }
.card-media .m { width: 100%; height: 100%; object-fit: cover; }
.card-media img, .card-media video { filter: saturate(.9) contrast(1.05) brightness(.86); transition: transform 1.6s var(--ease), filter .8s; }
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.05); filter: none; }
.wordmark {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 13px; text-align: center; padding: 20% 8% 0;
  background: radial-gradient(120% 90% at 50% 0%, #1a1a1e, #08080a 70%);
}
.wordmark b { font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: #fff; }
.wordmark i { font-style: normal; font-size: 12px; letter-spacing: .18em; color: var(--ink-2); }
.wordmark::after { content: ""; width: 34px; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); order: -1; }
.card-n { position: absolute; top: 18px; right: 20px; font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.card-cap { position: absolute; inset: auto 0 0 0; padding: 110px 24px 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .55) 34%, rgba(0, 0, 0, .92) 72%); display: flex; flex-direction: column; gap: 3px; }
.card[data-nomedia] .card-brand { display: none; }
.card-brand { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.card-cap strong { font-size: clamp(19px, 1.9vw, 27px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.card-cap em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .62); }
.card-open { margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--accent); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.card-open b { font-weight: 500; display: inline-block; transition: transform .5s var(--ease); }
.card:hover .card-open, .card:focus-visible .card-open { opacity: 1; transform: none; }
.card:hover .card-open b { transform: translateX(4px); }
.card-end { display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: linear-gradient(160deg, #17171a, #0a0a0c); }
.card-end-t { font-size: clamp(28px, 3vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }

/* Reel tiles: video-only past work, narrower than a case-study card */
.card-reel { aspect-ratio: 9 / 16; background: #0a0a0c; }
.card-reel .card-cap { padding-top: 70px; }
.card-reel .card-brand { font-size: 13px; }
.card-reel .card-open { color: rgba(255, 255, 255, .7); }
.reel-note { display: flex; align-items: center; height: 100%; padding: 0 clamp(6px, 1.4vw, 22px); }
.reel-note span { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); writing-mode: vertical-rl; }
.reel-note b { width: 1px; height: 64px; background: var(--line); }
@media (max-aspect-ratio: 1/1) { .reel-note span { font-size: 11px; } }

/* Case study sheet */
.case { width: min(1180px, 94vw); max-width: none; max-height: 90vh; padding: 0; border: 1px solid var(--line); border-radius: 28px; background: #0a0a0c; color: var(--ink); overflow: hidden; }
.case::backdrop { background: rgba(3, 3, 4, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.case[open] { animation: caseIn .5s var(--ease); }
@keyframes caseIn { from { opacity: 0; transform: translateY(18px) scale(.99); } }
.case-in:focus { outline: none; }
.case-in { display: grid; grid-template-columns: .82fr 1fr; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; }
.case-media { position: relative; background: #08080a; min-height: 300px; align-self: stretch; overflow: hidden; }
.case-media .m { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.case-media .wordmark { position: absolute; inset: 0; }
.case-copy { padding: clamp(26px, 3.4vw, 52px); }
.case-copy h2 { font-size: clamp(28px, 3.2vw, 48px); margin: 12px 0 8px; }
.case-copy h2[hidden] { display: none; }
#case-facts:empty, #case-body:empty { display: none; }
.case-meta { font-size: 14px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.case-body p { color: #c8c8cd; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; }
.case-body p + p { margin-top: 16px; }
.case-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 32px; }
.case-next { background: none; border: 0; cursor: pointer; font: 500 16px/1 var(--font); color: var(--ink-2); padding: 0; min-height: 44px; }
.case-next:hover { color: #fff; }
.case-x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; cursor: pointer; color: #fff; background: rgba(10, 10, 12, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .3s, transform .3s var(--ease); }
.case-x svg { width: 20px; height: 20px; }
.case-x:hover { background: rgba(50, 50, 56, .8); transform: scale(1.06); }
html.case-open .nav, html.case-open .dock, html.case-open .progress { opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (max-width: 860px) {
  .case { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; }
  .case-in { grid-template-columns: 1fr; max-height: 100dvh; }
  .case-media { height: clamp(200px, 38dvh, 320px); min-height: 0; }
  .case-copy { padding-bottom: 64px; }
}

/* 03 Brands — macro on the left, the four steps on the right */
.brands-panel { display: flex; align-items: center; justify-content: flex-end; }
.brands-col { width: min(560px, 46vw); }
.brands-copy h2 { margin: 14px 0 18px; font-size: clamp(34px, min(4.6vw, 8vh), 72px); }
.brands-copy .link { margin-top: 8px; }
.steps { margin-top: clamp(12px, 3vh, 32px); position: relative; }
.step { position: relative; padding: clamp(10px, 1.9vh, 20px) 0 clamp(10px, 1.9vh, 20px) 56px; border-top: 1px solid var(--line); transition: opacity .7s var(--ease); }
.step .num { position: absolute; left: 0; top: clamp(14px, 2.3vh, 25px); font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: color .5s; }
.step h3 { font-size: clamp(22px, min(2.3vw, 4vh), 32px); line-height: 1.1; }
.step p { color: var(--ink-2); font-size: 16px; max-width: 26em; margin-top: 4px; }
html[data-tier="webgl"] .step { opacity: .32; }
html[data-tier="webgl"] .step.is-active { opacity: 1; }
html[data-tier="webgl"] .step.is-active .num { color: var(--accent); }
html[data-tier="webgl"] .step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); box-shadow: 0 0 10px var(--accent); }
html[data-tier="webgl"] .step.is-done::before, html[data-tier="webgl"] .step.is-active::before { transform: scaleX(1); }
html[data-tier="webgl"] .step p { overflow: hidden; max-height: 0; opacity: 0; margin-top: 0; transition: max-height .8s var(--ease), opacity .8s var(--ease), margin .8s var(--ease); }
html[data-tier="webgl"] .step.is-active p { max-height: 4.6em; opacity: 1; margin-top: 6px; }
@media (max-aspect-ratio: 1/1) {
  .brands-panel { align-items: flex-start; }
  .brands-col { width: 100%; }
  .brands-copy .lede { font-size: 16px; }
  .step { padding-left: 40px; }
}

/* 04 Creators */
.creators-panel { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.creators-copy { width: min(40vw, 560px); }
.creators-copy h2 { font-size: clamp(32px, min(4.1vw, 8.5vh), 76px); }
.creators-copy h2 { margin: 14px 0 22px; }
html[data-tier="webgl"] .creators-copy > * { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
html[data-tier="webgl"] .creators-panel.is-open .creators-copy > * { opacity: 1; transform: none; filter: none; }
.creators-panel.is-open .creators-copy > :nth-child(2) { transition-delay: .08s; }
.creators-panel.is-open .creators-copy > :nth-child(3) { transition-delay: .16s; }
.creators-panel.is-open .creators-copy > :nth-child(4) { transition-delay: .24s; }
.creator-photo { position: relative; flex: none; height: min(62vh, 100%); aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; transform: scale(var(--ps, 1)); will-change: transform; box-shadow: 0 40px 120px -30px rgba(40, 90, 255, .35); }
.creator-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (max-aspect-ratio: 1/1), (max-width: 820px) {
  .creators-panel { flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 20px; }
  .creators-copy { width: auto; }
  .creators-copy h2 { font-size: clamp(34px, 9vw, 56px); margin: 8px 0 12px; }
  .creators-copy .lede { font-size: 16px; }
  .creators-copy .cta-row { margin-top: 16px; gap: 4px 20px; }
  .creator-photo { height: auto; width: min(58vw, 34vh); align-self: flex-end; }
}

/* 05 Final — the goal */
.final-panel { display: flex; align-items: flex-end; justify-content: center; text-align: center; }
html[data-tier="webgl"] .final-panel { padding-bottom: clamp(24px, 5vh, 64px); }
/* phones: the closing CTA rests clear of the floating WhatsApp/booking dock */
@media (max-width: 520px) { html[data-tier="webgl"] .final-panel { padding-bottom: 88px; } }
.floodlights { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    conic-gradient(from 118deg at 0% -8%, transparent 0deg, rgba(200, 220, 255, .16) 14deg, transparent 34deg),
    conic-gradient(from 208deg at 100% -8%, transparent 0deg, rgba(200, 220, 255, .16) 20deg, transparent 34deg),
    radial-gradient(ellipse 30% 30% at 0% 0%, rgba(210, 225, 255, .35), transparent 70%),
    radial-gradient(ellipse 30% 30% at 100% 0%, rgba(210, 225, 255, .35), transparent 70%); }
html[data-tier="static"] .floodlights { display: none; }
.final-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2vh, 22px); }
.final-copy h2 { font-size: clamp(36px, min(5.6vw, 8vh), 84px); }
html[data-tier="webgl"] .final-copy > * { opacity: 0; transform: translateY(36px) scale(.98); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
html[data-tier="webgl"] .final-copy.in > * { opacity: 1; transform: none; filter: none; }
.final-copy.in > :nth-child(2) { transition-delay: .08s; }
.final-copy.in > :nth-child(3) { transition-delay: .2s; }
html[data-tier="static"] .final-panel { flex-direction: column; align-items: center; gap: 32px; }
.final-ball { width: min(220px, 40vw); }

/* 06 Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); padding: clamp(96px, 18vh, 200px) var(--pad); align-items: start; background: linear-gradient(transparent, var(--bg) 22%); }
.contact-copy h2 { margin: 14px 0 22px; }
.next { margin-top: 40px; border-top: 1px solid var(--line); }
.next li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.next span { color: var(--accent); font-weight: 400; font-size: 13px; padding-top: 5px; font-variant-numeric: tabular-nums; }
.contact-action { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 3.4vw, 48px); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-head h3 { font-size: clamp(26px, 2.6vw, 36px); }
.form-head .fine { margin-top: 6px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.lbl { display: block; }
.req { color: var(--accent); margin-left: 3px; }
.opt { font-weight: 400; color: var(--ink-2); font-size: 12px; margin-left: 6px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: 13px; margin-top: -2px; }
.form input, .form textarea { font: 400 17px/1.4 var(--font); color: var(--ink); background: #141416; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 16px; min-height: 52px; resize: vertical; transition: border-color .3s, background .3s; width: 100%; }
.form input::placeholder, .form textarea::placeholder { color: #5c5c62; }
.form input:hover, .form textarea:hover { border-color: rgba(255, 255, 255, .18); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #18181b; }
.form [aria-invalid="true"] { border-color: #ff6b5e; }
.field-error { color: #ff8a7f; font-size: 13px; font-weight: 400; }
.form .btn { align-self: flex-start; margin-top: 4px; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff8a7f; font-size: 14px; }
.form-status a, .form .fine a { text-decoration: underline; text-underline-offset: 3px; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(8px, 2vw, 20px) 0; outline: none; }
.form-done h3 { font-size: clamp(28px, 3vw, 40px); }
.form-done p { color: var(--ink-2); max-width: 30em; }
.form-done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 40px -6px var(--accent); position: relative; margin-bottom: 6px; animation: pop .6s var(--ease) both; }
.form-done-mark::after { content: ""; position: absolute; left: 17px; top: 17px; width: 18px; height: 9px; border-left: 2.5px solid #000; border-bottom: 2.5px solid #000; transform: rotate(-45deg); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 3.4vw, 48px); }
.form-card--lead { box-shadow: 0 40px 120px -40px rgba(185, 245, 60, .2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* ---- Inner pages (work, brands, creators, about, contact, privacy) ---------------------------- */
html.page.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), filter 1.1s var(--ease) var(--d, 0s); }
html.page.js.is-ready [data-reveal].in { opacity: 1; transform: none; filter: none; }
html.page body { background: radial-gradient(90% 60% at 80% -10%, rgba(120, 130, 160, .10), transparent 60%), var(--bg); }

.page-hero { display: grid; grid-template-columns: 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(120px, 18vh, 170px) var(--pad) clamp(28px, 5vh, 56px); max-width: 1320px; margin: 0 auto; }
.page-hero--ball { grid-template-columns: 1.1fr .9fr; min-height: min(88vh, 840px); padding-bottom: clamp(48px, 8vh, 96px); }
.page-hero h1 { font-size: clamp(44px, min(6.6vw, 12vh), 108px); margin: 16px 0 22px; }
.page-hero .lede { font-size: clamp(18px, 1.6vw, 22px); }
.page-hero-ball { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center; }
.page-hero-ball::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .06), transparent 62%); }
.page-hero-ball canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-ball-fallback { position: absolute; inset: 12%; width: 76%; transition: opacity .8s var(--ease); }
html.has-hero-ball .hero-ball-fallback { opacity: 0; }

.section { padding: clamp(56px, 10vh, 120px) var(--pad); max-width: 1320px; margin: 0 auto; }
.section--wide { max-width: none; padding-left: 0; padding-right: 0; }
.section-title { font-size: clamp(34px, 4.6vw, 64px); margin-bottom: clamp(28px, 5vh, 56px); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vh, 44px); }
.section-head h2 { margin: 14px 0 18px; font-size: clamp(34px, 4.6vw, 64px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: end; }
.split h2 { font-size: clamp(34px, 4.6vw, 64px); }
.split .eyebrow + h2 { margin-top: 14px; }

.steps--page { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 80px); }
.steps--page .step { padding: 26px 0 34px 56px; }
.steps--page .step h3 { font-size: clamp(24px, 2.4vw, 34px); }
.steps--page .step p { font-size: 17px; margin-top: 10px; }

.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px; }
.logo-wall img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .72; }
.logo-wall .link { width: 100%; justify-content: flex-start; width: max-content; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 3.4vw, 44px); }
.monogram { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 30px; background: linear-gradient(145deg, #1f1f22, #0b0b0d); border: 1px solid var(--line); font-weight: 600; letter-spacing: .04em; }
.person h3 { font-size: clamp(26px, 2.4vw, 34px); }
.person .role { color: var(--accent); font-size: 14px; margin: 6px 0 14px; }
.person p:last-child { color: var(--ink-2); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principles li { border-top: 1px solid var(--line); padding-top: 22px; }
.principles h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.principles p { color: var(--ink-2); }

.cta-band { margin: clamp(32px, 6vh, 80px) var(--pad) clamp(72px, 12vh, 140px); padding: clamp(44px, 7vw, 100px) clamp(24px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 50% 125%, rgba(185, 245, 60, .16), transparent 60%), #0c0c0e; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 80px); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--pad); }
.work-grid .card { width: 100%; height: auto; max-width: none; -webkit-box-reflect: unset; }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #111113; border: 1px solid var(--line); margin-bottom: clamp(28px, 5vh, 48px); }
.tabs [role="tab"] { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 15px/1 var(--font); cursor: pointer; transition: background .3s, color .3s; }
.tabs [role="tab"]:hover { color: #fff; }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: #000; }
.path { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.path[hidden] { display: none; }
.path-copy h3 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.02; margin-bottom: 18px; }
.path-copy > p { color: var(--ink-2); font-size: 18px; }
.ticks { margin: 24px 0; }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 110px); align-items: start; }
.contact-page { max-width: 1320px; margin: 0 auto; padding: clamp(112px, 16vh, 150px) var(--pad) clamp(64px, 10vh, 120px); }
.contact-page h1 { font-size: clamp(40px, min(4.6vw, 10vh), 80px); margin: 16px 0 20px; }
.next-label { margin-top: clamp(28px, 5vh, 48px); }
.contact-side { position: sticky; top: 120px; }
.contact-side .next { margin-top: 18px; }
.side-note { margin-top: 26px; font-size: 15px; }

.prose-wrap { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 110px; }
.toc ol { margin-top: 16px; }
.toc a { display: flex; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; transition: color .3s; }
.toc a:hover { color: #fff; }
.toc a span { color: var(--accent); font-size: 12px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.prose section { padding-bottom: clamp(36px, 6vh, 64px); scroll-margin-top: 110px; }
.prose .num { color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 8px 0 18px; }
.prose p { color: #c8c8cd; max-width: 40em; line-height: 1.6; }
.prose p + p { margin-top: 14px; }
.prose dl { margin-top: 18px; }
.prose dt { font-weight: 600; margin-top: 18px; }
.prose dd { margin: 4px 0 0; color: var(--ink-2); max-width: 40em; }

@media (max-width: 900px) {
  .page-hero--ball { grid-template-columns: 1fr; min-height: auto; }
  .page-hero-ball { max-width: 300px; justify-self: start; }
  .split, .people, .path, .contact-grid, .prose-wrap { grid-template-columns: 1fr; }
  .split { align-items: start; }
  .principles { grid-template-columns: 1fr; }
  .contact-side, .toc { position: static; }
  /* phones: headline → form → next steps, so the form is the first thing after the promise */
  .contact-side { display: contents; }
  .contact-grid { row-gap: 0; }
  .contact-grid > .form-card { order: 1; margin-top: 28px; }
  .contact-side > div:last-child { order: 2; margin-top: 36px; }
}
@media (max-width: 640px) { .steps--page { grid-template-columns: 1fr; } .tabs { display: flex; } .tabs [role="tab"] { flex: 1; padding: 0 12px; } }

/* WhatsApp line beside the forms */
.wa-line { margin-top: 22px; }
.wa-line a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #0f0f11; font-size: 15px; color: var(--ink-2); transition: border-color .3s, color .3s; }
.wa-line a:hover { border-color: #25d366; color: #fff; }
.wa-line svg { width: 20px; height: 20px; color: #25d366; flex: none; }
.wa-line strong { color: #fff; font-weight: 500; }

/* Footer */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding: 36px var(--pad) 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--ink-2); }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: #fff; }
.foot .fine { width: 100%; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
