/* ==========================================================================
   EddiesKeys — Mobile Automotive Locksmith
   Monochrome automotive-industrial design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --color-black: #0B0C0E;
  --color-charcoal: #16181B;
  --color-graphite: #272A2F;
  --color-gray: #737982;
  --color-silver: #D2D6DB;
  --color-off-white: #F4F5F6;
  --color-white: #FFFFFF;

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

  --size-hero: clamp(3rem, 6vw, 5rem);
  --size-page: clamp(2.7rem, 5vw, 4.5rem);
  --size-section: clamp(2.2rem, 4vw, 3.5rem);
  --size-card: clamp(1.5rem, 2vw, 1.9rem);

  --radius-btn: 6px;
  --radius-card: 8px;
  --notch: 16px;

  --container: 1280px;
  --pad-x: 20px;
  --section-y: 64px;

  --header-h: 72px;
  --callbar-h: 58px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --pad-x: 28px; --section-y: 88px; }
}
@media (min-width: 1024px) {
  :root { --pad-x: 40px; --section-y: 104px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background: var(--color-black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

a { color: inherit; }

/* Visible focus everywhere */
:focus-visible {
  outline: 2px solid var(--color-silver);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-light :focus-visible,
.section--light :focus-visible {
  outline-color: var(--color-black);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-btn);
}
.skip-link:focus { top: 12px; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--dark { background: var(--color-black); color: var(--color-off-white); }
.section--charcoal { background: var(--color-charcoal); color: var(--color-off-white); }
.section--light { background: var(--color-off-white); color: var(--color-charcoal); }
.section--white { background: var(--color-white); color: var(--color-charcoal); }

.section--dark h1, .section--dark h2, .section--dark h3,
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3 { color: var(--color-white); }
.section--light h1, .section--light h2, .section--light h3,
.section--white h1, .section--white h2, .section--white h3 { color: var(--color-black); }

.muted { color: var(--color-gray); }
.section--dark .muted, .section--charcoal .muted { color: var(--color-silver); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: black;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gray), var(--color-silver));
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 100%, 0 100%);
  flex: none;
}
.section--dark .eyebrow, .section--charcoal .eyebrow { color: var(--color-silver); }

/* Angular corner-cut motif (echoes the EK logo) */
.notch { clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.notch--bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch))); }

/* Metallic divider */
.rule {
  border: 0;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--color-gray) 18%, var(--color-silver) 50%, var(--color-gray) 82%, transparent);
}

/* Headline sizes */
.h-hero { font-size: var(--size-hero); font-weight: 800; }
.h-page { font-size: var(--size-page); font-weight: 800; }
.h-section { font-size: var(--size-section); }
.h-card { font-size: var(--size-card); line-height: 1.08; }

.lede { font-size: 1.125rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn .btn-icon { flex: none; }

/* Primary on dark backgrounds: white button, near-black text */
.btn--light {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-silver);
}
.btn--light:hover { background: var(--color-silver); }

/* Primary on light backgrounds: near-black button, white text */
.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-graphite);
}
.btn--dark:hover { background: var(--color-graphite); }

/* Secondary: transparent with contrasting border */
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-gray);
}
.btn--ghost:hover { border-color: var(--color-silver); color: var(--color-white); }
.btn--ghost-dark {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-gray);
}
.btn--ghost-dark:hover { border-color: var(--color-black); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}

.btn-phone-num { font-family: var(--font-display); font-weight: 700; font-size: 1.15em; letter-spacing: .02em; }

/* Text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.text-link::after { content: "\2192"; transition: transform .18s var(--ease); }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--color-black);
  color: var(--color-silver);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px var(--pad-x);
  border-bottom: 1px solid var(--color-graphite);
}
.topbar .desktop-only { display: none; }
.topbar .mobile-only { display: inline; }
@media (min-width: 768px) {
  .topbar .desktop-only { display: inline; }
  .topbar .mobile-only { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-charcoal);
  border-bottom: 1px solid var(--color-graphite);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 12, 14, .97);
  border-bottom-color: var(--color-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.logo-link img, .logo-link svg { height: 52px; width: auto; display: block; }
@media (min-width: 1024px) { .logo-link img, .logo-link svg { height: 58px; } }

/* Primary nav */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-graphite);
  border-radius: var(--radius-btn);
  color: var(--color-off-white);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.primary-nav { display: none; }

.header-cta { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .primary-nav a {
    display: block;
    padding: 10px 12px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--color-silver);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .18s var(--ease);
  }
  .primary-nav a:hover { color: var(--color-white); }
  .primary-nav a[aria-current="page"] {
    color: var(--color-white);
    border-bottom-color: var(--color-white);
  }
  .header-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: 54px;
    padding: 8px 22px;
    line-height: 1.15;
  }
  .header-cta .cta-label { font-size: .8rem; font-weight: 600; }
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  background: var(--color-black);
  border-bottom: 1px solid var(--color-graphite);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--pad-x) 20px;
}
.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-off-white);
  text-decoration: none;
  border-bottom: 1px solid var(--color-graphite);
}
.mobile-menu a[aria-current="page"]:not(.btn) { color: var(--color-white); padding-left: 12px; border-left: 3px solid var(--color-white); }
.mobile-menu .menu-cta { margin-top: 18px; }
.mobile-menu .menu-cta .btn { width: 100%; }
.mobile-menu .menu-phone {
  margin: 14px 0 0;
  text-align: center;
  color: var(--color-silver);
  font-size: .9rem;
}
.mobile-menu .menu-phone a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--color-white); text-decoration: none; }

body.menu-open { overflow: hidden; }

@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Mobile bottom call bar ---------- */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--callbar-h);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-top: 1px solid var(--color-silver);
}
.call-bar svg { flex: none; }
@media (min-width: 1024px) { .call-bar { display: none; } }

/* Reserve space so the call bar never covers content */
body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
  background: var(--color-black);
  color: var(--color-off-white);
  overflow: hidden;
}
.hero-media, .hero-media picture, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.35) 0%, rgba(11,12,14,.25) 40%, rgba(11,12,14,.88) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 56px 48px;
  max-width: 680px;
}
.hero h1 { color: var(--color-white); }
.hero .lede { color: var(--color-silver); }

@media (min-width: 768px) {
  .hero { align-items: center; min-height: min(86vh, 820px); }
  .hero::after {
    background: linear-gradient(90deg, rgba(11,12,14,.93) 0%, rgba(11,12,14,.72) 38%, rgba(11,12,14,.28) 68%, rgba(11,12,14,.05) 100%);
  }
  .hero-content { padding-block: 96px; }
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-avail {
  margin: 0 0 10px;
  font-size: .95rem;
  color: var(--color-silver);
}
.hero-highlight {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-btn);
  background: rgba(39, 42, 47, .55);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-white);
}

/* Sub-page hero (shorter, with image) */
.page-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; }
.page-hero .hero-content { padding-block: 48px; }
@media (min-width: 768px) {
  .page-hero { min-height: 460px; align-items: center; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-charcoal);
  border-top: 1px solid var(--color-graphite);
  border-bottom: 1px solid var(--color-graphite);
  color: var(--color-off-white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-graphite);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px var(--pad-x);
  background: var(--color-charcoal);
  font-size: .92rem;
  font-weight: 600;
}
.trust-item svg { flex: none; color: var(--color-silver); }
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-graphite);
  border: 1px solid rgba(210, 214, 219, .16);
  border-radius: var(--radius-card);
  padding: 30px;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.section--light .card, .section--white .card {
  background: var(--color-white);
  border-color: var(--color-silver);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: var(--color-gray); }
}
.card h3 { font-size: 1.45rem; }
.card p { margin-bottom: 0; font-size: .98rem; color: var(--color-silver); }
.section--light .card p, .section--white .card p { color: var(--color-gray); }
.card .card-icon { margin-bottom: 16px; color: var(--color-silver); }
.section--light .card .card-icon, .section--white .card .card-icon { color: var(--color-black); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Split media sections ---------- */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--rev > .split-media { order: 2; }
}
.split-media img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--color-graphite); }
.section--light .split-media img, .section--white .split-media img { border-color: var(--color-silver); }

/* Two-panel availability section */
.panel {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-graphite);
  background: var(--color-charcoal);
  color: var(--color-off-white);
  display: flex;
  flex-direction: column;
}
.panel-media { aspect-ratio: 4 / 3; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel-body { padding: 30px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.panel-label {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-black);
  background: var(--color-silver);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.panel h3 { font-size: 1.8rem; color: var(--color-white); }
.panel .btn { align-self: flex-start; margin-top: auto; }
.panel-highlight { font-weight: 600; color: var(--color-white); }

/* ---------- Steps (How it works) ---------- */
.step {
  border-top: 2px solid var(--color-silver);
  padding-top: 22px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-gray);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--color-gray); margin-bottom: 0; }

/* ---------- Makes grid ---------- */
.makes-group { margin-bottom: 40px; }
.makes-group:last-child { margin-bottom: 0; }
.makes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px) { .makes-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .makes-grid { grid-template-columns: repeat(5, 1fr); } }

.make-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: .95rem;
}
.make-tile svg { flex: none; color: var(--color-gray); }
.section--dark .make-tile, .section--charcoal .make-tile {
  background: var(--color-graphite);
  border-color: rgba(210, 214, 219, .16);
  color: var(--color-off-white);
}

.makes-search { margin: 0 0 32px; max-width: 460px; }
.makes-search label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.makes-search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  font: inherit;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-btn);
}
.makes-search input:focus-visible { outline-offset: 1px; }

.makes-empty {
  display: none;
  padding: 26px;
  border: 1px dashed var(--color-gray);
  border-radius: var(--radius-card);
  margin-top: 8px;
}
.makes-empty.is-visible { display: block; }
.makes-empty p { margin-bottom: 12px; font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 1.9rem; margin-bottom: 18px; }

.faq-item {
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-card);
  background: var(--color-white);
  margin-bottom: 12px;
  overflow: hidden;
}
.section--dark .faq-item, .section--charcoal .faq-item {
  background: var(--color-graphite);
  border-color: rgba(210, 214, 219, .16);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: inherit;
  cursor: pointer;
  min-height: 54px;
}
.faq-q .faq-chev { flex: none; transition: transform .22s var(--ease); color: var(--color-gray); }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin-bottom: 0; color: var(--color-gray); }
.section--dark .faq-a p, .section--charcoal .faq-a p { color: var(--color-silver); }
.js .faq-a[hidden] { display: none; }

/* ---------- Availability / info cards ---------- */
.info-card {
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-card);
  background: var(--color-white);
  padding: 30px;
}
.info-card h3 { font-size: 1.6rem; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--color-off-white);
  position: relative;
  font-size: .98rem;
}
.info-card li:last-child { border-bottom: 0; }
.info-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 2px;
  background: var(--color-gray);
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 100%, 0 100%);
}
.section--dark .info-card, .section--charcoal .info-card {
  background: var(--color-graphite);
  border-color: rgba(210, 214, 219, .16);
}
.section--dark .info-card li, .section--charcoal .info-card li { border-bottom-color: rgba(210, 214, 219, .1); }

/* Highlighted panel */
.highlight-panel {
  border: 1px solid var(--color-gray);
  border-left: 4px solid var(--color-silver);
  border-radius: var(--radius-card);
  padding: 30px;
  background: var(--color-charcoal);
  color: var(--color-off-white);
}
.highlight-panel h3 { color: var(--color-white); font-size: 1.7rem; }

/* Area list */
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .area-list { grid-template-columns: repeat(3, 1fr); } }
.area-list li {
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: .95rem;
}
.section--dark .area-list li, .section--charcoal .area-list li {
  background: var(--color-graphite);
  border-color: rgba(210, 214, 219, .16);
}

/* ---------- Final CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .h-section { margin-bottom: 18px; }
.cta-band .btn { margin: 8px 0 18px; }
.cta-band .cta-support { color: var(--color-silver); font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-black);
  color: var(--color-silver);
  border-top: 1px solid var(--color-graphite);
  padding: 56px 0 40px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .footer-logo { width: 150px; height: auto; margin-bottom: 14px; }
.footer-tag { color: var(--color-gray); margin-bottom: 0; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav a {
  display: inline-block;
  padding: 5px 0;
  color: var(--color-silver);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--color-white); text-decoration: underline; text-underline-offset: 4px; }
.footer-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-meta {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--color-graphite);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--color-gray);
  font-size: .85rem;
}
.footer-meta p { margin: 0; }

/* ---------- Reveal animation (JS-enhanced, restrained) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 40px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* Prevent any horizontal overflow */
html, body { overflow-x: clip; }
