/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--glyph-h, 240px) + 118px) 0 40px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg) 82%); pointer-events: none; }
.hero-glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 45% at 50% 34%, rgba(79, 143, 209, .10), transparent 70%), radial-gradient(40% 35% at 70% 30%, rgba(212, 115, 95, .07), transparent 70%); }
.hero-copy { text-align: center; }
.hero h1 { margin: 16px auto 10px; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 780; max-width: 1000px; text-wrap: balance; }

.hero .tagline { color: var(--text-2); font-size: clamp(16px, 1.7vw, 20px); max-width: 760px; margin: 0 auto 26px; text-wrap: balance; }
.authors { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0 auto 8px; padding: 0; max-width: 980px; font-size: 16px; font-weight: 600; }
.authors sup, .affils sup { font-size: .68em; color: var(--muted); font-weight: 600; margin-left: 1px; }
.affils { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; color: var(--text-2); font-size: 14px; margin: 0 auto 6px; max-width: 980px; }
.corr { color: var(--muted); font-size: 12.5px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-cap { position: absolute; left: 50%; transform: translateX(-50%); top: calc(var(--glyph-h, 240px) + 92px); width: min(100% - 32px, 760px); text-align: center; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.hero-cap i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 3px 0 8px; vertical-align: 0; }


/* stats strip */
.stats { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 18px; background: rgba(14, 21, 36, .72); backdrop-filter: blur(8px); overflow: hidden; }
.stat { padding: 20px 20px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-v { font-size: clamp(22px, 2.4vw, 30px); font-weight: 780; letter-spacing: -.02em; line-height: 1.1; }
.stat-v .arrow { color: var(--muted); font-weight: 500; margin: 0 4px; }
.stat-v .to { color: var(--supply); }
.stat-l { color: var(--text-2); font-size: 13px; margin-top: 6px; line-height: 1.4; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat { border-top: 1px solid var(--line); } .stat:nth-child(odd) { border-left: 0; } .stat:nth-child(-n+2) { border-top: 0; } .stat:last-child { grid-column: 1 / -1; } }

/* film + abstract */
.film { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: contain; }
.abstract { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-top: 56px; }
.abstract p { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.75; }
.abstract p strong { color: var(--text); font-weight: 650; }
@media (max-width: 760px) { .abstract { grid-template-columns: 1fr; gap: 10px; } }

/* null-space demo */
.ns { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.ns-stage { padding: 20px; }
.ns-svg { width: 100%; height: auto; aspect-ratio: 760 / 400; }
.ns-panel { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.ns-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ns-readout div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ns-readout b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.ns-readout span { color: var(--muted); font-size: 12px; }
.range { width: 100%; accent-color: var(--demand); }
.range-row { display: grid; gap: 6px; }
.range-row .lab { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.energy { margin-top: 36px; padding: 24px; }
.energy h3 { margin: 0 0 4px; font-size: 18px; }
.ebar { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 14px; margin-top: 14px; font-size: 14px; }
.ebar-track { position: relative; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ebar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.ebar-fill.base { background: var(--baseline); }
.ebar-fill.sadl { background: var(--supply); }
.ebar .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
@media (max-width: 900px) { .ns { grid-template-columns: 1fr; } .ebar { grid-template-columns: 110px 1fr 56px; } }

/* method */
.flow { padding: 22px; margin-bottom: 28px; overflow-x: auto; }
.flow svg { min-width: 720px; width: 100%; height: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; }
.step .idx { font: 600 12px var(--mono); color: var(--muted); letter-spacing: .1em; }
.step h3 { margin: 8px 0 8px; font-size: 20px; }
.step p { margin: 0 0 14px; color: var(--text-2); font-size: 15px; }
.step .eq { font-family: var(--serif); font-size: 21px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); text-align: center; }
.step.demand { border-top: 2px solid var(--demand); }
.step.supply { border-top: 2px solid var(--supply); }
.step.gate { border-top: 2px solid #eef2f8; }
.objective { margin-top: 16px; padding: 26px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.objective .eq-big { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.gate-plot { width: 100%; height: auto; aspect-ratio: 520 / 260; }
@media (max-width: 900px) { .steps, .objective { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--glyph-h, 120px) + 112px); }
  .hero-cap { top: calc(var(--glyph-h, 120px) + 84px); font-size: 11px; }
}

.gate-read { margin: 6px 0 0; font-size: 14px; color: var(--text-2); text-align: center; min-height: 1.5em; }

.authors .author-break { flex-basis: 100%; height: 0; padding: 0; margin: 0; }
.authors { max-width: 1100px; }

.step .eq math { font-size: 1.05em; }

.pillars { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin: 14px auto 30px; padding: 0; max-width: 1240px; }
.pillars li { font-size: clamp(16px, 1.5vw, 21px); font-weight: 750; letter-spacing: -.01em; color: var(--text); padding: 0 18px; }
.pillars li + li { border-left: 2px solid var(--supply); }
@media (max-width: 720px) { .pillars li { padding: 0 10px; } .pillars li + li { border-left-width: 1.5px; } }
.pillars:has(+ .pillars-2) { margin-bottom: 8px; }
.pillars-2 { margin-top: 0; }
.pillars-2 li { color: var(--supply); }
.pillars-2 li + li { border-left-color: var(--text-2); }
.pillars li { color: var(--supply); }
.pillars li + li { border-left-color: var(--text-2); }
.pillars-2 li { color: var(--demand); }
