/* =====================================================================
   MOVERZ STUDIOS — Design System
   Vibrant maximalist · near-black canvas · magenta protagonist
   Type: Clash Display (display) · Satoshi (body) · General Sans (labels)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #08070A;
  --bg-2:      #0E0B14;
  --bg-3:      #15101E;
  --ink:       #F6F2F8;
  --ink-dim:   rgba(246, 242, 248, 0.74);
  --ink-faint: rgba(246, 242, 248, 0.40);
  --line:      rgba(246, 242, 248, 0.12);
  --line-soft: rgba(246, 242, 248, 0.07);

  /* brand */
  --magenta:   #F344D7;   /* sampled from the logo */
  --magenta-2: #FF6BE6;
  --violet:    #7A2FF2;
  --ink-deep:  #160A28;
  --cyan:      #2BE5FF;    /* tension accent — used sparingly */
  --glow:      rgba(243, 68, 215, 0.45);

  /* gradients */
  --grad-hot:  linear-gradient(108deg, var(--magenta) 0%, #C13BF0 42%, var(--violet) 100%);
  --grad-text: linear-gradient(102deg, #FFFFFF 0%, var(--magenta-2) 48%, var(--violet) 110%);
  --grad-edge: linear-gradient(180deg, transparent, rgba(243,68,215,0.5), transparent);

  /* type */
  --font-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --font-hero:    "Anton", "Clash Display", system-ui, sans-serif; /* heavy condensed — big hero/page titles */
  --font-body:    "Satoshi", system-ui, -apple-system, sans-serif;
  --font-mono:    "General Sans", "Satoshi", system-ui, sans-serif; /* label/eyebrow/UI grotesque (was Space Mono) */

  /* layout */
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --maxw:   1960px;
  --radius: 18px;

  /* motion — three curves, five-rung duration ladder (one motion language) */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);   /* ~90% of motion: reveals, hovers, fills */
  --ease-io:     cubic-bezier(0.65, 0, 0.35, 1);  /* ONLY full-surface travel: covers, menu, lightbox */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* ONLY <=0.4s user-triggered micro states */
  --t-micro:  0.18s;  /* arrows, ticks, cursor, hover color */
  --t-fast:   0.4s;   /* hover transforms, nav */
  --t-med:    0.7s;   /* fills, border reveals, hero fades */
  --t-slow:   1.05s;  /* content line reveals */
  --t-cine:   1.8s;   /* image settle 1.18 -> 1 */

  /* depth — tinted ~270deg shadows + luminance hairline, never flat-black borders */
  --shadow-2: 0 12px 40px -24px rgba(122,47,242,.5), 0 2px 6px -4px rgba(8,7,10,.55);
  --shadow-4: 0 28px 80px -32px rgba(180,40,200,.55), 0 10px 28px -12px rgba(8,7,10,.7);
  --hairline: inset 0 1px 0 rgba(246,242,248,.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* fluid root: ~17.6px on a laptop, scaling up to 21px on large/4K screens so type + rem spacing grow with the viewport instead of stranding content in the middle */
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; font-size: clamp(17.5px, 0.6vw + 9px, 21px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--magenta); color: #08070A; }

/* refined slim scrollbar — quieted to a brand whisper */
html { scrollbar-width: thin; scrollbar-color: rgba(243,68,215,0.22) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(243,68,215,0.18); border-radius: 999px; border: 3px solid var(--bg); transition: background .3s; }
::-webkit-scrollbar-thumb:hover { background: rgba(243,68,215,0.4); }

/* hairline scroll-progress bar (JS-driven scaleX) */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: left; z-index: 1100; pointer-events: none; box-shadow: 0 0 10px -1px var(--glow); }

/* keyboard focus — always visible, even though the custom cursor hides the pointer */
:focus-visible { outline: 2px solid var(--magenta-2); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tile:focus-visible { outline: 3px solid var(--magenta-2); outline-offset: 4px; }
.nav__links a:focus-visible, .filterbar button:focus-visible, .menu__list a:focus-visible { outline: 2px solid var(--magenta-2); outline-offset: 5px; }

/* fieldset reset (used for grouped form options) */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* hide native cursor only when our custom one is active + fine pointer */
@media (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none; }
  html.has-cursor input, html.has-cursor textarea { cursor: text; }
}

/* ---------- Atmosphere: glow pools + grain ---------- */
.bg-field {
  position: fixed; inset: -3%; z-index: -2; pointer-events: none; will-change: transform;
  background:
    radial-gradient(60vw 60vw at 12% 8%,  rgba(243,68,215,0.20), transparent 60%),
    radial-gradient(55vw 55vw at 92% 22%, rgba(122,47,242,0.18), transparent 62%),
    radial-gradient(70vw 70vw at 70% 100%, rgba(243,68,215,0.10), transparent 60%),
    var(--bg);
}
html.anim .bg-field { animation: bg-drift 26s var(--ease-io) infinite alternate; } /* sub-perceptual atmosphere drift */
@keyframes bg-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%, 1.6%, 0) scale(1.05); } }
.grain {
  position: fixed; inset: -50%; z-index: 9990; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  will-change: transform;
  animation: grain-shift 12s steps(8) infinite;
}
@keyframes grain-shift {
  0%{transform:translate(0,0)} 16%{transform:translate(-4%,2%)} 33%{transform:translate(3%,-3%)}
  50%{transform:translate(-2%,4%)} 66%{transform:translate(4%,1%)} 83%{transform:translate(-3%,-2%)} 100%{transform:translate(0,0)}
}

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 0.92; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 9vw, 9.5rem); font-weight: 600; }
h2 { font-size: clamp(2.2rem, 6vw, 5.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; }

.mono {
  font-family: var(--font-mono); font-weight: 600; font-size: clamp(0.82rem, 0.8vw, 0.92rem);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--magenta-2);
}
.eyebrow::before { content: "✦"; display: inline-block; color: var(--magenta); font-size: 1.05em; line-height: 1; vertical-align: -0.04em; }

.lead { font-size: clamp(1.2rem, 1.65vw, 1.7rem); line-height: 1.55; color: var(--ink-dim); font-weight: 400; }
.text-grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.outline {
  color: transparent; -webkit-text-stroke: 1.4px var(--magenta);
}
em.hl { font-style: normal; color: var(--magenta-2); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(6.5rem, 14vh, 13rem); position: relative; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.4rem, 3.2vw, 2.8rem); }
.divider { height: 1px; background: var(--line-soft); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 1.05em; --pad-x: 1.9em;
  position: relative; display: inline-flex; align-items: center; gap: 0.7em;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 100px; overflow: hidden; isolation: isolate;
  transition: color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  will-change: transform;
}
.btn span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.6em; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  transition: transform 0.4s var(--ease-out);
}
.btn .arr { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arr { transform: translate(5px, -4px); }

.btn--primary { color: #0A0710; }
.btn--primary::before { background: var(--magenta); }
.btn--primary:hover { color: #0A0710; }
.btn--primary::after {
  content:""; position:absolute; inset:0; z-index:0; border-radius:inherit;
  box-shadow: 0 0 0 0 var(--glow); transition: box-shadow .5s var(--ease-out);
}
.btn--primary:hover::after { box-shadow: 0 8px 28px -12px var(--glow); }

.btn--ghost { color: var(--ink); border: 1px solid var(--line); }
.btn--ghost::before { background: var(--ink); transform: translateY(101%); }
.btn--ghost:hover { color: #0A0710; }
.btn--ghost:hover::before { transform: translateY(0); }

/* ---------- Cursor — dual-layer: 1:1 arrow + lagging ring + contextual label ---------- */
.cur { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; will-change: transform; transition: opacity .25s; }
.cur svg { display: block; width: 20px; height: 24px; filter: drop-shadow(0 1px 3px rgba(243,68,215,0.4)); }
.cur.is-text, .cur.is-hidden { opacity: 0; }
.cur__label {
  position: absolute; left: 22px; top: 50%;
  transform: translateY(-50%) translateX(-4px) scale(.9);
  font-family: var(--font-mono); font-weight: 700; text-transform: uppercase;
  font-size: .62rem; letter-spacing: .14em; color: #0A0710;
  background: var(--magenta); padding: 3px 8px; border-radius: 100px;
  white-space: nowrap; opacity: 0;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
}
.cur.has-label .cur__label { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
/* the ring: position via the `translate` property (JS, per-frame) so CSS `scale` composes without conflict */
.cur-ring {
  position: fixed; top: 0; left: 0; width: 38px; height: 38px;
  border: 1.5px solid var(--magenta); border-radius: 50%;
  pointer-events: none; z-index: 9998; opacity: 0.68;
  transition: scale .4s var(--ease-out), opacity .25s var(--ease-out), background-color .3s var(--ease-out), border-color .3s var(--ease-out);
  will-change: translate, scale;
}
.cur-ring.is-hover { scale: 2.15; opacity: 1; border-color: rgba(243,68,215,.55); }
.cur-ring.is-play  { scale: 2.15; opacity: 1; background: rgba(243,68,215,.92); border-color: transparent; }
.cur-ring.is-down  { scale: .9; transition: scale .09s var(--ease-spring); }
.cur-ring.is-text, .cur-ring.is-hidden { opacity: 0; }

/* keyboard parity — the action label reaches focus users (the cursor can't follow focus) */
[data-cursor-label] { position: relative; }
[data-cursor-label]::after {
  content: attr(data-cursor-label); position: absolute; left: 50%; top: 12px;
  transform: translate(-50%, -6px);
  font-family: var(--font-mono); font-weight: 700; text-transform: uppercase;
  font-size: .62rem; letter-spacing: .14em; color: #0A0710; background: var(--magenta);
  padding: 3px 8px; border-radius: 100px; white-space: nowrap;
  opacity: 0; pointer-events: none; z-index: 6;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
}
[data-cursor-label]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.btn[data-cursor-label]::after { content: none; } /* buttons clip the pill + already show a focus outline */

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.6rem) var(--gutter);
  transition: transform .5s var(--ease-out), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,7,10,0.6); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; z-index: 1002; }
.nav__brand img { width: 50px; height: 50px; }
.nav__brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav__brand .wordmark b { color: var(--magenta); font-weight: 600; display: inline-block; transition: transform var(--t-fast) var(--ease-spring); }
.nav__brand:hover .wordmark b, .nav__brand:focus-visible .wordmark b { transform: scale(1.55) translateY(-1px); }

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.4rem); }
.nav__links a { position: relative; font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); transition: color var(--t-micro) var(--ease-out); padding: 0.4em 0; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background:var(--magenta); transform:scaleX(0); transform-origin:right; transition:transform var(--t-fast) var(--ease-out); }
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current="page"]::after { transform:scaleX(1); transform-origin:left; }
.nav__right { display: flex; align-items: center; gap: 1.4rem; z-index: 1002; }
.status { display:inline-flex; align-items:center; gap:0.5em; font-family:var(--font-mono); font-weight:700; font-size:0.74rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-dim); }
.status .dot { width:8px; height:8px; border-radius:50%; background:var(--magenta); box-shadow:0 0 0 0 var(--glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(243,68,215,.6)} 70%{box-shadow:0 0 0 9px rgba(243,68,215,0)} 100%{box-shadow:0 0 0 0 rgba(243,68,215,0)} }

.nav__cta { display: inline-flex; --pad-y: 0.78em; --pad-x: 1.35em; font-size: 0.7rem; letter-spacing: 0.12em; }
.menu-btn { display: none; }

/* fullscreen overlay menu (mobile / small) */
.menu {
  position: fixed; inset: 0; z-index: 1001; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); pointer-events: none;
  transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__list a { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 5rem); font-weight: 600; line-height: 1.05; display: block; padding: 0.1em 0; color: var(--ink); position: relative; }
.menu__list a .idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--magenta); vertical-align: super; margin-right: 0.6rem; -webkit-text-stroke: 0; }
.menu__list a:hover { color: var(--magenta-2); padding-left: 0.3em; transition: padding .4s var(--ease-out), color .3s; }
.menu__foot { margin-top: auto; padding-top: 2rem; display:flex; flex-wrap:wrap; gap:1.5rem; justify-content:space-between; border-top:1px solid var(--line-soft); }

/* ===================================================================
   PAGE TRANSITION
   =================================================================== */
.transition {
  position: fixed; inset: 0; z-index: 9995; pointer-events: none;
  background: var(--grad-hot);
  clip-path: inset(0 0 100% 0); /* hidden (retracted up) by default — no-JS safe */
  display: flex; align-items: center; justify-content: center;
}
html.js .transition { animation: page-reveal 0.9s var(--ease-io) forwards; }
.transition.cover { animation: page-cover 0.5s var(--ease-io) forwards; }
@keyframes page-reveal { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes page-cover  { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.transition .t-mark { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem,8vw,5rem); color:#0A0710; opacity:0; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media::after { content:""; position:absolute; inset:0; background:
  linear-gradient(180deg, rgba(8,7,10,0.52) 0%, rgba(8,7,10,0.12) 40%, rgba(8,7,10,0.9) 100%),
  linear-gradient(90deg, rgba(8,7,10,0.4), transparent 48%); }
.hero__media img, .hero__media video { width: 100%; height: 120%; object-fit: cover; will-change: transform; opacity:0.88; }

/* top-left headline */
.hero__top { position: absolute; top: clamp(5.5rem, 13vh, 9.5rem); left: var(--gutter); right: var(--gutter); z-index: 2; }
.hero__title { font-family: var(--font-hero); font-weight: 400; font-size: clamp(3.4rem, 13vw, 10.5rem); line-height: 0.9; letter-spacing: 0.005em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.02em; }
.hero__title .line > span { display: block; will-change: transform; }
.hero__title .type-line, .phead__title .type-line { white-space: nowrap; } /* a half-typed phrase must never wrap */
.hero__title .dot, .phead__title .dot { font-style: normal; color: var(--magenta); }
.hero__title .caret, .phead__title .caret { display: none; width: 0.07em; height: 0.66em; margin-left: 0.07em; background: var(--magenta); vertical-align: -0.02em; } /* no box-shadow: the .line reveal mask clips it anyway; height/align kept inside the mask */
.hero__title .caret.is-on, .phead__title .caret.is-on { display: inline-block; }
.hero__title .caret.is-blink, .phead__title .caret.is-blink { animation: caretBlink 1.1s steps(1, end) infinite; }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* bottom row: CTA left, description right */
.hero__bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(6.5rem, 12vh, 9rem); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
.hero__bl { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3rem; }
.hero__reel { display: inline-flex; align-items: center; gap: 0.7em; font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--ink); }
.hero__reel-ic { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--magenta); display: inline-flex; align-items: center; justify-content: center; color: var(--magenta); font-size: 0.62em; padding-left: 2px; transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.hero__reel:hover .hero__reel-ic { background: var(--magenta); color: #0A0710; }
.hero__desc { max-width: 48ch; text-align: right; font-size: clamp(1.05rem, 1.25vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.hero__desc strong { font-weight: 700; }
.hero__desc-b { display: block; margin-top: 1rem; color: var(--ink-dim); }

/* center video scrubber */
.hero__scrub { position: absolute; bottom: clamp(1.4rem, 3.5vh, 2.6rem); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 0.9rem; width: min(36vw, 380px); }
.hero__pp { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0; transition: border-color .3s, color .3s; }
.hero__pp { transition: border-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.hero__pp:hover { border-color: var(--magenta); color: var(--magenta); }
.hero__pp:active { transform: scale(0.94); transition: transform .08s var(--ease-spring); }
.hero__pp svg { fill: currentColor; }
.hero__bar { flex: 1; height: 2px; background: rgba(246,242,248,0.22); border-radius: 2px; overflow: hidden; cursor: pointer; }
.hero__bar i { display: block; height: 100%; width: 0; background: var(--magenta); }
.hero__time { flex-shrink: 0; }

@media (max-width: 860px) {
  .hero__title { font-size: clamp(2rem, 11.5vw, 4.4rem); }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 1.6rem; bottom: clamp(3rem, 8vh, 5rem); }
  .hero__desc { text-align: left; max-width: 100%; }
  .hero__scrub { display: none; }
}

/* ===================================================================
   MARQUEE
   =================================================================== */
.marquee { position: relative; overflow: hidden; padding-block: clamp(1.2rem, 3vw, 2.6rem); border-block: 1px solid var(--line-soft); display:flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee--lg { border: 0; padding-block: clamp(1.2rem, 2.2vw, 2rem); margin-top: clamp(1rem, 4vh, 3.5rem); opacity: 0.92; }
.marquee__track { display: flex; flex-shrink: 0; gap: 0; white-space: nowrap; will-change: transform; }
.marquee__track > span { display:inline-flex; align-items:center; }
.marquee__track .item {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--ink-dim);
  font-size: clamp(1.45rem, 4vw, 3.1rem); padding: 0 clamp(1.4rem,3vw,3rem); display:inline-flex; align-items:center; gap: clamp(1.4rem,3vw,3rem);
}
.marquee__track .item .star { color: var(--magenta); font-size: 0.34em; transform: translateY(-0.05em); }

/* ===================================================================
   CLIENT LOGO WALL
   =================================================================== */
.logo-marquee { overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee .marquee__track { display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; will-change: transform; }
.logo { display: inline-flex; align-items: center; justify-content: center; padding: 0 clamp(2rem, 4vw, 4.5rem); flex-shrink: 0; }
.logo img { height: clamp(32px, 3.8vw, 48px); width: auto; max-width: 200px; object-fit: contain; opacity: 0.55; transition: opacity var(--t-fast) var(--ease-out), filter var(--t-fast) var(--ease-out); }
.logo:hover img { opacity: 1; filter: drop-shadow(0 0 18px var(--glow)); } /* magenta bloom on the brand you're reading */

/* ===================================================================
   MANIFESTO / PHILOSOPHY
   =================================================================== */
.manifesto { position: relative; }
.manifesto__big {
  font-family: var(--font-display); font-weight: 500; line-height: 1.04;
  font-size: clamp(1.8rem, 4.4vw, 4rem); letter-spacing: -0.02em; max-width: 18ch;
}
.manifesto__big .word { display: inline-block; transition: opacity .25s var(--ease-out); will-change: opacity; }
.manifesto__big .word.lit .hl { text-shadow: 0 0 34px var(--glow); } /* magenta reserved for the single 'cool.' payoff */
/* dim the words ONLY when the motion engine is live to light them — no-JS / reduced-motion read at full opacity */
html.anim .manifesto__big .word { opacity: 0.16; }
html.anim .manifesto__big .word.lit { opacity: 1; }
.manifesto__aside { font-family: var(--font-body); font-size: clamp(1.02rem, 1.05vw, 1.14rem); line-height: 1.75; color: var(--ink-dim); letter-spacing: 0; max-width: 34ch; }
.manifesto__aside p + p { margin-top: 1.8rem; }
.manifesto__aside .q { font-family: var(--font-mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta-2); display:block; margin-bottom: 0.8rem; }

/* ===================================================================
   SERVICES — "What We Offer"
   =================================================================== */
.svc { display: grid; grid-template-columns: 1fr; }
.svc__row {
  display: grid; grid-template-columns: auto 2fr 1.4fr auto; gap: 2.2rem; align-items: center;
  padding: clamp(2.1rem, 4vw, 3.2rem) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden;
}
.svc__row:last-child { border-bottom: 1px solid var(--line); }
.svc__row { color: var(--ink); transition: color var(--t-fast) var(--ease-out); }
.svc__row::before { content:""; position:absolute; inset:0; background: var(--grad-hot); transform: translateY(101%); transition: transform .55s var(--ease-out); z-index:-1; }
.svc__row:hover::before, .svc__row:focus-visible::before { transform: translateY(0); }
.svc__row:hover, .svc__row:focus-visible,
.svc__row:hover .svc__name, .svc__row:focus-visible .svc__name,
.svc__row:hover .svc__desc, .svc__row:focus-visible .svc__desc { color: #0A0710; }
.svc__row:hover .svc__num, .svc__row:focus-visible .svc__num { color: transparent; -webkit-text-stroke-color: #0A0710; }
.svc__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -0.01em; -webkit-text-stroke: 1.5px var(--magenta); color: transparent; min-width: 1.6em; transition: -webkit-text-stroke-color var(--t-fast) var(--ease-out); }
.svc__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.8rem); letter-spacing: -0.02em; transition: color var(--t-fast) var(--ease-out), transform var(--t-med) var(--ease-out); }
.svc__row:hover .svc__name, .svc__row:focus-visible .svc__name { transform: translateX(10px); }
.svc__desc { color: var(--ink-dim); font-size: 0.98rem; transition: color var(--t-fast) var(--ease-out); }
.svc__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display:flex; align-items:center; justify-content:center; transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-med) var(--ease-out); flex-shrink:0; }
.svc__row:hover .svc__icon, .svc__row:focus-visible .svc__icon { border-color: #0A0710; transform: rotate(45deg); }
.svc__icon svg { width: 16px; height: 16px; }

/* capability chips */
.caps { display: flex; flex-wrap: wrap; gap: 1rem; }
.cap { font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.75em 1.4em; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-dim); transition: all .35s var(--ease-out); }
.cap:hover { border-color: var(--magenta); color: var(--ink); background: rgba(243,68,215,0.08); }

/* ===================================================================
   WORK GRID
   =================================================================== */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.6rem, 3.2vw, 2.8rem); }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-2), var(--hairline); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-4), var(--hairline); }
.tile--feat { grid-column: span 12; }
.tile--half { grid-column: span 6; }
.tile--third { grid-column: span 4; }
.tile--two3 { grid-column: span 8; }
.tile__media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.tile--feat .tile__media { aspect-ratio: 21/9; }
.tile--third .tile__media { aspect-ratio: 4/5; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .6s; will-change: transform; transform: scale(1.02); }
.tile:hover .tile__media img { transform: scale(1.08); }
.tile__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 35%, rgba(8,7,10,0.85) 100%); transition: opacity .5s; }
.tile__play {
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%) scale(0.8); z-index:3;
  width: 86px; height:86px; border-radius:50%; background: rgba(243,68,215,0.92); display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); backdrop-filter: blur(2px);
}
.tile:hover .tile__play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.tile__play svg { width: 26px; height: 26px; fill: #0A0710; margin-left: 3px; }
.tile__body { position: absolute; left: 0; bottom: 0; width: 100%; padding: clamp(1.6rem,3vw,2.4rem); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.tile__cat { font-family: var(--font-mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta-2); margin-bottom: 0.6rem; display:block; }
.tile__client { font-family: var(--font-mono); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.tile__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; margin-top: 0.2rem; }
.tile__title .arr { display:inline-block; transition: transform .4s var(--ease-out); color: var(--magenta); }
.tile:hover .tile__title .arr { transform: translate(6px,-6px); }
.tile__desc { color: var(--ink-dim); font-size: 0.95rem; max-width: 46ch; margin-top: 0.8rem; opacity:0; max-height:0; overflow:hidden; transition: opacity .5s, max-height .6s var(--ease-out), margin .4s; }
.tile--feat:hover .tile__desc, .tile--two3:hover .tile__desc,
.tile--orig:hover .tile__desc, .tile--orig:focus-visible .tile__desc { opacity: 1; max-height: 200px; }

/* filter bar */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.filterbar button { font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.8em 1.5em; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-dim); transition: all .35s var(--ease-out); }
.filterbar button:hover { border-color: var(--ink-faint); color: var(--ink); }
.filterbar button.is-on { background: var(--magenta); border-color: var(--magenta); color: #0A0710; }
.tile.is-hidden { display: none; }
.tile__tag { position: absolute; top: 1rem; right: 1rem; z-index: 3; font-family: var(--font-mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.5em 0.9em; border-radius: 100px; background: rgba(8,7,10,0.5); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--ink-dim); }

/* ===================================================================
   SHOWCASE STRIP (horizontal scroll gallery)
   =================================================================== */
.strip { overflow: hidden; }
.strip__track { display: flex; gap: clamp(1rem,2vw,1.8rem); will-change: transform; padding-inline: var(--gutter); }
.strip__item { flex: 0 0 clamp(280px, 40vw, 560px); border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/10; }
.strip__item img { width:100%; height:100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.strip__item:hover img { transform: scale(1.06); }
.strip__item figcaption { position:absolute; left:0; bottom:0; padding: 1.4rem; font-family: var(--font-mono); font-weight:700; font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; z-index:2; }
.strip__item::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 50%,rgba(8,7,10,.8)); }

/* ===================================================================
   STATS
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem,4vw,3rem); align-items: end; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num .text-grad { display:inline; }
.stat__num--disc { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.04; letter-spacing: -0.01em; }
.stat__label { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-top: 0.9rem; }

/* ===================================================================
   TEAM
   =================================================================== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }
.member { position: relative; }
.member__photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--bg-3); box-shadow: var(--shadow-2), var(--hairline); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.member:hover .member__photo, .member:focus-within .member__photo { transform: translateY(-4px); box-shadow: var(--shadow-4), var(--hairline); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease-out), transform .8s var(--ease-out); }
.member:hover .member__photo img, .member:focus-within .member__photo img { filter: grayscale(0); transform: scale(1.05); }
.member__photo::after { content:""; position:absolute; inset:0; background: var(--grad-hot); mix-blend-mode: color; opacity:0.2; transition: opacity .5s; }
.member:hover .member__photo::after { opacity: 0; }
.member__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-top: 1rem; }
.member__role { font-family: var(--font-mono); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta-2); margin-top: 0.4rem; }
.member__bio { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.8rem; line-height: 1.65; }

.advisors { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.4rem,3vw,2.4rem); }
.advisor { display:flex; gap: 1.4rem; align-items:flex-start; padding: 1.8rem; border:1px solid var(--line-soft); border-radius: var(--radius); background: rgba(246,242,248,0.015); box-shadow: var(--shadow-2), var(--hairline); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.advisor:hover, .advisor:focus-within { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-4), var(--hairline); }
.advisor img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink:0; filter: grayscale(1); transition: filter .5s var(--ease-out); }
.advisor:hover img, .advisor:focus-within img { filter: grayscale(0); }
.advisor__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.advisor__note { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.5rem; line-height:1.7; }

/* ===================================================================
   PROCESS / STEPS
   =================================================================== */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,4vw,4rem); padding: clamp(2.6rem,5vw,3.8rem) 0; border-top: 1px solid var(--line); align-items: start; }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem,6vw,5rem); line-height:1; -webkit-text-stroke: 1.5px var(--magenta); color: transparent; }
.step__t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,3vw,2.6rem); letter-spacing:-0.02em; }
.step__d { color: var(--ink-dim); margin-top: 0.8rem; max-width: 52ch; }

/* ===================================================================
   CTA BLOCK + FOOTER
   =================================================================== */
.cta { text-align: center; position: relative; }
.cta::before { content:""; position:absolute; left:50%; top:42%; transform:translate(-50%,-50%); width:min(70vw,820px); height:min(60vh,520px); background: radial-gradient(circle, rgba(243,68,215,0.12), transparent 68%); pointer-events:none; z-index:-1; }
.cta__big { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 12vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; }
.cta__sub { margin: 1.6rem auto 2.6rem; max-width: 40ch; }

.footer { border-top: 1px solid var(--line); padding-block: clamp(4rem,8vw,6rem) 2.5rem; position: relative; background: linear-gradient(180deg, rgba(243,68,215,0.045), transparent 42%); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); }
.footer h4 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.3rem; font-weight:700; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul li a, .footer__contact a { color: var(--ink-dim); transition: color var(--t-micro) var(--ease-out), transform var(--t-fast) var(--ease-out); font-size: 0.95rem; display: inline-block; }
.footer ul li a:hover, .footer ul li a:focus-visible, .footer__contact a:hover, .footer__contact a:focus-visible { color: var(--magenta-2); }
.footer__contact a:hover, .footer__contact a:focus-visible { transform: translateX(4px); } /* social links lean toward their arrow */
.footer__brand p { color: var(--ink-dim); max-width: 32ch; margin-top: 1rem; font-size: 0.95rem; }
.footer__email { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem,3vw,2.2rem); color: var(--ink) !important; letter-spacing:-0.02em; position: relative; display: inline-block; }
.footer__email::after { content:""; position:absolute; left:0; bottom:-3px; width:100%; height:2px; background:var(--magenta); transform:scaleX(0); transform-origin:right; transition: transform var(--t-med) var(--ease-out); }
.footer__email:hover::after, .footer__email:focus-visible::after { transform:scaleX(1); transform-origin:left; }
.footer__bottom { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center; margin-top: clamp(2.5rem,6vw,4rem); padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.footer__bottom .mono { font-size: 0.76rem; }

/* ===================================================================
   LIGHTBOX
   =================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 9994; background: rgba(5,4,8,0.92); backdrop-filter: blur(12px); display:flex; align-items:center; justify-content:center; padding: var(--gutter); opacity:0; pointer-events:none; transition: opacity .45s var(--ease-out); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__frame { width: min(1100px, 92vw); aspect-ratio: 16/9; border-radius: var(--radius); overflow:hidden; background:#000; transform: scale(0.95); transition: transform .5s var(--ease-out); box-shadow: 0 40px 120px -20px rgba(243,68,215,0.4); }
.lightbox.is-open .lightbox__frame { transform: scale(1); }
.lightbox__frame iframe { width:100%; height:100%; border:0; }
.lightbox__close { position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); width:54px; height:54px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--ink); transition: all .35s; font-family:var(--font-mono); }
.lightbox__close:hover { background: var(--magenta); color:#0A0710; border-color: var(--magenta); transform: rotate(90deg); }

/* ===================================================================
   FORM — Start Your Project (multi-step)
   =================================================================== */
.form-wrap { max-width: 860px; margin-inline: auto; }
.form-progress { display: flex; gap: 0.6rem; margin-bottom: 3rem; }
.form-progress__seg { flex: 1; }
.form-progress__bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.form-progress__bar i { display:block; height:100%; width:100%; background: var(--grad-hot); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.form-progress__seg.done .form-progress__bar i, .form-progress__seg.active .form-progress__bar i { transform: scaleX(1); }
.form-progress__lbl { font-family: var(--font-mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.7rem; transition: color .4s; }
.form-progress__seg.active .form-progress__lbl, .form-progress__seg.done .form-progress__lbl { color: var(--ink); }

.fstep { display: none; }
.fstep.is-active { display: block; }
/* CSS entrance only when GSAP is NOT driving the directional slide (avoids both owning transform) */
html:not(.anim) .fstep.is-active { animation: fstep-in .6s var(--ease-out) both; }
@keyframes fstep-in { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform:none; } }
.fstep__head { margin-bottom: 2.4rem; }
.fstep__ksub { color: var(--ink-dim); margin-top: 1rem; }

.field { margin-bottom: 1.8rem; position: relative; }
.field label { display:block; font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.8rem; }
.field input, .field textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.25rem; color: var(--ink); font-family: var(--font-body); font-size: 1.05rem; transition: border-color .35s, background .35s, box-shadow .35s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--magenta); background: rgba(243,68,215,0.04); box-shadow: 0 0 0 3px rgba(243,68,215,0.28); }
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input { border-color: #ff5470; }
.field__err { color:#ff7a8f; font-family:var(--font-mono); font-weight:700; font-size:0.74rem; letter-spacing:0.04em; margin-top:0.55rem; display:none; }
.field.invalid .field__err { display:block; }

.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.opts-err { color: #ff7a8f; font-family: var(--font-mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.04em; margin-top: 0.9rem; display: none; }
.opts-group + .opts-group { margin-top: 2.4rem; }
.opts-group legend { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; padding: 0; }
.opts-group legend em { color: var(--magenta-2); font-style: normal; }

/* selectable option cards */
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.opt:active .opt__box { transform: scale(0.99); }
.opt__box .tick { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-soft); flex-shrink:0; display:flex; align-items:center; justify-content:center; transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.opt__box .tick svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.4); transition: opacity .18s var(--ease-out), transform .28s var(--ease-spring); fill: none; stroke: #0A0710; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.opt__box .otxt { font-weight: 500; }
.opt:hover .opt__box { border-color: var(--ink-faint); }
.opt input:checked + .opt__box { border-color: var(--magenta); background: rgba(243,68,215,0.08); }
.opt input:checked + .opt__box .tick { background: var(--magenta); border-color: var(--magenta); }
.opt input:checked + .opt__box .tick svg { opacity: 1; transform: scale(1); }
.opt input:focus-visible + .opt__box { box-shadow: 0 0 0 3px rgba(243,68,215,0.3); }

/* budget tiers */
.tiers { display: grid; gap: 0.9rem; }
.tier .opt__box { justify-content: space-between; padding: 1.4rem 1.6rem; }
.tier__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.tier__price { font-family: var(--font-mono); font-weight: 700; font-size: 0.98rem; color: var(--magenta-2); }
.tier__tag { font-size: 0.85rem; color: var(--ink-dim); }
.tier input:checked + .opt__box { color: #0A0710; background: var(--grad-hot); border-color: transparent; } /* solid fill so the dark text reads (was a faint tint = invisible) */
.tier input:checked + .opt__box .tier__tag, .tier input:checked + .opt__box .tier__price { color: #0A0710; }
.tier .opt__box > div:first-child { display:flex; flex-direction:column; gap:0.3rem; }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.6rem; gap: 1rem; }
.form-side { display: grid; gap: 1.1rem; }
.form-side__item { display:flex; gap: 0.9rem; align-items:flex-start; font-size: 0.92rem; color: var(--ink-dim); }
.form-side__item svg { width: 18px; height:18px; flex-shrink:0; margin-top:3px; stroke: var(--magenta); }
.form-success { text-align:center; padding: 3rem 0; display:none; }
.form-success.is-on { display:block; animation: fstep-in .6s var(--ease-out) both; }
.form-success .check { width: 92px; height:92px; border-radius:50%; background: var(--grad-hot); display:flex; align-items:center; justify-content:center; margin: 0 auto 2rem; box-shadow: 0 0 0 0 var(--glow); }
.form-success.is-on .check { animation: checkPop .5s var(--ease-spring) both; }
.form-success .check svg { width: 40px; height:40px; stroke:#0A0710; fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.form-success .check svg path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.form-success.is-on .check svg path { animation: drawCheck .55s var(--ease-out) .25s forwards; }
@keyframes checkPop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* ===================================================================
   PAGE HEADER (interior pages)
   =================================================================== */
.phead { padding-top: clamp(6rem, 11vh, 8rem); padding-bottom: clamp(1.4rem,3vw,2.2rem); position: relative; }
.phead__title { font-family: var(--font-hero); font-size: clamp(3.2rem, 13.5vw, 10rem); line-height: 0.9; font-weight:400; letter-spacing:0.005em; }
.phead__title .line { display:block; overflow:hidden; }
.phead__title .line > span { display:block; }
.phead__sub { max-width: 52ch; margin-top: 1.8rem; }
.phead__meta { display:flex; gap: 2.4rem; flex-wrap:wrap; margin-top: 2.4rem; }

/* interior page header with a full-bleed cinematic image */
.phead--media { min-height: clamp(56vh, 70vh, 78vh); display: flex; align-items: flex-end; padding-top: clamp(7rem, 16vh, 11rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.phead__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.52; filter: grayscale(0.42) contrast(1.0); will-change: transform; }
.phead__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,7,10,0.66) 0%, rgba(8,7,10,0.26) 52%, rgba(8,7,10,0.9) 100%),
  radial-gradient(80vw 60vh at 70% 30%, rgba(243,68,215,0.12), transparent 70%); }

/* reveal base — set ONLY when the motion engine is confirmed active (html.anim)
   so no-JS / failed-CDN / reduced-motion users always see content */
html.anim [data-reveal] { opacity: 0; }
html.anim [data-reveal-lines] .line > span { transform: translateY(110%); }
/* Big hero / page-head titles reveal via a CSS keyframe (not GSAP) so they are
   GUARANTEED to end visible even if the JS motion engine or its RAF ticker stalls. */
html.anim [data-hero-lines] .line > span { animation: heroRise 1.15s var(--ease-out) 0.4s both; }
html.anim [data-hero-lines] .line:nth-child(2) > span { animation-delay: 0.52s; }
@keyframes heroRise { from { transform: translateY(110%); } to { transform: translateY(0); } }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .svc__row { grid-template-columns: auto 1fr auto; }
  .svc__desc { display: none; }
  .tile--third { grid-column: span 6; }
  .tile--two3 { grid-column: span 12; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta, .status { display: none; }
  .menu-btn { display: inline-flex; }
  .work { gap: 1rem; }
  .tile--half, .tile--third, .tile--two3 { grid-column: span 12; }
  .advisors { grid-template-columns: 1fr; }
  .fgrid2, .opts { grid-template-columns: 1fr; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 0.6rem; }
  .svc__row { grid-template-columns: auto 1fr; gap: 1rem; }
  .svc__icon { display: none; }
  .footer__email { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  /* collapse any inline 12-col grid spans + un-stick the form aside on small screens */
  .grid12 > [style*="grid-column"] { grid-column: 1 / -1 !important; }
  [style*="sticky"] { position: static !important; top: auto !important; margin-top: 2.4rem; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .menu__list a { font-size: clamp(2rem, 13vw, 3.4rem); }
}

/* menu button visual */
.menu-btn { width: 46px; height: 46px; border-radius: 50%; border:1px solid var(--line); align-items:center; justify-content:center; flex-direction: column; gap: 5px; z-index:1002; transition: border-color .3s; }
.menu-btn:hover { border-color: var(--magenta); }
.menu-btn span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), opacity .3s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  html.anim [data-reveal] { opacity: 1; }
  html.anim [data-reveal-lines] .line > span,
  html.anim [data-hero-lines] .line > span { transform: none; }
  .hero__media img, .hero__media video { height: 100%; }
}
