/* National bathroom engine (from Arran Fitted Bathrooms). Hand-built; adapted from the Intrio look (Google Sans, warm white,
   brown ink, timber accent) with a deep firth green and a pale mist for the bathroom brand. */

:root {
  --paper: #f4f7f9;
  --stone: #e4ebf0;
  --mist: #d9e8ee;
  --ink: #12263a;
  --text: #303030;
  --timber: #1f5d8c;
  --timber-d: #174a70;
  --firth: #11263b;
  --sand: #d6e4ec;
  --linen: #e9f0f5;
  --line: #d2dde5;
  --on-dark: #d9e7f0;
  --ink-hover: #0a1827;
  --accent-hover: #e6f0f6;
  --line-stone: #c9d4dc;
  --line-mist: #bccfd8;
  --muted: #9aa6af;
  --dots: #c3ccd3;
  --border-input: #a9b5bf;
  --firth-2: #1d3b57;
  --firth-3: #0a1a2a;
  --text-muted: #62707c;
  --text-muted-2: #4e5c68;
  --text-muted-3: #58666f;
  --ph-bg-0: #e5eaee;
  --ph-ink-0: #b3bcc4;
  --ph-bg-stone: #f0f4f7;
  --ph-ink-stone: #b7c2cb;
  --ph-bg-mist: #ecf4f7;
  --ph-ink-mist: #a8bdc7;
  --max: 1240px;
  --gut: 40px;
  --r: 16px;
  --r-s: 12px;
  --bleed: max(var(--gut), calc((100vw - var(--max)) / 2));
}
@media (max-width: 700px) { :root { --gut: 20px; } }
@media (max-width: 360px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--timber); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }

.icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 400; color: var(--ink); text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); }
.lead { margin-top: 18px; max-width: 58ch; }
.intro { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.note { margin-top: 22px; font-weight: 500; color: var(--ink); }
.textlink { margin-top: 22px; }
/* Inline, so the arrow stays with the last word when the label wraps on a phone. */
.textlink a { padding: 10px 28px 10px 0; font-weight: 600; color: var(--ink); text-underline-offset: 5px; }
.textlink .icon { display: inline-block; width: 20px; height: 20px; margin: 0 -28px 0 8px; vertical-align: -4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 8px 24px; border: 1.5px solid transparent; border-radius: 10px;
  font: inherit; font-size: 17px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 19px; height: 19px; }
.btn--call { background: var(--timber); color: #fff; }
.btn--call:hover { background: var(--timber-d); }
.btn--quote { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--quote:hover { background: var(--ink); color: #fff; }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--ink-hover); }
.btn--wide { width: 100%; }
.btn--on-dark, .band-firth .btn--call { background: var(--sand); color: var(--ink); }
.btn--on-dark:hover, .band-firth .btn--call:hover { background: var(--accent-hover); }
.band-firth .btn--quote { border-color: rgb(255 255 255 / .6); color: #fff; }
.band-firth .btn--quote:hover, .band-firth .btn--solid { background: #fff; border-color: #fff; color: var(--firth); }
.band-firth .btn--solid:hover { background: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; }
@media (max-width: 520px) { .actions .btn { flex: 1 1 auto; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__mark { flex: none; width: 52px; height: 52px; border-radius: 14px; }
.logo__text { display: grid; line-height: 1.08; color: var(--ink); white-space: nowrap; }
.logo__text b { font-size: 23px; font-weight: 600; letter-spacing: -0.03em; }
.logo__text span { font-size: 16px; letter-spacing: -0.01em; }
.logo--light .logo__mark { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.logo--light .logo__text { color: #fff; }
.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav ul { display: flex; gap: 30px; }
.nav ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--ink); text-decoration: none; text-underline-offset: 7px; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration: underline; text-decoration-thickness: 1.5px; }
.nav__call { display: flex; align-items: center; gap: 18px; }
.tel { font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; text-decoration: none; }
.tel:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav__call .btn { white-space: nowrap; }
@media (min-width: 1300px) and (max-width: 1399px) { .nav { gap: 28px; } .nav ul { gap: 24px; } }
.menu-btn { display: none; }
/* Six menu items, the number and the button need about 1,180px of row; below that it is the menu button. */
@media (max-width: 1299px) {
  .site-header__in { min-height: 72px; gap: 12px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 48px; padding: 0 14px;
    border: 1.5px solid var(--ink); border-radius: 10px; background: transparent; color: var(--ink);
    font-size: 16px; font-weight: 500; cursor: pointer;
  }
  .menu-btn span { display: inline-flex; }
  .menu-btn .menu-btn__close, .menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
  .menu-btn[aria-expanded="true"] .menu-btn__close { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 4px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 30px -22px rgb(46 28 20 / .45); max-height: calc(100vh - 72px); overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: flex; min-height: 54px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__call { justify-content: space-between; }
}

/* ---------- Bands ---------- */
.section { padding-block: clamp(56px, 7.5vw, 108px); }
.band-stone { background: var(--stone); --line: var(--line-stone); }
.band-mist { background: var(--mist); --line: var(--line-mist); }
.band-firth { background: var(--firth); color: var(--on-dark); --line: rgb(255 255 255 / .2); }
.band-firth .h2 { color: #fff; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 3.6vw, 52px) clamp(44px, 6vw, 84px); overflow: hidden; }
.hero__grid { display: flex; flex-direction: column; gap: 22px; }
.hero__media { order: -1; min-width: 0; }
.hero__title { font-size: clamp(34px, 9.6vw, 46px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 400; color: var(--ink); }
.hero__title span { display: block; text-wrap: balance; }
.hero__lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 36ch; }
.hero__text .hero__lead { margin-top: 18px; }
/* The three benefits are ruled rows: readable at 320px, and a firm edge for the note and buttons below. */
.hero__points { margin-top: 22px; }
.hero__points li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); line-height: 1.35; }
.hero__points li:last-child { border-bottom: 1px solid var(--line); }
.hero__points .icon { color: var(--timber); }
.hero__note { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.hero__grid .actions { margin-top: 24px; }
.hero--rail .hero__media { margin-right: calc(-1 * var(--gut)); }
.hero--rail .hero__grid > .carousel__nav { order: -1; margin-top: -8px; }
.rail--hero > li { position: relative; flex: 0 0 min(58vw, 300px); aspect-ratio: 4 / 5; }
.rail--hero > li > img, .rail--hero > li > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.rail--hero > li:last-child, .rail--ideas > li:last-child, .rail--ba > li:last-child { margin-right: var(--gut); }
.hero--split .hero__media { display: flex; }
.hero--split .hero__media > .photo { position: relative; flex: 1 1 0; min-width: 0; }
.hero--split .hero__media > .photo > img, .hero--split .hero__media > .photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero--split .photo--portrait { aspect-ratio: 5 / 4; }
.hero--split .photo--landscape { aspect-ratio: 3 / 2; }
.hero--split .photo--portrait img { object-position: 50% 46%; }
.hero__media.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.duo figure { position: relative; min-height: clamp(240px, 62vw, 420px); }
.duo img, .duo .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.duo__a img { object-position: 22% 50%; }

/* From 900px the photograph and its copy share one row: both start level and both end level.
   The copy sets the height, the photograph stretches to it, and the buttons close the column. */
@media (min-width: 900px) {
  .hero__media { order: 0; }
  .hero__title { font-size: clamp(52px, 5.7vw, 82px); line-height: .99; }
  .hero__grid .actions { margin-top: auto; padding-top: 30px; }

  .hero--rail .hero__grid {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas: "title title" "copy media";
    column-gap: clamp(32px, 4vw, 64px); row-gap: clamp(28px, 3.2vw, 46px); align-items: stretch;
  }
  .hero--rail .hero__title { grid-area: title; }
  .hero--rail .hero__grid > .carousel__nav { grid-area: title; justify-self: end; align-self: end; order: 0; margin: 0 0 8px; }
  .hero--rail .hero__copy { grid-area: copy; display: flex; flex-direction: column; }
  .hero--rail .hero__media { grid-area: media; display: flex; margin-right: calc(-1 * var(--bleed)); }
  .rail--hero { flex: 1 1 auto; min-width: 0; }
  .rail--hero > li { flex-basis: clamp(250px, 26vw, 340px); aspect-ratio: 3 / 4; }
  .rail--hero > li:last-child, .rail--ideas > li:last-child { margin-right: var(--bleed); }

  .hero--split .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
  .hero--split .hero__title { font-size: clamp(40px, 4.2vw, 58px); line-height: 1.02; }
  .hero--split .hero__text { display: flex; flex-direction: column; }
  .hero--tall .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero--wide .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  /* A portrait photograph in a town hero takes the narrower column, so less of it is cropped away. */
  .hero--wide .hero__grid:has(.photo--portrait) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero--split .photo--portrait { aspect-ratio: 1 / 1; }
  .hero--split .photo--landscape { aspect-ratio: 3 / 2; }
  .duo { gap: 16px; }
  .duo figure { min-height: 400px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hero--rail .dots { display: none; }
}

/* ---------- Finance strip ---------- */
.strip { background: var(--mist); color: var(--firth); }
.strip__in { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 14px; font-size: 17px; line-height: 1.45; }
.strip a { font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- Carousels: scroll-snap rail, arrows, swipe ---------- */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
:where(.rail) > li { flex: 0 0 auto; min-width: 0; scroll-snap-align: start; }
.rail--hero img, .rail--ideas img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.carousel__nav { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.round {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.round:hover:not(:disabled) { background: var(--ink); color: #fff; }
.round:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.band-firth .round { border-color: #fff; color: #fff; }
.band-firth .round:hover:not(:disabled) { background: #fff; color: var(--firth); }
.band-firth .round:disabled { border-color: rgb(255 255 255 / .3); color: rgb(255 255 255 / .45); }
.dots { display: flex; gap: 7px; margin-left: 10px; }
.dots i { width: 8px; height: 8px; border-radius: 8px; background: var(--dots); transition: width .2s, background-color .2s; }
.dots i.is-on { width: 24px; background: var(--ink); }
figcaption { margin-top: 12px; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.band-firth figcaption { color: var(--on-dark); }

/* ---------- Before / after slider ---------- */
.ba__frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--firth-2);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 14px; padding: 5px 13px; border-radius: 999px; pointer-events: none;
  font-size: 16px; font-weight: 500; line-height: 1.35; background: var(--firth); color: #fff;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: #fff; color: var(--ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 48px; margin-left: -24px; display: grid; place-items: center; cursor: ew-resize; outline: none; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgb(0 0 0 / .35); }
.ba__knob { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 16px rgb(0 0 0 / .3); }
.ba__handle:focus-visible .ba__knob { outline: 3px solid var(--sand); outline-offset: 3px; }

.baband { overflow: hidden; }
.baband__grid, .ideas__grid { display: flex; flex-direction: column; }
.baband__copy, .ideas__copy { display: contents; }
.baband__grid .lead, .ideas__grid .lead { margin-bottom: 26px; }
.baband__grid .rail, .ideas__grid .rail { margin-right: calc(-1 * var(--gut)); }
.baband__grid .carousel__nav, .ideas__grid .carousel__nav { order: 3; }
.baband__grid .actions, .ideas__grid .actions { order: 4; margin-top: 24px; }
.rail--ba > li { flex: 0 0 min(80%, 400px); }
@media (min-width: 900px) {
  .baband__grid, .ideas__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
  .baband__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .baband__copy, .ideas__copy { display: block; }
  .baband__grid .lead, .ideas__grid .lead { margin-bottom: 0; }
  .baband__grid .actions, .ideas__grid .actions { margin-top: 30px; }
  .baband__grid .rail { margin-right: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; overflow: visible; }
  .rail--ba > li:last-child { margin-right: 0; }
  .ideas__grid .rail { margin-right: calc(-1 * var(--bleed)); }
  .ideas__grid { align-items: stretch; }
  .ideas__copy { display: flex; flex-direction: column; }
  .ideas__copy > .h2:first-child { margin-top: -0.13em; }
  .ideas__grid .carousel__nav { margin-top: auto; padding-top: 30px; }
}
.split--ba .ba { width: 100%; max-width: 480px; margin-inline: auto; }
.ba__pending { display: grid; aspect-ratio: 3 / 4; }

/* ---------- Image + copy sections ----------
   Balance rule (planning/DESIGN-RULES.md, rule 1): beside its copy, a photograph starts level with
   the heading and ends level with the last line or button. The copy sets the row height; the
   photograph has a least shape (its aspect-ratio) and stretches past it to match. If the copy is
   the shorter side, its pieces spread to the photograph's height. Stacked, the photograph comes
   first, then the copy, then whatever sat under the photograph. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.split__media { display: contents; }
.split__under { order: 3; display: grid; gap: 16px; }
.split__under > * { margin-top: 0; }
.photo { display: grid; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.photo--landscape { aspect-ratio: 3 / 2; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--portrait { aspect-ratio: 6 / 7; }
.split .photo { position: relative; }
.split .photo > img, .split .photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.split .photo--portrait > img { object-position: 50% 58%; }
.split .points--tick { gap: 0; }
.split .points--tick li { padding: 11px 0; border-top: 1px solid var(--line); }
.split .points--tick li:last-child { border-bottom: 1px solid var(--line); }
.split .points--tick .points__icon { margin-top: 4px; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5.5vw, 80px); align-items: stretch; }
  .split--flip > .split__media { order: 2; }
  .split__media { display: flex; flex-direction: column; min-width: 0; }
  .split__media > .photo, .split__media > .ba { flex: 1 1 auto; }
  .split__media > .photo--landscape { aspect-ratio: 3 / 2; }
  .split__media > .photo--portrait { aspect-ratio: 4 / 3; }
  .split__under { order: 0; flex: none; margin-top: 20px; }
  /* Copy shorter than the photograph: the heading and sentence stay together at the top, and the
     list (with any link or button after it) drops to the foot. */
  .split__body { display: flex; flex-direction: column; min-width: 0; }
  .split__body > .points { margin-top: auto; padding-top: 28px; }
  .split__body > .points--tick { padding-top: 22px; }
  .split__body:not(:has(> .points)) > :last-child { margin-top: auto; padding-top: 30px; }
  .split__body > .h2:first-child { margin-top: -0.13em; }

  /* Before and after slider beside its copy */
  .split--ba .ba { display: flex; flex-direction: column; max-width: none; margin: 0; }
  .split--ba .ba__frame, .split--ba .ba__pending { flex: 1 1 auto; aspect-ratio: 5 / 4; }
}
/* Long copy (a titled point list): the text column is the wider one, and the note and buttons sit
   under the photograph. Side by side only from 1100px; narrower than that the text column would
   run to twice the photograph's height. */
@media (min-width: 1100px) {
  .feature--long .split--portrait { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature--long .split--flip.split--portrait { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature--long .split__media > .photo--portrait { aspect-ratio: 1 / 1; }
  .feature--long .split__media > .photo--landscape { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .feature--long .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature--long .split__media { display: contents; }
  .feature--long .split__media > .photo { aspect-ratio: 16 / 9; }
  .feature--long .split__under { order: 3; margin-top: 0; }
  .feature--long .split__body { display: block; }
}

/* Text-only feature: heading top left, buttons bottom left, the list filling the same height. */
.feature__plain { display: grid; gap: 28px; }
.feature__plain .points { margin-top: 0; }
.feature__tail > :first-child { margin-top: 0; }
.feature__tail:empty { display: none; }
.who .points, .feature--plain .points--ring { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
@media (min-width: 900px) {
  .feature__plain {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
    grid-template-areas: "head list" "tail list"; gap: 28px clamp(40px, 6vw, 88px); align-items: stretch;
  }
  .feature__head { grid-area: head; }
  .feature__head > .h2:first-child { margin-top: -0.13em; }
  .feature__plain .points { grid-area: list; align-content: space-between; }
  .feature__tail { grid-area: tail; align-self: end; }
}
.choices, .local { padding-block: clamp(24px, 3.5vw, 52px); }
.choices .section, .local .section { padding-block: clamp(30px, 4vw, 56px); }

/* ---------- Icon points: one icon set, several containers ---------- */
.points { display: grid; gap: 18px; margin-top: 28px; }
.points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.points strong { font-weight: 600; color: var(--ink); }
.points__icon { display: grid; place-items: center; color: var(--firth); }

/* soft square tile */
.points--tile li { align-items: start; }
@media (min-width: 900px) { .points--tile li { align-items: center; } }
.points--tile .points__icon { width: 54px; height: 54px; border-radius: var(--r-s); background: var(--mist); }
.band-stone .points--tile .points__icon { background: #fff; }

/* circle outline */
.points--ring li { align-items: center; }
.points--ring .points__icon { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--timber); color: var(--timber); }
.points--ring p { font-weight: 500; color: var(--ink); }

/* icon over a rule */
.points--rule { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
.points--rule li { display: block; }
.points--rule .points__icon { justify-content: start; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--timber); }
.points--rule .icon { width: 28px; height: 28px; }
.points--rule strong { display: block; }
@media (max-width: 520px) { .points--rule { grid-template-columns: 1fr; gap: 22px; } }
@media (min-width: 900px) { .feature--plain .points--rule { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* filled check, ruled rows */
.points--check { gap: 0; }
.points--check li { padding: 15px 0; border-top: 1px solid var(--line); }
.points--check li:last-child { border-bottom: 1px solid var(--line); }
.points--check .points__icon { width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--firth); color: #fff; }
.points--check .icon { width: 16px; height: 16px; stroke-width: 2.2; }

/* bare icon, ruled rows */
.points--plain { gap: 0; }
.points--plain li { padding: 14px 0; border-top: 1px solid var(--line); }
.points--plain .points__icon { margin-top: 3px; color: var(--timber); }

/* simple ticks */
.points--tick { gap: 10px; margin-top: 22px; }
.points--tick li { gap: 12px; }
.points--tick .points__icon { margin-top: 5px; color: var(--timber); }
.points--tick .icon { width: 20px; height: 20px; stroke-width: 2; }

.pull { margin-top: 26px; padding-left: 22px; border-left: 3px solid var(--timber); }
.pull p { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.42; letter-spacing: -0.015em; color: var(--ink); }
.pull p::before { content: "\201C"; }
.pull p::after { content: "\201D"; }
.pull footer { margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--ink); }
.financebox { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px; border-radius: var(--r-s); background: var(--mist); color: var(--firth); font-weight: 500; line-height: 1.45; }

/* ---------- Types of bathroom ---------- */
.types__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
.typecard__link { display: block; color: inherit; text-decoration: none; }
.typecard figure { display: grid; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.typecard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.typecard__link:hover img { transform: scale(1.03); }
.typecard h3 { margin-top: 14px; font-size: 19px; }
a.typecard__link:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.typecard h3 .icon { width: 20px; height: 20px; margin-left: 8px; vertical-align: -3px; color: var(--timber); }
.typecard p { margin-top: 4px; font-size: 16px; line-height: 1.5; }
@media (min-width: 700px) {
  .types__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .typecard h3 { margin-top: 18px; font-size: 24px; }
  .typecard p { font-size: 18px; line-height: 1.6; }
}

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.reviews__summary { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--timber); }
.stars .icon { width: 18px; height: 18px; }
.rail--reviews { gap: 20px; }
.review { flex: 0 0 min(86%, 420px); display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.review blockquote p { font-size: 19px; line-height: 1.55; color: var(--ink); }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 16px; font-weight: 500; color: var(--ink); }
.review__initial { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mist); color: var(--firth); font-weight: 600; }
@media (min-width: 900px) { .rail--reviews .review { flex: 1 1 0; } }

/* ---------- Numbered steps ---------- */
.steps li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; padding-bottom: 30px; }
.steps li::before { content: ""; position: absolute; left: 31px; top: 70px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }
.steps__badge { grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); }
.steps__badge b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--timber); color: #fff; font-size: 16px; font-weight: 600; line-height: 1; }
.steps h3 { margin-top: 6px; font-size: 20px; }
.steps p { grid-column: 2; margin-top: 4px; }
@media (min-width: 1000px) {
  .steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { display: block; padding: 0; }
  .steps li::before { left: 78px; right: -14px; top: 31px; bottom: auto; width: auto; height: 2px; }
  .steps h3 { margin-top: 22px; }
  .steps p { margin-top: 8px; }
  .process .actions { margin-top: 48px; }
}

/* ---------- Installation timeline ---------- */
.stages__grid { display: grid; gap: 32px; }
.timeline li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__num { font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--timber); }
.timeline h3 { display: flex; align-items: center; gap: 10px; }
.timeline h3 .icon { color: var(--firth); }
.timeline p { margin-top: 6px; }
@media (min-width: 900px) {
  .stages__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); }
  .stages__head { position: sticky; top: 32px; align-self: start; }
  .timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; }
  .timeline__num { font-size: 56px; }
}

/* ---------- Why us ---------- */
.trio { display: grid; gap: 18px; }
.trio li { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: rgb(255 255 255 / .05); }
.trio__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-s); background: var(--sand); color: var(--ink); }
.trio h3 { margin-top: 22px; color: #fff; }
.trio p { margin-top: 8px; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ---------- Coverage, districts, chips ---------- */
.coverage__grid, .districts__grid, .faq__grid, .who__grid { display: grid; gap: 30px; }
.coverage__groups { display: grid; gap: 30px 32px; }
.coverage__group h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 19px; }
.coverage__group h3 .icon { color: var(--timber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 15px; border-radius: 999px; background: #fff; font-size: 16px; line-height: 1.3; color: var(--text); }
.chip--link { min-height: 44px; border: 1.5px solid var(--ink); font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s; }
.chip--link:hover { background: var(--ink); color: #fff; }
.chip .icon { width: 16px; height: 16px; }
.districts .note { display: flex; align-items: center; gap: 10px; }
.districts .note .icon { color: var(--timber); }
@media (min-width: 640px) { .coverage__groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .coverage__grid, .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); }
  .districts__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .who__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
}
.who__actions, .who .points { margin-top: 0; }
.districts .chips--plain { align-content: center; padding: clamp(18px, 3vw, 30px); border-radius: var(--r); background: #fff; }
.districts .chips--plain .chip { background: var(--mist); color: var(--firth); }
/* Two columns that start and end level: the buttons drop to the foot of the text column, and the
   panel or groups beside it take the same height. */
@media (min-width: 900px) {
  .who__grid { grid-template-rows: auto 1fr; row-gap: 30px; align-items: stretch; }
  .who__text { align-self: start; }
  .who__text > .h2:first-child { margin-top: -0.13em; }
  .who .points { grid-column: 2; grid-row: 1 / span 2; align-content: space-between; }
  .who__actions { grid-column: 1; grid-row: 2; align-self: end; }
  .districts__grid, .coverage__grid { align-items: stretch; }
  .districts__grid > div, .coverage__head { display: flex; flex-direction: column; }
  .districts__grid > div > .actions, .coverage__head > .actions { margin-top: auto; padding-top: 30px; }
  .coverage__groups { align-content: space-between; }
}

/* ---------- FAQ ---------- */
.faq__head .btn { margin-top: 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 20px; }
.faq__mark { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); transition: transform .2s, background-color .2s; }
.faq details[open] .faq__mark { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details > p { max-width: 68ch; padding: 0 0 24px; }
@media (min-width: 900px) {
  .faq__head { position: sticky; top: 32px; align-self: start; }
  .faq details > p { padding-right: 58px; }
}

/* ---------- Type page gallery and related ---------- */
.gallery { overflow: hidden; }
.gallery__in { display: flex; flex-direction: column; }
.gallery__in .rail { margin-top: 26px; margin-right: calc(-1 * var(--gut)); }
.gallery__in .actions { order: 4; margin-top: 24px; }
.rail--gallery { --gh: clamp(280px, 34vw, 460px); }
.rail--gallery figure { width: min-content; }
.rail--gallery img { width: auto; max-width: 86vw; height: var(--gh); aspect-ratio: var(--ar); object-fit: cover; border-radius: var(--r); }
.rail--gallery .ph { width: min(86vw, calc(var(--gh) * var(--ar))); height: var(--gh); }
.rail--gallery > li:last-child { margin-right: var(--gut); }
@media (min-width: 900px) {
  .gallery__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .gallery__in .actions { order: 0; margin-top: 0; }
  .gallery__in .rail, .gallery__in .carousel__nav { grid-column: 1 / -1; }
  .gallery__in .rail { margin-top: 44px; margin-right: calc(-1 * var(--bleed)); }
  .rail--gallery > li:last-child { margin-right: var(--bleed); }
}
.related { padding-top: 0; }
.related__list { display: grid; gap: 14px; }
.related__list a, .related__list span { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); text-decoration: none; }
.related__list b { font-size: 19px; font-weight: 500; }
.related__list .icon:first-child { color: var(--timber); }
.related__list a .icon:last-child { margin-left: auto; }
@media (min-width: 700px) { .related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Area page: Bathroom Ideas ---------- */
.ideas { overflow: hidden; }
.rail--ideas > li { flex: 0 0 min(62vw, 290px); }
.rail--ideas img, .rail--ideas .ph { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .rail--ideas > li { flex-basis: clamp(220px, 22vw, 320px); } }

/* ---------- Enquiry ---------- */
.enquiry__grid { display: grid; gap: 30px; }
.enquiry__media .photo { width: 100%; max-width: 100%; align-self: start; overflow: hidden; border-radius: var(--r); }
.enquiry__media .photo--portrait { aspect-ratio: 1 / 1; }
.callcard { display: grid; justify-items: start; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--firth); }
.callcard__num { font-size: clamp(30px, 3vw, 38px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: #fff; text-decoration: none; }
.callcard__num:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.enquiry__media { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.enquiry__form, .enquiry__panel { min-width: 0; }
.photo { grid-template-columns: minmax(0, 1fr); }
.photo picture { display: block; min-width: 0; height: 100%; }
.enquiry__media .callcard { position: relative; margin: -44px 14px 0; }
.enquiry__panel .callcard { margin-top: 30px; }
.enquiry__form .lead + .form { margin-top: 28px; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r); background: #fff; }
.form__row { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 16px; font-weight: 500; color: var(--ink); }
.form input, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--border-input); border-radius: 10px; background: #fff; font: inherit; font-size: 18px; font-weight: 400; color: var(--text); }
.form textarea { min-height: 104px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--timber); outline-offset: 1px; border-color: var(--timber); }
.optional { font-weight: 400; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status[data-state="error"] { background: #fbeaea; color: #7a1f1f; }
.form__status a { color: inherit; font-weight: 600; }
.form__status { padding: 14px 16px; border-radius: 10px; background: var(--mist); color: var(--firth); font-weight: 500; }
.form__privacy { font-size: 16px; line-height: 1.5; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
/* Side by side, both columns start and end level. With a photograph: it stretches, the call card
   overlaps its foot. Without: the call card grows to the foot of the form. If the form is the
   shorter side, its message box takes up the difference. */
@media (min-width: 900px) {
  .enquiry__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: stretch; }
  .enquiry__media { display: flex; flex-direction: column; }
  .enquiry__media .photo { position: relative; flex: 1 1 auto; align-self: stretch; }
  .enquiry__media .photo--portrait, .enquiry__media .photo--landscape { aspect-ratio: 1 / 1; }
  .enquiry__media .photo > img, .enquiry__media .photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
  .enquiry__media .callcard { flex: none; margin: -72px 20px 0; }
  .enquiry__form, .enquiry__panel { display: flex; flex-direction: column; }
  .enquiry__form > .h2:first-child, .enquiry__panel > .h2:first-child { margin-top: -0.13em; }
  .enquiry__form .form { flex: 1 1 auto; grid-template-rows: auto auto minmax(0, 1fr); }
  .form label:has(textarea) { grid-template-rows: auto minmax(0, 1fr); }
  .form textarea { height: 100%; }
  .enquiry__panel .callcard { flex: 1 1 auto; align-content: space-between; padding: clamp(24px, 2.6vw, 34px); }
  .enquiry__panel .callcard__num { font-size: clamp(38px, 4.2vw, 58px); }
}

/* ---------- Footer and mobile call bar ---------- */
.site-footer { padding-block: 56px 28px; background: var(--firth); color: var(--on-dark); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; }
.site-footer__brand p { margin-top: 16px; max-width: 34ch; }
.site-footer__call { display: grid; gap: 14px; align-content: start; justify-items: start; }
.site-footer .tel { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.site-footer__lists { display: grid; gap: 28px; margin-top: 36px; padding-top: 30px; border-top: 1px solid rgb(255 255 255 / .18); }
.site-footer__col h2 { margin-bottom: 6px; font-size: 17px; line-height: 1.3; font-weight: 600; color: #fff; }
.site-footer__col ul { display: grid; column-gap: 24px; }
.site-footer__col a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; font-size: 16px; line-height: 1.3; color: var(--on-dark); text-decoration: none; }
.site-footer__col a:hover, .site-footer__col a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.site-footer__col--areas-we-cover ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__all { grid-column: 1 / -1; }
.site-footer__all a { font-weight: 600; color: #fff; }
.site-footer__all .icon { width: 18px; height: 18px; color: var(--sand); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .18); font-size: 16px; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; color: #fff; text-underline-offset: 5px; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgb(247 245 243 / .97); border-top: 1px solid var(--line); }
@media (max-width: 799px) { .site-footer { padding-bottom: 108px; } }
@media (min-width: 560px) { .site-footer__col--bathroom-types ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .callbar { display: none; } }
@media (min-width: 900px) {
  .site-footer__lists { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 48px; }
  .site-footer__col a { min-height: 36px; }
}

/* ---------- Pending photograph: a quiet panel in the right shape until the photo arrives ---------- */
.ph { display: grid; place-items: center; min-width: 0; border-radius: var(--r); background: var(--ph-bg, var(--ph-bg-0)); color: var(--ph-ink, var(--ph-ink-0)); }
.ph .icon { width: 34px; height: 34px; stroke-width: 1.25; }
.band-stone { --ph-bg: var(--ph-bg-stone); --ph-ink: var(--ph-ink-stone); }
.band-mist { --ph-bg: var(--ph-bg-mist); --ph-ink: var(--ph-ink-mist); }
.band-firth { --ph-bg: rgb(255 255 255 / .07); --ph-ink: rgb(255 255 255 / .42); }
.typecard .ph .icon, .rail--ideas .ph .icon { width: 30px; height: 30px; }

/* ---------- Links inside copy ---------- */
.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 {
  color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-decoration-color: var(--timber); text-underline-offset: 4px;
}
.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(--timber-d); }
.band-firth .lead a, .band-firth .whyus__more a { color: #fff; text-decoration-color: var(--sand); }
.split__body > p:not([class]), .feature__tail > p:not([class]) { margin-top: 20px; max-width: 58ch; }
.whyus__more { margin-top: 28px; }

/* ---------- Index pages: /bathroom-types/ and /areas/ ---------- */
.hero--index { padding-block: clamp(36px, 5vw, 76px) clamp(40px, 5vw, 76px); }
.hero--index .hero__grid { gap: 20px; }
.hero--index .hero__title, .hero--index .hero__points li { color: #fff; }
.hero--index .hero__points .icon { color: var(--sand); }
.hero--index .hero__lead { max-width: 40ch; }
@media (min-width: 900px) {
  .hero--index .hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
  .hero--index .hero__title { font-size: clamp(44px, 4.3vw, 62px); }
}
.nowrap { white-space: nowrap; }
.typegroup__grid { display: grid; gap: 28px; }
.typegroup__head .actions { display: none; }
.typegroup { scroll-margin-top: 12px; }
@media (min-width: 700px) {
  .typegroup .typecard h3 { font-size: 21px; }
  .typegroup .typecard p { font-size: 17px; line-height: 1.55; }
}
@media (min-width: 900px) {
  .typegroup__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); }
  .typegroup__head { position: sticky; top: 32px; align-self: start; }
  .typegroup__head .actions { display: flex; }
}
.directory__head { max-width: 760px; }
.directory__jump { margin-top: 26px; }
.directory__rows { margin-top: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.directory__row { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.directory__row h3 { display: flex; align-items: center; gap: 10px; }
.directory__row h3 .icon { color: var(--timber); }
.directory__row ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.directory__row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--border-input); text-underline-offset: 5px; }
.directory__row a:hover { text-decoration-thickness: 1.5px; text-decoration-color: var(--timber); }
.directory__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 28px); border-radius: var(--r); background: var(--stone); }
.directory__foot p { max-width: 44ch; font-weight: 500; color: var(--ink); }
@media (min-width: 700px) { .directory__row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .directory__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); padding: 26px 0; }
  .directory__row h3 { align-self: start; min-height: 44px; }
}
@media (min-width: 1200px) { .directory__row ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Area page: popular bathrooms, what we offer, nearby towns ---------- */
.popular__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(22px, 3vw, 38px); }
.popular__head .textlink { margin-top: 0; }
.popular__list { display: grid; }
.popular__list li { border-top: 1px solid var(--line); }
.popular__list li:last-child { border-bottom: 1px solid var(--line); }
.popular__list a { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 20px 0; color: inherit; text-decoration: none; }
.popular__icon { grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--r-s); background: #fff; color: var(--firth); }
.popular__list h3 { grid-column: 2; }
.popular__list p { grid-column: 2; margin-top: 4px; font-size: 17px; line-height: 1.5; }
.popular__go { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .15s, color .15s; }
.popular__go .icon { width: 20px; height: 20px; }
.popular__list a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.popular__list a:hover .popular__go { background: var(--ink); color: #fff; }
@media (min-width: 900px) {
  .popular__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 88px); }
  .popular__list li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
  .popular__list a { padding: 24px 0; }
}
@media (max-width: 519px) {
  .popular__list a { grid-template-columns: 44px minmax(0, 1fr) 22px; column-gap: 12px; }
  .popular__icon { width: 44px; height: 44px; }
  .popular__go { width: 22px; height: 44px; border: 0; border-radius: 0; color: var(--timber); }
  .popular__list a:hover .popular__go { background: none; color: var(--timber-d); }
}
.offer__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.offer__head .actions { margin-top: 0; }
.offer__row { display: grid; margin-top: clamp(24px, 3vw, 40px); }
.offer__row li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.offer__row li:last-child { border-bottom: 1px solid var(--line); }
.offer__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--r-s); background: var(--mist); color: var(--firth); }
.offer__row p { margin-top: 2px; }
@media (min-width: 900px) {
  .offer__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .offer__row li, .offer__row li:last-child { display: block; padding: 26px 0 0; border-bottom: 0; }
  .offer__row h3 { margin-top: 18px; }
  .offer__row p { margin-top: 6px; }
}
.nearby { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(30px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line); }
.nearby__label { font-weight: 500; color: var(--ink); }
.nearby__all { margin: 0 0 0 auto; }
@media (max-width: 699px) { .nearby__all { margin-left: 0; flex-basis: 100%; } }

/* ---------- Plain text page (privacy notice) ---------- */
.prose-page { padding-top: clamp(32px, 5vw, 76px); }
.prose-page__grid { display: grid; gap: 32px; }
.prose-page__head .hero__title { font-size: clamp(38px, 5vw, 62px); }
.prose-page__date { margin-top: 14px; font-size: 16px; color: var(--text-muted); }
.prose { max-width: 68ch; }
.prose section + section { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--timber); }
.tbc { white-space: nowrap; padding: 2px 7px; border-radius: 6px; background: var(--stone); color: var(--ink); font-weight: 500; }
.prose__call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 40px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r); background: var(--mist); color: var(--firth); }
.prose__call p { margin-top: 0; font-weight: 500; }
@media (min-width: 900px) {
  .prose-page__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); }
  .prose-page__head { position: sticky; top: 32px; align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Text band with one action (home "Recent Bathroom Jobs", case-study closing) ---------- */
.recent { padding-block: clamp(36px, 4.5vw, 60px); }
.recent__in, .caseclose > .container { display: grid; }
.recent__in .lead, .caseclose .lead { max-width: 62ch; }
@media (min-width: 800px) {
  .recent__in, .caseclose > .container { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 72px); align-items: end; }
  .recent__in > .h2, .recent__in > .lead, .caseclose .h2, .caseclose .lead { grid-column: 1; }
  .recent__in > .actions, .caseclose .actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* ---------- Area page: onward links (styles, nearby towns) ---------- */
.h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); }
.onward { padding-block: clamp(40px, 5vw, 72px); }
.onward__grid { display: grid; gap: 28px; }
.onward__col { padding-top: 18px; border-top: 1px solid var(--line); }
.onward__col .h3 { margin-bottom: 14px; }
.onward__more { display: flex; flex-wrap: wrap; gap: 6px 36px; margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .onward__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 88px); }
  .onward__more { grid-column: 1 / -1; }
}

/* ---------- Case studies ---------- */
/* Text-only hero: title and buttons left, sentence and benefits right; both start and end level. */
/* With no photograph, the band carries the sand floor line from the logo along its foot. */
.hero--index { position: relative; padding-bottom: clamp(60px, 8vw, 118px); }
.hero--index::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sand); pointer-events: none;
}
.hero--index > .container { position: relative; z-index: 1; }
.hero--index .hero__head { display: contents; }
.hero--index .hero__head .actions { order: 3; margin-top: 4px; }
.hero--index .hero__side .hero__points:first-child { margin-top: 0; }
.hero--index .hero__note { color: var(--on-dark); }
@media (min-width: 900px) {
  .hero--index .hero__grid:has(.hero__head) { align-items: stretch; }
  .hero--index .hero__head { display: flex; flex-direction: column; }
  .hero--index .hero__head .hero__title { font-size: clamp(48px, 5vw, 72px); }
  .hero--index .hero__head .actions { order: 0; margin-top: auto; }
  .hero--index .hero__head + .hero__side { display: flex; flex-direction: column; padding-top: 6px; }
  .hero--index .hero__head + .hero__side .hero__points { margin-top: auto; padding-top: 22px; }
}

/* Before / during / after: equal tiles, the stage named in plain text above each one. */
.casestrip__grid, .casechanges__grid, .casehub__grid { display: grid; gap: 24px 20px; }
.casestrip__grid figure { display: grid; gap: 10px; }
.casestrip__label { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.casestrip__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.casestrip__grid img, .casestrip__grid .ph { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

/* What changed: photo, heading, line. A change with no photograph is a white panel the same height. */
.casechange { display: flex; flex-direction: column; }
.casechange .photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 16px; }
.casechange .photo > img, .casechange .photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.casechange h3, .casecard h3 { font-size: 22px; line-height: 1.2; }
.casechange p, .casecard p { margin-top: 6px; }
/* No photograph: a white panel, tick beside the words. */
.casechange--plain { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-content: center; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r); background: #fff; }
.casechange--plain::before {
  content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--firth) center / 22px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.casechange--plain h3, .casechange--plain p { grid-column: 2; }
@media (min-width: 700px) {
  /* One text-only change beside photographs: a full-height panel, words centred; photos go square. */
  .casechanges__grid:has(.casechange--plain) .photo { aspect-ratio: 1 / 1; }
  .casechange--plain { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .casechange--plain::before { grid-row: auto; margin-bottom: 18px; }
  .casechange--plain h3, .casechange--plain p { grid-column: 1; }
  /* Two or more text-only changes: the photograph takes the left column and stretches to the
     height of the panels stacked beside it. */
  .casechanges__grid:has(.casechange--plain + .casechange--plain) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-auto-rows: 1fr; }
  .casechanges__grid:has(.casechange--plain + .casechange--plain) > .casechange:not(.casechange--plain) { grid-row: 1 / span 2; }
  .casechanges__grid:has(.casechange--plain + .casechange--plain + .casechange--plain) > .casechange:not(.casechange--plain) { grid-row: 1 / span 3; }
  .casechanges__grid:has(.casechange--plain + .casechange--plain) .photo { flex: 1 1 auto; aspect-ratio: 4 / 3; }
  .casechange--plain + .casechange--plain, .casechange:not(.casechange--plain) + .casechange--plain:has(+ .casechange--plain) { grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
  .casechange--plain + .casechange--plain::before, .casechange:not(.casechange--plain) + .casechange--plain:has(+ .casechange--plain)::before { grid-row: 1 / span 2; margin-bottom: 0; }
  .casechange--plain + .casechange--plain > *, .casechange:not(.casechange--plain) + .casechange--plain:has(+ .casechange--plain) > * { grid-column: 2; }
}

.caseclip { padding-bottom: 0; }
.caseclip .h2 { margin-bottom: 24px; }

.casecard a { display: block; color: inherit; text-decoration: none; }
.casecard figure { margin-bottom: 16px; }
.casecard img, .casecard .ph { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.casecard h3 .icon { width: 20px; height: 20px; margin-left: 8px; vertical-align: -3px; color: var(--timber); }
.casecard a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Gallery ---------- */
.gallerygrid__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallerygrid img, .gallerygrid .ph { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.clip { width: min(100%, 300px); }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: var(--firth); }
.clip figcaption { margin-top: 10px; }
.galleryclips__row { display: flex; flex-wrap: wrap; gap: 24px; }
@media (max-width: 699px) {
  .gallerygrid img { border-radius: var(--r-s); }
  .galleryclips__row { gap: 16px; }
  .galleryclips__row .clip { flex: 1 1 140px; max-width: 260px; }
}
@media (min-width: 700px) {
  .casestrip__grid--3, .casechanges__grid, .casehub__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .casestrip__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .casestrip__grid--2 img, .casestrip__grid--2 .ph { aspect-ratio: 1 / 1; }
  .gallerygrid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1000px) { .gallerygrid__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

/* Card with an icon in place of a photograph that is not supplied yet. */
.iconcard { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--mist); color: var(--timber); }
.iconcard .icon { width: 44px; height: 44px; stroke-width: 1.25; }

@media (max-width: 479px) { .logo { gap: 9px; } .logo__mark { width: 38px; height: 38px; border-radius: 10px; } .logo__text b { font-size: 20px; } .logo__text span { font-size: 14px; } }

.callcard__points { display: grid; gap: 12px; width: 100%; margin: 6px 0 10px; padding: 18px 0 0; border-top: 1px solid rgb(255 255 255 / .2); list-style: none; }
.callcard__points li { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1.35; color: #fff; }
.callcard__points svg { flex: none; width: 22px; height: 22px; color: var(--sand); }

.nav ul a { white-space: nowrap; }

/* 404 */
.notfound__grid { display: grid; gap: 36px; align-items: center; }
.notfound__code { font-size: 20px; font-weight: 600; letter-spacing: .08em; color: var(--timber-d); margin-bottom: 8px; }
.notfound .actions { margin-top: 26px; }
.notfound__links { display: grid; gap: 12px; list-style: none; padding: 0; }
.notfound__links a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; }
.notfound__links a:hover span { text-decoration: underline; text-underline-offset: 5px; }
.notfound__links span { font-size: 20px; font-weight: 600; }
.notfound__links small { grid-column: 1; font-size: 16px; color: var(--text-muted-2); }
.notfound__links svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--timber); }
@media (min-width: 900px) { .notfound__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.ideas__clip video { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--firth); }

/* Opening hours and address (Google Business Profile details) */
.site-footer__facts { display: grid; gap: 8px; margin-top: 18px; }
.site-footer__facts li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; color: #fff; }
.site-footer__facts .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--sand); }
.site-footer__address { font-style: normal; }
/* The card sits on the dark brand colour, so its opening hours and address lines use the on-dark text colour. */
.callcard__meta { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-dark); }

/* ---------- Home showpiece: the wall of finished rooms and the clips, one dark band ----------
   Phone and tablet: one row of equal slides, the next one showing at the right edge.
   From 1000px: a two-row wall, one large photograph then a block of four small ones (home.mjs
   marks the large ones "is-lead"). --wall is the wall's height; everything else follows from it.
   The source photographs are about 750px wide, so the large tile stops at 720px. */
.showcase { --gap: 12px; padding-bottom: clamp(40px, 5vw, 64px); overflow: hidden; timeline-scope: --work; }
.showcase__head { display: grid; gap: 16px; margin-bottom: clamp(26px, 3.4vw, 48px); }
.showcase .h2 { font-size: clamp(34px, 4.7vw, 66px); line-height: 1; letter-spacing: -0.045em; }
.showcase__head .lead { margin-top: 0; max-width: 46ch; }
.rail--showcase { gap: var(--gap); margin-right: calc(-1 * var(--bleed)); scroll-timeline: --work x; }
.rail--showcase > li { flex: 0 0 min(84vw, 560px); }
.rail--showcase > li:last-child { margin-right: var(--bleed); }
.rail--showcase figure { position: relative; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--firth-3); }
.rail--showcase img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.rail--showcase figcaption {
  position: absolute; inset: auto 0 0; margin: 0; padding: 56px 18px 15px; pointer-events: none;
  font-size: 16px; line-height: 1.3; font-weight: 500; color: #fff;
  background: linear-gradient(to top, rgb(13 26 27 / .82), rgb(13 26 27 / 0));
}
@media (hover: hover) { .rail--showcase li:hover img { transform: scale(1.045); } }
@media (min-width: 700px) {
  .showcase { --gap: 16px; }
  .rail--showcase img { aspect-ratio: 3 / 2; }
}
@media (min-width: 900px) {
  .showcase__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 88px); align-items: end; }
  .showcase__head .lead { padding-bottom: 6px; }
}
@media (min-width: 1000px) {
  .showcase { --wall: clamp(380px, 34vw, 480px); --row: calc((var(--wall) - var(--gap)) / 2); }
  .rail--showcase { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, var(--row)); grid-auto-columns: max-content; }
  .rail--showcase > li { width: calc(var(--row) * 1.5); }
  .rail--showcase > li.is-lead { grid-row: span 2; width: calc(var(--wall) * 1.5); }
  .rail--showcase img { aspect-ratio: auto; }
  .rail--showcase .is-lead figcaption { padding: 84px 24px 20px; font-size: 20px; letter-spacing: -0.01em; }
}

/* Under the wall: how far along you are, then the arrows. */
.showcase__nav { gap: 10px; margin-top: clamp(16px, 2.2vw, 26px); }
.showcase__bar { display: none; flex: 1 1 auto; height: 2px; margin-right: 12px; overflow: hidden; border-radius: 2px; background: rgb(255 255 255 / .22); }
.showcase__bar i { display: block; height: 100%; background: var(--sand); transform-origin: 0 50%; transform: scaleX(.06); }
.showcase__nav .dots { flex: 1 1 auto; gap: 4px; margin: 0 12px 0 0; }
.showcase__nav .dots i, .showcase__nav .dots i.is-on { flex: 1 1 0; width: auto; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .22); }
.showcase__nav .dots i.is-on { background: var(--sand); }
.showcase__nav .round { border-color: rgb(255 255 255 / .55); }
.showcase__nav .round[data-next] { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.showcase__nav .round[data-next]:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.showcase__nav .round[data-next]:disabled { background: transparent; border-color: rgb(255 255 255 / .3); color: rgb(255 255 255 / .45); }
@media (min-width: 1000px) {
  .showcase__nav .round { width: 56px; height: 56px; }
  /* The wall's columns are not one width, so one dot per photograph would be wrong here. */
  .showcase__nav .dots { visibility: hidden; }
}
@supports (timeline-scope: --work) and (animation-timeline: --work) {
  .showcase__bar { display: block; }
  .showcase__nav .dots { display: none; }
  .showcase__bar i { animation: showcase-bar linear both; animation-timeline: --work; }
}
@keyframes showcase-bar { from { transform: scaleX(.06); } to { transform: scaleX(1); } }
/* A photograph only part way into view sits back, so the eye stays on the ones fully shown. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rail--showcase > li { animation: showcase-edge linear both; animation-timeline: view(inline); }
  }
}
@keyframes showcase-edge {
  entry 0% { opacity: .38; }
  entry 100% { opacity: 1; }
  exit 0% { opacity: 1; }
  exit 100% { opacity: .38; }
}

/* The clips: same band, a rule between, and the gallery's buttons at the foot of the copy. */
.clips { padding-top: 0; overflow: hidden; }
.clips__grid { display: flex; flex-direction: column; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.clips__copy { display: contents; }
.clips .h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.06; }
.clips__intro .lead { margin-top: 14px; }
.clips__row { gap: 14px; margin: 26px calc(-1 * var(--gut)) 0 0; }
.clips__item { position: relative; flex: 0 0 min(56vw, 230px); }
.clips__item:last-child { margin-right: var(--gut); }
.clips__item .clip { width: 100%; }
.clips__item .clip video { aspect-ratio: 9 / 16; background: var(--firth-3); }
.clips__item .clip figcaption { margin-top: 12px; font-size: 16px; line-height: 1.45; font-weight: 400; color: var(--on-dark); }
.clips__tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 3px 12px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.35; pointer-events: none; }
.clips__tag--after { background: var(--sand); color: var(--ink); }
.clips__tag--before { background: rgb(13 26 27 / .74); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); }
.clips__foot { order: 3; margin-top: 28px; }
.clips__foot .actions { margin-top: 0; }
.clips__foot .textlink { margin-top: 18px; }
.clips__foot .textlink a { color: #fff; }
@media (min-width: 800px) {
  .clips__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-right: 0; overflow: visible; }
  .clips__item:last-child { margin-right: 0; }
}
@media (min-width: 1100px) {
  .clips__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: clamp(40px, 5vw, 72px); align-items: stretch; }
  .clips__copy { display: flex; flex-direction: column; }
  .clips__foot { margin-top: auto; padding-top: 30px; }
  .clips__foot .actions { flex-direction: column; align-items: stretch; }
  .clips__row { gap: 16px; margin-top: 0; }
}

/* ---------- Home: the appointment, a warm linen panel between two plain sections ---------- */
.feature--warm { background: var(--linen); }
.feature--warm .points--tile .points__icon { background: #fff; color: var(--timber); }
@media (min-width: 900px) {
  .feature--warm { padding-block: clamp(12px, 2vw, 28px); background: none; }
  /* Beside its copy the photograph is cropped at the sides: keep the right edge, where a face is. */
  .feature--warm .split .photo > img { object-position: 100% 50%; }
  .feature--warm > .container { padding: clamp(32px, 4.2vw, 60px); border-radius: 28px; background: var(--linen); }
}

/* ---------- Find us: one contact sheet ---------- */
.findus__head { max-width: 760px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.findus__list { display: grid; border-radius: var(--r); background: #fff; }
.findus__list > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; border-top: 1px solid var(--stone); }
.findus__list > li:first-child { border-top: 0; }
.findus__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--r-s); background: var(--mist); color: var(--firth); }
.findus__list strong { display: block; font-weight: 600; color: var(--ink); }
.findus__list address { font-style: normal; }
.findus__list address, .findus__list li > div > span { text-wrap: balance; }
.findus__num { display: inline-block; margin-top: 2px; font-size: clamp(27px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.findus__num:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.findus .textlink { margin-top: 4px; }
.findus__actions { margin-top: 14px; }
@media (min-width: 900px) {
  .findus__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .findus__list > li { align-content: start; padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px); border-top: 0; border-left: 1px solid var(--stone); }
  .findus__list > li:first-child { border-left: 0; }
}
@media (min-width: 900px) and (max-width: 1139px) {
  .findus__list > li { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
}

/* ---------- Guides: ruled columns (home, type pages, blog hub, related posts) ---------- */
.guides__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.postcard { border-top: 1.5px solid var(--ink); }
.postcard a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 14px; height: 100%; padding: 18px 0 24px; color: inherit; text-decoration: none; }
.postcard h3 { font-size: 21px; line-height: 1.22; text-wrap: balance; }
.postcard p { grid-column: 1; font-size: 17px; line-height: 1.55; }
.postcard__go { grid-column: 2; grid-row: 1; display: grid; place-items: center; height: 26px; color: var(--timber); }
.postcard__go .icon { width: 22px; height: 22px; }
.postcard a:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (min-width: 700px) {
  .guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
  .postcard a { display: flex; flex-direction: column; gap: 10px; padding: 22px 0 clamp(30px, 3.6vw, 48px); }
  .postcard h3 { font-size: 24px; }
  .postcard__go { width: 44px; height: 44px; margin-top: auto; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); transition: background-color .15s, color .15s; }
  .postcard__go .icon { width: 20px; height: 20px; }
  .postcard p { padding-bottom: 12px; }
  .postcard a:hover .postcard__go { background: var(--ink); color: #fff; }
}
@media (min-width: 1000px) { .guides__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guides .textlink { margin-top: 8px; }

/* ---------- Blog post ----------
   Dark head, the lead photograph lifted into it, then contents (left, sticky) beside the article. */
.post { --lift: clamp(56px, 9vw, 150px); }
.post__head { padding: clamp(22px, 3.4vw, 48px) 0 calc(clamp(36px, 5vw, 64px) + var(--lift)); }
.post__crumb { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(10px, 1.8vw, 22px); font-size: 16px; }
.post__crumb .icon { width: 16px; height: 16px; color: var(--sand); }
.post__crumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: #fff; text-underline-offset: 5px; }
.post__title { max-width: 19ch; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 400; color: #fff; text-wrap: balance; }
.post__lead { margin-top: clamp(18px, 2vw, 28px); max-width: 64ch; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; }
.post__lead a { color: #fff; text-decoration-color: var(--sand); text-underline-offset: 4px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: clamp(18px, 2.2vw, 28px); font-size: 16px; line-height: 1.5; }
@media (min-width: 640px) {
  .post__meta { gap: 0; }
  .post__meta li + li { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgb(255 255 255 / .32); }
}
.post__wrap { padding-bottom: clamp(44px, 6vw, 92px); }
.post__lead-photo { margin-top: calc(-1 * var(--lift)); }
@media (min-width: 900px) { .post__lead-photo { aspect-ratio: 2 / 1; } }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: clamp(24px, 4vw, 60px); }
.post__side-call { display: none; }
@media (min-width: 1000px) {
  .post__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .post__side { position: sticky; top: 24px; display: grid; gap: 14px; max-height: calc(100vh - 48px); overflow: auto; }
  .post__side-call { display: inline-flex; }
}

.post__toc { padding: 22px 24px 10px; border-radius: var(--r); background: var(--stone); --line: var(--line-stone); }
.post__toc h2 { margin-bottom: 12px; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); }
.post__toc ol { counter-reset: toc; }
.post__toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.post__toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; padding: 12px 0; font-size: 17px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.post__toc a::before { content: counter(toc); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--timber); }
.post__toc a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

.post__body { min-width: 0; }
/* About 80 characters to the line; tables, photographs and the call panel keep the same edge. */
.post__body > * { max-width: 700px; }
.post__section { scroll-margin-top: 24px; }
.post__section + .post__section, .post__cta + .post__section { margin-top: clamp(40px, 4.6vw, 64px); }
.post__section .h2 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
.post__section > p { margin-top: 16px; }
.post__section > .h2 + p { margin-top: 18px; }
.post__section a { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: var(--timber); text-underline-offset: 4px; }
.post__section a:hover { color: var(--timber-d); }
.post__list { display: grid; gap: 10px; margin-top: 18px; }
.post__list li { position: relative; padding-left: 26px; }
.post__list li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--timber); }
.post__section .photo { margin-top: 28px; }

/* Tables. Two columns stay a table at every width. Three or more stack on a phone: the row's
   first cell becomes its heading and each other cell carries its column heading. */
.post__table { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; }
.post__table table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.45; }
.post__table caption { padding: 16px 18px; text-align: left; font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.post__table th, .post__table td { padding: 13px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.post__table thead th { background: var(--stone); font-size: 16px; font-weight: 600; color: var(--ink); }
.post__table tbody th { font-weight: 500; color: var(--ink); }
.post__table td { font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  .post__table table { font-size: 16px; }
  .post__table caption { padding: 14px; }
  .post__table th, .post__table td { padding: 12px 14px; }
  .post__table--stack { overflow: visible; }
  .post__table--stack table, .post__table--stack caption, .post__table--stack tbody, .post__table--stack tr, .post__table--stack tbody th, .post__table--stack td { display: block; }
  .post__table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .post__table--stack tbody tr { padding: 14px 14px 10px; border-top: 1px solid var(--line); }
  .post__table--stack tbody th { padding: 0 0 6px; border: 0; font-size: 18px; font-weight: 600; }
  .post__table--stack td { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 12px; padding: 7px 0; border-top: 1px solid var(--stone); }
  .post__table--stack td::before { content: attr(data-label); color: var(--text-muted-3); }
}

.post__cta { margin-top: clamp(40px, 4.6vw, 64px); padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r); background: var(--firth); color: var(--on-dark); }
.post__cta h2 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 400; color: #fff; text-wrap: balance; }
.post__cta p { margin-top: 12px; max-width: 54ch; }
.post__cta .actions { margin-top: 22px; }
.post__cta .btn--call { background: var(--sand); color: var(--ink); }
.post__cta .btn--call:hover { background: var(--accent-hover); }
.post__cta .btn--quote { border-color: rgb(255 255 255 / .6); color: #fff; }
.post__cta .btn--quote:hover { background: #fff; border-color: #fff; color: var(--firth); }

/* ---------- About: ruled rows, heading left and copy right; the first row is the opening statement ---------- */
.about { padding-block: clamp(12px, 2.4vw, 36px) clamp(28px, 4vw, 60px); }
.aboutrow__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: clamp(32px, 4.6vw, 64px); border-top: 1px solid var(--line); }
.aboutrow:first-child .aboutrow__grid { border-top: 0; }
.aboutrow .h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.aboutrow .lead { margin-top: 0; max-width: 62ch; }
.aboutrow--open .lead { max-width: 30em; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.38; letter-spacing: -0.02em; color: var(--ink); }
.aboutrow .points { margin-top: 26px; }
.aboutrow .textlink { margin-top: 20px; }
.aboutrow .actions { margin-top: 26px; }
@media (min-width: 900px) {
  .aboutrow__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); }
  .aboutrow__body { padding-top: 5px; }
  .aboutrow--open .aboutrow__body { padding-top: 0; }
}

/* ---------- Breadcrumbs (every page except home) ---------- */
.crumbs { padding: 6px 0; font-size: 16px; line-height: 1.4; background: var(--paper); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "\203A"; margin: 0 9px; color: var(--text-muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--text-muted); }

/* ---------- Town pages: photo-led popular bathrooms, merged fit block, compact districts, onward links ---------- */
.popular--photo .popular__head { margin-bottom: clamp(16px, 2.2vw, 26px); }
.popular--photo .popular__list a { padding: 14px 0; }
.fitrow { display: grid; gap: 10px; margin-top: 22px; counter-reset: fit; }
.fitrow li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.fitrow b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--timber); color: #fff; font-size: 16px; font-weight: 600; line-height: 1; }
@media (min-width: 640px) { .fitrow { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; align-items: start; } .fitrow li { align-items: flex-start; } }
.districts--compact { padding-block: clamp(32px, 4.5vw, 56px); }
.districts--compact .districts__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.districts--compact .h2 { font-size: clamp(26px, 2.6vw, 34px); }
.districts--compact .note { margin-top: 0; }
.districts--compact .lead { margin-top: 10px; }
.districts--compact .chips--plain { margin-top: 18px; padding: 0; background: transparent; }
.districts--compact .chip { min-height: 34px; padding: 2px 12px; background: var(--mist); color: var(--firth); }
.onward__posts { display: grid; gap: 10px; }
.onward__posts a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.wherefit .chips, .postnear .chips { margin-top: 4px; }
.popular--photo .popular__list { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
.popular--photo .popular__list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.districts.districts--compact ul.chips--plain { padding: 0; background: transparent; border-radius: 0; }
