/* ---------- Tokens ---------- */
:root {
  --brick: #D93621;
  --brick-dark: #B02818;
  --leaf: #38A460;
  --leaf-dark: #2A7C48;
  --potomac: #50AAE1;
  --potomac-dark: #2E86BD;
  --yellow: #FED01D;
  --pink: #F8DDE9;
  --gray-50: #F7F7F7;
  --gray-100: #F3F3F3;
  --gray-200: #E7E3E2;
  --gray-500: #6B6B6B;
  --ink: #1B1B1B;
  --white: #FFFFFF;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.125rem, 1.04rem + 0.4vw, 1.375rem);
  --step-2:  clamp(1.375rem, 1.22rem + 0.75vw, 1.875rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.85rem + 2vw, 3.5rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.06);

  --container: 1120px;
  --gutter: clamp(1rem, 3vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); }
a:hover { color: var(--brick-dark); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: var(--step-4); letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); letter-spacing: -0.015em; }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-weight: 700; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding: 0 0 0 1.2em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.section + .section { border-top: 1px solid var(--gray-200); }

/* Yellow underline accent on key h2s */
.section h2 {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.section-why .why-copy h2::after,
.section-asks h2::after,
.section-gains h2::after,
.section-timeline h2::after,
.section-team h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.1em;
  width: 56%;
  height: 0.32em;
  background: var(--yellow);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.85;
}

/* Card hover lift (used by .card globally) */
.card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.how-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.how-card:hover { transform: translateY(-3px) rotate(-0.4deg); }

@media (prefers-reduced-motion: reduce) {
  .card:hover, .how-card:hover { transform: none; }
}

.section-lede {
  font-size: var(--step-1);
  color: var(--gray-500);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.two-col {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 720px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}
.two-col-tight { gap: 2rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.brand-lockup {
  width: auto;
  height: clamp(40px, 6vw, 56px);
  display: block;
}

.site-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: clamp(0.75rem, 2vw, 1.5rem); align-items: center;
}
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--step--1);
}
.site-nav a:hover { color: var(--brick); }
.nav-cta {
  background: var(--brick); color: var(--white) !important;
  padding: 0.5rem 0.9rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--brick-dark); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--gray-200); border-radius: 999px;
  padding: 0.4rem 0.9rem; font: inherit; font-weight: 600; cursor: pointer;
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-block; }
  .site-nav ul {
    position: absolute; right: var(--gutter); top: calc(100% + 0.5rem);
    flex-direction: column; align-items: stretch;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 0.75rem; box-shadow: var(--shadow-md); min-width: 200px;
    display: none;
  }
  .site-nav.is-open ul { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-dark); color: var(--white); }
.btn-secondary { background: var(--leaf); color: var(--white); }
.btn-secondary:hover { background: var(--leaf-dark); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter) clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("/assets/img/hero.jpg") center/cover no-repeat;
  filter: saturate(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(15,15,15,0.78), rgba(217,54,33,0.55) 60%, rgba(80,170,225,0.5)),
    radial-gradient(circle at 80% 12%, rgba(254,208,29,0.35), transparent 38%),
    radial-gradient(circle at 8% 92%, rgba(248,221,233,0.28), transparent 42%);
}
.hero-blob {
  position: absolute; z-index: 2;
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
  animation: heroFloat 9s ease-in-out infinite;
}
.hero-blob-yellow {
  width: 160px; height: 160px;
  top: -40px; right: -40px;
  background: radial-gradient(circle at 35% 35%, var(--yellow), rgba(254,208,29,0));
  opacity: 0.85;
}
.hero-blob-pink {
  width: 120px; height: 120px;
  bottom: -30px; left: -20px;
  background: radial-gradient(circle at 35% 35%, var(--pink), rgba(248,221,233,0));
  opacity: 0.9;
  animation-delay: -4s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50%      { transform: translateY(14px) translateX(-10px) scale(1.04); }
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.hero-logo {
  width: clamp(180px, 22vw, 280px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35));
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  padding: 1rem 1.25rem;
}
.hero .lede {
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.25;
  max-width: 26ch;
  margin: 0 auto 2rem;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
.hero-squiggle {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4;
  width: 100%;
  height: clamp(24px, 4vw, 48px);
  display: block;
  pointer-events: none;
}
.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

/* CTA shine */
.btn-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: btnShine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%, 60%   { transform: translateX(-120%); }
  80%       { transform: translateX(120%); }
  100%      { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .btn-shine::after { animation: none; }
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card h3 { margin-bottom: 0.25rem; }
.card p { color: var(--gray-500); margin: 0; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem;
  background: var(--gray-100); color: var(--ink);
  margin-bottom: 0.25rem;
}
.card-accent-red    { border-top: 4px solid var(--brick); }
.card-accent-red    .card-icon { background: var(--brick); color: var(--white); }
.card-accent-green  { border-top: 4px solid var(--leaf); }
.card-accent-green  .card-icon { background: var(--leaf); color: var(--white); }
.card-accent-blue   { border-top: 4px solid var(--potomac); }
.card-accent-blue   .card-icon { background: var(--potomac); color: var(--white); }

.card-ask { gap: 0.75rem; }
.card-ask .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ---------- Section variants ---------- */
.section-callout {
  background: var(--gray-100);
}
.section-callout h2 { color: var(--brick); }
.bullets { padding-left: 1.2em; }
.bullets li { margin-bottom: 0.5em; }
.bullets-tight li { margin-bottom: 0.35em; }

/* Why NextGen SW (slide 3) */
.section-why {
  display: grid;
  background-color: var(--white);
  padding: 0;
  position: relative;
}
.section-why > .container {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  z-index: 2;
  padding-top: clamp(3rem, 14vw, 10rem);
  padding-bottom: 0;
}
.why-copy {
  max-width: 70%;
  margin-bottom: 0;
}
.why-image {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  pointer-events: none;
}
@media (max-width: 719px) {
  .section-why { display: block; }
  .section-why > .container { padding-top: clamp(2.5rem, 6vw, 4rem); }
  .why-copy { max-width: 100%; }
  .why-image { margin-top: 1rem; }
}
.why-copy h2 { color: var(--ink); margin-bottom: 0.6rem; }
.why-subhead {
  color: var(--potomac-dark);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 1.25rem;
  max-width: 36ch;
}
.why-bullets {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
  font-size: var(--step-0);
}
.why-bullets li { margin-bottom: 0.55em; }

/* Pathway */
.pathway { list-style: none; padding: 0; counter-reset: pathway; max-width: 720px; }
.pathway li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px dashed var(--gray-200);
}
.pathway li:last-child { border-bottom: none; }
.pathway-step {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-200); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.pathway-step-final { background: var(--brick); color: var(--white); }
.pathway h4 { margin: 0.3rem 0 0.25rem; }
.pathway p  { margin: 0; color: var(--gray-500); font-size: var(--step--1); }

/* Legacy */
.section-legacy {
  background: var(--gray-50);
}
.legacy-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%),
    url("/assets/img/photos/mock-wedding-n-street-sw.jpg") center/cover no-repeat;
  isolation: isolate;
}
.legacy-frame {
  position: absolute; inset: 0; z-index: 1;
  text-align: center; padding: 1.5rem;
  font-weight: 800; color: var(--white); line-height: 1.15;
  display: flex; flex-direction: column; gap: 0.25em;
  align-items: center; justify-content: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.legacy-line { display: inline-block; }
.legacy-line-1 {
  font-size: var(--step-2);
}
.legacy-line-2 {
  font-size: var(--step-3);
  color: var(--yellow);
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center;
  animation: legacyGrow 3s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
@keyframes legacyGrow {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .legacy-line-2 { animation: none; transform: none; opacity: 1; }
}

.legacy-attribution {
  position: absolute; right: 0.5rem; bottom: 0.5rem; z-index: 2;
  font-size: 0.72rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.legacy-visual:hover .legacy-attribution,
.legacy-visual:focus-within .legacy-attribution {
  opacity: 1;
  pointer-events: auto;
}
.legacy-attribution a {
  display: inline-block;
  background: rgba(0,0,0,0.65);
  color: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.legacy-attribution a:hover { background: rgba(0,0,0,0.85); }
.legacy-attribution a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* How it works (photo + ticker) */
.section-how {
  position: relative;
  padding: 0;
  min-height: clamp(420px, 70vh, 640px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.how-photo {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05) 50%, rgba(0,0,0,0) 66%),
    url("/assets/img/photos/pexels-ketut-subiyanto-4559604.jpg") center/cover no-repeat;
}
.how-title {
  position: relative; z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}
.how-title h2 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.how-band {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: 33%;
  background: rgba(217, 54, 33, 0.30); /* primary hue at 30% */
  backdrop-filter: blur(1px);
  display: flex; align-items: center;
  border-top: 2px solid rgba(255,255,255,0.25);
  overflow: hidden;
}
.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0 1rem;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.how-card {
  flex: 0 0 auto;
  width: max-content;
  max-width: 320px;
  padding: 0.85rem 1.1rem;
  gap: 0.2rem;
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  border: 3px solid var(--brick);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.how-card h3 {
  color: var(--ink);
  margin: 0;
  font-size: var(--step-0);
}
.how-card p {
  color: var(--gray-500);
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Timeline (vertical, marker + content + when) */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  position: relative;
}
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  align-items: start;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brick);
  color: var(--white);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(217,54,33,0.32);
  position: relative;
  line-height: 1;
}
.timeline-marker .tm-month {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.timeline-marker .tm-year {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
  margin-top: 0.15rem;
}
.timeline-item:nth-child(2) .timeline-marker { background: #E58A2C; box-shadow: 0 6px 18px rgba(229,138,44,0.32); }
.timeline-item:nth-child(3) .timeline-marker { background: var(--leaf); box-shadow: 0 6px 18px rgba(56,164,96,0.32); }
.timeline-item:nth-child(4) .timeline-marker { background: var(--potomac); box-shadow: 0 6px 18px rgba(80,170,225,0.32); }
.timeline-item:nth-child(5) .timeline-marker { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(254,208,29,0.40); }
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 72px;
  left: 36px;
  transform: translateX(-50%);
  width: 4px;
  bottom: calc(-1 * clamp(1.5rem, 4vw, 2.5rem));
  background: linear-gradient(var(--brick), #E58A2C, var(--leaf), var(--potomac), var(--yellow));
  z-index: 1;
  border-radius: 2px;
}
.timeline-content {
  padding-top: 0.65rem;
}
.timeline-content h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: var(--step-1);
  font-weight: 700;
}
.timeline-content p {
  margin: 0;
  color: var(--gray-500);
  font-size: var(--step-0);
  line-height: 1.55;
}
.timeline-when-col {
  padding-top: 0.85rem;
  text-align: right;
}
.timeline-when {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--potomac-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gray-100);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 64px 1fr; }
  .timeline-marker { width: 64px; height: 64px; }
  .timeline-marker .tm-month { font-size: 0.95rem; }
  .timeline-marker .tm-year { font-size: 0.65rem; }
  .timeline-item:not(:last-child)::after { top: 64px; left: 32px; }
  .timeline-when-col {
    grid-column: 2;
    padding-top: 0;
    margin-top: -0.25rem;
    text-align: left;
  }
}

/* Team */
.team-card { text-align: center; align-items: center; }
.team-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  object-fit: cover;
}
.team-photo-placeholder {
  background: linear-gradient(135deg, var(--brick), var(--leaf));
  color: var(--white);
  font-weight: 800; font-size: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Building together */
.section-building {
  position: relative;
  background:
    linear-gradient(180deg, var(--gray-50), var(--white));
  overflow: hidden;
}
.section-building::before,
.section-building::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  pointer-events: none;
}
.section-building::before {
  background: var(--pink);
  top: 12%; left: 6%;
  box-shadow:
    60px 40px 0 -2px var(--yellow),
    140px -20px 0 -3px var(--potomac),
    220px 50px 0 -4px var(--pink);
}
.section-building::after {
  background: var(--leaf);
  bottom: 14%; right: 8%;
  box-shadow:
    -50px -30px 0 -2px var(--yellow),
    -130px 30px 0 -4px var(--pink),
    -200px -10px 0 -3px var(--potomac);
}
.building-callout {
  position: relative;
  border: 2px solid var(--yellow);
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.building-callout h2 { color: var(--brick); }

/* Squiggle dividers */
.squiggle-divider {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.squiggle-divider svg {
  width: 100%;
  height: clamp(48px, 7vw, 96px);
  display: block;
}
.squiggle-divider-yellow { background: var(--white); border-top-color: transparent; }
.squiggle-divider-pink   { background: var(--gray-50);  border-top-color: transparent; }

/* Stat punctuation */
.section-stat {
  position: relative;
  background:
    radial-gradient(circle at 12% 30%, rgba(254,208,29,0.15), transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(248,221,233,0.4), transparent 45%),
    var(--white);
  text-align: center;
  overflow: hidden;
}
.stat-block {
  display: inline-block;
  position: relative;
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.stat-block .stat-prefix,
.stat-block .stat-value {
  display: inline-block;
  font-size: clamp(3.75rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--brick);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-block .stat-prefix {
  font-size: clamp(2.25rem, 8vw, 5rem);
  vertical-align: top;
  margin-top: 0.4em;
  color: var(--leaf);
}
.stat-caption {
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--ink);
  margin: 0.75rem 0 0.4rem;
}
.stat-caption strong { color: var(--brick); }
.stat-sub {
  font-size: var(--step-0);
  color: var(--gray-500);
  max-width: 52ch;
  margin: 0 auto;
}
.stat-block.is-counted .stat-value {
  animation: statPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes statPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-block.is-counted .stat-value { animation: none; }
}

/* Three asks */
.section-asks {
  background: var(--gray-50);
}

/* Learn more / video */
.section-learn h2 { margin-bottom: 1.5rem; }
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 560px;
  background: var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 1.5rem;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
/* Resource buttons (open modal) */
.resource-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
@media (min-width: 720px) {
  .resource-buttons { grid-template-columns: 1fr 1fr; }
}
.resource-btn {
  display: flex; align-items: center; gap: 0.85rem;
  text-align: left;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 2px solid var(--brick);
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
  color: var(--ink);
}
.resource-btn:hover { background: var(--brick); color: var(--white); }
.resource-btn:hover .resource-btn-label span { color: rgba(255,255,255,0.85); }
.resource-btn:active { transform: translateY(1px); }
.resource-btn-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brick);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
}
.resource-btn:hover .resource-btn-icon { background: var(--white); color: var(--brick); }
.resource-btn-label { display: flex; flex-direction: column; gap: 0.1rem; }
.resource-btn-label strong { font-size: var(--step-0); font-weight: 700; }
.resource-btn-label span { font-size: var(--step--1); color: var(--gray-500); }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0.5rem, 2vw, 2rem);
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 2rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.18s ease-out;
}
.modal-dialog-wide { max-width: 1080px; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.modal-header h3 { margin: 0; font-size: var(--step-0); }
.modal-actions { display: flex; align-items: center; gap: 0.5rem; }
.modal-action {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--brick);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--brick);
}
.modal-action:hover { background: var(--brick); color: var(--white); }
.modal-close {
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
}
.modal-close:hover { color: var(--ink); background: var(--gray-100); }
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.modal-body-iframe {
  background: var(--gray-100);
  position: relative;
  aspect-ratio: 16/10;
  display: flex;
}
.modal-body-iframe iframe {
  border: 0;
  width: 100%;
  height: 100%;
  flex: 1;
}
.modal-dialog:not(.modal-dialog-wide) .modal-body-iframe { aspect-ratio: 8.5/11; }

body.modal-open { overflow: hidden; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-weight: 600;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,0.03) 12px, rgba(0,0,0,0.03) 24px),
    var(--gray-100);
}
.resource-links {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.5rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .resource-links { grid-template-columns: repeat(2, 1fr); } }
.resource-links a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.resource-links a:hover { border-color: var(--brick); color: var(--brick); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2rem 0;
  background: var(--ink);
  color: var(--gray-100);
  font-size: var(--step--1);
}
.site-footer p { margin: 0.25rem 0; }
.footer-meta { color: #B5B5B5; }
.footer-credits {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #8A8A8A;
  line-height: 1.5;
}
.footer-credits a { color: #B5B5B5; text-decoration: underline; }
.footer-credits a:hover { color: var(--white); }

/* ---------- A11y / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
:focus-visible {
  outline: 3px solid var(--potomac);
  outline-offset: 2px;
  border-radius: 4px;
}
