/* Hallmark · shape: Plate journal · genre: atmospheric · theme: custom · redesign: full · job: hire · idea: "Mass bends light: every hero is a live gravitational lens configured for that product, and the pages read like an observatory's plate journal" · vibe: "night observatory, exact, quiet, editorial, unhurried"
 * paper: oklch(14.5% 0.009 265) · accent: oklch(93% 0.03 85) photon white · display: Clash Grotesk 300 (owner rejected a serif) · body: Switzer 400/500 · hero: a bottom-left poster headline over a full-bleed live lens · nav: edge-aligned wordmark, grouped menus, one action · footer: a hairline ledger, mark and four menus · imagery: the lens itself (computed), small product marks as identifiers only · signature: a computed gravitational lens bending a reference grid, a different mass configuration per product
 * axes: dark/grotesk-sans/neutral · posture: Restrained (monochrome brand; the only light is the lens) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R (section range), answered with an index of products, a figure-led evidence plate and a ten-mark milestone track instead of tiles */
@import url("./tokens.css");
@import url("./base.css");
/* Hallmark · dropped /lattice.js · replaced by /lens.js, the computed lens hero the owner asked for */

:root {
  --text-poster: clamp(3.1rem, 6.6vw + 0.4rem, 7.25rem);
  --text-display: clamp(2.6rem, 4.6vw + 0.6rem, 5.25rem);
  --text-section: clamp(2rem, 2.6vw + 1rem, 3.6rem);
  --text-title: clamp(1.4rem, 1vw + 1rem, 1.9rem);
  --text-figure: clamp(7rem, 15vw, 14.5rem);
  --container: 1360px; --gutter: 56px; --head: 72px;
  --tracking-display: -0.018em;
}

html { color-scheme: dark; background: var(--color-paper); }
body { font-size: 1.0625rem; line-height: 1.6; }
html.nav-open { overflow: hidden; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: var(--space-sm); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); background: var(--color-ink); color: var(--color-accent-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-sm); }

/* ---------- type */
h1, h2, h3, .h3 { font-weight: 400; letter-spacing: var(--tracking-display); color: var(--color-ink); }
h1 { font-size: var(--text-display); line-height: 1.02; max-width: 17ch; }
h2 { font-size: var(--text-section); line-height: 1.06; max-width: 22ch; }
h3, .h3 { font-family: var(--font-display); font-size: var(--text-title); line-height: 1.15; letter-spacing: -0.015em; max-width: 30ch; }
.lede { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 46ch; }
.small { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-md); max-width: 70ch; }
b, strong { font-weight: 500; color: var(--color-ink); }
.inline, .article p a, .cols p a { text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.22em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.inline:hover, .article p a:hover, .cols p a:hover { text-decoration-color: var(--color-ink); }
.muted { color: var(--color-muted); }

/* ---------- header */
.top { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--head); gap: var(--space-lg); }
.brand { display: flex; align-items: center; gap: var(--space-sm); flex: none; border-radius: 2px; }
.brand-mark { width: 38px; height: auto; }
.brand-word { width: 136px; height: auto; }
.mainnav { display: flex; align-items: center; gap: var(--space-lg); }
.mainnav > ul { display: flex; gap: var(--space-2xs); list-style: none; margin: 0; padding: 0; }
.menu { position: relative; }
.menu > button { font-size: var(--text-sm); color: var(--color-muted); background: none; border: 0; padding: var(--space-xs) var(--space-sm); cursor: pointer; border-radius: var(--radius-pill); transition: color var(--dur-short) var(--ease-out); }
.menu > button::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: var(--space-xs); border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-short) var(--ease-in-out); }
.menu.open > button::after { transform: translateY(0) rotate(225deg); }
.menu > button:hover, .menu.open > button, .menu.is-active > button { color: var(--color-ink); }
.menu > button:active { transform: translateY(1px); }
.drop { display: none; position: absolute; top: calc(100% + var(--space-sm)); left: calc(-1 * var(--space-xs)); min-width: 320px; list-style: none; margin: 0; padding: var(--space-xs); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.menu:hover .drop, .menu:focus-within .drop { display: block; }
.js .drop { display: block; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .menu.open .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop a { display: block; padding: var(--space-sm) var(--space-md); border-radius: 2px; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.drop a:hover { background: var(--color-paper-3); }
.drop a span { display: block; font-size: var(--text-md); color: var(--color-ink); }
.drop a small { display: block; font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-3xs); }
.drop a[aria-current] span { text-decoration: underline; text-underline-offset: 0.25em; }
.pill { font-size: var(--text-sm); color: var(--color-accent-ink); background: var(--color-accent); border-radius: var(--radius-pill); padding: var(--space-xs) var(--space-md); white-space: nowrap; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pill:hover { background: var(--color-ink); }
.pill:active, .button:active { transform: scale(0.97); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; border-radius: 2px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--color-ink); transition: transform var(--dur-short) var(--ease-in-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- buttons and links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-md); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.button:hover { background: var(--color-ink); }
.textlink, .links a, .go { position: relative; color: var(--color-ink); text-decoration: none; padding-bottom: var(--space-2xs); white-space: nowrap; }
.textlink::after, .links a::after, .go::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-rule-2); transform-origin: left; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.textlink:hover::after, .links a:hover::after, a:hover .go::after { background: var(--color-ink); transform: scaleX(1.06); }
.links { display: flex; flex-wrap: wrap; gap: var(--space-xl); margin-top: var(--space-xl); }
.links.col { flex-direction: column; gap: var(--space-md); margin-top: 0; }

/* ---------- the lens */
.lens { position: absolute; inset: 0; pointer-events: none; }
.lens canvas { width: 100%; height: 100%; display: block; }
.lens.no-gl { background: radial-gradient(circle at 70% 48%, var(--color-paper) 0 7%, var(--color-ink-2) 7.3%, var(--color-paper-2) 8.2%, var(--color-paper) 30%); opacity: .5; }

/* ---------- home hero */
.hero { position: relative; min-height: calc(100svh - var(--head)); display: flex; align-items: flex-end; overflow: hidden; border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--color-paper) 0%, var(--scrim-72) 34%, var(--scrim-0) 62%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: var(--space-3xl); padding-top: var(--space-4xl); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-xl); }
.hero h1 { font-size: var(--text-poster); line-height: 0.96; max-width: 11.5ch; }
.hero .lede { margin-top: var(--space-lg); max-width: 34ch; }
.caption { font-size: var(--text-sm); color: var(--color-muted); max-width: 30ch; }
.caption b { font-weight: 500; color: var(--color-ink-2); }

/* ---------- inner page heroes */
.phero { position: relative; overflow: hidden; border-bottom: var(--rule-hair) solid var(--color-rule); }
.phero .wrap { position: relative; z-index: 2; padding-top: var(--space-4xl); padding-bottom: var(--space-3xl); }
.phero.has-lens { min-height: min(78svh, 760px); display: flex; align-items: flex-end; }
.phero.has-lens .wrap { padding-top: var(--space-4xl); }
.phero.has-lens::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--color-paper) 0%, var(--scrim-62) 40%, var(--scrim-0) 70%), linear-gradient(0deg, var(--color-paper) 0%, var(--scrim-0) 40%); }
.phero h1 { font-size: var(--text-display); max-width: 15ch; }
.phero .lede { margin-top: var(--space-lg); }
.ident { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xl); color: var(--color-ink-2); font-size: var(--text-md); }
.ident img { width: 40px; height: 28px; object-fit: contain; flex-shrink: 0; }
.ident .name { font-weight: 500; color: var(--color-ink); }
.tag { display: inline-flex; align-items: center; min-height: 24px; font-size: var(--text-xs); color: var(--color-ink-2); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); padding: 0 var(--space-sm); white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- sections */
section { padding-block: var(--section-gap-s); border-bottom: var(--rule-hair) solid var(--color-rule); }
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: end; margin-bottom: var(--space-2xl); }
.head p { color: var(--color-muted); max-width: 48ch; }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: end; }

/* product index: names set large, the mark as a small identifier */
.index { border-top: var(--rule-hair) solid var(--color-rule); }
.prow { display: grid; grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: var(--space-xl); align-items: center; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; }
.prow .mark { width: 48px; height: 34px; display: grid; place-items: center; opacity: .9; }
.prow .mark img { max-width: 100%; max-height: 100%; width: auto; }
.prow .pname { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-ink); transition: transform var(--dur-long) var(--ease-out); }
.prow .pname .tag { font-family: var(--font-body); letter-spacing: 0; vertical-align: middle; margin-left: var(--space-sm); transform: translateY(-0.4em); }
.prow .what { color: var(--color-ink); font-weight: 500; }
.prow p:not(.what) { color: var(--color-muted); margin-top: var(--space-2xs); max-width: 48ch; }
.prow:hover .pname { transform: translateX(10px); }
.prow:focus-visible { outline-offset: 6px; }
.sol-row { grid-template-columns: minmax(0, 1fr) auto; }
.sol-row h2.h3 { font-size: var(--text-title); }

/* evidence plate */
.evidence { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.big { font-family: var(--font-display); font-weight: 400; font-size: var(--text-figure); line-height: .86; letter-spacing: -0.05em; color: var(--color-ink); margin-top: var(--space-xl); max-width: none; font-variant-numeric: lining-nums tabular-nums; }
.big span { display: block; font-family: var(--font-body); font-size: var(--text-lead); letter-spacing: 0; line-height: 1.4; color: var(--color-ink-2); margin-top: var(--space-md); }
.facts { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.facts li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); max-width: none; }
.facts b { font-family: var(--font-display); font-weight: 400; font-size: var(--text-title); line-height: 1.1; }
.facts span { color: var(--color-muted); }
.plate { margin-top: var(--space-xl); }
.plate .row { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 3rem; gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }
.plate .row b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; }
.plate figcaption { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-sm); }
.bar { display: block; height: 2px; width: calc(var(--v) / 60 * 100%); background: var(--color-rule-2); }
.bar.lit { background: var(--color-accent); height: 3px; }

/* where it helps: a two-column ledger */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.ledger a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; }
.ledger h3 { font-size: var(--text-title); transition: transform var(--dur-long) var(--ease-out); }
.ledger p { color: var(--color-muted); margin-top: var(--space-2xs); grid-column: 1; }
.ledger a:hover h3 { transform: translateX(8px); }

/* milestone track */
.track { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-2); }
.track li { position: relative; padding: var(--space-lg) var(--space-sm) 0 0; max-width: none; }
.track li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--color-ink-2); background: var(--color-paper); }
.track li.met::before { background: var(--color-accent); border-color: var(--color-accent); }
.track li.part::before { background: linear-gradient(90deg, var(--color-accent) 50%, var(--color-paper) 50%); }
.track .m { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.track .t { display: block; font-size: var(--text-sm); line-height: 1.35; color: var(--color-ink-2); margin-top: var(--space-2xs); }

/* inner page columns */
.cols { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: var(--space-2xl); padding-block: var(--space-2xl); }
.cols + .cols { border-top: var(--rule-hair) solid var(--color-rule); }
.cols:first-child { padding-top: 0; }
.cols:last-child { padding-bottom: 0; }
.cols > h2 { font-size: clamp(1.9rem, 1.4vw + 1rem, 2.6rem); line-height: 1.15; letter-spacing: -0.015em; }
.cols > div > * + * { margin-top: var(--space-md); }
.cols p { color: var(--color-ink-2); max-width: 66ch; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); max-width: 70ch; }
.list li:first-child { padding-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); max-width: 70ch; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-muted); line-height: 1.3; font-variant-numeric: lining-nums; }

/* tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data th { text-align: left; font-weight: 500; color: var(--color-muted); padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.data td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; color: var(--color-ink-2); }
.data td:first-child { color: var(--color-ink); }
.data .note { color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-2xs); }
table.ms { width: 100%; border-collapse: collapse; margin-top: var(--space-xl); }
.ms td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule); vertical-align: top; color: var(--color-ink); }
.ms td:first-child { width: 4rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.ms td:nth-child(2) { font-family: var(--font-display); font-weight: 400; font-size: var(--text-title); letter-spacing: -0.015em; line-height: 1.3; }
.ms td:nth-child(3) { width: 13rem; text-align: right; white-space: nowrap; color: var(--color-ink-2); font-size: var(--text-sm); }
.ms .note { font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: 0; color: var(--color-muted); margin-top: var(--space-xs); line-height: 1.5; }
.st { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: var(--space-xs); border: 1px solid var(--color-ink-2); vertical-align: 1px; }
.st.met { background: var(--color-accent); border-color: var(--color-accent); }
.st.part { background: linear-gradient(90deg, var(--color-accent) 50%, transparent 50%); }

/* observatory */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-xl) 0 var(--space-lg); }
.chip { font-size: var(--text-sm); color: var(--color-ink-2); background: none; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); min-height: 44px; padding: 0 var(--space-md); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.chip:hover { color: var(--color-ink); border-color: var(--color-ink-2); }
.chip:active { transform: translateY(1px); }
.chip.on { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.hyp td:first-child { white-space: nowrap; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.hyp td:last-child { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; min-height: 22px; font-size: var(--text-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); padding: 0 var(--space-xs); white-space: nowrap; color: var(--color-ink-2); }
.badge.good { border-color: var(--color-accent); color: var(--color-ink); }
.badge.bad { color: var(--color-muted); }
.hyp .badge + .badge { margin-top: var(--space-2xs); }

/* findings, articles, news */
.find, .article-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); text-decoration: none; }
.find p, .article-row p { color: var(--color-muted); margin-top: var(--space-xs); max-width: 62ch; }
.article-row h2 { transition: transform var(--dur-long) var(--ease-out); }
.article-row:hover h2 { transform: translateX(8px); }
.kind { color: var(--color-muted); font-size: var(--text-sm); padding-top: var(--space-2xs); }
.article { padding-block: var(--space-4xl) var(--section-gap-s); }
.article h1 { font-size: var(--text-display-s); max-width: 22ch; }
.article .lede { margin-top: var(--space-lg); }
.article h2 { font-size: var(--text-title); margin: var(--space-2xl) 0 var(--space-sm); max-width: 30ch; }
.article p { color: var(--color-ink-2); max-width: 66ch; }
.article p + p { margin-top: var(--space-md); }
.article .meta { margin: 0 0 var(--space-lg); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.grid3.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sol { display: block; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); text-decoration: none; }
.sol h2, .sol h3 { font-size: var(--text-title); transition: transform var(--dur-long) var(--ease-out); }
.sol p { color: var(--color-muted); margin-top: var(--space-xs); }
a.sol:hover h3 { transform: translateX(8px); }

/* closing band */
.band { padding-block: var(--section-gap); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: end; }
.band h2 { font-size: var(--text-display-s); max-width: 18ch; }
.band .lede { color: var(--color-muted); }
.band .actions { margin-top: var(--space-lg); }

/* footer */
.foot { padding-block: var(--space-3xl) var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, max-content); gap: var(--space-2xl); }
.foot nav a { white-space: nowrap; }
.foot-brand { display: flex; flex-direction: column; gap: var(--space-sm); }
.foot-brand img:first-child { width: 56px; }
.foot-brand .brand-word { width: 150px; }
.foot nav { display: flex; flex-direction: column; gap: var(--space-xs); }
.foot .flabel { color: var(--color-ink); font-weight: 500; margin-bottom: var(--space-2xs); }
.foot a { text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.foot a:hover { color: var(--color-ink); }
.legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-lg); margin-top: var(--space-xl); max-width: none; }
.legal a { text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; }

/* ---------- responsive */
@media (max-width: 75rem) {
  .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .track { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: var(--space-xl); }
}
@media (max-width: 60rem) {
  :root { --gutter: 22px; --head: 64px; }
  .top .wrap { flex-wrap: wrap; height: auto; min-height: var(--head); }
  .navwrap { width: 100%; padding-bottom: var(--space-md); }
  .js .burger { display: block; }
  .js .navwrap { position: fixed; inset: var(--head) 0 0 0; width: auto; background: var(--color-paper); overflow-y: auto; padding: var(--space-sm) var(--gutter) var(--space-xl);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .js .navwrap.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mainnav { flex-direction: column; align-items: stretch; gap: var(--space-lg); }
  .mainnav > ul { flex-direction: column; gap: 0; }
  .menu > button { width: 100%; text-align: left; font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); color: var(--color-ink); padding: var(--space-md) 0; border-radius: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .drop { position: static; min-width: 0; border: 0; background: none; padding: 0 0 var(--space-xs); display: none; opacity: 1; visibility: visible; transform: none; }
  .js .drop { position: static; display: none; opacity: 1; visibility: visible; transform: none; }
  .menu.open .drop, .js .menu.open .drop { display: block; }
  .pill { text-align: center; padding: var(--space-sm); }
  .hero::before { background: linear-gradient(0deg, var(--color-paper) 0%, var(--scrim-80) 45%, var(--scrim-0) 75%); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 42svh; padding-bottom: var(--space-2xl); }
  .phero.has-lens { min-height: 0; }
  .phero.has-lens .wrap { padding-top: 46svh; }
  .phero.has-lens::before { background: linear-gradient(0deg, var(--color-paper) 0%, var(--scrim-80) 45%, var(--scrim-0) 80%); }
  .head, .split, .evidence, .cols, .find, .article-row, .band .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .prow { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-sm) var(--space-md); }
  .prow > div:last-of-type, .prow .go { grid-column: 2; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .grid3, .grid3.four { grid-template-columns: minmax(0, 1fr); }
  .ms td:nth-child(3) { width: auto; }
  .plate .row { grid-template-columns: minmax(0, 1fr) 2.5rem; }
  .plate .row .bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 40rem) {
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .brand-word { width: 116px; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .ms td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .prow:hover .pname, .ledger a:hover h3, a.sol:hover h3, .article-row:hover h2 { transform: none; } }
.what .tag{margin-left:var(--space-xs);vertical-align:1px}
/* ledger as full-width rows: title, line, link (no orphan cell) */
.ledger { grid-template-columns: minmax(0, 1fr); }
.ledger a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-xl); }
.ledger a > div { display: contents; }
.ledger p { grid-column: auto; margin-top: 0; }
.go { align-self: center; }
.ledger .go { align-self: baseline; }
.hero .wrap { padding-bottom: var(--space-2xl); padding-top: var(--space-3xl); }
.hero h1 { max-width: 13ch; }
@media (max-width: 60rem) { .ledger a { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); } .ledger p { grid-column: 1; grid-row: 2; } .ledger .go { grid-row: 1; grid-column: 2; } }
@media (min-width: 60.01rem) { .phero.has-lens::before { background: linear-gradient(90deg, var(--color-paper) 0%, var(--scrim-62) 38%, var(--scrim-0) 68%), linear-gradient(0deg, var(--scrim-50) 0%, var(--scrim-0) 25%); } }

/* ---------- owner revisions: neutral outlined action, larger mark, blur-in reveals, parallax */
.pill { background: transparent; color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule-2); min-height: 40px; display: inline-flex; align-items: center; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pill:hover { background: var(--color-ink); color: var(--color-accent-ink); border-color: var(--color-ink); }
:root { --head: 80px; }
.brand-mark { width: 54px; }
.brand-word { width: 168px; }
.brand { gap: var(--space-md); }
@media (max-width: 60rem) { :root { --head: 68px; } .brand-mark { width: 44px; } .brand-word { width: 132px; } }

.js .rv { opacity: 0; filter: blur(14px); transform: translateY(18px); transition: opacity 1s var(--ease-out), filter 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; filter: blur(0); transform: none; }
.js .lens { opacity: 0; filter: blur(18px); transition: opacity 1.6s var(--ease-out), filter 1.6s var(--ease-out); }
.js .lens.in { opacity: 1; filter: blur(0); }
[data-px] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .js .rv, .js .lens { opacity: 1; filter: none; transform: none; transition: none; } [data-px] { will-change: auto; } }

/* Observatory system graph */
.graph { position: absolute; inset: 0; z-index: 0; }
.graph canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.has-graph::before { pointer-events: none; }
.has-graph .wrap { pointer-events: none; }
.has-graph .wrap a, .has-graph .wrap .legend { pointer-events: auto; }
.graph-tip { position: absolute; left: 0; top: 0; z-index: var(--z-tooltip); width: 280px; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); font-size: var(--text-sm); color: var(--color-ink-2); pointer-events: none; display: grid; gap: var(--space-2xs); }
.graph-tip b { color: var(--color-ink); font-weight: 500; }
.graph-tip .badge { justify-self: start; }
.legend { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.legend li { display: flex; align-items: center; gap: var(--space-xs); }
.k { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid var(--color-ink-2); }
.k.conf { background: var(--color-ink); box-shadow: 0 0 0 3px var(--color-paper), 0 0 0 4px var(--color-rule-2); }
.k.sup { background: var(--color-ink-2); }
.k.mix { background: linear-gradient(90deg, var(--color-ink-2) 50%, transparent 50%); }
.k.open { border-style: dashed; }
.k.not { border: 0; border-radius: 0; background: linear-gradient(45deg, transparent 45%, var(--color-muted) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--color-muted) 45% 55%, transparent 55%); }
tr.flash td { background: var(--color-paper-3); transition: background-color var(--dur-long) var(--ease-out); }
.no-graph { display: none; }
@media (max-width: 60rem) { .has-graph { min-height: 0; } }

/* diagrams: orbit and pipeline figures drawn from each page's own steps */
.diagram { margin: 0 0 var(--space-xl); max-width: 560px; }
.diagram.wide { max-width: none; }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.diagram figcaption { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-sm); max-width: 60ch; }
.d-ring { fill: none; stroke: var(--color-rule-2); stroke-width: 1; }
.d-orbit { fill: none; stroke: var(--color-ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 96; animation: d-orbit 9s linear infinite; }
.d-late { animation-delay: -4.5s; }
@keyframes d-orbit { to { stroke-dashoffset: -100; } }
.d-node { fill: var(--color-paper); stroke: var(--color-ink-2); stroke-width: 1.2; }
.d-label { fill: var(--color-ink-2); font-family: var(--font-body); font-size: 15px; }
.d-num { fill: var(--color-muted); font-family: var(--font-body); font-size: 13px; font-variant-numeric: tabular-nums; }
.d-center { fill: var(--color-ink); font-family: var(--font-display); font-size: 26px; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) { .d-orbit { animation: none; stroke-dasharray: none; stroke: var(--color-rule-2); } }
@media (max-width: 40rem) { .diagram.wide svg { min-width: 640px; } .diagram.wide { overflow-x: auto; } }

/* mission statement under the hero */
.mission .split { align-items: start; }
.mission .wrap > div > * + * { margin-top: var(--space-lg); }
.mission p:not(.lede) { color: var(--color-ink-2); max-width: 60ch; }
.mission .statement { font-family: var(--font-display); font-size: var(--text-title); line-height: 1.3; color: var(--color-ink); max-width: 34ch; }
.hero h1 { max-width: 13ch; }
.hero .lede { max-width: 36ch; }

/* Windows 11 style glass (acrylic) for the bar and its menus, at the owner's request */
.top { background: var(--glass); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); border-bottom: var(--rule-hair) solid var(--glass-edge); box-shadow: inset 0 -1px 0 var(--glass-hi); }
.drop, .js .drop { background: var(--glass-2); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); border: var(--rule-hair) solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 40px -18px var(--shadow-drop); border-radius: 10px; }
.drop a:hover { background: var(--glass-hi); }
.pill { background: var(--glass-hi); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--glass-edge); }
@media (max-width: 60rem) { .js .navwrap { background: var(--glass); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); } .drop, .js .drop { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; } }
@supports not (backdrop-filter: blur(1px)) { .top, .drop, .js .drop, .js .navwrap { background: var(--color-paper-2); } }

/* intelligence, measured in kilobytes */
.kb-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.kb .lede { margin-top: var(--space-lg); }
.kb-facts { margin-top: var(--space-xl); }
.kb-facts li { grid-template-columns: 12rem minmax(0, 1fr); }
.kb p:not(.lede) { color: var(--color-muted); margin-top: var(--space-lg); max-width: 60ch; }
.floppy-stage { perspective: 1400px; display: grid; place-items: center; min-height: 440px; cursor: grab; touch-action: pan-y; }
.floppy { --w: 340px; --h: 354px; --d: 12px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-28deg); }
.fl-face { position: absolute; inset: 0; background: linear-gradient(160deg, var(--disk-2), var(--disk)); border-radius: 6px; clip-path: polygon(0 0, 92% 0, 100% 6%, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--glass-edge); backface-visibility: hidden; }
.fl-front { transform: translateZ(calc(var(--d) / 2)); }
.fl-back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.fl-shutter { position: absolute; left: 22%; width: 52%; top: 0; height: 37%; background: linear-gradient(90deg, var(--metal-2), var(--metal) 40%, var(--metal-2)); border-radius: 0 0 3px 3px; }
.fl-slot { position: absolute; left: 62%; top: 14%; width: 16%; height: 66%; background: var(--disk); border-radius: 2px; }
.fl-shutter.back { left: 26%; }
.fl-label { position: absolute; left: 9%; right: 9%; bottom: 0; height: 58%; background: var(--label); color: var(--label-ink); border-radius: 4px 4px 0 0; padding: var(--space-md); display: grid; align-content: start; gap: var(--space-2xs); font-size: var(--text-xs); }
.fl-label b { color: var(--label-ink); font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: 0.02em; }
.fl-size { font-family: var(--font-display); font-size: 36px; line-height: 1; margin-top: 6px; letter-spacing: -0.02em; }
.fl-bar { display: block; height: 4px; background: var(--label-track); margin-top: var(--space-xs); border-radius: 2px; overflow: hidden; }
.fl-bar i { display: block; height: 100%; width: var(--u); min-width: 3px; background: var(--label-ink); }
.fl-cap { color: var(--label-muted); }
.fl-hole { position: absolute; right: 5%; bottom: 4%; width: 14px; height: 14px; background: var(--disk); border: 1px solid var(--glass-edge); border-radius: 2px; }
.fl-hub { position: absolute; left: 50%; top: 56%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--disk) 0 22%, var(--metal) 23% 62%, var(--metal-2) 63%); }
.fl-edge { position: absolute; background: var(--disk); }
.fl-top, .fl-bottom { left: 0; width: 100%; height: var(--d); top: calc(50% - var(--d) / 2); }
.fl-top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.fl-bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.fl-left, .fl-right { top: 0; height: 100%; width: var(--d); left: calc(50% - var(--d) / 2); }
.fl-left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.fl-right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }

/* six differentiators */
.six { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.six li { padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); max-width: none; }
.six .n { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.six h3 { margin-top: var(--space-sm); }
.six p { color: var(--color-muted); margin-top: var(--space-xs); max-width: 36ch; }
.six li:last-child h3 { color: var(--color-ink-2); }
@media (max-width: 60rem) { .kb-grid { grid-template-columns: minmax(0, 1fr); } .floppy-stage { min-height: 380px; } .floppy { --w: 250px; --h: 260px; } .six { grid-template-columns: minmax(0, 1fr); } }
/* product marks as identifiers in the Products menu */
.drop a.has-mark { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--space-sm); align-items: center; }
.drop a.has-mark .dmark { grid-row: span 2; width: 32px; height: 22px; object-fit: contain; opacity: .9; }
.drop a.has-mark small { grid-column: 2; }
