/* 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 1100px (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: 1099px) {
  .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: 1100px) 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: 1100px) and (max-width: 1399px) {
  .site-header--quote.site-header--phone .tel { display: none; }
  .site-header--quote.site-header--phone .nav ul { gap: 16px; }
  .site-header--quote.site-header--phone .nav__call .btn { padding-inline: 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; }
.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: clamp(250px, 72vw, 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--clips > li { flex: 0 0 min(56vw, 230px); }
.rail--clips .ideas__clip video { 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--clips > li { flex-basis: calc(var(--rh) * 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); }

/* Oakwell Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   Warm and unhurried: Caslon headings over a plain sans, pill buttons, soft linen panels, and pairs of
   photographs set a step apart (hero pages, before and after, the team). Light heroes on every page;
   the dark green is kept for the before and after band and the footer.
   House rules kept: body 18px / 1.65 / #303030, 16px image corners, photograph first when stacked. */

:root {
  --oak: #8f6232;
  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --r-panel: 28px;
  --step: clamp(32px, 4.4vw, 64px); /* how far the second photograph of a pair sits below the first */
}
body { font-family: var(--sans); }

/* ---------- Type ---------- */
.h2, .hero__title, .post__title, .logo__text b { font-family: var(--serif); font-weight: 400; }
.h2 { font-size: clamp(27px, 3.1vw, 42px); line-height: 1.18; letter-spacing: -0.012em; }
h3, .h3 { font-weight: 600; letter-spacing: -0.005em; }
.lead { max-width: 54ch; }
figcaption { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; line-height: 1.45; }
.textlink a { text-decoration-color: var(--oak); text-decoration-thickness: 1.5px; }
.textlink .icon { color: var(--oak); }
.note { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; }

/* ---------- Buttons: pills ---------- */
.btn { min-height: 54px; padding: 8px 28px; border-radius: 999px; font-weight: 600; }
.menu-btn { border-radius: 999px; }
.form input, .form textarea { border-radius: 12px; }
.round { border-color: var(--border-input); }
.round:hover:not(:disabled) { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header { border-bottom: 0; }
.logo__mark { border-radius: 50%; }
.logo__text b { font-size: 24px; letter-spacing: -0.01em; }
.logo__text span { font-size: 16px; letter-spacing: 0; }
.nav ul a { font-size: 16.5px; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration-color: var(--oak); }
/* Six menu items plus the phone number fit from 1240px, so the full menu shows on a 1280px laptop. */
@media (min-width: 1240px) and (max-width: 1399px) {
  .site-header__in { min-height: 84px; gap: 24px; }
  .menu-btn { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 16px; margin-left: auto; padding: 0; border: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .nav ul { flex-direction: row; gap: 16px; }
  .nav ul a { display: inline-flex; min-height: 44px; font-size: 16px; border-bottom: 0; }
  .nav__call { justify-content: flex-start; gap: 12px; }
}
@media (max-width: 479px) { .logo__text b { font-size: 21px; } }

/* ---------- Bands and spacing ---------- */
.section { padding-block: clamp(60px, 8vw, 120px); }

/* ---------- Hero: shared ---------- */
.hero__title { font-size: clamp(26px, 8.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.hero__lead { max-width: 40ch; }
.hero__points li { font-weight: 500; }
.hero__points .icon { color: var(--oak); }

/* ---------- Home hero: copy on paper, one large photograph on a linen column ---------- */
.hero--rail { isolation: isolate; padding-top: 0; }
.hero--rail .hero__media { margin-inline: calc(-1 * var(--gut)); padding: 20px 0 20px var(--gut); background: var(--linen); }
.rail--hero > li { flex: 0 0 min(64vw, 300px); aspect-ratio: 4 / 5; }
.hero--rail .hero__grid > .carousel__nav { margin-top: 0; }
@media (min-width: 900px) {
  .hero--rail { padding-bottom: 0; }
  .hero--rail .hero__grid {
    grid-template-columns: minmax(0, 1fr) clamp(350px, 35vw, 450px);
    grid-template-areas: "title media" "copy media"; grid-template-rows: auto 1fr;
    column-gap: clamp(36px, 5vw, 76px); row-gap: 20px;
  }
  .hero--rail .hero__title { padding-top: clamp(36px, 4vw, 56px); font-size: clamp(40px, 4.5vw, 60px); line-height: 1.06; }
  .hero--rail .hero__copy { padding-bottom: clamp(40px, 4.4vw, 60px); }
  .hero--rail .hero__grid .actions { padding-top: 24px; }
  /* The linen column runs from the photograph's left margin to the edge of the screen. */
  .hero--rail .hero__media { position: relative; display: block; margin: 0; padding: clamp(32px, 3.4vw, 48px) 0 96px clamp(28px, 3vw, 44px); background: none; }
  .hero--rail .hero__media::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--bleed)) 0 0; z-index: -1; background: var(--linen); }
  .rail--hero { gap: 20px; }
  .rail--hero > li, .rail--hero > li:last-child { flex: 0 0 100%; aspect-ratio: 4 / 5; margin-right: 0; }
  .hero--rail .hero__grid > .carousel__nav { grid-area: media; align-self: end; justify-self: start; margin: 0 0 26px clamp(28px, 3vw, 44px); }
}
@media (min-width: 900px) and (max-width: 1099px) { .hero--rail .dots { display: flex; } }

/* ---------- Inner page heroes: photograph on the left, copy on the right ---------- */
.hero--split.band-stone { background: var(--linen); --line: var(--line-stone); }
@media (min-width: 900px) {
  .hero--split .hero__media { order: -1; }
  .hero--split .hero__title { font-size: clamp(38px, 4vw, 54px); line-height: 1.08; }
  .hero--tall .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero--wide .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  /* Old room, new room: the second photograph sits a step lower than the first. */
  .hero--duo .duo__a { margin-bottom: var(--step); }
  .hero--duo .duo__b { margin-top: var(--step); }
}

/* ---------- Text heroes (About, hubs): light linen, not the dark band ---------- */
.hero--index.band-firth { background: var(--linen); color: var(--text); --line: var(--line-stone); }
.hero--index::after { display: none; }
.hero--index .hero__title, .hero--index .hero__points li { color: var(--ink); }
.hero--index .hero__points .icon { color: var(--oak); }
.hero--index .hero__note { color: var(--text); }
.hero--index.band-firth .btn--call { background: var(--timber); color: #fff; }
.hero--index.band-firth .btn--call:hover { background: var(--timber-d); }
.hero--index.band-firth .btn--quote { border-color: var(--ink); background: transparent; color: var(--ink); }
.hero--index.band-firth .btn--quote:hover, .hero--index.band-firth .btn--solid { border-color: var(--ink); background: var(--ink); color: #fff; }
.hero--index.band-firth .btn--solid:hover { background: var(--ink-hover); }
@media (min-width: 900px) {
  .hero--index .hero__title, .hero--index .hero__head .hero__title { font-size: clamp(42px, 4.4vw, 60px); line-height: 1.06; }
}

/* ---------- Finance strip: a sand line under the hero ---------- */
.strip { background: var(--sand); color: var(--ink); }
.strip a { text-decoration-thickness: 1.5px; }
@media (max-width: 599px) { .strip__in { align-items: flex-start; justify-content: flex-start; } .strip__in .icon { margin-top: 2px; } }

/* ---------- Before and after: the dark green band, two sliders a step apart ---------- */
.baband .h2 { margin-bottom: 24px; }
.baband__grid .lead { order: 2; margin: 22px 0 0; }
.baband__grid .rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-right: 0; overflow: visible; }
.rail--ba > li, .rail--ba > li:last-child { margin-right: 0; }
.baband .ba__frame { aspect-ratio: 4 / 5; }
.baband .ba__tag { font-family: var(--sans); font-weight: 600; }
.baband .ba__tag--before { background: var(--firth); }
.baband .ba__tag--after { background: var(--sand); color: var(--ink); }
.baband .carousel__nav { display: none; }
@media (min-width: 640px) {
  .baband__grid .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .baband .ba__frame { aspect-ratio: 3 / 4; }
}
@media (min-width: 900px) {
  .baband__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: center; }
  .baband .h2 { margin-bottom: 0; font-size: clamp(27px, 2.9vw, 38px); }
  .baband__grid .lead { margin: 18px 0 0; }
  .baband__grid .rail { grid-auto-flow: row; gap: clamp(20px, 2.4vw, 32px); }
  .rail--ba > li:nth-child(even) { margin-top: var(--step); }
  .rail--ba > li:nth-child(odd) { margin-bottom: var(--step); }
}

/* ---------- Bathroom Ideas: a light strip of large photographs, captions underneath ---------- */
.showcase .h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.018em; }
.rail--showcase figure { height: auto; overflow: visible; border-radius: 0; background: none; }
.rail--showcase img { height: auto; border-radius: var(--r); aspect-ratio: 3 / 2; }
.rail--showcase figcaption, .rail--showcase .is-lead figcaption { position: static; padding: 12px 0 0; background: none; font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--ink); }
@media (hover: hover) { .rail--showcase li:hover img { transform: none; } }
.rail--showcase > li { flex: 0 0 min(84vw, 520px); }
@media (min-width: 1000px) {
  .rail--showcase { display: flex; }
  .rail--showcase > li, .rail--showcase > li.is-lead { flex: 0 0 clamp(440px, 43vw, 560px); width: auto; }
  .rail--showcase img { aspect-ratio: 3 / 2; }
}
.showcase__bar { background: var(--line); }
.showcase__bar i { background: var(--timber); }
.showcase__nav .dots i, .showcase__nav .dots i.is-on { background: var(--line); }
.showcase__nav .dots i.is-on { background: var(--timber); }
.showcase__nav .round { border-color: var(--ink); color: var(--ink); }
.showcase__nav .round:hover:not(:disabled) { background: var(--ink); color: #fff; }
.showcase__nav .round[data-next] { background: var(--ink); border-color: var(--ink); color: #fff; }
.showcase__nav .round[data-next]:hover:not(:disabled) { background: var(--ink-hover); border-color: var(--ink-hover); color: #fff; }
.showcase__nav .round:disabled, .showcase__nav .round[data-next]:disabled { background: transparent; border-color: var(--line); color: var(--muted); }

/* ---------- Icon points: soft circles, no boxes ---------- */
.points--tile .points__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--linen); color: var(--timber-d); }
.band-stone .points--tile .points__icon, .feature--warm .points--tile .points__icon { background: #fff; color: var(--timber-d); }
.points--tick .points__icon, .points--plain .points__icon, .points--rule .points__icon { color: var(--oak); }
.points--ring .points__icon { border-color: var(--oak); color: var(--oak); }
.offer__icon, .findus__icon, .popular__icon { border-radius: 50%; }
.offer__icon { background: var(--linen); color: var(--timber-d); }
.financebox { border-radius: var(--r); background: var(--linen); color: var(--ink); }

/* A section with no photograph: the list sits level with the heading, not spread down the column. */
@media (min-width: 900px) { .feature__plain .points { align-content: start; } }

/* ---------- Panels: generous corners ---------- */
.form, .callcard, .trio li, .review, .findus__list, .districts .chips--plain, .directory__foot, .prose__call, .notfound__links a { border-radius: 24px; }
.who .points, .feature--plain .points--ring { border-radius: 24px; }
.trio__icon { border-radius: 50%; }
.related__list a, .related__list span { border-radius: 999px; padding-inline: 24px; }
@media (min-width: 900px) { .feature--warm > .container { border-radius: var(--r-panel); } }

/* ---------- Numbered sequences: Caslon numerals ---------- */
.timeline__num { font-family: var(--serif); font-style: italic; color: var(--oak); letter-spacing: 0; }
.steps__badge { border-color: var(--border-input); }
.steps__badge b { background: var(--oak); }

/* ---------- FAQ ---------- */
.faq summary { padding: 22px 0; }
.faq summary h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.3; letter-spacing: -0.005em; }
.faq__mark { width: 40px; height: 40px; border-color: var(--border-input); }
.faq details[open] .faq__mark { border-color: var(--sand); background: var(--sand); color: var(--ink); }

/* ---------- About: the two portraits a step apart ---------- */
.people figcaption { font-style: normal; }
.people figcaption b, .people figcaption span:only-child { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.people figcaption span { font-family: var(--sans); }
.aboutrow .h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.18; }
.aboutrow--open .lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; letter-spacing: -0.005em; }
@media (min-width: 900px) {
  .aboutrow--people .aboutrow__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .aboutrow--people .people { gap: clamp(20px, 2.4vw, 32px); }
  .aboutrow--people .people > li:nth-child(even) { margin-top: var(--step); }
}

/* ---------- Enquiry, footer, call bar ---------- */
.callcard__num, .findus__num, .site-footer .tel { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.site-footer { padding-top: 64px; }
.callbar { background: rgb(246 245 239 / .97); }

/* ---------- Style page gallery: every photograph on show at once from 900px (no carousel) ---------- */
@media (min-width: 900px) {
  .gallery__in .rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin-right: 0; overflow: visible; }
  .rail--gallery > li:last-child { margin-right: 0; }
  .rail--gallery figure { width: auto; }
  .rail--gallery img { width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 2; }
}

/* ---------- Area page Bathroom Ideas: heading and buttons in one row, the photographs across the page below ---------- */
@media (min-width: 900px) {
  .ideas__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ideas__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head actions" "lead nav"; column-gap: 40px; align-items: end; }
  .ideas__copy > .h2 { grid-area: head; }
  .ideas__copy > .lead { grid-area: lead; }
  .ideas__copy > .actions { grid-area: actions; justify-self: end; margin-top: 0; }
  .ideas__grid .carousel__nav { grid-area: nav; justify-self: end; margin-top: 0; padding-top: 16px; }
  .rail--ideas > li { flex-basis: clamp(230px, 22vw, 290px); }
}

/* ---------- Stand-in photographs are about 750px wide: where a long section stacks on a small laptop, the
   photograph stops at its own width and is not stretched across the page. ---------- */
@media (min-width: 900px) and (max-width: 1099px) {
  .feature--long .split__media > .photo { max-width: 748px; }
}

/* Gallery page: before and after sliders in a grid */
.gallerypairs__list{list-style:none;margin:2rem 0 1.5rem;padding:0;display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:700px){.gallerypairs__list{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1050px){.gallerypairs__list{grid-template-columns:repeat(3,1fr)}}
