:root {
  --bg: #fff; --ink: #151515; --muted: #707070; --line: #dededb;
  --soft: #f6f6f4; --accent: #d53c2b; --max: 1240px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light; font-family: Arial, Helvetica, sans-serif; font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 1px solid var(--line); border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; color: #999; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:hover:not(:disabled) { border-color: var(--ink); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure, dl { margin: 0; }
p { font-size: 14px; line-height: 1.8; color: var(--muted); }
h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -2px; font-weight: 650; }
h3 { font-weight: 650; letter-spacing: -.5px; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.red { color: var(--accent); }
.eyebrow, .mono-label { font: 10px/1.5 var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--muted); }
.status-dot { display: inline-block; width: 5px; height: 5px; background: var(--accent); flex-shrink: 0; }
.header { height: 70px; display: flex; justify-content: space-between; align-items: center; padding-inline: 40px; position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 30; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 17px; font-weight: 700; letter-spacing: -.55px; }
.brand-symbol { display: flex; align-items: center; gap: 1px; border: 1px solid var(--ink); height: 27px; padding-inline: 4px; font: 700 12px var(--mono); letter-spacing: -2px; }
.brand-symbol > span { color: var(--accent); font-size: 20px; line-height: 1; }
.header nav { display: flex; gap: 26px; }
.header nav a { display: flex; align-items: center; gap: 7px; font-size: 11px; padding-block: 26px; position: relative; }
.header nav a > span { color: #969696; font: 8px var(--mono); }
.header nav a::after { content: ""; position: absolute; height: 2px; background: var(--accent); left: 0; right: 0; bottom: 17px; transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.header nav a:hover::after, .header nav a[aria-current]::after { transform: scaleX(1); }
.header nav a[aria-current] > span { color: var(--accent); }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.menu-button { display: none; }
.hero { padding-top: 45px; }
.hero-copy { text-align: center; }
.hero-eyebrow { justify-content: center; font-size: 9px; letter-spacing: 1.9px; margin-bottom: 18px; }
.title-lockup { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
h1 { font-size: clamp(80px, 11.5vw, 152px); font-weight: 800; letter-spacing: -.072em; line-height: .94; }
.title-registration { position: absolute; right: -32px; top: 6px; color: var(--accent); font: 20px var(--mono); }
.hero-title { font-size: clamp(17px, 1.8vw, 22px); color: var(--ink); letter-spacing: -.4px; margin-top: 20px; line-height: 1.35; }
.title-rule { display: block; width: 36px; height: 3px; margin: 19px auto 15px; background: var(--accent); }
.lede { font-size: 12px; line-height: 1.65; margin: 0 auto; max-width: 660px; }
.hero-demo { margin-top: 33px; }
.plate-topline { min-height: 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink); gap: 20px; }
.plate-topline > span { font: 9px var(--mono); letter-spacing: .7px; }
.plate-topline b { font-weight: 400; margin-right: 8px; }
.presentation-toggle { display: flex; gap: 20px; }
.presentation-toggle button { border: 0; padding: 9px 0; font: 10px var(--mono); color: var(--muted); }
.presentation-toggle button::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; background: transparent; border: 1px solid #aaa; vertical-align: 1px; }
.presentation-toggle button[aria-pressed=true] { color: var(--ink); }
.presentation-toggle button[aria-pressed=true]::before { background: var(--accent); border-color: var(--accent); }
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.specimen-plate { min-width: 0; padding-inline: 21px; border-left: 1px solid var(--line); }
.specimen-plate:first-child { border-left: 0; padding-left: 0; }
.specimen-plate:last-child { padding-right: 0; }
.plate-viewport { display: block; width: 100%; aspect-ratio: 1.16; padding: 13px; position: relative; overflow: hidden; background: var(--soft); border: 0; cursor: zoom-in; }
.plate-viewport > img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s, opacity .2s; background: #fff; }
.plate-viewport:hover > img { transform: scale(1.035); }
.triptych[aria-busy=true] img { opacity: .55; }
.plate-register { position: absolute; inset: 7px; z-index: 2; color: #bbb; pointer-events: none; transition: color .2s; }
.plate-register::before, .plate-register::after { content: ""; position: absolute; width: 9px; height: 9px; border: 0 solid currentColor; }
.plate-register::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.plate-register::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.plate-viewport:hover .plate-register { color: var(--accent); }
.plate-enlarge { position: absolute; right: 18px; top: 16px; z-index: 3; font-size: 20px; color: var(--accent); opacity: 0; transform: translate(-4px, 4px); transition: opacity .2s, transform .2s; }
.plate-viewport:hover .plate-enlarge, .plate-viewport:focus-visible .plate-enlarge { opacity: 1; transform: none; }
.specimen-plate figcaption { display: flex; align-items: flex-start; gap: 11px; padding: 17px 0 19px; }
.plate-number { font: 10px var(--mono); color: var(--accent); padding-top: 2px; }
.specimen-plate figcaption strong { display: block; font-size: 12px; font-weight: 600; }
.specimen-plate figcaption div > span { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); }
.plate-arrow { margin-left: auto; padding-right: 3px; color: #aaa; font-size: 18px; }
.plate-arrow.red { color: var(--accent); }
.filmstrip { display: grid; grid-template-columns: 125px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding-block: 15px; border-block: 1px solid var(--line); }
.filmstrip-caption > span { display: block; font: 8px/1.6 var(--mono); letter-spacing: 1px; color: var(--muted); }
.filmstrip-caption strong { display: block; margin-top: 7px; font: 15px var(--mono); }
.hero-cases { display: flex; gap: 13px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.case-chip { display: flex; align-items: center; gap: 9px; border: 1px solid transparent; padding: 5px; flex-shrink: 0; position: relative; text-align: left; transition: background .18s, border-color .18s; }
.case-chip img { width: 37px; height: 42px; object-fit: cover; filter: grayscale(1); opacity: .68; transition: filter .2s, opacity .2s; }
.case-chip span { font: 9px var(--mono); color: var(--muted); white-space: nowrap; }
.case-chip:hover img, .case-chip[aria-pressed=true] img { opacity: 1; filter: none; }
.case-chip[aria-pressed=true] { background: var(--soft); border-color: var(--ink); }
.case-chip[aria-pressed=true]::after { content: ""; position: absolute; bottom: -3px; left: 4px; width: 13px; height: 3px; background: var(--accent); }
.case-chip[aria-pressed=true] span { color: var(--ink); }
.filmstrip-note { font: 9px/1.6 var(--mono); color: #868686; }
.hero-bottom { padding-block: 25px 38px; }
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; font-size: 11px; font-weight: 550; min-height: 38px; transition: background .18s, color .18s; }
.button:hover:not(:disabled) { background: var(--soft); }
.button.primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); min-height: 42px; padding-inline: 24px; }
.button.primary > span { display: inline-block; transition: transform .2s; }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }
.button.primary:hover > span { transform: translate(2px, -2px); }
.actions .button:disabled { padding-inline: 0; border: 0; font: 10px var(--mono); }
.soon { font: 8px var(--mono); }
.metadata { max-width: 530px; margin: 17px auto 0; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 15px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; font: 17px var(--mono); color: var(--accent); }
details[open] > summary::after { content: "−"; }
.metadata summary { font-size: 10px; padding: 8px 0; }
.metadata small { margin-left: auto; color: #909090; font: 8px var(--mono); }
.metadata summary::after { margin-left: 0; }
.metadata-body { padding: 10px 0 0; }
.metadata-body p { font-size: 11px; }
.metadata-body p + p { margin-top: 7px; }
.comparison-panel { display: block; padding: 15px 20px 30px; }
.comparison { width: min(100%, 650px); margin-inline: auto; padding-bottom: 1px; background: #191c20; border: 1px solid #30343a; border-radius: 13px; overflow: hidden; box-shadow: 0 16px 44px #15181c12, 0 2px 6px #15181c0a; }
.stage-heading { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 14px 16px; color: #bec2c9; font: 9px var(--mono); letter-spacing: 1.5px; }
.stage-heading i { font-style: normal; color: #656c75; margin-inline: 7px; }
.stage-dot { width: 4px; height: 4px; border-radius: 50%; background: #d96353; flex-shrink: 0; }
.stage-image-inset { padding-inline: 14px; }
.stage-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px 17px; }
.stage-tools { display: flex; align-items: center; gap: 7px; }
.stage-icon-button { width: 31px; height: 31px; display: inline-grid; place-items: center; padding: 6px; border: 1px solid #434951; border-radius: 6px; background: #24282e; color: #c7ccd3; transition: background .18s, border-color .18s, color .18s; }
.stage-icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.stage-icon-button:hover:not(:disabled) { color: #fff; border-color: #8b939e; background: #343a42; }
.stage-icon-button:disabled { opacity: .4; }
.stage-icon-button .reveal-stop { display: none; }
.stage-icon-button[aria-pressed=true] .reveal-play { display: none; }
.stage-icon-button[aria-pressed=true] .reveal-stop { display: block; }
.stage-icon-button[aria-pressed=true] { border-color: #929aa4; color: #fff; }
.stage-hint { margin-left: 8px; font-size: 10px; color: #979da7; }
.stage-cases { display: flex; align-items: center; gap: 5px; }
.stage-cases button { position: relative; min-width: 25px; height: 31px; padding: 5px 3px; border: 0; font: 9px var(--mono); color: #757d88; }
.stage-cases button:hover { color: #e2e5e9; }
.stage-cases button[aria-pressed=true] { color: #fff; }
.stage-cases button[aria-pressed=true]::after { content: ""; position: absolute; bottom: 1px; left: 5px; right: 5px; height: 1px; background: #c4cbd4; }
.compare-frame { position: relative; isolation: isolate; width: 100%; aspect-ratio: var(--portrait-ratio); border: 1px solid #474d54; border-radius: 7px; background: #fff; overflow: hidden; }
.compare-frame[data-view=split] { cursor: crosshair; touch-action: none; }
.compare-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; pointer-events: none; user-select: none; }
.layer-input { clip-path: inset(0 0 calc(100% - var(--y)) 0); z-index: 1; }
.layer-geometry { clip-path: inset(var(--y) calc(100% - var(--x)) 0 0); z-index: 2; }
.layer-render { clip-path: inset(var(--y) 0 0 var(--x)); z-index: 3; }
.divider-horizontal, .divider-vertical { position: absolute; z-index: 4; background: #f4f5f7e6; box-shadow: 0 0 0 1px #20272d25; pointer-events: none; }
.divider-horizontal { left: 0; right: 0; top: var(--y); height: 1px; }
.divider-vertical { top: var(--y); bottom: 0; left: var(--x); width: 1px; }
.compare-handle { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 44px; height: 44px; z-index: 6; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: grab; touch-action: none; display: grid; place-items: center; }
.compare-handle::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid #f4f6f8dd; background: #2d333de8; box-shadow: 0 1px 7px #0005, inset 0 0 0 2px #4b535c7a; transition: background .18s; }
.compare-handle svg { position: relative; z-index: 1; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.compare-handle:hover::before { background: #3c4552; }
.compare-handle:active { cursor: grabbing; }
.compare-handle:focus-visible { outline: 2px solid #f2f4f7; outline-offset: 1px; }
.image-label { position: absolute; z-index: 5; padding: 6px 9px; border: 1px solid #ffffff17; border-radius: 5px; color: #e9ecf0; background: #242a33c9; font: 8px var(--mono); letter-spacing: .8px; text-transform: uppercase; pointer-events: none; }
.label-input { top: 11px; left: 50%; transform: translateX(-50%); }
.label-geometry { bottom: 11px; left: 11px; }
.label-render { bottom: 11px; right: 11px; }
.compare-frame:not([data-view=split]) .compare-image { opacity: 0; clip-path: none; }
.compare-frame[data-view=input] .layer-input, .compare-frame[data-view=geometry] .layer-geometry, .compare-frame[data-view=render] .layer-render { opacity: 1; }
.compare-frame:not([data-view=split]) :is(.divider-horizontal, .divider-vertical, .compare-handle, .image-label) { display: none; }
.compare-frame[data-view=input] .label-input, .compare-frame[data-view=geometry] .label-geometry, .compare-frame[data-view=render] .label-render { display: block; }
.comparison-notes { max-width: 440px; margin: 21px auto 0; text-align: center; }
.stage-caption { font-size: 13px; color: #74777c; letter-spacing: .1px; }
.compare-modes { display: flex; margin-top: 13px; gap: 6px; }
.compare-modes button { font: 9px var(--mono); border: 0; padding: 10px 7px; flex: 1; color: #888; }
.compare-modes button[aria-pressed=true] { color: var(--ink); box-shadow: inset 0 -1px var(--ink); }
.comparison-notes > .control-note { margin-top: 15px; color: #9b9b9b; font-size: 8px; }
.control-note { font: 9px/1.7 var(--mono); }
.control-note span { margin-inline: 7px; }
kbd { font: 9px var(--mono); padding: 2px 3px; border: 1px solid var(--line); margin-right: 2px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--ink); }
.highlights article { padding: 29px 26px; position: relative; }
.highlights article:first-child { padding-left: 0; }
.highlights article:last-child { padding-right: 0; }
.highlights article + article { border-left: 1px solid var(--line); }
.feature-index { font: 9px var(--mono); letter-spacing: .7px; color: var(--accent); }
.highlights h2 { margin-top: 18px; font-size: 21px; letter-spacing: -.7px; }
.highlights p { font-size: 12px; line-height: 1.75; margin-top: 10px; max-width: 320px; }
.section { padding-top: 90px; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 120px; align-items: end; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 24px; }
.section-index { color: var(--accent); padding-right: 14px; border-right: 1px solid var(--line); }
.section-heading > p { font-size: 13px; max-width: 410px; padding-bottom: 3px; }
.figure-card { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.figure-card figcaption { border-top: 1px solid var(--line); padding: 14px 16px; display: flex; justify-content: space-between; gap: 15px; align-items: center; font: 9px/1.6 var(--mono); color: var(--muted); }
.figure-card figcaption b { font-weight: 400; }
.figure-zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: #fff; }
.figure-zoom:focus-visible { outline-offset: -4px; }
.figure-zoom img { transition: transform .35s; }
.figure-zoom:hover img { transform: scale(1.015); }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; color: var(--ink); background: #fff; border: 1px solid var(--ink); padding: 8px 10px; font: 8px var(--mono); }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure summary { padding: 18px 0; font-size: 11px; }
.disclosure small { font: 9px var(--mono); color: #888; }
.disclosure-body { padding: 0 0 20px; max-width: 780px; }
.disclosure-body p { font-size: 12px; }
.video-card { margin-top: 20px; }
video { display: block; width: 100%; background: var(--ink); }
.asset-strip { display: flex; align-items: center; border-block: 1px solid var(--line); gap: 30px; margin-bottom: 22px; padding-block: 10px; }
.asset-picker { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-bottom:14px; }
.asset-picker label { color:var(--muted); font-size:10px; }
.asset-picker select { min-width:260px; max-width:100%; padding:12px 36px 12px 12px; border:1px solid var(--line); background:white; color:var(--ink); font:13px var(--sans,Arial,sans-serif); }
.asset-strip .asset-cases { min-width:0; width:100%; }
.asset-strip > .mono-label { font-size: 9px; flex-shrink: 0; color: var(--muted); }
.asset-cases { display: flex; gap: 17px; overflow-x: auto; padding: 5px 2px; scrollbar-width: thin; }
.asset-cases .case-chip img { width: 41px; height: 47px; }
.asset-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 25px; }
.viewer-column { min-width: 0; }
.viewer-frame { height: 560px; border: 1px solid var(--line); position: relative; overflow: hidden; background: #f2f2f0; isolation: isolate; }
.viewer-frame::before, .viewer-frame::after { content: "+"; position: absolute; z-index: 2; pointer-events: none; font: 20px var(--mono); color: #c6c6c2; }
.viewer-frame::before { left: 14px; top: 57px; }
.viewer-frame::after { right: 14px; bottom: 57px; }
.viewer-canvas { width: 100%; height: 100%; position: relative; touch-action: none; }
.viewer-canvas canvas { display: block; width: 100%; height: 100%; outline: 0; }
.viewer-top, .viewer-bottom { position: absolute; z-index: 3; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; padding: 12px 16px; background: #f2f2f0ee; }
.viewer-top { top: 0; border-bottom: 1px solid #dededb80; }
.viewer-bottom { bottom: 0; border-top: 1px solid #dededb80; }
.viewer-badge { display: flex; align-items: center; gap: 8px; font: 9px var(--mono); letter-spacing: .3px; }
.viewer-bottom > span { font: 8px var(--mono); letter-spacing: .3px; color: var(--muted); }
.viewer-tools { display: flex; gap: 6px; pointer-events: auto; }
.viewer-tools button { font: 9px var(--mono); padding: 7px 9px; background: #fff; }
.viewer-tools button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
#fullscreenButton { font: 16px/1 var(--mono); }
.viewer-status { position: absolute; inset: 0; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #f2f2f0; z-index: 4; text-align: center; font: 11px var(--mono); color: var(--muted); }
.loader { width: 19px; height: 19px; border: 1px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
progress { width: 190px; height: 2px; border: 0; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--accent); }
.viewer-frame[data-state=loaded] .viewer-status { display: none; }
.viewer-frame[data-state=error] :is(.loader, progress) { display: none; }
.viewer-frame:fullscreen { width: 100vw; height: 100vh; }
.material-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 10px; }
.material-modes button { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 11px; padding: 14px; background: #fff; }
.material-modes button + button { border-left: 0; }
.material-modes button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.material-dot { width: 9px; height: 9px; }
.color-dot { background: #c7a38e; }
.gray-dot { background: #969696; }
.wire-dot { border: 1px solid currentColor; transform: rotate(45deg); }
.view-presets { display: flex; align-items: center; gap: 17px; padding-top: 16px; }
.view-presets > span { font: 8px var(--mono); letter-spacing: .5px; color: var(--muted); margin-right: auto; }
.view-presets button { padding: 6px 0; border: 0; font: 9px var(--mono); }
.view-presets button:hover { color: var(--accent); }
.viewer-note { font: 9px/1.8 var(--mono); margin-top: 13px; }
.viewer-note .red { margin-right: 9px; }
.input-column .figure-card img { aspect-ratio: 1; object-fit: contain; }
.asset-notes { padding-top: 25px; }
.asset-notes .eyebrow { font-size: 9px; margin-bottom: 10px; }
.asset-notes dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.asset-notes dt { color: var(--muted); }
.asset-notes dd { margin: 0; }
.asset-notes p:last-of-type { font-size: 11px; margin-top: 19px; }
.asset-note-mark { display: inline-block; font-size: 50px; line-height: 1; margin-top: 14px; color: var(--accent); }
.method-panel { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; gap: 27px; border-block: 1px solid var(--ink); padding-block: 34px; }
.method-step { min-width: 0; }
.method-number { display: block; color: #d7d7d3; font-size: 68px; line-height: 1; letter-spacing: -5px; margin-bottom: 25px; }
.method-step div > span { font: 9px var(--mono); color: var(--accent); letter-spacing: .6px; }
.method-step h3 { font-size: 19px; margin-top: 11px; }
.method-step p { font-size: 12px; margin-top: 11px; }
.method-arrow { align-self: center; color: var(--accent); font-size: 23px; }
.draft-note { font: 8px/1.7 var(--mono); color: #8d8d8d; letter-spacing: .6px; margin-top: 12px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery-grid .figure-zoom img { aspect-ratio: 2; object-fit: contain; }
.gallery-grid .figure-card { border-color: var(--line); transition: border-color .2s; }
.gallery-grid .figure-card:hover { border-color: var(--ink); }
.gallery-grid figcaption { align-items: center; }
.gallery-case-label { color: var(--ink); font-weight: 600; }
.gallery-view { display: inline-flex; gap: 10px; white-space: nowrap; align-items: center; font: 9px var(--mono); padding: 7px 0 7px 10px; border: 0; margin-left: auto; }
.gallery-view span { color: var(--accent); font-size: 14px; transition: transform .2s; }
.gallery-view:hover span { transform: translate(2px, -2px); }
.citation-box { border-block: 1px solid var(--ink); background: var(--soft); }
.citation-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.citation-toolbar > span { font: 9px var(--mono); letter-spacing: .5px; color: var(--muted); }
.citation-toolbar .button { min-height: 30px; padding: 6px 10px; font: 9px var(--mono); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.9 var(--mono); padding: 25px 22px; margin: 0; color: var(--muted); }
.footer { margin-top: 32px; border-top: 1px solid var(--ink); }
.footer-line { display: flex; justify-content: flex-end; padding-block: 24px; }
.footer-line > a:last-child { font: 12px var(--mono); color: var(--muted); }
.footer-line > a:last-child > span { margin-left: 10px; font-size: 14px; }
dialog { border: 1px solid var(--ink); padding: 20px; width: min(1320px, calc(100vw - 40px)); max-height: 92svh; background: #fff; }
dialog::backdrop { background: #111d; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; font: 11px var(--mono); padding-bottom: 17px; }
.lightbox-toolbar button { padding: 9px 14px; font: 10px var(--mono); }
dialog img { width: 100%; max-height: 72svh; object-fit: contain; }
dialog > p { text-align: center; font: 9px var(--mono); margin-top: 13px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 14px 23px; border-left: 3px solid var(--accent); background: var(--ink); color: #fff; font: 11px/1.5 var(--mono); z-index: 100; max-width: 90vw; }
.skip-link { position: fixed; top: -60px; left: 20px; padding: 13px; background: var(--ink); color: #fff; z-index: 101; }
.skip-link:focus { top: 12px; }
.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; }
.noscript { padding: 18px; background: var(--soft); text-align: center; font-size: 12px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header { padding-inline: 30px; }
  .header nav { gap: 19px; }
  .hero { padding-top: 38px; }
  .specimen-plate { padding-inline: 14px; }
  .filmstrip { grid-template-columns: 102px minmax(0, 1fr); gap: 15px; }
  .filmstrip-note { display: none; }
  .hero-cases { justify-content: space-between; gap: 5px; }
  .case-chip { gap: 6px; }
  .case-chip img { width: 32px; height: 37px; }
  .case-chip span { font-size: 8px; }
  .section-heading { gap: 60px; }
  .asset-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; }
  .viewer-frame { height: 490px; }
  .asset-cases { gap: 8px; }
  .method-panel { gap: 16px; }
  .comparison-panel { gap: 45px; }
  .gallery-grid figcaption > .gallery-detail { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 36px); }
  .header { height: 61px; padding-inline: 18px; }
  .brand { font-size: 15px; gap: 9px; }
  .brand-symbol { height: 25px; }
  .menu-button { display: flex; align-items: center; gap: 16px; border: 0; padding: 12px 0 12px 12px; font: 10px var(--mono); }
  .menu-button span { color: var(--accent); font-size: 19px; }
  .header nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--ink); padding: 12px 18px; flex-wrap: wrap; gap: 10px 23px; }
  .header nav[data-open=true] { display: flex; }
  .header nav a { padding-block: 12px; }
  .header nav a::after { bottom: 4px; }
  .hero { padding-top: 36px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .8px; margin-bottom: 18px; }
  h1 { font-size: clamp(48px, 17vw, 125px); letter-spacing: -.075em; }
  .title-registration { font-size: 15px; right: -15px; top: 0; }
  .hero-title { font-size: 15px; margin-top: 17px; }
  .title-rule { width: 27px; height: 2px; margin-block: 17px 13px; }
  .lede { font-size: 10px; max-width: 310px; }
  .hero-demo { margin-top: 27px; }
  .plate-topline { flex-wrap: wrap; gap: 8px; padding-block: 12px; min-height: 60px; }
  .plate-topline > span { font-size: 8px; letter-spacing: .2px; }
  .presentation-toggle { gap: 18px; }
  .presentation-toggle button { font-size: 9px; padding: 7px 0; }
  .triptych { display: flex; gap: 13px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #bcbcb6 var(--soft); }
  .specimen-plate, .specimen-plate:first-child, .specimen-plate:last-child { flex: 0 0 74%; padding-inline: 0; border: 0; scroll-snap-align: center; }
  .plate-viewport { aspect-ratio: 1.07; padding: 11px; }
  .specimen-plate figcaption { padding-block: 13px; gap: 10px; }
  .specimen-plate figcaption strong { font-size: 11px; }
  .specimen-plate figcaption div > span { font-size: 9px; }
  .plate-enlarge { opacity: 1; transform: none; font-size: 17px; }
  .filmstrip { display: block; padding-block: 13px 11px; }
  .filmstrip-caption { display: flex; align-items: center; justify-content: space-between; padding-inline: 2px; margin-bottom: 11px; }
  .filmstrip-caption strong { margin: 0; font-size: 11px; }
  .hero-cases { justify-content: flex-start; gap: 9px; }
  .hero-cases .case-chip { flex-direction: column; gap: 6px; padding: 5px; flex: 0 0 44px; }
  .hero-cases .case-chip img { width: 35px; height: 39px; }
  .hero-cases .case-chip span { font-size: 7px; }
  .hero-bottom { padding-block: 22px 25px; }
  .actions { gap: 15px; }
  .button.primary { padding-inline: 17px; font-size: 10px; }
  .actions .button:disabled { font-size: 9px; gap: 6px; }
  .metadata summary { font-size: 9px; gap: 10px; }
  .metadata small { font-size: 7px; }
  .metadata-body p { font-size: 10px; }
  .comparison-panel { padding: 0 0 22px; }
  .comparison { width: 100%; max-width: 560px; border-radius: 10px; }
  .stage-heading { min-height: 39px; padding: 11px 10px; font-size: 7px; letter-spacing: .8px; gap: 10px; }
  .stage-heading i { margin-inline: 4px; }
  .stage-image-inset { padding-inline: 9px; }
  .stage-footer { padding: 12px 11px 13px; gap: 8px; }
  .stage-tools { gap: 5px; }
  .stage-icon-button { width: 27px; height: 29px; padding: 5px; }
  .stage-icon-button svg { width: 15px; height: 15px; }
  .stage-hint { display: none; }
  .stage-cases { gap: 1px; }
  .stage-cases button { min-width: 22px; height: 29px; font-size: 8px; }
  .image-label { font-size: 6px; padding: 5px 6px; letter-spacing: .4px; }
  .comparison-notes { margin-top: 17px; }
  .stage-caption { font-size: 11px; }
  .compare-modes { margin-top: 9px; }
  .comparison-notes > .control-note { margin-top: 12px; font-size: 7px; }
  .highlights { grid-template-columns: 1fr; }
  .highlights article, .highlights article:first-child, .highlights article:last-child { padding: 22px 0; }
  .highlights article + article { border-left: 0; border-top: 1px solid var(--line); }
  .feature-index { font-size: 8px; }
  .highlights h2 { font-size: 21px; margin-top: 11px; }
  .highlights p { font-size: 12px; max-width: 100%; margin-top: 8px; }
  .section { padding-top: 58px; }
  .section-heading { grid-template-columns: 1fr; gap: 19px; margin-bottom: 25px; }
  .section-heading .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 39px; letter-spacing: -1.6px; }
  .section-heading > p { font-size: 12px; max-width: 440px; }
  .figure-card figcaption { padding: 10px; gap: 10px; font-size: 8px; }
  #overview > .figure-card figcaption > span:last-child { display: none; }
  .zoom-hint { font-size: 7px; padding: 6px; right: 6px; bottom: 6px; }
  .disclosure summary { flex-wrap: wrap; padding-block: 15px; gap: 8px; font-size: 10px; }
  .disclosure small { font-size: 8px; }
  .asset-strip { display: block; padding-top: 13px; margin-bottom: 15px; }
  .asset-strip > .mono-label { font-size: 8px; }
  .asset-cases { gap: 8px; padding-top: 12px; }
  .asset-cases .case-chip { flex-direction: column; gap: 6px; padding: 5px; }
  .asset-cases .case-chip img { width: 35px; height: 39px; }
  .asset-cases .case-chip span { font-size: 7px; }
  .asset-layout { grid-template-columns: 1fr; gap: 20px; }
  .viewer-frame { height: 440px; }
  .viewer-top { padding: 12px; }
  .viewer-badge { font-size: 8px; }
  .viewer-bottom { padding: 10px 11px; flex-wrap: wrap; gap: 10px; }
  .viewer-bottom > span { font-size: 7px; width: 100%; }
  .viewer-tools { margin-left: auto; }
  .viewer-tools button { font-size: 8px; padding: 7px 9px; }
  .material-modes button { font-size: 10px; padding: 13px 8px; gap: 7px; }
  .viewer-note { font-size: 8px; }
  .input-column { display: grid; grid-template-columns: 128px 1fr; gap: 17px; align-items: start; }
  .input-column .figure-card figcaption { flex-wrap: wrap; font-size: 7px; gap: 3px; padding: 8px; }
  .asset-notes { padding: 0; }
  .asset-notes .eyebrow { margin-bottom: 5px; font-size: 8px; }
  .asset-notes dl > div { padding-block: 7px; font-size: 9px; }
  .asset-notes p:last-of-type { font-size: 9px; margin-top: 9px; }
  .asset-note-mark { display: none; }
  .method-panel { grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
  .method-step { display: flex; gap: 25px; align-items: center; }
  .method-number { font-size: 55px; flex-shrink: 0; width: 65px; margin: 0; letter-spacing: -4px; }
  .method-step h3 { margin-top: 7px; }
  .method-step p { font-size: 11px; margin-top: 7px; }
  .method-arrow { transform: rotate(90deg); justify-self: start; margin-left: 23px; font-size: 20px; }
  .draft-note { font-size: 7px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-view { font-size: 8px; }
  .citation-toolbar { padding: 14px 12px; gap: 9px; }
  .citation-toolbar > span { font-size: 7px; }
  .citation-toolbar .button { font-size: 8px; padding: 5px 7px; }
  pre { padding: 20px 12px; font-size: 10px; }
  dialog { width: calc(100vw - 18px); padding: 12px; }
  .lightbox-toolbar { font-size: 9px; }
  .lightbox-toolbar button { font-size: 9px; padding: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* One switchable render canvas, with the character input occupying 30% of the row. */
.calibration-page .asset-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 22px; align-items: start; }
.calibration-page .viewer-frame { height: auto; min-height: 0; aspect-ratio: 1; background: #fff; }
.calibration-page .viewer-frame:fullscreen { height: 100vh; aspect-ratio: auto; }
.calibration-page .viewer-canvas { position: absolute; inset: 0; display: grid; place-items: center; }
.calibration-page .viewer-canvas canvas { width: 100%; height: 100%; object-fit: contain; }
.pane-title { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 10px; margin: 0 0 12px; }
.pane-title > strong { font-size: 13px; font-weight: 550; }
.renderer-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); background: var(--soft); }
.viewer-heading-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; flex-wrap:wrap; }
#reloadViewer { padding:8px 10px; min-height:33px; font-size:10px; background:#fff; border:1px solid var(--line); border-radius:3px; }
#reloadViewer:hover:not(:disabled) { border-color:var(--ink); background:var(--soft); }
#reloadViewer:disabled { opacity:.55; cursor:wait; }
.renderer-switch button { min-height: 29px; min-width: 48px; padding: 6px 13px; border: 1px solid transparent; font-size: 11px; color: var(--muted); }
.renderer-switch button[aria-pressed=true] { color: #fff; background: var(--ink); border-color: var(--ink); }
.renderer-switch button:hover:not([aria-pressed=true]) { color: var(--ink); background: #fff; border-color: var(--line); }
.input-photo-column { min-width: 0; align-self: start; }
.input-photo-heading { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.input-photo-heading > span { font: 8px var(--mono); color: var(--muted); letter-spacing: .7px; }
.input-photo-heading > strong { font-size: 12px; font-weight: 500; }
.input-photo { border: 1px solid var(--line); background: #fff; }
.input-photo > img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.input-photo figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 13px; border-top: 1px solid var(--line); font: 9px var(--mono); color: var(--muted); }
#rendererInfo { min-height: 32px; color: var(--ink); overflow-wrap: anywhere; }
.environment-panel { margin-top: 10px; border: 1px solid var(--line); background: #fff; }
.environment-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid var(--line); }
.environment-heading .mono-label { font-size: 8px; color: var(--muted); }
.environment-status { font: 9px var(--mono); color: var(--ink); text-align: right; }
.environment-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; background: var(--accent); vertical-align: 1px; }
.environment-options { display: flex; gap: 7px; padding: 10px 12px; overflow-x: auto; scrollbar-width: thin; }
.environment-option { flex: 0 0 auto; width: 86px; padding: 5px; border: 1px solid var(--line); background: #fff; text-align: left; transition: border-color .15s, background .15s; }
.environment-option:hover:not([aria-pressed=true]) { border-color: var(--ink); }
.environment-option[aria-pressed=true] { border-color: var(--ink); background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.environment-swatch { display: block; width: 100%; height: 38px; overflow: hidden; background: var(--soft); }
.environment-swatch img { width: 100%; height: 100%; object-fit: cover; }
.source-swatch { display: grid; place-items: center; background: linear-gradient(135deg, #eceae6 0%, #d8d5cf 100%); }
.source-swatch span { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0%, #c9c4bb 70%); box-shadow: 0 1px 3px #0002; }
.environment-name { display: block; margin-top: 6px; font-size: 9px; line-height: 1.35; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.environment-name small { display: block; font: 7px var(--mono); color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.environment-option[aria-pressed=true] .environment-name { font-weight: 650; }
.environment-adjust { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 9px 12px; padding: 4px 13px 12px; }
.environment-adjust label { font: 9px var(--mono); color: var(--muted); white-space: nowrap; }
.environment-adjust output { color: var(--ink); margin-left: 5px; }
.environment-adjust input[type=range] { width: 100%; accent-color: var(--accent); height: 18px; margin: 0; }
@media (max-width: 760px) {
  .environment-adjust { grid-template-columns: auto minmax(0, 1fr); }
  .environment-option { width: 78px; }
}
#sourceViewStatus { font-size: 9px; }
.fidelity-disclosure { margin-top: 28px; }
.fidelity-disclosure .disclosure-body, .export-disclosure .disclosure-body { max-width: 100%; }
#fidelityNotes { max-height: 280px; overflow: auto; margin-top: 13px; background: var(--soft); font-size: 10px; }
.export-disclosure .button { margin-top: 14px; }
@media (max-width: 760px) {
  .calibration-page .asset-layout { grid-template-columns: 1fr; }
  .pane-title > strong { font-size: 12px; }
  .renderer-switch button { padding-inline: 10px; font-size: 10px; }
  .input-photo-column { width: min(100%, 300px); }
  .input-photo figcaption { font-size: 8px; }
  .fidelity-disclosure small, .export-disclosure small { font-size: 8px; }
}
/* Intro: figure left, publication details right. */
.hero { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, 1fr); gap:clamp(32px, 5vw, 80px); align-items:start; padding-bottom:38px; }
.hero-demo { margin-top:0; min-width:0; container-type:inline-size; }
.hero .comparison { width:min(100%, calc((100cqw - 28px) * var(--portrait-ratio) + 28px)); }
@media (max-width:540px) { .hero .comparison { width:100%; } }
.hero-copy { text-align:left; padding-top:48px; min-width:0; }
.hero-eyebrow { justify-content:flex-start; line-height:1.6; }
.hero .title-lockup { margin-inline:0; }
.hero h1 { font-size:clamp(54px, 6.5vw, 92px); }
.hero .hero-title { font-size:clamp(18px, 2vw, 26px); line-height:1.4; }
.hero .title-rule { margin-left:0; }
.hero .lede { margin-left:0; max-width:430px; font-size:13px; }
.hero-bottom { padding:26px 0 0; }
.hero .actions { justify-content:flex-start; gap:12px; }
.hero .actions .button { border:1px solid var(--line); padding:12px 18px; min-height:42px; }
.hero .actions .button:disabled { padding:12px 18px; border:1px solid var(--line); }
.hero .metadata { margin-inline:0; margin-top:24px; }
.hero .plate-topline { flex-wrap:wrap; gap:8px; padding-block:12px; }
.hero .comparison-panel { padding:12px 0 20px; }
.hero .filmstrip { flex-wrap:wrap; gap:12px; }
.hero .filmstrip-note { display:none; }
.hero-explore { margin-top:16px; }
@media (max-width:800px) {
  .hero { grid-template-columns:1fr; gap:28px; }
  .hero-copy { padding-top:0; }
  .hero h1 { font-size:clamp(54px, 13vw, 88px); }
  .hero .hero-title { font-size:21px; }
}
/* Keep the contact sheet beside the figure, directly under publication links. */
.hero-copy .filmstrip { display:block; margin-top:30px; padding-block:18px; }
.hero-copy .filmstrip-caption { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.hero-copy .filmstrip-caption strong { margin:0; font-size:11px; }
.hero-copy .hero-cases { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; overflow:visible; }
.hero-copy .case-chip { min-width:0; flex-direction:column; gap:8px; padding:8px; container-type:inline-size; }
.hero-copy .case-chip img { width:auto; max-width:100%; height:107cqw; aspect-ratio:auto; object-fit:contain; }
.hero-copy .hero-explore { margin-top:18px; }
.hero .comparison-notes { margin-top:12px; }
.hero [hidden] { display:none !important; }
