/* Momo Visiuals site. Colours, fonts and spacing follow the brand design system (brand/design-system/project/tokens.json),
   with the dashboard's stronger cyan/pink treatment (cyan nav indicator, pink CTAs, soft cyan/pink chips and glows). */
:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-raised: #161616;
  --line: #222626;
  --line-2: #2f3535;
  --ink: #ffffff;
  --ink-muted: #a4adad;
  --ink-faint: #6e7878;
  --cyan: #00ffee;
  --teal: #00a99e;
  --teal-mid: #00d6c9;
  --pink: #ff008c;
  --pink-deep: #b80065;
  --cyan-soft: rgba(0, 255, 238, .12);
  --pink-soft: rgba(255, 0, 140, .14);
  --on-cyan: #001614;
  --glass: rgba(22, 22, 22, .72);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;
  --font-label: Poppins, Inter, "Segoe UI", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 2px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 24px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.faint { color: var(--ink-faint); }
.mv-logo { display: block; width: 100%; height: auto; }

/* ---------- shared type ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 8px; background: var(--cyan-soft); border: 1px solid rgba(0, 255, 238, .35); color: var(--cyan); font: 600 12px/16px var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
.tag b { color: var(--pink); font-weight: 600; }
.tag.dark { background: rgba(0, 0, 0, .12); border-color: rgba(0, 0, 0, .3); color: var(--on-cyan); }
.headline { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 108px); line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.headline .ln { display: block; }
.headline em { font-family: var(--font-accent); font-weight: 400; font-style: italic; font-size: 1.06em; letter-spacing: -.01em; color: var(--cyan); }
.split .word { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; will-change: transform; }
.split .ln { overflow: hidden; padding-bottom: .08em; }
.lede { margin: var(--space-6) 0 0; max-width: 36ch; color: var(--ink-muted); font-size: 17px; line-height: 27px; }
.chip { display: inline-flex; align-items: center; margin: 0; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-muted); font: 500 12px/1 var(--font-body); white-space: nowrap; list-style: none; }
.chip.c { color: var(--cyan); border-color: rgba(0, 255, 238, .35); background: var(--cyan-soft); }
.chip.p { color: var(--pink); border-color: rgba(255, 0, 140, .45); background: var(--pink-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 var(--space-8); border-radius: 999px; border: 1px solid var(--line-2); font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.btn-pink { background: var(--pink); border-color: var(--pink); color: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-pink:hover { box-shadow: 0 0 0 4px var(--pink-soft), 0 0 32px rgba(255, 0, 140, .55); }
  .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.form-note a { color: var(--cyan); text-underline-offset: 3px; }

/* ---------- cursor + progress ---------- */
.cursor { position: fixed; z-index: 100; left: 0; top: 0; pointer-events: none; display: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(0, 255, 238, .6); transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s ease, background-color .25s ease; }
.cursor.hover .cursor-ring { width: 64px; height: 64px; border-color: var(--pink); background: var(--pink-soft); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }
.progress { position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--pink)); box-shadow: 0 0 12px rgba(0, 255, 238, .6); }

/* ---------- intro: logo settles, a line loads, the logo flies into the header as the curtain lifts ---------- */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.intro-bg { position: absolute; inset: 0; background: var(--bg); }
.intro-mark { position: relative; display: grid; justify-items: center; gap: 32px; }
.intro-logo { width: clamp(132px, 15vw, 196px); }
.intro-line { display: block; width: clamp(120px, 12vw, 160px); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.intro-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); transform: scaleX(0); transform-origin: left; }
.intro.gone { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
::selection { background: var(--pink); color: #000; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 30; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4); padding: calc(var(--space-4) + env(safe-area-inset-top, 0px)) var(--gutter) var(--space-4); background: linear-gradient(rgba(0, 0, 0, .85), transparent); }
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 24px/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.brand-logo { width: 54px; flex: none; }
.brand em { font-family: var(--font-accent); font-weight: 400; font-style: italic; font-size: 1.14em; color: var(--cyan); }
.pill-nav { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); }
.pill-nav a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; line-height: 18px; font-weight: 500; text-decoration: none; color: var(--ink-muted); white-space: nowrap; transition: color .25s ease; }
.pill-nav a.on { color: var(--on-cyan); }
.nav-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 18px rgba(0, 255, 238, .45); transition: left .45s var(--ease-out), width .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pill-nav a:not(.on):hover { color: var(--ink); } }
.top-right { justify-self: end; display: flex; align-items: center; gap: var(--space-3); }
.rec { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--font-label); letter-spacing: .08em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.book { display: flex; align-items: center; gap: var(--space-3); padding: 4px 4px 4px var(--space-4); border-radius: 999px; background: var(--pink); color: #000; text-decoration: none; font-size: 13.5px; font-weight: 600; line-height: 20px; }
.book i { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.book i::after { content: ""; width: 0; height: 0; border-left: 8px solid var(--cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }

/* ---------- hero: centred showreel over a projector wall of client work ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 100px var(--gutter) 48px; overflow: hidden; }

/* the wall: columns of client stills on a tilted plane, drifting up and down */
.wall { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.wall-plane { position: absolute; left: 50%; top: 50%; display: flex; gap: 18px; width: max-content; height: 175vh; overflow: hidden; }
.wall-col { width: clamp(104px, 10.5vw, 176px); flex: none; will-change: transform; animation: wallUp var(--dur, 70s) linear infinite; animation-delay: var(--delay, 0s); }
.wall-col.down { animation-name: wallDown; }
.wall-col img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; margin-bottom: 18px; border-radius: 12px; object-fit: cover; background: #0b0d0d; }
.wall.paused .wall-col { animation-play-state: paused; }
/* three copies per column; moving one copy (a third) per loop makes it seamless */
@keyframes wallUp { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -33.3333%, 0); } }
@keyframes wallDown { from { transform: translate3d(0, -33.3333%, 0); } to { transform: translate3d(0, 0, 0); } }
.wall-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .9) 0, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 72%, #000 100%),
    radial-gradient(ellipse 50% 46% at 50% 52%, rgba(0, 0, 0, .78), rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .3) 100%); }

.hero-inner { position: relative; width: 100%; display: grid; justify-items: center; gap: clamp(18px, 2.6vh, 30px); }
.hero-title { margin: 0; text-align: center; font-size: clamp(40px, 5.2vw, 84px); text-shadow: 0 8px 40px rgba(0, 0, 0, .9); }
.hero-title .ln { padding-inline: .04em; }

/* the player */
.reel { --slots: 3; position: relative; margin: 0; width: min(100%, 1080px, max(560px, calc((100svh - 320px) * 27 / 16))); }
.reel-frame { position: relative; aspect-ratio: 27 / 16; border-radius: 18px; overflow: hidden; background: #050505; border: 1px solid rgba(0, 255, 238, .32); box-shadow: 0 40px 90px -10px rgba(0, 0, 0, .85), 0 12px 30px rgba(0, 0, 0, .6); transform-origin: 50% 40%; }
.reel-stage { position: absolute; inset: 0; background: #000; }
.shot { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--slots), minmax(0, 1fr)); }
.shot .slot { position: relative; overflow: hidden; }
.shot .slot + .slot { box-shadow: -1px 0 0 rgba(0, 0, 0, .9); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.solo { display: block; overflow: hidden; }
.shot.solo .fill { inset: -10%; width: 120%; height: 120%; filter: blur(26px) brightness(.42) saturate(1.3); }
.shot.solo .slot { position: absolute; top: 0; bottom: 0; left: 50%; width: calc(100% / var(--slots)); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .7); }
.reel-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }

.reel-top { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 28px; background: linear-gradient(rgba(0, 0, 0, .6), transparent); pointer-events: none; }
.reel-rec { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.reel-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: blink 1.4s steps(2, start) infinite; }
.reel-tc { font: 600 12px/1 var(--font-label); letter-spacing: .08em; color: var(--ink); font-variant-numeric: tabular-nums; }
.reel.paused .reel-rec i { animation: none; background: var(--ink-faint); }

.reel-cap { position: absolute; left: 18px; bottom: 64px; margin: 0; display: grid; gap: 4px; pointer-events: none; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.cap-mask { display: block; overflow: hidden; padding-bottom: .1em; }
.reel-cap b { display: block; font: 700 clamp(18px, 1.9vw, 26px)/1 var(--font-display); letter-spacing: -.02em; }
.reel-cap em { display: block; font: 400 clamp(17px, 1.6vw, 22px)/1.05 var(--font-accent); font-style: italic; color: var(--cyan); }

.reel-bar { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 14px; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.reel-toggle { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(0, 0, 0, .5); color: var(--ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.reel-toggle .i-play { display: none; }
.reel.paused .reel-toggle .i-play { display: block; margin-left: 2px; }
.reel.paused .reel-toggle .i-pause { display: none; }
.chapters { flex: 1; display: flex; gap: 6px; min-width: 0; }
.chap { position: relative; flex: 1; min-width: 0; display: grid; gap: 8px; padding: 6px 0 0; border: 0; background: none; color: var(--ink-muted); font: 600 11px/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; text-align: left; cursor: pointer; transition: color .25s ease; }
.chap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chap::after { content: ""; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.chap i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.chap.done i { transform: scaleX(1); background: rgba(255, 255, 255, .7); }
.chap.on { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .reel-toggle:hover { border-color: var(--cyan); background: rgba(0, 0, 0, .75); }
  .chap:not(.on):hover { color: var(--cyan); }
}

.hero-foot { width: min(100%, 1080px); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6) var(--space-8); }
.hero-foot .lede { margin: 0; max-width: 46ch; font-size: 16px; line-height: 25px; }
.hero-foot .lede::first-line { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-foot .cta-row { flex: none; }

/* ---------- marquees ---------- */
.marquees { position: relative; height: 220px; overflow: hidden; margin: -40px 0 0; }
.mq { position: absolute; left: -5%; width: 110%; overflow: hidden; padding: 14px 0; }
.mq-cyan { top: 40px; background: var(--cyan); color: var(--on-cyan); transform: rotate(-3deg); z-index: 2; box-shadow: 0 0 40px rgba(0, 255, 238, .35); }
.mq-pink { top: 104px; background: var(--pink); color: #000; transform: rotate(2.5deg); }
.mq-track { display: flex; width: max-content; gap: 28px; align-items: center; font: 700 30px/1 var(--font-display); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; will-change: transform; }
.mq-track b { font-size: 20px; }
.mq-cyan .mq-track b { color: var(--pink); }
.mq-pink .mq-track b { color: var(--cyan); }

/* ---------- section heads ---------- */
.sec-head { padding: 0 var(--gutter); }

/* ---------- about (Lando Norris style) ---------- */
.manifesto .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.about { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 50% 70%, #04201e, #000 70%); }
.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.about-mark { position: absolute; left: 50%; top: 86px; width: 64px; transform: translateX(-50%); z-index: 1; }
.about-name { position: absolute; left: 0; right: 0; top: 150px; z-index: 1; margin: 0; text-align: center; font: 400 clamp(56px, 11vw, 190px)/.85 var(--font-accent); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.about-name .an-2 { font-style: italic; color: var(--cyan); }
.about-sub { position: absolute; left: 0; right: 0; top: calc(150px + clamp(56px, 11vw, 190px) * .9); z-index: 3; text-shadow: 0 0 12px #000, 0 0 4px #000; margin: 0; text-align: center; font: 600 12px/1 var(--font-label); letter-spacing: .3em; text-transform: uppercase; color: var(--pink); }
/* centred with auto margins, not translateX(-50%): GSAP's entrance tween used to freeze that -50% into pixels,
   so after a resize (or a load at another width) the photo sat off-centre */
.about-portrait { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin-inline: auto; width: min(64vw, calc(80vh * 1.09), 1000px); aspect-ratio: 1024 / 940; }
.about-portrait canvas, .about-fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.about-fallback { object-fit: contain; object-position: bottom; }
.about-portrait.live .about-fallback { visibility: hidden; }
.about-cards { position: absolute; z-index: 3; left: var(--gutter); bottom: var(--space-8); display: grid; gap: var(--space-2); width: 168px; }
.acard { position: relative; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(13, 13, 13, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.acard .ak { font: 600 11px/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.acard b { font: 700 15px/1.2 var(--font-display); }
.acard .ad { position: absolute; right: 12px; top: 12px; width: 12px; height: 16px; background: var(--pink); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.about-bio { position: absolute; z-index: 3; right: var(--gutter); top: 46%; width: min(300px, 24vw); }
.bio-big { margin: var(--space-4) 0 0; font: 700 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.bio-big em { font-family: var(--font-accent); font-weight: 400; font-style: italic; color: var(--pink); font-size: 1.15em; }
.bio { margin: var(--space-3) 0 0; color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.about-hint { position: absolute; z-index: 3; right: var(--gutter); bottom: var(--space-8); display: flex; align-items: center; gap: 10px; padding: 0 16px 0 0; border: 0; background: none; color: var(--ink-muted); font: 600 11px/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.about-hint svg { width: 52px; height: 52px; padding: 13px; border-radius: 12px; background: var(--pink); color: #000; box-shadow: 0 0 30px rgba(255, 0, 140, .45); }
.about-hint[aria-pressed="true"] svg { background: var(--cyan); color: var(--on-cyan); box-shadow: 0 0 30px rgba(0, 255, 238, .5); }

/* ---------- services ---------- */
.services { padding: 18vh 0 10vh; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); padding: var(--space-12) var(--gutter) 0; perspective: 1200px; }
.card { position: relative; display: grid; align-content: start; gap: var(--space-3); padding: var(--space-6); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); min-width: 0; transform-style: preserve-3d; transition: border-color .3s ease, box-shadow .3s ease; }
.card h3 { margin: var(--space-2) 0 0; font: 700 24px/1.15 var(--font-display); letter-spacing: -.02em; }
.card p:not(.chip) { margin: 0; color: var(--ink-muted); }
.card .chip { justify-self: start; }
.glow { background: radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(0, 255, 238, .09), transparent 70%), var(--surface); }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: rgba(0, 255, 238, .45); box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(0, 255, 238, .1); } }
.card-vis { height: 220px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; position: relative; }
/* short-form: a phone with a hook and captions popping */
.phone { position: relative; width: 104px; height: 186px; border-radius: 16px; border: 2px solid var(--line-2); background: linear-gradient(160deg, #0b1f1e, #000 60%); overflow: hidden; }
.ph-hook { position: absolute; left: 10px; right: 10px; top: 28px; font: 700 15px/1 var(--font-display); color: #fff; animation: hookIn 4s var(--ease-out) infinite; }
.ph-cap { position: absolute; left: 8px; right: 8px; top: 112px; text-align: center; font: 700 11px/1.3 var(--font-display); color: #fff; }
.ph-cap i { font-style: normal; display: inline-block; animation: capPop 4s infinite; }
.ph-cap i:nth-child(2) { animation-delay: .25s; } .ph-cap i:nth-child(3) { animation-delay: .5s; } .ph-cap i:nth-child(4) { animation-delay: .75s; color: var(--cyan); }
.ph-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line-2); }
.ph-bar i { display: block; height: 100%; background: var(--pink); transform-origin: left; animation: barRun 4s linear infinite; }
@keyframes hookIn { 0% { transform: translateY(14px); opacity: 0; } 12%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes capPop { 0%, 20% { transform: scale(.6); opacity: 0; } 28% { transform: scale(1.15); opacity: 1; } 34%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes barRun { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* brand ad: lines slide, product drops, CTA pulses */
.ad-frame { position: relative; width: 78%; height: 150px; border-radius: 10px; border: 1px solid var(--line-2); background: #050505; overflow: hidden; }
.ad-line { position: absolute; left: 14px; height: 10px; border-radius: 3px; background: var(--ink); animation: lineIn 4.5s var(--ease-out) infinite; }
.ad-line.l1 { top: 22px; width: 46%; } .ad-line.l2 { top: 40px; width: 30%; background: var(--pink); animation-delay: .15s; }
.ad-product { position: absolute; right: 18px; top: 22px; width: 56px; height: 76px; border-radius: 8px; background: linear-gradient(160deg, var(--cyan), var(--teal)); animation: prodIn 4.5s var(--ease-out) infinite; }
.ad-cta { position: absolute; left: 14px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--pink); color: #000; font: 600 11px/1 var(--font-body); animation: ctaPulse 4.5s infinite; }
@keyframes lineIn { 0% { transform: translateX(-120%); } 15%, 90% { transform: none; } 100% { transform: translateX(-120%); } }
@keyframes prodIn { 0%, 10% { transform: translateY(-140%) rotate(-10deg); } 25%, 90% { transform: none; } 100% { transform: translateY(-140%); } }
@keyframes ctaPulse { 0%, 35% { transform: scale(0); } 42% { transform: scale(1.12); } 48%, 90% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 140, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 0, 140, 0); } 100% { transform: scale(0); } }
/* YouTube: a player whose scenes cut, with a progress bar running over chapter marks */
.yt { width: min(84%, 280px); display: grid; gap: 8px; }
.yt-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #050505; border: 1px solid var(--line-2); }
.yt-scene { position: absolute; inset: 0; opacity: 0; animation: ytCut 6s steps(1, end) infinite; }
.yt-scene.s1 { background: radial-gradient(circle at 30% 60%, rgba(0, 255, 238, .55), transparent 45%), linear-gradient(160deg, #062a28, #000); }
.yt-scene.s2 { background: radial-gradient(circle at 70% 40%, rgba(255, 0, 140, .55), transparent 45%), linear-gradient(200deg, #2a0618, #000); animation-delay: -4s; }
.yt-scene.s3 { background: linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, .5) 49% 51%, transparent 52%), radial-gradient(circle at 50% 50%, rgba(0, 255, 238, .35), transparent 50%), #000; animation-delay: -2s; }
@keyframes ytCut { 0% { opacity: 1; } 33.33% { opacity: 0; } 100% { opacity: 0; } }
.yt-play { position: absolute; left: 50%; top: 50%; width: 38px; height: 26px; margin: -13px 0 0 -19px; border-radius: 8px; background: var(--pink); box-shadow: 0 0 20px rgba(255, 0, 140, .5); }
.yt-play::after { content: ""; position: absolute; left: 15px; top: 7px; border-left: 11px solid #000; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.yt-bar { position: relative; height: 4px; border-radius: 2px; background: var(--line-2); }
.yt-bar i { position: absolute; inset: 0; border-radius: 2px; background: var(--pink); transform-origin: left; animation: barRun 6s linear infinite; }
.yt-bar b { position: absolute; top: -1px; width: 2px; height: 6px; background: #000; }
.yt-meta { display: flex; gap: 8px; }
.yt-meta span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .7); width: 46%; }
.yt-meta span + span { background: rgba(255, 255, 255, .25); width: 24%; }
.vis-motion canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- process ---------- */
.process { padding: 16vh 0; }
.steps { position: relative; padding: var(--space-12) var(--gutter) 0; }
.steps-line { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--space-12) + 30px); width: calc(100% - 2 * var(--gutter)); height: 20px; overflow: visible; }
.steps-line path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(0, 255, 238, .7)); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); position: relative; }
.step { display: grid; gap: var(--space-2); align-content: start; }
.step .n { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); color: var(--cyan); font: 700 18px/1 var(--font-display); box-shadow: 0 0 20px rgba(0, 255, 238, .25); margin-bottom: var(--space-4); }
.step:nth-child(2) .n, .step:nth-child(4) .n { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 20px rgba(255, 0, 140, .25); }
.step h3 { margin: 0; font: 700 22px/1.15 var(--font-display); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--ink-muted); max-width: 30ch; }

/* ---------- manifesto ---------- */
.manifesto { position: relative; height: 300vh; }
.manifesto .stage { display: grid; place-items: center; padding-inline: var(--gutter); }
.m-shutter { position: absolute; width: min(90vw, 900px); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .12; }
.words { position: relative; margin: 0; max-width: 21em; text-align: center; font-family: var(--font-body); font-size: clamp(22px, 2.8vw, 42px); line-height: 1.3; letter-spacing: -.01em; }
.words .w { display: inline-block; will-change: transform, opacity, filter; }
.words mark { background: none; color: var(--pink); }
.words em { font-family: var(--font-accent); font-style: italic; color: var(--cyan); font-size: 1.15em; }

/* ---------- contact ---------- */
.contact { position: relative; padding: 16vh var(--gutter); background: var(--cyan); color: var(--on-cyan); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 0, 140, .35), transparent 65%); filter: blur(40px); }
.contact-inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.contact .headline em { color: var(--bg); }
.contact-lede { margin: var(--space-6) 0 0; font-size: 18px; line-height: 28px; max-width: 32ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-6); padding: var(--space-8); border-radius: 24px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 40, 38, .35); }
.form label { display: grid; gap: var(--space-2); font: 500 11px/1.4 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); min-width: 0; }
.form .wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; font: 400 16px/24px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-2); border-radius: 10px; padding: var(--space-3) var(--space-4); transition: border-color .2s ease, box-shadow .2s ease; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); outline: none; }
.form-row { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.form-note { margin: 0; color: var(--ink-muted); font-size: 13px; }

/* ---------- footer ---------- */
.foot { padding: var(--space-16) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.giant { margin: 0; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; font: 700 clamp(36px, 10.5vw, 200px)/.9 var(--font-display); letter-spacing: -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 255, 238, .55); }
.giant span { display: inline-block; transition: color .3s ease, -webkit-text-stroke-color .3s ease; }
.giant .sp { width: .3em; }
.giant .d { display: inline-block; width: .55em; height: .72em; margin: 0 .04em; background: linear-gradient(90deg, var(--pink) 50%, var(--pink-deep) 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (hover: hover) and (pointer: fine) { .giant span:hover { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); } }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-12); color: var(--ink-faint); font-size: 12px; }
.foot-row p { margin: 0; }
.foot-logo { width: 72px; }
.totop { color: var(--cyan); text-decoration: none; font-weight: 600; }

@media (max-width: 1300px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto; }
  .pill-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); top: auto; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; box-shadow: 0 10px 40px rgba(0, 0, 0, .7); }
  .pill-nav a { padding: 8px 12px; font-size: 13px; }
  .rec { display: none; }
  .hero { padding: 92px var(--gutter) 40px; place-items: start center; }
  .hero-inner { gap: 20px; }
  .hero-title { font-size: clamp(38px, 10.4vw, 64px); }
  /* two stills side by side on a phone: the frame is exactly 2 × 9:16 */
  .reel { --slots: 2; width: 100%; max-width: 520px; }
  .reel-frame { aspect-ratio: 18 / 16; border-radius: 14px; }
  .reel-top { padding: 12px 14px 24px; }
  /* one line, low, so it stays under the subtitles burned into the client videos */
  .reel-cap { left: 14px; bottom: 50px; display: flex; align-items: baseline; gap: 8px; }
  .reel-cap b { font-size: 16px; }
  .reel-cap em { font-size: 17px; }
  .reel-bar { gap: 10px; padding: 30px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85) 60%); }
  .chap { font-size: 11px; letter-spacing: 0; text-transform: none; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 20px; max-width: 520px; }
  .hero-foot .lede { max-width: none; font-size: 15px; line-height: 24px; }
  .hero-foot .cta-row .btn { flex: 1; padding: 0 var(--space-4); }
  .wall-col { width: 96px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-logo { width: 40px; }
  .about { height: auto; min-height: 0; padding: 72px var(--gutter) var(--space-8); display: flex; flex-direction: column; }
  .about-mark { position: relative; left: auto; top: auto; transform: none; align-self: center; }
  .about-name, .about-sub { position: relative; top: auto; }
  .about-name { font-size: clamp(44px, 15vw, 90px); margin-top: var(--space-3); white-space: normal; line-height: .9; }
  .about-name span { display: block; }
  .about-sub { margin-top: var(--space-3); }
  .about-portrait { position: relative; left: auto; right: auto; width: 112%; margin: -10px -6% 0; }
  .about-cards { position: relative; left: auto; bottom: auto; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-4); order: 3; }
  .acard b { font-size: 12.5px; }
  .about-bio { position: relative; right: auto; bottom: auto; width: auto; margin-top: var(--space-6); order: 4; }
  .about-hint { position: relative; right: auto; bottom: auto; order: 2; align-self: center; margin-top: var(--space-3); }
  .cards { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; row-gap: var(--space-8); }
  .steps-line { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: var(--space-6); }
  .foot-row { flex-direction: column; text-align: center; padding-bottom: 64px; }
  .mq-track { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .rec i, .reel-rec i, .wall-col, .ph-hook, .ph-cap i, .ph-bar i, .ad-line, .ad-product, .ad-cta, .yt-scene, .yt-bar i { animation: none !important; }
  .yt-scene.s1 { opacity: 1; }
  .manifesto { height: auto; }
  .manifesto .stage { position: relative; height: auto; min-height: 100vh; }
}
