/* ==========================================================================
   Construction Creations — Design System
   Visual tone: clean, bright, modern, photo-led, standard rhythm.
   Brand tokens sourced from client Brand Guide.
   Fonts: Oswald (headings) + Merriweather (body) — per confirmed spec.
   ========================================================================== */

/* Self-hosted heading and body fonts (same families and weights as Google Fonts). */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: optional; src: url("fonts/oswald-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: optional; src: url("fonts/merriweather-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Metric-matched fallbacks so a late swap of deferred faces does not shift layout. */
@font-face {
  font-family: "Oswald Fallback";
  src: local("Arial Narrow"), local("Nimbus Sans Narrow"), local("Arial"), local("Liberation Sans"), local("Arimo"), local("DejaVu Sans");
  size-adjust: 89%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Merriweather Fallback";
  src: local("Georgia"), local("Times New Roman"), local("Liberation Serif"), local("Tinos"), local("Nimbus Roman"), local("DejaVu Serif");
  size-adjust: 100%;
}

:root {
  --color-red-900: #5c0203;   /* deep shade, hover/active states       */
  --color-red-700: #8f0306;   /* BRAND PRIMARY — CTAs, links, accents  */
  --color-red-100: #f7e6e6;   /* faint tint — section washes, badges  */
  --color-red-50:  #fbf2f2;   /* whisper tint — alt section backgrounds*/

  --color-ink:      #1c1a1a; /* near-black body text (softer than #000)*/
  --color-ink-70:   #4a4646; /* secondary text                        */
  --color-grey-700: #6f6c6d; /* muted text, captions                  */
  --color-grey-400: #a4a2a3; /* BRAND NEUTRAL — borders, dividers      */
  --color-grey-200: #dedcdc; /* hairlines                             */
  --color-grey-100: #f2f1f0; /* light section background              */
  --color-white:    #ffffff;
  --color-black:    #000000;

  --color-bg:          var(--color-white);
  --color-bg-alt:      var(--color-grey-100);
  --color-text:        var(--color-ink);
  --color-text-muted:  var(--color-ink-70);
  --color-border:      var(--color-grey-200);
  --color-accent:      var(--color-red-700);
  --color-accent-dark: var(--color-red-900);
  --color-accent-tint: var(--color-red-50);

  /* ---- Type ---- */
  --font-heading: "Oswald", "Oswald Fallback", "Arial Narrow", Arial, sans-serif;
  --font-body: "Merriweather", "Merriweather Fallback", Georgia, "Times New Roman", serif;

  --text-xs:   0.8125rem;  /* 13px — eyebrows, meta      */
  --text-sm:   0.9375rem;  /* 15px — small UI text       */
  --text-base: 1.0625rem;  /* 17px — body copy           */
  --text-md:   1.25rem;    /* 20px — lead paragraphs     */
  --text-lg:   1.625rem;   /* 26px — h4/h3               */
  --text-xl:   2.125rem;   /* 34px — h2                  */
  --text-2xl:  2.75rem;    /* 44px — h1 mobile           */
  --text-3xl:  3.75rem;    /* 60px — h1 desktop          */

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-body: 1.7;

  --tracking-wide: 0.08em;   /* eyebrows / uppercase labels */
  --tracking-tight: -0.01em; /* large display headings     */

  /* ---- Spacing scale ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---- Layout ---- */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 4rem);
  --section-pad-y: clamp(3.5rem, 8vw, 7.5rem);
  --section-pad-y-tight: clamp(2.5rem, 5vw, 4.5rem);
  --radius-sm: 2px;
  --radius-md: 4px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 160ms;
  --duration-base: 280ms;
  --duration-slow: 900ms; /* hero crossfade */
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
}
h1 { font-size: var(--text-2xl); }
@media (min-width: 900px) { h1 { font-size: var(--text-3xl); } }
@media (max-width: 340px) { h1 { font-size: 2rem; } }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-weight: 500; }
h4 { font-size: var(--text-md); font-weight: 500; }

p { max-width: 62ch; }
p.lede { font-size: var(--text-md); color: var(--color-text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--section-pad-y); }
.section-tight { padding-block: var(--section-pad-y-tight); }
.section-alt { background: var(--color-bg-alt); }
.section-header {
  max-width: 640px;
  margin-bottom: var(--space-12);
}
.section-header.center { margin-inline: auto; text-align: center; }

.grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.grid-2 {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.grid-3 {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard);
}
.btn-primary { background: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline { border-color: var(--color-ink); color: var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: var(--color-white); }
.btn-ghost-light { border-color: rgba(255,255,255,0.6); color: var(--color-white); }
.btn-ghost-light:hover { background: var(--color-white); color: var(--color-ink); }

/* ==========================================================================
   Site header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--color-border);
}
.header-top-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.brand-large {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(88px * 800 / 196);
  height: 88px;
}
.brand-large img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 1300px) {
  .brand-large { width: calc(60px * 800 / 196); height: 60px; }
}

.header-nav-row {
  position: relative;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-3);
}
.nav-list { display: flex; align-items: center; gap: var(--space-6); }
.nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-block: var(--space-2);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--color-accent); }

.nav-actions { display: flex; align-items: center; gap: var(--space-5); }
.nav-phone {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--color-accent); }

.header-social { display: flex; align-items: center; gap: var(--space-4); }
.header-social a {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.header-social a:hover { color: var(--color-accent); }

.dropdown.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(920px, 92vw);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
  padding: var(--space-8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 60;
  transition: opacity var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard),
              visibility var(--duration-base);
}
.dropdown.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.mega-grid h6 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  padding-bottom: var(--space-2);
  margin: 0 0 var(--space-3) 0;
  border-bottom: 2px solid var(--color-red-50);
}
.mega-grid h6 a {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
}
.mega-grid h6 a:hover { color: var(--color-accent-dark); }
.mega-grid ul { display: grid; gap: var(--space-2); }
.mega-grid a { font-family: var(--font-body); font-size: var(--text-sm); }
.mega-grid a:hover { color: var(--color-accent); }
.mega-areas .mega-grid { grid-template-columns: repeat(3, 1fr); }
.mega-areas ul {
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: var(--space-2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
}
.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px auto;
  transition: transform var(--duration-base) var(--ease-standard),
              opacity var(--duration-base) var(--ease-standard);
}

/* Hidden by default when closed so off-canvas panel never inflates scrollWidth */
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .header-nav-row, .nav-phone, .nav-actions .btn-primary, .header-social { display: none; }
  .header-top-row { min-height: 84px; }
  .site-header { --mobile-header-h: 85px; }
  .brand-large { position: static; transform: none; width: calc(52px * 800 / 196); height: 52px; }
  @media (max-width: 340px) { .brand-large { width: calc(40px * 800 / 196); height: 40px; } }
  .menu-toggle { display: block; margin-left: auto; }
  .mobile-nav {
    display: none;
    position: fixed;
    top: var(--mobile-header-h, 76px);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    background: var(--color-white);
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-6);
    z-index: 40;
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav details summary {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
  }
  .mobile-nav details ul { padding-left: var(--space-4); padding-block: var(--space-2); }
  .mobile-nav details a, .mobile-nav .stack a { display: block; padding-block: var(--space-2); }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-3);
  font-size: var(--text-xs);
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: var(--space-2);
  color: var(--color-grey-700);
}
.breadcrumb-list a {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.breadcrumb-list a:hover { text-decoration: underline; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 78vh; overflow: hidden; color: var(--color-white); display: flex; align-items: center; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
}
.hero-slide.is-active { opacity: 1; }
.hero.is-slideshow-ready .hero-slide { transition: opacity 1.4s ease; }
.hero-slide picture,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.46) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0.62) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero-content .eyebrow { color: var(--color-white); }
.hero-content .eyebrow::before { background: var(--color-white); }
.hero h1 { color: var(--color-white); max-width: 18ch; }
.hero .lede { color: rgba(255,255,255,0.92); max-width: 48ch; margin-block: var(--space-5); }

/* ==========================================================================
   Services — text-forward listing grouped by category
   ========================================================================== */
.service-category { padding-block: var(--space-10); border-top: 1px solid var(--color-border); }
.service-category:first-of-type { border-top: none; padding-top: 0; }
.service-category h2, .service-category h3 {
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.service-category h2 a:hover, .service-category h3 a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-10); }
.service-row h3, .service-row h4 { font-size: var(--text-md); margin-bottom: var(--space-2); color: var(--color-ink); }
.service-row h3 a:hover, .service-row h4 a:hover { color: var(--color-accent); }
.service-row p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 42ch; }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }

.service-category-grid { display: grid; grid-template-columns: 1fr 280px; gap: var(--space-10); align-items: start; }
.service-category-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
  display: block;
}
@media (max-width: 860px) {
  .service-category-grid { grid-template-columns: 1fr; }
  .service-category-photo { max-width: 320px; order: -1; }
}

.service-photo-break {
  max-width: 760px;
  margin-block: var(--space-12);
  margin-inline: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.service-photo-break img { width: 100%; height: 100%; object-fit: cover; display: block; }

.feature-intro { max-width: 640px; margin-bottom: var(--space-8); }

.feature-photos-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.feature-photos-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  display: block;
}
@media (max-width: 700px) { .feature-photos-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .feature-photos-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-8);
}
.trust-strip .grid { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--space-6); text-align: center; }
.trust-item .value { font-family: var(--font-heading); font-size: var(--text-lg); color: var(--color-accent); }
.trust-item .label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-text-muted); }

/* ==========================================================================
   Cards: services / case studies / testimonials
   ========================================================================== */
.card { background: var(--color-white); }
.service-card { display: flex; flex-direction: column; }
.service-card figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-grey-100); border-radius: var(--radius-sm); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-standard); }
.service-card:hover img { transform: scale(1.04); }
.service-card .card-body { padding-block: var(--space-5); }
.service-card h3 a:hover { color: var(--color-accent); }

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card .highlight {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.testimonial-card .stars { color: var(--color-accent); letter-spacing: 0.1em; margin-bottom: var(--space-3); }
.testimonial-card blockquote.quote, .testimonial-card .quote {
  font-style: italic;
  color: var(--color-ink-70);
  margin: 0;
}
.testimonial-card .attribution {
  margin-top: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-ink);
}

/* ==========================================================================
   FAQ (details/summary)
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  padding-block: var(--space-5);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: var(--text-lg);
  color: var(--color-accent);
  transition: transform var(--duration-base) var(--ease-standard);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: var(--space-5); color: var(--color-text-muted); }
.faq-item a { color: var(--color-accent); text-decoration: underline; }

/* ==========================================================================
   CTA band & Lead Form Slot
   ========================================================================== */
.cta-band { background: var(--color-ink); color: var(--color-white); text-align: center; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255,255,255,0.75); margin-inline: auto; }

.mm-form-slot {
  max-width: 580px;
  margin-inline: auto;
  text-align: left;
  min-height: 36rem;
}
.map-embed {
  background: var(--color-grey-100);
  overflow: hidden;
  border-radius: var(--radius-md);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-embed--contact { height: 260px; }
.map-embed--footer { height: 220px; }
.mm-lead-form {
  display: grid;
  gap: 0.65rem;
  text-align: left;
  width: 100%;
  background: var(--color-white);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.mm-lead-form label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: var(--color-ink);
  margin-top: 0.25rem;
}
.mm-lead-form input, .mm-lead-form select, .mm-lead-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
}
.mm-lead-form input:focus, .mm-lead-form select:focus, .mm-lead-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.mm-lead-form .btn {
  margin-top: 0.5rem;
  width: 100%;
}
.mm-lead-form .mm-status {
  min-height: 1.2em;
  margin-top: 0.25rem;
  font-size: var(--text-sm);
  color: var(--color-ink);
}

/* ==========================================================================
   Footer (Brad Aug 17 Edit #7: bold red column headers above category h5)
   ========================================================================== */
.site-footer { background: var(--color-grey-100); border-top: 1px solid var(--color-border); }
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding-block: var(--space-16);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.footer-grid h5 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-ink);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.footer-grid h5 a:hover { color: var(--color-accent); }
.footer-grid ul { display: grid; gap: var(--space-2); }
.footer-grid a:hover { color: var(--color-accent); }
.footer-map { height: 220px; }
.footer-map iframe { width: 100%; height: 220px; border: 0; border-radius: var(--radius-md); display: block; }

.site-footer .brand {
  display: block;
  width: calc(48px * 800 / 196);
  height: 48px;
}
.site-footer .brand picture,
.site-footer .brand img {
  display: block;
  width: 100%;
  height: 100%;
}
.site-footer .brand img { object-fit: contain; }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Scroll reveal (see main.js)
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
