/* =====================================================
   APPALACHIAN CLEAN ENERGY — COMPONENTS
   Nav, Hero, Cards, Buttons, Process, FAQ, Footer
   ===================================================== */

/* ── Hero headline & section headlines: Playfair Display serif ── */
.hero__headline,
.section-headline,
.investors__headline {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Enable Playfair italic on the hero em — gives editorial warmth */
.hero__headline em {
  font-style: italic;
}
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 56px;
  z-index: 1000;
  transition:
    background var(--t-2) var(--ease-out),
    backdrop-filter var(--t-2) var(--ease-out),
    border-color var(--t-2) var(--ease-out),
    box-shadow var(--t-2) var(--ease-out);
  border-bottom: 0.5px solid transparent;
}

.nav--scrolled {
  background: var(--mat-chrome);
  backdrop-filter: var(--blur-regular);
  -webkit-backdrop-filter: var(--blur-regular);
  border-color: var(--separator);
  box-shadow: var(--shadow-1);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-inline: clamp(var(--sp-4), 4vw, var(--sp-10));
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--label-primary);
  text-decoration: none;
  transition: opacity var(--t-1) var(--ease-out);
}

.nav__logo:hover { opacity: 0.75; }

/* Real logo image */
.nav__logo-img {
  height: 30px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  background: rgba(255,255,255,0.92);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--t-2) var(--ease-out), box-shadow var(--t-2) var(--ease-out);
}

.nav--scrolled .nav__logo-img {
  background: transparent;
  padding: 0;
}

.nav__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.016em;
  color: rgba(255,255,255,0.70);
  transition:
    background var(--t-1) var(--ease-out),
    color var(--t-1) var(--ease-out);
}

.nav--scrolled .nav__link {
  color: var(--label-secondary);
}

.nav__link:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
}

.nav--scrolled .nav__link:hover {
  background: var(--fill-tertiary);
  color: var(--label-primary);
}

.nav__link.is-active {
  color: var(--accent);
}

.nav__cta {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-5);
  background: var(--accent);
  color: white;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.016em;
  transition:
    transform var(--t-0) var(--spring-snap),
    box-shadow var(--t-1) var(--ease-out),
    background var(--t-1) var(--ease-out),
    opacity var(--t-1) var(--ease-out);
  box-shadow: 0 1px 3px var(--accent-ring);
}

.nav__cta:hover  { transform: scale(1.03); box-shadow: var(--shadow-3); background: var(--accent-light); }
.nav__cta:active { transform: scale(0.97); box-shadow: var(--shadow-1); }

/* hamburger */
.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  flex-direction: column;
  gap: 5px;
  transition: background var(--t-1) var(--ease-out);
}
.nav__hamburger:hover { background: var(--fill-tertiary); }

.nav__bar {
  width: 20px;
  height: 2px;
  background: var(--label-primary);
  border-radius: 1px;
  transition:
    transform var(--t-2) var(--spring-gentle),
    opacity var(--t-1) var(--ease-out),
    width var(--t-2) var(--ease-out);
}

.nav__hamburger[aria-expanded="true"] .nav__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] .nav__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.nav__drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-3) var(--ease-out);
}

.nav__drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-primary);
  box-shadow: var(--shadow-5);
  display: flex;
  flex-direction: column;
  padding: var(--sp-20) var(--sp-6) var(--sp-8);
  gap: var(--sp-2);
  transform: translateX(100%);
  transition: transform var(--t-3) var(--ease-expo);
}

.nav__drawer.is-open {
  pointer-events: all;
}

.nav__drawer.is-open .nav__drawer-backdrop {
  opacity: 1;
}

.nav__drawer.is-open .nav__drawer-panel {
  transform: translateX(0);
}

.nav__drawer-link {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--label-primary);
  transition: background var(--t-1) var(--ease-out);
}

.nav__drawer-link:hover { background: var(--fill-tertiary); }

.nav__drawer-cta {
  margin-top: var(--sp-4);
  display: block;
  text-align: center;
  padding: var(--sp-4) var(--sp-6);
  background: var(--accent);
  color: white;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1.0625rem;
}

@media (max-width: 860px) {
  .nav__links   { display: none; }
  .nav__cta     { display: none; }
  .nav__hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════
   HERO — full-bleed cinematic background
══════════════════════════════════════════════════════ */
.hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--sp-24), 12vw, var(--sp-32));
  padding-top: calc(clamp(var(--sp-20), 12vw, var(--sp-24)) + 64px);
  background: #05130c;      /* fallback behind the photo */
  --px: 0;                  /* pointer x, -0.5 … 0.5 */
  --py: 0;                  /* pointer y, -0.5 … 0.5 */
}

/* ── Full-bleed background photo ─────────────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  inset: -4%;               /* over-bleed so parallax never shows an edge */
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: 70% 50%; /* keep the rig framed on the right */
  scale: 1.06;
  transform: translate(calc(var(--px) * -16px), calc(var(--py) * -12px));
  transition: transform 0.6s var(--ease-out);
  will-change: transform, scale;
  animation: hero-kenburns 30s var(--ease-inout) infinite alternate;
}

/* left-weighted scrim: deep on the left for headline legibility,
   fading to reveal the rig on the right */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(3,12,8,0.95) 0%,
      rgba(4,14,9,0.82) 28%,
      rgba(4,14,9,0.45) 58%,
      rgba(4,14,9,0.12) 100%),
    linear-gradient(0deg, rgba(3,12,8,0.88) 0%, transparent 34%),
    radial-gradient(90% 70% at 8% 42%, rgba(10,110,60,0.30) 0%, transparent 62%);
}

/* fine film grain over the whole hero */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* mountain silhouette handing off to the white section below */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 120px;
  background: var(--bg-primary);
  clip-path: polygon(0 100%, 0 80%, 5% 65%, 12% 55%, 20% 62%, 28% 45%, 36% 30%, 42% 45%, 50% 20%, 58% 40%, 65% 28%, 72% 38%, 80% 50%, 88% 42%, 95% 58%, 100% 70%, 100% 100%);
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-img { animation: none; }
}

/* ── Content layer ───────────────────────────────────── */
.hero__inner {
  position: relative;
  z-index: 4;
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.hero__content {
  position: relative;
  text-align: left;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(10, 110, 60, 0.18);
  border: 1px solid rgba(10, 110, 60, 0.30);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5dce90;
  margin-bottom: var(--sp-6);
  animation: blur-lift-in var(--t-5) var(--ease-expo) both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5dce90;
  animation: pulse-ring 2s ease-out infinite;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: var(--sp-6);
  animation: blur-lift-in var(--t-5) var(--ease-expo) var(--t-1) both;
}

.hero__headline em {
  font-style: italic;
  background: linear-gradient(135deg, #5dce90 0%, #38b870 40%, #a8e6c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subhead {
  font-size: clamp(1.0625rem, 1.5vw + 0.6rem, 1.375rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  margin-inline: 0;
  margin-bottom: var(--sp-10);
  animation: blur-lift-in var(--t-5) var(--ease-expo) 200ms both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-16);
  animation: fade-up var(--t-4) var(--ease-expo) 300ms both;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  align-items: start;
  gap: var(--sp-4) clamp(var(--sp-6), 3vw, var(--sp-10));
  animation: fade-in var(--t-4) var(--ease-out) 500ms both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

.hero__stat-divider { display: none; }

.hero__scroll-cue {
  position: absolute;
  bottom: 132px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.35);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-cue 2.2s var(--ease-inout) 1.5s infinite;
}

@media (max-width: 960px) {
  .hero__scroll-cue { display: none; }  /* would collide with the stacked stats */
}

/* ── Hero mobile layout (placed after all hero base rules so it wins) ── */
@media (max-width: 960px) {
  .hero {
    align-content: start;                       /* top-align: flow from the nav down */
    padding-top: calc(var(--sp-12) + 64px);     /* clear the taller mobile nav */
    padding-bottom: calc(var(--sp-16) + 72px);  /* clear the fixed FAB + tab bar */
  }
  .hero__content { text-align: center; margin-inline: auto; }
  .hero__badge   { margin-bottom: var(--sp-4); }
  .hero__headline {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    margin-bottom: var(--sp-3);
  }
  .hero__subhead {
    font-size: 0.9375rem;
    line-height: 1.45;
    margin-inline: auto;
    margin-bottom: var(--sp-4);
  }
  .hero__actions {
    justify-content: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
  }
  .hero__actions .btn { padding: var(--sp-2) var(--sp-6); font-size: 1rem; }
  .hero__stats {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: var(--sp-3) var(--sp-10);
  }
  .hero__stat       { align-items: center; }
  .hero__stat-value { font-size: 1.2rem; }
  .hero__stat-label { font-size: 0.6875rem; }
}

@media (max-width: 560px) {
  .hero__badge { display: none; }              /* reclaim vertical space on small phones */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   HERO — floating glass annotations over the photo
══════════════════════════════════════════════════════ */
/* The annotations layer spans the centered content container,
   so chips anchored to its right edge stay safely inside the
   viewport and never collide with the nav or copy. */
.hero__annotations {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero__annotations { display: none; }  /* photo speaks for itself on mobile */
}

/* floating glass callout chips */
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,0.74);
  backdrop-filter: var(--blur-regular);
  -webkit-backdrop-filter: var(--blur-regular);
  border: 0.5px solid rgba(255,255,255,0.65);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 34px -10px rgba(0,0,0,0.55);
  color: var(--label-primary);
  white-space: nowrap;
  --pk: 24;   /* parallax strength (depth) */
  --sc: 0.6;  /* entrance scale */
  --op: 0;    /* entrance opacity */
  opacity: var(--op);
  transform:
    translate(calc(var(--px) * var(--pk) * 1px), calc(var(--py) * var(--pk) * 0.72px))
    scale(var(--sc));
  transition:
    transform 0.6s var(--spring-gentle),
    opacity 0.5s var(--ease-out);
  will-change: transform;
}

.hero__chip svg { color: var(--accent); flex-shrink: 0; }
.hero__chip strong {
  display: block;
  font-weight: 650;
  font-size: 0.8125rem;
  letter-spacing: -0.012em;
  color: var(--label-primary);
}
.hero__chip span {
  display: block;
  font-size: 0.6875rem;
  color: var(--label-secondary);
  margin-top: 1px;
}
.hero__chip-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* anchored to the right half, inside the safe container */
.hero__chip--rig   { top: 15%; right: 1%;  --pk: 32; }
.hero__chip--value { top: 43%; right: 16%; --pk: 26; }
.hero__chip--basin { top: 71%; right: 5%;  --pk: 20; }

/* explode-in: chips settle to full scale + opacity, staggered */
.hero.is-exploded .hero__chip { --sc: 1; --op: 1; }
.hero.is-exploded .hero__chip--rig   { transition-delay: 0.15s; }
.hero.is-exploded .hero__chip--value { transition-delay: 0.28s; }
.hero.is-exploded .hero__chip--basin { transition-delay: 0.41s; }

@media (prefers-reduced-motion: reduce) {
  .hero__chip { transform: scale(var(--sc)) !important; }
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-7);
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-0) var(--spring-snap),
    box-shadow var(--t-1) var(--ease-out),
    background var(--t-1) var(--ease-out),
    color var(--t-1) var(--ease-out),
    border-color var(--t-1) var(--ease-out);
}

.btn:hover  { transform: scale(1.02); }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 3px var(--accent-ring), 0 4px 12px var(--accent-ring);
}
.btn--primary:hover { background: var(--accent-light); box-shadow: var(--shadow-3); }

.btn--hero-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  padding: var(--sp-4) var(--sp-8);
  font-size: 1.0625rem;
  box-shadow: 0 4px 20px rgba(10, 110, 60, 0.40);
}
.btn--hero-primary:hover {
  box-shadow: 0 8px 30px rgba(10, 110, 60, 0.50);
}

.btn--hero-secondary {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
  border: 1.5px solid rgba(255,255,255,0.20);
  padding: var(--sp-4) var(--sp-8);
  font-size: 1.0625rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

.btn--secondary {
  background: var(--fill-secondary);
  color: var(--label-primary);
}
.btn--secondary:hover { background: var(--fill-primary); }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--ghost:hover {
  background: var(--accent-pale);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: 1.0625rem;
}

.btn--icon {
  padding: var(--sp-3);
  border-radius: var(--r-md);
}

/* ══════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════ */
.card {
  background: var(--bg-tertiary);
  border-radius: var(--r-lg);
  border: 0.5px solid var(--separator);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition:
    transform var(--t-2) var(--ease-expo),
    box-shadow var(--t-2) var(--ease-expo);
}

.card:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: var(--shadow-4);
}

/* Feature card */
.feature-card {
  padding: var(--sp-8);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--accent-pale);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-5);
  color: var(--accent);
  flex-shrink: 0;
  transition:
    background var(--t-2) var(--ease-expo),
    color var(--t-2) var(--ease-expo),
    transform var(--t-2) var(--ease-expo),
    box-shadow var(--t-2) var(--ease-expo);
}

/* On card hover: fill icon with brand gradient, turn icon white, lift slightly */
.card.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  transform: scale(1.08);
  box-shadow: 0 6px 18px var(--accent-ring);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: var(--sp-2);
  color: var(--label-primary);
}

.feature-card__body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--label-secondary);
}

/* Area card */
.area-card {
  padding: var(--sp-6) var(--sp-7);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.area-card__pin {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 12px var(--accent-ring);
}

.area-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.016em;
}

.area-card__sub {
  font-size: 0.875rem;
  color: var(--label-secondary);
  line-height: 1.45;
}

/* ─────────────────────────────────────────────────────
   COVERAGE MAP — interactive tri-state territory map
   ───────────────────────────────────────────────────── */
.coverage {
  margin-top: var(--sp-10);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}

/* ── Map canvas ── */
.coverage__map {
  position: relative;
  border-radius: var(--r-2xl);
  border: 0.5px solid var(--separator);
  background:
    radial-gradient(130% 110% at 30% -10%, rgba(10, 110, 60, 0.10), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(18, 136, 90, 0.08), transparent 50%),
    linear-gradient(170deg, var(--bg-tertiary), var(--bg-secondary));
  box-shadow: var(--shadow-3);
  overflow: hidden;
  padding: clamp(var(--sp-5), 4vw, var(--sp-8));
  display: grid;
  place-items: center;
  min-height: 380px;
}

/* soft grid texture, like an Apple Maps grid */
.coverage__map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--separator) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--separator) 0.5px, transparent 0.5px);
  background-size: 44px 44px;
  opacity: 0.12;
  mask-image: radial-gradient(120% 100% at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}

/* aspect-locked stage holds the SVG landmasses + the HTML pin overlay
   in one box so pins can be positioned by percentage of the viewBox */
.coverage__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 192 / 147;
}
.coverage__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── State landmasses ── */
.map-state {
  fill: rgba(10, 110, 60, 0.08);
  stroke: rgba(10, 110, 60, 0.28);
  stroke-width: 1;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.10));
  transition:
    fill var(--t-2) var(--ease-out),
    stroke var(--t-2) var(--ease-out);
}
.map-state.is-active {
  fill: rgba(10, 110, 60, 0.18);
  stroke: var(--accent);
}

/* ── State labels (HTML overlay) ── */
.map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(0.5rem, 1.3vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-tertiary);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* ── Region pins (HTML overlay, positioned by % of viewBox) ── */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 2;
}
.map-pin.is-active { z-index: 5; }

/* soft coverage glow behind the dot */
.map-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%) scale(0.5);
  border-radius: var(--r-pill);
  background: radial-gradient(circle, var(--accent-ring), transparent 68%);
  opacity: 0.5;
  pointer-events: none;
  transition:
    transform var(--t-3) var(--ease-expo),
    opacity var(--t-3) var(--ease-out);
}
.map-pin:hover::before,
.map-pin:focus-visible::before,
.map-pin.is-active::before { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.map-pin__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: var(--r-pill);
  border: 1.5px solid var(--accent);
  pointer-events: none;
  animation: pin-pulse 2.8s var(--ease-out) infinite;
}

.map-pin__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  background: linear-gradient(150deg, var(--accent-light), var(--accent));
  border: 2.5px solid #fff;
  box-shadow: 0 3px 10px rgba(10, 110, 60, 0.45), var(--shadow-2);
  color: #fff;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 0.8125rem;
  display: grid;
  place-items: center;
  transition: transform var(--t-2) var(--ease-expo);
}
.map-pin:hover .map-pin__dot,
.map-pin:focus-visible .map-pin__dot,
.map-pin.is-active .map-pin__dot { transform: translate(-50%, -50%) scale(1.28); }

.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible .map-pin__dot {
  box-shadow: 0 0 0 4px var(--accent-ring), 0 3px 10px rgba(10, 110, 60, 0.45);
}

/* glass tooltip riding above the dot */
.map-pin__tip {
  position: absolute;
  left: 50%;
  bottom: calc(50% + 22px);
  transform: translateX(-50%) translateY(4px) scale(0.94);
  transform-origin: bottom center;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bg-tertiary) 80%, transparent);
  -webkit-backdrop-filter: var(--blur-regular);
  backdrop-filter: var(--blur-regular);
  border: 0.5px solid var(--separator);
  box-shadow: var(--shadow-3);
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--label-primary);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition:
    opacity var(--t-2) var(--ease-out),
    transform var(--t-2) var(--ease-expo);
}
.map-pin:hover .map-pin__tip,
.map-pin:focus-visible .map-pin__tip,
.map-pin.is-active .map-pin__tip { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

@media (prefers-color-scheme: dark) {
  .map-state { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)); }
  .map-pin__dot { border-color: var(--bg-secondary); }
}

/* ── Side panel: region legend ── */
.coverage__panel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.coverage__panel-head {
  font-family: var(--font-rounded);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--label-tertiary);
  padding: 0 var(--sp-4) var(--sp-2);
}

.region-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  border: 0.5px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    background var(--t-2) var(--ease-out),
    border-color var(--t-2) var(--ease-out),
    transform var(--t-1) var(--ease-expo);
}
.region-item:hover { background: var(--fill-quaternary); }
.region-item.is-active {
  background: var(--accent-pale);
  border-color: var(--accent-ring);
}
.region-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.region-item__badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--fill-tertiary);
  color: var(--label-secondary);
  display: grid;
  place-items: center;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 0.8125rem;
  transition: background var(--t-2) var(--ease-out), color var(--t-2) var(--ease-out);
}
.region-item.is-active .region-item__badge,
.region-item:hover .region-item__badge {
  background: var(--accent);
  color: #fff;
}

.region-item__name {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--label-primary);
  margin-bottom: 2px;
}
.region-item__counties {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--label-secondary);
}

/* CTA row at the base of the legend */
.region-item--cta {
  margin-top: var(--sp-2);
  background: var(--accent-pale);
  border-color: var(--accent-ring);
}
.region-item--cta .region-item__badge { background: var(--accent); color: #fff; }
.region-item--cta .region-item__name { color: var(--accent); }

@media (max-width: 900px) {
  .coverage { grid-template-columns: 1fr; gap: var(--sp-5); }
  .coverage__map { min-height: 300px; }
}

/* Stat card */
.stat-card {
  padding: var(--sp-8);
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--bg-tertiary);
  border: 0.5px solid var(--separator);
  box-shadow: var(--shadow-2);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-card__label {
  font-size: 0.9375rem;
  color: var(--label-secondary);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: center;
}

.about__image-wrap {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-4);
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pale) 0%, transparent 60%);
}

.about__graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__graphic-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d4020 0%, #1a5a30 40%, #0d3a5a 100%);
  display: grid;
  place-items: center;
}

.about__badge {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  z-index: 2;
  background: var(--mat-thick);
  backdrop-filter: var(--blur-regular);
  -webkit-backdrop-filter: var(--blur-regular);
  border: 0.5px solid var(--separator);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-3);
}

.about__badge-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--label-primary);
}

.about__badge-sub {
  font-size: 0.75rem;
  color: var(--label-secondary);
  margin-top: 2px;
}

.about__checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.about__check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--label-secondary);
}

.about__check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__image-wrap { display: none; }
}

/* ══════════════════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  position: relative;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
  padding: var(--sp-7) var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--bg-tertiary);
  border: 0.5px solid var(--separator);
  box-shadow: var(--shadow-2);
  overflow: visible; /* allows connector pseudo-element to bridge to next card */
  transition:
    transform var(--t-2) var(--ease-expo),
    box-shadow var(--t-2) var(--ease-expo);
}

/* Timeline connector: horizontal line bridging the gap to the next card */
.process-step:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  /* vertically centre on the step number (40px tall, offset by top padding) */
  top: calc(var(--sp-7) + 20px);
  left: 100%;
  width: var(--sp-6);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-ring) 0%, transparent 100%);
  border-radius: 1px;
  z-index: 1;
  pointer-events: none;
}

/* On mobile (single column) hide the connectors */
@media (max-width: 768px) {
  .process-step:not(:nth-child(3n))::after { display: none; }
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-4);
}

.process-step__number {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
  box-shadow: 0 4px 10px var(--accent-ring);
}

.process-step__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.process-step__body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--label-secondary);
}

.process-step__free-tag {
  display: inline-flex;
  align-items: center;
  margin-top: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  counter-reset: step;
}

/* ══════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.faq-item {
  background: var(--bg-tertiary);
  border: 0.5px solid var(--separator);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-2) var(--ease-out);
}

.faq-item:hover {
  box-shadow: var(--shadow-2);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  color: var(--label-primary);
  letter-spacing: -0.016em;
  cursor: pointer;
  transition: background var(--t-1) var(--ease-out);
}

.faq-trigger:hover { background: var(--fill-quaternary); }

.faq-trigger[aria-expanded="true"] { color: var(--accent); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--label-tertiary);
  transition: transform var(--t-2) var(--spring-gentle), color var(--t-1) var(--ease-out);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-body-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--label-secondary);
}

/* ══════════════════════════════════════════════════════
   INVESTORS SECTION
══════════════════════════════════════════════════════ */
.investors {
  background: linear-gradient(135deg, #040f08 0%, #071a10 50%, #050e14 100%);
  position: relative;
  overflow: hidden;
}

.investors::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(10, 110, 60, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.investors::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: 10%;
  background: radial-gradient(circle, rgba(26, 50, 100, 0.20) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.investors__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-32));
}

.investors__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 110, 60, 0.9);
  margin-bottom: var(--sp-4);
}

.investors__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: var(--sp-5);
  max-width: 18ch;
  margin-inline: auto;
}

.investors__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.55);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  line-height: 1.55;
}

.investors__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-8) clamp(var(--sp-12), 12vw, var(--sp-24));
  background: rgba(10, 110, 60, 0.08);
  border: 1px solid rgba(10, 110, 60, 0.18);
  border-radius: var(--r-2xl);
  margin-bottom: var(--sp-8);
  width: fit-content;
  margin-inline: auto;
}

.investors__amount-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #5dce90 0%, #38b870 40%, #a8e6c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.investors__amount-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(160deg, #040f08 0%, #071a10 55%, #060c14 100%);
  border-top: none;
  padding-block: var(--sp-16) var(--sp-10);
  /* Scope dark-mode tokens so all existing child selectors work on dark bg */
  --label-primary:    rgba(255,255,255,0.90);
  --label-secondary:  rgba(255,255,255,0.55);
  --label-tertiary:   rgba(255,255,255,0.28);
  --separator:        rgba(255,255,255,0.10);
  --fill-tertiary:    rgba(255,255,255,0.06);
  --accent:           #1cb865;   /* brighter green reads better on dark */
}

/* Give the footer logo a subtle frosted bg so it stays legible on dark */
.footer__logo-img {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  padding: 4px 10px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--label-primary);
}

/* Footer logo image — see the .footer rule above for the definitive styling */
.footer__logo-img-legacy { display: none; }

.footer__logo-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--label-secondary);
  line-height: 1.55;
  max-width: 28ch;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--label-secondary);
  transition: color var(--t-1) var(--ease-out);
}

.footer__contact-item:hover { color: var(--accent); }

.footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--label-tertiary);
  margin-bottom: var(--sp-4);
}

.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--label-secondary);
  transition:
    color var(--t-1) var(--ease-out),
    transform var(--t-1) var(--ease-out);
  display: inline-flex;
  width: fit-content;
}

.footer__link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 0.5px solid var(--separator);
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--label-tertiary);
}

.footer__phone-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  transition: opacity var(--t-1) var(--ease-out);
}
.footer__phone-link:hover { opacity: 0.75; }

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   MOBILE BOTTOM TAB BAR
══════════════════════════════════════════════════════ */
.tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--mat-regular);
  backdrop-filter: var(--blur-regular);
  -webkit-backdrop-filter: var(--blur-regular);
  border-top: 0.5px solid var(--separator);
  z-index: 998;
}

.tab-bar__inner {
  height: 56px;
  display: flex;
  align-items: stretch;
}

.tab-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--label-tertiary);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-top: var(--sp-2);
  transition: color var(--t-1) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.tab-bar__item.is-active { color: var(--accent); }

.tab-bar__item.is-active .tab-bar__icon {
  animation: tab-pop var(--t-2) var(--spring-bounce) both;
}

@media (max-width: 768px) {
  .tab-bar { display: flex; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ══════════════════════════════════════════════════════
   INPUT
══════════════════════════════════════════════════════ */
.input-wrap {
  position: relative;
  width: 100%;
}

.input-field {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  padding-top: var(--sp-5);
  background: var(--fill-quaternary);
  border: 1.5px solid var(--separator);
  border-radius: var(--r-md);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--label-primary);
  outline: none;
  transition:
    border-color var(--t-1) var(--ease-out),
    background var(--t-1) var(--ease-out),
    box-shadow var(--t-1) var(--ease-out);
}

.input-field:focus {
  border-color: var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.input-label {
  position: absolute;
  left: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--label-tertiary);
  pointer-events: none;
  transition:
    top var(--t-2) var(--spring-gentle),
    font-size var(--t-2) var(--spring-gentle),
    color var(--t-1) var(--ease-out);
}

.input-field:focus ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label {
  top: var(--sp-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.input-field:focus ~ .input-label {
  color: var(--accent);
}
