/* Sean Young UGC: "Lehi sky" palette, liquid-glass surfaces over color and footage.
   Light-only by design (Sean found the dark version too low-contrast, 2026-11-02). */
:root {
  --sky: #2bb3ea;
  --sky-deep: #0a77b4;
  --sun: #ffb547;
  --pink: #ff5fa2;
  --dusk: #3b2c6b;
  --ground: #f4f7fb;
  --ground-2: #e8eff5;
  --ink: #0e1a24;
  --ink-2: #4a5a68;
  --line: rgba(14, 26, 36, .12);
  --glass-bg: rgba(255, 255, 255, .42);
  --glass-edge: rgba(255, 255, 255, .7);
  --glass-shadow: 0 10px 30px rgba(14, 40, 64, .14);
  --card-ground: #d7e3ea;
  --contact-glass: rgba(255, 255, 255, .5);
  --field: rgba(255, 255, 255, .7);
  --radius: 22px;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground) linear-gradient(180deg, #f4f7fb 0%, #eef6fc 30%, #fbf1f6 62%, #f4f7fb 100%) no-repeat; color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
section { position: relative; padding: clamp(72px, 10vw, 128px) clamp(16px, 5vw, 64px); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* Liquid glass: blur + saturation, a bright top edge and a soft inner sheen */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%), var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(255,255,255,.08), var(--glass-shadow);
}
.glass-strong { -webkit-backdrop-filter: blur(28px) saturate(200%); backdrop-filter: blur(28px) saturate(200%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px; font: 700 1rem var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--sky); color: #fff; box-shadow: 0 8px 22px rgba(43,179,234,.4), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }

/* Nav */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 28px; padding: 8px 8px 8px 10px; border-radius: 999px; width: min(760px, 100%); justify-content: space-between; }
.logo { font: 800 1.25rem var(--display); letter-spacing: .02em; color: #fff; background: var(--sky); padding: .28em .8em; border-radius: 999px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--ink); opacity: .85; }
.nav-links a:hover { opacity: 1; }

/* Hero */
.hero { min-height: min(100svh, 940px); display: flex; align-items: center; padding-top: 120px; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.12); filter: blur(14px) saturate(1.25); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--ground) 0%, transparent 14%),
  radial-gradient(70% 45% at 72% 100%, rgba(255,95,162,.6), transparent 70%),
  radial-gradient(55% 40% at 12% 100%, rgba(43,179,234,.55), transparent 70%),
  linear-gradient(180deg, rgba(11,18,40,.45) 0%, rgba(11,18,40,.2) 45%, rgba(255,150,190,.18) 80%),
  linear-gradient(100deg, rgba(11,18,40,.55) 0%, rgba(11,18,40,.15) 60%, transparent 100%); }
.hero-inner { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { border-radius: 32px; padding: clamp(24px, 4vw, 48px); --glass-bg: rgba(255,255,255,.1); --glass-edge: rgba(255,255,255,.35); color: #fff; }
.eyebrow { font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: .6em; opacity: .9; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5ef08a; box-shadow: 0 0 0 4px rgba(94,240,138,.25); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 800; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--sky); background: linear-gradient(90deg, #7fd8ff, var(--sky) 45%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34em; opacity: .92; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-facts { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(255,255,255,.22); font-size: .95rem; opacity: .9; }
.hero-facts strong { font-weight: 700; }

/* Hero visual: Sean's portrait in a glass frame, the video phone overlapping its corner */
.hero-visual { position: relative; justify-self: center; width: min(420px, 100%); padding: 0 0 40px 56px; }
.hero-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; border: 1px solid rgba(255,255,255,.55); box-shadow: 0 30px 70px rgba(10,20,50,.45), inset 0 1px 0 rgba(255,255,255,.5); transform: rotate(2deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.phone { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 9 / 18; border-radius: 30px; padding: 7px; background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.25)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 24px 50px rgba(0,0,0,.45); transform: rotate(-5deg); }
.phone-screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #000; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }

/* Colored blobs give the glass something to refract */
.blobs { position: absolute; inset: 0; overflow: hidden; z-index: -1; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blobs span:nth-child(1) { width: 42vw; height: 42vw; background: var(--sky); left: -8vw; top: 10%; }
.blobs span:nth-child(2) { width: 30vw; height: 30vw; background: var(--sun); right: 6vw; top: 0; animation-delay: -6s; }
.blobs span:nth-child(3) { width: 34vw; height: 34vw; background: var(--pink); right: 30vw; bottom: -10%; animation-delay: -12s; opacity: .45; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.1); } }

/* Client marquee */
.clients { padding-top: 56px; padding-bottom: 72px; padding-inline: 0; overflow: hidden; }
.section-label { font: 600 .85rem var(--body); letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--ink-2); margin-bottom: 28px; }
.marquee { overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; width: max-content; animation: slide 70s linear infinite; }
.marquee[data-dir="right"] .track { animation-direction: reverse; animation-duration: 78s; }
.marquee + .marquee + .marquee .track { animation-duration: 64s; }
.track ul { display: flex; gap: 16px; padding: 0 8px; margin: 0; list-style: none; }
.logo-pill { height: 84px; min-width: 180px; padding: 0 30px; border-radius: 24px; display: grid; place-items: center; --glass-bg: rgba(255,255,255,.55); }
.logo-pill img { max-height: 40px; max-width: 150px; width: auto; object-fit: contain; }
.gc { display: flex; align-items: center; gap: 10px; font: 800 1.35rem var(--display); color: #111; letter-spacing: -.01em; }
.gc img { height: 30px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Work */
.work { padding-inline: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding: 0 clamp(16px, 5vw, 64px); max-width: 1308px; margin: 0 auto 32px; }
.section-head p { color: var(--ink-2); }
.reel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
.reel-set { display: flex; gap: 18px; padding-right: 18px; }
.reel + .reel { margin-top: 18px; }
.reel-reverse .reel-track { animation-direction: reverse; }
.card { position: relative; width: clamp(200px, 22vw, 270px); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--card-ground); padding: 0; border: 0; cursor: pointer; flex: none; transition: transform .3s; }
.card:hover { transform: translateY(-6px); }
.card video, .card .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card video { z-index: 1; }
.card .play, .card .card-meta { z-index: 2; }
.card-meta { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 16px; --glass-bg: rgba(255,255,255,.6); }
.card-meta img { height: 22px; width: auto; max-width: 60%; object-fit: contain; }
.card-meta b { font: 700 .82rem var(--body); color: #0e1a24; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta em { font: 600 .75rem var(--body); font-style: normal; color: #0e1a24; white-space: nowrap; }
.play { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.6); }
.play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }


/* Viewer */
.viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; display: none; place-items: center; }
.viewer[open] { display: grid; }
.viewer::backdrop { background: rgba(5,10,16,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.viewer video { height: min(84vh, 760px); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 26px; background: #000; object-fit: contain; }
.viewer-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; justify-content: center; color: #fff; font-weight: 600; }
.viewer-meta img { height: 24px; width: auto; background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 10px; box-sizing: content-box; }
.close { position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.18); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

/* Phones */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: min(360px, 88vw); padding-left: 44px; }
  .phone { width: 36%; }
  .hero-photo img { object-position: 62% 70%; }
  .logo-pill { height: 68px; min-width: 140px; padding: 0 22px; }
  .logo-pill img { max-height: 32px; max-width: 120px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .card { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .track, .reel-track, .blobs span { animation: none; }
  .reel, .marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* Clickable Instagram / X icons (kept from the original portfolio) */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em .45em .5em; border-radius: 999px; text-decoration: none; font: 600 .92rem var(--body); color: var(--ink); background: var(--ground-2); border: 1px solid var(--line); transition: transform .2s, background .2s; }
.social:hover { transform: translateY(-2px); }
.social svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; fill: #fff; background: var(--ink); flex: none; }
.social:first-child svg { background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 80%, #4f5bd5); }
.socials-hero { margin-top: 18px; }
.socials-hero .social { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }

/* Hero social buttons */
.hero-social { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .9rem; opacity: .95; }
.hero-social span { margin-left: 4px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); transition: transform .2s, background .2s; }
.icon-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.28); }
.icon-btn svg { width: 18px; height: 18px; fill: #fff; }

/* Contact link cards */
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.contact-links .link-card:first-child { grid-column: 1 / -1; }
.link-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; text-decoration: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.45)); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(14,40,64,.08); transition: transform .2s, box-shadow .2s; min-width: 0; }
.link-card:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(14,40,64,.14); }
.link-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.link-ic svg { width: 19px; height: 19px; fill: #fff; }
.link-ic.mail { background: linear-gradient(135deg, var(--sky), var(--pink)); }
.link-ic.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.link-ic.x { background: #0e1a24; }
.link-txt { display: grid; min-width: 0; line-height: 1.25; }
.link-txt small { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.link-txt b { font-size: .95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-act { margin-left: auto; flex: none; font: 700 .78rem var(--body); padding: .4em .8em; border-radius: 999px; background: var(--ink); color: #fff; }
.link-card .go { margin-left: auto; flex: none; width: 18px; height: 18px; color: var(--ink-2); }
@media (max-width: 520px) { .contact-links { grid-template-columns: 1fr; } }

/* Scroll reveal (Apple-style): content rises and settles into place as it enters */
.js .reveal { opacity: 0; transform: translateY(48px) scale(.97); transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform 1.1s cubic-bezier(.2,.7,.1,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.eyebrow-dark { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #c9176d; }
.grad { background: linear-gradient(90deg, var(--sky-deep), #e0247f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Fan: one phone fans out into three as you scroll (JS sets --spread 0 -> 1 and --pw) */
.fan { height: 180vh; padding: 0; }
.fan-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr; justify-items: center; align-items: center; padding: 96px 16px 32px; overflow: hidden; }
.fan-copy { text-align: center; max-width: 780px; display: grid; gap: 14px; }
.fan-copy h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.fan-copy p:last-child { color: var(--ink-2); font-size: 1.1rem; }
.fan-scene { --spread: 0; --pw: 230px; --fw: calc(var(--pw) * .93); position: relative; width: var(--pw); height: calc(var(--pw) * 16 / 9 + 44px); }
.fphone { position: absolute; left: 0; top: 0; width: var(--pw); margin: 0; transition: none; will-change: transform; }
.fscreen { position: relative; aspect-ratio: 9 / 16; border-radius: calc(var(--pw) * .14); padding: calc(var(--pw) * .035); background: linear-gradient(150deg, #1d232b, #0b0e12 55%, #262d36);
  box-shadow: 0 40px 70px rgba(14,30,60,.28), 0 0 0 1px rgba(255,255,255,.08) inset, 0 1px 0 rgba(255,255,255,.18) inset; }
.fscreen::before { content: ""; position: absolute; top: calc(var(--pw) * .06); left: 50%; width: 28%; height: calc(var(--pw) * .07); transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 2; }
.fview { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .11); background: #000; }
.fscreen video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* This clip has black bars and a burned-in hook box at the top: zoom past both, and set the hook again below the notch */
.fview-crop video { transform: translateY(-10.2%) scale(1.48); }
.fhook { position: absolute; top: 7.5%; left: 50%; width: 72%; transform: translateX(-50%); padding: calc(var(--fw) * .025) calc(var(--fw) * .03); border-radius: calc(var(--fw) * .05); background: #fff; color: #111; text-align: center; text-wrap: balance; font: 500 calc(var(--fw) * .058)/1.2 var(--body); }
/* Sized from a real Reel: icons 6% of the screen width, one every 16%, counts 2.7% */
.reel-rail { position: absolute; right: calc(var(--fw) * .015); bottom: 12.5%; width: calc(var(--fw) * .11); display: grid; justify-items: center; gap: calc(var(--fw) * .058); pointer-events: none; color: #fff; }
.reel-rail div { display: grid; justify-items: center; gap: calc(var(--fw) * .009); }
.reel-rail svg { display: block; width: calc(var(--fw) * .06); height: calc(var(--fw) * .06); fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 .5px 1px rgba(0,0,0,.5)); }
.reel-rail b { font: 600 calc(var(--fw) * .027)/1.15 var(--body); text-shadow: 0 .5px 1px rgba(0,0,0,.6); white-space: nowrap; }
.reel-rail span { width: calc(var(--fw) * .064); height: calc(var(--fw) * .064); border-radius: calc(var(--fw) * .014); border: 1px solid #fff; background: center / cover; box-shadow: 0 .5px 2px rgba(0,0,0,.45); }
.fview::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.42)); pointer-events: none; }
.reel-rail, .reel-meta { z-index: 1; }
.reel-meta { position: absolute; left: calc(var(--fw) * .037); right: calc(var(--fw) * .14); bottom: 12.5%; display: grid; gap: calc(var(--fw) * .03); color: #fff; pointer-events: none; text-shadow: 0 .5px 1px rgba(0,0,0,.55); }
.reel-who { display: flex; align-items: center; gap: calc(var(--fw) * .02); min-width: 0; }
.reel-who i { flex: none; display: grid; place-items: center; width: calc(var(--fw) * .098); height: calc(var(--fw) * .098); border-radius: 50%; padding: calc(var(--fw) * .006); background: conic-gradient(from 210deg, #ffb547, #ff3d7f, #b13bd8, #ffb547); }
.reel-who img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; padding: calc(var(--fw) * .009); background: #fff; border: calc(var(--fw) * .005) solid #000; }
.reel-who b { font: 600 calc(var(--fw) * .032)/1.1 var(--body); white-space: nowrap; }
.reel-who .tick { flex: none; width: calc(var(--fw) * .034); height: calc(var(--fw) * .034); margin-left: calc(var(--fw) * -.012); }
.tick path:first-child { fill: #0095f6; }
.tick path:last-child { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.reel-who em { flex: none; font: 600 calc(var(--fw) * .03)/1 var(--body); padding: calc(var(--fw) * .012) calc(var(--fw) * .02); border: 1px solid rgba(255,255,255,.75); border-radius: calc(var(--fw) * .018); }
.reel-meta p { font: 500 calc(var(--fw) * .031)/1.2 var(--body); white-space: nowrap; overflow: hidden; }
.fphone figcaption { margin-top: 16px; text-align: center; font: 700 .95rem var(--body); color: var(--ink); opacity: clamp(0, (var(--spread) - .75) * 4, 1); }
.fphone[data-i="0"] { z-index: 3; }
.fphone[data-i="-1"], .fphone[data-i="1"] { z-index: 2; }

/* What I make: bento of format cards, each with a live clip and its brands */
.formats { max-width: 1308px; margin: 0 auto; }
.format-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-areas: "a a c c b b" "a a d d b b" "e e e f f f"; gap: 18px; }
.fcard:nth-child(1) { grid-area: a; } .fcard:nth-child(2) { grid-area: b; } .fcard:nth-child(3) { grid-area: c; }
.fcard:nth-child(4) { grid-area: d; } .fcard:nth-child(5) { grid-area: e; } .fcard:nth-child(6) { grid-area: f; }
.fcard { position: relative; border-radius: 28px; overflow: hidden; display: flex; gap: 16px; padding: 14px; min-height: 250px;
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.55)); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(14,40,64,.10); }
.fclip { flex: none; width: 38%; max-width: 170px; border-radius: 18px; overflow: hidden; background: var(--card-ground); align-self: stretch; }
.fclip video { width: 100%; height: 100%; object-fit: cover; }
.fbody { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; min-width: 0; }
.fbody h3 { font-size: 1.35rem; font-weight: 800; }
.fbody p { color: var(--ink-2); font-size: .95rem; }
.flogos { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flogos li { height: 32px; padding: 0 10px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.flogos img { height: 16px; width: auto; max-width: 80px; object-fit: contain; }
.gc-sm { font-size: .78rem; gap: 5px; } .gc-sm img { height: 15px; }
/* Big cards: the clip fills the card, copy floats on a glass panel */
.fcard-big { min-height: 560px; padding: 0; color: #fff; }
.fcard-big .fclip { position: absolute; inset: 0; width: 100%; max-width: none; border-radius: 0; }
.fcard-big .fbody, .fcard-wide .fbody { position: relative; margin: auto 12px 12px; padding: 18px; border-radius: 22px; width: calc(100% - 24px);
  background: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,255,255,.12)); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.45); }
.fcard-big .fbody p, .fcard-wide .fbody p, .fcard-solo .fbody p { color: rgba(255,255,255,.9); }
.fcard-big .flogos li, .fcard-wide .flogos li, .fcard-solo .flogos li { background: rgba(255,255,255,.88); border-color: transparent; }

/* About: copy beside a bento of video, photo and quick facts (nothing overlaps) */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1308px; margin: 0 auto; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy .big { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; margin-bottom: 16px; color: var(--ink); }
.about-copy p { color: var(--ink-2); max-width: 34em; }
.kit { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kit li { font-size: .9rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.about-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { margin: 0; border-radius: 26px; overflow: hidden; position: relative; box-shadow: 0 20px 44px rgba(14,40,64,.16); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile-hoops { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tile-hoops figcaption, .tile-golf figcaption, .tile-tipoff figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; font: 600 .85rem var(--body); color: #0e1a24; --glass-bg: rgba(255,255,255,.65); }
.tile-mirror, .tile-golf { aspect-ratio: 4 / 5; }
.tile-golf video { object-position: 50% 40%; }
.tile-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 18px 12px; padding: 22px; --glass-bg: rgba(255,255,255,.6); }
.tile-stats strong { display: block; font: 800 clamp(1.4rem, 2.4vw, 2rem) var(--display); background: linear-gradient(90deg, var(--sky-deep), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-stats span { font-size: .85rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .format-grid { grid-template-columns: 1fr; grid-template-areas: none; }
  .fcard:nth-child(n) { grid-area: auto; }
  .fcard-big { min-height: 520px; }
  .about { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fan { height: auto; } .fan-stage { position: relative; height: auto; gap: 40px; padding-bottom: 80px; }
}

/* Process: intro sticks on the left while the steps scroll and light up on the right */
.process { max-width: 1308px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process::before { content: ""; position: absolute; inset: 15% -10% auto 40%; height: 70%; background: radial-gradient(circle at 70% 30%, rgba(43,179,234,.28), transparent 60%), radial-gradient(circle at 30% 80%, rgba(255,95,162,.25), transparent 55%); filter: blur(40px); z-index: -1; pointer-events: none; }
.process-intro { position: sticky; top: 110px; display: grid; gap: 18px; }
.process-intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.process-lede { color: var(--ink-2); font-size: 1.1rem; max-width: 30em; }
.perks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perks li { border-radius: 22px; padding: 18px 20px; display: grid; gap: 2px; --glass-bg: rgba(255,255,255,.6); }
.perks strong { font: 800 1.5rem var(--display); background: linear-gradient(90deg, var(--sky-deep), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.perks span { color: var(--ink-2); font-size: .92rem; }
.steps { position: relative; list-style: none; padding: 8vh 0 12vh; margin: 0; display: grid; gap: 7vh; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; opacity: .35; transform: scale(.97); transform-origin: left center; transition: opacity .5s, transform .5s; }
.step.on { opacity: 1; transform: none; }
.step > div { padding: 22px 24px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.55)); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 16px 36px rgba(14,40,64,.08); }
.step small { font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.step h3 { font-size: 1.6rem; font-weight: 800; margin: 4px 0 6px; }
.step p { color: var(--ink-2); }
.step-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 1.3rem var(--display); color: var(--ink-2); background: #fff; border: 1px solid var(--line); position: relative; z-index: 1; transition: background .4s, color .4s, box-shadow .4s; }
.step.on .step-n { background: linear-gradient(135deg, var(--sky), var(--pink)); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(255,95,162,.3); }
.rail { position: absolute; left: 27px; top: calc(8vh + 28px); bottom: calc(12vh + 60px); width: 2px; background: var(--line); }
.rail span { position: absolute; inset: 0 0 auto; height: var(--fill, 0%); background: linear-gradient(var(--sky), var(--pink)); border-radius: 2px; }

/* Contact: one gradient panel, closing line + direct links on the left, form on the right */
.contact { max-width: 1308px; margin: 0 auto; }
.contact-panel { position: relative; overflow: hidden; border-radius: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, #0e2a44, #1b3a6b 45%, #5b2a63 100%); color: #fff; box-shadow: 0 40px 80px rgba(14,30,60,.25); isolation: isolate; }
.contact-panel .blobs { -webkit-mask-image: none; mask-image: none; }
.contact-panel .blobs span { opacity: .55; filter: blur(70px); }
.eyebrow-light { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb3d4; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-side h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.contact-side > p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 30em; }
.contact-side .contact-links { grid-template-columns: 1fr; margin-top: 10px; }
.contact-side .link-card { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.contact-side .link-card:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 26px rgba(0,0,0,.2); }
.contact-side .link-txt small { color: rgba(255,255,255,.65); }
.contact-side .link-act { background: #fff; color: #0e1a24; }
.contact-side .link-card .go { color: rgba(255,255,255,.7); }
.contact-side .link-ic.x { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.contact-form { align-self: start; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form .wide { grid-column: 1 / -1; }
.form input:not([type=checkbox]), .form textarea { font: 400 1rem var(--body); color: var(--ink); padding: .85em 1em; border-radius: 14px; border: 1px solid var(--line); background: #f4f7fb; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(43,179,234,.2); background: #fff; }
.needs { grid-column: 1 / -1; border: 0; padding: 0; margin: 0 0 4px; }
.needs legend { font-weight: 600; font-size: .9rem; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5em .95em; border-radius: 999px; border: 1px solid var(--line); background: #f4f7fb; font: 600 .88rem var(--body); transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: linear-gradient(135deg, var(--sky), var(--pink)); color: #fff; border-color: transparent; }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.contact-form .btn { margin-top: 4px; padding: 1em; font-size: 1.05rem; }

/* Footer */
.foot { max-width: 1308px; margin: 0 auto; padding: 48px clamp(16px, 5vw, 64px) 32px; display: grid; gap: 28px; color: var(--ink-2); font-size: .9rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.foot-nav a { text-decoration: none; color: var(--ink); }
.foot-nav a:hover { color: var(--sky-deep); }
.foot-social { display: flex; gap: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .process, .contact-panel { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .steps { padding: 2vh 0 4vh; gap: 4vh; }
  .rail { top: calc(2vh + 28px); bottom: calc(4vh + 60px); }
}
@media (max-width: 560px) {
  .perks, .form { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 12px; }
  .step-n { width: 44px; height: 44px; font-size: 1.05rem; }
  .rail { left: 21px; }
  .contact-panel { border-radius: 28px; }
}

/* Instagram and X buttons in their real brand colours */
.icon-btn.icon-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: transparent; box-shadow: 0 6px 16px rgba(214,36,159,.3); }
.icon-btn.icon-x { background: #000; border-color: #000; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.icon-btn.icon-ig:hover, .icon-btn.icon-x:hover { transform: translateY(-2px) scale(1.05); }
@media (max-width: 560px) { .tile-stats { grid-template-columns: 1fr 1fr; } }

/* Bottom row: two equal cards, each with two clips side by side and the copy beside them */
/* Wide cards: same see-through treatment as the big ones, three clips edge to edge behind a glass panel */
.fcard-wide { min-height: 520px; padding: 0; color: #fff; }
.fcard-wide .fclips { position: absolute; inset: 0; display: flex; gap: 3px; background: rgba(255,255,255,.9); }
.fcard-wide .fclip { flex: 1; width: auto; max-width: none; border-radius: 0; }
.fcard-wide .fbody { justify-content: flex-start; }
@media (max-width: 900px) { .fcard-wide { min-height: 560px; } }

/* Social icons: no border ring (the IG gradient was repeating into it as a thin yellow line), bigger IG glyph */
.icon-btn.icon-ig, .icon-btn.icon-x, .icon-btn.icon-gmail { border: 0; }
.icon-btn.icon-ig svg { width: 24px; height: 24px; }
.link-ic.ig svg { width: 23px; height: 23px; }
.icon-btn.icon-gmail { background: #fff; box-shadow: 0 6px 16px rgba(14,40,64,.18); }
.icon-btn.icon-gmail svg { width: 22px; height: 22px; }
.icon-btn.icon-gmail:hover { transform: translateY(-2px) scale(1.05); background: #fff; }
.link-ic.gmail { background: #fff; transition: transform .2s; }
.link-ic.gmail svg { width: 24px; height: 24px; }
.link-ic.gmail:hover { transform: scale(1.08); }
.email-card { cursor: default; }
.email-card .link-txt { text-decoration: none; color: inherit; }
.email-card .link-act { border: 0; cursor: pointer; }

/* About texture: tinted dotted panel behind the bento, sticker shapes, a spinning badge, colored chips */
.about { position: relative; isolation: isolate; }
.about-copy { position: relative; }
.about-copy h2 .me { position: relative; display: inline-block; background: linear-gradient(90deg, var(--sky-deep), #e0247f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-copy h2 .me::after { content: ""; position: absolute; left: -2%; right: -4%; bottom: .02em; height: .2em; border-radius: 999px; background: var(--sun); opacity: .55; transform: rotate(-2deg); z-index: -1; }
.spin-badge { position: absolute; top: -34px; right: 4%; width: 118px; height: 118px; border-radius: 50%; background: #fff; box-shadow: 0 14px 30px rgba(14,40,64,.14); animation: spin 22s linear infinite; }
.spin-badge text { font: 700 10.5px var(--body); letter-spacing: .215em; fill: var(--ink); }
.spin-badge circle { fill: var(--pink); }
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy .big { background: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: 0 12px 30px rgba(14,40,64,.08); border-left: 5px solid var(--sky); }
.kit li { display: inline-flex; align-items: center; gap: 8px; }
.kit li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kit li:nth-child(odd) { background: #dff3fd; border-color: rgba(43,179,234,.35); color: #075c8c; }
.kit li:nth-child(even) { background: #ffe4f0; border-color: rgba(255,95,162,.35); color: #a3245f; }
.about-bento { position: relative; }
.about-bento::before { content: ""; position: absolute; inset: -30px -26px; z-index: -1; border-radius: 46px; transform: rotate(-2deg);
  background: radial-gradient(rgba(255,255,255,.6) 1.3px, transparent 1.8px) 0 0 / 18px 18px, linear-gradient(135deg, #7fcff4 0%, #a9b8ff 50%, #ff9fc8 100%);
  box-shadow: 0 30px 70px rgba(60,110,190,.22); }
.deco { position: absolute; pointer-events: none; }
.deco-sq { width: 70px; height: 70px; top: -60px; left: -52px; border: 4px solid var(--pink); border-radius: 16px; transform: rotate(16deg); }
.deco-dot { width: 96px; height: 96px; right: -46px; bottom: -54px; border-radius: 50%; background: var(--sun); z-index: -1; }
.deco-plus { width: 34px; height: 34px; left: -64px; top: 46%; background: linear-gradient(var(--sky-deep), var(--sky-deep)) center / 100% 7px no-repeat, linear-gradient(var(--sky-deep), var(--sky-deep)) center / 7px 100% no-repeat; border-radius: 3px; }
.tile { box-shadow: 0 20px 44px rgba(14,40,64,.22); border: 4px solid #fff; }
.tile.tile-stats { background: linear-gradient(135deg, #0e2a44, #1b3a6b 55%, #5b2a63); border-color: rgba(255,255,255,.9); color: #fff; }
.tile-stats strong { background: linear-gradient(90deg, #7fd8ff, #ff9fca); -webkit-background-clip: text; background-clip: text; }
.tile-stats span { color: rgba(255,255,255,.75); }
@media (max-width: 900px) {
  .about-bento::before { inset: -16px -10px; border-radius: 34px; }
  .deco-sq { top: -34px; left: -6px; width: 50px; height: 50px; }
  .deco-dot { right: -10px; bottom: -34px; width: 70px; height: 70px; }
  .deco-plus { display: none; }
  .spin-badge { width: 92px; height: 92px; top: -20px; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .spin-badge { animation: none; } }

/* Podcast + demos: clip and copy side by side over a blurred, tinted wash of the same clip */
.fcard-solo { min-height: 330px; padding: 12px; gap: 16px; color: #fff; isolation: isolate; border-color: rgba(255,255,255,.5); }
.fcard-solo::before { content: ""; position: absolute; inset: -40px; z-index: -2; background: var(--poster) center / cover; filter: blur(30px) saturate(1.5); }
.fcard-solo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(14,26,36,.18), rgba(14,26,36,.48)); }
.fcard-solo .fclip { width: 42%; max-width: 190px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.fcard-solo .fbody { padding: 8px 4px 2px; }
.fcard-solo .fbody p { color: rgba(255,255,255,.9); font-size: .92rem; }
.fcard-solo .flogos li { background: rgba(255,255,255,.88); border-color: transparent; }
@media (max-width: 900px) { .fcard-solo { min-height: 360px; } }

/* Tip-off photo sits beside the stats, which stack 2x2 */
.tile-tipoff { aspect-ratio: 4 / 5; }
.tile-tipoff img { object-position: 60% 50%; }
.tile.tile-stats { grid-column: auto; grid-template-columns: 1fr 1fr; align-content: center; gap: 26px 14px; padding: 26px; }
@media (max-width: 560px) { .tile-tipoff, .tile.tile-stats { grid-column: 1 / -1; } .tile-tipoff { aspect-ratio: 4 / 3; } }

/* Churro cutout under the perks, with a speech bubble */
.churro { position: relative; display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.churro img { height: clamp(200px, 26vh, 270px); width: auto; filter: drop-shadow(0 18px 24px rgba(14,40,64,.2)); transform: rotate(-3deg); transform-origin: bottom center; transition: transform .4s cubic-bezier(.2,.7,.1,1); }
.churro:hover img { transform: rotate(2deg) scale(1.03); }
.bubble { position: relative; align-self: center; margin: 0 0 40px; padding: 12px 18px; border-radius: 20px 20px 20px 6px; background: #fff; font: 700 1rem var(--display); box-shadow: 0 12px 26px rgba(14,40,64,.12); }
.bubble::before { content: ""; position: absolute; left: -9px; bottom: 10px; border: 9px solid transparent; border-right-color: #fff; border-left: 0; }

/* Flex cutout pops out of a gradient disc under the About copy ("in the gym every day") */
.flex-pop { display: flex; align-items: flex-end; gap: 14px; margin-top: 36px; }
.flex-disc { position: relative; flex: none; width: 230px; height: 230px; margin-top: 150px; }
.flex-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 45%), linear-gradient(135deg, var(--sky), #a9b8ff 55%, var(--pink)); box-shadow: 0 24px 50px rgba(60,110,190,.28); }
.flex-disc .clip { position: absolute; inset: 0; clip-path: inset(-400px 0 0 0 round 0 0 115px 115px); }
.flex-disc img { position: absolute; left: 50%; bottom: -4px; height: 330px; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(14,40,64,.25)); }
.flex-tag { margin-bottom: 120px; padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: #fff; font: 700 1rem var(--display); box-shadow: 0 12px 26px rgba(14,40,64,.12); transform: rotate(-4deg); }
.flex-tag small { display: block; font: 600 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
@media (max-width: 560px) { .flex-disc { width: 190px; height: 190px; margin-top: 120px; } .flex-disc .clip { clip-path: inset(-400px 0 0 0 round 0 0 95px 95px); } .flex-disc img { height: 270px; } .flex-tag { margin-bottom: 90px; } }

/* Scroll colour: a fixed wash that changes per section, so the page is never flat white and the glass has something to refract */
:root { --z0: #e3f5fe; --z1: #6fd0f5; --z2: #ffb3d3; --z3: #b9c4ff; }
:root[data-zone="fan"] { --z0: #bfeafd; --z1: #39bdf0; --z2: #ff9fc8; --z3: #9fb0ff; }
:root[data-zone="work"] { --z0: #d5d8ff; --z1: #8f9bff; --z2: #ff9fc8; --z3: #6fd0f5; }
:root[data-zone="formats"] { --z0: #ffd3e6; --z1: #ff86b8; --z2: #ffc46b; --z3: #b39dff; }
:root[data-zone="about"] { --z0: #ffe6bd; --z1: #ffb547; --z2: #ff9fc8; --z3: #7fd8f7; }
:root[data-zone="process"] { --z0: #c5eefb; --z1: #4cc9e8; --z2: #a9b8ff; --z3: #ffb3d3; }
:root[data-zone="contact"] { --z0: #e0d6ff; --z1: #ff9fc8; --z2: #8f9bff; --z3: #6fd0f5; }
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background-color: var(--z0); transition: background-color 1s ease; }
.ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(14,26,36,.09) 1.2px, transparent 1.6px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(115deg, #000, transparent 45%, transparent 60%, #000); mask-image: linear-gradient(115deg, #000, transparent 45%, transparent 60%, #000); }
.ambient span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; transition: background-color 1.1s ease; animation: drift 16s ease-in-out infinite alternate; will-change: transform; }
.ambient span:nth-child(1) { width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax; background-color: var(--z1); }
.ambient span:nth-child(2) { width: 54vmax; height: 54vmax; right: -16vmax; top: 8vh; background-color: var(--z2); animation-delay: -6s; animation-duration: 20s; }
.ambient span:nth-child(3) { width: 46vmax; height: 46vmax; left: 22vw; bottom: -26vmax; background-color: var(--z3); animation-delay: -11s; animation-duration: 24s; }

/* Moving bands between sections */
main { overflow-x: clip; }
.ticker { position: relative; z-index: 1; width: calc(100% + 8vw); margin-left: -4vw; overflow: hidden; padding: 16px 0; transform: rotate(-1.5deg); background: linear-gradient(90deg, var(--sky-deep), #7a5cff 50%, #e0247f); color: #fff; box-shadow: 0 16px 34px rgba(14,40,64,.2); }
.ticker-ink { transform: rotate(1.2deg); background: var(--ink); }
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker-ink .ticker-track { animation-direction: reverse; }
.ticker-track span { display: flex; align-items: center; white-space: nowrap; font: 800 clamp(1.3rem, 2.8vw, 2.1rem) var(--display); letter-spacing: -.01em; }
.ticker-track span::after { content: ""; width: .42em; height: .42em; margin: 0 .9em; border-radius: 50%; background: var(--sun); }
.ticker-ink .ticker-track span::after { background: var(--pink); }
@media (prefers-reduced-motion: reduce) { .ambient span, .ticker-track { animation: none; } }

/* Running views total at the top of the work section: each digit is a 0-9 strip that rolls to --d */
.tally { display: grid; justify-items: center; gap: clamp(10px, 1.6vw, 18px); padding: 0 16px clamp(56px, 8vw, 96px); text-align: center; }
.tally-num { display: flex; font: 800 min(15vw, 9.5rem)/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dg { display: block; width: .6em; height: 1.1em; overflow: hidden; text-align: center; color: color-mix(in oklab, var(--sky-deep), #e0247f calc(var(--t) * 100%)); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.dg span { display: block; transform: translateY(calc(var(--d, 0) * -1.1em)); will-change: transform; }
.dg-comma { width: .28em; color: color-mix(in oklab, var(--sky-deep), #e0247f calc(var(--t) * 100%)); }
.tally-sub { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.tally-sub strong { color: var(--ink); }
.tally-sub i { width: 5px; height: 5px; margin: 0 8px; border-radius: 50%; background: var(--pink); }
@media (max-width: 520px) { .tally-sub { flex-wrap: nowrap; white-space: nowrap; gap: 4px; font-size: .9rem; } .tally-sub i { margin: 0 3px; flex: none; } }
