/* =========================================================
   Dardon Custom Construction — Design System
   Three colors: charcoal (trust), cedar (warmth/action), white.
   One typeface family: Archivo (grotesque, variable width).
   ========================================================= */

:root {
  /* Color — brand constants */
  --ink: #16191b;          /* charcoal: authority, structure */
  --ink-2: #23292c;        /* raised charcoal surface */
  --cedar: #b4612c;        /* warm accent: action, wood, craft */
  --cedar-ink: #8f4a1f;    /* accent text on light (AA on white) */
  --white: #ffffff;

  /* Neutral tints derived from charcoal + white (not new hues) */
  --paper: #f5f3ef;
  --line: #ddd8d0;
  --line-dark: #343b3f;
  --muted: #5c6367;
  --muted-on-dark: #a9b0b3;

  /* Status (used only in the lead inbox, never on marketing pages) */
  --ok: #2f7d4f;
  --warn: #a8741a;

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-md: 1.05rem;
  --fs-lg: clamp(1.2rem, 1rem + .6vw, 1.45rem);
  --fs-xl: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  --fs-2xl: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem);
  --track-wide: .22em;

  /* Space (8pt scale) */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem; --s6: 4.5rem; --s7: 7rem;

  --radius: 4px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; }

h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 var(--s2); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: var(--fs-2xl); font-stretch: 112%; }
h2 { font-size: var(--fs-xl); font-stretch: 108%; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s2); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s7) 0; }
.section--tight { padding: var(--s6) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--cedar-ink);
  margin-bottom: var(--s2);
}
.section--dark .eyebrow { color: var(--cedar); }
.lede { font-size: var(--fs-lg); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.section--dark .lede { color: var(--muted-on-dark); }
.measure { max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s2); top: var(--s2); z-index: 100; background: var(--white); padding: var(--s1) var(--s2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark__main { font-weight: 800; font-stretch: 125%; font-size: 1.55rem; letter-spacing: .04em; }
.wordmark__sub { font-weight: 500; font-size: .56rem; letter-spacing: .42em; margin-top: 5px; color: var(--muted); }
.section--dark .wordmark__sub, .site-footer .wordmark__sub { color: var(--muted-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.6em;
  font: 600 var(--fs-md)/1 var(--font);
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cedar); color: var(--white); }
.btn--primary:hover { background: var(--cedar-ink); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s3); }
.nav { display: flex; align-items: center; gap: var(--s4); }
.nav__links { display: flex; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: var(--fs-sm); padding: .4em 0; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current="page"] { border-bottom-color: var(--cedar); }
.header-phone { font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.header-phone small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav__cta { min-height: 44px; font-size: var(--fs-sm); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: auto; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; padding: var(--s4) var(--gutter); gap: var(--s3); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
  .nav-open .nav { transform: none; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; font-size: 1.4rem; font-weight: 600; padding: .7em 0; border-bottom: 1px solid var(--line); }
  .header-phone { font-size: 1.5rem; }
  .nav__cta { min-height: 56px; font-size: var(--fs-md); }
}

/* ---------- Mobile action bar (thumb-zone CTA) ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .action-bar .btn { min-height: 50px; font-size: .98rem; padding: 0 .8em; }
  .action-bar .btn--ghost { color: var(--white); }
  body { padding-bottom: 76px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media > * { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,25,27,.94) 0%, rgba(22,25,27,.78) 45%, rgba(22,25,27,.25) 100%); }
.hero__inner { position: relative; padding: clamp(4rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem); display: grid; gap: var(--s5); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--cedar); }
.hero .lede { color: #cfd4d6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); max-width: 760px; }
.hero__proof div { padding: var(--s3) var(--s3) 0 0; }
.hero__proof div + div { padding-left: var(--s3); border-left: 1px solid rgba(255,255,255,.18); }
.hero__proof strong { display: block; font-size: 1.05rem; }
.hero__proof span { font-size: var(--fs-sm); color: var(--muted-on-dark); }
@media (max-width: 640px) {
  .hero__proof { grid-template-columns: 1fr; }
  .hero__proof div, .hero__proof div + div { padding: var(--s2) 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero__actions .btn { width: 100%; }
}

.page-hero { background: var(--ink); color: var(--white); padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); max-width: 18ch; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--s4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }

/* Differentiators — numbered, engineering-sheet feel */
.pillar { border-top: 2px solid var(--ink); padding-top: var(--s3); }
.section--dark .pillar { border-top-color: var(--cedar); }
.pillar__num { font-size: var(--fs-xs); letter-spacing: var(--track-wide); color: var(--cedar-ink); font-weight: 600; }
.section--dark .pillar__num { color: var(--cedar); }
.pillar h3 { margin-top: var(--s2); }
.pillar p { color: var(--muted); margin: 0; }
.section--dark .pillar p { color: var(--muted-on-dark); }

/* Service cards */
.service-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.service-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__media { aspect-ratio: 4/3; background: var(--paper); overflow: hidden; }
.service-card__media > * { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: var(--s3); display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); font-size: var(--fs-sm); }
.service-card__more { margin-top: auto; font-weight: 600; font-size: var(--fs-sm); color: var(--cedar-ink); }

/* Spec list — "documentation" made visible */
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: var(--s2); padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.spec li span:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-xs); font-weight: 600; padding-top: 2px; }
.section--dark .spec, .section--dark .spec li { border-color: var(--line-dark); }
.section--dark .spec li span:first-child { color: var(--muted-on-dark); }

/* ---------- Project cards & gallery ---------- */
.project { position: relative; display: block; text-decoration: none; color: var(--white); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); cursor: pointer; border: 0; padding: 0; text-align: left; width: 100%; font: inherit; }
.project__media { aspect-ratio: 4/3; }
.project--tall .project__media { aspect-ratio: 3/4; }
.project__media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__media > * { transform: scale(1.035); }
.project__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4) var(--s3) var(--s3); background: linear-gradient(transparent, rgba(16,18,20,.92)); }
.project__cap strong { display: block; font-size: 1.05rem; }
.project__cap span { font-size: var(--fs-sm); color: #cfd4d6; }
.badge-sample { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--white); color: var(--ink); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }
.chip { min-height: 40px; padding: 0 1.1em; border: 1px solid var(--line); background: var(--white); border-radius: 999px; font: 500 var(--fs-sm) var(--font); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.masonry { columns: 3 300px; column-gap: var(--s3); }
.masonry > * { break-inside: avoid; margin-bottom: var(--s3); }

/* Lightbox / project detail */
.lightbox { border: 0; padding: 0; max-width: min(1100px, 100vw); width: 100%; max-height: 100vh; background: var(--white); color: var(--ink); }
.lightbox::backdrop { background: rgba(10,12,13,.86); }
.lightbox__grid { display: grid; grid-template-columns: 1.5fr 1fr; }
.lightbox__media { background: var(--ink); position: relative; min-height: 320px; }
.lightbox__media [data-stage-view] { position: absolute; inset: 0; }
.lightbox__media [data-stage-view] > * { width: 100%; height: 100%; object-fit: cover; }
.lightbox__stage-tabs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.lightbox__stage-tabs button { min-height: 36px; padding: 0 .9em; border: 0; border-radius: 2px; background: rgba(255,255,255,.88); font: 600 .78rem var(--font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.lightbox__stage-tabs button[aria-pressed="true"] { background: var(--cedar); color: var(--white); }
.lightbox__body { padding: var(--s4); overflow-y: auto; max-height: 90vh; }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 760px) { .lightbox__grid { grid-template-columns: 1fr; } .lightbox__media { aspect-ratio: 4/3; min-height: 0; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.steps li { counter-increment: step; position: relative; padding-top: var(--s5); }
.steps li::before { content: "0" counter(step); position: absolute; top: 0; left: 0; font-weight: 800; font-stretch: 125%; font-size: 1.6rem; color: var(--cedar); }
.steps li::after { content: ""; position: absolute; top: 1.05rem; left: 3.2rem; right: 0; height: 1px; background: var(--line); }
.section--dark .steps li::after { background: var(--line-dark); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.section--dark .steps p { color: var(--muted-on-dark); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); position: relative; display: flex; flex-direction: column; }
.review__stars { color: var(--cedar); letter-spacing: .15em; margin-bottom: var(--s2); }
.review blockquote { margin: 0 0 var(--s3); font-size: 1.05rem; }
.review footer { margin-top: auto; font-size: var(--fs-sm); color: var(--muted); }
.review footer strong { color: var(--ink); }
.review .badge-sample { position: static; display: inline-block; margin-bottom: var(--s2); background: var(--paper); align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cedar); color: var(--white); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-top: var(--s6); padding-bottom: var(--s6); }
.cta-band h2 { margin: 0; max-width: 22ch; }
.cta-band .btn--primary { background: var(--ink); }
.cta-band .btn--primary:hover { background: var(--ink-2); }
.cta-band .big-phone { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; text-decoration: none; display: block; }

/* ---------- Area list ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0; }
.areas li { border: 1px solid var(--line-dark); padding: .45em 1em; border-radius: 999px; font-size: var(--fs-sm); }
.section--paper .areas li, .areas--light li { border-color: var(--line); background: var(--white); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s3) 2.5rem var(--s3) 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--cedar-ink); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: var(--s3); margin: 0; max-width: 70ch; }

/* ---------- Forms ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2.5rem); }
.progress { display: flex; gap: 6px; margin-bottom: var(--s4); }
.progress span { flex: 1; height: 4px; background: var(--line); border-radius: 2px; transition: background .3s; }
.progress span.is-done { background: var(--cedar); }
.step-label { font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--s1); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--s3); padding: 0; }
.field { margin-bottom: var(--s3); }
.field label, .field .label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  font: 400 1rem var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180,97,44,.25); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #b3261e; }
.error-msg { color: #b3261e; font-size: var(--fs-sm); margin-top: 6px; display: none; }
.field.has-error .error-msg { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile label { display: flex; flex-direction: column; gap: 4px; min-height: 86px; justify-content: center; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: .98rem; transition: border-color .15s, background .15s; margin: 0; }
.tile label small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.tile input:checked + label { border-color: var(--cedar); background: #fbf3ed; box-shadow: inset 0 0 0 1px var(--cedar); }
.tile input:focus-visible + label { outline: 3px solid var(--cedar); outline-offset: 2px; }
.tiles--compact { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.tiles--compact label { min-height: 56px; }

.form-nav { display: flex; gap: var(--s2); justify-content: space-between; margin-top: var(--s4); }
.form-nav .btn--ghost { color: var(--ink); }
.form-step[hidden] { display: none; }
.hp { position: absolute; left: -5000px; }
.reassure { display: flex; gap: var(--s3); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s3); }
.reassure span::before { content: "✓ "; color: var(--cedar-ink); font-weight: 700; }
.file-drop { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: var(--s3); text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.file-drop input { margin-top: var(--s1); max-width: 100%; }

.success { text-align: center; padding: var(--s4) 0; }
.success__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--cedar); color: var(--white); display: grid; place-items: center; font-size: 2rem; margin: 0 auto var(--s3); }
.success ol { text-align: left; max-width: 420px; margin: var(--s3) auto; padding-left: 1.2em; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: var(--s6) 0 var(--s4); font-size: var(--fs-sm); }
.site-footer a { text-decoration: none; color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s4); }
.footer-grid h4 { font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted-on-dark); font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-phone { font-size: 1.6rem; font-weight: 800; color: var(--white) !important; display: block; margin: var(--s2) 0 4px; }
.footer-legal { border-top: 1px solid var(--line-dark); margin-top: var(--s5); padding-top: var(--s3); display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; color: var(--muted-on-dark); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: var(--s2); }
.note { font-size: var(--fs-xs); color: var(--muted); }

/* Drawings used as hero backgrounds: drop annotation text so it never fights the headline */
.hero__media text { display: none; }
.split > *, .grid > * { min-width: 0; }
.page-hero .lede { color: #cfd4d6; }
html { overflow-x: clip; }
@media (max-width: 960px) {
  .nav { visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  .nav-open .nav { visibility: visible; transition: transform .3s var(--ease); }
}
