:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --ink: #171b17;
  --muted: #555b51;
  --gold: #886322;
  --line: #dbd3c3;
  --display: Newsreader, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 84px);
  --masthead: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.shell { width: min(100% - var(--gutter) * 2, 1360px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 8px 14px; background: var(--surface); transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { position: sticky; top: 0; z-index: 4; background: rgb(244 241 234 / .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--masthead); gap: 18px; }
.brand { display: inline-flex; justify-self: start; gap: 10px; align-items: center; text-decoration: none; font: 500 31px/.86 var(--display); letter-spacing: -.06em; }
.brand img { border-radius: 8px; }
nav { display: flex; gap: clamp(12px, 2.5vw, 34px); align-items: center; }
nav a, .header-cta { text-decoration: none; font-size: 13px; font-weight: 600; }
nav a { position: relative; display: grid; place-items: center; min-height: 46px; color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--ink); }
nav a[aria-current]::after { position: absolute; inset: auto 0 4px; height: 1px; background: var(--gold); content: ""; }
nav a.nav-demo { min-height: 40px; padding: 0 16px; border-radius: 7px; background: #af853b; color: #19180f; font-size: 14px; box-shadow: 0 0 0 4px rgba(175, 133, 59, .18); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; text-transform: none; }
.nav-demo-short { display: none; }
@media (max-width: 480px) { nav a.nav-demo { padding: 0 11px; font-size: 13px; } .nav-demo-long { display: none; } .nav-demo-short { display: inline; } }
nav a.nav-demo:hover { background: #bd9652; color: #19180f; }
.header-cta { justify-self: end; border: 1px solid var(--line); border-radius: 7px; padding: 9px 13px; }
.header-cta:hover, .secondary:hover { background: #ebe5d7; }
.header-cta span, .button span { margin-left: 6px; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .99fr); gap: clamp(34px, 6vw, 100px); }
.chapter, .customers { scroll-margin-top: calc(var(--masthead) + 16px); }
.chapter { display: grid; min-height: min(780px, 84svh); align-content: center; padding: clamp(60px, 8vw, 120px) 0; border-bottom: 1px solid var(--line); }
.hero { min-height: min(850px, calc(100svh - var(--masthead))); }
.kicker { margin: 0 0 29px; display: flex; align-items: center; gap: 9px; color: var(--gold); font: 500 11px/1.2 var(--mono); letter-spacing: .115em; text-transform: uppercase; }
.kicker span, .online { width: 7px; height: 7px; border-radius: 50%; background: #b8893d; flex: none; }
h1, h2 { margin: 0; font: 430 clamp(45px, 6.2vw, 102px)/.94 var(--display); letter-spacing: -.055em; text-wrap: balance; }
h1 em, h2 em { color: var(--gold); font-weight: 430; }
.lead { max-width: 540px; margin: 24px 0 0; font-size: clamp(18px, 1.58vw, 22px); line-height: 1.58; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border: 1px solid transparent; border-radius: 7px; padding: 10px 14px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.primary { background: #af853b; color: #19180f; }
.primary:hover { background: #bd9652; }
.secondary { border-color: var(--line); }
.hero-notes { display: grid; grid-template-columns: 1.25fr 1fr; margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--line); gap: 12px 24px; }
.hero-notes dt { color: var(--gold); font: 500 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.hero-notes dd { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.optics { position: sticky; top: calc(var(--masthead) + 28px); align-self: start; padding-top: clamp(38px, 7vh, 80px); padding-bottom: 24px; }
.instrument { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; width: 100%; aspect-ratio: .97; max-height: calc(100svh - var(--masthead) - 150px); min-height: 390px; }
.instrument-top, .instrument-base { display: flex; align-items: center; gap: 9px; min-height: 38px; color: var(--muted); font: 400 10px/1.25 var(--mono); letter-spacing: .07em; }
.instrument-top { border-bottom: 1px solid var(--line); }
.instrument-top span:last-child { margin-left: auto; color: var(--gold); text-align: right; }
.instrument-base { border-top: 1px solid var(--line); justify-content: space-between; }
.scale { width: 46px; height: 8px; background: repeating-linear-gradient(90deg, #8d6b3690 0 1px, transparent 1px 5px); clip-path: polygon(0 0,100% 0,100% 78%,0 100%); }
.instrument-scene { min-height: 0; position: relative; background: radial-gradient(ellipse at 52% 62%, #cba96623, transparent 61%); }
.optic-photo, #iris { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.optic-photo { object-fit: contain; filter: drop-shadow(0 24px 24px rgb(79 56 26 / .18)); }
#iris, .has-iris .optic-photo { visibility: hidden; }
.has-iris #iris { visibility: visible; filter: drop-shadow(0 24px 22px rgb(79 56 26 / .19)); }
.workflow { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.workflow li { counter-increment: steps; display: grid; grid-template-columns: 30px 1fr; gap: 3px 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.workflow li::before { content: counter(steps, decimal-leading-zero); grid-row: span 2; color: var(--gold); font: 500 11px/2 var(--mono); }
.workflow p, .evidence-grid p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.evidence-grid { display: grid; gap: 12px; margin-top: 24px; }
.evidence-grid article { display: grid; grid-template-columns: minmax(100px, .42fr) 1fr; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding: 13px 0 0; }
.research-note { margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--surface) 62%, var(--paper)); padding: 16px 18px; }
.research-note h3, .customer-detail h3, .policy-grid h3, .cost-comparison h3 { margin: 0; font-size: 17px; font-weight: 650; }
.research-note p, .customer-detail p, .policy-grid p, .cost-grid p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.research-note .source-links, .policy-grid .source-links, .cost-grid .source-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--gold); font-size: 13px; font-weight: 600; }
.customers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .99fr); gap: clamp(30px, 6vw, 100px); padding-block: clamp(65px, 9vw, 130px); }
.customers .button { margin-top: 24px; }
.customer-detail { align-self: center; border-top: 1px solid var(--line); padding-top: 18px; }
.policy-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.policy-grid article { padding: clamp(22px, 3vw, 40px); }
.mp-response { background: #ece3d1; }
.policy-note { background: color-mix(in srgb, var(--surface) 60%, var(--paper)); }
.mp-response blockquote { margin: 19px 0 12px; font: 430 clamp(28px, 3.4vw, 52px)/1.06 var(--display); letter-spacing: -.025em; }
.customer-subsection { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.cost-comparison { grid-column: 1 / -1; }
.cost-comparison h3 { margin-bottom: 18px; }
.cost-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.cost-grid article { padding: clamp(16px, 2.4vw, 30px); }
.cost-grid article:first-child { background: #ece3d1; }
.cost-grid article + article { border-left: 1px solid var(--line); }
.cost-grid .cost-label { margin: 0; font-weight: 650; color: var(--ink); }
.cost-grid .cost-amount { margin: 12px 0; color: var(--ink); font: 450 clamp(26px, 3vw, 43px)/1.1 var(--display); font-variant-numeric: lining-nums; }
.cost-amount span { display: block; margin-top: 4px; color: var(--muted); font: 500 14px/1.4 var(--sans); }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-height: 100px; border-top: 1px solid var(--line); color: var(--muted); }
.footer .brand { color: var(--ink); }
.footer p { font-size: 12px; }
@media (max-width: 900px) {
  .story { gap: 30px; }
  h1, h2 { font-size: clamp(45px, 7vw, 72px); }
  .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .optics { padding-top: 58px; }
}
@media (max-width: 670px) {
  :root { --masthead: 57px; }
  .header-inner { gap: 10px; }
  nav { gap: clamp(10px, 3vw, 22px); }
  nav a { font-size: 12px; }
  .brand { font-size: 25px; gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  .story, .chapters { display: contents; }
  main { display: flex; flex-direction: column; }
  .hero { order: 0; border-bottom: 0; padding: 49px 0 26px; }
  .optics { position: relative; inset: auto; order: 1; align-self: stretch; padding: 0 0 20px; }
  #method { order: 2; }
  #evidence { order: 3; }
  .customers { order: 4; grid-template-columns: 1fr; }
  .policy-grid, .cost-grid { grid-template-columns: 1fr; }
  .cost-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .chapter { min-height: 0; padding-block: 55px; }
  .hero { padding-bottom: 23px; }
  .kicker { margin-bottom: 22px; }
  .hero-notes { margin-top: 22px; }
  .instrument { min-height: 320px; max-height: none; }
}
@media (max-width: 480px) {
  :root { --masthead: 93px; }
  .header-inner { grid-template-columns: 1fr; gap: 0; padding-top: 10px; }
  nav { justify-content: space-between; gap: 8px; }
  nav a { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .optics { position: relative; top: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
