/* MT Developments — shared site styles.
   One file for everything that repeats: tokens, type, buttons, cards, the hero, header, footer,
   and the shared sections (process steps, client quote, closing call-to-action).
   Page-only styles go in a <style> block inside that page's file — the build moves it into <head>.

   Built to marketing/brand-assets/DESIGN.md (Stage 1 of the redesign, 26 Sep 2026). Colours,
   fonts and sizes come from there — never add new ones here. Where the site still departs from
   DESIGN.md, it is listed in STYLE-GUIDE.md. */

/* ---- Fonts (self-hosted, no call to Google) --------------------------------------- */
/* Manrope is one variable file (weights 200–800), so headings get their real weights.
   Inter body text is the small regular file; bold Inter comes from the variable file, which
   only downloads on a page that uses it. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-variable.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/inter-variable.woff2) format('woff2'); }
/* The estimator and the two forms ask for these names (build.mjs points them here). Same files
   as above, so a page downloads each one once. */
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-variable.woff2) format('woff2'); }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-variable.woff2) format('woff2'); }
@font-face { font-family: 'Inter Variable'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-variable-italic.woff2) format('woff2'); }

/* ---- Tokens (DESIGN.md) ------------------------------------------------------------ */
:root {
  --indigo: #240843;        /* Deep Indigo — headings, primary buttons, dark bands */
  --indigo-dark: #0F0420;   /* button hover only */
  --brass: #C8A24A;         /* set-out line, pull-quote border, eyebrows on Indigo and photos */
  --brass-text: #856928;    /* Brass Text: eyebrows on white and Stone (5.2:1 / 4.7:1). Chris, 27 Sep 2026 */
  --ink: #1A1A1A;           /* body text */
  --slate: #6E6A63;         /* secondary copy, captions */
  --stone: #F5F4F2;         /* light bands, cards on white */
  --sand: #E0DDD7;          /* borders, hairlines */
  --white: #FFFFFF;

  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);          /* 20px phone, 32px tablet, 48px desktop */
  --section-pad: clamp(64px, 7.5vw, 112px);  /* space above and below every section */
  --radius-btn: 4px;
  --radius-card: 8px;
  --radius-img: 4px;                         /* a photo inside a card */
}

/* ---- Base ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-heading); color: var(--indigo); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
/* Keyboard focus: indigo on light backgrounds, white on dark ones (brass was too faint — 2.4:1). */
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.site-footer :focus-visible, .cta-band :focus-visible, .section--indigo :focus-visible { outline-color: var(--white); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--indigo); color: var(--white); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Layout ---------------------------------------------------------------------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--stone { background: var(--stone); }
.section--indigo { background: var(--indigo); color: var(--white); }
/* Two bands of the same colour in a row read as one: the second drops its top padding. */
.section--stone + .section--stone,
.section:not(.section--stone, .section--indigo) + .section:not(.section--stone, .section--indigo) { padding-top: 0; }

/* ---- Type: one scale (Stage 9 of the redesign, 27 Sep 2026) ------------------------ */
/* Every heading is sized by its TAG, so a section title looks the same on every page and every
   background. Tag by rank: one h1 (the page title), every section title an h2, titles inside a
   section h3, h4 only under an h3, h5 only under an h4. Never pick a tag for its size.
   Each text type below is set ONCE: a part joins its selector list rather than setting its own
   size, and the parts further down set spacing and colour only. The same scale is in DESIGN.md
   → Typography and on /styleguide. tools/check-type.mjs checks it on every page. */
h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 18px; line-height: 1.3; }
h5 { font-size: 16px; line-height: 1.4; }
/* Even line lengths, so a title never ends on one orphaned word. */
h1, h2, h3 { text-wrap: balance; }
/* Headings are Indigo (above); White on Indigo and on photos. */
.frame-hero :is(h1, h2, h3), .band :is(h2, h3), .panel--indigo :is(h2, h3, h4), .section--indigo :is(h2, h3) { color: var(--white); }

/* Statement: the one big intro sentence, the large review quote, the strip's one-liner */
.statement, .review-feature blockquote, .strip__title { font-family: var(--font-heading); font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--indigo); }
/* Lead: under a hero title or a section title, and band text */
.lead, .frame-hero__lead, .sec-head p, .band__text, .panel__lead { font-size: clamp(17px, 1.25vw, 18px); line-height: 1.5; }
/* Body: everything you read. Long reads (posts, full reviews) at 17px. */
.body { font-size: 16px; line-height: 1.5; }
.prose, .reviews--two .review blockquote { font-family: var(--font-body); font-size: 17px; font-weight: 400; line-height: 1.65; }
/* Figure: a big labelled value (facts, contact rows, the "What we build" services, the hero note) */
.figure, .facts-row dd, .contact-rows strong, .band__list strong, .frame-hero__note strong { font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1.25; }
/* Question: an FAQ question */
.question, .faq__item summary { font-family: var(--font-heading); font-size: 18px; font-weight: 600; line-height: 1.35; }
/* Strong line: bold lines that aren't headings (ticks, the trust strip) */
.strong-line, .ticks strong, .trust__list strong { font-family: var(--font-heading); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--indigo); }
/* Quote: a review card, a pull-quote in a post */
.quote, .review blockquote, .prose blockquote { font-family: var(--font-heading); font-size: 18px; font-weight: 500; line-height: 1.45; }
/* Small: card text, notes, names */
.small, .photo-card__text, .promises p, .pledges p, .ticks span, .trust__list span, .review figcaption, .review-feature figcaption, .sec-note, .frame-hero__note, .frame-hero__meta, .band__small, .band__also, .contact-rows em { font-size: 15px; line-height: 1.5; }
/* Caption: photo meta and captions. Cut-out labels and step numbers are Captions in Manrope 600. */
.caption, .photo-card__meta, .prose figcaption { font-size: 14px; line-height: 1.4; }
.cut__label, .step-row h3 span { font-family: var(--font-heading); font-size: 14px; font-weight: 600; line-height: 1.4; }
/* Eyebrow: "// THE DIFFERENCE" above a section title (and the footer's column labels) */
.eyebrow, .site-footer__label { display: block; font-family: var(--font-heading); font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--brass-text); }
/* On Indigo and on photos the normal brass already reads (7.3:1 on Indigo), so it keeps it. */
.frame-hero .eyebrow, .panel--indigo .eyebrow, .band .eyebrow, .site-footer__label { color: var(--brass); }
/* Label: a small uppercase label over a value */
.label, .alt-row__num, .alt-row dt, .facts-row dt, .contact-rows span { font-family: var(--font-heading); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; color: var(--slate); }

/* Paragraphs. Lines stop at about 75 characters. */
.lead { max-width: 600px; color: var(--slate); }
.body { max-width: 68ch; color: var(--ink); }
.body p + p { margin-top: 1em; }
.section--indigo .body, .section--indigo .lead { color: var(--white); }
.caption { color: var(--slate); }

/* The set-out line: 2px brass, 56px, left-aligned, 24px under its heading. One per section. */
.rule { display: block; width: 56px; height: 2px; border: 0; margin: 24px 0 0; background: var(--brass); }

/* ---- Buttons (one size) ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 28px; border: 1px solid var(--indigo); border-radius: var(--radius-btn); font-family: var(--font-heading); font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: 1px; text-transform: uppercase; text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); }
.btn--outline { background: transparent; color: var(--indigo); }
.btn--outline:hover { background: var(--indigo); color: var(--white); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--indigo); }
.btn--white:hover { background: var(--stone); border-color: var(--stone); }
.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--indigo); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 700px) {
  .btn-row { flex-direction: column; align-items: stretch; }
}

/* Text link with a brass arrow: "View project →" */
.arrow-link { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--font-heading); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--indigo); }
.arrow-link::after { content: '→'; color: var(--brass); transition: transform .2s ease; }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link--caps { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

/* The Stage 1 hero, card, four-step, points, quote and closing-band parts were removed on
   26 Sep 2026: every page now uses the framed-look parts at the end of this file. */

/* ---- Header ---------------------------------------------------------------------- */
.site-header { background: var(--white); position: relative; z-index: 20; border-bottom: 1px solid var(--sand); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 32px; }
.site-nav a { display: inline-block; padding-block: 8px; font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brass); }
.menu-toggle { display: none; }

/* The logo, drawn in HTML so it is sharp at any size (same design as the Wix image). */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--indigo); }
.logo__mark { position: relative; display: grid; place-items: center; width: 45px; height: 47px; background: var(--indigo); color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; line-height: 1; padding-bottom: 4px; }
.logo__mark::after { content: ''; position: absolute; left: 50%; bottom: 10px; width: 14px; height: 2px; margin-left: -7px; background: var(--brass); }
.logo__words { display: flex; flex-direction: column; gap: 6px; }
.logo__name { font-family: var(--font-heading); font-weight: 600; font-size: 16.5px; line-height: 1; letter-spacing: -0.01em; }
.logo__tag { font-family: var(--font-heading); font-weight: 600; font-size: 7.4px; line-height: 1; letter-spacing: 0.25em; text-transform: uppercase; color: var(--slate); }
.logo--light { color: var(--white); }
.logo--light .logo__mark { background: transparent; border: 1px solid #7A6A8E; width: 53px; height: 53px; }
.logo--light .logo__tag { color: #BDB5C8; }

@media (max-width: 900px) {
  .site-header__inner { min-height: 72px; }
  .site-nav, .site-header .btn { display: none; }
  /* 48px tap target; the three lines sit inside it. */
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: space-between; width: 48px; height: 48px; margin-right: -10px; padding: 15px 10px; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); }
  .logo__mark { width: 43px; height: 40px; font-size: 17px; }
  .logo__name { font-size: 16px; }
  .logo__tag { font-size: 7px; }
}

/* Phone menu: a panel sliding in from the right. */
.menu-panel { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.menu-panel__backdrop { position: absolute; inset: 0; background: rgba(15, 4, 32, .55); opacity: 0; transition: opacity .25s ease; }
.menu-panel__sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(90%, 420px); background: var(--white); padding: 88px var(--gutter) 40px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.menu-panel.is-open { visibility: visible; }
.menu-panel.is-open .menu-panel__backdrop { opacity: 1; }
.menu-panel.is-open .menu-panel__sheet { transform: none; }
.menu-panel__close { position: absolute; top: 12px; right: 10px; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-panel__close::before, .menu-panel__close::after { content: ''; position: absolute; left: 12px; top: 23px; width: 24px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.menu-panel__close::after { transform: rotate(-45deg); }
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a { padding: 16px 0; border-bottom: 1px solid var(--sand); font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--indigo); }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* ---- Footer ---------------------------------------------------------------------- */
.site-footer { background: var(--indigo); color: var(--white); padding: 80px 0 40px; font-size: 14px; line-height: 1.6; }
.site-footer__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 32px; }
.site-footer__brand p { margin-top: 20px; max-width: 290px; }
.site-footer__brand .rule-full { display: block; width: 56px; height: 2px; background: var(--brass); margin-top: 24px; }
.site-footer ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--brass); }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(224, 221, 215, .2); color: var(--sand); }
@media (max-width: 900px) {
  .site-footer { padding: 64px 0 32px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__col--services, .site-footer__col--company { display: none; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding-block: 12px; }  /* 44px+ tap targets */
  .site-footer__legal { flex-direction: column; gap: 8px; margin-top: 40px; }
  .logo--light .logo__mark { width: 35px; height: 35px; font-size: 13px; }
  .logo--light .logo__mark::after { bottom: 7px; width: 10px; margin-left: -5px; }
  .logo--light .logo__name { font-size: 12px; }
  .logo--light .logo__tag { font-size: 5px; }
}

/* ==================================================================================
   The framed look (Stages 1b + 4 of the redesign, 26 Sep 2026; chosen as "preview C").
   Photos sit in rounded frames, one page width all the way down, with smooth S-curve
   cut-outs (a piece of the page cut into a photo). A page switches it on with
   `body_class: framed` (header over the hero, rounded footer, one width). The parts below
   also work on their own. Built first on the homepage; other pages move over as their
   redesign stage rebuilds them. The 16/24px corners are a departure Chris has accepted:
   see DESIGN.md's change log.
   ================================================================================== */
:root {
  --g: clamp(16px, 3vw, 40px);                 /* space either side of the page */
  --page: min(1440px, 100% - 2 * var(--g));    /* ONE width for every block */
  --pad: clamp(20px, 4vw, 64px);               /* inside a panel; text lines up with it */
  --top: clamp(12px, 1.6vw, 20px);             /* gap above the hero and below the footer */
  --r-lg: 24px;                                /* hero, bands, panels, footer */
  --r-md: 16px;                                /* photos in cards */
  --shade: rgba(15, 4, 32, .52);               /* Indigo-dark over a photo, so white text reads */
  /* S-curve pieces for the cut-outs, used as masks (the fill comes from the background) */
  --m-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0C50 0 50 100 100 100V0Z'/%3E%3C/svg%3E");
  --m-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0C50 0 50 100 0 100V0Z'/%3E%3C/svg%3E");
  --m-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100C50 100 50 0 100 0V100Z'/%3E%3C/svg%3E");
  --m-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 100C50 100 50 0 0 0V100Z'/%3E%3C/svg%3E");
}
.wide { width: var(--page); margin-inline: auto; }

/* ---- Page frame: header over the hero, menu in a cut-out, rounded footer ---------- */
.framed .container { width: calc(var(--page) - 2 * var(--pad)); }
.framed .section { padding-block: clamp(72px, 8.5vw, 140px); }
.framed .section--flush { padding-top: 0; }
.framed .section--tail { padding-bottom: 0; }
.framed .arrow-link { min-height: 44px; align-items: center; }   /* 44px tap target */   /* last section: the footer's own gap is enough */
.framed .site-header { position: absolute; top: var(--top); left: 0; right: 0; background: transparent; border: 0; }
.framed .site-header__inner { width: var(--page); min-height: 0; padding: 18px var(--pad) 0; align-items: flex-start; }
.framed .site-header .logo { color: var(--white); }
.framed .site-header .logo__mark { background: var(--white); color: var(--indigo); }
.framed .site-header .logo__tag { color: var(--white); }
.framed .site-nav { top: 0; gap: 32px; padding: 16px 20px 20px; background: var(--white); }
.framed .site-nav::before, .framed .site-nav::after { content: ''; position: absolute; top: 0; bottom: 0; width: 64px; background: var(--white); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.framed .site-nav::before { right: calc(100% - 1px); -webkit-mask-image: var(--m-tl); mask-image: var(--m-tl); }
.framed .site-nav::after { left: calc(100% - 1px); -webkit-mask-image: var(--m-tr); mask-image: var(--m-tr); }
.framed .site-nav a { font-size: 15px; letter-spacing: 0; text-transform: none; }
.framed .site-nav a:hover, .framed .site-nav a[aria-current="page"] { color: var(--indigo); }
.framed .site-header .btn--outline { background: var(--white); border-color: var(--white); color: var(--indigo); }
.framed .site-header .btn--outline:hover { background: var(--stone); border-color: var(--stone); }
.framed .site-header :focus-visible { outline-color: var(--white); }
.framed .site-nav :focus-visible { outline-color: var(--indigo); }
.framed .menu-toggle { background: var(--white); border-radius: var(--radius-btn); margin-right: 0; padding: 15px 12px; }
.framed .menu-toggle span { background: var(--indigo); }
.framed .site-footer { width: var(--page); margin: var(--top) auto; border-radius: var(--r-lg); }
.framed .site-footer__inner { width: auto; padding-inline: var(--pad); }

/* ---- Cut-out: a piece of the page cut into a photo, joined by S-curves ------------ */
/* <span class="cut cut--top cut--at-left"><span class="cut__label">Welwyn</span></span>
   inside a positioned, rounded box. --at-left / --at-right sit it in a corner (one curve). */
.cut { position: absolute; z-index: 3; display: flex; align-items: center; background: var(--cut-bg, var(--white)); }
.cut::before, .cut::after { content: ''; position: absolute; top: 0; bottom: 0; width: var(--cw, 56px); background: inherit; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.cut--top { top: -1px; }
.cut--top::before { right: calc(100% - 1px); -webkit-mask-image: var(--m-tl); mask-image: var(--m-tl); }
.cut--top::after { left: calc(100% - 1px); -webkit-mask-image: var(--m-tr); mask-image: var(--m-tr); }
.cut--bottom { bottom: -1px; }
.cut--bottom::before { right: calc(100% - 1px); -webkit-mask-image: var(--m-bl); mask-image: var(--m-bl); }
.cut--bottom::after { left: calc(100% - 1px); -webkit-mask-image: var(--m-br); mask-image: var(--m-br); }
.cut--at-left { left: -1px; }
.cut--at-left::before { display: none; }
.cut--at-right { right: -1px; }
.cut--at-right::after { display: none; }
.cut__label { line-height: 1.2; color: var(--ink); }

/* ---- Eyebrows and set-out lines on framed pages ----------------------------------- */
/* The same // EYEBROW and 56px brass line as the rest of the site (Chris, 26 Sep: keep them,
   but not on every section). Use them where a section opens with a label and a title. */
.split__eyebrow { margin-top: 12px; }
.split .eyebrow + .split__title { margin-top: 16px; }

/* ---- Framed hero: a photo with a Before / Concept switch in a cut-out ------------- */
.frame-hero { position: relative; margin-top: var(--top); height: min(92vh, 880px); min-height: 660px; border-radius: var(--r-lg); overflow: hidden; background: var(--indigo); color: var(--white); }
.frame-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* Photos a switch moves between (hero, bands): stacked; the base (bottom) one is always there,
   the others fade in over it. Markup: class="view-img" data-view-img="before" (+ view-img--base). */
.view-img { transition: opacity .6s ease; }
.view-img:not(.is-shown):not(.view-img--base) { opacity: 0; }
.frame-hero__shade { position: absolute; inset: 0; background: rgba(15, 4, 32, .46); transition: background-color .6s ease; }
.frame-hero[data-view="before"] .frame-hero__shade { background: rgba(15, 4, 32, .56); }
.frame-hero__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 0 var(--pad) clamp(92px, 8vw, 108px); }
.frame-hero__lead { max-width: 30em; margin-top: 24px; color: var(--white); }
.frame-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.frame-hero__note { max-width: 290px; color: var(--white); }
.frame-hero__note strong { display: block; margin-bottom: 6px; }
.frame-hero__note .link-light { display: flex; width: fit-content; min-height: 44px; font-size: 15px; }
.frame-hero .cut--bottom { left: 50%; transform: translateX(-50%); padding: 12px 8px 8px; --cw: 60px; }
.switch { display: flex; gap: 4px; }
.switch button { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius-btn); background: transparent; font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.switch button[aria-pressed="true"] { background: var(--indigo); color: var(--white); }
.switch button:hover:not([aria-pressed="true"]) { background: var(--stone); }
.frame-hero :focus-visible, .band :focus-visible, .panel--indigo :focus-visible { outline-color: var(--white); }
.frame-hero .switch :focus-visible { outline-color: var(--indigo); }

/* A white text link with an arrow, for dark photos: "Book a consultation →" */
.link-light { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--white); }
.link-light::after { content: '→'; transition: transform .2s ease; }
.link-light:hover::after { transform: translateX(4px); }

/* ---- Split: a label (or label + heading) on the left, the content on the right --- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; }
.split__title { margin-top: 20px; max-width: 9em; }
.split .arrow-link { margin-top: 28px; }
.statement { max-width: 30em; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 48px; }
.promises p { margin-top: 4px; color: var(--slate); }

/* ---- Section head: big heading, a line of text, one button ----------------------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; padding-top: 40px; border-top: 1px solid var(--sand); margin-bottom: 48px; }
.sec-head p { max-width: 34ch; padding-top: 8px; color: var(--slate); }

/* ---- Photo in a rounded frame (optionally with a cut-out label) ------------------ */
.frame { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.frame--cut-tr { border-top-right-radius: 0; }
.frame--cut-tl { border-top-left-radius: 0; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.frame .cut { padding: 10px 2px 12px 16px; --cw: 40px; }
.frame .cut--at-left { padding: 10px 16px 12px 2px; }

/* ---- Photo cards: framed photo, words underneath, the whole card is the link ----- */
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.photo-card { display: flex; flex-direction: column; }
a.photo-card:hover .frame img { transform: scale(1.03); }
.photo-card__meta { margin-top: 20px; color: var(--slate); }
.photo-card__title { margin-top: 6px; }
.photo-card__text { margin-top: 6px; max-width: 34ch; color: var(--slate); }

/* ---- Step rows: one hairline row per step; the one you point at lights up -------- */
.step-rows { list-style: none; border-top: 1px solid var(--sand); }
.step-row { display: grid; grid-template-columns: 88px minmax(0, 220px) minmax(0, 1fr); gap: 8px 28px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--sand); color: var(--slate); transition: color .25s ease; }
.step-row img { width: 88px; height: 64px; object-fit: cover; border-radius: 8px; opacity: 0; transition: opacity .25s ease; }
.step-row h3 { color: inherit; }
.step-row h3 span { margin-right: 10px; }
.step-rows:not(:hover) .step-row.is-on, .step-row:hover { color: var(--indigo); }
.step-rows:not(:hover) .step-row.is-on img, .step-row:hover img { opacity: 1; }

/* ---- Photo band: a full-width photo with words on a flat shade ------------------- */
.band { position: relative; min-height: clamp(460px, 42vw, 600px); border-radius: var(--r-lg); overflow: hidden; color: var(--white); display: flex; align-items: flex-end; }
.band--cut-tl { border-top-left-radius: 0; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: var(--shade); }
.band .cut { padding: 10px 18px 14px 22px; --cw: 48px; }
.band .cut__label { font-weight: 500; color: var(--slate); }
.band__body { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; gap: 32px 64px; padding: var(--pad); }
.band__text { max-width: 34em; margin-top: 20px; }
.band .btn-row { margin-top: 28px; align-items: center; }
.band__small { max-width: 36em; }
.band__small a, .band__text a { text-decoration: underline; text-underline-offset: 3px; }
.band--cut-tl .band__body { padding-top: calc(var(--pad) + 48px); }   /* clears the cut-out label when the words run tall */
/* Services on a band: name and one line each, the whole row a link */
.band__list { list-style: none; border-top: 1px solid rgba(255, 255, 255, .4); }
.band__list li { border-bottom: 1px solid rgba(255, 255, 255, .4); }
.band__list a { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding-block: 16px; }
.band__list a::after { content: '→'; font-family: var(--font-heading); transition: transform .2s ease; }
.band__list a:hover::after { transform: translateX(4px); }
.band__also { margin-top: 16px; }

/* ---- Panels: a rounded block of colour the width of the page --------------------- */
.panel { border-radius: var(--r-lg); padding: var(--pad); }
.panel--stone { background: var(--stone); --cut-bg: var(--stone); }
.panel--indigo { background: var(--indigo); color: var(--white); }
.panel .sec-head { border-top: 0; padding-top: 16px; }

/* Meet Chris: framed photo left, words right (on a Stone panel) */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; }
.person .frame img { aspect-ratio: 1; object-position: 50% 30%; }
.person__text .body { margin-top: 20px; max-width: 34em; }
.person__text .arrow-link { margin-top: 28px; }

/* Reviews: three quotes on hairlines */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.review { margin: 0; padding-top: 24px; border-top: 1px solid var(--sand); display: flex; flex-direction: column; }
.review__stars { color: var(--brass); letter-spacing: 2px; }
.review blockquote { margin: 16px 0 0; color: var(--ink); }
.review figcaption { margin-top: auto; padding-top: 24px; color: var(--slate); }
.review figcaption strong { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--ink); }

/* Guarantees: four on an Indigo panel */
.panel--indigo .split__title { max-width: 11em; }
.panel__lead { max-width: 34em; margin-top: 20px; color: var(--sand); }
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 40px; margin-top: 56px; }
.pledges > div { padding-top: 20px; border-top: 1px solid rgba(224, 221, 215, .3); }
.pledges p { margin-top: 8px; color: var(--sand); }
.pledges-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(224, 221, 215, .3); color: var(--sand); }

/* ---- Phone bar: Call + Estimate, stuck to the bottom of a phone screen ----------- */
/* Shown once the hero's own buttons have scrolled away (site.js). */
.phone-bar { display: none; }
@media (max-width: 700px) {
  .phone-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--sand); transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .phone-bar.is-shown { transform: none; visibility: visible; }
  .phone-bar .btn { width: 100%; padding-inline: 12px; }
  .has-phone-bar .site-footer { margin-bottom: 84px; }
}

@media (max-width: 900px) {
  /* Words flow from under the header instead of stacking up from the bottom edge */
  .frame-hero { height: auto; min-height: 720px; display: flex; flex-direction: column; justify-content: flex-end; }
  .frame-hero__body { position: relative; flex-direction: column; align-items: flex-start; padding-top: 128px; padding-bottom: 100px; }
  .split, .sec-head, .band__body, .person { grid-template-columns: minmax(0, 1fr); }
  .photo-cards, .reviews, .pledges { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --r-lg: 18px; --pad: 20px; }
  .framed .container { width: var(--page); }
  .frame-hero { min-height: 88vh; }
  .frame-hero .cut--bottom { --cw: 44px; }
  .frame-hero__cta .btn { width: 100%; }
  .frame-hero__note-text { display: none; }
  .person .frame img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .promises, .photo-cards, .reviews, .pledges { grid-template-columns: 1fr; }
  .frame img { aspect-ratio: 4 / 3; }
  .step-row { grid-template-columns: 72px minmax(0, 1fr); color: var(--ink); }
  .step-row img { width: 72px; height: 56px; opacity: 1; grid-row: span 2; }
  .step-row p { grid-column: 2; }
  .panel { padding: 28px 20px; }
  .band__list a { grid-template-columns: minmax(0, 1fr) auto; }
  .band__list a span { grid-column: 1; grid-row: 2; }
  .band .btn-row { width: 100%; align-items: stretch; }
}

/* ==================================================================================
   Framed look, part 2: the parts every other page needed (redesign build pass,
   26 Sep 2026). Plans: technology/working/website-page-plans.md.
   ================================================================================== */

/* ---- Header: Services dropdown, phone number, phone-menu buttons ----------------- */
.site-header__end { display: flex; align-items: center; gap: 24px; }
.site-header__phone { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--white); }
.site-header__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-drop { position: relative; }
.nav-drop__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; font-family: var(--font-heading); font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); cursor: pointer; }
.nav-drop__btn::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-drop__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.nav-drop__btn:hover, .nav-drop__btn[data-current], .nav-drop__btn[aria-expanded="true"] { color: var(--indigo); }
.nav-drop__panel { display: none; position: absolute; z-index: 40; top: calc(100% + 18px); left: -22px; width: 330px; list-style: none; padding: 8px; background: var(--white); border: 1px solid var(--sand); border-radius: 12px; }
.nav-drop__btn[aria-expanded="true"] + .nav-drop__panel { display: block; }
.framed .nav-drop__panel a { display: block; padding: 12px 14px; border-radius: 8px; }
.framed .nav-drop__panel a:hover, .framed .nav-drop__panel a[aria-current="page"] { background: var(--stone); }
.nav-drop__panel strong { display: block; font-size: 16px; font-weight: 600; color: var(--indigo); }
.nav-drop__panel span { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--slate); }
.menu-panel__cta { display: grid; gap: 12px; margin-top: 32px; }
@media (max-width: 1240px) { .site-header__phone { display: none; } }
@media (max-width: 1080px) { .framed .site-nav { gap: 24px; } }

/* ---- Footer: the towns ------------------------------------------------------------ */
.site-footer__towns { max-width: 62em; margin-top: 56px; color: var(--sand); }
.site-footer__towns strong { color: var(--white); font-weight: 600; }

/* ---- Page hero: a photo hero without the switch; and a plain Indigo one ----------- */
/* <section class="frame-hero frame-hero--page wide"> img, shade, body (h1, lead, cta), optional
   bottom-right cut-out label. frame-hero--plain has no photo (contact, legal, posts...). */
.frame-hero--page { height: min(80vh, 780px); min-height: 580px; }
.frame-hero--page .frame-hero__body { padding-bottom: clamp(56px, 6vw, 88px); }
.frame-hero--page h1, .frame-hero--plain h1 { max-width: 13em; }
.frame-hero--page .frame-hero__img { object-position: 50% 55%; }
/* Daylight job photos are brighter than the dusk concept on the homepage: a deeper flat shade keeps
   white text at 4.5:1 or better (measured on the screenshots, 26 Sep 2026). */
.frame-hero--page .frame-hero__shade { background: rgba(15, 4, 32, .58); }
.frame-hero .eyebrow { margin-bottom: 20px; }
.frame-hero .cut--bottom.cut--at-right { left: auto; right: -1px; transform: none; padding: 12px 22px 10px 10px; --cw: 48px; }
.frame-hero .cut--bottom.cut--at-right .cut__label { font-weight: 500; color: var(--slate); }
.frame-hero--plain { height: auto; min-height: 0; }
.frame-hero--plain .frame-hero__body { position: relative; padding-top: clamp(150px, 13vw, 190px); padding-bottom: clamp(56px, 6vw, 88px); }
.frame-hero__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 12px; font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--white); }
.frame-hero__back::before { content: '\2190'; }
.frame-hero__meta { margin-top: 20px; color: var(--sand); }
@media (max-width: 900px) {
  .frame-hero--page { min-height: 600px; }
  .frame-hero--page .frame-hero__body { padding-bottom: 64px; }
  .frame-hero--plain .frame-hero__body { padding-top: 132px; padding-bottom: 56px; }
}
@media (max-width: 700px) {
  .frame-hero--page { min-height: 620px; }
  .frame-hero--plain { min-height: 0; }
  .frame-hero--page .cut--bottom.cut--at-right { display: none; }
}

/* ---- Trust strip: the four promises under a hero --------------------------------- */
.framed .trust { padding-block: 40px 0; }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; }
.trust__list li { padding-top: 16px; border-top: 1px solid var(--sand); }
.trust__list strong { display: block; }
.trust__list span { display: block; margin-top: 2px; color: var(--slate); }
@media (max-width: 900px) { .trust__list { grid-template-columns: 1fr 1fr; } }

/* ---- Ticks: a two-column list on hairlines, a short brass dash for each ---------- */
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--sand); }
.ticks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding-block: 18px; border-bottom: 1px solid var(--sand); }
.ticks li::before { content: ''; width: 14px; height: 2px; margin-top: 12px; background: var(--brass); }
.ticks strong { display: block; }
.ticks span { display: block; margin-top: 2px; color: var(--slate); }
.sec-note { margin-top: 32px; max-width: 60ch; color: var(--slate); }
@media (max-width: 700px) { .ticks { grid-template-columns: 1fr; } }

/* ---- Questions: an accordion on hairlines (FAQ structured data is read from it) -- */
.faq { border-top: 1px solid var(--sand); }
.faq__item { border-bottom: 1px solid var(--sand); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding-block: 18px; list-style: none; cursor: pointer; color: var(--indigo); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; font-size: 26px; font-weight: 400; line-height: 1; color: var(--indigo); }
.faq__item[open] summary::after { content: '\2212'; }
.faq__a { max-width: 64ch; padding-bottom: 24px; color: var(--ink); }
.faq__a p + p { margin-top: .8em; }
.faq__a a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Alternating rows: photo one side, words the other (the process) ------------- */
.alt-rows { display: grid; gap: clamp(64px, 7vw, 112px); }
.alt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.alt-row:nth-child(even) > .frame { order: 2; }
.alt-row .frame img { aspect-ratio: 4 / 3; }
.alt-row h2 { margin-top: 8px; }
.alt-row .body { margin-top: 16px; }
.alt-row dl { margin: 28px 0 0; border-top: 1px solid var(--sand); }
.alt-row dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding-block: 14px; border-bottom: 1px solid var(--sand); }
.alt-row dt { padding-top: 2px; }
.alt-row dd { margin: 0; }
@media (max-width: 900px) {
  .alt-row { grid-template-columns: 1fr; }
  .alt-row:nth-child(even) > .frame { order: 0; }
}
@media (max-width: 700px) { .alt-row dl div { grid-template-columns: 1fr; } }

/* ---- Facts: a row of labelled figures (case studies, company facts) -------------- */
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 32px; margin: 0; }
.facts-row div { padding-top: 16px; border-top: 1px solid var(--sand); }
.facts-row dd { margin: 6px 0 0; color: var(--indigo); }
.panel--indigo .facts-row div { border-top-color: rgba(224, 221, 215, .3); }
.panel--indigo .facts-row dt { color: var(--sand); }
.panel--indigo .facts-row dd { color: var(--white); }

/* ---- Strip: one line and one button on a Stone panel ----------------------------- */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding: clamp(28px, 4vw, 48px); background: var(--stone); border-radius: var(--r-md); }
.strip p:not(.strip__title) { margin-top: 8px; max-width: 52ch; color: var(--slate); }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } .strip .btn { width: 100%; } }

/* ---- One review, large ------------------------------------------------------------ */
.review-feature { max-width: 58rem; margin: 0; }
.review-feature blockquote { margin: 20px 0 0; }
.review-feature figcaption { margin-top: 24px; color: var(--slate); }
.review-feature figcaption strong { color: var(--ink); font-weight: 600; }
.review-feature .arrow-link { margin-top: 16px; }
.reviews--two { grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
@media (max-width: 900px) { .reviews--two { grid-template-columns: 1fr; } }

/* ---- Filters (Our work) ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { min-height: 44px; padding: 0 20px; border: 1px solid var(--sand); border-radius: var(--radius-btn); background: var(--white); font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.filters button:hover { border-color: var(--indigo); }
.filters button[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.photo-card[hidden] { display: none; }

/* ---- Contact rows: phone, WhatsApp, email as big links ---------------------------- */
.contact-rows { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; }
.contact-rows a { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--sand); }
.contact-rows strong { color: var(--indigo); }
.contact-rows em { font-style: normal; color: var(--slate); }
.contact-rows a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .contact-rows { grid-template-columns: 1fr; } }

/* ---- Form beside words (consultation, contact) ------------------------------------ */
.form-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.form-split__form { padding: clamp(20px, 3vw, 40px); background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); }
.form-split__form mt-contact-form { display: block; min-height: 640px; }
.form-split .ticks { grid-template-columns: 1fr; margin-top: 32px; }
@media (max-width: 900px) { .form-split { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .form-split__form { padding: 0; border: 0; } }

/* ---- Long-form text: advice posts, the privacy policy ----------------------------- */
.prose { max-width: 68ch; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--indigo); }
.prose img { width: 100%; border-radius: var(--r-md); margin-block: 2em; }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 10px; color: var(--slate); }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--brass); color: var(--indigo); }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--sand); text-align: left; vertical-align: top; }
.prose th { font-family: var(--font-heading); font-weight: 600; color: var(--indigo); }
@media (max-width: 700px) { .prose { font-size: 16px; } .prose table { display: block; overflow-x: auto; } }

/* ---- Case studies: before and after side by side; four-up cards ---------------- */
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cs-pair__item { margin: 0; }
.cs-pair .frame img { aspect-ratio: 4 / 3; }
.photo-cards--four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .photo-cards--four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .cs-pair, .photo-cards--four { grid-template-columns: 1fr; } }

/* Cookie banner (layout.mjs → COOKIE_BANNER). A slim bar along the bottom, never a page blocker.
   Reject and Accept stay the same size: rejecting must be as easy as accepting (ICO). */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--white); border-top: 1px solid var(--sand); box-shadow: 0 -4px 24px rgba(36, 8, 67, .10); padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.cookie[hidden] { display: none; }
.cookie__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.cookie__text { flex: 1 1 420px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.cookie__text strong { font-weight: 600; }
.cookie__text a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie__btns .btn { min-width: 128px; }
@media (max-width: 640px) {
  .cookie { padding-top: 16px; }
  .cookie__text { font-size: 14px; }
  .cookie__btns { width: 100%; }
  .cookie__btns .btn { flex: 1; min-width: 0; }
}
