/* =========================================================
   Flux Contractor Demo — Premium Demo Design System
   Flux Labs Agency LLC
   ========================================================= */

:root {
  --navy-950: #040b14;
  --navy-900: #081525;
  --navy-800: #10243c;
  --navy-700: #1a3a5c;
  --navy-600: #24507a;
  --steel-500: #4a6d8c;
  --steel-400: #6b879f;
  --steel-300: #9bb0c2;
  --steel-200: #c8d5e0;
  --steel-100: #e6edf3;
  --ice-50: #eef3f8;
  --white: #ffffff;
  --ink: #0a1524;
  --muted: #4e6074;
  --faint: #8494a6;
  --orange-600: #c85a14;
  --orange-500: #e07020;
  --orange-400: #ef8a3a;
  --orange-100: #fff0e4;
  --success: #2d6b45;
  --danger: #b33a2b;
  --line: rgba(14, 28, 46, 0.1);
  --line-strong: rgba(14, 28, 46, 0.16);
  --glow: rgba(224, 112, 32, 0.3);
  --honor-red: #b22234;
  --honor-white: #f7f8fa;
  --heat: rgba(224, 112, 32, 0.14);

  --font-display: "Clash Display", "Segoe UI", sans-serif;
  --font-body: "Satoshi", "Segoe UI", sans-serif;

  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.84rem, 0.8rem + 0.25vw, 0.94rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --text-md: clamp(1.1rem, 1rem + 0.45vw, 1.28rem);
  --text-lg: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-xl: clamp(1.85rem, 1.35rem + 2vw, 2.75rem);
  --text-hero: clamp(2.4rem, 1.55rem + 3.8vw, 4.6rem);

  --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;

  --radius-sm: 0.4rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.15rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 18px rgba(6, 16, 28, 0.06);
  --shadow-md: 0 16px 40px rgba(6, 16, 28, 0.1);
  --shadow-lg: 0 28px 70px rgba(6, 16, 28, 0.16);
  --shadow-orange: 0 14px 36px var(--glow);

  --content: min(1180px, calc(100% - 2.5rem));
  --content-wide: min(1360px, calc(100% - 2rem));
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Motion tokens */
  --motion-fast: 0.2s;
  --motion-base: 0.45s;
  --motion-slow: 0.85s;
  --motion-reveal: 0.9s;
  --motion-ken: 22s;
  --motion-pulse: 1.8s;
  --motion-heat: 4s;
  --motion-glow: 2.4s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);

  /* Craft / atmosphere tokens */
  --craft-object-x: 58%;
  --craft-object-y: 42%;
  --atmosphere-heat: var(--heat);
  --atmosphere-grain: 0.035;
  --atmosphere-navy-veil: rgba(4, 11, 20, 0.88);
  --urgent-shade-a: rgba(179, 58, 43, 0.42);
  --urgent-shade-b: rgba(4, 11, 20, 0.78);
  --urgent-shade-c: rgba(224, 112, 32, 0.22);
  --quote-overlap: -4rem;
  --quote-overlap-mobile: -1.75rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 92% -8%, var(--heat), transparent 58%),
    radial-gradient(
      900px 480px at -8% 18%,
      rgba(16, 36, 60, 0.1),
      transparent 52%
    ),
    linear-gradient(180deg, #f2f6fa 0%, var(--ice-50) 38%, #e8eef5 100%);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--atmosphere-grain);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange-500);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 9999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: var(--content);
  margin-inline: auto;
}
.container--wide {
  width: var(--content-wide);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--orange-500);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}
.display--xl {
  font-size: var(--text-hero);
}
.display--lg {
  font-size: var(--text-xl);
}
.display--md {
  font-size: var(--text-lg);
}

.lede {
  font-size: var(--text-md);
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.7;
}

.section-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  max-width: 40rem;
}
.section-head--center {
  text-align: center;
  margin-inline: auto;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: var(--space-8);
}
@media (max-width: 820px) {
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}
.btn--navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-800);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy-900);
}
.btn--outline:hover {
  border-color: var(--navy-700);
  background: var(--white);
}
.btn--call {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 250, 252, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.94);
}
.topbar {
  background: var(--navy-900);
  color: var(--steel-200);
  font-size: var(--text-xs);
}
.topbar__inner {
  width: var(--content-wide);
  margin-inline: auto;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}
.topbar a:hover {
  color: var(--white);
}
.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.topbar__phone {
  color: var(--orange-400);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  width: var(--content-wide);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand img {
  width: clamp(140px, 18vw, 190px);
  height: auto;
}
.brand__tag {
  display: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-400);
  border-left: 1px solid var(--line);
  padding-left: 0.75rem;
  line-height: 1.3;
  max-width: 8rem;
}
@media (min-width: 1100px) {
  .brand__tag {
    display: block;
  }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav__links a {
  padding: 0.55rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active {
  background: var(--steel-100);
  color: var(--navy-950);
}
.nav__cta {
  display: none;
  gap: 0.55rem;
  align-items: center;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--navy-900);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

@media (min-width: 1180px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}
@media (min-width: 1180px) and (max-width: 1320px) {
  .nav__links a {
    padding: 0.5rem 0.45rem;
    font-size: 0.8rem;
  }
  .nav__cta .btn--outline {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-drawer.is-open {
  display: block;
}
.mobile-drawer a {
  display: block;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy-900);
}
.mobile-drawer .btn {
  width: 100%;
  margin-top: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      105deg,
      rgba(6, 16, 28, 0.92) 0%,
      rgba(6, 16, 28, 0.72) 42%,
      rgba(6, 16, 28, 0.35) 70%,
      rgba(6, 16, 28, 0.55) 100%
    ),
    linear-gradient(0deg, rgba(6, 16, 28, 0.75) 0%, transparent 45%);
}
.hero__inner {
  width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: var(--space-8);
  max-width: 44rem;
}
.hero .display {
  color: var(--white);
}
.hero .lede {
  color: rgba(230, 237, 243, 0.88);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--steel-100);
}
.chip--solid {
  background: var(--orange-100);
  border-color: transparent;
  color: var(--orange-600);
}
.chip--light {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  color: var(--navy-800);
}

.page-hero {
  position: relative;
  padding: clamp(3.75rem, 7.5vw, 6rem) 0 clamp(2.75rem, 5vw, 4rem);
  background:
    linear-gradient(145deg, rgba(4, 11, 20, 0.94), rgba(16, 36, 60, 0.82)),
    var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      640px 300px at 88% 12%,
      rgba(224, 112, 32, 0.24),
      transparent 62%
    ),
    linear-gradient(
      90deg,
      transparent 58%,
      rgba(255, 255, 255, 0.035) 59%,
      transparent 60%
    );
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--honor-red) 0%,
    var(--honor-red) 33%,
    var(--honor-white) 33%,
    var(--honor-white) 66%,
    var(--navy-700) 66%,
    var(--navy-700) 100%
  );
  opacity: 0.85;
}
.page-hero .container {
  position: relative;
}
.page-hero .display {
  color: var(--white);
  max-width: 16ch;
}
.page-hero .lede {
  color: rgba(230, 237, 243, 0.86);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: var(--space-10);
  align-items: end;
}
@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
}
.section--tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.section--navy {
  background:
    radial-gradient(
      700px 320px at 10% 0%,
      rgba(232, 120, 40, 0.12),
      transparent 55%
    ),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--steel-100);
}
.section--navy .display {
  color: var(--white);
}
.section--navy .lede,
.section--navy .section-head p {
  color: var(--steel-300);
}
.section--surface {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.section--offset {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0.2)
    ),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(18, 40, 68, 0.015) 18px,
      rgba(18, 40, 68, 0.015) 19px
    );
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.trust-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}
.trust-card span {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.35;
}
@media (max-width: 980px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -1.5rem;
  }
}
@media (max-width: 560px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  justify-content: center;
}
.badge-row img {
  display: block;
  height: 44px;
  max-height: 44px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: grayscale(0.12);
  opacity: 0.9;
  transition:
    opacity 0.2s,
    filter 0.2s;
}
.badge-row img:hover {
  opacity: 1;
  filter: none;
}
.badge-row img.badge--tall {
  height: 52px;
  max-height: 52px;
  max-width: 90px;
}

/* ---------- Cards / grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  min-height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy-800);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__media img {
  transform: scale(1.05);
}
.service-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.service-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.service-card__body p {
  color: var(--muted);
  font-size: var(--text-sm);
}
.service-card__link {
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--orange-600);
}
.service-card__link span {
  transition: transform 0.2s var(--ease);
  display: inline-block;
}
.service-card:hover .service-card__link span {
  transform: translateX(4px);
}

.offer-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.offer-card--featured {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-color: transparent;
}
.offer-card--featured p,
.offer-card--featured li {
  color: var(--steel-200);
}
.offer-card__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--orange-500);
}
.offer-card--featured .offer-card__price {
  color: var(--orange-400);
}
.offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.offer-card ul {
  display: grid;
  gap: 0.45rem;
}
.offer-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
.offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange-500);
}
.offer-card__note {
  font-size: var(--text-xs);
  color: var(--faint);
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.offer-card--featured .offer-card__note {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--steel-300);
}

.symptom {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem 1.2rem;
  border-left: 3px solid var(--orange-500);
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}
.symptom h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-900);
}
.symptom p {
  font-size: var(--text-sm);
  color: var(--muted);
}

.proof-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .proof-panel {
    grid-template-columns: 1fr;
  }
}
.proof-panel__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--navy-800);
}
.proof-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-panel__media--wide {
  aspect-ratio: 16 / 11;
}
.quote-stack {
  display: grid;
  gap: 1rem;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.quote footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 600;
}
.stars {
  color: var(--orange-500);
  letter-spacing: 0.08em;
}

.area-map {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 900px) {
  .area-map {
    grid-template-columns: 1fr;
  }
}
.flagship {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
}
.flagship h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0.5rem 0 0.75rem;
}
.flagship p {
  color: var(--steel-200);
  margin-bottom: 1.25rem;
}
.city-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 620px) {
  .city-groups {
    grid-template-columns: 1fr;
  }
}
.city-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
}
.city-group h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}
.city-group ul {
  display: grid;
  gap: 0.35rem;
  columns: 1;
}
.city-group li {
  font-size: var(--text-sm);
  color: var(--muted);
  padding-left: 0.85rem;
  position: relative;
}
.city-group li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel-300);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split--reverse > :first-child {
  order: 2;
}
@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse > :first-child {
    order: 0;
  }
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  background: var(--navy-800);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checklist {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: var(--text-sm);
  color: var(--muted);
}
.checklist li::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--orange-500), var(--orange-600)) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 0 0 3px var(--white),
    inset 0 0 0 5px var(--orange-500);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 800px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat {
  padding: 1rem 0;
  border-top: 2px solid var(--orange-500);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.stat span {
  font-size: var(--text-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.section--navy .stat strong {
  color: var(--white);
}
.section--navy .stat span {
  color: var(--steel-300);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-800);
  min-height: 180px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(6, 16, 28, 0.85));
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gallery-item--lg {
  grid-column: span 6;
  min-height: 320px;
}
.gallery-item--md {
  grid-column: span 4;
  min-height: 240px;
}
.gallery-item--sm {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .gallery-item--lg {
    grid-column: span 12;
    min-height: 240px;
  }
  .gallery-item--md {
    grid-column: span 6;
  }
  .gallery-item--sm {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .gallery-item--md,
  .gallery-item--sm {
    grid-column: span 12;
  }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tab {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy-800);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
}
.tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  background: var(--ice-50);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 120, 40, 0.15);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #e8f6ee;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 1rem;
}
.form-success.is-visible {
  display: block;
}

.contact-rail {
  display: grid;
  gap: 1rem;
}
.contact-tile {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
}
.contact-tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.contact-tile p,
.contact-tile a {
  color: var(--steel-200);
  font-size: var(--text-sm);
}
.contact-tile a:hover {
  color: var(--orange-400);
}
.contact-tile--accent {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}
.contact-tile--accent p,
.contact-tile--accent a {
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      500px 200px at 90% 50%,
      rgba(232, 120, 40, 0.25),
      transparent 60%
    ),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.cta-band p {
  color: var(--steel-200);
  max-width: 36rem;
}
@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-300);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.site-footer a:hover {
  color: var(--orange-400);
}
.footer-brand img {
  width: 170px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p {
  font-size: var(--text-sm);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-links {
  display: grid;
  gap: 0.45rem;
}
.footer-links a {
  font-size: var(--text-sm);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(232, 120, 40, 0.15);
  color: var(--orange-400);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Sticky mobile call ---------- */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(6, 16, 28, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.55rem;
}
.sticky-call .btn {
  flex: 1;
  min-height: 2.85rem;
}
@media (max-width: 860px) {
  .sticky-call {
    display: flex;
  }
  body {
    padding-bottom: 4.5rem;
  }
}

/* ---------- Motion ---------- */
/* Progressive enhancement: only hide reveals when JS is active */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-stagger > .reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 0.19s;
}
.reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 0.26s;
}
.reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 0.33s;
}
.reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal,
  .js .hero--cinematic .hero__kicker,
  .js .hero--cinematic .hero__copy,
  .hero--cinematic .hero__media img,
  .js .quote-beat.is-in .quote-beat__panel,
  .js .quote-beat .quote-beat__panel {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero--cinematic .hero__media img {
    transform: none !important;
    animation: none !important;
  }
  /* Named motion kills (heatPulse, countdownGlow, scrollPulse, brand-flash) */
  .emergency-call::before,
  .offer-card--featured .countdown,
  .offer-card--veteran .countdown,
  .hero__scroll-line,
  .hero--cinematic.is-ready .hero__media img,
  .brand-flash {
    animation: none !important;
  }
  .brand-flash {
    display: none !important;
  }
}

/* ---------- Utilities ---------- */
.mt-2 {
  margin-top: var(--space-2);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mt-10 {
  margin-top: var(--space-10);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-6 {
  margin-bottom: var(--space-6);
}
.text-muted {
  color: var(--muted);
}
.text-white {
  color: var(--white);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================================================
   Deal-close upgrade components
   ========================================================= */

/* Split hero with form */
.hero--split {
  min-height: min(88vh, 780px);
  align-items: stretch;
}
.hero--split .hero__inner {
  width: var(--content-wide);
  max-width: none;
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}
@media (max-width: 960px) {
  .hero--split .hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
.hero-panel {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}
.hero-panel .form-note {
  margin-top: 0.65rem;
}
.hero-panel .form-success {
  font-size: var(--text-sm);
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.trust-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.85rem 0;
  margin-top: -1.25rem;
  position: relative;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding-inline: 1rem;
  justify-content: space-between;
}
.trust-ribbon__stars {
  font-weight: 800;
  color: var(--navy-900);
  font-size: var(--text-sm);
}
.trust-ribbon__stars span {
  color: var(--orange-500);
  letter-spacing: 0.06em;
}
.trust-ribbon__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.trust-ribbon__badges img {
  display: block;
  height: 28px;
  max-height: 28px;
  max-width: 96px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.trust-ribbon__badges img.badge--wide {
  height: 24px;
  max-height: 24px;
  max-width: 120px;
}
@media (max-width: 700px) {
  .trust-ribbon {
    margin-top: -0.75rem;
    justify-content: center;
    text-align: center;
  }
}

/* Countdown */
.countdown {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.countdown__unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.6rem;
  padding: 0.35rem 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--orange-100);
  color: var(--navy-900);
  line-height: 1.15;
}
.countdown__unit strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.countdown__unit span {
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 700;
}
.offer-card--featured .countdown__unit {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.offer-card--featured .countdown__unit span {
  color: var(--steel-300);
}
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.offer-actions .btn {
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.compare-table th,
.compare-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}
.compare-table th {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}
.compare-table tr:last-child td {
  border-bottom: 0;
}
.compare-table td:nth-child(2) {
  font-weight: 700;
  color: var(--orange-600);
}
.compare-table .check {
  color: var(--success);
  font-weight: 800;
}
.compare-table .x {
  color: var(--faint);
}

/* Sticky dock 3-up */
.sticky-call {
  display: none;
  grid-template-columns: repeat(3, 1fr);
}
.sticky-call .btn {
  flex: unset;
  padding-inline: 0.5rem;
  font-size: 0.78rem;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 3.15rem;
}
@media (max-width: 860px) {
  .sticky-call {
    display: grid;
  }
}

/* Review floating pill */
.review-pill {
  position: fixed;
  right: 1rem;
  bottom: 5.25rem;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy-900);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease);
}
.review-pill:hover {
  transform: translateY(-2px);
}
@media (min-width: 861px) {
  .review-pill {
    bottom: 1.5rem;
  }
}

/* Pitch mode strip */
.pitch-strip {
  display: none;
  background: linear-gradient(90deg, #06101c, #1a3a5c);
  color: var(--steel-200);
  font-size: var(--text-xs);
  padding: 0.65rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(232, 120, 40, 0.35);
}
.pitch-strip.is-on {
  display: block;
}
.pitch-strip strong {
  color: var(--orange-400);
}

/* Brand flash */
.brand-flash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: var(--navy-950);
  pointer-events: none;
  opacity: 0;
  animation: brandFlash 0.9s var(--ease) forwards;
}
.brand-flash img {
  width: min(120px, 28vw);
  opacity: 0.95;
}
@keyframes brandFlash {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-flash {
    display: none;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(6, 16, 28, 0.92);
  padding: 1.5rem;
}
.lightbox.is-open {
  display: grid;
}
.lightbox__inner {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
}
.lightbox__inner img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  color: var(--steel-200);
  text-align: center;
  margin-top: 0.85rem;
  font-size: var(--text-sm);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}
.lightbox__close {
  top: -0.5rem;
  right: -0.5rem;
}
.lightbox__nav--prev {
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--next {
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-item {
  cursor: zoom-in;
}

/* Case study cards */
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: auto 1fr;
}
.case-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-800);
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: grid;
  gap: 0.55rem;
}
.case-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
}
.case-meta {
  display: grid;
  gap: 0.35rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
.case-meta strong {
  color: var(--navy-800);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Interactive map */
.map-stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  background:
    radial-gradient(
      circle at 70% 40%,
      rgba(232, 120, 40, 0.18),
      transparent 40%
    ),
    linear-gradient(145deg, #0b1a2e, #1a3a5c 55%, #24507a);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.map-stage__label {
  position: absolute;
  left: 1.25rem;
  top: 1.15rem;
  color: var(--steel-200);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.city-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 6px rgba(232, 120, 40, 0.25);
  cursor: pointer;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  z-index: 2;
}
.city-pin:hover,
.city-pin.is-active {
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0 0 10px rgba(232, 120, 40, 0.35);
}
.city-label {
  position: absolute;
  transform: translate(8px, -50%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}
.map-active {
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.map-active strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-900);
}
.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Quote wizard */
.wizard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}
.wizard__progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.wizard__step-dot {
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--steel-100);
}
.wizard__step-dot.is-done,
.wizard__step-dot.is-current {
  background: var(--orange-500);
}
.wizard__panel {
  display: none;
}
.wizard__panel.is-active {
  display: block;
}
.wizard__choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 560px) {
  .wizard__choices {
    grid-template-columns: 1fr;
  }
}
.wizard-choice {
  border: 1px solid var(--line-strong);
  background: var(--ice-50);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.wizard-choice:hover {
  border-color: var(--orange-500);
  transform: translateY(-1px);
}
.wizard-choice.is-selected {
  border-color: var(--orange-500);
  background: var(--orange-100);
  box-shadow: inset 0 0 0 1px var(--orange-500);
}
.wizard__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.wizard__summary {
  background: var(--ice-50);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 1rem;
}
.wizard__summary li {
  margin: 0.25rem 0;
}

/* FAQ accordion */
.faq-search {
  width: 100%;
  max-width: 28rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  background: var(--white);
  margin-bottom: 1.5rem;
}
.faq-list {
  display: grid;
  gap: 0.65rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item[hidden] {
  display: none !important;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange-500);
  font-weight: 800;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item .faq-a {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: var(--text-sm);
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

/* Blog / video cards */
.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}
.content-card__media {
  aspect-ratio: 16/10;
  background: var(--navy-800);
  overflow: hidden;
}
.content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.content-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.content-card__body p {
  font-size: var(--text-sm);
  color: var(--muted);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.chip-filter {
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
}
.chip-filter.is-active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* Print coupon */
@media print {
  .site-header,
  .site-footer,
  .sticky-call,
  .review-pill,
  .pitch-strip,
  .btn-row,
  .nav,
  .topbar,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
    padding: 0;
  }
  .print-coupon {
    border: 3px dashed var(--navy-800) !important;
    box-shadow: none !important;
  }
}
.print-coupon {
  max-width: 640px;
  margin: 2rem auto;
  border: 3px dashed var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  background: #fff;
  text-align: center;
}
.print-coupon img {
  margin-inline: auto 0;
  width: 180px;
}
.print-coupon .offer-card__price {
  margin: 1rem 0 0.35rem;
}
.print-coupon ul {
  text-align: left;
  max-width: 22rem;
  margin: 1rem auto;
  display: grid;
  gap: 0.4rem;
}
.print-coupon li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--text-sm);
}
.print-coupon li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--orange-500);
}

/* Count-up */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* Emergency giant CTA */
.emergency-call {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.emergency-call a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.emergency-call p {
  margin-top: 0.5rem;
  opacity: 0.92;
}

/* Financing sync block */
.sync-block {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
  .sync-block {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   $100k Elevation — cinematic hero, quote-beat, honor craft
   ========================================================= */

.hero--cinematic {
  /* Fallback chain: vh → svh → dvh (mobile browser chrome) */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  align-items: end;
  color: var(--white);
}
.hero--cinematic .hero__media {
  z-index: -2;
}
.hero--cinematic .hero__media img {
  transform: scale(1.08);
  will-change: transform;
  animation: none;
  transition: transform 0.1s linear;
}
/* Ken Burns idle — disabled when JS parallax owns transform (Conversion: toggle .is-parallax) */
.hero--cinematic.is-ready .hero__media img {
  animation: heroKen var(--motion-ken) var(--ease-cinema) infinite alternate;
}
.hero--cinematic.is-parallax .hero__media img,
.hero--cinematic.is-parallax.is-ready .hero__media img {
  animation: none;
}
@keyframes heroKen {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-2%, -1.5%, 0);
  }
}
.hero--cinematic .hero__shade {
  background:
    linear-gradient(
      105deg,
      rgba(4, 11, 20, 0.94) 0%,
      rgba(4, 11, 20, 0.78) 38%,
      rgba(4, 11, 20, 0.42) 68%,
      rgba(4, 11, 20, 0.62) 100%
    ),
    linear-gradient(0deg, rgba(4, 11, 20, 0.82) 0%, transparent 48%),
    radial-gradient(
      700px 400px at 70% 40%,
      rgba(224, 112, 32, 0.18),
      transparent 60%
    );
}
.hero--cinematic .hero__inner {
  width: var(--content-wide);
  max-width: none;
  margin-inline: auto;
  padding: clamp(6rem, 14vh, 9rem) 0 clamp(4.5rem, 10vh, 6.5rem);
  display: grid;
  gap: var(--space-5);
  align-items: end;
}
.hero__brand {
  display: none;
}
.hero__kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.js .hero__kicker {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}
.hero--cinematic.is-ready .hero__kicker {
  opacity: 1;
  transform: none;
}
.hero__kicker .honor-stripe {
  max-width: 7.5rem;
  margin-bottom: 0;
}
.hero__kicker .honor-mark {
  color: var(--orange-400);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  opacity: 0.88;
}
.hero__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.05rem + 2.4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 2px 28px rgba(4, 11, 20, 0.45);
}
.hero__copy {
  max-width: min(44rem, 100%);
}
.js .hero__copy {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1s var(--ease) 0.1s,
    transform 1s var(--ease) 0.1s;
}
.hero--cinematic.is-ready .hero__copy {
  opacity: 1;
  transform: none;
}
/* Headline supports brand — slightly tamed so wordmark wins the viewport */
.hero--cinematic .display--xl {
  font-size: clamp(2.15rem, 1.35rem + 3.2vw, 4.15rem);
  max-width: 14ch;
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.94);
}
.hero--cinematic .lede {
  max-width: 32rem;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.22rem);
  color: rgba(230, 237, 243, 0.9);
  margin-top: 1.15rem;
  line-height: 1.55;
}
.hero--cinematic .btn-row {
  margin-top: var(--space-8);
  gap: 0.85rem;
}
.hero--cinematic .btn--ghost {
  min-height: 3.1rem;
  padding-inline: 1.35rem;
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06);
}
.hero--cinematic .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 237, 243, 0.65);
  opacity: 0;
  transition: opacity 1s var(--ease) 0.5s;
}
.hero--cinematic.is-ready .hero__scroll {
  opacity: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(180deg, var(--orange-400), transparent);
  animation: scrollPulse var(--motion-pulse) var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Quote beat — conversion after cinema */
.quote-beat {
  position: relative;
  margin-top: var(--quote-overlap);
  z-index: 4;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.quote-beat__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
  overflow: hidden;
}
.quote-beat__intro,
.quote-beat__form {
  min-width: 0;
}
.js .quote-beat__panel {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.quote-beat.is-in .quote-beat__panel {
  opacity: 1;
  transform: none;
}
.quote-beat__intro .honor-stripe {
  margin-bottom: 0.85rem;
}
.quote-beat__intro .honor-mark {
  color: var(--orange-600);
  margin-bottom: 0.75rem;
}
.quote-beat__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
  max-width: 16ch;
}
.quote-beat__intro p {
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: 34rem;
  line-height: 1.6;
}
.quote-beat__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}
.quote-beat__creds .chip {
  background: var(--ice-50);
  border-color: var(--line);
  color: var(--navy-800);
}
.quote-beat__honor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.95rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
/* Honor row: tighter than global 56px badge hard-cap (higher specificity) */
.quote-beat .quote-beat__honor > img,
.quote-beat__intro .quote-beat__honor > img {
  display: block;
  height: 36px;
  max-height: 36px;
  max-width: 96px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.quote-beat .quote-beat__honor > img.badge--wide,
.quote-beat__intro .quote-beat__honor > img.badge--wide {
  height: 28px;
  max-height: 28px;
  max-width: 110px;
}
.quote-beat__form {
  background: linear-gradient(180deg, #fbfcfe 0%, var(--ice-50) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem 1.35rem;
}
.quote-beat__form h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}
@media (max-width: 900px) {
  .quote-beat {
    margin-top: var(--quote-overlap-mobile);
  }
  .quote-beat__panel {
    grid-template-columns: 1fr;
  }
  .quote-beat__intro h2 {
    max-width: none;
  }
}
@media (max-width: 560px) {
  .quote-beat {
    margin-top: -1.25rem;
  }
}

/* Honor stripe / veteran accents */
.honor-stripe {
  display: flex;
  height: 4px;
  width: 100%;
  max-width: 12rem;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.honor-stripe span {
  display: block;
  height: 100%;
}
.honor-stripe span:nth-child(1) {
  flex: 1;
  background: var(--honor-red);
}
.honor-stripe span:nth-child(2) {
  flex: 1;
  background: var(--honor-white);
  border-inline: 1px solid rgba(14, 28, 46, 0.08);
}
.honor-stripe span:nth-child(3) {
  flex: 1;
  background: var(--navy-700);
}
.honor-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-400);
}
.honor-mark::before {
  content: "★";
  color: var(--orange-400);
  font-size: 0.85em;
}

/* Service rail — interactive links, not decorative cards */
.service-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service-rail a {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    background 0.35s var(--ease),
    padding-left 0.35s var(--ease);
}
.service-rail a:hover {
  background: linear-gradient(90deg, rgba(224, 112, 32, 0.06), transparent 55%);
  padding-left: 0.65rem;
}
.service-rail h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0;
}
.service-rail p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}
.service-rail__go {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-600);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .service-rail a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Proof / owner chapter */
.owner-chapter {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.owner-chapter__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}
.owner-chapter__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}
.owner-chapter__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--honor-red),
    var(--honor-white),
    var(--navy-600)
  );
}
@media (max-width: 900px) {
  .owner-chapter {
    grid-template-columns: 1fr;
  }
}

/* Honor timeline */
.honor-timeline {
  display: grid;
  gap: 0;
  margin-top: var(--space-8);
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  padding-left: 1.35rem;
}
.honor-timeline__item {
  position: relative;
  padding: 0 0 1.5rem;
}
.honor-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(224, 112, 32, 0.2);
}
.honor-timeline__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.honor-timeline__item span {
  color: var(--steel-300);
  font-size: var(--text-sm);
}

/* Emergency theater */
.page-hero--emergency {
  min-height: min(72vh, 640px);
  min-height: min(72svh, 640px);
  min-height: min(72dvh, 640px);
  display: grid;
  align-items: end;
  background:
    radial-gradient(
      800px 420px at 80% 20%,
      rgba(179, 58, 43, 0.28),
      transparent 55%
    ),
    linear-gradient(160deg, #140808 0%, #1a120c 40%, #0a1524 100%);
}
.page-hero--emergency::after {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--orange-500),
    var(--honor-red),
    var(--navy-800)
  );
}
.page-hero--emergency .display--xl {
  max-width: 14ch;
}

/* Full-bleed craft photo page hero (emergency + reusable) */
.page-hero--photo {
  position: relative;
  isolation: isolate;
  padding: 0;
  min-height: min(78vh, 700px);
  min-height: min(78svh, 700px);
  min-height: min(78dvh, 700px);
  background: var(--navy-950);
}
.page-hero--photo::before {
  display: none; /* .page-hero__shade owns atmosphere */
}
.page-hero--photo .page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--photo .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--craft-object-x) var(--craft-object-y);
}
.page-hero--photo .page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      var(--atmosphere-navy-veil) 0%,
      rgba(4, 11, 20, 0.72) 42%,
      rgba(4, 11, 20, 0.45) 100%
    ),
    linear-gradient(0deg, rgba(4, 11, 20, 0.75) 0%, transparent 50%);
}
.page-hero--photo .container,
.page-hero--photo .page-hero__grid {
  position: relative;
  z-index: 2;
}
.page-hero--photo .page-hero__grid {
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(3rem, 6vh, 4.5rem);
}

/* Emergency + craft photo — urgent heat veil over install photography */
.page-hero--emergency.page-hero--photo {
  background: var(--navy-950);
}
.page-hero--emergency.page-hero--photo .page-hero__shade {
  background:
    linear-gradient(
      115deg,
      rgba(20, 8, 8, 0.94) 0%,
      rgba(10, 21, 36, 0.82) 45%,
      rgba(4, 11, 20, 0.55) 100%
    ),
    linear-gradient(0deg, rgba(4, 11, 20, 0.88) 0%, transparent 48%),
    radial-gradient(
      720px 400px at 78% 28%,
      var(--urgent-shade-a),
      transparent 58%
    ),
    radial-gradient(
      480px 280px at 30% 70%,
      var(--urgent-shade-c),
      transparent 55%
    );
}
.page-hero--emergency.page-hero--photo .page-hero__media img {
  object-position: 52% 40%;
  filter: saturate(0.92) contrast(1.06);
}

.emergency-call {
  position: relative;
  overflow: hidden;
}
.emergency-call::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(255, 255, 255, 0.18),
    transparent 45%
  );
  animation: heatPulse var(--motion-heat) var(--ease) infinite;
  pointer-events: none;
}
@keyframes heatPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}
.emergency-call a {
  position: relative;
  z-index: 1;
}
.emergency-call p {
  position: relative;
  z-index: 1;
}

/* Veteran offer elevation */
.offer-card--veteran {
  position: relative;
  background:
    radial-gradient(
      500px 240px at 100% 0%,
      rgba(224, 112, 32, 0.2),
      transparent 55%
    ),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--steel-100);
  border-color: rgba(224, 112, 32, 0.35);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.offer-card--veteran .offer-card__price {
  color: var(--orange-400);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.offer-card--veteran h3,
.offer-card--veteran li {
  color: var(--steel-100);
}
.offer-card--veteran .offer-card__note {
  color: var(--steel-300);
}
.offer-card--veteran::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(
    180deg,
    var(--honor-red),
    var(--honor-white),
    var(--navy-600)
  );
}
@media (max-width: 800px) {
  .offer-card--veteran {
    grid-template-columns: 1fr;
  }
}

/* Case / gallery proof stages */
.case-card {
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-card__media {
  position: relative;
}
.case-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.case-card:hover .case-card__media::after {
  transform: scaleX(1);
}
.gallery-item {
  position: relative;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(224, 112, 32, 0.5);
  transition: box-shadow 0.35s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after {
  box-shadow: inset 0 0 0 2px rgba(224, 112, 32, 0.55);
}

/* Section atmosphere */
.section--heat {
  background:
    radial-gradient(700px 360px at 90% 10%, var(--heat), transparent 55%),
    linear-gradient(180deg, #f7fafc, #eef3f8);
}
.section--navy {
  background:
    radial-gradient(
      800px 380px at 8% 0%,
      rgba(224, 112, 32, 0.14),
      transparent 55%
    ),
    linear-gradient(165deg, var(--navy-900), var(--navy-950));
}

/* CTA press micro-interaction */
.btn {
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn:active {
  transform: translateY(1px) scale(0.985);
}

/* Countdown pulse on featured */
.offer-card--featured .countdown,
.offer-card--veteran .countdown {
  animation: countdownGlow var(--motion-glow) var(--ease) infinite;
}
@keyframes countdownGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

/* Map pin focus */
[data-city].is-active {
  outline: 2px solid var(--orange-400);
  outline-offset: 3px;
}

/* Trust ribbon sits under quote beat cleanly */
.quote-beat + .container .trust-ribbon,
.quote-beat .trust-ribbon {
  margin-top: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.topbar {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-900));
}

/* Hard cap: never let trust badges explode layout */
img[src*="badge-"],
img[src*="nate"],
img[src*="veteran"],
img[src*="google-guarantee"],
img[src*="sdvosb"] {
  max-width: 140px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.badge-row img[src*="badge-"],
.badge-row img[src*="nate"],
.badge-row img[src*="veteran"],
.badge-row img[src*="google-guarantee"],
.badge-row img[src*="sdvosb"] {
  max-height: 44px;
  height: 44px;
}
.badge-row img.badge--tall[src*="badge-"],
.badge-row img.badge--tall[src*="nate"],
.badge-row img.badge--tall[src*="veteran"] {
  max-height: 52px;
  height: 52px;
}

/* Craft hero — install photography as primary plane */
.hero--craft .hero__media img {
  object-fit: cover;
  object-position: var(--craft-object-x) var(--craft-object-y);
}
.hero--craft .hero__shade {
  background:
    linear-gradient(
      108deg,
      rgba(4, 11, 20, 0.95) 0%,
      rgba(4, 11, 20, 0.82) 36%,
      rgba(4, 11, 20, 0.48) 66%,
      rgba(4, 11, 20, 0.68) 100%
    ),
    linear-gradient(0deg, var(--atmosphere-navy-veil) 0%, transparent 52%),
    radial-gradient(
      720px 380px at 72% 38%,
      rgba(224, 112, 32, 0.22),
      transparent 58%
    );
}

/* Media craft — mission/about photo plane utility */
.media-craft {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  isolation: isolate;
  background: var(--navy-900);
}
.media-craft img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: var(--craft-object-x) var(--craft-object-y);
  display: block;
}
.media-craft::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--honor-red),
    var(--honor-white),
    var(--navy-600)
  );
}
.owner-chapter__media.media-craft,
.owner-chapter__media.media-craft img {
  min-height: 360px;
}
.owner-chapter__media.media-craft::after {
  /* honor bar already on .media-craft; suppress duplicate from owner-chapter */
  height: 4px;
}

/* Mission chapter — flagship home weight + timeline stagger */
.mission-chapter .owner-chapter {
  align-items: start;
}
.mission-chapter .display--lg {
  max-width: 16ch;
}
.js .honor-timeline__item {
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.js .honor-timeline.is-in .honor-timeline__item,
.js .honor-timeline__item.is-in {
  opacity: 1;
  transform: none;
}
.js .honor-timeline.is-in .honor-timeline__item:nth-child(1) {
  transition-delay: 0.05s;
}
.js .honor-timeline.is-in .honor-timeline__item:nth-child(2) {
  transition-delay: 0.16s;
}
.js .honor-timeline.is-in .honor-timeline__item:nth-child(3) {
  transition-delay: 0.27s;
}
.js .honor-timeline.is-in .honor-timeline__item:nth-child(4) {
  transition-delay: 0.38s;
}
.js .honor-timeline.is-in .honor-timeline__item:nth-child(5) {
  transition-delay: 0.49s;
}
@media (prefers-reduced-motion: reduce) {
  .js .honor-timeline__item {
    opacity: 1 !important;
    transform: none !important;
  }
}
