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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Seedhill Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "The swatch book": Paisley's pattern-design trade, set out as a designer's book of samples.
   - The paisley teardrop is drawn once (SVG data-URI, no image files) and printed in four colourways. It runs
     as a band along the foot of every hero, the top of the enquiry section and the top of the footer, and it
     is the cloth of the swatch that peeks out behind each photograph.
   - Photographs are samples laid on swatches: a pinked (zigzag-cut) piece of cloth sits behind each one, turned
     a few degrees. Style cards and Bathroom Ideas photographs step up and down, as samples do on a page.
   - A colour-chip strip (five swatches from the palette) opens every section heading, runs along the top of
     the header and marks each question in the FAQ.
   - Labels are fabric tags: one cut end, one punched hole. Captions, town links and card titles use them.
   - The steps are bobbins on one running thread. Finance is a woven ribbon with a stitched edge. Call now is
     the magenta button with a stitched line inside it.
   House rules kept: body 18px / 1.65 / #303030, small text 16px or more, photographs 16px corners (small
   inserts 10 to 12px), photograph first when stacked. Magenta (#c0407a) carries white text at 4.9:1 and is
   text only on white or paper, or at heading size; on tinted grounds the text magenta is --mag-d (7:1). */

:root {
  --display: "Bricolage Grotesque", "Trebuchet MS", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mag: var(--timber);
  --mag-d: var(--timber-d);
  --pink: var(--sand);
  --lilac: #b3a2d6;              /* a chip colour only, never text */
  --edge: max(var(--gut), calc((100% - var(--max)) / 2));
  --band-h: 42px;
  /* The teardrop, two to a tile (one upright, one turned half round), in four colourways and one tone-on-tone. */
  --pz-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 100'%3E%3Crect width='112' height='100' fill='%23211833'/%3E%3Cg transform='translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23c0407a'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%23f0c6da' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23f0c6da'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%23f0c6da'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%23f0c6da'/%3E%3C/g%3E%3Cg transform='rotate(180 56 50) translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23f0c6da'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%23c0407a' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23211833'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%23c0407a'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%23c0407a'/%3E%3C/g%3E%3C/svg%3E");
  --pz-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 100'%3E%3Crect width='112' height='100' fill='%23c0407a'/%3E%3Cg transform='translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%232c2140'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%23f0c6da' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23f0c6da'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%23f0c6da'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%23f0c6da'/%3E%3C/g%3E%3Cg transform='rotate(180 56 50) translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23f0c6da'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%232c2140' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23c0407a'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%232c2140'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%232c2140'/%3E%3C/g%3E%3C/svg%3E");
  --pz-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 100'%3E%3Crect width='112' height='100' fill='%23f0c6da'/%3E%3Cg transform='translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23c0407a'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%23fff' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23fff'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%23fff'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%23fff'/%3E%3C/g%3E%3Cg transform='rotate(180 56 50) translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23fff'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%23c0407a' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23f0c6da'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%23c0407a'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%23c0407a'/%3E%3C/g%3E%3C/svg%3E");
  --pz-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 100'%3E%3Crect width='112' height='100' fill='%23e6e4ee'/%3E%3Cg transform='translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%232c2140'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%23b3a2d6' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23b3a2d6'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%23b3a2d6'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%23b3a2d6'/%3E%3C/g%3E%3Cg transform='rotate(180 56 50) translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23b3a2d6'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%232c2140' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%23e6e4ee'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%232c2140'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%232c2140'/%3E%3C/g%3E%3C/svg%3E");
  --pz-ghost: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 100'%3E%3Cg transform='translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23281e3d'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%2333284a' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%2333284a'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%2333284a'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%2333284a'/%3E%3C/g%3E%3Cg transform='rotate(180 56 50) translate(-4 2)'%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' fill='%23281e3d'/%3E%3Cpath d='M56 10C48 0 22 6 12 36C4 62 16 90 34 90C50 90 60 76 58 60C56 46 42 42 40 30C39 20 46 12 56 10Z' transform='translate(16.6 32.5) scale(.5)' fill='none' stroke='%2333284a' stroke-width='5'/%3E%3Ccircle cx='33.5' cy='65' r='4' fill='%2333284a'/%3E%3Ccircle cx='26' cy='29' r='2.6' fill='%2333284a'/%3E%3Ccircle cx='35' cy='18' r='2.2' fill='%2333284a'/%3E%3C/g%3E%3C/svg%3E");
  --wave-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6c5-6.5 15-6.5 20 0s15 6.5 20 0' fill='none' stroke='%23c0407a' stroke-width='2.4'/%3E%3C/svg%3E");
  --wave-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 40'%3E%3Cpath d='M6 0c-6.5 5-6.5 15 0 20s6.5 15 0 20' fill='none' stroke='%23c0407a' stroke-width='2.4'/%3E%3C/svg%3E");
  --chips: linear-gradient(90deg, var(--firth) 0 20%, var(--mag-d) 0 40%, var(--mag) 0 60%, var(--pink) 0 80%, var(--lilac) 0);
  --chips-on-dark: linear-gradient(90deg, #fff 0 20%, var(--pink) 0 40%, var(--mag) 0 60%, var(--mag-d) 0 80%, var(--lilac) 0);
  /* Pinking shears: a zigzag along the top and foot of a swatch. */
  --pinked: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 51% repeat-x,
            conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 51% repeat-x;
  /* A fabric tag: the left end cut to a point, a hole punched in it. */
  --tag-cut: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  --tag-hole: radial-gradient(circle at 16px 50%, #0000 3.6px, #000 4.2px);
  /* What changes between light and aubergine grounds. Aubergine grounds reset these below. */
  --head: var(--ink);
  --initial: var(--mag);
  --accent: var(--mag-d);
  --strip: var(--chips);
  --q: var(--ink);
  --q-bg: #fff;
  --q-on: #fff;
  --focus: var(--ink);
  --tag-bg: var(--pink);
  --tag-ink: var(--ink);
  --off: var(--muted);
}

body { font-family: var(--sans); }
:focus-visible { outline-color: var(--focus); }

/* ---------- Aubergine grounds: tone-on-tone paisley ---------- */
.ideas, .band-firth, .site-footer, .callcard, .callbar {
  --head: #fff; --initial: var(--pink); --accent: var(--pink); --strip: var(--chips-on-dark); --q: #fff; --q-bg: transparent; --q-on: var(--firth);
  --focus: #fff; --tag-bg: #fff; --off: rgb(255 255 255 / .4); --line: rgb(255 255 255 / .2);
  color: var(--on-dark);
}
.ideas, .band-firth, .site-footer, .callcard { background: var(--pz-ghost) 50% 0 / 224px auto, var(--firth); }
/* Their top and foot are cut with pinking shears. */
.ideas, .whyus { position: relative; overflow: visible; overflow-x: clip; }
.ideas::before, .whyus::before, .ideas::after, .whyus::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 9px; pointer-events: none; }
.ideas::before, .whyus::before { bottom: calc(100% - .5px); background: conic-gradient(from 135deg at 50% 0, var(--firth) 90deg, #0000 0) 50% 0 / 18px 9px repeat-x; }
.ideas::after, .whyus::after { top: calc(100% - .5px); background: conic-gradient(from -45deg at 50% 100%, var(--firth) 90deg, #0000 0) 50% 0 / 18px 9px repeat-x; }
.hero + .ideas::before { display: none; }

/* ---------- Type ---------- */
.h2, .hero__title, h3, .h3, .logo__text b, .tel, .callcard__num, .findus__num, .timeline__num, .steps__badge b, .fitrow b,
.prose h2, .notfound__code, .strip__in p { font-family: var(--display); }
.h2, .band-firth .h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; color: var(--head); }
/* Every section heading opens on a strip of colour chips, and its first letter is set large and slanted. */
.h2 { position: relative; padding-top: 26px; }
.h2::after { content: ""; position: absolute; left: 0; top: 0; width: 110px; height: 10px; border-radius: 5px; background: var(--strip); }
.h2::first-letter { margin-right: .03em; font-size: 1.28em; font-style: italic; font-weight: 800; color: var(--initial); }
h3, .h3, .trio h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; color: var(--head); }
.lead { margin-top: 16px; }
.intro { max-width: 800px; }
.note { font-weight: 600; }
.textlink a { font-weight: 700; color: var(--head); text-decoration-color: var(--mag); 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-color: var(--mag); 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(--accent); }
.band-firth .lead a, .band-firth .whyus__more a { color: #fff; text-decoration-color: var(--pink); }

/* ---------- Buttons: sewn labels. Call now is magenta with a stitched line inside its edge ---------- */
.btn { min-height: 54px; padding: 8px 26px; border: 2px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 700; line-height: 1.15; }
.btn .icon { stroke-width: 2; }
@media (max-width: 360px) { .btn { padding-inline: 16px; } }
.btn--call, .band-firth .btn--call, .btn--on-dark { background: var(--mag); color: #fff; outline: 1.5px dashed rgb(255 255 255 / .85); outline-offset: -6px; }
.btn--call:hover, .band-firth .btn--call:hover, .btn--on-dark:hover { background: var(--mag-d); }
.btn--quote, .band-firth .btn--quote { border-color: var(--q); background: var(--q-bg); color: var(--q); }
.btn--quote:hover, .band-firth .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; }
.btn:focus-visible, .btn--call:focus-visible, .band-firth .btn--call:focus-visible, .btn--on-dark:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 999px; }
.round, .band-firth .round { border: 2px 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); }
.round:focus-visible { border-radius: 50%; }
.dots i { background: var(--off); }
.dots i.is-on { background: var(--mag); }

/* ---------- Fabric tags: town links and the areas directory ---------- */
.chip--link, .directory__row a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 4px 18px 4px 32px; border: 0; border-radius: 0 8px 8px 0;
  background: var(--tag-bg); font-weight: 700; color: var(--tag-ink); text-decoration: none;
  clip-path: var(--tag-cut); -webkit-mask: var(--tag-hole); mask: var(--tag-hole);
}
.chip--link:hover, .directory__row a:hover { background: var(--mag); color: #fff; }
.chip--link:focus-visible, .directory__row a:focus-visible { clip-path: none; -webkit-mask: none; mask: none; outline-offset: 2px; }
.chip--link .icon { stroke-width: 2; }
.chips { gap: 10px; }

/* ---------- Header: white, a strip of chips along its top edge ---------- */
.site-header { border-top: 7px solid; border-bottom: 0; border-image: var(--chips) 1; background: #fff; box-shadow: 0 1px 0 var(--line); }
.logo__mark { border-radius: 14px; }
.logo__text b { font-size: 26px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.logo .logo__text span { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--mag-d); }
.logo--light .logo__text span { color: var(--pink); }
.nav ul a { font-weight: 600; text-underline-offset: 8px; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration-color: var(--mag); text-decoration-thickness: 3px; }
.tel { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.menu-btn { border-width: 2px; border-radius: 999px; background: #fff; font-weight: 700; }
.menu-btn:focus-visible { border-radius: 999px; }
@media (max-width: 479px) { .logo__text b { font-size: 23px; } }
@media (max-width: 1199px) {
  .site-header .nav { z-index: 1; padding-bottom: 22px; border-bottom: 0; background: #fff; box-shadow: 0 24px 30px -20px rgb(33 24 51 / .5); }
  .nav ul a { font-size: 18px; border-bottom: 1px dashed var(--line-stone); }
  .site-header--quote .nav__call { padding-top: 12px; }
  .site-header--quote .nav__call .tel { flex: 1 1 100%; font-size: 28px; }
}
/* The full menu row (from 1200px) holds the 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; someone at a desk needs the
   number to dial, so it stays, and the quote button waits in the hero and the phone menu. From 1200 to 1279px
   the row is tighter still: the Home link steps aside there (the logo is the way home). */
@media (min-width: 1200px) {
  .site-header--quote .site-header__in { gap: 18px; }
  .site-header--quote.site-header--phone .nav { gap: 20px; }
  .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: 14px; }
  .site-header--quote.site-header--phone .nav__call .tel { display: inline; font-size: 21px; }
  .site-header--quote.site-header--phone .nav__call .btn--quote { display: none; }
  .site-header--quote.site-header--phone .nav__call .btn { min-height: 50px; padding-inline: 20px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .site-header--quote .site-header__in { gap: 14px; }
  .site-header--quote.site-header--phone .nav { gap: 14px; }
  .site-header--quote.site-header--phone .nav ul { gap: 13px; }
  .site-header--quote.site-header--phone .nav ul li:first-child { display: none; }
  .site-header--quote.site-header--phone .nav__call { gap: 10px; }
  .site-header--quote.site-header--phone .nav__call .tel { font-size: 19px; }
  .site-header--quote.site-header--phone .nav__call .btn { padding-inline: 16px; }
}

/* ---------- Heroes: the paisley band runs along the foot ---------- */
.hero { position: relative; }
.hero--photo, .hero--index { padding-bottom: calc(clamp(36px, 5vw, 64px) + var(--band-h)); }
.hero--photo::after, .hero--index::after {
  content: ""; position: absolute; left: 0; right: 0; top: auto; bottom: 0; width: auto; height: var(--band-h); opacity: 1; pointer-events: none;
  background: var(--pz-a) 50% 0 / auto 100% repeat-x;
}
.hero--index::after { background-image: var(--pz-b); }
.hero__title { font-size: clamp(29px, 8.6vw, 46px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; color: var(--head); }
/* Line one names the work, line two the place: the place is set slanted, in magenta. */
.hero__title span + span { font-style: italic; font-weight: 700; color: var(--mag-d); }
.hero--index .hero__title span + span { color: var(--pink); }
.hero__lead { max-width: 42ch; }
.hero__eyebrow, .crumbs--hero { font-weight: 600; color: var(--head); }
.hero__eyebrow::before, .crumbs--hero::before { width: 44px; height: 10px; border-radius: 5px; background: var(--strip); }
.hero--index .hero__eyebrow::before, .hero--index .crumbs--hero::before { background: var(--strip); }
.crumbs--hero [aria-current] { color: var(--text); }
.hero--index .crumbs--hero [aria-current] { color: var(--on-dark); }
/* The three benefits: each has its own chip. */
.hero__points li, .hero--index .hero__points li { gap: 14px; padding: 7px 0; border: 0; font-weight: 600; color: var(--head); }
.hero__points li:last-child { border: 0; }
.hero__points .icon, .hero--index .hero__points .icon { box-sizing: content-box; width: 20px; height: 20px; padding: 8px; border-radius: 10px; background: var(--mag); color: #fff; stroke-width: 2; }
.hero__points li:nth-child(2) .icon { background: var(--firth); }
.hero__points li:nth-child(3) .icon { background: var(--pink); color: var(--ink); }
.hero--index .hero__points li:nth-child(2) .icon { background: #fff; color: var(--ink); }
.hero__note { font-weight: 500; }
.hero--index .hero__lead { font-weight: 500; color: #fff; }

/* The photograph is a sample laid on two swatches; its caption is a tag tied to the corner. */
.hero--caption .hero__media { margin: 14px 10px 14px 8px; }
.hero--caption.hero--portrait .hero__media { aspect-ratio: 4 / 3; }
.hero--photo .hero__media > .photo { z-index: 1; }
.hero--photo .hero__media::before, .hero--photo .hero__media::after {
  content: ""; position: absolute; border-radius: 4px; -webkit-mask: var(--pinked); mask: var(--pinked);
}
.hero--photo .hero__media::before { inset: -12px 30% 34% -8px; background: var(--pz-b) 0 0 / 96px auto; transform: rotate(-4deg); }
.hero--photo .hero__media::after { inset: 30% -9px -13px 34%; background: var(--pz-c) 0 0 / 96px auto; transform: rotate(3deg); }
.hero__cap {
  left: -8px; right: auto; bottom: 16px; z-index: 2; display: block; max-width: min(88%, 340px); padding: 9px 16px 10px 32px; border-radius: 0 8px 8px 0;
  background: var(--firth); color: var(--on-dark); clip-path: var(--tag-cut); -webkit-mask: var(--tag-hole); mask: var(--tag-hole);
}
.hero__cap strong { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.25; color: #fff; }
.hero__cap span { display: none; }
.hero__cap a { color: var(--pink); font-weight: 700; }
@media (min-width: 900px) {
  :root { --band-h: 56px; }
  .hero--photo { padding-top: 40px; }
  /* The headline runs the full width above; the sentence, benefits and buttons sit beside the photograph. */
  .hero--caption .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto auto auto 1fr; column-gap: clamp(40px, 5vw, 76px); row-gap: 0; align-items: start;
  }
  .hero--caption .hero__text { display: contents; }
  .hero--caption .hero__eyebrow, .hero--caption .crumbs--hero { grid-column: 1 / -1; }
  .hero--caption .hero__title { grid-column: 1 / -1; margin-bottom: clamp(28px, 3vw, 44px); font-size: clamp(46px, 5.7vw, 78px); line-height: .98; }
  .hero--caption .hero__text .hero__lead { grid-column: 1; margin-top: 0; font-size: 20px; }
  .hero--caption .hero__points { grid-column: 1; }
  .hero--caption .hero__note { grid-column: 1; }
  .hero--caption .hero__grid .actions { grid-column: 1; align-self: end; margin-top: 26px; }
  .hero--caption .hero__media, .hero--caption.hero--portrait .hero__media { grid-column: 2; grid-row: 3 / 7; align-self: stretch; aspect-ratio: auto; max-height: none; min-height: clamp(380px, 33vw, 470px); margin: 0 14px 18px 0; }
  .hero--photo .hero__media::before { inset: -18px 34% 36% -20px; background-size: 132px auto; }
  .hero--photo .hero__media::after { inset: 34% -18px -20px 38%; background-size: 132px auto; }
  .hero__cap { left: -16px; right: auto; bottom: 26px; max-width: min(74%, 420px); padding: 12px 22px 13px 36px; }
  .hero__cap strong { font-size: 19px; }
  .hero__cap span { display: block; margin-top: 2px; }
  .hero__cap a { margin-block: -4px -8px; }
  .hero--index .hero__title, .hero--index .hero__head .hero__title { font-size: clamp(46px, 5vw, 70px); }
}

/* ---------- Finance: a woven ribbon, stitched along both edges ---------- */
.strip {
  position: relative; padding-block: 12px; color: #fff;
  background: repeating-linear-gradient(45deg, rgb(255 255 255 / .07) 0 2px, #0000 2px 6px), repeating-linear-gradient(-45deg, rgb(33 24 51 / .16) 0 2px, #0000 2px 6px), var(--mag-d);
}
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; border-top: 2px dashed rgb(255 255 255 / .6); pointer-events: none; }
.strip::before { top: 7px; }
.strip::after { bottom: 7px; }
.strip__in { flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-block: 22px; font-size: 18px; line-height: 1.4; }
.strip__in p { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; line-height: 1.32; letter-spacing: -0.01em; }
.strip__in .icon { display: none; }
.strip a { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-left: auto; padding: 6px 24px; font-family: var(--sans); font-size: 17px; letter-spacing: 0; border-radius: 999px; background: #fff; font-weight: 700; color: var(--ink); text-decoration: none; white-space: normal; }
.strip a:hover { background: var(--pink); }
.strip a:focus-visible { outline-color: #fff; border-radius: 999px; }
@media (max-width: 699px) { .strip a { flex: 1 1 100%; margin-left: 0; } }
@media (min-width: 700px) { .strip__in p { flex-wrap: nowrap; } }
.financebox { border-radius: 12px; background: var(--pink); font-weight: 600; color: var(--ink); }

/* ---------- Home: the style cards. Samples on a page, each on its own swatch, stepping up and down ---------- */
.types__grid { align-items: start; }
#bathroom-types .types__grid { gap: 30px 20px; padding-right: 6px; }
#bathroom-types .typecard:nth-child(even) { margin-top: 40px; }
.typecard__link { position: relative; }
.typecard__link::before {
  content: ""; position: absolute; left: 12px; right: -8px; top: 12px; aspect-ratio: 3 / 4; border-radius: 4px;
  background: var(--pz-b) 0 0 / 88px auto; transform: rotate(3deg); -webkit-mask: var(--pinked); mask: var(--pinked);
}
.typecard:nth-child(4n + 2) .typecard__link::before { background: var(--lilac); transform: rotate(-3deg); left: -6px; right: 10px; }
.typecard:nth-child(4n + 3) .typecard__link::before { background-image: var(--pz-c); }
.typecard:nth-child(4n + 4) .typecard__link::before { background-image: var(--pz-a); transform: rotate(-3deg); left: -6px; right: 10px; }
.typecard figure { position: relative; aspect-ratio: 3 / 4; }
.typecard h3 {
  position: relative; display: table; margin: -24px 0 0 -6px; padding: 9px 16px 9px 32px; border-radius: 0 8px 8px 0; background: #fff;
  font-size: 18px; line-height: 1.2; color: var(--ink); clip-path: var(--tag-cut); -webkit-mask: var(--tag-hole); mask: var(--tag-hole);
}
a.typecard__link h3 { background: var(--mag); color: #fff; }
a.typecard__link h3 .icon { margin-left: 4px; color: #fff; stroke-width: 2; }
@media (max-width: 899px) {
  .typecard h3 { padding: 8px 12px 8px 28px; font-size: 17px; }
  /* The arrow keeps its own place at the tag's end, so a two-line title never strands it on a third line. */
  a.typecard__link h3 { padding-right: 34px; }
  a.typecard__link h3 .icon { position: absolute; right: 10px; top: 50%; margin: -10px 0 0; }
}
a.typecard__link:hover h3 { background: var(--mag-d); }
.typecard p { margin-top: 10px; }
#bathroom-types .textlink { margin-top: 30px; }
@media (min-width: 700px) and (max-width: 899px) {
  #bathroom-types .types__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  #bathroom-types .typecard:nth-child(3) { margin-top: 16px; }
  #bathroom-types .typecard:nth-child(4) { margin-top: 56px; }
}
@media (min-width: 900px) {
  #bathroom-types .types__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; padding-right: 10px; }
  #bathroom-types .typecard:nth-child(2) { margin-top: 72px; }
  #bathroom-types .typecard:nth-child(3) { margin-top: 24px; }
  #bathroom-types .typecard:nth-child(4) { margin-top: 96px; }
  #bathroom-types .intro { margin-bottom: 36px; }
  .typecard h3 { margin: -28px 0 0 -10px; padding: 11px 20px 11px 34px; font-size: 21px; }
  .typecard p { margin-top: 12px; }
  .typecard__link::before { left: 16px; right: -12px; top: 16px; background-size: 112px auto; }
  .typecard:nth-child(4n + 2) .typecard__link::before, .typecard:nth-child(4n + 4) .typecard__link::before { left: -10px; right: 14px; }
}

/* ---------- Bathroom Ideas: copy above, then one row of samples in two sizes, each with its tag ---------- */
.ideas .lead { color: var(--on-dark); }
.ideas .lead a { color: #fff; text-decoration-color: var(--pink); }
.ideas__copy > .textlink a { color: #fff; }
.rail--ideas { gap: 14px; padding-bottom: 8px; }
.rail--shapes, .rail--shapes.rail--wide { --rh0: 62vw; --rh: var(--rh0); }
.rail--shapes:not(.rail--wide) { --rh0: min(84vw, 340px); }
.rail--ideas.rail--shapes > li:nth-child(even) { --rh: calc(var(--rh0) * .82); margin-top: calc(var(--rh0) * .1); }
/* A tall photograph is never narrower than its tag needs. */
.rail--ideas.rail--shapes > li { width: clamp(min(250px, 70vw), calc(var(--rh) * var(--ar)), 84vw); }
.rail--ideas.rail--shapes > li[style*="--ar:0."] { --rh: var(--rh0); margin-top: 0; }
.rail--ideas figcaption, .people figcaption {
  position: relative; display: table; max-width: calc(100% - 20px); margin: -20px 0 0 10px; padding: 8px 14px 8px 32px; border-radius: 0 8px 8px 0;
  background: var(--tag-bg); font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--tag-ink);
  clip-path: var(--tag-cut); -webkit-mask: var(--tag-hole); mask: var(--tag-hole); transform: rotate(-1.5deg);
}
.rail--ideas > li:nth-child(even) figcaption { transform: rotate(1.5deg); }
.people figcaption b, .people figcaption span, .people figcaption span:only-child { font-size: 16px; font-weight: 700; color: var(--tag-ink); }
@media (min-width: 700px) { .rail--shapes, .rail--shapes.rail--wide { --rh0: clamp(300px, 42vw, 380px); } }
@media (min-width: 900px) {
  .rail--ideas { gap: 22px; }
  .rail--shapes, .rail--shapes.rail--wide, .rail--shapes:not(.rail--wide) { --rh0: clamp(320px, 29vw, 400px); }
  .ideas--row .ideas__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 3.4vw, 46px); }
  .ideas--row .ideas__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto; column-gap: clamp(40px, 6vw, 88px); align-items: start; }
  .ideas--row .ideas__copy > .h2 { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .ideas--row .ideas__copy > .lead { grid-column: 2; grid-row: 1; margin-top: 26px; max-width: none; }
  .ideas--row .ideas__grid .actions { grid-column: 2; grid-row: 2; margin-top: 22px; }
  .ideas--row .ideas__copy > .textlink { grid-column: 2; grid-row: 3; margin: 14px 0 0; }
  .ideas--row .ideas__grid .carousel__nav { grid-column: 1; grid-row: 3; align-self: end; margin: 0; padding-top: 22px; }
  .rail--ideas figcaption { margin: -22px 0 0 14px; padding: 9px 18px 9px 34px; }
  .rail--ideas.rail--shapes > li { width: max(264px, calc(var(--rh) * var(--ar))); }
}

/* ---------- Photograph beside copy: each one laid on a swatch, a different cloth each section ---------- */
.split .photo { isolation: isolate; }
.split .photo::before {
  content: ""; position: absolute; z-index: -1; inset: 16px -9px -11px 28%; border-radius: 4px;
  background: var(--pz-b) 0 0 / 96px auto; transform: rotate(2.4deg); -webkit-mask: var(--pinked); mask: var(--pinked);
}
.split--flip .photo::before { inset: 16px 28% -11px -9px; transform: rotate(-2.4deg); }
section:nth-of-type(4n + 2) .split .photo::before { background-image: var(--pz-c); }
section:nth-of-type(4n + 3) .split .photo::before { background-image: var(--pz-a); }
section:nth-of-type(4n) .split .photo::before { background-image: var(--pz-d); }
.split { row-gap: 26px; }
.split__under .actions { margin-top: 0; }
@media (min-width: 900px) {
  .split .photo::before { inset: 26px -18px -20px 30%; background-size: 124px auto; }
  .split--flip .photo::before { inset: 26px 30% -20px -18px; }
  .split__under { margin-top: 38px; }
}
/* Benefit lists: the icon sits on a chip, a different colour each line. */
.points--tile .points__icon, .band-stone .points--tile .points__icon, .band-mist .points--tile .points__icon, .feature--warm .points--tile .points__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--pink); color: var(--ink);
}
.points--tile li:nth-child(3n + 2) .points__icon { background: var(--firth); color: #fff; }
.points--tile li:nth-child(3n) .points__icon { background: var(--mag); color: #fff; }
.points--ring .points__icon { width: 48px; height: 48px; border: 2px solid var(--mag); background: #fff; color: var(--mag-d); }
.points--ring p { font-weight: 600; }
.points--rule .points__icon { border-bottom: 2px dashed var(--mag); color: var(--mag-d); }
.points--plain li, .points--check li, .split .points--tick li { border-top: 1px dashed var(--line-stone); }
.points--check li:last-child, .split .points--tick li:last-child { border-bottom: 1px dashed var(--line-stone); }
.points--plain .points__icon, .points--tick .points__icon { color: var(--mag-d); }
.points--tick .icon { stroke-width: 2.6; }
.points--check .points__icon { background: var(--mag); color: #fff; }
.pull { border-left: 4px solid var(--mag); }

/* ---------- The steps: bobbins on one running thread, each wound with a different colour ---------- */
.steps li { --spool: var(--mag); grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding-bottom: 28px; }
.steps li:nth-child(5n + 2) { --spool: var(--lilac); }
.steps li:nth-child(5n + 3) { --spool: var(--mag-d); }
.steps li:nth-child(5n + 4) { --spool: var(--pink); }
.steps li:nth-child(5n) { --spool: var(--firth-2); }
.steps li::before { left: 22px; top: 58px; bottom: 2px; width: 12px; height: auto; background: var(--wave-y) 50% 0 / 12px 40px repeat-y; }
.steps__badge, .timeline__num {
  display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 15.5px, var(--spool) 16px 23px, var(--ink) 23.5px);
}
.steps__badge .icon { display: none; }
.steps__badge b { position: static; width: auto; height: auto; background: none; font-size: 18px; font-weight: 800; color: var(--ink); }
.steps h3 { margin-top: 4px; font-size: 21px; }
.process .actions--center { justify-content: flex-start; }
@media (min-width: 1000px) {
  .steps { position: relative; gap: 26px; }
  .steps::before { content: ""; position: absolute; left: 30px; right: 0; top: 22px; height: 12px; background: var(--wave-x) 0 50% / 40px 12px repeat-x; }
  .steps li { position: relative; }
  .steps li::before { display: none; }
  /* The bobbins step down and up along the thread's length. */
  .steps li:nth-child(even) { margin-top: 0; }
  .steps h3 { margin-top: 20px; font-size: 22px; }
  .process .actions { margin-top: 40px; }
}

/* ---------- Installation stages: the same thread, read down the page ---------- */
.timeline li, .timeline li:last-child { --spool: var(--mag); position: relative; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 0 0 28px; border: 0; }
.timeline li:nth-child(5n + 2) { --spool: var(--lilac); }
.timeline li:nth-child(5n + 3) { --spool: var(--mag-d); }
.timeline li:nth-child(5n + 4) { --spool: var(--pink); }
.timeline li:nth-child(5n) { --spool: var(--firth-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 58px; bottom: 2px; width: 12px; background: var(--wave-y) 50% 0 / 12px 40px repeat-y; }
.timeline__num { font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: 0; color: var(--ink); }
.timeline li > div { padding-top: 12px; }
.timeline h3 { font-size: 22px; }
.timeline h3 .icon { color: var(--mag-d); }
.fitrow b { width: 36px; height: 36px; background: var(--mag); 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; } }

/* ---------- Why us: three cards on aubergine, a chip along the top of each ---------- */
.trio li { padding-top: 24px; border: 0; border-top: 10px solid var(--mag); border-radius: 12px; background: rgb(255 255 255 / .07); }
.trio li:nth-child(3n + 2) { border-top-color: var(--pink); }
.trio li:nth-child(3n) { border-top-color: var(--lilac); }
.trio__icon { border-radius: 50%; background: #fff; color: var(--ink); }
.trio h3 { font-size: 24px; }

/* ---------- FAQ: a shade card. Each question has its own chip ---------- */
.faq__list { display: grid; gap: 10px; }
.faq details, .faq details:last-child { --chip: var(--mag); overflow: hidden; border: 0; border-left: 14px solid var(--chip); border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.faq details:nth-child(5n + 2) { --chip: var(--firth); }
.faq details:nth-child(5n + 3) { --chip: var(--lilac); }
.faq details:nth-child(5n + 4) { --chip: var(--mag-d); }
.faq details:nth-child(5n) { --chip: var(--pink); }
.faq summary { gap: 16px; padding: 16px 16px 16px 18px; }
.faq summary:focus-visible { outline-offset: -4px; border-radius: 8px; }
.faq summary h3 { font-size: 20px; line-height: 1.22; }
.faq__mark { width: 36px; height: 36px; border-width: 2px; }
.faq details[open] .faq__mark { border-color: var(--mag); background: var(--mag); color: #fff; }
.faq__mark .icon { stroke-width: 2; }
.faq details > p { padding: 0 18px 20px; }
@media (min-width: 900px) {
  .faq summary { padding: 18px 20px 18px 24px; }
  .faq details > p { padding: 0 76px 22px 24px; }
}

/* ---------- Find us: the number, large ---------- */
.findus__list { overflow: hidden; border-left: 14px solid; border-image: linear-gradient(var(--mag) 0 25%, var(--firth) 0 50%, var(--lilac) 0 75%, var(--mag-d) 0) 1; border-radius: 0; }
.findus__list > li:only-child { grid-column: 1 / -1; }
.findus__icon, .popular__icon, .offer__icon { border-radius: 12px; background: var(--pink); color: var(--ink); }
.findus__list strong { font-weight: 700; }
.findus__num { margin-top: 4px; font-size: clamp(33px, 10.4vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--mag-d); }
.findus__num:hover { color: var(--ink); text-decoration: none; }
@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: 8px; }
  .findus__list > li:only-child .findus__actions .btn { min-height: 62px; padding-inline: 34px; font-size: 20px; }
}

/* ---------- Enquiry: the pink colourway of the band opens it; the phone on aubergine, the form on white ---------- */
.enquiry { position: relative; padding-top: calc(clamp(48px, 6vw, 88px) + var(--band-h)); }
.enquiry::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--band-h); background: var(--pz-c) 50% 0 / auto 100% repeat-x; pointer-events: none; }
.callcard { border-radius: var(--r); }
.callcard__num { font-size: clamp(34px, 10vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.callcard__points { border-top: 2px dashed rgb(255 255 255 / .35); }
.callcard__points li { font-weight: 500; }
.callcard__points svg { color: var(--pink); }
.form { box-shadow: 0 0 0 1px var(--line-mist); }
.form label { font-weight: 600; }
.form input, .form textarea { border-color: #8d8499; }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--ink); border-color: var(--ink); }
@media (min-width: 900px) { .enquiry__panel .callcard__num { font-size: clamp(40px, 4.3vw, 58px); } }

/* ---------- Before and after ---------- */
.ba__tag { top: 12px; padding: 4px 12px; border-radius: 8px; font-weight: 700; }
.ba__tag--before { left: 12px; background: var(--firth); color: #fff; }
.ba__tag--after { right: 12px; background: var(--mag); color: #fff; }
.ba figcaption { font-weight: 600; }
.gallerypairs__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin: 0; }
.ba__frame { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .gallerypairs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .gallerypairs__list > li:nth-child(2) { margin-top: 44px; }
}

/* ---------- Gallery page: samples in three sizes, stepping down the page ---------- */
.gallerygrid__list { gap: 14px; }
.gallerygrid img, .gallerygrid .ph { aspect-ratio: 3 / 2; border-radius: var(--r); }
@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__list > li:nth-child(3n) { margin-top: 22px; }
  .gallerygrid__list > li:nth-child(3n + 2):last-child { grid-column: 1 / -1; }
  .gallerygrid__list > li:nth-child(3n + 2):last-child img { aspect-ratio: 3 / 2; }
  .gallerygrid img { border-radius: var(--r); }
}
@media (min-width: 700px) {
  .gallerygrid__list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; align-items: start; }
  .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; margin-top: 56px; }
  .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 + 4) { margin-top: 40px; }
  .gallerygrid__list > li:nth-child(8n + 6) { grid-column: span 5; margin-top: 48px; }
  .gallerygrid__list > li:nth-child(8n + 7) { grid-column: span 7; }
  .gallerygrid__list > li:nth-child(8n + 6) img { aspect-ratio: 5 / 4; }
  .gallerygrid__list > li:nth-child(8n + 7) img { aspect-ratio: 7 / 4; }
  .gallerygrid__list > li:nth-child(8n + 8) { grid-column: 3 / span 8; }
  .gallerygrid__list > li:nth-child(8n + 8) img { aspect-ratio: 2 / 1; }
}

/* ---------- Tags, rows and panels on town, style and hub pages ---------- */
.districts--compact .chip, .districts .chips--plain .chip { background: var(--mist); color: var(--ink); font-weight: 500; }
.districts .note .icon { color: var(--mag-d); }
.related__list a, .related__list span { --chip: var(--mag); border: 0; border-left: 14px solid var(--chip); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.related__list li:nth-child(3n + 2) :is(a, span) { --chip: var(--firth); }
.related__list li:nth-child(3n) :is(a, span) { --chip: var(--lilac); }
.related__list a:hover { background: var(--accent-hover); }
.related__list b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.related__list .icon:first-child { color: var(--mag-d); }
.onward__col, .onward__more, .nearby { border-top: 2px dashed var(--line-stone); }
.directory__row { border-top: 2px dashed var(--line-stone); }
.directory__rows { border-bottom: 2px dashed var(--line-stone); }
.directory__row h3 { font-size: 26px; }
.directory__row h3 .icon { color: var(--mag-d); }
.directory__row ul { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.directory__foot { background: var(--stone); }
.popular__list li, .popular__list li:last-child { border: 0; }
.popular__list a, .popular--photo .popular__list a { padding: 18px; border-left: 14px solid var(--mag); border-radius: 12px; background: #fff; }
.popular__list li + li { margin-top: 12px; }
.popular__go { border-width: 2px; }
.popular__list a:hover .popular__go { border-color: var(--mag); background: var(--mag); color: #fff; }
@media (max-width: 519px) {
  .popular__list .popular__go { width: 22px; border: 0; background: none; color: var(--mag-d); }
  .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) {
  .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-radius: 12px; }
.notfound__code { color: var(--mag-d); }
.notfound__links svg { color: var(--mag-d); }

/* ---------- Bathroom types hub: one style, one large sample beside its copy ---------- */
.typegroup .types__grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); padding-right: 10px; }
.typegroup .typecard p { font-size: 18px; line-height: 1.6; }
@media (min-width: 640px) {
  .typegroup .types__grid > li:only-child .typecard__link { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(30px, 4vw, 52px); }
  .typegroup .types__grid > li:only-child .typecard__link::before { right: auto; width: min(360px, 52%); }
  .typegroup .types__grid > li:only-child figure { grid-area: 1 / 1 / -1 / 2; }
  .typegroup .types__grid > li:only-child h3 { grid-area: 2 / 2; margin: 0; font-size: clamp(24px, 2.6vw, 32px); }
  .typegroup .types__grid > li:only-child p { grid-area: 3 / 2; margin: 14px 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, .aboutrow:first-child .aboutrow__grid { border-top: 0; }
.people { gap: 18px; }
.people li:nth-child(even) { margin-top: 36px; }
.people li:nth-child(even) figcaption { transform: rotate(1.5deg); }
@media (min-width: 900px) { .aboutrow--people .aboutrow__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

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

/* ---------- Footer: the magenta colourway of the band along its top ---------- */
.site-footer { position: relative; padding-block: calc(clamp(40px, 5vw, 60px) + var(--band-h)) 28px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--band-h); background: var(--pz-b) 50% 0 / auto 100% repeat-x; pointer-events: none; }
@media (max-width: 799px) { .site-footer { padding-bottom: 104px; } }
.site-footer .logo__text b { font-size: 30px; }
.site-footer .tel { font-size: clamp(34px, 9.6vw, 50px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.site-footer__lists { border-top: 2px dashed rgb(255 255 255 / .3); }
.site-footer__col h2 { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--pink); }
.site-footer__all .icon, .site-footer__facts .icon { color: var(--pink); }
.site-footer__legal { position: relative; border-top: 0; padding-top: 30px; }
.site-footer__legal::before { content: ""; position: absolute; left: 0; top: 0; width: 110px; height: 10px; border-radius: 5px; background: var(--strip); }

/* ---------- 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(33 24 51 / .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: 999px; background: none; box-shadow: 0 10px 26px rgb(33 24 51 / .4); }
  .callbar .btn { width: auto; padding-inline: 30px; }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Plain pages ---------- */
.prose h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.02em; }
.prose section + section { border-top: 2px dashed var(--line-stone); }
.prose li::marker { color: var(--mag-d); }
.prose-page__head .hero__title { font-size: clamp(34px, 4.6vw, 56px); }
.prose__call { border-radius: var(--r); }

@media (prefers-reduced-motion: reduce) { .typecard img { transition: none; } }

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