/* ============================================================
   ARM — hi-fi site styles
   Dark theme · Deep warm black · Bright gold accent
   Cream body text · EB Garamond
   ============================================================ */

:root {
  --bg:        #0b0805;          /* deep warm black */
  --bg-2:      #15110a;          /* card surface */
  --bg-3:      #1c170e;          /* alt surface */
  --bg-deep:   #050402;          /* darkest accent */
  --text:      #ede2c4;          /* warm cream body */
  --text-2:    #b6ac8e;          /* secondary text */
  --mute:      #7f7558;          /* muted */
  --mute-2:    #5a5341;          /* faint */
  --gold:      #f5d27a;          /* bright warm gold */
  --gold-soft: rgba(245, 210, 122, 0.55);
  --gold-deep: #c9a153;
  --gold-dim:  rgba(245, 210, 122, 0.10);
  --gold-warm: #ffe1a3;          /* highlight in gradients */
  --rule:      rgba(245, 210, 122, 0.22);
  --rule-2:    rgba(245, 210, 122, 0.11);
  --warn:      #d4895f;
  --shadow-card: 0 1px 0 rgba(255, 220, 150, 0.04) inset, 0 1px 2px rgba(0,0,0,0.4), 0 18px 40px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 1px 0 rgba(255, 220, 150, 0.08) inset, 0 2px 4px rgba(0,0,0,0.5), 0 28px 60px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: 'EB Garamond', 'Adobe Garamond Pro', Garamond, Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse at 75% 35%, rgba(245, 210, 122, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(245, 210, 122, 0.025) 0%, transparent 50%),
    linear-gradient(180deg, #0d0a06 0%, #080603 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono {
  font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}
.mono-sm { font-size: 10px; }
.mono-gold { color: var(--gold); }
.mono-mute { color: var(--mute); }

.display {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.serif-it { font-style: italic; }
.gold { color: var(--gold); }
.muted { color: var(--mute); }
.text-2 { color: var(--text-2); }

a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; position: relative; }
.section-tight { padding: 60px 0; }
.section-divider { border-top: 1px solid var(--rule); }

.tick {
  display: inline-block; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  vertical-align: middle; margin-right: 10px;
}

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 8, 5, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  max-width: 1440px; margin: 0 auto;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-logo img { height: 70px; display: block; filter: brightness(1.05); }
.nav-logo small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--mute); text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}
.nav-links {
  display: flex; gap: 30px;
  font-size: 16px;
  font-family: 'EB Garamond', serif;
}
.nav-links a { color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle .bars {
  display: inline-flex; flex-direction: column; gap: 3px;
}
.nav-toggle .bars span {
  display: block; width: 14px; height: 1.5px; background: currentColor;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  background: transparent;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-arrow { font-family: 'IBM Plex Mono', monospace; font-size: 14px; }
.btn-gold {
  background: var(--gold);
  color: #1a1407;
  border-color: var(--gold);
}
.btn-gold:hover { background: #ffe09a; box-shadow: 0 6px 28px rgba(245, 210, 122, 0.35); }
.btn-ghost {
  background: rgba(245, 210, 122, 0.02);
  color: var(--text);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(245, 210, 122, 0.06); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: rgba(245, 210, 122, 0.08); }

/* ---------- hero ---------- */
.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 22px 0 28px;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero p.lede {
  font-size: 20px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* HERO IMAGE — mirrored, faded into the dark bg, subject on the left */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo::before {
  /* the photo itself — MIRRORED so child + father face the headline */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background-image: url('assets/hero-veteran.jpg');
  background-repeat: no-repeat;
  background-position: 28% center;
  background-size: cover;
  transform: scaleX(-1);
  /* Dark fade on the LEFT, photo opaque on the right, fading off the far right.
     Mask is mirrored alongside the image, so author it in mirrored space:
     opaque on LEFT here = appears opaque on RIGHT once flipped. */
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.15) 18%,
    rgba(0,0,0,0.55) 32%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0.2) 100%
  );
          mask-image: linear-gradient(
    to left,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.15) 18%,
    rgba(0,0,0,0.55) 32%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0.2) 100%
  );
  opacity: 0.78;
  filter: contrast(1.05) saturate(0.95) brightness(1.0);
}
.hero-photo::after {
  /* dark wash overlay: heavy on the left (where the text sits), gentle on the right (where the photo shows) */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(11, 8, 5, 1)    0%,
      rgba(11, 8, 5, 0.95) 18%,
      rgba(11, 8, 5, 0.55) 35%,
      rgba(11, 8, 5, 0.18) 55%,
      rgba(11, 8, 5, 0.10) 75%,
      rgba(11, 8, 5, 0.65) 100%
    ),
    linear-gradient(180deg,
      rgba(11, 8, 5, 0.20) 0%,
      rgba(11, 8, 5, 0) 30%,
      rgba(11, 8, 5, 0) 70%,
      rgba(11, 8, 5, 0.55) 100%
    );
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(ellipse at 75% 50%, rgba(245, 210, 122, 0.16), transparent 55%),
    radial-gradient(ellipse at 18% 75%, rgba(245, 210, 122, 0.06), transparent 60%);
}

/* ---------- section header convention ---------- */
.sec-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sec-eyebrow .num { color: var(--mute); }
.sec-rule { flex: 1; height: 1px; background: var(--rule); }
.sec-title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
  color: var(--text);
}
.sec-lede {
  font-size: 21px;
  color: var(--text-2);
  max-width: 720px;
  line-height: 1.5;
}

/* ---------- radial orbit (SVG container) ---------- */
.orbit-wrap {
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  align-self: center;
}
.orbit-wrap svg { width: 100%; height: auto; max-width: 640px; display: block; }
.orbit-meta {
  position: absolute; top: -8px; left: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.18em;
}
.orbit-meta-r {
  position: absolute; bottom: -8px; right: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.18em;
}

/* ---------- pillar grid ---------- */
.pillars-table {
  border-top: 1px solid var(--rule);
}
.pillar-row {
  display: grid;
  grid-template-columns: 64px 1.5fr 1fr 1fr 130px 80px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-2);
  align-items: center;
  cursor: pointer;
  transition: background .2s, padding-left .2s;
}
.pillar-row:hover {
  background: rgba(245, 210, 122, 0.04);
  padding-left: 12px;
}
.pillar-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--mute);
  letter-spacing: 0.1em;
}
.pillar-title {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}
.pillar-org { font-size: 16px; color: var(--text-2); }
.pillar-person { font-size: 14px; color: var(--mute); font-style: italic; }
.pillar-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  text-align: right;
}
.pillar-status.confirmed { color: var(--gold); }
.pillar-status.invited   { color: #d8a85a; }
.pillar-status.vacant    { color: var(--warn); }
.pillar-arrow {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--mute);
  text-align: right;
  font-size: 16px;
}
.pillar-row[data-vacant="true"] { background: rgba(212, 137, 95, 0.05); }
.pillar-row[data-vacant="true"] .pillar-title { color: var(--mute); }

/* ---------- preface ---------- */
.preface {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start;
}
.preface-meta { padding-top: 12px; }
.preface-quote {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.32;
  color: var(--text);
}
.preface-quote .accent { color: var(--gold); font-style: normal; }
.preface-attribution {
  margin-top: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.16em;
}

/* ---------- members ---------- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.member {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 28px 26px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.member:hover { border-color: var(--gold-soft); }
.member-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; color: var(--gold);
  letter-spacing: 0.18em;
}
.member-name {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 6px;
  line-height: 1.1;
}
.member-role {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--text-2);
  margin-top: 4px;
  font-size: 16px;
}
.member-portrait {
  width: 100%; aspect-ratio: 4/5;
  margin: 18px 0;
  background:
    linear-gradient(135deg, rgba(245,210,122,0.06), rgba(245,210,122,0.01)),
    repeating-linear-gradient(135deg, rgba(245,210,122,0.06) 0 1px, transparent 1px 12px);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--mute);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 12px;
}
.member-bio {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- ask banner ---------- */
.ask {
  position: relative;
  background:
    linear-gradient(160deg, rgba(245, 210, 122, 0.10), rgba(245, 210, 122, 0.02) 60%),
    var(--bg-2);
  border: 1px solid var(--rule);
  padding: 60px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 50px;
  align-items: center;
}
.ask::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245, 210, 122, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 210, 122, 0.09) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at right, black, transparent 70%);
  pointer-events: none;
}
.ask > * { position: relative; }
.ask h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  margin: 12px 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ask h2 em { color: var(--gold); font-style: italic; font-weight: 500; }
.ask-ctas { display: flex; flex-direction: column; gap: 10px; }

/* ---------- get involved lanes ---------- */
.lanes {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  margin-top: 40px;
}
.lane {
  border: 1px solid var(--rule);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 380px;
  transition: border-color .2s, transform .2s, box-shadow .25s;
  background: var(--bg-2);
}
.lane:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.lane.featured {
  background: linear-gradient(180deg, rgba(245, 210, 122, 0.10), rgba(245, 210, 122, 0.01));
  border-color: var(--gold-soft);
}
.lane-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.lane-title {
  font-family: 'EB Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--text);
}
.lane-body { color: var(--text-2); font-size: 17px; line-height: 1.5; }
.lane-spacer { flex: 1; }
.lane-mono-list {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.06em;
  line-height: 1.9;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 60px 0 24px;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px;
}
.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-weight: 500;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.footer-col a, .footer-col span {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--gold); }
.footer-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid var(--rule-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.1em;
}
.footer-logo {
  height: 64px;
  display: block;
  filter: brightness(1.05);
}

/* ============================================================
   MODERN INTERACTIONS — reveals, nav, motion
   ============================================================ */

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Nav — elevated on scroll, active link state */
.nav { transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, padding 0.2s; }
.nav.scrolled {
  background: rgba(11, 8, 5, 0.92);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  border-bottom-color: var(--rule);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active { color: var(--gold); }

/* Smooth scroll for everyone */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .orbit-spin, .orbit-spin-rev, .orbit-pulse, .dash-flow { animation: none !important; }
}

/* Buttons — subtle high-tech gradient + glow on hover */
.btn-gold {
  background: linear-gradient(180deg, #ffe09a 0%, #f5d27a 55%, #d9b061 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 0 0 1px rgba(245, 210, 122, 0.5),
    0 6px 22px rgba(245, 210, 122, 0.12);
  transition: box-shadow 0.25s, transform 0.2s, filter 0.2s;
}
.btn-gold:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 0 0 1px rgba(245, 210, 122, 0.7),
    0 12px 32px rgba(245, 210, 122, 0.35);
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn-ghost, .btn-outline-gold { transition: all 0.22s; }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-outline-gold:hover {
  background: rgba(245, 210, 122, 0.10);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 22px rgba(245, 210, 122, 0.18);
  transform: translateY(-1px);
}

/* Orbit rotation: outer dotted ring's dashes slowly flow */
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes dash-orbit {
  to { stroke-dashoffset: -140; }
}
@keyframes orbit-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.025); opacity: 0.95; }
}
.orbit-wrap svg { transform-origin: 50% 50%; }
.orbit-wrap .orbit-bg-ring {
  animation: dash-orbit 50s linear infinite;
}

/* Dash flow on connector lines (when hovered) */
@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

/* Subtle pulse on the gold tick */
.tick {
  box-shadow: 0 0 0 0 rgba(245, 210, 122, 0.55);
  animation: tick-pulse 2.8s ease-out infinite;
}
@keyframes tick-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 210, 122, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(245, 210, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 210, 122, 0); }
}

/* Card hover refinement */
.graice-card, .board-card, .lane, .integration {
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.graice-card:hover, .board-card:hover, .lane:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--gold-soft);
}

/* Center pillar glow */
.orbit-wrap svg .center-glow {
  animation: orbit-pulse 4.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 24px rgba(245, 210, 122, 0.35));
}

/* ---------- collaborative care ---------- */
.care-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  margin-top: 56px;
  align-items: stretch;
}
.care-tenets {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
.care-tenet {
  padding: 28px 32px;
  border-bottom: 1px solid var(--rule-2);
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
  justify-content: center;
}
.care-tenet:last-child { border-bottom: none; }
.care-tenet-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
.care-right { display: flex; flex-direction: column; gap: 24px; }
.care-specialties {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 28px 32px;
}
.specialty-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--text);
}
.specialty-dash { color: var(--gold); margin-right: 6px; }
.care-guardrails {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 26px 28px;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  align-items: center;
}
.care-venn { width: 200px; height: 180px; flex-shrink: 0; }
.care-guardrails-list { display: flex; flex-direction: column; gap: 12px; }
.guardrail-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.guardrail-body {
  font-family: 'EB Garamond', serif;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 2px;
}

/* ---------- board grid (3 cards) ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.board-card {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 32px 28px 30px;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.board-card:hover { border-color: var(--gold-soft); }
.board-portrait {
  width: 132px; height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1610;
  border: 1px solid var(--rule);
  position: relative;
  flex-shrink: 0;
}
.board-portrait::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(245, 210, 122, 0.22), 0 6px 22px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.board-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.02) brightness(0.95);
  transition: filter .35s, transform .6s;
  display: block;
}
.board-card:hover .board-portrait img {
  filter: none;
  transform: scale(1.04);
}
.board-body {
  padding: 22px 0 0;
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
  text-align: center;
  width: 100%;
}
.board-name {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 4px;
  line-height: 1.1;
  color: var(--text);
}
.board-org {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 6px;
}
.board-bio {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-2);
  width: 100%;
  text-align: left;
}

/* ---------- GRAICE — extending the platform ---------- */
.graice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.graice-card {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 320px;
  transition: border-color .2s, transform .2s;
}
.graice-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.graice-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 36px;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.graice-title {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--text);
}
.graice-body {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}
.graice-banner {
  margin-top: 36px;
  padding: 30px 36px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  background: linear-gradient(160deg, rgba(245, 210, 122, 0.10), rgba(245, 210, 122, 0.02) 70%), var(--bg-2);
  display: grid; grid-template-columns: 1fr auto; gap: 28px;
  align-items: center;
}
.graice-banner-line {
  font-family: 'EB Garamond', serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

/* ---------- responsive ---------- */

/* Tablet — 1100px and down */
@media (max-width: 1100px) {
  .nav-inner { padding: 14px 28px; }
  .nav-logo img { height: 58px; }
  .nav-links { gap: 22px; font-size: 15px; }
  .container { padding: 0 32px; }
  .section { padding: 80px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(30px, 4vw, 48px); }
  .graice-grid { grid-template-columns: 1fr 1fr; }
  .members-grid, .board-grid { grid-template-columns: 1fr 1fr; }
  .care-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

/* Tablet — 900px and down: stack hero */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 8, 5, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule);
    padding: 8px 0 16px;
  }
  .nav-links.is-open a {
    padding: 14px 24px;
    font-size: 18px;
    border-bottom: 1px solid var(--rule-2);
  }
  .nav-links.is-open a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .nav-logo small { display: none; }
  .nav-logo img { height: 48px; }
  .nav-inner { padding: 12px 20px; position: relative; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(32px, 7vw, 48px); }

  /* On mobile, photo becomes a top-anchored, full-width background fade (still mirrored) */
  .hero-photo::before {
    width: 100%;
    background-position: 35% 35%;
    transform: scaleX(-1);
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,0.85) 30%,
      rgba(0,0,0,0.4) 60%,
      rgba(0,0,0,0) 100%
    );
            mask-image: linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,0.85) 30%,
      rgba(0,0,0,0.4) 60%,
      rgba(0,0,0,0) 100%
    );
    opacity: 0.62;
  }
  .hero-photo::after {
    background:
      linear-gradient(180deg,
        rgba(11, 8, 5, 0.25) 0%,
        rgba(11, 8, 5, 0.15) 25%,
        rgba(11, 8, 5, 0.70) 60%,
        rgba(11, 8, 5, 1) 88%
      );
  }

  .preface { grid-template-columns: 1fr; gap: 24px; }
  .lanes { grid-template-columns: 1fr; gap: 18px; }
  .graice-grid { grid-template-columns: 1fr; gap: 18px; }
  .graice-card { min-height: 0; padding: 28px 26px; }
  .members-grid, .board-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .pillar-row { grid-template-columns: 48px 1fr 90px; gap: 14px; padding: 18px 0; }
  .pillar-row .pillar-org, .pillar-row .pillar-person, .pillar-row .pillar-arrow { display: none; }
  .container { padding: 0 24px; }
  .specialty-list { grid-template-columns: 1fr 1fr; }
  .care-guardrails { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .care-venn { margin: 0 auto; }
  .graice-banner { grid-template-columns: 1fr; gap: 18px; }
  .care-tenets { gap: 0; }
  .care-tenet { padding: 22px 24px; }

  /* Section header — two-column heading + lede stacks */
  .section h2.sec-title + p,
  .section [style*="grid-template-columns: 1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .ask { grid-template-columns: 1fr; gap: 30px; padding: 40px 32px; }
}

/* Mobile — 600px and down */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .hero h1 { font-size: clamp(28px, 8.5vw, 40px); margin: 16px 0 18px; }
  .hero p.lede { font-size: 17px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; min-width: 0; }
  .sec-title { font-size: clamp(28px, 7vw, 40px); }
  .sec-lede { font-size: 17px; }
  .specialty-list { grid-template-columns: 1fr; }
  .preface-quote { font-size: 22px !important; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lane { padding: 26px 22px; min-height: 0; }
  .lane-title { font-size: 26px; }
  .graice-banner-line { font-size: 22px; }
  .graice-banner { padding: 24px 22px; }
  .ask { padding: 32px 22px; }
  .ask h2 { font-size: clamp(28px, 7vw, 40px); }
  .nav-logo img { height: 42px; }
  .btn { padding: 12px 18px; font-size: 15px; }
  .nav-inner { padding: 10px 16px; gap: 12px; }
  /* Donate text shortens on tiny screens */
  .nav-inner > .btn-gold { padding: 10px 16px; font-size: 14px; }
  .nav-inner > .btn-gold .btn-arrow { display: none; }
  .care-tenet { padding: 20px 20px; }
  .preface-attribution { font-size: 10px; }
  .footer-col h4 { margin-bottom: 12px; }

  /* Orbit takes less vertical space on small screens */
  .orbit-wrap { max-width: 460px; margin: 0 auto; }
  .orbit-meta, .orbit-meta-r { font-size: 9px; position: static; text-align: center; margin: 0 auto; }
}
