/* ============== RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f1c2e;
  background: #fbfaf7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { list-style: none; }

:root {
  --green: #1a5d3a;        /* Meycauayan primary */
  --green-dark: #0e3d24;
  --green-deep: #082917;
  --gold: #d4a017;
  --gold-warm: #b8860b;
  --navy: #0a2e5c;         /* depth accent */
  --navy-dark: #061b3a;
  --cream: #fbfaf7;
  --paper: #ffffff;
  --ink: #0f1c2e;
  --ink-soft: #4a5568;
  --line: #e2e3df;
  --rust: #b8390e;
  --red-flag: #c92a4e;
  --teal: #0f7490;
  --maxw: 1180px;
  --radius: 14px;
  --shadow-sm: 0 2px 6px rgba(10, 46, 92, .06);
  --shadow-md: 0 12px 32px rgba(10, 46, 92, .10);
  --shadow-lg: 0 24px 64px rgba(10, 46, 92, .14);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.35rem; font-weight: 700; }

.kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  padding-bottom: 8px;
  position: relative;
}
.kicker::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--gold);
}
.kicker.light { color: var(--gold); }
.kicker.light::after { background: var(--gold); }

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin-top: 16px;
}

/* ============== NAVIGATION ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-seal { display: flex; align-items: center; }
.brand-seal img { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; font-weight: 700; color: var(--green); }
.brand-text em { font-size: .72rem; color: var(--ink-soft); font-style: normal; letter-spacing: .04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--green); }
.cta-btn {
  background: var(--green);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.cta-btn:hover { background: var(--green-dark); color: #fff !important; }

.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-warm) !important;
  background: rgba(212, 160, 23, .06);
  transition: all .2s ease;
}
.pdf-btn:hover {
  background: var(--gold);
  color: var(--green-dark) !important;
}
.pdf-btn svg { stroke-width: 2.4; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #e7b022;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212, 160, 23, .35);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.65) saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 41, 23, .88) 0%, rgba(14, 61, 36, .55) 45%, rgba(6, 27, 58, .85) 100%),
    radial-gradient(ellipse at top left, rgba(212, 160, 23, .18), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 28px 80px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-flag {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.hero h1 {
  color: #fff;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold) 0%, #f1c540 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.18rem;
  margin: 28px 0 40px;
  max-width: 640px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  max-width: 600px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stats span {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-top: 6px;
}

/* ============== SECTION COMMON ============== */
section { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-top: 12px; }

/* ============== ABOUT ============== */
.about { background: var(--paper); border-top: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.fact-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--line);
}
.fact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fact-figure {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--green);
}
.fact-card h3 {
  padding: 24px 24px 8px;
  color: var(--green);
}
.fact-card dl {
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  font-size: .92rem;
}
.fact-card dt {
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.fact-card dd { color: var(--ink); font-weight: 500; }

.brgy-list {
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: .9rem;
}
.brgy-list li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: var(--ink);
}
.brgy-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============== WHY NOW BAND ============== */
.why-now {
  background: linear-gradient(180deg, #f6f4ed 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}
.why-text h2 { margin: 12px 0 18px; color: var(--green-dark); }
.why-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}
.why-pillars {
  display: grid;
  gap: 18px;
}
.why-pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--paper);
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-pillar:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.why-ico {
  grid-row: span 2;
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-pillar strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  align-self: end;
}
.why-pillar p {
  font-size: .94rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ============== AI BAND ============== */
.ai-band {
  background: linear-gradient(180deg, var(--cream) 0%, #f1ede4 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}
.ai-band .section-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.ai-band .section-head .kicker { display: inline-block; }
.ai-band .section-head .kicker::after { left: 50%; transform: translateX(-50%); }
.ai-band .section-head .lede { margin-left: auto; margin-right: auto; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.ai-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ai-color, var(--green));
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ai-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ai-color, var(--green)) 12%, transparent);
  color: var(--ai-color, var(--green));
  margin-bottom: 18px;
}
.ai-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.ai-card p {
  font-size: .94rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.ai-footnote {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.8;
  padding: 24px 28px;
  background: rgba(212, 160, 23, .06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.ai-footnote strong { color: var(--green-dark); }

/* ============== SYSTEMS ============== */
.systems {
  background: linear-gradient(180deg, var(--cream) 0%, #f4f1ea 100%);
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.system-card {
  background: var(--paper);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.system-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
}
.system-card[data-color="#0a2e5c"]::before { background: #0a2e5c; }
.system-card[data-color="#1a5d3a"]::before { background: #1a5d3a; }
.system-card[data-color="#b8390e"]::before { background: #b8390e; }
.system-card[data-color="#5b2a86"]::before { background: #5b2a86; }
.system-card[data-color="#0f7490"]::before { background: #0f7490; }
.system-card[data-color="#a0522d"]::before { background: #a0522d; }
.system-card[data-color="#c92a4e"]::before { background: #c92a4e; }
.system-card[data-color="#185a4a"]::before { background: #185a4a; }
.system-card[data-color="#c47d00"]::before { background: #c47d00; }
.system-card[data-color="#2c5282"]::before { background: #2c5282; }
.system-card[data-color="#2c7873"]::before { background: #2c7873; }
.system-card[data-color="#7c3aed"]::before { background: #7c3aed; }

.system-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.sys-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(26, 93, 58, .08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.system-card[data-color="#0a2e5c"] .sys-icon { background: rgba(10,46,92,.10); color: #0a2e5c; }
.system-card[data-color="#1a5d3a"] .sys-icon { background: rgba(26,93,58,.10); color: #1a5d3a; }
.system-card[data-color="#b8390e"] .sys-icon { background: rgba(184,57,14,.10); color: #b8390e; }
.system-card[data-color="#5b2a86"] .sys-icon { background: rgba(91,42,134,.10); color: #5b2a86; }
.system-card[data-color="#0f7490"] .sys-icon { background: rgba(15,116,144,.10); color: #0f7490; }
.system-card[data-color="#a0522d"] .sys-icon { background: rgba(160,82,45,.12); color: #a0522d; }
.system-card[data-color="#c92a4e"] .sys-icon { background: rgba(201,42,78,.10); color: #c92a4e; }
.system-card[data-color="#185a4a"] .sys-icon { background: rgba(24,90,74,.10); color: #185a4a; }
.system-card[data-color="#c47d00"] .sys-icon { background: rgba(196,125,0,.12); color: #c47d00; }
.system-card[data-color="#2c5282"] .sys-icon { background: rgba(44,82,130,.10); color: #2c5282; }
.system-card[data-color="#2c7873"] .sys-icon { background: rgba(44,120,115,.10); color: #2c7873; }
.system-card[data-color="#7c3aed"] .sys-icon { background: rgba(124,58,237,.10); color: #7c3aed; }

.system-card.priority {
  box-shadow: 0 16px 36px rgba(212, 160, 23, .18);
  border-color: rgba(212, 160, 23, .45);
  border-width: 1.5px;
}
.system-card.priority:hover {
  box-shadow: 0 24px 56px rgba(212, 160, 23, .28);
}
.priority-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #d4a017 0%, #f1c540 100%);
  color: var(--green-dark);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 6px 14px rgba(212, 160, 23, .4);
  z-index: 2;
}
.priority-badge.accent-red {
  background: linear-gradient(135deg, #c92a4e 0%, #e54663 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(201, 42, 78, .4);
}
.priority-badge.accent-teal {
  background: linear-gradient(135deg, #0f7490 0%, #2a9ab8 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 116, 144, .4);
}
.priority-badge.accent-brown {
  background: linear-gradient(135deg, #a0522d 0%, #c47547 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(160, 82, 45, .4);
}

/* "Ready Today" indicator on supporting cards (smaller, softer than flagship badges) */
.ready-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(26, 93, 58, .10);
  color: var(--green);
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  border: 1px solid rgba(26, 93, 58, .25);
}
.ready-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(26, 93, 58, .55);
  animation: ready-pulse 2s infinite;
}
@keyframes ready-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26, 93, 58, .55); }
  70%  { box-shadow: 0 0 0 6px rgba(26, 93, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 93, 58, 0); }
}

/* "Peer-LGU Production" indicator — for systems live elsewhere but not yet pre-staged for Meycauayan */
.peer-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(74, 85, 104, .08);
  color: var(--ink-soft);
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  border: 1px solid rgba(74, 85, 104, .2);
}
.peer-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
}

/* ============== OTHER SYSTEMS (Broader Catalog) ============== */
.other-systems {
  background: linear-gradient(180deg, #f4f1ea 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  padding: 88px 0;
}
.other-systems .section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.other-systems .section-head .kicker { display: inline-block; }
.other-systems .section-head .kicker::after { left: 50%; transform: translateX(-50%); }
.other-systems .section-head .lede { margin-left: auto; margin-right: auto; }

.other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.other-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c, var(--green));
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.other-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.other-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c, var(--green)) 12%, transparent);
  color: var(--c, var(--green));
  margin-bottom: 14px;
}
.other-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.other-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c, var(--green));
  margin-bottom: 10px;
}
.other-desc {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.other-footnote {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 900px;
  margin: 0 auto;
}
.other-footnote a {
  color: var(--gold-warm);
  font-weight: 700;
}
.other-footnote a:hover { text-decoration: underline; }

.system-card h3 { color: var(--green); margin-bottom: 4px; }
.system-card[data-color="#c92a4e"] h3 { color: #c92a4e; }
.system-card[data-color="#0f7490"] h3 { color: #0f7490; }
.system-card[data-color="#5b2a86"] h3 { color: #5b2a86; }
.system-card[data-color="#c47d00"] h3 { color: #b8770b; }
.system-card[data-color="#b8390e"] h3 { color: #b8390e; }
.system-card[data-color="#0a2e5c"] h3 { color: #0a2e5c; }
.system-card[data-color="#a0522d"] h3 { color: #a0522d; }
.system-card[data-color="#185a4a"] h3 { color: #185a4a; }
.system-card[data-color="#7c3aed"] h3 { color: #7c3aed; }
.system-card[data-color="#2c5282"] h3 { color: #2c5282; }

.sys-tag {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.sys-desc {
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.65;
}
.sys-feat {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.sys-feat li {
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 6px 0 6px 22px;
  position: relative;
}
.sys-feat li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 2px;
  background: var(--gold);
}

/* ============== CITIZEN CALLOUT ============== */
.citizen-callout {
  background:
    linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 100%);
  color: #fff;
  padding: 80px 0;
}
.callout-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.callout-text h2 { color: #fff; margin: 12px 0 20px; }
.callout-text p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.75;
}
.callout-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.callout-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============== TRACK RECORD ============== */
.track { background: linear-gradient(180deg, #f4f1ea 0%, var(--cream) 100%); }
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.track-card {
  background: var(--paper);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.track-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border: none;
}
.track-card.featured.highlight {
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 16px 40px rgba(26, 93, 58, .25);
}
.track-card.featured h3 { color: #fff; }
.track-card.featured li { color: rgba(255, 255, 255, .88); }
.track-card.featured .track-meta { color: var(--gold); }
.track-card.featured em { color: rgba(255, 255, 255, .95); font-style: italic; }
.track-badge.accent {
  background: #ffd152;
  color: var(--green-dark);
}
.track-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.track-card h3 { color: var(--green); margin-bottom: 6px; }
.track-meta {
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.track-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: .92rem;
  line-height: 1.55;
}
.track-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 8px;
  color: var(--gold);
  font-weight: 700;
}
.track-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.track-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.track-image figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: 60px 24px 20px;
  font-size: .9rem;
  font-style: italic;
}

/* ============== NEXT STEPS ============== */
.next { background: var(--cream); }
.next-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 100%);
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.next-text { padding: 64px 56px; }
.next-text h2 { color: #fff; margin: 14px 0 22px; }
.next-text p {
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.75;
}
.next-steps-list {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
  padding-left: 4px;
}
.next-steps-list > div {
  color: rgba(255, 255, 255, .9);
  font-size: .98rem;
}
.next-steps-list strong { color: var(--gold); margin-right: 10px; }
.next-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.next-image { height: 100%; }
.next-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 480px;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, .65);
  padding: 40px 0;
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: #fff; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-meta a { color: var(--gold); }
.footer-meta a:hover { text-decoration: underline; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav-links a:not(.cta-btn):not(.pdf-btn) { display: none; }
  .callout-card,
  .next-card,
  .track-grid { grid-template-columns: 1fr; }
  .next-text { padding: 40px 32px; }
  .next-image img { min-height: 280px; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-stats { gap: 32px; }
  .hero-stats strong { font-size: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  section { padding: 64px 0; }
  .container, .nav-inner, .hero-content { padding-left: 20px; padding-right: 20px; }
  .hero-content { padding-top: 60px; padding-bottom: 60px; }
  .next-text { padding: 32px 24px; }
  .brand-text em { display: none; }
  .why-pillar { grid-template-columns: 1fr; gap: 10px; }
  .why-ico { grid-row: auto; }
}

/* ============== PRINT (PDF) ============== */
@page {
  size: Letter;
  margin: 0.55in 0.55in 0.5in 0.55in;
}

@media print {
  /* Universal — drop shadows, force exact colors */
  *, *::before, *::after {
    box-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    animation: none !important;
  }

  /* Page setup */
  html, body {
    background: #ffffff !important;
    color: var(--ink) !important;
    font-size: 10pt;
    line-height: 1.45;
  }
  .container { padding: 0 !important; max-width: 100% !important; }
  section { padding: 18pt 0 !important; }
  .section-head { margin-bottom: 18pt !important; }
  h1, h2, h3 { color: var(--green-dark) !important; }
  h2 { font-size: 18pt !important; }
  h3 { font-size: 12pt !important; }
  .lede { font-size: 10pt !important; margin-top: 8pt !important; }
  code {
    background: rgba(26, 93, 58, .07) !important;
    color: var(--green-dark) !important;
    font-size: 8.5pt;
  }

  /* Hide web chrome — nav, CTAs, download links */
  .nav, header.nav { display: none !important; }
  .hero-cta { display: none !important; }
  .callout-cta { display: none !important; }
  .next-cta { display: none !important; }
  .pdf-btn, .cta-btn { display: none !important; }
  .btn { display: none !important; }

  /* HERO — convert from dark hero to clean cover */
  .hero {
    min-height: auto !important;
    page-break-after: always;
    color: var(--ink) !important;
    background: #ffffff !important;
    border-bottom: 2pt solid var(--gold) !important;
    padding: 0 !important;
  }
  .hero-image, .hero-overlay { display: none !important; }
  .hero-content {
    position: static !important;
    padding: 36pt 0 24pt 0 !important;
  }
  .hero-eyebrow {
    background: rgba(26, 93, 58, .08) !important;
    border: 1pt solid var(--green) !important;
    color: var(--green-dark) !important;
    padding: 4pt 12pt !important;
    backdrop-filter: none !important;
    margin-bottom: 20pt !important;
  }
  .hero h1 {
    color: var(--green-dark) !important;
    text-shadow: none !important;
    font-size: 36pt !important;
    line-height: 1.1 !important;
    max-width: 100% !important;
  }
  .hero h1 .accent {
    color: var(--gold) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--gold) !important;
    background-clip: initial !important;
  }
  .hero-sub {
    color: var(--ink-soft) !important;
    font-size: 11pt !important;
    margin: 18pt 0 24pt !important;
  }
  .hero-stats {
    border-top: 1pt solid var(--line) !important;
    padding-top: 18pt !important;
    gap: 32pt !important;
  }
  .hero-stats strong {
    color: var(--green) !important;
    font-size: 26pt !important;
  }
  .hero-stats span {
    color: var(--ink-soft) !important;
    font-size: 8pt !important;
  }

  /* Sections — major breaks */
  .about, .why-now, .systems, .ai-band, .other-systems, .track, .next {
    page-break-before: auto;
    page-break-inside: auto;
  }
  .section-head { page-break-after: avoid; }

  /* Cards — never break across pages */
  .system-card, .fact-card, .track-card, .ai-card, .other-card, .why-pillar {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* Grids — tighter on print */
  .systems-grid { gap: 12pt !important; }
  .about-grid { gap: 14pt !important; }
  .ai-grid { gap: 10pt !important; }
  .other-grid { gap: 10pt !important; }
  .track-grid { gap: 12pt !important; margin-bottom: 24pt !important; }

  /* System cards — print sizing */
  .system-card {
    padding: 14pt 14pt !important;
    border: 1pt solid var(--line) !important;
    background: #ffffff !important;
  }
  .sys-icon { margin-bottom: 8pt !important; width: 36pt !important; height: 36pt !important; }
  .sys-tag { font-size: 7.5pt !important; margin-bottom: 6pt !important; }
  .sys-desc { font-size: 9pt !important; margin-bottom: 10pt !important; line-height: 1.4 !important; }
  .sys-feat { padding-top: 8pt !important; }
  .sys-feat li { font-size: 8pt !important; padding: 2pt 0 2pt 14pt !important; line-height: 1.35 !important; }
  .system-card h3 { font-size: 13pt !important; }

  /* Priority/ready/peer pills */
  .priority-badge { font-size: 6.5pt !important; padding: 3pt 8pt !important; }
  .ready-pill, .peer-pill { font-size: 6pt !important; padding: 3pt 8pt !important; }
  .ready-pill::before, .peer-pill::before { animation: none !important; }

  /* AI band cards */
  .ai-card { padding: 16pt !important; }
  .ai-ico { width: 36pt !important; height: 36pt !important; margin-bottom: 10pt !important; }
  .ai-card h3 { font-size: 11pt !important; margin-bottom: 6pt !important; }
  .ai-card p { font-size: 9pt !important; line-height: 1.4 !important; }
  .ai-footnote { font-size: 8pt !important; padding: 12pt 16pt !important; line-height: 1.5 !important; }

  /* Other systems cards */
  .other-card { padding: 14pt !important; }
  .other-ico { width: 30pt !important; height: 30pt !important; margin-bottom: 8pt !important; }
  .other-card h3 { font-size: 10.5pt !important; }
  .other-tag { font-size: 7pt !important; margin-bottom: 6pt !important; }
  .other-desc { font-size: 8.5pt !important; line-height: 1.4 !important; }
  .other-footnote { font-size: 8pt !important; padding: 12pt 16pt !important; }

  /* Fact cards — about page */
  .fact-figure { height: 100pt !important; }
  .fact-card { background: #ffffff !important; border: 1pt solid var(--line) !important; }
  .fact-card h3 { padding: 10pt 12pt 4pt !important; }
  .fact-card dl { padding: 0 12pt 12pt !important; font-size: 8.5pt !important; }
  .brgy-list { padding: 0 12pt 12pt !important; font-size: 8.5pt !important; }
  .brgy-list li { padding: 2pt 0 2pt 12pt !important; }

  /* Why-now pillars */
  .why-grid { gap: 24pt !important; }
  .why-text p { font-size: 9.5pt !important; }
  .why-pillar { padding: 12pt 14pt !important; }
  .why-pillar strong { font-size: 11pt !important; }
  .why-pillar p { font-size: 8.5pt !important; }
  .why-ico { width: 36pt !important; height: 36pt !important; }

  /* CITIZEN CALLOUT — lighten for print */
  .citizen-callout {
    background: var(--cream) !important;
    color: var(--ink) !important;
    border: 1pt solid var(--line) !important;
    padding: 24pt 0 !important;
    page-break-inside: avoid;
  }
  .citizen-callout h2 { color: var(--green-dark) !important; }
  .citizen-callout p { color: var(--ink) !important; }
  .citizen-callout .kicker.light { color: var(--gold-warm) !important; }
  .citizen-callout .kicker.light::after { background: var(--gold) !important; }
  .callout-card { gap: 24pt !important; }

  /* TRACK RECORD — lighten featured cards */
  .track-card {
    page-break-inside: avoid;
    padding: 14pt !important;
  }
  .track-card.featured {
    background: #ffffff !important;
    color: var(--ink) !important;
    border: 1.5pt solid var(--green) !important;
  }
  .track-card.featured.highlight {
    border-color: var(--green) !important;
  }
  .track-card.featured h3 { color: var(--green-dark) !important; }
  .track-card.featured li { color: var(--ink) !important; }
  .track-card.featured .track-meta { color: var(--gold-warm) !important; }
  .track-card.featured em { color: var(--ink) !important; }
  .track-card h3 { font-size: 13pt !important; }
  .track-card ul li { font-size: 9pt !important; padding: 3pt 0 3pt 14pt !important; }
  .track-card ul li::before { color: var(--gold-warm) !important; }
  .track-badge { font-size: 7pt !important; padding: 3pt 8pt !important; }
  .track-image { display: none !important; }

  /* NEXT STEPS — lighten card */
  .next-card {
    background: var(--cream) !important;
    color: var(--ink) !important;
    border: 1pt solid var(--line) !important;
    grid-template-columns: 1fr !important;
  }
  .next-text { padding: 24pt !important; }
  .next-text h2 { color: var(--green-dark) !important; }
  .next-text p { color: var(--ink) !important; }
  .next-text .kicker.light { color: var(--gold-warm) !important; }
  .next-text .kicker.light::after { background: var(--gold) !important; }
  .next-steps-list > div { color: var(--ink) !important; font-size: 9.5pt !important; }
  .next-steps-list strong { color: var(--green-dark) !important; }
  .next-image { display: none !important; }

  /* FOOTER */
  .footer {
    background: #ffffff !important;
    color: var(--ink-soft) !important;
    border-top: 1pt solid var(--line) !important;
    padding: 12pt 0 !important;
    font-size: 8pt !important;
  }
  .footer-brand strong { color: var(--green-dark) !important; }
  .footer-meta a { color: var(--gold-warm) !important; }

  /* Hide elements that don't add value in print */
  .next-image img { display: none !important; }
  figure.track-image { display: none !important; }

  /* Image quality */
  img { max-width: 100% !important; }
}
