@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f3efe4;
  --paper-light: #fbf9f2;
  --ink: #111516;
  --ink-soft: #333a39;
  --line: rgba(17, 21, 22, 0.19);
  --red: #ed3d45;
  --green: #00a86b;
  --blue: #2769d8;
  --nir: #7246a6;
  --cyan: #7fd1d0;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --page: min(1480px, calc(100vw - 96px));
  --reading: 700px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 77% 8%, rgba(127, 209, 208, 0.12), transparent 25rem),
    repeating-linear-gradient(0deg, rgba(17, 21, 22, 0.018) 0, rgba(17, 21, 22, 0.018) 1px, transparent 1px, transparent 5px),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--paper-light);
  background: var(--ink);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.spectrum-field {
  position: absolute;
  z-index: 0;
  top: 260px;
  left: 51vw;
  width: 62vw;
  height: 580px;
  pointer-events: none;
  opacity: 0.55;
  transform: rotate(-8deg);
  transform-origin: left center;
}

.ray {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  box-shadow: 0 0 8px currentColor;
  transform-origin: left;
  animation: ray-in 1.6s var(--ease) both;
}

.ray-r { top: 44%; color: var(--red); transform: rotate(-5deg); }
.ray-g { top: 47%; color: var(--green); transform: rotate(-1.5deg); animation-delay: 80ms; }
.ray-b { top: 50%; color: var(--blue); transform: rotate(2deg); animation-delay: 160ms; }
.ray-n { top: 53%; color: var(--nir); transform: rotate(5.5deg); animation-delay: 240ms; }

@keyframes ray-in {
  from { opacity: 0; scale: 0 1; }
  to { opacity: 1; scale: 1 1; }
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 70px;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  background: rgba(243, 239, 228, 0.78);
  backdrop-filter: blur(16px);
  transition: border-color 250ms ease, background 250ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(243, 239, 228, 0.94);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand sup {
  color: var(--nir);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
}

.brand-prism {
  width: 15px;
  height: 18px;
  border: 1px solid var(--ink);
  background: linear-gradient(135deg, transparent 48%, rgba(127, 209, 208, 0.55) 49%);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2vw, 34px);
  align-items: center;
}

.site-nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  scale: 0 1;
  transform-origin: right;
  transition: scale 240ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  scale: 1 1;
  transform-origin: left;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 0.76fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  width: var(--page);
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 74px 0 100px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.eyebrow,
.kicker,
.section-number {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 56px;
  height: 1px;
  background: var(--ink);
}

.muted {
  color: #66706d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 34px;
  font-family: var(--display);
  font-size: clamp(52px, 5.5vw, 98px);
  font-weight: 500;
  line-height: 0.89;
  letter-spacing: -0.055em;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  margin: 0.1em 0;
  color: var(--nir);
  font-weight: 500;
}

.hero-deck {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 300;
  line-height: 1.6;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

.authors span:not(:last-child)::after {
  position: relative;
  left: 12px;
  color: var(--nir);
  content: "/";
  font-family: var(--mono);
  font-size: 10px;
}

.authors a {
  text-decoration: none;
  transition: color 180ms ease;
}

.authors a:hover,
.authors a:focus-visible {
  color: var(--nir);
  text-decoration: underline;
}

.authors sup {
  font-family: var(--mono);
  font-size: 8px;
}

.affiliation {
  margin-bottom: 32px;
  color: #58615f;
  font-size: 12px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--paper-light);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--nir);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.22);
}

.button-ghost:hover {
  color: white;
  border-color: var(--nir);
  background: var(--nir);
}

.button-text {
  border-color: transparent;
}

.hero-visual {
  position: relative;
  align-self: center;
}

.hero-figure {
  position: relative;
  padding: 42px 24px 20px;
  border: 1px solid var(--line);
  background: rgba(251, 249, 242, 0.75);
  box-shadow: 24px 28px 0 rgba(17, 21, 22, 0.055);
  transform: rotate(1.3deg);
}

.hero-figure img {
  width: 100%;
  mix-blend-mode: multiply;
}

.figure-index {
  position: absolute;
  top: 13px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prism-mark {
  position: absolute;
  right: -6%;
  bottom: -74px;
  width: 180px;
  height: 120px;
  transform: rotate(-12deg);
}

.prism-mark .glass {
  position: absolute;
  top: 15px;
  left: 52px;
  width: 78px;
  height: 90px;
  border: 1px solid rgba(17, 21, 22, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(127, 209, 208, 0.38));
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.prism-mark .incoming,
.prism-mark .outgoing {
  position: absolute;
  height: 1px;
  transform-origin: left;
}

.prism-mark .incoming {
  top: 69px;
  left: 0;
  width: 78px;
  background: var(--ink);
  transform: rotate(-5deg);
}

.prism-mark .outgoing {
  top: 57px;
  left: 112px;
  width: 72px;
  background: currentColor;
}

.prism-mark .r { color: var(--red); transform: rotate(-16deg); }
.prism-mark .g { color: var(--green); transform: rotate(-7deg); }
.prism-mark .b { color: var(--blue); transform: rotate(2deg); }
.prism-mark .n { color: var(--nir); transform: rotate(11deg); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 80px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--ink);
  content: "";
  animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(285%); }
}

.section-pad {
  width: var(--page);
  margin: 0 auto;
  padding-top: clamp(110px, 12vw, 190px);
  padding-bottom: clamp(110px, 12vw, 190px);
}

.section-number {
  margin-bottom: 78px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.fabrication h2,
.demo h2,
.citation h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.kicker {
  margin-bottom: 24px;
  color: var(--nir);
}

.overview {
  position: relative;
}

.overview::before {
  position: absolute;
  z-index: -1;
  top: 18%;
  right: -8vw;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(114, 70, 166, 0.15);
  border-radius: 50%;
  content: "";
}

.overview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px 9vw;
}

.overview-lead {
  align-self: end;
  max-width: 630px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 39px);
  line-height: 1.23;
}

.principles {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.principle {
  position: relative;
  min-height: 310px;
  padding: 36px 34px;
}

.principle + .principle {
  border-left: 1px solid var(--line);
}

.principle::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--accent, var(--red));
  content: "";
  scale: 0 1;
  transform-origin: left;
  transition: scale 500ms var(--ease);
}

.principle:hover::after {
  scale: 1 1;
}

.principle:nth-child(2) { --accent: var(--blue); }
.principle:nth-child(3) { --accent: var(--nir); }

.principle-id {
  display: block;
  margin-bottom: 60px;
  color: var(--accent, var(--red));
  font-family: var(--mono);
  font-size: 12px;
}

.principle h3 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
}

.principle p {
  max-width: 390px;
  margin-bottom: 0;
  color: #4d5553;
  font-size: 14px;
}

.optics {
  border-top: 1px solid var(--line);
}

.optics-intro,
.method-heading,
.results-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 9vw;
  align-items: end;
  margin-bottom: 90px;
}

.section-copy {
  max-width: 580px;
  margin-bottom: 6px;
  color: #4b5351;
  font-size: 18px;
  font-weight: 300;
}

.optics-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.6fr);
  border: 1px solid var(--ink);
  background: var(--paper-light);
}

.optics-figure {
  margin: 0;
  padding: 50px;
  border-right: 1px solid var(--line);
}

.optics-figure img {
  width: min(100%, 720px);
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.optics-figure figcaption,
.design-figure figcaption {
  display: flex;
  gap: 28px;
  margin-top: 35px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption-no {
  color: var(--nir);
}

.optics-notes {
  display: grid;
}

.optics-notes article {
  padding: 36px;
}

.optics-notes article + article {
  border-top: 1px solid var(--line);
}

.optics-notes span,
.step-index {
  color: var(--nir);
  font-family: var(--mono);
  font-size: 10px;
}

.optics-notes h3 {
  margin: 35px 0 10px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
}

.optics-notes p {
  margin-bottom: 0;
  color: #515956;
  font-size: 13px;
}

.design-spread {
  display: grid;
  grid-template-columns: minmax(340px, 0.68fr) minmax(0, 1.32fr);
  gap: 9vw;
  align-items: center;
  margin-top: 150px;
}

.design-figure {
  margin: 0;
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  transform: rotate(-1.2deg);
}

.design-figure img {
  max-height: 780px;
  margin: auto;
  mix-blend-mode: multiply;
}

.design-copy {
  max-width: 720px;
}

.design-copy h3 {
  margin-bottom: 30px;
  font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.design-copy > p:not(.kicker) {
  max-width: 590px;
  color: #4e5654;
  font-size: 17px;
}

.component-list {
  margin-top: 50px;
  border-top: 1px solid var(--ink);
}

.component-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.component-list dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.component-list dd {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
}

.fabrication {
  position: relative;
  overflow: hidden;
  color: #f3efe4;
  background:
    linear-gradient(110deg, rgba(114, 70, 166, 0.13), transparent 35%),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.035) 80px),
    #111516;
}

.fabrication::after {
  position: absolute;
  top: 130px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(127, 209, 208, 0.3);
  content: "";
  transform: rotate(45deg);
}

.fabrication-header {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 3vw 9vw;
  padding-bottom: 100px;
}

.fabrication-header .section-number {
  grid-column: 1 / -1;
  border-color: rgba(255, 255, 255, 0.25);
}

.fabrication-header .kicker {
  color: var(--cyan);
}

.fabrication-header h2 {
  grid-column: 1;
}

.fabrication-header > p:last-child {
  grid-column: 2;
  align-self: end;
  max-width: 570px;
  margin-bottom: 0;
  color: #aeb7b5;
  font-size: 18px;
  font-weight: 300;
}

.fabrication-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.22);
}

.fabrication-gallery figure {
  margin: 0;
  padding: 45px;
  background: #111516;
}

.fabrication-gallery img {
  width: 100%;
}

.fabrication-gallery figcaption {
  display: flex;
  gap: 30px;
  margin-top: 24px;
  color: #d3d9d7;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fabrication-gallery figcaption span {
  color: var(--cyan);
}

.pipeline-shell,
.results-figure-shell {
  border: 1px solid var(--ink);
  background: var(--paper-light);
}

.figure-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wide-figure-scroll {
  overflow-x: auto;
  padding: 38px;
  scrollbar-color: var(--nir) var(--paper);
  scrollbar-width: thin;
}

.wide-figure-scroll:focus-visible {
  outline: 2px solid var(--nir);
  outline-offset: -4px;
}

.wide-figure-scroll img {
  width: 100%;
  min-width: 920px;
  mix-blend-mode: multiply;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--ink);
}

.method-steps article {
  padding: 36px 34px 10px 0;
}

.method-steps article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.method-steps h3 {
  margin: 60px 0 13px;
  font-family: var(--display);
  font-size: 31px;
  font-weight: 600;
}

.method-steps p {
  color: #525a58;
  font-size: 14px;
}

.calibration-figure {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
  margin: 150px 0 0 12vw;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.calibration-figure img {
  mix-blend-mode: multiply;
}

.calibration-figure figcaption span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calibration-figure figcaption p {
  margin-top: 30px;
  color: #4e5654;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.25;
}

.results {
  width: 100%;
  max-width: none;
  padding-right: max(48px, calc((100vw - 1480px) / 2));
  padding-left: max(48px, calc((100vw - 1480px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(251, 249, 242, 0.58);
}

.metric-strip {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  margin-bottom: 100px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.metric {
  min-height: 270px;
  padding: 34px 28px;
}

.metric + .metric {
  border-left: 1px solid var(--line);
}

.metric-value {
  display: block;
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 70px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-value sup {
  color: var(--nir);
  font-size: 0.45em;
}

.metric-pair {
  font-size: clamp(30px, 2.8vw, 50px);
}

.metric-pair i {
  color: var(--nir);
  font-weight: 300;
}

.metric-unit {
  display: block;
  margin-top: 10px;
  color: var(--nir);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric p {
  max-width: 220px;
  margin: 80px 0 0;
  color: #4f5755;
  font-size: 13px;
}

.metric-feature {
  color: var(--paper-light);
  background: var(--ink);
}

.metric-feature .metric-unit,
.metric-feature p {
  color: var(--cyan);
}

.depth-comparison {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
  align-items: end;
  margin-top: 130px;
}

.comparison-copy h3 {
  margin-bottom: 25px;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.03;
}

.comparison-copy > p:last-child {
  color: #4e5654;
}

.bar-row {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  min-width: 0;
}

.bar-label {
  display: flex;
  min-height: 52px;
  flex-direction: column;
  gap: 7px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bar-label strong {
  font-weight: 500;
}

.bar-track {
  position: relative;
  height: clamp(150px, 23vw, 280px);
  background: rgba(17, 21, 22, 0.09);
}

.bar-track span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  min-width: 9px;
  height: var(--bar);
  background: var(--ink);
  transform-origin: bottom;
  transition: scale 1.2s var(--ease);
}

.bar-row.is-best .bar-label strong {
  color: var(--nir);
}

.bar-row.is-best .bar-track span {
  background: linear-gradient(90deg, var(--nir), var(--cyan));
}

.demo {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 8vw;
  align-items: center;
}

.demo-heading .section-number {
  border: 0;
  margin-bottom: 80px;
}

.demo-heading h2 {
  font-size: clamp(48px, 5vw, 82px);
}

.video-frame {
  position: relative;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  box-shadow: 30px 35px 0 rgba(17, 21, 22, 0.08);
}

.video-frame video {
  width: 100%;
  background: black;
}

.video-labels {
  display: flex;
  gap: 18px;
  padding: 0 0 12px;
  color: var(--paper-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.video-labels span:nth-child(1) { color: var(--red); }
.video-labels span:nth-child(2) { color: #d39ee7; }
.video-labels span:nth-child(3) { color: var(--cyan); }

.video-caption {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 0;
  color: #bdc6c3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.code {
  border-top: 1px solid var(--line);
}

.citation {
  width: 100%;
  max-width: none;
  padding-right: max(48px, calc((100vw - 1480px) / 2));
  padding-left: max(48px, calc((100vw - 1480px) / 2));
  color: var(--paper-light);
  background: var(--nir);
}

.citation .section-number {
  border-color: rgba(255, 255, 255, 0.35);
}

.citation-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 9vw;
}

.citation .kicker {
  color: var(--cyan);
}

.citation-copy > p:not(.kicker) {
  max-width: 500px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.73);
}

.citation-links {
  display: flex;
  gap: 30px;
  margin-top: 45px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bibtex-card {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(17, 21, 22, 0.2);
}

.bibtex-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bibtex-head button {
  padding: 0;
  color: white;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bibtex-card pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  padding: 34px;
  color: #f4f0e8;
  font-family: var(--mono);
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.72;
  white-space: pre-wrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding: 70px max(48px, calc((100vw - 1480px) / 2));
  color: #aeb7b5;
  background: var(--ink);
  font-size: 11px;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.site-footer > div p {
  color: var(--paper-light);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
}

.footer-mark {
  display: inline-block;
  width: 120px;
  height: 4px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--nir) 75%);
}

.footer-meta {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 110ms; }
.reveal[data-delay="2"] { transition-delay: 220ms; }
.reveal[data-delay="3"] { transition-delay: 330ms; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root {
    --page: calc(100vw - 64px);
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(50px, 6.5vw, 76px);
  }

  .optics-intro,
  .method-heading,
  .results-heading {
    gap: 6vw;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .calibration-figure {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --page: calc(100vw - 44px);
  }

  .site-header {
    padding: 0 22px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-toggle i,
  .menu-toggle i::after {
    width: 18px;
    height: 1px;
    background: var(--ink);
    transition: transform 240ms ease;
  }

  .menu-toggle i::after {
    display: block;
    content: "";
    transform: translateY(5px);
  }

  .menu-toggle[aria-expanded="true"] i {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] i::after {
    transform: rotate(-90deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 14vw;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transition: opacity 250ms ease, visibility 250ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: clamp(38px, 10vw, 68px);
    font-weight: 600;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-visual {
    width: 80%;
    margin: 20px 0 60px auto;
  }

  .spectrum-field {
    top: 590px;
    left: 25vw;
    width: 100vw;
  }

  .scroll-cue {
    display: none;
  }

  .overview-grid,
  .optics-intro,
  .method-heading,
  .results-heading,
  .fabrication-header,
  .design-spread,
  .depth-comparison,
  .demo,
  .citation-grid {
    grid-template-columns: 1fr;
  }

  .overview-lead {
    max-width: 100%;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
  }

  .principle + .principle {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principle-id {
    margin-bottom: 35px;
  }

  .optics-stage {
    grid-template-columns: 1fr;
  }

  .optics-figure {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .design-spread {
    margin-top: 100px;
  }

  .design-figure {
    width: min(100%, 580px);
  }

  .fabrication-header h2,
  .fabrication-header > p:last-child {
    grid-column: 1;
  }

  .fabrication-gallery {
    grid-template-columns: 1fr;
  }

  .fabrication-gallery figure + figure {
    border-top: 0;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-steps h3 {
    margin-top: 30px;
  }

  .calibration-figure {
    grid-template-columns: 1fr;
  }

  .calibration-figure img {
    min-height: 0;
    aspect-ratio: 1.55;
  }

  .calibration-figure figcaption {
    padding: 30px;
  }

  .results,
  .citation {
    padding-right: 22px;
    padding-left: 22px;
  }

  .demo {
    gap: 70px;
  }

  .demo-heading .section-number {
    margin-bottom: 60px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-right: 22px;
    padding-left: 22px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root {
    --page: calc(100vw - 32px);
  }

  body {
    font-size: 15px;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 61px);
  }

  h1 em {
    font-size: 0.87em;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    flex: 1 0 calc(50% - 6px);
  }

  .button-text {
    flex-basis: 100%;
    justify-content: flex-start;
    padding-left: 0;
  }

  .authors {
    display: block;
  }

  .authors span {
    display: block;
  }

  .authors span:not(:last-child)::after {
    content: none;
  }

  .hero-visual {
    width: 94%;
  }

  .hero-figure {
    padding: 38px 12px 13px;
    box-shadow: 14px 16px 0 rgba(17, 21, 22, 0.055);
  }

  .hero-caption {
    display: block;
  }

  .hero-caption span {
    display: block;
  }

  .prism-mark {
    right: -4%;
    bottom: -90px;
    scale: 0.75;
  }

  .section-number {
    margin-bottom: 52px;
  }

  .section-heading h2,
  .fabrication h2,
  .demo h2,
  .citation h2 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .overview-grid {
    gap: 60px;
  }

  .principle {
    padding-right: 18px;
    padding-left: 18px;
  }

  .optics-figure,
  .fabrication-gallery figure {
    padding: 24px 16px;
  }

  .optics-notes article {
    padding: 28px 22px;
  }

  .design-figure {
    padding: 18px;
  }

  .component-list div {
    grid-template-columns: 100px 1fr;
  }

  .fabrication-header {
    padding-bottom: 70px;
  }

  .wide-figure-scroll {
    padding: 20px 14px;
  }

  .wide-figure-scroll img {
    min-width: 820px;
  }

  .calibration-figure {
    gap: 25px;
    margin-top: 90px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .metric + .metric,
  .metric:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .metric p {
    margin-top: 35px;
  }

  .depth-comparison {
    margin-top: 90px;
  }

  .comparison-bars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .bar-track {
    height: clamp(130px, 34vw, 220px);
  }

  .bar-label {
    font-size: 9px;
  }

  .video-frame {
    padding: 10px;
    box-shadow: 14px 16px 0 rgba(17, 21, 22, 0.08);
  }

  .video-caption {
    display: block;
  }

  .video-caption span {
    display: block;
    margin-top: 6px;
  }

  .bibtex-card pre {
    padding: 20px 14px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Simplified academic layout */
html,
body {
  overflow-x: clip;
}

body {
  color: #202426;
  background: #ffffff;
  font-size: 16px;
}

img,
video {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.spectrum-field,
.prism-mark,
.scroll-cue,
.overview::before,
.fabrication::after {
  display: none;
}

.site-header {
  min-height: 64px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #dedede;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
}

.site-header.is-scrolled {
  border-color: #dedede;
  background: rgba(255, 255, 255, 0.98);
}

.brand {
  font-size: 23px;
}

.site-nav {
  gap: 26px;
}

.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 64px;
  width: min(1200px, calc(100vw - 48px));
  min-height: auto;
  padding: 88px 0 110px;
}

.eyebrow-row {
  margin-bottom: 24px;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(42px, 4.25vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 em {
  margin: 0;
  color: #202426;
  font-style: normal;
}

.hero-deck {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: 18px;
}

.authors {
  font-size: 19px;
}

.hero-actions {
  margin-top: 26px;
}

.button {
  min-height: 44px;
  padding: 0 17px;
}

.hero-visual {
  align-self: start;
  padding-top: 6px;
}

.hero-figure {
  padding: 36px 18px 16px;
  border: 1px solid #dedede;
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.hero-figure img {
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
}

.section-pad {
  width: min(1200px, calc(100vw - 48px));
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-number {
  margin-bottom: 54px;
}

.section-heading h2,
.fabrication h2,
.demo h2,
.citation h2 {
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1.05;
}

.overview,
.optics,
.method,
.results,
.demo,
.citation {
  background: #ffffff;
}

.overview-grid {
  gap: 60px 80px;
}

.overview-lead {
  font-size: clamp(23px, 2.1vw, 31px);
}

.principles {
  border-color: #cfcfcf;
}

.principle {
  min-height: 250px;
  padding: 30px 28px;
}

.principle::after {
  display: none;
}

.principle-id {
  margin-bottom: 38px;
}

.principle h3 {
  font-size: 30px;
}

.optics-intro,
.method-heading,
.results-heading {
  gap: 70px;
  margin-bottom: 64px;
}

.optics-stage,
.pipeline-shell,
.results-figure-shell {
  border-color: #d5d5d5;
  background: #ffffff;
}

.optics-figure {
  padding: 40px;
  border-color: #dedede;
}

.optics-figure img,
.design-figure img,
.wide-figure-scroll img,
.calibration-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  mix-blend-mode: normal;
}

.optics-notes article {
  padding: 30px;
}

.optics-notes h3 {
  margin-top: 22px;
  font-size: 26px;
}

.design-spread {
  gap: 80px;
  margin-top: 100px;
}

.design-figure {
  padding: 24px;
  border-color: #dedede;
  background: #ffffff;
  transform: none;
}

.design-figure img {
  max-height: 660px;
}

.design-copy h3 {
  font-size: clamp(36px, 3.6vw, 52px);
}

.fabrication {
  color: #202426;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  background: #f5f6f5;
}

.fabrication-header {
  padding-bottom: 70px;
}

.fabrication-header .section-number {
  border-color: #cfcfcf;
}

.fabrication-header .kicker {
  color: var(--nir);
}

.fabrication-header > p:last-child {
  color: #515758;
}

.fabrication-gallery {
  grid-template-columns: 1fr;
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding-bottom: 90px;
  border: 0;
  background: transparent;
}

.fabrication-gallery figure {
  padding: 20px;
  border: 1px solid #dedede;
  background: #ffffff;
}

.fabrication-gallery img {
  width: 100%;
  display: block;
  height: auto;
}

.fabrication-gallery figcaption {
  color: #515758;
}

.wide-figure-scroll {
  padding: 28px;
}

.wide-figure-scroll img {
  width: 100%;
}

.method-steps {
  margin-top: 56px;
}

.method-steps h3 {
  margin-top: 42px;
  font-size: 28px;
}

.calibration-figure {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 46px;
  margin: 100px 0 0;
  padding: 0;
  border-color: #dedede;
  background: #ffffff;
  overflow: hidden;
}

.calibration-figure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.calibration-figure figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 42px 48px 0;
}

.calibration-figure figcaption p {
  font-size: 24px;
}

.results {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  border-color: #dedede;
}

.metric-strip {
  margin-bottom: 72px;
  border-color: #cfcfcf;
}

.metric {
  min-height: 220px;
  padding: 28px 24px;
}

.metric-value {
  font-size: clamp(38px, 3.3vw, 52px);
}

.metric-pair {
  font-size: clamp(28px, 2.4vw, 38px);
}

.metric p {
  margin-top: 54px;
}

.metric-feature {
  color: #202426;
  background: #f1f2f1;
}

.metric-feature .metric-unit,
.metric-feature p {
  color: #515758;
}

.depth-comparison {
  gap: 80px;
  margin-top: 90px;
}

.comparison-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 30px;
  align-items: end;
}

.comparison-copy h3 {
  font-size: clamp(34px, 3.3vw, 48px);
}

.demo {
  gap: 80px;
}

.video-frame {
  padding: 12px;
  border-color: #d5d5d5;
  background: #ffffff;
  box-shadow: none;
}

.video-labels {
  color: #202426;
}

.video-caption {
  color: #515758;
}

.code {
  border-color: #dedede;
  background: #ffffff;
}

.citation {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  color: #202426;
  border-top: 1px solid #dedede;
  background: #f5f6f5;
}

.citation .section-number {
  border-color: #cfcfcf;
}

.citation .kicker {
  color: var(--nir);
}

.citation-copy > p:not(.kicker) {
  color: #515758;
}

.bibtex-card {
  border-color: #c9c9c9;
  background: #ffffff;
}

.bibtex-head {
  border-color: #dedede;
}

.bibtex-head button {
  color: #202426;
}

.bibtex-card pre {
  color: #202426;
}

.site-footer {
  color: #5f6667;
  border-top: 1px solid #dedede;
  background: #ffffff;
}

.site-footer > div p {
  color: #202426;
}

.footer-mark {
  height: 2px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 22px;
  }

  .site-nav {
    background: #ffffff;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(720px, calc(100vw - 44px));
    gap: 48px;
    padding-top: 64px;
  }

  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin: 0;
  }

  .section-pad {
    width: calc(100vw - 44px);
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .fabrication-gallery {
    width: calc(100vw - 44px);
  }

  .results,
  .citation {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 600px) {
  .hero,
  .section-pad,
  .fabrication-gallery {
    width: calc(100vw - 32px);
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .section-heading h2,
  .fabrication h2,
  .demo h2,
  .citation h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero-figure {
    padding: 34px 10px 12px;
  }

  .optics-figure,
  .fabrication-gallery figure,
  .design-figure {
    padding: 16px;
  }

  .wide-figure-scroll {
    padding: 14px;
  }

}
