:root {
  --ink: #1f4a34;
  --ink-soft: #6b8f71;
  --cream: #f6f1e7;
  --cream-deep: #ede3ce;
  --gold: #8fb39a;
  --gold-deep: #5a7d64;
  --navy: #1f4a34;
  --line: #e3d9c2;
  --radius: 14px;
  --shadow: 0 20px 50px -25px rgba(31, 74, 52, 0.3);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Georgia", "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p {
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Avenir Next", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
}

nav.links {
  display: flex;
  gap: 32px;
  font-family: "Avenir Next", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

nav.links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

nav.links a:hover,
nav.links a.active {
  color: var(--gold-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Avenir Next", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(31, 74, 52, 0.5);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(143, 179, 154, 0.5);
}

/* Hero */
.hero {
  padding: 96px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#mission {
  padding-top: 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(143, 179, 154, 0.22), transparent);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-family: "Avenir Next", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-deep);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lede {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 20px auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 88px 0;
}

section.alt {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

/* Mission cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card .num {
  font-family: "Avenir Next", sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  font-size: 0.97rem;
}

/* Quote / real talk block */
.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.quote-block blockquote {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.5;
}

.quote-block cite {
  font-family: "Avenir Next", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--gold-deep);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Scholars grid */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.person {
  text-align: center;
  width: 200px;
}

.avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream-deep), #8fb39a);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Avenir Next", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold-deep);
}

.person h4 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.person span {
  font-family: "Avenir Next", sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--cream);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Store buttons */
.store-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: "Avenir Next", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn.on-navy {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.store-btn.on-navy:hover {
  background: rgba(255, 255, 255, 0.16);
}

.store-note {
  font-family: "Avenir Next", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.store-note.on-navy {
  color: rgba(255, 255, 255, 0.72);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-family: "Avenir Next", sans-serif;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--gold-deep);
}

.footer-bottom {
  font-family: "Avenir Next", sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 860px) {
  nav.links { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .person { width: 160px; }
  .cta-band { padding: 48px 24px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ede8da;
    --ink-soft: #9db7a2;
    --cream: #12180f;
    --cream-deep: #1a2318;
    --line: #2c3628;
    --navy: #8fb39a;
  }
  header.site-header { background: rgba(18, 24, 15, 0.9); }
  .card { background: #1a2318; }
  .avatar { background: linear-gradient(135deg, #202a1c, #1a2318); }
}
