/* =====================================================================
   RUSHOZDEVS — style.css
   Tokens → reset → type → global UI → sections → responsive → reduced motion
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --void:       #07060B;
  --obsidian:   #0E0B16;
  --plum-night: #161123;
  --line:       rgba(196, 181, 253, 0.12);

  --violet:     #7C5CFF;
  --violet-hot: #9B82FF;
  --lavender:   #C4B5FD;
  --glow:       rgba(124, 92, 255, 0.35);

  --bone:  #F3F0F9;
  --mist:  #9C95AE;
  --smoke: #5E5870;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --fs-mega:  clamp(4rem, 15vw, 18rem);
  --fs-h1:    clamp(2rem, 9.5vw, 11rem);
  --fs-h2:    clamp(2rem, 5.5vw, 6rem);
  --fs-h3:    clamp(1.5rem, 2.6vw, 2.75rem);
  --fs-body:  clamp(1rem, 1.1vw, 1.2rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --gutter: clamp(16px, 4vw, 64px);
  --r-lg: 24px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--bone);
  background: var(--void);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 3. Typography ---------- */
.mono { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; }
.label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.char, .word { display: inline-block; will-change: transform; }
.cword { display: inline-block; white-space: nowrap; }
.char { transform-origin: 50% 100%; }
.word { white-space: pre; }
[data-split] .line { overflow: hidden; }

/* ---------- 4. Global UI ---------- */
.grain { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; opacity: 0.07; mix-blend-mode: overlay; }
.grain::before {
  content: ''; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 300px 300px;
  will-change: transform;
  animation: grain 0.75s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); }
  60% { transform: translate(-4%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; }

.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none; }
.cursor__dot { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--bone); mix-blend-mode: difference; }
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px; border-radius: 50%;
  border: 1px solid rgba(243,240,249,0.6); display: grid; place-items: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background 0.3s, border-color 0.3s;
}
.cursor__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bone); opacity: 0; transition: opacity 0.2s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px; background: rgba(124,92,255,0.2); border-color: var(--violet); }
.cursor.is-view .cursor__ring { width: 88px; height: 88px; margin: -44px; background: var(--violet); border-color: var(--violet); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 960; transform: translate(-50%, 20px);
  background: var(--violet); color: var(--void); padding: 12px 20px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 940; width: 56px; height: 56px; border-radius: 50%;
  background: var(--violet); color: var(--void); display: none; place-items: center;
  box-shadow: 0 10px 40px var(--glow); transform: scale(0); transition: transform 0.5s var(--ease-out);
}
.fab.is-on { transform: scale(1); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 600; font-size: var(--fs-small); letter-spacing: 0.01em;
  background: var(--violet); color: var(--void); isolation: isolate;
  transition: box-shadow 0.4s;
}
.btn:hover { box-shadow: 0 0 40px var(--glow); }
.btn--sm { height: 44px; padding: 0 22px; }
.btn--lg { height: 76px; padding: 0 48px; font-size: 1.05rem; }
.btn__fill {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 0; height: 0; border-radius: 50%;
  background: var(--bone); transform: translate(-50%, -50%); transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out); z-index: -1;
}
.btn:hover .btn__fill { width: 300%; height: 900%; }
.btn__label { display: block; overflow: hidden; position: relative; height: 1.3em; line-height: 1.3; }
.btn__label span { display: block; transition: transform 0.5s var(--ease-out); }
.btn:hover .btn__label span { transform: translateY(-100%); }

.link { position: relative; font-weight: 500; font-size: var(--fs-small); padding: 8px 0; }
.link::after, .nav__links a::after, .footer__col a::after {
  content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.link:hover::after, .nav__links a:hover::after, .footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 6. Preloader ---------- */
#loader { transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1); clip-path: inset(0 0 0 0); }
#loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__word { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 8vw, 8rem); letter-spacing: -0.04em; line-height: 1; overflow: hidden; }
.loader__word .char { transform: translateY(110%); }
.loader__count { font-size: clamp(1rem, 2vw, 1.4rem); color: var(--violet); }

/* ---------- 7. Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 930;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); gap: 24px;
  transform: translateY(0); transition: transform 0.6s var(--ease-out), background 0.4s, backdrop-filter 0.4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: rgba(7,6,11,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.nav__brand span { color: var(--violet); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { position: relative; font-size: var(--fs-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--bone); transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 920; background: var(--void);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.menu__links a { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 11vw, 6rem); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; transform: translateY(40px); opacity: 0; transition: transform 0.8s var(--ease-out), opacity 0.6s; }
.menu.is-open .menu__links a { transform: translateY(0); opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.06s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.12s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.18s; }
.menu__cta { align-self: flex-start; }
.menu__meta { color: var(--mist); margin-top: 32px; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; width: 100%; height: 100svh; overflow: hidden; transform-origin: 50% 50%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__aurora {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 40%, rgba(124,92,255,0.25), transparent 70%);
  opacity: 0.8;
}
.hero__ui { position: absolute; inset: 0; padding: 96px var(--gutter) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
.hero__title, .cta__title, .footer__mark { min-width: 0; max-width: 100%; }
.hero__eyebrow { color: var(--mist); }
.hero__title {
  align-self: end; font-family: var(--font-display); font-weight: 800; font-size: 10vw;
  line-height: 0.85; letter-spacing: -0.04em; text-transform: uppercase; grid-row: 3;
  margin-bottom: 8px;
}
.hero__title .line { white-space: nowrap; width: max-content; }
.hero__title .char { transform: translateY(110%) rotate(6deg); }
.hero__side { grid-row: 2; align-self: end; justify-self: end; max-width: 380px; text-align: left; margin-bottom: clamp(20px, 5vh, 60px); opacity: 0; transform: translateY(20px); }
.hero__sub { color: var(--mist); font-size: var(--fs-small); margin-bottom: 24px; max-width: 42ch; }
.hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--mist); opacity: 0; }
.hero__scroll i { display: block; width: 1px; height: 48px; background: linear-gradient(var(--violet), transparent); animation: scrollline 1.8s var(--ease-out) infinite; transform-origin: top; }
@keyframes scrollline { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__time { position: absolute; left: var(--gutter); top: 60px; color: var(--smoke); opacity: 0; display: none; }
.hero__mid { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center; padding: 0 var(--gutter); }
.hero__mid p { position: absolute; text-shadow: 0 0 40px rgba(7,6,11,0.9), 0 0 12px rgba(7,6,11,0.8); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 7vw, 8rem); letter-spacing: -0.035em; line-height: 1; opacity: 0; }
.hero__mid .char { opacity: 0; transform: translateY(40%); }

/* ---------- 9. Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-width: 0; padding: clamp(32px, 5vw, 72px) clamp(16px, 2.5vw, 40px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6.2vw, 7.5rem); line-height: 0.9; letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 0.08em; }
.stat__num em { font-style: normal; font-size: 0.32em; color: var(--violet); letter-spacing: 0; }
.stat__num .stat__plus { font-size: 0.6em; }
.stat__label { color: var(--mist); font-size: var(--fs-small); margin-top: 16px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); padding: 20px 0; }
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 3rem); letter-spacing: -0.02em; color: var(--mist); flex-shrink: 0; }

/* ---------- 10. Mission ---------- */
.mission { padding: clamp(120px, 20vh, 260px) var(--gutter); min-height: 120vh; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.mission__text { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.02em; max-width: 80%; text-transform: none; }
.mission__text strong { font-weight: 800; }
.mission__text b { color: var(--violet); font-weight: inherit; }
.mission__text .word { opacity: 0.12; }

/* ---------- 11. Pillars ---------- */
.pillars { position: relative; overflow: hidden; }
.pillars__head { padding: 0 var(--gutter) 64px; }
.pillars__head .label { margin-bottom: 24px; }
.pillars__track { display: flex; }
.pillar {
  position: relative; flex: 0 0 70vw; min-height: 100svh; padding: 120px var(--gutter) 80px;
  border-left: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px;
}
.pillar__num {
  position: absolute; top: 24px; left: var(--gutter); font-family: var(--font-display); font-weight: 800; font-size: 30vw; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(196,181,253,0.18); pointer-events: none; user-select: none;
}
.pillar__body { position: relative; z-index: 1; }
.pillar__body .label { margin-bottom: 24px; }
.pillar__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 5.5rem); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 28px; overflow: hidden; }
.pillar__title .char { transform: translateY(110%); }
.pillar__copy { color: var(--mist); max-width: 42ch; }
.pillar__vis { position: relative; z-index: 1; aspect-ratio: 1; max-width: 360px; width: 100%; justify-self: center; }
.pillar__vis--dial svg { width: 100%; height: 100%; }
.dial__track { fill: none; stroke: var(--line); stroke-width: 1; }
.dial__fill { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 540; stroke-dashoffset: 540; transform: rotate(-90deg); transform-origin: center; }
.dial__num { font-family: var(--font-display); font-weight: 800; font-size: 56px; fill: var(--bone); text-anchor: middle; letter-spacing: -2px; }
.dial__unit { font-family: var(--font-mono); font-size: 11px; fill: var(--mist); text-anchor: middle; letter-spacing: 3px; }
.pillar__vis--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pillar__vis--grid i { display: block; border: 1px solid var(--line); border-radius: 8px; background: var(--obsidian); transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); }
.pillar__vis--grid i:nth-child(1) { --dx: -30px; --dy: -20px; --r: -6deg; }
.pillar__vis--grid i:nth-child(2) { --dx: 10px; --dy: -34px; --r: 4deg; }
.pillar__vis--grid i:nth-child(3) { --dx: 28px; --dy: -12px; --r: -3deg; }
.pillar__vis--grid i:nth-child(4) { --dx: -22px; --dy: 8px; --r: 5deg; }
.pillar__vis--grid i:nth-child(5) { --dx: 0; --dy: 0; --r: 0deg; border-color: var(--violet); }
.pillar__vis--grid i:nth-child(6) { --dx: 26px; --dy: 14px; --r: -5deg; }
.pillar__vis--grid i:nth-child(7) { --dx: -18px; --dy: 30px; --r: 3deg; }
.pillar__vis--grid i:nth-child(8) { --dx: 8px; --dy: 26px; --r: -4deg; }
.pillar__vis--grid i:nth-child(9) { --dx: 32px; --dy: 22px; --r: 6deg; }
.pillar__vis--cursors svg { width: 100%; height: 100%; }
.cur { fill: none; stroke-width: 1.5; }
.cur--a { stroke: var(--bone); transform: translateX(-46px); }
.cur--b { stroke: var(--violet); fill: rgba(124,92,255,0.12); transform: translateX(46px); }
.cur__core { fill: var(--violet); opacity: 0; }

/* ---------- 12. Story ---------- */
.story { position: relative; }
.story__intro { padding: clamp(120px, 18vh, 220px) var(--gutter) 64px; }
.story__intro .label { margin-bottom: 24px; }
.story__sub { color: var(--mist); margin-top: 28px; max-width: 42ch; }
.story__pin { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--gutter); padding: 0 var(--gutter); height: 100svh; align-items: center; }
.story__media { order: 2; position: relative; height: 78vh; border-radius: var(--r-lg); overflow: hidden; background: var(--obsidian); border: 1px solid var(--line); }
.story__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.story__video.is-ready { opacity: 1; }
.story__fallback { position: absolute; inset: 0; overflow: hidden; }
.story__aurora { position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 70%, rgba(124,92,255,0.35), transparent 70%), radial-gradient(50% 50% at 80% 20%, rgba(196,181,253,0.12), transparent 70%); }
.story__portrait { position: absolute; left: 50%; bottom: -4%; width: min(78%, 620px); height: auto; transform: translateX(-50%); filter: grayscale(0.35) contrast(1.15) brightness(0.72); -webkit-mask-image: radial-gradient(ellipse 36% 46% at 50% 44%, #000 35%, transparent 72%); mask-image: radial-gradient(ellipse 36% 46% at 50% 44%, #000 35%, transparent 72%); }
.story__fallback::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(124,92,255,0.18), rgba(7,6,11,0.1) 50%, rgba(7,6,11,0.6)); mix-blend-mode: color; pointer-events: none; }
.story__screens { position: absolute; inset: 0; z-index: 1; }
.story__screens i { position: absolute; border: 1px solid rgba(196,181,253,0.35); border-radius: 12px; background: linear-gradient(160deg, rgba(124,92,255,0.18), rgba(14,11,22,0.4)); backdrop-filter: blur(6px); box-shadow: 0 0 60px rgba(124,92,255,0.15) inset; }
.story__screens i:nth-child(1) { left: 6%; top: 12%; width: 34%; height: 40%; transform: rotate(-4deg); }
.story__screens i:nth-child(2) { right: 6%; top: 8%; width: 36%; height: 44%; transform: rotate(3deg); }
.story__screens i:nth-child(3) { left: 30%; top: 28%; width: 40%; height: 30%; transform: rotate(-1deg); opacity: 0.6; }
.story__text { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 32px; height: 60vh; }
.story__rail { position: relative; width: 1px; background: var(--line); }
.story__rail-fill { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--violet); transform: scaleY(0); transform-origin: top; }
.story__hour { position: absolute; left: 20px; top: 0; white-space: nowrap; color: var(--mist); }
.story__hour b { color: var(--violet); font-weight: 500; }
.story__chapters { position: relative; }
.chapter { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(40px); }
.chapter.is-active { opacity: 1; transform: none; }
.chapter .label { margin-bottom: 20px; }
.chapter h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 20px; }
.chapter p:last-child { color: var(--mist); max-width: 38ch; }

/* ---------- 13. Services ---------- */
.services { position: relative; padding: clamp(120px, 18vh, 220px) 0 clamp(80px, 12vh, 160px); }
.services__head { padding: 0 var(--gutter) 48px; }
.services__head .label { margin-bottom: 24px; }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.row::before { content: ''; position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); z-index: -1; }
.row.is-hover::before { transform: scaleX(1); }
.row.is-hover { color: var(--void); }
.row__head { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; width: 100%; padding: clamp(24px, 3.5vw, 44px) var(--gutter); text-align: left; gap: 24px; }
.row__num { color: var(--mist); transition: color 0.3s; }
.row.is-hover .row__num { color: var(--void); }
.row__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4.4vw, 5rem); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; }
.row__arrow { font-size: clamp(1.5rem, 3vw, 3rem); transition: transform 0.5s var(--ease-out); }
.row.is-hover .row__arrow, .row.is-open .row__arrow { transform: rotate(45deg); }
.row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.row.is-open .row__panel, .row.is-hover .row__panel { grid-template-rows: 1fr; }
.row__inner { overflow: hidden; }
.row__inner > * { margin-left: calc(var(--gutter) + 80px + 24px); }
.row__desc { max-width: 52ch; padding-top: 4px; }
.row__list { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 24px 0 clamp(28px, 3.5vw, 44px); opacity: 0.85; }
.row__list li::before { content: '✦ '; }
.row-preview { position: absolute; top: 0; left: 0; width: 320px; aspect-ratio: 4/3; pointer-events: none; opacity: 0; z-index: 5; }
.row-preview__inner { position: relative; width: 100%; height: 100%; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--obsidian); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.row-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; }
.row-preview img[src=""] { display: none; }
.row-preview__mock { position: absolute; inset: 0; background: linear-gradient(160deg, var(--plum-night), var(--obsidian)); }
.row-preview__mock::before { content: ''; position: absolute; left: 10%; top: 12%; width: 55%; height: 8%; border-radius: 4px; background: rgba(243,240,249,0.35); }
.row-preview__mock::after { content: ''; position: absolute; left: 10%; top: 28%; width: 80%; height: 55%; border-radius: 8px; background: linear-gradient(135deg, rgba(124,92,255,0.6), rgba(124,92,255,0.15)); }
.row-preview[data-tone="b"] .row-preview__mock::after { background: linear-gradient(135deg, rgba(196,181,253,0.5), rgba(124,92,255,0.15)); }
.row-preview[data-tone="c"] .row-preview__mock::after { background: repeating-linear-gradient(0deg, rgba(124,92,255,0.5) 0 6px, transparent 6px 14px); }

/* ---------- 14. Work ---------- */
.work { padding: clamp(80px, 12vh, 160px) 0 clamp(120px, 18vh, 220px); }
.work__head { padding: 0 var(--gutter) 64px; }
.work__head .label { margin-bottom: 24px; }
.work__sub { color: var(--mist); margin-top: 28px; }
.cards { display: flex; flex-direction: column; gap: clamp(64px, 10vh, 140px); }
.card { display: grid; grid-template-columns: 1fr; gap: 32px; width: min(85vw, 1400px); margin: 0 auto; }
.card__frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--obsidian); clip-path: inset(15% 10% 15% 10% round 24px); }
.card__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--plum-night); }
.card__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--smoke); }
.card__bar span { margin-left: 12px; color: var(--mist); text-transform: none; letter-spacing: 0; }
.card__bar .card__live { margin-left: auto; color: var(--violet); letter-spacing: 0.12em; text-transform: uppercase; }
.card__visit { grid-column: 1 / -1; justify-self: start; color: var(--bone); }
.card:hover .card__visit::after { transform: scaleX(1); transform-origin: left; }
.card__frame { transition: border-color 0.4s; }
.card:hover .card__frame { border-color: rgba(124,92,255,0.5); }
.card__screen { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0b0912; }
.card__scroller { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.card__shot { display: block; width: 100%; height: auto; }
.card__screen--empty { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 50%, rgba(124,92,255,0.25), transparent 70%), #0b0912; }
.caret { width: 3px; height: 12%; background: var(--violet); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: start; }
.card__meta .label { grid-column: 1 / -1; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.8vw, 4.2rem); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; }
.card__sum { color: var(--mist); max-width: 42ch; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--lavender); }
.card--next .chips li { border-color: var(--violet); background: rgba(124,92,255,0.15); }

/* Skeleton mockups shown until real screenshots exist */
.mock { position: relative; width: 100%; padding: 4%; display: flex; flex-direction: column; gap: 4%; }
.mock i, .mock b, .mock u { display: block; border-radius: 6px; background: rgba(243,240,249,0.08); }
.mock__nav { display: flex; align-items: center; gap: 2%; height: 4vw; margin-bottom: 2%; }
.mock__nav i { width: 8%; height: 40%; background: var(--violet); opacity: 0.8; }
.mock__nav b { width: 6%; height: 20%; }
.mock__nav u { margin-left: auto; width: 10%; height: 50%; border-radius: 999px; background: rgba(124,92,255,0.5); }
.mock__hero { display: flex; flex-direction: column; gap: 3%; padding: 6% 4%; min-height: 32vw; border-radius: 12px; background: linear-gradient(135deg, rgba(124,92,255,0.22), rgba(14,11,22,0.2)); justify-content: center; }
.mock__hero--wide { background: linear-gradient(135deg, rgba(196,181,253,0.18), rgba(14,11,22,0.3)); }
.mock__hero i { width: 14%; height: 2.5%; min-height: 6px; background: var(--lavender); opacity: 0.7; }
.mock__hero b { width: 60%; height: 8%; min-height: 22px; background: rgba(243,240,249,0.6); }
.mock__hero b.short { width: 42%; }
.mock__hero u { width: 18%; height: 6%; min-height: 18px; border-radius: 999px; background: var(--violet); margin-top: 3%; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; }
.mock__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mock__grid i { aspect-ratio: 4/3; background: linear-gradient(160deg, rgba(243,240,249,0.1), rgba(243,240,249,0.03)); }
.mock__band { height: 12vw; border-radius: 12px; background: linear-gradient(90deg, rgba(124,92,255,0.35), rgba(124,92,255,0.05)); }
.mock__foot { height: 8vw; border-radius: 12px; background: rgba(243,240,249,0.04); }
.card__shot + .mock { display: none; }

/* ---------- 15. CTA ---------- */
.cta { position: relative; min-height: 100svh; }
.cta__clip { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; clip-path: circle(0% at 50% 60%); }
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.cta__video.is-ready { opacity: 1; }
.cta__aurora { position: absolute; inset: 0; background: radial-gradient(50% 45% at 50% 55%, rgba(124,92,255,0.35), transparent 70%), var(--plum-night); }
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,11,0.2) 0%, rgba(7,6,11,0.85) 100%); }
.cta__ui { position: relative; z-index: 1; width: 100%; text-align: center; padding: 120px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta__title { width: 100%; font-family: var(--font-display); font-weight: 800; font-size: 11vw; line-height: 0.85; letter-spacing: -0.04em; text-transform: uppercase; }
.cta__title .line { white-space: nowrap; width: max-content; margin-inline: auto; }
.cta__title .char { transform: translateY(110%) rotate(4deg); }
.cta__sub { color: var(--mist); max-width: 46ch; }
.cta__phone { color: var(--bone); padding: 12px; }
.cta__phone small { color: var(--smoke); font-size: 0.7em; }
.cta__phone:hover { color: var(--violet); }

/* ---------- 16. Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding: 64px 0 0; overflow: hidden; background: var(--void); }
.footer__top { display: grid; grid-template-columns: repeat(2, 1fr) auto; gap: 32px; padding: 0 var(--gutter) 48px; align-items: start; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col .label { margin-bottom: 12px; }
.footer__col a { position: relative; align-self: flex-start; font-size: var(--fs-small); font-weight: 500; }
.footer__top-btn { align-self: start; color: var(--mist); padding: 8px 0; }
.footer__top-btn:hover { color: var(--violet); }
.footer__mark { padding: 0 var(--gutter); line-height: 0.78; overflow: hidden; }
.footer__mark { font-family: var(--font-display); font-weight: 800; font-size: 16vw; letter-spacing: -0.045em; }
.footer__mark .line { white-space: nowrap; width: max-content; padding-bottom: 0; }
.footer__mark .char { transform: translateY(100%); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 24px var(--gutter) 32px; border-top: 1px solid var(--line); color: var(--smoke); flex-wrap: wrap; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1199px) {
  .pillar { flex-basis: 80vw; }
  .story__pin { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
}

@media (max-width: 767px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .fab { display: grid; }
  .grain::before { animation: none; }

  .hero__ui { padding-top: 84px; grid-template-rows: auto 1fr auto auto; }
  .hero__title { margin-bottom: 0; grid-row: 3; }
  .hero__side { grid-row: 4; justify-self: start; max-width: none; margin: 24px 0 0; }
  .hero__scroll { display: none; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat__num { font-size: clamp(2.6rem, 14vw, 5rem); }

  .mission { min-height: auto; }
  .mission__text { max-width: none; font-size: clamp(1.6rem, 7vw, 2.5rem); }

  .pillars__track { flex-direction: column; }
  .pillar { flex-basis: auto; min-height: auto; grid-template-columns: 1fr; padding: 80px var(--gutter) 64px; border-left: 0; border-top: 1px solid var(--line); clip-path: inset(0 0 100% 0); }
  .pillar__num { font-size: 50vw; top: 10px; }
  .pillar__vis { max-width: 240px; }

  .story__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: 100svh; align-items: start; padding-top: 16px; }
  .story__media { order: 0; height: auto; aspect-ratio: 16/9; position: sticky; top: 76px; z-index: 2; }
  .story__text { height: auto; padding: 40px 0 64px; }
  .chapter { position: relative; opacity: 1; transform: none; margin-bottom: 64px; }
  .story__rail { display: none; }
  .story__text { grid-template-columns: 1fr; }

  .row__head { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; }
  .row__title { font-size: 5.6vw; }
  .row__inner > * { margin-left: var(--gutter); margin-right: var(--gutter); }
  .row.is-hover::before { transform: scaleX(0); }
  .row.is-hover { color: inherit; }
  .row.is-hover .row__panel { grid-template-rows: 0fr; }
  .row.is-open .row__panel { grid-template-rows: 1fr; }
  .row-preview { display: none; }

  .card { width: calc(100% - 32px); }
  .card__meta { grid-template-columns: 1fr; }
  .mock__nav { height: 8vw; }
  .mock__hero { min-height: 50vw; }
  .mock__band { height: 20vw; }
  .mock__foot { height: 12vw; }

  .cta__ui { padding: 96px var(--gutter); }
  .btn--lg { height: 64px; padding: 0 32px; font-size: 1rem; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top-btn { grid-column: 1 / -1; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .grain::before { animation: none; }
  #loader { display: none; }
  .hero__title .char, .cta__title .char, .footer__mark .char, .pillar__title .char, .loader__word .char { transform: none; }
  .hero__mid { display: none; }
  .hero__side, .hero__scroll { opacity: 1; transform: none; }
  .mission__text .word { opacity: 1; }
  .card__frame { clip-path: none; }
  .cta__clip { clip-path: none; }
  .pillar { clip-path: none; }
  .pillars__track { flex-direction: column; }
  .pillar { flex-basis: auto; }
  .story__pin { height: auto; }
  .chapter { position: relative; opacity: 1; transform: none; margin-bottom: 48px; }
  .story__video, .cta__video { display: none; }
  .cursor { display: none !important; }
  .marquee__track { transform: none !important; }
}
