/* Bricolage Grotesque (SIL OFL 1.1), latin subset, variable 400-800 with optical size, self-hosted. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(/assets/bricolage-grotesque-var.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; }

/* Lang Toun Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "Tiled": colour fields carry a metro-tile wall with grout lines (peach behind the photo heroes and the
   phone panel, deep terracotta on the text heroes, navy in the footer). White cards and photographs sit on
   those walls with a hard offset block, never a soft shadow. Buttons are keys with a solid lower edge.
   Bricolage Grotesque 800 for headings and every numeral, Figtree for reading. Numerals are only oversized
   where the content is a real sequence (steps, stages) or a phone number.
   House rules kept: body 18px / 1.65 / #303030, 16px small text, 16px image corners, photograph first
   when stacked. Terracotta (--timber) is 4.56:1 with white: use it for fills, large numerals and icons only;
   small terracotta text on a light ground must use --timber-d. */

:root {
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --r-key: 12px;                 /* buttons, small tiles, inserts (photographs keep 16px) */
  --drop: 14px;                  /* how far an offset block sits from its photograph or card */
  --off: var(--sand);            /* colour of the offset block behind a photograph */
  --timber-h: #ae4926;           /* Call now hover: between the accent and its darker edge */
  --key-dark: #0b121b;           /* lower edge of a navy key */
  --field: #5d6b7b;              /* form field borders (3:1 on white) */
  /* Metro tiles, 96 x 48, half-bond. One file, three grout strengths. */
  --grout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 1h96M0 49h96M1 0v48M49 48v48' fill='none' stroke='%23fff' stroke-opacity='.62' stroke-width='2'/%3E%3C/svg%3E");
  --grout-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 1h96M0 49h96M1 0v48M49 48v48' fill='none' stroke='%23fff' stroke-opacity='.13' stroke-width='2'/%3E%3C/svg%3E");
  --grout-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 1h96M0 49h96M1 0v48M49 48v48' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E");
  /* The three-tile mark above a section heading. */
  --t1: var(--timber); --t2: var(--ink); --t3: var(--sand);
}
/* Declared on every element so each one picks up the --t1 to --t3 of the band it sits in. */
* { --tiles: linear-gradient(90deg, var(--t1) 0 12px, transparent 12px 17px, var(--t2) 17px 29px, transparent 29px 34px, var(--t3) 34px 46px); }
@media (max-width: 700px) { :root { --drop: 9px; } }

body { font-family: var(--sans); }

/* ---------- Type ---------- */
.h2, .hero__title, .post__title, h3, .h3, .logo__text b, .tel, .callcard__num, .findus__num, .timeline__num, .steps__badge b, .fitrow b, .prose h2, .post__cta h2, .post__toc h2 { font-family: var(--display); }
.h2 { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.h2::before, .hero__eyebrow::before, .crumbs--hero::before {
  content: ""; display: block; flex: none; width: 46px; height: 12px; border-radius: 0;
  background: var(--tiles);
}
.h2::before { margin-bottom: clamp(14px, 1.6vw, 20px); }
h3, .h3 { font-size: 22px; line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }
.lead { max-width: 56ch; }
figcaption { font-weight: 600; }
.note { font-weight: 600; }
.textlink a { font-weight: 700; text-decoration-color: var(--timber); text-decoration-thickness: 2px; }
.textlink .icon { color: var(--timber); stroke-width: 2; }
.band-firth, .site-footer, .callcard { --t2: #fff; }
/* The engine lifts a heading by .13em to meet its photograph; the tile mark is the top edge here. */
.split__body > .h2:first-child, .feature__head > .h2:first-child, .ideas__copy > .h2:first-child,
.enquiry__form > .h2:first-child, .enquiry__panel > .h2:first-child, .who__text > .h2:first-child { margin-top: 0; }
.site-header :focus-visible, .band-firth :focus-visible, .site-footer :focus-visible, .callbar :focus-visible, .callcard :focus-visible { outline-color: var(--sand); }
.strip :focus-visible, .hero--index :focus-visible { outline-color: #fff; }

/* ---------- Buttons: keys with a solid lower edge ---------- */
.btn {
  --key: transparent; min-height: 54px; padding: 8px 24px; border-width: 2px; border-radius: var(--r-key);
  font-weight: 700; letter-spacing: 0; box-shadow: 0 4px 0 var(--key); margin-bottom: 4px;
  transition: background-color .15s, color .15s, border-color .15s, transform .08s, box-shadow .08s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--key); }
.btn .icon { stroke-width: 2; }
.btn--call { --key: var(--timber-d); background: var(--timber); color: #fff; }
.btn--call:hover { background: var(--timber-h); }
.btn--quote { --key: var(--ink); border-color: var(--ink); background: #fff; color: var(--ink); }
.btn--quote:hover { background: var(--sand); color: var(--ink); }
.btn--solid { --key: var(--key-dark); border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--solid:hover { border-color: var(--ink-hover); background: var(--ink-hover); color: #fff; }
.btn--on-dark { --key: #c79476; background: var(--sand); color: var(--ink); }
.btn--on-dark:hover { background: var(--accent-hover); }
.band-firth .btn--call { --key: var(--timber-d); background: var(--timber); color: #fff; }
.band-firth .btn--call:hover { background: var(--timber-h); }
.band-firth .btn--quote { --key: rgb(255 255 255 / .38); border-color: #fff; background: transparent; color: #fff; }
.band-firth .btn--quote:hover { background: #fff; color: var(--ink); }
.band-firth .btn--solid { --key: #c79476; border-color: var(--sand); background: var(--sand); color: var(--ink); }
.band-firth .btn--solid:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.round { border-width: 2px; border-radius: var(--r-key); }
.form input, .form textarea { border: 2px solid var(--field); border-radius: 10px; }
.form input:focus-visible, .form textarea:focus-visible { border-color: var(--ink); }

/* ---------- Header: a navy bar ---------- */
.site-header { background: var(--firth); border-bottom: 1px solid rgb(255 255 255 / .12); }
.site-header .logo__text { color: #fff; }
.logo__mark { border-radius: 10px; box-shadow: 0 0 0 2px var(--sand); }
.logo__text b { font-size: 25px; font-weight: 800; letter-spacing: -0.035em; }
.logo .logo__text span { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.site-header .logo__text span { color: var(--sand); }
.site-header .nav ul a { font-weight: 600; color: #fff; text-underline-offset: 8px; }
.site-header .nav ul a:hover, .site-header .nav ul a[aria-current] { text-decoration-color: var(--sand); text-decoration-thickness: 3px; }
.site-header .tel { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.site-header .btn--quote { --key: rgb(255 255 255 / .38); border-color: #fff; background: transparent; color: #fff; }
.site-header .btn--quote:hover { background: #fff; color: var(--ink); }
.menu-btn { border: 2px solid #fff; border-radius: var(--r-key); color: #fff; font-weight: 700; }
@media (max-width: 1199px) {
  .site-header .nav { background: var(--firth); border-bottom: 0; box-shadow: 0 26px 30px -18px rgb(8 13 19 / .6); padding-bottom: 24px; }
  .site-header .nav ul a { border-bottom-color: rgb(255 255 255 / .16); }
}
/* From 1200px the header is: six links, the number, Call now. The page grid is 1,240px wide at most, which cannot
   also hold the 24-character quote label, and calls come first. The quote button stays in the mobile menu and
   sits in the hero directly below on every page. */
@media (min-width: 1200px) {
  .site-header--quote.site-header--phone .site-header__in { gap: 20px; }
  .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 ul a { font-size: 16px; }
  .site-header--quote.site-header--phone .nav__call { gap: 14px; }
  .site-header--quote.site-header--phone .nav__call .btn--quote { display: none; }
  .site-header--quote.site-header--phone .tel { display: inline; }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  .site-header--quote.site-header--phone .site-header__in, .site-header--quote.site-header--phone .nav { gap: 14px; }
  .site-header--quote.site-header--phone .nav ul { gap: 12px; }
  .site-header--quote.site-header--phone .nav ul a { font-weight: 500; }
  .site-header--quote.site-header--phone .tel { font-size: 19px; }
  .site-header .logo__text b { font-size: 22px; }
}
/* Just past the menu breakpoint (and less a scrollbar) the number does not fit beside six links. */
@media (min-width: 1200px) and (max-width: 1259px) {
  .site-header--quote.site-header--phone .tel { display: none; }
}
@media (max-width: 479px) { .logo__text b { font-size: 21px; } }

/* ---------- Photo heroes: a peach tiled wall, the photograph hung on it, the copy on a white card ---------- */
.hero__title { font-size: clamp(24px, 7.6vw, 44px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.hero__eyebrow, .crumbs--hero { font-weight: 600; color: var(--ink); }
.hero__eyebrow::before, .crumbs--hero::before { width: 46px; height: 12px; }
.hero__lead { max-width: 40ch; }
/* The three benefits: one navy block inside the card. */
.hero__points { margin-top: 20px; padding: 6px 18px; border-radius: var(--r-key); background: var(--ink); }
.hero__points li { padding: 11px 0; border-top: 1px solid rgb(255 255 255 / .17); font-weight: 600; color: #fff; }
.hero__points li:first-child { border-top: 0; }
.hero__points li:last-child { border-bottom: 0; }
.hero__points .icon { color: var(--sand); stroke-width: 2; }
.hero.hero--cover { background: var(--grout) 50% 0 / 96px 96px, var(--sand); padding-bottom: 38px; }
.hero.hero--cover:has(+ .strip) { padding-bottom: 86px; }
.hero.hero--cover .hero__text { box-shadow: 7px 7px 0 var(--ink); }
.hero.hero--cover .hero__cap { border-radius: var(--r-key); background: #fff; }
@media (max-width: 899px) {
  /* Stacked: the photograph first, rounded, on the wall; the card laps over its foot. */
  .hero.hero--cover > .hero__media { height: clamp(180px, 50vw, 380px); margin: 12px 8px 0; border-radius: var(--r); }
  .hero__points li { padding: 9px 0; }
  .hero__points { margin-top: 16px; }
  .hero.hero--cover .hero__grid .actions { margin-top: 18px; }
  .hero.hero--cover > .hero__grid { margin-top: -40px; }
}
/* In the narrow card the breadcrumb needs the whole line. */
@media (max-width: 520px) { .hero--cover .crumbs--hero::before { display: none; } }
@media (min-width: 900px) {
  .hero__title { font-size: clamp(42px, 4.3vw, 60px); line-height: .98; }
  .hero.hero--cover {
    --hang: 0px; --head: 44px; --foot: 60px; --lift: 44px;
    grid-template-rows: minmax(clamp(480px, 40vw, 600px), auto); padding: 0;
  }
  .hero.hero--cover:has(+ .strip) { --foot: 104px; padding: 0; }
  .hero.hero--cover > .hero__media { grid-area: 1 / 1 / 2 / 2; overflow: visible; }
  .hero.hero--cover > .hero__grid { grid-area: 1 / 1 / 2 / 2; align-self: end; padding-block: var(--head) var(--foot); }
  .hero.hero--cover .hero__text { flex: 0 1 min(56%, 650px); padding: clamp(28px, 2.8vw, 40px); box-shadow: var(--drop) var(--drop) 0 var(--ink); }
  .hero.hero--cover .hero__grid .actions { margin-top: 22px; }
  /* The photograph: its true shape cropped to a tall panel, right-hand side, a step above the card. */
  .hero.hero--cover > .hero__media::before, .hero.hero--cover > .hero__media::after { content: none; }
  .hero.hero--cover > .hero__media > .photo {
    inset: calc(var(--head) - 20px) var(--bleed) calc(var(--foot) + var(--lift)) auto;
    width: calc(min(var(--max), 100vw - 2 * var(--gut)) * .6);
    z-index: 0; isolation: isolate; -webkit-mask-image: none; mask-image: none;
  }
  .hero.hero--cover > .hero__media > .photo::before {
    content: ""; position: absolute; z-index: -1; inset: var(--drop) calc(-1 * var(--drop)) calc(-1 * var(--drop)) var(--drop);
    border-radius: var(--r); background: var(--timber);
  }
  .hero.hero--cover.hero--portrait > .hero__media > .photo > img { object-position: 50% 62%; }
  .hero.hero--cover .hero__cap {
    left: auto; right: calc(var(--bleed) + 16px); bottom: calc(var(--foot) + var(--lift) + 16px); z-index: 2;
    flex-direction: column; align-items: flex-start; gap: 2px; max-width: min(30vw, 380px); padding: 12px 16px;
  }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hero.hero--cover .hero__text { flex-basis: 60%; }
  .hero.hero--cover .hero__cap { display: none; }
}

/* ---------- Text heroes (About, hubs, gallery): a deep terracotta wall ---------- */
.hero--index.band-firth { --t1: var(--sand); --t2: #fff; --t3: var(--ink); background: var(--grout-soft) 50% 0 / 96px 96px, var(--timber-d); color: #fff; }
.hero--index::after { display: none; }
.hero--index .crumbs--hero [aria-current], .hero--index .hero__eyebrow, .hero--index .crumbs--hero li + li::before, .hero--index .hero__note { color: #fff; }
.hero--index .hero__eyebrow::before, .hero--index .crumbs--hero::before { background: var(--tiles); }
.hero--index.band-firth .btn--call { --key: var(--key-dark); background: #fff; color: var(--ink); }
.hero--index.band-firth .btn--call:hover { background: var(--sand); }
.hero--index .hero__lead { font-weight: 500; }
@media (min-width: 900px) {
  .hero--index .hero__title, .hero--index .hero__head .hero__title { font-size: clamp(50px, 5.6vw, 84px); line-height: .94; }
  /* A lead that runs to two lines must not touch the benefits block under it. */
  .hero--index .hero__head + .hero__side .hero__lead { margin-bottom: 20px; }
}

/* ---------- Finance strip: a terracotta ticket lapping from the wall onto the navy band ---------- */
.strip { --below: var(--paper); position: relative; z-index: 2; padding-top: 28px; background: var(--below); color: #fff; }
.strip:has(+ .band-firth) { --below: var(--firth); }
.hero--cover + .strip { margin-top: -48px; padding-top: 0; background: linear-gradient(transparent 0 48px, var(--below) 48px); }
.strip__in {
  flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 20px;
  border-radius: var(--r); background: var(--timber);
  font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.32; letter-spacing: -0.01em;
  -webkit-mask: radial-gradient(circle 10px at 0 71px, #0000 9.5px, #000 10.5px) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 71px, #0000 9.5px, #000 10.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 71px, #0000 9.5px, #000 10.5px) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 71px, #0000 9.5px, #000 10.5px) right / 51% 100% no-repeat;
}
.strip__in .icon { width: 36px; height: 36px; margin: 0; stroke-width: 1.6; }
.strip__in p { display: flex; flex-direction: column; gap: 16px; width: 100%; padding-top: 16px; border-top: 2px dashed rgb(255 255 255 / .6); }
.strip a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-bottom: 4px; padding: 6px 20px;
  border-radius: var(--r-key); background: #fff; box-shadow: 0 4px 0 var(--timber-d);
  font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--ink); text-decoration: none;
}
.strip a:hover { background: var(--sand); }
@media (min-width: 800px) {
  .strip__in {
    flex-direction: row; align-items: center; gap: 24px; padding: 22px 28px; font-size: clamp(19px, 1.75vw, 23px);
    -webkit-mask: radial-gradient(circle 11px at 97px 0, #0000 10.5px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle 11px at 97px 100%, #0000 10.5px, #000 11.5px) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 11px at 97px 0, #0000 10.5px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle 11px at 97px 100%, #0000 10.5px, #000 11.5px) bottom / 100% 51% no-repeat;
  }
  .strip__in .icon { box-sizing: content-box; width: 44px; height: 44px; padding: 6px 24px 6px 0; border-right: 2px dashed rgb(255 255 255 / .6); }
  .strip__in p { flex: 1 1 auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; width: auto; padding-top: 0; border-top: 0; }
  .strip a { flex: none; }
}

/* ---------- Bathroom Ideas wall (home): tight grout, tab captions ---------- */
.section.showcase { --gap: 8px; }
.showcase .h2 { font-size: clamp(36px, 6vw, 84px); line-height: .94; letter-spacing: -0.045em; }
.rail--showcase figcaption, .rail--showcase .is-lead figcaption, .rail--ideas figcaption {
  position: absolute; inset: auto auto 12px 12px; margin: 0; padding: 5px 12px; border-radius: 8px;
  background: var(--sand); font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: 0; color: var(--ink);
}
.showcase__bar { height: 4px; border-radius: 0; background: rgb(255 255 255 / .2); }
.showcase__bar i { background: var(--timber); }
.showcase__nav .dots i, .showcase__nav .dots i.is-on { height: 4px; border-radius: 0; }
.showcase__nav .dots i.is-on { background: var(--timber); }
.showcase__nav .round { border-color: rgb(255 255 255 / .7); }
.showcase__nav .round[data-next] { border-color: var(--timber); background: var(--timber); color: #fff; }
.showcase__nav .round[data-next]:hover:not(:disabled) { border-color: var(--timber-h); background: var(--timber-h); color: #fff; }
@media (min-width: 1000px) { .section.showcase { --wall: clamp(420px, 40vw, 560px); } }

/* ---------- Photo rows (town and style pages) ---------- */
.rail--ideas { gap: 10px; }
.rail--ideas figure { position: relative; }
/* A town page has three photographs: from 900px they are one composed block, not a scroller. */
@media (min-width: 900px) {
  .ideas--stack .rail--ideas:has(> li:nth-child(3):last-child) {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px;
    align-items: stretch; height: clamp(430px, 42vw, 580px); margin-right: 0; overflow: visible;
  }
  .ideas--stack .rail--ideas:has(> li:nth-child(3):last-child) > li { width: auto; margin-right: 0; }
  .ideas--stack .rail--ideas:has(> li:nth-child(3):last-child) > li:first-child { grid-row: 1 / span 2; }
  .ideas--stack .rail--ideas:has(> li:nth-child(3):last-child) figure { height: 100%; }
  .ideas--stack .rail--ideas:has(> li:nth-child(3):last-child) img { height: 100%; }
  .ideas--stack .ideas__grid:has(.rail--ideas > li:nth-child(3):last-child) .carousel__nav { display: none; }
}

/* ---------- Home: the style photograph beside the things that move the price ---------- */
#bathroom-types .types__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
#bathroom-types .typecard:first-child { margin-bottom: 30px; }
#bathroom-types .typecard:first-child figure { position: relative; aspect-ratio: 3 / 2; overflow: visible; isolation: isolate; }
#bathroom-types .typecard:first-child figure::before {
  content: ""; position: absolute; z-index: -1; inset: var(--drop) calc(-1 * var(--drop)) calc(-1 * var(--drop)) var(--drop); border-radius: var(--r); background: var(--timber);
}
#bathroom-types .typecard:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r); }
#bathroom-types a.typecard__link:hover img { transform: none; }
#bathroom-types .typecard:first-child h3 { margin-top: calc(var(--drop) + 18px); font-size: 26px; }
#bathroom-types .typecard:first-child p { margin-top: 6px; font-size: 18px; line-height: 1.55; }
/* The price rows. One with a photograph shows it as a small insert before its copy; one without is marked
   with a single tile (the engine's stand-in bath icon says nothing). Rows without a photograph go last, so
   the photographs sit together. */
#bathroom-types .typecard:not(:first-child):has(.iconcard) { order: 2; }
#bathroom-types .typecard:not(:first-child) .typecard__link {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 18px 0; border-top: 2px solid var(--ink);
}
#bathroom-types .typecard:last-child .typecard__link { border-bottom: 2px solid var(--ink); }
#bathroom-types .typecard:not(:first-child) figure { grid-row: 1 / span 2; display: block; width: 16px; height: 16px; margin-top: 7px; aspect-ratio: auto; border-radius: 0; background: var(--timber); }
#bathroom-types .typecard:not(:first-child) .iconcard { display: none; }
#bathroom-types .typecard:not(:first-child) h3 { margin-top: 0; font-size: 24px; }
#bathroom-types .typecard:not(:first-child) p { grid-column: 2; margin-top: 6px; font-size: 18px; line-height: 1.55; }
#bathroom-types .typecard:not(:first-child):has(img) .typecard__link { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr; }
#bathroom-types .typecard:not(:first-child):has(img) figure { width: 104px; height: auto; margin-top: 0; aspect-ratio: 3 / 4; border-radius: 12px; background: none; }
#bathroom-types .typecard:not(:first-child):has(img) h3 { align-self: end; padding-top: 6px; }
@media (max-width: 359px) {
  #bathroom-types .typecard:not(:first-child):has(img) .typecard__link { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; }
  #bathroom-types .typecard:not(:first-child):has(img) figure { width: 84px; }
  #bathroom-types .typecard:not(:first-child) h3 { font-size: 22px; }
}
@media (min-width: 900px) {
  #bathroom-types .typecard:first-child { display: flex; margin-bottom: 0; }
  #bathroom-types .typecard:first-child .typecard__link { display: flex; flex-direction: column; width: 100%; }
  #bathroom-types .typecard:first-child figure { flex: 1 1 auto; aspect-ratio: 4 / 5; min-height: 0; }
}
/* 900 to 1099px: the style photograph on the left, the rows on the right. */
@media (min-width: 900px) and (max-width: 1099px) {
  #bathroom-types .types__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 6vw, 96px); }
  #bathroom-types .typecard:first-child { grid-column: 1; grid-row: 1 / span 5; }
  #bathroom-types .typecard:not(:first-child) { grid-column: 2; }
}
/* From 1,100px: the style photograph, then a row of photographed price cards, then the two plain rows. */
@media (min-width: 1100px) {
  #bathroom-types .types__grid { grid-template-columns: minmax(0, 4.4fr) repeat(6, minmax(0, 1fr)); column-gap: 20px; }
  #bathroom-types .typecard:first-child { grid-column: 1; grid-row: 1 / span 2; margin-right: clamp(20px, 3.4vw, 52px); }
  /* The two rows are as tall as the cards on the right; the style photograph fills whatever that leaves. */
  #bathroom-types .typecard:first-child figure { aspect-ratio: auto; }
  #bathroom-types .typecard:not(:first-child) { grid-column: span 3; }
  #bathroom-types .typecard:not(:first-child) .typecard__link { column-gap: 20px; padding: 22px 0 0; }
  #bathroom-types .typecard:last-child .typecard__link { border-bottom: 0; }
  #bathroom-types .typecard:not(:first-child) h3 { font-size: 24px; }
  #bathroom-types .typecard:not(:first-child):has(img) { grid-column: span 2; align-self: start; padding-bottom: 36px; }
  #bathroom-types .typecard:not(:first-child):has(img) .typecard__link { display: block; padding: 0; border-top: 0; }
  #bathroom-types .typecard:not(:first-child):has(img) figure { width: 100%; border-radius: var(--r); }
  #bathroom-types .typecard:not(:first-child):has(img) h3 { margin-top: 16px; padding-top: 0; font-size: 22px; }
}

/* ---------- Numbered steps: big numerals standing on one long line ---------- */
.steps li { grid-template-columns: 62px minmax(0, 1fr); column-gap: 16px; padding: 16px 0 20px; border-top: 4px solid var(--ink); }
.steps li::before { display: none; }
.steps li:last-child { padding-bottom: 0; }
.steps__badge { display: block; width: auto; height: auto; border: 0; border-radius: 0; }
.steps__badge .icon { display: none; }
.steps__badge b { position: static; display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--timber); font-size: 72px; font-weight: 800; line-height: .82; letter-spacing: -0.05em; text-align: left; }
.steps h3 { margin-top: 2px; font-size: 22px; }
@media (min-width: 1000px) {
  .steps { gap: 0; }
  .steps li { padding: 0 26px 0 0; border-top: 0; }
  .steps li:last-child { padding-right: 0; }
  .steps__badge { display: flex; align-items: flex-end; justify-content: space-between; margin-right: -26px; padding: 0 26px 14px 0; border-bottom: 4px solid var(--ink); }
  .steps li:last-child .steps__badge { margin-right: 0; }
  .steps__badge .icon { display: block; width: 30px; height: 30px; margin-bottom: 4px; color: var(--ink); order: 2; }
  .steps__badge b { font-size: clamp(110px, 11vw, 150px); line-height: .78; }
  .steps h3 { margin-top: 20px; }
}
.timeline li { grid-template-columns: 52px minmax(0, 1fr); border-top: 2px solid var(--ink); }
.timeline li:last-child { border-bottom: 2px solid var(--ink); }
.timeline__num { font-size: 60px; font-weight: 800; line-height: .84; letter-spacing: -0.05em; color: var(--timber); }
.timeline h3 .icon { color: var(--ink); }
@media (min-width: 900px) {
  .timeline li { grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 24px 0; }
  .timeline__num { font-size: 92px; }
}
.fitrow b { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--sand); font-size: 24px; font-weight: 800; }
.fitrow li { font-weight: 600; }
@media (min-width: 640px) { .fitrow li { align-items: center; } }

/* ---------- Photograph beside copy: an offset block behind every photograph ---------- */
.band-stone { --off: var(--timber); }
.band-mist { --off: var(--ink); }
.split { row-gap: calc(var(--drop) + 20px); }
.split .photo { isolation: isolate; }
.split .photo::before {
  content: ""; position: absolute; z-index: -1; inset: var(--drop) calc(-1 * var(--drop)) calc(-1 * var(--drop)) var(--drop);
  border-radius: var(--r); background: var(--off);
}
.split--flip .photo::before { inset: var(--drop) var(--drop) calc(-1 * var(--drop)) calc(-1 * var(--drop)); }
.feature:nth-of-type(even) .split:not(.split--flip) .photo::before { background: var(--timber); }
.band-stone .split .photo::before, .band-stone.feature:nth-of-type(even) .split .photo::before { background: var(--timber); }
.band-mist .split .photo::before, .band-mist.feature:nth-of-type(even) .split .photo::before { background: var(--ink); }
@media (min-width: 900px) { .split__under { margin-top: calc(var(--drop) + 22px); } }
@media (min-width: 900px) and (max-width: 1099px) {
  .feature--long .split__media > .photo { max-width: 748px; }
  .feature--long .split__under { margin-top: 0; }
}

/* ---------- Icon points: navy tiles ---------- */
.points--tile .points__icon, .band-stone .points--tile .points__icon, .feature--warm .points--tile .points__icon { width: 52px; height: 52px; border-radius: var(--r-key); background: var(--ink); color: var(--sand); }
.band-mist .points--tile .points__icon { background: var(--ink); color: var(--sand); }
.points--tick .points__icon, .points--plain .points__icon, .points--rule .points__icon { color: var(--timber); }
.points--tick .icon { stroke-width: 2.6; }
.points--check .points__icon { border-radius: 8px; background: var(--ink); }
.points--ring .points__icon { border-width: 2px; border-radius: var(--r-key); }
.points strong { font-weight: 700; }
.split .points--tick li, .feature__plain .points--tick li { padding: 13px 0; border-top: 2px solid var(--line); }
.split .points--tick li:last-child, .feature__plain .points--tick li:last-child { border-bottom: 2px solid var(--line); }
.feature__plain .points--tick { gap: 0; }
.feature__plain .points--tick li { font-weight: 500; color: var(--ink); }
.offer__icon, .findus__icon, .popular__icon, .trio__icon { border-radius: var(--r-key); }
.offer__icon, .findus__icon, .popular__icon { background: var(--ink); color: var(--sand); }
.popular__go { border-width: 2px; border-radius: var(--r-key); }
.popular__list li, .popular__list li:last-child { border-color: var(--ink); border-width: 2px; }
.financebox { border-radius: var(--r-key); background: var(--timber); color: #fff; font-weight: 600; }
.financebox .icon { color: #fff; }
.pull { border-left-width: 6px; }
.pull p { font-family: var(--display); font-weight: 600; }
@media (min-width: 900px) { .feature__plain .points { align-content: start; } }

/* ---------- Panels ---------- */
.who .points, .feature--plain .points--ring { border: 2px solid var(--ink); }
.trio li { border: 0; border-radius: var(--r); background: rgb(255 255 255 / .07); }
.trio__icon { background: var(--timber); color: #fff; }
.trio h3 { font-size: 24px; }
.band-firth .whyus__more a { text-decoration-color: var(--sand); }
.chip { border-radius: 8px; }
.chip--link { border-width: 2px; border-radius: 10px; font-weight: 700; }
.chip--link .icon { stroke-width: 2; }
.districts--compact .chip, .districts .chips--plain .chip { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.districts .note .icon { color: var(--timber); }
.related__list a, .related__list span { border: 2px solid var(--ink); border-radius: var(--r-key); transition: transform .1s, box-shadow .1s; }
.related__list a:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--timber); }
.related__list b { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; }
.onward__col, .onward__more { border-top: 2px solid var(--ink); }
.directory__row { border-top-width: 2px; border-top-color: var(--ink); }
.directory__rows { border-bottom: 2px solid var(--ink); }
.directory__foot, .prose__call { border-radius: var(--r); }
.nearby { border-top: 2px solid var(--ink); }
.notfound__links a { border: 2px solid var(--ink); border-radius: var(--r-key); }
.notfound__code { font-family: var(--display); }
.tbc { border-radius: 6px; }

/* ---------- Bathroom types hub: one style is one large card, photograph beside its copy ---------- */
.typegroup .types__grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.typegroup .types__grid > li:only-child figure { position: relative; overflow: visible; isolation: isolate; }
.typegroup .types__grid > li:only-child figure::before {
  content: ""; position: absolute; z-index: -1; inset: var(--drop) calc(-1 * var(--drop)) calc(-1 * var(--drop)) var(--drop); border-radius: var(--r); background: var(--timber);
}
.typegroup .types__grid > li:only-child img { border-radius: var(--r); }
.typegroup a.typecard__link:hover img { transform: none; }
.typegroup .types__grid > li:only-child h3 { margin-top: calc(var(--drop) + 18px); font-size: 26px; }
.typegroup .types__grid > li:only-child p { margin-top: 6px; font-size: 18px; line-height: 1.6; }
@media (min-width: 640px) {
  .typegroup .types__grid > li:only-child .typecard__link {
    display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: calc(var(--drop) + clamp(24px, 3.4vw, 44px));
    padding: 0 var(--drop) var(--drop) 0;
  }
  .typegroup .types__grid > li:only-child figure { grid-area: 1 / 1 / -1 / 2; }
  .typegroup .types__grid > li:only-child h3 { grid-area: 2 / 2; margin-top: 0; font-size: clamp(28px, 2.8vw, 36px); }
  .typegroup .types__grid > li:only-child p { grid-area: 3 / 2; margin-top: 10px; max-width: 30ch; }
}

/* ---------- Town pages: a single popular bathroom sits beside its heading, not in half a row ---------- */
@media (min-width: 900px) {
  .popular > .container:has(> .popular__list--n1) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: center; }
  .popular > .container:has(> .popular__list--n1) .popular__head { display: block; margin-bottom: 0; }
  .popular > .container:has(> .popular__list--n1) .popular__head .textlink { margin-top: 18px; }
  .popular__list.popular__list--n1 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- FAQ: boxed questions, the open one lifts onto a terracotta block ---------- */
.faq__list { display: grid; gap: 10px; }
.faq details, .faq details:last-child { border: 2px solid var(--ink); border-radius: var(--r-key); background: #fff; }
.faq details[open] { box-shadow: 6px 6px 0 var(--timber); }
.faq summary { gap: 16px; padding: 14px 14px 14px 20px; border-radius: 10px; }
.faq summary h3 { font-size: 20px; line-height: 1.22; }
.faq__mark { width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; }
.faq__mark .icon { stroke-width: 2; }
.faq details[open] .faq__mark { transform: none; background: var(--timber); color: #fff; }
.faq__mark .icon { transition: transform .2s; }
.faq details[open] .faq__mark .icon { transform: rotate(45deg); }
.faq details > p { padding: 2px 20px 22px; }
@media (min-width: 900px) { .faq details > p { padding-right: 76px; } }

/* ---------- Find us: the phone number, large, on the peach wall ---------- */
.findus.band-stone { --t3: #fff; background: var(--grout) 50% 0 / 96px 96px, var(--sand); }
.findus__head .lead { font-weight: 500; color: var(--ink); }
.findus__list { border-radius: var(--r); box-shadow: var(--drop) var(--drop) 0 var(--ink); }
.findus__list > li:only-child { grid-column: 1 / -1; }
.findus__list > li { border-color: var(--line); }
.findus__list strong { font-weight: 700; }
.findus__num { font-size: clamp(34px, 10.4vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.areapanel__chips .chip { border-color: var(--line); }
@media (max-width: 519px) {
  .findus__list > li { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
}
@media (min-width: 900px) {
  .findus__list > li:only-child { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: clamp(28px, 3vw, 44px); }
  .findus__list > li:only-child > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .findus__list > li:only-child > div > strong { grid-column: 1 / -1; }
  .findus__list > li:only-child .findus__actions { margin-top: 0; padding-bottom: 6px; }
  .findus__list > li:only-child .findus__icon { width: 72px; height: 72px; align-self: end; margin-bottom: 8px; }
  .findus__list > li:only-child .findus__icon .icon { width: 32px; height: 32px; }
}

/* ---------- Enquiry ---------- */
.callcard { border-radius: var(--r); background: var(--grout-dark) 50% 0 / 96px 96px, var(--firth); }
.callcard__num { font-weight: 800; letter-spacing: -0.04em; }
.callcard__points li { font-weight: 500; }
.form { border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--drop) var(--drop) 0 var(--ink); }
.form label { font-weight: 600; }
.form__status { border-radius: 10px; }
@media (min-width: 900px) {
  .enquiry__panel .callcard__num { font-size: clamp(36px, 3.7vw, 50px); }
  /* Beside the form the photograph is cropped tall. About page: keep the basin and the fitter's hands in it. */
  .enquiry__media img[src*="svc-5"] { object-position: 86% 50%; }
}

/* ---------- About ---------- */
.aboutrow__grid { border-top: 2px solid var(--ink); }
.aboutrow--open .lead { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; }
.aboutrow .h2 { font-size: clamp(28px, 3.1vw, 42px); }
.people { gap: calc(var(--drop) + 14px); padding: 0 var(--drop) var(--drop) 0; }
.people figure { position: relative; isolation: isolate; }
.people figure::before {
  content: ""; position: absolute; z-index: -1; inset: var(--drop) calc(-1 * var(--drop)) calc(-1 * var(--drop)) var(--drop);
  border-radius: var(--r); background: var(--sand);
}
.people > li:nth-child(even) figure::before { background: var(--timber); }
.people figcaption { position: absolute; left: 10px; bottom: 10px; right: auto; margin: 0; padding: 5px 12px; border-radius: 8px; background: #fff; }
.people figcaption b, .people figcaption span:only-child { font-size: 17px; font-weight: 700; }
@media (min-width: 900px) {
  .aboutrow--people .aboutrow__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .aboutrow--people .people { gap: calc(var(--drop) + 18px); }
}

/* ---------- Before and After page ---------- */
.ba__frame { aspect-ratio: 4 / 3; }
.ba__tag { top: 12px; padding: 5px 12px; border-radius: 8px; font-weight: 700; }
.ba__tag--before { left: 12px; background: var(--ink); }
.ba__tag--after { right: 12px; background: var(--timber); color: #fff; }
.ba__handle::before { width: 4px; margin-left: -2px; box-shadow: none; }
.ba__knob { border-radius: var(--r-key); box-shadow: 0 4px 0 rgb(15 24 33 / .45); }
.gallerypairs__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin: 0; }
.gallerypairs figcaption { margin-top: 12px; font-size: 18px; }
@media (min-width: 800px) {
  /* One large slider, then two side by side. */
  .gallerypairs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .gallerypairs__list > li:first-child { grid-column: 1 / -1; }
  .gallerypairs__list > li:first-child .ba__frame { aspect-ratio: 2 / 1; }
  .gallerypairs__list > li:not(:first-child) .ba__frame { aspect-ratio: 3 / 2; }
}
/* More photographs: rows of three, two, three, each photograph in its own landscape shape. */
.gallerygrid__list { gap: 8px; }
.gallerygrid__list > li:first-child, .gallerygrid__list > li:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallerygrid img, .gallerygrid .ph { aspect-ratio: 3 / 2; border-radius: var(--r); }
@media (min-width: 700px) {
  .gallerygrid__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .gallerygrid__list > li, .gallerygrid__list > li:first-child, .gallerygrid__list > li:last-child:nth-child(even) { grid-column: span 2; }
  .gallerygrid__list > li:nth-child(8n + 4), .gallerygrid__list > li:nth-child(8n + 5) { grid-column: span 3; }
}

/* ---------- Footer: the navy wall ---------- */
.site-footer { padding-top: 60px; border-top: 8px solid var(--timber); background: var(--grout-dark) 50% 0 / 96px 96px, var(--firth); }
.site-footer .logo__text b { font-size: 30px; }
.site-footer .tel { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.site-footer__col h2 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--sand); }
.site-footer__lists, .site-footer__legal { border-top-color: rgb(255 255 255 / .2); }
.site-footer__all .icon { stroke-width: 2; }

/* ---------- Mobile Call now bar: a navy sheet ---------- */
.callbar { padding: 10px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-top: 0; border-radius: var(--r) var(--r) 0 0; background: var(--firth); box-shadow: 0 -10px 26px rgb(15 24 33 / .24); }
.callbar .btn { min-height: 54px; font-size: 18px; }
/* Between 800px and the full menu at 1200px the header shows only the menu button, so Call now stays on
   screen there too, as one floating key in the corner. */
@media (min-width: 800px) and (max-width: 1199px) {
  .callbar { display: block; left: auto; right: 24px; bottom: 20px; padding: 0; border-radius: var(--r-key); background: none; box-shadow: none; }
  .callbar .btn { width: auto; padding-inline: 28px; box-shadow: 0 4px 0 var(--timber-d), 0 14px 28px rgb(15 24 33 / .32); }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Plain pages ---------- */
.prose h2 { font-weight: 700; }
.prose section + section { border-top-width: 2px; }
.post__cta, .post__toc { border-radius: var(--r); }

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