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

/* Abbeygate Bathrooms: the site's own look. Loaded after the engine's site.css (site.json "design").
   "The gate": an editorial, magazine-like page built around one shape, the round abbey arch.
   - The home hero photograph stands in a full arch ringed by two hairline orders, like a Norman doorway.
     The same arch returns small: the logo mark, the icon niches, the portraits, the situation cards.
   - Fraunces carries every heading at a light 400. Italic is a rule, not decoration: the place line of
     each H1, the opening statement, captions, the page you are on. Inter does the reading.
   - A two-deck masthead closed by a thick-and-thin rule; hairlines between plain sections; the before
     and after spread and the footer colophon are the two dark pages; finance is a wine band between rules.
   House rules kept: body 18px / 1.65 / #303030, small text 16px or more, photographs 16px corners
   (the arch and the one "shoulder" corner are deliberate larger radii), photograph first when stacked.
   Plum (--timber) is 7.9:1 on white and 7.2:1 on the paper, so it is safe for text. */

:root {
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --plum: var(--timber);
  --plum-d: var(--timber-d);
  --night: var(--firth);
  --rose: var(--sand);
  --wine: #4c2143;                         /* finance band: between the plum and the night */
  --field: #766b78;                        /* form field borders, 4.9:1 on white */
  --rose-line: rgb(230 201 220 / .34);     /* hairlines on the dark pages */
  --shoulder: clamp(52px, 9vw, 124px);     /* the one large corner on a section photograph */
  --niche: 23px 23px 7px 7px;              /* a 46px-wide icon niche */
}

body { font-family: var(--sans); }

/* ---------- Type ---------- */
.h2, .hero__title, h3, .h3, .logo__text, .tel, .callcard__num, .findus__num, .timeline__num, .steps__badge b,
.fitrow b, .prose h2, figcaption, .nav ul a, .notfound__code, .notfound__links span, .related__list b { font-family: var(--serif); }
.h2 { font-size: clamp(31px, 3.7vw, 54px); line-height: 1.05; letter-spacing: -0.028em; font-weight: 400; }
h3, .h3 { font-size: 22px; line-height: 1.22; letter-spacing: -0.012em; font-weight: 500; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; }
figcaption { margin-top: 11px; font-size: 18px; line-height: 1.35; font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
/* A note under a photograph reads as its caption; the council line on a town page is a small label. */
.note { font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 400; line-height: 1.4; }
.districts .note { font-family: var(--sans); font-size: 16px; font-style: normal; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-d); }
.textlink { text-wrap: balance; }
.textlink a { text-decoration-color: var(--plum); text-decoration-thickness: 1px; }
.textlink .icon { color: var(--plum); }
.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: 1px; }
.site-header :focus-visible, .site-footer :focus-visible, .band-firth :focus-visible, .baband :focus-visible,
.strip :focus-visible, .callcard :focus-visible { outline-color: var(--rose); }
.site-header :focus-visible { outline-color: var(--plum); }

/* Plain sections that follow one another are parted by a hairline the width of the page grid. */
.hero--photo + .section:not([class*="band-"]),
.section:not([class*="band-"]) + .section:not([class*="band-"]):not(.related) {
  background: linear-gradient(var(--line), var(--line)) 50% 0 / min(var(--max), calc(100% - 2 * var(--gut))) 1px no-repeat;
}

/* ---------- Buttons: pills, the round of the arch ---------- */
.btn { min-height: 54px; padding: 8px 28px; border-radius: 999px; font-weight: 600; letter-spacing: -0.005em; }
.btn--call { background: var(--plum); color: #fff; }
.btn--call:hover { background: var(--plum-d); }
.btn--quote { border-color: var(--ink); }
.btn--solid { border-color: var(--ink); }
.btn--solid:hover { border-color: var(--ink-hover); }
.btn--on-dark, .band-firth .btn--call, .baband .btn--call { background: var(--rose); color: var(--ink); }
.btn--on-dark:hover, .band-firth .btn--call:hover, .baband .btn--call:hover { background: var(--accent-hover); }
.round { border-width: 1px; }
.round:hover:not(:disabled) { background: var(--plum); border-color: var(--plum); }
.dots i.is-on { background: var(--plum); }

/* ---------- Masthead ---------- */
.site-header { border-bottom: 0; }
.site-header::after { content: ""; display: block; height: 6px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.logo { gap: 13px; }
.logo__mark { border-radius: 26px 26px 7px 7px; }
.logo__text { line-height: 1; }
.logo__text b { font-size: 27px; font-weight: 500; letter-spacing: -0.03em; }
.logo .logo__text span { margin-top: 3px; font-size: 18px; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--plum); }
.nav ul a { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; text-underline-offset: 6px; }
.nav ul a:hover { text-decoration-color: var(--plum); text-decoration-thickness: 1px; }
.nav ul a[aria-current] { font-style: italic; color: var(--plum); text-decoration: none; }
.site-header .tel { font-size: 25px; font-weight: 500; letter-spacing: -0.02em; }
.menu-btn { border-width: 1px; border-radius: 999px; font-weight: 600; }
@media (max-width: 999px) {
  .site-header .nav { padding-bottom: 24px; box-shadow: 0 26px 30px -22px rgb(34 26 43 / .5); border-bottom: 1px solid var(--ink); }
  .site-header .nav ul a { min-height: 56px; font-size: 22px; }
  .site-header .nav__call { padding-top: 6px; }
}
@media (max-width: 380px) {
  .site-header .nav__call { gap: 8px; }
  .site-header .nav__call .tel { font-size: 21px; }
  .site-header .nav__call .btn { padding-inline: 18px; }
}
@media (max-width: 479px) {
  .logo__mark { border-radius: 19px 19px 6px 6px; }
  .logo__text b { font-size: 23px; }
  .logo .logo__text span { font-size: 16px; }
  .site-header .tel { font-size: 23px; }
}
/* From 1000px the masthead has two decks: the name with the number and Call now, then the contents line.
   It fits six links at any width, so 1280px laptops get the full menu and nothing wraps. */
@media (min-width: 1000px) {
  .site-header__in { position: relative; flex-wrap: wrap; gap: 0; min-height: 0; }
  .site-header .logo { min-height: 98px; }
  .site-header .logo__mark { width: 56px; height: 56px; border-radius: 28px 28px 8px 8px; }
  .site-header .logo__text b { font-size: 31px; }
  .site-header .logo .logo__text span { font-size: 19px; }
  .site-header .menu-btn { display: none; }
  .site-header .nav {
    display: flex; position: static; flex: 0 0 100%; flex-direction: row; align-items: center; gap: 0; margin: 0; padding: 0;
    background: none; border: 0; border-top: 1px solid var(--line); box-shadow: none; max-height: none; overflow: visible;
  }
  .site-header .nav ul { flex: 1 1 auto; flex-direction: row; justify-content: space-between; gap: 20px; }
  .site-header .nav ul a { display: inline-flex; min-height: 54px; font-size: 19px; border-bottom: 0; }
  .site-header .nav__call { position: absolute; top: 0; right: 0; height: 98px; gap: 22px; justify-content: flex-end; }
  .site-header .nav__call .btn { min-height: 50px; }
}

/* ---------- Photo heroes ---------- */
.hero__title { font-size: clamp(27px, 8.5vw, 50px); line-height: 1.02; letter-spacing: -0.032em; font-weight: 400; }
/* The second line of every H1 is the place (or the audience): it is set in italic plum. */
.hero__title span + span { font-style: italic; letter-spacing: -0.028em; color: var(--plum); }
.hero__eyebrow { font-family: var(--serif); font-size: 19px; font-style: italic; color: var(--plum-d); }
.hero__eyebrow::before, .crumbs--hero::before { width: 40px; height: 1px; background: var(--ink); }
.crumbs--hero a { font-weight: 600; text-decoration-thickness: 1px; text-decoration-color: var(--plum); }
/* The trail stays on one line; the page you are on (the H1 says it too) is the part that shortens. */
.crumbs--hero ol { flex-wrap: nowrap; }
.crumbs--hero li { flex: none; }
.crumbs--hero li:last-child { flex: 0 1 auto; min-width: 0; }
.crumbs--hero [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__lead { max-width: 38ch; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.hero__points li { padding: 13px 0; font-weight: 500; }
.hero__points li:last-child { border-bottom-color: var(--ink); }
.hero__points .icon { color: var(--plum); }
.hero__note { color: var(--text-muted-2); }
/* The engine gives the photograph an aspect ratio and lets the row stretch it, which pushes a tall hero off the
   page. Here every hero photograph has its own fixed shape and sits centred beside the copy. */
.hero--caption .hero__media { justify-self: stretch; width: 100%; }
.hero__cap { border-radius: 12px; background: #fff; }
.hero__cap strong { font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.hero__cap a { text-decoration-color: var(--plum); text-decoration-thickness: 1px; }
/* On a phone the plate carries its title only, so the photograph is not covered. */
@media (max-width: 599px) {
  .hero__cap { left: 10px; right: auto; bottom: 10px; max-width: calc(100% - 20px); padding: 7px 14px; }
  .hero__cap span { display: none; }
}
@media (max-width: 420px) { .hero__eyebrow::before { display: none; } }
@media (min-width: 900px) {
  .hero--photo { padding-block: clamp(36px, 4.4vw, 64px) clamp(52px, 6vw, 88px); }
  .hero--caption .hero__grid { align-items: center; }
  .hero--caption .hero__media { align-self: center; height: auto; min-height: 0; max-height: none; }
  .hero--caption .hero__grid .actions { margin-top: 26px; }

  /* Home: the portrait photograph in the gate. 4:5 frame, so 50% across and 40% down is a true half circle. */
  .hero--portrait .hero__grid { grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); }
  .hero--portrait .hero__title { font-size: clamp(38px, 5.6vw - 9px, 67px); line-height: .99; }
  .hero--portrait .hero__media { aspect-ratio: 4 / 5; width: calc(100% - 22px); margin-block: 22px; margin-right: 22px; justify-self: end; }
  .hero--portrait .hero__media > .photo,
  .hero--portrait .hero__media > .photo > img { border-radius: 50% 50% var(--r) var(--r) / 40% 40% var(--r) var(--r); }
  .hero--portrait .hero__media > .photo {
    box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--plum), 0 0 0 21px var(--paper), 0 0 0 22px var(--line);
  }
  .hero--caption.hero--portrait .hero__media > .photo > img { object-position: 50% 30%; }
  /* The caption is a plate hung on the left jamb of the gate. */
  .hero--portrait .hero__cap {
    left: -46px; right: auto; bottom: 46px; width: min(330px, 78%); flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 20px 12px; border: 1px solid var(--ink); box-shadow: 0 22px 36px -22px rgb(34 26 43 / .5);
  }
  .hero--portrait .hero__cap strong { font-size: 22px; }
  .hero--portrait .hero__cap a { margin-block: 0; }

  /* Inner pages: a landscape photograph keeps a landscape frame, with one shoulder. */
  .hero--landscape .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 4.5vw, 64px); }
  .hero--landscape .hero__title { font-size: clamp(36px, 4.05vw, 60px); line-height: 1; }
  .hero--landscape .hero__media { aspect-ratio: 5 / 4; }
  .hero--landscape .hero__media > .photo > img { border-radius: var(--r) var(--shoulder) var(--r) var(--r); }
}

/* ---------- Text heroes (About, Gallery, Areas, Bathroom types): a dark page with the gate drawn in outline ---------- */
.hero--index { position: relative; background: var(--night); overflow: hidden; }
/* The engine's sand floor line becomes the masthead's thick-and-thin rule, in rose. */
.hero--index::after { z-index: 2; height: 6px; background: none; border-top: 1px solid var(--rose); border-bottom: 2px solid var(--rose); }
.hero--index > .container { position: relative; z-index: 1; }
.hero--index .hero__title span + span { color: var(--rose); }
.hero--index .hero__lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); font-style: italic; line-height: 1.4; color: #fff; }
.hero--index .hero__points li { border-color: var(--rose-line); }
.hero--index .hero__points li:last-child { border-bottom-color: var(--rose-line); }
.hero--index .hero__points .icon { color: var(--rose); }
.hero--index .crumbs--hero a { text-decoration-color: var(--rose); }
.hero--index .hero__note { color: var(--on-dark); }
.hero--index .btn--quote { border-color: rgb(255 255 255 / .6); color: #fff; }
.hero--index .btn--quote:hover { background: #fff; border-color: #fff; color: var(--night); }
@media (min-width: 900px) {
  /* The sentence and the three facts stand inside the gate, which rises from the foot of the band. */
  .hero--index { padding-bottom: 0; }
  .hero--index .hero__grid:has(.hero__head) { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(40px, 6vw, 96px); }
  .hero--index .hero__head { padding-bottom: clamp(52px, 5.4vw, 76px); }
  .hero--index .hero__head .hero__title { font-size: clamp(46px, 5vw, 72px); line-height: 1; }
  .hero--index .hero__head + .hero__side { position: relative; margin-right: 18px; padding: clamp(84px, 8vw, 100px) 34px 44px; }
  .hero--index .hero__side::before {
    content: ""; position: absolute; inset: 0 0 -1px; border: 1px solid rgb(230 201 220 / .7); border-bottom: 0; border-radius: 999px 999px 0 0;
    box-shadow: 0 0 0 9px var(--night), 0 0 0 10px rgb(230 201 220 / .28), 0 0 0 19px var(--night), 0 0 0 20px rgb(230 201 220 / .14);
    pointer-events: none;
  }
  .hero--index .hero__side .hero__lead { max-width: 13.5em; margin-inline: auto; text-align: center; }
  .hero--index .hero__head + .hero__side .hero__points { margin-top: 0; padding-top: 26px; }
  .hero--index .hero__side .hero__note { margin-top: 14px; }
}

/* ---------- Photograph beside copy ---------- */
.split .photo > img { border-radius: var(--shoulder) var(--r) var(--r) var(--r); }
.split--flip .photo > img { border-radius: var(--r) var(--shoulder) var(--r) var(--r); }

/* Stacked: a note about a photograph sits directly under it, before the copy; the buttons still close the section. */
@media (max-width: 899px) {
  .split__under { display: contents; }
  .split__under > .actions, .split__under > .financebox { order: 3; }
  .split__under > .note { margin-top: -8px; }
}

/* The opening statement (home "who we are", About first row): set like a standfirst with a dropped initial. */
#who-we-are .lead {
  max-width: 31em; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--ink);
  font-family: var(--serif); font-size: clamp(22px, 2.15vw, 29px); font-style: italic; font-weight: 400;
  line-height: 1.36; letter-spacing: -0.012em; color: var(--ink);
}
#who-we-are .lead::first-letter {
  float: left; margin: .07em .1em 0 0; font-size: 3.2em; font-style: normal; font-weight: 400; line-height: .76; color: var(--plum);
}
#who-we-are.aboutrow .lead { margin-top: 0; }

/* ---------- Icon points ---------- */
.points strong { font-weight: 600; }
.points__icon { color: var(--plum); }
/* The niche: a small arch that holds an icon or a numeral. */
.points--tile .points__icon, .findus__icon, .popular__icon, .offer__icon, .trustbar__icon {
  width: 46px; height: 56px; padding-top: 5px; border: 1px solid var(--plum); border-radius: var(--niche); background: none; color: var(--plum);
}
.band-stone .points--tile .points__icon, .feature--warm .points--tile .points__icon { background: none; }
.points--tile { gap: 0; }
.points--tile li { padding: 15px 0; border-top: 1px solid var(--line); }
.points--tile li:last-child { border-bottom: 1px solid var(--line); }
.split__body > .points--tile { padding-top: 0; margin-top: 28px; }
.points--ring .points__icon { border-width: 1px; border-color: var(--plum); }
.points--rule .points__icon { border-bottom-color: var(--ink); }
.points--check .points__icon { background: var(--plum); }
.pull { border-left-width: 1px; }
.pull p { font-family: var(--serif); font-style: italic; }
.financebox { border: 1px solid var(--plum); border-radius: var(--r-s); background: #fff; color: var(--ink); font-family: var(--serif); font-size: 20px; font-style: italic; font-weight: 400; line-height: 1.35; }
.financebox .icon { color: var(--plum); }
.who .points, .feature--plain .points--ring { border-color: var(--line); }

/* ---------- Before and after: the dark spread ---------- */
.baband { background: var(--night); color: var(--on-dark); --line: var(--rose-line); }
.baband .h2 { color: #fff; }
.baband .lead a { color: #fff; text-decoration-color: var(--rose); }
.baband .lead a:hover { color: var(--rose); }
.baband .btn--quote { border-color: rgb(255 255 255 / .6); color: #fff; }
.baband .btn--quote:hover { background: #fff; border-color: #fff; color: var(--night); }
.baband .round { border-color: #fff; color: #fff; }
.baband .round:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--night); }
.baband .round:disabled { border-color: rgb(255 255 255 / .3); color: rgb(255 255 255 / .45); }
.baband figcaption { color: #fff; }
.baband .dots i { background: rgb(255 255 255 / .3); }
.baband .dots i.is-on { background: var(--rose); }
/* The pairs are landscape photographs: a 4:3 frame shows the room, where the engine's 3:4 cut it in half. */
.ba__frame { aspect-ratio: 4 / 3; background: var(--firth-3); }
.ba__pending { aspect-ratio: 4 / 3; }
.rail--ba > li { flex-basis: min(86%, 440px); }
.ba__tag { top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--night); }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; background: #fff; color: var(--ink); }
.ba__handle::before { width: 2px; margin-left: -1px; box-shadow: 0 0 0 1px rgb(34 26 43 / .25); }
.ba__knob { color: var(--plum); box-shadow: 0 0 0 1px rgb(34 26 43 / .25), 0 6px 18px rgb(0 0 0 / .32); }
@media (min-width: 900px) {
  .baband__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 4vw, 54px); align-items: start; }
  .baband__copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: end; }
  .baband__copy > .h2 { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .baband__copy > .lead { grid-column: 2; margin-top: 0; }
  .baband__copy > .actions { grid-column: 2; margin-top: 22px; }
  .baband__grid .carousel__nav { display: none; }
  .baband__grid .rail { gap: 26px; }
}

/* ---------- Steps: a ruled row of columns, each icon in its niche ---------- */
.steps li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top-color: var(--ink); }
.steps li:last-child { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.steps li::before { display: none; }
.steps__badge { width: 56px; height: 68px; padding-top: 6px; border: 1px solid var(--plum); border-radius: 28px 28px 8px 8px; color: var(--plum); }
.steps__badge b { top: auto; bottom: -10px; right: -10px; width: 30px; height: 30px; font-size: 17px; font-weight: 500; box-shadow: 0 0 0 3px var(--paper); }
.band-stone .steps__badge b { box-shadow: 0 0 0 3px var(--stone); }
.band-mist .steps__badge b { box-shadow: 0 0 0 3px var(--mist); }
.steps h3 { margin-top: 0; font-size: 23px; }
.steps p { margin-top: 5px; }
@media (min-width: 1000px) {
  .steps { gap: 0; border-top: 1px solid var(--ink); }
  .steps li, .steps li:last-child { padding: 32px 24px 4px; border: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { padding-left: 0; border-left: 0; }
  .steps li:last-child { padding-right: 0; }
  .steps h3 { margin-top: 30px; font-size: 24px; }
  .steps p { margin-top: 8px; }
  .process .actions { margin-top: 44px; }
}

/* ---------- Installation timeline: the numeral stands in a niche (never oversized) ---------- */
.timeline li { grid-template-columns: 46px minmax(0, 1fr); gap: 18px; }
.timeline li:first-child { border-top-color: var(--ink); }
.timeline__num {
  display: grid; place-items: center; width: 46px; height: 56px; padding-top: 5px; border: 1px solid var(--plum); border-radius: var(--niche);
  font-size: 24px; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--plum);
}
.timeline h3 .icon { color: var(--plum); }
@media (min-width: 900px) {
  .timeline li { grid-template-columns: 46px minmax(0, 1fr); gap: 22px; }
  .timeline__num { font-size: 24px; }
}
.fitrow b { width: 36px; height: 44px; padding-top: 4px; border: 1px solid var(--plum); border-radius: 18px 18px 6px 6px; background: none; color: var(--plum); font-size: 19px; font-style: italic; font-weight: 400; }
.fitrow li { font-weight: 500; }
/* Town pages, "how we fit": the four steps are a ruled two-by-two beside the photograph, so no step is left on a row of its own. */
.fitrow { gap: 0; margin-top: 26px; border-bottom: 1px solid var(--line); }
.fitrow li, .fitrow li:last-child { align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .fitrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 36px); align-items: stretch; }
  .fitrow li, .fitrow li:last-child { align-items: center; }
  .fitrow li:nth-child(-n + 2) { border-top-color: var(--ink); }
}
@media (max-width: 639px) { .fitrow li:first-child { border-top-color: var(--ink); } }

/* A text-only section (no photograph supplied): the heading takes the left of the page grid and the sentence
   and buttons the right, so the band is not half empty. A hairline parts two bands of the same colour. */
@media (min-width: 900px) {
  .also > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 88px); align-items: start; }
  .also .intro { display: contents; }
  .also .intro > .h2 { grid-column: 1; grid-row: 1 / span 2; }
  .also .intro > .lead { grid-column: 2; margin-top: 6px; }
  .also .actions { grid-column: 2; }
}
.section.band-mist + .section.band-mist, .section.band-stone + .section.band-stone {
  background-image: linear-gradient(var(--line), var(--line)); background-position: 50% 0; background-repeat: no-repeat;
  background-size: min(var(--max), calc(100% - 2 * var(--gut))) 1px;
}

/* ---------- Why us (dark) ---------- */
.trio li { border-color: var(--rose-line); border-radius: var(--r); background: none; }
.trio__icon { width: 46px; height: 56px; padding-top: 5px; border: 1px solid var(--rose); border-radius: var(--niche); background: none; color: var(--rose); }
.trio h3 { font-size: 26px; font-weight: 400; }
.whyus__more a { color: #fff; text-decoration-color: var(--rose); }

/* ---------- Photo rows ---------- */
.rail--ideas figcaption { padding-right: 10px; }
@media (min-width: 900px) {
  .ideas--row .ideas__grid { gap: clamp(36px, 4.6vw, 64px); }
}

/* ---------- Situation cards: an arcade ---------- */
.typecard figure { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r) var(--r) / 40% 40% var(--r) var(--r); }
/* No photograph yet: a square niche (50% across and 50% down is the half circle) with the icon inside a second order. */
.typecard figure:has(.iconcard) { aspect-ratio: 1 / 1; border-radius: 50% 50% var(--r) var(--r) / 50% 50% var(--r) var(--r); background: #fff; }
.iconcard {
  aspect-ratio: auto; margin: 9px; border: 1px solid var(--plum); border-radius: 50% 50% 9px 9px / 50% 50% 9px 9px;
  background: none; color: var(--plum);
}
.iconcard .icon { width: clamp(44px, 5vw, 60px); height: clamp(44px, 5vw, 60px); margin-top: 14%; stroke-width: 1; }
.typecard h3 { font-size: 20px; }
@media (max-width: 699px) {
  .typecard h3 .icon { display: none; }
  a.typecard__link h3 { text-decoration: underline; text-decoration-color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 5px; }
}
.typecard h3 .icon { color: var(--plum); }
@media (min-width: 700px) { .typecard h3 { font-size: 25px; font-weight: 400; } }
@media (min-width: 900px) {
  .types .types__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(20px, 2.6vw, 36px); }
  .types .intro { max-width: 820px; }
}
/* Bathroom types hub with one style page: the single arch stands beside its title, not alone in an empty grid. */
.typegroup .types__grid:has(> .typecard:only-child) { grid-template-columns: minmax(0, 1fr); }
.typegroup .typecard:only-child .typecard__link {
  display: grid; grid-template-columns: minmax(0, min(46%, 300px)) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(18px, 4.5vw, 52px); align-items: start;
}
.typegroup .typecard:only-child figure { grid-column: 1; grid-row: 1 / -1; }
.typegroup .typecard:only-child h3 { grid-column: 2; grid-row: 2; margin-top: 0; }
.typegroup .typecard:only-child p { grid-column: 2; grid-row: 3; margin-top: 8px; max-width: 26em; }
@media (min-width: 700px) {
  .typegroup .typecard:only-child h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.022em; }
  .typegroup .typecard:only-child p { margin-top: 12px; font-size: 18px; line-height: 1.6; }
}

/* ---------- Finance: a wine band between two hairlines ---------- */
.strip { position: relative; background: var(--wine); color: #fff; }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgb(230 201 220 / .5); }
.strip::before { top: 9px; }
.strip::after { bottom: 9px; }
.strip__in {
  align-items: flex-start; justify-content: flex-start; gap: 16px; padding-block: clamp(34px, 4.6vw, 58px);
  font-family: var(--serif); font-size: clamp(23px, 2.75vw, 36px); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em;
}
.strip__in > .icon {
  box-sizing: content-box; width: 24px; height: 24px; padding: 17px 10px 13px; border: 1px solid var(--rose);
  border-radius: var(--niche); color: var(--rose);
}
.strip p { display: grid; gap: 20px; min-width: 0; }
.strip a {
  justify-self: start; display: inline-flex; align-items: center; min-height: 54px; padding: 8px 26px; border-radius: 999px;
  background: var(--rose); color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -0.005em;
  line-height: 1.2; text-decoration: none; white-space: normal; transition: background-color .15s;
}
.strip a:hover { background: #fff; }
@media (min-width: 900px) {
  .strip__in { align-items: center; gap: clamp(22px, 2.6vw, 36px); }
  .strip p { flex: 1 1 auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 4vw, 64px); text-wrap: balance; }
  .strip a { justify-self: end; white-space: nowrap; }
}

/* ---------- FAQ ---------- */
.faq details:first-child { border-top-color: var(--ink); }
.faq summary { padding: 22px 0; }
.faq summary h3 { font-size: clamp(21px, 1.9vw, 25px); font-weight: 400; letter-spacing: -0.018em; }
.faq__mark { border-width: 1px; color: var(--plum); border-color: var(--plum); }
.faq details[open] .faq__mark { background: var(--plum); border-color: var(--plum); }
.faq details[open] summary h3 { font-style: italic; color: var(--plum-d); }

/* ---------- Chips, districts, popular, onward, directory ---------- */
.chip { border: 1px solid var(--line); background: #fff; }
.chip--link { border: 1px solid var(--ink); }
.districts .chips--plain .chip, .districts--compact .chip { border: 1px solid var(--plum); background: none; color: var(--ink); }
.districts .note .icon { color: var(--plum); }
.popular__list li:first-child { border-top-color: var(--ink); }
.popular__go { border-width: 1px; }
.onward__col { border-top-color: var(--ink); }
/* One of a kind: a single popular bathroom or a single onward column runs the full width of the page grid. */
.popular__list.popular__list--n1, .popular__list:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.onward__col:first-child:nth-last-child(2):has(+ .onward__more), .onward__col:only-child { grid-column: 1 / -1; }
.related__list > li { display: grid; }
.related__list a, .related__list span { border-radius: var(--r-s); }
.related__list b { font-size: 21px; font-weight: 400; }
.directory__row h3 { font-size: 26px; font-weight: 400; }
.directory__row a { font-weight: 500; }
.directory__foot { border-radius: var(--r); }

/* ---------- Find us: a ruled contact sheet ---------- */
.findus__list { border-radius: 0; background: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.findus__list > li { padding-inline: 0; border-top-color: var(--line); }
.findus__list strong, .areapanel strong { font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-d); }
.findus__num { font-size: clamp(34px, 3.6vw, 50px); font-weight: 400; letter-spacing: -0.03em; }
.areapanel__line { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.3; color: var(--ink); }
@media (min-width: 900px) {
  .findus__list { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .findus__list > li, .findus__list > li:has(.areapanel) { grid-column: auto; padding: clamp(26px, 3vw, 40px) 0; border: 0; }
  .findus__list > li + li { padding-left: clamp(28px, 4vw, 56px); border-left: 1px solid var(--line); }
}

/* ---------- Enquiry ---------- */
.callcard { background: var(--night); }
.callcard__num { font-weight: 400; letter-spacing: -0.03em; }
.callcard__points { border-top-color: var(--rose-line); }
.form label { font-weight: 600; }
/* With a photograph: it keeps its own landscape shape (nobody is cut in half) and the phone panel fills the rest of the column. */
@media (min-width: 900px) {
  .enquiry__grid--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .enquiry__media .photo, .enquiry__media .photo--landscape, .enquiry__media .photo--portrait { flex: 0 0 auto; aspect-ratio: 3 / 2; }
  .enquiry__media .callcard { flex: 1 1 auto; align-content: center; margin: 18px 0 0; padding: clamp(24px, 2.8vw, 40px); }
  .enquiry__media .callcard__num { font-size: clamp(40px, 4.4vw, 60px); }
}
.form input, .form textarea { border: 1px solid var(--field); }
.form input:focus-visible, .form textarea:focus-visible { outline-color: var(--plum); border-color: var(--plum); }

/* ---------- About ---------- */
.aboutrow__grid { border-top-color: var(--ink); }
.aboutrow .h2 { font-size: clamp(29px, 3.1vw, 44px); }
/* Portraits stand in the gate. 3:4 frame: 50% across and 37.5% down is a true half circle. */
.people img { border-radius: 50% 50% var(--r) var(--r) / 37.5% 37.5% var(--r) var(--r); }
.people figcaption { margin-top: 14px; justify-items: center; text-align: center; }
.people figcaption span, .people figcaption span:only-child { font-family: var(--sans); font-size: 16px; font-style: normal; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-d); }
.people figcaption b { font-size: 22px; font-style: normal; font-weight: 400; }
.about .aboutphoto img { border-radius: var(--r); }

/* ---------- Gallery page: big and small in turn, the big ones uncropped ---------- */
.gallerygrid__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.gallerygrid__list > li, .gallerygrid__list figure { display: grid; min-width: 0; }
.gallerygrid img, .gallerygrid .ph { aspect-ratio: 16 / 10; border-radius: var(--r); }
@media (min-width: 620px) {
  .gallerygrid__list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
  .gallerygrid__list > li { grid-column: span 7; }
  .gallerygrid__list > li:nth-child(4n + 2), .gallerygrid__list > li:nth-child(4n + 3) { grid-column: span 5; }
  .gallerygrid__list > li:nth-child(4n + 2) img, .gallerygrid__list > li:nth-child(4n + 3) img { height: 100%; aspect-ratio: auto; }
  .gallerygrid__list > li:nth-child(4n + 2) img { border-radius: var(--r) var(--shoulder) var(--r) var(--r); }
  .gallerygrid__list > li:nth-child(4n + 3) img { border-radius: var(--shoulder) var(--r) var(--r) var(--r); }
}
@media (max-width: 699px) { .gallerygrid img { border-radius: var(--r); } }

/* ---------- Plain text page, 404 ---------- */
.prose h2 { font-size: 28px; font-weight: 400; }
.prose li::marker { color: var(--plum); }
.notfound__code { font-style: italic; font-weight: 400; letter-spacing: 0; }
.notfound__links span { font-weight: 400; font-size: 23px; }

/* ---------- Footer: the colophon ---------- */
.site-footer { padding-block: clamp(58px, 7vw, 96px) 28px; background: var(--night); }
.site-footer__top { flex-direction: column; align-items: center; gap: 34px; text-align: center; }
.site-footer__brand { display: grid; justify-items: center; }
.site-footer .logo { flex-direction: column; gap: 34px; padding-top: 18px; }
.site-footer .logo__mark {
  width: 56px; height: 56px; border-radius: 28px 28px 8px 8px;
  box-shadow: 0 0 0 8px var(--night), 0 0 0 9px rgb(230 201 220 / .75), 0 0 0 17px var(--night), 0 0 0 18px rgb(230 201 220 / .3);
}
.site-footer .logo__text { justify-items: center; }
.site-footer .logo__text b { font-size: clamp(46px, 7.4vw, 92px); font-weight: 400; letter-spacing: -0.04em; line-height: .95; }
.site-footer .logo .logo__text span { margin-top: 6px; font-size: clamp(23px, 2.6vw, 32px); color: var(--rose); }
.site-footer__brand p { max-width: 42ch; margin-top: 24px; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); font-style: italic; line-height: 1.5; }
.site-footer__facts { justify-items: center; margin-top: 20px; }
.site-footer__area { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.site-footer__area .icon { display: none; }
.site-footer__area .areapanel__line { display: none; }
.site-footer__area .areapanel__chips { justify-content: center; margin-top: 0; }
.site-footer__area .chip { border-color: var(--rose-line); color: #fff; }
.site-footer__call { justify-items: center; gap: 16px; padding-top: 30px; border-top: 1px solid var(--rose-line); width: min(100%, 460px); }
.site-footer .tel { font-size: clamp(36px, 4.8vw, 58px); font-weight: 400; letter-spacing: -0.035em; line-height: 1; }
.site-footer__lists { margin-top: 48px; padding-top: 36px; border-top: 0; position: relative; }
.site-footer__lists::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-top: 2px solid rgb(230 201 220 / .6); border-bottom: 1px solid rgb(230 201 220 / .6); }
.site-footer__col h2 { margin-bottom: 8px; font-family: var(--serif); font-size: 23px; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--rose); }
.site-footer__all .icon { color: var(--rose); }
.site-footer__legal { justify-content: center; gap: 6px 30px; border-top-color: var(--rose-line); text-align: center; }
.callbar { background: rgb(248 245 247 / .96); border-top: 1px solid var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 900px) {
  .site-footer__lists { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); }
}

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