/* ============================================================
   A-Class Moulding — design system
   Light + gold. Structure modelled on bossplumbing.ca.
   ============================================================ */

:root {
  /* Surfaces — warm limestone rather than cool grey */
  --paper:      #FFFFFF;
  --panel:      #FAF7F1;
  --panel-2:    #F3EDE1;
  --ink:        #1C1A17;
  --ink-2:      #2A2620;
  --ink-soft:   #5A544B;
  --ink-faint:  #8A8175;
  --line:       #E6DFD1;
  --line-soft:  #F0EADE;

  /* Gold */
  --gold:       #B8912F;  /* fills, rules, decorative */
  --gold-deep:  #7A6220;  /* gold text on light — 5.8:1 on white */
  --gold-warm:  #D4AC49;  /* highlights on dark */
  --gold-tint:  #F5EDD9;

  /* Type */
  --font-display: 'Poppins', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --font-sans:    'Poppins', 'Avenir Next', 'Helvetica Neue', sans-serif;

  /* Rhythm — Boss's scale */
  --r-btn:  10px;
  --r-card: 14px;
  --r-img:  8px;
  --shell:  1240px;
  --gap:    26px;
  --section-y: clamp(64px, 8vw, 108px);

  --shadow-card: 0 0 10px rgba(190, 178, 155, 0.35);
  --shadow-lift: 0 18px 40px -22px rgba(46, 38, 22, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.05rem, 4.4vw, 2.9rem); line-height: 1.16; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.15rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.02em; }

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

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

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--panel { background: var(--panel); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-btn) 0;
}
.skip-link:focus { left: 0; }

/* ── Eyebrow + section heads ─────────────────────────────── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: ""; height: 1px; width: 44px; background: var(--gold); opacity: 0.6;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: ""; height: 1px; width: 44px; background: var(--gold); opacity: 0.6;
}

.section-head { max-width: 760px; display: grid; gap: 18px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { font-size: 1.05rem; color: var(--ink-soft); }

.lede { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--ink    { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; box-shadow: var(--shadow-lift); }

.btn--gold   { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-warm); box-shadow: 0 18px 40px -22px rgba(184,145,47,.9); }

.btn--ghost  { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); background: var(--gold-tint); }

.btn--onlight-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--onlight-outline:hover { background: var(--ink); color: #fff; }

.btn--sm { padding: 12px 22px; font-size: .94rem; }

/* Text link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; color: var(--gold-deep);
}
.arrow-link span:last-child { transition: transform .3s var(--ease); }
.arrow-link:hover span:last-child { transform: translateX(5px); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 28px -20px rgba(46,38,22,.55); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 7px;
  object-fit: cover;
  background: var(--ink);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--ink); letter-spacing: -.01em;
}
.brand-sub {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .95rem; font-weight: 500; color: var(--ink-2); position: relative; padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-cta { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
  transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ink) center/cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(18,16,13,.92) 0%, rgba(18,16,13,.74) 42%, rgba(18,16,13,.18) 78%, rgba(18,16,13,.05) 100%);
}
.hero-inner { align-self: center; padding-block: clamp(64px, 9vw, 104px); }
.hero-inner > * { max-width: 700px; }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal; font-weight: 600; color: var(--gold-warm);
}
.hero-sub {
  margin-top: 20px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.6;
  color: rgba(255,255,255,.86); max-width: 560px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .btn--onlight-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--onlight-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.trust-strip {
  border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(12,10,8,.55);
  backdrop-filter: blur(6px);
}
.trust-strip ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px;
  padding-block: 18px; align-items: center;
}
.trust-strip li {
  display: flex; align-items: center; gap: 9px;
  font-size: .85rem; letter-spacing: .04em; color: rgba(255,255,255,.82);
}
.trust-strip svg { width: 16px; height: 16px; color: var(--gold-warm); flex: none; }

/* ── Card grid (materials / services) ────────────────────── */
.card-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 18px 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lift);
}
.card-media {
  border-radius: var(--r-img); overflow: hidden; aspect-ratio: 3 / 2; background: var(--panel-2);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }
.card h3 { font-size: 1.3rem; }
.card p { font-size: .96rem; color: var(--ink-soft); flex: 1; }
.card-count {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
}

/* ── Bands ───────────────────────────────────────────────── */
.band { padding-block: clamp(52px, 6vw, 76px); }

.band--ink { background: var(--ink); color: rgba(255,255,255,.78); }
.band--ink h2 { color: #fff; }
.band--ink .eyebrow { color: var(--gold-warm); }
.band--ink .eyebrow::after, .band--ink .eyebrow::before { background: var(--gold-warm); }

.band--gold { background: var(--gold); color: var(--ink-2); }
.band--gold h2 { color: var(--ink); }
.band--gold .eyebrow { color: var(--ink-2); }
.band--gold .eyebrow::after, .band--gold .eyebrow::before { background: var(--ink-2); opacity: .45; }
.band--gold .btn--ink:hover { background: #000; }

.band-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 32px;
}
.band-copy { max-width: 620px; display: grid; gap: 14px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Split (about) ───────────────────────────────────────── */
.split {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.split-media {
  border-radius: var(--r-card); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lift);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 18px; }
.split-copy p { font-size: 1.03rem; }
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 22px;
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 500; line-height: 1.5;
  color: var(--ink); letter-spacing: -.015em;
}

/* ── Stats ───────────────────────────────────────────────── */
.stats {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}
.stat {
  padding: 30px 18px;
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.stat-value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, 4.8vw, 3rem); color: var(--gold-deep); line-height: 1;
  letter-spacing: -.04em;
}
.stat-label {
  margin-top: 10px; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* ── Proof cards ─────────────────────────────────────────── */
.proof-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.proof {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-card);
  padding: 28px 24px; display: grid; gap: 12px; align-content: start;
}
.proof-icon {
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
}
.proof-icon svg { width: 21px; height: 21px; }
.proof h3 { font-size: 1.12rem; }
.proof p { font-size: .95rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-item {
  border: 2px solid var(--line); border-radius: var(--r-card);
  background: var(--paper); overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--ink);
  letter-spacing: -.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-sans); font-size: 1.5rem; font-weight: 300;
  color: var(--gold-deep); flex: none; transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; font-size: .98rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 64px 30px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  padding-bottom: 44px;
}
.site-footer h4 {
  color: #fff; font-family: var(--font-sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { box-shadow: 0 0 0 1px rgba(212,172,73,.45); }
.footer-tagline { margin-top: 18px; font-size: .95rem; max-width: 320px; }
.footer-list { list-style: none; display: grid; gap: 11px; font-size: .95rem; }
.footer-list a { transition: color .2s; }
.footer-list a:hover { color: var(--gold-warm); }
.footer-contact { display: grid; gap: 11px; font-size: .95rem; }
.footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-warm); flex: none; }
.footer-phone { font-family: var(--font-display); font-size: 1.3rem; color: #fff !important; font-weight: 600; letter-spacing: -.02em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .84rem; color: rgba(255,255,255,.5);
}
.todo { color: var(--gold-warm); border-bottom: 1px dashed rgba(212,172,73,.6); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 76px);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero p { max-width: 620px; margin-top: 16px; font-size: 1.05rem; }

/* ── Gallery ─────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); cursor: pointer; font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.gallery figure {
  position: relative; border-radius: var(--r-img); overflow: hidden;
  aspect-ratio: 1; background: var(--panel-2); cursor: zoom-in;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(12,10,8,.85), transparent);
  color: #fff; font-size: .8rem; letter-spacing: .06em;
  opacity: 0; transform: translateY(8px); transition: all .3s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(12,10,8,.94); place-items: center; padding: 4vh 4vw;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.24); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev  { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .1em;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-card {
  background: var(--paper); border: 2px solid var(--line);
  border-radius: var(--r-card); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field .opt { color: var(--ink-faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 15px;
  background: var(--panel); font-size: 1rem; width: 100%;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-note { font-size: .86rem; color: var(--ink-faint); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: .95rem; padding: 14px 16px; border-radius: 8px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok   { background: var(--gold-tint); border: 1px solid var(--gold); color: var(--ink); }
.form-status.is-err  { background: #FDF1EE; border: 1px solid #E0A996; color: #7A3421; }

/* ── Contact layout ──────────────────────────────────────── */
.contact-layout {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ── Contact tiles ───────────────────────────────────────── */
.contact-tiles { display: grid; gap: 16px; }
.contact-tile {
  border: 2px solid var(--line); border-radius: var(--r-card);
  background: var(--panel); padding: 22px 24px; display: grid; gap: 6px;
}
.contact-tile .k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.contact-tile .v {
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); font-weight: 600;
  letter-spacing: -.02em; overflow-wrap: anywhere;
}
.contact-tile .v a:hover { color: var(--gold-deep); }

/* ── Article list (blog) ─────────────────────────────────── */
.article-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.article-card {
  border: 2px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.article-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lift); }
.article-card .card-media { border-radius: 0; aspect-ratio: 16 / 10; }
.article-body { padding: 24px; display: grid; gap: 12px; flex: 1; align-content: start; }
.article-meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ── Responsive ──────────────────────────────────────────── */
/* Between the hamburger breakpoint and ~1080px the full nav plus both header
   buttons overflow. Drop the phone button first — the number is still in the
   hero, the footer and every CTA band. */
@media (max-width: 1080px) {
  .header-actions .btn--phone { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    box-shadow: 0 20px 40px -28px rgba(46,38,22,.6);
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .header-actions .btn--phone { display: none; }
  .hero { min-height: 540px; }
  .split { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, var(--shell)); }

  /* Header can't hold brand + CTA + hamburger below this width, so the
     CTAs move into the drawer (site.js injects .nav-cta). */
  .header-actions .btn { display: none; }
  .nav-cta { display: grid; gap: 10px; padding-top: 18px; }
  .nav-cta .btn { width: 100%; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 38px; height: 38px; }
  .header-inner { min-height: 72px; }
  .nav { inset-block-start: 72px; max-height: calc(100vh - 72px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta .btn { width: 100%; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

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

/* ── Article pages ───────────────────────────────────────── */
.article-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}
@media (max-width: 940px) { .article-layout { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.12rem; margin-top: 1.7em; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--gold-deep); border-bottom: 1px solid rgba(184,145,47,.45); }
.prose a:hover { border-bottom-color: var(--gold); }
.prose figure { margin-block: 2em; }
.prose figure img { border-radius: var(--r-img); width: 100%; }
.prose figcaption {
  margin-top: 10px; font-size: .85rem; color: var(--ink-faint); text-align: center;
}
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px; margin-block: 1.6em;
  font-size: 1.08rem; font-weight: 500; color: var(--ink); letter-spacing: -.015em;
}
.callout {
  background: var(--gold-tint);
  border: 1px solid rgba(184,145,47,.4);
  border-radius: var(--r-card);
  padding: 20px 22px;
  margin-block: 1.8em;
}
.callout p { font-size: .98rem; }
.callout strong { display: block; margin-bottom: 6px; letter-spacing: .01em; }

.article-hero { background: var(--panel); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); }
.breadcrumb { font-size: .8rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { margin-inline: 7px; opacity: .5; }
.article-byline {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  margin-top: 18px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
}
.article-byline .tag { color: var(--gold-deep); font-weight: 600; }

.sidebar { position: sticky; top: 108px; display: grid; gap: 16px; }
.sidebar-card {
  border: 2px solid var(--line); border-radius: var(--r-card);
  background: var(--panel); padding: 22px;
}
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.sidebar-card p { font-size: .93rem; margin-bottom: 14px; }
.sidebar-card .btn { width: 100%; }
.toc { list-style: none; display: grid; gap: 9px; font-size: .93rem; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--gold-deep); }
@media (max-width: 940px) { .sidebar { position: static; } }

.article-faq { margin-top: 3em; }
.article-faq > h2 { margin-bottom: 20px; }

.related { border-top: 1px solid var(--line); margin-top: 3.5em; padding-top: 2em; }
.related h2 { font-size: 1.3rem; margin-bottom: 20px; }

/* ── Admin dashboard ─────────────────────────────────────── */
.admin-gate { max-width: 460px; margin: 0 auto; }
.admin-shell { display: none; }
.admin-shell.is-on { display: block; }

.stat-row {
  display: grid; gap: 14px; margin-bottom: 28px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.stat-tile {
  border: 2px solid var(--line); border-radius: var(--r-card);
  background: var(--panel); padding: 18px 20px;
}
.stat-tile .n {
  font-size: 1.9rem; font-weight: 600; color: var(--gold-deep);
  line-height: 1; letter-spacing: -.03em;
}
.stat-tile .k {
  margin-top: 8px; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint);
}

.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: var(--r-card); }
table.leads { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 900px; }
table.leads th, table.leads td { padding: 12px 14px; text-align: left; vertical-align: top; }
table.leads thead th {
  background: var(--panel-2); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 600;
  position: sticky; top: 0;
}
table.leads tbody tr + tr { border-top: 1px solid var(--line-soft); }
table.leads tbody tr:hover { background: var(--panel); }
table.leads td.details { max-width: 320px; white-space: pre-wrap; }
table.leads td a { color: var(--gold-deep); }
.admin-empty { padding: 40px; text-align: center; color: var(--ink-faint); }
.admin-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.admin-note {
  font-size: .84rem; color: var(--ink-faint);
}
.split-list { display: grid; gap: 8px; font-size: .9rem; }
.split-list div { display: flex; justify-content: space-between; gap: 12px; }
.split-list .v { color: var(--gold-deep); font-weight: 600; }

/* ── Legal / prose pages ─────────────────────────────────── */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { font-size: 1rem; line-height: 1.72; }
.legal > * + * { margin-top: 1.1em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: .45em; }
.legal a { color: var(--gold-deep); border-bottom: 1px solid rgba(184,145,47,.45); }
.legal .updated {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
}
