/* Hanken Grotesk (SIL OFL 1.1), latin subset, variable 400-700, self-hosted. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/hanken-grotesk-var.woff2) format("woff2"); }

/* 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; }

/* ---------- Local facts (site.json "local_facts": true; components.mjs localFacts) ----------
   Three sourced facts in the copy column of a photo + copy section. Each fact: a large figure, a short
   heading, one or two sentences and its source link. Uses the site's own colour tokens. */
.localfacts .facts { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 14px; }
.localfacts .facts__item { display: block;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line, #e3ddd0); border-radius: 12px; }
.localfacts .facts__fig { font-family: var(--serif, inherit); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: 1.05; color: var(--timber-d, var(--ink)); display: block; margin-bottom: 8px; }
.localfacts .facts__title { margin: 0 0 4px; font-size: 1.125rem; line-height: 1.3; color: var(--ink); }
.localfacts .facts__body p { margin: 0; font-size: 1rem; line-height: 1.6; }
.localfacts .facts__body p + p { margin-top: 6px; }
.localfacts .facts__src { font-size: 1rem; color: var(--text, #303030); }
.localfacts .facts__src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 479px) {
  .localfacts .facts__item { padding: 14px 16px; }
}

/* ---------- Optional photo slots (site.json "photo_slots": true) ----------
   Home "process" and "coverage", type "whereFit": a photo + copy section (the feature layout) holding a vertical step list,
   the town groups, or the town chips. Only built into design.css when the flag is set. */
.processphoto .steps.steps--stack { display: grid; grid-auto-flow: row; grid-auto-columns: auto; gap: 0; margin: 22px 0 26px; padding: 0; list-style: none; }
.processphoto .steps.steps--stack li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; padding: 0 0 26px; }
.processphoto .steps.steps--stack li:last-child { padding-bottom: 0; }
.processphoto .steps.steps--stack li::before { left: 31px; right: auto; top: 70px; bottom: 6px; width: 2px; height: auto; }
.processphoto .steps.steps--stack li:last-child::before { display: none; }
.processphoto .steps.steps--stack h3 { margin-top: 6px; font-size: 20px; }
.processphoto .steps.steps--stack p { grid-column: 2; margin-top: 4px; }
.coveragephoto .coverage__groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin: 22px 0 24px; }
.coveragephoto .coverage__group h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 19px; }
.coveragephoto .coverage__group h3 .icon { color: var(--timber, var(--ink)); }
.wherefitphoto .chips { margin: 22px 0 24px; }

/* ---------- Stats band (site.json "stats"; components.mjs statsBand / withStats) ----------
   Four offer facts set as large figures with a short label, plus an optional one-line note, sitting inside the
   trust bar under the hero (home and About), so it reads as part of the hero block, not a separate text section.
   Uses the site's own colour and font tokens; the livery theme's trust bar is dark, so it gets light text. */
.statsband { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.statsband__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.statsband__list > li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.statsband__value { font-family: var(--head, var(--serif, inherit)); font-weight: 700; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  line-height: 1.1; letter-spacing: -0.01em; color: var(--timber-d, var(--ink)); }
.statsband__label { font-size: 16px; line-height: 1.35; color: var(--text); }
.statsband__note { margin: 16px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.6; color: var(--text); }
@media (min-width: 900px) {
  .statsband { margin-top: 20px; padding-top: 20px; }
  .statsband__list--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .statsband__list--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.trustbar--stats .statsband { margin-top: 0; padding-top: 0; border-top: 0; }
.design-lanark .statsband { border-color: var(--line-stone); }
.design-tile .statsband { border-color: var(--line-stone); }
.design-towel .statsband { border-color: var(--line-mist); }
.design-brass .statsband { border-color: rgb(0 0 0 / .14); }
.design-brass .statsband__value { color: var(--ink); }
.design-livery .statsband { border-color: rgb(255 255 255 / .2); }
.design-livery .statsband__value { color: var(--sand); }
.design-livery .statsband__label, .design-livery .statsband__note { color: var(--on-dark, #fff); }
@media (min-width: 1100px) { .design-towel .statsband__list > li, .design-towel .statsband__note { text-align: center; } .design-towel .statsband__note { margin-inline: auto; } }

/* ---------- Homepage flows (site.json "flow"; flows.mjs) ----------
   A flow reorders the homepage sections. Most themes set section tones by position already (main > .section:nth-child),
   so they alternate after any reorder. The lanark theme gives tones by section name, so on a flow homepage it switches
   to position too: the trust bar (stone) is child 2, so odd children are paper and even children stone. The dark
   "process" band, any band-firth block and the closing enquiry keep their own colour, which differs from both. */
.design-lanark.home-flow main > .section:not(.process, .enquiry, .band-firth):nth-child(odd) { background: var(--paper); --line: #e3ddd0; --ph-bg: var(--ph-bg-0); --ph-ink: var(--ph-ink-0); }
.design-lanark.home-flow main > .section:not(.process, .enquiry, .band-firth):nth-child(even) { background: var(--stone); --line: var(--line-stone); --ph-bg: var(--ph-bg-stone); --ph-ink: var(--ph-ink-stone); }
.design-lanark.home-flow main > .section:nth-child(odd) :is(.points--tile .points__icon, .popular__icon) { background: var(--stone); }
.design-lanark.home-flow main > .section:nth-child(even) :is(.points--tile .points__icon, .popular__icon) { background: #fff; }

/* =====================================================================================================
   Theme F "brochure" (national bathroom engine, 3 Dec 2026).
   Photographs lead and the words ride on them. In the hero and in every photo-and-copy section the
   photograph takes the wider side and the copy sits on a white card lapped over its edge. Bathroom types
   are a two-column list of small photograph rows, questions run in two columns, and the one deep band
   (the home visit, or a town's popular bathrooms) still reads dark on white because the copy stays on its card.
   Headings and text in Hanken Grotesk.
   site.json: design.hero "caption", design.gallery "row", fonts ["hanken-grotesk"].
   Colours come from site.json. This file only restyles the engine's markup.
   ===================================================================================================== */
body.design-brochure {
  --head: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --line-0: #e1e0dd; --plain-tile: var(--stone); --tile: var(--stone);
  --sec: clamp(52px, 6.8vw, 104px); --r: 16px; --r-s: 12px; --lift: 0 24px 48px -30px rgb(0 0 0 / .4);
  font-family: var(--body); font-size: 18px; line-height: 1.65; font-synthesis: none;
}
/* =====================================================================================================
   1. Section tones (the same block in themes B to F; only the theme's own settings below it differ).
   A section's tone comes from where it sits, not from the band class in the copy pack, so two neighbours
   never share a tone whatever order the page is built in:
     - every other section is the page colour, the ones between take a tint (--t-bg: stone unless set);
     - rows inside .choices / .local / .about alternate the same way and carry the count on to what follows;
     - a section can be pinned to one tone with --f-bg (the deep band, the enquiry).
   Inside a section use var(--line) for rules and var(--tile) for icon tiles and chips: both follow the tone.
   ===================================================================================================== */
.design-brochure main > .section, .design-brochure main > :is(.choices, .local, .about) > * {
  --p-bg: var(--paper); --p-line: var(--line-0); --p-tile: var(--plain-tile);
  --t-bg: var(--stone); --t-line: var(--line-stone);
  background: var(--f-bg, var(--p-bg)); --line: var(--f-line, var(--p-line)); --tile: var(--f-tile, var(--p-tile));
}
.design-brochure main > .section:nth-child(odd),
.design-brochure main > :is(.choices, .local, .about):nth-child(odd) > :nth-child(odd),
.design-brochure main > :is(.choices, .local, .about):nth-child(even) > :nth-child(even) { --p-bg: var(--t-bg); --p-line: var(--t-line); --p-tile: #fff; }
.design-brochure main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ .section:nth-child(odd),
.design-brochure main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(odd) > :nth-child(odd),
.design-brochure main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(even) > :nth-child(even) { --p-bg: var(--paper); --p-line: var(--line-0); --p-tile: var(--plain-tile); }
.design-brochure main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ .section:nth-child(even),
.design-brochure main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(even) > :nth-child(odd),
.design-brochure main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(odd) > :nth-child(even) { --p-bg: var(--t-bg); --p-line: var(--t-line); --p-tile: #fff; }
.design-brochure main .section.band-firth { --f-bg: var(--firth); --f-line: rgb(255 255 255 / .2); }
.design-brochure :is(.choices, .local, .about) { padding-block: 0; }
.design-brochure .section, .design-brochure :is(.choices, .local, .about) > .section, .design-brochure .about .aboutphoto { padding-block: var(--sec); }
.design-brochure .about > .aboutrow { padding-block: 0; }
.design-brochure .about > .aboutrow .aboutrow__grid { border-top: 0; padding-block: var(--sec); }
.design-brochure .section.related, .design-brochure .ideas + .ideas--video { padding-top: var(--sec); }
.design-brochure .post .band-stone, .design-brochure .post .band-mist, .design-brochure .notfound { --tile: #fff; }
/* Icon tiles, chips and placeholder cards follow the tone they sit on. */
.design-brochure .section .points--tile .points__icon, .design-brochure .section .popular__icon, .design-brochure .section .offer__icon, .design-brochure .section .iconcard { background: var(--tile); }
.design-brochure .chip, .design-brochure .districts .chips--plain .chip, .design-brochure .districts--compact .chip { background: var(--tile); color: var(--ink); }
.design-brochure .districts .chips--plain { padding: 0; background: none; }
/* A long brand name wraps under itself on the narrowest phones, so the menu button always fits. */
@media (max-width: 479px) {
  .design-brochure .site-header__in { gap: 8px; }
  .design-brochure .logo { gap: 9px; min-width: 0; }
  .design-brochure .logo__mark { width: 44px; height: 44px; }
  .design-brochure .logo__text { white-space: normal; }
  .design-brochure .logo__text b { font-size: 18px; line-height: 1.08; }
  .design-brochure .menu-btn { padding-inline: 11px; }
}
/* Buttons on the engine's own dark blocks (a band-firth section, the call box in a blog post). */
.design-brochure :is(.band-firth, .post__cta) :is(.btn--call, .btn--solid) { background: var(--sand); border-color: var(--sand); color: var(--ink); box-shadow: none; }
.design-brochure :is(.band-firth, .post__cta) :is(.btn--call, .btn--solid):hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.design-brochure :is(.band-firth, .post__cta) .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }
.design-brochure :is(.band-firth, .post__cta) .btn--quote:not(.btn--solid):hover { border-color: #fff; background: #fff; color: var(--ink); }
.design-brochure :is(.band-firth, .post__cta) :focus-visible { outline-color: var(--sand); }

/* ---------- 2. Brochure settings for the tones ---------- */
.design-brochure main .section:is(.wherefit, .stages, .guides, .related, .processphoto, .districts) { --t-bg: var(--linen); --t-line: var(--line-stone); }
.design-brochure main .enquiry { --f-bg: var(--mist); --f-line: var(--line-mist); }
/* The one deep band. Its copy stays on the white card, so only what sits under the photograph turns light. */
.design-brochure main :is(.feature--warm, .popular--photo) { --f-bg: var(--firth); --f-line: rgb(255 255 255 / .22); }
.design-brochure main :is(.feature--warm, .popular--photo) .split__under .note { color: #fff; }
.design-brochure main :is(.feature--warm, .popular--photo) .split__under :is(.btn--call, .btn--solid) { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.design-brochure main :is(.feature--warm, .popular--photo) .split__under :is(.btn--call, .btn--solid):hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.design-brochure main :is(.feature--warm, .popular--photo) .split__under .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .75); color: #fff; }
.design-brochure main :is(.feature--warm, .popular--photo) .split__under .btn--quote:not(.btn--solid):hover { background: #fff; color: var(--ink); }
.design-brochure main :is(.feature--warm, .popular--photo) .split__under :focus-visible { outline-color: var(--sand); }

/* ---------- 3. Type ---------- */
.design-brochure .hero__title, .design-brochure .h2, .design-brochure .prose h2, .design-brochure .logo__text b, .design-brochure .post__title, .design-brochure .callcard__num, .design-brochure .timeline__num, .design-brochure .facts__fig {
  font-family: var(--head); font-weight: 700; letter-spacing: -0.032em;
}
.design-brochure .h2 { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.12; }
.design-brochure h3, .design-brochure .h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.012em; }
.design-brochure strong, .design-brochure .points strong { font-weight: 700; }
.design-brochure .lead { max-width: 60ch; }
.design-brochure :focus-visible { outline: 3px solid var(--timber); outline-offset: 3px; }
.design-brochure .site-footer :focus-visible, .design-brochure .hero--index :focus-visible, .design-brochure .post__head :focus-visible, .design-brochure .callcard :focus-visible { outline-color: var(--sand); }

/* ---------- 4. Buttons ---------- */
.design-brochure .btn { min-height: 54px; padding: 8px 24px; border-width: 2px; border-radius: 12px; font-size: 17px; font-weight: 700; }
.design-brochure .btn .icon { width: 20px; height: 20px; stroke-width: 2; }
.design-brochure .btn--call { background: var(--timber); border-color: var(--timber); color: #fff; }
.design-brochure .btn--call:hover { background: var(--timber-d); border-color: var(--timber-d); }
.design-brochure .btn--quote { border-color: var(--stone); background: var(--stone); color: var(--ink); }
.design-brochure .btn--quote:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.design-brochure .btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.design-brochure .btn--solid:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
/* A filled grey button needs an edge when it is not on white. */
.design-brochure .site-header .btn--quote:not(.btn--solid), .design-brochure .guidehub .btn--quote:not(.btn--solid), .design-brochure .ideas .btn--quote:not(.btn--solid), .design-brochure .split__under .btn--quote:not(.btn--solid), .design-brochure .faq__head .btn--quote:not(.btn--solid) { border-color: var(--ink); background: transparent; }
.design-brochure .site-header .btn--quote:not(.btn--solid):hover, .design-brochure .guidehub .btn--quote:not(.btn--solid):hover, .design-brochure .ideas .btn--quote:not(.btn--solid):hover, .design-brochure .split__under .btn--quote:not(.btn--solid):hover, .design-brochure .faq__head .btn--quote:not(.btn--solid):hover { background: var(--ink); color: #fff; }
.design-brochure .textlink a { font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: var(--timber); }
.design-brochure .textlink .icon { color: var(--timber); stroke-width: 2; }
.design-brochure .round { border-width: 2px; }
.design-brochure .site-footer .btn--call, .design-brochure .callcard .btn--call, .design-brochure .hero--index .btn--call, .design-brochure .hero--index .btn--solid { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.design-brochure .site-footer .btn--call:hover, .design-brochure .callcard .btn--call:hover, .design-brochure .hero--index .btn--call:hover, .design-brochure .hero--index .btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.design-brochure .hero--index .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }

/* ---------- 5. Header ---------- */
.design-brochure .site-header { background: #fff; border-bottom: 1px solid var(--line); }
.design-brochure .logo { gap: 12px; }
.design-brochure .logo__mark { border-radius: 14px; }
.design-brochure .logo__text b { font-size: 22px; }
.design-brochure .logo__text span { margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--timber); }
.design-brochure .logo--light .logo__text span { color: var(--sand); }
.design-brochure .nav ul a { font-weight: 600; text-underline-offset: 8px; }
.design-brochure .nav ul a:hover, .design-brochure .nav ul a[aria-current] { text-decoration-thickness: 2px; text-decoration-color: var(--timber); }
.design-brochure .tel { font-weight: 700; }
.design-brochure .menu-btn { min-height: 46px; border-width: 2px; border-radius: 12px; font-weight: 700; }
.design-brochure .nav__call--quote .btn { min-height: 48px; }
@media (max-width: 1199px) { .design-brochure .nav { background: #fff; } }
@media (min-width: 1200px) and (max-width: 1519px) {
  .design-brochure .site-header--phone .nav { gap: 18px; }
  .design-brochure .site-header--phone .nav ul { gap: 16px; }
  .design-brochure .site-header--phone .nav ul a { font-size: 16px; }
  .design-brochure .site-header--phone .nav__call { gap: 10px; }
}
@media (max-width: 479px) { .design-brochure .logo__text b { font-size: 20px; } }

/* =====================================================================================================
   6. Hero: the photograph on the left, the copy on a white card lapped over its right edge.
   Stacked: photograph, then the card lapped over its foot.
   ===================================================================================================== */
.design-brochure .hero--caption { padding-block: clamp(14px, 2.6vw, 40px) clamp(28px, 4vw, 52px); background: var(--mist); }
.design-brochure .hero--caption .hero__grid { gap: 0; }
.design-brochure .hero--caption .hero__media { max-height: 300px; }
.design-brochure .hero--caption .hero__text { position: relative; z-index: 1; margin: -28px 10px 0; padding: 22px 20px 26px; border-radius: var(--r); background: #fff; box-shadow: var(--lift); }
.design-brochure .hero--caption .hero__title { font-size: clamp(30px, 8.6vw, 42px); line-height: 1.06; }
.design-brochure .hero--caption .hero__text .hero__lead { margin-top: 12px; max-width: 44ch; font-size: clamp(18px, 1.4vw, 20px); }
.design-brochure .hero--caption .hero__eyebrow { display: none; }
.design-brochure .crumbs--hero a { font-weight: 600; }
.design-brochure .hero--caption .hero__points { margin-top: 16px; }
.design-brochure .hero--caption .hero__points li { padding: 10px 0; font-weight: 600; }
.design-brochure .hero__cap { display: none; }
@media (min-width: 900px) {
  .design-brochure .hero--caption .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: center; }
  .design-brochure .hero--caption .hero__media { grid-column: 1 / 9; grid-row: 1; align-self: stretch; width: 100%; max-height: none; aspect-ratio: auto; min-height: clamp(480px, 40vw, 600px); }
  .design-brochure .hero--caption .hero__text { grid-column: 7 / 13; grid-row: 1; margin: 34px 0; padding: clamp(28px, 2.8vw, 42px); }
  .design-brochure .hero--caption .hero__title { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.05; }
  .design-brochure .hero--caption .hero__grid .actions { margin-top: 22px; }
  .design-brochure .hero__cap { display: flex; left: 16px; right: auto; bottom: 16px; max-width: 58%; padding: 12px 16px; border-radius: 10px; background: #fff; }
  .design-brochure .hero__cap a { display: none; }
}
.design-brochure .hero--index { background: var(--firth); }
.design-brochure .hero--index .hero__title { font-size: clamp(31px, 8.4vw, 44px); line-height: 1.08; }
.design-brochure .hero--index .hero__lead { color: var(--on-dark); }
.design-brochure .hero--index .hero__points li { border-color: rgb(255 255 255 / .18); }
@media (min-width: 900px) { .design-brochure .hero--index .hero__title, .design-brochure .hero--index .hero__head .hero__title { font-size: clamp(40px, 3.9vw, 54px); } }

/* ---------- 7. Trust bar: a white bar, each fact beside a filled round icon ---------- */
.design-brochure .trustbar { padding-block: 18px; background: #fff; border: 0; }
.design-brochure .trustbar__list a, .design-brochure .trustbar__item { gap: 12px; font-weight: 700; }
.design-brochure .trustbar__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--timber); color: #fff; }
@media (min-width: 700px) and (max-width: 1099px) { .design-brochure .trustbar__list--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =====================================================================================================
   8. Photo-and-copy sections: the photograph takes seven columns, the copy rides on a white card over
   its edge and is centred on it. Under 1100px: photograph, then the card lapped over its foot.
   ===================================================================================================== */
.design-brochure .photo img, .design-brochure .rail--ideas img { border-radius: var(--r); }
.design-brochure figcaption { font-weight: 600; }
.design-brochure .split { gap: 0; }
.design-brochure .split > .split__body { position: relative; z-index: 1; margin: -26px 10px 0; padding: 22px 20px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--lift); --line: var(--line-0); --tile: var(--stone); }
.design-brochure .split > .split__body :is(.h2, h3, strong) { color: var(--ink); }
.design-brochure .split .split__under { margin-top: 20px; }
@media (min-width: 900px) and (max-width: 1099px) {
  .design-brochure .split, .design-brochure .feature--long .split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .design-brochure .split > .split__media { display: contents; }
  .design-brochure .split .split__media > .photo { aspect-ratio: 16 / 9; }
  .design-brochure .split > .split__body { display: block; margin: -40px 28px 0; padding: 32px; }
  .design-brochure .split .split__under { order: 3; }
}
@media (min-width: 1100px) {
  .design-brochure .split, .design-brochure .feature--long .split, .design-brochure .feature--long .split--portrait, .design-brochure .aboutphoto .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: center; }
  .design-brochure .split > .split__media { grid-column: 1 / 8; grid-row: 1; order: 0; align-self: stretch; }
  .design-brochure .split > .split__body { grid-column: 7 / 13; grid-row: 1; justify-content: flex-start; margin: 24px 0; padding: clamp(28px, 2.8vw, 40px); }
  .design-brochure .split--flip > .split__media { grid-column: 6 / 13; }
  .design-brochure .split--flip > .split__body { grid-column: 1 / 8; }
  .design-brochure .split--flip .split__under { justify-items: end; }
  /* The photograph is as tall as its card plus a margin: shorter copy, shorter photograph. */
  .design-brochure .split .split__media > .photo, .design-brochure .feature--long .split__media > .photo--landscape, .design-brochure .feature--long .split__media > .photo--portrait { aspect-ratio: 16 / 9; }
  .design-brochure .feature--long .split__media > .photo { aspect-ratio: 3 / 2; }
  .design-brochure .split:not(:has(.points, .facts, .steps, .popular__list, .coverage__groups, .fitrow)) .split__media > .photo { aspect-ratio: 9 / 4; }
}
.design-brochure .points--tile .points__icon { width: 50px; height: 50px; border-radius: var(--r-s); color: var(--ink); }
.design-brochure .points--tick .points__icon, .design-brochure .points--plain .points__icon, .design-brochure .points--rule .points__icon { color: var(--timber); }
.design-brochure .points--tick p { font-weight: 600; color: var(--ink); }
.design-brochure .feature--warm { background: var(--f-bg, var(--p-bg)); }
@media (min-width: 900px) { .design-brochure .feature--warm > .container { padding: 0; border-radius: 0; background: none; } }
.design-brochure .dots i.is-on { background: var(--timber); }
@media (max-width: 899px) {
  .design-brochure .ideas__grid .rail { order: 1; margin-top: 20px; }
  .design-brochure .ideas__grid .carousel__nav { order: 2; margin-top: 16px; }
  .design-brochure .ideas__grid .lead { order: 3; margin: 22px 0 0; }
  .design-brochure .ideas__grid .textlink { order: 4; margin: 16px 0 0; }
  .design-brochure .ideas__grid .actions { order: 5; margin-top: 20px; }
}

/* ---------- 9. Bathroom types: a list of rows, a small photograph beside each name ---------- */
.design-brochure .types .types__grid, .design-brochure .typegroup .types__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.design-brochure .typecard__link { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-content: center; align-items: center; height: 100%; padding: 10px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.design-brochure .typecard figure { grid-row: 1 / span 2; aspect-ratio: 1 / 1; border-radius: var(--r-s); }
.design-brochure .typecard h3 { align-self: end; margin: 0; font-size: 19px; }
.design-brochure .typecard h3 .icon { color: var(--timber); stroke-width: 2; }
.design-brochure .typecard p { align-self: start; margin-top: 2px; font-size: 16px; line-height: 1.45; }
@media (min-width: 700px) {
  .design-brochure .types .types__grid, .design-brochure .typegroup .types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .design-brochure .typecard__link { grid-template-columns: 132px minmax(0, 1fr); column-gap: 20px; padding: 12px; }
  .design-brochure .typecard h3 { font-size: 21px; }
  .design-brochure .typecard p { margin-top: 4px; font-size: 17px; line-height: 1.5; }
}
@media (min-width: 1000px) {
  .design-brochure .types .intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: end; max-width: none; }
  .design-brochure .types .intro .lead { margin-top: 0; max-width: none; }
}

/* ---------- 10. Steps ---------- */
.design-brochure .steps li::before { background: var(--line); }
.design-brochure .steps__badge { border: 0; border-radius: var(--r-s); background: var(--timber); color: #fff; }
.design-brochure .steps__badge b { background: var(--ink); color: #fff; font-weight: 700; }
.design-brochure .steps h3 { font-size: 20px; }
.design-brochure .timeline__num { color: var(--timber); }
.design-brochure .fitrow b { border-radius: 10px; background: var(--timber); font-weight: 700; }
.design-brochure .trio li { border-color: rgb(255 255 255 / .2); }

/* ---------- 11. Coverage, chips, lists, guides ---------- */
.design-brochure .chip { border-radius: 10px; }
.design-brochure .chip--link { border-width: 2px; border-radius: 10px; background: #fff; font-weight: 700; }
.design-brochure .coverage .chip--link { min-height: 48px; padding-inline: 16px; font-size: 17px; }
.design-brochure .popular__icon { color: var(--ink); }
.design-brochure .popular__go, .design-brochure .faq__mark, .design-brochure .postcard__go { border-width: 2px; }
.design-brochure .related__list a, .design-brochure .related__list span { border-color: var(--line); border-radius: var(--r-s); }
.design-brochure .guides__grid { gap: 16px; }
.design-brochure .postcard { border: 0; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.design-brochure .postcard a { padding: 20px 20px 22px; }
@media (min-width: 700px) { .design-brochure .postcard a { padding: 24px 24px 26px; } .design-brochure .guides__grid { gap: 20px; } }
.design-brochure .faq__head .h2, .design-brochure .coverage__head .h2 { font-size: clamp(26px, 2.5vw, 34px); }

/* ---------- 12. Questions: the heading across the top, the questions in two columns ---------- */
.design-brochure .faq details, .design-brochure .faq details:last-child { border-top: 0; border-bottom: 1px solid var(--line); }
.design-brochure .faq summary h3 { font-size: 19px; }
.design-brochure .faq details[open] .faq__mark { background: var(--timber); border-color: var(--timber); }
@media (min-width: 900px) {
  .design-brochure .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .design-brochure .faq__head { position: static; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
  .design-brochure .faq__head .btn { margin-top: 0; }
  .design-brochure .faq__list { columns: 2; column-gap: clamp(36px, 5vw, 72px); }
  .design-brochure .faq details { break-inside: avoid; }
  .design-brochure .faq details > p { padding-right: 20px; }
}

/* ---------- 13. Local facts: short ruled rows on the card, the figure on a small tinted label ---------- */
.design-brochure .localfacts .facts { gap: 0; }
.design-brochure .localfacts .facts__item { padding: 16px 0 18px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.design-brochure .localfacts .facts__fig { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 10px; background: var(--stone); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25; color: var(--ink); }
.design-brochure .localfacts .facts__title { font-size: 19px; }

/* ---------- 14. Enquiry ---------- */
.design-brochure .callcard { background: var(--firth); color: var(--on-dark); }
.design-brochure .callcard__points .icon, .design-brochure .callcard__points svg { color: var(--sand); }
.design-brochure .enquiry__panel .callcard:not(:has(.callcard__num)) { flex: 0 0 auto; }
.design-brochure .form { border-radius: var(--r); box-shadow: var(--lift); }
.design-brochure .form label { font-weight: 700; }
.design-brochure .form input, .design-brochure .form textarea { border-width: 2px; border-radius: 10px; }

/* ---------- 15. Blog post, footer, phone bar ---------- */
.design-brochure .post__toc { border-radius: var(--r); }
.design-brochure .site-footer { background: var(--firth); }
.design-brochure .site-footer__col h2 { font-weight: 700; }
.design-brochure .callbar { background: rgb(255 255 255 / .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -14px rgb(0 0 0 / .3); }
.design-brochure .callbar .btn { min-height: 54px; }
.design-brochure .consent__btn { border-radius: 12px; }

/* A long brand name (no town line) wraps to two lines so the desktop nav and quote button always fit. */
@media (min-width: 480px) { .design-brochure .logo { min-width: 0; } .design-brochure .logo__text { white-space: normal; max-width: 250px; } }
