/* Barlow Condensed (SIL OFL 1.1), latin subset, self-hosted. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/barlow-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/barlow-condensed-600.woff2) format("woff2"); }

/* Figtree (SIL OFL 1.1), latin subset, variable 400-700, self-hosted. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/figtree-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 C "livery" (national bathroom engine, 3 Dec 2026).
   The side of the van. The hero is a solid band in the sign colour with the title in tall condensed
   lettering, the trust bar is a dark strip under it, and buttons are hard-cornered plates. One more band
   in the sign colour sits mid-page (how a job runs). Headings and buttons in Barlow Condensed, text in Figtree.
   site.json: design.hero "caption", design.gallery "row", fonts ["barlow-condensed", "figtree"].
   Colours come from site.json: --firth is the sign colour, --sand the bright second colour.
   ===================================================================================================== */
body.design-livery {
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --line-0: #e0e0df; --plain-tile: var(--stone); --tile: var(--stone);
  --sec: clamp(52px, 6.6vw, 100px); --r: 16px; --r-s: 6px;
  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-livery main > .section, .design-livery 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-livery main > .section:nth-child(even),
.design-livery main > :is(.choices, .local, .about):nth-child(even) > :nth-child(odd),
.design-livery main > :is(.choices, .local, .about):nth-child(odd) > :nth-child(even) { --p-bg: var(--t-bg); --p-line: var(--t-line); --p-tile: #fff; }
.design-livery main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ .section:nth-child(even),
.design-livery main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(even) > :nth-child(odd),
.design-livery main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(odd) > :nth-child(even) { --p-bg: var(--paper); --p-line: var(--line-0); --p-tile: var(--plain-tile); }
.design-livery main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ .section:nth-child(odd),
.design-livery main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(odd) > :nth-child(odd),
.design-livery main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(even) > :nth-child(even) { --p-bg: var(--t-bg); --p-line: var(--t-line); --p-tile: #fff; }
.design-livery main .section.band-firth { --f-bg: var(--firth); --f-line: rgb(255 255 255 / .2); }
.design-livery :is(.choices, .local, .about) { padding-block: 0; }
.design-livery .section, .design-livery :is(.choices, .local, .about) > .section, .design-livery .about .aboutphoto { padding-block: var(--sec); }
.design-livery .about > .aboutrow { padding-block: 0; }
.design-livery .about > .aboutrow .aboutrow__grid { border-top: 0; padding-block: var(--sec); }
.design-livery .section.related, .design-livery .ideas + .ideas--video { padding-top: var(--sec); }
.design-livery .post .band-stone, .design-livery .post .band-mist, .design-livery .notfound { --tile: #fff; }
/* Icon tiles, chips and placeholder cards follow the tone they sit on. */
.design-livery .section .points--tile .points__icon, .design-livery .section .popular__icon, .design-livery .section .offer__icon, .design-livery .section .iconcard { background: var(--tile); }
.design-livery .chip, .design-livery .districts .chips--plain .chip, .design-livery .districts--compact .chip { background: var(--tile); color: var(--ink); }
.design-livery .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-livery .site-header__in { gap: 8px; }
  .design-livery .logo { gap: 9px; min-width: 0; }
  .design-livery .logo__mark { width: 44px; height: 44px; }
  .design-livery .logo__text { white-space: normal; }
  .design-livery .logo__text b { font-size: 18px; line-height: 1.08; }
  .design-livery .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-livery :is(.band-firth, .post__cta) :is(.btn--call, .btn--solid) { background: var(--sand); border-color: var(--sand); color: var(--ink); box-shadow: none; }
.design-livery :is(.band-firth, .post__cta) :is(.btn--call, .btn--solid):hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.design-livery :is(.band-firth, .post__cta) .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }
.design-livery :is(.band-firth, .post__cta) .btn--quote:not(.btn--solid):hover { border-color: #fff; background: #fff; color: var(--ink); }
.design-livery :is(.band-firth, .post__cta) :focus-visible { outline-color: var(--sand); }
/* The one deep band: light text, the accent for icons and the call button. */
.design-livery main :is(.processphoto, .popular--photo) { --f-bg: var(--firth); --f-line: rgb(255 255 255 / .22); --f-tile: rgb(255 255 255 / .1); --ph-bg: rgb(255 255 255 / .07); --ph-ink: rgb(255 255 255 / .42); color: var(--on-dark); }
.design-livery main :is(.processphoto, .popular--photo) :is(.h2, h3, strong, figcaption, .note, .points--tick p, .textlink a, .lead a, .fitrow li, .popular__go, .chip) { color: #fff; }
.design-livery main :is(.processphoto, .popular--photo) :is(.textlink a, .lead a) { text-decoration-color: var(--sand); }
.design-livery main :is(.processphoto, .popular--photo) :is(.points__icon, .textlink .icon, .coverage__group h3 .icon, .popular__icon, .steps__badge) { color: var(--sand); }
.design-livery main :is(.processphoto, .popular--photo) .round { border-color: #fff; color: #fff; }
.design-livery main :is(.processphoto, .popular--photo) .round:hover:not(:disabled) { background: #fff; color: var(--firth); }
.design-livery main :is(.processphoto, .popular--photo) .round:disabled { border-color: rgb(255 255 255 / .3); color: rgb(255 255 255 / .45); }
.design-livery main :is(.processphoto, .popular--photo) .dots i { background: rgb(255 255 255 / .3); }
.design-livery main :is(.processphoto, .popular--photo) .dots i.is-on { background: var(--sand); }
.design-livery main :is(.processphoto, .popular--photo) :is(.btn--call, .btn--solid) { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.design-livery main :is(.processphoto, .popular--photo) :is(.btn--call, .btn--solid):hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.design-livery main :is(.processphoto, .popular--photo) .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }
.design-livery main :is(.processphoto, .popular--photo) .btn--quote:not(.btn--solid):hover { background: #fff; border-color: #fff; color: var(--ink); }
.design-livery main :is(.processphoto, .popular--photo) .chip--link { border-color: rgb(255 255 255 / .6); background: transparent; color: #fff; }
.design-livery main :is(.processphoto, .popular--photo) .chip--link:hover { background: #fff; color: var(--ink); }
.design-livery main :is(.processphoto, .popular--photo) :is(.popular__go, .faq__mark) { border-color: rgb(255 255 255 / .55); }
.design-livery main :is(.processphoto, .popular--photo) :focus-visible { outline-color: var(--sand); }

/* ---------- 2. Livery settings for the tones ---------- */
.design-livery main .section:is(.feature--warm, .wherefit, .stages, .localfacts, .guides, .related, .faq) { --t-bg: var(--mist); --t-line: var(--line-mist); }
.design-livery main .enquiry { --f-bg: var(--linen); --f-line: var(--line-stone); }

/* ---------- 3. Type ---------- */
.design-livery .hero__title, .design-livery .h2, .design-livery .prose h2, .design-livery .logo__text b, .design-livery .post__title, .design-livery .callcard__num, .design-livery .timeline__num, .design-livery .facts__fig, .design-livery .btn, .design-livery .steps__badge b {
  font-family: var(--head); font-weight: 600; letter-spacing: 0;
}
.design-livery .h2 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1; }
.design-livery h3, .design-livery .h3 { font-family: var(--body); font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
.design-livery strong, .design-livery .points strong { font-weight: 700; }
.design-livery .lead { max-width: 60ch; }
.design-livery :focus-visible { outline: 3px solid var(--timber); outline-offset: 3px; }
.design-livery .site-footer :focus-visible, .design-livery .hero :focus-visible, .design-livery .trustbar :focus-visible, .design-livery .post__head :focus-visible { outline-color: var(--sand); }

/* ---------- 4. Buttons: sign plates ---------- */
.design-livery .btn { min-height: 54px; padding: 6px 24px 8px; border-width: 2px; border-radius: 4px; font-size: 22px; letter-spacing: .015em; }
.design-livery .btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.design-livery .btn--call { background: var(--timber); border-color: var(--timber); color: #fff; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .22); }
.design-livery .btn--call:hover { background: var(--timber-d); border-color: var(--timber-d); }
.design-livery .btn--quote { border-color: var(--ink); background: transparent; color: var(--ink); }
.design-livery .btn--quote:hover { background: var(--ink); color: #fff; }
.design-livery .btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.design-livery .btn--solid:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.design-livery .textlink a { font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: var(--sand); }
.design-livery .textlink .icon { color: var(--timber); stroke-width: 2.2; }
.design-livery .round { border-radius: 4px; border-width: 2px; }
/* On the sign colour: the bright second colour calls, white outlines the quote. */
.design-livery .hero .btn--call, .design-livery .hero .btn--solid, .design-livery .site-footer .btn--call, .design-livery .callcard .btn--call {
  background: var(--sand); border-color: var(--sand); color: var(--ink);
}
.design-livery .hero .btn--call:hover, .design-livery .hero .btn--solid:hover, .design-livery .site-footer .btn--call:hover, .design-livery .callcard .btn--call:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.design-livery .hero .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .75); background: transparent; color: #fff; }
.design-livery .hero .btn--quote:not(.btn--solid):hover { background: #fff; border-color: #fff; color: var(--ink); }

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

/* =====================================================================================================
   6. Hero: the sign. A band in the sign colour, the title in tall condensed lettering, the photograph
   framed on the right. Stacked: photograph, title, sentence, benefits, buttons, all on the band.
   ===================================================================================================== */
.design-livery .hero--caption, .design-livery .hero--index { background: var(--firth); color: var(--on-dark); }
.design-livery .hero--caption { padding-block: clamp(16px, 3vw, 48px) clamp(30px, 4vw, 56px); }
.design-livery .hero--caption .hero__media { max-height: 300px; }
.design-livery .hero .hero__title { font-size: clamp(42px, 12.4vw, 60px); line-height: .96; color: #fff; }
.design-livery .hero .hero__text .hero__lead, .design-livery .hero--index .hero__lead { margin-top: 14px; max-width: 46ch; font-size: clamp(18px, 1.45vw, 20px); color: var(--on-dark); }
.design-livery .hero--caption .hero__eyebrow { display: none; }
.design-livery .hero .crumbs--hero { color: var(--on-dark); }
.design-livery .hero .crumbs--hero::before, .design-livery .hero .hero__eyebrow::before { background: var(--sand); }
.design-livery .hero .crumbs--hero a { font-weight: 600; color: #fff; text-decoration-color: rgb(255 255 255 / .5); }
.design-livery .hero .crumbs--hero [aria-current], .design-livery .hero .crumbs--hero li + li::before { color: var(--on-dark); }
.design-livery .hero .hero__points { margin-top: 18px; }
.design-livery .hero .hero__points li { padding: 11px 0; border-color: rgb(255 255 255 / .22); font-weight: 600; color: #fff; }
.design-livery .hero .hero__points li:last-child { border-bottom-color: rgb(255 255 255 / .22); }
.design-livery .hero .hero__points .icon { color: var(--sand); }
.design-livery .hero .hero__note { color: var(--on-dark); }
.design-livery .hero__cap { left: 0; right: auto; bottom: 16px; max-width: calc(100% - 16px); padding: 10px 14px; border-radius: 0 6px 6px 0; background: #fff; }
.design-livery .hero__cap strong { font-weight: 700; }
@media (max-width: 899px) { .design-livery .hero__cap { display: none; } }
@media (min-width: 900px) {
  .design-livery .hero--caption .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 4.6vw, 72px); }
  .design-livery .hero--caption .hero__media { width: 100%; max-height: none; aspect-ratio: auto; min-height: clamp(430px, 37vw, 560px); }
  .design-livery .hero .hero__title { font-size: clamp(56px, 6vw, 88px); line-height: .94; }
  .design-livery .hero--caption .hero__text { padding-block: 0; }
  .design-livery .hero--caption .hero__grid .actions { margin-top: 26px; }
  .design-livery .hero__cap { bottom: 22px; max-width: 80%; padding: 12px 18px; }
}
.design-livery .hero--index .hero__points li { border-color: rgb(255 255 255 / .22); }

/* ---------- 7. Trust bar: the dark strip under the sign ---------- */
.design-livery .trustbar { padding-block: 14px; background: var(--firth-3); border: 0; }
.design-livery .trustbar__list a, .design-livery .trustbar__item { gap: 12px; font-weight: 600; color: #fff; }
.design-livery .trustbar__icon { width: 32px; height: 44px; border-radius: 0; background: none; color: var(--sand); }
.design-livery .trustbar__icon .icon { width: 28px; height: 28px; stroke-width: 1.75; }
@media (min-width: 700px) and (max-width: 1099px) { .design-livery .trustbar__list--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .design-livery .trustbar__list { gap: 0; }
  .design-livery .trustbar__list > li { padding-inline: 22px; border-left: 1px solid rgb(255 255 255 / .22); }
  .design-livery .trustbar__list > li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 8. Photographs, icon points ---------- */
.design-livery .photo img, .design-livery .rail--ideas img { border-radius: var(--r); }
.design-livery figcaption { font-weight: 600; }
.design-livery .points--tile .points__icon { width: 50px; height: 50px; border-radius: var(--r-s); color: var(--timber); }
.design-livery .points--tick .points__icon, .design-livery .points--plain .points__icon { color: var(--timber); }
.design-livery .points--tick p { font-weight: 600; color: var(--ink); }
.design-livery .points--rule .points__icon { border-bottom: 2px solid var(--ink); color: var(--timber); }
.design-livery .feature--warm { background: var(--f-bg, var(--p-bg)); }
@media (min-width: 900px) { .design-livery .feature--warm > .container { padding: 0; border-radius: 0; background: none; } }
.design-livery .aboutphoto:not(.feature--long) .lead { font-size: clamp(18px, 1.5vw, 21px); }
.design-livery .dots i.is-on { background: var(--timber); }
@media (max-width: 899px) {
  .design-livery .ideas__grid .rail { order: 1; margin-top: 20px; }
  .design-livery .ideas__grid .carousel__nav { order: 2; margin-top: 16px; }
  .design-livery .ideas__grid .lead { order: 3; margin: 22px 0 0; }
  .design-livery .ideas__grid .textlink { order: 4; margin: 16px 0 0; }
  .design-livery .ideas__grid .actions { order: 5; margin-top: 20px; }
}

/* ---------- 9. Bathroom types: four plaques, the name on a dark bar fixed under each photograph ---------- */
.design-livery .typecard figure { border-radius: var(--r) var(--r) 0 0; }
.design-livery .typecard h3 {
  position: relative; display: block; margin: 0; padding: 10px 38px 12px 12px;
  border-radius: 0 0 var(--r) var(--r); background: var(--ink); color: #fff;
  font-family: var(--head); font-size: 21px; font-weight: 600; line-height: 1.05; letter-spacing: .01em;
}
.design-livery .typecard h3 .icon { position: absolute; top: 50%; right: 10px; margin: -10px 0 0; color: var(--sand); stroke-width: 2.2; }
.design-livery .typecard h3 .nowrap { white-space: normal; }
@media (max-width: 699px) { .design-livery .typecard h3 { min-height: 66px; } }
@media (max-width: 479px) {
  .design-livery .typecard h3 { min-height: 64px; padding-right: 12px; font-size: 20px; }
  .design-livery .typecard h3 .icon { display: none; }
}
.design-livery .typecard p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
@media (min-width: 700px) {
  .design-livery .typecard h3 { padding: 12px 44px 14px 16px; font-size: 25px; }
  .design-livery .typecard h3 .icon { right: 14px; }
  .design-livery .typecard p { margin-top: 12px; font-size: 17px; }
}
@media (min-width: 1000px) {
  .design-livery .types .types__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
  .design-livery .types .intro { max-width: 820px; }
}

/* ---------- 10. Steps: numbered plates. The band in the sign colour is set in section 1 ---------- */
.design-livery .steps li::before { background: var(--line); }
.design-livery .steps__badge { border: 0; border-radius: var(--r-s); background: var(--sand); color: var(--ink); }
.design-livery .steps__badge svg { display: none; }
.design-livery .steps__badge b { position: static; width: auto; height: auto; background: none; color: var(--ink); font-size: 34px; line-height: 1; }
.design-livery .steps h3 { font-size: 20px; }
.design-livery .timeline__num { color: var(--timber); }
.design-livery .fitrow b { border-radius: 4px; background: var(--sand); color: var(--ink); font-family: var(--head); font-size: 20px; font-weight: 600; }
.design-livery .trio li { border-color: rgb(255 255 255 / .22); border-radius: var(--r-s); }

/* ---------- 11. Coverage, chips, lists, guides ---------- */
.design-livery .chip { border-radius: 4px; }
.design-livery .chip--link { border-width: 2px; border-radius: 4px; background: #fff; font-weight: 700; }
.design-livery .coverage .chip--link { min-height: 48px; padding-inline: 16px; font-size: 17px; }
.design-livery .coverage__group h3 { border-bottom: 2px solid var(--ink); }
.design-livery .popular__icon { border-radius: var(--r-s); color: var(--timber); }
.design-livery .popular__go, .design-livery .faq__mark, .design-livery .postcard__go { border-width: 2px; border-radius: 4px; }
.design-livery .related__list a, .design-livery .related__list span { border: 2px solid var(--ink); border-radius: var(--r-s); }
.design-livery .postcard { border-top: 4px solid var(--firth); }
.design-livery .faq__head .h2, .design-livery .coverage__head .h2 { font-size: clamp(32px, 3.2vw, 46px); }

/* ---------- 12. Questions: one wide column under the heading, heavy rules ---------- */
.design-livery .faq details { border-top: 2px solid var(--ink); }
.design-livery .faq details:last-child { border-bottom: 2px solid var(--ink); }
.design-livery .faq summary h3 { font-size: 20px; }
.design-livery .faq details[open] .faq__mark { background: var(--timber); border-color: var(--timber); }
@media (min-width: 900px) {
  .design-livery .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 980px; }
  .design-livery .faq__head { position: static; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
  .design-livery .faq__head .btn { margin-top: 0; }
}

/* ---------- 13. Local facts: ruled rows, the figure in condensed numerals ---------- */
.design-livery .localfacts .facts { gap: 0; }
.design-livery .localfacts .facts__item { padding: 16px 0 18px; border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: none; }
.design-livery .localfacts .facts__item:last-child { border-bottom: 2px solid var(--ink); }
.design-livery .localfacts .facts__fig { margin-bottom: 4px; font-size: clamp(38px, 3.4vw, 48px); line-height: 1; color: var(--timber-d); }
.design-livery .localfacts .facts__title { font-size: 19px; }

/* ---------- 14. Enquiry: a pale band of the second colour; the number on a plate in the sign colour ---------- */
.design-livery .callcard { border-radius: var(--r); background: var(--firth); color: var(--on-dark); }
.design-livery .callcard__num { font-size: clamp(40px, 4.4vw, 60px); letter-spacing: .01em; }
.design-livery .callcard__points .icon, .design-livery .callcard__points svg { color: var(--sand); }
.design-livery .enquiry__panel .callcard:not(:has(.callcard__num)) { flex: 0 0 auto; }
.design-livery .form { border-radius: var(--r); border-top: 6px solid var(--firth); }
.design-livery .form label { font-weight: 700; }
.design-livery .form input, .design-livery .form textarea { border-width: 2px; border-radius: 4px; }

/* ---------- 15. Blog post, footer, phone bar ---------- */
.design-livery .post__head { background: var(--firth); }
.design-livery .post__title { max-width: 22ch; line-height: .98; letter-spacing: 0; }
.design-livery .post__toc { border-radius: var(--r-s); }
.design-livery .site-footer { background: var(--firth-3); }
.design-livery .site-footer .tel { font-size: 32px; }
.design-livery .site-footer__col h2 { font-weight: 700; }
.design-livery .callbar { background: #fff; border-top: 3px solid var(--sand); box-shadow: 0 -8px 24px -14px rgb(0 0 0 / .35); }
.design-livery .callbar .btn { min-height: 54px; }
.design-livery .consent__btn { border-radius: 4px; }

/* 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-livery .logo { min-width: 0; } .design-livery .logo__text { white-space: normal; max-width: 250px; } }
