/* ============================================================
   base.css - ERS design system (dark-first, mobile-first)
   Tokens: #faf8f5 warm light bg · #9a4d07 bronze accent · #F59E0B amber CTA · 12px radius
   Inter (self-hosted) body · Paramount Sans display headings.
   No framework. Plain custom properties.
   ============================================================ */

/* ---------------- self-hosted fonts ---------------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/inter-800.woff2") format("woff2");
}
@font-face {
  font-family: "Paramount"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/paramount.woff2") format("woff2");
}

:root {
  /* ERS Metals identity: LIGHT theme on the ERS family palette - warm
     graphite darks (--ink-*) and amber as the single accent. No green and
     no blue: those read off-brand against the rest of the ERS family.
     Amber gradient CTAs, shadows tinted with the brand dark, one ease. */
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-2: #f2ede6;
  --border: #e2dbd1;
  --text: #1a1714;
  --muted: #6b6259;
  --ink-950: #14110d;
  --ink-900: #221d16;
  --ink-800: #2b241b;
  --ink-700: #342b20;
  --glow-300: #fbbf24;
  --glow-100: #f7e9d2;
  --amber: #F59E0B;
  --amber-hover: #d97f06;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  --on-amber: #2a1a00;
  --amber-text: #b45309;
  --accent: #9a4d07;
  --accent-hover: #7c3d05;
  --accent-soft: rgba(154,77,7, .10);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(34,29,22, .06), 0 2px 8px rgba(34,29,22, .05);
  --shadow-md: 0 12px 30px -12px rgba(34,29,22, .35);
  --shadow-lg: 0 30px 70px -25px rgba(34,29,22, .5);
  --ease: cubic-bezier(.16, .84, .44, 1);
  --wrap: 1120px;
  --gap: clamp(1rem, 3vw, 2rem);
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Paramount", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--muted);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* [hidden] must beat the layout display rules below (e.g. the lightbox flex). */
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--text); font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 800; font-family: var(--font-body); }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .6rem; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 60ch; }

/* ---------------- skip link + a11y ---------------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--on-amber); padding: .6rem 1rem; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
/* Present to screen readers and to the document outline, invisible on screen. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Deep bronze focus ring: a bright amber ring was 2.15:1 against the white
   cards (invisible to low-vision keyboard users); --accent is 6.1:1 on white
   and the re-scoped footer/hero values keep it visible on dark bands too. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------------- buttons ----------------
   CWS-grade: pill radius, gradient fill, colored glow, hover lift. Amber CTAs
   keep dark text (--on-amber) - 10.1:1 on amber-400, 5.9:1 on amber-600. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: var(--on-amber); font-weight: 700; font-size: 1rem;
  box-shadow: 0 10px 24px -8px rgba(217, 119, 6, .55);
}
.btn-primary:hover { color: var(--on-amber); transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(217, 119, 6, .65); }
.btn-ghost { background: transparent; color: var(--text); border-color: #d8cfc2; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------------- announce bar ----------------
   Slim gradient utility bar above the nav: trust badge + delivery line,
   phone right-aligned. Hidden on small mobile. */
.announce { background: linear-gradient(90deg, var(--ink-900), var(--ink-700)); color: #fdf4e3; font-size: .86rem; }
.announce-inner { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; padding-block: .5rem; }
.announce-badge { color: var(--amber-300); font-weight: 600; }
.announce-sep { opacity: .45; }
.announce-call { margin-left: auto; font-weight: 700; color: #fff; white-space: nowrap; }
.announce-call:hover { color: var(--amber-300); text-decoration: none; }
@media (max-width: 680px) { .announce { display: none; } }

/* ---------------- header / nav ---------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250,248,245,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(34,29,22,.08); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 66px; }
.brand { flex: none; display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text); letter-spacing: -.02em; white-space: nowrap; }
/* The real ERS Metals mark is taller than it is wide and carries its own
   silhouette, so no square crop and no rounded-square container. */
.brand-logo { height: 46px; width: auto; display: block; flex: none; }
.brand:hover { text-decoration: none; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: .98rem; white-space: nowrap; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta { color: var(--on-amber) !important; }
.nav-toggle, .nav-burger { display: none; }

/* ---- grouped nav (5 dropdowns + Contact) ----
   Markup is <details class="nav-group"><summary class="nav-top">, so the whole
   menu expands, collapses and announces itself with JavaScript switched off.
   chrome.js only adds hover-open and one-at-a-time on top. */
.nav-groups { display: flex; align-items: center; gap: 1.4rem; }
.nav-top {
  display: inline-flex; align-items: center; gap: .34rem;
  color: var(--muted); font-weight: 600; font-size: .98rem; white-space: nowrap;
  cursor: pointer; list-style: none;
}
.nav-top::-webkit-details-marker { display: none; }
.nav-top:hover { color: var(--text); }
.nav-group[open] > .nav-top { color: var(--text); }
/* caret: a rotated corner, so it needs no icon font and inherits colour */
.nav-caret {
  width: .4em; height: .4em; flex: none; margin-top: -.18em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.nav-group[open] .nav-caret { transform: rotate(-135deg); margin-top: .1em; }
.nav-panel-list { list-style: none; margin: 0; padding: 0; }

@media (min-width: 1200px) {
  /* 2px underline grows from the left on hover */
  .site-nav .nav-top, .site-nav a.nav-cta { position: relative; }
  .nav-top::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
  .nav-top:hover::after, .nav-group[open] > .nav-top::after { width: 100%; }
  a.nav-cta::after { display: none; }

  .nav-group { position: relative; }
  .nav-panel {
    position: absolute; top: calc(100% + 15px); left: -1.15rem;
    min-width: 264px; padding: 1.15rem 1.25rem 1rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    z-index: 60;
  }
  /* invisible bridge across the gap so the panel does not snap shut while the
     cursor travels from the label down into it */
  .nav-group[open]::after { content: ""; position: absolute; top: 100%; left: -1.15rem; width: 264px; height: 17px; }
  .nav-panel-blurb { margin: 0 0 .85rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .84rem; line-height: 1.45; white-space: normal; }
  .nav-panel-list a { display: block; padding: .52rem .6rem; margin-inline: -.6rem; border-radius: 10px; color: var(--text); font-size: .95rem; font-weight: 600; }
  .nav-panel-list a:hover { background: var(--surface-2); color: var(--accent); text-decoration: none; }
  .nav-panel-list a::after { display: none; }
}
/* Between the hamburger point and full-width comfort: 6 short labels fit
   easily now, so this only shaves the gaps rather than hiding the wordmark. */
@media (max-width: 1439px) and (min-width: 1200px) {
  .site-nav { gap: 1rem; }
  .nav-groups { gap: 1rem; }
  .nav-top { font-size: .92rem; }
  .btn-primary.nav-cta { padding: .8rem 1.1rem; font-size: .92rem; }
}

@media (max-width: 1199px) {
  /* backdrop-filter would make the sticky header the containing block for the
     fixed drawer (collapsing it to the header's height) - drop it on mobile so
     the drawer anchors to the viewport and runs full height. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250,248,245,.97); }
  /* >=44x44 hit area for touch (WCAG 2.5.5); bars stay visually centered. */
  .nav-burger { display: flex; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; padding: 0; position: relative; z-index: 3; }
  .nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
  /* The checkbox IS the keyboard-operable toggle: a transparent 44x44 control
     layered exactly over the burger. Tab reaches it, Space toggles it, and the
     focus ring paints on the burger below. aria-expanded syncs via layout.js. */
  .header-inner { position: relative; }
  .nav-toggle { display: block; position: absolute; top: 50%; right: clamp(1rem, 4vw, 2rem); width: 44px; height: 44px; margin: -22px 0 0; opacity: 0; cursor: pointer; z-index: 4; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }
  /* CWS-style slide-in right drawer: 78vw forest panel, big light links. */
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px); z-index: 2;
    flex-direction: column; align-items: stretch; gap: 0;
    background: linear-gradient(180deg, var(--ink-950), var(--ink-900));
    padding: calc(66px + 1rem) 0 2rem;
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .site-nav a { color: #f8f5f0; font-size: 1.08rem; padding: .85rem 1.6rem; border-top: 1px solid rgba(255,255,255,.07); }
  .site-nav a:hover { color: #fff; }
  .site-nav .nav-phone { color: #fff !important; }
  .nav-cta { margin: 1rem 1.6rem 0; text-align: center; border-top: 0 !important; }
  .nav-toggle:checked ~ .site-nav { transform: translateX(0); }

  /* In the drawer the same <details> groups become accordions. */
  .nav-groups { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-group { border-top: 1px solid rgba(255,255,255,.07); }
  .nav-top {
    justify-content: space-between; min-height: 44px;
    color: #f8f5f0; font-size: 1.08rem; padding: .85rem 1.6rem;
  }
  .nav-top:hover, .nav-group[open] > .nav-top { color: #fff; }
  .nav-caret { width: .46em; height: .46em; opacity: .7; }
  a.nav-top.nav-flat { border-top: 1px solid rgba(255,255,255,.07); }
  .nav-panel { background: rgba(0,0,0,.26); padding: .35rem 0 .6rem; }
  .nav-panel-blurb { display: none; }
  /* deeper indent + lighter weight so children read as children */
  .nav-panel-list a { padding: .62rem 1.6rem .62rem 2.5rem; font-size: 1rem; font-weight: 500; color: #ded5c8; border-top: 0; }
  .nav-panel-list a:hover { color: #fff; }
}

/* ---------------- hero + sections ---------------- */
.hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2rem, 6vw, 4rem); background:
  radial-gradient(1100px 520px at 15% -10%, rgba(180,83,9,.16), transparent 60%),
  radial-gradient(1000px 460px at 90% -5%, rgba(245,158,11,.13), transparent 60%), var(--bg); }
.section { padding: clamp(3rem, 7.5vw, 5.5rem) 0; }
.section-title { max-width: 24ch; }
.tone-raise { background: var(--surface); border-block: 1px solid var(--border); }
/* Full-bleed dark conversion band: ink gradient, white headings, amber CTA.
   White 12.2:1 / 8.2:1 and muted #ddd2c2 8.9:1 / 6.0:1 across both gradient ends. */
.tone-cta, .tone-dark {
  --text: #ffffff; --muted: #ddd2c2; --accent: #fbbf24; --accent-hover: #fcd34d;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(251,191,36,.12), transparent 60%),
    linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: var(--muted);
}
/* white cards embedded in dark bands re-scope back to ink-on-white */
.tone-cta :is(.card, .reward-card, .post-card, .appt-card, .panel-card, .phone-card, .lead-form, .contact-info, .quote, .herocard),
.tone-dark :is(.card, .reward-card, .post-card, .appt-card, .panel-card, .phone-card, .lead-form, .contact-info, .quote, .herocard) {
  --text: #1a1714; --muted: #6b6259; --accent: #9a4d07; --accent-hover: #7c3d05;
  border-color: rgba(255,255,255,.16); box-shadow: var(--shadow-lg);
}
.tone-dark .ticks li::before, .tone-cta .ticks li::before { color: var(--amber-300); }
.tone-dark .split-media, .tone-cta .split-media { border-color: rgba(255,255,255,.18); box-shadow: var(--shadow-lg); }
.tone-dark .btn-ghost, .tone-cta .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.tone-dark .btn-ghost:hover, .tone-cta .btn-ghost:hover { background: rgba(255,255,255,.24); border-color: #fff; color: #fff; }
.cta-band { text-align: center; padding: clamp(1.5rem, 5vw, 3rem) 0; }
.cta-band .cta-row { justify-content: center; }
.cta-band .lede { margin-inline: auto; }

/* ---------------- cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.card:hover { border-color: var(--accent); }

/* ---- card elevation system: cards POP on hover ----
   Lift + slight scale + shadow elevation on every card family (feature,
   reward/program, blog, appointment, team, city, gallery, resource, panel).
   Touch devices (hover:none) get a resting elevation plus a press state so
   mobile sees the same depth cue; prefers-reduced-motion drops transforms. */
.card, .reward-card, .post-card, .appt-card, .team-card, .city-card, .gallery-item, .resource-link, .download-chip, .panel-card {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .card:hover, .reward-card:hover, .post-card:hover, .appt-card:hover, .team-card:hover, .city-card:hover, .gallery-item:hover, .resource-link:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-lg);
  }
  /* Wide cards + chips: lift without scale (scaling a full-width card warps). */
  .panel-card:hover, .download-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}
@media (hover: none) {
  .card, .reward-card, .post-card, .appt-card, .team-card, .city-card, .gallery-item, .resource-link, .panel-card {
    box-shadow: 0 3px 10px rgba(27,23,18, .09);
  }
  .card:active, .reward-card:active, .post-card:active, .appt-card:active, .team-card:active, .city-card:active, .resource-link:active, .download-chip:active {
    transform: scale(.985);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .reward-card:hover, .post-card:hover, .appt-card:hover, .team-card:hover, .city-card:hover, .gallery-item:hover, .resource-link:hover, .panel-card:hover, .download-chip:hover,
  .card:active, .reward-card:active, .post-card:active, .appt-card:active, .team-card:active, .city-card:active, .resource-link:active, .download-chip:active {
    transform: none;
  }
}
.card-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.card h3, .card .card-title { color: var(--text); font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .4rem; }
.card p { color: var(--muted); margin-bottom: .6rem; }
.card-link { font-weight: 600; }
.card-img { border-radius: var(--radius); margin-bottom: 1rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .6rem; }
.price-note { color: var(--muted); font-size: .92rem; }
/* Small print under a claim: warranty caveats, "confirm at time of order" and
   the like. Quieter than body copy, but still meant to be read - so it keeps the
   muted color rather than dropping below it. */
.note { color: var(--muted); font-size: .92rem; max-width: 68ch; margin-top: 1rem; }
.empty { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ---------------- quotes ---------------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.quote { margin: 0; background: var(--surface); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.4rem; }
.quote p { color: var(--text); font-size: 1.05rem; }
.quote cite { color: var(--muted); font-style: normal; font-weight: 600; font-size: .9rem; }

/* ---------------- product detail ---------------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 780px) { .product-detail { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.product-hero-img { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.product-body :is(h2,h3) { color: var(--text); margin-top: 1.5rem; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--muted); font-weight: 600; width: 45%; }
.spec-table td { color: var(--text); }

/* ---------------- gallery ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.gallery-item { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-item figcaption { padding: .8rem 1rem; color: var(--muted); font-size: .9rem; }
.gallery-title { display: block; color: var(--text); font-weight: 700; }
.gallery-caption { display: block; }
/* The whole thumbnail is the target; the badge only advertises that. */
.gallery-link { display: block; position: relative; }
.gallery-link:hover { text-decoration: none; }
.gallery-zoom {
  position: absolute; right: .7rem; bottom: .7rem; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(20, 17, 13, .82); color: #f8f5f0; font-size: 1.05rem; line-height: 1;
  opacity: 0; transition: opacity .18s var(--ease);
}
.gallery-item:hover .gallery-zoom, .gallery-link:focus-visible .gallery-zoom { opacity: 1; }
/* Touch has no hover state to reveal it, so show the affordance outright. */
@media (hover: none) { .gallery-zoom { opacity: 1; } }
/* The empty state centers its own CTA row. */
.center > .cta-row { justify-content: center; }

/* Category filter: plain links, so filtering works with JS off. Same visual
   language as .filter-btn in the resource library, on an <a> instead. */
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .6rem 1.1rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  color: var(--muted); font-size: .9rem; font-weight: 600;
}
.chip:hover { color: var(--text); border-color: var(--amber); text-decoration: none; }
.chip[aria-current] { background: var(--amber); border-color: var(--amber); color: var(--on-amber); font-weight: 700; }
.chip-count { font-size: .78rem; opacity: .8; }

/* ---- lightbox ----
   Dark band over a light site: re-scope the tokens the way .site-footer does,
   so text, borders and the :focus-visible ring all stay legible on the scrim. */
.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  --text: #f8f5f0; --muted: #c0b6a8; --border: #3d352b; --accent: #f5c563; --surface: #221d16;
  color: var(--muted);
}
.lightbox-scrim { position: absolute; inset: 0; background: rgba(14, 12, 9, .95); backdrop-filter: blur(6px); }
.lightbox-figure { position: relative; margin: 0; display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: min(1100px, 100%); max-height: 100%; }
/* Fill the stage on the long axis of the viewport, whatever the photo's shape.
   No border or fill: object-fit leaves empty box on odd aspect ratios, and the
   scrim should show through it rather than a visible frame. */
.lightbox-img { height: 62vh; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; border-radius: var(--radius-lg); }
@media (max-aspect-ratio: 1/1) {
  .lightbox-img { width: 100%; height: auto; max-height: 62vh; }
}
.lightbox-meta { text-align: center; color: var(--muted); }
.lightbox-title { color: var(--text); font-size: clamp(1.1rem, 3vw, 1.5rem); margin: 0 0 .2rem; }
.lightbox-caption:empty, .lightbox-title:empty { display: none; }
.lightbox-caption { margin: 0; }
.lightbox-count { margin: .5rem 0 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.lightbox-btn {
  position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text); font-size: 1.6rem; line-height: 1;
}
.lightbox-btn:hover { border-color: var(--amber); color: var(--amber-300); text-decoration: none; }
.lightbox-close { top: clamp(.6rem, 2vw, 1.4rem); right: clamp(.6rem, 2vw, 1.4rem); font-size: 1.15rem; }
.lightbox-prev { left: clamp(.4rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(.4rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }

/* ---------------- blog ---------------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; }
.post-card h2 { font-size: 1.3rem; }
.post-meta { color: var(--muted); font-size: .85rem; }
.article { max-width: 760px; padding-block: clamp(2rem, 6vw, 3.5rem); }
.article-cover, .article img { border-radius: var(--radius-lg); margin: 1.2rem 0; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.article-body { color: #453d33; font-size: 1.08rem; }
.article-body :is(h2,h3) { color: var(--text); margin-top: 1.8rem; }

/* ---------------- forms ---------------- */
.contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.contact-info h2 { font-size: 1.3rem; }
.contact-info strong { color: var(--text); }
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.form-heading { font-size: 1.4rem; }
.form-sub { color: var(--muted); }
.lead-form label { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; margin-top: .35rem; background: var(--bg); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 12px; padding: .8rem .9rem; font: inherit;
  min-height: 44px; transition: border-color .2s, box-shadow .2s;
}
/* Focused fields keep a VISIBLE ring (the old outline:none suppressed it):
   green border + soft accent halo + the global :focus-visible ring, restated
   here so nothing downstream can null it out on form fields. */
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,119,6,.14); }
.lead-form input:focus-visible, .lead-form textarea:focus-visible, .lead-form select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; margin: .6rem 0 0; font-size: .9rem; }
.form-status.ok { color: #9a4d07; } /* 6.1:1 on the white form card */
.form-status.err { color: #c0392b; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.2rem; border: 1px solid var(--border); }
.notice-ok { border-color: #9fd6bb; background: rgba(34,197,94,.12); color: #14532d; }
.notice-muted { color: var(--muted); background: var(--surface-2); }

/* ---------------- booking ---------------- */
.slot-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------------- footer ---------------- */
.site-footer { border-top: 1px solid var(--border); background: #1b1712; margin-top: 0; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  --text: #f8f5f0; --muted: #c0b6a8; --border: #3d352b; --accent: #f5c563; --accent-hover: #f8d99a; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap); }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.footer-tagline { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer-legal-name { color: var(--muted); font-size: .85rem; }
.footer-col h3, .footer-col .footer-heading { color: var(--text); font-family: var(--font-body); font-weight: 800; font-size: .95rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .8rem; }
.footer-col p { margin: .3rem 0; font-size: .92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a, .footer-col a { color: var(--muted); }
/* >=44px tap targets on link lists (WCAG 2.5.5; ~2/3 of traffic is mobile).
   min-width catches one-letter labels like the "X" social link. */
.footer-links a, .footer-meta a, .footer-contact-line a, .card-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-links a:hover, .footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }
/* Gap-separated rather than " · " text: the 44px min-width tap targets made
   the interpuncts sit at visibly uneven distances from their labels. */
.footer-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 1.4rem; }

/* Reduced motion: kill every transition AND animation (Ken Burns slow-zoom,
   scroll-cue bob, drawer slide) sitewide; hero video is hidden separately. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero-media picture img { transform: none !important; }
}

/* ============================================================
   ERS Metals additions (hero media, splits, panels, resources,
   rewards, cities, team, booking, sticky mobile CTA, footer)
   ============================================================ */

/* ---- header phone + nav ---- */
.nav-phone { color: var(--text) !important; font-weight: 800; white-space: nowrap; }
.nav-phone:hover { color: var(--accent) !important; text-decoration: none; }

/* ---- hero with background image (duotone + slow-zoom Ken Burns) ---- */
.hero-bg { position: relative; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media .hero-img, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media picture img { transform: scale(1.05); animation: kenburns 22s var(--ease) infinite alternate; }
@keyframes kenburns { to { transform: scale(1.14); } }
/* Brand duotone overlay: forest .90 -> .78 -> green-accent .34. White copy stays
   >=6.2:1 even over a pure-white video frame at the 45% stop. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,13,0) 62%, rgba(20,17,13,.5) 100%),
    linear-gradient(120deg, rgba(20,17,13,.90) 0%, rgba(34,29,22,.78) 45%, rgba(180,83,9,.34) 100%);
}
/* Photo heroes stay dark-over-image: re-scope the text tokens to light inside. */
.hero-bg { --text: #ffffff; --muted: #f7e9d2; --accent: #fbbf24; color: var(--muted); }
.hero-bg h1 { text-shadow: 0 4px 30px rgba(0,0,0,.30); }
.hero-bg .lede { text-shadow: 0 2px 12px rgba(0,0,0,.30); }
.hero-bg .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.hero-bg .btn-ghost:hover { background: rgba(255,255,255,.24); border-color: #fff; color: #fff; }
.hero-inner { position: relative; }

/* ---- the big home hero: 92vh, copy left + conversion card right ---- */
.hero-max { display: flex; align-items: center; min-height: min(92vh, 960px); padding: 4rem 0 5.5rem; }
.hero-max .hero-inner { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-max .eyebrow { letter-spacing: .18em; }
.hero-max h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); letter-spacing: -.03em; margin-bottom: .4em; }
.grad-text { color: var(--amber-400); background: linear-gradient(120deg, var(--amber-300), var(--amber-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-max .lede { font-size: clamp(1.05rem, 2vw, 1.18rem); }
.hero-trust { display: flex; gap: clamp(1.4rem, 3vw, 2.4rem); flex-wrap: wrap; margin-top: 2.2rem; }
.hero-trust-item strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--glow-300); line-height: 1; }
.hero-trust-item span { display: block; font-size: .85rem; color: #f6efe4; margin-top: .3rem; }
/* conversion card */
.herocard { background: rgba(255,255,255,.97); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.7rem; backdrop-filter: blur(6px); --text: #1a1714; --muted: #6b6259; --accent: #9a4d07; color: var(--muted); }
.herocard-title { font-size: 1.35rem; font-family: var(--font-body); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0 0 .35rem; }
.herocard-sub { font-size: .93rem; margin: 0 0 1.15rem; }
.herocard .cta-stack { display: grid; gap: .65rem; }
.herocard .btn-ghost { background: #fff; color: var(--accent); border-color: var(--accent); }
.herocard .btn-ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.herocard-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.05rem; }
.herocard-badges span { background: var(--surface-2); color: var(--accent); font-size: .74rem; font-weight: 700; padding: .38em .9em; border-radius: 999px; }
.herocard-fine { font-size: .82rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.herocard-fine a { font-weight: 700; }
/* bobbing scroll cue */
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 1.3rem; transform: translateX(-50%); color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: .2px; text-shadow: 0 2px 10px rgba(0,0,0,.45); animation: bob 2.2s ease-in-out infinite; white-space: nowrap; }
.hero-scroll:hover { text-decoration: none; color: #fff; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-max { min-height: 0; padding: 3.5rem 0 4.5rem; }
  .hero-scroll { display: none; }
}
/* mobile: strip the hero to video + eyebrow + title + scroll cue */
@media (max-width: 760px) {
  .hero-max { min-height: calc(100svh - 66px); align-items: flex-start; padding: 2.6rem 0 4.5rem; }
  .hero-max .lede, .hero-max .hero-trust, .hero-max .herocard { display: none; }
  .hero-max h1 { font-size: clamp(2.2rem, 9.5vw, 2.9rem); }
  .hero-scroll { display: block; }
}

/* ---- rotating hero video (decorative, full-bleed behind the hero copy;
   the .hero-bg::after scrim above keeps text at WCAG AA contrast) ---- */
.hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-video video.hv-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; transition: none; }
}

/* ---- lists: ticks + steps ---- */
.ticks { list-style: none; padding: 0; margin: 1rem 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin: .5rem 0; color: var(--text); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--amber-text); font-weight: 800; }
.steps { margin: 1rem 0 1rem 1.1rem; color: var(--text); }
.steps li { margin: .5rem 0; padding-left: .3rem; }
.section-lede { margin-bottom: 1.4rem; }
.center-lede { margin-inline: auto; }

/* ---- split (image + copy) ---- */
.split { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: center; }
.split-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.split-media img { width: 100%; height: auto; display: block; object-fit: cover; }
.split-media.fig-light { background: #fff; }
.split-copy h2 { margin-bottom: .6rem; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .split-rev .split-media { order: 2; }
}

/* ---- panel cards (product spec blocks) ---- */
.panel-list { display: grid; gap: var(--gap); }
.panel-card { display: grid; grid-template-columns: 1fr; gap: var(--gap); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; scroll-margin-top: 90px; }
.panel-media { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.panel-media img { width: 100%; height: auto; object-fit: contain; }
.panel-body h3 { color: var(--text); margin: .3rem 0 .5rem; }
@media (min-width: 720px) {
  .panel-card { grid-template-columns: 320px 1fr; align-items: start; }
}

/* ---- comparison + scrollable tables ---- */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--border); }
.compare-table thead th { color: var(--amber-text); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.compare-table td { color: var(--text); }
.compare-table tbody tr:hover { background: var(--surface-2); }

/* ---- color marquee ---- */
.color-marquee-wrap { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.color-marquee-wrap img { width: 100%; height: auto; }

/* ---- rewards ---- */
.reward-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.reward-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.reward-card:hover { border-color: var(--amber); }
/* Vivid orange for the large offer figures (was --amber-text #b45309, which read brown).
   These are large/bold, so 3:1 large-text contrast applies - #ea580c on the light surface clears it. */
.reward-figure { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.2rem); color: #ea580c; line-height: 1; margin-bottom: .4rem; }
.reward-card h3, .reward-card .reward-title { color: var(--text); font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .3rem; }

/* ---- download chips ---- */
.download-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.download-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem 1rem; color: var(--text); font-weight: 600; min-height: 44px; }
.download-chip:hover { border-color: var(--amber); text-decoration: none; }

/* ---- resource library ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
/* >=44px min touch target (WCAG 2.5.5). */
.filter-btn { background: var(--surface); border: 1px solid var(--border); color: var(--muted); border-radius: 999px; padding: .6rem 1.1rem; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.filter-btn:hover { border-color: var(--amber); color: var(--text); }
.filter-btn.is-active { background: var(--amber); color: var(--on-amber); border-color: var(--amber); font-weight: 700; }
.resource-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.resource-link { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; color: var(--text); }
.resource-link:hover { border-color: var(--amber); text-decoration: none; }
.resource-ico { font-size: 1.4rem; flex: none; }
.resource-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.resource-title { color: var(--text); font-weight: 600; }
.resource-sub { color: var(--muted); font-size: .84rem; }
.resource-dl { flex: none; color: var(--amber-text); font-weight: 700; font-size: .9rem; }

/* ---- city grid ---- */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.city-card { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); position: relative; }
.city-card:hover { border-color: var(--amber); text-decoration: none; }
.city-media { margin: 0; }
.city-media img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.city-label { display: block; padding: .9rem 1.1rem .2rem; color: var(--text); font-weight: 700; }
.city-sub { display: block; padding: 0 1.1rem .9rem; color: var(--muted); font-weight: 400; font-size: .9rem; }
/* Not every market has a photograph, and there never will be one for all of
   them. A card with no media centers its text so a mixed row still reads as
   one grid instead of looking like the image failed to load. */
.city-card-plain { display: flex; flex-direction: column; justify-content: center; min-height: 7.5rem; }
.city-card-plain .city-label { padding-top: 1.1rem; }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.team-photo { margin: 0; background: var(--surface-2); }
.team-photo img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; }
.team-photo-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/5; }
.team-photo-ph span { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--amber-text); }
.team-info { padding: 1.4rem; }
.team-info h3, .team-info .team-name { color: var(--text); font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .1rem; }
.team-role { color: var(--amber-text); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: .7rem; }

/* ---- FAQ ---- */
.faq { display: grid; gap: .7rem; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .3rem 1.1rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: .9rem 0; color: var(--text); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--amber-text); font-weight: 800; font-size: 1.3rem; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { color: var(--muted); padding-bottom: .9rem; }
.faq-a p { margin: 0 0 .5rem; }

/* ---- booking / appointments ---- */
.appt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); margin-bottom: 1.6rem; }
.appt-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; }
.appt-mode { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-text); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .5rem; }
.appt-card h3, .appt-card .appt-title { color: var(--text); font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5rem; }

/* ---- sticky mobile CTA bar ----
   CWS past-hero pattern: hidden until the visitor scrolls past the hero
   (layout.js IntersectionObserver adds body.past-hero), then slides up over a
   gradient-to-transparent forest backdrop with safe-area padding. */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 1rem .8rem calc(.7rem + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(20,17,13,.97) 55%, rgba(20,17,13,0));
    transform: translateY(115%); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s;
  }
  body.past-hero .mobile-cta { transform: none; opacity: 1; pointer-events: auto; }
  .mcta { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: .98rem; }
  .mcta-call { background: rgba(34,29,22,.82); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
  .mcta-book { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -6px rgba(20,17,13,.5); }
  .mcta-quote { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: var(--on-amber); box-shadow: 0 10px 26px -6px rgba(217,119,6,.6); }
  .mcta:hover { text-decoration: none; }
  body { padding-bottom: 76px; }
}

/* ---- footer (grouped, sitemap-style) ----
   The sitemap gets the FULL wrap width in its own band. It used to share a row
   with the brand block at 1.2fr/2fr, which left the five columns ~100px each
   and wrapped almost every label onto two or three lines. Brand, contact,
   family and social moved down into their own band underneath. */
.footer-sitemap { display: grid; grid-template-columns: 1fr; gap: 1.2rem 1.6rem; }
.footer-base {
  display: grid; grid-template-columns: 1fr; gap: var(--gap);
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--border);
}
.footer-brandcol .footer-contact-line, .footer-brandcol .footer-addr, .footer-brandcol .footer-hours,
.footer-base .footer-contact-line, .footer-base .footer-addr, .footer-base .footer-hours { color: var(--muted); font-size: .9rem; margin: .1rem 0; }
.footer-inline { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.footer-inline li { margin: 0; }
/* Wrapping link text must not collide with the 44px tap-target rule, which
   makes every anchor an inline-flex box. */
.footer-links a { line-height: 1.35; }

@media (min-width: 480px) {
  .footer-sitemap { grid-template-columns: repeat(2, 1fr); }
  .footer-base { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 700px) {
  .footer-sitemap { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  /* five equal columns across the full wrap: ~193px each, so every label in
     site.config.js `ia` sits on one line */
  .footer-sitemap { grid-template-columns: repeat(5, 1fr); }
  /* the contact column carries the street address, so it gets the widest share */
  .footer-base { grid-template-columns: 1.15fr 1.5fr 1fr 1fr; }
}

/* ---- dynamic product detail media ---- */
.product-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.product-media.fig-light { background: #fff; }
.product-media img { width: 100%; height: auto; object-fit: contain; }

/* ---- product sheet: at-a-glance stat chips ---- */
.glance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .7rem; margin: 0 0 1.2rem; }
.glance { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem 1rem; }
.glance-k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .2rem; }
.glance-v { display: block; color: var(--text); font-weight: 700; font-size: .98rem; line-height: 1.25; }

/* ---- booking: layout + phone fallback card ---- */
.book-grid { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.book-aside { display: grid; gap: var(--gap); align-content: start; }
.phone-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.phone-card .phone-big { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--text); margin: .2rem 0 .4rem; }
.phone-card .phone-big:hover { color: var(--accent); text-decoration: none; }
.phone-card p { margin: 0 0 .5rem; font-size: .95rem; }
