/* ============================================================
   DeFlock Denton: shared site styles
   Fonts: Barlow Condensed (headlines), Source Sans 3 (body), DM Sans (nav only)
   Photos live in /photos; see photos/README.txt for file names.
   ============================================================ */

:root {
  --green-deep: #0a3a22;
  --green-dark: #005c2b;
  --green: #00853e;
  --green-bright: #1fae5b;
  --green-pop: #8be8ac;
  --cream: #ffffff;
  --paper: #ffffff;
  --ink: #101a14;
  --muted: #425248;
  --dim: #7a8a80;
  --rule: rgba(16,26,20,0.16);
  --line: rgba(16,26,20,0.14);

  /* legacy names still used by nav + counter */
  --text: #101a14;
  --text-muted: #425248;
  --text-dim: #7a8a80;
  --grad-accent: linear-gradient(135deg, #003d1c, #00a84f);
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  padding-top: 68px;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.content { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ─── NAV (unchanged from before) ───────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: rgba(240,247,243,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0,133,62,0.1);
  box-shadow: 0 1px 32px rgba(0,133,62,0.06);
  animation: nav-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes nav-slide-in { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
nav.scrolled { background: rgba(240,247,243,0.97); box-shadow: 0 4px 40px rgba(0,133,62,0.12); border-bottom-color: rgba(0,133,62,0.18); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-mark img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fff !important;
  background: var(--grad-accent); padding: 9px 22px; border-radius: 8px;
  text-decoration: none; transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 10001; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 9990;
  background: rgba(240,247,243,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 24px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { font-family: 'DM Serif Display', serif; font-size: clamp(20px, 7vw, 30px); font-weight: 400; white-space: nowrap; color: var(--text); text-decoration: none; text-align: center; transition: color 0.2s; }
.nav-mobile-menu a:hover { color: var(--green); }
.nav-mobile-menu .nav-cta { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; margin-top: 8px; }

/* ─── TYPE ──────────────────────────────────────── */
.display, h1, h2, h3.display {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 0.98;
}
h2 { font-size: clamp(36px, 5vw, 60px); color: var(--ink); margin-bottom: 18px; }
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.lead { font-size: 19px; color: var(--muted); max-width: 640px; line-height: 1.6; margin-bottom: 28px; }
.link { color: var(--green-dark); font-weight: 600; text-underline-offset: 3px; }

/* ─── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 15px 30px; border-radius: 2px; border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-bright); color: #fff; }
.btn-primary:hover { background: var(--green); }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-outline:hover { background: #fff; color: var(--green-deep); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── PHOTOS (placeholders until real images are added) ─── */
.photo {
  position: relative; overflow: hidden; margin: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(160deg, #0f4a2c, #07281a);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo figcaption {
  position: absolute; left: 20px; bottom: 16px; z-index: 0;
  font-family: var(--display); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ─── HERO ──────────────────────────────────────── */
.hero { position: relative; color: #fff; display: flex; align-items: flex-end; min-height: clamp(520px, 80vh, 760px); isolation: isolate; }
.hero > .photo { position: absolute; inset: 0; z-index: -2; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,38,22,0.92) 0%, rgba(5,38,22,0.7) 48%, rgba(5,38,22,0.25) 100%),
    linear-gradient(0deg, rgba(5,38,22,0.7) 0%, rgba(5,38,22,0) 45%);
}
.hero-inner { width: 100%; max-width: 1160px; margin: 0 auto; padding: 72px 32px 56px; }
.hero h1 { font-size: clamp(60px, 10.5vw, 148px); line-height: 0.9; color: #fff; margin-bottom: 32px; max-width: 12ch; }
.hero h1 .pop { color: var(--green-pop); }
.hero h1 s { text-decoration-thickness: 0.07em; text-decoration-color: rgba(255,255,255,0.7); }
.hero--page { min-height: 360px; }
.hero--page .hero-inner { padding: 64px 32px 48px; }
.hero--page h1 { font-size: clamp(48px, 7.5vw, 104px); max-width: 16ch; margin-bottom: 28px; }

/* ─── STAT BAR ──────────────────────────────────── */
.statbar { background: var(--green-deep); color: #fff; }
.statbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 28px 28px 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,0.18); }
.stat:last-child { border-right: none; margin-right: 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 6.4vw, 88px); line-height: 0.95; letter-spacing: -0.01em; }
.stat-hot .stat-num { color: var(--green-pop); }
.stat-label { margin-top: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.82); line-height: 1.35; }
.statbar-note { padding: 0 0 22px; font-size: 14px; color: rgba(255,255,255,0.7); max-width: 760px; }
.statbar-note a { color: #fff; text-underline-offset: 3px; }

/* ─── BANDS ─────────────────────────────────────── */
.band { padding: 80px 0; }
.band--white { background: var(--paper); }
.band--cream { background: var(--cream); }
.band--green { background: var(--green-deep); color: #fff; }
.band--green h2, .band--green h3 { color: #fff; }
.band--green .eyebrow { color: var(--green-pop); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink h2 { color: #fff; }
.band--tight { padding: 56px 0; }

.map-embed-wrap { position: relative; width: 100%; aspect-ratio: 16 / 8; border: 2px solid var(--ink); border-radius: 2px; overflow: hidden; background: #dfe7e2; }
.map-embed-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-cover { position: absolute; inset: 0; z-index: 10; cursor: pointer; background: transparent; border: 0; }
.map-cover::after { content: 'Click to interact'; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: var(--green-deep); color: #fff; font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; padding: 6px 14px; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.map-embed-wrap:hover .map-cover::after { opacity: 1; }
.map-cover.removed { display: none; }
.map-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.map-note a, .map-sub a { color: var(--green-dark); font-weight: 600; text-underline-offset: 3px; }
.map-sub { font-size: 17px; color: var(--muted); max-width: 660px; margin-bottom: 24px; }

/* split photo + text */
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: var(--paper); border: 2px solid var(--ink); }
.split .photo { min-height: 340px; }
.split-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split-body h2 { margin-bottom: 14px; }
.split-body p { color: var(--muted); font-size: 18px; margin-bottom: 26px; max-width: 460px; }

/* full-width photo strip */
.photo-strip { height: clamp(220px, 32vw, 400px); }

/* closing ask */
.closing { background: var(--green-deep); color: #fff; padding: 84px 0; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.closing h2 { color: #fff; font-size: clamp(44px, 7vw, 96px); line-height: 0.92; margin: 0; max-width: 11ch; }

/* ─── HOW IT WORKS ──────────────────────────────── */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step-chip { background: var(--paper); border: 2px solid var(--ink); border-top: 8px solid var(--green); padding: 22px 24px 26px; display: block; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 0.9; color: var(--green); margin-bottom: 12px; }
.step-body h3 { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 25px; letter-spacing: 0.01em; line-height: 1.05; margin-bottom: 6px; }
.step-body p { font-size: 16px; color: var(--muted); line-height: 1.5; }

.info-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.info-chip { border: 2px solid rgba(255,255,255,0.35); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.info-chip strong { font-family: var(--display); text-transform: uppercase; font-size: 24px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.05; color: #fff; }
.info-chip span { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.band--white .info-chip, .band--cream .info-chip { border-color: var(--ink); background: var(--paper); }
.band--white .info-chip strong, .band--cream .info-chip strong { color: var(--ink); }
.band--white .info-chip span, .band--cream .info-chip span { color: var(--muted); }
.info-chips--2 { grid-template-columns: repeat(2, 1fr); }

.callout { margin-top: 32px; padding: 6px 0 6px 22px; border-left: 8px solid var(--green-bright); font-size: 19px; line-height: 1.5; max-width: 820px; color: var(--muted); }
.callout strong { color: var(--ink); }
.band--green .callout, .band--ink .callout { color: rgba(255,255,255,0.85); border-left-color: var(--green-pop); }
.band--green .callout strong, .band--ink .callout strong { color: #fff; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 3px solid var(--ink); }
.stat-cell { padding: 24px 28px 8px 0; margin-right: 28px; border-right: 1px solid var(--rule); }
.stat-cell:last-child { border-right: none; margin-right: 0; }
.stat-cell-num { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: 0.95; text-transform: uppercase; color: var(--ink); }
.stat-cell:nth-child(2) .stat-cell-num { color: var(--green); }
.stat-cell-label { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.stat-cell p { margin-top: 6px; font-size: 16px; color: var(--muted); }

.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 36px 0 36px; }
.why-point { border-top: 3px solid var(--green-pop); padding-top: 16px; }
.why-point strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: 26px; font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 8px; }
.why-point span { color: rgba(255,255,255,0.78); font-size: 16px; line-height: 1.55; }
.band--ink h2.why-title { max-width: 18ch; font-size: clamp(40px, 6vw, 80px); line-height: 0.95; }
.band--ink p.why-lede { font-size: 20px; color: rgba(255,255,255,0.85); max-width: 720px; margin-top: 8px; }

/* ─── TAKE ACTION ───────────────────────────────── */
.section-sub { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.example-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; align-items: start; margin-top: 8px; }
.example-group { border-top: 3px solid var(--ink); background: none; }
details.example-group summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 0; position: relative; }
details.example-group summary::-webkit-details-marker { display: none; }
details.example-group summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-family: var(--display); font-size: 44px; font-weight: 500; line-height: 1; color: var(--green); }
details.example-group[open] summary::after { content: '−'; }
.example-group h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 30px; line-height: 1.02; letter-spacing: 0.005em; }
.example-group-note { display: block; margin-top: 6px; font-size: 16px; color: var(--muted); }
.example-list { padding: 0 0 22px; }
.example-item { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16.5px; line-height: 1.58; color: var(--muted); }
.example-item strong { color: var(--ink); }

.council-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.council-card { background: var(--paper); color: var(--ink); text-align: center; padding: 24px 16px 22px; border-top: 8px solid var(--green-bright); display: flex; flex-direction: column; align-items: center; }
.council-avatar { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: #cfd9d3; margin-bottom: 14px; }
.council-avatar img { width: 100%; height: 100%; object-fit: cover; }
.council-name { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 24px; line-height: 1.05; }
.council-role { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-dark); margin: 6px 0 16px; }
.council-contact { margin-top: auto; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 16px; text-decoration: none; padding: 8px 20px; border: 2px solid var(--ink); color: var(--ink); }
.council-contact:hover { background: var(--ink); color: #fff; }
.council-meta { margin-top: 24px; font-size: 15px; color: rgba(255,255,255,0.78); text-align: center; }
.council-meta a { color: #fff; font-weight: 600; }
.district { margin: 44px 0 8px; }
.district h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 32px; margin-bottom: 6px; color: #fff; }
.district p { color: rgba(255,255,255,0.8); margin-bottom: 18px; }
.district .map-embed-wrap { aspect-ratio: 16 / 9; border-color: #fff; }
.district-src { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.7); text-align: center; }
.district-src a { color: #fff; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.action-card { background: transparent; border: 2px solid rgba(255,255,255,0.4); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.action-card h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 28px; line-height: 1.02; margin-bottom: 8px; color: #fff; }
.action-card p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 18px; }
.action-card a { margin-top: auto; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 17px; text-decoration: none; background: #fff; color: var(--green-deep); padding: 10px 18px; border-radius: 2px; }
.action-card a:hover { background: var(--green-pop); }

/* ─── RESOURCES ─────────────────────────────────── */
.resource-group { margin-bottom: 56px; }
.resource-group-title { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 34px; letter-spacing: 0.01em; color: var(--ink); padding-bottom: 10px; border-bottom: 3px solid var(--ink); margin-bottom: 18px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.resource-card { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--green); padding: 16px 18px; text-decoration: none; transition: transform 0.15s, background 0.15s; }
.resource-card:hover { transform: translateY(-3px); background: #f8fffa; }
.resource-text { flex: 1; min-width: 0; }
.resource-title { font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--ink); margin-bottom: 3px; }
.resource-source { font-size: 14px; color: var(--dim); }
.resource-arrow { font-size: 22px; color: var(--green); flex-shrink: 0; }
details.resource-group { background: var(--green-deep); color: #fff; padding: 26px 28px; }
details.resource-group > summary { list-style: none; cursor: pointer; position: relative; padding-right: 56px; }
details.resource-group > summary::-webkit-details-marker { display: none; }
details.resource-group > summary::after { content: '+'; position: absolute; right: 0; top: -6px; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--green-pop); }
details.resource-group[open] > summary::after { content: '−'; }
details.resource-group summary.resource-group-title { color: #fff; border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.resource-summary-note { display: block; font-family: var(--body); text-transform: none; font-weight: 400; font-size: 17px; letter-spacing: 0; color: rgba(255,255,255,0.8); margin-top: 4px; }
details.resource-group .resource-grid { margin-top: 24px; }
details.resource-group .resource-card { border-color: #fff; }

/* ─── FOOTER ────────────────────────────────────── */
footer { background: var(--paper); border-top: 3px solid var(--ink); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 36px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand img { height: 48px; width: auto; }
.footer-note { font-size: 14px; color: var(--dim); text-align: right; line-height: 1.6; }
.footer-note a { color: var(--dim); font-size: 13px; text-decoration: none; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 960px) {
  .step-grid, .info-chips, .why-points, .action-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .council-grid { grid-template-columns: repeat(2, 1fr); }
  .statbar-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; margin-right: 0; padding: 22px 16px 20px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { padding-top: 60px; font-size: 16.5px; }
  nav { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .wrap, .hero-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 520px; }
  .hero-inner { padding-top: 56px; padding-bottom: 36px; }
  .hero--page { min-height: 320px; }
  .band { padding: 52px 0; }
  .band--tight { padding: 40px 0; }
  .step-grid, .info-chips, .info-chips--2, .why-points, .action-grid, .resource-grid, .example-stack { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; margin-right: 0; border-bottom: 1px solid var(--rule); padding: 18px 0; }
  .stat-cell:last-child { border-bottom: none; }
  .split-body { padding: 32px 22px; }
  .closing { padding: 56px 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .map-embed-wrap { aspect-ratio: 3 / 4; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}
@media (max-width: 480px) {
  .council-grid { grid-template-columns: 1fr; }
}

.band--green .section-sub, .band--ink .section-sub { color: rgba(255,255,255,0.85); }
.photo-strip .photo { height: 100%; }

/* ─── HOME TILES ────────────────────────────────── */
.tiles-band { padding: 48px 0 56px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--green-deep); border: 2px solid var(--ink); }
.tile > .photo { position: absolute; inset: 0; z-index: -2; transition: transform 0.4s ease; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,38,22,0.92) 0%, rgba(5,38,22,0.55) 45%, rgba(5,38,22,0.05) 100%); }
a.tile:hover > .photo { transform: scale(1.05); }
.tile-body { padding: 22px 22px 22px; width: 100%; }
.tile-kicker { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-pop); margin-bottom: 8px; }
.tile h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 34px; line-height: 0.98; color: #fff; margin-bottom: 14px; }
.tile-arrow { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--green-bright); padding-bottom: 2px; }
.tile--counter { background: var(--green-deep); align-items: center; }
.tile--counter::before { display: none; }
.tile--counter .tile-body { padding: 26px 24px; }
.tile-num { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 5.4vw, 84px); line-height: 0.95; color: #fff; margin: 4px 0 6px; word-break: break-all; }
.tile-sub { font-size: 16px; color: rgba(255,255,255,0.78); margin-bottom: 18px; }
.tile-src { font-size: 14px; color: var(--green-pop); text-underline-offset: 3px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }
.tile .photo figcaption { display: none; }

/* tiles: larger, 2 x 2 */
.tiles { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile { aspect-ratio: 16 / 10; }
.tile-body { padding: 32px 36px; }
.tile h3 { font-size: clamp(40px, 4.6vw, 60px); margin-bottom: 18px; }
.tile-kicker { font-size: 17px; }
.tile-arrow { font-size: 19px; }
.tile--counter .tile-body { padding: 32px 36px; }
.tile-num { font-size: clamp(72px, 9vw, 128px); margin: 6px 0 8px; }
.tile-sub { font-size: 19px; }
.tile-src { font-size: 16px; }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } .tile-body, .tile--counter .tile-body { padding: 24px; } }
.tile--counter { align-items: flex-end; }

/* tiles: full-bleed, borderless, big */
.tiles-band { padding: 0; }
.tiles-band .wrap { max-width: none; padding: 0; }
.tiles { gap: 0; }
.tile { border: 0; aspect-ratio: 4 / 3; }
.tile-body, .tile--counter .tile-body { padding: clamp(28px, 4vw, 56px); }
.tile h3 { font-size: clamp(44px, 5.6vw, 84px); }
.tile-kicker { font-size: 18px; }
.tile-num { font-size: clamp(88px, 12vw, 180px); }
.tile--counter { background: var(--green); }
@media (max-width: 640px) { .tile { aspect-ratio: 1 / 1; } }

/* tiles: one row of three */
.tiles { grid-template-columns: repeat(3, 1fr); }
.tile { aspect-ratio: 5 / 4; }
.tile h3 { font-size: clamp(34px, 3.6vw, 54px); }
.tile-num { font-size: clamp(64px, 7.5vw, 112px); }
.tile-sub { font-size: 17px; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .tile { aspect-ratio: 4 / 3; } }

.tile--counter::before { display: block; background: linear-gradient(0deg, rgba(0,92,43,0.92) 0%, rgba(0,92,43,0.72) 55%, rgba(0,92,43,0.6) 100%); }
.why-title { font-size: clamp(38px, 4.4vw, 60px); max-width: 24ch; }
.why-lede { max-width: 56ch; }

.why-band { border-top: 2px solid var(--ink); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-band .why-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1; max-width: 16ch; color: var(--ink); margin: 0 0 16px; }
.why-band .why-lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 0 24px; }
.why-band .why-points { display: flex; flex-direction: column; gap: 0; margin: 0; }
.why-band .why-point { border-top: 0; border-left: 4px solid var(--green); padding: 4px 0 4px 20px; margin-bottom: 22px; }
.why-band .why-point strong { color: var(--ink); font-size: 22px; margin-bottom: 4px; }
.why-band .why-point span { color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

/* how-it-works redesign */
html { scroll-behavior: smooth; }
#steps, #stored, #access, #kept, #why { scroll-margin-top: 130px; }
.toc { position: sticky; top: 64px; z-index: 50; background: #fff; border-bottom: 2px solid var(--ink); }
.toc-in { display: flex; gap: 6px; overflow-x: auto; padding-top: 0; padding-bottom: 0; }
.toc a { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 16px 18px; white-space: nowrap; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.toc a:hover { color: var(--green); border-bottom-color: var(--green); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before { content: ''; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 4px; background: var(--green); opacity: 0.25; }
.tl-step { position: relative; display: flex; gap: 28px; padding-bottom: 34px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num { flex: 0 0 66px; height: 66px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--display); font-weight: 800; font-size: 38px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.tl-step:last-child .tl-num { background: var(--ink); }
.tl-body { padding-top: 6px; }
.tl-body h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1; margin: 0 0 6px; color: var(--ink); }
.tl-body p { font-size: 18px; color: var(--muted); margin: 0; max-width: 52ch; }
.record-wrap { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin: 36px 0 28px; }
.record { background: #fff; color: var(--ink); border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); transform: rotate(-1.5deg); overflow: hidden; }
.record-top { display: flex; justify-content: space-between; background: var(--ink); color: var(--green-pop); font-family: var(--display); font-weight: 700; letter-spacing: 0.14em; font-size: 14px; padding: 10px 16px; }
.record-photo { height: 150px; background: repeating-linear-gradient(135deg, #cfd8d2 0 10px, #dfe6e1 10px 20px); display: flex; align-items: flex-end; padding: 8px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #5c6a62; }
.record-plate { margin: 16px; border: 3px solid var(--ink); border-radius: 4px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: 0.08em; padding: 4px 0; }
.record-plate small { font-size: 18px; color: var(--green); }
.record-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 0 16px 18px; font-size: 14px; }
.record-fields b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--green); }
.record-key { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.record-key li { border-left: 4px solid var(--green-pop); padding-left: 14px; }
.record-key strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: 22px; font-weight: 700; color: #fff; line-height: 1.05; }
.record-key span { color: rgba(255,255,255,0.78); font-size: 15px; }
@media (max-width: 800px) { .record-wrap { grid-template-columns: 1fr; } .record-key { grid-template-columns: 1fr; } .timeline::before { left: 25px; } .tl-num { flex-basis: 54px; height: 54px; font-size: 30px; } .tl-step { gap: 18px; } }
.record-photo { position: relative; overflow: hidden; }
.record-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.record-photo span { position: relative; background: rgba(16,26,20,0.75); color: #fff; padding: 3px 8px; }
.record-photo { height: 190px; }
.record-photo img { object-position: center 60%; }
.why-band.band--green { border-top: 0; }
.why-band.band--green .why-title { color: #fff; }
.why-band.band--green .why-lede { color: rgba(255,255,255,0.85); }
.why-band.band--green .why-point { border-left-color: var(--green-pop); }
.why-band.band--green .why-point strong { color: #fff; }
.why-band.band--green .why-point span { color: rgba(255,255,255,0.8); }
.action-card { background: #fff; border-color: #fff; }
.action-card h3 { color: var(--ink); }
.action-card p { color: var(--muted); }
.action-card a { background: var(--green); color: #fff; }
.action-card a:hover { background: var(--green-bright); }

/* donate */
.nav-links a.nav-donate { color: var(--green); font-weight: 600; border: 1.5px solid var(--green); border-radius: 8px; padding: 7px 14px; }
.nav-links a.nav-donate:hover { background: var(--green); color: #fff; }
.donate-band { background: var(--green); color: #fff; padding: 22px 0; border-top: 2px solid var(--ink); }
.donate-band-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.donate-band p { margin: 0; font-size: 19px; }
.donate-band .btn-primary { background: #fff; color: var(--green-deep); }
.donate-band .btn-primary:hover { background: var(--green-pop); }
.donate-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.donate-copy h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 14px; }
.donate-note { font-size: 15px; color: var(--muted); }
.donate-card { border: 2px solid var(--ink); border-top: 8px solid var(--green); padding: 28px; background: #fff; }
.donate-card h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: 30px; margin: 0 0 16px; }
.amt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.amt-grid button { font-family: var(--display); font-weight: 800; font-size: 28px; padding: 14px 0; background: #fff; border: 2px solid var(--ink); color: var(--ink); cursor: pointer; }
.amt-grid button:hover { border-color: var(--green); color: var(--green); }
.amt-grid button.on { background: var(--green); border-color: var(--green); color: #fff; }
.donate-go { display: block; text-align: center; width: 100%; }
.donate-go.disabled { opacity: 0.7; }
.donate-fine { font-size: 14px; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (max-width: 800px) { .donate-wrap { grid-template-columns: 1fr; } }

.donate-float { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 900; width: min(880px, calc(100% - 32px)); display: flex; align-items: center; gap: 18px; background: var(--green); color: #fff; padding: 14px 54px 14px 22px; border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,0.3); transition: opacity 0.3s, transform 0.3s; }
.donate-float.hide { opacity: 0; transform: translate(-50%, 20px); }
.donate-float p { margin: 0; font-size: 17px; flex: 1; line-height: 1.35; }
.donate-float .btn { background: #fff; color: var(--green-deep); white-space: nowrap; padding: 10px 18px; }
.donate-float .btn:hover { background: var(--green-pop); }
.donate-x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; }
.donate-x:hover { background: rgba(255,255,255,0.18); }
@media (max-width: 640px) { .donate-float { flex-wrap: wrap; gap: 10px; padding: 14px 48px 14px 16px; bottom: 12px; } .donate-float p { flex-basis: 100%; font-size: 15px; } }
.amt-grid { grid-template-columns: repeat(3, 1fr); }
.donate-fine--top { text-align: left; margin: 0 0 18px; font-size: 16px; }
.donate-go { font-size: 22px; padding: 18px 20px; }

/* press */
.press-band { background: #fff; border-top: 2px solid var(--ink); padding: 44px 0; }
.press-in { display: grid; grid-template-columns: auto 1fr; gap: 20px clamp(24px, 5vw, 64px); align-items: center; }
.press-kicker { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.press-link { display: block; text-decoration: none; color: var(--ink); border-left: 4px solid var(--green); padding-left: 22px; }
.press-pub { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.press-head { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1.02; }
.press-meta { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.press-link:hover .press-head { color: var(--green); }
@media (max-width: 700px) { .press-in { grid-template-columns: 1fr; } }

/* ===== mobile polish ===== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
@media (max-width: 960px) {
  .nav-hamburger { width: 44px; height: 44px; }
  .nav-mobile-menu a { padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 640px) {
  .btn, .btn-row .btn { min-height: 48px; }
  .btn { white-space: normal; }
  .btn-row { gap: 12px; }
  /* floating donate ask: slim single row */
  .donate-float { flex-wrap: nowrap; align-items: center; gap: 10px; padding: 10px 40px 10px 14px; bottom: 10px; border-radius: 12px; }
  .donate-float p { flex: 1 1 auto; flex-basis: auto; font-size: 13.5px; line-height: 1.25; }
  .donate-float p strong { display: none; }
  .donate-float .btn { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; font-size: 15px; }
  .donate-x { right: 4px; width: 36px; height: 36px; }
  /* inner-page floating counter: smaller, out of the way */
  .sticky-counter { right: 10px !important; bottom: 10px !important; min-width: 0 !important; padding: 8px 12px !important; border-radius: 12px !important; transform-origin: bottom right; }
  .sticky-counter-num { font-size: 22px !important; }
  /* tile text a touch smaller so headlines fit */
  .tile h3 { font-size: clamp(30px, 9vw, 40px); }
  .tile-num { font-size: 72px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .toc a { padding: 14px 12px; }
}
@media (max-width: 640px) {
  .donate-float .btn { width: auto !important; flex: 0 0 auto !important; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
  .donate-float p { min-width: 0; flex: 1 1 0 !important; }
}
.tile--press::before { background: linear-gradient(0deg, rgba(5,38,22,0.95) 0%, rgba(5,38,22,0.8) 55%, rgba(5,38,22,0.65) 100%); }
.tile--counter:hover > .photo { transform: scale(1.05); }
