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

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

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

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

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

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

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

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

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

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

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

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

/* Nithsdale Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "The cottage": every page is built like a Galloway cottage, read from the roof down.
   - Roof. A band of slates (CSS gradients, courses half-lapped) caps the header and the Bathroom Ideas band.
   - Wall. The header is a limewashed wall carrying the enamel house-name plate (the logo) and the brass
     letterbox (Call now, wherever it appears). The menu sits on the timber lintel that closes the header.
   - Gable. The photograph that leads a page stands as a gable end: pitched top, slate verge, a chimney stack
     with two pots on the apex. The lead style card and the five steps (a row of numbered cottages) are gables
     too. Only these are pitched; every other photograph keeps its plain 16px corners.
   - Dyke. A drystone wall (cope stones over two uneven courses, CSS gradients) runs along the foot of each
     photo hero and the top of the coverage band. A cottage roofline in silhouette, windows lit amber, closes
     the dark text heroes and opens the dark bands and the footer.
   - Inside. Sage bands are tongue-and-groove panelling under a dado rail. Finance is the hearth: an ember glow
     under a timber mantel. The phone card is the front door: green boards, brass numerals, the letterbox.
   - Section headings sit under a short pegged lintel. Amber is the porch light: the page you are on, an open
     question, a lit window. It is never text on a light ground.
   Source Serif 4 for headings and numerals (sentence case, as written), Source Sans 3 to read.
   House rules kept: body 18px / 1.65 / #303030, small text 16px or more, photographs 16px corners (small
   inserts 10 to 12px; the gables are deliberate), photograph first when stacked. Timber (#8a5a3c) carries
   white text at 5.8:1 and is 5.4:1 on the paper; on stone use --timber-d. Text on brass is --brass-ink (5.7:1
   or better across the plate). Amber on the dark green is 7.7:1. */

:root {
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --wash: #fffdf8;               /* limewash: the header wall, cards, cottage walls */
  --cream: #f6eedc;              /* enamel lettering and rims */
  --slate: #3b484b;
  --slate-d: #2a3437;
  --amber: #f2a93b;              /* the porch light */
  --amber-soft: #fbe7c0;         /* a lit window */
  --pot: #b4633f;                /* chimney pots: a shape colour, never text */
  --door: #223a30;               /* the boarded front door */
  --hearth: #2b1610;
  --brass: linear-gradient(180deg, #f4e4ad 0%, #e3c877 30%, #cfaa52 64%, #dfc272 100%);
  --brass-h: linear-gradient(180deg, #faefc6 0%, #ecd58d 30%, #dcbb66 64%, #e9d088 100%);
  --brass-edge: #86661f;
  --brass-ink: #1d160a;
  --brass-num: #ead28c;          /* brass numerals on the door, 9:1 */
  --field: #77827c;              /* form field borders, 3.9:1 on white */

  /* Slates: 34 x 18 courses, each course half a slate along from the one above; a few slates lighter, darker, bluer. */
  --slates:
    linear-gradient(to bottom, rgb(255 255 255 / .1) 0 1px, #0000 1px 15px, rgb(0 0 0 / .4) 15px 18px) 0 0 / 100% 18px,
    conic-gradient(from 270deg at 2px 18px, rgb(0 0 0 / .34) 0 90deg, #0000 0) 0 0 / 34px 36px,
    conic-gradient(from 270deg at 2px 18px, rgb(0 0 0 / .34) 0 90deg, #0000 0) 17px 18px / 34px 36px,
    conic-gradient(from 270deg at 34px 18px, rgb(255 255 255 / .075) 0 90deg, #0000 0) 34px 0 / 102px 36px,
    conic-gradient(from 270deg at 34px 18px, rgb(0 0 0 / .14) 0 90deg, #0000 0) 85px 18px / 170px 36px,
    conic-gradient(from 270deg at 34px 18px, rgb(126 158 170 / .16) 0 90deg, #0000 0) 153px 0 / 238px 36px;

  /* Drystone dyke, 54px: a row of upright cope stones, then two courses whose joints fall on two rhythms each. */
  --dyke-h: 54px;
  --dyke:
    radial-gradient(6.4px 19px at 7px 100%, #b9b5a6 96%, #0000) 0 0 / 27px 20px repeat-x,
    radial-gradient(6px 15px at 20.5px 100%, #a19d8e 96%, #0000) 0 0 / 27px 20px repeat-x,
    linear-gradient(rgb(34 48 42 / .5), rgb(34 48 42 / .5)) 0 19px / 100% 2px no-repeat,
    linear-gradient(rgb(34 48 42 / .42), rgb(34 48 42 / .42)) 0 36px / 100% 2px no-repeat,
    conic-gradient(from 270deg at 2px 17px, rgb(34 48 42 / .46) 0 90deg, #0000 0) 0 20px / 47px 54px repeat-x,
    conic-gradient(from 270deg at 2px 17px, rgb(34 48 42 / .46) 0 90deg, #0000 0) 19px 20px / 71px 54px repeat-x,
    conic-gradient(from 270deg at 2px 17px, rgb(34 48 42 / .46) 0 90deg, #0000 0) 11px 37px / 59px 54px repeat-x,
    conic-gradient(from 270deg at 2px 17px, rgb(34 48 42 / .46) 0 90deg, #0000 0) 37px 37px / 83px 54px repeat-x,
    conic-gradient(from 270deg at 47px 17px, rgb(255 255 255 / .17) 0 90deg, #0000 0) 0 20px / 141px 54px repeat-x,
    conic-gradient(from 270deg at 59px 17px, rgb(0 0 0 / .1) 0 90deg, #0000 0) 70px 37px / 177px 54px repeat-x,
    linear-gradient(rgb(34 48 42 / .58), rgb(34 48 42 / .58)) 0 9px / 100% 11px no-repeat,
    linear-gradient(#aba797, #aba797) 0 20px / 100% 34px no-repeat;

  /* Tongue-and-groove boards (a groove and its lit edge every 64px), and the dado rail that caps them. */
  --tg: repeating-linear-gradient(90deg, #0000 0 62px, rgb(34 48 42 / .1) 62px 63px, rgb(255 255 255 / .62) 63px 64.5px);
  --dado: linear-gradient(to bottom, #f8fbf9 0 2px, #c8d3cc 2px 3px, #edf2ee 3px 9px, #b1bfb7 9px 10.5px, rgb(34 48 42 / .1) 10.5px 12px);
  /* A timber beam: cut ends, a lit top edge, a shadowed foot, the grain. */
  --beam:
    linear-gradient(90deg, rgb(0 0 0 / .28) 0 5px, #0000 5px calc(100% - 5px), rgb(0 0 0 / .28) 0),
    linear-gradient(to bottom, rgb(255 255 255 / .2) 0 1.5px, #0000 1.5px calc(100% - 2.5px), rgb(0 0 0 / .3) 0),
    repeating-linear-gradient(to bottom, #0000 0 3px, rgb(0 0 0 / .07) 3px 4px);

  /* The roofline: a steading of cottages in silhouette. Dark for the footer and dark bands, paper for the foot of a dark hero. */
  --roofline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 60'%3E%3Cpath fill='%2318241f' d='M0 60V50h18V26h6V14h9v12h65V14h9v12h5v14l18 7v3h12V40l22-21V8h12v11l22 21v10h10V22h6V9h10v13h64V9h10v13h6v28h12v-7l22-19 22 19v7h10V33h6V22h9v11h61v17h34v10z'/%3E%3Cpath fill='%23f2a93b' d='M50 35h7v8h-7zM72 35h7v8h-7zM166 30h8v9h-8zM236 31h7v9h-7zM262 31h7v9h-7zM400 39h7v7h-7z'/%3E%3C/svg%3E");
  --roofline-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 60'%3E%3Cpath fill='%23f8f6f1' d='M0 60V50h18V26h6V14h9v12h65V14h9v12h5v14l18 7v3h12V40l22-21V8h12v11l22 21v10h10V22h6V9h10v13h64V9h10v13h6v28h12v-7l22-19 22 19v7h10V33h6V22h9v11h61v17h34v10z'/%3E%3Cpath fill='%23f2a93b' d='M50 35h7v8h-7zM72 35h7v8h-7zM166 30h8v9h-8zM236 31h7v9h-7zM262 31h7v9h-7zM400 39h7v7h-7z'/%3E%3C/svg%3E");
  /* A chimney pot on its stack: the mark before each hero's top line. */
  --potmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath fill='%23b4633f' d='M5 1h6v2.2h-.9l.9 8.3H5l.9-8.3H5z'/%3E%3Cpath fill='%2322302a' d='M1 10.5h14v2.6h-1V19H2v-5.9H1z'/%3E%3C/svg%3E");
  --potmark-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath fill='%23f2a93b' d='M5 1h6v2.2h-.9l.9 8.3H5l.9-8.3H5z'/%3E%3Cpath fill='%23e5cdb2' d='M1 10.5h14v2.6h-1V19H2v-5.9H1z'/%3E%3C/svg%3E");

  /* What changes between light and dark grounds. */
  --head: var(--ink);
  --focus: var(--ink);
  --q: var(--ink);
  --q-bg: var(--wash);
  --q-on: #fff;
  --off: var(--muted);
}

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

.band-firth, .site-footer, .callcard, .callbar, .strip, .hero--index {
  --head: #fff; --focus: var(--amber); --q: var(--cream); --q-bg: transparent; --q-on: var(--firth); --off: rgb(255 255 255 / .42);
  --line: rgb(255 255 255 / .2);
}

/* ---------- Type ---------- */
.h2, .hero__title, h3, .h3, .logo__text b, .tel, .callcard__num, .findus__num, .timeline__num, .steps__badge b, .fitrow b,
.prose h2, .notfound__code, .post__title, .site-footer__col h2 { font-family: var(--serif); }
.h2, .band-firth .h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.1; letter-spacing: -0.015em; font-weight: 700; color: var(--head); }
/* Every section heading sits under a short timber lintel, pegged at each end. */
.h2 { position: relative; padding-top: 32px; }
.h2::before {
  content: ""; position: absolute; left: 0; top: 0; width: 132px; height: 14px; border-radius: 2px;
  background: radial-gradient(circle at 14px 50%, var(--cream) 0 1.8px, #0000 2.4px), radial-gradient(circle at calc(100% - 14px) 50%, var(--cream) 0 1.8px, #0000 2.4px), var(--beam), var(--timber);
}
h3, .h3, .trio h3 { font-size: 21px; line-height: 1.24; letter-spacing: -0.005em; font-weight: 700; color: var(--head); }
.lead { margin-top: 16px; }
.intro { max-width: 780px; }
.note { font-weight: 600; }
strong, .points strong { font-weight: 600; }
figcaption { font-weight: 600; }
.textlink a { font-weight: 600; color: var(--head); text-decoration-color: var(--timber); text-decoration-thickness: 2px; }
.textlink .icon { color: var(--timber); stroke-width: 2; }
/* On a phone the arrow keeps a place at the end of the link, so it never drops to a line of its own. */
@media (max-width: 520px) {
  .textlink a { position: relative; display: inline-block; }
  .textlink a .icon { position: absolute; right: 0; bottom: 13px; margin: 0; }
  .onward__more a { display: block; }
}
.band-firth .textlink .icon, .site-footer .textlink .icon { color: var(--amber); }
.lead a, .points a, .faq details > p a, .form__privacy a, .whyus__more a, .prose a:not(.tel):not(.btn),
.split__body > p:not([class]) a, .feature__tail > p:not([class]) a { font-weight: 600; text-decoration-thickness: 2px; }
.band-firth .lead a, .band-firth .whyus__more a { color: #fff; text-decoration-color: var(--amber); }
@media (min-width: 900px) {
  .split__body > .h2:first-child, .ideas__copy > .h2:first-child, .feature__head > .h2:first-child, .who__text > .h2:first-child,
  .enquiry__form > .h2:first-child, .enquiry__panel > .h2:first-child { margin-top: 0; }
}

/* ---------- Buttons. Call now is the brass letterbox: a plate, a flap, a screw at each end ---------- */
.btn { min-height: 54px; padding: 8px 26px; border: 1.5px solid transparent; border-radius: 8px; font-size: 18px; font-weight: 600; line-height: 1.15; }
.btn .icon { width: 20px; height: 20px; stroke-width: 2; }
@media (max-width: 360px) { .btn { padding-inline: 16px; } }
.btn--call, .band-firth .btn--call, .btn--on-dark, .post__cta .btn--call {
  position: relative; padding-inline: 34px; border-color: var(--brass-edge); color: var(--brass-ink);
  background: radial-gradient(circle at 10px 50%, #6f5314 0 2.2px, #0000 2.9px), radial-gradient(circle at calc(100% - 10px) 50%, #6f5314 0 2.2px, #0000 2.9px), var(--brass);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .75), 0 2px 0 rgb(29 22 10 / .28);
}
.btn--call::before, .btn--on-dark::before {
  content: ""; position: absolute; inset: 5px 20px; border: 1px solid rgb(98 72 14 / .62); border-radius: 4px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 1px 0 rgb(255 255 255 / .55); pointer-events: none;
}
.btn--call:hover, .band-firth .btn--call:hover, .btn--on-dark:hover, .post__cta .btn--call:hover {
  background: radial-gradient(circle at 10px 50%, #6f5314 0 2.2px, #0000 2.9px), radial-gradient(circle at calc(100% - 10px) 50%, #6f5314 0 2.2px, #0000 2.9px), var(--brass-h);
  color: var(--brass-ink);
}
@media (max-width: 360px) { .btn--call, .btn--on-dark { padding-inline: 28px; } .btn--call::before, .btn--on-dark::before { inset-inline: 18px; } }
.btn--quote, .band-firth .btn--quote { border-color: var(--q); background: var(--q-bg); color: var(--q); }
.btn--quote:hover, .band-firth .btn--quote:hover { border-color: var(--q); background: var(--q); color: var(--q-on); }
.btn--solid, .band-firth .btn--solid { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--solid:hover, .band-firth .btn--solid:hover { border-color: var(--ink-hover); background: var(--ink-hover); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.round, .band-firth .round { border: 1.5px solid var(--q); border-radius: 8px; background: var(--q-bg); color: var(--q); }
.round:hover:not(:disabled), .band-firth .round:hover:not(:disabled) { background: var(--q); color: var(--q-on); }
.round:disabled, .band-firth .round:disabled { border-color: var(--line); background: none; color: var(--off); }
.round:focus-visible { border-radius: 8px; }
.dots i { border-radius: 2px; }
.dots i.is-on { background: var(--timber); }

/* ---------- Enamel plates: town links, the areas list, related pages. White enamel, green rim, a screw at each end ---------- */
.chip--link, .directory__row a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 28px; border: 2px solid var(--ink); border-radius: 8px;
  background: radial-gradient(circle at 12px 50%, var(--ink) 0 2px, #0000 2.7px), radial-gradient(circle at calc(100% - 12px) 50%, var(--ink) 0 2px, #0000 2.7px), var(--wash);
  box-shadow: 0 2px 0 rgb(34 48 42 / .22); font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.chip--link:hover, .directory__row a:hover {
  background: radial-gradient(circle at 12px 50%, var(--cream) 0 2px, #0000 2.7px), radial-gradient(circle at calc(100% - 12px) 50%, var(--cream) 0 2px, #0000 2.7px), var(--ink);
  color: #fff; text-decoration: none;
}
.chip--link .icon { stroke-width: 2; color: var(--timber); }
.chip--link:hover .icon { color: var(--amber); }
.chips { gap: 12px; }
.chip:not(.chip--link) { border-radius: 8px; background: var(--wash); }

/* ---------- Header: slates, the limewashed wall with the name plate and the letterbox, then the lintel ---------- */
.site-header { background: var(--wash); border-bottom: 0; }
.site-header::before { content: ""; display: block; height: 18px; background: var(--slates), var(--slate); }
.site-header::after { content: ""; display: block; height: 10px; background: var(--beam), var(--timber); }
.site-header__in { min-height: 74px; }
/* The logo is the house-name plate: green enamel, cream rim, the monogram let into its left end. */
.logo { gap: 11px; padding: 5px 16px 5px 5px; border-radius: 10px; background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream), 0 2px 0 rgb(24 36 31 / .25); }
.logo__mark { width: 42px; height: 42px; border-radius: 6px; }
.logo .logo__text { color: #fff; line-height: 1.04; }
.logo__text b { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.logo .logo__text span { font-size: 16px; font-weight: 600; letter-spacing: .01em; color: var(--sand); }
.logo:focus-visible { border-radius: 10px; }
/* On the dark footer the plate is cream enamel. */
.logo--light { background: var(--cream); box-shadow: inset 0 0 0 2px var(--firth), inset 0 0 0 3.5px var(--cream); }
.logo--light .logo__mark { box-shadow: none; }
.logo.logo--light .logo__text { color: var(--ink); }
.logo.logo--light .logo__text span { color: var(--timber-d); }
.tel { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.menu-btn { min-height: 48px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 2px 0 rgb(24 36 31 / .25); }
.menu-btn:focus-visible { border-radius: 8px; }
@media (max-width: 479px) { .logo__mark { width: 38px; height: 38px; border-radius: 6px; } .logo__text b { font-size: 20px; } .logo .logo__text span { font-size: 16px; } }
@media (max-width: 1099px) {
  .site-header .nav { z-index: 1; gap: 16px; padding: 4px var(--gut) 24px; border-bottom: 0; background: var(--wash); box-shadow: 0 26px 30px -20px rgb(24 36 31 / .5); max-height: calc(100vh - 102px); }
  .nav ul a { font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current] { text-decoration: none; box-shadow: inset 4px 0 0 var(--amber); padding-left: 14px; }
  .nav__call { flex-wrap: wrap; gap: 12px 16px; }
  .nav__call .tel { font-size: 28px; }
  .nav__call .btn { flex: 1 1 180px; }
}
@media (max-width: 799px) { .site-header .nav { padding-bottom: 104px; } }
/* 800 to 1099px: the number and the letterbox stay on the wall beside the menu button; the links drop down. */
@media (min-width: 800px) and (max-width: 1099px) {
  .site-header__in { gap: 18px; }
  .site-header .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 0; padding: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .site-header .nav ul { display: none; }
  .site-header .nav.is-open ul { display: flex; position: absolute; left: 0; right: 0; top: 100%; z-index: 1; padding: 4px var(--gut) 22px; background: var(--wash); box-shadow: 0 26px 30px -20px rgb(24 36 31 / .5); }
  .nav__call { flex-wrap: nowrap; gap: 18px; }
  .nav__call .tel { font-size: 26px; }
  .nav__call .btn { flex: none; }
}
/* From 1100px: two decks. The plate and the letterbox on the wall, the menu along the lintel below. */
@media (min-width: 1100px) {
  .site-header::before { height: 36px; }
  .site-header::after { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; }
  .site-header__in { position: relative; z-index: 1; min-height: 0; gap: 24px; padding-block: 16px 70px; }
  .site-header .menu-btn { display: none; }
  .site-header .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 0; margin-left: auto; padding: 0; border: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .site-header .nav ul { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; flex-direction: row; align-items: stretch; gap: clamp(22px, 3vw, 44px); }
  .site-header .nav ul a { display: inline-flex; align-items: center; height: 54px; min-height: 0; padding: 0; border-bottom: 0; font-size: 18px; font-weight: 600; color: #fff; text-decoration: none; }
  .site-header .nav ul a:hover { box-shadow: inset 0 -4px 0 rgb(255 255 255 / .7); }
  .site-header .nav ul a[aria-current] { box-shadow: inset 0 -5px 0 var(--amber); }
  .site-header .nav ul a:focus-visible { outline-color: #fff; outline-offset: -4px; }
  .site-header .nav__call { justify-content: flex-end; gap: 20px; }
  .logo { padding: 6px 22px 6px 6px; gap: 14px; }
  .logo__mark { width: 52px; height: 52px; }
  .logo__text b { font-size: 27px; }
  .logo .logo__text span { font-size: 17px; }
  .tel { font-size: 28px; }
}

/* ---------- Photo heroes: sky, the gable, the dyke ---------- */
.hero { position: relative; }
.hero--photo { padding-block: 16px calc(var(--dyke-h) + 34px); background: linear-gradient(to bottom, var(--mist) 0, var(--paper) 64%); }
.hero--photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--dyke-h); background: var(--dyke); pointer-events: none; }
.hero__title { font-size: clamp(26px, 8.2vw, 44px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; color: var(--head); }
.hero__lead { max-width: 44ch; }
.hero__eyebrow, .crumbs--hero { gap: 10px; font-weight: 600; color: var(--head); }
.hero__eyebrow::before, .crumbs--hero::before { width: 16px; height: 20px; background: var(--potmark) 50% 50% / contain no-repeat; }
.hero--index .hero__eyebrow::before, .hero--index .crumbs--hero::before { background: var(--potmark-dark) 50% 50% / contain no-repeat; }
.crumbs--hero [aria-current] { color: var(--text); }
.hero--index .crumbs--hero [aria-current] { color: var(--on-dark); }
/* The three benefits: each icon is a lit window. */
.hero__points li, .hero--index .hero__points li { gap: 14px; padding: 6px 0; border: 0; font-weight: 600; color: var(--head); }
.hero__points li:last-child { border: 0; }
.hero__points .icon, .hero--index .hero__points .icon { box-sizing: content-box; width: 20px; height: 20px; padding: 7px; border: 2px solid var(--ink); border-radius: 6px; background: var(--amber-soft); color: var(--ink); stroke-width: 2; }
.hero--index .hero__points .icon { border-color: var(--amber); background: none; color: var(--amber); }
.hero__note { font-weight: 400; }

/* The gable. --pk is the height of the pitch as a share of the photograph; --so and --tv keep the slate verge
   parallel to it (overhang x pitch, and the verge's depth). The chimney stands on the apex, behind the verge. */
.hero--photo .hero__media { --pk: 28%; --so: 5.6px; --tv: 14px; --ch: 34px; isolation: isolate; margin: 54px 14px 0; aspect-ratio: 7 / 5; height: auto; max-height: none; }
.hero--photo .hero__media > .photo { z-index: 1; clip-path: polygon(0 var(--pk), 50% 0, 100% var(--pk), 100% 100%, 0 100%); }
.hero--photo .hero__media > .photo > img { border-radius: 0 0 var(--r) var(--r); }
.hero--photo .hero__media::before {
  content: ""; position: absolute; z-index: 1; left: -14px; right: -14px; top: calc(-1 * var(--tv)); height: calc(var(--pk) + var(--so) + var(--tv));
  background: linear-gradient(to bottom, var(--slate) 0, var(--slate-d) 100%);
  clip-path: polygon(0 calc(100% - var(--tv)), 50% 0, 100% calc(100% - var(--tv)), 100% 100%, 50% var(--tv), 0 100%);
}
.hero--photo .hero__media::after {
  content: ""; position: absolute; z-index: 0; left: 50%; width: 60px; margin-left: -30px; top: calc(-1 * (var(--tv) + var(--ch))); height: calc(var(--tv) + var(--ch) + 4px);
  background:
    linear-gradient(#93492a, #93492a) 13px 0 / 14px 3px no-repeat, linear-gradient(#93492a, #93492a) 33px 0 / 14px 3px no-repeat,
    linear-gradient(var(--pot), var(--pot)) 14px 0 / 12px 15px no-repeat, linear-gradient(var(--pot), var(--pot)) 34px 0 / 12px 15px no-repeat,
    linear-gradient(#8b8777, #8b8777) 0 13px / 100% 7px no-repeat,
    linear-gradient(90deg, #d2cdbc, #b9b4a3) 5px 20px / calc(100% - 10px) 100% no-repeat;
}
/* Its caption is a second name plate, fixed to the wall at the foot of the gable. */
.hero__cap {
  left: 12px; right: auto; bottom: 12px; z-index: 2; display: block; max-width: calc(100% - 24px); padding: 9px 16px 10px; border-radius: 8px;
  background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream); color: var(--on-dark);
}
.hero__cap strong { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.25; color: #fff; }
.hero__cap span { display: none; }
.hero__cap a { color: var(--amber); font-weight: 600; }
.hero__cap a:focus-visible { outline-color: var(--amber); }
@media (min-width: 600px) and (max-width: 899px) { .hero--photo .hero__media { width: min(100% - 28px, 600px); margin-inline: auto; } }
@media (max-width: 400px) { .hero__cap { left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 7px 13px 8px; } .hero__cap strong { font-size: 16px; } }
@media (min-width: 900px) {
  .hero--photo { padding-block: 26px calc(var(--dyke-h) + 44px); }
  .hero--caption .hero__grid { grid-template-columns: minmax(0, 1fr) clamp(350px, 43vw, 580px); gap: clamp(30px, 4.4vw, 60px); align-items: center; }
  .hero--caption.hero--portrait .hero__grid { grid-template-columns: minmax(0, 1fr) clamp(350px, 37vw, 478px); }
  .hero--caption .hero__text { padding-block: 10px; }
  .hero--caption .hero__media, .hero--caption.hero--portrait .hero__media { --tv: 18px; --ch: 46px; align-self: center; margin: 70px 14px 0; aspect-ratio: 7 / 5; height: auto; min-height: 0; max-height: none; }
  .hero--caption.hero--portrait .hero__media { --pk: 25.8%; --so: 8.7px; aspect-ratio: 5 / 6; }
  .hero--photo .hero__media::after { width: 72px; margin-left: -36px; background-position: 16px 0, 41px 0, 17px 0, 42px 0, 0 13px, 5px 20px; }
  .hero__title { font-size: clamp(36px, 3.5vw, 46px); line-height: 1.04; }
  .hero--portrait .hero__title { font-size: clamp(38px, 4.6vw, 60px); }
  .hero--caption .hero__text .hero__lead { font-size: 20px; }
  /* The plate is fixed across the corner of the wall, half off the gable. */
  .hero__cap { left: -34px; bottom: 26px; max-width: min(calc(100% - 20px), 350px); padding: 12px 20px 13px; box-shadow: inset 0 0 0 2px var(--cream), 0 3px 0 rgb(24 36 31 / .28); }
  .hero__cap strong { font-size: 18px; }
  .hero__cap a { margin-block: 0 -8px; }
}
@media (min-width: 1200px) {
  .hero__cap span { display: block; margin-top: 3px; line-height: 1.4; }
}

/* ---------- Text heroes: evening over the steading. The roofline closes the band ---------- */
.hero--index { padding-bottom: calc(clamp(40px, 5vw, 64px) + 58px); }
.hero--index::after { left: 0; right: 0; bottom: -1px; height: 46px; background: var(--roofline-paper) 50% 100% / 368px 46px repeat-x; }
.hero--index .hero__lead { color: #fff; }
.hero--index .hero__note { color: var(--on-dark); }
@media (min-width: 900px) {
  .hero--index { padding-bottom: calc(clamp(40px, 5vw, 64px) + 74px); }
  .hero--index::after { height: 60px; background-size: 480px 60px; }
  .hero--index .hero__title, .hero--index .hero__head .hero__title { font-size: clamp(42px, 4.5vw, 62px); }
}

/* ---------- Dark bands and the footer open on the same roofline, dark against the band above ---------- */
.whyus, .site-footer { position: relative; }
.whyus::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 46px; background: var(--roofline) 50% 100% / 368px 46px repeat-x; pointer-events: none;
}
@media (min-width: 900px) { .whyus::before, .site-footer::before { height: 60px; background-size: 480px 60px; } }

/* ---------- Panelled bands: tongue and groove under a dado rail ---------- */
.band-mist, .feature--balanced { position: relative; background: var(--tg), var(--mist); --line: var(--line-mist); }
.band-mist::before, .feature--balanced::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--dado); pointer-events: none; }
.also.band-mist { background: var(--paper); --line: var(--line); }
.also.band-mist::before { display: none; }

/* ---------- Finance: the hearth. A timber mantel, the glow of the fire below ---------- */
.strip {
  position: relative; padding-block: 16px 0; color: var(--cream);
  background: radial-gradient(70% 150% at 50% 128%, #94401a 0%, #5c2716 44%, #0000 78%), var(--hearth);
}
.strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--beam), var(--timber); box-shadow: 0 5px 10px rgb(0 0 0 / .45); }
.strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #0000, var(--amber) 30%, #ffd27a 50%, var(--amber) 70%, #0000); }
.strip__in { flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-block: clamp(26px, 3.4vw, 40px); font-size: 18px; line-height: 1.45; }
.strip__in .icon { display: none; }
.strip__in p { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.36; color: #fff; }
.strip a { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-left: auto; padding: 6px 26px; border-radius: 8px; background: var(--amber); font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--brass-ink); text-decoration: none; white-space: normal; }
.strip a:hover { background: #ffc35c; }
.strip a:focus-visible { outline-color: #fff; border-radius: 8px; }
@media (max-width: 699px) { .strip a { flex: 1 1 100%; margin-left: 0; } }
@media (min-width: 700px) { .strip__in p { flex-wrap: nowrap; } }
.financebox { border: 0; border-top: 8px solid var(--timber); border-radius: 12px; background: var(--hearth); font-weight: 400; color: #fff; }
.financebox .icon { color: var(--amber); }

/* ---------- Home: the wet room card is a gable; the things that shape the job sit beside it; a card with no
   photograph is an enamel sign under the row, on purpose ---------- */
.types .types__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.types .typecard__link { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; padding: 10px; border-radius: var(--r); background: var(--wash); }
.types .typecard figure { grid-row: 1 / -1; aspect-ratio: 1 / 1; border-radius: 12px; }
.types .typecard h3 { margin-top: 4px; font-size: 20px; }
.types .typecard p { margin-top: 4px; font-size: 17px; line-height: 1.5; }
.types .typecard .iconcard { aspect-ratio: 1 / 1; border-radius: 12px; background: none; box-shadow: inset 0 0 0 2px var(--amber); color: var(--amber); }
.types .typecard:has(.iconcard) .typecard__link { background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream); color: var(--on-dark); }
.types .typecard:has(.iconcard) h3 { color: #fff; }
/* The lead card: photograph first, pitched, its title on a name plate. */
.types .typecard:first-child .typecard__link { display: block; padding: 0; background: none; }
.types .typecard:first-child figure { aspect-ratio: 4 / 3; border-radius: 0 0 var(--r) var(--r); clip-path: polygon(0 30%, 50% 0, 100% 30%, 100% 100%, 0 100%); }
.types .typecard:first-child h3 {
  position: relative; display: table; margin: -26px 0 0 12px; padding: 10px 18px; border-radius: 8px; background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream);
  font-size: 21px; color: #fff;
}
.types .typecard:first-child h3 .icon { color: var(--amber); stroke-width: 2; }
.types .typecard:first-child p { margin-top: 12px; font-size: 18px; line-height: 1.6; }
a.typecard__link:hover h3 { text-decoration-color: var(--amber); }
.types .textlink { margin-top: 28px; }
@media (max-width: 360px) { .types .typecard__link { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; } .types .typecard:first-child .typecard__link { display: block; } }
@media (min-width: 700px) {
  .types .types__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 28px; align-items: start; }
  .types .typecard:first-child { grid-column: 1; grid-row: 1 / span 4; }
  .types .typecard:first-child figure { aspect-ratio: 5 / 6; clip-path: polygon(0 24%, 50% 0, 100% 24%, 100% 100%, 0 100%); }
  .types .typecard:not(:first-child) { grid-column: 2; }
  .types .typecard__link { grid-template-columns: 120px minmax(0, 1fr); column-gap: 20px; }
  .types .typecard h3 { margin-top: 8px; }
}
@media (min-width: 1000px) {
  .types .types__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 22px 24px; align-items: stretch; }
  .types .typecard:first-child { grid-column: 1; grid-row: 1 / span 2; display: flex; }
  .types .typecard:first-child .typecard__link { display: flex; flex-direction: column; width: 100%; }
  .types .typecard:first-child figure { flex: 1 1 auto; aspect-ratio: auto; min-height: 380px; clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%); }
  .types .typecard:first-child h3 { margin: -28px auto 0 18px; font-size: 24px; }
  .types .typecard:not(:first-child) { grid-column: auto; }
  .types .typecard:not(:first-child) .typecard__link { display: block; padding: 0; background: none; }
  .types .typecard:not(:first-child) figure { aspect-ratio: 4 / 5; border-radius: var(--r); }
  .types .typecard:not(:first-child) h3 { margin-top: 14px; font-size: 21px; }
  .types .typecard:not(:first-child) p { margin-top: 6px; font-size: 18px; line-height: 1.55; }
  /* No photograph: the sign runs under the three photographs. */
  .types .typecard:has(.iconcard) { grid-column: 2 / -1; grid-row: 2; align-self: end; }
  .types .typecard:not(:first-child):has(.iconcard) .typecard__link { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 22px; align-items: center; padding: 18px 26px 18px 18px; background: var(--firth); border-radius: 12px; }
  .types .typecard:not(:first-child):has(.iconcard) figure { grid-row: 1 / -1; aspect-ratio: 1 / 1; border-radius: 10px; }
  .types .typecard:not(:first-child):has(.iconcard) h3 { align-self: end; margin-top: 0; font-size: 22px; }
  .types .typecard:not(:first-child):has(.iconcard) p { align-self: start; margin-top: 4px; }
  .types .intro { margin-bottom: 40px; }
}

/* ---------- The steps: a row of cottages, each with its house number ---------- */
.steps li { grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; }
.steps li::before { left: 28px; top: 70px; bottom: 4px; width: 0; border-left: 2px dotted var(--timber); background: none; }
.steps__badge { width: 58px; height: 62px; border: 0; border-radius: 0 0 6px 6px; background: var(--firth); color: #fff; clip-path: polygon(0 34%, 50% 0, 100% 34%, 100% 100%, 0 100%); }
.steps__badge .icon { display: none; }
.steps__badge b { position: static; width: auto; height: auto; margin-top: 12px; background: none; font-size: 26px; font-weight: 700; color: #fff; }
.steps h3 { margin-top: 8px; font-size: 21px; }
.process .actions--center { justify-content: flex-start; }
@media (min-width: 1000px) {
  .steps, .steps--n5 { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; padding-top: 44px; }
  .steps--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* The ground they stand on. */
  .steps::after { content: ""; grid-column: 1 / -1; height: 8px; margin-inline: -14px; border-radius: 2px; background: var(--beam), var(--timber); }
  .steps li, .steps li:last-child { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 92px 18px 30px; text-align: center; }
  /* The wall. */
  .steps li::before, .steps li:last-child::before {
    display: block; z-index: -1; inset: 0; width: auto; height: auto; border: 0; background: var(--wash);
    clip-path: polygon(0 62px, 50% 0, 100% 62px, 100% 100%, 0 100%);
  }
  /* The slate verge. */
  .steps li::after {
    content: ""; position: absolute; z-index: 1; left: -8px; right: -8px; top: -11px; height: 78px; background: var(--slate);
    clip-path: polygon(0 calc(100% - 11px), 50% 0, 100% calc(100% - 11px), 100% 100%, 50% 11px, 0 100%);
  }
  /* The chimney, and the number plate in the gable. */
  .steps__badge { position: static; display: block; width: auto; height: auto; border-radius: 0; background: none; clip-path: none; }
  .steps__badge::before {
    content: ""; position: absolute; z-index: -2; left: 50%; top: -36px; width: 30px; height: 40px; margin-left: -15px;
    background: linear-gradient(var(--pot), var(--pot)) 50% 0 / 10px 12px no-repeat, linear-gradient(#8b8777, #8b8777) 0 10px / 100% 5px no-repeat, linear-gradient(90deg, #d2cdbc, #b9b4a3) 3px 15px / calc(100% - 6px) 100% no-repeat;
  }
  .steps__badge b {
    position: absolute; left: 50%; top: 30px; right: auto; display: grid; place-items: center; width: 48px; height: 38px; margin: 0 0 0 -24px; border-radius: 50%;
    background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream); font-size: 21px; line-height: 1; color: #fff;
  }
  .steps__badge .icon { display: block; box-sizing: content-box; width: 24px; height: 24px; padding: 9px; border: 2px solid var(--ink); border-radius: 6px; background: var(--amber-soft); color: var(--ink); stroke-width: 1.75; }
  .steps h3 { margin-top: 16px; font-size: 21px; }
  .steps p { margin-top: 6px; }
  .process .intro { margin-bottom: 30px; }
  .process .actions { margin-top: 40px; }
}

/* ---------- Photograph beside copy ---------- */
.split { row-gap: 24px; }
.split__under .actions { margin-top: 0; }
.points--tile .points__icon, .band-stone .points--tile .points__icon, .band-mist .points--tile .points__icon, .feature--warm .points--tile .points__icon {
  width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 8px; background: var(--amber-soft); color: var(--ink);
}
.points--ring .points__icon { width: 48px; height: 48px; border: 2px solid var(--timber); border-radius: 8px; background: var(--wash); color: var(--timber-d); }
.points--ring p { font-weight: 600; }
.points--rule .points__icon { border-bottom: 2px solid var(--timber); color: var(--timber-d); }
.points--plain .points__icon, .points--tick .points__icon { color: var(--timber-d); }
.points--tick .icon { stroke-width: 2.6; }
.points--check .points__icon { border-radius: 6px; background: var(--ink); color: var(--amber); }
.who .points, .feature--plain .points--ring { border-radius: var(--r); background: var(--wash); }
.pull { border-left: 4px solid var(--timber); }
.pull p { font-family: var(--serif); font-weight: 500; }

/* ---------- Bathroom Ideas: one row under the eaves ---------- */
.ideas { position: relative; overflow: visible; overflow-x: clip; }
.ideas.band-stone { padding-top: calc(clamp(48px, 6vw, 84px) + 54px); }
.ideas.band-stone::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 54px; background: var(--slates), var(--slate); box-shadow: 0 8px 14px -6px rgb(24 36 31 / .45); }
/* Straight after a hero the dyke is the edge; no roof on top of a wall. */
.hero + .ideas.band-stone { padding-top: clamp(48px, 6vw, 84px); }
.hero + .ideas.band-stone::before { display: none; }
.rail--ideas { gap: 14px; }
.rail--ideas figcaption { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; font-size: 17px; line-height: 1.35; color: var(--ink); }
.rail--ideas figcaption::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--timber); clip-path: polygon(0 45%, 50% 0, 100% 45%, 100% 100%, 0 100%); }
/* Stacked: heading, then the photographs, then the sentence and the buttons. */
@media (max-width: 899px) {
  .ideas__grid .h2 { order: -2; margin-bottom: 22px; }
  .ideas__grid .rail { order: -1; }
  .ideas__grid .lead { margin: 18px 0 0; }
  .ideas__grid .carousel__nav { order: 0; margin-top: 14px; }
  .ideas__grid .lead { order: 1; }
  .ideas__copy > .textlink { order: 2; margin: 14px 0 0; }
  .ideas__grid .actions { order: 4; }
}
@media (min-width: 900px) {
  .rail--ideas { gap: 20px; }
  .ideas--row .ideas__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* ---------- Installation stages: house numbers down the lane ---------- */
.timeline li, .timeline li:last-child { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; border-color: var(--line); }
.timeline__num, .fitrow b {
  display: grid; place-items: center; width: 56px; height: 44px; border-radius: 50%; background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream), 0 2px 0 rgb(24 36 31 / .25);
  font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: 0; color: #fff;
}
.timeline h3 { font-size: 22px; }
.timeline h3 .icon { color: var(--timber-d); }
.timeline li > div { padding-top: 6px; }
.fitrow b { width: 44px; height: 36px; font-size: 18px; }
.fitrow li { font-weight: 600; }
@media (min-width: 640px) { .split__body .fitrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; } .fitrow li { align-items: center; } }
@media (min-width: 900px) { .timeline li, .timeline li:last-child { grid-template-columns: 56px minmax(0, 1fr); gap: 22px; } }

/* ---------- Why us: three lit windows on the dark band ---------- */
.whyus { margin-top: 46px; }
.trio li { padding: 26px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.trio__icon { width: 54px; height: 54px; border: 2px solid var(--amber); border-radius: 8px; background: none; color: var(--amber); }
.trio h3 { font-size: 23px; }
.trio h3:empty { display: none; }
.trio h3:empty + p { margin-top: 20px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3; color: #fff; }
@media (min-width: 900px) { .whyus { margin-top: 60px; } }

/* ---------- FAQ: an open question has its light on ---------- */
.faq details, .faq details:last-child { border-color: var(--line); }
.faq summary { gap: 18px; padding: 18px 0; }
.faq summary h3 { font-size: 20px; line-height: 1.28; }
.faq summary:focus-visible { border-radius: 8px; }
.faq__mark { width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 6px; background: var(--wash); }
.faq__mark .icon { stroke-width: 2; }
.faq details[open] .faq__mark { transform: none; border-color: var(--ink); background: var(--amber); color: var(--ink); }
.faq__mark .icon { transition: transform .2s; }
.faq details[open] .faq__mark .icon { transform: rotate(45deg); }
.faq details[open] summary h3 { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Coverage: over the dyke, the towns on their plates ---------- */
.coverage { position: relative; }
.coverage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--dyke-h); background: var(--dyke); pointer-events: none; }
.coverage__group h3 { font-size: 21px; border-bottom: 2px solid var(--timber); }
@media (min-width: 1000px) { .coverage__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 28px; } }
.coverage__group h3 .icon { color: var(--timber-d); }

/* ---------- Find us: the number on the wall ---------- */
.findus__list { border-radius: var(--r); background: var(--wash); box-shadow: 0 0 0 1px var(--line); }
.findus__list > li:only-child { grid-column: 1 / -1; }
.findus__icon, .popular__icon, .offer__icon { border: 2px solid var(--ink); border-radius: 8px; background: var(--amber-soft); color: var(--ink); }
.findus__list strong { font-weight: 600; }
.findus__num { margin-top: 4px; font-size: clamp(34px, 10.6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.findus__num:hover { color: var(--timber-d); text-decoration: none; }
@media (max-width: 519px) {
  .findus__list > li { grid-template-columns: minmax(0, 1fr); }
  .findus__tel .findus__icon { display: none; }
}
@media (min-width: 900px) {
  .findus__list > li:only-child { grid-template-columns: minmax(0, 1fr); padding: clamp(24px, 2.8vw, 38px) clamp(24px, 3vw, 40px); }
  .findus__list > li:only-child .findus__icon { display: none; }
  .findus__list > li:only-child > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .findus__list > li:only-child > div > strong { grid-column: 1 / -1; }
  .findus__list > li:only-child .findus__num { justify-self: start; }
  .findus__list > li:only-child .findus__actions { margin: 0; padding-bottom: 8px; }
  .findus__list > li:only-child .findus__actions .btn { min-height: 62px; padding-inline: 44px; font-size: 20px; }
  .findus__list > li:only-child .findus__actions .btn::before { inset-inline: 22px; }
}

/* ---------- Enquiry: the front door (green boards, brass numerals, the letterbox) beside the form ---------- */
.callcard {
  border: 8px solid var(--wash); border-radius: var(--r); color: var(--on-dark);
  background: repeating-linear-gradient(90deg, #0000 0 60px, rgb(0 0 0 / .42) 60px 61.5px, rgb(255 255 255 / .07) 61.5px 63px), var(--door);
  box-shadow: 0 0 0 1px var(--line-mist);
}
.callcard__num { font-size: clamp(34px, 10vw, 46px); font-weight: 700; letter-spacing: -0.01em; line-height: 1; color: var(--brass-num); }
.callcard__num:hover { color: #fff; text-decoration: none; }
.callcard__num:focus-visible { outline-color: var(--amber); }
.callcard__points { border-top: 1px solid rgb(255 255 255 / .28); }
.callcard__points li { font-weight: 400; }
.callcard__points svg { color: var(--amber); }
.callcard .btn { justify-self: stretch; }
.form { box-shadow: 0 0 0 1px var(--line-mist); }
.form label { font-weight: 600; }
.form input, .form textarea { border-color: var(--field); border-radius: 8px; }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--ink); border-color: var(--ink); }
.form__status { border-radius: 8px; font-weight: 600; }
@media (min-width: 900px) { .enquiry__panel .callcard__num { font-size: clamp(40px, 4.4vw, 60px); } }

/* ---------- Before and after ---------- */
.ba__frame { aspect-ratio: 8 / 5; }
.ba__tag { top: 12px; padding: 4px 12px; border-radius: 6px; font-weight: 600; }
.ba__tag--before { left: 12px; background: var(--firth); box-shadow: inset 0 0 0 1.5px var(--cream); color: #fff; }
.ba__tag--after { right: 12px; background: var(--amber); color: var(--brass-ink); }
.ba figcaption { font-weight: 600; }
.ba__handle:focus-visible .ba__knob { outline-color: var(--amber); }
.gallerypairs__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin: 0; }
@media (min-width: 800px) {
  /* The first pair is shown large; the other two sit under it. */
  .gallerypairs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
  .gallerypairs__list > li:first-child { grid-column: 1 / -1; }
  .gallerypairs__list > li:first-child .ba__frame { aspect-ratio: 2 / 1; }
  .gallerypairs__list > li:first-child figcaption { font-size: 18px; }
}

/* ---------- Gallery page: rows of two, wide beside narrow, turn about ---------- */
.gallerygrid__list { gap: 12px; }
.gallerygrid img, .gallerygrid .ph { aspect-ratio: 3 / 2; border-radius: var(--r); }
@media (max-width: 699px) {
  .gallerygrid__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gallerygrid img { border-radius: var(--r); }
}
@media (min-width: 700px) {
  .gallerygrid__list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .gallerygrid__list > li { grid-column: span 5; }
  .gallerygrid__list > li:nth-child(4n + 1), .gallerygrid__list > li:nth-child(4n) { grid-column: span 7; }
  .gallerygrid img, .gallerygrid .ph { height: clamp(230px, 28vw, 360px); aspect-ratio: auto; }
  .gallerygrid__list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Town, style and hub pages: rows, panels, plates ---------- */
.districts--compact .chip, .districts .chips--plain .chip { border-radius: 6px; background: var(--stone); font-weight: 400; color: var(--ink); }
.band-stone.districts .chip { background: var(--wash); }
.districts .note .icon { color: var(--timber-d); }
.related__list a, .related__list span { border: 2px solid var(--ink); border-radius: 8px; background: var(--wash); box-shadow: 0 2px 0 rgb(34 48 42 / .22); }
.related__list a:hover { background: var(--ink); color: #fff; }
.related__list a:hover .icon { color: var(--amber); }
.related__list b { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.related__list .icon:first-child { color: var(--timber-d); }
.onward__col, .onward__more, .nearby { border-top: 2px solid var(--timber); }
.directory__row h3 { font-size: 26px; }
.directory__row h3 .icon { color: var(--timber-d); }
.directory__row ul { display: flex; flex-wrap: wrap; gap: 12px; }
.directory__foot { border-radius: var(--r); background: var(--stone); }
.directory__foot p { font-weight: 600; }
.popular__list li, .popular__list li:last-child { border: 0; }
.popular__list a, .popular--photo .popular__list a { padding: 18px; border-radius: 12px; background: var(--wash); box-shadow: 0 0 0 1px var(--line); }
.popular__list li + li { margin-top: 12px; }
.popular__go { border: 2px solid var(--ink); border-radius: 8px; }
.popular__list a:hover .popular__go { border-color: var(--ink); background: var(--amber); color: var(--ink); }
@media (max-width: 519px) {
  .popular__list .popular__go { width: 22px; border: 0; background: none; color: var(--timber-d); }
  .popular__list p { grid-column: 1 / -1; margin-top: 10px; font-size: 18px; }
  .popular__list .popular__icon, .popular__list .popular__go { grid-row: 1; }
  .popular__list h3 { align-self: center; }
  .popular__list a:hover .popular__go { background: none; color: var(--ink); }
}
@media (min-width: 900px) {
  .popular > .container:has(> .popular__list--n1) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: center; }
  .popular > .container:has(> .popular__list--n1) .popular__head { display: block; margin-bottom: 0; }
  .popular > .container:has(> .popular__list--n1) .popular__head .textlink { margin-top: 18px; }
  .popular__list.popular__list--n1 { grid-template-columns: minmax(0, 1fr); }
  .popular__list a, .popular--photo .popular__list a { padding: 24px; }
}
.notfound__links a { border-radius: 12px; background: var(--wash); box-shadow: 0 0 0 1px var(--line); }
.notfound__code { color: var(--timber-d); }
.notfound__links svg { color: var(--timber-d); }
.iconcard { background: var(--firth); color: var(--amber); }

/* ---------- Bathroom types hub: one style, shown as one gable beside its words ---------- */
.typegroup .types__grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.typegroup .typecard p { font-size: 18px; line-height: 1.6; }
.typegroup .typecard figure { aspect-ratio: 5 / 6; border-radius: 0 0 var(--r) var(--r); clip-path: polygon(0 24%, 50% 0, 100% 24%, 100% 100%, 0 100%); }
.typegroup .typecard h3 { position: relative; display: table; margin: -26px 0 0 12px; padding: 10px 18px; border-radius: 8px; background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream); font-size: 21px; color: #fff; }
.typegroup .typecard h3 .icon { color: var(--amber); stroke-width: 2; }
.typegroup .typecard p { margin-top: 12px; }
@media (min-width: 640px) {
  .typegroup .types__grid > li:only-child .typecard__link { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(28px, 4vw, 52px); }
  .typegroup .types__grid > li:only-child figure { grid-area: 1 / 1 / -1 / 2; }
  .typegroup .types__grid > li:only-child h3 { grid-area: 2 / 2; justify-self: start; margin: 0; font-size: clamp(24px, 2.6vw, 30px); }
  .typegroup .types__grid > li:only-child p { grid-area: 3 / 2; margin: 16px 0 0; max-width: 32ch; }
}

/* ---------- About ---------- */
.aboutrow--open .lead { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 29px); font-weight: 500; line-height: 1.32; letter-spacing: -0.01em; }
.aboutrow .h2 { font-size: clamp(27px, 3vw, 38px); }
.aboutrow__grid, .aboutrow:first-child .aboutrow__grid { border-top: 0; }
.people { gap: 16px; }
.people figcaption { position: relative; display: table; margin: -22px 0 0 10px; padding: 8px 16px; border-radius: 8px; background: var(--firth); box-shadow: inset 0 0 0 2px var(--cream); }
.people figcaption b, .people figcaption span, .people figcaption span:only-child { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; }
@media (min-width: 900px) { .people { gap: 22px; } }

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

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding-block: clamp(40px, 5vw, 60px) 28px; }
@media (max-width: 799px) { .site-footer { padding-bottom: 108px; } }
.site-footer .tel { font-size: clamp(34px, 9.6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -0.01em; color: var(--brass-num); }
.site-footer .tel:hover { color: #fff; text-decoration: none; }
.site-footer__brand p { margin-top: 20px; }
.site-footer__lists { border-top: 1px solid rgb(255 255 255 / .22); }
.site-footer__col h2 { font-size: 20px; font-weight: 700; color: #fff; }
.site-footer__all .icon, .site-footer__facts .icon { color: var(--amber); }
.site-footer__legal { border-top: 1px solid rgb(255 255 255 / .22); }
.enquiry { padding-bottom: calc(clamp(56px, 7.5vw, 108px) + 40px); }

/* ---------- Mobile Call now bar ---------- */
.callbar { padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); border-top: 0; background: var(--firth); box-shadow: 0 -8px 22px rgb(24 36 31 / .3); }
.callbar .btn { min-height: 54px; font-size: 20px; }

/* ---------- Plain pages ---------- */
.crumbs a { font-weight: 600; }
.prose h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.prose li::marker { color: var(--timber-d); }
.prose-page__head .hero__title { font-size: clamp(34px, 4.6vw, 54px); }
.prose__call { border-radius: var(--r); background: var(--stone); color: var(--ink); }
.prose__call p { font-weight: 600; }
.tbc { font-weight: 600; }

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

/* MOBILE HERO PHOTO (25 Nov 2026): show more of the picture on phones */
@media (max-width: 899px) {
  .hero.hero--cover > .hero__media { height: min(104vw, 540px); }
  .hero.hero--cover > .hero__grid { margin-top: -44px; }
  .hero--caption .hero__media > .photo { aspect-ratio: 1 / 1; max-height: 560px; }
}
