/* UI kit — Precitaville web · v2 · Heath shelf */
@import url("./colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100vh; background: var(--bone); }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); } .gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); } .gap-7 { gap: var(--space-7); }
.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-7) 0; }
.bg-snow { background: var(--snow); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) 0;
}
.nav .word {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "opsz" 36;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-decoration: none;
}
.nav .word em { font-style: italic; font-weight: 360; color: var(--clay); }
.nav-links { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--space-5); }
.nav-links a {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 4px 0; position: relative; white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--clay);
  transition: right var(--t-base) var(--ease);
}
.nav-links a:hover { color: var(--clay-d); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

/* Hamburger button — hidden on desktop, shown via media query */
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-burger-line {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transform-origin: center;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer — only meaningful inside the mobile media query */
.nav-mobile-menu { display: none; }

/* Buttons */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  background: var(--ink); color: var(--snow);
  border: none; padding: 11px 22px;
  border-radius: 4px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { background: var(--charcoal); }
.btn:active { transform: translateY(1px); }

.btn.secondary { background: var(--snow); color: var(--ink); border: 1px solid var(--ink); padding: 10px 21px; }
.btn.secondary:hover { background: var(--mist); }

.btn.ghost { background: transparent; color: var(--ink); padding: 11px 4px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--hair); }
.btn.ghost:hover { color: var(--clay-d); text-decoration-color: currentColor; background: transparent; }

.btn.glaze-clay { background: var(--clay); color: var(--snow); }
.btn.glaze-clay:hover { background: var(--clay-d); }
.btn.glaze-moss { background: var(--moss); color: var(--snow); }
.btn.glaze-moss:hover { background: var(--moss-d); }

/* Hero */
.hero { padding: var(--space-9) 0 0; background: var(--snow); }
.hero-inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; padding-bottom: var(--space-8); }
.hero-eyebrow { color: var(--clay-d); margin-bottom: var(--space-4); }
.hero-identity {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--clay); color: var(--snow);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 72;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-5);
  text-wrap: balance;
  color: var(--ink);
}
.hero-title em { font-style: italic; font-weight: 320; color: var(--clay-d); }
.hero-lede {
  font-family: var(--font-display);
  font-weight: 360;
  font-variation-settings: "opsz" 24;
  font-style: italic;
  font-size: 20px;
  line-height: 1.42;
  max-width: 46ch;
  color: var(--charcoal);
  margin: 0 0 var(--space-6);
}
.hero-actions { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }

/* Park map placeholder */
.park-map {
  width: 100%; aspect-ratio: 1 / 1.1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(31,37,48,0.10), 0 0 0 1px rgba(31,37,48,0.06);
  background: var(--bone);
  position: relative;
}

/* Mission pillars strip */
.mission-strip {
  background: var(--bone);
  border-top: 1px solid var(--hair);
  padding: var(--space-7) 0;
}
.mission-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mission-pillar {
  padding: var(--space-5) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.mission-pillar h4 {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 24px; margin: 0; line-height: 1.1;
  color: var(--ink);
}
.mission-pillar p { margin: 0; font-size: 14.5px; color: var(--charcoal); line-height: 1.5; }
.pillar-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px;
}

/* Neighbors page */
.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader-card {
  background: var(--snow);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(31,37,48,0.04), 0 0 0 1px rgba(31,37,48,0.05);
}
.leader-card .glaze-bar { height: 6px; }
.leader-card .leader-body { padding: 22px 22px 24px; }
.leader-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--mist); border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; color: var(--stone);
  margin-bottom: var(--space-4);
  font-style: italic;
}
.leader-card h4 {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 22px; margin: 0 0 4px; line-height: 1.1;
}
.leader-card .role { font-family: var(--font-body); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--charcoal); margin-bottom: var(--space-3); }
.leader-card p { margin: 0; font-size: 14px; color: var(--charcoal); line-height: 1.5; }

/* The Fund page */
.fund-hero { background: var(--moss); color: var(--snow); padding: var(--space-9) 0; }
.fund-hero h1 { font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 72; font-size: 72px; line-height: 0.96; letter-spacing: -0.025em; color: var(--snow); margin: var(--space-3) 0 var(--space-5); }
.fund-hero h1 em { font-style: italic; font-weight: 320; color: var(--lichen); }
.fund-hero p { color: rgba(255,255,255,0.82); font-size: 20px; max-width: 52ch; line-height: 1.5; margin: 0 0 var(--space-6); }
.fund-hero .btn { background: var(--snow); color: var(--ink); }
.fund-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: var(--space-8); }
.fund-area {
  background: var(--snow); border-radius: 8px;
  padding: var(--space-6);
  box-shadow: 0 1px 2px rgba(31,37,48,0.04), 0 0 0 1px rgba(31,37,48,0.05);
}
.fund-area .glaze-tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}
.fund-area h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 var(--space-3); }
.fund-area p { margin: 0; font-size: 14.5px; color: var(--charcoal); line-height: 1.5; }
.fund-total { background: var(--mist); border-radius: 8px; padding: var(--space-6) var(--space-7); margin-top: var(--space-7); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.fund-total h3 { font-family: var(--font-display); font-weight: 380; font-size: 32px; margin: 0; }
.fund-total p { margin: 0; font-size: 15px; color: var(--charcoal); max-width: 48ch; }

/* Section heading */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-7);
  border-bottom: 1px solid var(--hair);
  gap: var(--space-5);
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 320;
  font-variation-settings: "opsz" 60;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head h2 em { font-style: italic; font-weight: 320; color: var(--clay-d); }
.section-head .meta {
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 11px; color: var(--stone);
}

/* Event card — color block + content */
.event-card {
  background: var(--snow);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(31, 37, 48, 0.04), 0 0 0 1px rgba(31, 37, 48, 0.05);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.event-card:hover { box-shadow: 0 8px 24px rgba(31, 37, 48, 0.10), 0 0 0 1px rgba(31, 37, 48, 0.06); transform: translateY(-2px); }
.event-card .glaze-block {
  height: 130px;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 22px;
  color: var(--snow);
}
.event-card .glaze-block .day-of-week {
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9;
}
.event-card .glaze-block .day-num {
  font-family: var(--font-display); font-weight: 300;
  font-variation-settings: "opsz" 72;
  font-size: 64px; line-height: 0.88; letter-spacing: -0.03em;
}
.event-card .glaze-block .month {
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9;
}
.event-card .body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.event-card .eyebrow { color: var(--charcoal); margin: 0; }
.event-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.005em;
  margin: 4px 0 0;
}
.event-card p { margin: 4px 0 0; font-size: 14px; color: var(--charcoal); line-height: 1.45; }

/* Featured event card — wide layout */
.event-card.featured { display: grid; grid-template-columns: 280px 1fr; }
.event-card.featured .glaze-block { height: auto; padding: 36px 28px; justify-content: center; align-items: center; text-align: center; gap: 8px; }
.event-card.featured .glaze-block .day-num { font-size: 104px; }
.event-card.featured .body { padding: 32px 36px; justify-content: center; }
.event-card.featured h3 { font-size: 36px; font-variation-settings: "opsz" 36; }
.event-card.featured p { font-size: 16px; max-width: 56ch; }

/* Glaze color variants */
.glaze-clay     { background: var(--clay); }
.glaze-pacific  { background: var(--pacific); }
.glaze-moss     { background: var(--moss); }
.glaze-indigo   { background: var(--indigo); }
.glaze-mustard  { background: var(--mustard); color: var(--ink) !important; }
.glaze-plum     { background: var(--plum); }
.glaze-blush    { background: var(--blush); color: var(--ink) !important; }
.glaze-aqua     { background: var(--aqua); color: var(--ink) !important; }
.glaze-lichen   { background: var(--lichen); color: var(--ink) !important; }

/* Blog card */
.blog-card {
  background: var(--snow);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(31, 37, 48, 0.04), 0 0 0 1px rgba(31, 37, 48, 0.05);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(31, 37, 48, 0.10), 0 0 0 1px rgba(31, 37, 48, 0.06); transform: translateY(-2px); }
.blog-card .img { aspect-ratio: 3/2; background-image: url(./assets/img-placeholder.svg); background-size: cover; background-position: center; }
.blog-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.blog-card .byline { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--stone); }
.blog-card h4 { font-family: var(--font-display); font-weight: 400; font-variation-settings: "opsz" 24; font-size: 22px; line-height: 1.18; letter-spacing: -0.005em; margin: 0; }
.blog-card p { margin: 0; font-size: 14.5px; color: var(--charcoal); line-height: 1.45; }

/* Masthead announcement — full-width glaze block */
.masthead {
  background: var(--indigo);
  color: var(--snow);
  padding: var(--space-9) 0;
}
.masthead-inner { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--space-7); align-items: center; }
.masthead .eyebrow { color: var(--aqua); margin-bottom: var(--space-3); }
.masthead h2 {
  font-family: var(--font-display); font-weight: 320;
  font-variation-settings: "opsz" 60;
  font-size: 52px; line-height: 1; letter-spacing: -0.02em;
  color: var(--snow); margin: 0 0 var(--space-4);
}
.masthead h2 em { font-style: italic; font-weight: 320; color: var(--blush); }
.masthead p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 56ch; margin: 0; }
.masthead .btn { background: var(--snow); color: var(--ink); }
.masthead .btn:hover { background: var(--mist); }

/* Newsletter */
.newsletter { background: var(--mist); padding: var(--space-9) 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: center; }
.newsletter h2 {
  font-family: var(--font-display); font-weight: 320;
  font-variation-settings: "opsz" 60;
  font-size: 60px; line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 0 var(--space-3);
}
.newsletter h2 em { font-style: italic; font-weight: 320; color: var(--clay-d); }
.newsletter p { font-family: var(--font-display); font-style: italic; font-weight: 360; font-size: 20px; line-height: 1.4; color: var(--charcoal); max-width: 42ch; margin: 0; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--charcoal); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 16px;
  background: transparent; color: var(--ink);
  border: none; border-bottom: 1px solid var(--hair);
  padding: 10px 0; border-radius: 0; outline: none;
  transition: border-color var(--t-fast) var(--ease);
}
.field input:focus, .field textarea:focus { border-bottom: 2px solid var(--clay); padding-bottom: 9px; }
.field input::placeholder { color: var(--pebble); }
.newsletter-form { background: var(--snow); padding: var(--space-6); border-radius: 8px; box-shadow: 0 4px 14px rgba(31,37,48,0.06), 0 0 0 1px rgba(31,37,48,0.04); }

/* Footer */
.footer { background: var(--ink); color: var(--snow); padding: var(--space-9) 0 var(--space-6); }
.footer .word { font-family: var(--font-display); font-weight: 380; font-variation-settings: "opsz" 36; font-size: 32px; color: var(--snow); letter-spacing: -0.01em; }
.footer .word em { font-style: italic; font-weight: 360; color: var(--blush); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-8); }
.footer h5 { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--aqua); margin: 0 0 var(--space-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--snow); text-decoration: none; font-size: 14.5px; opacity: 0.85; transition: opacity var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.footer a:hover { color: var(--mustard); opacity: 1; }
.footer .fine { color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--space-5); font-size: 12.5px; display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }

/* Modal */
.modal-veil { position: fixed; inset: 0; background: rgba(31, 37, 48, 0.55); display: flex; align-items: center; justify-content: center; z-index: 100; animation: fade-in var(--t-base) var(--ease); padding: var(--space-4); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--snow);
  border-radius: 12px;
  max-width: 480px; width: 100%;
  padding: var(--space-7);
  position: relative;
  box-shadow: 0 20px 60px rgba(31, 37, 48, 0.30);
  animation: rise-in var(--t-base) var(--ease);
}
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { font-family: var(--font-display); font-weight: 320; font-variation-settings: "opsz" 60; font-size: 38px; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 var(--space-3); }
.modal .close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mist); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 18px; line-height: 1; color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease);
}
.modal .close:hover { background: var(--hair); }

/* Event detail / blog post */
.page-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--charcoal); text-decoration: none; padding: var(--space-5) 0; }
.page-back:hover { color: var(--clay-d); }

.detail-hero { padding: var(--space-6) 0 var(--space-7); border-bottom: 1px solid var(--hair); }
.detail-hero h1 { font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 72; font-size: clamp(40px, 6.5vw, 76px); line-height: 1; letter-spacing: -0.025em; margin: var(--space-3) 0 var(--space-6); text-wrap: balance; }
.detail-hero h1 em { font-style: italic; font-weight: 320; color: var(--clay-d); }

.detail-meta { display: flex; gap: var(--space-6); flex-wrap: wrap; align-items: flex-start; }
.detail-meta .item { display: flex; flex-direction: column; gap: 4px; }
.detail-meta .item .k { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 10.5px; color: var(--stone); }
.detail-meta .item .v { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--ink); }

.detail-body { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-9); padding: var(--space-8) 0; }
.detail-body article p { font-size: 17.5px; line-height: 1.7; max-width: 64ch; margin: 0 0 var(--space-5); color: var(--ink); }
.detail-body blockquote { border-left: 3px solid var(--clay); padding-left: var(--space-5); margin: var(--space-6) 0; font-family: var(--font-display); font-style: italic; font-weight: 360; font-variation-settings: "opsz" 24; font-size: 22px; line-height: 1.4; color: var(--charcoal); }
.aside .panel { background: var(--snow); border-radius: 8px; padding: var(--space-5); box-shadow: 0 1px 2px rgba(31,37,48,0.04), 0 0 0 1px rgba(31,37,48,0.05); margin-bottom: var(--space-5); }
.aside h4 { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; margin: 0 0 var(--space-3); color: var(--charcoal); }
.aside .map { aspect-ratio: 4/3; background: var(--moss); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--snow); font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

.full-bleed-photo { aspect-ratio: 16/9; background-image: url(./assets/img-placeholder.svg); background-size: cover; border-radius: 8px; margin: var(--space-5) 0 var(--space-6); }

@keyframes nav-drawer-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   MOBILE — ≤ 860px
   Collapse multi-column grids, scale down display type,
   tighten gutters. Universal !important on grid-template-columns
   to override the inline styles app.jsx scatters on grids.
   ========================================================= */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .section { padding: var(--space-7) 0; }
  .section-sm { padding: var(--space-6) 0; }

  /* Nav — wordmark + hamburger; links + CTA move into the drawer */
  .nav-inner { padding: var(--space-3) 0; }
  .nav .word { font-size: 22px; }
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Mobile drawer */
  .nav-mobile-menu {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--snow);
    border-bottom: 1px solid var(--hair);
    box-shadow: 0 8px 24px rgba(31, 37, 48, 0.08);
    animation: nav-drawer-down var(--t-base) var(--ease);
  }
  .nav-mobile-links {
    list-style: none; padding: var(--space-2) 0 var(--space-5); margin: 0;
    display: flex; flex-direction: column;
  }
  .nav-mobile-links li { margin: 0; }
  .nav-mobile-links a {
    display: block;
    padding: 14px 20px;
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 24;
    font-size: 22px;
    color: var(--ink);
    text-decoration: none;
    border-top: 1px solid var(--hair);
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  }
  .nav-mobile-links a:hover { background: var(--mist); color: var(--clay-d); }
  .nav-mobile-links a.active { color: var(--clay-d); font-style: italic; }
  .nav-mobile-cta { padding: var(--space-4) 20px 0; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; }

  /* Hero — stack text over map, shrink display type */
  .hero { padding: var(--space-6) 0 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-7);
  }
  .hero-title { font-size: clamp(34px, 9.5vw, 56px); letter-spacing: -0.02em; }
  .hero-lede { font-size: 17px; line-height: 1.45; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .park-map { max-width: 420px; margin: 0 auto; aspect-ratio: 1 / 1.05; }

  /* Section heading — let the meta line wrap naturally */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
  }
  .section-head h2 { font-size: 30px; line-height: 1.04; }

  /* Mission pillars — single column, soft dividers between */
  .mission-pillars { grid-template-columns: 1fr; gap: 0; }
  .mission-pillar { padding: var(--space-5) 0; border-left: none !important; }
  .mission-pillar + .mission-pillar { border-top: 1px solid var(--hair); }

  /* Featured event card — collapse the wide layout */
  .event-card.featured { grid-template-columns: 1fr; }
  .event-card.featured .glaze-block {
    height: 130px;
    padding: 18px 22px;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
  .event-card.featured .glaze-block .day-num { font-size: 64px; }
  .event-card.featured .body { padding: 18px 22px 22px; }
  .event-card.featured h3 { font-size: 22px; }

  /* Masthead announcement */
  .masthead { padding: var(--space-7) 0; }
  .masthead-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .masthead h2 { font-size: 32px; }
  .masthead-inner > div:last-child { text-align: left !important; }

  /* Newsletter */
  .newsletter { padding: var(--space-7) 0; }
  .newsletter-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .newsletter h2 { font-size: 36px; }
  .newsletter p { font-size: 17px; }

  /* Footer — 4 cols → 2 cols */
  .footer { padding: var(--space-7) 0 var(--space-5); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer .word { font-size: 28px; }
  .footer .fine { flex-direction: column; gap: var(--space-2); }

  /* Neighbors — leader cards stack */
  .leader-grid { grid-template-columns: 1fr; gap: 16px; }

  /* The Fund */
  .fund-hero { padding: var(--space-7) 0; }
  .fund-hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .fund-hero p { font-size: 17px; }
  .fund-areas { grid-template-columns: 1fr; gap: 16px; }
  .fund-total {
    padding: var(--space-5);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .fund-total h3 { font-size: 26px; }
  .fund-total .btn { width: 100%; justify-content: center; }

  /* Event / blog detail */
  .detail-hero { padding: var(--space-4) 0 var(--space-6); }
  .detail-hero h1 { font-size: clamp(30px, 8vw, 48px); }
  .detail-body {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-6) 0;
  }
  .detail-body article p { font-size: 16.5px; line-height: 1.65; }
  .detail-body blockquote { font-size: 19px; padding-left: var(--space-4); margin: var(--space-5) 0; }
  .detail-meta { gap: var(--space-4); }

  /* Modal */
  .modal { padding: var(--space-5); border-radius: 10px; }
  .modal h2 { font-size: 28px; }

  /* ---- Universal override for inline grid layouts ----
     app.jsx applies `style={{ gridTemplateColumns: "..." }}` in
     many places. These collapse them all to a single column on
     mobile, since none of them benefit from staying multi-col. */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   VERY SMALL — ≤ 420px
   Final tweaks for narrow phones.
   ========================================================= */
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .section-head h2 { font-size: 26px; }
  .hero-title { font-size: clamp(30px, 10vw, 44px); }
  .nav .word { font-size: 20px; }
  .hero-identity { font-size: 10px; padding: 5px 12px; }
}
