/* ==========================================================================
   360 Fireplace & Chimney — site.css
   Dark, warm, ember-lit craftsman design system. No frameworks.
   ========================================================================== */

:root {
  --ink: #0C0A09;
  --charcoal: #1C1917;
  --coal-2: #292524;
  --coal-3: #44403C;
  --ember: #EA580C;
  --ember-hi: #F97316;
  --flame: #FDBA74;
  --copper: #B45309;
  --bronze: #C9824A;
  --brick: #9A3412;
  --cream: #FAF6F1;
  --sand: #F3EDE4;
  --stone: #E7E0D5;
  --text: #1C1917;
  --muted: #57534E;
  --line: #E7E0D5;
  --focus-ring: #C2410C;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 12px;
  --shadow-lift: 0 18px 40px -18px rgba(12, 10, 9, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(12, 10, 9, 0.22);
  --ember-glow: 0 0 0 1px rgba(234, 88, 12, 0.35), 0 10px 34px -8px rgba(234, 88, 12, 0.55);
  --section-pad: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--ember); }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; }
p { max-width: 68ch; }
p + p { margin-top: 1em; }

/* The site-wide focus indicator — it covers everything except the before/after
   slider, which draws its own ring further down (.ba-slider:focus-within) off the
   same --focus-ring. It was --ember-hi (#F97316) on every
   ground, which only ever worked on the dark sections: measured against the
   light surfaces that most of the site is made of, it was 2.61:1 on --cream
   (the contact form card that holds the submit button), 2.41:1 on --sand (the
   city pills and the gallery filters) and 2.14:1 on --stone — under the 3:1
   WCAG 2.2 SC 1.4.11 asks of a focus indicator, so a keyboard user could not
   see what was focused on the pages that convert. The colour now comes from
   --focus-ring, a deep ember measured at 4.81:1 on --cream, 4.45:1 on --sand
   and 3.95:1 on --stone. */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
/* ...and the dark containers hand the ring back to --ember-hi, because on those
   grounds it is #C2410C that disappears (2.93:1 on the --coal-2 cards, pills and
   FAQ rows) while --ember-hi is 5.41:1. Custom properties inherit, so setting it
   on the container covers every focusable thing inside it. .mobile-menu is a
   sibling of .site-header, not a child, so it has to be named separately, and
   .skip-link is listed for where it lands rather than where it lives: it is
   markup in head.php but it paints over the dark header, so a #C2410C ring would
   sit at 2.73:1 there — and it would be the same colour as the skip link it is
   drawn around, which is the thing this was supposed to fix. */
.hero, .error-hero, .page-hero, .section-dark, .cta-band, .trust-strip,
.site-header, .topbar, .site-footer, .mobile-menu, .skip-link, .lightbox {
  --focus-ring: var(--ember-hi);
}

/* The emergency banner is the one ground where NEITHER ember works. It is a
   saturated brick gradient (--brick to #7c2d12), and measured against it
   #C2410C is 1.41:1 and even --ember-hi is only 2.61:1 — both under the 3:1
   SC 1.4.11 asks. It matters more than most: the element holds the emergency
   phone link on the contact page, so the one control a person hunts for in a
   hurry had the least visible focus state on the site. Cream is 6.79:1 on the
   light stop and 8.71:1 on the dark one. */
.emergency-banner {
  --focus-ring: var(--cream);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  /* This is the affordance keyboard and magnifier users hit first, and it was
     the least legible thing on the site: --cream on --ember is 3.31:1, under the
     4.5:1 its normal-size text needs. #C2410C takes the label to 4.81:1 and is
     still 3.81:1 against the dark header it gets drawn over, so the button's own
     edge stays visible too. */
  background: #C2410C;
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--copper);
  flex: 0 0 auto;
}
.section-dark .eyebrow, .cta-band .eyebrow, .hero .eyebrow { color: var(--flame); }
.section-dark .eyebrow::before, .cta-band .eyebrow::before, .hero .eyebrow::before { background: var(--ember-hi); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-head p { color: rgba(250, 246, 241, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
/* The primary call-to-action. Its gradient used to run --ember-hi (#F97316) to
   --brick, and cream text on that light stop measures 2.61:1 — well under the
   4.5:1 WCAG minimum for body text. On the most important button on the site,
   for the users least able to afford it. Measured, not estimated:
     #F97316  2.61:1  fail        #C2410C  4.81:1  pass
     #EA580C  3.31:1  fail        #9A3412  6.79:1  pass
   The gradient now starts at #C2410C and deepens to --brick, so every pixel of
   the button clears 4.5:1 while keeping the ember-to-brick warmth. The glow
   keeps the brighter --ember so the button still reads as hot. */
.btn-ember {
  background: linear-gradient(160deg, #C2410C, #A93A0C 55%, var(--brick));
  color: var(--cream);
  box-shadow: 0 12px 26px -12px rgba(234, 88, 12, 0.65);
}
.btn-ember:hover { color: var(--cream); transform: translateY(-2px); box-shadow: var(--ember-glow); }
.btn-ghost {
  border: 1.5px solid var(--bronze);
  color: var(--flame);
  background: rgba(28, 25, 23, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { color: var(--ink); background: var(--flame); border-color: var(--flame); transform: translateY(-2px); }
.btn-dark {
  background: var(--charcoal);
  color: var(--cream);
  border: 1.5px solid var(--charcoal);
}
.btn-dark:hover { background: var(--ember); border-color: var(--ember); color: var(--cream); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--copper);
  color: var(--copper);
  background: transparent;
}
.btn-outline:hover { background: var(--copper); color: var(--cream); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--copper);
  letter-spacing: 0.02em;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(250, 246, 241, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.35rem;
}
.topbar a { color: var(--flame); font-weight: 600; }
.topbar a:hover { color: var(--ember-hi); }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-item svg { width: 14px; height: 14px; color: var(--ember-hi); }
.topbar-region { color: rgba(250, 246, 241, 0.6); }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 25, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 83, 9, 0.55);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(12, 10, 9, 0.96);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}
.brand img { width: 52px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
@media (max-width: 1180px) { .brand-tag { display: none; } }
@media (max-width: 480px) {
  .brand { gap: 0.55rem; }
  .brand img { width: 44px; height: 39px; }
  .brand-name { font-size: 0.9rem; }
  .header-inner { gap: 0.75rem; }
}

.main-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(250, 246, 241, 0.86);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a.nav-link:hover { color: var(--flame); background: rgba(234, 88, 12, 0.12); }
.main-nav a.nav-link[aria-current="page"] { color: var(--flame); }
.main-nav a.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
}
.nav-link { position: relative; }
.main-nav a.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ember); border-radius: 8px 8px 0 0; }

.has-dropdown { position: relative; }
.has-dropdown > a svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.has-dropdown:hover > a svg, .has-dropdown:focus-within > a svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: var(--coal-2);
  border: 1px solid rgba(180, 83, 9, 0.45);
  border-radius: 14px;
  padding: 0.6rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li + li { margin-top: 2px; }
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.85rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(250, 246, 241, 0.85);
}
.dropdown a:hover { background: rgba(234, 88, 12, 0.16); color: var(--flame); }
.dropdown a svg { width: 14px; height: 14px; color: var(--ember-hi); }
.dropdown .dropdown-all {
  margin-top: 0.45rem;
  border-top: 1px solid rgba(250, 246, 241, 0.12);
  padding-top: 0.45rem;
}
.dropdown .dropdown-all a { color: var(--flame); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}
.header-phone svg { width: 16px; height: 16px; color: var(--ember-hi); }
.header-phone:hover { color: var(--flame); }
.header-actions .btn { padding: 0.75rem 1.3rem; font-size: 0.85rem; }
@media (max-width: 1180px) { .header-phone { display: none; } }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(201, 130, 74, 0.5);
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--flame);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
@media (max-width: 1179px) {
  .menu-toggle { display: flex; }
  .main-nav, .header-actions .btn { display: none; }
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background:
    radial-gradient(90% 60% at 80% 110%, rgba(234, 88, 12, 0.22), transparent 60%),
    var(--charcoal);
  display: flex;
  flex-direction: column;
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.35s;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}
.mobile-close {
  width: 46px; height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(201, 130, 74, 0.5);
  color: var(--flame);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.mobile-menu nav { margin-top: 2rem; }
.mobile-menu .m-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  letter-spacing: 0.03em;
  color: var(--cream);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(250, 246, 241, 0.08);
}
.mobile-menu .m-link:hover { color: var(--ember-hi); }
.m-sub {
  margin: 0.35rem 0 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1.25rem;
}
.m-sub a {
  font-size: 0.88rem;
  color: rgba(250, 246, 241, 0.68);
  padding: 0.35rem 0;
}
.m-sub a:hover { color: var(--flame); }
.mobile-menu-foot { margin-top: auto; padding-top: 2.25rem; display: grid; gap: 0.9rem; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot .m-hours { text-align: center; font-size: 0.82rem; color: rgba(250,246,241,0.55); }
body.menu-locked { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: flex;
  align-items: center;
  color: var(--cream);
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.78) 34%, rgba(12, 10, 9, 0.25) 68%, rgba(12, 10, 9, 0.35) 100%);
}
.hero-inner { padding-block: clamp(5rem, 10vw, 8rem); max-width: 700px; }
.hero h1 { color: var(--cream); }
.hero h1 .accent { color: var(--ember-hi); }
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(250, 246, 241, 0.82);
  max-width: 56ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.6rem; font-size: 0.85rem; color: rgba(250,246,241,0.6); letter-spacing: 0.04em; }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(3.5rem, 7vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}
.page-hero .hero-bg, .page-hero .hero-bg img { z-index: -2; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(12, 10, 9, 0.94) 8%, rgba(12, 10, 9, 0.72) 48%, rgba(12, 10, 9, 0.35) 100%);
}
.page-hero.no-img {
  background:
    radial-gradient(70% 90% at 85% 120%, rgba(234, 88, 12, 0.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(250,246,241,0.025) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(250,246,241,0.02) 0 1px, transparent 1px 120px),
    var(--charcoal);
}
.page-hero h1 { color: var(--cream); font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 20ch; }
.page-hero p { margin-top: 1.15rem; color: rgba(250, 246, 241, 0.78); font-size: 1.08rem; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(250, 246, 241, 0.55);
  margin-bottom: 1.4rem;
}
.breadcrumbs a { color: var(--bronze); }
.breadcrumbs a:hover { color: var(--flame); }
.breadcrumbs .sep { color: rgba(250, 246, 241, 0.3); }
.breadcrumbs [aria-current] { color: rgba(250, 246, 241, 0.75); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink);
  border-top: 1px solid rgba(180, 83, 9, 0.4);
  padding-block: 1.6rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream);
}
.trust-item svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--ember-hi); }
.trust-item .t-title { font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.trust-item .t-sub { display: block; font-size: 0.78rem; color: rgba(250, 246, 241, 0.55); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; gap: 0.9rem; } }

/* ---------- Sections & texture ---------- */
.section { padding-block: var(--section-pad); }
.section-light { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-dark {
  background:
    radial-gradient(75% 60% at 50% -10%, rgba(234, 88, 12, 0.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(250, 246, 241, 0.022) 0 2px, transparent 2px 58px),
    repeating-linear-gradient(90deg, rgba(250, 246, 241, 0.018) 0 2px, transparent 2px 116px),
    var(--charcoal);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark p { color: rgba(250, 246, 241, 0.75); }

.flame-divider { display: block; width: 100%; height: clamp(40px, 6vw, 72px); margin-bottom: -1px; }
.flame-divider.flip { transform: scaleY(-1); margin-bottom: 0; margin-top: -1px; }
.hero .flame-divider { position: absolute; bottom: -1px; left: 0; z-index: 1; margin-bottom: 0; pointer-events: none; }
.hero .hero-inner { position: relative; z-index: 2; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--ember-hi));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(234, 88, 12, 0.14), rgba(180, 83, 9, 0.18));
  color: var(--ember);
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card .link-arrow { margin-top: 1.1rem; }

.card-photo { padding: 0; display: flex; flex-direction: column; }
.card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-photo .card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-photo .card-body .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Dark cards */
.card-dark {
  background: var(--coal-2);
  border: 1px solid rgba(201, 130, 74, 0.28);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card-dark:hover { transform: translateY(-5px); border-color: rgba(249, 115, 22, 0.55); box-shadow: 0 24px 44px -20px rgba(0,0,0,0.6); }
.card-dark h3 { color: var(--cream); }
.card-dark p { color: rgba(250, 246, 241, 0.7); font-size: 0.95rem; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.stat {
  text-align: center;
  padding: 1.75rem 1rem;
  border: 1px solid rgba(201, 130, 74, 0.3);
  border-radius: var(--radius);
  background: rgba(12, 10, 9, 0.35);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--flame), var(--ember-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl { margin-top: 0.55rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 246, 241, 0.62); }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- Before / After slider ---------- */
.ba-slider {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--coal-2);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-after-img { clip-path: inset(0 0 0 var(--pos)); }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--flame);
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.85);
  z-index: 3;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  /* Cream arrows sit on this fill, and on the --ember-hi stop that was 2.61:1
     against the 3:1 SC 1.4.11 asks of a control's visual indication. The 2px
     cream ring around the knob always carried its edge; this is about the
     glyph inside it. Same substitution as the three other ember surfaces. */
  background: linear-gradient(150deg, #C2410C, var(--brick));
  border: 2px solid var(--cream);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 22px rgba(249, 115, 22, 0.55);
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.ba-handle svg { width: 22px; height: 22px; color: var(--cream); }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}
.ba-range:focus-visible { opacity: 0; }
/* Second focus ring on the site, and it had the same 2.41:1 problem as the
   site-wide one — it reads from --focus-ring now so the two stay in step. */
.ba-slider:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.ba-chip {
  position: absolute;
  top: 0.9rem;
  z-index: 3;
  background: rgba(12, 10, 9, 0.78);
  backdrop-filter: blur(4px);
  color: var(--flame);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(201, 130, 74, 0.4);
  pointer-events: none;
}
.ba-chip.before { left: 0.9rem; }
.ba-chip.after { right: 0.9rem; }
.ba-caption { margin-top: 1.1rem; }
.ba-caption h3 { font-size: 1.2rem; }
.ba-caption p { font-size: 0.92rem; color: var(--muted); margin-top: 0.3rem; }
.section-dark .ba-caption p { color: rgba(250, 246, 241, 0.65); }
.ba-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.section-dark .ba-labels { color: rgba(250, 246, 241, 0.6); }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-full { max-width: 860px; margin-inline: auto; }

/* ---------- Photo strips / gallery ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .photo-strip { grid-template-columns: 1fr; } }
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--coal-2);
}
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.45s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.1rem 0.9rem;
  font-size: 0.82rem;
  color: rgba(250, 246, 241, 0.92);
  background: linear-gradient(transparent, rgba(12, 10, 9, 0.85));
}

/* Filter buttons */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.25rem; }
.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--stone);
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--copper); color: var(--copper); }
/* Same gradient, same failure, same fix as .btn-ember above: --cream on the
   --ember-hi stop is 2.61:1, and this one ships pre-applied as the "All" filter
   so it is on screen for every visitor to /gallery/. #C2410C to --brick puts the
   label between 4.81:1 and 6.79:1.
   The other three surfaces that carried --cream on the --ember-hi stop have since
   been brought to the same value: .step::before (0.95rem bold, so it owed 4.5:1
   as ordinary text, not the 3:1 large text would get), and the cream icons in
   .ba-handle and .form-success .check (3:1 as a control's visual indication).
   All four now read 4.81:1 at the light stop and 6.79:1 at --brick. */
.filter-btn.active {
  background: linear-gradient(150deg, #C2410C, var(--brick));
  border-color: var(--ember);
  color: var(--cream);
  box-shadow: 0 8px 20px -8px rgba(234, 88, 12, 0.6);
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1023px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid .photo-card { cursor: zoom-in; border: 0; padding: 0; width: 100%; text-align: left; display: block; }
.gallery-grid figure.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(12, 10, 9, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(201, 130, 74, 0.35);
}
.lightbox-caption { margin-top: 1.1rem; color: rgba(250, 246, 241, 0.8); font-size: 0.92rem; text-align: center; max-width: 70ch; }
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 130, 74, 0.55);
  color: var(--flame);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  background: rgba(28, 25, 23, 0.7);
}
.lightbox-close:hover { background: var(--ember); color: var(--cream); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201, 130, 74, 0.55);
  background: rgba(28, 25, 23, 0.7);
  color: var(--flame);
  font-size: 1.8rem;
  display: grid;
  place-items: center;
}
.lightbox-nav:hover { background: var(--ember); color: var(--cream); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 640px) { .lightbox-nav { display: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid var(--stone);
}
.section-dark .step { background: var(--coal-2); border-color: rgba(201, 130, 74, 0.28); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -1.1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  /* Third and last surface with this defect, after .btn-ember and
     .filter-btn.active: --cream on the --ember-hi stop measures 2.61:1, and at
     0.95rem bold (15.2px) this is normal-size text, so it needs 4.5:1 and not
     the 3:1 large text would get. #C2410C takes it to 4.81:1 at the light stop
     and 6.79:1 at --brick, matching the two buttons exactly. */
  background: linear-gradient(150deg, #C2410C, var(--brick));
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 8px 18px -8px rgba(234, 88, 12, 0.7);
}
.step h3 { margin-bottom: 0.5rem; margin-top: 0.5rem; }
.step p { font-size: 0.95rem; }

/* ---------- County cards / city pills ---------- */
.county-card {
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.county-card h3 { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
.county-card h3 .count { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--copper); }
.county-card > p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.2rem; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--stone);
  background: var(--cream);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s ease;
}
.pill:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--flame); }
.section-dark .pill { background: var(--coal-2); border-color: rgba(201, 130, 74, 0.3); color: rgba(250, 246, 241, 0.85); }
.section-dark .pill:hover { background: var(--ember); border-color: var(--ember); color: var(--cream); }
.pill.pill-more { background: transparent; border-style: dashed; color: var(--copper); font-weight: 600; }
.pill.pill-more:hover { background: var(--copper); border-style: solid; color: var(--cream); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 0.85rem; }
.faq-item {
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: var(--sand);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.section-dark .faq-item { background: var(--coal-2); border-color: rgba(201, 130, 74, 0.28); }
.faq-item[open] { border-color: var(--copper); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal);
}
.section-dark .faq-item summary { color: var(--cream); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  color: var(--copper);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item summary .faq-icon svg { width: 14px; height: 14px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--ember); border-color: var(--ember); color: var(--cream); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; font-size: 0.96rem; color: var(--muted); }
.section-dark .faq-item .faq-body { color: rgba(250, 246, 241, 0.72); }

/* ---------- Testimonials ---------- */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.section-dark .testimonial, .testimonial.on-dark { background: var(--coal-2); border-color: rgba(201, 130, 74, 0.28); }
.stars { display: inline-flex; gap: 3px; color: var(--ember-hi); }
.stars svg { width: 16px; height: 16px; }
.testimonial blockquote { font-size: 1rem; line-height: 1.65; color: var(--text); }
.section-dark .testimonial blockquote, .testimonial.on-dark blockquote { color: rgba(250, 246, 241, 0.85); }
.testimonial .who { margin-top: auto; font-size: 0.88rem; }
.testimonial .who .name { font-weight: 700; color: var(--charcoal); }
.section-dark .testimonial .who .name, .testimonial.on-dark .who .name { color: var(--flame); }
.testimonial .who .meta { color: var(--muted); }
.section-dark .testimonial .who .meta, .testimonial.on-dark .who .meta { color: rgba(250, 246, 241, 0.55); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--bronze);
  opacity: 0.55;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(60% 120% at 50% 130%, rgba(234, 88, 12, 0.34), transparent 62%),
    radial-gradient(40% 70% at 85% -20%, rgba(249, 115, 22, 0.16), transparent 60%),
    repeating-linear-gradient(0deg, rgba(250, 246, 241, 0.022) 0 2px, transparent 2px 58px),
    var(--charcoal);
  color: var(--cream);
  padding-block: clamp(4rem, 8vw, 6rem);
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { margin: 1rem auto 0; color: rgba(250, 246, 241, 0.75); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.25rem; }
.cta-phone-huge {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--flame);
}
.cta-phone-huge:hover { color: var(--ember-hi); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250, 246, 241, 0.72); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
@media (max-width: 1023px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand img { width: 76px; height: 67px; object-fit: contain; margin-bottom: 1.1rem; }
.footer-brand .f-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
  font-size: 1.1rem;
}
.footer-brand .f-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-top: 0.2rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; color: rgba(250, 246, 241, 0.6); }
.footer-col h3 { color: var(--cream); margin-bottom: 1.15rem; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; color: rgba(250, 246, 241, 0.68); }
.footer-col a:hover { color: var(--ember-hi); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 0.25rem; color: var(--ember-hi); }
.footer-contact a { color: var(--flame); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 241, 0.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  /* The copyright span is the only child that keeps this colour, and at 0.45
     alpha it composited to 4.26:1 on the --ink footer — just under the 4.5:1 its
     0.8rem text needs, on all 467 pages. 0.52 is 5.36:1 and still reads as the
     quietest line in the footer next to the 8.31:1 licence. */
  color: rgba(250, 246, 241, 0.52);
}
.footer-bottom .family { color: rgba(201, 130, 74, 0.85); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; }
/* Utah requires a licensed contractor to display the licence number. It sits
   beside the copyright rather than styled as a badge: it is a legal disclosure,
   not a trust mark, and dressing it up reads as decoration. Measured at 7.74:1
   against the footer ground, so it is muted without being hard to read. */
.footer-bottom .licence { color: rgba(231, 229, 228, 0.72); letter-spacing: 0.02em; font-size: 0.74rem; font-variant-numeric: tabular-nums; }

/* <main> carries tabindex="-1" so the skip link can move focus into it, not just
   scroll to it. Suppressing the ring here is safe and correct: the element is
   only ever focused programmatically, never reached by tabbing, and the jump to
   the top of the content is itself the feedback. Without this the skip link
   draws a box around the entire page. */
main:focus { outline: none; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coal-3);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--stone);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .error-msg { display: none; margin-top: 0.4rem; font-size: 0.8rem; color: var(--brick); font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--brick); box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.15); }
.field.has-error .error-msg { display: block; }
.form-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-foot .fine { font-size: 0.78rem; color: var(--muted); }
.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem;
}
.form-success.show { display: block; }
.form-success .check {
  width: 72px; height: 72px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* Fourth and final surface carrying this gradient under --cream content.
     The tick is aria-hidden and the heading beside it says the same thing,
     so it is decorative and SC 1.4.11 is arguable — but it is also the fast
     visual confirmation that an enquiry actually sent, and 2.61:1 is thin
     for anyone with reduced contrast sensitivity. #C2410C reads 4.81:1 and
     is the same warm ember the three buttons now use, so the whole family
     matches instead of this one staying brighter for no stated reason. */
  background: linear-gradient(150deg, #C2410C, var(--brick));
  box-shadow: var(--ember-glow);
}
.form-success .check svg { width: 34px; height: 34px; color: var(--cream); }
.form-success h3 { margin-bottom: 0.6rem; }
.form-success p { margin-inline: auto; color: var(--muted); }

/* Contact side cards */
.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-card {
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.contact-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; margin-bottom: 0.75rem; }
.contact-card h3 svg { width: 20px; height: 20px; color: var(--ember); }
.contact-card p, .contact-card li { font-size: 0.92rem; color: var(--muted); }
.contact-card .big-phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--charcoal); letter-spacing: 0.03em; }
.contact-card .big-phone:hover { color: var(--ember); }
.emergency-banner {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(140deg, var(--brick), #7c2d12);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 16px 34px -16px rgba(154, 52, 18, 0.6);
}
.emergency-banner svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--flame); }
.emergency-banner .e-title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.emergency-banner p { font-size: 0.86rem; color: rgba(250, 246, 241, 0.85); }
.emergency-banner a { color: var(--flame); font-weight: 700; }

/* ---------- Checklist ---------- */
.check-list { display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; }
.check-list svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ember); margin-top: 0.15rem; }
.section-dark .check-list li { color: rgba(250, 246, 241, 0.85); }

/* ---------- Split / media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; object-fit: cover; }
.split-copy .btn { margin-top: 1.75rem; }
.split.flip .split-media { order: -1; }
@media (max-width: 900px) { .split.flip .split-media { order: 0; } }

/* ---------- 404 ---------- */
.error-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(70% 100% at 50% 130%, rgba(234, 88, 12, 0.28), transparent 60%),
    var(--ink);
  color: var(--cream);
}
.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--flame), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-hero h1 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.5rem; }
.error-hero p { margin: 1rem auto 0; color: rgba(250, 246, 241, 0.7); }
.error-hero .cta-actions { margin-top: 2rem; }

/* ---------- Misc ---------- */
.text-ember { color: var(--ember); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.icon-inline { width: 1em; height: 1em; vertical-align: -0.125em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* Gallery "show more" control. Ships hidden (the [hidden] attribute in the
   markup); site.js unhides it once it has taken over batching, so a no-JS
   visitor sees the full grid and no dead button. display:flex would override
   [hidden], hence the guard. */
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-more[hidden] { display: none; }

/* Flash message for the no-JavaScript lead round trip (/contact/?lead=<flag>).
   The fetch path builds its own inline error node in site.js; this is the
   server-rendered twin for the visitor who never had fetch. */
.lead-flash { border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; font-weight: 600; }
.lead-flash-error { background: #FBEAEA; color: #8E2C2C; border: 1px solid #E2B4B4; }
