/* ==========================================================================
   THE BATH SUITE — site stylesheet
   Editorial, not templated. Bodoni display over a geometric sans, warm stone
   ground, brass as the only accent. Layout leans on asymmetry, full-bleed
   breakouts and overlap rather than a stack of equal-width bands.
   Mobile-first. Plain CSS, no build step.

   CONTENTS
     01  Fonts
     02  Design tokens
     03  Reset & base
     04  Typography
     05  Layout: shell, grid, sections, bleed
     06  Buttons & links
     07  Header & navigation
     08  Hero
     09  Statement & editorial blocks
     10  Service index (numbered schedule)
     11  Overlap composition
     12  Process list
     13  Image rail & gallery
     14  Lightbox
     15  Credentials, licence, forms
     16  Footer & sticky mobile bar
     17  Reveal, placeholders, utilities
     18  Print
   ========================================================================== */

/* --------------------------------------------------------------- 01 fonts */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/bodoni-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/bodoni-var-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/jost-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------- 02 tokens */
:root {
  --ink: #15130f;
  --stone: #221f1b;
  --stone-2: #2c2823;
  --stone-3: #3a352d;

  --limestone: #f2ede5;
  --paper: #faf7f2;
  --sand: #e3d9c9;
  --sand-2: #d3c6b1;

  --brass: #c2a077;
  --brass-lift: #e0c096;
  --brass-deep: #97723f;
  --brass-ink: #866331;

  --text: #322d26;
  --text-soft: #665e54;
  --on-dark: #ede7dd;
  --on-dark-soft: #a8a094;

  --hair: rgba(151, 114, 63, 0.26);
  --hair-dark: rgba(226, 205, 172, 0.16);

  --display: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Times New Roman', serif;
  --body: 'Jost', 'Century Gothic', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  /* display sizes run larger and tighter than before — Bodoni wants scale */
  --t-hero: clamp(2.55rem, 1.1rem + 6vw, 6rem);
  --t-h1: clamp(2.3rem, 1.2rem + 4.4vw, 4.6rem);
  --t-h2: clamp(1.95rem, 1.2rem + 3vw, 3.4rem);
  --t-h3: clamp(1.2rem, 1.05rem + 0.65vw, 1.5rem);
  --t-lead: clamp(1.06rem, 0.99rem + 0.4vw, 1.28rem);
  --t-body: 1.0625rem;
  --t-label: 0.685rem;

  --gutter: clamp(1.15rem, 0.5rem + 2.6vw, 3rem);
  --shell: 1240px;
  --shell-narrow: 780px;
  --sec-y: clamp(3.25rem, 1.4rem + 7.5vw, 8rem);
  --head-h: 62px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sbw: 0px; /* scrollbar width, measured by site.js */

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");

  --arch: 50% 50% 3px 3px / 32% 32% 0 0;
}

@media (min-width: 900px) {
  :root { --head-h: 78px; }
}

/* --------------------------------------------------------- 03 reset & base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 1rem);
}

body {
  margin: 0;
  background: var(--limestone);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 3px; }
.on-dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible,
.lightbox :focus-visible, .hero :focus-visible { outline-color: var(--brass-lift); }

::selection { background: var(--brass); color: var(--ink); }

.skip {
  position: absolute; left: 50%; top: 0; z-index: 200;
  padding: 0.85rem 1.4rem;
  transform: translate(-50%, -110%);
  background: var(--stone); color: var(--on-dark);
  font-size: var(--t-label); letter-spacing: 0.16em; text-transform: uppercase;
}
.skip:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- 04 typography */
h1, h2, .h1, .h2, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.021em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--t-h1); }
h2, .h2 { font-size: var(--t-h2); }
.hero__title { font-size: var(--t-hero); line-height: 0.98; }

/* h3 sits in the sans, so small headings stay solid where Bodoni goes thin */
h3, .h3 {
  font-family: var(--body);
  font-size: var(--t-h3);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.005em;
}

.em { font-style: italic; font-weight: 400; color: var(--brass-deep); }
.on-dark .em, .hero .em { color: var(--brass-lift); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.62;
  color: var(--text-soft);
  font-weight: 300;
}
.on-dark .lead { color: var(--on-dark-soft); }

.prose { max-width: 60ch; }
h1 + .prose, h2 + .prose, h3 + .prose,
h1 + .lead, h2 + .lead, h3 + .lead,
h2 + .ticks, h3 + .ticks { margin-top: clamp(1.05rem, 0.85rem + 0.6vw, 1.5rem); }

.eyebrow, .label {
  display: flex; align-items: center; gap: 0.8em;
  margin: 0 0 1.35rem;
  font-family: var(--body);
  font-size: var(--t-label); font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  line-height: 1.4; color: var(--brass-ink);
}
.eyebrow::before {
  content: ''; flex: 0 0 auto; width: 30px; height: 1px;
  background: currentColor; opacity: 0.55;
}
.eyebrow--center { justify-content: center; }
.eyebrow--bare::before { display: none; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--brass); }

/* ----------------------------------------------- 05 layout & structure */
.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(2.25rem, 1.2rem + 4vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.on-dark {
  position: relative; background: var(--stone);
  color: var(--on-dark); isolation: isolate;
}
.on-dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain); background-size: 160px 160px;
  opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
}
.on-dark--deep { background: var(--ink); }
.on-paper { background: var(--paper); }

/* a twelve-column field, so blocks can start off-axis instead of always
   filling the container edge to edge */
.g12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(1rem, 2vw, 2rem); }
@media (max-width: 819px) { .g12 > * { grid-column: 1 / -1 !important; } }

/* Break out of the shell to the full viewport width.
   100vw includes the scrollbar, which drags the page sideways by its width,
   so --sbw (set by site.js) is subtracted back out. */
.bleed {
  width: calc(100vw - var(--sbw));
  margin-inline: calc(50% - (100vw - var(--sbw)) / 2);
}

.rule {
  display: flex; align-items: center; gap: 0.9rem;
  margin-block: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  color: var(--hair);
}
.rule::before, .rule::after { content: ''; flex: 1 1 auto; height: 1px; background: currentColor; }
.rule span { flex: 0 0 auto; width: 5px; height: 5px; background: var(--brass-deep); transform: rotate(45deg); }
.on-dark .rule { color: var(--hair-dark); }
.on-dark .rule span { background: var(--brass); }

.split { display: grid; gap: clamp(2rem, 1rem + 4.5vw, 4rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--top { align-items: start; }
  .split__media--first { order: -1; }
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .prose, .measure-center { margin-inline: auto; }

/* --------------------------------------------------- 06 buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 1.05em 2em;
  border: 1px solid transparent;
  font-family: var(--body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.19em; text-transform: uppercase; line-height: 1; text-align: center;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-lift); }
.btn--ink { background: var(--stone); color: var(--on-dark); }
.btn--ink:hover { background: var(--ink); }
.btn--ghost { border-color: var(--sand-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--brass-deep); color: var(--brass-ink); }
.on-dark .btn--ghost, .hero .btn--ghost { border-color: var(--hair-dark); color: var(--on-dark); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--brass); color: var(--brass-lift); }
.btn--sm { padding: 0.85em 1.45em; font-size: 0.66rem; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-top: clamp(1.6rem, 1rem + 2vw, 2.5rem);
}
.center .btn-row { justify-content: center; }
@media (max-width: 519px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.ulink {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding-bottom: 0.26em;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%; background-repeat: no-repeat; background-size: 100% 1px;
  transition: color 0.4s var(--ease), background-size 0.5s var(--ease);
}
.ulink:hover { background-size: 32% 1px; }
.ulink .arw { transition: transform 0.45s var(--ease); }
.ulink:hover .arw { transform: translateX(5px); }
.on-dark .ulink { color: var(--brass); }
.on-dark .ulink:hover { color: var(--brass-lift); }

.inline-link { color: var(--brass-ink); border-bottom: 1px solid var(--hair); transition: border-color 0.4s var(--ease); }
.inline-link:hover { border-color: var(--brass-deep); }
.on-dark .inline-link { color: var(--brass); border-bottom-color: var(--hair-dark); }
.on-dark .inline-link:hover { border-bottom-color: var(--brass); }

/* --------------------------------------------------------- 07 header */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(21, 19, 15, 0.85);
  border-bottom: 1px solid var(--hair-dark);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
@supports not (backdrop-filter: blur(4px)) { .site-head { background: var(--ink); } }

.head-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: var(--head-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex: 0 0 auto; }
.brand__mark { width: 36px; height: auto; transition: opacity 0.4s var(--ease); }
.brand:hover .brand__mark { opacity: 0.82; }
.brand__type {
  font-family: var(--display); font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--on-dark); white-space: nowrap;
}
@media (min-width: 900px) {
  .brand__mark { width: 46px; }
  .brand__type { font-size: 1.02rem; letter-spacing: 0.28em; }
}
@media (max-width: 370px) { .brand__type { font-size: 0.78rem; letter-spacing: 0.18em; } }

.nav { display: none; }

.burger {
  display: grid; place-content: center; gap: 6px;
  width: 44px; height: 44px; margin-right: -8px; flex: 0 0 auto;
}
.burger span {
  display: block; width: 22px; height: 1px; background: var(--on-dark);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  position: fixed; inset: var(--head-h) 0 0; z-index: 89;
  display: flex; flex-direction: column; justify-content: center; gap: 0.2rem;
  padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--ink);
  visibility: hidden; opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.nav-panel.is-open { visibility: visible; opacity: 1; }
.nav-panel a {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.1rem + 3.4vw, 2.4rem);
  font-weight: 400; line-height: 1.45; color: var(--on-dark);
  border-bottom: 1px solid var(--hair-dark); padding-block: 0.4rem;
}
.nav-panel a[aria-current='page'] { color: var(--brass); }
.nav-panel .btn {
  margin-top: 1.5rem; align-self: flex-start;
  font-family: var(--body); font-size: 0.72rem; font-weight: 500;
  line-height: 1; letter-spacing: 0.19em; color: var(--ink); border-bottom: 0;
}
.nav-panel__meta {
  margin-top: 1.75rem; font-size: var(--t-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--on-dark-soft); line-height: 2;
}

@media (min-width: 900px) {
  .burger, .nav-panel { display: none; }
  .nav { display: flex; align-items: center; gap: clamp(1.4rem, 0.5rem + 1.9vw, 2.5rem); }
  .nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 0.4rem + 1.8vw, 2.2rem); }
  .nav__list a {
    position: relative; display: block; padding-block: 0.4rem;
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--on-dark); transition: color 0.4s var(--ease);
  }
  .nav__list a::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: var(--brass); transform: scaleX(0); transform-origin: left;
    transition: transform 0.45s var(--ease);
  }
  .nav__list a:hover { color: var(--brass-lift); }
  .nav__list a:hover::after, .nav__list a[aria-current='page']::after { transform: scaleX(1); }
  .nav__list a[aria-current='page'] { color: var(--brass); }
}

/* ------------------------------------------------------------ 08 hero */
.hero {
  position: relative;
  display: grid; align-items: end;
  min-height: min(80svh, 720px);
  padding-block: clamp(2rem, 1rem + 5vw, 7rem) clamp(1.75rem, 1rem + 4vw, 4.5rem);
  background: var(--ink); color: var(--on-dark);
  isolation: isolate; overflow: hidden;
}
@media (min-width: 900px) { .hero { min-height: min(92svh, 860px); } }


.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(21, 19, 15, 0.6) 0%, rgba(21, 19, 15, 0.24) 22%, rgba(21, 19, 15, 0.62) 60%, rgba(21, 19, 15, 0.94) 100%),
    linear-gradient(to right, rgba(21, 19, 15, 0.66) 0%, rgba(21, 19, 15, 0.16) 68%);
}
.hero__title { margin-bottom: clamp(0.9rem, 0.5rem + 1.4vw, 1.5rem); max-width: 15ch; }
.hero .lead { color: rgba(237, 231, 221, 0.85); max-width: 40ch; }

/* the headline is allowed to run wider than the reading column */
@media (min-width: 900px) {
  .hero__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(1rem, 2vw, 2rem); }
  .hero__lede { grid-column: 1 / span 8; }
  .hero__aside {
    grid-column: 10 / -1; align-self: end; text-align: right;
    font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--on-dark-soft); line-height: 2.1;
  }
}
.hero__aside { display: none; }
@media (min-width: 900px) { .hero__aside { display: block; } }

.hero--page { min-height: auto; padding-block: clamp(5rem, 3rem + 12vw, 10rem) clamp(3rem, 2rem + 5vw, 6rem); }
@media (min-width: 900px) { .hero--page { min-height: min(58svh, 520px); } }
.hero--page .hero__title { max-width: 18ch; }

.hero__seam {
  position: absolute; left: var(--gutter); bottom: 0; z-index: 2;
  width: 1px; height: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(to bottom, var(--brass), transparent);
}

/* Phones: stop overlaying text on a tall photograph. Laying the image and the
   text out as two stacked bands fills the screen exactly, with no dead space
   at either end, and the text gets a solid ground instead of a scrim.
   NOTE: this block must stay below the base .hero__img rule — it overrides
   the absolute positioning, and both selectors have equal specificity. */
/* Applies to the full-screen home and landing hero only. Interior pages use
   .hero--page, which stays a compact content-sized band on a phone rather
   than eating a whole screen just to announce the page title. */
@media (max-width: 619px) {
  .hero:not(.hero--page) {
    min-height: calc(100svh - var(--head-h));
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    padding-block: 0;
  }
  .hero:not(.hero--page) .hero__img {
    position: relative; inset: auto; z-index: 0;
    grid-row: 1;
    height: 100%; width: 100%;
    object-position: 50% 30%;
    /* dissolve the bottom edge into the panel below */
    -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 74%, transparent 99%);
  }
  .hero:not(.hero--page)::after { display: none; }
  .hero:not(.hero--page) .hero__seam { display: none; }
  .hero:not(.hero--page) .hero__inner { grid-row: 2; padding-block: 0 2.25rem; }
  .hero__title { font-size: clamp(2.8rem, 1rem + 9vw, 3.4rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero:not(.hero--page) .lead { color: var(--on-dark-soft); }
  /* two buttons on one row keeps the panel compact */
  .hero .btn-row { flex-direction: row; gap: 0.6rem; margin-top: 1.5rem; }
  .hero .btn-row .btn {
    flex: 1 1 0; width: auto;
    padding: 1.05em 0.6em; font-size: 0.645rem; letter-spacing: 0.14em;
  }
}

/* keep the hero eyebrow on one line on narrow phones */
@media (max-width: 430px) {
  .hero .eyebrow { font-size: 0.615rem; letter-spacing: 0.17em; gap: 0.7em; }
  .hero .eyebrow::before { width: 20px; }
}

/* A landing hero that carries the enquiry form beside the headline. A form in
   the band makes it content-sized, so the one-screen height rules above are
   unwound here rather than made conditional in place. */
.hero.hero--lead {
  min-height: 0;
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
}
.hero.hero--lead .hero__form { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
/* a narrower column than the form further down a page, so the card loses some
   padding and the message box stops towering over the fields above it */
.hero.hero--lead .form-card { padding: clamp(1.4rem, 0.9rem + 2vw, 2.1rem); }
.hero.hero--lead .form-card .field textarea { min-height: 5.5rem; }

@media (min-width: 900px) {
  .hero.hero--lead .hero__inner { align-items: center; }
  /* an even split: the form needs half the grid before a pair of fields side
     by side stops being cramped */
  .hero.hero--lead .hero__lede { grid-column: 1 / span 6; }
  .hero.hero--lead .hero__form { grid-column: 7 / -1; margin-top: 0; }
  /* the licence aside would sit under the form; the proof row directly below
     carries the same licence number */
  .hero.hero--lead .hero__aside { display: none; }

  /* --t-hero is sized for a headline with the full shell to itself. Here it
     has half of it, so 96px on a 1366 laptop drove the line down to four and
     the whole band read as squashed. Scale to the column, not the viewport. */
  .hero.hero--lead .hero__title {
    /* the cap matters as much as the floor: past ~1340px the shell stops
       widening, so the column is fixed at ~600px while vw keeps climbing —
       an uncapped size went back to three lines on a 1920 monitor */
    font-size: clamp(2.1rem, 0.9rem + 3vw, 3.45rem);
    line-height: 1.02;
    /* the base 15ch measure is for a headline with the shell to itself; here
       the column is already the limit, and 15ch on top of it cost a line */
    max-width: none;
  }
  .hero.hero--lead .lead { font-size: 1.06rem; }
}

/* Between the phone layout and a roomy desktop there is not enough width to
   run a headline and a form side by side. Splitting the grid left ~440px for
   the headline against a single-column form that towered to 1200px, so a
   laptop saw a small headline marooned beside a very tall card. Stack them:
   headline across the top, form full width beneath with its fields in pairs
   again. */
@media (min-width: 900px) and (max-width: 1199px) {
  .hero.hero--lead .hero__lede { grid-column: 1 / -1; }
  .hero.hero--lead .hero__form {
    grid-column: 1 / -1;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
  }
  .hero.hero--lead .hero__title {
    font-size: clamp(2.6rem, 1rem + 3.4vw, 3.7rem);
    /* stacked, the headline has the whole shell — cap the measure so it reads
       as a headline rather than a full-width banner of text */
    max-width: 22ch;
  }
  .hero.hero--lead .lead { max-width: 52ch; }
}

/* the uppercase tracking is set for full-width labels; in this column it is
   what pushes BUDGET RANGE onto a second line */
.hero.hero--lead .form-card .field > label { letter-spacing: 0.13em; }

/* Phones: a shorter photograph band, so the form is reachable without first
   scrolling past a full screen of picture. */
@media (max-width: 619px) {
  .hero.hero--lead {
    min-height: 0;
    grid-template-rows: auto auto;
    align-items: stretch;
    padding-block: 0 2.5rem;
  }
  .hero.hero--lead .hero__img { height: 26svh; min-height: 10.5rem; }
  .hero.hero--lead .hero__inner { padding-block: 0; }
  /* the headline gives up a little size so the top of the form card clears
     the fold and reads as something to scroll to */
  .hero.hero--lead .hero__title { font-size: clamp(2.3rem, 0.9rem + 7vw, 2.9rem); }
  .hero.hero--lead .lead { font-size: 1rem; }
  .hero.hero--lead .btn-row { margin-top: 1.15rem; }
}

/* --------------------------------- 09 statement & editorial blocks ---- */
/* a large offset paragraph, replacing the three-box "pillars" pattern */
.statement__label { grid-column: 1 / -1; }
.statement__body { grid-column: 1 / -1; }
@media (min-width: 820px) {
  .statement__label { grid-column: 1 / span 3; padding-top: 0.6rem; }
  .statement__body { grid-column: 5 / -1; }
}
.statement__body p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1rem + 1.9vw, 2.15rem);
  font-weight: 400; line-height: 1.32; letter-spacing: -0.012em;
  color: var(--text);
}
.on-dark .statement__body p { color: var(--on-dark); }
.statement__body p + p {
  margin-top: 1.2em;
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.72; letter-spacing: 0;
  color: var(--text-soft);
}
.on-dark .statement__body p + p { color: var(--on-dark-soft); }

.figure { position: relative; margin: 0; }
.figure img { width: 100%; }
.arch { border-radius: var(--arch); overflow: hidden; }
.arch--soft { border-radius: 50% 50% 3px 3px / 20% 20% 0 0; }
.figure--framed {
  padding: clamp(0.6rem, 0.3rem + 1vw, 1.1rem);
  background: var(--paper); border: 1px solid var(--sand);
}
.on-dark .figure--framed { background: var(--stone-2); border-color: var(--hair-dark); }
.figure__cap {
  margin-top: 0.9rem; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-soft);
}
.on-dark .figure__cap { color: var(--on-dark-soft); }

.zoom { overflow: hidden; }
.zoom img { transition: transform 1.1s var(--ease); }
.zoom:hover img, a:hover > .zoom img { transform: scale(1.04); }

.media-tall { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.media-wide { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }

/* a single wide photograph used as a section break */
.plate { position: relative; }
.plate img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 700px) { .plate img { aspect-ratio: 4 / 3; } }
.plate__note {
  position: absolute; right: var(--gutter); bottom: 1.1rem;
  font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(237, 231, 221, 0.9); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.pillars { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.on-dark .pillar { border-top-color: var(--hair-dark); }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.97rem; color: var(--text-soft); margin: 0; }
.on-dark .pillar p { color: var(--on-dark-soft); }

.ticks { display: grid; gap: 0.65rem; margin-top: 1.5rem; }
@media (min-width: 620px) { .ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.ticks li {
  position: relative; padding-left: 1.6rem;
  font-size: 0.97rem; line-height: 1.55; color: var(--text-soft);
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 1px; background: var(--brass-deep);
}
.on-dark .ticks li { color: var(--on-dark-soft); }
.on-dark .ticks li::before { background: var(--brass); }

/* ------------------------------------------ 10 service index (schedule) */
/* Replaces the six-card grid: a numbered drawing schedule. Rows, not boxes. */
.index { border-top: 1px solid var(--hair); }
.on-dark .index { border-top-color: var(--hair-dark); }

.index__row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 2.4rem 1fr auto;
  gap: 0 1rem;
  padding-block: clamp(1.05rem, 0.7rem + 1.4vw, 1.9rem);
  border-bottom: 1px solid var(--hair);
  transition: background-color 0.45s var(--ease), padding-inline 0.45s var(--ease);
}
.on-dark .index__row { border-bottom-color: var(--hair-dark); }

.index__num {
  font-family: var(--display); font-size: 0.85rem; line-height: 1;
  color: var(--brass-deep); align-self: start; padding-top: 0.42em;
}
.on-dark .index__num { color: var(--brass); }

.index__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.15rem);
  font-weight: 400; line-height: 1.14; letter-spacing: -0.015em;
  transition: color 0.4s var(--ease);
}
.index__desc {
  grid-column: 2; margin: 0.45rem 0 0;
  font-size: 0.95rem; line-height: 1.55; color: var(--text-soft); max-width: 46ch;
}
.on-dark .index__desc { color: var(--on-dark-soft); }

.index__go {
  grid-row: 1; grid-column: 3; align-self: center;
  width: 34px; height: 34px; display: grid; place-content: center;
  border: 1px solid var(--hair); border-radius: 50%;
  color: var(--brass-deep);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
    color 0.4s var(--ease), transform 0.4s var(--ease);
}
.on-dark .index__go { border-color: var(--hair-dark); color: var(--brass); }
.index__go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* the thumbnail only exists where there is room for it */
.index__thumb { display: none; }

@media (min-width: 900px) {
  .index__row { grid-template-columns: 3rem 1fr 15rem auto; padding-inline: 0.5rem; }
  .index__desc { grid-row: 1; grid-column: 3; margin: 0; align-self: center; font-size: 0.9rem; }
  .index__thumb {
    display: block; position: absolute; right: 5rem; top: 50%;
    width: 190px; height: 118px; object-fit: cover;
    transform: translate(14px, -50%) scale(0.94); transform-origin: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  }
  .index__row:hover { background: rgba(151, 114, 63, 0.055); padding-inline: 1.15rem; }
  .on-dark .index__row:hover { background: rgba(226, 205, 172, 0.05); }
  .index__row:hover .index__desc { opacity: 0; transition: opacity 0.3s var(--ease); }
  .index__row:hover .index__thumb { opacity: 1; transform: translate(0, -50%) scale(1); }
  .index__row:hover .index__title { color: var(--brass-ink); }
  .on-dark .index__row:hover .index__title { color: var(--brass-lift); }
  .index__row:hover .index__go {
    background: var(--brass); border-color: var(--brass); color: var(--ink); transform: translateX(3px);
  }
}

/* --------------------------------------------- 11 overlap composition */
.overlap { position: relative; }
.overlap__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.overlap__panel {
  position: relative;
  margin-top: -3.5rem; margin-inline: var(--gutter);
  padding: clamp(1.5rem, 1rem + 3vw, 2.75rem);
  background: var(--paper);
  border: 1px solid var(--sand);
}
.on-dark .overlap__panel { background: var(--stone-2); border-color: var(--hair-dark); }

@media (min-width: 900px) {
  .overlap { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
  .overlap__media { grid-column: 1 / span 7; grid-row: 1; }
  .overlap__media img { aspect-ratio: 5 / 6; }
  .overlap__panel {
    grid-column: 6 / -1; grid-row: 1; z-index: 2;
    margin: 0; padding: clamp(2rem, 1rem + 3vw, 3.25rem);
    box-shadow: 0 30px 70px -40px rgba(21, 19, 15, 0.5);
  }
}

/* ------------------------------------------------------ 12 process list */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem;
  padding-block: clamp(1.1rem, 0.8rem + 1.2vw, 1.6rem);
  border-top: 1px solid var(--hair-dark);
}
.step:first-child { border-top: 0; }
.step__num {
  font-family: var(--display); font-size: 1.5rem; line-height: 1;
  color: var(--brass); padding-top: 0.1em;
}
.step h3 { margin-bottom: 0.3rem; }
/* the paragraph is the third child, so it must be told to skip the numeral
   column rather than auto-placing itself into it */
.step p {
  grid-column: 2;
  font-size: 0.96rem; color: var(--on-dark-soft); margin: 0; max-width: 52ch;
}
@media (min-width: 900px) {
  .step { grid-template-columns: 4rem 16rem 1fr; align-items: baseline; }
  .step p { grid-column: 3; grid-row: 1; }
  .step h3 { margin-bottom: 0; }
}

/* --------------------------------------------- 13 image rail & gallery */
/* full-bleed horizontal rail at every size — it reads as a designed strip
   rather than another grid of equal tiles */
.rail {
  display: flex; gap: clamp(0.6rem, 0.3rem + 0.8vw, 1rem);
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 auto; scroll-snap-align: center; }
.rail img { height: clamp(300px, 56vw, 560px); width: auto; max-width: none; object-fit: cover; }
@media (min-width: 900px) { .rail > *:first-child { margin-left: max(0px, calc(50vw - var(--shell) / 2)); } }

.masonry { columns: 2; column-gap: clamp(0.5rem, 0.2rem + 1vw, 1.4rem); }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry > * { break-inside: avoid; margin-bottom: clamp(0.5rem, 0.2rem + 1vw, 1.4rem); }

.shot {
  display: block; position: relative; width: 100%;
  overflow: hidden; background: var(--stone-2); cursor: zoom-in;
}
.shot img { width: 100%; transition: transform 1.1s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21, 19, 15, 0.45), transparent 45%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.4rem 1.1rem 1rem;
  font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--on-dark);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: translateY(0); }
@media (max-width: 620px) { .shot__cap { display: none; } }

/* ---------------------------------------------------------- 14 lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; grid-template-rows: auto 1fr auto;
  background: #0b0a08;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem var(--gutter);
  color: var(--on-dark-soft); font-size: var(--t-label);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.lightbox__stage { min-height: 0; padding: 0 clamp(0.4rem, 3vw, 3rem); overflow: hidden; }
.lightbox__stage img {
  width: 100%; height: 100%; max-width: 1400px;
  margin-inline: auto; object-fit: contain;
}
.lightbox__foot {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(0.9rem, 4vw, 2.5rem);
  padding: 0.85rem var(--gutter) clamp(1rem, 3vw, 1.75rem);
}
.lightbox__cap {
  flex: 1 1 auto; max-width: 34rem; text-align: center;
  font-size: 0.8rem; line-height: 1.5; color: var(--on-dark-soft);
}
@media (max-width: 620px) {
  .lightbox__cap { font-size: 0.74rem; line-height: 1.45; max-height: 3.9em; overflow: hidden; }
}
.lb-btn {
  display: grid; place-content: center; width: 44px; height: 44px; flex: 0 0 auto;
  border: 1px solid var(--hair-dark); color: var(--on-dark);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.lb-btn:hover { border-color: var(--brass); color: var(--brass-lift); background: rgba(194, 160, 119, 0.08); }
.lb-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.25; }

/* ------------------------------- 15 credentials, licence, forms ------- */
.creds {
  padding: clamp(1.5rem, 1rem + 3vw, 2.75rem);
  background: var(--paper); border: 1px solid var(--sand);
  container-type: inline-size;
}
.on-dark .creds { background: rgba(237, 231, 221, 0.035); border-color: var(--hair-dark); }
.creds dl { display: grid; gap: 0; margin: 0; }
.creds__row {
  display: grid; gap: 0.2rem 1.5rem;
  padding-block: 0.9rem; border-top: 1px solid var(--hair);
}
.on-dark .creds__row { border-top-color: var(--hair-dark); }
.creds__row:first-child { border-top: 0; padding-top: 0; }
@container (min-width: 30rem) {
  .creds__row { grid-template-columns: 10rem 1fr; align-items: baseline; }
}
.creds dt {
  font-size: var(--t-label); font-weight: 500; letter-spacing: 0.19em;
  text-transform: uppercase; color: var(--brass-ink);
}
.on-dark .creds dt { color: var(--brass); }
.creds dd { margin: 0; font-size: 0.99rem; line-height: 1.6; }
.creds dd small { display: block; margin-top: 0.25rem; font-size: 0.85rem; color: var(--text-soft); }
.on-dark .creds dd small { color: var(--on-dark-soft); }

.entity-line { font-size: 0.85rem; line-height: 1.7; color: var(--text-soft); }
.on-dark .entity-line { color: var(--on-dark-soft); }
.entity-line strong { font-weight: 500; color: var(--text); }
.on-dark .entity-line strong { color: var(--on-dark); }

.licence-strip {
  padding-block: 1.25rem;
  border-block: 1px solid var(--hair-dark);
  background: var(--ink); color: var(--on-dark-soft);
}
.licence-strip .shell {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.4rem 1.5rem; text-align: center;
}
.licence-strip p { margin: 0; font-size: 0.78rem; letter-spacing: 0.07em; line-height: 1.7; }
.licence-strip .mono { color: var(--brass); }

.form-card {
  padding: clamp(1.4rem, 0.9rem + 3vw, 3rem);
  background: var(--paper); border: 1px solid var(--sand); color: var(--text);
}
.on-dark .form-card { border-color: transparent; }
.field-grid { display: grid; gap: clamp(1.05rem, 0.8rem + 1vw, 1.5rem); }
@media (min-width: 620px) {
  .field-grid--2 { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.4rem; }
.field > label {
  font-size: var(--t-label); font-weight: 500; letter-spacing: 0.19em;
  text-transform: uppercase; color: var(--brass-ink);
}
.field .req { color: var(--brass-deep); }
.field .hint { font-size: 0.82rem; letter-spacing: 0; text-transform: none; color: var(--text-soft); }

/* 17px keeps iOS Safari from zooming the page on focus */
.field input, .field select, .field textarea {
  width: 100%; padding: 0.82rem 0.9rem;
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.5;
  color: var(--text); background: #fff;
  border: 1px solid var(--sand-2); border-radius: 0;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2397723f' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 12px 8px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brass-deep); box-shadow: 0 0 0 3px rgba(151, 114, 63, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a89d8d; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem;
  margin-top: clamp(1.4rem, 1rem + 1.5vw, 2rem);
}
.form-note { flex: 1 1 14rem; font-size: 0.82rem; line-height: 1.6; color: var(--text-soft); margin: 0; }
@media (max-width: 519px) { .form-foot .btn { width: 100%; } }

.form-msg {
  display: none; margin-top: 1.3rem; padding: 0.95rem 1.1rem;
  font-size: 0.93rem; line-height: 1.6;
  border-left: 2px solid var(--brass-deep); background: rgba(151, 114, 63, 0.08);
}
.form-msg.is-shown { display: block; }
.form-msg.is-error { border-left-color: #a8442c; background: rgba(168, 68, 44, 0.07); }

.form-sent { display: none; padding: clamp(1.4rem, 1rem + 2vw, 2.5rem) 0; text-align: center; }
.form-sent.is-shown { display: block; }
.form-sent h3 { margin-bottom: 0.5rem; }

.map-embed {
  border: 1px solid var(--sand-2);
  background: var(--sand);
  line-height: 0;
}
.map-embed iframe {
  display: block; width: 100%; border: 0;
  height: clamp(16rem, 34vw, 25rem);
  /* the map is a bright rectangle in a warm palette, so knock it back a touch */
  filter: saturate(0.82) contrast(0.96);
}

.map-slot {
  display: grid; place-items: center;
  min-height: clamp(14rem, 32vw, 22rem); padding: 2rem; text-align: center;
  background:
    linear-gradient(135deg, rgba(151, 114, 63, 0.05) 25%, transparent 25%) 0 0/22px 22px,
    var(--sand);
  border: 1px solid var(--sand-2); color: var(--text-soft);
  font-size: 0.86rem; line-height: 1.7;
}

/* long-form entry (services page, FAQ) */
.entry { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem); border-top: 1px solid var(--hair); }
.entry:first-of-type { border-top: 0; }
.entry__head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.2rem; }
.entry__num {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  color: var(--brass-deep); line-height: 1;
}
.entry h2 { flex: 1 1 auto; }

/* --------------------------------- 16 footer & sticky mobile action bar */
.site-foot { position: relative; background: var(--ink); color: var(--on-dark-soft); isolation: isolate; }
.site-foot::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain); background-size: 160px 160px;
  opacity: 0.045; mix-blend-mode: overlay;
}
.foot-main { display: grid; gap: clamp(2rem, 1.4rem + 3vw, 3.25rem); padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem); }
@media (min-width: 700px) { .foot-main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .foot-main { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.foot-lockup { width: clamp(170px, 42vw, 220px); height: auto; margin-bottom: 1.25rem; }
.foot-col h4 {
  margin-bottom: 1rem; font-family: var(--body);
  font-size: var(--t-label); font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass);
}
.foot-col li + li { margin-top: 0.6rem; }
.foot-col a, .foot-col li { font-size: 0.92rem; line-height: 1.6; color: var(--on-dark-soft); }
.foot-col a { transition: color 0.35s var(--ease); }
.foot-col a:hover { color: var(--brass-lift); }
.foot-contact dt {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark-soft); opacity: 0.7;
}
.foot-contact dd { margin: 0.15rem 0 0.8rem; font-size: 0.94rem; color: var(--on-dark); }

.socials { display: flex; gap: 0.55rem; margin-top: 1.35rem; }
.socials a {
  display: grid; place-content: center; width: 40px; height: 40px;
  border: 1px solid var(--hair-dark); color: var(--on-dark-soft);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.socials a:hover { border-color: var(--brass); color: var(--brass-lift); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.foot-legal {
  padding-block: 1.4rem 2rem; border-top: 1px solid var(--hair-dark);
  display: grid; gap: 0.8rem; font-size: 0.78rem; line-height: 1.75;
}
@media (min-width: 820px) {
  .foot-legal { grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
  .foot-legal__end { text-align: right; }
}
.foot-legal p { margin: 0; }
.foot-legal .mono { color: var(--brass); letter-spacing: 0.05em; }

/* Sticky action bar: phones only, and only once the hero is behind you. */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
  display: flex; gap: 1px;
  background: var(--hair-dark);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.action-bar.is-up { transform: translateY(0); }
.action-bar a {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 54px; padding: 0.5rem 0.75rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase;
  background: var(--ink); color: var(--on-dark);
}
.action-bar a.is-primary { background: var(--brass); color: var(--ink); }
.action-bar a[hidden] { display: none; }
.action-bar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 0; } .site-foot { padding-bottom: 54px; } }

/* ---------------------------------------- 17 reveal & fill placeholders */
html.reveals-armed .reveal { opacity: 0; transform: translateY(16px); }
html.reveals-armed .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.fill {
  display: inline-block; padding: 0.1em 0.5em;
  background: #ffe9a8; color: #4a3a10;
  font-family: var(--body); font-size: 0.85em; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 1px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
[data-optional][hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.reveals-armed .reveal { opacity: 1; transform: none; }
  .zoom:hover img, .shot:hover img { transform: none; }
}

/* ---------------------------------------------------------- 18 print */
@media print {
  .site-head, .nav-panel, .lightbox, .btn, .rail, .burger, .action-bar { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .on-dark, .site-foot, .licence-strip { background: #fff !important; color: #000 !important; }
  .on-dark::before, .site-foot::before { display: none; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.85em; }
}
