:root {
  --bg: #f6f2eb;
  --text: #231e1b;
  --muted: #6c6057;
  --line: #ddd0c6;
  --gold: #c6991b;
  --maroon: #7a1f36;
  --surface: #fffdfa;
  --content-width: min(1080px, calc(100vw - 48px));
  --sans: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --serif: "Georgia", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

body[data-page="home"] {
  height: 100dvh;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  min-height: 100vh;
}

body[data-page="home"] .page-shell {
  height: 100dvh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.site-header,
.home-main,
.content-main {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 0 8px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.wordmark {
  width: 190px;
}

.wordmark-header {
  justify-self: start;
  width: 150px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: center;
}

.site-nav a,
.site-socials a,
.leader-tile a,
.primary-link {
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-socials a:hover,
.leader-tile a:hover,
.primary-link:hover {
  color: var(--maroon);
}

.site-socials {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.site-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.site-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

body[data-page="about"] .site-nav a[href="/about/"],
body[data-page="speakers"] .site-nav a[href="/speakers/"],
body[data-page="leadership"] .site-nav a[href="/leadership/"],
body[data-page="donate"] .site-nav a[href="/donate/"],
body[data-page="about"] .mobile-nav a[href="/about/"],
body[data-page="speakers"] .mobile-nav a[href="/speakers/"],
body[data-page="leadership"] .mobile-nav a[href="/leadership/"],
body[data-page="donate"] .mobile-nav a[href="/donate/"] {
  color: var(--text);
}

.home-main {
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.hero-minimal {
  display: grid;
  gap: 10px;
  width: min(840px, 100%);
  padding: 0;
  text-align: center;
  align-content: center;
}

.hero-kicker,
.page-kicker,
.card-label {
  margin: 0;
  color: var(--maroon);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-kicker {
  color: var(--maroon);
}

.hero-copy h1,
.page-intro h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 11vw, 7rem);
}

.hero-logo {
  width: min(1040px, 96vw);
  max-height: 38dvh;
  margin: 0 auto;
  object-fit: contain;
}

.hero-subtitle,
.copy-column p,
.simple-card p,
.stat-item p,
.leader-tile p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.02rem;
}

.search-hero {
  display: flex;
  justify-content: center;
}

.search-frame {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(820px, 100%);
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.search-glass {
  width: 18px;
  height: 18px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  flex: 0 0 auto;
  position: relative;
}

.search-glass::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -6px;
  width: 8px;
  height: 2px;
  background: var(--muted);
  transform: rotate(45deg);
}

.search-text {
  flex: 1;
  margin: 0;
  min-height: 1.4em;
  text-align: left;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.5;
}

.search-caret {
  width: 1px;
  height: 1.4em;
  background: var(--text);
  animation: blink 1s steps(1, end) infinite;
}

.content-main {
  padding: 24px 0 80px;
}

.page-intro {
  max-width: 760px;
  padding: 12px 0 36px;
}

.page-intro h1 {
  font-size: clamp(3rem, 7.4vw, 5.35rem);
}

.copy-grid,
.simple-grid,
.leaders-grid,
.stats-row,
.speaker-list {
  display: grid;
  gap: 24px;
}

.about-story,
.about-work,
.about-impact,
.about-news {
  padding-bottom: 48px;
}

.about-story .copy-grid {
  max-width: 760px;
  grid-template-columns: 1fr;
  gap: 18px;
}

.about-story .copy-column p {
  margin-bottom: 0;
}

.about-cta {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
  padding-top: 12px;
}

.donate-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 34px;
}

.donate-hero-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.donate-hero .page-intro {
  padding: 0;
}

.donate-hero .page-intro h1 {
  margin-bottom: 18px;
}

.donate-hero-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: start;
  padding-bottom: 24px;
}

.donate-info {
  display: grid;
  gap: 26px;
}

.donate-section {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.donation-panel {
  width: 100%;
  max-width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.donation-panel-cta {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.donation-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.donation-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.donation-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  margin: 2px 0 0;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--maroon);
  border: 1px solid var(--maroon);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.donation-submit:hover {
  background: #5f1729;
  border-color: #5f1729;
  transform: translateY(-1px);
}

.donation-contact {
  margin: 10px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(122, 31, 54, 0.055);
  font-size: 0.96rem;
}

.support-list {
  display: grid;
  gap: 18px;
  padding-top: 6px;
}

.support-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.support-item:first-child {
  padding-top: 6px;
  border-top: 0;
}

.support-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.support-item p {
  margin: 0;
}

.news-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.news-meta p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.news-copy h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
  line-height: 1.2;
}

.news-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.section-label-wrap {
  padding-bottom: 18px;
}

.copy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manifesto-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.manifesto-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.manifesto-index {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  color: rgba(122, 31, 54, 0.32);
}

.manifesto-content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.manifesto-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.copy-column p {
  margin: 0 0 20px;
  font-size: 1.02rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 56px;
}

.simple-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.simple-card h2,
.leader-tile h2 {
  margin: 8px 0 8px;
  font-size: 1.34rem;
  line-height: 1.2;
}

.simple-list {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.stats-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.stats-row-emphasis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(880px, 100%);
  margin: 0 auto;
  padding-top: 18px;
}

.stat-item {
  padding-top: 18px;
  text-align: center;
}

.stat-item span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--maroon);
  line-height: 1;
}

.stats-row-emphasis .stat-item {
  padding: 24px 12px 8px 0;
}

.stats-row-emphasis .stat-item span {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.stats-row-emphasis .stat-item p {
  margin-top: 10px;
  font-size: 1rem;
}

.leaders-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.speaker-year-section {
  max-width: 900px;
}

.speaker-year-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.speaker-list {
  gap: 0;
}

.speaker-list-item {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.speaker-list-item h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.speaker-list-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.leader-tile {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.leader-tile img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}

.leader-tile p {
  margin: 0 0 12px;
}

.contact-row {
  padding-top: 12px;
}

.primary-link {
  font-size: 1rem;
}

.about-cta-copy h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.about-cta-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--maroon);
  border-radius: 999px;
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cta-link:hover {
  background: #5f1729;
  border-color: #5f1729;
  color: #fff;
  transform: translateY(-1px);
}

.about-cta-media img {
  width: 100%;
  max-height: 420px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .copy-grid,
  .three-up,
  .leaders-grid,
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-cta {
    grid-template-columns: 1fr;
  }

  .news-feature {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .donate-hero,
  .donate-layout {
    grid-template-columns: 1fr;
  }

  .donate-hero > *,
  .donate-layout > * {
    min-width: 0;
  }

  .donation-panel-cta {
    position: static;
  }
}

@media (max-width: 700px) {
  :root {
    --content-width: min(1080px, calc(100vw - 20px));
  }

  .site-header,
  .home-main,
  .content-main {
    width: calc(100vw - 20px);
    max-width: 1080px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    gap: 10px 14px;
    padding-top: 10px;
    padding-bottom: 4px;
  }

  .wordmark-header {
    width: 112px;
    grid-row: auto;
    grid-column: auto;
    justify-self: start;
  }

  .site-nav {
    display: none;
  }

  .site-socials {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    grid-auto-rows: 2px;
    align-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    position: fixed;
    top: 12px;
    right: 40px;
    z-index: 20;
    padding: 0 12px;
    border: 1px solid rgba(122, 31, 54, 0.2);
    border-radius: 999px;
    background: rgba(255, 253, 250, 0.9);
    box-shadow: 0 10px 24px rgba(91, 36, 53, 0.08);
    color: var(--maroon);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    padding: 14px 16px 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(251, 248, 243, 0.98);
    box-shadow: 0 20px 48px rgba(91, 36, 53, 0.08);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-nav {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    display: block;
    padding: 10px 2px;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--muted);
    border-bottom: 1px solid rgba(91, 36, 53, 0.08);
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 2px;
  }

  .mobile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--muted);
  }

  .mobile-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .hero-minimal {
    width: 100%;
    gap: 14px;
    align-content: start;
    padding-top: clamp(8px, 4vh, 24px);
  }

  .hero-logo {
    width: min(420px, 82vw);
    max-height: 14dvh;
  }

  .hero-kicker {
    font-size: 0.74rem;
  }

  .hero-subtitle {
    max-width: 18rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .home-main {
    align-items: start;
  }

  .search-frame {
    min-height: 82px;
    align-items: center;
    padding: 0 18px;
    border-radius: 28px;
    width: 100%;
  }

  .search-text {
    font-size: 1.02rem;
  }

  .copy-grid,
  .three-up,
  .leaders-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .manifesto-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .speaker-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .content-main {
    padding: 12px 0 52px;
  }

  .page-intro {
    padding: 8px 0 24px;
  }

  .page-intro h1 {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
    line-height: 0.96;
    max-width: 11ch;
  }

  .page-kicker,
  .card-label {
    font-size: 0.76rem;
  }

  .donate-hero {
    gap: 18px;
    padding-bottom: 26px;
  }

  .donate-hero,
  .donate-layout,
  .donate-info,
  .donate-section {
    width: 100%;
    max-width: calc(100vw - 20px);
  }

  .donation-panel {
    width: 100%;
    max-width: min(100%, 310px);
    margin: 0 auto;
  }

  .donate-hero-media img,
  .about-cta-media img {
    max-height: 260px;
  }

  .donation-panel,
  .leader-tile,
  .simple-card {
    padding: 20px;
  }

  .donation-panel p,
  .donation-contact {
    overflow-wrap: anywhere;
  }
}
