@layer tokens, base, entrance, layout, components, client;
@layer tokens {
  /* given swatches · theme modern · Schibsted Grotesk + Public Sans */
  :root {
    /* colour */
    --c-primary: #1F3D2B;
    --c-dark: #1F3D2B;
    --c-mid: #2B5139;
    --c-accent: #3E7A4E;
    --c-accent-hover: #336842;
    --c-highlight: #E4ECE6;
    --c-bg: #FFFFFF;
    --c-alt: #F3F5F2;
    --c-alt-2: #FFFFFF;
    --c-card: #FFFFFF;
    --c-border: #DCE3DD;
    --c-ink: #15201A;
    --c-muted: #4D5E54;
    --c-caption: #0C1610;
    --c-primary-rgb: 31, 61, 43;
    --c-dark-rgb: 19, 39, 25;
    /* placement */
    --c-on-accent: #FFFFFF;
    --c-on-primary: #FFFFFF;
    --c-bar: #1F3D2B;
    --c-accent-outline: transparent;
    --c-field-edge: #2B5139;
    --c-link: #1F3D2B;
    --c-label: #3E7A4E;
    --c-label-dark: #E4ECE6;
    /* on-dark */
    --w-90: rgba(255,255,255,.90);
    --w-60: rgba(255,255,255,.60);
    --w-42: rgba(255,255,255,.42);
    --w-12: rgba(255,255,255,.12);
    --w-07: rgba(255,255,255,.07);
    /* type-face */
    --f-display: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
    --f-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
    --f-voice: Georgia, serif;
    /* type-weight */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-strong: 600;
    --fw-card: 500;
    /* type-scale */
    --t-caption: 12px;
    --t-body-sm: 14px;
    --t-body: 16px;
    --t-card: 20px;
    --t-sm-heading: 32px;
    --t-section: clamp(40px, 3.6vw, 52px);
    --t-hero: clamp(40px, 5.2vw, 64px);
    --t-numeral: 52px;
    /* type-rhythm */
    --tr-hero: -0.03em;
    --tr-section: -0.02em;
    --tr-card: -0.01em;
    --lh-hero: 1.04;
    --lh-section: 1.12;
    --lh-card: 1.25;
    --lh-body: 1.8;
    --lh-caption: 1.4;
    /* space */
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;
    --space-96: 96px;
    --space-112: 112px;
    --space-144: 144px;
    --content-max: 1600px;
    --content-max-text: 768px;
    --pad-x: 24px;
    --sec-y: 80px;
    --grid-gap: 24px;
    --hd-h: 64px;
    /* shape */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-pill: 999px;
    --r-control: var(--r-md);
    --r-surface: var(--r-lg);
    --r-corner: var(--r-lg);
    --r-band: 0;
    --shadow-subtle: 0 4px 16px rgba(var(--c-primary-rgb), 0.10);
    --shadow-standard: 0 12px 32px rgba(var(--c-primary-rgb), 0.14);
    --shadow-emphatic: 0 20px 48px rgba(var(--c-primary-rgb), 0.18);
    --shadow-deep: 0 32px 64px rgba(var(--c-primary-rgb), 0.22);
    --focus-ring: 0 0 0 3px rgba(var(--c-primary-rgb), 0.15);
    /* pointer */
    --hover-fast: 200ms;
    --hover-move: 300ms;
    --hover-slow: 500ms;
    --hover-ease: ease-out;
    --lift-btn: -1px;
    --lift-sm: -2px;
    --lift-card: -4px;
    --zoom-img: 1.05;
    /* motion */
    --m-in: 500ms;
    --m-unmask: 900ms;
    --m-draw: 700ms;
    --m-step: 60ms;
    --m-ease: cubic-bezier(.22, .61, .36, 1);
    /* theme */
    --photo-weight: 0.65;
    /* private: what .on-light puts back */
    --_ink: #15201A;
    --_muted: #4D5E54;
    --_caption: #0C1610;
    --_label: #3E7A4E;
    --_link: #1F3D2B;
    --_border: #DCE3DD;
    --_field-edge: #2B5139;
  }
  .on-dark {
    --c-ink: #FFFFFF; --c-muted: var(--w-90); --c-caption: var(--c-highlight); --c-label: var(--c-label-dark);
    --c-link: #FFFFFF; --c-border: var(--w-12); --c-field-edge: var(--w-42);
  }
  .on-light {
    --c-ink: var(--_ink); --c-muted: var(--_muted); --c-caption: var(--_caption); --c-label: var(--_label);
    --c-link: var(--_link); --c-border: var(--_border); --c-field-edge: var(--_field-edge);
  }
  @media (min-width: 720px) { :root { --pad-x: 32px; --sec-y: 144px; } }
  @media (min-width: 1080px) { :root { --pad-x: 56px; --sec-y: 144px; --hd-h: 72px; } }
  @media (min-width: 1440px) { :root { --pad-x: clamp(56px, 4.2vw, 80px); } }
  [data-shape="tag"] {
    --r-control: var(--r-xs) var(--r-pill) var(--r-pill) var(--r-xs);
    --r-surface: var(--r-xs) var(--r-corner) var(--r-xs) var(--r-xs);
    --r-corner: 40px; --r-band: 64px;
  }
  @media (max-width: 639px) { [data-shape="tag"] { --r-corner: 28px; --r-band: 36px; } }
}

/* ==========================================================================
   kit/base.css — reset, the page, type roles, containers, band surfaces.
   Layer: base. Reads only contract tokens (tokens/contract.json).

   Harvested from AAA's stylesheet (the newest build) and rebuilt on the canonical names. One
   change of mechanism: AAA repeated `.band--dark .lead, .bleed .lead, .on-dark .lead …` for every
   text role. Here a dark band adds .on-dark, which re-maps the seven role tokens (tokens layer),
   so a role is written once, as var(--c-muted), and flips by itself.

   Zero ALL-CAPS roles and no letter-spaced small text: generated-look-audit.md's ceiling is 10%
   of text elements and every build that passed shipped at 0%.
   ========================================================================== */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }

  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background-color: var(--c-bg);
    color: var(--c-ink);
    font: var(--fw-regular) var(--t-body) / var(--lh-body) var(--f-body);
    -webkit-font-smoothing: antialiased;
  }

  img, svg { max-width: 100%; }
  img { display: block; height: auto; }

  a { color: var(--c-link); }

  :focus-visible { outline: 3px solid var(--c-link); outline-offset: 2px; }

  /* the two scopes. The token re-map is in the tokens layer; the text colour is here. */
  .on-dark { color: var(--w-90); }
  .on-light { color: var(--c-ink); }

  .skip {
    position: absolute; left: var(--space-8); top: -64px; z-index: 60;
    padding: var(--space-12) var(--space-16);
    background-color: var(--c-dark); color: var(--w-90);
    border-radius: var(--r-control); text-decoration: none;
    transition: top var(--hover-fast) var(--hover-ease);
  }
  .skip:focus { top: var(--space-8); }

  .wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--pad-x); }
  .wrap--text { max-width: var(--content-max-text); }

  /* the header is sticky: an anchor jump has to clear it or the heading lands under the bar */
  .band, .bleed, .hero { scroll-margin-top: calc(var(--hd-h) + var(--space-12)); }

  .band { padding-block: var(--sec-y); }
  /* two white bands in a row: the second one's top padding goes, so the gap is one --sec-y, the same as at a change of
     colour. Without this the two paddings stack into a strip of empty page (288px on desktop). Danny, 2026-09-29. */
  .band:not(.band--alt, .band--alt2, .band--dark, .hero) + .band:not(.band--alt, .band--alt2, .band--dark, .hero) { padding-top: 0; }
  .band--alt { background-color: var(--c-alt); }
  .band--alt2 { background-color: var(--c-alt-2); }
  .band--dark { background-color: var(--c-dark); }

  /* ---- type roles ---------------------------------------------------------------------------- */
  .h1, .h2, .h3, .h4 { font-family: var(--f-display); margin: 0; color: var(--c-ink); }
  .h1 { font-weight: var(--fw-strong); font-size: var(--t-hero); line-height: var(--lh-hero); letter-spacing: var(--tr-hero); }
  .h2 { font-weight: var(--fw-strong); font-size: var(--t-section); line-height: var(--lh-section); letter-spacing: var(--tr-section); }
  .h3 { font-weight: var(--fw-card); font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--tr-card); }
  .h4 { font-weight: var(--fw-card); font-size: var(--t-body); line-height: 1.3; letter-spacing: var(--tr-card); }

  .label {
    margin: 0 0 var(--space-8);
    font-weight: var(--fw-semibold); font-size: var(--t-caption); line-height: var(--lh-caption);
    color: var(--c-label);
  }
  .lead { margin: var(--space-12) 0 0; font-size: var(--t-card); line-height: 1.6; color: var(--c-muted); max-width: 62ch; }
  p { margin: var(--space-16) 0 0; }

  /* the second voice: italic, never a headline (register-guide §4) */
  .voice { font-family: var(--f-voice); font-style: italic; font-weight: var(--fw-regular); color: var(--c-muted); }

  /* a big decorative numeral. 52px, so --c-caption's 3:1 clears the floor for large text */
  .numeral {
    display: block; font-family: var(--f-display); font-weight: var(--fw-strong);
    font-size: var(--t-numeral); line-height: 1; letter-spacing: var(--tr-hero); color: var(--c-caption);
  }

  /* the one way anything unconfirmed is written on a page. Not a chip beside every line: the audit
     counted 31–35 of those per page across v2–v5 and named them the clearest generated tell. */
  .pend { font-family: var(--f-voice); font-style: italic; font-weight: var(--fw-regular); color: var(--c-muted); }

  .head { margin-bottom: var(--space-48); max-width: 68ch; }
  .head--mid { margin-bottom: var(--space-32); }

  /* a text link that is not in running text */
  .tl {
    color: var(--c-link); font-weight: var(--fw-semibold); text-underline-offset: 3px;
    transition: color var(--hover-fast) var(--hover-ease);
  }

  /* ---- layout primitives several bands share ---------------------------------------------------- */

  /* a grid of boxes: one column on a phone, two, then three; four when the list is long */
  .tiles { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; }
  @media (min-width: 640px)  { .tiles { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
  .tiles--dense { gap: var(--space-12); }
  @media (min-width: 1200px) { .tiles--dense { grid-template-columns: repeat(4, 1fr); } }
  .tile { padding: var(--space-32); background-color: var(--c-card); border-radius: var(--r-surface); box-shadow: var(--shadow-subtle); }
  .tiles--dense .tile { padding: var(--space-24); }
  .tile p { color: var(--c-muted); font-size: var(--t-body-sm); max-width: 64ch; }
  .band--alt .tile { box-shadow: var(--shadow-standard); }

  /* two columns that stack on a phone */
  .split { display: grid; gap: var(--space-48); align-items: center; }
  @media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: var(--space-64); }
    .split--flip > :first-child { order: 2; }
  }

  /* the designed empty state for a photograph: a plain card that says what is missing. Never a
     dashed box, and never a stock photograph standing in for the client's own work. */
  .plate {
    display: grid; place-items: center; aspect-ratio: 4 / 3;
    padding: var(--space-16); text-align: center;
    border-radius: var(--r-surface); background-color: var(--c-card); box-shadow: var(--shadow-subtle);
  }

  /* a photograph as the ground words sit on (a hero, and later a band). The photograph fills the box; the scrim is the
     palette's own dark, heaviest at the bottom where the words are anchored, and never lighter than 62% below 1080px,
     because on a phone the words can fill the whole frame. The stops are set by the WORST case, not a typical one: the
     palette with the lightest dark (Winter's #534438) over a pure-white photograph needs 58% at a large headline and
     74% at body text, where a navy needs 44% and 56%. test/browser/scrim.mjs measures exactly that with a full hero.
     A recipe still, not a guarantee: verify.mjs measures every client's words over the rendered pixels. */
  .ground { position: relative; isolation: isolate; overflow: hidden; }
  .ground > picture, .ground > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ground img { width: 100%; height: 100%; object-fit: cover; }
  .ground::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(var(--c-dark-rgb), .94) 0%, rgba(var(--c-dark-rgb), .88) 52%, rgba(var(--c-dark-rgb), .72) 82%, rgba(var(--c-dark-rgb), .62) 100%);
  }
  @media (min-width: 1080px) {
    .ground::after { background: linear-gradient(to top, rgba(var(--c-dark-rgb), .94) 0%, rgba(var(--c-dark-rgb), .8) 40%, rgba(var(--c-dark-rgb), .6) 66%, rgba(var(--c-dark-rgb), .3) 100%); }
  }
  .ground > :not(img):not(picture) { position: relative; z-index: 2; }
  /* a WIDE ground whose words sit at the left (the grid intro): the scrim also darkens from the left, so the words keep
     their contrast however tall they run, and the photograph stays clear on the right. A bottom-only scrim holds only the
     lower half of a short, wide frame, which a three-line headline outgrows. Measured, not assumed: see README 3c. */
  @media (min-width: 900px) {
    .ground--left::after {
      background:
        linear-gradient(to right, rgba(var(--c-dark-rgb), .9) 0%, rgba(var(--c-dark-rgb), .78) 45%, rgba(var(--c-dark-rgb), .64) 66%, rgba(var(--c-dark-rgb), 0) 100%),
        linear-gradient(to top, rgba(var(--c-dark-rgb), .9) 0%, rgba(var(--c-dark-rgb), .55) 30%, rgba(var(--c-dark-rgb), .1) 100%);
    }
  }

  /* a column of titled items, each a heading and a line: a safety commitment, what moves a price */
  .stack { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-24); }
  .stack p { margin-top: var(--space-4); color: var(--c-muted); font-size: var(--t-body-sm); }

  /* a solid block set back behind a framed photograph, so it reads as stepped off the page rather than flat on
     it — the device named in layout-ideas-figma-wix.md §5 ("one repeated device... a solid step offset behind
     each photograph") and again in its field evidence for the asymmetrical pattern ("offset / stepped blocks").
     Used by `zigzag` and `asym`; a plain .frame (bands, split, grid, fullphoto) has none. isolation keeps the
     accent block behind the photograph and nothing else on the page: a wrapper around a .frame, never the frame
     itself, because the frame's own overflow:hidden (for the hover zoom) would clip an offset sitting outside it. */
  .step { position: relative; isolation: isolate; }
  .step::before {
    content: ""; position: absolute; z-index: -1; top: var(--space-16); left: calc(-1 * var(--space-16));
    width: 100%; height: 100%; background-color: var(--c-accent); border-radius: var(--r-surface);
  }
}

/* ==========================================================================
   Shape `tag`, band rhythm (Danny, 2026-09-28). Only under data-shape="tag"; an `even` build never meets it.
   A coloured band carries ONE big corner, top-right (--r-band). When the band before it is coloured too, it rides
   up over that band by the corner's size, so the colour behind shows in the corner instead of the page's white;
   the earlier band's padding grows by the same amount so nothing is covered. The rider must paint ABOVE the band
   it rides over: a positioned element with a higher z-index than its neighbour. (The first version of the preview
   had the stacking backwards and hid the corner.) Beside a white band only the corner shows, white behind it.
   The footer is not a sibling of the last band (it follows <main>), so it is matched through main.
   The hero is left out: its own arrangement sets its padding.
   ========================================================================== */
@layer layout {
  [data-shape="tag"] :is(.band--alt, .band--alt2, .band--dark, .bleed, .foot):not(.hero) { border-top-right-radius: var(--r-band); }

  [data-shape="tag"] :is(.band--alt, .band--alt2, .band--dark, .bleed):not(.hero) + :is(.band--alt, .band--alt2, .band--dark, .bleed):not(.hero) {
    position: relative; z-index: 1; margin-top: calc(-1 * var(--r-band));
  }
  [data-shape="tag"] .band:is(.band--alt, .band--alt2, .band--dark):has(+ :is(.band--alt, .band--alt2, .band--dark, .bleed):not(.hero)),
  [data-shape="tag"] .bleed:has(+ :is(.band--alt, .band--alt2, .band--dark, .bleed):not(.hero)),
  [data-shape="tag"] main > .band:is(.band--alt, .band--alt2, .band--dark):last-child,
  [data-shape="tag"] main > .bleed:last-child {
    padding-bottom: calc(var(--sec-y) + var(--r-band));
  }
  [data-shape="tag"] main:has(> :is(.band--alt, .band--alt2, .band--dark, .bleed):not(.hero):last-child) + .foot {
    position: relative; z-index: 1; margin-top: calc(-1 * var(--r-band));
  }
}

/* ==========================================================================
   kit/mechanics.css — how things arrive and how they answer a pointer.
   Layers: entrance, then components. Standing rule 7; patterns/motion-kit.md.

   THE ORDER OF THE TWO LAYERS IS THE POINT. The settled entrance state
   (`.js [data-in="stagger"].is-in > *`, specificity 0,3,0) used to out-weigh
   `.tile:hover` (0,2,0) and silently kill the hover lift; it passed every lint and only a
   browser showed it (AAA, 2026-09-20). Cascade layers make it impossible: `entrance` is
   declared below `components` in the layer order, so a component's :hover wins whatever its
   specificity. If that order line is ever wrong, verify.mjs reports the dead hover.

   Every hidden state is behind `.js`, which the <head> sets on its first line. With the script
   blocked nothing on the page is ever invisible.
   ========================================================================== */

@layer entrance {
  .js [data-in] { opacity: 0; }
  .js [data-in].is-in { opacity: 1; }

  /* rise: a band, or a block of text */
  .js [data-in="rise"] {
    transform: translateY(16px);
    transition: opacity var(--m-in) var(--m-ease), transform var(--m-in) var(--m-ease);
  }
  .js [data-in="rise"].is-in { transform: none; }

  /* stagger: a row of cards, each a step behind the last */
  .js [data-in="stagger"] { opacity: 1; }
  .js [data-in="stagger"] > * {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--m-in) var(--m-ease), transform var(--m-in) var(--m-ease);
  }
  .js [data-in="stagger"].is-in > * { opacity: 1; transform: none; }
  .js [data-in="stagger"].is-in > :nth-child(2) { transition-delay: calc(var(--m-step) * 1); }
  .js [data-in="stagger"].is-in > :nth-child(3) { transition-delay: calc(var(--m-step) * 2); }
  .js [data-in="stagger"].is-in > :nth-child(4) { transition-delay: calc(var(--m-step) * 3); }
  .js [data-in="stagger"].is-in > :nth-child(5) { transition-delay: calc(var(--m-step) * 4); }
  .js [data-in="stagger"].is-in > :nth-child(6) { transition-delay: calc(var(--m-step) * 5); }
  /* past six they arrive together: a seventh delay is a queue, not a stagger */

  /* unmask: a photograph settling. The FRAME is observed, never the image: an element clipped to
     zero area by its own transform is invisible to an IntersectionObserver (found in v9). */
  .js [data-in="unmask"] { opacity: 1; }
  .js [data-in="unmask"] img { transform: scale(1.06); transition: transform var(--m-unmask) var(--m-ease); }
  .js [data-in="unmask"].is-in img { transform: none; }

  /* draw: a line growing from its left edge */
  .js [data-in="draw"] { opacity: 1; transform: scaleX(0); transform-origin: left center; transition: transform var(--m-draw) var(--m-ease); }
  .js [data-in="draw"].is-in { transform: none; }

  @media (prefers-reduced-motion: reduce) {
    .js [data-in], .js [data-in] > *, .js [data-in] img {
      opacity: 1 !important; transform: none !important; transition: none !important;
    }
  }
}

@layer components {
  /* a photograph in a frame: the photograph zooms, the frame does not */
  .frame { overflow: hidden; border-radius: var(--r-surface); }
  .frame img { width: 100%; transition: transform var(--hover-slow) var(--hover-ease); }
  @media (hover: hover) { .frame:hover img { transform: scale(var(--zoom-img)); } }

  /* a card that IS a link lifts. A card that is not a link does nothing and gets no pointer cursor. */
  .card-link {
    display: block; color: inherit; text-decoration: none; border-radius: var(--r-surface);
    transition: transform var(--hover-move) var(--hover-ease), box-shadow var(--hover-move) var(--hover-ease);
  }
  @media (hover: hover) {
    .card-link:hover { transform: translateY(var(--lift-card)); box-shadow: var(--shadow-emphatic); }
  }

  /* a rail: scrolls by hand always; mechanics.js drifts it, and stops for every reason to stop */
  .rail-wrap { position: relative; }
  .rail {
    display: flex; gap: var(--grid-gap);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-block: var(--space-8);
    scrollbar-width: thin;
  }
  .rail > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
  /* A rail in a band starts in line with the heading and runs out to the band's right edge, which is the
     screen's: a card is cut by the screen, not by an invisible line, and the row reads as "there's more"
     (approved on the demo, tasks/2026-09-27-demo-full-width). 100cqw is the band's width without the
     scrollbar (100vw would include it and scroll sideways). A browser without container units drops these
     and keeps the boxed rail. Cards are sized from the column, so about 3⅓ show on a desktop and 2⅓ on a
     tablet whatever the screen: the last one visible is always cut by the edge, and the row always scrolls
     (at the old min(82%, 320px) four cards fitted side by side on a wide screen and the row stopped).
     No overflow-x: clip on the band: a clip hides the cards past the screen edge from lazy loading, so
     their photographs never load and every tool that waits for images (verify, contrast-audit, shot)
     hangs (found in the dry run: the contrast audit went from 42s to over ten minutes). The rail ends
     exactly at the band's edge, so nothing overflows without it. The band is found by :has(), not by
     name: test/layouts.test.mjs guards that no stylesheet addresses the reviews band by name. */
  .band:has(.rail) { container-type: inline-size; }
  .band .rail {
    --bleed: calc(max(0px, (100cqw - var(--content-max)) / 2) + var(--pad-x));
    margin-right: calc(-1 * var(--bleed));
    padding-right: var(--bleed);
    scroll-padding-inline-end: var(--bleed);
  }
  @media (min-width: 641px) {
    .band .rail > * { flex-basis: calc((min(100cqw, var(--content-max)) - 2 * var(--pad-x) - 2 * var(--grid-gap)) / 2.3); }
  }
  @media (min-width: 1080px) {
    .band .rail > * { flex-basis: calc((min(100cqw, var(--content-max)) - 2 * var(--pad-x) - 2 * var(--grid-gap)) / 3.3); }
  }
  .rail__ctl { display: flex; gap: var(--space-8); margin-top: var(--space-16); }
  /* round arrow buttons: a ghost button that is round, so they lift and answer like every other button */
  .rail__btn {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: var(--r-pill);
    background-color: transparent; color: var(--c-link); box-shadow: inset 0 0 0 2px var(--c-link); cursor: pointer;
    transition: background-color var(--hover-fast) var(--hover-ease), color var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease);
  }
  .rail__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  @media (hover: hover) {
    .rail__btn:hover { background-color: var(--c-link); color: var(--c-bg); transform: translateY(var(--lift-btn)); }
  }

  @media (prefers-reduced-motion: reduce) {
    .btn:hover, .card-link:hover, .node:hover, .rail__btn:hover { transform: none; }
    .frame:hover img { transform: none; }
    .rail { scroll-behavior: auto; }
  }
}

/* ==========================================================================
   Tight joins (opt-in: content.json `joins: "tight"`, which puts data-joins="tight" on <html>).
   Where a band meets a band of another colour, each side keeps a quarter of --sec-y, not all of it, so the empty page between
   content is 72px on desktop and 40px on a phone, not 288 and 160. (A white band after a white band already has one --sec-y:
   base.css.) Under the tag shape a coloured band that meets another coloured band, or the footer, keeps the corner's size on
   top, as it does there. Danny chose one quarter from a four-way mock (a quarter, a half, three quarters, all), 2026-09-29.
   Written after the tag block in base.css, in the same layer, so it wins on equal specificity. The bleed quote band and the hero
   set their own padding and are left alone.
   ========================================================================== */
@layer layout {
  [data-joins="tight"] { --join-f: 0.25; }
  [data-joins="tight"] :is(.band--alt, .band--alt2, .band--dark):not(.hero) { padding-block: calc(var(--sec-y) * var(--join-f)); }
  [data-joins="tight"] .band:not(.band--alt, .band--alt2, .band--dark, .hero):has(+ :is(.band--alt, .band--alt2, .band--dark):not(.hero)) { padding-bottom: calc(var(--sec-y) * var(--join-f)); }
  [data-joins="tight"] :is(.band--alt, .band--alt2, .band--dark):not(.hero) + .band:not(.band--alt, .band--alt2, .band--dark, .hero) { padding-top: calc(var(--sec-y) * var(--join-f)); }
  [data-joins="tight"] .band:is(.band--alt, .band--alt2, .band--dark):has(+ :is(.band--alt, .band--alt2, .band--dark, .bleed):not(.hero)),
  [data-joins="tight"] main > .band:is(.band--alt, .band--alt2, .band--dark):last-child {
    padding-bottom: calc(var(--sec-y) * var(--join-f) + var(--r-band));
  }
}

/* button — filled, ghost and pending. Layer: components.
   Rule 7: a button changes colour AND lifts 1px. The ghost lifts too. On a dark band the role
   tokens re-map (.on-dark), so a ghost turns white without a rule of its own. */
@layer components {
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
    padding: var(--space-12) var(--space-24); min-height: 48px;
    border: 0; border-radius: var(--r-control);
    background-color: var(--c-accent); color: var(--c-on-accent);
    box-shadow: inset 0 0 0 2px var(--c-accent-outline);
    font: var(--fw-semibold) var(--t-body-sm) / 1.2 var(--f-body);
    text-align: center; text-decoration: none; cursor: pointer;
    transition: background-color var(--hover-fast) var(--hover-ease),
                transform var(--hover-fast) var(--hover-ease);
  }
  @media (hover: hover) {
    .btn:hover { background-color: var(--c-accent-hover); transform: translateY(var(--lift-btn)); }
  }
  .btn--block { width: 100%; }

  .btn--ghost {
    background-color: transparent; color: var(--c-link);
    box-shadow: inset 0 0 0 2px var(--c-link);
    transition: background-color var(--hover-fast) var(--hover-ease),
                color var(--hover-fast) var(--hover-ease),
                transform var(--hover-fast) var(--hover-ease);
  }
  @media (hover: hover) {
    .btn--ghost:hover { background-color: var(--c-link); color: var(--c-bg); transform: translateY(var(--lift-btn)); }
  }

  /* light: white, for a dark band or a photograph, where the accent would compete. It changes colour and lifts 1px like the rest. */
  .btn--light { background-color: #FFFFFF; color: var(--c-dark); box-shadow: none; }
  @media (hover: hover) {
    .btn--light:hover { background-color: var(--c-alt); color: var(--c-dark); transform: translateY(var(--lift-btn)); }
  }

  /* a control whose destination the client has not given yet. It is not a link, does not pretend
     to be one, and says what it is waiting for. */
  .btn--pending {
    --_edge: var(--c-border);
    background-color: transparent; color: var(--c-muted);
    box-shadow: inset 0 0 0 2px var(--_edge);
    cursor: not-allowed;
  }
  .btn--pending .pend { font-size: var(--t-caption); }
  .on-dark .btn--pending { --_edge: var(--w-42); }
}

/* header — sticky, wordmark or logo, navigation built from the page's own bands, tap-to-call, the
   one call to action, and a native <details> menu for small screens. Layer: components. */
@layer components {
  .hd {
    position: sticky; top: 0; z-index: 40;
    background-color: var(--c-bg);
    transition: box-shadow var(--hover-fast) var(--hover-ease);
  }
  .hd.is-stuck { box-shadow: var(--shadow-standard); }

  .hd__in {
    display: flex; align-items: center; gap: var(--space-16);
    max-width: none;
    padding: var(--space-12) var(--pad-x);
    min-height: var(--hd-h);
  }
  /* the call to action never wraps: on a phone it sits beside a two-line wordmark and the menu, and a
     button that breaks its label in two looks broken (found by looking at the showcase at 390px) */
  .hd .btn { white-space: nowrap; padding-inline: var(--space-16); min-height: 44px; }
  .hd__logo { display: block; margin-right: auto; text-decoration: none; }
  .hd__logo img { width: 104px; }
  .hd__word {
    font-family: var(--f-display); font-weight: var(--fw-strong); font-size: var(--t-card);
    letter-spacing: var(--tr-card); line-height: 1.1; color: var(--c-ink);
  }

  .hd__nav { display: none; gap: var(--space-24); }
  .hd__nav a {
    color: var(--c-muted); font-weight: var(--fw-medium); font-size: var(--t-body-sm); text-decoration: none;
    transition: color var(--hover-fast) var(--hover-ease);
  }
  @media (hover: hover) { .hd__nav a:hover { color: var(--c-ink); } }

  .hd__call {
    display: none; align-items: center; gap: var(--space-8);
    color: var(--c-ink); font-weight: var(--fw-semibold); font-size: var(--t-body-sm); text-decoration: none;
    transition: color var(--hover-fast) var(--hover-ease);
  }
  .hd__call .pend { font-size: var(--t-caption); }
  @media (hover: hover) { .hd__call:hover { color: var(--c-link); } }

  @media (min-width: 960px) {
    .hd__nav { display: flex; }
    .hd__call { display: inline-flex; }
    .menu { display: none; }
    .hd--menu-only .hd__nav, .hd--menu-only .hd__call { display: none; }
    .hd--menu-only .menu { display: block; }
    /* beside-logo: the links sit next to the name; the phone and the button keep the right */
    .hd--beside .hd__logo { margin-right: var(--space-32); }
    .hd--beside .hd__nav { margin-right: auto; }
  }

  /* the three-line icon: a 44px tap target with nothing drawn round it. The span is the middle line, its ::before and
     ::after the top and bottom (22 x 2.5px, a 7.5px pitch). Open, the middle fades and the outer two cross. */
  .menu > summary {
    list-style: none; cursor: pointer;
    position: relative; display: block; flex: none;
    width: 44px; height: 44px; padding: 0;
    border-radius: var(--r-control);
    color: var(--c-ink);
    transition: color var(--hover-fast) var(--hover-ease);
  }
  .menu > summary::-webkit-details-marker { display: none; }
  @media (hover: hover) { .menu > summary:hover { color: var(--c-link); } }
  .menu__bars, .menu__bars::before, .menu__bars::after {
    display: block; flex: none; width: 22px; height: 2.5px; border-radius: var(--r-xs); background-color: currentColor;
    transition: transform var(--hover-fast) var(--hover-ease), opacity var(--hover-fast) var(--hover-ease);
  }
  .menu__bars { position: absolute; left: 11px; top: calc(50% - 1.25px); }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -7.5px; }
  .menu__bars::after { top: 7.5px; }
  .menu[open] > summary .menu__bars { background-color: transparent; }
  .menu[open] > summary .menu__bars::before { transform: translateY(7.5px) rotate(45deg); }
  .menu[open] > summary .menu__bars::after { transform: translateY(-7.5px) rotate(-45deg); }
  @media (prefers-reduced-motion: reduce) {
    .menu__bars, .menu__bars::before, .menu__bars::after { transition: none; }
  }
  .menu__panel {
    position: absolute; left: 0; right: 0;
    display: grid; gap: var(--space-4);
    padding: var(--space-16) var(--pad-x) var(--space-24);
    background-color: var(--c-bg);
    box-shadow: var(--shadow-standard);
  }
  .menu__panel a {
    padding: var(--space-12) 0; color: var(--c-ink);
    font-weight: var(--fw-medium); text-decoration: none;
    transition: color var(--hover-fast) var(--hover-ease);
  }
  @media (hover: hover) { .menu__panel a:hover { color: var(--c-link); } }

  /* ---- variant bar: twotier ------------------------------------------------------------------------------
     A thin strip on the dark above the bar. The strip scrolls away and the bar stays: the header is sticky with a
     top edge one strip height ABOVE the screen, so once the strip has gone by the bar meets the top. (A sticky child
     inside a header could not do this: it sticks only within its parent.) The bar carries the background, so the
     header itself is clear, and the strip's height is fixed so the two agree. */
  .hd--two { --strip-h: 40px; top: calc(-1 * var(--strip-h)); background-color: transparent; }
  .hd--two.is-stuck { box-shadow: none; }
  .hd--two .hd__in { background-color: var(--c-bg); }
  .hd--two.is-stuck .hd__in { box-shadow: var(--shadow-standard); }
  .hd__strip { height: var(--strip-h); overflow: hidden; background-color: var(--c-dark); color: var(--w-90); font-size: var(--t-body-sm); }
  .hd__strip-in { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-24); height: 100%; padding-inline: var(--pad-x); }
  .hd__strap { margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hd__strip a, .hd__strip .hd__tel {
    display: inline-flex; align-items: center; gap: var(--space-8); white-space: nowrap;
    color: var(--w-90); text-decoration: none;
    transition: color var(--hover-fast) var(--hover-ease);
  }
  .hd__strip svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
  @media (hover: hover) { .hd__strip a:hover { color: #FFFFFF; } }
  @media (max-width: 639px) {
    .hd__strap, .hd__strip .hd__mail { display: none; }
    .hd__strip-in { justify-content: space-between; }
  }
  /* the links grow an underline from the left: colour and background-size only */
  .hd--two .hd__nav a {
    padding-block: var(--space-4);
    background: linear-gradient(var(--c-accent), var(--c-accent)) 0 100% / 0 2px no-repeat;
    transition: background-size var(--hover-fast) var(--hover-ease), color var(--hover-fast) var(--hover-ease);
  }
  @media (hover: hover) { .hd--two .hd__nav a:hover { background-size: 100% 2px; } }
  /* the small-screen menu until 1080, not 960: six links and a button need the room */
  @media (min-width: 960px) and (max-width: 1079px) {
    .hd--two .hd__nav { display: none; }
    .hd--two .menu { display: block; }
  }
  /* shape tag: the bar carries the one big corner, and the hero slides up under it so the photograph shows in the corner */
  [data-shape="tag"] .hd--two .hd__in { border-bottom-right-radius: var(--r-corner); box-shadow: var(--shadow-standard); }
  [data-shape="tag"] .hd--two + main > .hero:first-child { margin-top: calc(-1 * var(--r-corner)); }
}

/* hero — what a hero is made of: the words, the action row and the photograph's look. Where they sit (the
   columns, the gaps, the height) is the layout's, in the layout layer. Layer: components. */
@layer components {
  .hero__words { max-width: var(--content-max-text); }
  .hero__sub { margin-top: var(--space-16); max-width: 46ch; }
  .hero__said { margin-top: var(--space-16); max-width: 46ch; color: var(--c-muted); font-size: var(--t-body); }
  .hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12); margin-top: var(--space-32); }

  .hero__ph { margin: 0; }
  .hero__ph img { width: 100%; height: 100%; object-fit: cover; }

  /* ---- variant words: low ----------------------------------------------------------------------------------
     The words sit low-left over the photograph's left half (the scrim is the kit's .ground plus .ground--left, set by
     the render). The hero gets more air above them, and below: room for the slideshow's controls and the straddle
     panel, which the words must clear by at least 24px. */
  .hero--low .hero__in { padding-top: var(--space-144); }
  .hero--panel .hero__in, .hero--slides .hero__in {
    padding-bottom: max(calc(var(--panel-overlap, 0px) + var(--space-48)), calc(var(--ctl-b) + 44px + var(--space-24)));
  }
  /* with a panel to hang below it, the hero is a little shorter than the screen, so the panel and its buttons are on the
     first screen rather than half below the fold */
  .hero--panel { min-height: min(calc(100dvh - var(--hd-h) - var(--space-144)), 820px); }
  /* on a phone the panel is full width, so the slideshow's controls lift above it; from 900 it is at the right */
  @media (max-width: 899px) { .hero.hero--panel { --ctl-b: calc(var(--panel-overlap) + var(--space-24)); } }

  /* ---- variant panel: straddle ------------------------------------------------------------------------------ */
  .hero--panel, .hero__straddle { --panel-overlap: 64px; }
  @media (min-width: 900px) { .hero--panel, .hero__straddle { --panel-overlap: 84px; } }
  .hero__straddle { position: relative; z-index: 5; margin-top: calc(-1 * var(--panel-overlap)); pointer-events: none; }
  .hero__straddle .wrap { display: flex; justify-content: flex-end; }
  .hero__panel {
    pointer-events: auto; width: 100%;
    display: grid; align-items: center; gap: var(--space-16) var(--space-24);
    padding: var(--space-24);
    background-color: var(--c-bg); color: var(--c-ink);
    border-radius: var(--r-surface); box-shadow: var(--shadow-deep);
  }
  .hero__panel .btn { width: 100%; }
  .hero__panel-k { grid-column: 1 / -1; margin: 0; font-size: var(--t-body-sm); font-weight: var(--fw-semibold); color: var(--c-muted); }
  .hero__call {
    display: flex; align-items: center; gap: var(--space-12);
    color: var(--c-ink); text-decoration: none;
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card); line-height: 1.1;
  }
  .hero__call small { display: block; margin-bottom: var(--space-4); font-family: var(--f-body); font-weight: var(--fw-medium); font-size: var(--t-caption); color: var(--c-muted); }
  .hero__node {
    display: grid; place-items: center; flex: none; width: 48px; height: 48px;
    border-radius: var(--r-pill); background-color: var(--c-accent); color: var(--c-on-accent);
    box-shadow: inset 0 0 0 2px var(--c-accent-outline);
    transition: background-color var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease);
  }
  .hero__node svg { width: 22px; height: 22px; fill: currentColor; }
  @media (hover: hover) { .hero__call:hover .hero__node { background-color: var(--c-accent-hover); transform: translateY(var(--lift-sm)); } }
  @media (min-width: 900px) {
    .hero__panel { width: auto; max-width: 640px; grid-template-columns: auto auto; padding: var(--space-24) var(--space-32); }
    .hero__panel .btn { width: auto; }
  }
  @media (prefers-reduced-motion: reduce) { .hero__call:hover .hero__node { transform: none; } }
}

/* footer — dark, three columns, links, small print. Layer: components.
   It carries .on-dark, so every role token flips without a rule of its own. */
@layer components {
  .foot { background-color: var(--c-dark); padding-block: var(--space-64) var(--space-32); }
  .foot__top { display: grid; gap: var(--space-48); }
  @media (min-width: 900px) { .foot__top { grid-template-columns: 1.2fr 1fr 1fr; } }

  .foot__word {
    font-family: var(--f-display); font-weight: var(--fw-strong); font-size: var(--t-card);
    letter-spacing: var(--tr-card); line-height: 1.1; color: var(--c-ink);
  }
  .foot__h { margin: 0 0 var(--space-12); font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-body); color: var(--c-ink); }
  .foot p { color: var(--c-muted); font-size: var(--t-body-sm); }
  .foot a { color: var(--c-link); }
  .foot .btn { margin-top: var(--space-16); }

  .foot__links { display: flex; flex-wrap: wrap; gap: var(--space-24); margin-top: var(--space-48); }
  .foot__links a {
    color: var(--w-60); font-size: var(--t-body-sm); text-decoration: none;
    transition: color var(--hover-fast) var(--hover-ease);
  }
  @media (hover: hover) { .foot__links a:hover { color: var(--w-90); } }
  .foot__small { margin-top: var(--space-24); color: var(--w-60); font-size: var(--t-caption); }

  /* ---- style statement: a large wordmark beside a line, four columns, then the way back up ------------------------- */
  .foot--statement { padding-block: var(--space-96) var(--space-24); }
  .foot__hd { display: grid; gap: var(--space-24); padding-bottom: var(--space-48); border-bottom: 1px solid var(--w-12); }
  @media (min-width: 900px) { .foot__hd { grid-template-columns: 5fr 7fr; gap: var(--space-48); } }
  .foot p.foot__wordmark {
    margin: 0; font-family: var(--f-display); font-weight: var(--fw-strong); letter-spacing: var(--tr-hero); line-height: .95; color: var(--c-ink);
    font-size: clamp(44px, 6vw, 84px);
  }
  .foot__wordmark span { display: block; }
  .foot p.foot__line { margin: 0; align-self: end; max-width: 28ch; font-family: var(--f-display); font-weight: var(--fw-regular); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--c-ink); }
  .foot__cols { display: grid; gap: var(--space-32); grid-template-columns: 1fr 1fr; padding-block: var(--space-48); }
  @media (min-width: 900px) { .foot__cols { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 479px) { .foot__cols { grid-template-columns: 1fr; } }
  .foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); font-size: var(--t-body-sm); color: var(--c-muted); }
  .foot__list li { overflow-wrap: anywhere; }
  .foot .chip {
    display: inline-flex; align-items: center; gap: var(--space-8); padding: var(--space-12) var(--space-16) var(--space-12) var(--space-12);
    border-radius: var(--r-control); background-color: var(--w-12); color: #FFFFFF; font-weight: var(--fw-semibold); text-decoration: none;
    transition: background-color var(--hover-fast) var(--hover-ease);
  }
  .foot .chip svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
  /* a tag-shaped chip answers a pointer with its fill only (hover-effects: a tag pill does not move) */
  @media (hover: hover) { .foot .chip:hover { background-color: var(--w-42); } }
  .foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-24); padding-top: var(--space-24); border-top: 1px solid var(--w-12); }
  /* "Back to top" is a text link, like the footer's other links: a colour change, no lift (a button is for the page's actions; this
     one only moves you up). Danny, 2026-09-29, library-wide. */
  .foot a.foot__top { display: inline-flex; align-items: center; min-height: 44px; color: var(--w-60); font-size: var(--t-body-sm); text-decoration: none; transition: color var(--hover-fast) var(--hover-ease); }
  @media (hover: hover) { .foot a.foot__top:hover { color: var(--w-90); } }
  .foot__base .foot__small { margin: 0; max-width: 70ch; }
  @media (min-width: 900px) { .foot__base .foot__small { margin-left: auto; } }

  /* ---- style three: Talk to us · Hours · the mark with Find us (Coventry Scaffolding's footer, as an arrangement only) ---- */
  .foot--three { padding-block: var(--space-64) var(--space-24); }
  .foot--three .foot__cols { padding-top: 0; }
  @media (min-width: 900px) { .foot--three .foot__cols { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 899px) { .foot--three .foot__cols { grid-template-columns: 1fr; } }
  .foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-12); font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
  .foot__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; overflow-wrap: anywhere; }
  .foot__contact svg { width: 18px; height: 18px; margin-top: 3px; fill: rgba(255, 255, 255, .7); }
  .foot__contact li.foot__contact-name { display: block; font-weight: var(--fw-semibold); color: #FFFFFF; }
  /* a plain line of text is a link by its weight and its white, and an underline once a pointer is on it */
  .foot .foot__contact a { color: #FFFFFF; font-weight: var(--fw-semibold); text-decoration: none; }
  @media (hover: hover) { .foot .foot__contact a:hover { text-decoration: underline; text-underline-offset: 3px; } }
  .foot__contact .pend { color: rgba(255, 255, 255, .7); }
  /* the mark at a normal size (the client's own mark comes from client.css, drawn before the name) */
  .foot p.foot__mark { margin: 0 0 var(--space-24); font-family: var(--f-display); font-weight: var(--fw-semibold); font-size: 24px; line-height: 1.1; color: #FFFFFF; }
  .foot__brand .socials__h { margin-top: 0; }
}

/* layouts/fullphoto — the hero fills the screen. Layer: layout, which is below the components, so this places and
   sizes things and never restyles them. The words-over-a-photograph structure and the scrim are the hero
   component's and the kit's (.ground); this only sets how tall the frame is. Scoped by data-layout so every
   layout's CSS can sit on one page (the showcase) without meeting another's. */
@layer layout {
  [data-layout="fullphoto"] {
    --full-hero-min-h: calc(100dvh - var(--hd-h));
  }

  /* the words sit at the bottom, where the scrim is heaviest, on a photograph filling the screen below the header.
     With no photograph the hero is a dark, text-led band as tall as its words (the same fallback grid's intro gives). */
  [data-layout="fullphoto"] .hero--intro { display: flex; flex-direction: column; justify-content: flex-end; min-height: var(--full-hero-min-h); }
  [data-layout="fullphoto"] .hero--intro .hero__in { width: 100%; padding-block: var(--space-48); }
  [data-layout="fullphoto"] .hero--intro.band--dark { justify-content: center; min-height: 0; }
  [data-layout="fullphoto"] .hero--intro.band--dark .hero__in { padding-block: var(--sec-y); }
}

/* sample-marker — the page's ONE prototype notice. Layer: components.
   Not a chip beside every unconfirmed line: generated-look-audit.md counted 31-35 of those per
   page across v2-v5 against a field median of 1, and named them the clearest generated tell. */
@layer components {
  .notice {
    margin: 0; padding: var(--space-12) var(--pad-x);
    background-color: var(--c-bar); color: var(--w-90);
    font-size: var(--t-body-sm); text-align: center;
  }
  .notice a { color: #FFFFFF; }
}

/* social — round nodes, one per network (output-calibration §1). Layer: components.
   Never a rectangle with the network's name in it. On a dark band they read as holes punched in
   it, and the contrast works without touching the palette. */
@layer components {
  .socials__h {
    margin: 0 0 var(--space-12);
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-body); color: var(--c-ink);
  }
  .socials__row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-12); }

  .node {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 0; border-radius: var(--r-pill);
    background-color: var(--c-accent); color: var(--c-on-accent);
    box-shadow: inset 0 0 0 2px var(--c-accent-outline);
    cursor: pointer;
    transition: background-color var(--hover-fast) var(--hover-ease),
                transform var(--hover-fast) var(--hover-ease);
  }
  .node svg { width: 20px; height: 20px; display: block; fill: currentColor; }
  @media (hover: hover) {
    .node:hover { background-color: var(--c-accent-hover); transform: translateY(var(--lift-sm)); }
  }

  .on-dark .node { background-color: var(--w-12); color: #FFFFFF; box-shadow: none; }
  @media (hover: hover) {
    .on-dark .node:hover { background-color: var(--w-42); transform: translateY(var(--lift-sm)); }
  }

  /* no address confirmed: drawn, not linked, and it says what it waits for */
  .node--pending { background-color: transparent; box-shadow: inset 0 0 0 2px var(--c-border); color: var(--c-muted); cursor: not-allowed; }
  .on-dark .node--pending { background-color: transparent; box-shadow: inset 0 0 0 2px var(--w-42); color: var(--w-90); }
  @media (hover: hover) {
    .node--pending:hover, .on-dark .node--pending:hover { background-color: transparent; transform: none; }
  }
  .socials__note { margin-top: var(--space-12); font-size: var(--t-caption); color: var(--c-muted); }
}

/* about — the photograph and the sign-off. The split is the kit's. Layer: components. */
@layer components {
  .about__ph img { height: 100%; object-fit: cover; }
  .about__ph.frame { aspect-ratio: 4 / 5; }
  .about__claim {
    margin-top: var(--space-24);
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card);
    letter-spacing: var(--tr-card); color: var(--c-ink);
  }
  .about__by { margin-top: var(--space-24); }
  .about__solo { max-width: var(--content-max-text); margin-inline: auto; }

  /* style letter: a label at the left, the owner's words set very large, and a sign-off. The heading is there for a screen
     reader and the navigation, and is not drawn. */
  .about__sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .letter { display: grid; gap: var(--space-16); }
  @media (min-width: 800px) { .letter { grid-template-columns: 1fr 3fr; gap: var(--space-48); } }
  .letter__k { margin: 0; }
  .letter__big {
    margin: 0; font-family: var(--f-display); font-weight: var(--fw-regular);
    font-size: clamp(24px, 2.7vw, 36px); line-height: 1.35; letter-spacing: var(--tr-card); color: var(--c-ink);
  }
  .letter__big + .letter__big { margin-top: var(--space-24); }
  .letter__big em { font-style: normal; color: var(--c-label); }
  .letter .about__claim { margin-top: var(--space-24); }
  .letter__sign { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-24); margin-top: var(--space-32); }
  .letter__by { font-size: var(--t-body-sm); color: var(--c-muted); }
  .letter__by b { display: block; font-size: var(--t-body); font-weight: var(--fw-semibold); color: var(--c-ink); }

  /* From 900 up the photograph runs to the screen's edge on its own side (left, or right when flipped) and
     the words stay in the column (approved on the demo, tasks/2026-09-27-demo-full-width). Square on the
     screen side, soft on the inside: output-calibration §3, "a photograph that runs to the viewport edge is
     not a frame". Its height follows the words (at least 560px), not 4:5, which on a wide screen would make
     it taller than the screen. The photograph is laid over the box (absolute) so that its own shape can't
     push the row taller: in flow, a 4:3 photograph 900px wide made the band 925px high at 1920. Phones
     keep the framed 4:5. The same for the designed plate. */
  [data-band="about"] { container-type: inline-size; }   /* no overflow clip: see the rail in kit/mechanics.css */
  @media (min-width: 900px) {
    [data-band="about"] .split > .about__ph {
      --bleed: calc(max(0px, (100cqw - var(--content-max)) / 2) + var(--pad-x));
      margin-left: calc(-1 * var(--bleed));
      aspect-ratio: auto; min-height: 560px; align-self: stretch;
      border-radius: 0 var(--r-surface) var(--r-surface) 0;
    }
    [data-band="about"] .split--flip > .about__ph {
      margin-left: 0; margin-right: calc(-1 * var(--bleed));
      border-radius: var(--r-surface) 0 0 var(--r-surface);
    }
    /* shape tag: --r-surface is four values, so it cannot be combined with zeros. The screen side stays square;
       the inside keeps the one big corner top-right (a photograph on the right has its top-right on the screen) */
    [data-shape="tag"] [data-band="about"] .split > .about__ph { border-radius: 0 var(--r-corner) var(--r-xs) 0; }
    [data-shape="tag"] [data-band="about"] .split--flip > .about__ph { border-radius: var(--r-xs) 0 0 var(--r-xs); }
    [data-band="about"] .split > .about__ph.frame { position: relative; }
    [data-band="about"] .split > .about__ph.frame > img,
    [data-band="about"] .split > .about__ph.frame > picture { position: absolute; inset: 0; width: 100%; height: 100%; }
    [data-band="about"] .split > .about__ph.frame picture img { width: 100%; height: 100%; object-fit: cover; }
  }
}

/* services — the plain-list layout. The tiles are the kit's (.tiles, .tile). Layer: components. */
@layer components {
  .svclist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-24) var(--space-48); }
  @media (min-width: 720px) { .svclist { grid-template-columns: repeat(2, 1fr); } }
  .svclist p { margin-top: var(--space-4); color: var(--c-muted); font-size: var(--t-body-sm); }

  /* layout cards: three across, two from 960 down, one under 560. The card is a link, so it lifts and its photograph zooms
     inside the frame (the card's hover, not the frame's). */
  .svcards { display: grid; gap: var(--space-32) var(--space-24); grid-template-columns: 1fr; }
  @media (min-width: 560px) { .svcards { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 960px) { .svcards { grid-template-columns: repeat(3, 1fr); } }
  .svcard { display: flex; flex-direction: column; gap: var(--space-12); height: 100%; padding: var(--space-16); background-color: var(--c-card); box-shadow: var(--shadow-subtle); }
  .band--alt .svcard { box-shadow: var(--shadow-standard); }
  .svcard__ph { aspect-ratio: 4 / 3; }
  .svcard__ph img { height: 100%; object-fit: cover; }
  .svcard p { margin: 0; color: var(--c-muted); font-size: var(--t-body-sm); }
  .svcard__go { display: inline-flex; align-items: center; gap: var(--space-8); margin-top: auto; padding-top: var(--space-4); font-weight: var(--fw-semibold); font-size: var(--t-body-sm); color: var(--c-link); transition: color var(--hover-fast) var(--hover-ease); }
  .svcard__go svg { width: 18px; height: 18px; fill: currentColor; }
  @media (hover: hover) { .svcard:hover .frame img { transform: scale(var(--zoom-img)); } }
  @media (prefers-reduced-motion: reduce) { .svcard:hover .frame img { transform: none; } }

  /* the section's own button, after the lead and before the list, at every width */
  .svcta { margin-block: var(--space-24) var(--space-32); }

  /* the card's photograph sits inside the card's own corner, so on the tag shape it takes the small one and does not carry a second
     oversized corner inside the first (Danny, 2026-09-29, library-wide) */
  [data-shape="tag"] .svcard .frame { border-radius: var(--r-xs); }

  /* variant phone accordion: below 560px the cards give way to a list of rows that open in place (native <details name>, so opening
     one closes the others; no script). The list is hidden everywhere else, and the cards are hidden only where the list shows. */
  .svacc-list { display: none; }
  @media (max-width: 559px) {
    .svc--acc .svcards { display: none; }
    .svc--acc .svacc-list { display: grid; gap: 10px; }
  }
  .svacc { background-color: var(--c-card); box-shadow: var(--shadow-subtle); border-radius: var(--r-surface); }
  .band--alt .svacc { box-shadow: var(--shadow-standard); }
  .svacc > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 24px; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; }
  .svacc > summary::-webkit-details-marker { display: none; }
  .svacc__th { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-xs); overflow: hidden; }
  .svacc__th img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .svacc__n { margin: 0; font-family: var(--f-display); font-size: 18px; line-height: 1.25; color: var(--c-ink); transition: color var(--hover-fast) var(--hover-ease); }
  .svacc__chev { width: 24px; height: 24px; fill: var(--c-accent); transition: transform 200ms ease-out; }
  .svacc[open] .svacc__chev { transform: rotate(180deg); }
  /* open: the thumbnail goes and its column with it, so the name sits at the body's own left edge (not the off-centre gap a hidden thumbnail left) */
  .svacc[open] > summary, .svacc--bare > summary { grid-template-columns: 1fr 24px; padding-left: 14px; }
  .svacc[open] .svacc__th { display: none; }
  .svacc__body { padding: 0 14px 16px; display: grid; gap: 12px; }
  .svacc__body .frame { aspect-ratio: 4 / 3; }
  .svacc__body .frame img { height: 100%; object-fit: cover; }
  .svacc__body p { margin: 0; color: var(--c-muted); font-size: var(--t-body-sm); }
  .svacc__body .btn { justify-self: start; }
  @media (hover: hover) { .svacc > summary:hover .svacc__n { color: var(--c-link); } }
  @media (prefers-reduced-motion: reduce) { .svacc__chev { transition: none; } }

  /* two kinds of customer: a panel for each. The switch above them is the route-switch component's. */
  .route-panels { margin-top: var(--space-48); display: grid; gap: var(--space-64); }
  .route-panel { display: grid; gap: var(--space-32); }
  /* a class that sets display beats the browser's [hidden]: the route that is not chosen would stay on the page */
  .route-panel[hidden] { display: none; }
  .route-panel__head p { margin-top: var(--space-12); color: var(--c-muted); max-width: 30ch; }
  /* a list separated by space, not by rules: the generated-look audit named ruled cells as a tell */
  .jobs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-12); }
  .jobs-list li { font-size: var(--t-body); }
  .jobs-list li::before { content: ""; display: inline-block; vertical-align: .32em; width: 14px; height: 4px; margin-right: var(--space-12); background-color: var(--c-primary); }
  @media (min-width: 900px) {
    .route-panel { grid-template-columns: 4fr 8fr; gap: var(--space-64); }
    .jobs-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-16) var(--space-32); }
  }
}

/* promise — the response line, and the row layout. The tiles are the kit's (.tiles, .tile, .card-link). Layer: components. */
@layer components {
  .promise__response {
    margin: 0 0 var(--space-32); max-width: var(--content-max-text);
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--tr-card);
  }

  .pledges { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-32); }
  @media (min-width: 720px) { .pledges { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
  .pledge { padding-top: var(--space-16); border-top: 2px solid var(--c-border); }
  .pledge p { margin-top: var(--space-8); color: var(--c-muted); font-size: var(--t-body-sm); }

  /* ---- layout steps: a panel in the accent, numbered steps on a line that draws in, and beside it the before and after --------
     The panel re-maps the role tokens to its own text colour, so every heading, lead and link inside reads as the accent's
     text without a rule of its own. Below 960px the photograph sits above the panel at 4:3; from 960 it fills the panel's
     height, flush against it. */
  .pstep { display: grid; }
  .pstep__panel {
    --c-ink: var(--c-on-accent); --c-muted: var(--c-on-accent); --c-label: var(--c-on-accent); --c-link: var(--c-on-accent);
    padding: var(--space-32); background-color: var(--c-accent); color: var(--c-on-accent);
    border-radius: var(--r-surface);
  }
  @media (min-width: 720px) { .pstep__panel { padding: var(--space-48); } }
  @media (min-width: 1080px) { .pstep__panel { padding: var(--space-64); } }
  .pstep__panel .head { max-width: none; }
  .pstep__panel .promise__response { color: var(--c-on-accent); }
  .pstep__go { margin-top: var(--space-48); }

  .pstep__media { margin-bottom: var(--space-24); }
  /* (the rules that fit the gallery's before and after into this panel live with it, in dual-image.css: they ship only when it is drawn) */
  .pstep__ph { margin-bottom: var(--space-24); aspect-ratio: 4 / 3; }
  .pstep__ph img { height: 100%; object-fit: cover; }

  .pstep__list { position: relative; margin-top: var(--space-48); }
  .pstep__line { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background-color: color-mix(in srgb, currentColor 35%, transparent); }
  .pstep__steps { --cols: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--space-32) var(--space-24); position: relative; }
  .pstep__n {
    position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-16);
    border-radius: var(--r-pill); background-color: var(--c-on-accent); color: var(--c-accent);
    font-family: var(--f-display); font-weight: var(--fw-strong); font-size: var(--t-body); line-height: 1;
  }
  .pstep__t { margin: 0; font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--tr-card); }
  .pstep__steps p { margin: var(--space-4) 0 0; font-size: var(--t-body-sm); }
  @media (max-width: 639px) {
    .pstep__steps { grid-template-columns: 1fr 1fr; }
    .pstep__line { display: none; }
  }

  @media (min-width: 960px) {
    .pstep--media { grid-template-columns: 5fr 7fr; align-items: stretch; }
    .pstep--media .pstep__media, .pstep--media .pstep__ph { margin-bottom: 0; }
    .pstep--media .pstep__ph { aspect-ratio: auto; border-radius: var(--r-md) 0 0 var(--r-md); }
    .pstep--media .pstep__panel { border-radius: 0 var(--r-md) var(--r-md) 0; }
  }
  /* shape tag: the panel carries the one big corner (with the photograph beside it, on its outer side) */
  [data-shape="tag"] .pstep__panel { border-radius: var(--r-xs) var(--r-band) var(--r-xs) var(--r-xs); }
  @media (min-width: 960px) {
    [data-shape="tag"] .pstep--media .pstep__ph { border-radius: var(--r-xs) 0 0 var(--r-xs); }
    [data-shape="tag"] .pstep--media .pstep__panel { border-radius: 0 var(--r-band) var(--r-xs) 0; }
  }
  @media (max-width: 959px) {
    [data-shape="tag"] .pstep--media .pstep__panel { border-radius: 0 0 var(--r-xs) var(--r-xs); }
  }
}

/* gallery — named jobs. The frame, the rail and the tiles are the kit's; this is the caption and the rows.
   Layer: components. */
@layer components {
  .gallery__card { margin: 0; scroll-snap-align: start; }
  .gallery__ph { aspect-ratio: 4 / 3; }
  .gallery__ph img { height: 100%; object-fit: cover; }
  .gallery__cap { padding-top: var(--space-12); }
  .gallery__meta { margin-top: var(--space-4); font-size: var(--t-caption); color: var(--c-muted); }
  .gallery__rows { display: grid; gap: var(--space-64); }
  .gallery__row { margin: 0; }
  /* layout feature: a lead job (seven parts) and two beside it (five), on the dark band. The words sit over the photograph, at
     its foot, on a gradient that is the palette's own dark. */
  .gallery__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-24); margin-bottom: var(--space-48); }
  .gallery__top .head { margin-bottom: 0; }
  .gallery__go { margin-top: var(--space-48); }
  .jobs-feature { display: grid; gap: var(--space-24); }
  .jobs-feature__side { display: grid; gap: var(--space-24); }
  @media (min-width: 900px) { .jobs-feature { grid-template-columns: 7fr 5fr; } }
  .job { position: relative; margin: 0; color: #FFFFFF; transition: transform var(--hover-move) var(--hover-ease); }
  .job__ph { height: 100%; min-height: 260px; aspect-ratio: auto; }
  .job--lead .job__ph { min-height: 380px; }
  @media (min-width: 900px) { .job--lead .job__ph { min-height: 560px; } }
  .job__ph img { height: 100%; min-height: inherit; object-fit: cover; }
  .job__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-64) var(--space-24) var(--space-24);
    background: linear-gradient(to top, rgba(var(--c-dark-rgb), .94) 0%, rgba(var(--c-dark-rgb), .8) 55%, rgba(var(--c-dark-rgb), 0) 100%);
    border-radius: 0 0 var(--r-xs) var(--r-xs); pointer-events: none;
  }
  .job__loc {
    display: inline-flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-12); padding: var(--space-8) var(--space-12) var(--space-8) var(--space-8);
    border-radius: var(--r-control); background-color: #FFFFFF; color: var(--c-dark); font-size: var(--t-caption); font-weight: var(--fw-semibold); line-height: 1;
  }
  .job__loc svg { width: 14px; height: 14px; fill: currentColor; }
  .job__loc .pend { color: var(--c-dark); }
  .job__what { margin: 0; max-width: 24ch; font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--tr-card); }
  .job--lead .job__what { font-size: var(--t-sm-heading); }
  @media (hover: hover) {
    .job:hover { transform: translateY(var(--lift-card)); }
    .job:hover .frame img { transform: scale(var(--zoom-img)); }
  }
  @media (prefers-reduced-motion: reduce) { .job:hover, .job:hover .frame img { transform: none; } }

  /* a job shown as a before and an after, or in stages, above the list of jobs */
  .gallery__feature + .gallery__feature, .gallery__feature + .rail-wrap, .gallery__feature + .gallery__grid, .gallery__feature + .gallery__rows { margin-top: var(--space-64); }
}

/* reviews — a customer's words on a card. The tiles and the rail are the kit's. Layer: components. */
@layer components {
  .say { margin: 0; padding: var(--space-32); background-color: var(--c-card); border-radius: var(--r-surface); box-shadow: var(--shadow-subtle); }
  .band--alt .say { box-shadow: var(--shadow-standard); }
  /* the big opening quote mark is decoration: 52px, so --c-caption's 3:1 clears the floor for large text */
  .say__q { display: block; font-family: var(--f-display); font-weight: var(--fw-strong); font-size: var(--t-numeral); line-height: .8; color: var(--c-caption); }
  .say__stars { display: block; margin-top: var(--space-8); font-size: var(--t-card); line-height: 1; color: var(--c-label); }
  .say blockquote { margin: var(--space-16) 0 0; font-size: var(--t-card); line-height: 1.55; }
  .say blockquote p { margin: 0; }
  .say__who { margin-top: var(--space-16); font-size: var(--t-body-sm); color: var(--c-muted); }

  /* a review that names its job: the job in a tag above the quote (the highlight, tinted, in the shape a button has), the quote in
     the display face, and the name at the foot in the link colour */
  .say__job {
    display: inline-block; padding: var(--space-8) var(--space-16) var(--space-8) var(--space-12);
    border-radius: var(--r-control); background-color: color-mix(in srgb, var(--c-highlight) 26%, var(--c-card));
    color: var(--c-ink); font-size: var(--t-caption); font-weight: var(--fw-semibold); line-height: 1;
  }
  .say--job { display: flex; flex-direction: column; }
  .say--job .say__job { align-self: flex-start; }
  .say--job blockquote { font-family: var(--f-display); font-weight: var(--fw-regular); }
  .say--job .say__who { margin-top: auto; padding-top: var(--space-16); color: var(--c-link); font-weight: var(--fw-semibold); }
  .say--job .say__stars { margin-top: var(--space-12); }

  .say-list { display: grid; gap: var(--space-24); max-width: var(--content-max-text); }
  .say--large { padding: var(--space-48); }

  .say__src, .say__rating { margin-top: var(--space-24); font-size: var(--t-body-sm); color: var(--c-muted); }
  .say__rating { margin-top: 0; margin-bottom: var(--space-24); font-weight: var(--fw-semibold); color: var(--c-ink); }

  /* ground: photo. A photograph behind the whole band, moving slower than the page (parallax.js), under a shade of the dark. The heading
     turns white through on-dark on the head alone; the cards stay white with dark text. overflow: hidden clips the photograph to the
     band's own corner (shape tag). --c-dark is the colour until the photograph loads. */
  .rv--ground { position: relative; overflow: hidden; isolation: isolate; background-color: var(--c-dark); }
  /* the rating and the source line sit on the band, not in a card: they turn white with the head */
  .rv--ground .say__rating { color: #FFFFFF; }
  .rv--ground .say__src { color: var(--w-90); }
  .rv--ground .say__src .tl { color: #FFFFFF; }
  .rv-ground { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
  .rv-ground::after { content: ""; position: absolute; inset: 0; background: rgba(var(--c-dark-rgb), .78); }
  /* the photograph is taller than the band by the distance it has to travel (--extra) and shifted by --y, both set by parallax.js;
     without them (reduced motion, no script) both are 0 and it sits still, filling the band */
  .rv-ground img {
    position: absolute; left: 0; width: 100%; max-width: none; object-fit: cover;
    top: calc(-1 * var(--extra, 0px) / 2); height: calc(100% + var(--extra, 0px));
    transform: translateY(var(--y, 0px)); will-change: transform;
  }
}

/* field — text, phone, email, message, select and file. Layer: components.
   A control's edge is --c-field-edge, a swatch that reaches 3:1 (placement), NOT --c-border,
   which is decorative and often 1.3:1. That swap is the difference between a form you can see
   and one you cannot. Nothing here needs JavaScript. */
@layer components {
  .fields { display: grid; gap: var(--space-12); }
  .fields--2 { grid-template-columns: 1fr 1fr; }
  .field { display: grid; gap: var(--space-4); }
  .field > span { font-weight: var(--fw-semibold); font-size: var(--t-caption); color: var(--c-muted); }

  .field input, .field select, .field textarea {
    width: 100%; min-height: 44px; padding: 10px var(--space-12);
    border: 1px solid var(--c-field-edge);
    border-radius: var(--r-control);
    background-color: var(--c-card); color: var(--c-ink);
    font: var(--fw-regular) var(--t-body) / 1.4 var(--f-body);
    transition: border-color var(--hover-fast) var(--hover-ease), box-shadow var(--hover-fast) var(--hover-ease);
  }
  .field textarea { min-height: 76px; resize: vertical; }
  /* shape tag: a button has one round end; a text box does not */
  [data-shape="tag"] .field input, [data-shape="tag"] .field select, [data-shape="tag"] .field textarea { border-radius: var(--r-sm); }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--c-link); box-shadow: var(--focus-ring);
  }
  .field input::placeholder, .field textarea::placeholder { color: var(--c-muted); opacity: 1; }
  .field input[type="file"] { padding: var(--space-8) var(--space-12); }
}

/* areas — the radius line, the list of places and the postcode check. Layer: components. */
@layer components {
  .areas__radius {
    margin: 0 0 var(--space-24);
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--tr-card);
  }
  .areas__wait { margin: 0; }
  .areas__split { align-items: start; }

  /* a list, not a row of chips: chips read as buttons, and these do nothing */
  .places { list-style: none; margin: 0; padding: 0; columns: 9rem 3; column-gap: var(--space-32); }
  .places li { break-inside: avoid; padding: var(--space-4) 0; }

  /* display marquee: one line of large type, drifting left, the list twice so the loop has no seam */
  .areas--marquee { padding-bottom: 0; }
  .areas--marquee .areas__check { margin-top: var(--space-32); }
  .marquee { --marquee-loop: 60s; margin-top: var(--space-32); overflow: hidden; border-block: 1px solid var(--c-border); padding-block: var(--space-32); background-color: var(--c-bg); }
  .marquee__track { display: flex; width: max-content; animation: marquee-drift var(--marquee-loop) linear infinite; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
  .marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
  .marquee li {
    display: flex; align-items: center; padding-right: var(--space-32); white-space: nowrap;
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: clamp(var(--t-sm-heading), 4.4vw, 56px); line-height: 1; letter-spacing: var(--tr-section); color: var(--c-ink);
  }
  /* between places, a small mark in the accent, in the shape a button has */
  .marquee li::after { content: ""; width: 22px; height: 14px; margin-left: var(--space-32); background-color: var(--c-accent); border-radius: var(--r-control); }
  @keyframes marquee-drift { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .marquee { padding-inline: var(--pad-x); }
    .marquee__track { width: auto; animation: none; }
    .marquee ul { flex-wrap: wrap; row-gap: var(--space-16); }
    .marquee ul + ul { display: none; }
  }
  .areas__check .h3 { margin-bottom: var(--space-4); }
  .check__row { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: end; margin-top: var(--space-16); }
  .check__row .field { flex: 1 1 12rem; }
  /* the live region stays in the page when empty, so a screen reader hears it change; it just takes no space */
  .check__out { margin: 0; font-size: var(--t-body-sm); color: var(--c-muted); }
  .check__out:not(:empty) { margin-top: var(--space-16); }
}

/* quote — the form card. The fields and buttons are their own components. Layer: components. */
@layer components {
  .quote { padding: var(--space-32); background-color: var(--c-card); border-radius: var(--r-surface); box-shadow: var(--shadow-standard); }
  .quote .h3 { margin-bottom: var(--space-16); }
  .quote__go { margin-top: var(--space-16); }
  .quote__ps { margin-top: var(--space-12); font-size: var(--t-caption); color: var(--c-muted); }
  .quote__reply { font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-card); letter-spacing: var(--tr-card); color: var(--c-ink); }
  /* inside the card (the hero puts it under the form's heading) the reply promise is a line, not a second heading */
  .quote .quote__reply { margin: var(--space-8) 0 0; font-family: var(--f-body); font-weight: var(--fw-medium); font-size: var(--t-body-sm); letter-spacing: 0; color: var(--c-muted); }
  /* placement bleed: the band is a photograph with the form in a panel on it */
  .bleed { padding-block: var(--sec-y); }
  .bleed__in { display: grid; gap: var(--space-48); align-items: center; }
  @media (min-width: 900px) { .bleed__in { grid-template-columns: 1fr minmax(0, 520px); gap: var(--space-64); } }
  /* On a phone the words sit at the top of a tall photograph, where the kit's bottom-up scrim is at its lightest, and the small label above
     the heading is the hardest text to hold. So under 900px the whole photograph takes a flat scrim (found by the showcase sweep: the label
     failed on two palettes). From 900 the words are at the left, where the left-hand gradient is heaviest. */
  @media (max-width: 899px) { .bleed.ground::after { background: rgba(var(--c-dark-rgb), .86); } }
  .bleed__ways { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-top: var(--space-32); }
  .bleed .quote { box-shadow: var(--shadow-deep); }
  /* shape tag: the panel carries the band's own big corner */
  [data-shape="tag"] .bleed .quote { border-top-right-radius: var(--r-band); }

  /* under the card, in the hero: the honest other ways in */
  .quote__alt { display: grid; gap: var(--space-8); margin-top: var(--space-24); }
  .quote__alt p { margin: 0; font-size: var(--t-body-sm); color: var(--c-muted); }

  /* aside faq: five questions in the left column, the form on the right. The markup is in the phone's reading order (head, form,
     questions, buttons) and stays there: a phone reads it as it is, and from 900px grid areas put the questions and the buttons under
     the heading, beside the form, without reordering anything, so Tab always follows what the eye reads. */
  .bleed--faq .bleed__in { grid-template-areas: "head" "form" "faq" "ways"; row-gap: var(--space-32); }
  .bleed--faq .bleed__words { grid-area: head; }
  .bleed--faq .quote { grid-area: form; }
  .bleed--faq .bleed__faq { grid-area: faq; }
  .bleed--faq .bleed__ways { grid-area: ways; margin-top: 0; }
  @media (min-width: 900px) {
    .bleed--faq .bleed__in { grid-template-areas: "head form" "faq form" "ways form"; align-items: start; row-gap: var(--space-24); }
    .bleed--faq .quote { align-self: center; }
  }
  .bleed__faq-h { margin: 0 0 var(--space-16); font-family: var(--f-display); font-weight: var(--fw-medium); font-size: 20px; line-height: 1.3; color: #FFFFFF; }
  .bleed__faq-list { display: grid; gap: 10px; max-width: 36rem; }
  /* white cards on the dark band; .on-light on each puts the dark text back inside them */
  .bleed__faq .qa { margin-top: 0; background-color: #FFFFFF; box-shadow: var(--shadow-standard); border-radius: var(--r-surface); }
  .bleed__faq .qa > summary { display: grid; grid-template-columns: 1fr 22px; gap: var(--space-12); align-items: center; padding: 14px 18px; font-family: var(--f-display); font-size: 17px; line-height: 1.3; }
  .qa__chev { width: 22px; height: 22px; fill: var(--c-accent); transition: transform 200ms ease-out; }
  .qa[open] .qa__chev { transform: rotate(180deg); }
  .bleed__faq .qa__a { padding: 0 18px 16px; color: var(--c-muted); font-size: 15px; line-height: 1.55; }
  .bleed__faq .qa__a p { margin: 0; }
  .bleed__faq .qa__a p + p { margin-top: var(--space-8); }
  .bleed__faq .voice { margin: 0; }
  @media (prefers-reduced-motion: reduce) { .qa__chev { transition: none; } }
}

/* opening — a slanted opening between two bands, the photograph behind it moving slower than the page. Layer: components. */
@layer components {
  .opening { height: 200px; }
  .opening .wrap, .opening__pane { position: relative; height: 100%; overflow: hidden; }
  .opening__pane { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
  /* the photograph is taller than the opening by exactly the distance it has to travel (--extra), and is shifted by --y: both
     are set by parallax.js. Without them (reduced motion, no script) both are 0 and it sits still, filling the opening. */
  .opening__pane img {
    position: absolute; left: 0; width: 100%; max-width: none; object-fit: cover;
    top: calc(-1 * var(--extra, 0px) / 2); height: calc(100% + var(--extra, 0px));
    transform: translateY(var(--y, 0px)); will-change: transform;
  }
  @media (min-width: 720px) {
    .opening { height: 280px; }
    .opening__pane { clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
  }
  /* the bands either side stop stacking their padding into it (there is no --space-40 token: 32px at every width) */
  .band:has(+ .opening) { padding-bottom: var(--space-32); }
  .opening + .band { padding-top: var(--space-32); }
}

/* dual-image — a before and an after in one frame. Layer: components.
   The AFTER photograph fills the frame; the BEFORE lies on top of it, clipped from the right at the seam. Moving the seam
   is the whole effect, so the two photographs never move or scale and stay registered. The seam is one custom property,
   --seam: the share of the frame the before takes. Three things set it, in this order of strength: the pointer over a
   side (a mouse only), then the side that has been pressed (data-lead, set by dual-image.js), then an even split. */
@layer components {
  .dual { --dual-lead: 72%; --seam: 50%; margin: 0; max-width: 56rem; }
  .dual[data-lead="before"] { --seam: var(--dual-lead); }
  .dual[data-lead="after"] { --seam: calc(100% - var(--dual-lead)); }
  /* a mouse previews a side by pointing at it; a finger cannot hover, so there it is only a tap (the script) */
  @media (hover: hover) {
    .dual:has(.dual__half--before:hover) { --seam: var(--dual-lead); }
    .dual:has(.dual__half--after:hover) { --seam: calc(100% - var(--dual-lead)); }
  }

  .dual__stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-surface); background-color: var(--c-card); }
  .dual__pic { position: absolute; inset: 0; }
  .dual__pic picture { display: block; height: 100%; }
  .dual__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .dual__pic--before { clip-path: inset(0 calc(100% - var(--seam)) 0 0); transition: clip-path var(--hover-slow) var(--hover-ease); }

  /* the seam: a wrapper as wide as the frame, slid so that its right edge sits on the clip edge; the line is that edge.
     A transform, so it is smooth and never reflows, and it uses the clip's own duration and easing so it stays on the edge. */
  .dual__seam { position: absolute; inset: 0; z-index: 1; width: 100%; pointer-events: none; transform: translateX(calc(var(--seam) - 100%)); transition: transform var(--hover-slow) var(--hover-ease); }
  .dual__seam::after {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; margin-right: -1px;
    background-color: var(--w-90); box-shadow: 0 0 0 1px rgba(var(--c-dark-rgb), .35);
  }

  /* the two halves are fixed (each is half the frame however far the seam has moved), so the pointer never flickers on the seam */
  .dual__half { position: absolute; z-index: 2; top: 0; bottom: 0; width: 50%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .dual__half--before { left: 0; }
  .dual__half--after { right: 0; }
  /* a ring that shows on a light photograph and on a dark one: white, with a dark band outside it */
  .dual__half:focus-visible { outline: 3px solid var(--w-90); outline-offset: -6px; box-shadow: inset 0 0 0 3px rgba(var(--c-dark-rgb), .55); }

  .dual__cap { padding-top: var(--space-12); }
  .dual__tags { display: flex; justify-content: space-between; gap: var(--space-16); font-size: var(--t-body-sm); font-weight: var(--fw-semibold); }
  /* which side leads is said three ways, so it never rests on colour alone: the seam, an underline on its label, and a
     quieter colour on the other (on a palette whose muted grey is the ink, the underline is what is left) */
  .dual__tag { padding-bottom: var(--space-4); border-bottom: 2px solid transparent; color: var(--c-ink); transition: color var(--hover-fast) var(--hover-ease); }
  .dual[data-lead="before"] .dual__tag--before, .dual[data-lead="after"] .dual__tag--after { border-bottom-color: var(--c-ink); }
  .dual[data-lead="before"] .dual__tag--after, .dual[data-lead="after"] .dual__tag--before { color: var(--c-muted); }
  .dual__cap .h4 { margin-top: var(--space-8); }
  .dual__meta { margin-top: var(--space-4); font-size: var(--t-caption); color: var(--c-muted); }

  /* no photographs yet: two designed plates side by side, nothing to point at */
  .dual__stage--plates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); background-color: var(--c-alt); }
  .dual__stage--plates .plate { aspect-ratio: auto; height: 100%; border-radius: 0; box-shadow: none; }

  @media (prefers-reduced-motion: reduce) {
    .dual__pic--before, .dual__seam, .dual__tag { transition: none; }
  }

  /* ---- drawn from the promise band (layout steps): beside a panel, and filling its height from 960px ----------------------------
     The figure is the same one the gallery draws, unchanged; only its frame is fitted to the panel it sits beside. */
  .pstep__media .dual { max-width: none; height: 100%; display: flex; flex-direction: column; }
  .pstep__media .dual__frame { flex: 1; display: flex; }
  .pstep__media .dual__stage { flex: 1; aspect-ratio: 4 / 3; }
  .pstep__media .dual__cap { padding-right: var(--space-12); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "b w a" ". m ."; column-gap: var(--space-12); align-items: baseline; }
  .pstep__media .dual__tags { display: contents; }
  .pstep__media .dual__tag--before { grid-area: b; }
  .pstep__media .dual__tag--after { grid-area: a; }
  .pstep__media .dual__cap .h4 { grid-area: w; margin: 0; text-align: center; }
  .pstep__media .dual__meta { grid-area: m; margin: 0; text-align: center; }
  @media (min-width: 960px) {
    .pstep--media .pstep__media .dual__stage { aspect-ratio: auto; min-height: 360px; border-radius: var(--r-md) 0 0 var(--r-md); }
    [data-shape="tag"] .pstep--media .pstep__media .dual__stage { border-radius: var(--r-xs) 0 0 var(--r-xs); }
  }
}

/* faq — a native details accordion. Layer: components. */
@layer components {
  .faq__col { max-width: var(--content-max-text); }
  .qa { margin-top: var(--space-12); border-radius: var(--r-surface); background-color: var(--c-card); box-shadow: var(--shadow-subtle); }
  .qa > summary {
    list-style: none; cursor: pointer;
    padding: var(--space-24);
    font-family: var(--f-display); font-weight: var(--fw-card); font-size: var(--t-body); letter-spacing: var(--tr-card);
    transition: color var(--hover-fast) var(--hover-ease);
  }
  .qa > summary::-webkit-details-marker { display: none; }
  @media (hover: hover) { .qa > summary:hover { color: var(--c-link); } }
  .qa__a { padding: 0 var(--space-24) var(--space-24); color: var(--c-muted); font-size: var(--t-body-sm); }
  .qa__a p:first-child { margin-top: 0; }
}

/* hero-slides — the slides, the cross-fade and the controls. Layer: components.
   Params: --show-interval (how long each photograph shows; the script reads it too), --show-fade (the cross-fade),
   --show-drift (a percentage the shown photograph grows by; 0, the default, is no movement at all). */
@layer components {
  .hero__slides { --show-interval: 6s; --show-fade: 1200ms; --show-drift: 0; position: absolute; inset: 0; z-index: 0; }
  .hero__ph--show { position: relative; }
  .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--show-fade) var(--m-ease); }
  .hero__slide.is-on { opacity: 1; }
  .hero__slide picture { display: block; height: 100%; }
  .hero__slide img { width: 100%; height: 100%; object-fit: cover; }

  /* the drift is on the slide, not the <img>: the unmask entrance already scales the <img>, and two transforms on one
     element would fight. .is-out keeps it running on the slide that is fading away, so it neither restarts nor snaps back. */
  .hero__slides[data-drift] .hero__slide.is-on, .hero__slides[data-drift] .hero__slide.is-out { animation: show-drift calc(var(--show-interval) + var(--show-fade)) linear both; }
  .hero__slides.is-paused .hero__slide { animation-play-state: paused; }
  @keyframes show-drift { from { transform: scale(1); } to { transform: scale(calc(1 + var(--show-drift) / 100)); } }

  /* the controls: bottom-left, clear of the words (the hero pads its foot to leave room) and of the straddle panel */
  .hero, .hero__ph--show, .hero__lead { --ctl-b: var(--space-24); }      /* how far the controls sit from the hero's foot; the hero can lift it */
  .hero__ctl {
    position: absolute; left: var(--pad-x); bottom: var(--ctl-b); z-index: 3;
    display: flex; align-items: center; gap: var(--space-12);
    color: #FFFFFF; font-size: var(--t-body-sm); font-weight: var(--fw-medium); line-height: 1;
  }
  .hero__ctl[hidden] { display: none; }
  .hero__pause {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1.5px solid var(--w-60); border-radius: var(--r-pill);
    background-color: rgba(var(--c-dark-rgb), .55); color: #FFFFFF; cursor: pointer;
    transition: background-color var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease);
  }
  .hero__pause svg { width: 18px; height: 18px; fill: currentColor; grid-area: 1 / 1; }
  .hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
  .hero__pause[aria-pressed="true"] .i-play { display: inline; }
  @media (hover: hover) { .hero__pause:hover { background-color: rgba(var(--c-dark-rgb), .85); transform: translateY(var(--lift-btn)); } }
  .hero__n b { font-weight: var(--fw-semibold); }
  .hero__bar { width: 120px; height: 2px; background-color: var(--w-42); overflow: hidden; }
  .hero__bar i { display: block; height: 100%; background-color: #FFFFFF; transform-origin: left; transform: scaleX(0); }
  .hero__bar i.run { animation: show-fill var(--show-interval) linear forwards; }
  .hero__ctl.is-paused .hero__bar i { animation-play-state: paused; }
  @keyframes show-fill { to { transform: scaleX(1); } }

  @media (prefers-reduced-motion: reduce) {
    .hero__slide { transition: none; }
    .hero__slides[data-drift] .hero__slide { animation: none; }
  }
}

/* action-bar — fixed to the bottom of a phone screen. Hidden until the script says the hero has scrolled away; with the
   script blocked it is simply shown. Not drawn from 960px up, where the header has the number. Layer: components. */
@layer components {
  .ab, .ab-spacer { --_h: 64px; }                       /* 8px + a 48px button + 8px */
  .ab-spacer { height: calc(var(--_h) + env(safe-area-inset-bottom)); }

  .ab {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; gap: var(--space-8);
    padding: var(--space-8) var(--pad-x) calc(var(--space-8) + env(safe-area-inset-bottom));
    background-color: var(--c-bg);
    box-shadow: 0 -12px 32px rgba(var(--c-primary-rgb), .14);
    /* hidden means hidden: not drawn, and not reachable by Tab, until it slides in. A visibility transition over the same
       duration is visible for the whole slide in either direction, so nothing has to be timed by hand. */
    transform: translateY(110%); visibility: hidden;
    transition: transform var(--hover-move) var(--hover-ease), visibility var(--hover-move) linear;
  }
  .ab .btn { flex: 1 1 0; min-width: 0; padding-inline: var(--space-8); }
  .ab.is-on:not(.is-typing), html:not(.js) .ab { transform: none; visibility: visible; }

  @media (min-width: 960px) { .ab, .ab-spacer { display: none; } }
  @media (prefers-reduced-motion: reduce) { .ab { transition: none; } }
}

/* call-float — the floating call node. Fixed bottom-right from 960px up (the phone bar takes over below it, and is not
   drawn from 960 either, so the two never share a screen). Hidden until the script says the hero has scrolled away; with the
   script blocked it is simply shown. Layer: components. */
@layer components {
  .callfloat {
    position: fixed; right: var(--space-24); bottom: var(--space-24); z-index: 50;
    display: none; align-items: center; text-decoration: none;
    transition: opacity var(--hover-move) var(--hover-ease), transform var(--hover-move) var(--hover-ease), visibility var(--hover-move) linear;
  }
  @media (min-width: 960px) { .callfloat { display: flex; } }
  /* hidden means hidden: not drawn and not reachable by Tab, until it arrives */
  .js .callfloat:not(.is-on) { opacity: 0; transform: translateY(var(--space-12)); visibility: hidden; pointer-events: none; }

  .callfloat__o {
    position: relative; display: grid; place-items: center; width: 64px; height: 64px;
    border-radius: var(--r-pill); background-color: var(--c-accent); color: var(--c-on-accent);
    box-shadow: inset 0 0 0 2px var(--c-accent-outline), var(--shadow-emphatic);
    transition: background-color var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease);
  }
  .callfloat__o svg { width: 26px; height: 26px; fill: currentColor; }
  .callfloat__lbl {
    margin-right: calc(-1 * var(--space-16)); padding: var(--space-12) var(--space-32) var(--space-12) var(--space-16);
    border-radius: var(--r-xs) 0 0 var(--r-xs); background-color: var(--c-bg); color: var(--c-ink);
    box-shadow: var(--shadow-standard); font-weight: var(--fw-semibold); font-size: var(--t-body-sm); white-space: nowrap;
    opacity: 0; transform: translateX(var(--space-12)); pointer-events: none;
    transition: opacity var(--hover-fast) var(--hover-ease), transform var(--hover-fast) var(--hover-ease);
  }
  .callfloat:focus-visible .callfloat__lbl { opacity: 1; transform: none; }
  @media (hover: hover) {
    .callfloat:hover .callfloat__lbl { opacity: 1; transform: none; }
    .callfloat:hover .callfloat__o { background-color: var(--c-accent-hover); transform: translateY(var(--lift-sm)); }
  }
  @media (prefers-reduced-motion: reduce) {
    .callfloat, .callfloat__o, .callfloat__lbl { transition: none; }
    .callfloat:hover .callfloat__o { transform: none; }
  }
}

@layer client {
/* client.css — Larkhollow's own identity, and one recorded exception.
   Everything else on this page comes from the component library (design-reference/library). The exception is the heading block
   at the foot of this file: centred, smaller section headings, demo3 only (Danny, 2026-09-29, after Coventry and MKR). The
   library follows only if he approves it here. The mark is the tag shape (the
   one big corner, top-right, that runs through the whole page) with a scaffold's standards and ledgers cut out of it. It is
   drawn as a mask, so it takes the palette's dark and never needs a second file. It is invented for this fictional firm.

   The other thing that is Larkhollow's own: the preview's darkest green (#132719, its "deep"), which the strip above the header
   and the footer are set in. The palette's dark (#1F3D2B) is the gallery band's. Everything else in the palette is in spec.json. */
:root { --c-deep: #132719; }
.hd__strip, .foot--statement, .foot--three { background-color: var(--c-deep); }
.hd__word { display: inline-flex; align-items: center; gap: 12px; }
.hd__word::before {
  content: ""; flex: none; width: 38px; height: 38px; background-color: var(--c-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cmask id='m'%3E%3Crect width='40' height='40' fill='%23fff'/%3E%3Cpath d='M11 10v21M21 10v21M29 17v14M8 15h24M8 23h24' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/mask%3E%3Cpath d='M3 3h19a15 15 0 0 1 15 15v19H3z' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cmask id='m'%3E%3Crect width='40' height='40' fill='%23fff'/%3E%3Cpath d='M11 10v21M21 10v21M29 17v14M8 15h24M8 23h24' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/mask%3E%3Cpath d='M3 3h19a15 15 0 0 1 15 15v19H3z' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* phones: the mark and the two-line name made the header 6px wider than a 375px screen, pushing "Menu" against the edge.
   Tighter gutters, a smaller mark and name; under 360px the mark goes and the name stays. demo3 only. */
@media (max-width: 479px) {
  .hd__in { padding-inline: 16px; gap: 10px; }
  .hd__word { font-size: 18px; gap: 8px; }
  .hd__word::before { width: 30px; height: 30px; }
  .hd .btn { padding-inline: 14px; }
  .menu > summary { padding-inline: 8px; }
}
@media (max-width: 359px) { .hd__word::before { display: none; } }

/* the footer's mark (style three): Larkhollow's mark before the name, in white on the dark. The footer's own background is the deep
   green above (.foot--three joins .foot--statement in that rule). */
.foot__mark { display: inline-flex; align-items: center; gap: 12px; }
.foot__mark::before { content: ""; flex: none; width: 40px; height: 40px; background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cmask id='m'%3E%3Crect width='40' height='40' fill='%23fff'/%3E%3Cpath d='M11 10v21M21 10v21M29 17v14M8 15h24M8 23h24' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/mask%3E%3Cpath d='M3 3h19a15 15 0 0 1 15 15v19H3z' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cmask id='m'%3E%3Crect width='40' height='40' fill='%23fff'/%3E%3Cpath d='M11 10v21M21 10v21M29 17v14M8 15h24M8 23h24' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/mask%3E%3Cpath d='M3 3h19a15 15 0 0 1 15 15v19H3z' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat; }

/* centred, smaller section headings, demo3 only (Danny, 2026-09-29, after Coventry and MKR). The library follows only if
   he approves it here. Headings beside something (.head--mid: the promise panel, the quote band) stay left. */
.h2 { font-size: 30px; }
@media (min-width: 720px) { .h2 { font-size: 34px; } }
@media (min-width: 1080px) { .h2 { font-size: 36px; } }
.lead { font-size: 18px; }
.band .head:not(.head--mid) { text-align: center; margin-inline: auto; }
.band .head:not(.head--mid) .lead { margin-inline: auto; max-width: 60ch; }
.svcta { text-align: center; }

}
/* The way back to webhatcher's homepage, in the sample-page notice bar (added for the webhatcher copy only).
   The bar stays with the reader: sticky, one fixed height, above the page's own header, which now sticks
   just below it. The full message shows only where it fits on one line; elsewhere a short one does. */
:root { --notice-h: 52px; }
.notice {
  position: sticky; top: 0; z-index: 60;
  box-sizing: border-box; height: var(--notice-h); padding-block: 0;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.notice > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice__short { display: inline; }
.notice__full { display: none; }
@media (min-width: 1320px) { .notice__short { display: none; } .notice__full { display: inline; } }
.notice__home {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 16px 0 12px;
  border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px;
  color: #FFFFFF; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease-out;
}
.notice__home svg { width: 16px; height: 16px; fill: currentColor; }
.notice__home:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
@media (hover: hover) { .notice__home:hover { background-color: rgba(255, 255, 255, .16); } }
.hd { top: var(--notice-h); }
.hd--two { top: calc(var(--notice-h) - var(--strip-h)); }
.band, .bleed, .hero { scroll-margin-top: calc(var(--hd-h) + var(--notice-h) + var(--space-12)); }
