/* ============================================================
   Cerebras CS-4 — concept landing page
   Dark, precise, engineering-driven. Inter Variable + mono labels.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-deep: #060606;
  --surface: #101010;
  --surface-2: #141414;
  --line: #232323;
  --line-soft: #1a1a1a;
  --text: #f2f2f0;
  --text-dim: #a3a3a0;
  --text-faint: #6b6b68;
  --orange: #f24e1e;
  --orange-hi: #ff6a3d;
  --orange-soft: rgba(242, 78, 30, 0.14);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; margin: 0; font-weight: 640; }

h2 { font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 24px; }
h3 { font-size: clamp(19px, 2vw, 23px); }

p { margin: 0 0 1em; }

sup { font-size: 0.62em; letter-spacing: 0; }
sup a { color: var(--orange-hi); text-decoration: none; padding: 2px 1px; }
sup a:hover { text-decoration: underline; }
sup + sup a { margin-left: 1px; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap-narrow { max-width: 860px; }

.section { padding: clamp(90px, 12vh, 150px) 0; position: relative; }
.section-deep { background: var(--bg-deep); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange-hi);
  margin-bottom: 22px;
}
.kicker-light { color: #ffb59d; }

.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-dim); max-width: 720px; margin-bottom: 56px; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--orange), #ffb08a);
}

/* ---------- announcement ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 16px;
  background: var(--orange-soft);
  border-bottom: 1px solid rgba(242, 78, 30, 0.25);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: #ffd9c9; text-align: center; flex-wrap: wrap;
}
.announce a { color: var(--orange-hi); text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange-hi);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 10, 10, 0.88); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 64px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-word { font-weight: 560; font-size: 19px; letter-spacing: -0.02em; }
.brand-sep { width: 1px; height: 18px; background: var(--line); margin: 0 3px; }
.brand-product {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--orange-hi); border: 1px solid rgba(242,78,30,0.4);
  padding: 3px 8px; border-radius: 4px;
}
.nav-links a.nav-cta-mobile { display: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; color: var(--text-dim);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--orange-hi); transition: width 0.25s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-links { margin-left: auto; }
.nav-actions { margin-left: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px;
  background: var(--orange); color: #fff;
  font-weight: 580; font-size: 15.5px; letter-spacing: -0.01em;
  border: 1px solid var(--orange); border-radius: 8px;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn:hover { background: var(--orange-hi); border-color: var(--orange-hi); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(242,78,30,0.32); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: #3a3a3a; }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: #555; box-shadow: none; }
.btn-small { min-height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex; flex-direction: column;
  padding: clamp(48px, 8vh, 96px) 0 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 42% at 78% 30%, rgba(242, 78, 30, 0.16), transparent 70%),
    radial-gradient(38% 32% at 18% 12%, rgba(242, 78, 30, 0.07), transparent 70%);
}
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); position: relative; z-index: 2; width: 100%; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(44px, 8.4vw, 108px);
  font-weight: 660; letter-spacing: -0.042em; line-height: 0.98;
  margin-bottom: 28px;
}
.hero-title em { font-style: normal; color: var(--orange-hi); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub { max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--text-dim); }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.hero-stage {
  position: relative; z-index: 1;
  margin-top: clamp(20px, 4vh, 48px);
  display: flex; justify-content: center;
  padding: 0 clamp(16px, 4vw, 48px);
}
.hero-racks {
  width: min(880px, 88vw);
  filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.65));
  will-change: transform;
}

.hero-stats {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: auto auto 0; width: 100%;
  padding: 28px clamp(20px, 4vw, 48px) 34px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(28px, 5vh, 56px);
}
.hstat-num {
  display: block;
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 640; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.hstat-label { font-size: 13px; color: var(--text-faint); line-height: 1.45; display: block; margin-top: 6px; }

.scroll-cue {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-faint);
}
.scroll-cue-text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue-line { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--orange-hi); animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { top: -50%; } 60%, 100% { top: 110%; } }

/* ---------- split layouts ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px);
  align-items: center; margin-top: 48px;
}
.split-rev .split-fig { order: 0; }
.split-text p { color: var(--text-dim); }
.split-text strong { color: var(--text); font-weight: 600; }
.split-fig { margin: 0; }
.split-fig img { border-radius: 10px; }
figcaption {
  margin-top: 14px; font-size: 13px; color: var(--text-faint); line-height: 1.5;
}
.fig-src { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: #55554f; display: inline-block; margin-left: 6px; }

.tick-list { list-style: none; margin: 26px 0 0; padding: 0; }
.tick-list li {
  position: relative; padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: 15.5px;
}
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--orange-hi); border-bottom: 2px solid var(--orange-hi);
  transform: rotate(-45deg);
}

/* ---------- spec grid ---------- */
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  margin-top: clamp(56px, 8vh, 90px);
  background: var(--surface);
}
.spec { padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec:nth-child(3n) { border-right: 0; }
.spec:nth-child(n+4) { border-bottom: 0; }
.spec-num {
  display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 640;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--orange-hi);
}
.spec-label { font-size: 13.5px; color: var(--text-faint); display: block; margin-top: 8px; line-height: 1.45; }

/* ---------- scale comparison ---------- */
.scale-compare {
  margin-top: clamp(56px, 9vh, 100px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(242, 78, 30, 0.07), transparent 65%),
    var(--surface);
}
.scale-head h3 { margin-bottom: 12px; }
.scale-head p { color: var(--text-dim); max-width: 640px; font-size: 15.5px; }
.scale-stage {
  position: relative; margin-top: 36px;
  display: flex; align-items: flex-end; gap: clamp(24px, 5vw, 72px);
  min-height: 300px;
}
.scale-wafer {
  width: min(46%, 420px); aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(242,78,30,0.85), rgba(255,150,60,0.55)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(0,0,0,0.35) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(0,0,0,0.35) 23px 24px);
  background-blend-mode: overlay;
  border: 1px solid rgba(255, 140, 80, 0.5); border-radius: 6px;
  display: flex; align-items: flex-end; padding: 14px;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1.1s var(--ease-out);
}
.scale-wafer span, .scale-gpu span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.scale-gpu {
  width: 32px; aspect-ratio: 1;
  background: #3c3c3c; border: 1px solid #555; border-radius: 2px;
  position: relative;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1.1s var(--ease-out) 0.35s;
}
.scale-gpu span { position: absolute; left: 0; top: -26px; white-space: nowrap; color: var(--text-faint); text-shadow: none; }
.scale-compare.is-inview .scale-wafer, .scale-compare.is-inview .scale-gpu { transform: scaleY(1); }
.scale-foot { margin-top: 22px; font-size: 12.5px; color: var(--text-faint); font-family: var(--mono); letter-spacing: 0.03em; }

/* ---------- explorer ---------- */
.explorer {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface);
  padding: clamp(20px, 3vw, 44px);
  margin-bottom: clamp(56px, 9vh, 100px);
}
.explorer-stage { position: relative; }
.explorer-stage img { width: 100%; border-radius: 10px; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y);
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.hotspot span {
  position: absolute; inset: 10px; border-radius: 50%;
  background: var(--orange); border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 0 6px rgba(242, 78, 30, 0.22);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.hotspot::after {
  content: ""; position: absolute; inset: 10px; border-radius: 50%;
  border: 1px solid rgba(242, 78, 30, 0.7);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.hotspot:hover span, .hotspot:focus-visible span, .hotspot.is-active span {
  transform: scale(1.25);
  box-shadow: 0 0 0 9px rgba(242, 78, 30, 0.3);
}
.hotspot.is-active span { background: var(--orange-hi); }
.explorer-panel { min-height: 300px; }
.explorer-tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange-hi); margin-bottom: 14px;
}
.explorer-panel h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.explorer-panel > p { color: var(--text-dim); font-size: 15.5px; }
.explorer-facts { list-style: none; margin: 18px 0 0; padding: 0; }
.explorer-facts li {
  padding: 9px 0 9px 22px; position: relative;
  border-top: 1px solid var(--line-soft); font-size: 14.5px; color: var(--text-dim);
}
.explorer-facts li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--orange);
}
.explorer-panel.is-switching { animation: panelIn 0.4s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface);
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.35s var(--ease-out);
}
.pillar:hover { border-color: #383838; transform: translateY(-4px); }
.pillar figure { margin: 0; }
.pillar figure img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.pillar-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.pillar-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange-hi); margin-bottom: 12px;
}
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--text-dim); font-size: 14.5px; }
.pillar strong { color: var(--text); font-weight: 600; }
.mini-facts { list-style: none; margin: auto 0 0; padding: 16px 0 0; }
.mini-facts li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--text-faint); padding: 7px 0; border-top: 1px solid var(--line-soft);
}
.mini-facts li::before { content: "— "; color: var(--orange); }

.power-visual {
  padding: 30px 24px; background: var(--bg-deep);
  border-bottom: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 22px; justify-content: center;
}
.power-row { display: flex; flex-direction: column; gap: 8px; }
.power-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.power-label-cs { color: var(--orange-hi); }
.power-bar { position: relative; height: 22px; background: #1b1b1b; border-radius: 4px; overflow: visible; }
.power-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--w);
  background: linear-gradient(90deg, #4a4a4a, #5e5e5e); border-radius: 4px;
  min-width: 3px;
  transition: width 1.4s var(--ease-out);
}
.power-fill-cs { background: linear-gradient(90deg, var(--orange), var(--orange-hi)); }
.pillar:not(.is-inview) .power-fill { width: 0; }
.power-dist {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 11.5px; color: #ddd;
}

/* ---------- performance ---------- */
.chart-card {
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); padding: clamp(22px, 3.4vw, 44px);
  margin-bottom: clamp(40px, 6vh, 64px);
}
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.chart-head h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.chart-legend { display: flex; gap: 18px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); letter-spacing: 0.06em; }
.legend-swatch { width: 12px; height: 12px; border-radius: 3px; }
.swatch-gpu { background: #4a4a4a; }
.swatch-cs { background: linear-gradient(135deg, var(--orange), var(--orange-hi)); }

.chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(8px, 1.6vw, 20px); align-items: end; }
.chart-group { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-width: 0; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: clamp(170px, 26vw, 300px); position: relative; }
.chart-bar { flex: 1; border-radius: 3px 3px 0 0; position: relative; min-width: 6px; transform-origin: bottom; }
.chart-bar.gpu { background: #434343; }
.chart-bar.cs { background: linear-gradient(180deg, #ff8a50, var(--orange)); }
.chart-card:not(.is-inview) .chart-bar { transform: scaleY(0); }
.chart-card.is-inview .chart-bar { animation: barGrow 0.9s var(--ease-out) both; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart-tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
  background: #1e1e1e; border: 1px solid #333; border-radius: 6px;
  padding: 5px 9px; font-family: var(--mono); font-size: 11.5px; white-space: nowrap;
  color: var(--text); opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s;
  z-index: 5;
}
.chart-bar:hover .chart-tip, .chart-bar:focus-visible .chart-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.chart-bar { cursor: default; }
.chart-bar:hover { filter: brightness(1.18); }
.chart-name { font-family: var(--mono); font-size: clamp(9px, 1vw, 11.5px); letter-spacing: 0.02em; color: var(--text-dim); text-align: center; line-height: 1.35; min-height: 2.7em; }
.chart-src { margin-top: 20px; font-size: 12.5px; color: var(--text-faint); line-height: 1.55; }

.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: clamp(48px, 7vh, 80px); }
.perf-cell { border-top: 1px solid var(--line); padding-top: 24px; }
.perf-num {
  display: block; font-size: clamp(36px, 4.4vw, 58px); font-weight: 640;
  letter-spacing: -0.035em; color: var(--orange-hi);
  font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.perf-cell h3 { margin-bottom: 10px; font-size: 18px; }
.perf-cell p { color: var(--text-dim); font-size: 14.5px; }
.perf-cell strong { color: var(--text); font-weight: 600; }

.wide-fig { margin: 0; }
.wide-fig img { border-radius: 12px; border: 1px solid var(--line); }

/* ---------- scale banner ---------- */
.scale-banner {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}
.scale-banner-img {
  position: absolute; inset: -12% 0; width: 100%; height: 124%;
  object-fit: cover; opacity: 0.5; will-change: transform;
}
.scale-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,6,6,0.92) 8%, rgba(6,6,6,0.55) 55%, rgba(6,6,6,0.25));
}
.scale-banner-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(110px, 18vh, 200px) clamp(20px, 4vw, 48px);
}
.scale-banner h2 { max-width: 620px; }
.scale-banner p { max-width: 560px; color: #c9c9c6; }
.scale-banner-stats {
  display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap;
  margin-top: clamp(36px, 6vh, 60px);
}
.scale-banner-stats .hstat-num { color: var(--orange-hi); }

/* ---------- workloads ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: clamp(48px, 7vh, 80px); }
.work-card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.25s, transform 0.35s var(--ease-out);
}
.work-card:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.work-card h3 { margin-bottom: 12px; }
.work-card p { color: var(--text-dim); font-size: 15px; margin: 0; }
.work-card strong { color: var(--text); }

.big-quote {
  margin: 0 0 22px; padding: clamp(26px, 3.6vw, 44px);
  border-left: 3px solid var(--orange); background: var(--surface);
  border-radius: 0 14px 14px 0;
}
.big-quote p { font-size: clamp(18px, 2.3vw, 24px); letter-spacing: -0.02em; line-height: 1.45; font-weight: 520; }
.big-quote cite { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.04em; }
.quote-attr { color: var(--text-faint); font-size: 0.85em; }

/* ---------- numbers table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: clamp(18px, 2.6vw, 32px); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
}
.spec-table thead th {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 500;
}
.th-sub { color: #4c4c49; }
.spec-table tbody th { font-weight: 560; color: var(--text-dim); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td { font-variant-numeric: tabular-nums; font-weight: 560; }
.td-hl { color: var(--orange-hi); }
.table-wrap .chart-src { margin-bottom: 0; }
.availability {
  margin-top: 26px; font-size: 16px; color: var(--text-dim);
  display: flex; align-items: center; gap: 10px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-hi); animation: pulse 2.4s ease-in-out infinite; }

/* ---------- FAQ ---------- */
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-size: clamp(16.5px, 2vw, 19.5px); font-weight: 580;
  letter-spacing: -0.015em; min-height: 44px;
  transition: color 0.2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--orange-hi); }
.acc-icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--orange-hi);
  transition: transform 0.3s var(--ease-out);
}
.acc-icon::before { left: 0; right: 0; top: 8px; height: 2px; }
.acc-icon::after { top: 0; bottom: 0; left: 8px; width: 2px; }
details[open] .acc-icon::after { transform: scaleY(0); }
.acc-body { overflow: hidden; }
.acc-body p {
  padding: 0 4px 24px; margin: 0; max-width: 680px;
  color: var(--text-dim); font-size: 15.5px;
}
details[open] .acc-body { animation: accIn 0.35s var(--ease-out); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); }
.cta-bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hex-texture.webp") center / cover no-repeat;
  opacity: 0.6;
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 100%, rgba(242, 78, 30, 0.16), transparent 70%);
}
.cta-inner { position: relative; z-index: 2; text-align: center; padding-top: clamp(100px, 15vh, 170px); padding-bottom: clamp(100px, 15vh, 170px); }
.cta h2 { font-size: clamp(34px, 5.6vw, 66px); }
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 36px; }
.cta .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 64px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; margin-bottom: 52px; }
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 320px; }
.footer-brand p { font-size: 13.5px; color: var(--text-faint); margin: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--text); }

.sources { border-top: 1px solid var(--line-soft); padding-top: 36px; margin-bottom: 44px; }
.sources-title { font-size: 15px; font-family: var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; font-weight: 500; }
.sources ol { margin: 0; padding-left: 22px; }
.sources li { font-size: 13px; color: var(--text-faint); line-height: 1.65; margin-bottom: 10px; }
.sources a { color: var(--text-dim); }
.sources a:hover { color: var(--orange-hi); }
.sources-note { margin-top: 18px; font-size: 12.5px; color: #555550; max-width: 720px; }

.footer-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); padding-top: 26px;
}
.footer-base p { font-size: 12.5px; color: #555550; margin: 0; }
.to-top { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.to-top:hover { color: var(--text); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-inview { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }

.float-slow { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { flex-direction: row; }
  .pillar figure, .pillar .power-visual { width: 42%; flex: none; }
  .pillar figure img { height: 100%; aspect-ratio: auto; }
  .perf-grid { grid-template-columns: 1fr 1fr; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-panel { min-height: 0; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    background: #080808;
    border-bottom: 1px solid var(--line);
    padding: 8px clamp(20px, 4vw, 48px) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease-out);
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); min-height: 44px; }
  .nav-links a::after { display: none; }
  .nav-links a.nav-cta-mobile { display: inline-flex; margin-top: 18px; border-bottom: 1px solid var(--orange); }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .nav-inner { gap: 14px; }

  .split { grid-template-columns: 1fr; }
  .split-rev .split-fig { order: -1; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(3n) { border-right: 1px solid var(--line); }
  .spec:nth-child(2n) { border-right: 0; }
  .spec:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .spec:nth-child(n+5) { border-bottom: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .chart { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pillar { flex-direction: column; }
  .pillar figure, .pillar .power-visual { width: 100%; }
  .perf-grid { grid-template-columns: 1fr; }
  .chart { grid-template-columns: repeat(2, 1fr); }
  .chart-bars { height: 180px; }
  .scale-stage { min-height: 220px; }
  .scale-wafer { width: 60%; }
  .cta .hero-ctas .btn { width: 100%; }
  .footer-base { flex-direction: column; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; animation: none; }
  .chart-card:not(.is-inview) .chart-bar { transform: none; }
  .scale-wafer, .scale-gpu { transform: none; }
  .pillar:not(.is-inview) .power-fill { width: var(--w); }
  .hero-racks, .scale-banner-img { transform: none !important; }
  .hotspot::after { display: none; }
}
