/* Hallmark · shape: Narrative Workflow (home), Index, Pinned run, Table, Form · genre: modern-minimal · theme: Cobalt (deal 3/3, seed pruva-armatur-gemi-armaturu-9de3·c0e2259d·2026-11-12·r0) · job: buy · draw: 967b52
 * hero: Stage · nav: search-led bar · footer: colophon block · imagery: generated stills (ChatGPT) in 10 slots, duotone graphite paper; the valve section drawn as a labelled diagram · signature: the gate valve section opening as you scroll, the handwheel turning, dimension lines and part numbers arriving in order, seawater glyphs passing the bore
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, the owner asked for a heavily animated page, so motion is spent on structure (a pinned section drawing, pinned runs, wipes, a sliding grid) and every move has a still, finished end state */
/* Hallmark · audience: shipyard buyers, ship superintendents and repair yards ordering valves, flanges and deck fittings · use: pick from the catalogue and ask for a quote · tone: technical, exact, like a drawing sheet (inferred, owner said be fully creative) */
/* Hallmark · note: the theme's Motion section asks for stillness; the owner asked in his own words for a heavily animated site ("bol animasyonlu"), so the Pruva pages carry several entrances, all from visible content, all off under reduced motion */
/* Hallmark · answered F8 · the owner asked for rich motion on the valve site; each pin (valve drawing, making run, production run, test record) sits in its own section with a static finished layout */
/* Hallmark · waive 83 · ten stills fixed by the brief, the catalogue tiles and production stages are the products and the making · the valve catalogue and the foundry run are what a shipyard buyer comes to see */
/* Hallmark · waive 44a · inner pages open on a short page head, then the catalogue, the run or the form follows at once · the urunler, uretim, kalite and teklif heads are page titles, not a hero */
/* Hallmark · dismissed 25 · the statement and ask lines are display type at the display-s size, one sentence each, not running prose */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 72px;
  --bar-h: 72px;
  --photo-ring: color-mix(in oklab, var(--color-ink) 8%, transparent);
  --grid-line: color-mix(in oklab, var(--color-rule-2) 70%, transparent);
  --dot: color-mix(in oklab, var(--color-glyph-2) 80%, transparent);
  --shadow-bar: 0 -1px 2px oklch(21% 0.028 262 / 0.06);
}

body { color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); line-height: 1.02; }
h3 { font-weight: 500; line-height: 1.2; }
strong { color: var(--color-ink); font-weight: 500; }
.mono { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }

/* ---------- skip, nav (search-led bar) ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 94%, transparent); border-bottom: var(--rule-hair) solid var(--color-rule); backdrop-filter: saturate(1.2); }
.nav__in { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); font: 600 var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; flex-shrink: 0; }
.wordmark svg { width: 24px; height: 24px; color: var(--color-accent); flex-shrink: 0; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 22rem; max-width: 26rem; margin-inline: auto; }
.search svg { position: absolute; left: var(--space-sm); width: 16px; height: 16px; color: var(--color-muted); pointer-events: none; }
.search input { width: 100%; min-width: 0; min-height: 44px; padding: 0 var(--space-3xl) 0 var(--space-2xl); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }
.search input::placeholder { color: var(--color-muted); }
.search input:hover { background: var(--color-paper); }
.search input:focus-visible { outline-color: var(--color-focus); background: var(--color-paper); }
.kbd { position: absolute; right: var(--space-xs); display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 var(--space-2xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; background: var(--color-key-face); box-shadow: 0 2px 0 0 var(--color-key-edge); font: 500 var(--text-xs)/1 var(--font-outlier); color: var(--color-ink-2); pointer-events: none; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a { color: var(--color-ink-2); text-decoration: none; font: 500 var(--text-sm)/1 var(--font-display); padding-block: var(--space-xs); border-bottom: var(--rule-hair) solid transparent; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.nav__menu { display: none; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 var(--space-2xs); border-radius: 4px; background: var(--color-paper-3); color: var(--color-ink); font: 500 var(--text-xs)/1 var(--font-outlier); font-variant-numeric: tabular-nums; }
.count.is-full { background: var(--color-accent); color: var(--color-accent-ink); }
@media (max-width: 60rem) {
  .nav__in { flex-wrap: wrap; gap: var(--space-sm); padding-block: var(--space-sm); }
  .search { order: 5; flex: 1 1 100%; max-width: none; }
  .nav__links { display: none; }
  .nav__links.is-open { display: grid; position: absolute; inset: 100% 0 auto 0; gap: 0; padding: var(--space-sm) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .nav__links.is-open a { display: block; padding-block: var(--space-sm); font-size: var(--text-md); }
  .nav__menu { display: inline-flex; margin-left: auto; }
}

/* ---------- keys (controls) ---------- */
.key { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key:disabled, .key[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.key[aria-busy="true"] { cursor: progress; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.key[aria-pressed="true"] { background: var(--color-paper-3); box-shadow: var(--shadow-key-press); transform: translateY(2px); }
.key svg { width: 16px; height: 16px; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:active { color: var(--color-accent-deep); }

/* ---------- photographs in slots ---------- */
.photo { margin: 0; border-radius: var(--radius-card); }
.photo > img { outline: var(--rule-hair) solid var(--photo-ring); outline-offset: -1px; }
.photo__wait { position: absolute; inset: auto var(--space-md) var(--space-md) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* cut panels */
.cut { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
@supports (corner-shape: bevel) { .cut { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap) 0; }
.section--l { padding-block: var(--section-gap-l) 0; }
.section--s { padding-block: var(--section-gap-s) 0; }
.section__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.section__head h2 { grid-column: 1 / span 6; }
.section__head .lead { grid-column: 8 / span 5; color: var(--color-ink-2); }
@media (max-width: 60rem) { .section__head h2, .section__head .lead { grid-column: 1 / -1; } }

/* ---------- hero (Stage) with the valve section ---------- */
.hero { position: relative; isolation: isolate; border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-xl); }
.hero__text { display: grid; gap: var(--space-lg); align-content: center; }
.hero h1 { font-size: clamp(2.75rem, 4.4vw + 0.75rem, 5rem); max-width: 12ch; }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; }
.hero .lead { color: var(--color-ink-2); max-width: 34ch; }
.field { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
html:not(.js) .field { display: none; }
.field-toggle { position: absolute; right: var(--gutter); bottom: var(--space-md); z-index: 3; }
html:not(.js) .field-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .field-toggle { display: none; } }

.drawing { position: relative; margin: 0; display: grid; gap: var(--space-sm); }
.drawing__sheet { position: relative; border-radius: var(--radius-card); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1.5px); background-size: var(--cell-w) var(--cell-h); }
.drawing svg { width: 100%; height: auto; max-height: calc(100dvh - var(--nav-h) - var(--space-4xl)); overflow: visible; }
.drawing figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-sm); }
.readout { display: inline-flex; gap: var(--space-xs); align-items: baseline; color: var(--color-ink); }
.readout output { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent-deep); font-variant-numeric: tabular-nums; }

.dr-paper { fill: var(--color-paper); }
.dr-cut { fill: url(#hatch); stroke: var(--color-ink); stroke-width: 1.5; stroke-linejoin: round; }
.dr-cut-2 { fill: url(#hatch-2); stroke: var(--color-ink); stroke-width: 1.5; stroke-linejoin: round; }
.dr-thread { fill: url(#thread); stroke: var(--color-ink); stroke-width: 1.25; }
.dr-solid { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 1.5; }
.dr-hatch { stroke: var(--color-ink-2); stroke-width: 0.9; }
.dr-hatch-2 { stroke: var(--color-accent-deep); stroke-width: 0.9; }
.dr-center { fill: none; stroke: var(--color-muted); stroke-width: 0.8; stroke-dasharray: 18 4 3 4; }
.dr-thin { fill: none; stroke: var(--color-ink-2); stroke-width: 1; }
.dr-dim line, .dr-dim path { fill: none; stroke: var(--color-accent); stroke-width: 1; }
.dr-dim .arr { fill: var(--color-accent); stroke: none; }
.dr-text { fill: var(--color-ink); font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.dr-text--dim { fill: var(--color-accent-deep); font-family: var(--font-outlier); font-size: 13px; font-weight: 400; }
.dr-text--small { fill: var(--color-muted); font-size: 13px; }
.dr-ball circle { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 1; }
.dr-ball text { fill: var(--color-ink); font-family: var(--font-outlier); font-size: 12px; text-anchor: middle; }
.dr-lead { fill: none; stroke: var(--color-ink-2); stroke-width: 0.9; }
.dr-dotm { fill: var(--color-ink); }
.dr-label, .dr-dim, #gate, #wheel { transform-box: fill-box; }

@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; padding-block: var(--space-2xl); }
  .drawing svg { max-height: none; }
  .field-toggle { position: static; justify-self: start; }
}

/* ---------- making: pinned run (home) ---------- */
.made__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.made__stage { display: grid; gap: var(--space-lg); }
.made__stage .photo { aspect-ratio: 4 / 5; min-height: 440px; }
.made__steps { list-style: none; margin: 0; padding: 0; display: grid; }
.made__steps li { display: grid; gap: var(--space-md); align-content: center; min-height: 62svh; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.made__steps li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.made__steps h3 { font-size: var(--text-2xl); font-weight: 600; }
.made__steps p { max-width: 46ch; }
.motion .made__stage { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); display: block; aspect-ratio: 4 / 5; max-height: calc(100dvh - var(--nav-h) - var(--space-3xl)); margin-inline: auto; width: 100%; }
.motion .made__stage .photo { position: absolute; inset: 0; min-height: 0; }
@media (max-width: 60rem) {
  .made__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .motion .made__stage { position: static; display: grid; aspect-ratio: auto; max-height: none; }
  .motion .made__stage .photo { position: relative; aspect-ratio: 4 / 5; }
  .made__steps li { min-height: 0; }
}

/* ---------- in use: showcase ---------- */
.show .photo { aspect-ratio: 16 / 9; min-height: 560px; }
@media (max-width: 60rem) { .show .photo { min-height: 0; } }

/* ---------- range: rail on a technical grid ---------- */
.railwrap { position: relative; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: calc(var(--cell-w) * 8) calc(var(--cell-h) * 4); border-block: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17rem, 22%); gap: var(--gap-columns); margin: 0; padding: 0 var(--gutter); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: thin; }
.rail > li { scroll-snap-align: start; }
.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.part { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-md); min-height: 300px; padding: var(--space-lg); box-shadow: var(--shadow-card); }
.part h3 { font-size: var(--text-xl); }
.part__code { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent-deep); }
.spec { display: grid; gap: var(--space-2xs); margin: 0; align-content: start; }
.spec div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-2xs); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.spec dt { font-family: var(--font-display); font-weight: 500; color: var(--color-muted); }
.spec dd { margin: 0; color: var(--color-ink); }
.rail__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }

/* ---------- statement ---------- */
.statement p { font: 600 var(--text-display-s)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 22ch; text-wrap: balance; overflow-wrap: break-word; }

/* ---------- facts as rows ---------- */
.rows { margin: 0; padding: 0; list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows li { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); }
.rows li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--color-rule); transform-origin: left; transform: scaleX(var(--line, 1)); }
.rows h3 { grid-column: 1 / span 4; font-size: var(--text-title); }
.rows p { grid-column: 6 / span 7; font-size: var(--text-lead); color: var(--color-ink-2); max-width: 46ch; }
.close__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-2xl); }
.close__act p { color: var(--color-muted); }
@media (max-width: 60rem) { .rows h3, .rows p { grid-column: 1 / -1; } }

/* ---------- footer (colophon block) ---------- */
.colophon { margin-top: var(--section-gap); padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.colophon__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.colophon__text { grid-column: 1 / span 7; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 52ch; }
.colophon__links { grid-column: 9 / span 4; display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; align-content: start; }
.colophon__links a { color: var(--color-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.colophon__links a:hover { color: var(--color-accent); text-decoration: underline; }
.colophon__note { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .colophon__text, .colophon__links { grid-column: 1 / -1; } }

/* ---------- page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: var(--z-toast); display: grid; place-items: center; background-color: var(--color-graphite); background-image: linear-gradient(var(--color-graphite-glyph-1) 1px, transparent 1px), linear-gradient(90deg, var(--color-graphite-glyph-1) 1px, transparent 1px); background-size: calc(var(--cell-w) * 8) calc(var(--cell-h) * 4); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.curtain__mark { font: 600 var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-graphite-ink); opacity: 0; }
html:not(.js) .curtain { display: none; }

/* ---------- inner page head ---------- */
.page-head { padding-block: var(--space-3xl) var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.page-head__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: end; }
.page-head h1 { grid-column: 1 / span 7; font-size: var(--text-display); max-width: 16ch; }
.page-head .lead { grid-column: 9 / span 4; color: var(--color-ink-2); }
@media (max-width: 60rem) { .page-head h1, .page-head .lead { grid-column: 1 / -1; } }

/* ---------- catalogue ---------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-lg); margin-bottom: var(--space-xl); }
.tray { display: inline-flex; flex-wrap: wrap; gap: var(--space-xs); padding: var(--space-xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); }
.tools .search { margin: 0; flex: 0 1 22rem; }
.cat { position: relative; display: grid; gap: var(--space-2xl); padding-block: var(--space-lg); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: calc(var(--cell-w) * 8) calc(var(--cell-h) * 4); }
.cat__group { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.cat__tile { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-sm); margin: 0; }
.cat__tile .photo { min-height: 360px; height: 100%; }
.cat__tile figcaption { display: grid; gap: var(--space-2xs); }
.cat__tile figcaption h2 { font: 600 var(--text-2xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); }
.cat__tile figcaption span { font-size: var(--text-sm); color: var(--color-muted); }
.card { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-sm); min-height: 248px; padding: var(--space-lg); box-shadow: var(--shadow-card); }
.card h3 { font-size: var(--text-lg); }
.card .key { justify-self: start; }
.cat__empty { display: grid; gap: var(--space-md); justify-items: start; padding-block: var(--space-2xl); }
.cat__empty p { font-size: var(--text-lead); color: var(--color-ink); }
.cat__status { font-size: var(--text-sm); color: var(--color-muted); min-height: 1lh; }
@media (max-width: 60rem) { .cat__group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); } .cat__tile { grid-column: 1 / -1; grid-row: auto; } .cat__tile .photo { aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 40rem) { .cat__group { grid-template-columns: minmax(0, 1fr); } }

.fly { position: fixed; z-index: var(--z-toast); padding: var(--space-2xs) var(--space-xs); border-radius: 4px; background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-xs)/1 var(--font-outlier); pointer-events: none; }

/* sticky quote bar */
.bar { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule-2); box-shadow: var(--shadow-bar); transform: translateY(110%); transition: transform var(--dur-long) var(--ease-out); }
.bar.is-shown { transform: none; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--bar-h); }
.bar__sum { display: flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); font-weight: 500; }
.has-bar .colophon { padding-bottom: calc(var(--space-xl) + var(--bar-h)); }

/* table */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 500 var(--text-sm)/1.3 var(--font-display); 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); white-space: nowrap; }
.table td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.table td:first-child { font: 600 var(--text-lg)/1.2 var(--font-display); color: var(--color-ink); }
.table td .mono { display: block; margin-top: var(--space-2xs); color: var(--color-accent-deep); font-weight: 400; }
.table tr.is-wash td { background: var(--color-accent-wash); }
.table tr.is-wash td:first-child { padding-left: var(--space-md); }
@media (max-width: 40rem) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table tr { display: grid; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .table td { display: block; padding: var(--space-2xs) 0; border: 0; }
  .table td::before { content: attr(data-th); display: block; font-size: var(--text-sm); color: var(--color-muted); }
  .table td:first-child::before { content: none; }
  .table tr.is-wash td:first-child { padding-left: 0; }
}

/* ---------- production: horizontal run ---------- */
.hrun { padding-block: var(--section-gap-s) var(--space-2xl); }
.hrun__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(18rem, 30rem); gap: var(--gap-columns); padding-inline: var(--gutter); margin: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.hrun__track > li { display: grid; gap: var(--space-md); align-content: start; scroll-snap-align: start; }
.hrun__track .photo { aspect-ratio: 4 / 5; }
.hrun__track h3 { font-size: var(--text-2xl); font-weight: 600; }
.hrun__track p { max-width: 46ch; }
.hrun__ruler { position: relative; height: 24px; margin: 0 var(--gutter) var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule-2); background-image: linear-gradient(90deg, var(--color-rule-2) 1px, transparent 1px); background-size: calc(var(--cell-w) * 4) 8px; background-repeat: repeat-x; background-position: left bottom; }
.hrun__ruler span { position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--color-accent); transform-origin: left; transform: scaleX(1); }
.motion .hrun__track { overflow: visible; width: max-content; }
@media (max-width: 60rem) { .motion .hrun__track { overflow-x: auto; width: auto; } }

/* mapping on graphite */
.map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 6rem) minmax(0, 1fr); align-items: stretch; border-radius: var(--radius-card); background: var(--color-graphite); color: var(--color-graphite-ink); overflow: hidden; }
.map__pane { display: grid; align-content: start; }
.map__head { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--color-graphite-2); font: 500 var(--text-sm)/1.2 var(--font-display); color: var(--color-graphite-ink); }
.map__head span { color: var(--color-graphite-muted); font-weight: 400; }
.map ol { list-style: none; margin: 0; padding: var(--space-lg); display: grid; gap: var(--space-sm); }
.map li { display: flex; align-items: center; min-height: 56px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-graphite-glyph-1); border-radius: var(--radius-input); font-size: var(--text-md); color: var(--color-graphite-ink); }
.map__pane--out li { border-color: var(--color-graphite-glyph-3); }
.map__wire { display: grid; align-content: start; gap: var(--space-sm); padding-top: calc(var(--space-lg) + var(--space-md) * 2 + 1.2em); padding-block-end: var(--space-lg); }
.map__wire span { position: relative; display: block; height: 56px; }
.map__wire span::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-accent-2); transform-origin: left; }
.map__wire span::after { content: ""; position: absolute; right: 0; top: calc(50% - 3px); width: 7px; height: 7px; border-radius: 2px; background: var(--color-accent-2); }
@media (max-width: 60rem) { .map { grid-template-columns: minmax(0, 1fr); } .map__wire { display: none; } }

/* statement with an action */
.ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: end; }
.ask p { grid-column: 1 / span 9; font: 600 var(--text-display-s)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 24ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.ask .actions { grid-column: 10 / span 3; justify-content: flex-end; }
@media (max-width: 60rem) { .ask p, .ask .actions { grid-column: 1 / -1; justify-content: flex-start; } }

/* ---------- quality ---------- */
.wide .photo { aspect-ratio: 3 / 2; min-height: 520px; }
@media (max-width: 60rem) { .wide .photo { min-height: 0; } }
.test__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.record { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); border-radius: var(--radius-card); background: var(--color-graphite); color: var(--color-graphite-ink); overflow: hidden; }
.record__head { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--color-graphite-2); font: 500 var(--text-sm)/1.2 var(--font-outlier); color: var(--color-graphite-ink); }
.record__head span { color: var(--color-graphite-muted); font-family: var(--font-display); }
.record__body { display: grid; gap: var(--space-xl); padding: var(--space-xl) var(--space-lg) var(--space-2xl); }
.record__now { font: 600 var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-graphite-ink); }
.ruler { position: relative; display: grid; grid-template-columns: 2fr 3fr 5fr 2fr; height: 120px; border-bottom: var(--rule-hair) solid var(--color-graphite-muted); }
.ruler__seg { position: relative; border-left: var(--rule-hair) solid var(--color-graphite-glyph-2); }
.ruler__seg:last-child { border-right: var(--rule-hair) solid var(--color-graphite-glyph-2); }
.ruler__seg::before { content: ""; position: absolute; inset: auto 0 0 0; height: var(--h, 40%); background: color-mix(in oklab, var(--color-accent) 35%, transparent); border-top: 2px solid var(--color-accent-2); transform-origin: bottom; }
.ruler__seg span { position: absolute; left: var(--space-xs); bottom: calc(var(--h, 40%) + var(--space-xs)); font-size: var(--text-sm); color: var(--color-graphite-ink); white-space: nowrap; }
.ruler__seg.is-off::before { opacity: 0.25; }
.ruler__seg.is-off span { color: var(--color-graphite-muted); }
.ruler__scale { display: flex; justify-content: space-between; font: 400 var(--text-xs)/1 var(--font-outlier); color: var(--color-graphite-muted); }
.test__steps { list-style: none; margin: 0; padding: 0; }
.test__steps li { display: grid; gap: var(--space-sm); align-content: center; min-height: 52svh; border-top: var(--rule-hair) solid var(--color-rule); }
.test__steps h3 { font-size: var(--text-2xl); font-weight: 600; }
@media (max-width: 60rem) { .test__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .record { position: static; } .test__steps li { min-height: 0; padding-block: var(--space-xl); } }

/* ---------- quote form ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: start; padding-top: var(--section-gap-s); }
.quote form { display: grid; gap: var(--space-2xl); }
.quote fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: var(--space-md); min-width: 0; }
.quote legend { padding: 0; margin-bottom: var(--space-md); font: 600 var(--text-xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }
.lines { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-md); min-height: 72px; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.line__name { display: grid; gap: var(--space-3xs); color: var(--color-ink); font-weight: 500; }
.line__name .mono { color: var(--color-accent-deep); font-weight: 400; }
.step { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); }
.step .key { min-height: 44px; min-width: 44px; padding: 0; }
.step output { min-width: 3ch; text-align: center; font: 500 var(--text-md)/1 var(--font-outlier); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.lines__empty { padding-block: var(--space-lg); color: var(--color-ink-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-lg); }
.fields .full { grid-column: 1 / -1; }
.f { display: grid; gap: var(--space-xs); }
.f label { font: 500 var(--text-sm)/1.2 var(--font-display); color: var(--color-ink); }
.f label span { color: var(--color-muted); font-weight: 400; }
.f input, .f textarea { width: 100%; min-width: 0; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }
.f textarea { min-height: 128px; resize: vertical; }
.f input:hover, .f textarea:hover { background: var(--color-paper-2); }
.f input:focus-visible, .f textarea:focus-visible { outline-color: var(--color-focus); background: var(--color-paper); }
.f input:disabled, .f textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.f input[aria-invalid], .f textarea[aria-invalid] { border-color: var(--color-error); }
.f__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.submit__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.aside { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); display: grid; gap: var(--space-lg); padding: var(--space-xl); background: var(--color-paper-2); border-radius: var(--radius-card); }
.aside h2 { font-size: var(--text-2xl); }
.aside dl { margin: 0; display: grid; gap: var(--space-md); }
.aside dt { font: 500 var(--text-sm)/1.2 var(--font-display); color: var(--color-muted); }
.aside dd { margin: var(--space-2xs) 0 0; color: var(--color-ink); }
@media (max-width: 60rem) { .quote { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .aside { position: static; } }
@media (max-width: 40rem) { .fields { grid-template-columns: minmax(0, 1fr); } .line { grid-template-columns: minmax(0, 1fr) auto; } .line .key--rm { grid-column: 1 / -1; justify-self: start; } }

/* ---------- one reveal, visible without script ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .key, .bar, .search input, .f input, .f textarea, .nav__links a, .link, .colophon__links a { transition: none; }
  .key:hover, .key:active { transform: none; }
  .curtain { display: none; }
}
