/* ==========================================================================
   CWH Concrete Construction — site styles
   --------------------------------------------------------------------------
   Design language: "the spec sheet". Architectural hairlines, mono numerals,
   generous whitespace, big honest photography. Charcoal + bone + one ochre
   accent, taken from the silver-on-black logo.

   Structure:
     01 Tokens          06 Hero
     02 Reset           07 Sections & modules
     03 Typography      08 Gallery
     04 Layout          09 Form
     05 Header / nav    10 Footer, motion, print
   ========================================================================== */

/* -- 01 Tokens ------------------------------------------------------------ */
:root {
  /* Ink / surface */
  --ink:        #14171b;
  --ink-soft:   #1d2126;
  --ink-line:   #2b3037;
  --bone:       #f6f4f0;
  --bone-2:     #edeae4;
  --bone-3:     #e2ded6;
  --line:       #d7d2c9;
  --grey:       #6c727a;
  --grey-2:     #979da5;

  /* Accent — ochre, the colour of washed aggregate */
  --amber:      #a9701f;
  --amber-lt:   #c99247;
  --amber-dim:  rgba(169, 112, 31, 0.12);

  /* Type */
  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step-h1: clamp(2.5rem, 6.4vw, 5rem);
  --step-h2: clamp(1.9rem, 4vw, 3.1rem);
  --step-h3: clamp(1.25rem, 2.1vw, 1.6rem);
  --step-lead: clamp(1.05rem, 1.5vw, 1.3rem);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --maxw: 1240px;
  --maxw-text: 68ch;

  --radius: 3px;
  --shadow: 0 1px 2px rgba(20, 23, 27, .05), 0 12px 32px -12px rgba(20, 23, 27, .18);

  --header-h: 76px;
}

/* -- 02 Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* `picture` generates a box that breaks percentage heights and object-fit on
   the <img> inside it. Taking it out of the box tree makes the <img> a direct
   child of its container, so height:100% + object-fit: cover work everywhere. */
picture { display: contents; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone);
  padding: .85rem 1.25rem; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0; }

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

/* -- 03 Typography -------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; }
h1 { font-size: var(--step-h1); font-weight: 800; letter-spacing: -0.032em; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); line-height: 1.25; letter-spacing: -0.012em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--step-lead);
  line-height: 1.55;
  color: #33383f;
  max-width: 56ch;
}
/* A lead directly after a heading always needs breathing room. */
h1 + .lead, h2 + .lead, h3 + .lead { margin-top: 1.25rem; }

/* Eyebrow — a sheet-number style label with a leading rule */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: currentColor; flex: none; opacity: .55;
}
.eyebrow--light { color: var(--amber-lt); }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Emphasis inside prose */
.mark { color: var(--amber); font-weight: 600; }

/* -- 04 Layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .lead { color: #b9bfc7; }
.section--bone2 { background: var(--bone-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ink .rule { background: var(--ink-line); }

/* Two-column editorial split: sticky heading beside flowing content */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* -- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.75rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font-weight: 600; font-size: .97rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--amber); --btn-bd: var(--amber); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: #96621a; --btn-bd: #96621a; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--onDark { --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: rgba(246,244,240,.34); }
.btn--onDark:hover { --btn-bd: var(--bone); background: rgba(246,244,240,.07); }
.btn--wide { width: 100%; }

.btn__icon { width: 17px; height: 17px; flex: none; }

/* Text link with an underline that grows */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s ease, color .2s ease;
}
.tlink:hover { background-size: 100% 1.5px; color: var(--amber); }
.tlink svg { width: 15px; height: 15px; transition: transform .25s ease; }
.tlink:hover svg { transform: translateX(3px); }

/* -- 05 Header ------------------------------------------------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.header.is-stuck {
  background: rgba(246, 244, 240, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}

/* Wordmark — set as a monogram block + name, no image needed */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
/* Brand mark — the mixer truck from the CWH logo, cropped out of its badge
   and painted through a mask so it takes currentColor. One asset therefore
   works on both header states: light over the hero, ink once stuck. Source
   crop + cleanup is documented in README under "Brand mark". */
.brand__mark {
  width: 57px; height: 30px; flex: none;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/brand/cwh-truck.png") left center / contain no-repeat;
          mask: url("/assets/img/brand/cwh-truck.png") left center / contain no-repeat;
}
/* Without mask support the background-color would paint a solid block. */
@supports not ((-webkit-mask-image: url("#m")) or (mask-image: url("#m"))) {
  .brand__mark { background-color: transparent; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.brand__sub {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .19em;
  text-transform: uppercase; opacity: .62; margin-top: 3px;
}
.header--onHero { color: var(--bone); }
.header--onHero.is-stuck { color: var(--ink); }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 2rem; }
  .nav a {
    text-decoration: none; font-size: .93rem; font-weight: 500;
    opacity: .82; transition: opacity .2s ease;
  }
  .nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
  .nav a[aria-current="page"] { color: var(--amber); }
}
.header__cta { display: none; }
@media (min-width: 760px) { .header__cta { display: inline-flex; padding: .7rem 1.25rem; font-size: .9rem; } }

/* Mobile menu */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobilenav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); color: var(--bone);
  padding: 2rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
  overflow-y: auto;
}
.mobilenav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobilenav a {
  text-decoration: none; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em;
  padding: .85rem 0; border-bottom: 1px solid var(--ink-line);
}
.mobilenav .btn { margin-top: 2rem; }
body.nav-open { overflow: hidden; }

/* -- 06 Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex; align-items: flex-end;
  color: var(--bone);
  background: var(--ink);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* Two scrims: one up the page for the spec strip, one across from the left
     so the headline and eyebrow hold contrast over the pale fence line. */
  background:
    linear-gradient(to right, rgba(12,14,17,.62) 0%, rgba(12,14,17,.22) 48%, rgba(12,14,17,0) 78%),
    linear-gradient(to top, rgba(12,14,17,.86) 0%, rgba(12,14,17,.58) 26%, rgba(12,14,17,.26) 58%, rgba(12,14,17,.42) 100%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero__sub {
  margin-top: 1.5rem; max-width: 48ch;
  font-size: var(--step-lead); line-height: 1.55; color: #d3d7dc;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

/* Spec strip under the hero headline */
.specstrip {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(246,244,240,.2);
  padding-top: 1.5rem;
  display: grid; gap: 1.25rem 2rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 820px) { .specstrip { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.specstrip dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--amber-lt); margin-bottom: .4rem;
}
.specstrip dd { margin: 0; font-size: .96rem; font-weight: 500; color: #e4e7ea; line-height: 1.4; }

/* Page hero for interior pages */
.pagehero {
  position: relative; background: var(--ink); color: var(--bone);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.pagehero__media { position: absolute; inset: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.pagehero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(12,14,17,.93) 0%, rgba(12,14,17,.66) 52%, rgba(12,14,17,.34) 100%),
    linear-gradient(to top, rgba(12,14,17,.55), rgba(12,14,17,0) 45%);
}
.pagehero__inner { position: relative; }
.pagehero h1 { max-width: 18ch; text-wrap: balance; }
.pagehero .lead { margin-top: 1.35rem; color: #ccd1d7; }

.crumbs {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(246,244,240,.6); margin-bottom: 1.5rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--amber-lt); }
.crumbs span { margin-inline: .5rem; opacity: .5; }

/* Hero lead form ----------------------------------------------------------
   Every page puts a quote form in the hero, so the first screen is an offer
   and not just a claim. The copy and the form sit side by side from 1000px
   and stack below it, headline first. The hero drops its 94svh floor when it
   carries a form — the form, not empty photograph, is what should fill the
   space on a phone. */
.hero--lead { min-height: 0; align-items: center; }
.hero--lead .hero__inner { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero--lead h1 { max-width: 15ch; }
.hero--lead .hero__sub { max-width: 44ch; }

.herogrid { display: grid; gap: clamp(2.25rem, 5vw, 3rem); align-items: center; }
@media (min-width: 1000px) {
  .herogrid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}
/* The scrim is tuned for text on the left; behind a white card on the right
   it only needs to stop the photo bleeding through the card's edge. */
.hero--lead .hero__media::after,
.pagehero--lead .pagehero__media::after {
  background:
    linear-gradient(to right, rgba(12,14,17,.80) 0%, rgba(12,14,17,.52) 46%, rgba(12,14,17,.34) 100%),
    linear-gradient(to top, rgba(12,14,17,.80) 0%, rgba(12,14,17,.40) 40%, rgba(12,14,17,.34) 100%);
}
.hero--lead .specstrip { margin-top: clamp(2.25rem, 4vw, 3rem); }
/* Below the side-by-side breakpoint the form sits under the headline, so the
   secondary jump link is 90px of nothing between a customer and the form.
   The sections it points at are a scroll away regardless. */
.hero--lead .hero__actions,
.pagehero--lead .hero__actions { display: none; }
@media (min-width: 1000px) {
  .hero--lead .hero__actions,
  .pagehero--lead .hero__actions { display: flex; }
}

.pagehero--lead { padding-bottom: clamp(3rem, 7vw, 5rem); }
.pagehero--lead h1 { max-width: 16ch; }
.pagehero--lead .lead { max-width: 46ch; }

/* -- 07 Modules ----------------------------------------------------------- */

/* Credentials bar — sits directly under the hero. Answers the objection the
   research ranks as structurally worst for a solo operator ("he'll take the
   deposit and disappear") in the first screen after the fold. */
.credbar { background: var(--bone); border-bottom: 1px solid var(--line); }
.section--ink + .credbar { border-top: 1px solid var(--line); }
.credbar__grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .credbar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.credbar__item {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: .85rem;
}
@media (min-width: 900px) {
  .credbar__item { border-top: 0; padding-block: 1.75rem; }
  .credbar__item + .credbar__item { border-left: 1px solid var(--line); padding-left: 1.75rem; }
}
@media (max-width: 899px) {
  .credbar__item:nth-child(odd) { padding-right: 1.25rem; }
  .credbar__item:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .credbar__item:nth-child(-n+2) { border-top: 0; }
}
.credbar__icon { flex: none; width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }
.credbar dt {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--grey); margin-bottom: .3rem;
}
.credbar dd { margin: 0; font-size: .93rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; }
.credbar dd small { display: block; font-weight: 400; font-size: .8rem; color: var(--grey); margin-top: .15rem; letter-spacing: 0; }

/* Section head */
.head { max-width: var(--maxw-text); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head h2 { text-wrap: balance; }
.head .lead { margin-top: 1.25rem; }

/* Quote-comparison cards — the campaign's core idea, made visual */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column;
}
.qcard--ours { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.qcard__tag {
  font-family: var(--mono); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 1.25rem;
}
.qcard--ours .qcard__tag { color: var(--amber-lt); }
.qcard__price { font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.35rem; }
.qspec { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.qspec li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .7rem 0; border-top: 1px solid var(--line);
  font-size: .89rem;
}
.qcard--ours .qspec li { border-top-color: var(--ink-line); }
.qspec b { font-weight: 500; color: var(--grey); }
.qcard--ours .qspec b { color: var(--grey-2); }
.qspec span { font-family: var(--mono); font-size: .82rem; text-align: right; }
.qspec .miss { color: #a3564a; }
.qcard--ours .qspec span { color: var(--amber-lt); }

/* Numbered question list */
.qlist { list-style: none; margin: 0; padding: 0; counter-reset: q; display: grid; gap: 0; }
.qlist li {
  counter-increment: q;
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.qlist li:last-child { border-bottom: 1px solid var(--line); }
.section--ink .qlist li { border-color: var(--ink-line); }
.qlist li::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--mono); font-size: .78rem; color: var(--amber);
  padding-top: .35rem;
}
.qlist h3 { margin-bottom: .45rem; }
/* Capped so a full-width qlist on a service page doesn't run to 120 characters. */
.qlist p { color: var(--grey); font-size: .95rem; max-width: 74ch; }
.section--ink .qlist p { color: #a9afb7; }

/* Slab cross-section diagram */
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.section--ink .diagram { background: var(--ink-soft); border-color: var(--ink-line); }
/* The cross-section has a fixed amount of labelled detail — below ~660px it
   scrolls sideways rather than shrinking the labels into illegibility. */
.diagram__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.diagram svg { width: 100%; min-width: 620px; height: auto; }
.diagram__note {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--grey);
}
.section--ink .diagram__note { border-top-color: var(--ink-line); color: #a9afb7; }

/* Service cards */
.services { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .services { grid-template-columns: repeat(3, 1fr); } }
.svc {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--bone-3); }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone-3); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.svc:hover .svc__media img { transform: scale(1.045); }
.svc__body { padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { margin-bottom: .6rem; }
.svc__body p { color: var(--grey); font-size: .93rem; flex: 1; }
.svc__more {
  margin-top: 1.35rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--amber);
  display: inline-flex; align-items: center; gap: .5rem;
}
.svc__more svg { width: 14px; height: 14px; transition: transform .25s ease; }
.svc:hover .svc__more svg { transform: translateX(4px); }

/* Process steps */
.steps { counter-reset: s; display: grid; gap: 0; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem,5vw,4rem); } }
.step { counter-increment: s; padding: 1.75rem 0; border-top: 1px solid var(--ink-line); }
.step__n {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--amber-lt); margin-bottom: .8rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: #a9afb7; font-size: .94rem; }

/* Feature row: image + copy */
.feature { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature--flip .feature__media { order: 2; }
}
.feature__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bone-3); }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature__cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(12,14,17,.82), transparent);
  color: var(--bone);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
}

/* Bullet list with rule separators */
.ticks { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.ticks li {
  position: relative; padding: .95rem 0 .95rem 1.9rem;
  border-top: 1px solid var(--line); font-size: .97rem;
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.section--ink .ticks li { border-color: var(--ink-line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 9px; height: 9px; border: 1.5px solid var(--amber); border-radius: 50%;
}

/* Stat / fact row */
/* auto-fit, because this block also sits inside narrow grid columns */
/* 170px, not 150px: at 150 the auto-fit tracks came out ~152px wide and the
   email address (~222px on one line, ~160px after the @) never fit in one. It
   was overflowing its cell at every breakpoint — invisible on desktop because
   it spilled into the 2rem gutter, but on a phone it widened the document past
   the viewport. min(100%, …) keeps auto-fit from overflowing a container that
   is itself narrower than the track minimum. */
.facts { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.fact dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: .5rem;
}
/* The email address is one 25-character unbreakable token and the grid cell is
   ~150px on a phone. Without this it overflows the cell, widens the whole
   document past the viewport, and every full-bleed section ends up narrower
   than the page — which reads as stray bands of background down the sides.
   `anywhere` rather than `break-word` because only `anywhere` also shrinks the
   min-content contribution, which is what the grid track is sized from. */
.fact dd { margin: 0; font-size: 1.02rem; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.areas li {
  list-style: none;
  font-family: var(--mono); font-size: .78rem;
  padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 100px;
  color: #3b4149;
}
.section--ink .areas li { border-color: var(--ink-line); color: #c3c9d0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  border-right: 1.5px solid var(--amber); border-bottom: 1.5px solid var(--amber);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 clamp(1rem,4vw,3rem) 1.75rem 0; color: var(--grey); max-width: 62ch; }

/* Pull quote */
.pull {
  border-left: 2px solid var(--amber);
  padding: .35rem 0 .35rem 1.75rem;
  margin: 2.5rem 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45; font-weight: 500; letter-spacing: -.015em;
  max-width: 46ch;
}
.pull cite {
  display: block; margin-top: .9rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey); font-style: normal;
}

/* CTA band */
.cta { background: var(--ink); color: var(--bone); }
.cta__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .cta__inner { grid-template-columns: 1.4fr auto; } }
.cta h2 { max-width: 20ch; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* -- 08 Gallery ----------------------------------------------------------- */
.gallery {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gitem {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--bone-3); cursor: zoom-in; border: 0; padding: 0;
  aspect-ratio: 4/3; display: block; width: 100%;
}
.gitem--tall { grid-row: span 2; aspect-ratio: 2/3; }
@media (max-width: 759px) { .gitem--tall { grid-row: span 1; aspect-ratio: 4/3; } }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.gitem:hover img { transform: scale(1.05); }
.gitem figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.25rem .9rem .8rem;
  background: linear-gradient(to top, rgba(12,14,17,.86), transparent);
  color: var(--bone); text-align: left;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gitem figcaption { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 12, 14, .96);
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap {
  color: #c7ccd2; text-align: center; margin-top: 1.25rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid rgba(246,244,240,.28);
  color: var(--bone); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--bone); background: rgba(246,244,240,.08); }
.lightbox__close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); }
.lightbox__nav--prev { left: clamp(.5rem,2vw,2rem); top: 50%; margin-top: -23px; }
.lightbox__nav--next { right: clamp(.5rem,2vw,2rem); top: 50%; margin-top: -23px; }
.lightbox svg { width: 18px; height: 18px; }

/* -- 09 Form -------------------------------------------------------------- */
.formwrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
  /* The form card sits inside .section--ink, so reset the inherited light
     text colour — otherwise typed input text is near-white on near-white. */
  color: var(--ink);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; margin-bottom: .45rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey);
}
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem;
  background: var(--bone); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa0a7; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--ink); outline: none;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236c727a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }
.field--row { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .field--row { grid-template-columns: 1fr 1fr; } }
.field--row .field { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.formnote { margin-top: 1.15rem; font-size: .82rem; color: var(--grey); text-align: center; }
.formdone {
  display: none; text-align: center; padding: clamp(2rem,5vw,3.5rem) 1rem;
}
.formdone h3 { margin-bottom: .75rem; }
.formdone p { color: var(--grey); max-width: 40ch; margin-inline: auto; }
.formdone__tick {
  width: 54px; height: 54px; margin: 0 auto 1.5rem;
  border: 1.5px solid var(--amber); border-radius: 50%;
  display: grid; place-items: center; color: var(--amber);
}
form.is-sent { display: none; }
form.is-sent + .formdone { display: block; }

/* The hero copy of the card: tighter, because it has to fit on the first
   screen next to the headline rather than own a section of its own. */
.formwrap--hero { padding: clamp(1.35rem, 3vw, 1.9rem); box-shadow: 0 26px 64px -26px rgba(8,10,13,.85); }
.formwrap--hero .field { margin-bottom: .8rem; }
.formwrap--hero .field--row { gap: .8rem; margin-bottom: .8rem; }
.formwrap--hero .field input,
.formwrap--hero .field select { padding: .74rem .9rem; }
.formwrap--hero .formnote { margin-top: .8rem; font-size: .76rem; }
.formwrap--hero .formdone { padding: clamp(1.5rem, 4vw, 2.25rem) .5rem; }
.formhead { margin-bottom: 1.1rem; }
.formhead h2 { font-size: 1.2rem; letter-spacing: -.02em; margin: 0; }
.formhead p { font-size: .87rem; color: var(--grey); margin: .35rem 0 0; }

/* -- 10 Footer, sticky bar, motion --------------------------------------- */
.footer { background: var(--ink); color: #b0b6bd; padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--bone); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer h4 {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--grey-2); margin-bottom: 1.1rem; font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .93rem; }
.footer .brand { color: var(--bone); margin-bottom: 1.15rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8rem; color: var(--grey);
}

/* Sticky mobile call bar */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ink-line);
  transform: translateY(110%); transition: transform .3s ease;
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar.is-visible { transform: none; }
@media (min-width: 760px) { .callbar { display: none; } }
.callbar a {
  background: var(--ink); color: var(--bone);
  padding: 1rem .75rem; text-align: center; text-decoration: none;
  font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.callbar a.is-accent { background: var(--amber); color: #fff; }
.callbar svg { width: 16px; height: 16px; }
@media (max-width: 759px) { body { padding-bottom: 0; } }

/* -- 11 Long-form legal pages -------------------------------------------- */
.legal { max-width: var(--maxw-text); }
.legal > h2 {
  font-size: var(--step-h3);
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.02rem; margin-top: 1.9rem; }
.legal h2 + p, .legal h3 + p { margin-top: 1rem; }
.legal p, .legal li { font-size: 1rem; line-height: 1.68; }
.legal ul, .legal ol { margin: 1.1rem 0 1.1rem; padding-left: 1.3rem; display: grid; gap: .6rem; }
.legal li::marker { color: var(--amber); }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:hover { color: var(--amber); }
.legal strong { font-weight: 600; }

/* "Last updated" stamp under the page title */
.legal__stamp {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(246,244,240,.62); margin-top: 1.5rem;
}

/* Contents list at the top of a policy */
.toc { margin: 0 0 clamp(2.5rem,5vw,3.5rem); padding: 0; list-style: none; display: grid; gap: .5rem; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: .95rem; }
.toc a { text-decoration: none; }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono); font-size: .72rem; color: var(--amber);
  margin-right: .85rem;
}
.toc a:hover { color: var(--amber); }

/* A framed aside for the one thing on the page that must not be missed */
.callout {
  margin: 1.75rem 0; padding: 1.25rem 1.4rem;
  background: var(--bone-2); border-left: 2px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p { font-size: .96rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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

@media print {
  .header, .callbar, .lightbox, .mobilenav, .hero__media { display: none !important; }
  body { background: #fff; }
}
