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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Avonbank Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "The survey drawing": the site is an architect's measured drawing of a bathroom job.
   - Two papers. Drafting paper (pale blue-grey, a faint navy grid) carries the copy. Blueprint (deep navy,
     a faint white grid, white line work) carries every hero without a photograph, Bathroom Ideas, the phone
     card and the footer.
   - Grid references. Each section opens on a dash-dot grid line with a lettered bubble (A, B, C down the
     page); steps and stages carry numbered bubbles (1, 2, 3). Letters one way, numbers the other, as on a plan.
   - Dimension lines. Every photograph caption sits on a dimension line with a tick at each end. Photographs
     beside copy have a registration cross at each corner.
   - Title blocks. The hero copy, the finance line, the phone number and the footer are ruled boxes of cells.
   - Gold is the pencil: the underline on each heading, Call now, the bars on the programme of works.
   House rules kept: body 18px / 1.65 / #303030, small text 16px or more, photographs 16px corners (small
   inserts 10px), photograph first when stacked. Gold (#d0a02e) is never text on a light ground (2.4:1): it is
   a fill under navy text (5.8:1) or a line on navy (6.7:1). --gold-ink is the text-safe gold (4.9:1 on mist). */

:root {
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gold: var(--timber);
  --gold-ink: #7a5a10;
  --r-ui: 6px;                   /* ruled boxes */
  --r-key: 4px;                  /* buttons, tags, icon boxes */
  --edge: max(var(--gut), calc((100% - var(--max)) / 2));
  --sheet: linear-gradient(rgb(27 44 74 / .085) 1px, #0000 1px) 50% 0 / 120px 120px, linear-gradient(90deg, rgb(27 44 74 / .085) 1px, #0000 1px) 50% 0 / 120px 120px,
           linear-gradient(rgb(27 44 74 / .04) 1px, #0000 1px) 50% 0 / 24px 24px, linear-gradient(90deg, rgb(27 44 74 / .04) 1px, #0000 1px) 50% 0 / 24px 24px;
  --sheet-dark: linear-gradient(rgb(255 255 255 / .1) 1px, #0000 1px) 50% 0 / 120px 120px, linear-gradient(90deg, rgb(255 255 255 / .1) 1px, #0000 1px) 50% 0 / 120px 120px,
           linear-gradient(rgb(255 255 255 / .045) 1px, #0000 1px) 50% 0 / 24px 24px, linear-gradient(90deg, rgb(255 255 255 / .045) 1px, #0000 1px) 50% 0 / 24px 24px;
  --tick-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M2.5 12.5l10-10' fill='none' stroke='%231b2c4a' stroke-width='1.5'/%3E%3C/svg%3E");
  --tick-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M2.5 12.5l10-10' fill='none' stroke='%23e6ebf3' stroke-width='1.5'/%3E%3C/svg%3E");
  --pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 9' preserveAspectRatio='none'%3E%3Cpath d='M2 5.6c16-2.6 30-2 46-1.3s34 1.9 52 .5 20-1.6 30-.7' fill='none' stroke='%23d0a02e' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  /* A measured plan of a bathroom in white line: walls, window, door swing, bath, toilet, basin, two dimension lines. */
  --plan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' fill='none' stroke='%23fff'%3E%3Cg stroke-width='1.2' stroke-opacity='.7'%3E%3Cpath d='M40 18h560M40 8v20M600 8v20M35 23l10-10M595 23l10-10M18 50v280M8 50h20M8 330h20M13 55l10-10M13 335l10-10'/%3E%3Cpath d='M320 62v256' stroke-dasharray='14 5 3 5' stroke-opacity='.5'/%3E%3C/g%3E%3Cg stroke-width='2.2'%3E%3Cpath d='M40 50h560v280H40zM52 62h536v256H52z'/%3E%3Cpath d='M441 317h68v14h-68z' fill='%2314213a' stroke='none'/%3E%3Cpath d='M440 318v12M510 318v12M260 50v12M380 50v12'/%3E%3C/g%3E%3Cg stroke-width='1.5' stroke-opacity='.85'%3E%3Cpath d='M260 56h120M440 318v-70M440 248a70 70 0 0 1 70 70' /%3E%3Crect x='62' y='72' width='100' height='236' rx='10'/%3E%3Crect x='74' y='88' width='76' height='204' rx='36'/%3E%3Ccircle cx='112' cy='268' r='5'/%3E%3Cpath d='M102 80h20M162 72v96'/%3E%3Crect x='470' y='64' width='84' height='30' rx='4'/%3E%3Cellipse cx='512' cy='134' rx='27' ry='38'/%3E%3Cellipse cx='512' cy='139' rx='17' ry='25'/%3E%3Crect x='530' y='196' width='56' height='98' rx='4'/%3E%3Cellipse cx='555' cy='245' rx='17' ry='30'/%3E%3Ccircle cx='577' cy='245' r='3'/%3E%3Crect x='220' y='306' width='120' height='10' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  /* What changes between drafting paper and blueprint. Blueprint grounds reset these below. */
  --head: var(--ink);
  --pen: #4a5d80;                /* drawn lines: dimension lines, grid lines (6.2:1 on paper) */
  --accent: var(--gold-ink);     /* icons and small marks */
  --q: var(--ink);               /* outline button: border and label */
  --q-bg: #fff;
  --q-on: #fff;                  /* its label once filled */
  --call-edge: var(--ink);
  --tick: var(--tick-ink);
  --ref-bg: #fff;
  --off: var(--muted);
}

/* ---------- Drafting paper ---------- */
body { font-family: var(--sans); background: var(--sheet), var(--paper); }
.band-stone { background: var(--sheet), var(--stone); }
.band-mist { background: var(--sheet), var(--mist); }
:focus-visible { outline-color: var(--ink); }

/* ---------- Blueprint grounds ---------- */
.ideas, .band-firth, .hero--index, .site-footer, .callcard, .callbar {
  --head: #fff; --pen: rgb(230 235 243 / .62); --accent: var(--gold); --q: #fff; --q-bg: transparent; --q-on: var(--firth);
  --call-edge: var(--gold); --tick: var(--tick-light); --ref-bg: var(--firth); --off: rgb(255 255 255 / .4); --line: rgb(255 255 255 / .22);
  color: var(--on-dark);
}
.ideas, .band-firth, .hero--index, .site-footer, .callcard { background: var(--sheet-dark), var(--firth); }
.ideas :focus-visible, .band-firth :focus-visible, .hero--index :focus-visible, .site-footer :focus-visible, .callcard :focus-visible, .callbar :focus-visible { outline-color: var(--gold); }

/* ---------- 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, .notfound__code { font-family: var(--display); }
.h2, .band-firth .h2 {
  padding-bottom: .36em; background: var(--pencil) 0 100% / 132px 9px no-repeat;
  font-size: clamp(30px, 3.3vw, 44px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 700; color: var(--head);
}
h3, .h3, .trio h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; color: var(--head); }
.lead { margin-top: 14px; }
.intro { max-width: 800px; }
.note { font-weight: 600; }
figcaption, .band-firth figcaption { font-weight: 600; color: var(--head); }
.textlink a { font-weight: 700; color: var(--head); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.textlink .icon { color: var(--accent); stroke-width: 2; }
.points strong { font-weight: 700; }
.lead a, .points a, .faq details > p a, .form__privacy a, .whyus__more a, .prose a:not(.tel):not(.btn),
.split__body > p:not([class]) a, .feature__tail > p:not([class]) a { font-weight: 600; text-decoration-thickness: 2px; }
.lead a:hover, .points a:hover, .faq details > p a:hover, .form__privacy a:hover, .prose a:not(.tel):not(.btn):hover,
.split__body > p:not([class]) a:hover, .feature__tail > p:not([class]) a:hover { color: var(--gold-ink); }
.band-firth .lead a, .band-firth .whyus__more a { text-decoration-color: var(--gold); }

/* ---------- Buttons: ruled boxes. Call now is the gold one, with a second line drawn inside its edge ---------- */
.btn { min-height: 52px; padding: 8px 20px; border: 2px solid transparent; border-radius: var(--r-key); font-size: 17px; font-weight: 700; line-height: 1.15; }
.btn .icon { stroke-width: 2; }
.btn--call, .band-firth .btn--call, .btn--on-dark, .post__cta .btn--call {
  --fill: var(--gold); border-color: var(--call-edge); background: var(--fill); color: var(--ink);
  box-shadow: inset 0 0 0 3px var(--fill), inset 0 0 0 4.5px var(--ink);
}
.btn--call:hover, .band-firth .btn--call:hover, .btn--on-dark:hover, .post__cta .btn--call:hover { --fill: var(--sand); background: var(--fill); }
.btn--quote, .band-firth .btn--quote, .post__cta .btn--quote { border-color: var(--q); background: var(--q-bg); color: var(--q); }
.btn--quote:hover, .band-firth .btn--quote:hover, .post__cta .btn--quote:hover { border-color: var(--q); background: var(--q); color: var(--q-on); }
.btn--solid, .band-firth .btn--solid { border-color: var(--q); background: var(--q); color: var(--q-on); }
.btn--solid:hover, .band-firth .btn--solid:hover { border-color: var(--ink-hover); background: var(--ink-hover); color: #fff; }
.round, .band-firth .round { border: 1.5px solid var(--q); background: var(--q-bg); color: var(--q); }
.round:hover:not(:disabled), .band-firth .round:hover:not(:disabled) { background: var(--q); color: var(--q-on); }
.round:disabled, .band-firth .round:disabled { border-color: var(--line); background: none; color: var(--off); }
.dots i { width: 7px; height: 7px; border-radius: 0; background: var(--off); }
.dots i.is-on { width: 22px; background: var(--q); }
.chip { border-radius: var(--r-key); }
.chip--link { min-height: 46px; padding: 4px 16px; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; }
.chip--link .icon { stroke-width: 2; }

/* ---------- Header: a white sheet edge, closed by a double rule ---------- */
.site-header { border-bottom: 2px solid var(--ink); background: #fff; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); pointer-events: none; }
.logo__mark { border-radius: var(--r-ui); }
.logo__text b { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.logo .logo__text span { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.nav ul a { font-weight: 600; text-underline-offset: 8px; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.tel { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.menu-btn { border-width: 2px; border-radius: var(--r-key); background: #fff; font-weight: 700; }
@media (max-width: 479px) {
  .logo__text b { font-size: 22px; }
  .logo .logo__text span { font-size: 16px; }
}
/* The full menu row (from 1200px) holds six links, the number and Call now. The row is never wider than
   1240px, so the quote button cannot share it without the number dropping out or the row running off the
   sheet; calls come first, so the number stays and the quote button waits in the hero and the phone menu. */
@media (min-width: 1200px) {
  .site-header--quote .site-header__in { gap: 18px; }
  .site-header--quote.site-header--phone .nav { gap: 18px; }
  .site-header--quote.site-header--phone .nav ul { gap: 13px; }
  .site-header--quote.site-header--phone .nav ul a { font-size: 16px; font-weight: 500; }
  .site-header--quote.site-header--phone .nav__call { gap: 12px; }
  .site-header--quote.site-header--phone .nav__call .tel { display: inline; font-size: 20px; }
  .site-header--quote.site-header--phone .nav__call .btn--quote { display: none; }
  .site-header--quote.site-header--phone .nav__call .btn { min-height: 46px; padding-inline: 14px; font-size: 16px; }
}
@media (min-width: 1280px) {
  .site-header--quote.site-header--phone .nav { gap: 26px; }
  .site-header--quote.site-header--phone .nav ul { gap: 20px; }
  .site-header--quote.site-header--phone .nav ul a { font-weight: 600; }
  .site-header--quote.site-header--phone .nav__call .tel { font-size: 22px; }
  .site-header--quote.site-header--phone .nav__call .btn { min-height: 50px; padding-inline: 20px; font-size: 17px; }
}
@media (max-width: 1199px) {
  .site-header .nav { z-index: 1; padding-bottom: 22px; border-bottom: 2px solid var(--ink); background: #fff; box-shadow: 0 22px 30px -22px rgb(20 33 58 / .5); }
  .nav ul a { font-size: 18px; border-bottom: 1px dashed var(--pen); }
  .site-header--quote .nav__call { padding-top: 10px; }
  .site-header--quote .nav__call .tel { flex: 1 1 100%; font-size: 26px; }
}

/* ---------- Grid references: each section opens on a dash-dot grid line with a lettered bubble ---------- */
main { counter-reset: ref; }
:is(main, .choices, .local, .about) > :is(.section, .aboutrow) { --ref-top: 16px; position: relative; padding-top: clamp(80px, 8vw, 116px); counter-increment: ref; }
:is(main, .choices, .local, .about) > :is(.section, .aboutrow)::before {
  content: counter(ref, upper-alpha); position: absolute; left: var(--edge); top: var(--ref-top); z-index: 1;
  display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--head); border-radius: 50%; background: var(--ref-bg);
  font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1; color: var(--head);
}
:is(main, .choices, .local, .about) > :is(.section, .aboutrow)::after {
  content: ""; position: absolute; left: calc(var(--edge) + 46px); right: var(--edge); top: calc(var(--ref-top) + 18px); height: 1.5px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--pen) 0 20px, #0000 20px 25px, var(--pen) 25px 28px, #0000 28px 33px);
}
@media (min-width: 900px) {
  :is(main, .choices, .local, .about) > :is(.section, .aboutrow) { --ref-top: 26px; }
  :is(main, .choices, .local, .about) > :is(.section, .aboutrow)::before { width: 44px; height: 44px; font-size: 19px; }
  :is(main, .choices, .local, .about) > :is(.section, .aboutrow)::after { left: calc(var(--edge) + 54px); top: calc(var(--ref-top) + 21px); }
}
.choices, .local, .about { padding-block: 0; }
.choices .section, .local .section { padding-bottom: clamp(40px, 5vw, 72px); }
.aboutrow__grid, .aboutrow:first-child .aboutrow__grid { padding-top: 0; border-top: 0; }

/* ---------- Photographs beside copy: a registration cross at each corner ---------- */
.split .photo::after, .hero--cover .hero__media > .photo::after, .enquiry__media .photo::after {
  --m: linear-gradient(var(--ink), var(--ink));
  content: ""; position: absolute; inset: -10px; pointer-events: none;
  background: var(--m) 0 9px / 20px 1.5px no-repeat, var(--m) 9px 0 / 1.5px 20px no-repeat,
              var(--m) 100% 9px / 20px 1.5px no-repeat, var(--m) calc(100% - 9px) 0 / 1.5px 20px no-repeat,
              var(--m) 0 calc(100% - 9px) / 20px 1.5px no-repeat, var(--m) 9px 100% / 1.5px 20px no-repeat,
              var(--m) 100% calc(100% - 9px) / 20px 1.5px no-repeat, var(--m) calc(100% - 9px) 100% / 1.5px 20px no-repeat;
}
.enquiry__media .photo { overflow: visible; }

/* ---------- Captions sit on a dimension line: a tick at each end, the words breaking the line ---------- */
.rail--ideas figcaption, .ba figcaption, .people figcaption, .gallerygrid figcaption, .hero__cap {
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; line-height: 1.3; font-weight: 600; text-align: center; color: var(--head);
}
.rail--ideas figcaption::before, .ba figcaption::before, .people figcaption::before, .gallerygrid figcaption::before, .hero__cap::before {
  content: ""; flex: 1 1 18px; align-self: stretch; min-width: 18px; min-height: 15px;
  background: var(--tick) 0 50% / 15px 15px no-repeat, linear-gradient(var(--pen), var(--pen)) 7px 50% / 100% 1px no-repeat;
}
.rail--ideas figcaption::after, .ba figcaption::after, .people figcaption::after, .gallerygrid figcaption::after, .hero__cap::after {
  content: ""; flex: 1 1 18px; align-self: stretch; min-width: 18px; min-height: 15px;
  background: var(--tick) 100% 50% / 15px 15px no-repeat, linear-gradient(var(--pen), var(--pen)) -7px 50% / 100% 1px no-repeat;
}
.people figcaption b, .people figcaption span, .people figcaption span:only-child { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- Photo heroes: the photograph is the drawing, the copy is its title block ----------
   Stacked: the photograph (inset, a cross at each corner), then the title block lapped over its foot. */
.hero--cover { padding: 20px 0 clamp(36px, 5vw, 60px); }
.hero--cover > .hero__media { height: clamp(210px, 58vw, 400px); margin-inline: var(--edge); overflow: visible; }
.hero--cover > .hero__grid { margin-top: -36px; }
.hero--cover .hero__text { padding: 0 18px 20px; border: 2px solid var(--ink); border-radius: var(--r-ui); background: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--ink); }
.hero__title { font-size: clamp(29px, 8.6vw, 40px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; color: var(--head); }
.hero__lead { max-width: 44ch; }
/* The top cell of the block: the eyebrow line, or the breadcrumb trail. */
.hero--cover .hero__eyebrow, .hero--cover .crumbs--hero {
  margin: 0 -18px 16px; padding: 9px 18px; border-bottom: 1.5px solid var(--ink); border-radius: 4px 4px 0 0; background: var(--mist);
  font-weight: 600; color: var(--ink);
}
.hero__eyebrow::before, .crumbs--hero::before { display: none; }
.crumbs--hero [aria-current] { color: var(--text); }
.crumbs li + li::before { color: var(--pen); }
/* The three benefits are the drawing's key: a boxed symbol, then what it stands for. */
.hero__points { margin-top: 18px; }
.hero__points li, .hero--index .hero__points li { gap: 14px; padding: 9px 0; border-top: 1px dashed var(--pen); font-weight: 600; color: var(--head); }
.hero__points li:last-child { border-bottom: 1px dashed var(--pen); }
.hero__points .icon, .hero--index .hero__points .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 6px; border: 1.5px solid var(--head); border-radius: var(--r-key); color: var(--head); }
.hero--cover .hero__points .icon { background: var(--paper); }
.hero__note { font-weight: 500; }
@media (max-width: 360px) { .hero--cover .hero__text { padding: 0 14px 18px; } .hero--cover .hero__eyebrow, .hero--cover .crumbs--hero { margin-inline: -14px; padding-inline: 14px; } }
@media (min-width: 900px) {
  .hero--cover { padding-top: 52px; }
  .hero--cover > .hero__media { height: auto; }
  .hero--cover > .hero__grid { margin-top: 0; padding-left: 28px; }
  .hero--cover .hero__text { padding: 0 34px 30px; }
  .hero--cover .hero__eyebrow, .hero--cover .crumbs--hero { margin: 0 -34px 22px; padding: 9px 34px; }
  .hero__title { font-size: 42px; }
  /* The caption runs along a dimension line above the photograph. */
  .hero--cover .hero__cap { left: 0; right: 0; top: -40px; bottom: auto; max-width: none; height: 28px; padding: 0; border-radius: 0; background: none; gap: 14px; color: var(--ink); }
  .hero--cover .hero__cap p { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; }
  .hero--cover .hero__cap span { display: none; font-weight: 500; color: var(--text); }
  .hero--cover .hero__cap a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -8px; font-weight: 700; color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
  /* A stand-in photograph covers the frame until the strip layout below. */
  .hero--soft > .hero__media::before, .hero--soft > .hero__media::after { display: none; }
  .hero--soft > .hero__media > .photo { inset: 0; width: auto; -webkit-mask-image: none; mask-image: none; }
}
/* From 1200px the title block is one strip across the foot of the photograph: title and sentence in the
   first cell, the key and the two buttons in the second. */
@media (min-width: 1200px) {
  .hero--cover { --hang: 0px; grid-template-rows: auto auto; }
  .hero--cover > .hero__media { grid-area: 1 / 1 / 2 / 2; height: clamp(400px, 34vw, 520px); }
  .hero--cover > .hero__grid { grid-area: 2 / 1 / 3 / 2; align-self: start; margin-top: -108px; padding: 0 28px; }
  .hero--cover .hero__text {
    flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) 484px; grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "eye eye" "title key" "lead key" "note acts"; padding: 0;
  }
  .hero--cover .hero__eyebrow, .hero--cover .crumbs--hero { grid-area: eye; margin: 0; padding: 9px 30px; }
  .hero--cover .hero__title { grid-area: title; padding: 26px 34px 0 30px; font-size: clamp(40px, calc((100vw - 690px) / 12), 52px); }
  .hero--cover .hero__text .hero__lead { grid-area: lead; margin-top: 14px; padding: 0 34px 0 30px; max-width: none; font-size: 19px; }
  .hero--cover .hero__note { grid-area: note; align-self: end; margin: 0; padding: 14px 34px 26px 30px; }
  .hero--cover .hero__points { grid-area: key; margin: 0; padding: 20px 28px 0; border-left: 1.5px solid var(--ink); }
  .hero--cover .hero__points li:first-child { border-top: 0; padding-top: 6px; }
  .hero--cover .hero__grid .actions { grid-area: acts; flex-wrap: nowrap; margin: 0; padding: 18px 28px 24px; border-left: 1.5px solid var(--ink); }
  .hero--cover .hero__grid .actions .btn { flex: 1 1 auto; white-space: nowrap; }
  .hero--cover .hero__cap span { display: inline; }
  /* A stand-in photograph (too small to run the full width): the measured plan on blueprint, the photograph beside it. */
  .hero--soft > .hero__media::before {
    display: block;
    inset: 0 calc(46% + 14px) 0 0; border-radius: var(--r); filter: none;
    background: var(--plan) 50% 34px / auto calc(100% - 190px) no-repeat, var(--sheet-dark), var(--firth);
  }
  .hero--soft > .hero__media > .photo { inset: 0 0 0 auto; width: 46%; }
}

/* ---------- Text heroes (About, hubs, gallery): blueprint, the measured plan drawn faintly behind ---------- */
.hero--index::after { left: auto; right: 0; top: 0; bottom: 0; width: min(64%, 760px); height: auto; background: var(--plan) 50% 50% / 86% auto no-repeat; opacity: .16; }
.hero--index .hero__title { color: #fff; }
.hero--index .hero__lead { font-weight: 500; color: #fff; }
.hero--index .crumbs--hero { color: var(--on-dark); }
.hero--index .crumbs--hero [aria-current], .hero--index .crumbs li + li::before { color: var(--on-dark); }
@media (max-width: 899px) { .hero--index::after { top: auto; width: 100%; height: 62%; opacity: .1; } }
@media (min-width: 900px) {
  .hero--index .hero__title, .hero--index .hero__head .hero__title { font-size: clamp(44px, 4.6vw, 62px); }
  /* The sentence and the key are the plan's title block. */
  .hero--index .hero__head + .hero__side { padding: 26px 28px 20px; border: 1.5px solid rgb(230 235 243 / .7); border-radius: var(--r-ui); background: var(--firth); }
  .hero--index .hero__head + .hero__side .hero__points { padding-top: 18px; }
}

/* ---------- Finance: a gold band, the offer in a ruled title block ---------- */
.strip { padding-block: 20px; background: var(--gold); color: var(--ink); }
.strip__in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; justify-content: stretch; gap: 0; padding: 0; border: 2px solid var(--ink); border-radius: var(--r-ui); font-size: 18px; font-weight: 600; line-height: 1.45; }
.strip__in .icon { box-sizing: content-box; align-self: stretch; width: 30px; height: auto; padding: 0 14px; border-right: 1.5px solid var(--ink); stroke-width: 1.6; }
.strip__in p { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 14px 16px; }
.strip a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-left: auto; padding: 6px 18px; border-radius: var(--r-key); background: var(--ink); font-weight: 700; color: #fff; text-decoration: none; }
.strip a:hover { background: var(--ink-hover); }
.strip a:focus-visible { outline-offset: 2px; }
@media (max-width: 599px) { .strip__in { grid-template-columns: minmax(0, 1fr); } .strip__in .icon { display: none; } .strip a { flex: 1 1 100%; margin-left: 0; white-space: normal; } }
@media (min-width: 900px) { .strip { padding-block: 26px; } .strip__in { font-size: 20px; } .strip__in .icon { width: 36px; padding: 0 20px; } .strip__in p { padding: 16px 16px 16px 24px; } }
.financebox { padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: var(--r-key); background: var(--gold); font-weight: 600; color: var(--ink); }

/* ---------- Before and after: three wide sliders under the heading ---------- */
.ba__frame { aspect-ratio: 4 / 3; }
.rail--ba > li { flex: 0 0 min(86%, 430px); }
.ba__tag { top: 12px; padding: 3px 11px; border: 1.5px solid var(--ink); border-radius: var(--r-key); font-weight: 700; }
.ba__tag--before { left: 12px; background: #fff; color: var(--ink); }
.ba__tag--after { right: 12px; background: var(--gold); color: var(--ink); }
.ba__knob { box-shadow: 0 0 0 1.5px var(--ink), 0 4px 14px rgb(0 0 0 / .3); }
@media (min-width: 900px) {
  .baband__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 44px); }
  .baband__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: end; }
  .baband__copy > .h2 { grid-row: 1 / span 2; align-self: start; }
  .baband__copy > .lead { grid-column: 2; margin-top: 0; max-width: none; }
  .baband__grid .baband__copy > .actions { grid-column: 2; margin-top: 20px; }
  /* The middle pair sits a step lower, so the three read as a set, not a table. */
  .baband__grid--n3 .rail--ba > li:nth-child(2) { margin-top: 36px; }
}

/* ---------- Bathroom Ideas: photographs pinned to the blueprint, each on its own dimension line ---------- */
.ideas .lead { color: var(--on-dark); }
.ideas .lead a { color: #fff; text-decoration-color: var(--gold); }
.rail--ideas { gap: 14px; }
.rail--ideas figcaption { margin-top: 12px; }
.ideas__copy > .textlink a { color: #fff; }
@media (min-width: 900px) {
  .rail--ideas { gap: 20px; }
  .ideas--row .ideas__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  /* Alternate photographs drop a step. */
  .rail--ideas.rail--shapes > li:nth-child(even) { margin-top: 44px; }
  .ideas__grid .carousel__nav { padding-top: 24px; }
  .rail--shapes, .rail--shapes.rail--wide { --rh: clamp(280px, 25vw, 360px); }
  .ideas--row .ideas__copy .actions { flex-direction: column; align-items: stretch; max-width: 290px; }
}

/* ---------- Photograph beside copy ---------- */
.split__under .actions { margin-top: 0; }
.points--tile .points__icon, .band-stone .points--tile .points__icon, .band-mist .points--tile .points__icon, .feature--warm .points--tile .points__icon {
  width: 50px; height: 50px; border: 1.5px solid var(--ink); border-radius: var(--r-key); background: #fff; color: var(--ink);
}
.points--ring .points__icon { width: 48px; height: 48px; border: 1.5px solid var(--ink); background: #fff; color: var(--gold-ink); }
.points--ring p { font-weight: 600; }
.points--rule .points__icon { border-bottom: 1.5px solid var(--ink); color: var(--gold-ink); }
.points--plain li { border-top: 1px dashed var(--pen); }
.points--plain .points__icon, .points--tick .points__icon { color: var(--gold-ink); }
.points--tick .icon { stroke-width: 2.4; }
.points--check li { border-top: 1px dashed var(--pen); }
.points--check li:last-child { border-bottom: 1px dashed var(--pen); }
.points--check .points__icon { width: 28px; height: 28px; border-radius: var(--r-key); background: var(--ink); color: var(--gold); }
.points--check .icon { stroke-width: 2.6; }
.split .points--tick li { border-top: 1px dashed var(--pen); }
.split .points--tick li:last-child { border-bottom: 1px dashed var(--pen); }
.pull { border-left: 3px solid var(--gold); }
.who .points, .feature--plain .points--ring { border: 2px solid var(--ink); border-radius: var(--r-ui); }

/* ---------- Home: the style we fit, then what sets the price ----------
   One large card for the style page; four priced choices as small ruled cards; the one nobody can see
   until the suite is out is a hatched note, as an unknown is drawn on a plan. */
#bathroom-types .types__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
#bathroom-types .typecard__link { border: 1.5px solid var(--ink); border-radius: var(--r-ui); background: #fff; }
#bathroom-types .typecard:first-child .typecard__link { padding: 10px 10px 18px; border-width: 2px; }
#bathroom-types .typecard:first-child figure { aspect-ratio: 5 / 4; }
#bathroom-types .typecard:first-child h3 { margin: 16px 8px 0; font-size: 26px; }
#bathroom-types .typecard:first-child p { margin: 6px 8px 0; font-size: 18px; line-height: 1.6; }
#bathroom-types .typecard h3 .icon { color: var(--gold-ink); stroke-width: 2; }
#bathroom-types .typecard:not(:first-child) .typecard__link { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; height: 100%; padding: 10px; }
#bathroom-types .typecard:not(:first-child) figure { grid-row: 1 / span 2; aspect-ratio: 3 / 4; border-radius: 10px; }
#bathroom-types .typecard:not(:first-child) h3 { margin-top: 4px; font-size: 20px; }
#bathroom-types .typecard:not(:first-child) p { margin-top: 4px; font-size: 18px; line-height: 1.5; }
#bathroom-types .typecard:last-child .typecard__link { border-style: dashed; background: repeating-linear-gradient(135deg, rgb(27 44 74 / .13) 0 1.5px, #0000 1.5px 10px), #fff; }
#bathroom-types .typecard:last-child figure { aspect-ratio: 1 / 1; align-self: start; }
#bathroom-types .iconcard { aspect-ratio: 1 / 1; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); }
#bathroom-types .iconcard .icon { width: 36px; height: 36px; stroke-width: 1.5; }
#bathroom-types .textlink { margin-top: 26px; }
@media (min-width: 900px) {
  #bathroom-types .types__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 16px 20px; }
  #bathroom-types .typecard:first-child { grid-column: 1; grid-row: 1 / span 3; display: flex; }
  #bathroom-types .typecard:first-child .typecard__link { display: flex; flex-direction: column; width: 100%; padding: 12px 12px 22px; }
  #bathroom-types .typecard:first-child figure { position: relative; flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; }
  #bathroom-types .typecard:first-child figure img { position: absolute; inset: 0; }
  #bathroom-types .typecard:first-child h3 { font-size: 30px; }
  #bathroom-types .typecard:not(:first-child) .typecard__link { grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; padding: 12px; }
  #bathroom-types .typecard:last-child { grid-column: 2 / -1; }
  #bathroom-types .typecard:last-child .typecard__link { grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; padding: 16px; }
  #bathroom-types .typecard:last-child h3 { margin-top: 0; align-self: end; }
}

/* ---------- The steps: a programme of works. Numbered bubbles, each step's bar a stage later than the last ---------- */
.steps li { --i: 0; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding-bottom: 26px; }
.steps li:nth-child(2) { --i: 1; } .steps li:nth-child(3) { --i: 2; } .steps li:nth-child(4) { --i: 3; } .steps li:nth-child(5) { --i: 4; } .steps li:nth-child(6) { --i: 5; }
.steps li::before {
  left: 19px; top: 46px; bottom: 6px; width: 1.5px;
  background: repeating-linear-gradient(var(--pen) 0 12px, #0000 12px 16px, var(--pen) 16px 18px, #0000 18px 22px);
}
.steps li::after { content: ""; grid-column: 2; grid-row: 1; width: 34%; height: 13px; margin: 13px 0 10px calc(var(--i) * 16.5%); border: 1.5px solid var(--ink); border-radius: 2px; background: var(--gold); }
.steps__badge { grid-column: 1; grid-row: 1 / span 3; align-self: start; display: block; width: 40px; height: 40px; border: 0; border-radius: 0; }
.steps__badge b { position: static; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; font-weight: 700; }
.steps__badge .icon { display: none; }
.steps h3 { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 21px; }
.steps p { grid-column: 2; grid-row: 3; }
.process .actions--center { justify-content: flex-start; }
@media (min-width: 1000px) {
  .steps { gap: 0; border-top: 2px solid var(--ink); }
  .steps li { padding: calc(var(--i) * 34px + 52px) 18px 8px; border-left: 1px dashed var(--pen); }
  .steps li:last-child { padding-bottom: 8px; border-right: 1px dashed var(--pen); }
  .steps li::before { display: none; }
  .steps li::after { position: absolute; left: -1px; right: -1px; top: calc(var(--i) * 34px + 12px); width: auto; height: 18px; margin: 0; }
  .steps__badge { display: flex; align-items: center; gap: 12px; width: auto; height: auto; }
  .steps__badge b { order: -1; }
  .steps__badge .icon { display: block; width: 26px; height: 26px; color: var(--gold-ink); }
  .steps h3 { margin-top: 16px; font-size: 22px; }
  .process .actions { margin-top: 40px; }
}

/* ---------- Installation stages: the same programme, read down the sheet ---------- */
.timeline li, .timeline li:last-child { --i: 0; position: relative; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 0 0 24px; border: 0; }
.timeline li:nth-child(2) { --i: 1; } .timeline li:nth-child(3) { --i: 2; } .timeline li:nth-child(4) { --i: 3; } .timeline li:nth-child(5) { --i: 4; } .timeline li:nth-child(6) { --i: 5; } .timeline li:nth-child(n + 7) { --i: 5; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 1.5px;
  background: repeating-linear-gradient(var(--pen) 0 12px, #0000 12px 16px, var(--pen) 16px 18px, #0000 18px 22px);
}
.timeline__num { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; font-size: 19px; font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--ink); }
.timeline li > div::before { content: ""; display: block; width: 30%; height: 13px; margin: 15px 0 10px calc(var(--i) * 13.5%); border: 1.5px solid var(--ink); border-radius: 2px; background: var(--gold); }
.timeline h3 { font-size: 22px; }
.timeline h3 .icon { color: var(--gold-ink); }
@media (min-width: 900px) { .timeline li, .timeline li:last-child { grid-template-columns: 44px minmax(0, 1fr); gap: 22px; } .timeline__num { font-size: 19px; } }
.fitrow b { width: 36px; height: 36px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 17px; font-weight: 700; }
.fitrow li { font-weight: 600; }
@media (min-width: 640px) { .split__body .fitrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; } .fitrow li { align-items: center; } }

/* ---------- Why us: three ruled cells on the blueprint ---------- */
.trio li { border: 1.5px solid rgb(230 235 243 / .6); border-radius: var(--r-ui); background: var(--firth); }
.trio__icon { border-radius: var(--r-key); background: var(--gold); color: var(--ink); }
.trio h3 { font-size: 24px; }

/* ---------- FAQ: the notes column of the drawing ---------- */
.faq__list { overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r-ui); background: #fff; --line: #d4d6dc; }
.faq details, .faq details:last-child { border: 0; border-top: 1px dashed var(--pen); }
.faq details:first-child { border-top: 0; }
.faq summary { gap: 16px; padding: 17px 16px 17px 18px; }
.faq summary h3 { font-size: 20px; line-height: 1.22; }
.faq__mark { width: 34px; height: 34px; border-radius: var(--r-key); }
.faq details[open] .faq__mark { background: var(--gold); color: var(--ink); }
.faq__mark .icon { stroke-width: 2; }
.faq details > p { padding: 0 18px 22px; }
@media (min-width: 900px) {
  .faq summary { padding: 19px 22px 19px 26px; }
  .faq details > p { padding: 0 80px 24px 26px; }
}

/* ---------- Find us: the number, measured ---------- */
.findus__list { border: 2px solid var(--ink); border-radius: var(--r-ui); }
.findus__list > li { border-color: var(--line); }
.findus__list > li:only-child { grid-column: 1 / -1; }
.findus__icon, .popular__icon, .offer__icon { border: 1.5px solid var(--ink); border-radius: var(--r-key); background: #fff; color: var(--ink); }
.findus__list strong { font-weight: 700; }
.findus__num { position: relative; margin-top: 6px; padding-bottom: 22px; font-size: clamp(33px, 10.4vw, 100px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.findus__num::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 15px;
  background: var(--tick) 0 50% / 15px 15px no-repeat, var(--tick) 100% 50% / 15px 15px no-repeat, linear-gradient(var(--pen), var(--pen)) 50% 50% / calc(100% - 14px) 1px no-repeat;
}
.findus__num:hover { text-decoration: none; color: var(--gold-ink); }
.areapanel__chips .chip { border-color: var(--pen); }
@media (max-width: 519px) {
  .findus__list > li { grid-template-columns: minmax(0, 1fr); }
  .findus__tel .findus__icon { display: none; }
}
@media (min-width: 900px) {
  .findus__list > li:only-child { grid-template-columns: minmax(0, 1fr); padding: clamp(24px, 2.8vw, 38px) clamp(24px, 3vw, 40px); }
  .findus__list > li:only-child .findus__icon { display: none; }
  .findus__list > li:only-child > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .findus__list > li:only-child > div > strong { grid-column: 1 / -1; }
  .findus__list > li:only-child .findus__num { justify-self: start; }
  .findus__list > li:only-child .findus__actions { margin: 0; padding-bottom: 22px; }
  .findus__list > li:only-child .findus__actions .btn { min-height: 60px; padding-inline: 30px; font-size: 20px; }
}

/* ---------- Enquiry: the phone on blueprint, the form on a white sheet ---------- */
.callcard { border-radius: var(--r-ui); }
.callcard__num { font-size: clamp(34px, 10vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.callcard__points { border-top: 1px dashed var(--pen); }
.callcard__points li { font-weight: 500; }
.callcard__points svg { color: var(--gold); }
.form { border: 2px solid var(--ink); border-radius: var(--r-ui); }
.form label { font-weight: 600; }
.form input, .form textarea { border: 1.5px solid var(--pen); border-radius: var(--r-key); }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--ink); border-color: var(--ink); }
.form__status { border-radius: var(--r-key); }
@media (min-width: 900px) { .enquiry__panel .callcard__num { font-size: clamp(40px, 4.3vw, 58px); } }

/* ---------- Tags, rows and panels on town, style and hub pages ---------- */
.districts--compact .chip, .districts .chips--plain .chip { border: 1px solid var(--pen); background: #fff; color: var(--ink); font-weight: 500; }
.districts .note .icon { color: var(--gold-ink); }
.related__list a, .related__list span { border: 1.5px solid var(--ink); border-radius: var(--r-ui); }
.related__list a:hover { background: var(--sand); }
.related__list b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.related__list .icon:first-child { color: var(--gold-ink); }
.onward__col, .onward__more, .nearby { border-top: 1.5px solid var(--ink); }
.directory__row { border-top: 1px dashed var(--pen); }
.directory__rows { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.directory__rows > .directory__row:first-child { border-top: 0; }
.directory__row h3 { font-size: 26px; }
.directory__row h3 .icon { color: var(--gold-ink); }
.directory__row ul { gap: 10px 12px; }
.directory__row a { display: flex; min-height: 50px; padding: 4px 14px; border: 1.5px solid var(--ink); border-radius: var(--r-key); background: #fff; font-weight: 700; text-decoration: none; }
.directory__row a:hover { background: var(--sand); }
.directory__foot { border: 1.5px solid var(--ink); border-radius: var(--r-ui); background: var(--sheet), var(--stone); }
.popular__list li, .popular__list li:last-child { border: 0; }
.popular__list a, .popular--photo .popular__list a { padding: 18px; border: 2px solid var(--ink); border-radius: var(--r-ui); background: #fff; }
.popular__list li + li { margin-top: 12px; }
.popular__go { border-radius: var(--r-key); border-color: var(--ink); background: var(--gold); color: var(--ink); }
.popular__list a:hover .popular__go { background: var(--ink); color: #fff; }
@media (max-width: 519px) {
  .popular__list .popular__go { width: 22px; border: 0; background: none; color: var(--gold-ink); }
  .popular__list p { grid-column: 1 / -1; margin-top: 10px; font-size: 18px; }
  .popular__list .popular__icon, .popular__list .popular__go { grid-row: 1; }
  .popular__list h3 { align-self: center; }
  .popular__list a:hover .popular__go { background: none; color: var(--ink); }
}
@media (min-width: 900px) {
  /* A town with one popular bathroom: heading left, the card right. */
  .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); }
  .popular__list a, .popular--photo .popular__list a { padding: 24px; }
}
.notfound__links a { border: 1.5px solid var(--ink); border-radius: var(--r-ui); }
.notfound__code { color: var(--gold-ink); }
.notfound__links svg { color: var(--gold-ink); }
.tbc { border-radius: var(--r-key); }

/* ---------- Bathroom types hub: one style is one sheet, the plan beside its copy ---------- */
.typegroup .types__grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.typegroup a.typecard__link:hover img { transform: none; }
.typegroup .typecard__link { padding: 12px 12px 20px; border: 2px solid var(--ink); border-radius: var(--r-ui); background: #fff; }
.typegroup .typecard h3 { margin-inline: 6px; font-size: 26px; }
.typegroup .typecard h3 .icon { color: var(--gold-ink); stroke-width: 2; }
.typegroup .typecard p { margin-inline: 6px; font-size: 18px; line-height: 1.6; }
.typegroup .typecard figure:has(.iconcard) { aspect-ratio: 16 / 10; }
.typegroup .iconcard { aspect-ratio: auto; height: 100%; background: var(--plan) 50% 50% / 84% auto no-repeat, var(--sheet-dark), var(--firth); color: #0000; }
@media (min-width: 640px) {
  .typegroup .types__grid > li:only-child .typecard__link { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(22px, 3vw, 40px); padding: 12px; }
  .typegroup .types__grid > li:only-child figure { grid-area: 1 / 1 / -1 / 2; aspect-ratio: 4 / 3; }
  .typegroup .types__grid > li:only-child .iconcard { aspect-ratio: auto; height: 100%; }
  .typegroup .types__grid > li:only-child h3 { grid-area: 2 / 2; margin: 0; font-size: clamp(28px, 3vw, 38px); }
  .typegroup .types__grid > li:only-child p { grid-area: 3 / 2; margin: 10px 0 0; max-width: 34ch; }
}

/* ---------- About ---------- */
.aboutrow--open .lead { font-family: var(--display); font-size: clamp(22px, 2.3vw, 29px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.aboutrow .h2 { font-size: clamp(28px, 3.1vw, 40px); }
.aboutrow__grid { padding-bottom: clamp(40px, 5vw, 72px); }
.people { gap: 16px; }
.people figcaption { margin-top: 12px; }
.about .aboutphoto { padding-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .aboutrow--people .aboutrow__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- Gallery page: one sheet of photographs, the first two set large ---------- */
.gallerygrid__list { gap: 12px; }
.gallerygrid img, .gallerygrid .ph { aspect-ratio: 3 / 2; border-radius: var(--r); }
.gallerygrid figcaption { margin-top: 10px; }
@media (max-width: 699px) {
  .gallerygrid__list > li:nth-child(3n + 1) { grid-column: 1 / -1; }
  .gallerygrid__list > li:not(:nth-child(3n + 1)) img { aspect-ratio: 1 / 1; }
  .gallerygrid img { border-radius: var(--r); }
}
@media (min-width: 700px) {
  .gallerygrid__list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
  .gallerygrid__list > li { grid-column: span 4; }
  .gallerygrid__list > li:nth-child(8n + 1) { grid-column: span 7; }
  .gallerygrid__list > li:nth-child(8n + 2) { grid-column: span 5; }
  .gallerygrid__list > li:nth-child(8n + 1) img { aspect-ratio: 7 / 4; }
  .gallerygrid__list > li:nth-child(8n + 2) img { aspect-ratio: 5 / 4; }
  .gallerygrid__list > li:nth-child(8n + 6), .gallerygrid__list > li:nth-child(8n + 7), .gallerygrid__list > li:nth-child(8n + 8) { grid-column: span 4; }
}
.gallerypairs__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 0; }
@media (min-width: 900px) { .gallerypairs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ---------- Background rhythm: no two neighbouring sections on one tone ---------- */
.choices > .feature:nth-child(even), .local > .feature:nth-child(even) { background: var(--sheet), var(--stone); --line: var(--line-stone); }
.about > :nth-child(even) { background: var(--sheet), var(--stone); --line: var(--line-stone); }
.section:not([class*="band-"]):not(.ideas) + .faq:not([class*="band-"]), .faq:not([class*="band-"]) + .feature:not([class*="band-"]) { background: var(--sheet), var(--stone); --line: var(--line-stone); }

/* ---------- Footer: the drawing's title block, on blueprint ---------- */
.site-footer { padding-block: clamp(40px, 5vw, 64px) 28px; }
@media (max-width: 799px) { .site-footer { padding-bottom: 104px; } }
.site-footer > .container { border: 1.5px solid rgb(230 235 243 / .6); border-top-width: 0; background: var(--firth); }
.site-footer > .site-footer__top { display: grid; align-items: stretch; gap: 0; border-top-width: 1.5px; border-radius: var(--r-ui) var(--r-ui) 0 0; }
.site-footer > .site-footer__legal { border-radius: 0 0 var(--r-ui) var(--r-ui); }
.site-footer__brand, .site-footer__call { padding: 22px 20px; }
.site-footer__call { border-top: 1.5px solid rgb(230 235 243 / .6); }
.site-footer__brand p { max-width: 40ch; }
.site-footer .logo__text b { font-size: 30px; }
.site-footer .tel { font-size: clamp(34px, 9.6vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.site-footer__lists { gap: 0; margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer__col { padding: 18px 20px 14px; }
.site-footer__col + .site-footer__col { border-top: 1.5px solid rgb(230 235 243 / .6); }
.site-footer__col h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--gold); }
.site-footer__all .icon, .site-footer__facts .icon { color: var(--gold); }
.site-footer__all .icon { stroke-width: 2; }
.site-footer__legal { margin-top: 0; padding: 14px 20px; border-top: 0; }
@media (min-width: 900px) {
  .site-footer > .site-footer__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .site-footer__brand, .site-footer__call { padding: 28px 30px; }
  .site-footer__call { align-content: center; border-top: 0; border-left: 1.5px solid rgb(230 235 243 / .6); }
  .site-footer__lists { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 0; }
  .site-footer__col { padding: 22px 30px 20px; }
  .site-footer__col + .site-footer__col { border-top: 0; border-left: 1.5px solid rgb(230 235 243 / .6); }
  .site-footer__col--avonbank-bathrooms ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__legal { padding: 14px 30px; }
}

/* ---------- Mobile Call now bar ---------- */
.callbar { padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); border-top: 0; background: var(--firth); box-shadow: 0 -8px 22px rgb(14 23 41 / .3); }
.callbar .btn { min-height: 54px; font-size: 20px; }
/* From 800px to the full menu at 1200px the header shows only the menu button, so Call now stays on screen
   there too, as one button 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: 0 10px 26px rgb(14 23 41 / .36); }
  .callbar .btn { width: auto; padding-inline: 26px; border-color: var(--ink); }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Plain pages ---------- */
.prose h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.02em; }
.prose section + section { border-top: 1px dashed var(--pen); }
.prose li::marker { color: var(--gold-ink); }
.prose-page__head .hero__title { font-size: clamp(34px, 4.6vw, 56px); }
.post__cta, .post__toc, .prose__call { border-radius: var(--r-ui); }
.prose__call { border: 1.5px solid var(--ink); background: var(--sheet), var(--mist); color: var(--ink); }

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