/* ============================================================
   DOUBLEZERO — Tech / AI system v2
   White surfaces, sky-blue key, dynamic motion. Tasteful 3D.
   ============================================================ */

:root {
  color-scheme: light;

  /* Surfaces */
  --paper: #ffffff;
  --mist: #f3f8fc;        /* soft sky-tinted secondary */
  --mist-deep: #e7f1f8;
  --frost: rgba(255, 255, 255, 0.72);

  /* Type / ink */
  --ink: #0a1428;          /* near-black navy */
  --ink-soft: #1d2a44;
  --muted: #6c7a92;
  --muted-soft: #98a4ba;

  /* Rules */
  --rule: rgba(10, 20, 40, 0.08);
  --rule-strong: rgba(10, 20, 40, 0.16);

  /* Sky-blue key color (tied to the Double Zero brand cyan-blue) */
  --sky: #2da7e0;
  --sky-deep: #1786c0;
  --sky-soft: #7ccff0;
  --sky-pale: #d8eef9;
  --sky-glow: rgba(45, 167, 224, 0.32);

  /* Tech accent gradient — used surgically */
  --grad-sky: linear-gradient(135deg, #2da7e0 0%, #6ed8ff 50%, #2da7e0 100%);
  --grad-sky-soft: linear-gradient(135deg, #d8eef9 0%, #ffffff 100%);

  /* Type stacks */
  --serif: "Instrument Serif", "Noto Serif KR", "Apple SD Gothic Neo", ui-serif, Georgia, serif;
  --sans:
    "Inter Tight", "Pretendard Variable", "Pretendard",
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", system-ui, sans-serif;
  --mono:
    "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono",
    Menlo, Consolas, monospace;
  --kr-display:
    "Pretendard Variable", "Pretendard",
    "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --kr-serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;

  /* Grid & rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 20, 40, 0.04), 0 2px 8px rgba(10, 20, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 20, 40, 0.06), 0 12px 36px rgba(10, 20, 40, 0.07);
  --shadow-lg: 0 8px 24px rgba(10, 20, 40, 0.08), 0 24px 64px rgba(10, 20, 40, 0.10);
  --shadow-sky: 0 8px 32px rgba(45, 167, 224, 0.18);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body, button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--sky); color: #fff; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 50;
  transform: translateY(-160%);
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed; inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  height: 64px;
  padding: 0 var(--gutter);
  color: var(--ink);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease,
              backdrop-filter 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: var(--rule);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.brand {
  display: inline-flex; align-items: center;
  gap: 10px;
  height: 36px;
}
.brand-logo {
  height: 28px; width: auto;
  display: block;
  opacity: 0.96;
  transition: opacity 200ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-logo {
  opacity: 1;
  transform: translateX(-1px);
}

.timecode {
  justify-self: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase;
}
.timecode::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 0 rgba(45, 167, 224, 0.55);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 167, 224, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(45, 167, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 167, 224, 0); }
}

.site-nav {
  display: flex; align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  opacity: 0.78;
  transition: opacity 160ms ease, color 160ms ease;
}
.site-nav a::after {
  content: ""; position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--sky);
  transition: right 220ms ease;
}
.site-nav a:hover { opacity: 1; color: var(--sky-deep); }
.site-nav a:hover::after { right: 0; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  justify-self: end;
  padding: 5px 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--sky-soft);
  color: var(--ink);
}
.lang-toggle .lang-pill {
  padding: 0 2px;
  transition: color 180ms ease;
}
.lang-toggle .lang-pill.is-active {
  color: var(--sky-deep);
  font-weight: 700;
}
.lang-toggle .lang-sep {
  color: var(--muted-soft);
  opacity: 0.7;
}

/* ============================================================
   Hero — type + particle field + 3D wireframe
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 76px var(--gutter) 60px;
  overflow: hidden;
  isolation: isolate;
}

/* Soft sky gradient mesh */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 88% 18%,
      rgba(110, 216, 255, 0.42) 0%, rgba(110, 216, 255, 0) 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%,
      rgba(45, 167, 224, 0.18) 0%, rgba(45, 167, 224, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  z-index: -2;
  animation: meshDrift 18s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.03); }
}

/* Grid plate */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 20, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 40, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image:
    radial-gradient(ellipse at 50% 60%, #000 30%, transparent 80%);
  -webkit-mask-image:
    radial-gradient(ellipse at 50% 60%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* Particle canvas */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.78;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: 0;
  gap: clamp(16px, 2vh, 28px);
  opacity: var(--hero-fade, 1);
  transition: opacity 220ms ease;
}
.hero-scroll-cue {
  opacity: var(--hero-fade, 1);
  transition: opacity 220ms ease;
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: clamp(16px, 3vh, 28px);
  font-family: var(--mono);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.hero-meta dl { margin: 0; display: grid; gap: 4px; }
.hero-meta dt { color: var(--muted-soft); }
.hero-meta dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Hero stage holds wordmark + 3D wireframe */
.hero-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}

/* Wordmark */
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 16vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  display: flex; align-items: baseline;
  gap: 0.04em;
  word-break: keep-all;
}
.wordmark .word {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #0a1428 0%, #2a3a52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ∞ — Two glossy 3D donut "0"s rendered as torus shapes.
   Each ring stacks: floor shadow, hole cavity, inner edge, halo,
   dark rim, vertical-gradient body, top rim light, shine, spec line,
   plus an orbiting spark. Together they read as both "0 0" and ∞. */
.wordmark .zeros {
  display: inline-block;
  width: 1.95em;
  height: 1.04em;
  margin-left: 0.06em;
  /* Bottom-align the ∞ block with the baseline row of "DOUBLE" letters */
  align-self: flex-end;
  vertical-align: bottom;
  margin-bottom: -0.12em; /* nudge ring bottom flush with letter baseline (offsets viewBox floor padding) */
  overflow: visible;
  filter:
    drop-shadow(0 18px 32px rgba(13, 74, 125, 0.28))
    drop-shadow(0 4px 10px rgba(10, 20, 40, 0.18))
    drop-shadow(0 0 28px rgba(110, 216, 255, 0.20));
  perspective: 1100px;
}
.wordmark .zeros .zeros-stack {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: zerosWobble 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes zerosWobble {
  0%, 100% { transform: rotateY(-26deg) rotateX(12deg); }
  50%      { transform: rotateY(26deg)  rotateX(-6deg); }
}
.wordmark .zeros circle,
.wordmark .zeros use,
.wordmark .zeros path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Floor shadow under each ring (ellipse) */
.wordmark .zeros .ring-floor {
  filter: blur(2.5px);
  opacity: 0.85;
}

/* Hole cavity — the inside of the donut (recessed). fill on, no stroke */
.wordmark .zeros .ring-hole {
  stroke: none;
}
/* Inner-edge ring — thin dark stroke around the hole, suggests material thickness going inward */
.wordmark .zeros .ring-inner-edge {
  fill: none;
  stroke: rgba(5, 24, 48, 0.6);
  stroke-width: 2.4;
  filter: blur(1.2px);
}
/* Outer halo — soft cyan glow around the donut */
.wordmark .zeros .ring-halo {
  fill: none;
  stroke: rgba(110, 216, 255, 0.5);
  stroke-width: 32;
  filter: blur(8px);
  opacity: 0.55;
}
/* Outer dark rim — back-wall of the tube */
.wordmark .zeros .ring-rim {
  fill: none;
  stroke: #0a3a64;
  stroke-width: 28;
  opacity: 0.95;
}
/* Tube body — vertical gradient creates the round cross-section illusion */
.wordmark .zeros .ring-body {
  fill: none;
  stroke: url(styles.css);
  stroke-width: 24;
}
/* Top rim light — only on upper semicircle, narrower than body */
.wordmark .zeros .ring-toplight {
  fill: none;
  stroke: #cdebfa;
  stroke-width: 14;
  opacity: 0.85;
  transform: translateY(-1.5px);
}
/* Specular shine — vertical white→transparent, top arc only */
.wordmark .zeros .ring-shine {
  fill: none;
  stroke: url(styles.css);
  stroke-width: 9;
  opacity: 0.95;
  transform: translateY(-3px);
}
/* Hairline chrome line along the very top */
.wordmark .zeros .ring-spec {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  opacity: 0.92;
  transform: translateY(-5px);
  filter: blur(0.4px);
}
/* Spark traveling around each ring */
.wordmark .zeros .ring-spark {
  filter:
    drop-shadow(0 0 6px #ffffff)
    drop-shadow(0 0 14px #6ed8ff)
    drop-shadow(0 0 26px rgba(110, 216, 255, 0.7));
}
/* Weave overlay — left ring arc drawn on top of right ring to suggest chain-link interlock */
.wordmark .zeros .ring-weave {
  fill: none;
  stroke: url(styles.css);
  stroke-width: 24;
  opacity: 0.95;
  filter: drop-shadow(-2px 0 4px rgba(5, 24, 48, 0.4));
}

/* 3D wireframe orb (CSS-built, no WebGL) */
.hero-orb {
  position: relative;
  width: clamp(160px, 22vw, 280px);
  aspect-ratio: 1;
  perspective: 800px;
  transform-style: preserve-3d;
  display: grid; place-items: center;
}
.hero-orb svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 6px 24px rgba(45, 167, 224, 0.32));
}
.hero-orb .orb-shell {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(45, 167, 224, 0.32);
  background: radial-gradient(circle at 32% 28%,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(216, 238, 249, 0.46) 24%,
    rgba(45, 167, 224, 0.08) 60%,
    rgba(45, 167, 224, 0) 80%);
  box-shadow:
    inset 0 0 60px rgba(45, 167, 224, 0.22),
    0 30px 60px rgba(45, 167, 224, 0.12);
}
.hero-orb .orb-rotor {
  position: absolute; inset: 0;
  animation: orbSpin 22s linear infinite;
  transform-style: preserve-3d;
}
@keyframes orbSpin {
  from { transform: rotateY(0deg) rotateX(12deg); }
  to   { transform: rotateY(360deg) rotateX(12deg); }
}
.hero-orb .orb-ring {
  position: absolute; inset: 4%;
  border: 1px solid rgba(45, 167, 224, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(45, 167, 224, 0.18) inset;
}
.hero-orb .orb-ring:nth-child(1) { transform: rotateX(72deg); }
.hero-orb .orb-ring:nth-child(2) { transform: rotateY(72deg); }
.hero-orb .orb-ring:nth-child(3) { transform: rotateX(36deg) rotateY(36deg); }
.hero-orb .orb-dot {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky-glow);
}
.hero-orb .orb-dot.d1 { top: 6%;  left: 50%; transform: translateX(-50%); }
.hero-orb .orb-dot.d2 { bottom: 6%; right: 14%; }
.hero-orb .orb-dot.d3 { left: 4%;  top: 58%; }

.hero-tagline {
  margin: clamp(14px, 2.5vh, 24px) 0 0;
  font-family: var(--kr-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 22ch;
  word-break: keep-all;
  color: var(--ink);
}
.hero-subline {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-subline em {
  font-style: normal;
  color: var(--sky-deep);
  font-weight: 600;
}

.hero-tagline em {
  font-style: normal;
  background: linear-gradient(135deg, #1786c0 0%, #2da7e0 60%, #6ed8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-weight: 500;
}

.hero-foot {
  margin-top: clamp(18px, 3vh, 28px);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-foot a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 200ms ease, color 200ms ease;
}
.hero-foot a:hover { border-bottom-color: var(--sky); color: var(--sky-deep); }
.hero-foot a .arrow { transition: transform 220ms ease; }
.hero-foot a:hover .arrow { transform: translateY(3px); }

/* Hero scroll cue — clickable, labeled, animated */
.hero-scroll-cue {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 6px 10px 4px;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  z-index: 4;
  animation: scrollCueFloat 2.4s ease-in-out infinite;
  transition: color 200ms ease, transform 200ms ease;
}
.hero-scroll-cue:hover { color: var(--sky-deep); }
.hero-scroll-cue__rail {
  position: relative;
  width: 22px; height: 34px;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  display: block;
}
.hero-scroll-cue__dot {
  position: absolute; left: 50%; top: 6px;
  width: 2px; height: 8px;
  margin-left: -1px;
  background: var(--sky);
  border-radius: 2px;
  animation: scrollCueDot 1.6s ease-in-out infinite;
}
.hero-scroll-cue__arrow {
  font-size: 12px;
  color: var(--sky-deep);
  opacity: 0.7;
}
@keyframes scrollCueDot {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(10px); opacity: 0.15; }
}
@keyframes scrollCueFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue,
  .hero-scroll-cue__dot { animation: none; }
}

/* ============================================================
   Sections — alternating paper / mist
   ============================================================ */

section {
  position: relative;
  padding: clamp(24px, 3vw, 44px) var(--gutter);
}
.surface-paper { background: var(--paper); color: var(--ink); }
.surface-mist {
  background: var(--mist);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.surface-mist::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%,
      rgba(45, 167, 224, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%,
      rgba(110, 216, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.surface-mist > * { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--sky);
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(45, 167, 224, 0.32);
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
  word-break: keep-all;
  line-height: 1.04;
  font-family: var(--kr-display);
  font-weight: 800;
  color: var(--ink);
}
h2.editorial,
h1.editorial {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

p { margin: 0; }

/* ============================================================
   Manifesto
   ============================================================ */

.manifesto-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.manifesto {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.manifesto-text { display: grid; gap: clamp(28px, 3vw, 40px); }
.manifesto-headline {
  font-family: var(--kr-display);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  word-break: keep-all;
  color: var(--ink);
  display: grid; gap: 4px;
}
.manifesto-headline .m-line {
  position: relative;
  display: block;
}
.manifesto-headline .m-line em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--sky) 50%, #6ed8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto-headline .m-shadow {
  position: absolute;
  top: 0; left: 0;
  -webkit-text-stroke: 1.2px rgba(45, 167, 224, 0.34);
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translate(10px, 10px);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}
.manifesto-headline .m-line-sub {
  font-family: var(--kr-display);
  font-weight: 500;
  font-size: 0.42em;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.3;
}
.manifesto-headline .m-line-sub em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
}

.manifesto-body {
  display: grid;
  gap: 22px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
}
.manifesto-body strong {
  color: var(--ink);
  font-weight: 700;
}
.manifesto-lead {
  max-width: 58ch;
}
.manifesto-stack {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--rule);
}
.manifesto-stack li {
  display: grid;
  grid-template-columns: minmax(128px, 0.34fr) 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.68);
}
.manifesto-stack span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-deep);
  padding-top: 4px;
}
.manifesto-stack p {
  color: var(--ink);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
}
.manifesto-close {
  color: var(--ink);
  font-weight: 650;
  border-left: 3px solid var(--sky);
  padding-left: 14px;
}

/* ============================================================
   Manifesto 3D — wireframe cube cluster
   ============================================================ */

.manifesto-3d {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  perspective: 1400px;
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.m3d-glow {
  position: absolute; inset: 8% 8% auto 8%;
  height: 80%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,
      rgba(45, 167, 224, 0.22) 0%,
      rgba(45, 167, 224, 0.06) 40%,
      transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.m3d-floor {
  position: absolute;
  left: -10%; right: -10%;
  bottom: 6%;
  height: 60%;
  background-image:
    linear-gradient(rgba(45, 167, 224, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 167, 224, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: perspective(700px) rotateX(62deg);
  transform-origin: 50% 100%;
  mask-image: radial-gradient(ellipse at 50% 100%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.cube-stage {
  width: 80%;
  aspect-ratio: 1;
  position: relative;
  transform-style: preserve-3d;
}
.cube-stack {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: stackOrbit 28s linear infinite;
}
@keyframes stackOrbit {
  from { transform: rotateY(-12deg) rotateX(8deg); }
  to   { transform: rotateY(348deg) rotateX(8deg); }
}

.cube {
  position: absolute;
  transform-style: preserve-3d;
  --s: 120px;
  width: var(--s); height: var(--s);
  left: 50%; top: 50%;
  margin-left: calc(var(--s) / -2);
  margin-top: calc(var(--s) / -2);
}
.cube-a {
  --s: clamp(110px, 16vw, 180px);
  transform: translate3d(-22%, -34%, 60px);
  animation: cubeFloat 8s ease-in-out infinite;
}
.cube-b {
  --s: clamp(140px, 22vw, 230px);
  transform: translate3d(8%, 4%, 0);
  animation: cubeFloat 10s ease-in-out -2s infinite reverse;
}
.cube-c {
  --s: clamp(90px, 13vw, 140px);
  transform: translate3d(36%, 38%, -30px);
  animation: cubeFloat 7s ease-in-out -3s infinite;
}
@keyframes cubeFloat {
  0%, 100% { translate: 0 0 0; }
  50%      { translate: 0 -8px 0; }
}

.face {
  position: absolute; inset: 0;
  border: 1px solid rgba(45, 167, 224, 0.55);
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(216, 238, 249, 0.42) 100%);
  box-shadow:
    inset 0 0 30px rgba(45, 167, 224, 0.10),
    0 6px 24px rgba(45, 167, 224, 0.16);
  backface-visibility: visible;
}
.face::before {
  content: "";
  position: absolute; inset: 8%;
  background-image:
    linear-gradient(rgba(45, 167, 224, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 167, 224, 0.18) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.7;
}
.face::after {
  content: "";
  position: absolute; top: 10%; left: 10%;
  width: 8px; height: 8px;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--sky-glow);
}
.f-front  { transform: translateZ(calc(var(--s) / 2)); }
.f-back   { transform: translateZ(calc(var(--s) / -2)) rotateY(180deg); }
.f-right  { transform: translateX(calc(var(--s) / 2)) rotateY(90deg); }
.f-left   { transform: translateX(calc(var(--s) / -2)) rotateY(-90deg); }
.f-top    { transform: translateY(calc(var(--s) / -2)) rotateX(90deg); }
.f-bottom { transform: translateY(calc(var(--s) / 2)) rotateX(-90deg); }

.cube-c .face { border-color: rgba(23, 134, 192, 0.7); }
.cube-c .face::after { background: var(--sky-deep); }

/* tag chips floating around */
.m3d-tags {
  position: absolute; inset: 0;
  pointer-events: none;
}
.m3d-tags span {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--sky-soft);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 167, 224, 0.14);
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(6px);
  animation: tagFloat 6s ease-in-out infinite;
}
.m3d-tags span i {
  width: 5px; height: 5px;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--sky-glow);
}
.m3d-tags span:nth-child(1) { top: 10%; left: 4%;   animation-delay: 0s; }
.m3d-tags span:nth-child(2) { top: 18%; right: 6%;  animation-delay: -1.4s; }
.m3d-tags span:nth-child(3) { bottom: 22%; left: 6%;  animation-delay: -2.8s; }
.m3d-tags span:nth-child(4) { bottom: 12%; right: 10%; animation-delay: -4.2s; }
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ============================================================
   Filmography — cards with sky lift
   ============================================================ */

.filmography-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(14px, 2vw, 24px);
}
.filmography-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filmography {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.filmrow {
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 280ms ease;
}
.filmrow.is-open {
  background: linear-gradient(180deg, rgba(45,167,224,0.04) 0%, transparent 60%);
}
.filmrow-head {
  display: grid;
  grid-template-columns: 64px 1.6fr 2.2fr 110px 70px;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 2.5vw, 34px) 0;
  cursor: pointer;
  transition: padding-left 260ms ease;
  position: relative;
}
.filmrow-head::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--sky);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.filmrow:hover .filmrow-head,
.filmrow.is-open .filmrow-head { padding-left: 18px; }
.filmrow:hover .filmrow-head::before,
.filmrow.is-open .filmrow-head::before { transform: scaleY(1); }
.filmrow-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--muted-soft);
  line-height: 1;
  transition: color 260ms ease;
}
.filmrow:hover .filmrow-num,
.filmrow.is-open .filmrow-num { color: var(--sky-deep); }
.filmrow-name {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.filmrow-name .product {
  display: inline-flex; align-items: baseline; gap: 0.18em;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  align-self: flex-start;
  position: relative;
  transition: color 220ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
}
.filmrow-name a.product::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1.5px; background: var(--sky);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.filmrow-name a.product:hover {
  color: var(--sky-deep);
}
.filmrow-name a.product:hover::after { transform: scaleX(1); }
.filmrow-name .product .ext {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  color: var(--sky-deep);
  transition: transform 240ms ease;
}
.filmrow-name a.product:hover .ext {
  transform: translate(3px, -3px);
}
.filmrow-name .title {
  font-family: var(--kr-display);
  font-weight: 600;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
  line-height: 1.4;
}
.filmrow-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 44ch;
}
.filmrow-year,
.filmrow-toggle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.filmrow-toggle {
  display: inline-flex; align-items: center; justify-content: flex-end;
  gap: 8px;
}
.filmrow-toggle .plus {
  width: 22px; height: 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  position: relative;
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}
.filmrow:hover .filmrow-toggle .plus,
.filmrow.is-open .filmrow-toggle .plus {
  background: var(--sky);
  border-color: var(--sky);
}
.filmrow-toggle .plus::before,
.filmrow-toggle .plus::after {
  content: ""; position: absolute;
  background: currentColor;
  transition: transform 240ms ease, background 200ms ease;
}
.filmrow-toggle .plus::before {
  top: 50%; left: 25%; right: 25%; height: 1px;
  transform: translateY(-50%);
}
.filmrow-toggle .plus::after {
  left: 50%; top: 25%; bottom: 25%; width: 1px;
  transform: translateX(-50%);
}
.filmrow:hover .filmrow-toggle .plus::before,
.filmrow:hover .filmrow-toggle .plus::after,
.filmrow.is-open .filmrow-toggle .plus::before,
.filmrow.is-open .filmrow-toggle .plus::after { background: #fff; }
.filmrow.is-open .filmrow-toggle .plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* expanded panel */
.filmrow-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.filmrow.is-open .filmrow-panel { grid-template-rows: 1fr; }
.filmrow-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.filmrow-content {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  align-items: stretch;
  gap: clamp(20px, 3vw, 36px);
  padding: 8px 0 clamp(28px, 4vw, 48px) 0;
}
.filmrow-plate {
  display: block;
  position: relative;
  width: 100%;
  max-width: 220px;
  height: 100%;
  background: #0b0b0c;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm, var(--shadow-md));
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  cursor: default;
  transition: transform 480ms cubic-bezier(.2,.8,.2,1),
              box-shadow 480ms ease, border-color 480ms ease;
}
a.filmrow-plate { cursor: pointer; }
.filmrow-plate-light { background: #ffffff; }
.filmrow-plate-light img {
  padding: 18px;
  filter: none;
}
.filmrow-plate-xs { max-height: 70px; align-self: center; height: auto; }
.filmrow-plate-xs img { padding: 8px; }
.filmrow-plate-sm { max-height: 130px; align-self: center; height: auto; }
.filmrow-plate::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(10,20,40,0) 70%, rgba(10,20,40,0.16) 100%);
  pointer-events: none;
  z-index: 1;
}
.filmrow-plate:hover {
  transform: translateY(-3px);
  border-color: var(--sky-soft);
  box-shadow: var(--shadow-lg), 0 12px 36px rgba(45, 167, 224, 0.18);
}
.filmrow-plate img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}
.filmrow.is-open .filmrow-plate img { transform: scale(1.04); }
.filmrow-plate:hover img { transform: scale(1.06); }
.filmrow-plate .plate-tag {
  position: absolute; top: 10px; left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--paper);
  background: rgba(10, 20, 40, 0.62);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
}
.filmrow-plate .plate-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sky-glow);
}
/* corner brackets on the plate */
.filmrow-plate::before {
  content: "";
  position: absolute; inset: 12px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--sky), var(--sky)) top left / 14px 1.5px no-repeat,
    linear-gradient(var(--sky), var(--sky)) top left / 1.5px 14px no-repeat,
    linear-gradient(var(--sky), var(--sky)) top right / 14px 1.5px no-repeat,
    linear-gradient(var(--sky), var(--sky)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--sky), var(--sky)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(var(--sky), var(--sky)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--sky), var(--sky)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(var(--sky), var(--sky)) bottom right / 1.5px 14px no-repeat;
  opacity: 0;
  transition: opacity 320ms ease;
}
.filmrow.is-open .filmrow-plate::before { opacity: 0.9; }

.filmrow-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.filmrow-detail {
  display: block;
  font-size: 15px; line-height: 1.7;
  color: var(--ink-soft);
}
.filmrow-detail > p {
  max-width: none;
  margin: 0;
}
.filmrow-detail strong { color: var(--ink); font-weight: 700; }
.filmrow-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.filmrow-detail-grid > p { max-width: none; margin: 0; }

.cost-compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(10,20,40,0.04));
  margin: 0;
}
.cost-row {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 10px 10px;
  border-right: 1px solid var(--rule);
}
.cost-row:last-of-type { border-right: 1px solid var(--rule); }
.cost-row-was { background: var(--mist); }
.cost-row-now { background: linear-gradient(180deg, rgba(45,167,224,0.08), rgba(45,167,224,0.04)); }
.cost-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.cost-value {
  font-family: var(--sans, var(--mono));
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
  white-space: nowrap;
}
.cost-row-was .cost-value {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(180, 60, 60, 0.55);
  text-decoration-thickness: 1.5px;
}
.cost-row-now .cost-value { color: var(--sky-deep, #1786c0); }
.cost-note {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.cost-savings {
  display: flex; flex-direction: column; justify-content: center;
  gap: 4px;
  padding: 10px 10px;
  background: var(--ink, #0b0b0c);
  color: #fff;
}
.cost-savings-num {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cost-savings-unit {
  font-size: 11px;
  font-weight: 600;
  margin-left: 1px;
  opacity: 0.85;
}
.cost-savings-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
  white-space: nowrap;
}

.filmrow-stats {
  display: flex; flex-wrap: wrap;
  gap: 18px 28px;
  padding: 4px 0 2px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-top: -4px;
}
.filmrow-stats > div {
  display: flex; flex-direction: column;
  gap: 4px;
}
.filmrow-stats strong {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.filmrow-stats span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.filmrow-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.filmrow-meta dt {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  padding: 14px 14px 4px;
  background: var(--paper);
  margin: 0;
}
.filmrow-meta dd {
  margin: 0;
  padding: 0 14px 14px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}

/* ============================================================
   Feature blocks
   ============================================================ */

.feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.feature.reverse {
  grid-template-columns: 1fr 1.6fr;
}
.feature.reverse .feature-plate { order: 2; }
.feature-plate {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  background: var(--mist-deep);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), box-shadow 400ms ease;
}
.feature-plate:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--sky-soft);
  transform: translateY(-4px);
}
.feature-plate img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-plate .corners { position: absolute; inset: 10px; pointer-events: none; }
.feature-plate .corners::before,
.feature-plate .corners::after {
  content: ""; position: absolute;
  width: 14px; height: 14px;
}
.feature-plate .corners::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--sky);
  border-left: 1.5px solid var(--sky);
}
.feature-plate .corners::after {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--sky);
  border-right: 1.5px solid var(--sky);
}
.feature-plate .plate-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(10,20,40,0.78), rgba(10,20,40,0));
}
.feature h2 { margin-bottom: 20px; }
.feature-body {
  display: grid; gap: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.feature-body strong { font-weight: 700; color: var(--ink); }
.feature-headline-accent {
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--sky) 60%, var(--sky-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--kr-display);
  font-weight: 800;
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.feature-stats > div {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 22px 18px;
  display: grid; gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.feature-stats > div::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms cubic-bezier(.2,.8,.2,1);
}
.feature-stats > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sky);
  border-color: var(--sky-soft);
}
.feature-stats > div:hover::after { transform: scaleX(1); }
.feature-stats strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--sky-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-stats span {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* Film-Art-AX blueprint (light variant) */
.plate-blueprint {
  position: relative;
  width: 100%; height: 100%;
  background:
    linear-gradient(180deg, #eef6fb 0%, #d8eef9 100%);
  overflow: hidden;
}
.plate-blueprint::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45, 167, 224, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 167, 224, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.plate-blueprint .iso {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.plate-blueprint svg {
  width: 78%; height: 78%;
  stroke: var(--sky-deep);
  stroke-width: 1;
  fill: none;
  filter: drop-shadow(0 4px 12px rgba(45, 167, 224, 0.32));
}
.plate-blueprint .stamp {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sky-deep);
  border: 1px solid rgba(45, 167, 224, 0.4);
  padding: 4px 8px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.plate-blueprint .bom {
  position: absolute; left: 14px; bottom: 44px; right: 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-top: 1px solid rgba(45, 167, 224, 0.32);
  padding-top: 10px;
}
.plate-blueprint .bom span:nth-child(3n+2) { color: var(--sky-deep); font-weight: 600; }

/* ============================================================
   AX operating model
   ============================================================ */

.ax-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  margin-bottom: clamp(16px, 2.5vw, 32px);
  align-items: end;
}
.ax-head h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  letter-spacing: -0.025em;
}
.ax-head p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  max-width: 48ch;
}

/* Top progress rail */
.ax-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-bottom: 32px;
  padding: 0 6%;
  height: 22px;
}
.ax-rail-line {
  position: absolute; inset: auto 6% auto 6%; top: 50%;
  height: 4px;
  border-radius: 2px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(45, 167, 224, 0) 4%,
      #6ed8ff 14%,
      #2da7e0 50%,
      #6ed8ff 86%,
      rgba(45, 167, 224, 0) 96%,
      transparent 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px rgba(13, 74, 125, 0.45),
    0 4px 10px rgba(45, 167, 224, 0.30);
  transform: translateY(-50%);
}
.ax-rail-dot {
  width: 16px; height: 16px; border-radius: 50%;
  justify-self: center;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #d8eef9 30%, #6ed8ff 70%, #1786c0 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -1px 2px rgba(6, 34, 60, 0.45),
    0 3px 6px rgba(13, 74, 125, 0.30),
    0 0 0 2px rgba(255, 255, 255, 0.9);
}
.ax-rail-dot.is-active {
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #6ed8ff 30%, #2da7e0 60%, #0a3a64 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(6, 34, 60, 0.55),
    0 4px 10px rgba(45, 167, 224, 0.50),
    0 0 0 2px #ffffff,
    0 0 0 6px rgba(45, 167, 224, 0.18);
}

.ax-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  perspective: 1400px;
}
.ax-step {
  position: relative;
  transform-style: preserve-3d;
}
.ax-card {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px 26px 26px;
  display: grid;
  gap: 18px;
  height: 100%;
  /* Multi-layer 3D depth shadow stack */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(45, 167, 224, 0.10),
    0 1px 2px rgba(10, 20, 40, 0.04),
    0 8px 18px rgba(13, 74, 125, 0.08),
    0 22px 44px rgba(13, 74, 125, 0.07);
  overflow: visible;
  isolation: isolate;
  transition: transform 480ms cubic-bezier(.2,.8,.2,1),
              box-shadow 480ms ease, border-color 380ms ease;
}
.ax-card > * { position: relative; z-index: 1; }
.ax-step::before {
  /* Floor reflection plinth — soft sky shadow under the floating card */
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: -10px;
  height: 14px;
  background: radial-gradient(ellipse 80% 100% at 50% 50%,
    rgba(45, 167, 224, 0.35) 0%, rgba(45, 167, 224, 0) 75%);
  filter: blur(6px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 480ms ease, transform 480ms ease;
}
.ax-step:hover::before {
  opacity: 1;
  transform: translateY(2px) scaleX(1.08);
}
.ax-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
}
.ax-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%,
      rgba(45, 167, 224, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 380ms ease;
  z-index: -1;
}
.ax-step:hover .ax-card {
  transform: translateY(-10px);
  border-color: var(--sky-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(45, 167, 224, 0.18),
    0 2px 4px rgba(10, 20, 40, 0.06),
    0 16px 32px rgba(13, 74, 125, 0.14),
    0 34px 64px rgba(45, 167, 224, 0.18);
}
.ax-step:hover .ax-card::before { transform: scaleX(1); }
.ax-step:hover .ax-card::after { opacity: 1; }

.ax-card-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ax-kicker {
  color: var(--sky-deep);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.ax-kicker::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--sky);
  display: inline-block;
}
.ax-progress { color: var(--muted-soft); font-variant-numeric: tabular-nums; }

.ax-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 9vw, 124px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--sky-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: block;
  padding: 4px 0 8px;
  margin-top: -4px;
}
.ax-num-shadow {
  position: absolute;
  top: 4px; left: 0;
  -webkit-text-stroke: 1px rgba(45, 167, 224, 0.32);
  -webkit-text-fill-color: transparent;
  background: none;
  color: transparent;
  transform: translate(8px, 6px);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.ax-glyph {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%,
      rgba(216, 238, 249, 0.85) 0%, rgba(216, 238, 249, 0) 70%),
    linear-gradient(160deg, #ffffff 0%, #eaf5fb 100%);
  border: 1px solid rgba(45, 167, 224, 0.22);
  border-radius: 18px;
  position: relative;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(45, 167, 224, 0.12),
    0 6px 14px rgba(13, 74, 125, 0.10),
    0 1px 2px rgba(10, 20, 40, 0.08);
  transition: transform 480ms cubic-bezier(.2,.8,.2,1),
              border-color 380ms ease,
              box-shadow 380ms ease;
}
.ax-glyph::before {
  /* base plinth — adds 3D floor under the iso illustration */
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: 4px;
  height: 8px;
  background: radial-gradient(ellipse 80% 100% at 50% 50%,
    rgba(13, 74, 125, 0.22) 0%, rgba(13, 74, 125, 0) 70%);
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}
.ax-glyph svg {
  width: 72px; height: 72px;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(13, 74, 125, 0.18));
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
}
.ax-step:hover .ax-glyph {
  border-color: var(--sky);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(45, 167, 224, 0.18),
    0 14px 28px rgba(45, 167, 224, 0.22),
    0 4px 8px rgba(10, 20, 40, 0.10);
}
.ax-step:hover .ax-glyph svg {
  transform: translateY(-3px) rotate(-2deg);
}

.ax-card h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.ax-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.ax-tags {
  list-style: none; margin: 0; padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ax-tags li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-pale);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ============================================================
   Proof — partners + marquee
   ============================================================ */

.proof {
  padding: clamp(24px, 3vw, 44px) 0 clamp(28px, 3.5vw, 52px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  position: relative;
}
.proof::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 0%,
      rgba(45, 167, 224, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.proof-head {
  padding: 0 var(--gutter);
  margin-bottom: 36px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
}
.proof-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.proof-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.proof-head .meta::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--sky);
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sky-glow);
}

/* Partners strip — proper badge row */
.partners {
  padding: 0 var(--gutter);
  margin: 0 auto 48px;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.partner {
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px 20px 22px;
  display: grid; gap: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1),
              box-shadow 320ms ease, border-color 320ms ease;
}
.partner-logo {
  height: 56px;
  display: flex; align-items: center; justify-content: flex-start;
  margin: 0 0 10px;
  gap: 10px;
  position: relative;
}
.partner-logo img {
  max-height: 30px;
  max-width: 80%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.partner-logo--mark img {
  max-height: 40px;
  max-width: 40px;
  border-radius: 8px;
}
.partner-logo--nvidia img {
  max-height: 28px;
  max-width: 36px;
}
.partner-logo-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #76B900;
  background: rgba(118, 185, 0, 0.10);
  border: 1px solid rgba(118, 185, 0, 0.32);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}
.partner::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad-sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms cubic-bezier(.2,.8,.2,1);
}
.partner:hover {
  transform: translateY(-4px);
  border-color: var(--sky-soft);
  box-shadow: var(--shadow-sky);
}
.partner:hover::after { transform: scaleX(1); }
.partner-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 600;
}
.partner-name {
  font-family: var(--kr-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.partner-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
}

.marquee {
  display: flex;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center;
  gap: 56px;
  padding-right: 56px;
  animation: marquee 64s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.marquee-logo {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.92;
  transition: opacity 200ms ease, transform 200ms ease;
}
.marquee-logo:hover { opacity: 1; transform: translateY(-1px); }
.marquee-logo.is-tall { height: 44px; }
.marquee-logo.is-mark { height: 30px; }
.marquee-item .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--sky-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-item .label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.marquee-item .word {
  font-family: var(--kr-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.marquee-sep {
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--sky-glow);
}

/* ============================================================
   Contact
   ============================================================ */

.contact {
  text-align: left;
  padding: clamp(24px, 3vw, 44px) var(--gutter);
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%,
      rgba(45, 167, 224, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%,
      rgba(110, 216, 255, 0.10) 0%, transparent 60%),
    var(--mist);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 20, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 40, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image:
    radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image:
    radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact h2 {
  font-family: var(--kr-serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
  word-break: keep-all;
}
.contact .contact-mail {
  display: inline-flex; align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  background: linear-gradient(135deg, var(--ink), var(--sky-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  transition: border-color 220ms ease;
}
.contact .contact-mail:hover { border-bottom-color: var(--sky); }
.contact .contact-mail .arrow {
  transition: transform 220ms ease;
  -webkit-text-fill-color: var(--sky-deep);
  color: var(--sky-deep);
}
.contact .contact-mail:hover .arrow { transform: translateX(8px); }
.contact-meta {
  margin-top: 20px;
  display: grid; gap: 4px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Footer — light variant
   ============================================================ */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: clamp(20px, 2.5vw, 36px) var(--gutter);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px 32px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.footer-logo {
  height: 160px; width: 160px;
  display: block;
  opacity: 1;
  margin: -18px 0 -8px -14px; /* trim the JPG's centered whitespace visually */
  object-fit: contain;
  mix-blend-mode: multiply; /* white JPG bg disappears on white footer */
}
.footer-brand-name {
  font-family: var(--kr-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
  margin: 0;
}
.footer-brand-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.footer-grid h4 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 6px;
}
.footer-grid li, .footer-grid p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  font-weight: 400;
}
.footer-grid li a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}
.footer-grid li a:hover {
  color: var(--sky-deep);
  border-bottom-color: var(--sky);
}
.footer-bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

/* ============================================================
   Reveal animation
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1),
              transform 700ms cubic-bezier(.2,.8,.2,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

[data-counter] { font-variant-numeric: tabular-nums; }

/* Tilt-ready cards (JS adds parallax tilt on pointer move) */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-orb { justify-self: end; width: clamp(140px, 26vw, 200px); }
  .filmrow-head {
    grid-template-columns: 48px 1.4fr 1.8fr 90px 60px;
    gap: 18px;
  }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-plate { order: 0; }
  .ax-head, .manifesto, .contact-inner { grid-template-columns: 1fr; }
  .manifesto-3d { aspect-ratio: 5 / 4; max-width: 480px; justify-self: center; width: 100%; }
  .ax-steps { grid-template-columns: 1fr; gap: 16px; }
  .ax-rail { display: none; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet → mobile transition */
@media (max-width: 880px) {
  .timecode { display: none; }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    height: 56px;
  }
  .site-nav {
    justify-self: end;
    gap: 12px;
    overflow-x: auto;
    font-size: 11px;
    max-width: 60vw;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
  .lang-toggle {
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .brand-logo { height: 22px; }

  .hero { padding: 72px var(--gutter) 64px; height: auto; min-height: 100svh; }
  .hero-inner { justify-content: space-between; gap: 28px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-orb { display: none; }
  .hero-subline {
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 0.14em;
    align-self: flex-start;
  }
  .hero-scroll-cue { bottom: 18px; font-size: 9px; gap: 6px; }
  .hero-scroll-cue__rail { width: 18px; height: 28px; }
  /* Wordmark — keep it inside the viewport on small screens */
  .wordmark {
    font-size: clamp(56px, 14vw, 96px);
    flex-wrap: wrap;
    row-gap: 0.05em;
  }
  .wordmark .zeros {
    width: 1.7em;
    height: 0.92em;
  }
  .hero-tagline { font-size: clamp(20px, 5.4vw, 26px); }

  /* Manifesto headline — pull the offset shadow back so it doesn't clip */
  .manifesto-headline { font-size: clamp(34px, 9.2vw, 52px); }
  .manifesto-headline .m-shadow { transform: translate(5px, 5px); }
  .manifesto-headline .m-line-sub { font-size: 0.5em; margin-top: 12px; }
  .manifesto-stack li { grid-template-columns: 1fr; gap: 4px; }
  .manifesto-stack span { padding-top: 0; }

  .filmrow-head {
    grid-template-columns: 40px 1fr 56px;
    grid-template-areas:
      "num name toggle"
      "num desc toggle";
    align-items: center;
    row-gap: 8px;
  }
  .filmrow-num { grid-area: num; align-self: start; padding-top: 4px; font-size: 22px; }
  .filmrow-name { grid-area: name; }
  .filmrow-name .product { font-size: clamp(22px, 6.4vw, 32px); }
  .filmrow-desc { grid-area: desc; font-size: 13.5px; line-height: 1.55; }
  .filmrow-year { display: none; }
  .filmrow-toggle { grid-area: toggle; align-self: start; padding-top: 8px; }
  .filmrow-toggle span:first-child { display: none; }
  .filmrow-content { grid-template-columns: 1fr; gap: 18px; }
  .filmrow-plate { max-width: none; aspect-ratio: 16 / 10; }
  .filmrow-detail { grid-template-columns: 1fr; gap: 22px; }
  .filmrow-detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .filmrow-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .feature-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .feature-stats > div:nth-child(3) { grid-column: span 2; }
  .feature-stats > div { padding: 16px 14px; }

  .manifesto-3d { display: none; }

  .ax-num { font-size: clamp(56px, 18vw, 88px); }
  .ax-card { padding: 22px 20px 22px; }

  /* Proof — partners go from 1col to 2col, keep last centered */
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .partner { padding: 16px 14px 18px; }
  .partner:last-child { grid-column: span 2; }
  .partner-name { font-size: 17px; }
  .partner-logo { height: 44px; }

  .proof-head { flex-direction: column; align-items: flex-start; }
  .marquee-track { gap: 36px; padding-right: 36px; }
  .marquee-item { gap: 10px; }
  .marquee-item .num { font-size: 40px; }
  .marquee-item .word { font-size: 18px; }
  .marquee-logo { height: 24px; }
  .marquee-logo.is-tall { height: 30px; }
  .marquee-logo.is-mark { height: 22px; }

  .contact { padding: 24px var(--gutter) 28px; }
  .contact-inner { gap: 24px; }
  .contact h2 { font-size: clamp(26px, 6.8vw, 34px); max-width: none; line-height: 1.25; }
  .contact .contact-mail { font-size: clamp(18px, 5.4vw, 24px); padding: 8px 0; }
  .contact-meta { margin-top: 14px; font-size: 11px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer-logo { height: 96px; width: 96px; margin: -10px 0 -4px -8px; }
}

/* Mobile — drop nav, keep brand + toggle (single-page anchors aren't critical here) */
@media (max-width: 480px) {
  .site-header { gap: 8px; padding: 0 14px; }
  .site-nav { display: none; }
  .lang-toggle { padding: 4px 8px; font-size: 10px; }
  .brand-logo { height: 22px; }
}

/* Tiny phones — extra trim */
@media (max-width: 360px) {
  .lang-toggle .lang-sep { display: none; }
  .lang-toggle { gap: 6px; padding: 4px 7px; }
  .brand-logo { height: 20px; }
  .wordmark { font-size: clamp(48px, 14vw, 84px); }
  .hero { padding-top: 72px; }
  .filmrow-meta { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .partner:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero::before { animation: none; }
  .hero-orb .orb-rotor { animation: none; }
  .wordmark .zeros .zeros-stack { animation: none; transform: none; }
  .wordmark .zeros .zeros-spark { display: none; }
}
