/* =========================================================
   Volt Lane · site-2026.css
   Shared foundation for the 2026 redesign: tokens, base, buttons, forms,
   utility bar, header, mobile menu, footer and the .img-fade utility.
   Inner pages can link this file and reuse .site-header / .site-footer /
   .btn / .field / .seg / .img-fade without the home-page CSS (home-2026.css).

   BRAND: "night charging". Deep navy (--night) with one accent, charge-lime (--volt),
   on cool paper neutrals. Display: Sora. Text: Hanken Grotesk. Meta/figures: IBM Plex Mono.
   All three are self-hosted (assets/fonts), so there are no third-party font requests.

   Contrast (WCAG AA, computed): ink on bg 16.8:1 · muted on bg 6.7:1 · muted on white 7.3:1 ·
   night-dim on night 11.2:1 · night-dim on night-3 8.9:1 · lime on night 15.6:1 ·
   night on lime 15.6:1 · volt-ink on white 8.3:1 · focus blue on bg 6.7:1 ·
   danger on white 7.5:1 · danger-night on night 9.6:1 · control borders 4.2:1+ (needs 3:1)

   READABILITY + MICRO-SPACING TOKENS (standing rules for every page that links this file)
   Type scale, fluid (390px -> 1440px):
     --t-display 40 -> 72 · --t-h2 30 -> 52 · --t-h3 20 -> 24
     --t-lede    17 -> 19  (lead paragraph, 18px+ on desktop)
     --t-body    16 -> 17  (paragraphs, inputs, descriptions; never below 16)
     --t-small   15 -> 16  (nav, buttons, table cells, notes, "sample" lines; never below 15)
     --t-meta    14 -> 15  (mono caps labels, eyebrows, badges, table heads; never below 14)
   Nothing renders below 14px. Line-height: body 1.6, small 1.5, headings 1.05-1.2.
   Letter-spacing: display -.04em, h2 -.03em, h3 -.02em, mono/caps labels +.08em.
   Measure: paragraphs cap at --measure (66ch); lede at 54ch.
   Spacing: 4px base, only these steps (--s-1..--s-10): 4 8 12 16 24 32 48 64 96 128.
     label -> input 8 · icon -> text 8 · badge padding 4 x 8 · button 48 high (44 min) · list rows 16-24
     table cells 12-16 · heading -> paragraph 12-16 · card padding 24 (32-48 desktop)
   Tap targets: every link/button is at least 44 x 44 (inline text links in paragraphs excepted).
   Figures (prices, kW, counts) use tabular-nums so columns and baselines line up.
   ========================================================= */
@font-face { font-family: "Sora"; src: url("../assets/fonts/sora-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Metric-matched fallbacks: the local system font is scaled to Sora / Hanken Grotesk / Plex Mono so the swap
   to the web font moves nothing (keeps CLS at ~0). Values measured against the shipped woff2 files. */
@font-face { font-family: "Sora Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); font-weight: 400 800; size-adjust: 106.9%; ascent-override: 90.7%; descent-override: 27.1%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); font-weight: 100 500; size-adjust: 100.5%; ascent-override: 99.5%; descent-override: 30.1%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Grotesk Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); font-weight: 501 900; size-adjust: 95%; ascent-override: 105.3%; descent-override: 31.9%; line-gap-override: 0%; }
@font-face { font-family: "Plex Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"); size-adjust: 100%; ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }

:root {
  /* colour: neutrals (cool paper) */
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-2: #e8edf4;
  --line: #d5deea;
  --line-strong: #b4c0d0;
  --control-line: #66788f;      /* 4.5:1 on white, 4.2:1 on bg (WCAG 1.4.11 needs 3:1) */
  --ink: #0a1626;
  --ink-soft: #22344b;
  --muted: #46586f;
  /* colour: the one accent, charge-lime, plus its readable-on-light twin */
  --volt: #d6f56a;
  --volt-ink: #3e5600;
  --volt-tint: #eef9c6;
  /* colour: dark bands */
  --night: #06101c;
  --night-2: #0c1b2d;
  --night-3: #13263c;
  --night-line: #2a3e57;
  --night-dim: #b9c7da;
  /* colour: semantics */
  --danger: #a3231f;
  --danger-night: #ff9e96;
  --success: #1b7a4b;
  --focus: #0e4ad0;

  /* type */
  --font-display: "Sora", "Sora Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Hanken Grotesk", "Hanken Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-display: clamp(2.5rem, 1.3rem + 4.6vw, 4.5rem);
  --t-h2: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem);
  --t-h3: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  --t-lede: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --t-body: clamp(1rem, .98rem + .1vw, 1.0625rem);
  --t-small: clamp(.9375rem, .92rem + .07vw, 1rem);
  --t-meta: clamp(.875rem, .86rem + .07vw, .9375rem);
  --lh-body: 1.6;
  --lh-small: 1.5;
  --lh-head: 1.1;
  --track-label: .08em;
  --measure: 66ch;

  /* spacing: 4px scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* shape: two levels */
  --r-control: 10px;
  --r-card: 20px;
  --shadow-overlay: 0 24px 64px -16px rgba(6, 16, 28, .38);

  /* layout */
  --max: 1320px;
  --gutter: 24px;
  --margin: clamp(20px, 4vw, 56px);
  --header-h: 64px;
  --section: clamp(64px, 40px + 6vw, 128px);

  /* motion tokens (UNUSED while motion is removed; kept so the animated version can be restored from jank-fix/before-no-motion/) */
  --ease-out: cubic-bezier(.2, .7, .2, 1);       /* entrances, hovers, reveals */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);   /* looping / two-way movement */
  --dur-1: 200ms;                                /* micro: hover, press, focus, colour */
  --dur-2: 360ms;                                /* content: reveals, number ticks, accordions */
  --dur-3: 600ms;                                /* scene: image fade-in, hover zoom, rails */
  --stagger: 70ms;                               /* delay step between siblings (max 5 steps) */
  --ease: var(--ease-out);                       /* legacy alias */
  --dur: var(--dur-1);                           /* legacy alias */
  /* premium imagery tokens (see .img-fade / .img-frame below) */
  --img-grade: contrast(1.03) saturate(1.05);    /* very light tonal grade, never heavy */
  --img-radius: 12px;
  --img-ring: rgb(10 22 38 / .14);               /* hairline ring on crisp edges */
  --img-shadow: 0 1px 2px rgb(6 16 28 / .06), 0 14px 32px -14px rgb(6 16 28 / .3);
  --img-ph: var(--surface-2);                    /* placeholder behind a loading photo */
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); background: var(--night); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/var(--lh-body) var(--font-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, dl, dd, table, fieldset { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-control); }
.field input:focus-visible, .field textarea:focus-visible, select:focus-visible, .input:focus-visible { box-shadow: 0 0 0 4px rgb(14 74 208 / .16); }
.on-dark :focus-visible, .site-footer :focus-visible, .site-header :focus-visible, .utility :focus-visible { outline-color: var(--volt); }
::selection { background: var(--volt); color: var(--night); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-4); top: -64px; z-index: 100; background: var(--volt); color: var(--night); font-weight: 600; padding: var(--s-3) var(--s-4); border-radius: var(--r-control); }
.skip-link:focus { top: var(--s-3); }
.num { font-variant-numeric: tabular-nums; }
:where(p) { max-width: var(--measure); text-wrap: pretty; }
:where(li, dd, figcaption, summary, blockquote) { text-wrap: pretty; }
:where(h1, h2, h3, .h3, .display, .h2) { text-wrap: balance; }

/* ---------- type ---------- */
.meta { font: 500 var(--t-meta)/1.4 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.on-dark .meta { color: var(--night-dim); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--volt-ink); }
.on-dark .eyebrow { color: var(--volt); }
.display { font: 600 var(--t-display)/1.04 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.h2 { font: 600 var(--t-h2)/var(--lh-head) var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.h3 { font: 600 var(--t-h3)/1.2 var(--font-display); letter-spacing: -.02em; }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--ink-soft); max-width: 54ch; text-wrap: pretty; }
.on-dark .lede { color: var(--night-dim); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-control);
  border: 1px solid transparent; font: 600 var(--t-small)/1.2 var(--font-text); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--volt); color: var(--night); }
.btn-primary:hover { background: #e6ff8c; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--control-line); }
.btn-line:hover { border-color: var(--ink); }
.on-dark .btn-line { color: #fff; border-color: #7f93ad; }
.on-dark .btn-line:hover { border-color: #fff; }
.btn-line.on-dark { color: #fff; border-color: #7f93ad; }
.btn-line.on-dark:hover { border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 var(--s-4); }
.btn-lg { min-height: 56px; padding: 0 var(--s-6); font-size: var(--t-body); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { text-decoration-color: var(--ink); }
.on-dark .link-arrow { color: #fff; text-decoration-color: #5d7391; }
.on-dark .link-arrow:hover { text-decoration-color: var(--volt); }

/* ---------- buttons: states ---------- */
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--surface-2); color: var(--muted); border-color: var(--line-strong);
  cursor: not-allowed; transform: none;
}
.btn:disabled svg, .btn[aria-disabled="true"] svg { transform: none; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"]::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { rotate: 1turn; } }

/* =========================================================
   FORMS · reusable component layer (plain CSS, no build step)
   ---------------------------------------------------------
   Markup contract (see forms-demo.html for every state):
     .field            stacked label + control + .field-hint / .field-error
     .field--float     floating-label variant (input needs placeholder=" ")
     .input-group      input with .affix prefix/suffix (£, m, kW)
     select            native <select>; styled closed state everywhere,
                       styled popup where `appearance: base-select` exists
     .check / .switch  checkbox + radio / toggle (label wraps the input)
     input[type=range] + <output> readout, .seg segmented radio group
     .btn[aria-busy]   loading, .btn:disabled
   Validation: :user-invalid / :user-valid (after interaction),
   [aria-invalid="true"] or .field[data-invalid] for server-side errors.
   Targets >= 44px, input text >= 16px (no iOS zoom), borders >= 3:1.
   Customizable-select pattern informed by Open Props UI (MIT,
   github.com/argyleink/open-props) and the Chrome customizable-select guide.
   ========================================================= */
:root { --field-h: 48px; --field-px: var(--s-4); }

.field { display: grid; gap: var(--s-2); min-width: 0; align-content: start; }
.field > label, .field > .label, .label {
  font: 600 var(--t-small)/1.3 var(--font-text); letter-spacing: 0; color: var(--form-label);
}
.field-opt { font-weight: 400; color: var(--form-hint); margin-left: var(--s-1); }
.field-hint, .field-error { margin: 0; font-size: var(--t-small); line-height: var(--lh-small); color: var(--form-hint); }
.field-error { display: none; gap: var(--s-2); align-items: flex-start; color: var(--form-error); font-weight: 500; }
.field-error::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: .15em; background: currentColor;
  -webkit-mask: var(--i-alert) center / contain no-repeat; mask: var(--i-alert) center / contain no-repeat;
}
.field:has(:user-invalid, [aria-invalid="true"]) .field-error, .field[data-invalid] .field-error { display: flex; }
.field:has(:user-invalid, [aria-invalid="true"]) .field-hint, .field[data-invalid] .field-hint { display: none; }
.field:has(:disabled) > label { color: var(--form-hint); }
:root {
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13Zm-.75 3.25h1.5v4h-1.5v-4Zm.75 6.9a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8Z'/%3E%3C/svg%3E");
  --i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 7.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  --i-chev-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a1626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 7.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  --i-chev-muted: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2346586f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 7.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8.5 3.2 3.2L13 4.8'/%3E%3C/svg%3E");
}

/* --- text-like controls --- */
.input,
.field input:not([type="range"], [type="radio"], [type="checkbox"], [type="hidden"], [type="submit"], [type="button"], [type="file"]),
.field textarea {
  width: 100%; min-height: var(--field-h); padding: 0 var(--field-px);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--control-line); border-radius: var(--r-control);
  font: 400 var(--t-body)/1.4 var(--font-text);   /* >= 16px: no iOS zoom */
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { min-height: 7.5rem; padding-block: var(--s-3); resize: vertical; field-sizing: content; }
.input:hover, .field input:hover:not(:disabled), .field textarea:hover:not(:disabled) { border-color: var(--ink); }
.input:focus-visible, .field input:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.input:user-invalid, .field input:user-invalid, .field textarea:user-invalid, select:user-invalid,
[aria-invalid="true"], .field[data-invalid] :where(input, select, textarea) {
  border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger);
}
/* valid tick: required fields only, so optional blanks never turn green */
.field input:required:user-valid:not([type="range"], [type="radio"], [type="checkbox"]) {
  border-color: var(--success); padding-inline-end: calc(var(--field-px) + 28px);
  background: var(--surface) var(--i-check) no-repeat right var(--field-px) center / 18px;
}
.input:disabled, .field input:disabled:not([type="range"], [type="radio"], [type="checkbox"]), .field textarea:disabled, select:disabled {
  background-color: var(--surface-2); border-color: var(--line-strong); color: var(--muted); cursor: not-allowed;
}
.field input:read-only:not(:disabled, [type="range"], [type="radio"], [type="checkbox"]) { background: var(--bg); border-style: dashed; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--surface) inset; -webkit-text-fill-color: var(--ink); }

/* floating label (needs placeholder=" ") */
.field--float { position: relative; }
.field--float > label {
  position: absolute; z-index: 1; inset: 15px auto auto calc(var(--field-px) + 1px); max-width: calc(100% - 2 * var(--field-px));
  font: 400 var(--t-body)/1.3 var(--font-text); color: var(--muted); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: top var(--dur) var(--ease), font-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.field.field--float input[placeholder] { min-height: 56px; padding-top: 22px; padding-bottom: 4px; }
.field--float input::placeholder { color: transparent; }
.field--float:has(input:focus, input:not(:placeholder-shown)) > label { top: 6px; font-size: var(--t-meta); font-weight: 600; color: var(--ink-soft); }
.field--float:has(input:disabled) > label { color: var(--form-hint); }

/* input with affixes */
.input-group {
  display: flex; align-items: stretch; min-height: var(--field-h); background: var(--surface);
  border: 1px solid var(--control-line); border-radius: var(--r-control); overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.input-group:hover { border-color: var(--ink); }
.input-group:has(input:focus-visible) { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 2px; }
.input-group:has(:user-invalid, [aria-invalid="true"]) { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.input-group:has(input:disabled) { background: var(--surface-2); border-color: var(--line-strong); }
.field .input-group input {
  flex: 1; min-width: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; outline: 0;
}
.affix {
  display: grid; place-items: center; padding-inline: var(--s-4); background: var(--surface-2); color: var(--ink-soft);
  font: 500 var(--t-small)/1 var(--font-mono); white-space: nowrap;
}
.affix:first-child { border-inline-end: 1px solid var(--line-strong); }
.affix:last-child { border-inline-start: 1px solid var(--line-strong); }

/* --- select: closed state (every browser) --- */
select {
  appearance: none; width: 100%; min-height: var(--field-h); padding: 0 var(--s-7) 0 var(--field-px);
  background: var(--surface) var(--i-chev-ink) no-repeat right var(--s-3) center / 20px;
  color: var(--ink); border: 1px solid var(--control-line); border-radius: var(--r-control);
  font: 400 var(--t-body)/1.4 var(--font-text); text-overflow: ellipsis; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
select:hover:not(:disabled) { border-color: var(--ink); }
select:focus-visible { border-color: var(--focus); }
select:disabled { background-image: var(--i-chev-muted); }

/* --- select: customizable popup (Chrome/Edge 135+, Safari 27+, fine pointers only) ---
   Touch devices keep the native OS picker (better UX); Firefox keeps the native popup. */
@media (hover: hover) and (pointer: fine) {
  @supports (appearance: base-select) {
    select, select::picker(select) { appearance: base-select; }
    select, select:disabled { display: flex; align-items: center; background-image: none; }
    select::picker-icon {
      content: ""; width: 20px; height: 20px; margin-inline-start: auto; background: currentColor;
      -webkit-mask: var(--i-chev) center / contain no-repeat; mask: var(--i-chev) center / contain no-repeat;
      transition: rotate var(--dur) var(--ease);
    }
    select:open::picker-icon { rotate: 180deg; }
    select::picker(select) {
      box-sizing: border-box; min-inline-size: anchor-size(width); max-block-size: min(22rem, 50svh); margin-block: var(--s-1);
      padding: var(--s-1); background: var(--surface); color: var(--ink);
      border: 1px solid var(--line-strong); border-radius: var(--r-control); box-shadow: var(--shadow-overlay);
      font: 400 var(--t-body)/1.4 var(--font-text);
      opacity: 1; translate: 0 0;
      transition: opacity 160ms var(--ease), translate 160ms var(--ease), display 160ms allow-discrete, overlay 160ms allow-discrete;
    }
    @starting-style { select::picker(select) { opacity: 0; translate: 0 -6px; } }
    select:not(:open)::picker(select) { opacity: 0; translate: 0 -6px; }
    select option {
      display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 0 var(--s-3);
      border-radius: 6px; color: var(--ink); cursor: pointer;
    }
    select option:hover, select option:focus-visible { background: var(--surface-2); }
    select option:checked { background: var(--volt-tint); color: var(--ink); font-weight: 600; }
    select option:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
    select option:disabled { color: var(--muted); cursor: not-allowed; }
    select option::checkmark { order: 1; margin-inline-start: auto; color: var(--volt-ink); font-weight: 700; }
    select optgroup label { display: block; padding: var(--s-3) var(--s-3) var(--s-1); font: 500 var(--t-meta)/1.3 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
  }
}
@media (prefers-reduced-motion: reduce) {
  select::picker(select), select::picker-icon { transition: none; }
}
@media (forced-colors: active) {   /* system colours + native arrow */
  select, select::picker(select) { appearance: auto; background-image: none; }
}

/* --- checkbox / radio --- */
.check, .switch { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; cursor: pointer; font-size: var(--t-body); line-height: 1.35; color: var(--form-label); }
.check:has(:disabled), .switch:has(:disabled) { color: var(--form-hint); cursor: not-allowed; }
.check input, .switch input {
  appearance: none; flex: none; margin: 0; display: grid; place-content: center; cursor: inherit;
  background: var(--surface); border: 2px solid var(--control-line);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.check input { width: 24px; height: 24px; border-radius: 6px; }
.check input[type="radio"] { border-radius: 50%; }
.check input:hover:not(:disabled), .switch input:hover:not(:disabled) { border-color: var(--ink); }
.check input[type="checkbox"]::after {
  content: ""; width: 16px; height: 16px; background: var(--volt); scale: 0; transition: scale 120ms var(--ease);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.check input[type="checkbox"]:indeterminate::after { -webkit-mask: none; mask: none; height: 2px; width: 12px; scale: 1; }
.check input:checked, .check input:indeterminate { background: var(--ink); border-color: var(--ink); }
.check input[type="checkbox"]:checked::after { scale: 1; }
.check input[type="radio"]:checked { background: var(--volt); box-shadow: inset 0 0 0 4px var(--ink); }
.check input:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.check input:disabled, .switch input:disabled { background: var(--surface-2); border-color: var(--line-strong); }
.check input:checked:disabled { background: var(--line-strong); }

/* --- toggle (checkbox with role="switch") --- */
.switch input { position: relative; width: 48px; height: 28px; border-radius: 14px; background: var(--surface-2); }
.switch input::after {
  content: ""; position: absolute; inset: 2px auto 2px 2px; width: 20px; border-radius: 50%;
  background: var(--ink-soft); transition: translate var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.switch input:checked { background: var(--ink); border-color: var(--ink); }
.switch input:checked::after { translate: 20px 0; background: var(--volt); }
.switch input:disabled::after { background: var(--muted); }
@media (forced-colors: active) {
  .check input, .switch input { appearance: auto; }
  .switch input::after { display: none; }
}

/* --- range slider + readout --- */
input[type="range"] {
  --fill: var(--ink); --track: var(--form-track); --p: 16%;
  appearance: none; -webkit-appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; accent-color: var(--ink);
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--fill) var(--p), var(--track) var(--p)); box-shadow: inset 0 0 0 1px var(--line-strong); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--volt); border: 3px solid var(--ink); box-shadow: 0 1px 4px rgba(6, 16, 28, .3); transition: scale var(--dur) var(--ease); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--track); box-shadow: inset 0 0 0 1px var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--fill); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--volt); border: 3px solid var(--ink); box-shadow: 0 1px 4px rgba(6, 16, 28, .3); }
input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
input[type="range"]:disabled { cursor: not-allowed; --fill: var(--muted); }
input[type="range"]:disabled::-webkit-slider-thumb { border-color: var(--muted); background: var(--surface-2); }
input[type="range"]:disabled::-moz-range-thumb { border-color: var(--muted); background: var(--surface-2); }
.range-ends { display: flex; justify-content: space-between; margin-top: calc(-1 * var(--s-1)); font: 400 var(--t-meta)/1.3 var(--font-mono); color: var(--form-hint); font-variant-numeric: tabular-nums; }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.calc-row output { font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (forced-colors: active) {
  input[type="range"] { appearance: auto; accent-color: Highlight; }
}

/* --- surfaces: controls are always light boxes; only the text around them flips ---
   .on-dark flips labels/hints/errors/track; .on-light switches back inside a light card. */
:root, .on-light { --form-label: var(--ink); --form-hint: var(--muted); --form-error: var(--danger); --form-track: var(--surface-2); }
.on-dark { --form-label: #fff; --form-hint: var(--night-dim); --form-error: var(--danger-night); --form-track: var(--night-line); }

/* --- fieldset + segmented radio group --- */
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: var(--s-2); font: 600 var(--t-small)/1.3 var(--font-text); color: var(--form-label); }
.seg { display: grid; grid-template-columns: repeat(var(--seg-n, 3), 1fr); border: 1px solid var(--control-line); border-radius: var(--r-control); overflow: hidden; background: var(--surface); }
.seg label { position: relative; display: block; }
.seg label + label { border-left: 1px solid var(--line-strong); }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; text-align: center; padding: var(--s-2) var(--s-2); min-height: var(--field-h); font: 500 var(--t-small)/1.25 var(--font-text); color: var(--ink-soft); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.seg input:hover + span { background: var(--surface-2); }
.seg input:checked + span { background: var(--ink); color: var(--volt); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -4px; }
.seg input:disabled + span { color: var(--muted); background: var(--surface-2); cursor: not-allowed; }
@media (forced-colors: active) {
  .seg input:checked + span { background: Highlight; color: HighlightText; forced-color-adjust: none; }
}

/* ---------- utility bar ---------- */
.utility { background: var(--night); color: var(--night-dim); font-size: var(--t-small); line-height: var(--lh-small); border-bottom: 1px solid var(--night-2); }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); min-height: 44px; }
.utility .promises { display: none; white-space: nowrap; gap: var(--s-5); padding: 0; margin: 0; list-style: none; }
.utility .promises li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--night-dim); margin: 0 var(--s-5) 3px 0; opacity: .6; }
.utility strong { color: #fff; font-weight: 500; }
.utility .d-short { margin: 0; white-space: nowrap; }
.utility .demo-note { margin: 0; white-space: nowrap; display: flex; align-items: center; gap: var(--s-2); }
.utility .demo-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); flex: none; }
@media (max-width: 999px) { .utility .demo-note-long { display: none; } }
@media (max-width: 479px) { .utility .d-short { display: none; } .utility .wrap { justify-content: center; } }
@media (min-width: 1000px) { .utility .promises { display: flex; } .utility .d-short { display: none; } }
@media (max-width: 1199px) { .utility .promises li:nth-child(3) { display: none; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(6, 16, 28, .96); color: #fff; border-bottom: 1px solid var(--night-2); }
/* scrolled shadow = a pre-painted ::after layer whose OPACITY fades (no box-shadow transition on a sticky, blurred header) */
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: 0 12px 28px -18px rgb(0 0 0 / .8); opacity: 0; pointer-events: none; }
.site-header.is-scrolled { border-bottom-color: var(--night-3); }
.site-header.is-scrolled::after { opacity: 1; }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(6, 16, 28, .94); backdrop-filter: saturate(1.4) blur(16px); } }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; margin-right: auto; color: #fff; text-decoration: none; font: 600 1.25rem/1 var(--font-display); letter-spacing: -.04em; }
.logo svg { width: 32px; height: 32px; color: var(--volt); }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; white-space: nowrap; min-height: 44px; padding: 0 var(--s-3); font-size: var(--t-small); font-weight: 500; color: var(--night-dim); text-decoration: none; border-radius: var(--r-control); position: relative; transition: color var(--dur); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 6px; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: left; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tool { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; justify-content: center; padding: 0 var(--s-3); border: 0; background: none; border-radius: var(--r-control); font-size: var(--t-small); font-weight: 500; text-decoration: none; color: var(--night-dim); }
.tool:hover { color: #fff; background: var(--night-3); }
.tool svg { width: 20px; height: 20px; }
.tool-call, .header-cta { display: none; }
.menu-btn { border: 1px solid var(--night-line); color: #fff; }
@media (min-width: 1000px) {
  :root { --header-h: 72px; }
  .nav { display: flex; gap: var(--s-1); margin-right: var(--s-4); }
  .site-header .wrap { gap: var(--s-3); }
  .logo { margin-right: var(--s-5); }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1200px) { .tool-call { display: inline-flex; } }

/* mobile menu: native popover */
.menu { margin: 0; inset: 0 0 0 auto; width: min(420px, 100%); height: 100%; max-height: none; border: 0; padding: 0; background: var(--night); color: #fff; box-shadow: var(--shadow-overlay); overflow: auto; }
.menu::backdrop { background: rgba(6, 16, 28, .6); }
.menu:popover-open { display: flex; flex-direction: column; }
.menu-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding: 0 var(--margin); border-bottom: 1px solid var(--night-2); }
.menu nav { display: grid; padding: var(--s-4) var(--margin); }
.menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--night-2); font: 600 1.375rem/1 var(--font-display); letter-spacing: -.02em; text-decoration: none; color: #fff; }
.menu nav a svg { width: 18px; height: 18px; color: var(--night-dim); }
.menu nav a.sub { min-height: 48px; font: 500 var(--t-body)/1 var(--font-text); letter-spacing: 0; color: var(--night-dim); }
.menu-foot { margin-top: auto; padding: var(--s-5) var(--margin) var(--s-6); display: grid; gap: var(--s-3); }
.menu-foot .btn { width: 100%; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-dim); padding-block: var(--s-8) var(--s-6); border-top: 1px solid var(--night-2); }
.site-footer a { text-decoration-color: transparent; transition: text-decoration-color var(--dur); }
.site-footer a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: 1fr 1fr; }
.footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: var(--s-4); max-width: 40ch; align-content: start; }
.site-footer h2 { font: 500 var(--t-meta)/1.4 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; color: #fff; margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-news { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--night-line); display: grid; gap: var(--s-5); }
.footer-news form { display: grid; gap: var(--s-3); align-items: end; }
.footer-news .status { min-height: 1.5em; margin: 0; font-size: var(--t-small); color: var(--night-dim); }
.footer-legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--night-line); display: grid; gap: var(--s-3); font-size: var(--t-small); line-height: var(--lh-small); }
.footer-legal p { max-width: 74ch; }
.hp { position: absolute; left: -9999px; }
@media (min-width: 720px) {
  .footer-news { grid-template-columns: 1fr 1.2fr; align-items: end; gap: var(--s-7); }
  .footer-news form { grid-template-columns: 1fr auto; }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-grid > div:last-child { grid-column: auto; }
}
.footer-brand p a, .footer-brand address a { display: inline-flex; align-items: center; min-height: 44px; }

/* =========================================================
   PREMIUM IMAGERY  ·  .img-fade (dissolving edges)  +  .img-frame (crisp, rounded, ringed)
   ---------------------------------------------------------
   Both are reusable CSS utilities. They style whatever <picture>/<img> sits inside the wrapper, so
   REPLACING THE PHOTO (new src, new <picture>, new file) KEEPS EVERYTHING. Nothing is baked into
   the image files. Captions, flags and badges live outside <picture>, so they stay crisp.

   MARKUP
     <figure class="img-fade"><picture>...<img ...></picture><figcaption>..</figcaption></figure>
     <figure class="img-frame img-zoom"><picture>...<img ...></picture></figure>
   Use .img-fade for atmospheric / full-width photographs that should melt into the page (hero,
   flow, workshop). Use .img-frame for photographs inside cards and lists, where a crisp rounded
   edge reads as more premium than a soft one.

   WHAT EVERY PHOTO GETS (all tokens live in :root)
     tonal grade   filter: var(--img-grade)     very light contrast/saturation lift, never heavy
     vignette      picture::after, --vig        radial edge darkening, 0.16 by default, 0 = off
     placeholder   background: var(--img-ph)    shows while a lazy photo loads
     fade-in       .js-motion + .fx-img.is-wait opacity fade once the file is fetched AND decoded (JS pre-decodes
                   lazy photos ahead of the viewport; no blur filter; with no JS or reduced motion the photo is just there)
     stability     keep width/height + aspect-ratio on the wrapper; object-fit: cover; no layout shift
   .img-fade extras
     --fade-size / --fade-x / --fade-y   fade length (default clamp(24px, 6vw, 88px))
     .img-fade--l .--r .--t .--b .--x .--y   which edges fade (or --fade-t/-r/-b/-l: 1 or 0)
     smootherstep ramp (9 stops per edge), so the dissolve has no visible start line
     hairline ring appears ONLY on edges that stay crisp (a 1px ring on a fading edge would be wrong)
   .img-frame extras
     radius var(--img-radius) 12px, inset hairline ring var(--img-ring), soft depth var(--img-shadow)
   .img-zoom  (add to the wrapper)  hover zoom to 1.04 inside the clipped picture, fine pointers,
              motion allowed only; never changes layout
   --ring: transparent  on a wrapper turns the ring off (hero touches the viewport edges)

   FALLBACKS
     No mask support or forced-colors: the mask is dropped and the photo shows in full with the
     normal media radius. Reduced motion: no fade-in, no zoom, no Ken Burns, photo is static.
   ========================================================= */
.img-fade {
  --fade-size: clamp(24px, 6vw, 88px);
  --fade-x: var(--fade-size);
  --fade-y: var(--fade-size);
  --fade-t: 1; --fade-r: 1; --fade-b: 1; --fade-l: 1;
}
.img-fade--l { --fade-t: 0; --fade-r: 0; --fade-b: 0; }
.img-fade--r { --fade-t: 0; --fade-b: 0; --fade-l: 0; }
.img-fade--t { --fade-r: 0; --fade-b: 0; --fade-l: 0; }
.img-fade--b { --fade-t: 0; --fade-r: 0; --fade-l: 0; }
.img-fade--x { --fade-t: 0; --fade-b: 0; }
.img-fade--y { --fade-r: 0; --fade-l: 0; }

/* shared photo treatment */
:where(.img-fade, .img-frame) picture { position: relative; display: block; height: 100%; overflow: hidden; background: var(--img-ph); }
:where(.img-fade, .img-frame) picture img { height: 100%; filter: var(--img-grade); }
:where(.img-fade, .img-frame) picture::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(125% 100% at 50% 42%, transparent 58%, rgb(6 16 28 / var(--vig, .16)) 100%);
  border: 0 solid var(--ring, var(--img-ring));
}
/* ring only on crisp sides of a fading photo */
.img-fade picture::after {
  border-width: calc((1 - var(--fade-t)) * 1px) calc((1 - var(--fade-r)) * 1px) calc((1 - var(--fade-b)) * 1px) calc((1 - var(--fade-l)) * 1px);
}
/* crisp, rounded, ringed, soft depth */
.img-frame picture { border-radius: var(--img-radius); box-shadow: var(--img-shadow); }
.img-frame picture::after { border-width: 1px; }

@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  @media not (forced-colors: active) {
    .img-fade picture, .img-fade > img {
      /* smootherstep-eased ramps: alpha = 1 - fade * (1 - s(t)), s(t) = 6t^5 - 15t^4 + 10t^3 */
      --_ax: linear-gradient(to right,
        rgb(0 0 0 / calc(1 - var(--fade-l) * 1.000)) 0,
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.984)) calc(var(--fade-x) * 0.125),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.896)) calc(var(--fade-x) * 0.25),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.725)) calc(var(--fade-x) * 0.375),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.500)) calc(var(--fade-x) * 0.5),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.275)) calc(var(--fade-x) * 0.625),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.104)) calc(var(--fade-x) * 0.75),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.016)) calc(var(--fade-x) * 0.875),
        rgb(0 0 0 / calc(1 - var(--fade-l) * 0.000)) calc(var(--fade-x) * 1),
        #000 var(--fade-x),
        #000 calc(100% - var(--fade-x)),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.000)) calc(100% - var(--fade-x) * 1),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.016)) calc(100% - var(--fade-x) * 0.875),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.104)) calc(100% - var(--fade-x) * 0.75),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.275)) calc(100% - var(--fade-x) * 0.625),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.500)) calc(100% - var(--fade-x) * 0.5),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.725)) calc(100% - var(--fade-x) * 0.375),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.896)) calc(100% - var(--fade-x) * 0.25),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 0.984)) calc(100% - var(--fade-x) * 0.125),
        rgb(0 0 0 / calc(1 - var(--fade-r) * 1.000)) 100%);
      --_ay: linear-gradient(to bottom,
        rgb(0 0 0 / calc(1 - var(--fade-t) * 1.000)) 0,
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.984)) calc(var(--fade-y) * 0.125),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.896)) calc(var(--fade-y) * 0.25),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.725)) calc(var(--fade-y) * 0.375),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.500)) calc(var(--fade-y) * 0.5),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.275)) calc(var(--fade-y) * 0.625),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.104)) calc(var(--fade-y) * 0.75),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.016)) calc(var(--fade-y) * 0.875),
        rgb(0 0 0 / calc(1 - var(--fade-t) * 0.000)) calc(var(--fade-y) * 1),
        #000 var(--fade-y),
        #000 calc(100% - var(--fade-y)),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.000)) calc(100% - var(--fade-y) * 1),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.016)) calc(100% - var(--fade-y) * 0.875),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.104)) calc(100% - var(--fade-y) * 0.75),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.275)) calc(100% - var(--fade-y) * 0.625),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.500)) calc(100% - var(--fade-y) * 0.5),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.725)) calc(100% - var(--fade-y) * 0.375),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.896)) calc(100% - var(--fade-y) * 0.25),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 0.984)) calc(100% - var(--fade-y) * 0.125),
        rgb(0 0 0 / calc(1 - var(--fade-b) * 1.000)) 100%);
      -webkit-mask-image: var(--_ax), var(--_ay);
      -webkit-mask-composite: source-in;
      mask-image: var(--_ax), var(--_ay);
      mask-composite: intersect;
    }
  }
}
/* no mask support, or forced colours: show the whole photo with the normal media radius */
@supports not ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  .img-fade picture, .img-fade > img { border-radius: var(--img-radius); overflow: hidden; }
}
@media (forced-colors: active) {
  .img-fade picture, .img-fade > img { border-radius: var(--img-radius); overflow: hidden; }
  :where(.img-fade, .img-frame) picture::after { display: none; }
}

/* Lazy photos: no fade-in and no hover zoom (motion removed on user request). home-2026.js still pre-decodes them ahead of the viewport. */

/* MOTION REMOVED (user request): no animation or transition anywhere; every state change is instant.
   The only exception is the button busy spinner (functional loading feedback, not decoration).
   To restore the animated version see jank-fix/NOTES.md (backup: jank-fix/before-no-motion/). */
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.btn[aria-busy="true"]::before { animation: btn-spin .7s linear infinite !important; }
