/* RoboReach Foundation — site styles (public pages).
   Admin pages still use styles.css + script.js. */

:root {
  --ink: #131416;          /* matches logo background */
  --ink-2: #1c1e23;
  --ink-3: #272a31;
  --paper: #f7f6fb;
  --white: #ffffff;
  --text: #1a1b21;
  --muted: #545967;
  --line: #e3e1ee;
  --lav: #bcb9f0;          /* logo lavender */
  --lav-soft: #ecebfb;
  --violet: #4f46c8;       /* accessible accent on light bg */
  --violet-dark: #3d35a8;
  --peach: #f6a28d;        /* logo hand */
  --peach-dark: #e9866d;
  --green: #2f9e6e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19,20,22,.06), 0 8px 24px rgba(19,20,22,.07);
  --font-head: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--peach); }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 100;
  background: var(--peach); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-white { background: var(--white); }
.dark { background: var(--ink); color: #e9e9f0; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: var(--lav); }
.dark .muted, .dark .lead { color: #b8bac6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); margin-bottom: .9rem;
}
.dark .eyebrow { color: var(--peach); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .9rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--peach); color: var(--ink); }
.btn-primary:hover { background: var(--peach-dark); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn-outline:hover { color: var(--violet); }
.dark .btn-outline, .site-header .btn-outline, .cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.dark .btn-outline:hover, .site-header .btn-outline:hover, .cta-band .btn-outline:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: .6rem 1rem; min-height: 40px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.arrow::after { content: "→"; }

/* Header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lav); }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #d6d7df; text-decoration: none; font-weight: 500; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--peach); }
.nav-cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.08); color: var(--peach); }
  .nav-cta { flex-direction: column; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(188,185,240,.18), transparent 60%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.hero h1 .hl { color: var(--peach); }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.hero-photo figcaption { margin-top: .8rem; font-size: .88rem; color: #a9abb8; }
.badge-float {
  position: absolute; left: -1.2rem; bottom: 3.2rem; background: #fff; color: var(--ink); border-radius: 14px; padding: .8rem 1rem;
  box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.3; max-width: 230px;
}
.badge-float strong { display: block; font-size: 1.5rem; color: var(--violet); }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .92rem; color: #b8bac6; list-style: none; padding: 0; }
.trust-row li::before { content: "✓"; color: var(--peach); font-weight: 700; margin-right: .45rem; }

.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.page-hero .lead { max-width: 68ch; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .badge-float { left: .8rem; bottom: 3.6rem; }
}

/* Grids & cards */
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); box-shadow: none; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--lav-soft); color: var(--violet);
}
.icon svg { width: 24px; height: 24px; }
.dark .icon { background: rgba(188,185,240,.14); color: var(--lav); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Status timeline (honest "where we are") */
.status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.status li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; position: relative; }
.status .when { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.status strong { display: block; font-family: var(--font-head); margin: .2rem 0 .25rem; }
.status p { margin: 0; font-size: .93rem; color: var(--muted); }
.status .pill { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 960px) { .status { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .status { grid-template-columns: 1fr; } }

.pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--lav-soft); color: var(--violet-dark); font-family: var(--font-head); letter-spacing: .02em; }
.pill-done { background: #dcf3e8; color: #1d6b49; }
.pill-now { background: #ffe6de; color: #8a3a24; }

/* Record / founders' history */
.record { display: grid; gap: 1.25rem; }
.season { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); }
.season-year { font-family: var(--font-head); }
.season-year b { display: block; font-size: 1.6rem; color: #fff; }
.season-year span { color: var(--lav); font-size: .92rem; }
.season ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.season li { display: flex; gap: .7rem; align-items: flex-start; }
.season li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--peach); }
.season li strong { color: #fff; }
@media (max-width: 640px) { .season { grid-template-columns: 1fr; gap: .6rem; } }
.disclaimer { font-size: .9rem; color: #a9abb8; border-left: 3px solid var(--lav); padding: .3rem 0 .3rem 1rem; margin-top: 1.5rem; max-width: 80ch; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.photo-pair figure { margin: 0; }
.photo-pair img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-pair figcaption { font-size: .85rem; color: #a9abb8; margin-top: .5rem; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.stat { border-top: 3px solid var(--peach); padding-top: .9rem; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: #fff; line-height: 1.1; }
.stat span { font-size: .93rem; color: #b8bac6; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Pathway */
.pathway { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--peach); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .pathway { grid-template-columns: 1fr; } }

/* Funding */
.funding { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; }
.funding-total { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 700; line-height: 1; color: var(--ink); margin-bottom: .6rem; letter-spacing: -.03em; }
.bars { display: grid; gap: 1.2rem; }
.bar-label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; margin-bottom: .45rem; }
.bar-label span:last-child { font-family: var(--font-head); }
.bar-track { height: 14px; background: var(--lav-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--violet); }
.bar-fill.b2 { background: var(--peach-dark); }
.bar-fill.b3 { background: var(--ink); }
@media (max-width: 760px) { .funding { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, #23214a 100%); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9cad6; margin: 0; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Founding sponsor wall */
.founding-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.founding-slot {
  border: 2px dashed #cfcce6; border-radius: var(--radius-sm); min-height: 120px; display: grid; place-items: center; text-align: center;
  padding: 1rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; text-decoration: none; background: rgba(255,255,255,.6); transition: border-color .15s, color .15s, background .15s;
}
.founding-slot span { display: block; font-size: .82rem; font-weight: 500; color: var(--muted); }
a.founding-slot:hover { border-color: var(--violet); color: var(--violet); background: #fff; }
.founding-slot.claimed { border-style: solid; border-color: var(--line); background: #fff; }
.founding-slot img { max-height: 70px; width: auto; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tiers { grid-template-columns: 1fr; } }
.tier { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow); position: relative; }
.tier-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin: 0 0 .2rem; }
.tier-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.tier-price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier-note { font-size: .9rem; color: var(--muted); margin: .3rem 0 1.1rem; min-height: 2.8em; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; font-size: .97rem; flex: 1; }
.tier li { position: relative; padding-left: 1.5rem; }
.tier li::before { content: "✓"; color: var(--green); font-weight: 800; position: absolute; left: 0; top: 0; }
.tier li.plus { font-weight: 600; }
.tier li.plus::before { content: "+"; color: var(--violet); }
.tier-limit { display: inline-block; align-self: flex-start; margin-bottom: .9rem; }
.tier.featured { border: 2px solid var(--violet); }
.tier.featured .ribbon { position: absolute; top: -13px; left: 1.5rem; background: var(--violet); color: #fff; font-family: var(--font-head); font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; letter-spacing: .03em; }
.tier.title-tier { background: var(--ink); color: #e9e9f0; border-color: var(--ink); }
.tier.title-tier .tier-name, .tier.title-tier .tier-price { color: #fff; }
.tier.title-tier .tier-note, .tier.title-tier .tier-price small { color: #b8bac6; }
.tier.title-tier li::before { color: var(--peach); }
.tier.title-tier li.plus::before { color: var(--peach); }

.slots { display: grid; grid-template-columns: repeat(11, 1fr); gap: .5rem; margin: 1.5rem 0 .8rem; }
.slot { aspect-ratio: 1; border-radius: 10px; border: 2px dashed; display: grid; place-items: center; font-family: var(--font-head); font-size: .78rem; font-weight: 700; }
.slot.t4 { border-color: var(--peach); color: var(--peach); }
.slot.t3 { border-color: var(--lav); color: var(--lav); }
.slot.t2 { border-color: #8f93a3; color: #c3c5cf; }
.slot.t1 { border-color: #5b5f6c; color: #a9abb8; }
.slot.filled { border-style: solid; background: currentColor; }
.slot-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; color: #b8bac6; list-style: none; padding: 0; margin: 0; }
.slot-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 2px dashed; margin-right: .4rem; vertical-align: -1px; }
@media (max-width: 640px) { .slots { grid-template-columns: repeat(6, 1fr); } }

/* Compare table */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-head); background: var(--paper); }
.compare thead th small { display: block; font-weight: 500; color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 800; }
.no { color: #b9bccb; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Gift amounts */
.gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gift { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; }
.gift b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--violet); line-height: 1.1; margin-bottom: .35rem; }
.gift p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 860px) { .gifts { grid-template-columns: 1fr 1fr; } }

.donate-box { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.gb-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; min-height: 120px; }
@media (max-width: 860px) { .gb-grid { grid-template-columns: 1fr; } }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 600; text-align: right; }

/* Notice */
.notice { background: #fff6f2; border: 1px solid #f7d2c6; border-left: 4px solid var(--peach-dark); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.notice p:last-child { margin: 0; }
.notice-lav { background: var(--lav-soft); border-color: #d8d5f5; border-left-color: var(--violet); }

/* Program weeks */
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.week { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; border-top: 4px solid var(--violet); }
.week:nth-child(2) { border-top-color: var(--peach-dark); }
.week:nth-child(3) { border-top-color: #8f93a3; }
.week:nth-child(4) { border-top-color: var(--ink); }
.week .wk { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.week ul { margin: .5rem 0 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) { .weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .weeks { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { background: var(--lav-soft); color: var(--violet-dark); border-radius: 999px; padding: .3rem .85rem; font-weight: 600; font-size: .9rem; }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person img { aspect-ratio: 3/3.4; object-fit: cover; width: 100%; background: var(--lav-soft); }
.person div { padding: 1.1rem 1.2rem 1.3rem; }
.person h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.person .role { color: var(--violet); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.person p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label, .legend { display: block; font-weight: 600; margin-bottom: .4rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #cfd0da; border-radius: var(--radius-sm); padding: .75rem .9rem; min-height: 48px;
}
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: 3px solid rgba(79,70,200,.2); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label { display: block; border: 1.5px solid #cfd0da; border-radius: var(--radius-sm); padding: .75rem .9rem; cursor: pointer; height: 100%; }
.choice label span { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; }
.choice input:checked + label { border-color: var(--violet); background: var(--lav-soft); box-shadow: inset 0 0 0 1px var(--violet); }
.choice input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 2px; }
.status-msg { margin: 1rem 0 0; font-weight: 600; min-height: 1.2em; }
.status-msg.ok { color: #1d6b49; }
.status-msg.err { color: #b3261e; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-list span { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; word-break: break-word; }

/* Socials */
.socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; }
.socials a:hover { border-color: var(--violet); color: var(--violet); }
.socials svg { width: 18px; height: 18px; }
.site-footer .socials a { background: transparent; border-color: rgba(255,255,255,.18); color: #e2e3ea; }
.site-footer .socials a:hover { border-color: var(--lav); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #b8bac6; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d6d7df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; color: #8f92a0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.split-wide { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 860px) { .split-wide { grid-template-columns: 1fr; } }

/* Founding sponsor goal meter (sponsors.html) */
.goal-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.goal-amount { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; color: #fff; line-height: 1; margin: 0 0 1.1rem; letter-spacing: -.02em; }
.goal-track { height: 14px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.goal-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lav), var(--peach)); min-width: 14px; }
.goal-text { font-size: .93rem; color: #b8bac6; margin: .7rem 0 1.3rem; }
.goal-tiers { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.goal-tiers li { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: .5rem; color: #d6d7df; }
.goal-tiers b { font-family: var(--font-head); color: #fff; }
.goal-tiers em { font-style: normal; color: var(--peach); font-size: .88rem; }

/* Headshot placeholder */
.person .ph { aspect-ratio: 3/3.4; display: grid; place-items: center; background: linear-gradient(135deg, var(--lav-soft), #dcd9f7); color: var(--violet); font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; padding: 0; }

/* Donor thank-you page */
.thanks-hero { text-align: center; }
.thanks-hero .lead { margin-inline: auto; }
.thanks-check { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--ink); }
.thanks-check svg { width: 36px; height: 36px; }

.people.p3 { grid-template-columns: repeat(3, 1fr); max-width: 880px; margin-inline: auto; }
@media (max-width: 760px) { .people.p3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .people.p3 { grid-template-columns: 1fr; } }

/* Copy-to-clipboard notice */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  max-width: calc(100% - 2rem); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
