/* Automotive Photography Scotland: the whole stylesheet.

   Plain CSS, no framework. Order: the Geist font faces (self-hosted, Latin
   and Latin Extended, with a size-matched Arial fallback), then three cascade
   layers. `theme` holds the design tokens; `base` holds the browser reset
   (Tailwind CSS's preflight, MIT licence, Copyright (c) Tailwind Labs, Inc.,
   copied here as plain CSS) and the site's base rules; `components` holds
   everything else. A few closing rules (motion, forced colours) sit outside
   the layers, as before. */

@font-face {
  font-family: "Geist";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-italic-latin.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

@layer theme, base, components, utilities;

/* The services hub tiles' hover state (Which service fits, below): a
   registered number, so the photograph's fade can be transitioned. */
@property --tile-hover {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

/* Tokens: the site's own palette and type. --ease-out and the two default
   transition values are Tailwind's defaults, which the site's rules rely on. */
@layer theme {
  :root {
    --font-geist: "Geist", "Geist Fallback";
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --default-transition-duration: 0.15s;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --color-ink: #0a0b0d;
    --color-paper: #f4f2ee;
    --color-paper-quiet: rgb(244 242 238 / 0.74);
    /* The accent: the McLaren 675LT's caliper red, lifted (owner, 25 November
       2026: "change the gold to red so it makes sense", with the McLaren hero).
       White on it 6.0:1; as text on white 6.0:1. Hover goes darker (7.3:1 with
       white). On dark grounds text and focus use the brighter red (5.3:1 on
       ink). */
    --color-accent: #c4161c;
    --color-accent-hover: #a8121a;
    --color-accent-bright: #f0464f;
    /* Light editorial pages (case studies): a neutral white sheet, ink text,
       and the accent red for text on it (6.0:1 on the sheet). */
    --color-sheet: #ffffff;
    --color-ink-quiet: #5e5f61;
    --color-accent-deep: #c4161c;
    --font-sans: var(--font-geist), ui-sans-serif, system-ui, sans-serif;
  }
}

@layer base {
  /*
    1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
    2. Remove default margins and padding
    3. Reset all borders.
  */

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box; /* 1 */
    margin: 0; /* 2 */
    padding: 0; /* 2 */
    border: 0 solid; /* 3 */
  }

  /*
    1. Use a consistent sensible line-height in all browsers.
    2. Prevent adjustments of font size after orientation changes in iOS.
    3. Use a more readable tab size.
    4. Use the user's configured `sans` font-family by default.
    5. Use the user's configured `sans` font-feature-settings by default.
    6. Use the user's configured `sans` font-variation-settings by default.
    7. Disable tap highlights on iOS.
  */

  html,
  :host {
    line-height: 1.5; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    tab-size: 4; /* 3 */
    font-family: var(
      --default-font-family,
      -apple-system,
      BlinkMacSystemFont,
      'Segoe UI',
      Roboto,
      'Helvetica Neue',
      'Noto Sans',
      Arial,
      sans-serif,
      'Apple Color Emoji',
      'Segoe UI Emoji',
      'Segoe UI Symbol',
      'Noto Color Emoji'
    ); /* 4 */
    font-feature-settings: var(--default-font-feature-settings, normal); /* 5 */
    font-variation-settings: var(--default-font-variation-settings, normal); /* 6 */
    -webkit-tap-highlight-color: transparent; /* 7 */
  }

  /*
    1. Add the correct height in Firefox.
    2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
    3. Reset the default border style to a 1px solid border.
  */

  hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
    border-top-width: 1px; /* 3 */
  }

  /*
    Add the correct text decoration in Chrome, Edge, and Safari.
  */

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  /*
    Remove the default font size and weight for headings.
  */

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  /*
    Reset links to optimize for opt-in styling instead of opt-out.
  */

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  /*
    Add the correct font weight in Edge and Safari.
  */

  b,
  strong {
    font-weight: bolder;
  }

  /*
    1. Use the user's configured `mono` font-family by default.
    2. Use the user's configured `mono` font-feature-settings by default.
    3. Use the user's configured `mono` font-variation-settings by default.
    4. Correct the odd `em` font sizing in all browsers.
  */

  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      'Liberation Mono',
      'Courier New',
      monospace
    ); /* 1 */
    font-feature-settings: var(--default-mono-font-feature-settings, normal); /* 2 */
    font-variation-settings: var(--default-mono-font-variation-settings, normal); /* 3 */
    font-size: 1em; /* 4 */
  }

  /*
    Add the correct font size in all browsers.
  */

  small {
    font-size: 80%;
  }

  /*
    Prevent `sub` and `sup` elements from affecting the line height in all browsers.
  */

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  /*
    1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
    2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
    3. Remove gaps between table borders by default.
  */

  table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
    border-collapse: collapse; /* 3 */
  }

  /*
    Use the modern Firefox focus style for all focusable elements.
  */

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  /*
    Add the correct vertical alignment in Chrome and Firefox.
  */

  progress {
    vertical-align: baseline;
  }

  /*
    Add the correct display in Chrome and Safari.
  */

  summary {
    display: list-item;
  }

  /*
    Make lists unstyled by default.
  */

  ol,
  ul,
  menu {
    list-style: none;
  }

  /*
    1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
    2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
        This can trigger a poorly considered lint error in some tools but is included by design.
  */

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block; /* 1 */
    vertical-align: middle; /* 2 */
  }

  /*
    Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
  */

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  /*
    1. Inherit font styles in all browsers.
    2. Remove border radius in all browsers.
    3. Remove background color in all browsers.
    4. Ensure consistent opacity for disabled states in all browsers.
  */

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit; /* 1 */
    font-feature-settings: inherit; /* 1 */
    font-variation-settings: inherit; /* 1 */
    letter-spacing: inherit; /* 1 */
    color: inherit; /* 1 */
    border-radius: 0; /* 2 */
    background-color: transparent; /* 3 */
    opacity: 1; /* 4 */
  }

  /*
    Restore default font weight.
  */

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  /*
    Restore indentation.
  */

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  /*
    Restore space after button.
  */

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  /*
    Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
  */

  ::placeholder {
    opacity: 1;
  }

  /*
    Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
    crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
  */

  @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
    (contain-intrinsic-size: 1px) /* Safari 17+ */ {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }

  /*
    Prevent resizing textareas horizontally by default.
  */

  textarea {
    resize: vertical;
  }

  /*
    Remove the inner padding in Chrome and Safari on macOS.
  */

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  /*
    1. Ensure date/time inputs have the same height when empty in iOS Safari.
    2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
  */

  ::-webkit-date-and-time-value {
    min-height: 1lh; /* 1 */
    text-align: inherit; /* 2 */
  }

  /*
    Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
  */

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  /*
    Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
  */

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  /*
    Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
  */

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  /*
    Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
  */

  :-moz-ui-invalid {
    box-shadow: none;
  }

  /*
    Correct the inability to style the border radius in iOS Safari.
  */

  button,
  input:where([type='button'], [type='reset'], [type='submit']),
  ::file-selector-button {
    appearance: button;
  }

  /*
    Correct the cursor style of increment and decrement buttons in Safari.
  */

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }

  /*
    Make elements with the HTML hidden attribute stay hidden by default.
  */

  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}

@layer base {
  :root {
    --gutter: clamp(16px, 2.9vw, 52px);
    --rail-pad: clamp(16px, 2.1vw, 32px);
    /* Nine logos share one row on landscape screens from 1000px: the unit
       runs from 0.58px at 1000px to 0.93px at 1440px, capped at 1.12px. */
    --logo-unit: clamp(0.58px, 0.0793vw - 0.212px, 1.12px);
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
    color-scheme: light;

    /* Colour roles (owner, 25 November 2026: every page white; on the home
       page everything under the logos white). Light is the default; the
       hero, the home header over it, the phone menu and the photo viewer
       re-declare the dark set below. Components use only these roles. */
    --bg: #ffffff;
    --fg: var(--color-ink);
    --fg-rgb: 10 11 13;
    --fg-quiet: var(--color-ink-quiet);
    --placeholder: #e9e9e6;
    --accent-text: var(--color-accent-deep);
    --focus: var(--color-ink);
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a0b0d' stroke-width='1.4'/%3E%3C/svg%3E");
  }

  /* Dark surfaces: the hero photograph and its rails, the home header that
     sits over it, the phone menu sheet and the portfolio viewer. */
  .hero,
  .site-header--dark,
  .menu-sheet,
  .pf-viewer {
    --bg: var(--color-ink);
    --fg: var(--color-paper);
    --fg-rgb: 244 242 238;
    --fg-quiet: var(--color-paper-quiet);
    --placeholder: #15171a;
    --accent-text: var(--color-accent-bright);
    --focus: var(--color-accent-bright);
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f4f2ee' stroke-width='1.4'/%3E%3C/svg%3E");
    color-scheme: dark;
    color: var(--fg);
  }

  html {
    /* In-page jumps (#quote, #locations) land below the fixed header. */
    scroll-padding-top: 84px;
    /* The page never moves sideways into empty space (owner, 26 November
       2026: "on mobile make sure users cant scroll the screen sideways into
       empty space"): anything wider than the screen is cut at its edge.
       clip, not hidden, so the page stays the only thing that scrolls. */
    overflow-x: clip;
    background: var(--bg);
    color: var(--fg);
    -webkit-text-size-adjust: 100%;
    scrollbar-color: rgb(var(--fg-rgb) / 0.28) var(--bg);
  }

  html:has(.menu-sheet[open]) {
    overflow: hidden;
  }

  body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-sans);
    font-weight: 400;
    font-stretch: 100%;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    caret-color: var(--color-accent);
  }

  ::selection {
    background: var(--color-accent);
    color: #ffffff;
  }

  a {
    color: inherit;
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
    border-radius: 2px;
  }
}

@layer components {
  /* Text for screen readers only */
  .nowrap {
    white-space: nowrap;
  }
  /* Kept on one line from 600px only: a phrase too wide for a phone's
     heading line (it would push the page sideways there). */
  @media (min-width: 600px) {
    .nowrap-wide {
      white-space: nowrap;
    }
  }
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  /* Skip link */
  .skip-link {
    position: absolute;
    left: var(--gutter);
    top: 0;
    z-index: 10;
    translate: 0 -120%;
    padding: 10px 14px;
    background: var(--bg);
    color: var(--fg);
    font-size: 14px;
    text-decoration: none;
  }
  .skip-link:focus-visible {
    translate: 0 12px;
  }

  /* Edge-print voice: the name and the rail labels */
  .wordmark,
  .menu-sheet__name {
    margin: 0;
    font-size: clamp(11px, 0.36vw + 7.2px, 14.5px);
    font-stretch: 80%;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  /* The header logo is the home link itself, one line of text (owner's SEO
     spec, 26 November 2026). */
  a.wordmark {
    display: inline-block;
    padding: 12px 0;
    text-decoration: none;
  }
  /* The bar between name and trade, drawn quietly: 0.7em each side, made of
     the space in the text (0.395em in Geist at this tracking) and the bar's
     own margin. Below 520px the bar becomes the break between name and
     trade, so they stack and the logo and Menu share one row. */
  .wordmark > span,
  .menu-sheet__name > span {
    margin: 0 0.305em;
    opacity: 0.4;
  }
  @media (max-width: 519px) {
    .wordmark,
    .menu-sheet__name {
      line-height: 1.35;
    }
    .wordmark > span,
    .menu-sheet__name > span {
      display: block;
      height: 0;
      margin: 0;
      overflow: hidden;
    }
  }

  .trust__title,
  .menu-button,
  .case__facts dt,
  .quote__details dt,
  .svc-covered__label,
  .abt-eyebrow,
  .abt-quote__by,
  .ed-quote__by,
  .abt-record__list dt,
  .ed-spec dt,
  .site-footer__title,
  .site-footer__toggle,
  .coverage__labels,
  .region__hubs::before {
    font-size: 11px;
    font-stretch: 80%;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  /* Header rail */
  /* Sticky header (owner, 25 November 2026). Fixed to the top on every
     page as a solid white bar with ink text from the first paint (owner,
     same day: "add a white header as the text is too hard to read over the
     image", with the McLaren hero). It tightens once the page has scrolled
     (`data-scrolled` on <html>, set by scroll-state.tsx). */
  .site-header {
    position: fixed;
    color: var(--fg);
    inset: 0 0 auto 0;
    z-index: 40;
    transition:
      background-color 220ms ease-out,
      box-shadow 220ms ease-out,
      padding 220ms ease-out,
      color 220ms ease-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(8px, 1vw, 14px) var(--gutter);
    background: rgb(255 255 255 / 0.96);
    box-shadow: 0 1px 0 rgb(10 11 13 / 0.08);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
  [data-scrolled] .site-header {
    padding-block: 6px;
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 1px 0 rgb(10 11 13 / 0.08);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
  /* The home header is dark over the hero; once scrolled it takes the
     light roles like every other page. */
  [data-scrolled] .site-header--dark {
    --bg: #ffffff;
    --fg: var(--color-ink);
    --fg-rgb: 10 11 13;
    --fg-quiet: var(--color-ink-quiet);
    --accent-text: var(--color-accent-deep);
    --focus: var(--color-ink);
    color-scheme: light;
  }
  @media (prefers-reduced-motion: reduce) {
    .site-header {
      transition: none;
    }
  }
  /* Narrow phones: tighter edge-print tracking so the name and Menu share
     one row (Geist has no condensed width, so the name runs wider than it
     did in Archivo). These follow the base rules on purpose: placed before
     them, they never applied. */
  @media (max-width: 399px) {
    .wordmark,
    .menu-sheet__name {
      letter-spacing: 0.08em;
    }
    .site-header {
      gap: 12px;
    }
  }
  @media (max-width: 359px) {
    .wordmark,
    .menu-sheet__name {
      letter-spacing: 0.02em;
    }
    .site-nav > .menu-button {
      padding-left: 8px;
    }
  }
  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 44px);
  }
  .site-nav__list {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: clamp(14px, 1.7vw, 30px);
  }
  @media (min-width: 1000px) {
    .site-nav__list {
      display: flex;
    }
    .site-nav > .menu-button {
      display: none;
    }
  }

  .menu-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 -4px 0 0;
    padding: 0 4px 0 14px;
    border: 0;
    background: none;
    color: var(--fg);
    cursor: pointer;
  }

  .mark-link {
    position: relative;
    display: inline-flex;
    padding: 12px 4px;
    font-size: clamp(15px, 0.18vw + 12.4px, 16px);
    font-weight: 450;
    letter-spacing: 0.005em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease-out;
  }
  /* Navigation state (owner instruction, 25 November 2026: no drawn
     circle, the text turns yellow): hover and keyboard focus set the label
     in the accent red. Keyboard focus also keeps the accent outline. The
     current page stays in the text colour, black in the header (owner,
     same day: "make the home button black not red"). */
  .mark-link:hover,
  .mark-link:focus-visible {
    color: var(--accent-text);
  }
  .mark-link[aria-current="page"]:not(:hover, :focus-visible) {
    color: var(--fg);
  }

  /* Services menu in the header (owner, 25 November 2026: "a clean
     dropdown pointing directly to your 3 dedicated service pages"). The
     button looks like the other header links, with a small chevron that
     turns when open; it turns red on hover like them, and stays red while
     the menu is open. The list hangs under it in a white panel with a
     hairline edge, centred on the button; an invisible strip above the
     panel keeps the hover alive across the gap. */
  .nav-dd {
    position: relative;
  }
  .nav-dd__toggle {
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
  }
  .nav-dd__toggle[aria-expanded="true"] {
    color: var(--accent-text);
  }
  .nav-dd__chevron {
    flex: none;
    width: 10px;
    height: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: rotate 200ms var(--ease-out);
  }
  .nav-dd__toggle[aria-expanded="true"] .nav-dd__chevron {
    rotate: 180deg;
  }
  .nav-dd__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 20;
    min-width: 19rem;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    translate: -50% 0;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid rgb(var(--fg-rgb) / 0.12);
    border-radius: 2px;
    box-shadow: 0 14px 36px rgb(10 11 13 / 0.12);
  }
  .nav-dd__menu[hidden] {
    display: none;
  }
  .nav-dd__menu::before {
    content: "";
    position: absolute;
    inset: -10px 0 auto;
    height: 10px;
  }
  .nav-dd__link {
    display: block;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
    transition:
      color 160ms ease-out,
      background-color 160ms ease-out;
  }
  .nav-dd__link:hover,
  .nav-dd__link:focus-visible {
    background: rgb(var(--fg-rgb) / 0.05);
    color: var(--accent-text);
  }
  .nav-dd__link:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: -2px;
  }
  .nav-dd__link[aria-current="page"] {
    font-weight: 600;
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-dd__chevron {
      transition: none;
    }
  }

  /* The call to action: a solid red button with white text (red from the
     McLaren hero, 25 November 2026; it was gold from the 911 before). */
  .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 2px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 560;
    letter-spacing: 0.005em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease-out;
  }
  .cta-button:hover {
    background: var(--color-accent-hover);
  }
  .cta-button:focus-visible {
    outline-color: var(--fg);
  }
  .cta-button:active {
    translate: 0 1px;
  }

  /* Hero */
  .hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: 100svh;
    background: var(--bg);
  }
  .hero__media {
    position: relative;
  }
  .hero__img {
    object-fit: cover;
    object-position: 49% 62%;
  }
  /* Experiment (owner, 25 November 2026): the McLaren 675LT sill detail.
     The crop centres on the 675LT plate; the landscape lift used for the
     tunnel car is not needed. Remove with the HERO switch in hero.tsx. */
  .hero--mclaren .hero__img {
    object-position: 60% 46%;
  }
  /* The McLaren 675LT interior (the Aberdeen page and the services hub,
     owner, 27 November 2026), held on the red-ringed controller between the
     console and the wheel. */
  .hero--interior .hero__img {
    object-position: 58% 50%;
  }
  @media (min-aspect-ratio: 23/20) {
    /* The lower half eases into the hero's ink so the headline, buttons
       and figures always read, even where the sill's silver edge lands
       behind them once the hero is shortened for the services heading
       (25 November 2026). The 675LT plate, mid-frame, stays at full
       strength. */
    .hero--mclaren .hero__media,
    .hero--interior .hero__media {
      translate: none;
      -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 50%,
        rgb(0 0 0 / 0.55) 74%,
        rgb(0 0 0 / 0.42) 100%
      );
      mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 50%,
        rgb(0 0 0 / 0.55) 74%,
        rgb(0 0 0 / 0.42) 100%
      );
    }
    /* The interior puts the console's lower red controls behind the H1 on
       wide screens, so its foot fades further into the ink; the big red
       controller, higher up, keeps its full strength. */
    .hero--interior .hero__media {
      -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgb(0 0 0 / 0.42) 66%, rgb(0 0 0 / 0.3) 100%);
      mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgb(0 0 0 / 0.42) 66%, rgb(0 0 0 / 0.3) 100%);
    }
  }
  /* Answer line and call to action, stacked under the H1 (which sits on
     its own line above the row). On landscape screens the sizes follow the
     screen width (see the landscape block below). */
  .hero__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  /* The H1 is the largest type on home, above the section headings
     (owner, 25 November 2026: "the h1 on homepage needs to be larger in
     font size than 'Specialist Automotive Photography Services Across
     Scotland'"). Phones and portrait screens: at least 33px against the
     headings' 28px, so "Automotive Photographer" breaks after its first
     word and the H1 runs three lines on a phone ("Photographer" still
     fits at 320px). */
  .hero__title {
    margin: 0;
    font-size: clamp(33px, 8.6vw, 46px);
    font-weight: 460;
    letter-spacing: -0.012em;
    line-height: 1.06;
  }
  .hero__title-line {
    display: block;
  }
  /* Wide landscape screens: two lines, "Automotive Photographer" over "in
     Scotland", neither of them broken (owner, 26 November 2026; one line
     from 25 November until then). Phones and portrait screens keep their
     own lines, which is the only way the headline fits at 320px wide
     without shrinking. */
  @media (min-width: 1000px) and (min-aspect-ratio: 23/20) {
    .hero__title {
      white-space: nowrap;
    }
  }
  .hero__line {
    margin: 10px 0 0;
    max-width: 40ch;
    font-size: 17px;
    line-height: 1.45;
    /* Balanced, so a sentence that wraps splits evenly instead of leaving
       "and magazines." alone on a line (1000px wide, 25 November 2026). */
    text-wrap: balance;
  }
  .hero__line span {
    display: block;
  }
  .hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
  }
  /* Secondary action: paper outline, no fill, so the red stays the one
     primary. */
  .cta-button--ghost {
    background: transparent;
    color: var(--fg);
    box-shadow: inset 0 0 0 1px rgb(var(--fg-rgb) / 0.55);
    transition:
      background-color 160ms ease-out,
      box-shadow 160ms ease-out;
  }
  .cta-button--ghost:hover {
    background: rgb(var(--fg-rgb) / 0.1);
    box-shadow: inset 0 0 0 1px var(--fg);
  }
  /* Hero buttons a step above the site's other buttons (owner, 25 November
     2026: the answer line and both buttons "larger too"). */
  .cta-button--hero {
    min-height: 50px;
    margin-top: 20px;
    padding: 0 22px;
    font-size: 17px;
  }

  /* The owner's two figures: under the button on narrow screens, bottom
     right on wide landscape screens, sharing the button's baseline. */
  .hero__row {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  /* The owner's headshot beside the figures (owner, 25 November 2026: "a
     small headshot of me in the right hand side of hero, as a circular
     image"): a circle with a thin white ring, centred on the figures. */
  .hero__aside {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.4vw, 24px);
  }
  .hero__aside .hero__stats {
    flex: 1;
    min-width: 0;
  }
  .hero__portrait {
    position: relative;
    flex: none;
    width: clamp(64px, 8.4vh, 100px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgb(255 255 255 / 0.92);
  }
  .hero__portrait-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .stat__value {
    display: block;
    font-size: 26px;
    font-weight: 460;
    letter-spacing: -0.012em;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
  }
  .stat__label {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--fg-quiet);
  }
  /* Each figure's shorter wording, shown on phones only (the phone hero
     block below). */
  .stat__short {
    display: none;
  }
  @media (min-width: 1000px) and (min-aspect-ratio: 23/20) {
    .hero__row {
      flex-direction: row;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
    }
    /* Headshot, 10+ and 500+ evenly spaced (owner, 25 November 2026): each
       figure is as wide as its own longest line (the labels break at fixed
       points here), and one gap separates all three. */
    .hero__aside {
      gap: clamp(28px, 2.6vw, 48px);
    }
    .hero__stats {
      display: flex;
      gap: clamp(28px, 2.6vw, 48px);
    }
    .hero__stats .stat {
      width: max-content;
    }
    .hero__stats .stat__label {
      white-space: pre-line;
    }
    .stat__value {
      font-size: clamp(22px, 3.1vh, 40px);
    }
    .stat__label {
      margin-top: clamp(4px, 0.7vh, 8px);
      font-size: clamp(12.5px, 1.45vh, 15px);
    }
  }

  /* Landscape: the hero copy scales with the screen width. The H1 is 1.25
     times the section headings' clamp(28px, 1.4vw + 16px, 40px) at every
     width (45px against 36px at 1440); the answer line and the buttons
     follow it (owner, 25 November 2026). */
  @media (min-aspect-ratio: 23/20) {
    .hero__title {
      font-size: clamp(35px, 1.75vw + 20px, 50px);
    }
    .hero__line {
      max-width: none;
      margin-top: clamp(8px, 0.7vw, 14px);
      font-size: clamp(16px, 0.6vw + 9.5px, 21px);
    }
    .cta-button--hero {
      min-height: clamp(44px, 1.4vw + 26px, 56px);
      margin-top: clamp(14px, 1.3vw, 24px);
      padding: 0 clamp(20px, 1.6vw, 28px);
      font-size: clamp(15px, 0.35vw + 11px, 18px);
    }
  }

  /* Landscape: the photograph covers the viewport, less a strip at the
     foot so the services heading shows on first load (owner, 25 November
     2026: "i want to be able to see 'Specialist Automotive Photography
     Services Across Scotland' header on initial load"). The strip is
     exactly the services section's top padding on home, a two-line section
     heading at its own size, and 18px of air. */
  @media (min-aspect-ratio: 23/20) {
    .hero {
      --fold-peek: calc(clamp(32px, 2.8vw, 48px) + 1.96 * clamp(28px, 1.4vw + 16px, 40px) + 18px);
      height: calc(100svh - var(--fold-peek));
      min-height: 560px;
    }
    .hero + .services {
      padding-top: clamp(32px, 2.8vw, 48px);
    }
    /* Lifted 6% of the screen height so the car sits higher (owner
       request, 25 November 2026). The photograph is scaled to the screen's
       height on most screens, so object-position cannot move it; the box
       moves instead and its foot fades into ink, where the copy sits. */
    .hero__media {
      position: absolute;
      inset: 0;
      z-index: -1;
      translate: 0 -6svh;
      -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
      mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
    }
    .hero__foot {
      position: absolute;
      inset: auto 0 0 0;
      display: flex;
      flex-direction: column;
      padding: 0 var(--gutter) clamp(10px, 1.6vh, 30px);
    }
    /* Extra space above the logo strip lifts the headline, answer line,
       button and figures together (owner request, 25 November 2026, after
       the photograph was raised). */
    .hero__foot .trust {
      margin-top: clamp(40px, 6.2vh, 84px);
      padding-top: clamp(8px, 1.2vh, 18px);
    }
    .hero__foot .trust__item {
      min-height: clamp(34px, 4vh, 52px);
    }
  }

  /* Short landscape screens (laptops up to 780 or 800px tall, by rule):
     tighter logo cells and less space above the logo strip. The copy keeps
     its width-based sizes here (owner, 25 November 2026: larger H1, answer
     line and buttons). */
  @media (min-aspect-ratio: 23/20) and (max-height: 780px) {
    .hero__foot .trust__item {
      gap: 4px;
    }
  }
  @media (min-aspect-ratio: 23/20) and (max-height: 800px) {
    .hero__foot .trust {
      margin-top: 5.6vh;
    }
  }

  /* Phones held sideways: the whole photograph first, the copy below it. */
  @media (min-aspect-ratio: 23/20) and (max-height: 500px) {
    .hero {
      height: auto;
      min-height: 0;
    }
    .hero__media {
      position: relative;
      inset: auto;
      z-index: auto;
      width: 100%;
      aspect-ratio: 16 / 9;
      translate: none;
      -webkit-mask-image: none;
      mask-image: none;
    }
    .hero__foot {
      position: relative;
      inset: auto;
      padding-top: 20px;
    }
    .hero__line span {
      display: block;
    }
  }

  /* Portrait: the photograph becomes a feathered band in ink, centred on the
     car. The band takes the height the copy, the figures and the logo strip
     leave in the first screen (owner, 26 November 2026: "the as seen in and
     trusted by section has to appear above the fold"), between a floor that
     keeps the car readable and the 92.8vw it was before; on a screen too
     short for both, the band keeps its floor and the page runs on. Its
     width (the zoom on the car) is unchanged. */
  @media (max-aspect-ratio: 23/20) {
    .hero {
      display: flex;
      flex-direction: column;
      padding-top: calc(var(--rail-pad) + 30px);
    }
    .hero__media {
      flex: 1 1 0;
      min-height: clamp(150px, 38vw, 240px);
      max-height: 92.8vw;
      /* 16/9 of (100svh - 400px), multiplied out to three decimals: the
         rounded factors keep the zoom on the car exactly as it has always
         been. */
      width: clamp(100vw, calc(177.778svh - 711.111px), 165vw);
      margin: -14px 0 -28px 50%;
      translate: -50% 0;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
    }
    .hero__foot {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      margin-top: auto;
      padding: 0 var(--gutter) var(--rail-pad);
    }
    .hero__foot .trust {
      margin-top: 34px;
    }
  }
  /* Portrait screens with a portrait photograph (the 675LT door sill; owner,
     26 November 2026: "i wanted it to still be 4x5 aspect ratio", then "the
     right photo" of two mock-ups): the whole photograph at 4:5 directly
     under the fixed header, the full width of a phone (on a tablet capped
     so the logos still reach the first screen, and centred), its lower part
     darkening into the ink so the H1 laid over it reads; then the answer
     line and buttons, the logo strip, and the headshot and figures last.
     Nothing is trimmed from the photograph. */
  @media (max-aspect-ratio: 23/20) {
    /* The headshot and figures close the hero here, so the hero keeps some
       ink below them before the white services section. */
    .hero--has-portrait {
      padding-top: 70px;
      padding-bottom: 32px;
    }
    .hero--has-portrait .hero__media {
      flex: none;
      width: 100%;
      min-height: 0;
      max-height: none;
      aspect-ratio: 4 / 5;
      margin: 0 auto;
      translate: none;
      -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgb(0 0 0 / 0.35) 88%, rgb(0 0 0 / 0.2) 100%);
      mask-image: linear-gradient(to bottom, #000 62%, rgb(0 0 0 / 0.35) 88%, rgb(0 0 0 / 0.2) 100%);
    }
    .hero--has-portrait .hero__foot {
      margin-top: -116px;
    }
    .hero--has-portrait .cta-button--hero {
      margin-top: 14px;
    }
    .hero--has-portrait .hero__row {
      display: contents;
    }
    .hero--has-portrait .hero__intro {
      order: 1;
    }
    .hero--has-portrait .hero__foot .trust {
      order: 2;
      margin-top: 14px;
    }
    .hero--has-portrait .hero__aside {
      order: 3;
      margin-top: 26px;
    }
  }
  /* The fixed header is one line from 520px (60 to 64px tall). Tablets: the
     photograph no wider than leaves room for the copy and logos below it. */
  @media (max-aspect-ratio: 23/20) and (min-width: 520px) {
    .hero--has-portrait {
      padding-top: calc(44px + 2 * clamp(8px, 1vw, 14px));
    }
    .hero--has-portrait .hero__media {
      width: min(100%, calc((100svh - 400px) * 0.8));
      /* Narrower than the screen here, so its foot fades out completely and
         no box edge shows behind the heading. */
      -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgb(0 0 0 / 0.35) 84%, transparent 100%);
      mask-image: linear-gradient(to bottom, #000 62%, rgb(0 0 0 / 0.35) 84%, transparent 100%);
    }
  }
  /* Phones: the portrait photograph, whole at 4:5, tucked 2px under the
     fixed header (it sat 5px below it and a thin dark line showed; the
     header's height follows its two lines of text, 69.7px in Chrome, so
     flush alone left a sliver: owner, 27 November 2026). Since the same
     day every portrait hero shows the McLaren 675LT centre console here
     (owner: "that image looks much better on mobile than the homepage one,
     lets use it on the homepage too on mobile"), and the H1, the answer
     line and the buttons sit centred between the header and the headshot
     (owner: "equidistant from the header and the headshot"). This replaced
     home's 26 November layout, which was tuned to the door sill's 675LT
     badge (the H1 a short gap under the header, the buttons midway to the
     badge's lettering, the headshot 68px under its red stripe). Grid rows:
     an equal flexible space above the H1 and under the buttons, the H1,
     the answer line, 20px, the buttons, the headshot and figures, the logo
     strip. The photograph spans the first six rows and reaches down to the
     headshot: its bottom margin of the larger of 75px less 38.875vw and 7px
     less 21.25vw sets those rows to the space from the header to the
     headshot. Its top half stays at 56% strength behind the text, reaching
     full strength at two thirds, so the console's red controls show between
     the buttons and the headshot; its foot fades out under the headshot and
     figures. Tablets keep the layout above. */
  @media (max-aspect-ratio: 23/20) and (max-width: 519px) {
    .hero--has-portrait {
      display: grid;
      grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
      /* Space, H1, answer line, 20px, buttons, the same space, headshot and
         figures, logo strip. */
      grid-template-rows: minmax(12px, 1fr) auto auto 20px auto minmax(12px, 1fr) auto auto;
      min-height: 0;
    }
    /* Lengths that depend on the photograph's width are written in vw, not
       percentages: on a phone the photograph is exactly the viewport's
       width, and Safari leaves percentage margins inside calc() or max()
       out of a grid's row sizing (it drew the logo strip over the headshot
       and figures on the owner's iPhone, 26 November 2026), while vw is a
       plain length to every browser. The mask shows the photograph at 56%
       strength over the ink behind the text (the level set on 26 November
       2026 for the door sill: its answer line's worst pixel 4.66:1; the
       console behind the text is dark Alcantara and carbon, checked by eye
       in captures, 27 November 2026). */
    .hero--has-portrait .hero__media {
      grid-area: 1 / 1 / 7 / -1;
      margin-top: -2px;
      margin-bottom: max(calc(75px - 38.875vw), calc(7px - 21.25vw));
      -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.56) 0%, rgb(0 0 0 / 0.56) 50%, #000 66%, #000 84%, transparent 100%);
      mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.56) 0%, rgb(0 0 0 / 0.56) 50%, #000 66%, #000 84%, transparent 100%);
    }
    .hero--has-portrait .hero__foot,
    .hero--has-portrait .hero__row,
    .hero--has-portrait .hero__intro {
      display: contents;
    }
    .hero--has-portrait .hero__title,
    .hero--has-portrait .hero__line,
    .hero--has-portrait .hero__ctas {
      position: relative;
      z-index: 1;
    }
    .hero--has-portrait .hero__title {
      grid-area: 2 / 2;
      text-align: center;
    }
    /* Smaller on phones (owner: "Make the sub text smaller"): 15px from
       390px wide, 14px under 364px. */
    .hero--has-portrait .hero__line {
      grid-area: 3 / 2;
      justify-self: center;
      font-size: clamp(14px, 3.85vw, 15px);
      text-align: center;
    }
    /* The buttons in their own row between two equal flexible rows: the
       same space above them (to the answer line) as under them (to the
       badge's lettering). Smaller here: 44px tall, 16px type. */
    .hero--has-portrait .hero__ctas {
      grid-area: 5 / 1 / 6 / -1;
      justify-content: center;
      padding: 0 var(--gutter);
    }
    .hero--has-portrait .cta-button--hero {
      min-height: 44px;
      margin-top: 0;
      padding: 0 18px;
      font-size: 16px;
    }
    /* The outline button sits on the photograph; an ink fill keeps its
       label readable over it. */
    .hero--has-portrait .cta-button--ghost {
      background: rgb(10 11 13 / 0.72);
    }
    .hero--has-portrait .cta-button--ghost:hover {
      background: rgb(10 11 13 / 0.6);
    }
    /* The logo strip closes the hero, 20px under the headshot and figures,
       full width with the gutter inside; its label centred to match.
       Tighter inside on phones (10px above the label, 8px under it, each
       row of logos as tall as its tallest logo, 16px between the rows (10px
       until the owner asked, 26 November 2026, to "increase the gap
       slightly between the first line of logos and the second line"),
       nothing under them). */
    .hero--has-portrait .hero__foot .trust {
      grid-area: 8 / 1 / 9 / -1;
      row-gap: 8px;
      margin: 20px 0 0;
      padding-top: 10px;
      padding-bottom: 0;
    }
    .hero--has-portrait .trust--photo .trust__list {
      row-gap: 16px;
    }
    .hero--has-portrait .trust--photo .trust__item {
      min-height: 0;
    }
    .hero--has-portrait .trust__title {
      text-align: center;
    }
    /* The headshot and figures over the photograph's foot, full width with
       the gutter inside, where home's door-sill layout put them. The
       headshot is one size on every phone, with 4px above and below it,
       level with the top of its row (and the figures' first line), so
       "equidistant" holds to the headshot itself (centred, it sat 4 to 16px
       lower wherever the figures ran taller); the -4px takes back the 4px
       above it. */
    .hero--has-portrait .hero__aside {
      position: relative;
      grid-area: 7 / 1 / 8 / -1;
      align-items: flex-start;
      margin-top: -4px;
      padding-inline: var(--gutter);
    }
    .hero--has-portrait .hero__portrait {
      width: 64px;
      margin-block: 4px;
    }
    .hero--has-portrait .stat__full {
      display: none;
    }
    .hero--has-portrait .stat__short {
      display: inline;
    }
    .hero--has-portrait .stat__value {
      font-size: 22px;
    }
    .hero--has-portrait .stat__label {
      margin-top: 4px;
      font-size: 13px;
      line-height: 1.35;
    }
  }
  /* The answer line and the buttons settle into place with the H1: the
     intro box that carried the movement has no box of its own here. */
  @media (prefers-reduced-motion: no-preference) and (max-aspect-ratio: 23/20) and (max-width: 519px) {
    .hero--has-portrait .hero__line,
    .hero--has-portrait .hero__ctas {
      animation: print 380ms var(--ease-out) 80ms both;
    }
  }
  /* Phones under 360px wide: a 30px H1 (still above the section headings'
     28px) and a 13.5px answer line, so the text and the buttons keep room
     around them, and narrower buttons, so both share one row. */
  @media (max-aspect-ratio: 23/20) and (max-width: 359px) {
    .hero--has-portrait .hero__title {
      font-size: 30px;
    }
    .hero--has-portrait .hero__line {
      font-size: 13.5px;
    }
    .hero--has-portrait .hero__ctas {
      column-gap: 10px;
    }
    .hero--has-portrait .cta-button--hero {
      padding: 0 15px;
    }
  }
  /* Short portrait screens, up to 760px tall (a phone in a browser with its
     toolbars showing, about 664px; an iPhone SE, 667px): a lower floor for the band and
     tighter gaps, so the logo strip still ends inside the first screen. */
  @media (max-aspect-ratio: 23/20) and (max-height: 760px) {
    .hero__media {
      min-height: clamp(104px, 28vw, 140px);
    }
    .hero__row {
      gap: 16px;
    }
    .cta-button--hero {
      margin-top: 14px;
    }
    .hero__foot .trust {
      margin-top: 18px;
    }
  }

  /* Trust strip: evenly spaced logos on wide screens, a grid on narrow ones */
  .trust {
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(20px, 2.6vw, 52px);
    margin-top: clamp(20px, 2.6vw, 36px);
    padding-top: clamp(14px, 1.3vw, 20px);
  }
  /* The rule above the logos: accent red at the centre, fading to nothing at both
     ends (owner instruction, 24 November 2026). */
  .trust::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgb(196 22 28 / 0) 0%,
      var(--color-accent) 30%,
      var(--color-accent) 70%,
      rgb(196 22 28 / 0) 100%
    );
    pointer-events: none;
  }
  .trust__title {
    margin: 0;
    color: var(--fg-quiet);
  }
  .trust__title span {
    display: block;
  }
  .trust__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .trust__item {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 52px;
  }
  .trust__item img {
    display: block;
    width: calc(var(--w) * var(--logo-unit));
    max-width: 100%;
    height: auto;
    opacity: 0.92;
  }
  .trust__caption {
    font-size: 10.5px;
    font-stretch: 80%;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--fg);
  }
  /* iPad landscape widths: tighter caption tracking so all nine logos keep
     one row. Must follow the base rule (it used to sit before it and never
     applied); Geist has no condensed width, so its captions run wider than
     Archivo's did. */
  @media (min-width: 1000px) and (max-width: 1179px) {
    .trust__caption {
      letter-spacing: 0.06em;
    }
  }

  @media (max-width: 999px), (max-aspect-ratio: 23/20) {
    .trust {
      grid-template-columns: minmax(0, 1fr);
      row-gap: 12px;
    }
    .trust__title span {
      display: inline;
    }
  }
  @media (max-width: 999px) {
    .trust {
      --logo-unit: 0.88px;
    }
    .trust__list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px 0;
    }
    .trust__item {
      min-height: 44px;
    }
  }
  /* Home's eight logos on the hero: four to a row below 1000px, so they
     take two rows and the strip fits the first screen with the copy (owner,
     26 November 2026: "the logos can be smaller so 4 fit on one line and 4
     below"). Phones: smaller marks and captions. The service pages' strips
     keep their own grid. */
  @media (max-width: 999px) {
    .trust--photo .trust__list {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      column-gap: 12px;
    }
  }
  @media (max-width: 599px) {
    .trust--photo {
      --logo-unit: 0.6px;
    }
    .trust--photo .trust__list {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      column-gap: 10px;
      row-gap: 6px;
    }
    .trust--photo .trust__item {
      gap: 4px;
      min-height: 32px;
    }
    .trust--photo .trust__caption {
      font-size: 7.5px;
      letter-spacing: 0.1em;
    }
  }
  @media (max-width: 599px) {
    .trust__list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 16px;
      row-gap: 0;
    }
    .trust__item {
      min-height: 42px;
    }
    .trust__item:last-child:nth-child(odd) {
      grid-column: 1 / -1;
    }
  }

  /* WhatsApp: the round green WhatsApp icon fixed to the bottom-right
     corner of every page (owner, 25 November 2026). WhatsApp green #25D366
     appears only here, as the brand's own mark, not a site accent; the
     button's name is in visually hidden text. */
  .wa-button {
    position: fixed;
    right: max(16px, env(safe-area-inset-right) + 12px);
    bottom: max(16px, env(safe-area-inset-bottom) + 12px);
    z-index: 50;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.35);
    transition:
      background-color 160ms ease-out,
      scale 160ms ease-out,
      opacity 220ms ease-out,
      translate 220ms ease-out,
      visibility 0s linear 0s;
  }
  /* On a page with the hero, the button waits until the hero and its logo
     band have moved into the upper part of the screen (`data-past-hero`,
     set by ScrollState), so it never sits over a logo. Hidden from first
     paint, so there is no flash before the script runs. */
  html:has(.hero):not([data-past-hero]) .wa-button {
    opacity: 0;
    translate: 0 12px;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 220ms ease-out,
      translate 220ms ease-out,
      visibility 0s linear 220ms;
  }
  @media (prefers-reduced-motion: reduce) {
    .wa-button,
    html:has(.hero):not([data-past-hero]) .wa-button {
      translate: none;
      transition: none;
    }
  }
  a.wa-button:hover {
    background: #1fbe5a;
    scale: 1.06;
  }
  a.wa-button:focus-visible {
    outline: 2px solid var(--fg);
    outline-offset: 3px;
  }
  /* The WhatsApp glyph in the button's white, from --icon-whatsapp. */
  .wa-button::before {
    content: "";
    width: 31px;
    height: 31px;
    background-color: currentColor;
    -webkit-mask: var(--icon-whatsapp) center / 31px 31px no-repeat;
    mask: var(--icon-whatsapp) center / 31px 31px no-repeat;
  }
  @media (min-width: 1000px) {
    .wa-button {
      right: 24px;
      bottom: 24px;
    }
  }
  /* Wide landscape screens: the logo strip sits at the bottom of the first
     screen, where the fixed button lands. Keep the strip's right end clear
     (button 56px + 24px offset + 16px air, less the page gutter), so What
     Car? is never covered. */
  @media (min-width: 1000px) and (min-aspect-ratio: 23/20) {
    .hero__foot .trust__list {
      padding-right: calc(96px - var(--gutter));
    }
  }
  @media (min-width: 1000px) and (max-width: 1179px) and (min-aspect-ratio: 23/20) {
    .hero__foot .trust__list {
      gap: 12px;
    }
  }
  /* Development only, if the number is ever unset. */
  .wa-button--pending {
    cursor: help;
  }

  /* Service pages (owner, 26 November 2026: "all service pages to have as
     seen in and trusted by logos"): the home strip's row under the opening,
     on the white page, with the page's four logos in black. The red fading
     rule stays above it, as on home. Logos sit together after the label
     rather than spread across the row, since there are only four. */
  .trust--page {
    margin: 0 var(--gutter) clamp(64px, 6.4vw, 104px);
  }
  .trust--page .trust__item img {
    filter: brightness(0);
    opacity: 0.86;
  }
  @media (min-width: 1000px) and (min-aspect-ratio: 23/20) {
    .trust--page .trust__list {
      justify-content: flex-start;
      gap: clamp(36px, 4.6vw, 80px);
    }
  }
  /* Where the label sits above the logos (phones, tablets and portrait
     screens), it is centred over them (owner, 26 November 2026: "make sure
     that the "as seen in & trusted by" is centred in the middle of the
     screen"); the four logos run two by two on a phone (the strip grid
     below 600px) and four across from 600px, so no logo sits alone on a
     row. */
  @media (max-width: 999px), (max-aspect-ratio: 23/20) {
    .trust--page .trust__title {
      text-align: center;
    }
  }
  @media (min-width: 600px) and (max-width: 999px) {
    .trust--page .trust__list {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .hero__foot:has(.trust--photo) {
    padding-bottom: 0;
  }
  /* Logo band on the photograph (owner, 25 November 2026: "extend the hero
     image down so that it replaces the white 'as seen in' bar, put those
     logos on top of the newly extended hero but in white"). The white
     band's geometry (full bleed, its own padding, the red fading rule on
     its lower edge) with no fill: the photograph runs behind it and the
     label and logos take the hero's paper. (The white band itself, the
     unused `trust--light` rules, went on 26 November 2026; see the backup
     in the branch log, item 99.) */
  .trust--photo {
    margin-inline: calc(-1 * var(--gutter));
    padding: clamp(14px, 1.8vh, 24px) var(--gutter) clamp(12px, 1.8vh, 28px);
  }
  /* The red fading rule sits above the logos here, a subtle divider from
     the hero copy (owner, 25 November 2026: "put the red line above the
     logos to separate it subtly"): the strip's own top rule, 1.5px. */
  .trust--photo::before {
    height: 1.5px;
  }
  /* Label in full paper at 700 (owner: "make the 'as seen in & trusted by'
     bolder so easier to read"). */
  .trust--photo .trust__title {
    font-weight: 700;
    color: var(--fg);
  }

  /* Section 1: services. Three photo-led cards, no boxes: the photograph,
     the heading, the copy and one link whose hit area covers the card. */
  /* Top space halved (owner, 25 November 2026: less gap under the hero). */
  .services {
    padding: clamp(48px, 5vw, 84px) var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  .services__head,
  .cases__head,
  .coverage__head {
    margin-bottom: clamp(44px, 5vw, 80px);
  }
  /* Section headings: 28px on phones, about 36px at 1440, 40px from about
     1720 (owner's checklist, 25 November 2026: "bump the <h2> up to around
     32px-40px so it clearly anchors the entire section"). */
  .services__title,
  .cases__title,
  .coverage__title,
  .testimonials__title,
  .featured__title,
  .faq__title {
    margin: 0;
    max-width: 30ch;
    font-size: clamp(28px, 1.4vw + 16px, 40px);
    font-weight: 460;
    letter-spacing: -0.018em;
    line-height: 1.08;
    text-wrap: balance;
  }
  /* Sections whose head is the heading alone carry the space on the heading
     (the wrapper divs went on 26 November 2026); the testimonials carry it on
     their one-line intro (27 November 2026). */
  .faq__title {
    margin-bottom: clamp(44px, 5vw, 80px);
  }
  .services__intro,
  .cases__intro,
  .coverage__intro,
  .testimonials__intro,
  .featured__intro {
    margin: clamp(18px, 1.6vw, 26px) 0 0;
    max-width: 62ch;
    font-size: clamp(16px, 0.35vw + 14px, 19px);
    line-height: 1.55;
    color: var(--fg-quiet);
  }
  /* After the shared rule, whose margin shorthand would reset it */
  .testimonials__intro,
  .featured__intro {
    margin-bottom: clamp(44px, 5vw, 80px);
  }
  .services__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .service-card {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .service-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--placeholder);
  }
  .service-card__img,
  .case__img {
    object-fit: cover;
    transition: transform 900ms var(--ease-out);
  }
  .service-card:hover .service-card__img,
  .service-card:focus-within .service-card__img,
  .case:hover .case__img,
  .case:focus-within .case__img {
    transform: scale(1.035);
  }
  .service-card__title {
    margin: clamp(20px, 1.8vw, 28px) 0 0;
    font-size: clamp(20px, 0.55vw + 15px, 24px);
    font-weight: 500;
    letter-spacing: -0.008em;
    line-height: 1.25;
    text-wrap: balance;
  }
  .service-card__copy {
    margin: 10px 0 0;
    max-width: 46ch;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-quiet);
  }
  .service-card__link,
  .case__link {
    display: inline-flex;
    align-self: flex-start;
    justify-self: start;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 520;
    letter-spacing: 0.005em;
    text-decoration: none;
  }
  .service-card__link::after,
  .case__link::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  /* The site's small icons, each drawn once here instead of repeated
     inline SVG (clean-html pass, 26 November 2026). They are masks over the
     text colour, so they follow the link's colour as the SVG strokes did.
     Same geometry as the old inline SVGs (viewBox, 1.5 stroke, round ends). */
  :root {
    --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
    --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h10M6 1v10' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    --icon-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
  }
  /* The arrow after every "leads on" link: service cards, case cards,
     testimonials and the About page's "Explore Case Studies". On the cards
     it is the link's ::before, moved after the label with `order`, because
     the ::after is the card's stretched hit area. */
  .service-card__link::before,
  .case__link::before,
  .testimonial__tail::after,
  .quote__more::after {
    content: "";
    flex: none;
    width: 20px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask: var(--icon-arrow) center / 20px 10px no-repeat;
    mask: var(--icon-arrow) center / 20px 10px no-repeat;
    transition: translate 300ms var(--ease-out);
  }
  .service-card__link::before,
  .case__link::before {
    order: 1;
  }
  .service-card:hover .service-card__link::before,
  .service-card__link:focus-visible::before,
  .case:hover .case__link::before,
  .case__link:focus-visible::before {
    translate: 5px 0;
  }

  /* Tablets: each card becomes a row, photograph left, words right. */
  @media (min-width: 600px) and (max-width: 899px) {
    .services__list {
      gap: 48px;
    }
    .service-card {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
      grid-template-rows: auto auto auto;
      grid-template-areas: "media title" "media copy" "media link";
      align-content: center;
      column-gap: clamp(24px, 4vw, 40px);
    }
    .service-card__media {
      grid-area: media;
      aspect-ratio: 4 / 3;
    }
    .service-card__title {
      grid-area: title;
      margin-top: 0;
    }
    .service-card__copy {
      grid-area: copy;
    }
    .service-card__link {
      grid-area: link;
      align-self: start;
    }
  }
  @media (min-width: 900px) {
    .services__list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0 clamp(24px, 2.4vw, 44px);
    }
    /* Photograph, heading, copy and link share rows across the three cards. */
    .service-card {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
    }
    /* Square in three columns (owner's checklist, 25 November 2026), so a
       whole card (photograph, title, copy, link) fits one laptop screen
       below the sticky header. Phones keep 4:5; tablets keep the 4:3 row. */
    .service-card__media {
      aspect-ratio: 1 / 1;
      /* Short laptops (1280x720): the photograph gives up a little height
         so the card still fits; it never drops below 260px. */
      width: 100%;
      max-height: max(260px, calc(100svh - 370px));
    }
    .service-card__title {
      max-width: 22ch;
    }
    .service-card__link {
      align-self: start;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .service-card__img,
    .service-card__link::before,
    .case__img,
    .case__link::before,
    .quote__more::after {
      transition: none;
    }
    .service-card:hover .service-card__img,
    .service-card:focus-within .service-card__img,
    .case:hover .case__img,
    .case:focus-within .case__img {
      transform: none;
    }
  }

  /* Section 2: case studies. Four photo-led cards, two by two from 700px.
     The title pairs the client (paper) with the project (quiet paper); the
     owner's tag and deliverables close each card as a two-row list. Shared
     card rules live with Section 1 above. */
  .cases {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  .cases__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .case {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .case__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--placeholder);
  }
  /* The owner's tag as a small category label above the title (owner's
     checklist, 25 November 2026: "a clean, high-contrast eyebrow label right
     above each h3"). Ink on a faint tint, the site's 2px radius. */
  .case__tag {
    align-self: flex-start;
    justify-self: start;
    margin: clamp(18px, 1.6vw, 24px) 0 0;
    padding: 5px 9px 4px;
    border-radius: 2px;
    background: rgb(var(--fg-rgb) / 0.07);
    color: var(--fg);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
  }
  .case__title {
    margin: 12px 0 0;
    font-size: clamp(20px, 0.55vw + 15px, 24px);
    font-weight: 500;
    letter-spacing: -0.008em;
    line-height: 1.25;
    text-wrap: balance;
  }
  .case__client,
  .case__project {
    display: block;
  }
  .case__project {
    font-weight: 400;
    color: var(--fg-quiet);
  }
  .case__summary {
    margin: 12px 0 0;
    max-width: 54ch;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(var(--fg-rgb) / 0.8);
  }
  .service-card__copy strong,
  .svc-open__copy strong,
  .case__summary strong {
    font-weight: 500;
    color: var(--fg);
  }
  /* Category (the owner's tag) and Deliverables: label voice beside a paper
     line, labels sharing one column so the two rows align. */
  .case__facts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: baseline;
    gap: 8px 18px;
    margin: 20px 0 0;
  }
  .case__facts dt {
    color: rgb(var(--fg-rgb) / 0.8);
  }
  .case__facts dd {
    margin: 0;
    max-width: 54ch;
    font-size: 15px;
    line-height: 1.5;
  }
  @media (min-width: 700px) {
    .cases__list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0 clamp(24px, 3vw, 56px);
    }
    /* Photograph, tag, title, summary, deliverables and link share rows
       across each pair of cards. */
    .case {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
    }
    .case:nth-child(n + 3) .case__media {
      margin-top: clamp(64px, 7vw, 112px);
    }
    .case__link {
      align-self: start;
    }
  }

  /* Section 3: about. The owner's portrait left with the name as its
     caption (label voice), heading, copy and three figures right. Stacked
     below 900px, photograph first. */
  .about {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  .about__figure {
    margin: 0;
  }
  .about__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--placeholder);
  }
  .about__img {
    object-fit: cover;
  }
  .about__title {
    margin: 0;
    max-width: 24ch;
    font-size: clamp(24px, 0.9vw + 16px, 30px);
    font-weight: 460;
    letter-spacing: -0.018em;
    line-height: 1.12;
    text-wrap: balance;
  }
  .about__copy {
    margin: 20px 0 0;
    max-width: 60ch;
    font-size: clamp(15.5px, 0.25vw + 14px, 17px);
    line-height: 1.65;
    color: var(--fg-quiet);
  }
  .about__copy + .about__copy {
    margin-top: 16px;
  }
  .about__copy strong {
    font-weight: 500;
    color: var(--fg);
  }
  .about__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin: clamp(36px, 3.4vw, 52px) 0 0;
    padding-top: clamp(28px, 2.6vw, 40px);
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .about__stat-value {
    font-size: clamp(26px, 1.4vw + 16px, 36px);
    font-weight: 460;
    letter-spacing: -0.012em;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
  }
  .about__stat-label {
    margin: 8px 0 0;
    max-width: 26ch;
    font-size: 14px;
    line-height: 1.45;
    color: var(--fg-quiet);
  }
  @media (min-width: 560px) {
    .about__stats {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0 clamp(18px, 2vw, 32px);
    }
  }
  @media (min-width: 900px) {
    .about {
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
      gap: clamp(40px, 5vw, 96px);
      align-items: center;
    }
  }

  /* About page (/about; owner's brief, 25 November 2026). An opening with
     the eyebrow, H1 and lead beside the hangar portrait (portrait on the
     left from 900px, text first in the page order), a ruled four-figure
     proof bar, the story with the owner's own words under a red rule, the
     craft (Evo VI photograph beside the ownership paragraph, the three
     working points beside the marketing paragraph), the recognition list,
     "Off the clock", then the quote section. Headings take the display
     voice and labels the small capitals (shared blocks). The H1 stays
     larger than the section headings, as on home. */
  /* The opening holds the text, the three proof points and the portrait.
     Phones and portrait screens: that order, so the points sit straight
     under the lead, on the first screen of a typical phone. */
  .abt-open {
    display: grid;
    grid-template-areas: "text" "proof" "figure";
    gap: 28px;
    padding: clamp(112px, 11vw, 168px) var(--gutter) clamp(48px, 5vw, 80px);
  }
  .abt-open__text {
    grid-area: text;
  }
  .abt-open__figure {
    grid-area: figure;
  }
  .abt-eyebrow {
    margin: 0 0 clamp(14px, 1.4vw, 22px);
    color: var(--fg-quiet);
  }
  .abt-eyebrow__sep {
    margin: 0 0.7em;
  }
  .abt-open__title {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(33px, 2.2vw + 14px, 48px);
    text-wrap: balance;
  }
  .abt-open__lead {
    margin: clamp(18px, 1.6vw, 26px) 0 0;
    max-width: 56ch;
    font-size: clamp(16px, 0.4vw + 14px, 19px);
    line-height: 1.6;
    color: var(--fg-quiet);
  }
  .abt-open__lead strong,
  .abt-copy strong,
  .abt-points__copy strong,
  .abt-record__list strong,
  .ed-copy strong,
  .ed-points__copy strong,
  .ed-spec strong {
    font-weight: 500;
    color: var(--fg);
  }
  .abt-open__figure,
  .abt-craft__figure {
    margin: 0;
  }
  .abt-open__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--placeholder);
  }
  .abt-open__img,
  .abt-craft__img {
    object-fit: cover;
  }

  .abt-proof {
    grid-area: proof;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(14px, 2vw, 32px);
    margin: 0;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .abt-proof__item {
    padding: clamp(16px, 2vw, 30px) 0;
  }
  .abt-proof__value {
    font-size: clamp(19px, 0.8vw + 13px, 26px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  .abt-proof__label {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--fg-quiet);
  }

  .abt-story,
  .abt-craft,
  .abt-record,
  .abt-off {
    padding: clamp(72px, 8vw, 136px) var(--gutter) 0;
  }
  /* The quote section has no top padding of its own. */
  .abt-off {
    padding-bottom: clamp(88px, 9vw, 150px);
  }
  .abt-h2,
  .ed-h2 {
    margin: 0;
    max-width: 26ch;
    font-size: clamp(24px, 0.9vw + 16px, 30px);
    text-wrap: balance;
  }
  .abt-h3 {
    margin: 0;
    max-width: 30ch;
    font-size: clamp(18px, 0.5vw + 14px, 22px);
    text-wrap: balance;
  }
  .abt-copy,
  .ed-copy {
    margin: 18px 0 0;
    max-width: 62ch;
    font-size: clamp(15.5px, 0.25vw + 14px, 17px);
    line-height: 1.65;
    color: var(--fg-quiet);
  }
  .abt-copy + .abt-copy,
  .ed-copy + .ed-copy {
    margin-top: 16px;
  }
  .abt-quote,
  .ed-quote {
    margin: clamp(28px, 3vw, 44px) 0 0;
    padding-left: clamp(18px, 1.8vw, 28px);
    /* A hairline, not a red stripe (pre-launch review, 27 November 2026:
       DESIGN.md keeps red off container borders). */
    border-left: 1px solid rgb(var(--fg-rgb) / 0.2);
  }
  .abt-quote__text,
  .ed-quote__text {
    margin: 0;
  }
  .abt-quote__text p,
  .ed-quote__text p {
    margin: 0;
    max-width: 40ch;
    font-size: clamp(19px, 0.8vw + 13px, 25px);
    font-style: italic;
    line-height: 1.45;
    text-wrap: pretty;
  }
  .abt-quote__by,
  .ed-quote__by {
    margin-top: 14px;
    color: var(--fg-quiet);
  }

  .abt-craft__row {
    display: grid;
    gap: 28px;
    margin-top: clamp(32px, 3.4vw, 52px);
  }
  /* Square, the photograph's own shape: the owner's Evo VI sits low in the
     frame under tall pines and stars, so any wider crop loses the sky. */
  .abt-craft__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--placeholder);
  }
  .abt-craft__block .abt-copy {
    margin-top: 14px;
  }
  .abt-points,
  .ed-points {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .abt-points__item,
  .ed-points__item {
    display: grid;
    gap: 6px;
    padding: 18px 0;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .abt-points__title,
  .ed-points__title {
    font-size: 16px;
    font-weight: 600;
  }
  .abt-points__copy,
  .ed-points__copy {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--fg-quiet);
  }

  .abt-record__list,
  .ed-spec {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: clamp(28px, 3vw, 44px) 0 0;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .abt-record__list dt,
  .ed-spec dt {
    padding-top: 18px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
    color: var(--fg-quiet);
  }
  .abt-record__list dd,
  .ed-spec dd {
    margin: 0;
    padding: 6px 0 18px;
    max-width: 62ch;
    font-size: clamp(16px, 0.3vw + 14.5px, 18px);
    line-height: 1.55;
    color: var(--fg-quiet);
  }
  /* A case study link under a recognition line (the owner's Porsche Centre
     Aberdeen plan, 26 November 2026: link the case study from /about with
     descriptive anchor text). */
  .abt-record__link {
    display: block;
    width: fit-content;
    margin-top: 6px;
    padding: 4px 0;
    font-size: 15px;
    color: var(--fg);
    text-decoration: underline;
    text-decoration-color: rgb(var(--fg-rgb) / 0.35);
    text-underline-offset: 4px;
  }
  .abt-record__link:hover {
    text-decoration-color: currentColor;
  }

  /* A text link under the quote section's line (the About page's "Explore
     Case Studies"). */
  .quote__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: clamp(16px, 1.4vw, 22px);
    padding: 6px 0;
    font-size: 15px;
    font-weight: 520;
    letter-spacing: 0.005em;
    text-decoration: underline;
    text-decoration-color: rgb(var(--fg-rgb) / 0.35);
    text-underline-offset: 4px;
  }
  .quote__more:hover {
    text-decoration-color: currentColor;
  }
  .quote__more:hover::after,
  .quote__more:focus-visible::after {
    translate: 5px 0;
  }

  @media (min-width: 760px) {
    .abt-record__list,
    .ed-spec {
      grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1fr);
    }
    .abt-record__list dt,
    .abt-record__list dd,
    .ed-spec dt,
    .ed-spec dd {
      padding: 20px 0;
      border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
    }
    .abt-record__list dt,
    .ed-spec dt {
      padding-right: clamp(20px, 3vw, 48px);
      line-height: 28px;
    }
  }
  @media (min-width: 900px) {
    .abt-story,
    .abt-off,
    .ed-story {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
      gap: clamp(40px, 6vw, 112px);
      align-items: start;
    }
    .abt-story__body > .abt-copy:first-child,
    .ed-story__body > :first-child,
    .abt-off__copy {
      margin-top: 0;
    }
    .abt-craft__row {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
      gap: clamp(40px, 6vw, 112px);
      align-items: center;
    }
    /* The Evo on the right, so the page alternates with the portrait on the
       left at the top; it still comes first in the page order. */
    .abt-craft__figure {
      grid-column: 2;
      grid-row: 1;
    }
    .abt-craft__figure + .abt-craft__block {
      grid-column: 1;
      grid-row: 1;
    }
    .abt-craft__media {
      max-height: 80vh;
    }
    .abt-craft__row--points {
      align-items: start;
      margin-top: clamp(56px, 6vw, 96px);
    }
  }

  /* About opening on landscape screens from 900px wide: the portrait on the
     left, the text on the right, the three proof points across the foot,
     and the whole block exactly one screen tall, so the points are always
     on the first screen (owner, 25 November 2026: "make sure that the
     remaining 3 points appear above the fold on initial load"). The
     portrait takes whatever height is left (row 1 is 1fr) and is cropped to
     it; row 1 never gets shorter than the text, so on a very short screen
     the block grows rather than overlapping. */
  @media (min-width: 900px) and (min-aspect-ratio: 23/20) {
    .abt-open {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
      grid-template-rows: 1fr auto;
      grid-template-areas: "figure text" "proof proof";
      gap: clamp(20px, 3vh, 40px) clamp(40px, 6vw, 112px);
      min-height: 100svh;
      padding-top: clamp(96px, 6vw + 24px, 128px);
      padding-bottom: clamp(16px, 2.6vh, 32px);
    }
    .abt-open__text {
      align-self: center;
    }
    .abt-open__figure {
      display: flex;
      flex-direction: column;
      min-height: 0;
    }
    .abt-open__media {
      flex: 1 1 auto;
      min-height: 0;
      aspect-ratio: auto;
    }
    .abt-open__img {
      object-position: 50% 58%;
    }
  }

  /* Home FAQ (owner, 25 November 2026), above the quote form: the
     section heading, then the questions as a ruled list of <details>. A
     question is a full-width row with a plus that turns into a cross when
     open (red on hover and focus); the answer is quiet text with the
     owner's bold names. Same spacing as the other home sections. */
  .faq {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  .faq__list {
    max-width: 62rem;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .faq__item {
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(18px, 1.8vw, 26px) 0;
    font-size: clamp(17px, 0.4vw + 15px, 20px);
    font-weight: 550;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
  }
  .faq__question::-webkit-details-marker {
    display: none;
  }
  .faq__question:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }
  /* The plus beside each question (the summary's ::after, drawn from
     --icon-plus); it turns into a cross when the answer is open. */
  .faq__question::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: var(--icon-plus) center / 14px 14px no-repeat;
    mask: var(--icon-plus) center / 14px 14px no-repeat;
    transition:
      rotate 240ms var(--ease-out),
      color 160ms ease-out;
  }
  .faq__question:hover::after,
  .faq__question:focus-visible::after {
    color: var(--accent-text);
  }
  .faq__item[open] .faq__question::after {
    rotate: 45deg;
  }
  .faq__answer {
    margin: 0;
    max-width: 68ch;
    padding: 0 0 clamp(22px, 2vw, 30px);
    font-size: clamp(15.5px, 0.25vw + 14px, 17px);
    line-height: 1.65;
    color: var(--fg-quiet);
  }
  .faq__answer strong {
    font-weight: 500;
    color: var(--fg);
  }
  @media (prefers-reduced-motion: reduce) {
    .faq__question::after {
      transition: none;
    }
  }

  /* Section 4: regional coverage. The owner's four regions as rows under
     faint paper hairlines: a three-column table from 900px with a label
     header row, stacked below with the hubs labelled in place. */
  .coverage {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  /* A real table (owner's SEO spec, 26 November 2026) laid out with block
     and grid boxes, so each row can be a three-column grid on wide screens
     and stack below. */
  .coverage__table,
  .coverage__table thead,
  .coverage__list {
    display: block;
  }
  /* The header row: for screen readers only below 900px, where each region
     labels its own hubs; visible above. */
  .coverage__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .coverage__labels {
    color: var(--fg-quiet);
  }
  .coverage__labels th {
    font-weight: inherit;
    text-align: start;
  }
  .coverage__list {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .region {
    display: grid;
    gap: 10px;
    padding: 28px 0 32px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .region__name {
    margin: 0;
    text-align: start;
    font-size: clamp(19px, 0.5vw + 15px, 23px);
    font-weight: 500;
    letter-spacing: -0.008em;
    line-height: 1.25;
  }
  .region__hubs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
  }
  /* Below 900px the hubs cell names its column above the cities, from its
     data-label. The empty alternative text keeps screen readers from reading
     it as well as the column header (the first line is for browsers that do
     not support alternative text). */
  .region__hubs::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    color: var(--fg-quiet);
  }
  .region__context {
    margin: 4px 0 0;
    max-width: 60ch;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--fg-quiet);
  }
  .region__context strong {
    font-weight: 500;
    color: var(--fg);
  }
  @media (min-width: 900px) {
    .coverage__labels,
    .region {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.5fr);
      column-gap: clamp(24px, 3vw, 56px);
    }
    .coverage__labels {
      display: grid;
      padding-bottom: 16px;
    }
    .region {
      align-items: start;
      padding: 32px 0 36px;
    }
    .coverage__table thead {
      position: static;
      width: auto;
      height: auto;
      overflow: visible;
      clip-path: none;
      white-space: normal;
    }
    /* The header row names the columns on wide screens. */
    .region__hubs::before {
      display: none;
    }
    .region__context {
      margin: 0;
    }
  }

  /* Section 6: the quote banner. The last ask before the footer: the
     owner's question, one line, the red button and (once supplied) direct
     email and phone. Set off from the coverage rows by space, not a box. */
  .quote {
    display: grid;
    gap: clamp(28px, 4vw, 40px);
    padding: 0 var(--gutter) clamp(96px, 10vw, 168px);
    background: var(--bg);
  }
  /* Same size as the other section headings, so every page's H1 stays the
     largest heading (owner, 25 November 2026: the H1 larger than the
     section headings; this one had been clamp(28px, 2.2vw + 14px, 46px),
     level with or above the H1 at laptop widths). */
  .quote__title {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(28px, 1.4vw + 16px, 40px);
    font-weight: 460;
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-wrap: balance;
  }
  .quote__copy {
    margin: clamp(18px, 1.6vw, 26px) 0 0;
    max-width: 52ch;
    font-size: clamp(16px, 0.35vw + 14px, 19px);
    line-height: 1.55;
    color: var(--fg-quiet);
  }
  .cta-button--quote {
    min-height: 48px;
    padding: 0 26px;
    font-size: 16px;
  }
  /* Direct contact and the owner's reassurances under the line (owner,
     25 November 2026), filling the space beside the form: a ruled list,
     small-caps labels beside their values when the column is wide enough,
     stacked otherwise. Labels share the small-caps style near the top of
     this file. */
  .quote__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
    margin: clamp(28px, 3vw, 44px) 0 0;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.14);
    font-size: 16px;
    line-height: 1.5;
  }
  .quote__details dt,
  .quote__details dd {
    margin: 0;
  }
  .quote__details dt {
    padding-top: 14px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.14);
    color: rgb(var(--fg-rgb) / 0.62);
  }
  .quote__details dd {
    padding: 2px 0 14px;
    overflow-wrap: anywhere;
  }
  /* Labels beside values only when the column has room for the email
     address on one line (about 500px): the left column of the quote section
     is narrower than that from 1000 to about 1300px wide. */
  .quote__lead,
  .contact__lead {
    container-type: inline-size;
  }
  @container (min-width: 520px) {
    .quote__details {
      grid-template-columns: max-content minmax(0, 1fr);
    }
    /* Same 24px line for label and value, so the small capitals sit level
       with the first line of the value; the rule runs under both. */
    .quote__details dt,
    .quote__details dd {
      padding: 14px 0;
      border-top: 1px solid rgb(var(--fg-rgb) / 0.14);
      line-height: 24px;
    }
    .quote__details dt {
      padding-right: clamp(20px, 2.4vw, 40px);
    }
  }
  .quote__details a,
  .site-footer__contact a {
    text-decoration: underline;
    text-decoration-color: rgb(var(--fg-rgb) / 0.35);
    text-underline-offset: 4px;
  }
  .quote__details a:hover,
  .site-footer__contact a:hover {
    text-decoration-color: currentColor;
  }

  /* Site footer, every page. Brand and place, then the owner's three link
     columns; four columns from 1000px, two from 600px, stacked below. */
  .site-footer {
    position: relative;
    isolation: isolate;
    padding: clamp(56px, 5vw, 80px) var(--gutter) 32px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
    background: var(--bg);
  }
  /* Chequered flag behind the footer (owner, 25 November 2026: "a subtle
     chequered flag background for the footer"). A waving flag drawn as an
     alpha mask (public/images/chequered-flag-pattern.svg, generated by
     docs/brand/render/chequered-flag.py) over a whisper of the foreground
     colour, so it follows the theme. It fades out towards the left, leaving
     the name and first columns on clean ground; the wave keeps it from
     reading as a transparency grid. Decorative only. */
  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(var(--fg-rgb) / 0.075);
    -webkit-mask: url("/images/chequered-flag-pattern.svg") right bottom / 1600px 800px no-repeat;
    mask: url("/images/chequered-flag-pattern.svg") right bottom / 1600px 800px no-repeat;
    pointer-events: none;
  }
  @media (max-width: 999px) {
    .site-footer::before {
      -webkit-mask-size: 1100px 550px;
      mask-size: 1100px 550px;
    }
  }
  .site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .site-footer__mark {
    white-space: normal;
  }
  .site-footer__who,
  .site-footer__place,
  .site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 18px 0 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--fg-quiet);
  }
  .site-footer__name {
    color: var(--fg);
    font-weight: 500;
  }
  .site-footer__place {
    margin-top: 14px;
  }
  .site-footer__contact {
    color: var(--fg);
    font-style: normal;
    overflow-wrap: anywhere;
  }
  .site-footer__title {
    margin: 0 0 16px;
    color: var(--fg-quiet);
  }
  .site-footer__links {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site-footer__socials {
    margin-top: 22px;
  }
  .site-footer__link {
    font-size: 14.5px;
    line-height: 1.45;
    text-decoration: none;
    text-underline-offset: 4px;
  }
  .site-footer__link:hover {
    text-decoration: underline;
    text-decoration-color: rgb(var(--fg-rgb) / 0.5);
  }
  /* Phones: each link group closes to its name, a full-width button with a
     chevron, so the footer is the name, the contact details and three rows
     (owner, 26 November 2026: "the footer is very long on mobile"). Only
     once site.js has marked the footer; without it every link shows. */
  .site-footer__toggle {
    display: none;
  }
  @media (max-width: 599px) {
    .site-footer[data-collapsible] .site-footer__grid {
      row-gap: 0;
    }
    .site-footer[data-collapsible] .site-footer__brand {
      margin-bottom: 32px;
    }
    .site-footer[data-collapsible] .site-footer__title {
      display: none;
    }
    .site-footer[data-collapsible] .site-footer__toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      min-height: 48px;
      margin: 0;
      padding: 0;
      border: 0;
      border-top: 1px solid rgb(var(--fg-rgb) / 0.14);
      background: none;
      color: var(--fg);
      font-family: inherit;
      text-align: left;
      cursor: pointer;
    }
    .site-footer[data-collapsible] .site-footer__col:last-child {
      border-bottom: 1px solid rgb(var(--fg-rgb) / 0.14);
    }
    .site-footer[data-collapsible] .site-footer__col:not(.is-open) .site-footer__links {
      display: none;
    }
    .site-footer[data-collapsible] .site-footer__links {
      padding: 2px 0 18px;
    }
    /* The last group's rule closes the list, so the copyright line follows
       it without a second rule. */
    .site-footer[data-collapsible] .site-footer__legal {
      margin-top: 0;
      padding-top: 24px;
      border-top: 0;
    }
  }
  .site-footer__chevron {
    flex: none;
    width: 10px;
    height: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: rotate 160ms ease-out;
  }
  .site-footer__toggle[aria-expanded="true"] .site-footer__chevron {
    rotate: 180deg;
  }
  @media (prefers-reduced-motion: reduce) {
    .site-footer__chevron {
      transition: none;
    }
  }
  .site-footer__legal {
    margin: clamp(48px, 5vw, 72px) 0 0;
    padding-top: 20px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.1);
    font-size: 13px;
    color: var(--fg-quiet);
  }
  @media (min-width: 600px) {
    .site-footer__links {
      gap: 10px;
    }
    .site-footer__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 48px clamp(24px, 4vw, 56px);
    }
  }
  /* The brand column never drops below 19rem, the width of the email
     address on one line (295px at 14.5px; owner's address, 25 November
     2026); from about 1240px wide its 1.3fr share is wider anyway. */
  @media (min-width: 1000px) {
    .site-footer__grid {
      grid-template-columns: minmax(19rem, 1.3fr) repeat(3, minmax(0, 1fr));
    }
  }

  /* Quote request form (home banner and /contact). Native fields with
     hairline boxes, labels in the foreground colour, hints quiet. No red:
     an error is a full-strength border plus the message.
     The whole form sits in a box (owner, 25 November 2026: "put the quote
     form in a box"): a faint tint of the foreground over the ground, a
     hairline edge and the system's 2px radius, with the fields set back
     to the ground colour so they read against it. Theme-aware: light grey
     on the white page, a lifted ink on dark grounds. */
  .quote-form {
    min-width: 0;
    padding: clamp(22px, 2.6vw, 44px);
    border: 1px solid rgb(var(--fg-rgb) / 0.14);
    border-radius: 2px;
    background: rgb(var(--fg-rgb) / 0.035);
  }
  .quote-form .quote-form__input {
    background-color: var(--bg);
  }
  .quote-form__summary:empty {
    display: none;
  }
  .quote-form__summary {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid var(--fg);
    border-radius: 2px;
    font-size: 15px;
    line-height: 1.5;
  }
  .quote-form__summary:focus {
    outline: none;
  }
  .quote-form__summary p {
    margin: 0;
  }
  .quote-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px 20px;
  }
  /* Each field is label, hint, box, error. From 600px the two fields on a
     row share those four rows (subgrid), so the boxes line up whether or
     not a field has a hint or an error. Empty hint and error slots take no
     space. */
  .quote-form__field {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .quote-form__hint:empty,
  .quote-form__error:empty {
    display: none;
  }
  .quote-form__label {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
  }
  .quote-form__hint {
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--fg-quiet);
  }
  .quote-form__input {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid rgb(var(--fg-rgb) / 0.28);
    border-radius: 2px;
    background: rgb(var(--fg-rgb) / 0.03);
    color: var(--fg);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 160ms ease-out;
  }
  .quote-form__input:hover {
    border-color: rgb(var(--fg-rgb) / 0.5);
  }
  .quote-form__input:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 1px;
    border-color: rgb(var(--fg-rgb) / 0.5);
  }
  .quote-form__input[aria-invalid="true"] {
    border-color: var(--fg);
  }
  .quote-form__select {
    appearance: none;
    padding-right: 44px;
    background-image: var(--chevron);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
  }
  .quote-form__select option {
    background: var(--bg);
    color: var(--fg);
  }
  .quote-form__textarea {
    min-height: 120px;
    resize: vertical;
  }
  .quote-form__error {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
  }
  .quote-form__error::before {
    content: "! ";
    font-weight: 700;
  }
  .quote-form__error:empty::before {
    content: none;
  }
  .quote-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .quote-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 28px;
  }
  .quote-form__foot .cta-button:disabled {
    cursor: progress;
    opacity: 0.7;
  }
  .quote-form__note {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--fg-quiet);
  }
  .quote-form__done {
    margin: 0;
    font-size: clamp(18px, 0.6vw + 14px, 22px);
    line-height: 1.4;
  }
  .quote-form__done:focus {
    outline: none;
  }
  @media (min-width: 600px) {
    .quote-form__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: 0;
    }
    .quote-form__field {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
      align-content: start;
      margin-bottom: 22px;
    }
    .quote-form__hint:empty,
    .quote-form__error:empty {
      display: block;
      margin: 0;
    }
    .quote-form__input {
      align-self: start;
    }
    .quote-form__field--wide {
      grid-column: 1 / -1;
    }
  }
  @media (min-width: 1000px) {
    .quote {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
      gap: clamp(48px, 6vw, 112px);
      align-items: start;
    }
  }

  /* Testimonials (owner, 25 November 2026; restyled the same day: "we need
     to improve the look of this section"). The page stays white (owner:
     everything under the logos on a white ground), so each quote sits in
     the same light box as the quote form: a faint foreground tint, hairline
     edge, 2px radius. A card opens with the client's mark (black, like the
     logo band), then the quote, then a credit row pinned to the card's foot
     behind a hairline, so the three credits line up across the row. Three
     equal cards from 1100px, stacked below. */
  /* Same spacing as the sections either side (no top padding, the section
     gap below), so the gaps stay even now the section sits between services
     and the case studies (owner, 25 November 2026). */
  .testimonials {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  .testimonials__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  /* Two cards (the Aberdeen page: Porsche Centre Aberdeen and The Auto
     Lounge, owner, 27 November 2026) sit side by side from 800px; two
     classes, so the three-column rule from 1100px never applies to them. */
  @media (min-width: 800px) {
    .testimonials__grid.testimonials__grid--two {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0 clamp(16px, 1.4vw, 24px);
    }
  }
  .testimonial {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(24px, 2.4vw, 36px);
    border: 1px solid rgb(var(--fg-rgb) / 0.12);
    border-radius: 2px;
    background: rgb(var(--fg-rgb) / 0.035);
  }
  .testimonial__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    margin-bottom: clamp(22px, 2vw, 30px);
  }
  .testimonial__brand img {
    display: block;
    max-width: 100%;
    height: auto;
    filter: brightness(0);
    opacity: 0.86;
  }
  /* Each client's mark at a width set by eye, so the three carry similar
     weight (were inline --logo-w values until 26 November 2026). */
  /* Jake Weaver's card: Toyota and Lexus side by side (he is Content Manager
     at Toyota GB and covers both brands; the commission was Lexus UK's). The
     Toyota wordmark is the narrower of the two because its heavy capitals
     carry more weight; widths set by eye against the other cards' marks. */
  .testimonial__brand--pair {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
  }
  .testimonial__brand--lexus-uk img:first-child {
    width: 74px;
  }
  .testimonial__brand--lexus-uk img:last-child {
    width: 92px;
  }
  .testimonial__brand--porsche-centre-aberdeen img {
    width: 138px;
  }
  .testimonial__brand--auto-lounge img {
    width: 150px;
  }
  .testimonial__brand-caption {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgb(var(--fg-rgb) / 0.86);
  }
  .testimonial__quote {
    margin: 0 0 28px;
  }
  .testimonial__quote p {
    margin: 0;
    max-width: 60ch;
    font-size: clamp(18px, 0.35vw + 14px, 21px);
    font-weight: 450;
    letter-spacing: -0.005em;
    line-height: 1.5;
    text-indent: -0.42em;
    text-wrap: pretty;
  }
  .testimonial__by {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.12);
  }
  .testimonial__credit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
  }
  .testimonial__name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-transform: uppercase;
  }
  /* The LinkedIn mark after the name (owner, 27 November 2026: "can we have
     the linkedin icon instead"), drawn from --icon-linkedin in the quiet
     grey, ink on hover. The link is a 24px square, the WCAG 2.2 minimum
     target, around a 14px mark; the negative margins keep the name's line
     height. */
  .testimonial__linkedin {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: -4px 0 -4px 5px;
    vertical-align: middle;
    color: var(--fg-quiet);
  }
  .testimonial__linkedin::before {
    content: "";
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: var(--icon-linkedin) center / contain no-repeat;
    mask: var(--icon-linkedin) center / contain no-repeat;
  }
  .testimonial__linkedin:hover {
    color: var(--fg);
  }
  .testimonial__linkedin:focus-visible {
    outline-offset: 0;
  }
  .testimonial__role {
    font-size: 14px;
    font-style: italic;
    line-height: 1.4;
    color: var(--fg-quiet);
  }
  /* Inline, so on a narrow column the arrow follows the last word rather
     than drifting to the far edge when the label wraps. */
  .testimonial__link {
    display: inline;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 520;
    line-height: 1.45;
    text-decoration: none;
  }
  .testimonial__tail {
    white-space: nowrap;
  }
  .testimonial__tail::after {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
  }
  .testimonial__link:hover .testimonial__tail::after,
  .testimonial__link:focus-visible .testimonial__tail::after {
    translate: 5px 0;
  }
  @media (min-width: 1100px) {
    .testimonials__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0 clamp(16px, 1.4vw, 24px);
    }
    /* Mark, quote and credit share rows across the three cards (subgrid),
       so the marks, the quotes and the hairlines over the credits line up
       whatever the length of each quote or title. */
    .testimonial {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .testimonial__by {
      align-self: stretch;
      align-content: start;
      margin-top: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .testimonial__tail::after {
      transition: none;
    }
  }

  /* Brand Instagram posts of the owner's photographs (SocialPosts.astro;
     owner, 27 November 2026): cropped phone screenshots (the account, the
     photograph, the likes), each whole at its own 2:3 shape. The likes
     figure is about 3% of a screenshot's height, so a post is never drawn
     narrower than about 260px, where the figure still reads at about 11px.
     Phones: a swipe row out to the screen's edges, one post and the edge of
     the next. Two posts side by side from 600px; four from 1160px, where
     each post is still about 260px wide (from 1000px they were 225px and
     the likes could not be read). */
  .social-posts {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 340px);
    gap: clamp(12px, 1.4vw, 20px);
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .social-posts__item {
    scroll-snap-align: start;
    background: var(--placeholder);
  }
  .social-posts__item img {
    width: 100%;
  }
  /* Outside the row, on the white page: inside it, the ink outline was lost
     against the screenshots' dark bars (pre-launch review, 27 November
     2026). On phones, where the row runs to the screen's edges, its top and
     bottom still show. site.js part 8 takes the row out of the tab order
     wherever it does not scroll. */
  .social-posts:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }
  @media (min-width: 600px) {
    .social-posts:not(.social-posts--four) {
      grid-auto-flow: row;
      grid-template-columns: repeat(2, minmax(0, 340px));
      margin: 0;
      padding: 0;
      overflow: visible;
    }
  }
  @media (min-width: 1160px) {
    .social-posts--four {
      grid-auto-flow: row;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin: 0;
      padding: 0;
      overflow: visible;
    }
  }
  /* Home, after the testimonials (FeaturedPosts.astro): spaced like the
     sections either side, no top padding and the section gap below. */
  .featured {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
    background: var(--bg);
  }
  /* A story section with brand posts (the About page's story, the Lexus UK
     case study's results). The posts follow the copy; from 900px, where the
     heading and the copy sit side by side, they take a row under both; from
     1280px they sit under the heading, beside the copy, where two side by
     side are still about 260px wide or more. After the 900px story grid,
     whose gap would otherwise set the row gap too. */
  .abt-story--posts > .social-posts,
  .ed-story--posts > .social-posts {
    margin-top: clamp(32px, 4vw, 48px);
  }
  @media (min-width: 900px) {
    .abt-story--posts > .social-posts,
    .ed-story--posts > .social-posts {
      grid-column: 1 / -1;
      margin-top: 0;
    }
  }
  @media (min-width: 1280px) {
    .abt-story--posts,
    .ed-story--posts {
      grid-template-rows: auto 1fr;
      row-gap: clamp(32px, 3vw, 48px);
    }
    .abt-story--posts > .abt-story__body,
    .ed-story--posts > .ed-story__body {
      grid-column: 2;
      grid-row: 1 / span 2;
    }
    .abt-story--posts > .social-posts,
    .ed-story--posts > .social-posts {
      grid-column: 1;
      grid-row: 2;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  /* Contact page: the quote form as the page. */
  .contact {
    display: grid;
    gap: 40px;
    padding: clamp(120px, 12vw, 176px) var(--gutter) clamp(88px, 9vw, 150px);
  }
  .contact__title {
    margin: 0;
    font-size: clamp(32px, 3vw + 14px, 56px);
    font-weight: 460;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  @media (min-width: 1000px) {
    .contact {
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
      gap: clamp(48px, 6vw, 112px);
      align-items: start;
    }
  }

  /* Case study pages: editorial spreads on a light sheet (owner's
     magazine reference, 25 November 2026). From 1000px each spread is two
     pages side by side on a 6-column grid with fixed rows; photographs fill
     named slots and crop to them. Below 1000px the pages stack and every
     photograph keeps its own shape. */
  .ed {
    padding: clamp(96px, 9vw, 140px) var(--gutter) clamp(72px, 7vw, 112px);
    background: var(--bg);
    color: var(--fg);
  }
  .ed-spread {
    display: grid;
    gap: 48px;
  }
  .ed-spread + .ed-spread {
    margin-top: clamp(72px, 8vw, 128px);
  }
  .ed-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .ed-photo {
    margin: 0;
  }
  .ed-photo__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--ar);
    background: #e3e3e0;
  }
  .ed-photo__img {
    object-fit: cover;
  }
  .ed-title__h1 {
    margin: 0;
  }
  .ed-title__client {
    display: block;
    font-size: clamp(34px, 3.2vw + 12px, 60px);
    font-stretch: 80%;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
    text-wrap: balance;
  }
  .ed-title__project {
    display: block;
    margin-top: 12px;
    font-size: clamp(17px, 0.5vw + 14px, 21px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
  }
  .ed-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
  }
  .ed-text--summary {
    max-width: 52ch;
    color: var(--fg-quiet);
  }
  .ed-text--summary strong {
    font-weight: 600;
    color: var(--fg);
  }
  .ed-text--facts {
    display: grid;
    gap: 12px;
  }
  .ed-text--facts dt {
    font-size: 11px;
    font-stretch: 80%;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--fg-quiet);
  }
  .ed-text--facts dd {
    margin: 2px 0 0;
  }
  .ed-folio {
    display: none;
  }

  /* Phones and tablets: title first, then the photographs. */
  @media (max-width: 999px) {
    .ed-page--left {
      display: contents;
    }
    .ed-spread {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .ed-title {
      order: -3;
    }
    .ed-text--summary {
      order: -2;
    }
    .ed-text--facts {
      order: -1;
      margin-bottom: 8px;
    }
  }

  @media (min-width: 1000px) {
    .ed-spread {
      container-type: inline-size;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: clamp(40px, 4.5vw, 80px);
    }
    .ed-page {
      position: relative;
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      grid-template-rows: repeat(10, 4.9cqi);
      gap: 1.4cqi;
      padding-bottom: 40px;
    }
    .ed-photo {
      display: flex;
      flex-direction: column;
      min-height: 0;
    }
    .ed-photo__frame {
      flex: 1;
      min-height: 0;
      aspect-ratio: auto;
    }
    .ed-slot--openA { grid-area: 1 / 1 / 6 / 4; }
    .ed-slot--openB { grid-area: 1 / 4 / 4 / 7; }
    .ed-slot--openC { grid-area: 1 / 2 / 11 / 7; }
    .ed-slot--moreA { grid-area: 1 / 1 / 9 / 5; }
    .ed-slot--moreB { grid-area: 5 / 5 / 11 / 7; }
    .ed-slot--moreC { grid-area: 1 / 1 / 6 / 4; }
    .ed-slot--moreD { grid-area: 1 / 4 / 6 / 7; }
    .ed-slot--moreE { grid-area: 6 / 2 / 11 / 7; }
    .ed-spread--more .ed-page--right:not(:has(.ed-slot--moreD)) .ed-slot--moreC {
      grid-area: 1 / 1 / 6 / 5;
    }
    .ed-spread--open .ed-title {
      grid-area: 6 / 1 / 8 / 7;
      align-self: end;
    }
    .ed-spread--open .ed-text--summary {
      grid-area: 8 / 3 / 11 / 7;
      align-self: start;
      padding-top: 6px;
    }
    .ed-spread--open .ed-text--facts {
      grid-area: 8 / 1 / 11 / 3;
      align-self: start;
      padding-top: 6px;
      font-size: 13.5px;
    }
    /* One photograph: the opening text on the left page, the picture
       facing it at its own shape. */
    .ed-spread--solo .ed-page {
      grid-template-rows: none;
      align-content: center;
    }
    .ed-spread--solo .ed-page--left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 28px;
      padding-right: 8%;
    }
    .ed-spread--solo .ed-title__client {
      font-size: clamp(40px, 4vw + 8px, 76px);
    }
    .ed-spread--solo .ed-text--summary {
      font-size: 16px;
    }
    .ed-spread--solo .ed-slot--solo {
      grid-column: 1 / -1;
    }
    .ed-spread--solo .ed-photo__frame {
      flex: none;
      aspect-ratio: var(--ar);
      max-height: 78vh;
    }
    .ed-folio {
      position: absolute;
      bottom: 0;
      display: block;
      margin: 0;
      font-size: 11px;
      font-stretch: 80%;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--fg-quiet);
    }
    .ed-folio--left { left: 0; }
    .ed-folio--right { right: 0; }
  }

  /* A long-form case study (the Lexus UK page, from the owner's content
     plan, 26 November 2026), in place of the spreads: its breadcrumb,
     opening, facts, sections, photo mosaics and closing links. Type, rules
     and spacing inside the facts and sections are the About page's
     (grouped with the .abt-* rules); only their place on the sheet is set
     here. */
  .ed-crumbs {
    margin-bottom: clamp(24px, 2.4vw, 36px);
  }
  /* The opening: from 1000px the title and lead at the top beside the
     cover photograph (4:5, never cropped), the project's facts as a
     compact table under them, so all three sit in the first screen (owner,
     26 November 2026: the text was "too far down, half of it is below the
     fold"; "the table below could be made narrower and go underneath it").
     The lead and the table share one width. Stacked below 1000px: the
     title and lead, the photograph, the facts. */
  .ed-open {
    display: grid;
    gap: 32px;
  }
  /* The lead as the service pages' opening copy. */
  .ed-open__lead {
    margin: clamp(18px, 1.6vw, 26px) 0 0;
    max-width: 41rem;
    font-size: clamp(16px, 0.4vw + 14px, 19px);
    line-height: 1.6;
    color: var(--fg-quiet);
  }
  .ed-open__lead strong {
    font-weight: 600;
    color: var(--fg);
  }
  .ed-open__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #e3e3e0;
  }
  /* The facts, tighter than the About page's list. */
  .ed-open .ed-spec {
    max-width: 41rem;
    margin-top: 0;
  }
  .ed-open .ed-spec dt {
    padding-top: 10px;
  }
  .ed-open .ed-spec dd {
    max-width: none;
    padding: 2px 0 10px;
    font-size: 14.5px;
    line-height: 21px;
  }
  @media (min-width: 760px) {
    .ed-open .ed-spec {
      grid-template-columns: 12rem minmax(0, 1fr);
    }
    .ed-open .ed-spec dt,
    .ed-open .ed-spec dd {
      padding: 5px 0;
    }
    .ed-open .ed-spec dt {
      padding-right: 14px;
      line-height: 21px;
    }
  }
  @media (min-width: 1000px) {
    .ed-open {
      grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
      grid-template-rows: auto 1fr;
      grid-template-areas: "text photo" "spec photo";
      gap: clamp(24px, 2vw, 32px) clamp(40px, 5vw, 96px);
      align-items: start;
    }
    .ed-open__text {
      grid-area: text;
    }
    .ed-open__img {
      grid-area: photo;
    }
    .ed-open .ed-spec {
      grid-area: spec;
    }
  }
  /* Laptops (landscape), as the service pages' opening: the sheet's top
     padding is the About page's and the photograph's size is fixed to the
     screen (screen height less that padding, the breadcrumb and a 46px
     margin), keeping its 4:5 shape, so the title, the lead, the facts and
     the whole photograph share the first screen; the text takes the width
     the photograph leaves, up to 48rem (the lead about 74 characters a
     line). */
  @media (min-width: 1000px) and (min-aspect-ratio: 23/20) {
    .ed--story {
      --ed-pt: clamp(96px, 6vw + 24px, 128px);
      padding-top: var(--ed-pt);
    }
    .ed-open {
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .ed-open__img {
      width: min(40vw, calc((100svh - var(--ed-pt) - 75px) * 0.8));
    }
    .ed-open__lead,
    .ed-open .ed-spec {
      max-width: 48rem;
    }
  }
  /* From 1300px (landscape) a long client name stays on one line beside the
     photograph (Porsche Centre Aberdeen wrapped at 1440px and pushed the
     facts below the fold): its size is capped by the text column's width
     and its letter count (--client-chars on the H1; the capitals run about
     0.66em a letter, 0.68 here for a margin). Short names (Lexus UK) keep
     the sheet's size. Narrower, the name wraps at full size, so the H1
     stays well above the H2s (capped at 1200px it fell to 38px). */
  @media (min-width: 1300px) and (min-aspect-ratio: 23/20) {
    .ed-open__text {
      container-type: inline-size;
    }
    .ed-open .ed-title__client {
      font-size: min(clamp(34px, 3.2vw + 12px, 60px), calc(100cqi / (var(--client-chars) * 0.68)));
    }
  }
  .ed .mosaic,
  .ed .photo-row {
    margin-top: clamp(72px, 8vw, 128px);
  }
  /* The Porsche plan's line above the closing links, the full row. */
  .ed-cta__prompt {
    flex-basis: 100%;
    margin: 0 0 4px;
    max-width: 62ch;
    font-size: clamp(16px, 0.4vw + 14px, 19px);
    line-height: 1.5;
    color: var(--fg);
  }
  .ed-spec {
    margin-top: clamp(56px, 6vw, 96px);
  }
  .ed-story {
    margin-top: clamp(72px, 8vw, 128px);
  }
  .ed-points {
    margin-top: 18px;
  }
  @media (min-width: 760px) {
    /* Each row's rules end where its value does (62ch), so the last row
       closes the same way instead of with a rule across the full width. */
    .ed-spec {
      border-bottom: 0;
    }
    .ed-spec dt:last-of-type,
    .ed-spec dd:last-of-type {
      border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
    }
  }
  .ed-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: clamp(48px, 5vw, 80px);
  }

  /* Next case study */
  .ed-next {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-top: clamp(72px, 8vw, 128px);
    padding-top: 28px;
    border-top: 1px solid rgb(10 11 13 / 0.16);
  }
  .ed-next__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
  }
  .ed-next__label {
    font-size: 11px;
    font-stretch: 80%;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-quiet);
  }
  .ed-next__client {
    font-size: clamp(28px, 2.4vw + 12px, 48px);
    font-stretch: 80%;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    transition: color 160ms ease-out;
  }
  .ed-next__project {
    font-style: italic;
    font-size: 17px;
  }
  .ed-next__link:hover .ed-next__client {
    color: var(--accent-text);
  }
  .ed-next__all {
    padding: 8px 0;
    font-size: 15px;
    text-underline-offset: 4px;
  }

  /* Case study index: the case cards as a page. */
  .cases-page .cases {
    padding-top: clamp(120px, 12vw, 176px);
  }
  .cases-page .cases__title {
    font-size: clamp(30px, 2vw + 16px, 44px);
  }

  /* Portfolio: filter row, masonry of the owner's photographs, and a
     full-screen viewer. Selected filter is paper with an underline; no accent
     (the allowance list does not cover filters). */
  .pf {
    padding: clamp(120px, 12vw, 176px) var(--gutter) clamp(88px, 9vw, 150px);
  }
  /* A full-sentence H1 now (owner, 25 November 2026), so the About page's
     H1 size and measure: still larger than every section heading here.
     Plain wrapping, not balanced: at 22ch it breaks as "Commercial &
     Auction / Automotive Photography / in Scotland" on laptops (balancing
     left "Commercial &" alone on the first line). */
  .pf__title {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(33px, 2.2vw + 14px, 48px);
    font-weight: 460;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .pf__intro {
    margin: 16px 0 0;
    max-width: 60ch;
    font-size: clamp(16px, 0.35vw + 14px, 19px);
    line-height: 1.55;
    color: var(--fg-quiet);
  }
  .pf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: clamp(32px, 3.4vw, 52px) 0 clamp(28px, 3vw, 44px);
  }
  .pf-filter {
    appearance: none;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fg-quiet);
    font: inherit;
    font-size: 15.5px;
    cursor: pointer;
    text-underline-offset: 6px;
    transition: color 160ms ease-out;
  }
  .pf-filter:hover {
    color: var(--fg);
  }
  .pf-filter[aria-pressed="true"] {
    color: var(--fg);
  }
  /* The label alone is underlined: as separate flex items, the label and
     the count each took their own piece of underline. */
  .pf-filter[aria-pressed="true"] .pf-filter__label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }
  .pf-filter__count {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--fg-quiet);
  }
  /* Phones: the five filters on one line from 375px wide (pre-launch review,
     27 November 2026: at 22px gaps "More" fell to a line of its own; the
     buttons total about 296px against 343 to 358px of room). */
  @media (max-width: 599px) {
    .pf-filters {
      column-gap: 12px;
    }
    .pf-filter {
      gap: 4px;
    }
  }
  /* Row by row (owner, 25 November 2026: "put images 4, 6, 7 first"). A
     grid, so the order in portfolio.ts is the reading order at every width;
     the CSS columns used before filled top to bottom, so "first" meant a
     different photograph at each width. The photographs are 4:5 apart from
     one 16:9 frame, which spans two columns from 600px and is cropped to
     the row (`dense` fills the gap that can leave at two columns). One gap
     both ways (no captions). */
  .pf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row dense;
    gap: clamp(16px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pf-item {
    min-width: 0;
  }
  .pf-item__button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--placeholder);
    cursor: zoom-in;
    overflow: hidden;
  }
  .pf-item__img {
    display: block;
    width: 100%;
    height: auto;
    transition: scale 900ms var(--ease-out);
  }
  .pf-item__button:hover .pf-item__img,
  .pf-item__button:focus-visible .pf-item__img {
    scale: 1.025;
  }
  @media (min-width: 600px) {
    .pf-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pf-item--wide {
      grid-column: span 2;
    }
    .pf-item--wide .pf-item__button,
    .pf-item--wide .pf-item__img {
      height: 100%;
    }
    .pf-item--wide .pf-item__img {
      object-fit: cover;
    }
  }
  @media (min-width: 1000px) {
    .pf-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pf-item__img {
      transition: none;
    }
    .pf-item__button:hover .pf-item__img,
    .pf-item__button:focus-visible .pf-item__img {
      scale: 1;
    }
  }

  .pf-viewer {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--bg);
    color: var(--fg);
  }
  .pf-viewer[open] {
    display: flex;
    flex-direction: column;
  }
  .pf-viewer::backdrop {
    background: rgb(10 11 13 / 0.9);
  }
  .pf-viewer__stage {
    position: relative;
    flex: 1;
    min-height: 0;
    margin: clamp(12px, 2vw, 32px) var(--gutter) 0;
  }
  .pf-viewer__img {
    object-fit: contain;
  }
  .pf-viewer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom));
  }
  .pf-viewer__count {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.4;
    color: var(--fg-quiet);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .pf-viewer__controls {
    display: flex;
    gap: 6px 22px;
  }
  .pf-viewer__btn {
    appearance: none;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fg);
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    text-underline-offset: 6px;
  }
  .pf-viewer__btn:hover {
    text-decoration: underline;
  }

  /* Service pages (on ink): opening with the card photograph, what the
     service covers beside the owner's client names, four portfolio frames,
     related case studies, then the quote form. */
  .svc-open {
    display: grid;
    gap: 40px;
    padding: clamp(112px, 11vw, 168px) var(--gutter) clamp(72px, 7vw, 120px);
  }
  /* The About and portfolio H1 size (owner, 26 November 2026, to bring
     "What's covered" onto the first screen); still larger than every
     section heading. */
  .svc-open__title {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(33px, 2.2vw + 14px, 48px);
    font-weight: 460;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-wrap: balance;
  }
  .svc-open__copy {
    margin: clamp(18px, 1.6vw, 26px) 0 clamp(26px, 2.4vw, 36px);
    max-width: 52ch;
    font-size: clamp(16px, 0.4vw + 14px, 19px);
    line-height: 1.6;
    color: var(--fg-quiet);
  }
  .svc-open__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--placeholder);
  }
  .svc-open__img {
    object-fit: cover;
  }
  @media (min-width: 900px) {
    .svc-open {
      grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
      gap: clamp(40px, 6vw, 112px);
      align-items: end;
    }
    .svc-open__media {
      max-height: 82vh;
    }
  }
  /* Laptops (from 900px, landscape): the portrait's size is fixed to the
     screen, keeping its 4:5 shape (the owner wants it portrait, and "keep
     the image the same size" when "What's covered" moved under the button,
     26 November 2026): screen height less the paddings and a 132px strip.
     The text column, now holding "What's covered" too, sets the block's
     height when it is taller. The top padding is the About page's. */
  @media (min-width: 900px) and (min-aspect-ratio: 23/20) {
    .svc-open {
      --svc-pt: clamp(96px, 6vw + 24px, 128px);
      --svc-pb: clamp(28px, 3.4vh, 48px);
      --svc-peek: 132px;
      padding-top: var(--svc-pt);
      padding-bottom: var(--svc-pb);
    }
    .svc-open__media {
      justify-self: end;
      width: min(100%, calc((100svh - var(--svc-pt) - var(--svc-pb) - var(--svc-peek)) * 0.8));
      max-height: none;
    }
  }

  /* Service page breadcrumb above the H1 and the opening's figures under the
     button (owner's review checklist, 26 November 2026). The trail is small
     quiet text with slashes between steps; the figures are three to a row
     under a hairline, value over label. */
  /* The privacy policy and the accessibility statement (owner, 26 November
     2026; LegalPage.astro): one readable column on the light sheet, below
     the fixed header, with the About page's H2s and paragraphs (.ed-h2,
     .ed-copy). */
  .legal {
    padding: clamp(96px, 6vw + 24px, 128px) var(--gutter) clamp(72px, 7vw, 120px);
  }
  .legal > * {
    max-width: 46rem;
  }
  .legal__title {
    margin: 0;
    font-size: clamp(34px, 3.2vw + 12px, 60px);
    font-stretch: 80%;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
    text-wrap: balance;
  }
  .legal__updated {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--fg-quiet);
  }
  .legal__intro {
    margin-top: clamp(24px, 2.4vw, 36px);
  }
  .legal__section {
    margin-top: clamp(40px, 4vw, 64px);
  }
  .legal__list {
    margin: 14px 0 0;
    padding-left: 1.2em;
    list-style: disc;
  }
  .legal__list li {
    max-width: 62ch;
    margin-top: 8px;
    font-size: clamp(15.5px, 0.25vw + 14px, 17px);
    line-height: 1.65;
    color: var(--fg-quiet);
  }
  .legal__list strong {
    font-weight: 600;
    color: var(--fg);
  }
  .legal__links {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
  }
  .legal__links li {
    margin-top: 4px;
    font-size: clamp(15.5px, 0.25vw + 14px, 17px);
    line-height: 1.65;
    color: var(--fg-quiet);
  }
  .legal__links a {
    display: inline-block;
    padding: 4px 0;
    color: var(--fg);
  }
  /* A link inside running copy (owner, 26 November 2026: internal links
     throughout the site, on the owner's own words; Names.astro): the words
     keep their weight and colour, a hairline underline marks the link and
     darkens on hover. */
  .text-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgb(var(--fg-rgb) / 0.4);
    text-underline-offset: 3px;
  }
  .text-link:hover {
    text-decoration-color: currentColor;
  }
  .svc-crumbs {
    margin-bottom: clamp(16px, 1.6vw, 24px);
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--fg-quiet);
  }
  /* Inline, like a sentence: on a phone the trail wraps between words of
     the page name, never leaving a slash at the start of a line. */
  .svc-crumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .svc-crumbs li {
    display: inline;
  }
  .svc-crumbs li + li::before {
    content: "/";
    margin: 0 0.6em;
    color: rgb(var(--fg-rgb) / 0.35);
  }
  .svc-crumbs a {
    text-decoration: none;
  }
  .svc-crumbs a:hover,
  .svc-crumbs a:focus-visible {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .svc-crumbs [aria-current="page"] {
    color: var(--fg);
  }
  .svc-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(14px, 2vw, 28px);
    max-width: 34rem;
    margin: clamp(24px, 2.4vw, 36px) 0 0;
    padding-top: clamp(14px, 1.4vw, 20px);
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .svc-proof__value {
    font-size: clamp(19px, 0.6vw + 14px, 23px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-variant-numeric: lining-nums tabular-nums;
  }
  .svc-proof__label {
    margin: 6px 0 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--fg-quiet);
  }

  .svc-h2 {
    margin: 0;
    font-size: clamp(24px, 0.9vw + 16px, 30px);
    font-weight: 460;
    letter-spacing: -0.018em;
    line-height: 1.1;
  }
  /* What's covered, inside the opening under the button (owner, 26 November
     2026: "put this bit on the left side under the CTA"): a small display
     heading, the scope as hairline tags that wrap, and the names on one line
     after a small-caps label. Replaces the full-width section that followed
     the opening. */
  .svc-covered {
    margin-top: clamp(22px, 2.4vw, 34px);
  }
  .svc-covered__title {
    margin: 0 0 12px;
    font-size: clamp(15px, 0.3vw + 13px, 17px);
  }
  .svc-covered__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 38rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .svc-covered__list li {
    padding: 7px 12px;
    border: 1px solid rgb(var(--fg-rgb) / 0.16);
    border-radius: 2px;
    font-size: 14.5px;
    line-height: 1.3;
  }
  .svc-covered__names {
    max-width: 38rem;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.5;
  }
  .svc-covered__label {
    margin-right: 10px;
    color: var(--fg-quiet);
  }
  /* Short laptop screens (under 800px tall): tighter gaps between the
     opening's parts so "What's covered" still ends on the first screen
     (1366x768 and 1280x720); no text or photograph changes size. */
  @media (min-width: 900px) and (min-aspect-ratio: 23/20) and (max-height: 799px) {
    .svc-crumbs {
      margin-bottom: 10px;
    }
    .svc-open__copy {
      margin: 12px 0 18px;
    }
    .cta-button--quote {
      min-height: 44px;
    }
    .svc-proof {
      margin-top: 18px;
      padding-top: 12px;
    }
    .svc-covered {
      margin-top: 18px;
    }
    .svc-covered__title {
      margin-bottom: 8px;
    }
    .svc-covered__names {
      margin-top: 10px;
    }
  }

  .svc-work {
    padding: 0 var(--gutter) clamp(72px, 7vw, 120px);
  }
  .svc-work__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 32px;
    margin-bottom: clamp(24px, 2.4vw, 36px);
  }
  /* "Leads on" links (the service pages' "See the full portfolio", the
     case studies' closing links, the 404's way home): the site's arrow, as on
     the cards, so they read as links (pre-launch review, 27 November 2026:
     with no underline or arrow they looked like plain text). */
  .svc-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
  }
  .svc-more::after {
    content: "";
    flex: none;
    width: 20px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask: var(--icon-arrow) center / 20px 10px no-repeat;
    mask: var(--icon-arrow) center / 20px 10px no-repeat;
    transition: translate 300ms var(--ease-out);
  }
  .svc-more:hover::after,
  .svc-more:focus-visible::after {
    translate: 5px 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .svc-more::after {
      transition: none;
    }
  }
  .svc-work__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px clamp(16px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  @media (min-width: 600px) {
    .svc-work__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (min-width: 1000px) {
    .svc-work__grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      align-items: start;
    }
  }
  /* A service page's own landscape photographs (the auction page, owner, 26
     November 2026): as shot, one to a row on phones, two from 700px, one
     gap both ways. */
  .svc-work__grid--landscape {
    gap: clamp(16px, 2vw, 28px);
  }
  .svc-work__photo {
    display: block;
    width: 100%;
    height: auto;
    background: var(--placeholder);
  }
  @media (min-width: 700px) {
    .svc-work__grid.svc-work__grid--landscape {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* The lead photograph across the full row (19 photographs: one wide,
       then nine rows of two). */
    .svc-work__item--wide {
      grid-column: 1 / -1;
    }
  }
  /* The photo mosaic: every photograph at its own 4:5 shape, never cropped
     (owner, 26 November 2026: "ensure that every image remains 4x5 aspect
     ratio, dont do any further crops or make any 1x1"). One to a row on
     phones, two from 600px, four from 1000px. A feature photograph spans
     two columns and two rows from 600px; the row gap is 1.25 times the
     column gap, so a feature is exactly 4:5 as well. Used by the service
     pages and the Lexus UK case study (src/lib/mosaic.ts). */
  .mosaic {
    --mosaic-gap: clamp(16px, 2vw, 28px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: calc(1.25 * var(--mosaic-gap)) var(--mosaic-gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mosaic__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--placeholder);
  }
  @media (min-width: 600px) {
    .mosaic {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mosaic__item--feature {
      grid-column: span 2;
      grid-row: span 2;
    }
  }
  @media (min-width: 1000px) {
    .mosaic {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  /* A row of photographs as shot, never cropped (owner, 26 November 2026, of
     the Porsche Centre Aberdeen photographs: "ensure they use their native
     aspect ratio"): stacked full width on phones; from 700px one row in
     which each photograph's share of the width follows its own proportions
     (--ar on the item, width over height, from the file), so all share one
     height. Gaps as the mosaic's (PhotoRow.astro). */
  .photo-row {
    --row-gap: clamp(16px, 2vw, 28px);
    display: grid;
    gap: calc(1.25 * var(--row-gap));
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .photo-row__img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--placeholder);
  }
  @media (min-width: 700px) {
    .photo-row {
      display: flex;
      gap: var(--row-gap);
    }
    .photo-row__item {
      flex: var(--ar) 1 0;
      min-width: 0;
    }
  }

  .svc-cases {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
  }
  .svc-cases__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px clamp(16px, 2vw, 28px);
    margin: clamp(24px, 2.4vw, 36px) 0 0;
    padding: 0;
    list-style: none;
  }
  .svc-case {
    position: relative;
  }
  .svc-case__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--placeholder);
  }
  .svc-case__img {
    object-fit: cover;
    transition: scale 900ms var(--ease-out);
  }
  .svc-case:hover .svc-case__img,
  .svc-case:focus-within .svc-case__img {
    scale: 1.035;
  }
  .svc-case__title {
    margin: 16px 0 0;
    font-size: clamp(18px, 0.4vw + 15px, 21px);
    font-weight: 500;
    line-height: 1.3;
  }
  .svc-case__link {
    text-decoration: none;
  }
  .svc-case__link::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .svc-case__client,
  .svc-case__project {
    display: block;
  }
  .svc-case__project {
    font-weight: 400;
    color: var(--fg-quiet);
  }
  @media (min-width: 700px) {
    .svc-cases__list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    /* As many columns as there are case studies (pre-launch review, 27
       November 2026: the auction page's one card sat in a row of three).
       Two share the row; one is a single wide card, photograph left and
       title right. */
    .svc-cases__list--n2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .svc-cases__list--n1 {
      grid-template-columns: minmax(0, 1fr);
    }
    .svc-cases__list--n1 .svc-case {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      align-items: center;
      gap: clamp(20px, 3vw, 48px);
    }
    .svc-cases__list--n1 .svc-case__title {
      margin: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .svc-case__img {
      transition: none;
    }
    .svc-case:hover .svc-case__img,
    .svc-case:focus-within .svc-case__img {
      scale: 1;
    }
  }

  /* The services hub, /services (owner, 27 November 2026): the service
     pages' opening and logo strip, then three blocks spaced like the service
     pages' sections: which service fits (one ruled row per service, the row
     a link to it), a comparison table, and how every shoot runs. */
  .svc-hub-block {
    padding: 0 var(--gutter) clamp(88px, 9vw, 150px);
  }
  /* Under the hero, the first block takes the home services section's top
     space (the hub opens with the home hero since 27 November 2026). */
  .hero + .svc-hub-block {
    padding-top: clamp(48px, 5vw, 84px);
  }
  /* Landscape screens: the same smaller gap as home's services section, so
     the first heading shows under the hero on first load, as on home. */
  @media (min-aspect-ratio: 23/20) {
    .hero + .svc-hub-block {
      padding-top: clamp(32px, 2.8vw, 48px);
    }
  }
  /* Which service fits (owner, 27 November 2026: "put the 3 services on the
     service page hub into 3 tiles ... Add the service over the photo and
     then bullet point the remianing info undernaeth"): each service's 4:5
     photograph, whole, with its name over the foot, where the photograph
     fades into the ink (the owner's call: the one place a name sits over a
     photograph on the site), then the details as bullets. On hover and
     keyboard focus the name turns red (owner, same day: "when you hover over
     a photo service tile, can you make the text turn red") and the fade
     deepens behind it, so the red keeps its contrast. The whole tile is the link, and its focus ring goes
     round the tile, on the white page. One column on phones, photograph left
     and bullets right on tablets, three across from 1000px. */
  .svc-tiles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px clamp(16px, 2vw, 28px);
    margin: clamp(24px, 2.4vw, 36px) 0 0;
    padding: 0;
    list-style: none;
  }
  .svc-tile {
    position: relative;
    transition: --tile-hover 350ms var(--ease-out);
  }
  .svc-tile:hover,
  .svc-tile:has(.svc-tile__link:focus-visible) {
    --tile-hover: 1;
  }
  .svc-tile:focus-within {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
    border-radius: 2px;
  }
  .svc-tile__link:focus-visible {
    outline: none;
  }
  .svc-tile__media {
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--color-ink);
  }
  .svc-tile__img,
  .svc-tile__title {
    grid-area: 1 / 1;
  }
  /* The fade is a mask on the photograph over the ink (DESIGN.md: never a
     wash laid over a photograph). --fade is its depth, matched to the
     name's two lines and padding: the photograph shows at 14% at its foot,
     half at 55% of the depth, whole above it. Hovered (--tile-hover 1) it
     holds at 8% up to 47% of the depth and reaches half at 88% and whole at
     140%, so the name's red sits on near-ink. */
  .svc-tile__img {
    --fade: clamp(120px, 6.5vw + 78px, 175px);
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to top, rgb(0 0 0 / calc(0.14 - 0.06 * var(--tile-hover))) calc(0.47 * var(--fade) * var(--tile-hover)), rgb(0 0 0 / 0.5) calc((0.55 + 0.33 * var(--tile-hover)) * var(--fade)), #000 calc((1 + 0.4 * var(--tile-hover)) * var(--fade)));
    mask-image: linear-gradient(to top, rgb(0 0 0 / calc(0.14 - 0.06 * var(--tile-hover))) calc(0.47 * var(--fade) * var(--tile-hover)), rgb(0 0 0 / 0.5) calc((0.55 + 0.33 * var(--tile-hover)) * var(--fade)), #000 calc((1 + 0.4 * var(--tile-hover)) * var(--fade)));
    transition: scale 900ms var(--ease-out);
  }
  .svc-tile:hover .svc-tile__img {
    scale: 1.035;
  }
  .svc-tile__title {
    z-index: 1;
    align-self: end;
    margin: 0;
    padding: 0 clamp(16px, 1.6vw, 24px) clamp(16px, 1.6vw, 22px);
    color: var(--color-paper);
    font-size: clamp(18px, 0.6vw + 13px, 22px);
  }
  .svc-tile__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: color 350ms var(--ease-out);
  }
  /* The red the site uses for text on ink (5.3:1 on it), as a link state. */
  .svc-tile:hover .svc-tile__link,
  .svc-tile__link:focus-visible {
    color: var(--color-accent-bright);
  }
  /* The whole tile answers the link. */
  .svc-tile__link::before {
    content: "";
    position: absolute;
    inset: 0;
  }
  .svc-tile__link::after {
    content: "";
    flex: none;
    width: 20px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask: var(--icon-arrow) center / 20px 10px no-repeat;
    mask: var(--icon-arrow) center / 20px 10px no-repeat;
    transition: translate 300ms var(--ease-out);
  }
  .svc-tile:hover .svc-tile__link::after,
  .svc-tile__link:focus-visible::after {
    translate: 5px 0;
  }
  /* Real bullets (the base styles take list markers off). */
  .svc-tile__points {
    margin: 18px 0 0;
    padding-left: 1.15em;
    list-style: disc;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fg-quiet);
  }
  .svc-tile__points li + li {
    margin-top: 6px;
  }
  @media (min-width: 600px) and (max-width: 999px) {
    .svc-tile {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
      gap: clamp(20px, 3vw, 32px);
      align-items: center;
    }
    .svc-tile__points {
      margin-top: 0;
    }
    /* The narrow photographs here wrap two names to three lines, so the
       fade reaches higher (hovered, its near-ink holds to 80px). */
    .svc-tile__img {
      --fade: 170px;
    }
  }
  @media (min-width: 1000px) {
    .svc-tiles {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  /* Tiles without bullets (`svc-tiles--bare`, the top of the Aberdeen page,
     owner, 27 November 2026): never the tablets' photograph-and-bullets
     row; three across from 760px; on narrower screens a swipe row of 75vw
     tiles, with room above and below for the focus ring. Two classes, so the
     rules above never override them. */
  .svc-tiles--bare .svc-tile {
    display: block;
  }
  @media (min-width: 760px) {
    .svc-tiles.svc-tiles--bare {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (max-width: 759px) {
    .svc-tiles.svc-tiles--bare {
      grid-template-columns: none;
      grid-auto-flow: column;
      grid-auto-columns: 75vw;
      gap: 12px;
      margin: 16px calc(-1 * var(--gutter)) -8px;
      padding: 8px var(--gutter);
      overflow-x: auto;
      overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory;
      scroll-padding-inline: var(--gutter);
      scrollbar-width: thin;
    }
    .svc-tiles--bare .svc-tile {
      scroll-snap-align: start;
    }
  }
  /* The comparison: a real table (roles set in the markup, so it stays a
     table to screen readers when phones stack it). Phones: one block per
     row, each service's value under its name. */
  .svc-compare {
    width: 100%;
    margin-top: clamp(24px, 2.4vw, 36px);
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
  }
  .svc-compare th,
  .svc-compare td {
    padding: 16px 24px 16px 0;
    border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
    text-align: left;
    vertical-align: top;
  }
  .svc-compare thead th {
    padding-top: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom-color: rgb(var(--fg-rgb) / 0.4);
  }
  .svc-compare tbody th {
    width: 18%;
    font-weight: 600;
  }
  .svc-compare td {
    color: var(--fg-quiet);
  }
  @media (max-width: 759px) {
    .svc-compare,
    .svc-compare tbody,
    .svc-compare tr,
    .svc-compare th,
    .svc-compare td {
      display: block;
    }
    .svc-compare thead {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .svc-compare tr {
      padding: 18px 0;
      border-bottom: 1px solid rgb(var(--fg-rgb) / 0.16);
    }
    .svc-compare tbody th,
    .svc-compare td {
      width: auto;
      padding: 0;
      border: 0;
    }
    .svc-compare tbody th {
      margin-bottom: 10px;
    }
    .svc-compare td + td {
      margin-top: 10px;
    }
    .svc-compare td::before {
      content: attr(data-label);
      display: block;
      margin-bottom: 2px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--fg);
    }
  }
  /* The services hub's comparison on phones, by service (owner, 27 November
     2026: "on mobile, in the comapre automotive photography services section
     can you group the what you will recieve table so you see all the info
     for each service grouped"): the table lays out as one column, its row
     groups and rows dissolved (`display: contents`; the markup's roles keep
     it a table to screen readers), each service's name as a heading and its
     cells moved under it by column (`order`, the DOM keeping each column's
     cells in row order), each labelled with its row's name (`data-label`).
     The row headers stay for screen readers. Wider screens keep the table. */
  @media (max-width: 759px) {
    .svc-compare.svc-compare--by-service {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
    }
    .svc-compare--by-service thead,
    .svc-compare--by-service tbody,
    .svc-compare--by-service tr {
      display: contents;
      white-space: normal;
    }
    .svc-compare--by-service thead th:first-child,
    .svc-compare--by-service tbody th {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .svc-compare--by-service thead th {
      margin-top: 36px;
      padding: 0 0 10px;
      border-bottom: 1px solid rgb(var(--fg-rgb) / 0.4);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.08em;
    }
    .svc-compare--by-service thead th:nth-child(2) {
      margin-top: 0;
    }
    .svc-compare--by-service :is(th, td):nth-child(2) {
      order: 1;
    }
    .svc-compare--by-service :is(th, td):nth-child(3) {
      order: 2;
    }
    .svc-compare--by-service :is(th, td):nth-child(4) {
      order: 3;
    }
    .svc-compare--by-service td {
      padding: 12px 0;
      border-bottom: 1px solid rgb(var(--fg-rgb) / 0.12);
    }
    .svc-compare--by-service td + td {
      margin-top: 0;
    }
  }
  /* The portfolio reel (owner, 27 November 2026: "between Compare
     Automotive Photography Services and The Car Photography Process, can
     you add a scrolling carousel with my portfolio"): the portfolio's
     photographs, whole, at one height (260px to 460px) across the screen's
     full width, with no captions. The HTML is a swipe row, and it stays one
     without JavaScript and when the visitor's device asks for less motion;
     otherwise site.js part 9 adds `svc-reel--moving`: the clip hides what
     is off screen, the track slides left, and the Pause button shows beside
     the heading. */
  .svc-reel {
    --reel-h: clamp(260px, 24vw + 70px, 460px);
  }
  .svc-reel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
  }
  .svc-reel__toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fg-quiet);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 160ms ease-out;
  }
  .svc-reel__toggle:hover {
    color: var(--fg);
  }
  /* Two bars while it moves, a triangle once paused: CSS shapes. */
  .svc-reel__toggle::before {
    content: "";
    flex: none;
    box-sizing: border-box;
    width: 10px;
    height: 12px;
    border-inline: 3.5px solid currentColor;
  }
  .svc-reel__toggle[data-state="paused"]::before {
    border: 0;
    background: currentColor;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  .svc-reel__toggle[data-state="playing"] .svc-reel__play,
  .svc-reel__toggle[data-state="paused"] .svc-reel__pause {
    display: none;
  }
  .svc-reel__clip {
    margin: clamp(24px, 2.4vw, 36px) calc(-1 * var(--gutter)) 0;
  }
  .svc-reel__track {
    display: flex;
    gap: clamp(10px, 1vw, 16px);
    margin: 0;
    padding: 0 var(--gutter);
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .svc-reel__track:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }
  .svc-reel__item {
    flex: none;
    scroll-snap-align: start;
    background: var(--placeholder);
  }
  .svc-reel__item img {
    display: block;
    width: auto;
    max-width: none;
    height: var(--reel-h);
  }
  .svc-reel--moving .svc-reel__clip {
    overflow: hidden;
  }
  .svc-reel--moving .svc-reel__track {
    width: max-content;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
  }
  .svc-reel .svc-more {
    margin-top: clamp(14px, 1.6vw, 22px);
  }
  /* The Aberdeen page (AberdeenLanding.astro; owner, 27 November 2026).
     Its sections are hub blocks: the travel terms reuse the comparison
     table (stacked on phones) and the booking steps the hub's steps. */
  .ab-lead {
    max-width: 62ch;
    margin: 14px 0 0;
    color: var(--fg-quiet);
    font-size: 16px;
    line-height: 1.55;
  }
  .ab-terms__where {
    display: block;
    margin-top: 4px;
    color: var(--fg-quiet);
    font-size: 14px;
    font-weight: 400;
  }
  @media (min-width: 760px) {
    .ab-terms tbody th {
      width: 30%;
    }
  }
  /* Proof: per client, the copy and its link, then the photographs in one
     row at their own proportions (three 4:5 frames, or two 16:9); from
     1000px the copy takes a third beside them. On phones each row is a
     swipe row; site.js part 8 keeps its tab stop only while it scrolls. */
  .ab-proof {
    display: grid;
    gap: clamp(56px, 6vw, 96px);
    margin-top: clamp(24px, 2.4vw, 36px);
  }
  .ab-proof__item {
    display: grid;
    gap: 20px;
  }
  @media (min-width: 1000px) {
    .ab-proof__item {
      grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
      column-gap: clamp(24px, 3vw, 48px);
      align-items: start;
    }
  }
  .ab-proof__title {
    margin: 0;
    font-size: clamp(18px, 0.6vw + 13px, 22px);
  }
  /* The project line in italic, the site's voice for secondary lines. */
  .ab-proof__project {
    margin: 6px 0 0;
    font-size: 15px;
    font-style: italic;
    line-height: 1.4;
  }
  .ab-proof__copy {
    max-width: 52ch;
    margin: 12px 0 0;
    color: var(--fg-quiet);
    font-size: 15px;
    line-height: 1.55;
  }
  /* What was delivered, where and how fast: labels in the site's small
     tracked capitals over the values, a hairline between. */
  .ab-proof__facts {
    display: grid;
    max-width: 52ch;
    margin: 16px 0 8px;
  }
  .ab-proof__fact {
    padding: 10px 0;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.14);
  }
  .ab-proof__fact dt {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .ab-proof__fact dd {
    margin: 4px 0 0;
    color: var(--fg-quiet);
    font-size: 14px;
    line-height: 1.5;
  }
  .ab-proof__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 16px);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ab-proof__photos--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-proof__photo {
    background: var(--placeholder);
  }
  .ab-proof__photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .ab-proof__photos:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }
  @media (max-width: 599px) {
    .ab-proof__photos {
      grid-template-columns: none;
      grid-auto-flow: column;
      grid-auto-columns: 62vw;
      margin: 0 calc(-1 * var(--gutter));
      padding: 0 var(--gutter);
      overflow-x: auto;
      overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory;
      scroll-padding-inline: var(--gutter);
      scrollbar-width: thin;
    }
    .ab-proof__photos--wide {
      grid-auto-columns: 85vw;
    }
    .ab-proof__photo {
      scroll-snap-align: start;
    }
  }
  /* About: the owner's portrait (square, whole) beside the heading and copy
     from 800px; above them, at most 420px wide, on phones. */
  .ab-about {
    display: grid;
    gap: 28px;
  }
  @media (min-width: 800px) {
    .ab-about {
      grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
      column-gap: clamp(32px, 4vw, 64px);
      align-items: center;
    }
  }
  .ab-about__media {
    max-width: 420px;
    background: var(--placeholder);
  }
  .ab-about__img {
    display: block;
    width: 100%;
    height: auto;
  }
  .ab-about__copy {
    max-width: 62ch;
    margin: 16px 0 0;
    color: var(--fg-quiet);
    font-size: 16px;
    line-height: 1.6;
  }
  .ab-about__body .svc-more {
    margin-top: 10px;
  }
  /* How every shoot runs: four numbered steps (the numbers carry the
     order), two side by side from 700px, four from 1100px. */
  .svc-steps {
    display: grid;
    gap: 28px;
    margin: clamp(24px, 2.4vw, 36px) 0 0;
    padding: 0;
    list-style: none;
  }
  .svc-step {
    display: grid;
    align-content: start;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgb(var(--fg-rgb) / 0.16);
  }
  .svc-step__num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--fg-quiet);
  }
  .svc-step__title {
    margin: 0;
    font-size: clamp(17px, 0.3vw + 15px, 19px);
    font-weight: 600;
    line-height: 1.3;
  }
  .svc-step__copy {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--fg-quiet);
  }
  @media (min-width: 700px) {
    .svc-steps {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: clamp(20px, 2.4vw, 36px);
    }
  }
  @media (min-width: 1100px) {
    .svc-steps {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .svc-hub-note {
    max-width: 62ch;
    margin: clamp(32px, 3.4vw, 52px) 0 8px;
    font-size: clamp(15.5px, 0.25vw + 14px, 17px);
    line-height: 1.65;
    color: var(--fg-quiet);
  }
  @media (prefers-reduced-motion: reduce) {
    .svc-tile__img,
    .svc-tile__link::after {
      transition: none;
    }
    .svc-tile:hover .svc-tile__img {
      scale: 1;
    }
  }

  /* Display voice (owner, 25 November 2026: "try 1", headings like the
     Lexus UK case study). Page and section headings and card names are
     heavy Geist capitals; secondary lines (project names, roles, photo
     captions) are Geist italic. Sizes stay with each component; this block
     only sets the voice, so it must stay after the component rules. */
  .hero__title,
  .services__title,
  .cases__title,
  .about__title,
  .coverage__title,
  .testimonials__title,
  .featured__title,
  .quote__title,
  .svc-open__title,
  .svc-h2,
  .pf__title,
  .contact__title,
  .lost h1,
  .service-card__title,
  .case__client,
  .region__name,
  .svc-case__client,
  .svc-tile__title,
  .ab-proof__title,
  .abt-open__title,
  .abt-h2,
  .ed-h2,
  .abt-h3,
  .faq__title,
  .svc-covered__title {
    font-weight: 800;
    letter-spacing: 0.005em;
    text-transform: uppercase;
  }
  .hero__title,
  .services__title,
  .cases__title,
  .about__title,
  .coverage__title,
  .testimonials__title,
  .featured__title,
  .quote__title,
  .svc-open__title,
  .pf__title,
  .contact__title,
  .lost h1,
  .abt-open__title,
  .faq__title {
    line-height: 0.98;
  }
  .service-card__title,
  .case__client,
  .region__name,
  .svc-case__client,
  .svc-tile__title,
  .ab-proof__title,
  .abt-h2,
  .ed-h2,
  .abt-h3,
  .svc-covered__title {
    line-height: 1.05;
  }
  .case__project,
  .svc-case__project {
    font-style: italic;
  }
  .case__project,
  .svc-case__project {
    margin-top: 6px;
  }

  /* Menu sheet (narrow screens) */
  .menu-sheet {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--bg);
    color: var(--fg);
  }
  .menu-sheet::backdrop {
    background: rgb(10 11 13 / 0.7);
  }
  .menu-sheet__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: var(--rail-pad) var(--gutter) calc(var(--rail-pad) * 2);
  }
  .menu-sheet__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .menu-sheet__list {
    display: grid;
    justify-items: start;
    gap: 4px;
    margin: auto 0;
    padding: 0 0 0 8px;
    list-style: none;
  }
  .mark-link--large {
    padding: 8px 4px;
    font-size: clamp(30px, 8.4vw, 46px);
    font-weight: 400;
    letter-spacing: -0.012em;
    line-height: 1.1;
  }
  /* Services in the phone menu (owner, 26 November 2026: "press services
     and it then opens a drop down with the 3 services"): a large item like
     the others with the header's chevron, which turns when open; the three
     service pages open under it, a size down and set in. */
  .menu-sheet__toggle {
    align-items: center;
    gap: 0.3em;
    margin: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
  }
  .menu-sheet__toggle .nav-dd__chevron {
    width: 0.42em;
    height: 0.26em;
    stroke-width: 1;
  }
  .menu-sheet__toggle[aria-expanded="true"] .nav-dd__chevron {
    rotate: 180deg;
  }
  /* The drop: its one grid row runs from nothing to the list's full height,
     so the three links slide down and push the links below with them;
     they fade in a beat behind. Only sideways padding on the list, so a
     closed drop is exactly 0 tall; the first and last items carry the
     vertical space (inside the clip, so focus outlines show). */
  .menu-sheet__drop {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 320ms var(--ease-out);
  }
  .menu-sheet__drop.is-open {
    grid-template-rows: 1fr;
  }
  .menu-sheet__sublist {
    display: grid;
    justify-items: start;
    min-height: 0;
    margin: 0;
    padding: 0 0 0 16px;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    transition: opacity 200ms var(--ease-out);
  }
  .menu-sheet__drop.is-open .menu-sheet__sublist {
    opacity: 1;
    transition: opacity 260ms var(--ease-out) 80ms;
  }
  .menu-sheet__sublist > li:first-child {
    padding-top: 6px;
  }
  .menu-sheet__sublist > li:last-child {
    padding-bottom: 14px;
  }
  @media (prefers-reduced-motion: reduce) {
    .menu-sheet__drop,
    .menu-sheet__sublist,
    .menu-sheet__drop.is-open .menu-sheet__sublist {
      transition: none;
    }
  }
  .menu-sheet__sublink {
    padding: 5px 4px;
    font-size: clamp(19px, 5vw, 26px);
    font-weight: 400;
    line-height: 1.2;
    white-space: normal;
  }

  /* Not-found page */
  .lost {
    display: grid;
    align-content: center;
    gap: 20px;
    min-height: 100svh;
    padding: 120px var(--gutter) 80px;
  }
  .lost h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
  }
  .lost p {
    margin: 0;
    max-width: 46ch;
    color: var(--fg-quiet);
  }
  .lost .svc-more {
    justify-self: start;
  }
}

/* Initial load: the rails (header, hero text, logo strip) settle 5px into
   place. Nothing is ever hidden or faded: the text is visible from the first
   paint (owner, 26 November 2026: the load-in must never leave a blank page
   for LLM crawlers; it moves into place, it never fades in from nothing),
   and the photograph shows the moment it arrives (owner, 27 November 2026:
   "make sure that there are no moments where content is not readable or
   visible to crawlers"). It used to sit under an ink cover that faded over
   0.7s, which kept a photograph that had already loaded hidden for about
   half a second more. With reduced motion the rails do not move either. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal="top"] {
    animation: print 380ms var(--ease-out) both;
  }
  [data-reveal="foot"] {
    animation: print 380ms var(--ease-out) 80ms both;
  }
  .menu-sheet[open] {
    animation: sheet 240ms var(--ease-out);
  }
}

@keyframes print {
  from {
    translate: 0 5px;
  }
  to {
    translate: 0 0;
  }
}
@keyframes sheet {
  from {
    opacity: 0;
  }
}

@media (forced-colors: active) {
  .mark-link:focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: 4px;
  }
  .mark-link[aria-current="page"] {
    text-decoration: underline;
  }
  .cta-button {
    border: 1px solid ButtonText;
  }
}

/* Photographs that fill their frame: the frame sets the size and the
   photograph covers it (object-fit is set per class above). */
@layer components {
  .hero__img,
  .about__img,
  .abt-open__img,
  .abt-craft__img,
  .ed-photo__img,
  .svc-open__img,
  .svc-case__img,
  .service-card__img,
  .case__img,
  .pf-viewer__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* A photograph's alt text stays invisible while it loads, as it always
   has on this site; screen readers still read it. Every photograph has
   a srcset; the logos (plain SVG files) do not. */
@layer components {
  img[srcset] {
    color: transparent;
  }
}
