/* ─────────────────────────────────────────────
   theboltonfoundation.org — Nonprofit home
   Sibling of romellbolton.com · emerald accent
   ───────────────────────────────────────────── */

/* Tokens ─────────────────────────────────────── */
:root {
  --bg:            #faf8f5;
  --surface:       #ffffff;
  --surface-2:     #f2ede4;
  --text:          #171717;
  --text-muted:    #6b6b6b;
  --text-subtle:   #9a9a9a;
  --border:        #eae5dd;
  --border-strong: #d4cec1;
  --accent:        #059669;
  --accent-soft:   #e6f5ef;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --fs-body:    0.9375rem;
  --fs-small:   0.8125rem;
  --fs-tiny:    0.75rem;
  --fs-h1:      clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  --fs-h2:      clamp(1.375rem, 1.5vw + 0.5rem, 1.625rem);
  --fs-h3:      1.05rem;
  --fs-lede:    1.0625rem;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --sidebar-w: 260px;
  --content-max: 780px;
  --pad: 1.5rem;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 160ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #0e0e10;
    --surface:       #171719;
    --surface-2:     #1e1e21;
    --text:          #f5f5f7;
    --text-muted:    #a3a3a3;
    --text-subtle:   #6b6b6b;
    --border:        #262629;
    --border-strong: #3a3a3f;
    --accent:        #34d399;
    --accent-soft:   #0f2820;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.45);
  }
}

/* Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
h1, h2, h3, h4, p, ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
::selection { background: var(--accent); color: #fff; }

/* Keyboard focus — visible ring in accent for tab-navigation. */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.sidebar__link:focus-visible,
.sidebar__search input:focus-visible,
.masthead__toggle:focus-visible,
.topbar__toggle:focus-visible {
  outline-offset: 0;
}
.card:focus-visible,
.press:focus-visible,
.feature:focus-visible,
.feature-hero:focus-visible {
  outline-offset: 3px;
  border-radius: var(--r-lg);
}

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--text); color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: var(--fs-small);
  z-index: 100;
  border-radius: 0 0 var(--r-md) 0;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

/* App shell — sidebar + content ─────────────── */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Sidebar ────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  padding: 1.25rem 0.75rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.sidebar__chrome {
  display: flex;
  gap: 8px;
  padding: 4px 0.5rem 0.65rem;
}
.chrome-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15);
}
.chrome-dot--red    { background: #ff5f57; }
.chrome-dot--yellow { background: #febc2e; }
.chrome-dot--green  { background: #28c840; }

.sidebar__search {
  position: relative;
  margin: 0 0.35rem 0.5rem;
}
.sidebar__search input {
  width: 100%;
  padding: 0.45rem 2.25rem 0.45rem 2rem;
  font: inherit;
  font-size: var(--fs-small);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sidebar__search input::placeholder { color: var(--text-subtle); }
.sidebar__search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.sidebar__search svg {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--text-subtle);
  pointer-events: none;
}
.sidebar__search kbd {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-subtle);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg);
  pointer-events: none;
}
.sidebar__results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  padding: 4px;
  max-height: 260px;
  overflow-y: auto;
}
.sidebar__results[hidden] { display: none; }
.sidebar__results a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 5px;
  color: var(--text);
  text-decoration: none;
  font-size: var(--fs-small);
}
.sidebar__results a:hover,
.sidebar__results a[data-active="true"] {
  background: var(--surface-2);
  color: var(--accent);
}
.sidebar__results .r-kind {
  font-size: 0.7rem;
  color: var(--text-subtle);
  margin-left: auto;
  font-family: var(--mono);
}

.sidebar__profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.65rem 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.sidebar__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--border-strong);
}
.sidebar__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.2;
}
.sidebar__meta {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sidebar__meta::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sidebar__label {
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.75rem 0.65rem 0.35rem;
  text-transform: uppercase;
}
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-body);
  font-weight: 500;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  text-decoration: none;
}
.sidebar__link:hover {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.sidebar__link[aria-current="page"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.sidebar__link[aria-current="page"] svg { color: var(--accent); }
.sidebar__link svg {
  width: 16px; height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.sidebar__link .shortcut {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-subtle);
  padding: 1px 5px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
}

.sidebar__footer {
  padding: 0.35rem 0.65rem 0.5rem;
  display: flex;
  gap: 0.35rem;
}
.sidebar__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sidebar__footer a:hover {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.sidebar__footer svg { width: 16px; height: 16px; }

/* Mobile top bar (hidden on desktop) ─────────── */
.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.topbar__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.topbar__toggle {
  padding: 0.5rem 0.85rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
}

@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    inset: 0;
    height: 100dvh;
    z-index: 40;
    transform: translateX(-100%);
    transition: transform var(--dur) var(--ease);
    padding-top: 1rem;
  }
  .sidebar[data-open="true"] { transform: translateX(0); }
  .topbar { display: flex; }
}

/* Content ────────────────────────────────────── */
.content {
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  padding-bottom: max(clamp(1.5rem, 4vw, 3rem), env(safe-area-inset-bottom));
  max-width: calc(var(--content-max) + 6rem);
  margin-inline: auto;
  width: 100%;
}

.page-header {
  margin-bottom: 2rem;
}
.page-eyebrow {
  font-size: var(--fs-tiny);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.page-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.page-lede {
  font-size: var(--fs-lede);
  color: var(--text-muted);
  max-width: 55ch;
  line-height: 1.5;
}

/* Home — intro ───────────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.intro__portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-md);
}
.intro__hello {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (max-width: 560px) {
  .intro__hello { margin-bottom: 1.25rem; }
}
.intro__wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave 2.4s ease-in-out 0.5s 2;
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .intro__wave { animation: none; }
}
.intro__tag {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 55ch;
}
.intro__tag strong { color: var(--text); font-weight: 600; }

.intro--text { grid-template-columns: 1fr; }
.intro__hello--large { font-size: clamp(2rem, 4vw + 0.5rem, 3rem); letter-spacing: -0.03em; }
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pullquote {
  position: relative;
  margin: 2rem 0;
  padding: 2rem 2.25rem 1.75rem;
  border-radius: var(--r-xl);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.pullquote::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.pullquote__text {
  font-size: clamp(1.15rem, 1.4vw + 0.6rem, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.pullquote__cite {
  display: block;
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-style: normal;
}
.pullquote__cite strong { color: var(--text); font-weight: 600; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.status__dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

@media (max-width: 560px) {
  .intro { grid-template-columns: 1fr; gap: 1rem; }
  .intro__portrait { width: 72px; height: 72px; }
}

/* Sections on home ───────────────────────────── */
.home-section {
  margin-bottom: 3rem;
}
.home-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.home-section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.home-section__see-all {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 500;
}
.home-section__see-all:hover { color: var(--accent); }

/* Cards ──────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  color: var(--text);
  text-decoration: none;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text);
}
.card__glyph {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 55%, #5856d6));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.card__body {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
}
.card__meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  font-family: var(--mono);
}
.card__meta strong { color: var(--text); font-weight: 600; }

/* Row list (for writing / bookmarks list) ────── */
.row-list { display: flex; flex-direction: column; }
.row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}
.row:last-child { border-bottom: none; }
.row:hover { color: var(--accent); text-decoration: none; }
.row:hover .row__title { color: var(--accent); }
.row__title {
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.row__meta {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  white-space: nowrap;
}

/* Callout block ──────────────────────────────── */
.callout {
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.callout__glyph {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.callout__glyph svg { width: 20px; height: 20px; }
.callout__title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.callout__body {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.callout__link {
  font-size: var(--fs-small);
  font-weight: 500;
}

/* Featured project (Buckets) — bigger card ───── */
.feature {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.feature__eyebrow {
  font-size: var(--fs-tiny);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.feature__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.feature__body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.9rem;
  max-width: 48ch;
}
.feature__body strong { color: var(--text); font-weight: 600; }
.feature__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
}
.feature__stats strong {
  display: block;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}
.feature__icon {
  width: 96px; height: 96px;
  border-radius: 22px;
  background: linear-gradient(135deg, #10b981, #0891b2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  letter-spacing: -0.05em;
}
@media (max-width: 600px) {
  .feature { grid-template-columns: 1fr; }
  .feature__icon { width: 72px; height: 72px; font-size: 1.5rem; border-radius: 18px; }
}

/* Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
}
.btn--primary:hover { background: color-mix(in oklab, var(--accent) 85%, #000); border-color: transparent; color: #fff; transform: translateY(-1px); }

/* Long-form content (project detail, foundation) */
.prose h2 {
  font-size: clamp(1.5rem, 1.3vw + 0.9rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}
.prose > :first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 62ch;
}
.prose p strong { color: var(--text); font-weight: 600; }
.prose ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  list-style: disc;
  max-width: 60ch;
}
.prose ul li { padding: 0.2rem 0; line-height: 1.6; }
.prose ul li::marker { color: var(--text-subtle); font-size: 0.85em; }

/* Stack list ─────────────────────────────────── */
.stack-group { margin-bottom: 2rem; }
.stack-group__title {
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.stack-items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stack-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.stack-item__glyph {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.stack-item__name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.stack-item__note {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}
.stack-item__link {
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  font-family: var(--mono);
}

/* Empty state (writing) ──────────────────────── */
.empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background: transparent;
}
.empty__glyph {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.empty__title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.empty__body {
  color: var(--text-muted);
  font-size: var(--fs-small);
  max-width: 40ch;
  margin: 0 auto;
}

/* Print stylesheet ─────────────────────────── */
@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --text: #000000;
    --text-muted: #333333;
    --text-subtle: #666666;
    --border: #cccccc;
    --border-strong: #999999;
    --accent: #0055aa;
  }
  .topbar, .sidebar, .sidebar__chrome, .sidebar__search, .status,
  .page-footer, .callout, .event, .empty, .intro__wave,
  .home-section__see-all, .skip-link, .hero__scroll {
    display: none !important;
  }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.4; }
  .app { display: block; }
  .content { max-width: 100%; padding: 0; margin: 0; }
  .page-header { margin-bottom: 1rem; }
  .page-title { font-size: 20pt; }
  .page-lede { font-size: 11pt; color: #333; }
  a { color: #0055aa; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  a[href^="mailto:"]::after, a[href^="#"]::after { content: ""; }
  .card, .feature, .feature-hero, .press, .education, .stack-item, .timeline__card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .feature-hero {
    background: #f5f5f5 !important;
    color: #000 !important;
  }
  .feature-hero__eyebrow, .feature-hero__title, .feature-hero__body, .feature-hero__stats { color: #000 !important; }
  .feature-hero__stats strong { color: #000 !important; }
  .career__item[data-present="true"]::before { animation: none; }
  .intro__portrait, .sidebar__avatar, .topbar__avatar { filter: grayscale(100%); }
  .page-title, .career__role, .timeline__role { page-break-after: avoid; }
  section { page-break-inside: avoid; }
}

/* Featured hero card (Buckets, App Store style) */
.feature-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: end;
  padding: 1.75rem;
  min-height: 240px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #10b981 0%, #0891b2 55%, #6366f1 100%);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.feature-hero:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 122, 255, 0.26), 0 3px 8px rgba(0, 0, 0, 0.08);
}
.feature-hero__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.5rem;
}
.feature-hero__title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0.45rem;
  color: #fff;
}
.feature-hero__body {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 34ch;
  margin-bottom: 1rem;
}
.feature-hero__body strong { color: #fff; font-weight: 700; }
.feature-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 760px) {
  .feature-hero__stats { gap: 1rem; }
}
.feature-hero__stats strong {
  display: block;
  font-family: var(--sans);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  text-transform: none;
}
.feature-hero__icon {
  width: 116px; height: 116px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 3.25rem;
  letter-spacing: -0.05em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  align-self: center;
}
.feature-hero__icon--img {
  background: none;
  backdrop-filter: none;
  border: none;
  padding: 0;
  overflow: hidden;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .feature-hero { grid-template-columns: 1fr; padding: 1.35rem; min-height: 0; }
  .feature-hero__icon { width: 84px; height: 84px; font-size: 2.15rem; border-radius: 20px; }
}

.card__glyph--img {
  padding: 0;
  overflow: hidden;
  background: none !important;
  object-fit: cover;
  color: transparent;
}

/* Career timeline ─────────────────────────── */
.career {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
  margin-left: 0.6rem;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
.career__item {
  position: relative;
  padding-block: 1.25rem;
  padding-right: 60px;
  border-bottom: 1px solid var(--border);
}
.career__logo {
  position: absolute;
  top: 1.25rem;
  right: 0;
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
  border: 1px solid var(--border);
}
.career__logo--tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-color: transparent;
  background: #6b6b6b;
}
.career__logo--filled {
  padding: 0;
  background: transparent;
  border-color: transparent;
  object-fit: cover;
}
@media (max-width: 520px) {
  .career__item { padding-right: 52px; }
  .career__logo { width: 36px; height: 36px; top: 1.15rem; }
  .career__logo--tile { font-size: 0.7rem; }
}
.career__item:last-child { border-bottom: none; padding-bottom: 0.25rem; }
.career__item::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 6px);
  top: 1.7rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.career__item[data-present="true"]::before {
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 4px color-mix(in oklab, var(--accent) 40%, transparent); }
  50%      { box-shadow: 0 0 0 4px var(--bg), 0 0 0 8px color-mix(in oklab, var(--accent) 15%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .career__item[data-present="true"]::before { animation: none; }
}

.career__dates {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.35rem;
}
.career__present {
  color: var(--accent);
  font-weight: 600;
}
.career__role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.career__org {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-bottom: 0.65rem;
}
.career__org strong { color: var(--text); font-weight: 600; }
.career__note {
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  max-width: 60ch;
}

.education {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-top: 0.5rem;
}
.education__logo {
  width: 64px; height: 64px;
  border-radius: var(--r-sm);
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
}
.education__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}
@media (max-width: 520px) {
  .education { grid-template-columns: 52px 1fr; gap: 0.85rem; }
  .education__logo { width: 52px; height: 52px; }
}
.education__badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.education__body { min-width: 0; }
.education__degree {
  font-weight: 600;
  color: var(--text);
  font-size: var(--fs-body);
}
.education__school {
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.education__dates {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* Upcoming event callout (Program-It workshop) */
.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
  align-items: center;
}
.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text);
  min-width: 62px;
}
.event__month {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}
.event__day {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.event__eyebrow {
  font-size: var(--fs-tiny);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.event__title {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.event__meta {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* Gallery placeholder (photos coming soon) ─── */
.gallery-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 2.5rem;
  max-width: 60ch;
}
.gallery-placeholder__tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px dashed var(--border-strong);
  position: relative;
  overflow: hidden;
}
.gallery-placeholder__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 12px,
    color-mix(in oklab, var(--border-strong) 25%, transparent) 12px 13px
  );
  opacity: 0.5;
}
@media (max-width: 560px) {
  .gallery-placeholder { grid-template-columns: repeat(2, 1fr); }
  .gallery-placeholder__tile:last-child { display: none; }
}

/* Press mention card ─────────────────────────── */
.press {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.press:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text);
}
.press__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.press__pub {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.press__kind {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}
.press__title {
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.85rem;
  max-width: 55ch;
}
.press__link {
  font-size: var(--fs-small);
  color: var(--accent);
  font-weight: 500;
}
.press:hover .press__link { text-decoration: underline; text-underline-offset: 3px; }

/* Footer inside content ──────────────────────── */
.page-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: var(--fs-tiny);
  font-family: var(--mono);
}

/* ═════════════════════════════════════════════
   Nonprofit layout — top nav + hero-first pages
   ═════════════════════════════════════════════ */

/* Top nav ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  padding-top: max(0.75rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header__brand:hover { text-decoration: none; }
.site-header__brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.site-header__nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-header__cta {
  margin-left: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header__cta:hover { transform: translateY(-1px); background: var(--accent); color: #fff; text-decoration: none; }
.site-header__toggle {
  display: none;
  margin-left: auto;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .site-header__nav--open {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 1rem;
    margin-left: 0;
  }
  .site-header__nav--open a { padding: 0.85rem 0.75rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .site-header__nav--open a:last-of-type { border-bottom: none; }
}

/* Page shell — replaces .app grid for nonprofit layout */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.page > main { flex: 1; }

/* Hero — Obama quote as the main event ─────── */
.hero-quote {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 82% 6%, rgba(52, 211, 153, 0.28), transparent 55%),
    radial-gradient(circle at 8% 92%, rgba(8, 145, 178, 0.22), transparent 55%),
    linear-gradient(180deg, #0b1f19 0%, #08121d 100%);
  color: #f8fafc;
}
.hero-quote__inner {
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
}
.hero-quote__eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-quote__mark {
  position: absolute;
  top: -0.75rem;
  left: -1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 1;
  color: #34d399;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.hero-quote__text {
  font-size: clamp(1.85rem, 6.5vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #f8fafc;
  margin-bottom: 0.75rem;
  max-width: 20ch;
  overflow-wrap: break-word;
}
.hero-quote__text em {
  font-style: italic;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.12em 0.15em;
  line-height: 1.15;
}
.hero-quote__cite {
  display: block;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
  margin-top: 1.25rem;
  margin-bottom: 3rem;
}
.hero-quote__cite strong { color: #e2e8f0; font-weight: 600; }
.hero-quote__mission {
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.4vw + 0.5rem, 1.35rem);
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.hero-quote__mission strong { color: #f8fafc; font-weight: 600; }
.hero-quote__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-quote__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero-quote__cta--primary { background: #34d399; color: #041712; }
.hero-quote__cta--primary:hover { transform: translateY(-1px); background: #22d3ee; color: #041712; text-decoration: none; }
.hero-quote__cta--ghost { background: transparent; color: #f8fafc; border: 1px solid rgba(255,255,255,0.4); }
.hero-quote__cta--ghost:hover { transform: translateY(-1px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); color: #f8fafc; text-decoration: none; }

/* Simpler hero for interior pages ──────────── */
.hero-page {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.hero-page__inner { max-width: 780px; margin-inline: auto; }
.hero-page__eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-page__title {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}
.hero-page__lede {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 60ch;
}
.hero-page__lede strong { color: var(--text); font-weight: 600; }

/* Editorial section — used inside main content */
.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.hero-page + .section { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.section__inner { max-width: 1100px; margin-inline: auto; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section__eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section__title {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.section__lede {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.55;
}
.section__see-all {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Prose within .section (mirrors .prose in old .home-section) */
.section .prose { max-width: 68ch; }

/* Impact stat cards */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.impact-card {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.impact-card__value {
  display: block;
  font-size: clamp(1.35rem, 1.5vw + 0.75rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.65rem;
}
.impact-card__label {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.impact-card__sub {
  font-size: var(--fs-small);
  color: var(--text-subtle);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* Big footer */
.site-footer {
  margin-top: 2rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}
.site-footer__inner {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.site-footer__brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-footer__meta {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
  letter-spacing: 0.03em;
  margin-top: 0.35rem;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.site-footer__links a { color: var(--text-muted); font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--text); text-decoration: none; }
.site-footer__copy {
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  color: var(--text-subtle);
}
.site-footer__copy a { color: var(--text-muted); }

/* Dark mode tweak — hero quote already dark; no change needed */
@media (prefers-color-scheme: dark) {
  .hero-page { background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%); }
}
