/* Standard Continuity
   A private technical document: serif on bone paper, research blue in the margins. */

:root {
  --paper: #f8f8f4;
  --paper-2: #f0f2ee;
  --paper-3: #fcfcf8;
  --ink: #102a3a;
  --ink-2: #536c77;
  --line: #ccdada;
  --line-2: #91aeb9;
  --wax: #7f2d1c;
  --blue: #006ca3;
  --blue-deep: #06476b;
  --blue-pale: #dce8e9;
  --blue-wash: #e8eeee;
  --pine: #46604a;
  --night: #052f49;
  --night-2: #073a57;
  --night-text: #edf1eb;
  --night-mut: #a7c0ca;
  --night-line: #2b6078;
  --serif: "Times New Roman", Times, Georgia, "Iowan Old Style", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shell: min(100% - 48px, 1160px);
  --column: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1 em, h2 em { font-style: italic; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 14px; left: 14px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; transform: translateY(-260%); }
.skip-link:focus { transform: none; }

/* Small caps annotations, the second voice of the page */
.mono,
.kicker,
.plate figcaption,
.proof-row span,
.index-strip,
.ledger-row .no,
.colonnade .no,
.record-head,
.stamp,
.form-row label,
.form-help,
.request-notes .no,
.footer-nav, .footer-legal, .footer-bottom,
.microbar-inner, .desktop-nav, .nav-cta,
.button, .legal-date, .fact-row span, .offer-meta span, .menu-note {
  font-family: var(--mono);
  font-variant-numeric: lining-nums;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Header */
.site-header { position: relative; z-index: 60; background: var(--paper); }
.microbar { border-bottom: 1px dashed color-mix(in srgb, var(--blue) 48%, transparent); }
.microbar-inner { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; color: var(--blue-deep); font-size: 8.5px; letter-spacing: .24em; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.wordmark .mark { width: 27px; height: 27px; color: var(--wax); flex: none; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 38px); color: var(--blue); font-family: var(--serif); font-size: 14px; letter-spacing: 0; }
.desktop-nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.desktop-nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
[data-active="aeneas"] [data-nav="aeneas"],
[data-active="knowledge"] [data-nav="knowledge"],
[data-active="service"] [data-nav="service"],
[data-active="company"] [data-nav="company"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta { padding: 9px 14px; border: 1px solid var(--blue); color: var(--blue-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; transition: background .15s, color .15s; }
.nav-cta:hover { background: var(--blue); color: #fff; border-bottom-color: var(--blue); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .18s; }
.menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Type */
.kicker { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 26px; color: var(--blue); font-size: 10px; }
.kicker::before, .kicker::after { content: ""; width: 34px; height: 1px; background: var(--blue); opacity: .55; }
.kicker-left { justify-content: flex-start; }
.display { font-size: clamp(44px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.section-title { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.lede { max-width: 640px; margin: 26px auto 0; color: var(--ink-2); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; text-wrap: pretty; }
.body-copy { max-width: var(--column); margin-inline: auto; color: var(--ink-2); font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.body-copy p { margin: 0 0 20px; }
.body-copy p:last-child { margin-bottom: 0; }

/* Ornament */
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: clamp(72px, 8vw, 110px) auto 0; }
.divider::before, .divider::after { content: ""; width: min(180px, 24vw); height: 1px; background: var(--line-2); }
.divider i { width: 6px; height: 6px; background: var(--wax); transform: rotate(45deg); }
.seal { color: var(--ink); }
.seal .wax-dot { fill: var(--wax); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 17px 28px; border: 1px solid var(--blue); color: var(--blue-deep); background: none; font-size: 10px; cursor: pointer; transition: background .15s, color .15s; }
.button:hover { background: var(--blue); color: #fff; }
.button-solid { background: var(--blue); color: #fff; }
.button-solid:hover { background: none; color: var(--blue-deep); }
.button-night { border-color: var(--night-mut); color: var(--night-text); }
.button-night:hover { background: var(--night-text); color: var(--night); }
.text-link { border-bottom: 1px solid var(--line-2); padding-bottom: 3px; font-size: 15px; font-style: italic; transition: border-color .15s, color .15s; }
.text-link:hover { color: var(--wax); border-bottom-color: var(--wax); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 38px; }

/* Hero, a title page */
.hero { padding: clamp(64px, 7vw, 104px) 0 0; text-align: center; }
.hero .seal { width: 64px; height: 64px; margin: 0 auto 30px; }
.hero .display { max-width: 900px; margin-inline: auto; }

/* Plates */
.plate { margin: clamp(48px, 5vw, 72px) 0 0; }
.plate-frame { position: relative; padding: 10px; border: 1px solid color-mix(in srgb, var(--blue) 52%, var(--line)); background: var(--blue-wash); overflow: hidden; }
.plate-frame img { border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--line)); }
.plate-frame .marks { position: absolute; inset: -8px; pointer-events: none;
  background-image:
    linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
  background-size: 12px 1px, 1px 12px, 12px 1px, 1px 12px, 12px 1px, 1px 12px, 12px 1px, 1px 12px;
  background-repeat: no-repeat; }
.plate figcaption { margin-top: 14px; color: var(--blue-deep); font-size: 9px; text-align: center; }

/* Proof row and index strip */
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.proof-row div { padding: 20px 18px 22px; border-right: 1px solid var(--line); text-align: center; }
.proof-row div:last-child { border-right: 0; }
.proof-row strong { display: block; font-size: 18px; font-weight: 400; }
.proof-row span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 8.5px; }
.index-strip { border-top: 1px dashed color-mix(in srgb, var(--blue) 48%, transparent); border-bottom: 1px dashed color-mix(in srgb, var(--blue) 48%, transparent); padding: 13px 0; color: var(--blue-deep); font-size: 9px; letter-spacing: .26em; text-align: center; }
.index-strip .sep { margin: 0 14px; color: var(--wax); }

/* Sections */
.section { padding-top: clamp(56px, 6vw, 84px); }
.section-head { text-align: center; }
.section-head .lede { margin-top: 20px; }

/* Ledger */
.ledger { max-width: 980px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); }
.ledger-row { display: grid; grid-template-columns: 56px 230px 1fr; gap: 28px; align-items: baseline; padding: 22px 4px; border-bottom: 1px dashed color-mix(in srgb, var(--blue) 42%, transparent); }
.ledger-row .no { color: var(--blue); font-size: 10px; }
.ledger-row h3 { font-size: 21px; }
.ledger-row p { color: var(--ink-2); font-size: 16px; line-height: 1.6; text-wrap: pretty; }

/* Colonnade, four columns behind hairlines */
.colonnade { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); }
.colonnade article { padding: 26px 26px 8px; border-left: 1px dashed color-mix(in srgb, var(--blue) 42%, transparent); }
.colonnade article:first-child { border-left: 0; }
.colonnade .no { display: block; color: var(--blue); font-size: 10px; }
.colonnade h3 { margin: 40px 0 10px; font-size: 21px; }
.colonnade p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* Night band with the commissioning record */
.night-band { margin-top: clamp(72px, 8vw, 110px); padding: clamp(72px, 8vw, 104px) 0; background: var(--night); color: var(--night-text); }
.night-band .kicker { color: var(--night-mut); }
.night-band .kicker::before, .night-band .kicker::after { background: var(--night-line); }
.night-band .lede { color: var(--night-mut); }
.record { max-width: 760px; margin: clamp(40px, 4vw, 56px) auto 0; border: 1px solid var(--night-line); background: var(--night-2); }
.record-head { display: flex; justify-content: space-between; gap: 18px; padding: 13px 20px; border-bottom: 1px solid var(--night-line); color: var(--night-mut); font-size: 9px; }
.record-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 20px; border-bottom: 1px solid var(--night-line); }
.record-row:last-child { border-bottom: 0; }
.record-row .term { font-size: 17px; }
.stamp { padding: 6px 12px; border: 1px solid currentColor; font-size: 9px; }
.stamp-off { color: var(--night-mut); }
.stamp-ok { color: #96b292; }

/* Certificate panel */
.panel { max-width: 900px; margin: clamp(48px, 5vw, 72px) auto 0; padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); border: 1px dashed var(--blue); outline: 1px solid color-mix(in srgb, var(--blue) 30%, transparent); outline-offset: 5px; background: var(--blue-wash); text-align: center; }
.panel .section-title { max-width: 640px; margin-inline: auto; }
.offer-meta { display: flex; justify-content: center; gap: 40px; margin-top: 28px; }
.offer-meta div strong { display: block; font-size: 18px; font-weight: 400; }
.offer-meta div span { display: block; margin-top: 7px; color: var(--ink-2); font-size: 8.5px; }
.panel .button { margin-top: 34px; }

/* Closing */
.closing { padding: clamp(72px, 8vw, 110px) 0 clamp(80px, 9vw, 120px); text-align: center; }
.closing h2 { max-width: 760px; margin-inline: auto; font-size: clamp(30px, 3.6vw, 50px); font-style: italic; line-height: 1.12; }
.closing .button { margin-top: 36px; }

/* Page heroes for interior pages */
.page-hero { padding: clamp(56px, 6.5vw, 92px) 0 0; text-align: center; }
.page-hero .display { max-width: 860px; margin-inline: auto; font-size: clamp(40px, 5.4vw, 78px); }

/* Fact strip */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: clamp(48px, 5vw, 64px) auto 0; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); border-bottom: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); }
.fact-row { padding: 18px 16px 20px; border-right: 1px dashed color-mix(in srgb, var(--blue) 42%, transparent); text-align: center; }
.fact-row:last-child { border-right: 0; }
.fact-row span { display: block; color: var(--ink-2); font-size: 8.5px; }
.fact-row strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 400; }

/* Modules, two ruled columns */
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1080px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px solid var(--line-2); }
.module { padding: 30px 34px 6px; }
.module + .module { border-left: 1px solid var(--line); }
.module .no { display: block; margin-bottom: 20px; color: var(--wax); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.module h3 { font-size: clamp(26px, 2.6vw, 36px); }
.module .plain-list { margin: 22px 0 0; padding: 0; list-style: none; }
.module .plain-list li { padding: 13px 2px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }

/* Instrument diagram */
.diagram-figure { max-width: 680px; margin: clamp(48px, 5vw, 72px) auto 0; }
.diagram { display: block; width: 100%; height: auto; color: var(--ink); }
.diagram .hair { fill: none; stroke: currentColor; stroke-width: .8; }
.diagram .faint { fill: none; stroke: currentColor; stroke-width: .7; opacity: .45; }
.diagram .ticks { fill: none; stroke: currentColor; stroke-width: 9; stroke-dasharray: 1 6.12; opacity: .5; }
.diagram .dashed { fill: none; stroke: currentColor; stroke-width: .7; stroke-dasharray: 2 5; }
.diagram .node { fill: var(--wax); stroke: none; }
.diagram text { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; fill: var(--ink-2); }
.diagram .core-label { fill: var(--ink); font-size: 12px; }
.diagram-figure figcaption { margin-top: 12px; color: var(--ink-2); font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }

/* Tag row */
.tag-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: clamp(36px, 4vw, 48px) auto 0; }
.tag-row span { padding: 10px 16px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; }

/* Price ledger */
.price-list { max-width: 780px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px solid var(--line-2); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.price-row .item { color: var(--ink-2); font-size: 17px; }
.price-row .fill { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.price-row .amount { font-size: 17px; white-space: nowrap; }
.price-note { max-width: 780px; margin: 18px auto 0; color: var(--ink-2); font-size: 14px; font-style: italic; text-align: center; }

/* Roadmap */
.roadmap { max-width: 980px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px solid var(--line-2); }
.roadmap-row { display: grid; grid-template-columns: 120px 220px 1fr; gap: 28px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.roadmap-row .no { color: var(--wax); font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.roadmap-row .no.dim { color: var(--ink-2); }
.roadmap-row h3 { font-size: 21px; }
.roadmap-row p { color: var(--ink-2); font-size: 16px; }

/* Thesis with a drop cap */
.thesis { max-width: var(--column); margin: clamp(36px, 4vw, 48px) auto 0; }
.thesis > p:first-child::first-letter { float: left; margin: 8px 12px 0 0; color: var(--wax); font-size: 74px; line-height: .78; }

/* Request page */
.request-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(440px, 1.15fr); gap: clamp(48px, 5vw, 88px); align-items: start; padding-top: clamp(56px, 6vw, 84px); }
.request-copy { text-align: left; }
.request-copy .display { font-size: clamp(40px, 4.6vw, 68px); }
.request-copy .lede { margin-left: 0; }
.request-notes { margin-top: 40px; border-top: 1px solid var(--line-2); }
.request-notes p { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
.request-notes .no { color: var(--wax); font-size: 9px; padding-top: 4px; }
.inquiry-form { padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line-2); outline: 1px solid var(--line-2); outline-offset: 5px; background: var(--paper-3); }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; margin-bottom: 10px; color: var(--ink-2); font-size: 9px; }
.form-row input, .form-row select { width: 100%; padding: 10px 2px; background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; outline: 0; font-size: 17px; }
.form-row textarea { width: 100%; padding: 12px; background: none; border: 1px solid var(--line-2); border-radius: 0; outline: 0; font-size: 17px; resize: vertical; }
.form-row input:focus, .form-row select:focus { border-bottom-color: var(--wax); box-shadow: 0 1px 0 var(--wax); }
.form-row textarea:focus { border-color: var(--wax); }
.form-row ::placeholder { color: #9a8f77; opacity: 1; font-style: italic; }
.inquiry-form .button { width: 100%; }
.form-help { margin-top: 16px; color: var(--ink-2); font-size: 8.5px; letter-spacing: .14em; line-height: 1.9; text-align: center; }
.form-help a { border-bottom: 1px solid var(--line-2); text-transform: none; letter-spacing: .08em; }
.form-result { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.form-result h2 { font-size: 26px; }
.form-result p { margin: 10px 0 14px; color: var(--ink-2); font-size: 15px; }
.form-result textarea { width: 100%; min-height: 170px; padding: 12px; background: var(--paper); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; }
.form-result .row { display: flex; align-items: center; gap: 22px; margin-top: 16px; }

/* Legal pages */
.legal-page { padding: clamp(56px, 6vw, 84px) 0 0; }
.legal-shell { max-width: 660px; margin-inline: auto; }
.legal-shell h1 { font-size: clamp(38px, 4.6vw, 60px); }
.legal-date { margin: 16px 0 44px; color: var(--ink-2); font-size: 9px; }
.legal-shell h2 { margin: 38px 0 10px; font-size: 22px; }
.legal-shell p { color: var(--ink-2); line-height: 1.75; }
.legal-shell a { border-bottom: 1px solid var(--line-2); }
.legal-shell a:hover { color: var(--wax); border-bottom-color: var(--wax); }

/* Footer */
.site-footer { margin-top: clamp(80px, 9vw, 120px); border-top: 4px double var(--line-2); }
.footer-inner { padding: clamp(56px, 6vw, 76px) 0 40px; text-align: center; }
.site-footer .seal { width: 104px; height: 104px; margin: 0 auto; }
.footer-line { margin: 24px auto 0; max-width: 420px; color: var(--ink-2); font-size: 15px; font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 34px; font-size: 9.5px; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--wax); }
.footer-nav .mail { text-transform: none; letter-spacing: .08em; }
.footer-legal { margin-top: 18px; color: var(--ink-2); font-size: 9px; }
.footer-legal .sep { margin: 0 10px; color: var(--wax); }
.footer-bottom { margin-top: 44px; padding: 16px 0 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 8.5px; letter-spacing: .22em; }

/* Research system: a sparse technical layer inspired by laboratory output. */
.research-hero { padding: clamp(46px, 5vw, 76px) 0 0; }
.research-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.18fr) minmax(330px, .92fr) 190px;
  gap: clamp(30px, 3.5vw, 56px);
  align-items: start;
  padding: 44px 0 48px;
  border-top: 1px dashed color-mix(in srgb, var(--blue) 54%, transparent);
  border-bottom: 1px dashed color-mix(in srgb, var(--blue) 54%, transparent);
}
.research-copy { grid-column: 2; grid-row: 1; padding-top: 20px; }
.research-copy .kicker { justify-content: flex-start; margin-bottom: 22px; }
.research-copy .kicker::before { display: none; }
.research-copy .display { max-width: 520px; color: var(--blue-deep); font-size: clamp(38px, 3.6vw, 56px); line-height: 1.02; }
.research-copy .lede { margin: 24px 0 0; color: var(--blue); font-family: var(--mono); font-size: 15px; line-height: 1.42; }
.research-copy .actions { justify-content: flex-start; gap: 12px 22px; margin-top: 30px; }
.research-copy .button { padding: 13px 18px; }
.research-plate { grid-column: 1; grid-row: 1; margin: 0; }
.research-plate .plate-frame { aspect-ratio: 1.16 / 1; padding: 0; border: 0; background: transparent; }
.research-plate .plate-frame img { height: 100%; border: 0; object-fit: contain; }
.research-meta { grid-column: 3; grid-row: 1; display: grid; gap: 0; padding-top: 20px; color: var(--blue-deep); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.research-meta p { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--blue) 48%, transparent); }
.research-meta span:last-child { text-align: right; }
.research-meta .output-mark { display: block; width: 34px; height: 34px; margin: 0 0 22px; border: 1px solid var(--blue); border-radius: 50%; box-shadow: inset 0 0 0 9px var(--paper), inset 0 0 0 10px var(--blue); }
.output-line { margin-top: 14px; color: var(--blue-deep); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; line-height: 1.55; text-transform: uppercase; }

.scan-plate { position: relative; overflow: hidden; }
.scan-plate::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -18%;
  left: 0;
  width: 100%;
  height: 13%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--blue) 12%, transparent), transparent);
  mix-blend-mode: multiply;
  animation: scan 9s linear infinite;
}
.scan-plate img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.scan-plate:hover img { transform: scale(1.012); filter: contrast(1.025); }

.system-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); border-bottom: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); }
.system-stats div { min-height: 94px; padding: 18px; border-right: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
.system-stats div:last-child { border-right: 0; }
.system-stats strong { display: block; color: var(--blue-deep); font-family: var(--mono); font-size: 20px; font-weight: 400; letter-spacing: .05em; }
.system-stats span { display: block; margin-top: 10px; color: var(--ink-2); font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; }

.output-section { padding: 44px 0; border-bottom: 1px dashed color-mix(in srgb, var(--blue) 54%, transparent); }
.output-row { display: grid; grid-template-columns: minmax(420px, 1.18fr) minmax(330px, .92fr) 190px; gap: clamp(30px, 3.5vw, 56px); align-items: start; }
.output-image { margin: 0; }
.output-image .scan-plate { aspect-ratio: 1.16 / 1; }
.output-image img { height: 100%; object-fit: contain; }
.output-copy { padding-top: 18px; color: var(--blue); font-family: var(--mono); }
.output-label { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.output-copy h2 { max-width: 520px; margin-top: 24px; color: var(--blue-deep); font-family: var(--mono); font-size: clamp(21px, 2vw, 29px); line-height: 1.12; }
.output-copy > p:not(.output-label) { max-width: 540px; margin-top: 22px; font-size: 14px; line-height: 1.48; }
.output-points { margin-top: 28px; border-top: 1px dashed color-mix(in srgb, var(--blue) 48%, transparent); }
.output-points p { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--blue) 40%, transparent); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.output-points span { color: var(--wax); }
.output-meta { padding-top: 18px; color: var(--blue); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; }
.output-glyph { display: block; margin-top: 24px; color: var(--blue); font-size: 44px; line-height: 1; }

.module-index { max-width: 1080px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); }
.module-row { display: grid; grid-template-columns: 170px minmax(300px, 1fr) 190px; gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
.module-row .module-id, .module-row .module-meta { color: var(--blue-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; line-height: 1.65; text-transform: uppercase; }
.module-row h3 { margin-bottom: 8px; font-size: 24px; }
.module-row p { max-width: 560px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.module-row .module-meta { text-align: right; }

.layer-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); border-left: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
.layer-grid article { min-height: 190px; padding: 24px; border-right: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); border-bottom: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
.layer-grid .no { color: var(--blue); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.layer-grid h3 { margin-top: 42px; font-size: 20px; }
.layer-grid p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

.failure-ledger { max-width: 960px; margin: clamp(40px, 4vw, 56px) auto 0; border-top: 1px dashed color-mix(in srgb, var(--blue) 55%, transparent); }
.failure-row { display: grid; grid-template-columns: 160px 1fr 110px; gap: 24px; padding: 17px 0; border-bottom: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); align-items: baseline; }
.failure-row .condition, .failure-row .state { color: var(--blue-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.failure-row p { color: var(--ink-2); font-size: 15px; }
.failure-row .state { text-align: right; }

[data-reveal] { opacity: 1; transform: none; }
.diagram { color: var(--blue-deep); }
.diagram .ticks { animation: orbit 34s linear infinite; transform-origin: center; }
.diagram .node { fill: var(--wax); }

@keyframes scan { to { transform: translateY(910%); } }
@keyframes orbit { to { stroke-dashoffset: -720; } }

/* Responsive */
@media (max-width: 1000px) {
  .microbar-mid { display: none; }
  .colonnade { grid-template-columns: 1fr 1fr; border-left: 0; }
  .colonnade article { border-left: 0; border-bottom: 1px solid var(--line); padding: 24px 18px 16px; }
  .request-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .research-hero-grid { grid-template-columns: minmax(260px, .8fr) minmax(440px, 1.4fr); }
  .research-plate { grid-column: 1; }
  .research-copy { grid-column: 2; }
  .research-meta { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); padding-top: 0; }
  .research-meta .output-mark { display: none; }
  .research-meta p { display: block; padding-right: 20px; border-right: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
  .research-meta p:last-child { border-right: 0; }
  .research-meta span { display: block; }
  .research-meta span:last-child { margin-top: 5px; text-align: left; }
  .output-row { grid-template-columns: minmax(320px, 1fr) minmax(300px, 1fr); }
  .output-meta { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; padding-top: 0; }
  .output-glyph { margin: 0 0 0 auto; font-size: 32px; }
}

@media (max-width: 760px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .site-header { position: sticky; top: 0; }
  .microbar, .masthead { position: relative; z-index: 70; }
  body.menu-open .masthead { border-bottom-color: var(--line); }
  .mobile-menu { position: fixed; inset: 0; z-index: 50; display: block; padding: 130px 0 40px; background: var(--paper); overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .16s; }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; }
  .mobile-menu-inner { display: flex; flex-direction: column; }
  .mobile-menu-inner a { padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 27px; }
  .mobile-menu-inner .button { margin-top: 30px; font-size: 10px; }
  .menu-note { margin-top: 26px; color: var(--ink-2); font-size: 8.5px; text-align: center; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 16px; }
  .kicker { font-size: 9px; letter-spacing: .14em; }
  .kicker::before, .kicker::after { width: 22px; }
  .proof-row, .fact-strip { grid-template-columns: 1fr 1fr; }
  .proof-row div, .fact-row { border-bottom: 1px solid var(--line); }
  .proof-row div:nth-child(2n), .fact-row:nth-child(2n) { border-right: 0; }
  .proof-row div:nth-last-child(-n+2), .fact-row:nth-last-child(-n+2) { border-bottom: 0; }
  .index-strip { font-size: 8px; letter-spacing: .18em; }
  .index-strip .sep { margin: 0 8px; }
  .ledger-row { grid-template-columns: 40px 1fr; }
  .ledger-row p { grid-column: 2; }
  .roadmap-row { grid-template-columns: 84px 1fr; }
  .roadmap-row p { grid-column: 2; }
  .module-grid { grid-template-columns: 1fr; }
  .module { padding: 28px 4px 6px; }
  .module + .module { border-left: 0; border-top: 1px solid var(--line-2); margin-top: 16px; }
  .colonnade { grid-template-columns: 1fr; }
  .offer-meta { flex-direction: column; gap: 20px; }
  .record-row .term { font-size: 15px; }
  .price-row { flex-wrap: wrap; }
  .price-row .fill { display: none; }
  .price-row .amount { width: 100%; text-align: left; color: var(--ink-2); }
  .actions { flex-direction: column; }
  .actions .button { width: 100%; }
  .footer-nav { flex-direction: column; gap: 14px; }
  .research-hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
  .research-copy { grid-column: 1; grid-row: 1; padding-top: 0; }
  .research-copy .display { font-size: clamp(42px, 13vw, 64px); }
  .research-copy .actions { align-items: stretch; }
  .research-plate { grid-column: 1; grid-row: 2; margin-inline: -16px; }
  .research-plate .plate-frame { aspect-ratio: 1.24 / 1; }
  .research-meta { grid-column: 1; grid-row: 3; grid-template-columns: 1fr 1fr; }
  .research-meta p { border-right: 0; }
  .system-stats { grid-template-columns: 1fr 1fr; }
  .system-stats div { border-bottom: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
  .system-stats div:nth-child(2n) { border-right: 0; }
  .system-stats div:nth-last-child(-n+2) { border-bottom: 0; }
  .module-row { grid-template-columns: 1fr; gap: 10px; }
  .module-row .module-meta { text-align: left; }
  .layer-grid { grid-template-columns: 1fr 1fr; }
  .layer-grid article { min-height: 170px; padding: 20px; }
  .failure-row { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .failure-row p { grid-column: 1 / -1; }
  .output-section { padding: 26px 0; }
  .output-row { grid-template-columns: 1fr; gap: 24px; }
  .output-image { margin-inline: -16px; }
  .output-image .scan-plate { aspect-ratio: 1.24 / 1; }
  .output-copy { padding-top: 0; }
  .output-copy h2 { font-size: 22px; }
  .output-meta { grid-column: 1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
