/* 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 D "towel" (national bathroom engine, 3 Dec 2026).
   Soft and rounded. The page is one pale sheet; the hero photograph, the trust bar and every tinted
   section are rounded panels set in from its edges, buttons and chips are pills, icons sit in circles.
   The hero copy is a white card lapped over the edge of the photograph; the enquiry is the one deep panel.
   Headings and text in Figtree.
   site.json: design.hero "cover", design.gallery "row", fonts ["figtree"].
   Colours come from site.json. This file only restyles the engine's markup.
   ===================================================================================================== */
body.design-towel {
  --head: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --line-0: #e6dfca; --plain-tile: var(--mist); --tile: var(--mist);
  --sec: clamp(48px, 6vw, 88px); --r: 16px; --r-s: 14px; --inset: clamp(8px, 1.5vw, 22px); --panel: clamp(20px, 2.4vw, 32px);
  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-towel main > .section, .design-towel 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-towel main > .section:nth-child(even),
.design-towel main > :is(.choices, .local, .about):nth-child(even) > :nth-child(odd),
.design-towel 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-towel main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ .section:nth-child(even),
.design-towel main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(even) > :nth-child(odd),
.design-towel 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-towel main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ .section:nth-child(odd),
.design-towel main > :is(.choices, .local, .about):has(> :last-child:nth-child(even)) ~ :is(.choices, .local, .about):nth-child(odd) > :nth-child(odd),
.design-towel 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-towel main .section.band-firth { --f-bg: var(--firth); --f-line: rgb(255 255 255 / .2); }
.design-towel :is(.choices, .local, .about) { padding-block: 0; }
.design-towel .section, .design-towel :is(.choices, .local, .about) > .section, .design-towel .about .aboutphoto { padding-block: var(--sec); }
.design-towel .about > .aboutrow { padding-block: 0; }
.design-towel .about > .aboutrow .aboutrow__grid { border-top: 0; padding-block: var(--sec); }
.design-towel .section.related, .design-towel .ideas + .ideas--video { padding-top: var(--sec); }
.design-towel .post .band-stone, .design-towel .post .band-mist, .design-towel .notfound { --tile: #fff; }
/* Icon tiles, chips and placeholder cards follow the tone they sit on. */
.design-towel .section .points--tile .points__icon, .design-towel .section .popular__icon, .design-towel .section .offer__icon, .design-towel .section .iconcard { background: var(--tile); }
.design-towel .chip, .design-towel .districts .chips--plain .chip, .design-towel .districts--compact .chip { background: var(--tile); color: var(--ink); }
.design-towel .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-towel .site-header__in { gap: 8px; }
  .design-towel .logo { gap: 9px; min-width: 0; }
  .design-towel .logo__mark { width: 44px; height: 44px; }
  .design-towel .logo__text { white-space: normal; }
  .design-towel .logo__text b { font-size: 18px; line-height: 1.08; }
  .design-towel .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-towel :is(.band-firth, .post__cta) :is(.btn--call, .btn--solid) { background: var(--sand); border-color: var(--sand); color: var(--ink); box-shadow: none; }
.design-towel :is(.band-firth, .post__cta) :is(.btn--call, .btn--solid):hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.design-towel :is(.band-firth, .post__cta) .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }
.design-towel :is(.band-firth, .post__cta) .btn--quote:not(.btn--solid):hover { border-color: #fff; background: #fff; color: var(--ink); }
.design-towel :is(.band-firth, .post__cta) :focus-visible { outline-color: var(--sand); }

/* ---------- 2. Towel settings for the tones: every section is a rounded panel set in from the page edge ---------- */
.design-towel main > .section, .design-towel main > :is(.choices, .local, .about) > * { margin-inline: var(--inset); border-radius: var(--panel); }
.design-towel main .section:is(.feature--warm, .wherefit, .stages, .guides, .related, .popular, .districts) { --t-bg: var(--mist); --t-line: var(--line-mist); }
.design-towel main .enquiry { --f-bg: var(--linen); --f-line: var(--line-stone); margin-block: var(--inset); }
/* The enquiry is the deep panel, unless the page already has a deep band of its own (installation: why us). */
.design-towel main:not(:has(> .section.band-firth)) .enquiry { --f-bg: var(--firth); --f-line: rgb(255 255 255 / .2); color: var(--on-dark); }
.design-towel main:not(:has(> .section.band-firth)) .enquiry .enquiry__panel > .h2 { color: #fff; }
.design-towel main:not(:has(> .section.band-firth)) .enquiry .enquiry__panel > .lead { color: var(--on-dark); }
.design-towel main:not(:has(> .section.band-firth)) .enquiry .enquiry__panel > .lead a { color: #fff; text-decoration-color: var(--sand); }
.design-towel main:not(:has(> .section.band-firth)) .enquiry .callcard { background: rgb(255 255 255 / .1); }
.design-towel main:not(:has(> .section.band-firth)) .enquiry :focus-visible { outline-color: var(--sand); }

/* ---------- 3. Type ---------- */
.design-towel .hero__title, .design-towel .h2, .design-towel .prose h2, .design-towel .logo__text b, .design-towel .post__title, .design-towel .callcard__num, .design-towel .timeline__num, .design-towel .facts__fig {
  font-family: var(--head); font-weight: 600; letter-spacing: -0.025em;
}
.design-towel .h2 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.14; }
.design-towel h3, .design-towel .h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.design-towel strong, .design-towel .points strong { font-weight: 600; }
.design-towel .lead { max-width: 60ch; }
.design-towel :focus-visible { outline: 3px solid var(--timber); outline-offset: 3px; border-radius: 8px; }
.design-towel .site-footer :focus-visible, .design-towel .hero--index :focus-visible, .design-towel .post__head :focus-visible { outline-color: var(--sand); }

/* ---------- 4. Buttons: pills ---------- */
.design-towel .btn { min-height: 56px; padding: 8px 28px; border-width: 1.5px; border-radius: 999px; font-size: 17px; font-weight: 600; }
.design-towel .btn .icon { width: 20px; height: 20px; stroke-width: 2; }
.design-towel .btn--call { background: var(--timber); border-color: var(--timber); color: #fff; }
.design-towel .btn--call:hover { background: var(--timber-d); border-color: var(--timber-d); }
.design-towel .btn--quote { border-color: var(--border-input); background: #fff; color: var(--ink); }
.design-towel .btn--quote:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.design-towel .btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.design-towel .btn--solid:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.design-towel .textlink a { font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--timber); }
.design-towel .textlink .icon { color: var(--timber); stroke-width: 2; }
.design-towel .site-footer .btn--call, .design-towel .callcard .btn--call, .design-towel .hero--index .btn--call, .design-towel .hero--index .btn--solid { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.design-towel .site-footer .btn--call:hover, .design-towel .callcard .btn--call:hover, .design-towel .hero--index .btn--call:hover, .design-towel .hero--index .btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.design-towel .hero--index .btn--quote:not(.btn--solid) { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }

/* ---------- 5. Header ---------- */
.design-towel .site-header { background: var(--paper); border-bottom: 0; }
.design-towel .logo { gap: 12px; }
.design-towel .logo__mark { border-radius: 50%; }
.design-towel .logo__text b { font-size: 22px; }
.design-towel .logo__text span { margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--timber); }
.design-towel .logo--light .logo__text span { color: var(--sand); }
.design-towel .nav ul a { font-weight: 500; text-decoration: none; }
@media (min-width: 1200px) {
  .design-towel .nav ul { gap: 4px; }
  .design-towel .nav ul a { padding: 0 12px; border-radius: 999px; }
  .design-towel .nav ul a:hover, .design-towel .nav ul a[aria-current] { background: var(--mist); text-decoration: none; }
}
.design-towel .tel { font-weight: 600; }
.design-towel .menu-btn { min-height: 46px; border-color: var(--border-input); border-radius: 999px; font-weight: 600; }
.design-towel .nav__call--quote .btn { min-height: 48px; padding-inline: 22px; }
@media (max-width: 1199px) { .design-towel .nav { background: var(--paper); } .design-towel .nav ul a[aria-current] { text-decoration: underline; text-decoration-color: var(--timber); text-decoration-thickness: 2px; } }
@media (min-width: 1200px) and (max-width: 1639px) {
  .design-towel .site-header--phone .nav { gap: 10px; }
  .design-towel .site-header--phone .nav ul { gap: 0; }
  .design-towel .site-header--phone .nav ul a { padding: 0 8px; font-size: 16px; }
  .design-towel .site-header--phone .nav__call { gap: 8px; }
  .design-towel .site-header--phone .nav__call .btn { padding-inline: 16px; }
}
@media (max-width: 479px) { .design-towel .logo__text b { font-size: 20px; } }

/* =====================================================================================================
   6. Hero: the photograph is a rounded panel across the page; the copy is a white card resting on its
   left side. Stacked: photograph, then the card lapped over its foot.
   ===================================================================================================== */
.design-towel .hero--cover { background: var(--paper); }
.design-towel .hero--cover > .hero__media { margin-inline: var(--inset); border-radius: var(--r); height: clamp(210px, 58vw, 380px); }
.design-towel .hero--cover > .hero__media .photo img { border-radius: var(--r); }
.design-towel .hero--cover .hero__cap { display: none; }
.design-towel .hero--cover > .hero__grid { margin-top: -36px; }
.design-towel .hero--cover .hero__text { padding: 22px 20px 26px; border-radius: 24px; background: #fff; box-shadow: 0 18px 40px -24px rgb(0 0 0 / .35); }
.design-towel .hero--cover .hero__title { font-size: clamp(30px, 8.4vw, 42px); line-height: 1.08; }
.design-towel .hero--cover .hero__text .hero__lead { margin-top: 12px; max-width: 44ch; font-size: clamp(18px, 1.4vw, 20px); }
.design-towel .hero--cover .hero__eyebrow { display: none; }
.design-towel .crumbs--hero::before { border-radius: 2px; }
.design-towel .hero--cover .hero__points { margin-top: 16px; }
.design-towel .hero--cover .hero__points li { padding: 9px 0; border: 0; font-weight: 600; }
.design-towel .hero--cover .hero__points li:last-child { border: 0; }
.design-towel .hero--cover .hero__points .icon { box-sizing: content-box; padding: 7px; border-radius: 50%; background: var(--mist); color: var(--ink); }
.design-towel .hero--cover .hero__grid .actions { margin-top: 18px; }
@media (min-width: 900px) {
  /* The photograph sits to the right and the card laps only its edge, so a team or a van in the picture is not hidden. */
  .design-towel .hero--cover { --hang: 0px; --card: clamp(420px, 41vw, 580px); --lap: clamp(72px, 9vw, 130px); grid-template-rows: minmax(clamp(500px, 41vw, 620px), auto) 0; padding-bottom: var(--inset); }
  .design-towel .hero--cover > .hero__media { height: auto; margin-left: calc(var(--bleed) + var(--card) - var(--lap)); }
  .design-towel .hero--cover > .hero__grid { align-self: center; margin-top: 0; padding-block: 34px; }
  .design-towel .hero--cover .hero__text { flex: 0 0 var(--card); padding: clamp(28px, 3vw, 44px); }
  .design-towel .hero--cover .hero__title { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.06; }
  .design-towel .hero--cover .hero__grid .actions { margin-top: 22px; }
  .design-towel .hero--soft > .hero__media::after { background: rgb(255 255 255 / .2); }
}
/* Text hero (blog hub): a deep rounded panel. */
.design-towel .hero--index { margin-inline: var(--inset); border-radius: var(--panel); background: var(--firth); }
.design-towel .hero--index .hero__title { font-size: clamp(31px, 8.4vw, 44px); line-height: 1.08; }
.design-towel .hero--index .hero__lead { color: var(--on-dark); }
.design-towel .hero--index .hero__points li { border-color: rgb(255 255 255 / .18); }
@media (min-width: 900px) { .design-towel .hero--index .hero__title, .design-towel .hero--index .hero__head .hero__title { font-size: clamp(40px, 3.9vw, 54px); } }

/* ---------- 7. Trust bar: a soft tinted panel, each fact under its own round icon ---------- */
.design-towel .trustbar { margin: var(--inset) var(--inset) 0; padding-block: 18px; border: 0; border-radius: var(--panel); background: var(--mist); }
.design-towel .trustbar__list a, .design-towel .trustbar__item { gap: 12px; font-weight: 600; }
.design-towel .trustbar__icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--timber); }
@media (min-width: 700px) and (max-width: 1099px) { .design-towel .trustbar__list--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .design-towel .trustbar { padding-block: 24px; }
  .design-towel .trustbar__list a, .design-towel .trustbar__item { flex-direction: column; gap: 10px; text-align: center; }
  .design-towel .trustbar__icon { width: 54px; height: 54px; }
}
@media (min-width: 900px) { .design-towel .hero--cover + .trustbar { margin-top: 0; } }

/* ---------- 8. Photographs, icon points ---------- */
.design-towel .photo img, .design-towel .typecard figure, .design-towel .rail--ideas img { border-radius: var(--r); }
.design-towel figcaption { font-weight: 600; }
.design-towel .points--tile .points__icon { width: 52px; height: 52px; border-radius: 50%; color: var(--ink); }
.design-towel .points--tick .points__icon, .design-towel .points--plain .points__icon { color: var(--timber); }
.design-towel .points--tick p { font-weight: 600; color: var(--ink); }
.design-towel .split .points--tick li, .design-towel .split .points--tick li:last-child { border: 0; padding: 7px 0; }
.design-towel .points--rule .points__icon { justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--tile); color: var(--ink); }
.design-towel .points--rule .icon { width: 24px; height: 24px; }
.design-towel .feature--warm { background: var(--f-bg, var(--p-bg)); }
@media (min-width: 900px) { .design-towel .feature--warm > .container { padding: 0; border-radius: 0; background: none; } }
.design-towel .aboutphoto:not(.feature--long) .lead { font-size: clamp(18px, 1.5vw, 21px); }
.design-towel .round { border-color: var(--border-input); background: #fff; }
.design-towel .dots i.is-on { background: var(--timber); }
@media (max-width: 899px) {
  .design-towel .ideas__grid .rail { order: 1; margin-top: 20px; }
  .design-towel .ideas__grid .carousel__nav { order: 2; margin-top: 16px; }
  .design-towel .ideas__grid .lead { order: 3; margin: 22px 0 0; }
  .design-towel .ideas__grid .textlink { order: 4; margin: 16px 0 0; }
  .design-towel .ideas__grid .actions { order: 5; margin-top: 20px; }
}

/* ---------- 9. Bathroom types: white cards, the photograph set into each, the copy centred ---------- */
.design-towel .types .intro { margin-inline: auto; text-align: center; }
.design-towel .types .intro .lead { margin-inline: auto; }
.design-towel .types .textlink { text-align: center; }
.design-towel .typecard { display: flex; }
.design-towel .typecard__link { flex: 1; padding: 8px 8px 16px; border-radius: 22px; background: var(--tile); text-align: center; }
.design-towel .typecard figure { aspect-ratio: 1 / 1; border-radius: var(--r); }
.design-towel .typecard h3 { margin-top: 12px; padding-inline: 6px; font-size: 18px; }
.design-towel .typecard h3 .icon { display: none; }
.design-towel .typecard p { padding-inline: 8px; font-size: 16px; line-height: 1.5; }
.design-towel .types .types__grid { gap: 12px; }
@media (min-width: 700px) {
  .design-towel .types .types__grid { gap: 20px; }
  .design-towel .typecard__link { padding: 10px 10px 22px; }
  .design-towel .typecard h3 { margin-top: 16px; font-size: 21px; }
  .design-towel .typecard p { margin-top: 6px; font-size: 17px; }
}
@media (min-width: 1000px) { .design-towel .types .types__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 10. Steps: round numbered badges on a dotted line ---------- */
.design-towel .steps li::before { width: 0; border-left: 2px dotted var(--border-input); background: none; }
.design-towel .steps__badge { border: 0; background: var(--tile); color: var(--ink); }
.design-towel .steps__badge b { background: var(--timber); font-weight: 600; }
.design-towel .steps h3 { font-size: 20px; }
.design-towel .timeline__num { color: var(--timber); }
.design-towel .fitrow b { background: var(--timber); font-weight: 600; }
.design-towel .trio li { border-color: rgb(255 255 255 / .2); border-radius: 22px; }

/* ---------- 11. Coverage, chips, lists, guides ---------- */
.design-towel .chip--link { border-color: var(--border-input); background: #fff; font-weight: 600; }
.design-towel .chip--link:hover { border-color: var(--ink); }
.design-towel .coverage .chip--link { min-height: 48px; padding-inline: 20px; font-size: 17px; }
.design-towel .coverage__group h3 { border-bottom: 0; padding-bottom: 0; }
.design-towel .popular__icon { border-radius: 50%; color: var(--ink); }
.design-towel .popular__go, .design-towel .faq__mark, .design-towel .postcard__go { border-color: var(--border-input); background: #fff; }
.design-towel .related__list a, .design-towel .related__list span { border: 0; border-radius: 22px; }
.design-towel .guides__grid { gap: 16px; }
.design-towel .postcard { border: 0; border-radius: 22px; background: #fff; }
.design-towel .postcard a { padding: 20px 20px 22px; }
@media (min-width: 700px) { .design-towel .postcard a { padding: 26px 26px 28px; } .design-towel .guides__grid { gap: 20px; } }
.design-towel .section.guides:not([style]) .postcard { box-shadow: 0 0 0 1px var(--line); }
.design-towel .faq__head .h2, .design-towel .coverage__head .h2 { font-size: clamp(26px, 2.5vw, 34px); }

/* ---------- 12. Questions: soft cards ---------- */
.design-towel .faq__list { display: grid; gap: 10px; }
.design-towel .faq details, .design-towel .faq details:last-child { padding-inline: 22px; border: 0; border-radius: 22px; background: var(--tile); }
.design-towel .faq summary { padding: 16px 0; }
.design-towel .faq summary h3 { font-size: 19px; }
.design-towel .faq details[open] .faq__mark { background: var(--timber); border-color: var(--timber); color: #fff; }
.design-towel .faq details > p { padding-bottom: 20px; }
@media (min-width: 900px) { .design-towel .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5.5vw, 80px); } .design-towel .faq details > p { padding-right: 40px; } }

/* ---------- 13. Local facts: soft cards, the figure in a pill ---------- */
.design-towel .localfacts .facts { gap: 12px; }
.design-towel .localfacts .facts__item { padding: 20px 22px; border: 0; border-radius: 22px; background: var(--tile); }
.design-towel .localfacts .facts__fig { display: inline-block; margin-bottom: 12px; padding: 6px 16px; border-radius: 999px; background: #fff; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; color: var(--timber-d); }
.design-towel main .section.localfacts { --p-tile: var(--mist); }
.design-towel .localfacts .facts__title { font-size: 19px; }

/* ---------- 14. Enquiry: the deep panel; the number and the form are two cards on it ---------- */
.design-towel .callcard { border-radius: 24px; background: var(--firth); color: var(--on-dark); }
.design-towel .callcard__points .icon, .design-towel .callcard__points svg { color: var(--sand); }
.design-towel .enquiry__panel .callcard:not(:has(.callcard__num)) { flex: 0 0 auto; }
.design-towel .form { border-radius: 24px; color: var(--text); }
.design-towel .form label { font-weight: 600; }
.design-towel .form input, .design-towel .form textarea { border-radius: 14px; }

/* ---------- 15. Blog post, footer, phone bar ---------- */
.design-towel .post__toc { border-radius: 22px; }
.design-towel .site-footer { margin: 0 var(--inset) var(--inset); border-radius: var(--panel); background: var(--firth-3); }
.design-towel .site-footer__col h2 { font-weight: 600; }
.design-towel .callbar { background: rgb(255 255 255 / .96); border-top: 0; box-shadow: 0 -10px 30px -16px rgb(0 0 0 / .35); }
.design-towel .callbar .btn { min-height: 54px; }
.design-towel .consent__btn { border-radius: 999px; }

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