/* Optional blocks. This file is not part of site.css: build.py puts it at the top of assets/design.css,
   which only a site with "design" in its site.json loads. Sites without "design" are unaffected.
   Blocks styled here: the About page "people" photographs. (The home before and after gallery uses
   the .baband and .rail--ba rules already in site.css.) */

/* ---------- About: people photographs on a row ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.people--n1 { grid-template-columns: minmax(0, 340px); }
.people img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.people figcaption { display: grid; gap: 2px; }
.people figcaption b { font-size: 18px; font-weight: 600; color: var(--ink); }
.people figcaption span { font-size: 16px; font-weight: 400; color: var(--text); }
/* No name given: the role is the caption's main line. */
.people figcaption span:only-child { font-size: 18px; font-weight: 600; color: var(--ink); }
/* Stacked: the photographs come before the row's heading and copy. */
.aboutrow--people .people { order: -1; margin-bottom: 8px; }
@media (min-width: 900px) {
  .aboutrow--people .aboutrow__grid { grid-template-areas: "head people" "body people"; grid-template-rows: auto 1fr; row-gap: 20px; }
  .aboutrow--people .h2 { grid-area: head; }
  .aboutrow--people .aboutrow__body { grid-area: body; }
  .aboutrow--people .people { grid-area: people; order: 0; gap: 20px; margin-bottom: 0; }
}

/* =====================================================================================================
   Designed blocks (site.json "design": hero, gallery, header_quote; site.json "trust").
   Structure only. Colour, type and finish belong to each site's own design.css, which loads after this.
   ===================================================================================================== */

/* ---------- Header with the quote button (design.header_quote) ----------
   The full menu shows from 1200px (the engine default is 1300px). With a phone number as well, the number
   itself is text only from 1400px; Call now and the quote button are always there. */
.nav__call--quote .btn { min-height: 48px; padding-inline: 20px; white-space: nowrap; }
@media (max-width: 1199px) {
  .site-header--quote .nav__call { flex-wrap: wrap; gap: 10px; padding-top: 6px; }
  .site-header--quote .nav__call .btn { flex: 1 1 200px; }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  .site-header--quote .site-header__in { min-height: 84px; gap: 24px; }
  .site-header--quote .menu-btn { display: none; }
  .site-header--quote .nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 22px; margin-left: auto;
    padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .site-header--quote .nav ul { flex-direction: row; gap: 20px; }
  .site-header--quote .nav ul a { display: inline-flex; min-height: 44px; padding: 0; font-size: 16px; border-bottom: 0; }
  .site-header--quote .nav__call { gap: 10px; }
}
@media (min-width: 1200px) {
  .site-header--quote.site-header--phone .nav { gap: 20px; }
  .site-header--quote.site-header--phone .nav ul { gap: 18px; }
  .site-header--quote.site-header--phone .nav__call { gap: 12px; }
  .site-header--quote.site-header--phone .nav__call .btn { padding-inline: 16px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .site-header--quote.site-header--phone .tel { display: none; }
  .site-header--quote.site-header--phone .nav ul { gap: 16px; }
}

/* ---------- Hero: eyebrow line and the breadcrumb trail carried on it ---------- */
.hero__eyebrow, .crumbs--hero { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 16px; line-height: 1.4; }
.hero__eyebrow::before, .crumbs--hero::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--timber); }
.crumbs--hero { padding: 0; background: none; border: 0; }
.crumbs--hero a { min-height: 44px; margin-block: -10px; }
.crumbs--hero ol { min-width: 0; }
@media (max-width: 420px) { .crumbs--hero::before { display: none; } }
@media (max-width: 519px) { .popular__list .popular__go { background: none; } }
@media (max-width: 360px) { .hero--cover .hero__text { padding: 20px 18px; } }
.hero--index .crumbs--hero a { color: #fff; }
.hero--index .crumbs--hero [aria-current], .hero--index .hero__eyebrow, .hero--index .crumbs--hero li + li::before { color: var(--on-dark); }
.hero--index .hero__eyebrow::before, .hero--index .crumbs--hero::before { background: var(--sand); }

/* ---------- Hero "caption": copy beside one large photograph, caption card over its foot ---------- */
.hero--photo .hero__media { position: relative; }
.hero--photo .hero__media > .photo { position: absolute; inset: 0; aspect-ratio: auto; }
.hero--photo .hero__media > .photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__text { display: flex; flex-direction: column; min-width: 0; }
.hero--photo .hero__text .hero__lead { margin-top: 18px; }
.hero--caption .hero__media { height: auto; aspect-ratio: 3 / 2; max-height: 420px; }
.hero--caption.hero--portrait .hero__media > .photo > img { object-position: 50% 42%; }
.hero__cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px; border-radius: 10px; background: rgb(255 255 255 / .93); font-size: 16px; line-height: 1.4; color: var(--text);
}
.hero__cap p { min-width: 0; }
.hero__cap strong { font-weight: 600; color: var(--ink); }
.hero__cap span { display: block; }
.hero__cap a { display: none; flex: none; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .hero--caption .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 4.5vw, 64px); align-items: stretch; }
  .hero--caption .hero__text { justify-content: center; padding-block: clamp(12px, 2vw, 28px); }
  .hero--caption .hero__grid .actions { margin-top: 28px; padding-top: 0; }
  .hero--caption .hero__media { height: auto; min-height: clamp(440px, 40vw, 580px); }
  .hero__cap { left: 20px; right: 20px; bottom: 20px; padding: 14px 18px; }
  .hero__cap a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -8px; }
}

/* ---------- Hero "cover": full-width photograph, the copy in a card floating over it ----------
   The card hangs below the photograph's foot (--hang), so it reads as resting on the page, not printed on the photo.
   Stacked: photograph, then the card pulled up over its lower edge. */
.hero--cover { --hang: 0px; padding: 0; overflow: visible; }
.hero--cover > .hero__media { height: clamp(230px, 62vw, 400px); overflow: hidden; }
.hero--cover > .hero__grid { position: relative; z-index: 1; margin-top: -44px; }
.hero--cover .hero__text { padding: clamp(22px, 5vw, 34px); border-radius: var(--r); background: #fff; }
.hero--cover .hero__cap { display: none; }
@media (min-width: 900px) {
  .hero--cover { --hang: 56px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(clamp(440px, 39vw, 580px), auto) var(--hang); }
  .hero--cover > .hero__media { grid-area: 1 / 1 / 2 / 2; height: auto; }
  .hero--cover > .hero__grid { grid-area: 1 / 1 / 3 / 2; align-self: end; margin-top: 0; padding-top: 44px; flex-direction: row; }
  .hero--cover .hero__text { flex: 0 1 640px; padding: clamp(30px, 3vw, 44px); }
  .hero--cover .hero__grid .actions { margin-top: 26px; padding-top: 0; }
  .hero--cover .hero__cap { display: flex; left: auto; right: var(--bleed); bottom: 20px; max-width: min(46vw, 560px); }
  /* Stand-in photograph (too small to stretch across the page): it is shown sharp over the right-hand side only and
     fades on its left into a soft, tinted copy of itself that fills the rest of the band. A 2400 x 1200 photograph
     removes all of this and covers the band edge to edge. */
  .hero--soft > .hero__media::before { content: ""; position: absolute; inset: -48px; background: var(--hero-img) center / cover no-repeat; filter: blur(30px) saturate(1.1); }
  .hero--soft > .hero__media::after { content: ""; position: absolute; inset: 0; background: var(--hero-tint, rgb(255 255 255 / .16)); }
  .hero--soft > .hero__media > .photo {
    z-index: 1; inset: 0 0 0 auto; width: min(66%, 940px);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%);
  }
  .hero--soft .hero__cap { z-index: 2; }
}

/* ---------- Trust bar under the hero (site.json "trust") ---------- */
.trustbar { padding-block: 18px; background: #fff; border-block: 1px solid var(--line); }
.trustbar__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.trustbar__list > li { min-width: 0; }
.trustbar__list a, .trustbar__item { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; }
.trustbar__list a:hover .trustbar__label { text-decoration: underline; text-underline-offset: 4px; }
.trustbar__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--firth); }
.trustbar__badge { flex: none; display: grid; place-items: center; width: 64px; height: 44px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.trustbar__badge img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; }
@media (max-width: 359px) { .trustbar__list { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 700px) { .trustbar__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .trustbar__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 22px; }
}

/* ---------- Photo row and video row (design.gallery) ----------
   Every photograph keeps its own shape at one row height (--rh); the row scrolls sideways and runs off the
   right edge of the page. "row": copy left, row right. "stack": copy above the row. */
.rail--shapes { --rh: min(86vw, 340px); align-items: flex-start; }
.rail--shapes.rail--wide { --rh: 58vw; }
.rail--ideas.rail--shapes > li { flex: 0 0 auto; width: min(calc(var(--rh) * var(--ar)), 84vw); }
.rail--ideas.rail--shapes img { width: 100%; height: var(--rh); aspect-ratio: auto; object-fit: cover; border-radius: var(--r); }
.rail--ideas.rail--clips > li { flex: 0 0 auto; width: min(56vw, 230px); }
.rail--clips .ideas__clip video { width: 100%; height: auto; aspect-ratio: 9 / 16; }
.ideas + .ideas--video { padding-top: 0; }
.ideas__copy > .textlink { margin-top: 0; margin-bottom: 20px; }
@media (min-width: 700px) { .rail--shapes.rail--wide { --rh: clamp(300px, 44vw, 400px); } }
@media (min-width: 900px) {
  .rail--shapes, .rail--shapes.rail--wide { --rh: clamp(320px, 30vw, 440px); }
  .rail--ideas.rail--shapes > li { width: calc(var(--rh) * var(--ar)); }
  .rail--ideas.rail--clips > li { width: calc(clamp(320px, 30vw, 440px) * 9 / 16); }
  .ideas__copy > .textlink { margin: 18px 0 0; }
  .ideas--row .ideas__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .ideas--stack .ideas__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 44px); }
  .ideas--stack .ideas__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: end; }
  .ideas--stack .ideas__copy { grid-template-rows: auto auto; }
  .ideas--stack .ideas__copy > .h2 { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin: 0; }
  .ideas--stack .ideas__copy > .lead { grid-column: 2; grid-row: 1; margin-top: 0; max-width: none; }
  .ideas--stack .ideas__copy > .actions { grid-column: 2; grid-row: 2; margin-top: 22px; }
  .ideas--stack .ideas__copy > .textlink { grid-column: 2; grid-row: 3; margin-top: 14px; }
  .ideas--stack .ideas__copy > .carousel__nav { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; margin: 0; padding: 0; }
  /* Row: heading, sentence, buttons, onward link; the arrows close the column level with the photographs' foot. */
  .ideas--row .ideas__grid .actions { order: 0; }
  .ideas--row .ideas__grid .carousel__nav { order: 0; }
}

/* ---------- Town pages: "How we fit" while its photograph is still to come ----------
   Text only: heading left, the town's paragraph right, then the steps in one row across the full width. */
@media (min-width: 900px) {
  #how-we-fit .feature__plain { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tail"; }
  #how-we-fit .feature__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); }
  #how-we-fit .feature__head > .h2 { grid-column: 1; margin: 0; }
  #how-we-fit .feature__head > .lead { grid-column: 2; margin-top: 0; max-width: none; }
  #how-we-fit .feature__head > .fitrow { grid-column: 1 / -1; margin-top: clamp(30px, 3.6vw, 48px); }
  #how-we-fit .feature__tail .actions { margin-top: 4px; }
}

/* ---------- About: a row with its own photograph (optional "image" on a section) ---------- */
.about .aboutphoto { padding-block: clamp(32px, 4.6vw, 64px); }

/* ---------- Blog post without its lead photograph yet: no space held for it ---------- */
.post:not(:has(.post__lead-photo)) { --lift: 0px; }

/* Almond Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "The new-town poster": Livingston is a planned new town, so the site borrows the flat planning graphics
   of the 1960s development corporations.
   - Colour comes in flat fields, never tints or shadows: warm white, sage, sky, charcoal and Almond orange.
     Stone bands are sage, mist bands are sky, before and after is charcoal, the enquiry band is orange.
   - The photo heroes are set like a poster: the two-line H1 runs the full width of the page, the copy and the
     photograph sit under it. The photograph has one quarter-round corner cut into an orange block.
   - Every coloured band carries a small frieze of two flat shapes (a half-disc and a quarter-disc) on its
     top edge. They sit inside the band's padding, so they never run under copy.
   - Photograph and copy sections straddle a colour field: the photograph sits half on, half off it.
   - Cards are equal "planning blocks". Steps and stages are plots with a large numeral in a disc. Before and
     After are round stickers. Buttons, chips and the caption use the almond leaf (two round corners, two tight).
   House rules kept: body 18px / 1.65 / #303030, small text 16px or more, ordinary photographs 16px corners,
   photograph first when stacked. Orange (#d9622b) is a ground or a shape, never small text: on orange the
   text is --jet (5.0:1); orange text on light grounds is not used. */

:root {
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --orange: var(--timber);
  --coal: var(--firth);
  --jet: #141414;
  --sage: #d5e0cd;
  --sky: #cfe1ea;
  --peach: var(--sand);
  --leaf: 22px 6px 22px 6px;
  --leaf-s: 14px 4px 14px 4px;
  --m: clamp(46px, 6.2vw, 88px);          /* frieze module: always smaller than a band's padding */
  --focus: var(--coal);
  --head: var(--ink);
}

body { font-family: var(--font); }
:focus-visible { outline-color: var(--focus); }

/* ---------- Colour fields ---------- */
.section, .strip, .hero { position: relative; }
.section { --pt: clamp(56px, 7.5vw, 108px); }
.choices .section, .local .section { --pt: clamp(30px, 4vw, 56px); }
.about .aboutphoto { --pt: clamp(32px, 4.6vw, 64px); }
.section > .container, .hero > .container { position: relative; z-index: 1; }
.band-stone { background: var(--sage); --line: #b3c2a9; --ph-bg: #e3ebdd; }
.band-mist { background: var(--sky); --line: #a9c2ce; --ph-bg: #dfecf2; }
.band-firth, .baband, .site-footer, .callcard {
  --focus: #fff; --head: #fff; --line: rgb(255 255 255 / .22);
}
.baband { background: var(--coal); color: var(--on-dark); }
.enquiry.band-mist { background: var(--orange); color: var(--jet); --line: rgb(20 20 20 / .3); --head: var(--jet); }

/* The frieze: a half-disc and a quarter-disc on the band's top edge, at the right-hand side. */
.band-stone:not(.feature)::after, .band-mist:not(.feature)::after, .band-firth:not(.hero)::after, .baband::after, .enquiry::after {
  content: ""; position: absolute; top: 0; right: 0; z-index: 0; width: calc(var(--m) * 3.2); height: var(--m); pointer-events: none;
  background:
    radial-gradient(circle at 100% 0, var(--f2) calc(var(--m) - .8px), #0000 var(--m)) 100% 0 / var(--m) var(--m) no-repeat,
    radial-gradient(circle at 50% 0, var(--f1) calc(var(--m) - .8px), #0000 var(--m)) 0 0 / calc(var(--m) * 2) var(--m) no-repeat;
}
/* Sitting on the band's foot instead (photo rows, popular bathrooms); none where a block already does the job. */
.ideas[class*="band-"]::after, .popular[class*="band-"]::after {
  top: auto; bottom: 0;
  background:
    radial-gradient(circle at 100% 100%, var(--f2) calc(var(--m) - .8px), #0000 var(--m)) 100% 0 / var(--m) var(--m) no-repeat,
    radial-gradient(circle at 50% 100%, var(--f1) calc(var(--m) - .8px), #0000 var(--m)) 0 0 / calc(var(--m) * 2) var(--m) no-repeat;
}
.findus::after, .gallerymore::after { content: none; }
.band-stone { --f1: var(--coal); --f2: var(--orange); }
.band-mist { --f1: var(--orange); --f2: var(--coal); }
.band-firth, .baband { --f1: var(--orange); --f2: var(--sage); }
.enquiry.band-mist { --f1: var(--coal); --f2: var(--paper); }

/* ---------- Type ---------- */
.h2, .band-firth .h2 { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; color: var(--head); }
h3, .h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.lead { margin-top: 16px; }
.intro { max-width: 820px; }
.note { font-weight: 700; }
.points strong { font-weight: 800; }
.textlink a { font-weight: 800; color: var(--head); text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.textlink .icon { stroke-width: 2.2; }
.lead a, .points a, .faq details > p a, .form__privacy a, .whyus__more a, .prose a:not(.tel):not(.btn),
.split__body > p:not([class]) a, .feature__tail > p:not([class]) a { font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.lead a:hover, .points a:hover, .faq details > p a:hover, .form__privacy a:hover, .prose a:not(.tel):not(.btn):hover,
.split__body > p:not([class]) a:hover, .feature__tail > p:not([class]) a:hover { color: var(--jet); text-decoration-thickness: 3px; }
figcaption { font-weight: 700; }

/* ---------- Buttons: the almond leaf ---------- */
.btn { min-height: 54px; padding: 8px 26px; border-width: 2px; border-radius: var(--leaf); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.btn .icon { stroke-width: 2.2; }
.btn--call, .btn--on-dark, .band-firth .btn--call { background: var(--orange); border-color: var(--orange); color: var(--jet); }
.btn--call:hover { background: var(--coal); border-color: var(--coal); color: #fff; }
.btn--quote { border-color: var(--coal); color: var(--coal); }
.btn--quote:hover { background: var(--coal); color: #fff; }
.btn--solid { background: var(--coal); border-color: var(--coal); color: #fff; }
.btn--solid:hover { background: var(--orange); border-color: var(--orange); color: var(--jet); }
/* On charcoal. */
.btn--on-dark:hover, .band-firth .btn--call:hover, .baband .btn--call:hover, .site-footer .btn--call:hover,
.findus__list .btn--call:hover, .nav .btn--call:hover { background: #fff; border-color: #fff; color: var(--jet); }
.band-firth .btn--quote, .baband .btn--quote { border-color: #fff; color: #fff; }
.band-firth .btn--quote:hover, .baband .btn--quote:hover { background: #fff; border-color: #fff; color: var(--jet); }
.round { width: 52px; height: 52px; border: 0; background: var(--coal); color: #fff; }
.round .icon { stroke-width: 2.2; }
.round:hover:not(:disabled) { background: var(--orange); color: var(--jet); }
.round:disabled { background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--text-muted); }
.baband .round { background: #fff; color: var(--jet); }
.baband .round:disabled { background: transparent; color: rgb(255 255 255 / .5); }

/* ---------- Header ---------- */
.site-header { border-bottom: 3px solid var(--coal); }
.logo__text b { font-size: 24px; font-weight: 800; letter-spacing: -0.045em; }
.logo__text span { font-size: 16px; font-weight: 600; }
.nav ul a { font-size: 16px; font-weight: 700; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.tel { font-weight: 800; letter-spacing: -0.02em; }
.menu-btn { min-height: 48px; padding: 0 16px; border: 2px solid var(--coal); border-radius: var(--leaf-s); background: var(--coal); color: #fff; font-weight: 800; }
@media (max-width: 479px) { .logo__text b { font-size: 21px; } .logo__text span { font-size: 16px; } }
/* The open menu is a charcoal sheet. */
@media (max-width: 1199px) {
  .nav { gap: 18px; padding: 6px var(--gut) 24px; background: var(--coal); border-bottom: 0; --focus: #fff; }
  .nav ul a { min-height: 58px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #fff; border-bottom: 1px solid rgb(255 255 255 / .2); }
  .nav ul a[aria-current]::after { content: ""; width: 14px; height: 14px; margin-left: auto; border-radius: 50%; background: var(--orange); }
  .nav ul a:hover, .nav ul a[aria-current] { text-decoration: none; }
  .nav .tel { font-size: 22px; color: #fff; }
}
@media (max-width: 379px) { .nav__call { flex-wrap: wrap; gap: 12px; } .nav__call .btn { flex: 1 1 100%; } }
/* The full menu from 1200px (the engine waits until 1300px). The number joins it from 1400px. */
@media (min-width: 1200px) {
  .site-header__in { min-height: 84px; gap: 24px; }
  .menu-btn { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 22px; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .nav ul { flex-direction: row; gap: 20px; }
  .nav ul a { display: inline-flex; min-height: 44px; font-size: 16px; border-bottom: 0; }
  .nav__call { gap: 14px; }
}
@media (min-width: 1200px) and (max-width: 1399px) { .nav .tel { display: none; } }

/* ---------- Hero: eyebrow, title, points ---------- */
.hero__eyebrow, .crumbs--hero { gap: 10px; font-weight: 700; color: var(--ink); }
.hero__eyebrow::before, .crumbs--hero::before { width: 18px; height: 18px; border-radius: 100% 0 0 0; background: var(--orange); }
.hero--index .hero__eyebrow::before, .hero--index .crumbs--hero::before { background: var(--orange); }
.crumbs a { font-weight: 700; }
.crumbs [aria-current] { color: var(--text-muted-2); }
.hero--index .crumbs--hero [aria-current] { color: var(--on-dark); }
.hero__title { font-size: clamp(31px, 9.2vw, 46px); line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.hero__lead { max-width: 40ch; }
/* The three points are three colour bars, like the key on a plan. */
.hero__points { display: grid; gap: 8px; }
.hero__points li, .hero__points li:last-child { gap: 14px; padding: 9px 14px 9px 9px; border: 0; border-radius: var(--leaf-s); background: var(--sage); font-weight: 800; letter-spacing: -0.01em; color: var(--jet); }
.hero__points li:nth-child(2) { background: var(--sky); }
.hero__points li:nth-child(3) { background: var(--peach); }
.hero__points .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 9px; border-radius: 50%; background: #fff; color: var(--jet); stroke-width: 2; }
.hero--index .hero__points li, .hero--index .hero__points li:last-child { color: var(--jet); }
.hero--index .hero__points .icon { color: var(--jet); }

/* ---------- Photo hero: the poster ----------
   Stacked: photograph (one quarter-round corner cut into an orange block), its caption strip, then the copy.
   From 900px: eyebrow and H1 across the full width; copy left, photograph right; the caption block hangs off
   the photograph's lower left corner; a sage quarter-disc fills the top right corner of the page. */
.hero--caption { --hero-r: 30vw; padding-top: 16px; }
.hero--caption .hero__media { display: grid; gap: 8px; height: auto; aspect-ratio: auto; max-height: none; }
.hero--caption .hero__media > .photo { position: relative; inset: auto; width: 100%; max-height: 420px; aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--orange); }
.hero--caption .hero__media > .photo > img { border-radius: var(--hero-r) var(--r) var(--r) var(--r); }
.hero__cap { position: static; padding: 12px 16px; border-radius: var(--leaf-s); background: var(--coal); color: var(--on-dark); }
.hero__cap strong { font-weight: 800; color: #fff; }
.hero__cap a { font-weight: 800; color: #fff; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hero__cap a:focus-visible { outline-color: #fff; }
@media (min-width: 900px) {
  .hero--caption { --hero-r: clamp(150px, 19vw, 250px); padding-top: clamp(26px, 3vw, 44px); }
  .hero--caption::before { content: ""; position: absolute; top: 0; right: 0; width: clamp(200px, 25vw, 380px); aspect-ratio: 1; border-radius: 0 0 0 100%; background: var(--sage); }
  .hero--caption .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto auto auto auto 1fr;
    grid-template-areas: "eyebrow eyebrow" "title title" "lead media" "actions media" "points media" "note media";
    column-gap: clamp(40px, 5vw, 72px); row-gap: 0; align-items: start;
  }
  .hero--caption.hero--portrait .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .hero--caption .hero__text { display: contents; }
  .hero--caption .hero__eyebrow, .hero--caption .crumbs--hero { grid-area: eyebrow; }
  .hero--caption .hero__title { grid-area: title; margin-bottom: clamp(26px, 3vw, 42px); font-size: clamp(46px, 6.3vw, 86px); line-height: .98; }
  .hero--caption .hero__text .hero__lead { grid-area: lead; margin-top: 0; max-width: 34ch; font-size: clamp(19px, 1.75vw, 23px); line-height: 1.5; }
  .hero--caption .hero__grid .actions { grid-area: actions; margin-top: 26px; padding-top: 0; }
  .hero--caption .hero__points { grid-area: points; margin-top: 28px; }
  .hero--caption .hero__note { grid-area: note; }
  .hero--caption .hero__media { grid-area: media; align-self: stretch; grid-template-rows: minmax(0, 1fr) auto; }
  .hero--caption .hero__media > .photo { max-height: none; aspect-ratio: auto; min-height: clamp(330px, 29vw, 400px); }
  .hero--caption.hero--portrait .hero__media > .photo { min-height: clamp(340px, 31vw, 430px); }
  .hero__cap { padding: 14px 20px; border-radius: var(--leaf); }
  .hero__cap a { margin-block: -8px; }
}
/* ---------- Text hero (hubs, About, Gallery): charcoal, two shapes sitting on its foot ---------- */
.hero--index .hero__title { letter-spacing: -0.05em; }
.hero--index::after {
  left: auto; right: 0; width: calc(var(--m) * 3.2); height: var(--m);
  background:
    radial-gradient(circle at 100% 100%, var(--sage) calc(var(--m) - .8px), #0000 var(--m)) 100% 0 / var(--m) var(--m) no-repeat,
    radial-gradient(circle at 50% 100%, var(--orange) calc(var(--m) - .8px), #0000 var(--m)) 0 0 / calc(var(--m) * 2) var(--m) no-repeat;
}
@media (max-width: 899px) { .hero--index { padding-bottom: calc(var(--m) + 34px); } }

/* ---------- Photograph and copy: the photograph straddles a colour field ----------
   Stacked: the field is the top of the section, down to the middle of the photograph.
   Side by side: the field is the outer part of the photograph's half, out to the page edge. */
.feature:has(.split)::before {
  content: ""; position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: calc(var(--pt) + 30vw); background: var(--field, var(--sage)); pointer-events: none;
}
.feature:has(.split--flip) { --field: var(--sky); }
.feature.band-stone, .feature.band-mist { --field: var(--paper); }
@media (min-width: 900px) {
  .feature:not(.feature--long):has(.split)::before { bottom: 0; right: auto; width: calc(var(--bleed) + min(var(--max), 100vw - 2 * var(--gut)) * .3); height: auto; }
  .feature:not(.feature--long):has(.split--flip)::before { left: auto; right: 0; }
}
@media (min-width: 1100px) {
  .feature--long:has(.split)::before { bottom: 0; right: auto; width: calc(var(--bleed) + min(var(--max), 100vw - 2 * var(--gut)) * .3); height: auto; }
  .feature--long:has(.split--flip)::before { left: auto; right: 0; }
}
.split .points--tick li, .points--check li, .points--plain li { border-color: var(--line); }

/* ---------- Icon points: icons in discs ---------- */
.points--tile .points__icon, .band-stone .points--tile .points__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--coal); color: #fff; }
.points--ring .points__icon { border: 0; background: var(--orange); color: var(--jet); }
.points--ring p { font-weight: 700; }
.points--check .points__icon { background: var(--orange); color: var(--jet); }
.points--rule .points__icon { padding-bottom: 0; margin-bottom: 12px; border-bottom: 0; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--coal); color: #fff; }
.points--rule .icon { width: 24px; height: 24px; }
.points--plain .points__icon, .points--tick .points__icon { color: var(--jet); }
.points--tick .icon { stroke-width: 2.6; }
.financebox { border-radius: var(--leaf); background: var(--coal); color: #fff; font-weight: 700; }
.financebox .icon { color: var(--peach); }

/* ---------- Problem cards: planning blocks ----------
   Photo cards carry the almond leaf (two quarter-round corners). A card with no photograph is a flat colour
   block twice as wide, so a row of four photographs and a row of two colour blocks reads as one grid. */
.types__grid { gap: 26px 14px; }
.typecard figure { border-radius: 38% var(--r) 38% var(--r) / 30.4% var(--r) 30.4% var(--r); }
.typecard h3 { margin-top: 14px; font-size: 18px; }
.typecard h3 .icon { color: var(--jet); stroke-width: 2.2; }
.typecard:has(.iconcard) { grid-column: 1 / -1; }
.typecard:has(.iconcard) .typecard__link {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-content: center;
  height: 100%; min-height: 148px; padding: 22px clamp(56px, 13vw, 132px) 22px 20px; overflow: hidden;
  border-radius: var(--r); background: var(--coal); color: var(--on-dark);
}
.typecard:has(.iconcard) figure { grid-row: 1 / span 2; align-self: start; aspect-ratio: auto; overflow: visible; border-radius: 0; }
.typecard .iconcard { width: 56px; height: 56px; aspect-ratio: auto; border-radius: 50%; background: var(--orange); color: var(--jet); }
.typecard .iconcard .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.typecard:has(.iconcard) h3 { margin-top: 2px; color: #fff; }
.typecard:has(.iconcard) .typecard__link::after { content: ""; position: absolute; top: 0; right: 0; width: clamp(48px, 11vw, 116px); aspect-ratio: 1; border-radius: 0 0 0 100%; background: var(--orange); }
.typecard:has(.iconcard) ~ .typecard:has(.iconcard) .typecard__link { background: var(--orange); color: var(--jet); }
.typecard:has(.iconcard) ~ .typecard:has(.iconcard) h3 { color: var(--jet); }
.typecard:has(.iconcard) ~ .typecard:has(.iconcard) .iconcard { background: var(--coal); color: #fff; }
.typecard:has(.iconcard) ~ .typecard:has(.iconcard) .typecard__link::after { top: auto; bottom: 0; border-radius: 100% 0 0 0; background: var(--coal); }
@media (min-width: 600px) {
  .types .types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .types .typecard:has(.iconcard) { grid-column: auto; }
  .typecard h3 { font-size: 22px; }
}
@media (min-width: 900px) {
  .types .types__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
  .types .typecard:has(.iconcard) { grid-column: span 2; }
  .types .typecard p { font-size: 17px; }
  .typecard:has(.iconcard) .typecard__link { column-gap: 22px; padding-left: 28px; }
  .typecard .iconcard { width: 72px; height: 72px; }
  .typecard .iconcard .icon { width: 34px; height: 34px; }
}
/* The styles hub: one style page, shown as one wide block (photograph beside its copy). */
.typegroup .types__grid:has(> .typecard:only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
  .typegroup .typecard:only-child .typecard__link { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(24px, 4vw, 48px); align-content: center; align-items: center; }
  .typegroup .typecard:only-child figure { grid-row: 1 / span 2; }
  .typegroup .typecard:only-child h3 { align-self: end; margin-top: 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; }
  .typegroup .typecard:only-child p { align-self: start; margin-top: 10px; font-size: 18px; line-height: 1.65; }
}

/* ---------- Steps: plots on a plan, a large numeral in a disc ---------- */
.steps { display: grid; gap: 12px; }
.steps li, .steps li:last-child { grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; padding: 18px; border-radius: var(--r); background: var(--stone); }
.steps li::before { display: none; }
.steps__badge { width: 60px; height: 60px; border: 0; background: var(--orange); color: var(--jet); }
.steps li:nth-child(even) .steps__badge { background: var(--coal); color: #fff; }
.steps__badge .icon { display: none; }
.steps__badge b { position: static; width: auto; height: auto; background: none; color: inherit; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.steps h3 { margin-top: 3px; font-size: 20px; }
@media (min-width: 1000px) {
  .process > .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .process .intro { grid-column: 1; margin-bottom: clamp(30px, 3.6vw, 48px); }
  .process .steps { grid-column: 1 / -1; grid-row: 2; }
  .process .actions { grid-column: 2; grid-row: 1; margin: 0 0 clamp(30px, 3.6vw, 48px); }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .steps--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Each plot: a disc run off its top left corner with the numeral in it, the step's icon top right. */
  .steps li, .steps li:last-child { position: relative; display: block; overflow: hidden; padding: 138px 30px 34px; }
  .steps li::before, .steps li:last-child::before { display: block; left: -34px; top: -34px; right: auto; bottom: auto; width: 156px; height: 156px; border-radius: 50%; background: var(--orange); }
  .steps li:nth-child(even)::before { background: var(--coal); }
  .steps__badge, .steps li:nth-child(even) .steps__badge { position: static; width: auto; height: auto; background: none; }
  .steps__badge b { display: block; position: absolute; top: 14px; left: 30px; right: auto; font-size: 64px; line-height: 1.2; }
  .steps__badge .icon { display: block; position: absolute; top: 30px; right: 30px; width: 30px; height: 30px; color: var(--jet); }
  .steps h3 { margin-top: 0; font-size: 23px; }
}
.timeline { display: grid; gap: 12px; }
.timeline li, .timeline li:last-child { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 18px; border: 0; border-radius: var(--r); background: #fff; }
.timeline__num { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: var(--jet); font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.timeline li:nth-child(even) .timeline__num { background: var(--coal); color: #fff; }
.timeline h3 .icon { color: var(--jet); }
@media (min-width: 900px) {
  .timeline li, .timeline li:last-child { grid-template-columns: 72px minmax(0, 1fr); gap: 22px; padding: 24px 26px; }
  .timeline__num { width: 72px; height: 72px; font-size: 36px; }
  .timeline li > div { align-self: center; }
}
.fitrow b { width: 44px; height: 44px; background: var(--orange); color: var(--jet); font-size: 20px; font-weight: 800; }
.fitrow li:nth-child(even) b { background: var(--coal); color: #fff; }
.fitrow li { align-items: center; font-weight: 700; }
@media (min-width: 640px) { .fitrow li { align-items: center; } }

/* ---------- Before and after: charcoal field, round stickers ---------- */
.baband figcaption { color: #fff; }
.rail--ba > li { flex-basis: min(86%, 400px); }
.ba__frame { aspect-ratio: 1 / 1; }
.ba__tag { top: 12px; display: grid; place-items: center; width: 70px; height: 70px; padding: 0; border-radius: 50%; font-weight: 800; letter-spacing: -0.01em; }
.ba__tag--before { left: 12px; background: var(--coal); color: #fff; box-shadow: 0 0 0 3px #fff; transform: rotate(-9deg); }
.ba__tag--after { right: 12px; background: var(--orange); color: var(--jet); box-shadow: 0 0 0 3px #fff; transform: rotate(9deg); }
.ba__handle::before { width: 4px; margin-left: -2px; box-shadow: none; }
.ba__knob { background: var(--orange); color: var(--jet); box-shadow: 0 0 0 3px #fff; }
.ba__handle:focus-visible .ba__knob { outline-color: #fff; }
@media (min-width: 900px) {
  .baband__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 3.6vw, 50px); }
  .baband__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: start; }
  .baband__copy > .h2 { grid-row: 1 / span 2; }
  .baband__copy > .lead { grid-column: 2; margin-top: 0; }
  .baband__grid .baband__copy > .actions { grid-column: 2; margin-top: 22px; }
  .baband__grid .rail { gap: 20px; }
  .baband .carousel__nav { display: none; }
  .ba__frame { aspect-ratio: 5 / 4; }
}

/* ---------- Photo rows (Bathroom Ideas, home gallery, style gallery) ----------
   Heading and arrows left, sentence and buttons right, then the row of photographs running off the page. */
.ideas figcaption { color: var(--jet); }
@media (min-width: 900px) {
  .ideas--row .ideas__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 44px); }
  .ideas--row .ideas__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; column-gap: clamp(40px, 6vw, 88px); align-items: start; }
  .ideas--row .ideas__copy > .h2 { grid-column: 1; grid-row: 1; margin: 0; }
  .ideas--row .ideas__copy > .lead { grid-column: 2; grid-row: 1; margin-top: 0; max-width: none; }
  .ideas--row .ideas__copy > .actions { grid-column: 2; grid-row: 2; margin-top: 22px; }
  .ideas--row .ideas__copy > .textlink { grid-column: 2; grid-row: 3; margin-top: 14px; }
  .ideas--row .ideas__copy > .carousel__nav { grid-column: 1; grid-row: 2; align-self: end; margin: 22px 0 0; padding: 0; }
}

/* ---------- Finance: an orange band ---------- */
.strip { background: var(--orange); color: var(--jet); --focus: var(--jet); }
.strip__in { justify-content: flex-start; gap: 16px; padding-block: 20px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; line-height: 1.35; letter-spacing: -0.015em; }
.strip__in > .icon { box-sizing: content-box; width: 26px; height: 26px; padding: 13px; border-radius: 50%; background: var(--coal); color: #fff; stroke-width: 1.8; }
.strip a { font-weight: 800; white-space: normal; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Why us: three colour blocks on charcoal ---------- */
.trio li { padding: 28px; border: 0; background: var(--orange); color: var(--jet); }
.trio li:nth-child(3n + 2) { background: var(--sage); }
.trio li:nth-child(3n) { background: var(--sky); }
.trio__icon { border-radius: 50%; background: var(--coal); color: #fff; }
.trio h3 { color: var(--jet); font-size: 23px; }
.trio p { color: var(--jet); }

/* ---------- Chips, town links, popular bathrooms, related ---------- */
.chip { border-radius: var(--leaf-s); font-weight: 600; }
.chip--link { border-width: 2px; font-weight: 800; }
.districts--compact .chip, .districts .chips--plain .chip { background: var(--sky); color: var(--jet); }
.districts .note .icon, .coverage__group h3 .icon, .directory__row h3 .icon { color: var(--jet); }
.popular__list li, .popular__list li:last-child, .popular__list li:nth-last-child(2):nth-child(odd) { border: 0; }
.popular__list { gap: 12px; }
.popular__list a { padding: 20px; border-radius: var(--r); background: #fff; }
.popular__icon { border-radius: 50%; background: var(--coal); color: #fff; }
.popular__go { border: 0; background: var(--orange); color: var(--jet); }
.popular__list a:hover .popular__go { background: var(--coal); color: #fff; }
@media (max-width: 519px) { .popular__go, .popular__list a:hover .popular__go { background: none; color: var(--jet); } }
.related__list a, .related__list span { min-height: 84px; border: 0; border-radius: var(--r); background: var(--stone); }
.related__list b { font-weight: 800; letter-spacing: -0.02em; }
.related__list .icon:first-child { box-sizing: content-box; padding: 10px; border-radius: 50%; background: var(--coal); color: #fff; }
.related__list a:hover { background: var(--sage); }
.onward__col, .onward__more { border-top: 3px solid var(--coal); }
.directory__rows { border-bottom: 0; }
.directory__row { border-top: 3px solid var(--coal); }
.directory__row ul { gap: 10px; }
.directory__row a { display: flex; min-height: 56px; padding: 0 18px; border-radius: var(--leaf-s); background: var(--stone); font-weight: 800; text-decoration: none; }
.directory__row a:hover { background: var(--orange); color: var(--jet); }
.directory__foot { background: var(--sage); }
.directory__foot p { font-weight: 700; }

/* ---------- FAQ: one block per question ---------- */
.faq__list { display: grid; gap: 10px; }
.faq details, .faq details:last-child { padding-inline: 20px; border: 0; border-radius: var(--r); background: var(--stone); }
.faq details[open] { background: var(--sage); }
/* On a coloured band the blocks are white. */
.faq[class*="band-"] details, .faq[class*="band-"] details[open] { background: #fff; }
.faq summary { padding: 16px 0; }
.faq summary h3 { font-size: 19px; }
.faq__mark { width: 40px; height: 40px; border: 0; background: var(--coal); color: #fff; }
.faq__mark .icon { stroke-width: 2.2; }
.faq details[open] .faq__mark { background: var(--orange); color: var(--jet); }
.faq details > p { padding-bottom: 22px; }
@media (min-width: 900px) { .faq details, .faq details:last-child { padding-inline: 26px; } .faq summary h3 { font-size: 21px; } }

/* ---------- Contact: the number on a charcoal block ---------- */
.findus__list { gap: 12px; border-radius: 0; background: none; }
.findus__list > li, .findus__list > li:first-child { padding: 24px 22px; border: 0; border-radius: var(--r); background: var(--coal); color: var(--on-dark); --focus: #fff; }
.findus__list strong { font-weight: 700; color: var(--on-dark); }
.findus__icon { border-radius: 50%; background: var(--orange); color: var(--jet); }
.findus__num { font-size: clamp(26px, 8vw, 46px); font-weight: 800; letter-spacing: -0.045em; color: #fff; }
@media (max-width: 899px) { .findus__list > li { column-gap: 12px; padding: 22px 18px; } .findus__icon { width: 44px; height: 44px; } }
@media (min-width: 900px) {
  .findus__grid:has(.findus__list > li:only-child) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .findus__grid:has(.findus__list > li:only-child) .findus__head { margin-bottom: 0; }
  .findus__list:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
  .findus__list > li, .findus__list > li:first-child { padding: clamp(26px, 3vw, 38px); }
}

/* ---------- Enquiry: the orange field ---------- */
.enquiry .lead { font-weight: 600; color: var(--jet); }
.enquiry .lead a { color: var(--jet); text-decoration-color: var(--jet); }
.callcard { background: var(--coal); }
.callcard__num { font-weight: 800; letter-spacing: -0.045em; }
.callcard__points li { font-weight: 600; }
.callcard__points svg { color: var(--orange); stroke-width: 2.2; }
.form label { font-weight: 700; }
.form input, .form textarea { border: 2px solid var(--coal); }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--orange); border-color: var(--coal); }
.form__status { background: var(--sky); color: var(--jet); font-weight: 700; }

/* ---------- About ---------- */
.aboutrow__grid { border-top: 3px solid var(--coal); }
.aboutrow--open .lead { font-weight: 600; letter-spacing: -0.025em; }
.people img { border-radius: 999px; }
.people figcaption { justify-items: center; text-align: center; }
.people figcaption span:only-child { font-weight: 800; }

/* ---------- Gallery page: eight photographs as one rounded block ---------- */
.gallerygrid__list:has(> li:nth-child(8):last-child) > li:nth-child(1) img { border-top-left-radius: 50% 37.5%; }
.gallerygrid__list:has(> li:nth-child(8):last-child) > li:nth-child(8) img { border-bottom-right-radius: 50% 37.5%; }

/* ---------- Footer, call bar, small pages ---------- */
.site-footer { border-top: 3px solid var(--orange); }
.site-footer .tel { font-weight: 800; letter-spacing: -0.04em; }
.site-footer__col h2 { font-weight: 800; }
.site-footer__all a { font-weight: 800; }
.site-footer__all .icon, .site-footer__facts .icon { color: var(--orange); }
.site-footer__legal a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.callbar { background: var(--paper); border-top: 3px solid var(--coal); }
.prose h2 { font-weight: 800; letter-spacing: -0.03em; }
.prose section + section { border-top: 3px solid var(--coal); }
.prose li::marker { color: var(--jet); }
.prose__call { background: var(--sage); color: var(--jet); }
.notfound__code { font-weight: 800; letter-spacing: 0; color: var(--jet); }
.notfound__links a { background: var(--stone); }
.notfound__links span { font-weight: 800; }
.notfound__links svg { color: var(--jet); }

/* MOBILE HERO PHOTO (25 Nov 2026): show more of the picture on phones */
@media (max-width: 899px) {
  .hero.hero--cover > .hero__media { height: min(104vw, 540px); }
  .hero.hero--cover > .hero__grid { margin-top: -44px; }
  .hero--caption .hero__media > .photo { aspect-ratio: 1 / 1; max-height: 560px; }
}
