/* ============================================================
   Delta Metals — Design System
   Brand: black / white / signature blue, Montserrat.
   Premium execution of the existing brand — not a rebrand.
   ============================================================ */

:root {
  /* Brand neutrals */
  --black: #0d0d0d;
  --black-soft: #17181a;
  --gray-900: #202226;
  --gray-800: #33363b;
  --gray-700: #4c5058;
  --gray-600: #6b707a;
  --gray-500: #8b909a;
  --gray-400: #aeb2ba;
  --gray-300: #ced1d6;
  --gray-200: #e4e6e9;
  --gray-100: #f1f2f4;
  --gray-50:  #f8f9fa;
  --white: #ffffff;

  /* Brand blue (sampled from live site's Request-a-Quote button) */
  --blue-800: #064a70;
  --blue-700: #075e8d;
  --blue-600: #0a7fc0;   /* primary brand blue */
  --blue-500: #1f96d6;
  --blue-400: #4db1e3;
  --blue-100: #e4f4fc;

  /* Semantic */
  --bg: var(--white);
  --text: var(--black);
  --text-muted: var(--gray-600);
  --text-inverse: var(--white);
  --border: var(--gray-200);
  --border-inverse: rgba(255,255,255,0.14);

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 9rem;

  --radius: 4px;
  --radius-lg: 8px;
  --max-width: 1280px;
  --shadow-sm: 0 1px 2px rgba(13,13,13,0.06), 0 1px 3px rgba(13,13,13,0.08);
  --shadow-md: 0 10px 24px -6px rgba(13,13,13,0.16);
  --shadow-lg: 0 12px 24px -8px rgba(13,13,13,0.10), 0 24px 56px -16px rgba(13,13,13,0.18);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);        /* hovers, toggles */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);   /* entrances, reveals — strong deceleration */

  /* Uppercase micro-type tracking — exactly two values, everywhere */
  --track-caps: 0.08em;      /* nav, breadcrumbs, stat labels, table headers, footer h4 */
  --track-caps-wide: 0.14em; /* eyebrows only */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Brand selection + scrollbar — the details people feel but don't name */
::selection { background: var(--blue-600); color: var(--white); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 6px; border: 3px solid var(--gray-100); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-600); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.12; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--track-caps-wide);
  text-transform: uppercase;
  color: var(--blue-700); /* darker than brand blue-600 so small uppercase text clears WCAG AA on white */
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--blue-600);
  display: inline-block;
  border-radius: 2px;
}

/* Tracking scales with display size: big type tightens, small type stays open */
h1 { font-size: clamp(2.4rem, 4.6vw, 3.85rem); letter-spacing: -0.025em; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--text-muted);
  max-width: 46ch;
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.85rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn { position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 6px 20px -6px rgba(10,127,192,0.55); }
.btn-primary:hover { background: var(--blue-500); box-shadow: 0 10px 26px -6px rgba(10,127,192,0.6); }
/* Light sweep across primary buttons on hover */
.btn-primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -80%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .5s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) { .btn-primary::after { display: none; } }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray-900); }
.btn-outline { background: transparent; border-color: var(--gray-300); color: var(--text); }
.btn-outline:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-outline-inverse { background: transparent; border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-outline-inverse:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.82rem; }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--black);
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 500;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}
.utility-bar__locations { display: flex; gap: var(--space-4); }
.utility-bar a { display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.15s var(--ease); }
.utility-bar a:hover { color: var(--blue-400); }
.utility-bar__right { display: flex; align-items: center; gap: var(--space-4); }
.utility-bar__portal { font-weight: 600; padding-right: var(--space-4); border-right: 1px solid rgba(255,255,255,0.18); }
.utility-bar__social { display: flex; gap: var(--space-3); }
.utility-bar__social a { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.utility-bar__social a .icon { width: 13px; height: 13px; }
.utility-bar a .icon { margin-right: 0.15rem; }
.utility-bar__social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: var(--space-4);
  transition: height .25s var(--ease);
}
.site-header.is-scrolled .container { height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .logo img { height: 38px; }

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.main-nav__list { display: flex; gap: var(--space-4); align-items: center; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  padding: 0.5rem 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.main-nav__list > li > a:hover,
.main-nav__list > li.active > a { border-color: var(--blue-600); color: var(--blue-600); }

.main-nav__dropdown {
  position: absolute;
  top: 100%; left: -1rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transform-origin: top left;
  transition: opacity .12s var(--ease), transform .12s var(--ease), visibility .12s var(--ease); /* exit: quick */
}
.main-nav__list > li:hover .main-nav__dropdown,
.main-nav__list > li:focus-within .main-nav__dropdown {
  opacity: 1; visibility: visible; transform: none;
  transition-duration: .2s;
  transition-timing-function: var(--ease-out); /* enter: settled */
}
.main-nav__dropdown a { display: block; padding: 0.65rem 0.8rem; font-size: 0.85rem; font-weight: 600; text-transform: none; letter-spacing: normal; border-radius: 4px; }
.main-nav__dropdown a:hover { background: var(--blue-100); color: var(--blue-700); }

.header-cta { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--gray-300); border-radius: var(--radius);
  align-items: center; justify-content: center;
  position: relative;
}
.nav-toggle .icon { width: 20px; height: 20px; position: absolute; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.nav-toggle .icon-close { opacity: 0; transform: scale(0.7) rotate(-45deg); }
.nav-toggle.is-active .icon-menu { opacity: 0; transform: scale(0.7) rotate(45deg); }
.nav-toggle.is-active .icon-close { opacity: 1; transform: scale(1) rotate(0); }
.nav-caret { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero__bg { position: absolute; inset: -80px 0 0; z-index: 0; overflow: hidden; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 20s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Hero entrance choreography — badge → headline → lede → CTAs → stats */
.hero__badge, .hero h1, .hero .lede, .hero__actions, .hero__stats {
  animation: heroRise .9s var(--ease-out) both;
}
.hero__badge { animation-delay: .1s; }
.hero h1 { animation-delay: .2s; }
.hero .lede { animation-delay: .32s; }
.hero__actions { animation-delay: .44s; }
.hero__stats { animation-delay: .58s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* Interior page headers and case-study heroes get the same entrance */
.page-header .breadcrumb, .page-header .eyebrow, .page-header h1, .page-header .lede,
.cs-hero .breadcrumb, .cs-hero .eyebrow, .cs-hero h1, .cs-hero .lede {
  animation: heroRise .8s var(--ease-out) both;
}
.page-header .breadcrumb, .cs-hero .breadcrumb { animation-delay: .05s; }
.page-header .eyebrow, .cs-hero .eyebrow { animation-delay: .12s; }
.page-header h1, .cs-hero h1 { animation-delay: .2s; }
.page-header .lede, .cs-hero .lede { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__badge, .hero h1, .hero .lede, .hero__actions, .hero__stats,
  .page-header .breadcrumb, .page-header .eyebrow, .page-header h1, .page-header .lede,
  .cs-hero .breadcrumb, .cs-hero .eyebrow, .cs-hero h1, .cs-hero .lede { animation: none; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(13,13,13,0.94) 0%, rgba(13,13,13,0.68) 40%, rgba(13,13,13,0.28) 75%, rgba(13,13,13,0.15) 100%);
}
.hero__content { position: relative; z-index: 2; padding-block: var(--space-6) var(--space-6); width: 100%; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(10,127,192,0.18);
  border: 1px solid rgba(77,177,227,0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-3);
  color: var(--blue-400);
}
.hero h1 { margin-bottom: var(--space-3); max-width: 18ch; }
.hero .lede { color: var(--gray-200); max-width: 44ch; margin-bottom: var(--space-4); }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-5); }
.hero__stats { display: flex; gap: var(--space-6); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.16); padding-top: var(--space-4); }
.hero__stat strong { display: block; font-size: 1.9rem; font-weight: 800; }
.hero__stat span { font-size: 0.78rem; color: var(--gray-400); letter-spacing: var(--track-caps); text-transform: uppercase; font-weight: 600; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--dark { background: var(--black); color: var(--text-inverse); }
.section--dark .text-muted { color: var(--gray-400); }
.section--alt { background: var(--gray-50); }
.section__head { max-width: 640px; margin-bottom: clamp(3.5rem, 5vw, 5rem); }
.section__head h2 { margin-block: var(--space-2) var(--space-3); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__foot { margin-top: var(--space-5); display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Steps ("How it works") ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4) var(--space-4);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue-100);
  -webkit-text-stroke: 1.5px var(--blue-500);
  position: absolute;
  top: var(--space-3); right: var(--space-4);
}
.step h3 { margin-bottom: var(--space-2); max-width: 20ch; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Card grid (panels / building types) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--white);
  color: var(--text);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-300); }
.tile__media { position: relative; flex: 1; background: var(--gray-50); display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.tile__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform 0.4s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.06); }
.tile__body { position: relative; padding: var(--space-4); border-top: 1px solid var(--border); }
.tile__body .eyebrow { margin-bottom: 0.3rem; }
.tile__body h3 { margin-block: 0.1rem 0.4rem; }
.tile__body p { color: var(--text-muted); font-size: 0.9rem; }
.tile__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 700; margin-top: var(--space-3); color: var(--blue-600); }

/* Photo tiles (dark scrim style, used for building types) */
.tile--photo { color: var(--white); }
.tile--photo .tile__media { padding: 0; }
.tile--photo .tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-height: none; }
.tile--photo .tile__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.1) 55%, transparent 100%); }
.tile--photo .tile__body { position: relative; border-top: none; margin-top: auto; }
.tile--photo .tile__body p { color: var(--gray-300); }
.tile--photo .tile__link { color: var(--white); border-bottom: 1px solid var(--blue-500); }

/* Plain product cards (no image needed / spec style) */
.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.spec-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.spec-card__icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-3); font-size: 1.3rem; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.spec-card:hover .spec-card__icon { background: var(--blue-600); color: var(--white); transform: scale(1.06); }
.spec-card h3 { margin-bottom: var(--space-2); }
.spec-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split .eyebrow { margin-bottom: var(--space-2); }
.split h2 { margin-bottom: var(--space-3); }
.split p + p, .split ul { margin-top: var(--space-3); }
.split ul li { display: flex; gap: 0.6rem; align-items: flex-start; padding-block: 0.55rem; border-top: 1px solid var(--border); font-size: 0.95rem; }
.split ul li:first-child { border-top: none; }
.split ul li strong { color: var(--text); }
.check { color: var(--blue-600); font-weight: 800; }

/* ---------- Persona row ---------- */
.persona-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.persona-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: var(--text);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.persona-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transition: right .35s var(--ease);
}
.persona-card:hover::before { right: 0; }
.persona-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.persona-card .icon { width: 2rem; height: 2rem; color: var(--blue-600); margin-bottom: var(--space-3); }
.persona-card h3 { margin-bottom: var(--space-2); }
.persona-card p { color: var(--text-muted); font-size: 0.92rem; }
.persona-card .tile__link { color: var(--blue-600); }

/* ---------- Credibility band (verified facts, not testimonials) ---------- */
.credibility-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.credibility-item { text-align: center; padding: var(--space-4) var(--space-3); }
.credibility-item .icon { width: 2rem; height: 2rem; color: var(--blue-400); margin-bottom: var(--space-3); }
.credibility-item h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.4rem; }
.credibility-item p { color: var(--gray-400); font-size: 0.88rem; }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--black); color: var(--white); }
.stat-strip .container { display: flex; justify-content: space-between; padding-block: var(--space-5); flex-wrap: wrap; gap: var(--space-4); }
.stat { text-align: center; flex: 1; min-width: 140px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute; left: calc(var(--space-4) / -2); top: 15%; bottom: 15%;
  width: 1px;
  background: var(--border-inverse);
}
@media (max-width: 640px) { .stat + .stat::before { display: none; } }
.stat strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--blue-400); }
.stat span { font-size: 0.8rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gray-400); font-weight: 600; }

/* ---------- Testimonial / trust ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--gray-50); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-3); flex-wrap: wrap; gap: var(--space-3); }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.trust-item strong { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 60%, var(--blue-500));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
/* Slow ambient light sweep across the CTA band */
.cta-band::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.09), transparent);
  transform: skewX(-18deg);
  animation: bandSheen 7s var(--ease) infinite;
  pointer-events: none;
}
@keyframes bandSheen {
  0%, 55% { left: -40%; }
  85%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .cta-band::before { animation: none; } }
.cta-band h2 { color: var(--white); max-width: 14ch; }
.cta-band .btn-dark { background: var(--black); }
.cta-band .btn-dark:hover { background: var(--gray-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--gray-400); padding-block: var(--space-7) var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-5); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border-inverse); }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: var(--track-caps); margin-bottom: var(--space-3); font-weight: 700; }
.footer-grid li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-grid a { position: relative; transition: color .15s var(--ease); }
.footer-grid a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--blue-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.footer-grid a:hover { color: var(--blue-400); }
.footer-grid a:hover::after { transform: scaleX(1); }
.footer-brand .logo img { height: 44px; }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; color: var(--gray-500); margin-top: var(--space-3); }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--border-inverse); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .15s var(--ease), border-color .15s var(--ease); }
.footer-social a .icon { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--blue-600); border-color: var(--blue-600); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: var(--space-4); font-size: 0.8rem; color: var(--gray-600); flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Breadcrumb / page header (interior pages) ---------- */
.page-header { background: var(--black); color: var(--white); padding-block: var(--space-6) var(--space-5); }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.8rem; color: var(--gray-500); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: var(--track-caps); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue-400); }

/* ---------- Scroll reveal ---------- */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.is-revealed { opacity: 1; transform: none; }

/* ---------- Context color rules (were repeated inline styles) ---------- */
.page-header .lede, .cs-hero .lede { color: var(--gray-300); }
.section--dark h2, .cta-band h2 { color: var(--white); }
.cta-band .eyebrow { color: rgba(255,255,255,.85); }
.cta-band .eyebrow::before { background: var(--white); }
.section__head--center .lede { margin-inline: auto; }

/* ---------- Icons ---------- */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.icon-lg { width: 1.4em; height: 1.4em; }

/* ---------- Utilities ---------- */
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: var(--space-3); }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-5); }

/* ---------- Responsive ---------- */
/* Mobile nav header-height constants: utility bar (42px) + header (88px) */
:root { --header-stack-height: 130px; }

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--header-stack-height);
    height: calc(100vh - var(--header-stack-height));
    height: calc(100dvh - var(--header-stack-height)); /* iOS URL-bar-safe; vh line above is the fallback */
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    transform: translateX(100%);
    transition: transform .25s var(--ease);
    overflow-y: auto;
    z-index: 90;
    border-top: 1px solid var(--border);
    visibility: hidden;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--border); }
  .main-nav__list > li > a { padding: 0.9rem 0.2rem; border-bottom: none; flex: 1; }
  .nav-caret { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: none; font-size: 1rem; color: var(--gray-600); transition: transform .2s var(--ease); }
  .main-nav__list > li.is-expanded .nav-caret { transform: rotate(180deg); color: var(--blue-600); }
  .main-nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--gray-50); display: none; width: 100%; margin-bottom: 0.5rem; }
  .main-nav__list > li.is-expanded .main-nav__dropdown { display: block; }
  .header-cta .btn-primary { padding: 0.7rem 1.1rem; font-size: 0.82rem; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .steps, .persona-row { grid-template-columns: 1fr; }
  .card-grid, .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .credibility-band { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .steps, .card-grid, .card-grid--2, .card-grid--4, .persona-row, .credibility-band { grid-template-columns: 1fr; }
  .utility-bar__locations { display: none; }
  .stat-strip .container { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  /* Roomier tap targets for secondary footer nav on phones */
  .footer-grid li { margin-bottom: 0.15rem; }
  .footer-grid li a { display: inline-block; padding-block: 0.55rem; }
  /* Full-width stacked hero CTAs read cleaner and tap easier on phones */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
