/* ==========================================================================
   Vital Electric — public site.

   PALETTE: deep emerald + brass on near-black. Restrained and club-house, not
   high-vis. There are NO literal colour values in this file — every colour is
   a var(--…) emitted from config.theme (see functions/_lib/render.js).
   Re-skinning is a one-file change in config/site.config.js.

   THE RULES
     • Green is STRUCTURAL — section bands and cards. It never does accent duty
       and there are no large bright-green fills.
     • Brass is the ONLY accent, and it is the "electric" colour: every CTA, the
       ⚡ emergency flag, hover states, thin rules. Kept sparse so it still reads
       as an accent rather than a second background.
     • Cream is the reading colour on dark, and the background of the light
       sections that break up the dark ones.

   SECTION RHYTHM — all-dark reads heavy on a phone, so every page alternates:
     home     black → emerald → LIGHT → emerald → LIGHT → black → emerald → black
     service  black → LIGHT → emerald → LIGHT → black
     area     black → LIGHT → emerald → LIGHT → black
     hub      black → LIGHT → black
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--black);
  padding-bottom: 76px;          /* room for the sticky call bar on mobile */
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.1rem, 6.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--brass-ink); padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

/* Focus ring. Brass reads clearly on the dark sections but is only 2.1:1 on
   cream, so light surfaces get the emerald ring instead — a focus indicator
   nobody can see is the same as no focus indicator. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
.services-overview :focus-visible, .testimonials :focus-visible, .what :focus-visible,
.svc-areas :focus-visible, .hoods :focus-visible, .hub :focus-visible,
.q-card :focus-visible {
  outline-color: var(--emerald);
}

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: .7em; font-weight: 500;
}
.section-lede { max-width: 62ch; font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   SECTION SURFACES — three of them, applied to the existing section classes.
   -------------------------------------------------------------------------- */
section { padding: 74px 0; }

/* dark (near-black) */
.hero, .gallery, .quote, .pagehead, .related {
  background: var(--black); color: var(--cream);
}
/* emerald structural band */
.truststrip, .why, .areas-band, .whylic, .areasvcs {
  background: var(--emerald); color: var(--cream);
}
/* light breathing section */
.services-overview, .testimonials, .what, .svc-areas, .hoods, .hub {
  background: var(--cream); color: var(--ink);
}
.services-overview p, .testimonials p, .what p, .hoods p, .hub p { color: var(--gray); }
.services-overview .kicker, .testimonials .kicker, .what .kicker, .hub .kicker {
  color: var(--gray);
}
/* the brass kicker needs the dark ground to read as brass, not mustard */
.services-overview .kicker::before, .testimonials .kicker::before,
.what .kicker::before, .hub .kicker::before {
  content: ''; display: inline-block; width: 22px; height: 2px;
  background: var(--brass); vertical-align: middle; margin-right: 10px;
}
.hero h2, .gallery h2, .quote h2, .pagehead h2, .related h2,
.truststrip h2, .why h2, .areas-band h2, .whylic h2, .areasvcs h2 { color: var(--cream); }

/* Hairline where two dark sections meet (quote → related). */
.related { border-top: 1px solid var(--rule-dark); padding-top: 54px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; font-size: 1.12rem;
  padding: 14px 28px; border-radius: 4px; border: 2px solid transparent;
  transition: transform .06s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
/* the one and only primary action colour */
.btn-brass { background: var(--brass); color: var(--brass-ink); }
.btn-brass:hover { background: var(--brass-bright); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--brass); }
.btn-ghost:hover { background: var(--brass); color: var(--brass-ink); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--cream); }
.btn-dark { background: var(--emerald); color: var(--cream); border-color: var(--brass); }
.btn-dark:hover { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--black); color: var(--cream);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--rule-dark);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--cream); }
.brand .bolt { color: var(--brass); font-size: 1.35rem; line-height: 1; }
.brand-txt {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.35rem;
}
.brand-txt span { color: var(--brass); }
.mainnav { display: flex; align-items: center; gap: 24px; }
.mainnav a {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.mainnav a:hover, .mainnav a.on { border-bottom-color: var(--brass); color: var(--brass); }
.nav-call {
  background: var(--brass); color: var(--brass-ink) !important; border-radius: 4px;
  padding: 10px 17px !important; border-bottom: none !important; font-weight: 700;
}
.nav-call:hover { background: var(--brass-bright); }
@media (max-width: 720px) {
  .mainnav { gap: 15px; }
  .mainnav a:not(.nav-call) { font-size: .88rem; }
  .nav-call { display: none; }        /* the sticky bar covers calling on mobile */
}
@media (max-width: 420px) { .brand-txt { font-size: 1.15rem; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-media .photo { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(170deg,
    color-mix(in srgb, var(--black) 72%, transparent) 0%,
    color-mix(in srgb, var(--emerald-deep) 86%, transparent) 55%,
    color-mix(in srgb, var(--black) 94%, transparent) 100%);
}
.hero-in { position: relative; padding: 76px 0 84px; max-width: 780px; }
.hero-emergency {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brass); color: var(--brass-ink);
  font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  padding: 8px 16px; border-radius: 3px; margin-bottom: 22px;
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 .8em;
}
.hero h1 { margin-bottom: .35em; color: var(--cream); }
.hero h1 em { color: var(--brass); font-style: normal; }
.hero-sub { font-size: 1.13rem; color: var(--cream); max-width: 60ch; margin-bottom: 1.6em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.8em; }
.hero-lic {
  font-family: 'IBM Plex Mono', monospace; font-size: .76rem; color: var(--muted);
  letter-spacing: .05em; margin: 0;
  padding-top: 16px; border-top: 1px solid var(--rule-dark); display: inline-block;
}

/* --------------------------------------------------------------------------
   Trust strip — thin emerald band under the hero
   -------------------------------------------------------------------------- */
.truststrip { padding: 0; border-block: 1px solid var(--emerald-soft); }
.truststrip .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 38px;
  padding: 16px 20px; font-size: .9rem; align-items: center; color: var(--cream);
}
.truststrip strong { color: var(--brass); font-weight: 700; }

/* --------------------------------------------------------------------------
   Services grid (light section, white cards)
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px; margin: 34px 0 32px;
}
.svc-card {
  display: block; background: var(--card-light); border: 1px solid var(--rule);
  border-radius: 5px; padding: 26px 24px; text-decoration: none; color: var(--ink);
  border-top: 3px solid var(--emerald);
  transition: transform .13s ease, box-shadow .13s ease, border-top-color .13s ease;
}
.svc-card:hover {
  transform: translateY(-3px); box-shadow: 0 12px 30px color-mix(in srgb, var(--black) 13%, transparent);
  border-top-color: var(--brass);
}
.svc-card h3 { margin-bottom: .35em; color: var(--ink); }
.svc-card p { color: var(--gray); font-size: .97rem; margin-bottom: .8em; }
.svc-more {
  font-family: 'IBM Plex Mono', monospace; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gray); font-weight: 500;
}
.svc-card:hover .svc-more, .hub-card:hover .svc-more, .areasvc:hover .svc-more { color: var(--brass); }
.section-more { margin: 0; }

/* --------------------------------------------------------------------------
   Why us (emerald section, raised emerald cards)
   -------------------------------------------------------------------------- */
.why .kicker { color: var(--brass); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 34px;
}
.why-card {
  background: var(--emerald-soft); border-radius: 5px; padding: 28px 26px;
  border-top: 2px solid var(--brass);
}
.why-card h3 { color: var(--brass); margin-bottom: .5em; }
.why-card p { color: var(--cream); font-size: .97rem; margin: 0; }
.why-card strong { color: var(--brass); }

/* --------------------------------------------------------------------------
   Testimonials (light section)
   -------------------------------------------------------------------------- */
.tmn-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; margin-top: 34px;
}
.tmn {
  margin: 0; background: var(--card-light); border: 1px solid var(--rule);
  border-radius: 5px; padding: 30px 28px; position: relative;
}
.tmn::before {
  content: '\201C'; position: absolute; top: 4px; left: 18px;
  font-family: Georgia, serif; font-size: 4rem; color: var(--brass); opacity: .32; line-height: 1;
}
.tmn blockquote { margin: 0 0 1.1em; font-size: 1rem; color: var(--ink); position: relative; }
.tmn figcaption {
  font-family: 'IBM Plex Mono', monospace; font-size: .78rem;
  letter-spacing: .08em; color: var(--gray); font-weight: 500;
  padding-top: 12px; border-top: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   Gallery — portfolio, on black, generous. Not a thumbnail grid.
   -------------------------------------------------------------------------- */
.gallery { padding: 86px 0; }
.gallery .kicker { color: var(--brass); }
.gal-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px; margin-top: 44px;
}
.gal-grid .photo {
  border-radius: 4px; width: 100%;
  border: 1px solid var(--rule-dark);
  transition: border-color .18s ease, transform .18s ease;
}
.gal-grid .photo:hover { border-color: var(--brass); transform: translateY(-3px); }
@media (max-width: 640px) { .gal-grid { grid-template-columns: 1fr; gap: 24px; } }

/* --------------------------------------------------------------------------
   Areas band (emerald)
   -------------------------------------------------------------------------- */
.areas-band .kicker { color: var(--brass); }
.area-blurb { max-width: 68ch; color: var(--cream); font-size: 1.05rem; }
.area-chips { display: flex; flex-wrap: wrap; gap: 11px; margin: 26px 0 30px; }
.area-chip {
  display: inline-block; text-decoration: none;
  background: transparent; color: var(--cream); border: 1px solid var(--brass);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; font-size: 1.02rem; padding: 10px 20px; border-radius: 3px;
  transition: background .15s ease, color .15s ease;
}
.area-chip:hover { background: var(--brass); color: var(--brass-ink); }
/* on the light service page the same chip needs a dark ground to read */
.svc-areas .area-chip { color: var(--ink); border-color: var(--emerald); }
.svc-areas .area-chip:hover { background: var(--emerald); color: var(--cream); border-color: var(--emerald); }

/* --------------------------------------------------------------------------
   Page heads
   -------------------------------------------------------------------------- */
.pagehead { padding: 64px 0 68px; }
.pagehead h1 { margin-bottom: .35em; color: var(--cream); }
.pagehead-lede { font-size: 1.1rem; color: var(--cream); max-width: 66ch; margin-bottom: 1.4em; }
.pagehead-lede a { color: var(--brass); }
.pagehead-county {
  font-family: 'IBM Plex Mono', monospace; font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 .9em;
}
.pagehead-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5em; }
.pagehead-ctas .btn-ghost-dark { color: var(--cream); border-color: var(--brass); }
.pagehead-ctas .btn-ghost-dark:hover { background: var(--brass); color: var(--brass-ink); }
.pagehead-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pagehead-media .photo { border-radius: 4px; width: 100%; border: 1px solid var(--rule-dark); }
@media (max-width: 860px) { .pagehead-split { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs { background: var(--emerald-deep); border-bottom: 1px solid var(--rule-dark); }
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 11px 0; font-size: .8rem;
  font-family: 'IBM Plex Mono', monospace; color: var(--muted);
}
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--cream); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs li[aria-current] { color: var(--brass); }

/* --------------------------------------------------------------------------
   "What's involved" (light) + "Why licensed" (emerald)
   -------------------------------------------------------------------------- */
.what-block { max-width: 74ch; margin-bottom: 38px; }
.what-block:last-child { margin-bottom: 0; }
.what-block h3 {
  font-size: 1.42rem; padding-left: 16px; border-left: 3px solid var(--brass);
  margin-bottom: .5em; color: var(--ink);
}
.what-block p { color: var(--gray); margin: 0; }

.whylic h2 { color: var(--brass); }
.whylic > .wrap > p { max-width: 72ch; color: var(--cream); }
.whylic-list { list-style: none; padding: 0; margin: 30px 0; max-width: 74ch; }
.whylic-list li {
  position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--cream); font-size: 1rem;
}
.whylic-list li::before {
  content: '\26A1'; position: absolute; left: 0; top: -1px; color: var(--brass); font-size: 1.05rem;
}
.whylic-badge {
  display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
  background: var(--emerald-soft); border-radius: 4px; padding: 18px 22px;
  font-size: .92rem; color: var(--cream); margin: 0; max-width: 74ch;
  border-left: 3px solid var(--brass);
}

/* --------------------------------------------------------------------------
   Hub grids — light section, EMERALD cards so the photos sit on dark
   -------------------------------------------------------------------------- */
.hub-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px;
}
.hub-card {
  display: block; background: var(--emerald); border: 1px solid var(--emerald-soft);
  border-radius: 5px; overflow: hidden; text-decoration: none; color: var(--cream);
  transition: transform .13s ease, box-shadow .13s ease, border-color .13s ease;
}
.hub-card:hover {
  transform: translateY(-3px); box-shadow: 0 14px 34px color-mix(in srgb, var(--black) 22%, transparent);
  border-color: var(--brass);
}
.hub-media .photo { width: 100%; }
.hub-body { padding: 26px 24px 28px; }
.hub-body h3 { margin-bottom: .35em; color: var(--brass); }
.hub p, .hub-body p { color: var(--cream); font-size: .97rem; margin-bottom: .8em; }
.hub-body .svc-more { color: var(--muted); }
.hub-county {
  font-family: 'IBM Plex Mono', monospace; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass) !important; margin-bottom: .7em !important;
}
.hub-card-area { border-left: 3px solid var(--brass); }

/* --------------------------------------------------------------------------
   Area page: services here (emerald section, raised cards)
   -------------------------------------------------------------------------- */
.areasvcs .kicker { color: var(--brass); }
.areasvc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; margin-top: 34px;
}
.areasvc {
  display: block; background: var(--emerald-soft); border: 1px solid transparent;
  border-radius: 5px; padding: 26px 24px; text-decoration: none; color: var(--cream);
  border-top: 2px solid var(--brass);
  transition: border-color .13s ease, transform .13s ease;
}
.areasvc:hover { transform: translateY(-2px); border-color: var(--brass); }
.areasvc h3 { margin-bottom: .35em; color: var(--brass); }
.areasvc p { color: var(--cream); font-size: .96rem; margin-bottom: .8em; }
.areasvc .svc-more { color: var(--muted); }

.svc-areas { padding: 58px 0; }
.svc-areas h2 { color: var(--ink); }
.hoods h2 { color: var(--ink); }
.hood-list {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 11px;
}
.hood-list li {
  background: var(--card-light); border: 1px solid var(--rule); border-radius: 3px;
  padding: 9px 17px; font-size: .93rem; color: var(--gray);
}

/* --------------------------------------------------------------------------
   Related chips (dark)
   -------------------------------------------------------------------------- */
.related h2 { color: var(--cream); }
.rel-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.rel-chip {
  text-decoration: none; background: transparent; border: 1px solid var(--rule-dark);
  border-radius: 3px; padding: 10px 18px; font-size: .93rem; color: var(--cream);
  transition: border-color .15s ease, color .15s ease;
}
.rel-chip:hover { border-color: var(--brass); color: var(--brass); }

/* --------------------------------------------------------------------------
   Quote form (dark section, cream card)
   -------------------------------------------------------------------------- */
.quote .kicker { color: var(--brass); }
.quote h2 { max-width: 22ch; }
.q-emergency {
  background: var(--emerald); border-left: 3px solid var(--brass);
  padding: 15px 20px; border-radius: 0 4px 4px 0; max-width: 70ch;
  font-size: .97rem; color: var(--cream);
}
.q-emergency strong { color: var(--brass); }
.q-emergency a { color: var(--brass); font-weight: 700; }

.q-card {
  background: var(--card-light); color: var(--ink); border-radius: 5px;
  max-width: 660px; margin-top: 30px; overflow: hidden;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--black) 45%, transparent);
}
.q-head {
  background: var(--emerald); color: var(--cream); padding: 17px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-bottom: 2px solid var(--brass);
}
.q-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.16rem;
}
.q-tag { font-family: 'IBM Plex Mono', monospace; font-size: .72rem; color: var(--brass); letter-spacing: .07em; }
.q-body { padding: 28px 26px 30px; }

.field { margin-bottom: 19px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label {
  display: block; font-family: 'IBM Plex Mono', monospace; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gray);
  margin-bottom: 8px; font-weight: 500;
}
.req { color: var(--danger); }
.opt { color: var(--gray); text-transform: none; letter-spacing: 0; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; font-family: inherit; font-size: 1.02rem; padding: 13px;
  /* --field-line, not --rule: a control's boundary must clear 3:1 */
  border: 1px solid var(--field-line); border-radius: 3px;
  background: var(--card-light); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--emerald); }
textarea { resize: vertical; }
input[type=file] { width: 100%; font-size: .95rem; padding: 10px 0; color: var(--gray); }
.q-photohelp { font-size: .9rem; color: var(--gray); margin: 0 0 9px; }
.q-thumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.q-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 3px; border: 1px solid var(--field-line); }
.q-hint { font-size: .86rem; color: var(--danger); margin: 9px 0 0; }

.q-license {
  display: flex; align-items: center; gap: 14px; background: var(--cream);
  border: 1px solid var(--rule); border-left: 3px solid var(--brass); border-radius: 3px;
  padding: 15px 17px; font-size: .87rem; color: var(--gray); margin: 24px 0 22px; line-height: 1.5;
}
.q-lic-badge {
  background: var(--emerald); color: var(--brass); font-family: 'IBM Plex Mono', monospace;
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  padding: 8px 12px; border-radius: 3px; white-space: nowrap;
}
.q-submit { width: 100%; font-size: 1.2rem; padding: 17px; }
.q-note { font-size: .87rem; color: var(--gray); margin: 13px 0 0; text-align: center; }

/* success state */
.q-thanks { text-align: center; padding: 30px 10px 18px; }
.q-thanks-mark {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brass); color: var(--brass-ink);
  font-size: 2rem; line-height: 64px; font-weight: 700;
}
.q-thanks h3 { font-size: 1.65rem; margin-bottom: .45em; color: var(--ink); }
.q-thanks p { color: var(--gray); margin: 0; }
.q-thanks-call {
  display: inline-block; margin-top: 8px; font-size: 1.35rem; font-weight: 700;
  color: var(--emerald); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: .03em;
}
.q-thanks-call:hover { color: var(--brass); }

/* --------------------------------------------------------------------------
   Photos + empty-slot fallback
   An empty slot is never a broken image: it renders an emerald/charcoal
   gradient with a brass bolt, which reads as intentional.
   -------------------------------------------------------------------------- */
.photo { background: var(--emerald-deep); }
.photo-wide { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.photo-sq { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(var(--fb-angle, 145deg),
    var(--black) 0%, var(--emerald-deep) 48%, var(--emerald) 100%);
  position: relative; overflow: hidden;
}
.photo-fallback::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 74% 20%,
    color-mix(in srgb, var(--brass) 20%, transparent) 0%, transparent 60%);
}
.fb-bolt { font-size: 2.8rem; color: var(--brass); opacity: .42; position: relative; z-index: 1; }
.hero-media .photo-fallback { aspect-ratio: auto; height: 100%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  background: var(--emerald-deep); color: var(--cream);
  padding: 62px 0 0; border-top: 2px solid var(--brass);
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 42px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.42rem; color: var(--cream); margin-bottom: .2em;
}
.foot-brand span { color: var(--brass); }
.foot-tag { font-style: italic; color: var(--muted); margin-bottom: 1.2em; }
.license {
  font-family: 'IBM Plex Mono', monospace; font-size: .8rem; line-height: 1.9;
  color: var(--cream); margin: 0;
}
.license strong { color: var(--brass); }
footer h3 {
  color: var(--brass); font-size: .95rem; text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 1em; font-family: 'IBM Plex Mono', monospace; font-weight: 500;
}
.foot-list, .foot-social { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 8px; font-size: .93rem; color: var(--cream); }
.foot-list a, .foot-social a { color: var(--cream); text-decoration: none; }
.foot-list a:hover, .foot-social a:hover { color: var(--brass); }
.foot-list strong { color: var(--brass); }
.foot-social { display: flex; gap: 18px; margin-top: 16px; font-size: .9rem; }
.foot-base {
  border-top: 1px solid var(--rule-dark); padding: 20px 0 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}
.foot-base p { margin: 0; }
.foot-base a { color: var(--muted); }
.foot-base a:hover { color: var(--brass); }
.admin-link { opacity: .75; }

/* --------------------------------------------------------------------------
   Sticky click-to-call bar (mobile, every page)
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 1px; background: var(--rule-dark);
  box-shadow: 0 -6px 22px color-mix(in srgb, var(--black) 40%, transparent);
  border-top: 1px solid var(--brass);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cb-call, .cb-quote {
  text-decoration: none; display: flex; align-items: center; justify-content: center;
  gap: 11px; padding: 14px 12px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.cb-call { flex: 1.6; background: var(--brass); color: var(--brass-ink); }
.cb-call:active { background: var(--brass-bright); }
.cb-icon { font-size: 1.4rem; line-height: 1; }
.cb-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cb-txt strong { font-size: 1.08rem; }
.cb-note {
  font-family: 'Barlow', sans-serif; font-weight: 500; font-size: .72rem;
  text-transform: none; letter-spacing: 0; opacity: .85;
}
.cb-quote { flex: 1; background: var(--emerald); color: var(--cream); font-size: 1rem; }
.cb-quote:active { background: var(--emerald-soft); }

@media (min-width: 861px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .svc-card, .hub-card, .areasvc, .gal-grid .photo { transition: none; }
  .svc-card:hover, .hub-card:hover, .areasvc:hover, .gal-grid .photo:hover { transform: none; }
}
