/* Hallmark · shape: kept (the home page's own order) · genre: atmospheric · theme: Terminal (by request, recoloured by request: navy and amber; faces by request: the brand\'s own Archivo with JetBrains Mono, self-hosted) · redesign: full
 * hero: Split (head and actions left, the stress field right) · nav: one row, wordmark, links, language, two actions · footer: link columns over the drawing title block · imagery: the product (screenshots) and a glyph picture of a real validation case · signature: the Kirsch stress field printed in glyphs, traced, meshed and solved on arrival, probed by the pointer
 * axes: dark/mono/chromatic-amber · posture: committed · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R (eight demo cards is a long grid), kept because each card is a working model the page already had */
/* Hallmark · waive 8 · redesign: full keeps the section order · See it working, Try what it does, Numbers you can run again and Install it stay in the order the owner set */
/* Hallmark · waive 44c · the stress field picture fills the right of the first screen down to its caption · Simulation you can check sits centred beside it */
/* Hallmark · waive 79 · the space under the text is beside the stress field picture, which runs to the fold · Simulation you can check is centred against it */
/* Hallmark · waive 39b · each step button holds the step number over its name, such as Loads and supports · the seven steps are tabs in the order you work, not buttons */
@import url("./fonts.css");
@import url("./tokens.css");
@import url("./base.css");

/* ----------------------------------------------------------------- type */
body { font-stretch: var(--stretch-body); font-size: 1rem; line-height: 1.6; }
/* the terminal voice: commands, figures, labels and counters are set in the mono face */
code, kbd, pre, .mono, .art-cap, .card-top, .fact b, .chk .val, .term, .launch-row code, .node .num, .stab .n, .cur-of, .cur-key, .cur-tile, .res-w, .lopt small, .tblock small { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-synthesis: weight; font-weight: var(--display-weight); font-stretch: var(--stretch-display); letter-spacing: var(--tracking-display); line-height: 1.1; }
.display { font-size: var(--text-display); max-width: 12ch; }
.h2 { font-size: var(--text-section); max-width: 18ch; }
h3 { font-size: 1.0625rem; letter-spacing: 0; }
.lead { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.55; max-width: 46ch; }
.sub { color: var(--color-muted); max-width: 58ch; }
kbd, code { font-size: 0.8125rem; }
kbd { padding: var(--space-3xs) var(--space-2xs); border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink-2); }
i { font-style: normal; }

/* ----------------------------------------------------------------- links and controls */
a:hover { color: var(--color-accent); }
.link { color: var(--color-ink-2); text-decoration: underline dotted; text-underline-offset: 0.25em; }
.btn {
  font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid transparent; border-radius: 0;
  font-size: 0.9375rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1), border-color var(--dur-micro) steps(1), transform 150ms ease-out;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-ink); color: var(--color-accent-ink); }
.btn-line { border-color: var(--color-ink-2); color: var(--color-ink); background: transparent; }
.btn-line:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.btn[aria-disabled="true"], button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; transition: border-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1), transform 150ms ease-out; }
.icon-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn[aria-disabled="true"] { opacity: 0.4; cursor: default; transform: none; }

.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-xs); }

/* ----------------------------------------------------------------- announcement and header */
.ann { border-bottom: var(--rule-hair) solid var(--color-rule); font-size: 0.8125rem; color: var(--color-muted); }
.ann-row { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); align-items: center; justify-content: center; min-height: 36px; padding-block: var(--space-xs); text-align: center; }
.ann a { color: var(--color-ink); text-decoration: underline dotted; text-underline-offset: 0.25em; }
.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 nav { display: flex; align-items: center; gap: var(--space-md); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; font-weight: 700; font-stretch: var(--stretch-display); font-size: 1.0625rem; }
.brand img { width: 28px; height: 28px; }
.navlinks { display: flex; gap: var(--space-md); margin-inline-start: var(--space-md); font-size: 0.8125rem; }
.navlinks a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; padding-block: var(--space-sm); }
.navlinks a:hover { color: var(--color-accent); }
.langwrap { position: relative; margin-inline-start: auto; }
.lang-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm); background: transparent; color: var(--color-ink-2); border: var(--rule-hair) solid var(--color-rule); cursor: pointer; font-size: 0.8125rem; transition: border-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.lang-btn:hover { border-color: var(--color-rule-3); color: var(--color-ink); }
.lang-btn[aria-expanded="true"] { border-color: var(--color-accent); color: var(--color-ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + var(--space-2xs)); z-index: var(--z-dropdown); min-width: 220px; padding: var(--space-2xs); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule-2); }
.lopt { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); width: 100%; min-height: 40px; padding: 0 var(--space-sm); background: transparent; border: 0; color: var(--color-ink-2); text-align: start; cursor: pointer; font-size: 0.8125rem; }
.lopt small { color: var(--color-muted); font-size: 0.75rem; }
.lopt:hover, .lopt:focus-visible { background: var(--color-paper-3); color: var(--color-ink); }
.lopt[aria-selected="true"] { background: var(--color-accent-wash); color: var(--color-ink); }
.navdon, .navcta { min-height: 40px; font-size: 0.8125rem; }
.nav-gone { display: none !important; }

/* ----------------------------------------------------------------- hero */
.hero { display: grid; align-content: center; min-height: calc(100svh - 102px); padding-block: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.hero-copy { display: grid; gap: var(--space-lg); align-content: center; }
.hero-acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
.hero-art { margin: 0; display: grid; gap: var(--space-sm); min-width: 0; }
.art { position: relative; height: clamp(320px, calc(100svh - 330px), 640px); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.art-pre { margin: 0; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(5px, 0.62vw, 8.5px); line-height: 1.5; color: var(--color-muted); overflow: hidden; }
.field-js .art-pre { display: none; }
.art-cap { display: grid; gap: var(--space-2xs); font-size: 0.8125rem; color: var(--color-muted); }
.art-cap .cmd { color: var(--color-ink); }
.art-cap .cmd i { color: var(--color-muted); }
.art-cap .probe { color: var(--color-accent); min-height: 1.65em; }

/* the entrance, after Jakub Krehel's staged entrances: title, sentence, actions and picture,
   100ms apart, each with opacity, 4px of blur and 12px of rise over 300ms, ease-out.
   The hidden state lives only in the keyframe, so without the animation everything shows. */
.enter { animation: enter-fade 300ms ease-out both; }
.hero-copy .enter:nth-child(2) { animation-delay: 100ms; }
.hero-copy .enter:nth-child(3) { animation-delay: 200ms; }
.hero-art.enter { animation-delay: 300ms; }
@media (prefers-reduced-motion: no-preference) {
  .enter { animation-name: enter-rise; }
}
@keyframes enter-fade { from { opacity: 0; } }
@keyframes enter-rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }

/* ----------------------------------------------------------------- bands */
.band { padding-block: var(--section-gap-s); border-bottom: var(--rule-hair) solid var(--color-rule); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-xl); }

/* screenshots */
.shots { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: start; }
.frame { margin: 0; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.shot-box { position: relative; aspect-ratio: 1440 / 931; overflow: hidden; }
.shot-box img.shot { transition: opacity 300ms ease-out, filter 300ms ease-out; filter: blur(4px); }
.shot-box img.shot[style*="opacity: 1"] { filter: blur(0); }
.shot-cap { padding: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: 0.8125rem; color: var(--color-ink-2); }
.shot-tabs { display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.stab { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); gap: var(--space-xs); align-items: baseline; min-height: 44px; padding: var(--space-sm) var(--space-sm); background: transparent; border: 0; border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); text-align: start; font-size: 0.8125rem; line-height: 1.5; cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.stab .n { color: var(--color-muted); }
.stab:hover { background: var(--color-paper-2); color: var(--color-ink); }
.stab[aria-selected="true"] { background: var(--color-accent-wash); color: var(--color-ink); box-shadow: inset 2px 0 0 var(--color-accent); }
.stab[aria-selected="true"] .n { color: var(--color-accent); }

/* facts, set like a tool's output: wide light figures, a # comment beneath */
.facts { border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-xl) var(--space-lg); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact b { font-weight: 400; font-size: var(--text-display-s); line-height: 1; color: var(--color-ink); }
.fact span { color: var(--color-muted); font-size: 0.8125rem; max-width: 26ch; }
.fact span::before { content: "# "; }

/* demos */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.card { display: grid; grid-template-rows: auto auto 1fr; gap: var(--space-sm); padding: var(--space-md); border-inline-end: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); min-width: 0; }
.card-top { display: flex; flex-wrap: wrap; gap: var(--space-xs); min-width: 0; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted); }
.card-top .act { text-transform: lowercase; }
.card-top .act::before { content: "--"; }
.card canvas, .card oxi-plate-sim { color: var(--color-ink); display: block; width: 100%; height: 200px; background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); touch-action: none; }
.card h3 { margin-bottom: var(--space-2xs); }
.card p { color: var(--color-muted); font-size: 0.8125rem; line-height: 1.6; }
.card:hover canvas, .card:hover oxi-plate-sim { border-color: var(--color-rule-3); }
oxi-plate-sim {
  --oxi-plot: var(--color-paper); --oxi-plot-border: var(--color-paper); --oxi-accent: var(--color-accent);
  --oxi-muted: var(--color-muted); --oxi-dim: var(--color-muted); --oxi-support: var(--color-rule-2); --oxi-grip: var(--color-paper-3);
  --oxi-mono: var(--font-mono); border-radius: 0;
}
.searchbox { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: var(--space-xs); height: 200px; align-content: start; padding: var(--space-sm); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); }
.sfield { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-3); color: var(--color-muted); }
.sfield:focus-within { border-color: var(--color-accent); }
.sfield input { flex: 1; min-width: 0; min-height: 42px; background: transparent; border: 0; color: var(--color-ink); font-size: 0.8125rem; outline: none; }
.sfield input::placeholder { color: var(--color-muted); }
.sfield:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3xs); min-width: 0; }
.res { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-xs); padding: var(--space-2xs) var(--space-xs); font-size: 0.75rem; color: var(--color-ink-2); }
.res.is-top { background: var(--color-accent-wash); color: var(--color-ink); }
.res-l { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-w { color: var(--color-muted); white-space: nowrap; }
.res-none { padding: var(--space-2xs) var(--space-xs); font-size: 0.75rem; color: var(--color-muted); }

/* validation */
.val-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.val-copy { display: grid; gap: var(--space-lg); }
.term { display: grid; gap: var(--space-xs); padding: var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); font-size: 0.875rem; }
.term i { color: var(--color-muted); }
.term b { font-weight: 400; color: var(--color-ink); }
.checks { border-top: var(--rule-hair) solid var(--color-rule-2); }
.chk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: baseline; padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.chk .txt { color: var(--color-ink-2); font-size: 0.8125rem; max-width: 52ch; }
.chk .val { color: var(--color-accent); font-size: 1rem; text-align: end; white-space: nowrap; }

/* workflow */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.steps li { display: flex; }
.node { flex: 1; display: grid; gap: var(--space-xs); align-content: start; min-height: 96px; padding: var(--space-sm); background: transparent; border: 0; border-inline-end: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); text-align: start; cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.node .num { color: var(--color-muted); font-size: 0.75rem; }
.node .nm { font-size: 0.875rem; font-weight: 500; font-stretch: var(--stretch-display); }
.node:hover { background: var(--color-paper-2); color: var(--color-ink); }
.node[aria-pressed="true"] { background: var(--color-accent-wash); color: var(--color-ink); box-shadow: inset 0 2px 0 var(--color-accent); }
.node[aria-pressed="true"] .num { color: var(--color-accent); }
.loop { display: flex; align-items: center; gap: var(--space-xs); margin-block: var(--space-md); color: var(--color-muted); font-size: 0.8125rem; }
.cur { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-lg); align-items: center; padding: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.cur-tile { display: grid; place-items: center; width: 56px; height: 56px; background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-xl); font-stretch: var(--stretch-display); }
.cur-body { display: grid; gap: var(--space-2xs); }
.cur-of { color: var(--color-muted); font-size: 0.75rem; }
.cur-name { font-size: var(--text-xl); font-weight: 500; font-stretch: var(--stretch-display); letter-spacing: var(--tracking-display); }
.cur-text { color: var(--color-ink-2); max-width: 70ch; }
.cur-side { display: grid; justify-items: end; gap: var(--space-sm); }
.cur-key { color: var(--color-muted); font-size: 0.75rem; }
.cur-nav { display: flex; gap: var(--space-xs); }

/* reviews */
.rv { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.rv-sum { color: var(--color-ink-2); margin-bottom: var(--space-md); }
.rv-list { display: grid; }
.rv-item { padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); display: grid; gap: var(--space-2xs); }
.rv-item .stars { color: var(--color-accent); letter-spacing: 0.1em; }
.rv-item .meta { color: var(--color-muted); font-size: 0.75rem; }
.rv-empty { padding: var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
.rv-form { display: grid; gap: var(--space-md); padding: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.rv-form label { display: grid; gap: var(--space-2xs); font-size: 0.8125rem; color: var(--color-ink-2); }
.rv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); }
.rv-form select, .rv-form input[type="text"], .rv-form textarea { width: 100%; min-height: 44px; padding: var(--space-xs) var(--space-sm); background: var(--color-paper); color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule-3); border-radius: 0; font-size: 0.875rem; }
.rv-form textarea { min-height: 120px; resize: vertical; }
.rv-form select:hover, .rv-form input[type="text"]:hover, .rv-form textarea:hover { border-color: var(--color-ink-2); }
.rv-form :user-invalid { border-color: var(--color-error); }
.rv-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: var(--space-2xs); border: 0; margin: 0; padding: 0; }
.rv-stars legend { font-size: 0.8125rem; color: var(--color-ink-2); margin-bottom: var(--space-2xs); padding: 0; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.25rem; color: var(--color-muted); cursor: pointer; transition: color var(--dur-micro) steps(1); }
.rv-stars label:hover, .rv-stars label:hover ~ label, .rv-stars input:checked ~ label { color: var(--color-accent); }
.rv-stars input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.rv-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rv-priv { color: var(--color-muted); font-size: 0.75rem; }
.rv-msg { color: var(--color-ink-2); font-size: 0.8125rem; min-height: 1.6em; }

/* install */
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.cta-grid > div:first-child { display: grid; gap: var(--space-lg); justify-items: start; }
.oslist { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.xnote { color: var(--color-muted); font-size: 0.8125rem; max-width: 60ch; }
.launch { display: grid; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.launch-row { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.launch-row b { font-weight: 500; color: var(--color-ink); font-size: 0.875rem; }
.launch-row code { color: var(--color-ink-2); overflow-wrap: anywhere; }
.launch-row code i { color: var(--color-muted); }
.launch .note { padding: var(--space-md); color: var(--color-muted); font-size: 0.8125rem; }

/* footer */
.foot { padding-block: var(--space-2xl) var(--space-xl); font-size: 0.8125rem; color: var(--color-muted); }
.foot-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap-columns); margin-bottom: var(--space-xl); }
.fb { display: flex; gap: var(--space-sm); align-items: flex-start; max-width: 40ch; }
.fb img { flex: none; }
.fcol { display: grid; gap: var(--space-xs); align-content: start; }
.fcol a { color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-2xs); }
.fcol a:hover { color: var(--color-accent); }
.tblock { display: grid; grid-template-columns: minmax(0, 2fr) repeat(6, minmax(0, 1fr)); border: var(--rule-hair) solid var(--color-rule-2); }
.tblock > div { display: grid; gap: var(--space-2xs); padding: var(--space-sm); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.tblock > div:first-child { border-inline-start: 0; }
.tblock small { color: var(--color-muted); font-size: 0.6875rem; }
.tblock span { color: var(--color-ink); }
.tname b { font-size: var(--text-xl); font-weight: 500; font-stretch: var(--stretch-display); color: var(--color-ink); letter-spacing: var(--tracking-display); align-self: center; }
.gpl { margin-top: var(--space-lg); font-size: 0.75rem; }

/* the session lines type once when they come into view; without script or with reduced motion they are simply there */
[data-type].is-typing b { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; clip-path: inset(0 100% 0 0); animation: type-in 900ms steps(28, end) forwards; }
[data-type].is-typing span:nth-child(2) b { animation-delay: 950ms; animation-duration: 1000ms; }
@keyframes type-in { to { clip-path: inset(0 0 0 0); } }

/* ----------------------------------------------------------------- responsive */
@media (max-width: 75rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navlinks { gap: var(--space-sm); }
}
@media (max-width: 60rem) {
  .hero-grid, .head, .shots, .val-grid, .rv, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; gap: var(--space-md); }
  .facts .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tblock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tblock > div { border-bottom: var(--rule-hair) solid var(--color-rule); }
  .tblock .tname { grid-column: 1 / -1; border-inline-start: 0; }
  .tblock > div:nth-child(2), .tblock > div:nth-child(5) { border-inline-start: 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fb { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cur { grid-template-columns: auto minmax(0, 1fr); }
  .cur-side { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .art { height: auto; aspect-ratio: 1 / 1; }
  .rv-row { grid-template-columns: minmax(0, 1fr); }
  .rv-form select, .rv-form input[type="text"], .rv-form textarea, .sfield input { font-size: 1rem; }
  .chk { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .chk .val { text-align: start; white-space: normal; }
  .hero { min-height: 0; }
  .tblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tblock > div:nth-child(5) { border-inline-start: var(--rule-hair) solid var(--color-rule); }
  .tblock > div:nth-child(2), .tblock > div:nth-child(4), .tblock > div:nth-child(6) { border-inline-start: 0; }
}

/* 0.9.2: interactive cards for plastic deformation, fatigue, creep and composite plies */
.card oxi-plastic-card, .card oxi-fatigue-card, .card oxi-creep-card, .card oxi-ply-card {
  display: block; width: 100%; height: 200px; color: var(--color-ink);
  --oxi-plot: var(--color-paper); --oxi-plot-border: var(--color-rule);
}
.nav-try[aria-current="page"] { color: var(--color-ink); }
