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

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

/* Fair City Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "The picture gallery": every photograph is a hung picture. A thin brass frame, a wide cream mount, the
   photograph inside it (16px corners), and a small brass plaque for its caption. A brass picture rail runs
   across the top of each hero and each wall of pictures, and the frames hang from it on wires. The wall is
   warm cream paper or deep forest green. Printed things are cream cards: the process is a programme, the
   finance line is an admission ticket with perforated ends, and the footer opens with a brass plaque.
   Hanken Grotesk for headings and numerals, Figtree for reading.
   House rules kept: body 18px / 1.65 / #303030, 16px small text, 16px photograph corners, photograph first
   when stacked. Brass (--timber) is 3.2:1 on cream, so it is never used for text on a light ground: text on
   brass is deep green (6:1 or better), and small brass-coloured text on white uses --timber-d. */

:root {
  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --brass: var(--timber);
  --brass-d: var(--timber-d);
  --brass-edge: #77601f;          /* the dark edge of a brass moulding or plate */
  --brass-hi: #f1dfa6;            /* its highlight */
  --plate: linear-gradient(180deg, #f0dc9c 0%, #dfc36c 45%, #d1b055 55%, #e3ca7c 100%);
  --plate-h: linear-gradient(180deg, #f7e9b8 0%, #ead384 45%, #dfc26c 55%, #eed994 100%);
  --mount: #fffdf6;               /* mount board and printed card */
  --gwall: #1c3226;               /* the green gallery wall */
  --field: #76847b;               /* form field borders (3:1 on white) */
  --m: 10px;                      /* mount width */
  --rail-h: 7px;                  /* picture rail */
  --rail-y: 12px;                 /* wall showing above the rail */
  --hang: 30px;                   /* wire length from the rail to a frame */
  --rail: linear-gradient(180deg, var(--brass-hi) 0 1px, #cfae52 1px 5px, #8a6c22 5px 7px, rgb(0 0 0 / .2) 7px, transparent 11px);
  --wire: #8f7226;
  --screws: radial-gradient(circle at 9px 50%, rgb(60 46 10 / .6) 0 1.6px, transparent 2.3px), radial-gradient(circle at calc(100% - 9px) 50%, rgb(60 46 10 / .6) 0 1.6px, transparent 2.3px);
  --hung: 0 22px 28px -18px rgb(22 39 30 / .5);
}
@media (min-width: 900px) { :root { --m: 16px; --rail-y: 16px; --hang: 48px; } }
.band-firth, #bathroom-ideas.ideas:not(.band-stone), .gallerygrid, .site-footer, .process { --wire: rgb(236 217 166 / .82); --hung: 0 26px 30px -18px rgb(0 0 0 / .7); }

body { font-family: var(--sans); }
:focus-visible { outline-color: var(--ink); }
.band-firth :focus-visible, #bathroom-ideas.ideas:not(.band-stone) :focus-visible, .gallerygrid :focus-visible, .site-footer__lists :focus-visible, .site-footer__legal :focus-visible, .callbar :focus-visible, .callcard :focus-visible { outline-color: var(--sand); }

/* ---------- Type ---------- */
.h2, .hero__title, h3, .h3, .logo__text b, .tel, .callcard__num, .findus__num, .timeline__num, .steps__badge b, .fitrow b, .prose h2, .post__title, .notfound__code { font-family: var(--display); }
.h2 { font-size: clamp(29px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 650; }
h3, .h3 { font-size: 21px; line-height: 1.22; letter-spacing: -0.018em; font-weight: 650; }
.lead { max-width: 56ch; }
.textlink a { text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.textlink .icon { color: var(--brass-d); stroke-width: 2; }
.band-firth .textlink .icon { color: var(--sand); }
.pull { border-left-color: var(--brass); }
.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; }

/* ---------- Buttons: Call now is a brass plate, the quote button a green outline ---------- */
.btn { min-height: 52px; padding: 8px 24px; border-radius: 8px; font-family: var(--display); font-size: 17px; font-weight: 650; letter-spacing: -0.005em; }
.btn .icon { stroke-width: 2; }
.btn--call, .btn--on-dark, .band-firth .btn--call {
  border: 1px solid var(--brass-edge); background: var(--plate); color: var(--firth);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 2px 0 rgb(119 96 31 / .35);
}
.btn--call:hover, .btn--on-dark:hover, .band-firth .btn--call:hover { background: var(--plate-h); }
.btn--quote { border: 2px solid var(--ink); background: transparent; color: var(--ink); }
.btn--quote:hover { background: var(--ink); color: #fff; }
.btn--solid { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--solid:hover { border-color: var(--ink-hover); background: var(--ink-hover); color: #fff; }
.band-firth .btn--quote { border-color: rgb(236 217 166 / .75); color: #fff; }
.band-firth .btn--quote:hover { border-color: #fff; background: #fff; color: var(--firth); }
.round { border-width: 2px; }
.form input, .form textarea { border: 1.5px solid var(--field); border-radius: 8px; }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--ink); border-color: var(--ink); }

/* ---------- Header: plain paper, so the brass rail below it is the first line on the page ---------- */
.site-header { border-bottom: 0; background: var(--paper); }
.logo__mark { border-radius: 8px; box-shadow: 0 0 0 2px var(--mount), 0 0 0 3px var(--brass); }
.logo__text b { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; }
.logo .logo__text span { font-size: 16px; letter-spacing: 0; }
.nav ul a { font-family: var(--display); font-weight: 550; text-underline-offset: 8px; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration-color: var(--brass); text-decoration-thickness: 3px; }
.site-header .tel { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.menu-btn { border-width: 2px; border-radius: 8px; font-family: var(--display); font-weight: 650; }
@media (max-width: 1199px) {
  .site-header .nav { border-bottom: 3px solid var(--brass); box-shadow: 0 26px 30px -20px rgb(22 39 30 / .5); padding-bottom: 24px; }
}
/* From 1200px the row holds six links, Call now and the quote button; the number joins them from 1400px. */
@media (min-width: 1200px) and (max-width: 1399px) {
  .site-header--quote.site-header--phone .site-header__in, .site-header--quote.site-header--phone .nav { gap: 16px; }
  .site-header--quote.site-header--phone .nav ul { gap: 15px; }
  .site-header--quote.site-header--phone .nav ul a { font-size: 16px; }
  .site-header--quote.site-header--phone .nav__call { gap: 8px; }
  .site-header--quote.site-header--phone .nav__call .btn { padding-inline: 14px; font-size: 16px; }
  .site-header .logo__text b { font-size: 22px; }
}
@media (max-width: 479px) { .logo__text b { font-size: 21px; } }

/* ---------- The frame: brass moulding, cream mount, the photograph inside ---------- */
.hero--photo .hero__media > .photo, .split .photo, .enquiry__media .photo, .about .photo, .rail--ideas figure,
.gallerygrid figure, .people figure, .gallerypairs .ba, .typecard figure:has(img) {
  padding: var(--m); overflow: visible; border: 3px solid var(--brass); border-color: #cfae52 #b08a2e #96772a #c0a044; border-radius: 4px;
  background: var(--mount); box-shadow: 0 0 0 1px var(--brass-edge), inset 0 0 0 1px rgb(119 96 31 / .55), var(--hung);
}
.hero--photo .hero__media > .photo > img, .split .photo > img, .split .photo > .ph {
  inset: var(--m); width: calc(100% - 2 * var(--m)); height: calc(100% - 2 * var(--m));
}
.photo img, .rail--ideas img, .gallerygrid img, .people img, .typecard img { border-radius: var(--r); }
@media (min-width: 900px) {
  .enquiry__media .photo > img, .enquiry__media .photo > .ph { inset: var(--m); width: calc(100% - 2 * var(--m)); height: calc(100% - 2 * var(--m)); }
}

/* The plaque: a small brass plate with two screws, engraved in deep green. */
.rail--ideas figcaption, .people figcaption, .gallerypairs figcaption {
  position: static; inset: auto; display: block; width: fit-content; max-width: 100%; margin: var(--m) auto 0; padding: 4px 20px;
  border: 1px solid var(--brass-edge); border-radius: 3px; background: var(--screws), var(--plate);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 1px 2px rgb(22 39 30 / .25);
  font-family: var(--display); font-size: 16px; line-height: 1.3; font-weight: 650; letter-spacing: 0; text-align: center; color: var(--firth);
}

/* ---------- Photo heroes: the picture hangs from the rail, the copy stands beside it ---------- */
.hero__title { font-size: clamp(26px, 7.6vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.hero--caption, .hero--index { position: relative; padding-top: calc(var(--rail-y) + var(--rail-h) + var(--hang)); }
.hero--caption::before, .hero--index::before {
  content: ""; position: absolute; inset: var(--rail-y) 0 auto; z-index: 1; height: 11px; background: var(--rail); pointer-events: none;
}
/* Two wires from one hook. */
.hero--caption .hero__media::before, .hero--index .hero__grid::before, .rail--ideas > li::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: min(56%, 300px); height: var(--hang); transform: translateX(-50%); pointer-events: none;
  background:
    linear-gradient(to top left, transparent calc(50% - 1px), var(--wire) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) left / 50% 100% no-repeat,
    linear-gradient(to top right, transparent calc(50% - 1px), var(--wire) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) right / 50% 100% no-repeat;
}
.hero--caption .hero__media::after, .hero--index .hero__grid::after, .rail--ideas > li::after {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + var(--hang) - 7px); z-index: 2; width: 10px; height: 15px; margin-left: -5px;
  border: 1px solid var(--brass-edge); border-radius: 3px 3px 6px 6px; background: var(--plate); pointer-events: none;
}
.hero__eyebrow, .crumbs--hero { font-family: var(--display); font-weight: 550; color: var(--ink); }
/* The mark on the eyebrow line is a brass pin, not a rule. */
.hero__eyebrow::before, .crumbs--hero::before { width: 10px; height: 10px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 1px var(--brass-edge); }
.hero__lead { max-width: 38ch; }
.hero__points li { padding: 9px 0; border: 0; font-weight: 600; }
.hero__points li:last-child { border-bottom: 0; }
.hero__points .icon { box-sizing: content-box; width: 16px; height: 16px; padding: 5px; border: 1px solid var(--brass-edge); border-radius: 50%; background: var(--plate); color: var(--firth); stroke-width: 2.4; }
@media (max-width: 899px) {
  /* Stacked: the framed photograph, then its label lapping the frame's lower edge, clear of the picture. */
  .hero--caption .hero__media { display: flex; flex-direction: column; align-items: flex-start; height: auto; max-height: none; aspect-ratio: auto; }
  .hero--caption .hero__media > .photo { position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; }
  .hero--caption .hero__cap { position: relative; inset: auto; z-index: 1; max-width: calc(100% - 24px); margin: -12px 0 0 -6px; }
}
/* The caption is a museum wall label fixed beside the frame's lower corner. */
.hero__cap {
  padding: 9px 14px; border: 1px solid var(--line); border-left: 4px solid var(--brass);
  border-radius: 3px; background: #fff; box-shadow: 0 10px 16px -10px rgb(22 39 30 / .55);
}
.hero__cap strong { font-family: var(--display); font-weight: 650; }
.hero__cap a { text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
@media (min-width: 900px) {
  .hero__title { font-size: clamp(38px, 3.6vw, 50px); line-height: 1.02; }
  .hero--caption { padding-bottom: clamp(44px, 4.6vw, 68px); }
  .hero--caption:has(+ #bathroom-ideas.ideas:not(.band-stone)) { padding-bottom: clamp(56px, 6vw, 88px); }
  .hero--caption .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 92px); }
  .hero--caption.hero--portrait .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .82fr); }
  .hero--caption .hero__media { min-width: 0; min-height: clamp(430px, 37vw, 520px); margin-bottom: 0; aspect-ratio: auto; max-height: none; }
  .hero--caption.hero--portrait .hero__media { min-height: clamp(500px, 45vw, 610px); }
  .hero--caption .hero__media > .photo { --m: 22px; }
  .hero--caption .hero__text { justify-content: center; padding-block: 0; }
  .hero__cap { left: -40px; right: auto; bottom: 40px; max-width: 290px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; }
}

/* ---------- Text heroes (About, hubs, gallery): the title is itself a framed panel on the green wall ---------- */
.hero--index.band-firth { padding-bottom: clamp(44px, 6vw, 84px); background: radial-gradient(120% 90% at 50% 0, #2a4838 0, var(--gwall) 58%, var(--firth) 100%); }
.hero--index::after { display: none; }
.hero--index .hero__grid {
  position: relative; padding: clamp(24px, 4.4vw, 56px) clamp(20px, 4.4vw, 56px); border: 3px solid var(--brass); border-color: #cfae52 #b08a2e #96772a #c0a044;
  border-radius: 4px; outline: 1px solid rgb(236 217 166 / .38); outline-offset: -11px; background: rgb(255 255 255 / .035);
  box-shadow: 0 0 0 1px var(--brass-edge), inset 0 0 0 1px rgb(119 96 31 / .7), var(--hung);
}
.hero--index .hero__title { font-size: clamp(26px, 7.6vw, 42px); }
.hero--index .hero__eyebrow, .hero--index .crumbs--hero [aria-current], .hero--index .hero__note { color: var(--on-dark); }
.hero--index .hero__eyebrow::before, .hero--index .crumbs--hero::before { background: var(--sand); box-shadow: none; }
.hero--index .hero__points li { border-top: 1px solid rgb(236 217 166 / .28); padding: 11px 0; }
.hero--index .hero__points li:first-child { border-top: 0; }
.hero--index .hero__points .icon { color: var(--firth); }
@media (min-width: 900px) {
  .hero--index .hero__title, .hero--index .hero__head .hero__title { font-size: clamp(44px, 4.6vw, 64px); line-height: 1; }
  .hero--index .hero__head .actions { padding-top: 30px; }
}

/* ---------- Walls of pictures: the home wall, and the photo rows on town and style pages ----------
   The row reaches both edges of the screen. The rail is its fixed top edge; frames and their wires slide under it. */
.rail--ideas, .ideas__grid .rail--ideas, .baband__grid .rail {
  margin-left: calc(-1 * var(--bleed)); margin-bottom: -20px; padding: calc(var(--rail-h) + var(--hang)) 0 50px var(--bleed); scroll-padding-left: var(--bleed);
  background: var(--rail) 0 0 / 100% 11px no-repeat;
}
.rail--ideas > li { position: relative; }

/* The home wall. The engine's photo row ("design.gallery": "row") is used so the section carries its Call now and
   quote buttons; here it is hung as the green gallery wall. #bathroom-ideas.ideas:not(.band-stone) = the home's row: it has no band class, the town
   pages' rows are band-stone and the style page's row has another id.
   Landscape photographs are cropped to the tiles. Portrait photographs (the spare hero slides, which the engine
   adds last) keep their shape as tall frames at the end of the wall. */
#bathroom-ideas.ideas:not(.band-stone) { --gap: 18px; padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); background: radial-gradient(110% 70% at 50% 0, #2a4838 0, var(--gwall) 60%, var(--firth) 100%); color: var(--on-dark); }
#bathroom-ideas.ideas:not(.band-stone) .h2 { font-size: clamp(34px, 5.2vw, 72px); line-height: .98; letter-spacing: -0.04em; font-weight: 700; color: #fff; }
#bathroom-ideas.ideas:not(.band-stone) .lead { max-width: 46ch; }
#bathroom-ideas.ideas:not(.band-stone) .btn--quote { border-color: rgb(236 217 166 / .75); color: #fff; }
#bathroom-ideas.ideas:not(.band-stone) .btn--quote:hover { border-color: #fff; background: #fff; color: var(--firth); }
#bathroom-ideas.ideas:not(.band-stone) .carousel__nav .round[data-prev] { border-color: rgb(236 217 166 / .75); color: #fff; }
#bathroom-ideas.ideas:not(.band-stone) .carousel__nav .round[data-prev]:hover:not(:disabled) { background: #fff; color: var(--firth); }
#bathroom-ideas.ideas:not(.band-stone) .carousel__nav .round:disabled, #bathroom-ideas.ideas:not(.band-stone) .carousel__nav .round[data-next]:disabled { border: 2px solid rgb(255 255 255 / .3); background: transparent; color: rgb(255 255 255 / .45); }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas { gap: var(--gap); align-items: stretch; }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li { width: min(84vw, 560px); }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li[style*="--ar:0."] { width: min(64vw, 300px); }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas figure { display: flex; flex-direction: column; height: 100%; }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas img { flex: none; height: auto; aspect-ratio: 4 / 3; }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li[style*="--ar:0."] img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas figcaption { flex: none; margin-block: auto; transform: translateY(calc(var(--m) / 2)); }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li[style*="--ar:0."] figcaption { margin-block: var(--m) 0; }
#bathroom-ideas.ideas:not(.band-stone) .rail--ideas figure:has(figcaption) { padding-bottom: calc(var(--m) * 1.5); }
@media (max-width: 899px) { #bathroom-ideas.ideas:not(.band-stone) .ideas__grid .lead { margin-bottom: 22px; } #bathroom-ideas.ideas:not(.band-stone) .ideas__grid .carousel__nav { justify-content: flex-end; margin-top: 4px; } }
@media (min-width: 700px) { #bathroom-ideas.ideas:not(.band-stone) { --gap: 22px; } #bathroom-ideas.ideas:not(.band-stone) .rail--ideas img { aspect-ratio: 3 / 2; } }
@media (min-width: 900px) {
  /* Heading left, sentence and buttons right, the wall across the page, the arrows under its right-hand end. */
  #bathroom-ideas.ideas:not(.band-stone) .ideas__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(40px, 6vw, 88px); align-items: end; }
  #bathroom-ideas.ideas:not(.band-stone) .ideas__copy { display: contents; }
  #bathroom-ideas.ideas:not(.band-stone) .ideas__copy > .h2 { grid-column: 1; grid-row: 1 / span 2; align-self: end; margin: 0; }
  #bathroom-ideas.ideas:not(.band-stone) .ideas__copy > .lead { grid-column: 2; grid-row: 1; margin: 0; }
  #bathroom-ideas.ideas:not(.band-stone) .ideas__copy > .actions { grid-column: 2; grid-row: 2; margin-top: 22px; }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas { grid-column: 1 / -1; grid-row: 3; margin-top: clamp(22px, 3vw, 40px); }
  #bathroom-ideas.ideas:not(.band-stone) .ideas__copy > .carousel__nav { grid-column: 1 / -1; grid-row: 4; justify-self: end; margin: 6px 0 0; padding: 0; }
  #bathroom-ideas.ideas:not(.band-stone) .carousel__nav .round { width: 56px; height: 56px; }
}
@media (min-width: 1000px) {
  /* Two rows. A large picture hangs from the rail on its own; small ones hang in pairs, the lower from the upper on two
     cords. The last landscape picture is made large if it would otherwise hang without a partner. */
  #bathroom-ideas.ideas:not(.band-stone) { --gap: 30px; --wall: clamp(500px, 44vw, 640px); --row: calc((var(--wall) - var(--gap)) / 2); }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, var(--row)); grid-auto-columns: max-content; gap: var(--gap) 26px; }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li { width: calc(var(--row) * 1.42); }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas figcaption { padding-inline: 18px; letter-spacing: -0.01em; }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:nth-child(5n + 3)::before, #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:nth-child(5n)::before {
    left: 0; width: 100%; height: var(--gap); transform: none;
    background: linear-gradient(var(--wire), var(--wire)) 24% 0 / 2px 100% no-repeat, linear-gradient(var(--wire), var(--wire)) 76% 0 / 2px 100% no-repeat;
  }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:nth-child(5n + 3)::after, #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:nth-child(5n)::after { display: none; }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:not(:is([style*="--ar:0."]:not(:has(~ li:not([style*="--ar:0."]))))):is(:nth-child(5n + 1), :is(:nth-child(5n + 2), :nth-child(5n + 4)):not([style*="--ar:0."]):not(:has(~ li:not([style*="--ar:0."])))) { grid-row: span 2; width: calc(var(--wall) * 1.26); }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:not(:is([style*="--ar:0."]:not(:has(~ li:not([style*="--ar:0."]))))):is(:nth-child(5n + 1), :is(:nth-child(5n + 2), :nth-child(5n + 4)):not([style*="--ar:0."]):not(:has(~ li:not([style*="--ar:0."])))) figure { --m: 22px; }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:not(:is([style*="--ar:0."]:not(:has(~ li:not([style*="--ar:0."]))))):is(:nth-child(5n + 1), :is(:nth-child(5n + 2), :nth-child(5n + 4)):not([style*="--ar:0."]):not(:has(~ li:not([style*="--ar:0."])))) figcaption { padding: 6px 24px; font-size: 18px; letter-spacing: 0; }
  /* Portraits closing the wall: full height, each on its own hook. */
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:is([style*="--ar:0."]:not(:has(~ li:not([style*="--ar:0."])))) { grid-row: span 2; width: calc(var(--wall) * .74); }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:is([style*="--ar:0."]:not(:has(~ li:not([style*="--ar:0."]))))::before {
    left: 50%; width: min(56%, 300px); height: var(--hang); transform: translateX(-50%);
    background:
      linear-gradient(to top left, transparent calc(50% - 1px), var(--wire) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) left / 50% 100% no-repeat,
      linear-gradient(to top right, transparent calc(50% - 1px), var(--wire) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) right / 50% 100% no-repeat;
  }
  #bathroom-ideas.ideas:not(.band-stone) .rail--ideas > li:is([style*="--ar:0."]:not(:has(~ li:not([style*="--ar:0."]))))::after { display: block; }
}

.rail--ideas { gap: 22px; }
.rail--ideas.rail--shapes img { height: calc(var(--rh) - 2 * var(--m)); }
.ideas .carousel__nav .round[data-next] { border: 1px solid var(--brass-edge); background: var(--plate); color: var(--firth); }
.ideas .carousel__nav .round[data-next]:disabled { border: 2px solid var(--line); background: transparent; color: var(--muted); }
@media (max-width: 899px) { .rail--shapes.rail--wide { --rh: min(56vw, 300px); } .rail--ideas.rail--shapes > li { width: min(calc(var(--rh) * var(--ar)), 78vw); } }
/* Town and style pages keep copy above the row under either "design.gallery" setting ("row" is set so the home wall
   has its buttons; the engine's own "row" layout, copy beside the row, is not used on this site). */
@media (min-width: 900px) {
  .ideas--row .ideas__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 44px); }
  .ideas--row .ideas__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; column-gap: clamp(40px, 6vw, 88px); align-items: end; }
  .ideas--row .ideas__copy > .h2 { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin: 0; }
  .ideas--row .ideas__copy > .lead { grid-column: 2; grid-row: 1; margin-top: 0; max-width: none; }
  .ideas--row .ideas__copy > .actions { grid-column: 2; grid-row: 2; margin-top: 22px; }
  .ideas--row .ideas__copy > .textlink { grid-column: 2; grid-row: 3; margin-top: 14px; }
  .ideas--row .ideas__copy > .carousel__nav { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; margin: 0; padding: 0; }
}
/* The style page's row and the section under it share one ground, so the row does not add its own foot of space. */
#gallery.ideas:not([class*="band-"]):has(+ .choices) { padding-bottom: 0; }
/* A long row (the style page) is kept low enough for three pictures to show at once. */
@media (min-width: 900px) { .rail--ideas.rail--shapes:has(> li:nth-child(5)) { --rh: clamp(250px, 22vw, 310px); } }
/* A town page has three photographs: from 900px they are one hang, the middle picture larger and higher. */
@media (min-width: 900px) {
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start;
    margin-right: calc(-1 * var(--bleed)); padding-right: var(--bleed); overflow: hidden;
  }
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) > li { --drop: clamp(34px, 4vw, 56px); width: auto; margin-right: 0; }
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) > li:nth-child(odd) { margin-top: var(--drop); }
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) > li:nth-child(odd)::before { height: calc(var(--hang) + var(--drop)); }
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) > li:nth-child(odd)::after { bottom: calc(100% + var(--hang) + var(--drop) - 7px); }
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) img { height: auto; aspect-ratio: 8 / 5; }
  .ideas .rail--ideas:has(> li:nth-child(3):last-child) > li:nth-child(2) figure { --m: 20px; }
  .ideas .ideas__grid:has(.rail--ideas > li:nth-child(3):last-child) .carousel__nav { display: none; }
}

/* ---------- The kinds of room: small framed portraits (home and the styles hub) ----------
   A card with a photograph is framed like every other picture. A card without one is a printed label with a
   brass roundel. On a phone a photographed card lies on its side, picture left and label right, so four of
   them do not fill four screens. */
.types__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.typecard:has(.iconcard) .typecard__link {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; align-items: start; height: 100%; padding: 20px 20px 22px;
  border: 1px solid var(--line); border-top: 4px solid var(--brass); border-radius: 3px; background: #fff; box-shadow: 0 14px 18px -16px rgb(22 39 30 / .5);
}
.typecard:has(.iconcard) figure { grid-row: 1 / span 2; display: grid; place-items: center; width: 54px; height: 54px; aspect-ratio: auto; overflow: visible; border: 1px solid var(--brass-edge); border-radius: 50%; background: var(--plate); }
.typecard .iconcard { aspect-ratio: auto; background: none; color: var(--firth); }
.typecard .iconcard .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.typecard:has(.iconcard) h3 { margin-top: 2px; font-size: 22px; }
.typecard:has(.iconcard) p { grid-column: 2; margin-top: 4px; font-size: 18px; line-height: 1.55; }
.typecard h3 .icon { color: var(--brass-d); stroke-width: 2; }
.typecard:has(.iconcard) a.typecard__link { position: relative; padding-right: 46px; }
.typecard:has(.iconcard) h3 .icon { position: absolute; top: 24px; right: 16px; margin: 0; }
@media (max-width: 479px) { .typecard:has(.iconcard) p { grid-column: 1 / -1; margin-top: 12px; } .typecard:has(.iconcard) h3 { align-self: center; } }
a.typecard__link:hover img { transform: none; }
@media (max-width: 699px) {
  .types__grid:not(:has(> li:only-child)) .typecard:has(img) .typecard__link { display: grid; grid-template-columns: minmax(104px, 32%) minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .types__grid:not(:has(> li:only-child)) .typecard:has(img) figure { --m: 7px; grid-row: 1 / span 2; }
  .types__grid:not(:has(> li:only-child)) .typecard:has(img) h3 { align-self: end; margin-top: 0; font-size: 19px; }
  .types__grid:not(:has(> li:only-child)) .typecard:has(img) h3 .icon { margin-left: 6px; }
  .types__grid:not(:has(> li:only-child)) .typecard:has(img) p { align-self: start; }
}
.typecard:has(.iconcard) a.typecard__link:hover { border-color: var(--brass); border-top-color: var(--brass); }
.typecard:has(img) h3 { margin-top: 20px; }
@media (min-width: 700px) { .types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) {
  /* Heading and onward link on one line, then the pictures in a single row beneath. */
  #bathroom-types > .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  #bathroom-types .intro { grid-column: 1; margin-bottom: 0; }
  #bathroom-types .textlink { grid-column: 2; grid-row: 1; margin: 0 0 6px; }
  #bathroom-types .types__grid { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(30px, 3.6vw, 48px); }
  #bathroom-types .types__grid:has(> li:nth-child(4n):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #bathroom-types .types__grid:has(> li:nth-child(4n):last-child) .typecard figure { --m: 12px; }
  #bathroom-types .types__grid:has(> li:nth-child(4n):last-child) .typecard h3 { font-size: 21px; }
}
/* A hub with one style: the picture and its label side by side, so the card is not adrift in an empty row. */
.typegroup .types__grid:has(> li:only-child) { grid-template-columns: minmax(0, 420px); }
@media (min-width: 900px) {
  .typegroup .types__grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
  .typegroup .types__grid:has(> li:only-child) .typecard__link { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-items: center; }
  .typegroup .types__grid:has(> li:only-child) .typecard figure { grid-row: 1 / span 2; }
  .typegroup .types__grid:has(> li:only-child) .typecard h3 { align-self: end; margin-top: 0; font-size: 30px; letter-spacing: -0.025em; }
  .typegroup .types__grid:has(> li:only-child) .typecard p { align-self: start; max-width: 28ch; margin-top: 8px; font-size: 18px; line-height: 1.6; }
}

/* ---------- Home: the process is a printed programme ---------- */
.section.process { padding-block: clamp(48px, 6.5vw, 96px) clamp(18px, 2.4vw, 28px); background: var(--gwall); }
.process > .container {
  position: relative; max-width: 980px; padding: clamp(30px, 5.4vw, 68px) clamp(20px, 5.4vw, 68px); border-radius: 4px; background: var(--mount);
  box-shadow: 0 0 0 1px var(--brass-edge), var(--hung);
}
.process > .container::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--brass); border-radius: 2px; pointer-events: none; }
.process .intro { max-width: none; margin-bottom: clamp(20px, 3vw, 36px); text-align: center; }
.process .intro .h2 { margin-inline: auto; max-width: 18ch; }
.process .intro::after { content: ""; display: block; width: 64px; height: 3px; margin: 20px auto 0; background: var(--brass); }
.steps { display: block; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 16px 0; border-top: 1px dashed #cfc9b4; }
.steps li::before { display: none; }
.steps li:last-child { padding-bottom: 16px; border-bottom: 1px dashed #cfc9b4; }
.steps__badge { grid-row: 1 / span 2; width: 44px; height: 44px; border: 1px solid var(--brass-edge); border-radius: 50%; background: var(--plate); color: var(--firth); }
.steps__badge .icon { display: none; }
.steps__badge b { position: static; width: auto; height: auto; border-radius: 0; background: none; color: var(--firth); font-size: 20px; font-weight: 700; }
.steps h3 { margin-top: 0; font-size: 21px; }
.steps p { grid-column: 2; margin-top: 2px; }
.process .actions { margin-top: clamp(26px, 3.4vw, 40px); }
@media (min-width: 800px) {
  /* One line each: number, the step, a dotted leader, what happens. */
  .steps li { grid-template-columns: 44px minmax(0, 5fr) minmax(0, 7fr); column-gap: 20px; align-items: center; padding: 15px 0; }
  .steps__badge { grid-row: auto; }
  .steps h3 { display: flex; align-items: baseline; gap: 14px; }
  .steps h3::after { content: ""; flex: 1 1 auto; min-width: 20px; border-bottom: 2px dotted var(--brass); transform: translateY(-5px); }
  .steps p { grid-column: 3; margin-top: 0; }
}

/* ---------- Finance strip: an admission ticket with perforated ends, under the programme ---------- */
.strip { padding: clamp(18px, 2.4vw, 28px) 0 clamp(48px, 6.5vw, 96px); background: var(--gwall); color: var(--firth); }
.strip__in {
  --perf: radial-gradient(circle 6px at 0 9px, #0000 5.4px, #000 6px) left top / 51% 18px repeat-y, radial-gradient(circle 6px at 100% 9px, #0000 5.4px, #000 6px) right top / 51% 18px repeat-y;
  max-width: 980px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0 clamp(22px, 3vw, 34px);
  background: var(--sand); font-family: var(--display); font-size: 20px; font-weight: 650; line-height: 1.32; letter-spacing: -0.012em;
  -webkit-mask: var(--perf); mask: var(--perf);
}
.strip__in .icon { box-sizing: content-box; width: 34px; height: 34px; margin: 0; padding: 16px 0 14px; stroke-width: 1.6; }
.strip__in p { display: flex; flex-direction: column; gap: 16px; padding: 16px 0 22px; border-top: 2px dashed rgb(22 39 30 / .55); }
.strip a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 20px; border-radius: 8px; background: var(--ink);
  font-size: 17px; font-weight: 650; letter-spacing: 0; text-align: center; white-space: normal; color: #fff; text-decoration: none;
}
.strip a:hover { background: var(--ink-hover); }
.strip :focus-visible { outline-color: var(--ink); }
@media (min-width: 800px) {
  .strip__in { flex-direction: row; align-items: stretch; font-size: clamp(20px, 1.9vw, 23px); }
  .strip__in .icon { align-self: center; width: 42px; height: 42px; padding: 28px clamp(22px, 2.6vw, 32px) 28px 4px; }
  .strip__in p { flex: 1 1 auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 20px 0 20px clamp(22px, 2.6vw, 32px); border-top: 0; border-left: 2px dashed rgb(22 39 30 / .55); }
  .strip a { flex: none; white-space: nowrap; }
}

/* ---------- Photograph beside copy ---------- */
.split { row-gap: 26px; }
@media (min-width: 900px) { .split__under { margin-top: 26px; } }

/* ---------- Icon points: green roundels ringed in brass ---------- */
.points--tile .points__icon, .band-stone .points--tile .points__icon, .band-mist .points--tile .points__icon, .feature--warm .points--tile .points__icon {
  width: 48px; height: 48px; margin: 3px; border-radius: 50%; background: var(--ink); color: var(--sand); box-shadow: 0 0 0 2px var(--mount), 0 0 0 3px var(--brass);
}
.points--check .points__icon { border: 1px solid var(--brass-edge); background: var(--plate); color: var(--firth); }
.points--check .icon { stroke-width: 2.6; }
.points--rule .points__icon { border-bottom: 2px solid var(--brass); color: var(--ink); }
.points--plain .points__icon, .points--tick .points__icon { color: var(--brass-d); }
.band-stone .points--plain .points__icon, .band-stone .points--tick .points__icon, .band-mist .points--plain .points__icon, .band-mist .points--tick .points__icon { color: var(--ink); }
.points--tick .icon { stroke-width: 2.6; }
.points--ring .points__icon { border: 2px solid var(--brass); color: var(--ink); }
.points strong { font-weight: 700; }
.offer__icon, .findus__icon, .popular__icon { border-radius: 50%; background: var(--ink); color: var(--sand); box-shadow: 0 0 0 2px var(--mount), 0 0 0 3px var(--brass); }
.popular__go { border-width: 2px; }
.popular__list:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.financebox { border: 2px dashed rgb(22 39 30 / .5); border-radius: 4px; background: var(--sand); color: var(--firth); font-weight: 600; }
.who .points, .feature--plain .points--ring { border-radius: 4px; }

/* ---------- Installation stages and the town "how we fit" row: programme numbering ---------- */
.timeline { padding: 6px clamp(16px, 3vw, 36px); border-radius: 4px; background: var(--mount); box-shadow: 0 0 0 1px var(--brass-edge), inset 0 0 0 5px var(--mount), inset 0 0 0 6px var(--brass), var(--hung); }
.timeline li { grid-template-columns: 46px minmax(0, 1fr); align-items: center; border-top: 1px dashed #cfc9b4; }
.timeline li:first-child { border-top: 0; }
.timeline li:last-child { border-bottom: 0; }
.timeline__num, .fitrow b { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--brass-edge); border-radius: 50%; background: var(--plate); color: var(--firth); font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.timeline h3 .icon { color: var(--brass-d); }
@media (min-width: 900px) { .timeline li { grid-template-columns: 46px minmax(0, 1fr); gap: 22px; } .timeline__num { font-size: 21px; } }
.fitrow b { width: 40px; height: 40px; font-size: 19px; }
.fitrow li { font-weight: 600; }
@media (min-width: 640px) { .fitrow li { align-items: center; } }
/* Beside a photograph the column holds three steps to a line, so four are set two by two; no step is left alone. */
@media (min-width: 900px) {
  .split .fitrow:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .split .fitrow:has(> li:nth-child(4):last-child) li { padding: 13px 0; border-top: 1px dashed rgb(22 39 30 / .28); }
  .split .fitrow:has(> li:nth-child(4):last-child) li:nth-child(n + 3) { border-bottom: 1px dashed rgb(22 39 30 / .28); }
}

/* ---------- Why us (green wall) ---------- */
.whyus.band-firth { background: var(--gwall); }
.trio li { border: 0; border-top: 3px solid var(--brass); border-radius: 0 0 4px 4px; background: rgb(255 255 255 / .05); }
.trio__icon { border: 1px solid var(--brass-edge); border-radius: 50%; background: var(--plate); color: var(--firth); }
.band-firth .whyus__more a { text-decoration-color: var(--sand); }

/* ---------- Style page: the choices are catalogue entries ----------
   These sections have no photographs yet. Until they do, they are printed cards, two to a row, so the page is
   not five full-width blocks of text. Once a section has its photograph it goes back to picture beside copy. */
.choices:not(:has(.split)) { display: grid; gap: 16px; width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; padding-block: clamp(36px, 5vw, 72px); }
.choices:not(:has(.split)) > .section { padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-top: 4px solid var(--brass); border-radius: 3px; background: #fff; box-shadow: 0 14px 18px -16px rgb(22 39 30 / .5); }
.choices:not(:has(.split)) > .section > .container { width: auto; }
.choices:not(:has(.split)) .h2 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.12; }
.choices:not(:has(.split)) .feature__plain { display: block; }
.choices:not(:has(.split)) .feature__plain .points { margin-top: 20px; }
.choices:not(:has(.split)) .feature__tail { margin-top: 22px; }
.feature__plain .points--tick { gap: 0; }
.feature__plain .points--tick li { padding: 11px 0; border-top: 1px dashed #cfc9b4; font-weight: 500; color: var(--ink); }
.feature__plain .points--tick li:last-child { border-bottom: 1px dashed #cfc9b4; }
@media (min-width: 900px) {
  .choices:not(:has(.split)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .choices:not(:has(.split)) > .section:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* The two buttons sit with the gallery above, in the header, and on the closing entry; not five times in one grid. */
  .choices:not(:has(.split)) > .section:not(:last-child) .feature__tail { display: none; }
  .choices:not(:has(.split)) > .section:last-child:nth-child(odd) .feature__plain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .choices:not(:has(.split)) > .section:last-child:nth-child(odd) .points { margin-top: 0; }
}

/* ---------- Small parts ---------- */
.chip { border-radius: 6px; }
.chip--link { border-width: 2px; border-radius: 8px; font-family: var(--display); font-weight: 650; }
.chip--link .icon { stroke-width: 2; }
.districts--compact .chip, .districts .chips--plain .chip { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; }
.districts .note .icon { color: var(--brass-d); }
.related__list a, .related__list span { border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 3px; }
.related__list a:hover { border-color: var(--brass); }
.related__list b { font-family: var(--display); font-weight: 650; letter-spacing: -0.015em; }
.related__list .icon:first-child, .directory__row h3 .icon, .coverage__group h3 .icon { color: var(--brass-d); }
.directory__row { border-top-style: dashed; }
.directory__foot, .prose__call { border-radius: 4px; }
.directory__foot { border: 2px dashed rgb(22 39 30 / .4); background: var(--sand); }
.notfound__links a { border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 3px; }
.notfound__links svg { color: var(--brass-d); }
.tbc { border-radius: 4px; }
.onward__col, .onward__more, .nearby { border-top: 2px solid var(--brass); }

/* ---------- FAQ: one printed sheet of questions ---------- */
.faq__list { padding: 4px clamp(18px, 2.6vw, 32px); border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 22px -20px rgb(22 39 30 / .5); border-top: 4px solid var(--brass); }
.faq details, .faq details:last-child { border: 0; border-top: 1px dashed #cfc9b4; }
.faq details:first-child { border-top: 0; }
.faq summary { gap: 16px; padding: 18px 0; }
.faq summary h3 { font-size: 20px; line-height: 1.25; }
.faq__mark { width: 40px; height: 40px; border: 1px solid var(--brass-edge); background: var(--plate); color: var(--firth); }
.faq__mark .icon { stroke-width: 2.2; }
.faq details[open] .faq__mark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Find us ---------- */
.findus__list { border-radius: 4px; box-shadow: 0 0 0 1px var(--brass-edge), inset 0 0 0 5px #fff, inset 0 0 0 6px var(--brass), 0 18px 22px -20px rgb(22 39 30 / .5); }
.findus__list > li { border-color: var(--line); }
.findus__list strong { font-family: var(--display); font-weight: 650; }
.findus__num { font-size: clamp(27px, 8.2vw, 54px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.areapanel__chips .chip { border-color: var(--line); }
@media (max-width: 419px) { .findus__list > li { grid-template-columns: minmax(0, 1fr); row-gap: 14px; } }
@media (min-width: 900px) {
  /* Areas on the left, the number on the right: one sheet, two halves. */
  .findus__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .findus__list > li:has(.areapanel) { grid-column: auto; border-bottom: 0; }
  .findus__list > li { padding: clamp(28px, 3vw, 44px); }
}

/* ---------- Enquiry: the framed photograph, a green plaque for the number, the form on a printed card ---------- */
.callcard { border-radius: 4px; background: var(--gwall); box-shadow: 0 0 0 1px var(--brass-edge), inset 0 0 0 2px var(--brass), inset 0 0 0 7px var(--gwall), inset 0 0 0 8px rgb(236 217 166 / .4), var(--hung); }
.callcard__num { font-weight: 700; letter-spacing: -0.035em; color: var(--sand); }
.callcard__points li { font-weight: 500; }
.enquiry__media .callcard { margin-top: -20px; }
.form { border-top: 4px solid var(--brass); border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 18px 22px -20px rgb(22 39 30 / .5); }
.form label { font-weight: 600; }
.form__status { border-radius: 6px; }
@media (min-width: 900px) {
  .enquiry__media .callcard { margin-top: -44px; }
  /* The closing photograph keeps its landscape shape (a square crop cut the fitter out of the picture). */
  .enquiry__grid--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .enquiry__grid--photo .enquiry__media .photo { flex: none; aspect-ratio: 5 / 4; }
}

/* ---------- About ---------- */
.aboutrow__grid { border-top: 1px dashed #cfc9b4; }
.aboutrow--open .lead { font-family: var(--display); font-weight: 550; letter-spacing: -0.02em; line-height: 1.34; }
.aboutrow .h2 { font-size: clamp(27px, 2.9vw, 40px); }
.people { gap: clamp(16px, 2.4vw, 28px); }
.people figcaption b, .people figcaption span, .people figcaption span:only-child { font-size: 16px; font-weight: 650; color: var(--firth); }
/* The second portrait hangs a little lower, as on a wall. */
@media (min-width: 560px) { .people > li:nth-child(even) { margin-top: clamp(24px, 3vw, 44px); } }
@media (min-width: 900px) { .aboutrow--people .aboutrow__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- Gallery page ---------- */
.ba__frame { aspect-ratio: 8 / 5; border-radius: var(--r); }
.ba__tag { top: 12px; padding: 4px 13px; border-radius: 3px; font-family: var(--display); font-weight: 650; }
.ba__tag--before { left: 12px; background: var(--firth); }
.ba__tag--after { right: 12px; border: 1px solid var(--brass-edge); background: var(--plate); color: var(--firth); }
.ba__knob { border: 1px solid var(--brass-edge); background: var(--plate); color: var(--firth); }
.gallerypairs__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin: 0; }
@media (min-width: 900px) {
  /* One large slider with two smaller ones hung beside it. */
  .gallerypairs__list { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 34px clamp(30px, 3.6vw, 52px); align-items: center; }
  .gallerypairs__list > li:first-child { grid-row: 1 / span 2; }
  .gallerypairs__list > li:first-child .ba__frame { aspect-ratio: 5 / 4; }
  .gallerypairs__list > li:first-child .ba { --m: 22px; }
}
/* More photographs: a salon hang on the green wall, frames of different shapes in columns. */
.gallerygrid { background: radial-gradient(110% 60% at 50% 0, #2a4838 0, var(--gwall) 60%, var(--firth) 100%); color: var(--on-dark); }
.gallerygrid .h2 { color: #fff; }
.gallerygrid__list { display: block; columns: 1; column-gap: 22px; }
.gallerygrid__list > li { break-inside: avoid; padding-bottom: 22px; }
.gallerygrid img, .gallerygrid .ph { aspect-ratio: 3 / 2; border-radius: var(--r); }
@media (min-width: 560px) {
  .gallerygrid__list { columns: 2; }
  .gallerygrid__list > li:nth-child(8n + 1) img, .gallerygrid__list > li:nth-child(8n + 6) img { aspect-ratio: 5 / 4; }
  .gallerygrid__list > li:nth-child(8n + 3) img, .gallerygrid__list > li:nth-child(8n + 5) img, .gallerygrid__list > li:nth-child(8n + 7) img { aspect-ratio: 1 / 1; }
}
@media (min-width: 1000px) { .gallerygrid__list { columns: 3; column-gap: 32px; } .gallerygrid__list > li { padding-bottom: 32px; } }

/* ---------- Footer: a brass plaque on the green wall, then the lists ---------- */
.site-footer { padding-top: clamp(40px, 5vw, 72px); background: var(--firth); }
.site-footer__top {
  padding: clamp(26px, 4vw, 48px) clamp(22px, 4vw, 52px); border: 1px solid var(--brass-edge); border-radius: 5px; color: var(--firth);
  background:
    radial-gradient(circle at 15px 15px, rgb(60 46 10 / .65) 0 3px, rgb(255 255 255 / .35) 3.4px 4.4px, transparent 5px),
    radial-gradient(circle at calc(100% - 15px) 15px, rgb(60 46 10 / .65) 0 3px, rgb(255 255 255 / .35) 3.4px 4.4px, transparent 5px),
    radial-gradient(circle at 15px calc(100% - 15px), rgb(60 46 10 / .65) 0 3px, rgb(255 255 255 / .35) 3.4px 4.4px, transparent 5px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), rgb(60 46 10 / .65) 0 3px, rgb(255 255 255 / .35) 3.4px 4.4px, transparent 5px),
    linear-gradient(165deg, #f1dea0 0%, #dbbf68 34%, #e8d28c 58%, #cfae54 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 0 0 1px rgb(255 255 255 / .25), 0 26px 30px -20px rgb(0 0 0 / .8);
}
.site-footer__top .logo--light .logo__text, .site-footer__brand p, .site-footer__top .site-footer__facts li, .site-footer__top .site-footer__facts .icon { color: var(--firth); }
.site-footer__top .logo--light .logo__mark { box-shadow: 0 0 0 2px var(--firth); }
.site-footer .logo__text b { font-size: 28px; }
.site-footer__brand p { font-weight: 500; }
.site-footer__brand .areapanel__line { margin-top: 0; font-weight: 650; }
.site-footer__top .site-footer__area .chip { border-color: rgb(22 39 30 / .55); color: var(--firth); font-weight: 500; }
.site-footer .tel { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--firth); text-shadow: 0 1px 0 rgb(255 255 255 / .45); }
.site-footer__top .btn--call { border-color: var(--firth); background: var(--firth); color: #fff; box-shadow: none; }
.site-footer__top .btn--call:hover { background: var(--ink); }
.site-footer__lists { border-top: 0; }
.site-footer__col h2 { font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -0.015em; color: var(--sand); }
.site-footer__legal { border-top: 1px dashed rgb(236 217 166 / .35); }
.site-footer__all .icon { stroke-width: 2; }

/* ---------- Mobile Call now bar ---------- */
.callbar { padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); border-top: 3px solid var(--brass); background: var(--firth); box-shadow: 0 -10px 24px rgb(22 39 30 / .28); }
.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 brass plate in the corner. */
@media (min-width: 800px) and (max-width: 1199px) {
  .callbar { display: block; left: auto; right: 24px; bottom: 20px; padding: 0; border: 0; background: none; box-shadow: none; }
  .callbar .btn { width: auto; padding-inline: 30px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 14px 26px rgb(22 39 30 / .4); }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Plain pages ---------- */
.prose h2 { font-weight: 650; }
.prose section + section { border-top-style: dashed; }
.prose li::marker { color: var(--brass-d); }

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