/*
 * PURO2XYGEN, direction A "Morning Room" (approved 2026-11-30).
 * One source of truth: change a value in the token layers below and every page follows.
 *   Layer 1  primitives   raw palette, type families, spacing steps
 *   Layer 2  semantic     what a colour or size is for (text, surface, accent, focus)
 *   Layer 3  component    per-component values that point at semantic tokens
 * Contrast measured with the WCAG formula, recorded next to each pair.
 */

/* ---------- Layer 1: primitives ---------- */
/* Fallback faces sized to the web fonts (2026-11-30, CLS). Until the self-hosted fonts arrive the text is set
   in a local font scaled to the same width, so lines wrap the same way and nothing moves when the fonts swap in.
   Ratios measured in Chromium (web font width / local font width over a sample paragraph). Georgia ships with
   macOS and Windows; the Times and Arial sets cover Linux through the metric-compatible Liberation fonts. */
@font-face{font-family:'Newsreader Fallback G';font-style:normal;font-weight:400;src:local('Georgia');size-adjust:95.4%}
@font-face{font-family:'Newsreader Fallback G';font-style:italic;font-weight:400;src:local('Georgia Italic'),local('Georgia-Italic');size-adjust:87.6%}
@font-face{font-family:'Newsreader Fallback T';font-style:normal;font-weight:400;src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos');size-adjust:105%}
@font-face{font-family:'Newsreader Fallback T';font-style:italic;font-weight:400;src:local('Times New Roman Italic'),local('TimesNewRomanPS-ItalicMT'),local('Liberation Serif Italic'),local('LiberationSerif-Italic'),local('Tinos Italic');size-adjust:98.6%}
@font-face{font-family:'Figtree Fallback';font-style:normal;font-weight:400;src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Arimo');size-adjust:100.5%}
@font-face{font-family:'Figtree Fallback';font-style:normal;font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold'),local('Arimo Bold');size-adjust:96%}

:root {
  --p-linen-50: #FBFAF6;
  --p-linen-100: #F6F3EC;
  --p-sage-100: #E4EADB;
  --p-white: #FFFFFF;
  --p-ink-900: #1E2620;
  --p-ink-700: #4F5A52;
  --p-stone-500: #757E76;
  --p-line-200: #D9D4C7;
  --p-leaf-700: #2F5D1E;
  --p-leaf-800: #244A17;
  --p-red-700: #B42318;
  --p-amber-50: #FFF7DD;
  --p-amber-800: #6B4E00;
  --p-ring-green: #2F8F3A;
  --p-ring-blue: #2B6CB0;
  --p-ring-yellow: #A67C00;
  --p-ring-red: #C0392B;
  --p-ring-green-text: #24742E;   /* 5.3:1 linen, 4.7:1 sage */
  --p-ring-blue-text: #245C99;    /* 6.2:1 linen, 5.6:1 sage */
  --p-ring-yellow-text: #7A5B00;  /* 5.7:1 linen, 5.1:1 sage */
  --p-ring-red-text: #A8301F;     /* 6.1:1 linen, 5.5:1 sage */
  /* illustration materials: the colours of the purifier and its filter, as the product photos show them */
  --p-ill-silver-200: #E3E5E3;
  --p-ill-silver-300: #CDD1CE;
  --p-ill-silver-400: #A9AEAA;
  --p-ill-graphite: #2B312D;
  --p-ill-graphite-500: #5F6862;
  --p-ill-blue-200: #CBE8F2;
  --p-ill-blue-300: #9FD3E6;
  --p-ill-blue-500: #4E9DBC;
  --p-ill-green-300: #A9CF98;
  --p-ill-green-500: #6E9F5C;
  --p-ill-green-800: #355F27;
  --p-ill-glow: #DFF4EE;

  --p-font-display: 'Newsreader', 'Newsreader Fallback G', 'Newsreader Fallback T', 'Iowan Old Style', Georgia, serif;
  --p-font-body: 'Figtree', 'Figtree Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --p-space-1: 4px;
  --p-space-2: 8px;
  --p-space-3: 12px;
  --p-space-4: 16px;
  --p-space-5: 24px;
  --p-space-6: 32px;
  --p-space-7: 48px;
  --p-space-8: 64px;
  --p-space-9: 96px;
  --p-space-10: 128px;

  --p-radius-s: 10px;
  --p-radius-m: 18px;
  --p-radius-l: 28px;
}

/* ---------- Layer 2: semantic ---------- */
:root {
  --surface-page: var(--p-linen-100);
  --surface-raised: var(--p-white);
  --surface-soft: var(--p-sage-100);
  --surface-footer: var(--p-sage-100);   /* light footer: no dark bands on this site (operator 2026-11-30) */
  --text-strong: var(--p-ink-900);         /* 14.0:1 on linen, 12.6:1 on sage */
  --text-muted: var(--p-ink-700);          /* 6.5:1 on linen, 5.9:1 on sage, 7.2:1 on white */
  --accent: var(--p-leaf-700);             /* 7.0:1 on linen, 6.3:1 on sage, 7.8:1 on white */
  --accent-strong: var(--p-leaf-800);
  --on-accent: var(--p-white);             /* 7.8:1 on leaf-700, 10.2:1 on leaf-800 */
  --border-field: var(--p-stone-500);      /* 4.2:1 on white, 3.8:1 on linen (UI needs 3:1) */
  --border-soft: var(--p-line-200);        /* decorative dividers only */
  --focus: var(--p-leaf-700);
  --error: var(--p-red-700);               /* 6.6:1 on white, 5.9:1 on linen */

  --font-display: var(--p-font-display);
  --font-body: var(--p-font-body);
  --text-base: 1.0625rem;                  /* 17 px */
  --text-small: 0.9375rem;                 /* 15 px */
  --text-lede: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --text-h1: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);          /* home hero only */
  --text-h1-page: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);    /* inner pages and product pages */
  --text-h2: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  --text-h3: 1.1875rem;
  --text-figure: clamp(3rem, 1.8rem + 2.9vw, 4.5rem);

  --gutter: var(--p-space-4);
  --section-gap: 72px;                     /* one vertical rhythm: every section pads top and bottom by this */
  --head-gap: var(--p-space-7);            /* page heads and the product hero */
  --measure: 35.896em;                    /* 56ch of Figtree (1ch = 0.641em), about 70 characters at 17 px; in em so the line length
                                             does not change while the fallback font shows (CLS) */

  /* Motion: one set of curves and durations for every interaction on the site */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);       /* entering, pressing, revealing */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* moving on screen */
  --ease-reveal: cubic-bezier(0.2, 0.7, 0.2, 1);    /* the slow scroll rise and hero entrance (approved look, kept) */
  --dur-press: 160ms;                               /* press feedback */
  --dur-ui: 200ms;                                  /* state changes: tabs, layers, swaps */
  --dur-dialog: 240ms;                              /* the photo viewer */
}
@media (min-width: 768px) {
  :root { --gutter: var(--p-space-6); --section-gap: 96px; --head-gap: var(--p-space-8); }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; --section-gap: 120px; }
}

/* ---------- Layer 3: component ---------- */
:root {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-strong);
  --btn-fg: var(--on-accent);
  --btn-radius: 999px;
  --card-bg: var(--surface-raised);
  --card-radius: var(--p-radius-m);
  --stage-bg: var(--surface-raised);
  --stage-radius: var(--p-radius-l);
  --field-bg: var(--p-white);
  /* Illustrations: the guide's drawings, redrawn in colour; every diagram reads these */
  --ill-line: var(--p-ink-700);            /* outlines, 7.2:1 on white (graphics need 3:1) */
  --ill-line-soft: var(--p-stone-500);     /* leaders and inner lines, 4.2:1 on white */
  --ill-body: var(--p-white);
  --ill-body-side: var(--p-linen-100);
  --ill-body-shade: var(--p-line-200);
  --ill-top: var(--p-ill-graphite);
  --ill-slat: var(--p-ill-graphite-500);
  --ill-band: var(--p-ill-silver-200);
  --ill-band-side: var(--p-ill-silver-300);
  --ill-band-line: var(--p-ill-silver-400);
  --ill-ring: var(--p-ring-green);
  --ill-glow: var(--p-ill-glow);
  --ill-shadow: rgba(30, 38, 32, 0.08);
  --ill-callout: var(--accent);            /* numbers: 7.8:1 on white */
  --ill-arrow: var(--accent);
  --ill-prefilter: var(--p-ill-blue-300);
  --ill-prefilter-line: var(--p-ill-blue-200);
  --ill-prefilter-edge: var(--p-ill-blue-500);
  --ill-hepa: var(--p-white);
  --ill-hepa-pleat: var(--p-line-200);
  --ill-carbon: var(--p-ill-graphite);
  --ill-carbon-cell: var(--p-ill-graphite-500);
  --ill-catalyst: var(--p-ill-green-300);
  --ill-catalyst-grain: var(--p-ill-green-500);
  --ill-catalyst-dark: var(--p-ill-green-800);
  --field-radius: var(--p-radius-s);
  --chip-bg: var(--surface-soft);
  --chip-fg: var(--accent-strong);
  /* Where to buy on Amazon (briefs/compliance.md 2.13). The hero spot holds Amazon's official horizontal
     "available at Amazon" badge, the untouched Squid Ink file (light ground), 180 px wide (minimum 140).
     Its "amazon" letters are 54.7 of its 103.07 units tall, 18 px at this width: that is the clear space
     on every side. The row gap and the note under the row use 24 px, so nothing enters it, and the focus
     ring is drawn outside it (offset 18 px). The badge keeps the text column's left edge at every width. */
  --amazon-badge-w: 180px;
  --amazon-badge-h: 34px;                 /* 180 x 103.07 / 551.92 = 33.6, rounded up for the slot */
  --amazon-badge-clear: 18px;
  --amazon-clear: var(--p-space-5);
  --amazon-link-fg: var(--accent);         /* 7.0:1 on linen, 7.8:1 on white */
  --amazon-link-fg-hover: var(--accent-strong);

  --kit-focus: var(--focus);
  --kit-error: var(--error);
  --kit-skip-bg: var(--p-white);
  --kit-skip-fg: var(--text-strong);
  --kit-consent-bg: var(--p-white);
  --kit-consent-fg: var(--text-strong);
  --kit-consent-border: var(--accent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-strong);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 var(--p-space-5); font-weight: 400; line-height: 1.04; text-wrap: balance; }
h2 { line-height: 1.08; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.025em; font-optical-sizing: auto; }
h1 { font-size: var(--text-h1-page); }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 var(--p-space-4); max-width: var(--measure); }
p, li, dd, summary { text-wrap: pretty; }
ul, ol { margin: 0 0 var(--p-space-4); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--kit-focus); outline-offset: 3px; border-radius: 4px; }
.small { font-size: var(--text-small); color: var(--text-muted); }
.eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--p-space-3);
}
.lede, .hero__lede { font-size: var(--text-lede); color: var(--text-muted); line-height: 1.55; max-width: 29.486em; } /* 46ch of Figtree */
.placeholder {
  display: inline-block; padding: 0 6px; border: 1px dashed var(--p-ring-yellow);
  background: var(--p-amber-50); color: var(--p-amber-800); font-size: var(--text-small); border-radius: 4px;
}

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }

/* ---------- Vertical rhythm (one rule for every page) ----------
   Every section pads top AND bottom by --section-gap, so nothing touches a section edge.
   Two neighbours on the same ground (neither is a coloured .band) would double the gap,
   so the second one drops its top padding: the gap between them stays one --section-gap. */
main > section, main > article { padding-block: var(--section-gap); }
main > :not(.band) + :not(.band):not(.facts-band) { padding-top: 0; }
.band--white { background: var(--surface-raised); }
.band--sage { background: var(--surface-soft); }

/* Block layout (operator 2026-11-30: "everything in perfect blocks").
   Every section opens with its head on top, across the container: heading, then one short paragraph.
   What follows sits below it as one block, or as two side-by-side blocks that stretch to the same height,
   so the top and bottom edges of both columns line up. No heading floats beside a longer column. */
.section-head { margin-bottom: var(--p-space-7); }
.section-head h2 { margin-bottom: var(--p-space-4); }
.section-head > p:not(.eyebrow):not(.doc-row) { color: var(--text-muted); font-size: var(--text-lede); line-height: 1.55; margin-bottom: 0; max-width: var(--measure); }
.section-head > :last-child { margin-bottom: 0; }
.doc-row { margin: var(--p-space-4) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--p-space-4); }
.doc-row__note { color: var(--text-muted); font-size: var(--text-small); }
/* A link to a PDF: a small document glyph drawn in CSS before the words (nothing is read out) */
.doc-link { font-weight: 600; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.doc-link::before {
  content: ""; flex: 0 0 14px; height: 18px; border: 1.5px solid currentColor; border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) 3px 6px / 6px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) 3px 10px / 6px 1.5px no-repeat;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--p-space-2);
  min-height: 44px; padding: 10px 22px; border-radius: var(--btn-radius);
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn--lg { min-height: 52px; padding: 12px 28px; }
.btn--solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn--solid:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }
.text-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.linkish {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; min-height: 44px;
}
.legal .linkish { color: var(--accent); min-height: 24px; display: inline; }
/* Amazon text link: our own link style, title case, no pill, no Amazon colours, no logo (2.13) */
.amazon-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--amazon-link-fg);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.amazon-link:hover { color: var(--amazon-link-fg-hover); text-decoration-thickness: 2px; }
/* The badge spot: a reserved box, never a button. The badge file is shown as it is: no radius, shadow,
   filter, opacity or hover change on the image. Nothing else may sit inside its clear space. */
.amazon-slot { flex: none; display: inline-flex; align-items: center; min-width: var(--amazon-badge-w); min-height: var(--amazon-badge-h); }
.amazon-slot .amazon-link { min-height: var(--amazon-badge-h); font-size: 1.1875rem; }
.amazon-badge { display: block; line-height: 0; }
.amazon-badge img { display: block; width: var(--amazon-badge-w); height: auto; aspect-ratio: 551.92 / 103.07; }
.amazon-badge:focus-visible { outline-offset: var(--amazon-badge-clear); border-radius: 4px; }
.buy-row { align-items: center; column-gap: var(--amazon-clear); row-gap: var(--p-space-2); container-type: inline-size; }
.buy-row + .small { margin-top: var(--amazon-clear); }
/* With the badge in it, a buy row keeps every neighbour out of the badge's clear space and clear of its
   focus ring (21 px out): 32 px to the hairline beside it (beating the 12 px gap of .hero__actions),
   24 px when the second action wraps under it, and the note below sits as far from the badge as the
   lede above it (32 px each side) */
.buy-row:has(.amazon-badge) { column-gap: var(--p-space-6); row-gap: var(--amazon-clear); }
.buy-row:has(.amazon-badge) + .small { margin-top: var(--p-space-6); }
/* The second action in a buy row stays quiet, behind a hairline like the header's, so the Amazon spot leads */
.text-link--quiet {
  font-size: 1.1875rem; color: var(--text-strong);
  text-decoration: underline; text-decoration-color: var(--border-field); text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.text-link--quiet:hover { color: var(--accent); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.buy-row .amazon-slot + .text-link { padding-left: var(--amazon-clear); border-left: 1px solid var(--border-soft); }
/* A narrow column stacks the two actions instead of letting the hairline start a wrapped line */
@container (max-width: 419px) {
  .buy-row .amazon-slot + .text-link { flex-basis: 100%; padding-left: 0; border-left: 0; }
}
/* A row of buttons: same height, same width when they sit side by side, full width once they stack on a phone */
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--p-space-3); margin: var(--p-space-6) 0 0; max-width: none; }
.hero__actions .btn { flex: 1 1 0; min-width: max-content; max-width: 15rem; }
@media (max-width: 479px) {
  .hero__actions .btn { max-width: none; }
}

/* ---------- Header ---------- */
.site-header { background: var(--surface-page); border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 20; }
/* header stays pinned (operator 2026-11-30); anchors and focus land below it */
html { scroll-padding-top: calc(var(--header-h) + var(--p-space-4)); }
/* while the cookie banner is open (the kit sets the class and its height), focus lands above it too */
html.kit-consent-open { scroll-padding-bottom: calc(var(--kit-consent-height, 0px) + var(--p-space-4)); }
:root { --header-h: 80px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--p-space-4); min-height: 80px; }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { width: 96px; height: auto; }
.site-nav__toggle {
  font: inherit; font-weight: 600; color: var(--text-strong); background: var(--surface-raised);
  border: 1px solid var(--border-field); border-radius: 999px; padding: 8px 20px; min-height: 44px; cursor: pointer;
}
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; padding: 0 var(--p-space-2);
  color: var(--text-strong); text-decoration: none; font-weight: 500;
}
.site-nav__list a:not(.btn):hover { color: var(--accent); text-decoration: underline; }
.site-nav__list .site-nav__cta a.amazon-link {
  color: var(--amazon-link-fg); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.site-nav__list .site-nav__cta a.amazon-link:hover { color: var(--amazon-link-fg-hover); text-decoration-thickness: 2px; }
@media (max-width: 899px) {
  .site-nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface-page); border-bottom: 1px solid var(--border-soft);
    padding: var(--p-space-2) var(--gutter) var(--p-space-5);
    box-shadow: 0 16px 24px -16px rgba(30, 38, 32, 0.25);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav__list li + li { border-top: 1px solid var(--border-soft); }
  .site-nav__list a:not(.btn) { min-height: 52px; padding: 0; }
  .site-nav__list .site-nav__cta { padding-top: var(--p-space-2); border-top: 1px solid var(--border-soft); }
}
@media (min-width: 900px) {
  .brand img { width: 112px; }
  .site-nav__toggle { display: none; }
  .site-nav__list { display: flex; align-items: center; gap: var(--p-space-4); }
  .site-nav__cta { margin-left: var(--p-space-3); padding-left: var(--p-space-5); border-left: 1px solid var(--border-soft); }
}

/* ---------- Scene hero (home): room photo, copy on the light wall ---------- */
.hero.hero--scene { position: relative; padding: 0; overflow: hidden; background: var(--p-linen-100); }
.hero--scene h1 { font-size: var(--text-h1); }
.hero--scene .hero__media { margin: 0; position: relative; overflow: hidden; }
.hero--scene .hero__media picture { display: block; height: 100%; }
.hero--scene .hero__media img { width: 100%; mix-blend-mode: normal; }
.hero--scene .hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
/* Phone and tablet: headline on the wall, the whole photo below it (never cropped, nothing laid over it),
   then the lede and the buttons. The wrappers step aside so the four parts can be ordered.
   Below 1024 px the copy would sit on top of the purifier, so the overlay starts at 1024. */
@media (max-width: 1023px) {
  .hero.hero--scene { display: flex; flex-direction: column; }
  .hero--scene .hero__inner, .hero--scene .hero__copy { display: contents; }
  .hero--scene .hero__copy > .eyebrow { order: 1; margin: var(--p-space-6) var(--gutter) var(--p-space-3); }
  .hero--scene .hero__copy > h1 { order: 2; margin: 0 var(--gutter) var(--p-space-5); max-width: 6.232em; } /* 11ch of Newsreader */
  .hero--scene .hero__media { order: 3; }
  .hero--scene .hero__media img { height: auto; }
  .hero--scene .hero__media::after { background: linear-gradient(180deg, var(--p-linen-100) 0%, rgba(246, 243, 236, 0) 14%); }
  .hero--scene .hero__more { order: 4; padding: var(--p-space-6) var(--gutter) 0; }
}
@media (min-width: 1024px) {
  .hero--scene .hero__media { height: min(calc(100vh - 81px), 820px); min-height: 600px; }
  /* scaled up a little from the bottom edge: the scroll drift moves it down without opening a gap at the top */
  .hero--scene .hero__media img { height: 100%; object-fit: cover; object-position: 70% 60%; scale: 1.06; transform-origin: 50% 100%; }
  .hero--scene .hero__media::after {
    /* scrim: keeps the headline on an even light ground */
    background: linear-gradient(90deg, rgba(246, 243, 236, 0.94) 0%, rgba(246, 243, 236, 0.86) 30%, rgba(246, 243, 236, 0.35) 48%, rgba(246, 243, 236, 0) 60%);
  }
  .hero--scene .hero__inner { position: absolute; inset: 0; display: flex; align-items: center; }
  .hero--scene .hero__copy { max-width: min(560px, 42vw); } /* keeps the lede off the purifier at 1024 */
  .hero--scene .hero__copy h1 { max-width: 5.665em; } /* 10ch of Newsreader */
}

/* ---------- Facts (big calm figures) ---------- */
.facts-band { padding-top: var(--p-space-6); }
.facts { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--border-soft); }
.facts__item { padding: var(--p-space-5) 0; border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; }
.facts dt {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--p-space-3);
}
.facts dd { margin: 0; color: var(--text-muted); font-size: var(--text-small); }
.facts .figure {
  display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 400; white-space: nowrap;
  line-height: 1; color: var(--text-strong); letter-spacing: -0.02em; margin-bottom: var(--p-space-2);
}
@media (min-width: 360px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--p-space-5); }
}
@media (min-width: 640px) {
  .facts { column-gap: var(--p-space-6); }
  .facts .figure { font-size: var(--text-figure); }
}
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .facts__item { padding: var(--p-space-6) var(--p-space-5) var(--p-space-6) 0; }
  .facts__item + .facts__item { border-left: 1px solid var(--border-soft); padding-left: var(--p-space-5); }
}
@media (min-width: 1024px) {
  .hero--scene + .facts-band .facts { border-top: 0; }
}

/* Product photos are shot on white: multiply lets the white melt into the warm ground. */
.product-hero__stage img, .result img, .box__grid img, .fits__grid img, .gallery__grid img { mix-blend-mode: multiply; }

/* ---------- Filter finder ----------
   Head on top. Below: the question (two choice cards) and the answer (one result card) side by side,
   each column opened by a label of the same size, both stretched to one height. */
.finder__grid { display: grid; gap: var(--p-space-6); }
.finder__label { font-weight: 700; font-size: 1rem; line-height: 1.5; color: var(--text-strong); margin: 0 0 var(--p-space-3); padding: 0; max-width: none; }
.finder__question { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--p-space-3); grid-auto-rows: 1fr; }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--p-space-4); width: 100%;
  padding: var(--p-space-3) var(--p-space-4) var(--p-space-3) var(--p-space-3); background: var(--card-bg);
  border: 1.5px solid var(--border-field); border-radius: var(--p-radius-m); cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
/* radio mark on the right edge of the card */
.choice label::after {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border-field); background: var(--p-white);
}
.choice__thumb {
  width: 72px; height: 72px; border-radius: var(--p-radius-s); background: var(--surface-page);
  display: grid; place-items: center; overflow: hidden; color: var(--accent);
}
.choice__thumb img { width: auto; height: 62px; mix-blend-mode: multiply; }
.choice__thumb svg { width: 56px; height: 56px; }
.choice__text { display: grid; gap: 2px; min-width: 0; }
.choice__title { font-weight: 600; color: var(--text-strong); line-height: 1.3; }
.choice__note { font-size: var(--text-small); color: var(--text-muted); line-height: 1.4; }
.choice input:checked + label { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 18px 36px -28px rgba(30, 38, 32, 0.5); }
.choice input:checked + label::after { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, var(--p-white) 50%); }
.choice input:focus-visible + label { outline: 3px solid var(--kit-focus); outline-offset: 3px; }
.choice label:hover { border-color: var(--accent); }
.finder__answer { display: flex; flex-direction: column; min-width: 0; }
.finder__results { display: grid; gap: var(--p-space-4); flex: 1; }
.result {
  display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden;
  background: var(--card-bg); border-radius: var(--card-radius);
}
.result[hidden] { display: none; }
.result img { width: 100%; height: 240px; object-fit: contain; padding: var(--p-space-5) var(--p-space-5) 0; }
.result__body { padding: var(--p-space-5); }
.result h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2rem); line-height: 1.12; margin: var(--p-space-3) 0 var(--p-space-2); }
.result p { margin-bottom: var(--p-space-2); }
.result .result__actions { display: flex; flex-wrap: wrap; gap: var(--p-space-2) var(--p-space-5); align-items: center; margin: var(--p-space-4) 0 0; }
.nowrap { white-space: nowrap; }
.chip {
  display: inline-block; background: var(--chip-bg); color: var(--chip-fg); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.08em; padding: 3px 12px; border-radius: 999px;
}
@media (max-width: 479px) {
  .result__actions .btn { width: 100%; }
  .choice__thumb { width: 60px; height: 60px; }
  .choice__thumb img { height: 52px; }
  .choice__thumb svg { width: 46px; height: 46px; }
}
@media (min-width: 720px) {
  .result { grid-template-columns: 5fr 7fr; align-items: center; }
  .result img { height: 100%; max-height: 300px; padding: var(--p-space-5); }
  .result__body { padding: var(--p-space-6) var(--p-space-6) var(--p-space-6) 0; }
}
@media (min-width: 960px) {
  .finder__grid { grid-template-columns: 5fr 7fr; gap: var(--p-space-6); align-items: stretch; }
  .choice__thumb { width: 96px; height: 96px; }
  .choice__thumb img { height: 84px; }
  .choice__thumb svg { width: 72px; height: 72px; }
  .choice label { padding: var(--p-space-4) var(--p-space-5) var(--p-space-4) var(--p-space-4); }
}

/* ---------- Ring (light band; ring colours as on the purifier) ----------
   Head on top. From 1024 px: the panel photo (7 columns) and the four colour rows (5 columns) side by side.
   The photo sets the height; the list stretches to it and its four rows share that height evenly, so the
   first and last rules sit exactly on the photo's top and bottom edges. Below 1024 px they stack. */
.ring__grid { display: grid; gap: var(--p-space-6); }
.ring__photo { margin: 0; border-radius: var(--card-radius); overflow: hidden; box-shadow: 0 24px 48px -28px rgba(30, 38, 32, 0.45); max-width: 640px; }
.ring__photo img { width: 100%; height: 100%; object-fit: cover; }
.ring-scale { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--border-soft); }
.ring-scale li {
  display: grid; grid-template-columns: 24px 7rem 1fr; align-items: center; gap: var(--p-space-4);
  padding: var(--p-space-4) 0; border-bottom: 1px solid var(--border-soft);
}
.ring-scale__range { white-space: nowrap; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-scale__label { color: var(--text-muted); }
.dot { width: 18px; height: 18px; border-radius: 50%; display: block; justify-self: center; }
.dot--green { background: var(--p-ring-green); box-shadow: 0 0 0 5px rgba(47, 143, 58, 0.16); }
.dot--blue { background: var(--p-ring-blue); box-shadow: 0 0 0 5px rgba(43, 108, 176, 0.16); }
.dot--yellow { background: var(--p-ring-yellow); box-shadow: 0 0 0 5px rgba(166, 124, 0, 0.18); }
.dot--red { background: var(--p-ring-red); box-shadow: 0 0 0 5px rgba(192, 57, 43, 0.16); }
.ring-scale li:nth-child(1) .ring-scale__range { color: var(--p-ring-green-text); }
.ring-scale li:nth-child(2) .ring-scale__range { color: var(--p-ring-blue-text); }
.ring-scale li:nth-child(3) .ring-scale__range { color: var(--p-ring-yellow-text); }
.ring-scale li:nth-child(4) .ring-scale__range { color: var(--p-ring-red-text); }
@media (max-width: 359px) {
  .ring-scale li { grid-template-columns: 24px 5.5rem 1fr; gap: var(--p-space-3); }
  .ring-scale__range { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .ring__grid { grid-template-columns: 7fr 5fr; gap: var(--p-space-8); align-items: stretch; }
  .ring__photo { max-width: none; }
  .ring-scale { grid-template-rows: repeat(4, 1fr); }
  .ring-scale li { padding: var(--p-space-2) 0; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .ring-scale__range { font-size: 1.5rem; }
  .ring-scale li { grid-template-columns: 24px 6rem 1fr; }
}

/* ---------- Stages (home): head, wide photo, the four layers in a row ---------- */
.stages__photo { border-radius: var(--card-radius); width: 100%; }
.stage-list { list-style: none; padding: 0; margin: var(--p-space-7) 0 var(--p-space-6); display: grid; gap: var(--p-space-5); }
.stage-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--p-space-4); align-items: start; align-content: start; }
.stage-list__n {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.25rem;
}
.stage-list h3 { margin: 6px 0 4px; }
.stage-list p { margin: 0; color: var(--text-muted); }
.carb { font-size: var(--text-small); color: var(--text-muted); border-left: 3px solid var(--accent); padding-left: var(--p-space-4); margin-bottom: 0; }
@media (min-width: 640px) {
  .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--p-space-6); }
}
@media (min-width: 960px) {
  .stage-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage-list li { grid-template-columns: 1fr; gap: var(--p-space-3); }
  .stage-list h3 { margin-top: 0; }
}

/* ---------- Cards (owners on home, topics on support) ---------- */
.owner-cards { list-style: none; padding: 0; margin: var(--p-space-6) 0 0; display: grid; gap: var(--p-space-4); }
.owner-cards li { display: flex; }
.owner-card {
  display: flex; flex-direction: column; gap: var(--p-space-2); width: 100%; height: 100%;
  background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--card-radius);
  padding: var(--p-space-5); color: var(--text-strong); text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.owner-card:hover { border-color: var(--accent); color: var(--text-strong); }
@media (hover: hover) and (pointer: fine) { .owner-card:hover { transform: translateY(-2px); } }
.owner-card__title {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--accent); text-wrap: balance;
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--p-space-4);
}
.owner-card__title::after {
  /* decorative arrow, drawn with borders so nothing is read out */
  content: ""; flex: 0 0 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 160ms ease;
}
.owner-card:hover .owner-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.owner-card__text { color: var(--text-muted); }
@media (min-width: 768px) {
  .owner-card { padding: var(--p-space-6); }
}
@media (min-width: 960px) {
  .owner-cards, .support__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
}

/* ---------- Inner pages ---------- */
.page-head { padding-block: var(--head-gap); }
main > .page-head:last-child { padding-bottom: var(--section-gap); }
.page-head h1 { max-width: 10.197em; } /* 18ch of Newsreader */
.page-head .lede { margin-bottom: 0; }
.crumbs ol { list-style: none; padding: 0; margin: var(--p-space-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--p-space-2); font-size: var(--text-small); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: var(--p-space-2); color: var(--text-muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a[aria-current="page"] { color: var(--text-muted); text-decoration: none; }

.product-hero { display: grid; gap: var(--p-space-6); padding-block: var(--p-space-5) var(--head-gap); align-items: center; }
.product-hero__copy > :last-child { margin-bottom: 0; }
.product-hero__copy .small { margin-top: var(--p-space-5); }
.product-hero__stage {
  margin: 0; background: radial-gradient(120% 80% at 60% 15%, var(--p-white) 0%, rgba(255, 255, 255, 0.9) 40%, rgba(251, 250, 246, 0) 75%), var(--p-linen-50); border-radius: var(--stage-radius); padding: var(--p-space-6) var(--p-space-5) 0;
  display: flex; justify-content: center; align-items: flex-end; overflow: hidden;
}
.product-hero__stage img { width: min(74%, 500px); }
.product-hero__stage--square { padding: var(--p-space-5); align-items: center; aspect-ratio: 1; background: var(--p-white); }
.product-hero__stage--square img { width: min(90%, 620px); }
/* P500i page: the product stands on the linen ground, no card */
.product-hero__stage--open { background: none; border-radius: 0; padding: 0; overflow: visible; }
.product-hero__stage--open img { width: min(78%, 480px); }
@media (min-width: 960px) {
  .product-hero { grid-template-columns: 1fr 1fr; gap: var(--p-space-8); }
  .page-product .product-hero { grid-template-columns: 7fr 5fr; }
  /* desktop: copy column as tall as the photo; title group at its top edge, buying group at its bottom edge */
  .product-hero { align-items: stretch; }
  .product-hero__copy { display: flex; flex-direction: column; }
  .product-hero__copy .buy-row { margin-top: auto; padding-top: var(--p-space-6); }
  /* width and height both follow the image: capped by the viewport height, never stretched */
  .product-hero__stage--open img { width: auto; height: auto; max-width: 100%; max-height: min(76vh, 720px); }
}

/* Specifications: one list, two columns from 960 px. Items flow down the first column, then the second;
   both columns share the same row tracks, so every rule runs level across the page and both columns
   start and end on the same line. --spec-rows on the element = items per column. */
.spec-list { margin: 0; display: grid; border-bottom: 1px solid var(--border-soft); }
.spec-list > div { display: grid; grid-template-columns: 2fr 3fr; gap: var(--p-space-4); padding: var(--p-space-4) 0; border-top: 1px solid var(--border-soft); align-content: start; }
.spec-list dt { font-weight: 600; color: var(--text-strong); }
.spec-list dd { margin: 0; color: var(--text-muted); }
.spec-list .doc-link { min-height: 0; }
@media (min-width: 960px) {
  .spec-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--spec-rows, 4), auto); grid-auto-flow: column; column-gap: var(--p-space-8); }
}

/* In the box (P500i) and Which purifiers it fits (P500_F2): two blocks of one height.
   The photo sets the height; the list beside it stretches to it and shares it evenly between its rows. */
.box__grid, .fits__grid { display: grid; gap: var(--p-space-6); }
.box__photo, .fits__photo { margin: 0; border-radius: var(--card-radius); overflow: hidden; background: var(--p-white); }
.box__photo img, .fits__photo img { width: 100%; height: 100%; object-fit: cover; }
.fits__photo { max-width: 420px; }
.ruled-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--border-soft); }
.ruled-list li {
  display: flex; align-items: center; gap: var(--p-space-4); padding: var(--p-space-4) 0; border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.25;
}
.ruled-list li::before {
  content: ""; flex: 0 0 12px; height: 7px; margin-bottom: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.box .carb, .fits__note { margin-top: var(--p-space-6); }
.model-tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--p-space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.model-tiles li {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--p-space-2); padding: var(--p-space-4); min-height: 96px;
  background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--p-radius-s); line-height: 1.2;
}
.model-tiles__brand { font-size: var(--text-small); font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }
.model-tiles__model { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); color: var(--text-strong); overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .box__grid { grid-template-columns: 7fr 5fr; gap: var(--p-space-8); align-items: stretch; }
  .box__grid .ruled-list { grid-template-rows: repeat(3, 1fr); }
  .box__grid .ruled-list li { padding: var(--p-space-2) 0; }
  .fits__grid { grid-template-columns: 7fr 5fr; gap: var(--p-space-6); align-items: stretch; }
  .fits__photo { max-width: none; }
  .model-tiles { grid-template-rows: repeat(3, 1fr); }
  .model-tiles li { padding: var(--p-space-5); }
}
.tick-list { list-style: none; padding: 0; display: grid; gap: var(--p-space-3); }
.tick-list li { position: relative; padding-left: 28px; max-width: var(--measure); }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
@media (min-width: 640px) { .tick-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--p-space-6); } }

.gallery__grid { display: grid; gap: var(--p-space-4); margin-bottom: var(--p-space-5); }
.gallery__grid img { border-radius: var(--card-radius); background: var(--p-white); width: 100%; }
.gallery > p:last-child { margin-bottom: 0; }
@media (min-width: 640px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }

/* Calculator */
.calc__card { background: var(--card-bg); border-radius: var(--card-radius); border: 1px solid var(--border-soft); display: grid; overflow: hidden; }
.calc__field { display: flex; flex-direction: column; justify-content: center; gap: var(--p-space-2); padding: var(--p-space-5); background: var(--surface-soft); }
.calc__answer { padding: var(--p-space-5); display: flex; flex-direction: column; justify-content: center; }
.calc__field label { font-weight: 600; }
.calc__result { font-family: var(--font-display); font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.18; margin-bottom: var(--p-space-4); text-wrap: balance; }
.calc__months { display: block; color: var(--text-muted); }
.calc__card .small { margin-bottom: 0; }
@media (min-width: 768px) {
  .calc__card { grid-template-columns: 5fr 7fr; }
  .calc__field, .calc__answer { padding: var(--p-space-6) var(--p-space-7); }
}

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--p-space-5); }
.steps > li { counter-increment: step; position: relative; padding-left: 56px; min-height: 40px; max-width: calc(var(--measure) + 56px); }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.25rem;
}
.steps h3 { margin-bottom: 2px; padding-top: 6px; }
.steps p { margin: 0; color: var(--text-muted); }
.steps--plain > li { padding-top: 8px; }
.steps--row { gap: var(--p-space-6); }
.steps--row > li { max-width: none; }
@media (min-width: 640px) { .steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--row > li { padding-left: 0; padding-top: 56px; }
  .steps--row h3 { padding-top: 0; }
}

.guide__card { background: var(--surface-soft); border-radius: var(--card-radius); padding: var(--p-space-6) var(--p-space-5); display: grid; gap: var(--p-space-6) var(--p-space-8); }
.guide__text { display: flex; flex-direction: column; }
.guide__text h2 { margin-bottom: var(--p-space-4); }
.guide__text .doc-row { margin-top: auto; padding-top: var(--p-space-4); }
.guide__cover { margin: 0; border-radius: var(--p-radius-s); overflow: hidden; background: var(--p-white); box-shadow: 0 24px 48px -30px rgba(30, 38, 32, 0.45); max-width: 420px; display: grid; place-items: center; padding: var(--p-space-4); }
.guide__cover img { width: auto; max-width: 100%; height: auto; max-height: 300px; }
@media (min-width: 960px) {
  .guide__card { grid-template-columns: 7fr 5fr; padding: var(--p-space-7); align-items: stretch; }
  .guide__cover { max-width: none; align-self: start; }
}

.support__grid { display: grid; gap: var(--p-space-4); }

/* FAQ accordion: heading on top, questions below it across the container */
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq .section-head + details { border-top: 1px solid var(--border-soft); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--p-space-4);
  min-height: 60px; padding: var(--p-space-3) 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); margin-right: 6px; transition: transform var(--dur-ui) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--text-muted); padding-bottom: var(--p-space-4); margin: 0; }
.faq summary, .faq details p { max-width: none; }
.faq details p { max-width: var(--measure); }

/* Forms */
/* Warranty: terms and the form card side by side, stretched to one height.
   Contact: one column of two blocks of the same width (ways to reach us, then the form), from the page's left edge. */
/* Contact: ways to reach us on the left, the support form on the right, both on the page edges.
   Warranty: terms and the registration card in two equal columns, stretched to one height. */
.warranty__grid, .contact__grid { display: grid; gap: var(--p-space-7); align-items: start; }
.contact__grid .contact-list { grid-template-columns: 1fr; }
@media (min-width: 640px) and (max-width: 1023.98px) { .contact__grid .contact-list { grid-template-columns: 1fr 1fr; column-gap: var(--p-space-6); } }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--p-space-8); }
  .contact__ways { position: sticky; top: calc(var(--header-h) + var(--p-space-6)); }
  .warranty__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--p-space-8); align-items: stretch; }
}
.terms h3 { margin-top: var(--p-space-6); }
.terms .steps + .small { margin-top: var(--p-space-6); margin-bottom: 0; }
.form-card { background: var(--card-bg); border-radius: var(--card-radius); padding: var(--p-space-6) var(--p-space-5); border: 1px solid var(--border-soft); }
.form-card h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
@media (min-width: 768px) { .form-card { padding: var(--p-space-7); } }
.kit-field { margin-bottom: var(--p-space-4); gap: var(--p-space-2); }
.kit-field label { font-weight: 600; }
.kit-field input, .kit-field select, .kit-field textarea, .calc__field input {
  font: inherit; color: var(--text-strong); background: var(--field-bg);
  border: 1.5px solid var(--border-field); border-radius: var(--field-radius);
  padding: 10px 14px; min-height: 48px; width: 100%;
}
.calc__field input { width: 8rem; }
.kit-field textarea { min-height: 140px; resize: vertical; }
.kit-field input:hover, .kit-field select:hover, .kit-field textarea:hover, .calc__field input:hover { border-color: var(--text-strong); }
.kit-field input:focus-visible, .kit-field select:focus-visible, .kit-field textarea:focus-visible, .calc__field input:focus-visible {
  outline: 3px solid var(--kit-focus); outline-offset: 1px; border-color: var(--accent);
}
.kit-field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.kit-field__error { font-size: var(--text-small); font-weight: 600; }
.kit-error-summary { border-radius: var(--p-radius-s); background: var(--p-white); }
.kit-form-status { margin-top: var(--p-space-4); padding: var(--p-space-3) var(--p-space-4); border-radius: var(--p-radius-s); background: var(--surface-soft); }
.kit-form-privacy { font-size: var(--text-small); color: var(--text-muted); margin: var(--p-space-4) 0 0; }
.kit-req { color: var(--text-muted); font-weight: 500; }
.form-card button[type="submit"] { margin-top: var(--p-space-2); }
.field-hint { font-size: var(--text-small); color: var(--text-muted); }
.form-card__intro { color: var(--text-muted); margin: 0 0 var(--p-space-5); }
.support-form .field-hint { margin: 0; }

/* Support forms: sections and a two-column field grid where the card is wide enough. */
.support-form { container-type: inline-size; }
.form-section { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-section + .form-section { border-top: 1px solid var(--border-soft); padding-top: var(--p-space-5); margin-top: var(--p-space-2); }
.form-section > legend { float: left; width: 100%; padding: 0; margin: 0 0 var(--p-space-4); font-size: var(--text-h3); font-weight: 600; color: var(--text-strong); }
.form-section > legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--p-space-5); }
.form-grid > .kit-field { min-width: 0; }
@container (min-width: 30rem) {
  .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form-grid__full { grid-column: 1 / -1; }
}

/* Conditional questions: shown only for the enquiry types listed in data-when. Pure CSS, no script reads the form.
   Without :has() support every question stays visible (all of them are optional). */
@supports selector(:has(*)) {
  .support-form .form-cond { display: none; }
  .support-form:has(#c-type option[value="customer_support"]:checked) .form-cond[data-when~="customer_support"],
  .support-form:has(#c-type option[value="returns_warranty"]:checked) .form-cond[data-when~="returns_warranty"],
  .support-form:has(#c-type option[value="order_issue"]:checked) .form-cond[data-when~="order_issue"],
  .support-form:has(#c-type option[value="retail_wholesale"]:checked) .form-cond[data-when~="retail_wholesale"],
  .support-form:has(#c-type option[value="press_media"]:checked) .form-cond[data-when~="press_media"],
  .support-form:has(#c-type option[value="general_question"]:checked) .form-cond[data-when~="general_question"] { display: flex; }
  .support-form:has(#c-type option[value="customer_support"]:checked) fieldset.form-section.form-cond[data-when~="customer_support"],
  .support-form:has(#c-type option[value="returns_warranty"]:checked) fieldset.form-section.form-cond[data-when~="returns_warranty"],
  .support-form:has(#c-type option[value="order_issue"]:checked) fieldset.form-section.form-cond[data-when~="order_issue"],
  .support-form:has(#c-type option[value="retail_wholesale"]:checked) fieldset.form-section.form-cond[data-when~="retail_wholesale"],
  .support-form:has(#c-type option[value="press_media"]:checked) fieldset.form-section.form-cond[data-when~="press_media"],
  .support-form:has(#c-type option[value="general_question"]:checked) fieldset.form-section.form-cond[data-when~="general_question"] { display: block; }
}
.contact-list { margin: 0 0 var(--p-space-5); display: grid; gap: var(--p-space-4); }
.contact-list div { padding-bottom: var(--p-space-4); border-bottom: 1px solid var(--border-soft); }
.contact-list dt { font-size: var(--text-small); color: var(--text-muted); font-weight: 600; }
.contact-list dd { margin: 0; font-family: var(--font-display); font-size: 1.625rem; overflow-wrap: anywhere; }
.contact-list a { display: inline-flex; min-height: 44px; align-items: center; }

/* Legal and 404: same left edge as the header, reading column of about 70 characters */
.legal.wrap { padding-top: var(--head-gap); }
.legal > * { max-width: var(--measure); }
.legal ul { padding-left: 1.25em; display: grid; gap: var(--p-space-3); }
.legal > :last-child { margin-bottom: 0; }
.interim {
  display: inline-block; background: var(--surface-soft); color: var(--accent-strong); font-weight: 700;
  font-size: var(--text-small); padding: 4px 12px; border-radius: 999px; margin-bottom: var(--p-space-5);
}
.link-list { list-style: none; padding: 0; margin: var(--p-space-6) 0 0; display: grid; gap: var(--p-space-1); }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Footer (light, same container as the header) ---------- */
.site-footer {
  background: var(--surface-footer); color: var(--text-strong); border-top: 1px solid var(--border-soft);
  padding-block: var(--p-space-8) var(--p-space-6);
}
.site-footer a, .site-footer .linkish { color: var(--text-strong); }
.site-footer a:hover, .site-footer .linkish:hover { color: var(--accent); text-decoration-thickness: 2px; }
.site-footer__inner { display: grid; gap: var(--p-space-6); }
.site-footer__brand img { width: 112px; height: auto; margin: 0 0 var(--p-space-4); }
.site-footer__mail { color: var(--text-muted); margin: 0; }
.site-footer__nav { display: grid; gap: var(--p-space-4); }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 var(--p-space-5); }
.site-footer__links a, .site-footer__links .linkish { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__legal { font-size: var(--text-small); }
.site-footer__legal a, .site-footer__legal .linkish { color: var(--text-muted); }
.site-footer__fine { border-top: 1px solid var(--p-line-200); padding-top: var(--p-space-5); font-size: var(--text-small); color: var(--text-muted); }
.site-footer__fine p { max-width: 51.28em; } /* 80ch of Figtree */
.site-footer__fine p:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .site-footer__inner { grid-template-columns: 5fr 7fr; column-gap: var(--p-space-8); }
  .site-footer__fine { grid-column: 1 / -1; }
}

/* ---------- Cookie banner (kit consent module) ---------- */
.kit-consent {
  font-family: var(--font-body); font-size: var(--text-small);
  border-top: 3px solid var(--kit-consent-border); box-shadow: 0 -12px 32px -16px rgba(30, 38, 32, 0.35);
  padding: var(--p-space-5) var(--gutter);
}
.kit-consent__inner { max-width: 1200px; }
.kit-consent__title { font-family: var(--font-display); font-size: 1.375rem; }
.kit-consent__title strong { font-weight: 500; }
.kit-consent .kit-consent__text a { color: var(--accent); }
.kit-consent__links a { display: inline-flex; align-items: center; min-height: 44px; }
.kit-consent__btn {
  font: inherit; min-width: 132px; min-height: 48px; padding: 10px 24px; border-radius: 999px;
  border: 2px solid var(--accent); background: var(--p-white); color: var(--accent); font-weight: 700; cursor: pointer;
}
.kit-consent__btn:hover { background: var(--surface-soft); }
@media (max-width: 479px) {
  .kit-consent__actions { width: 100%; }
  .kit-consent__btn { flex: 1 1 0; min-width: 0; }
}

/* ---------- P500i gallery (product hero) ----------
   One stage of fixed height, the photo fitted inside it (never cropped), four thumbnails under it.
   Without JS the thumbnails are plain links to the large files and the enlarge button stays hidden. */
.gallery-hero { display: grid; gap: var(--p-space-4); min-width: 0; }
.gallery-hero__stage {
  position: relative; margin: 0; display: flex; align-items: center; justify-content: center;
  height: clamp(340px, 108vw, 460px);
}
.gallery-hero__img { width: auto; height: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.gallery-hero__img:not(.is-cutout) { border-radius: var(--card-radius); }
.js-gallery .gallery-hero__img { cursor: zoom-in; }
.gallery-hero__zoom { display: none; }
.has-viewer .gallery-hero__zoom {
  display: block; position: absolute; right: 0; bottom: 0; min-height: 44px; padding: 8px 18px 8px 40px; border-radius: 999px;
  font: inherit; font-size: var(--text-small); font-weight: 700; color: var(--accent); cursor: pointer;
  background: var(--p-white); border: 2px solid var(--accent);
  box-shadow: 0 10px 24px -14px rgba(30, 38, 32, 0.45);
  transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
/* magnifier drawn in CSS: a ring and a handle */
.gallery-hero__zoom::before, .gallery-hero__zoom::after { content: ""; position: absolute; }
.gallery-hero__zoom::before { left: 16px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border: 2px solid currentColor; border-radius: 50%; }
.gallery-hero__zoom::after { left: 27px; top: 50%; width: 2px; height: 7px; margin-top: 1px; background: currentColor; transform: rotate(-45deg); }
.gallery-hero__thumbs {
  list-style: none; padding: 0; margin: 0; display: grid; gap: var(--p-space-3);
  grid-template-columns: repeat(4, minmax(0, 88px)); justify-content: center;
}
.gallery-hero__thumb {
  display: grid; place-items: center; aspect-ratio: 1; padding: 6px; border-radius: var(--p-radius-s);
  background: var(--p-white); border: 1px solid var(--border-soft);
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.gallery-hero__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-hero__thumb[aria-current="true"], .gallery-hero__thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
@media (min-width: 960px) {
  .gallery-hero__stage { height: clamp(440px, 64vh, 640px); }
  .gallery-hero__thumbs { grid-template-columns: repeat(4, minmax(0, 104px)); }
}

/* Photo viewer: a native modal dialog, centred. Esc, the Close button or a click outside closes it,
   and focus returns to the control that opened it. Zoom in doubles the photo; scroll or arrow keys move it. */
.zoom {
  width: min(1120px, calc(100vw - 2 * var(--p-space-4))); height: min(92vh, 1000px); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: var(--p-radius-m); background: var(--p-white); color: var(--text-strong);
  box-shadow: 0 40px 80px -40px rgba(30, 38, 32, 0.6); overflow: hidden;
}
.zoom[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.zoom::backdrop { background: rgba(30, 38, 32, 0.6); }
.zoom__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--p-space-3);
  padding: var(--p-space-3) var(--p-space-4); border-bottom: 1px solid var(--border-soft);
}
.zoom__title { margin: 0 auto 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.zoom__btn {
  font: inherit; font-size: var(--text-small); font-weight: 700; min-height: 44px; min-width: 96px; padding: 8px 18px;
  border-radius: 999px; border: 2px solid var(--accent); background: var(--p-white); color: var(--accent); cursor: pointer;
  transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.zoom__btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.zoom__view { overflow: auto; display: grid; place-items: center; padding: var(--p-space-4); min-height: 0; }
.zoom__view:focus-visible { outline-offset: -4px; }
.zoom__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.zoom__view.is-zoomed { display: block; }
.zoom__view.is-zoomed .zoom__img { max-width: none; max-height: none; margin: 0 auto; cursor: zoom-out; }

/* ---------- Controls (P500i): what each button does ----------
   Without JS: every panel shows, one under another. With JS: a tab list on the left, one panel at a time on the
   right. All panels sit in the same grid cell, so the card keeps the height of the tallest one and nothing jumps
   when a tab changes. From 1024 px the tab list stretches to the card's height and its seven tabs share it evenly. */
.controls__grid { display: grid; gap: var(--p-space-5); }
.controls__tabs { display: grid; gap: var(--p-space-2); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.ctab {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%;
  min-height: 60px; padding: var(--p-space-3) var(--p-space-4); text-align: left; font: inherit; cursor: pointer;
  color: var(--text-strong); background: var(--surface-page); border: 1px solid var(--border-soft); border-radius: var(--p-radius-s);
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.ctab__name { font-weight: 600; line-height: 1.25; }
/* two columns on a phone: the seventh tab takes the whole last row, so no cell stands empty */
@media (min-width: 360px) and (max-width: 1023px) { .controls__tabs > .ctab:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.ctab__hint { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ctab[aria-selected="true"] { background: var(--surface-soft); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ctab[aria-selected="true"] .ctab__name { color: var(--accent-strong); }
.controls__card {
  display: grid; gap: var(--p-space-5); align-content: start; padding: var(--p-space-4);
  background: var(--surface-page); border-radius: var(--card-radius);
}
.controls__photo { margin: 0; border-radius: var(--p-radius-s); overflow: hidden; }
.controls__photo img { width: 100%; }
.controls__panels { display: grid; gap: var(--p-space-7); }
.cpanel h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.15; margin-bottom: var(--p-space-3); }
.cpanel > p { color: var(--text-muted); }
.cpanel > :last-child { margin-bottom: 0; }
.cpanel .ring-scale { margin-top: var(--p-space-5); }
.cpanel__how { margin: var(--p-space-5) 0 0; display: grid; border-top: 1px solid var(--border-soft); }
.cpanel__how > div { display: grid; grid-template-columns: 2fr 3fr; gap: var(--p-space-4); padding: var(--p-space-3) 0; border-bottom: 1px solid var(--border-soft); align-items: baseline; }
.cpanel__how dt { font-weight: 600; color: var(--text-strong); }
.cpanel__how dd { margin: 0; color: var(--text-muted); }
.cpanel__figure { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--text-strong); font-variant-numeric: tabular-nums; margin-right: 4px; }
.is-tabs .controls__panels > .cpanel { grid-area: 1 / 1; }
.is-tabs .cpanel:not(.is-active) { visibility: hidden; opacity: 0; }
.cpanel:focus-visible { outline-offset: 6px; }
@media (max-width: 359px) { .controls__tabs { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .controls__card { padding: var(--p-space-5); } }
@media (min-width: 1024px) {
  .controls__grid { grid-template-columns: 4fr 8fr; gap: var(--p-space-6); align-items: stretch; }
  .controls__tabs { grid-template-columns: 1fr; grid-template-rows: repeat(7, 1fr); grid-auto-rows: auto; }
  .controls__tabs:not([hidden]) + .controls__card { grid-column: 2; }
  .controls__tabs[hidden] + .controls__card { grid-column: 1 / -1; }
  .controls__card { padding: var(--p-space-6); }
}

/* ---------- App (P500i) ---------- */
.app__photo { margin: 0 0 var(--p-space-6); border-radius: var(--card-radius); overflow: hidden; background: var(--p-white); }
.app__photo img { width: 100%; }
.app__grid { display: grid; gap: var(--p-space-4); }
.app__col { background: var(--surface-raised); border-radius: var(--card-radius); padding: var(--p-space-5); }
.app__col h3 { margin-bottom: var(--p-space-4); }
.app__col > :last-child { margin-bottom: 0; }
.steps--compact { gap: var(--p-space-4); }
.steps--compact > li { padding-left: 48px; min-height: 32px; padding-top: 3px; }
.steps--compact > li::before { width: 32px; height: 32px; font-size: 1.0625rem; }
@media (min-width: 960px) {
  .app__grid { grid-template-columns: 1fr 1fr; gap: var(--p-space-5); align-items: stretch; }
  .app__col { padding: var(--p-space-6); }
}

/* ---------- Inside the filter (P500i): pick a layer, the others fade back in the drawing ----------
   The drawing is an inline SVG (partials/ill-filter-layers.html) with one group per layer, data-layer-shade="n".
   Without JS nothing fades and each layer's description is always visible in its button. */
.layers__figure { position: relative; margin: 0; border-radius: var(--card-radius); overflow: hidden; background: var(--p-white); padding: var(--p-space-6) var(--p-space-5) var(--p-space-4); }
.ill--layers .i-layer { transition: opacity var(--dur-ui) var(--ease-out); }
.js-layers .ill--layers .i-layer { cursor: pointer; }
.layers__figure[data-active] .i-layer { opacity: 0.22; }
.layers__figure[data-active="1"] [data-layer-shade="1"],
.layers__figure[data-active="2"] [data-layer-shade="2"],
.layers__figure[data-active="3"] [data-layer-shade="3"],
.layers__figure[data-active="4"] [data-layer-shade="4"] { opacity: 1; }
.ill--layers .i-layer__mark {
  fill: var(--accent); opacity: 0; transform: scaleX(0.4); transform-box: fill-box; transform-origin: center;
  transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out);
}
.layers__figure[data-active="1"] [data-layer-shade="1"] .i-layer__mark,
.layers__figure[data-active="2"] [data-layer-shade="2"] .i-layer__mark,
.layers__figure[data-active="3"] [data-layer-shade="3"] .i-layer__mark,
.layers__figure[data-active="4"] [data-layer-shade="4"] .i-layer__mark { transform: none; opacity: 1; }
.layer-picks { list-style: none; padding: 0; margin: var(--p-space-5) 0 0; display: grid; gap: var(--p-space-3); }
.layer-picks li { display: flex; }
.layer-pick {
  display: grid; grid-template-columns: 32px 1fr; align-content: start; column-gap: var(--p-space-3); row-gap: 2px; width: 100%;
  padding: var(--p-space-4); text-align: left; font: inherit; color: var(--text-strong); cursor: pointer;
  background: var(--surface-raised); border: 1px solid var(--border-soft); border-radius: var(--p-radius-s);
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.layer-pick__n {
  grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.0625rem;
  transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease;
}
.layer-pick__name { font-weight: 600; padding-top: 4px; }
.layer-pick__text { color: var(--text-muted); font-size: var(--text-small); line-height: 1.5; }
.layer-pick[aria-pressed="true"] { background: var(--surface-soft); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.layer-pick[aria-pressed="true"] .layer-pick__n { background: var(--accent); color: var(--on-accent); }
.layers__note { margin: var(--p-space-5) 0 0; }
@media (min-width: 640px) { .layer-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; } }
@media (min-width: 1100px) { .layer-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }


/* ---------- Illustrations: the user's guide drawings, redrawn in colour (one style for every diagram) ----------
   Generated by qa/colour/make_illustrations.py into partials/ill-*.html. Colours are the --ill-* tokens above.
   Outlines keep one screen width at any size (non-scaling stroke). */
.ill { display: block; width: 100%; height: auto; }
.ill .i-outline, .ill .i-outline-dark, .ill .i-body, .ill .i-side, .ill .i-band, .ill .i-band-side, .ill .i-window,
.ill .i-lens, .ill .i-leader, .ill .i-thin, .ill .i-badge, .ill .i-panel-edge, .ill .i-filter-frame, .ill .i-rim {
  vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round;
}
.ill .i-outline { fill: none; stroke: var(--ill-line); stroke-width: 1.75px; }
.ill .i-outline-dark { fill: none; stroke: var(--ill-top); stroke-width: 1.75px; }
.ill .i-body { fill: var(--ill-body); stroke: var(--ill-line); stroke-width: 1.75px; }
.ill .i-body-flat { fill: var(--ill-body); }
.ill .i-side { fill: var(--ill-body-side); stroke: var(--ill-line); stroke-width: 1.75px; }
.ill .i-side-flat { fill: var(--ill-body-side); }
.ill .i-frame { fill: var(--ill-body-shade); opacity: 0.7; }
.ill .i-recess { fill: var(--ill-body-shade); stroke: var(--ill-line-soft); stroke-width: 1.5; }
.ill .i-window { fill: var(--ill-body); stroke: var(--ill-line); stroke-width: 1.5px; }
.ill .i-vent { stroke: var(--ill-line-soft); stroke-width: 3; stroke-dasharray: 3 4; }
.ill .i-band { fill: var(--ill-band); stroke: var(--ill-line); stroke-width: 1.75px; }
.ill .i-band-side { fill: var(--ill-band-side); stroke: var(--ill-line); stroke-width: 1.75px; }
.ill .i-rib { fill: none; stroke: var(--ill-band-line); stroke-width: 2.5; }
.ill .i-top { fill: var(--ill-top); }
.ill .i-slat { stroke: var(--ill-slat); stroke-width: 4; stroke-linecap: round; }
.ill .i-rim { fill: var(--ill-band); stroke: var(--ill-band-line); stroke-width: 1.5px; }
.ill .i-panel { fill: var(--ill-top); }
.ill .i-ring { fill: none; stroke: var(--ill-ring); stroke-width: 4; stroke-dasharray: 0.5 6.5; stroke-linecap: round; }
.ill .i-digits { fill: var(--ill-glow); }
.ill .i-key { fill: var(--ill-slat); }
.ill .i-shadow { fill: var(--ill-shadow); }
.ill .i-thin { fill: none; stroke: var(--ill-line-soft); stroke-width: 1.25px; }
.ill .i-grille { stroke: var(--ill-line-soft); stroke-width: 3.5; stroke-linecap: round; opacity: 0.55; }
.ill .i-foot { fill: var(--ill-line-soft); }
.ill .i-lens { fill: none; stroke: var(--ill-line); stroke-width: 2px; }
.ill .i-pointer { fill: none; stroke: var(--ill-line-soft); stroke-width: 2.5; stroke-linecap: round; }
.ill .i-pointer-head { fill: none; stroke: var(--ill-line-soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .i-leader { stroke: var(--ill-line-soft); stroke-width: 1.5px; }
.ill .i-target { fill: var(--ill-callout); }
.ill .i-badge { fill: var(--p-white); stroke: var(--ill-callout); stroke-width: 2px; }
.ill .i-callout text { fill: var(--ill-callout); font-family: var(--font-display); font-size: 46px; text-anchor: middle; dominant-baseline: central; }
.ill .i-arrow { fill: none; stroke: var(--ill-arrow); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ill .i-catch { fill: var(--ill-body-shade); stroke: var(--ill-line-soft); stroke-width: 1.5; }
.ill .i-cavity { fill: var(--ill-body-shade); }
.ill .i-panel-edge { fill: var(--ill-body-shade); stroke: var(--ill-line); stroke-width: 1.5px; }
.ill .i-filter-frame { fill: var(--ill-top); stroke: var(--ill-top); stroke-width: 1px; }
/* filter materials */
.ill .i-pre { fill: var(--ill-prefilter); }
.ill .i-pre-sheet { opacity: 0.84; }
.ill .i-mesh { fill: none; stroke: var(--ill-prefilter-line); stroke-width: 1.5; }
.ill .i-pre-edge { fill: var(--ill-prefilter-edge); }
.ill .i-hepa { fill: var(--ill-hepa); }
.ill .i-pleat { fill: none; stroke: var(--ill-hepa-pleat); stroke-width: 1.6; }
.ill .i-pleat-hi { fill: none; stroke: var(--ill-body-side); stroke-width: 1; }
.ill .i-seam { fill: none; stroke: var(--ill-band-line); stroke-width: 2; }
.ill .i-hepa-side { fill: var(--ill-body-side); }
.ill .i-hepa-top { fill: var(--ill-body-shade); }
.ill .i-carbon { fill: var(--ill-carbon); }
.ill .i-hex { fill: none; stroke: var(--ill-carbon-cell); stroke-width: 1.5; }
.ill .i-carbon-side { fill: var(--ill-carbon); }
.ill .i-carbon-top { fill: var(--ill-carbon-cell); }
.ill .i-cat { fill: var(--ill-catalyst); }
.ill .i-cat-a { fill: var(--ill-catalyst-grain); }
.ill .i-cat-b { fill: var(--ill-catalyst-dark); }
.ill .i-cat-c { fill: var(--p-white); opacity: 0.55; }
.ill .i-cat-side { fill: var(--ill-catalyst-grain); }
.ill .i-cat-top { fill: var(--ill-catalyst-dark); }

/* ---------- Feature tiles (home): six of one size ---------- */
.feature-tiles { list-style: none; padding: 0; margin: 0 0 var(--p-space-6); display: grid; gap: var(--p-space-3); }
.feature-tiles li {
  display: flex; flex-direction: column; gap: var(--p-space-2); padding: var(--p-space-5);
  background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--card-radius);
}
.feature-tiles h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); line-height: 1.15; }
.feature-tiles p { margin: 0; color: var(--text-muted); }
.features__more { margin: 0; }
.feature-tiles__key { margin-top: auto !important; padding-top: var(--p-space-3); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent) !important; }
@media (min-width: 640px) { .feature-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; } }
@media (min-width: 1024px) { .feature-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--p-space-4); } }

/* ---------- Support: getting started, care, troubleshooting ---------- */
.start__grid { display: grid; gap: var(--p-space-6); }
.parts { margin: 0; background: var(--surface-page); border-radius: var(--card-radius); padding: var(--p-space-5); display: grid; gap: var(--p-space-5); align-content: start; }
.parts .ill { width: min(100%, 460px); justify-self: center; }
.parts__legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--p-space-2) var(--p-space-4); counter-reset: part; font-size: var(--text-small); }
.parts__legend li { counter-increment: part; display: grid; grid-template-columns: 24px 1fr; gap: var(--p-space-2); align-items: baseline; }
.parts__legend li::before { content: counter(part); font-weight: 700; color: var(--accent); text-align: right; }
@media (min-width: 1024px) { .start__grid { grid-template-columns: 7fr 5fr; gap: var(--p-space-8); align-items: stretch; } }

.care-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--p-space-4); }
.care-cards > li { display: flex; flex-direction: column; padding: var(--p-space-5); background: var(--card-bg); border-radius: var(--card-radius); border: 1px solid var(--border-soft); }
.care-cards h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); line-height: 1.15; margin-bottom: var(--p-space-3); }
.care-cards ol { margin: 0; padding-left: 1.2em; color: var(--text-muted); display: grid; gap: var(--p-space-2); }
.care-cards__note { margin: var(--p-space-5) 0 0; }
@media (min-width: 960px) { .care-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; } .care-cards > li { padding: var(--p-space-6); } }

.trouble__answer { color: var(--text-muted); padding-bottom: var(--p-space-4); max-width: var(--measure); }
.faq .trouble__answer p { margin: 0 0 var(--p-space-2); padding: 0; }
.faq .trouble__answer p:last-child { margin-bottom: 0; }
.trouble__answer strong { color: var(--text-strong); font-weight: 600; }

/* Filter change: the guide's five steps beside its drawing, both one height */
.change__grid { display: grid; gap: var(--p-space-6); }
.change__photo { margin: 0; border-radius: var(--card-radius); background: var(--surface-page); display: grid; place-items: center; padding: var(--p-space-5); }
.change__photo .ill { width: min(100%, 400px); }
@media (min-width: 1024px) { .change__grid { grid-template-columns: 7fr 5fr; gap: var(--p-space-8); align-items: stretch; } }

/* ---------- Pressable things answer the press ---------- */
.gallery-hero__thumb:active, .gallery-hero__zoom:active, .zoom__btn:active, .ctab:active, .layer-pick:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .gallery-hero__thumb:hover, .ctab:hover, .layer-pick:hover { border-color: var(--accent); }
  .gallery-hero__zoom:hover, .zoom__btn:not([aria-pressed="true"]):hover { background: var(--surface-soft); }
}

/* ---------- Motion ----------
   site.js adds .reveal to the CHILDREN of each section, never to the section itself: a section's
   background never moves, and the 20 px rise stays inside the section's own padding. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .owner-card:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Rise only, no fade: text keeps full contrast at every frame of the motion. */
  .js-motion .reveal { transform: translateY(20px); transition: transform 700ms var(--ease-reveal); }
  .js-motion .reveal.is-in, .js-motion .reveal:focus-within { transform: none; }
  .js-motion .hero__copy > * { animation: rise 1000ms var(--ease-reveal) both; }
  .js-motion .hero__copy > :nth-child(2) { animation-delay: 80ms; }
  .js-motion .hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .js-motion .hero--scene .hero__media img { animation: scene-in 1600ms var(--ease-reveal) both; }
  .owner-card:hover .owner-card__title::after { transform: rotate(45deg) translate(2px, -4px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scene-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* Interactions (find-animation-opportunities pass, 2026-11-30). Each one is a state change the visitor asked for;
   all use transform or opacity, all stay at or under 240 ms. Reduced motion keeps the fades, drops the movement. */
.is-tabs .cpanel { transition: opacity 150ms var(--ease-out), visibility 0s linear 150ms; }
.is-tabs .cpanel.is-active { transition: opacity 150ms var(--ease-out), visibility 0s; }
/* a tab chosen with the arrow keys switches at once: keyboard moves are never animated */
.is-tabs.is-instant .cpanel { transition: none; }
.zoom::backdrop { transition: opacity var(--dur-dialog) var(--ease-out), overlay var(--dur-dialog) allow-discrete, display var(--dur-dialog) allow-discrete; }
.zoom { opacity: 0; transform: scale(0.97); transition-property: opacity, transform, overlay, display; transition-duration: var(--dur-dialog); transition-timing-function: var(--ease-out); transition-behavior: allow-discrete; }
.zoom[open] { opacity: 1; transform: none; }
.zoom::backdrop { opacity: 0; }
.zoom[open]::backdrop { opacity: 1; }
@starting-style {
  .zoom[open] { opacity: 0; transform: scale(0.97); }
  .zoom[open]::backdrop { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .zoom, .zoom[open] { transform: none; }
  @starting-style { .zoom[open] { transform: none; } }
  .gallery-hero__thumb:active, .gallery-hero__zoom:active, .zoom__btn:active, .ctab:active, .layer-pick:active { transform: none; }
  .ill--layers .i-layer__mark { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* FAQ and troubleshooting answers open and close instead of snapping (browsers without support just snap) */
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 220ms var(--ease-out), content-visibility 220ms allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}
