:root {
  --black: #141414;
  --ink: #1d1d1d;
  --text: #2b2b2b;
  --muted: #5c5852;
  --gold: #d2b27a;
  --gold-light: #e4c890;
  --cream: #f8f5ef;
  --sand: #ede6da;
  --charcoal: #221e1b;
  --bronze: #7a5a2e;       /* small gold-toned text on light backgrounds */
  --bronze-icon: #8c6b3a;  /* line icons on light backgrounds */
  --rule: #cfc4b0;
  --on-dark: #e6ded2;      /* body text on charcoal */
  --serif-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --logo: "Josefin Sans", "Montserrat", sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --gutter: clamp(20px, 5.7vw, 84px);
  --section-pad: clamp(56px, 5vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: clamp(64px, 6.2vw, 90px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 clamp(20px, 2.4vw, 34px);
  height: clamp(42px, 3.5vw, 50px);
  font-family: var(--sans);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.play-icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.2vw, 18px); }

.eyebrow {
  font-family: var(--sans);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}
.gold { color: var(--gold); }

/* ---------- Photos ---------- */
.photo { position: relative; width: 100%; height: 100%; min-height: 140px; overflow: hidden; background: #2a211a; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: clamp(64px, 6.2vw, 90px);
  padding: 0 clamp(20px, 3.5vw, 50px) 0 var(--gutter);
  background: var(--black);
}
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--gold); flex-shrink: 0; }
.logo-top { font-family: var(--logo); font-weight: 400; font-size: clamp(22px, 2.35vw, 34px); letter-spacing: .06em; }
.logo-bottom { font-family: var(--logo); font-size: clamp(11px, 1.2vw, 17px); letter-spacing: .14em; margin-top: 3px; }

.main-nav { display: flex; align-items: center; justify-content: flex-end; height: 100%; flex: 1; }
.main-nav a:not(.btn) {
  font-family: var(--sans);
  font-size: clamp(10px, 0.72vw, 12px);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #e9e6df;
  padding: 0 clamp(8px, 1.05vw, 17px);
  transition: color .2s;
}
.main-nav a:not(.btn):hover { color: var(--gold); }
.nav-donate { margin-left: clamp(12px, 1.8vw, 30px); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 41.5vw, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
  background: #2a2019;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,12,10,.72) 0%, rgba(15,12,10,.45) 35%, rgba(15,12,10,0) 60%);
}
.hero-content { position: relative; padding: 60px var(--gutter); max-width: 760px; }
.hero-eyebrow { margin-bottom: 14px; }
.hero h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .005em;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero-text {
  margin: clamp(16px, 1.6vw, 24px) 0 clamp(26px, 2.8vw, 40px);
  max-width: 420px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.45;
  color: #f1ece4;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(28px, 2.5vw, 36px) clamp(20px, 5.5vw, 80px);
  background: var(--sand);
}
.stat {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 12px;
}
.stat + .stat { border-left: 1px solid var(--rule); }
.icon { width: clamp(38px, 3.3vw, 50px); height: clamp(38px, 3.3vw, 50px); fill: none; stroke: var(--bronze-icon); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stat-num {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.35vw, 36px);
  color: var(--ink);
}
.stat-label {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: clamp(10px, 0.72vw, 11px);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- Section basics ---------- */
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.block { padding: var(--section-pad) var(--gutter); }
.block-head { max-width: 720px; margin-bottom: clamp(28px, 3vw, 48px); }
.narrow { max-width: 760px; }

.section-num {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--bronze);
}
.section-num::after { content: ""; width: 32px; height: 1px; background: var(--bronze); }

.split h2, .block h2, .transform h2 {
  margin: clamp(14px, 1.3vw, 22px) 0 clamp(16px, 1.6vw, 24px);
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(36px, 3.4vw, 54px);
  line-height: 1.08;
  color: var(--ink);
}
.prose p {
  max-width: 640px;
  margin-bottom: 16px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--text);
}
.prose + .btn, .prose + .btn-row { margin-top: clamp(10px, 1vw, 16px); }
.lead-italic {
  margin-bottom: 18px;
  font-style: italic;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.4;
  color: var(--muted);
}
.sub-h {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 11px;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute; left: 2px; top: .55em;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.panel { padding: clamp(24px, 2.4vw, 36px); background: var(--cream); }
.panel-sand { background: var(--sand); }
.panel .prose p:last-child, .panel .ticks li:last-child { margin-bottom: 0; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 43.4fr 56.6fr;
}
.split-text { padding: clamp(44px, 4vw, 64px) clamp(24px, 3vw, 44px) clamp(44px, 4vw, 64px) var(--gutter); }
.split-text .prose p { max-width: 540px; }
.split-media { min-height: clamp(360px, 27.5vw, 420px); padding: 3px 0 0; }
#vision .split-media { padding-top: 14px; }

/* Zig-zag: photos on the left, text on the right */
.split-reverse { grid-template-columns: 56.6fr 43.4fr; }
.split-reverse .split-media { order: -1; }
.split-reverse .split-text { padding-left: clamp(32px, 4vw, 64px); padding-right: var(--gutter); }

.photo-grid { display: flex; flex-direction: column; gap: 5px; padding-top: 0; }
.photo-row { display: grid; gap: 5px; flex: 1; }
.row-a { grid-template-columns: 58.5fr 41.5fr; }
.row-b { grid-template-columns: 44fr 56fr; }

/* ---------- 02 The Building ---------- */
.building-details {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  padding: clamp(40px, 4vw, 64px) var(--gutter) var(--section-pad);
}

/* ---------- 03 The Campus ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 1.8vw, 28px); }
.card {
  padding: clamp(26px, 2.4vw, 38px);
  background: var(--sand);
  border-top: 3px solid var(--gold);
}
.card .icon { width: 44px; height: 44px; margin-bottom: 18px; }
.card-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.card h3 {
  margin: 6px 0 4px;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(28px, 2.3vw, 36px);
  line-height: 1.1;
  color: var(--ink);
}
.card-role { margin-bottom: 16px; font-style: italic; color: var(--muted); }
.card > p:not(.card-kicker):not(.card-role) { margin-bottom: 18px; font-size: clamp(14px, 1.02vw, 16px); line-height: 1.55; }
.card-goal { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }

/* ---------- 05 Before & After ---------- */
.transform { padding: var(--section-pad) var(--gutter); }
.transform-head { max-width: 640px; margin-bottom: clamp(28px, 2.8vw, 44px); }
.transform-head > p:not(.section-num) { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; }
.ba-credit { margin-top: clamp(24px, 2.4vw, 36px); font-size: 14px; font-style: italic; color: var(--muted); }

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px) clamp(16px, 1.6vw, 24px); }
.ba { margin: 0; }
.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #2a211a;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ba-frame:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.35);
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: transform .15s;
}
.ba-knob svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-frame.dragging .ba-knob, .ba-frame:focus-visible .ba-knob { transform: translate(-50%, -50%) scale(1.1); }

.ba-label {
  position: absolute; top: 12px;
  padding: 5px 9px;
  background: rgba(20,20,20,.72);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

.ba figcaption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- 07 Leadership ---------- */
.leader {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 4.5vw, 80px);
  align-items: start;
}
.leader aside { margin-top: clamp(60px, 5.5vw, 92px); }

/* ---------- 09 The Road Ahead ---------- */
.road-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 1.8vw, 28px); }
.road-cols .panel { border-top: 3px solid var(--gold); }

/* ---------- 10 Give (dark) ---------- */
.give { background: var(--charcoal); color: var(--cream); }
.give .section-num { color: var(--gold); }
.give .section-num::after { background: var(--gold); }
.give h2 { color: var(--cream); }
.give .prose p { color: var(--on-dark); }
.give .sub-h { margin-top: 8px; color: var(--gold); }
.give .prose + .sub-h { margin-top: 30px; }
.give-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.give-grid > div:last-child { padding-top: clamp(40px, 4vw, 64px); }

.gift-table { width: 100%; border-collapse: collapse; }
.gift-table thead th {
  padding: 0 14px 12px 0;
  border-bottom: 1px solid rgba(210,178,122,.55);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold);
}
.gift-table tbody th, .gift-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid rgba(248,245,239,.14);
  vertical-align: top;
  text-align: left;
  line-height: 1.45;
}
.gift-table tbody th { font-family: var(--serif); font-weight: 400; font-size: clamp(15px, 1.15vw, 18px); color: var(--cream); }
.gift-table td { font-size: clamp(13px, 0.98vw, 15px); color: var(--on-dark); }
.gift-table td:nth-child(2) { white-space: nowrap; color: var(--gold); font-family: var(--sans); font-weight: 600; font-size: clamp(12px, 0.9vw, 14px); }

/* ---------- A Note from Sara ---------- */
.letter {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px);
  background: var(--cream);
  box-shadow: 0 12px 40px rgba(34,30,27,.08);
}
.letter h2 { margin-top: 0; }
.letter p {
  margin-bottom: 18px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--text);
}
.letter .signoff { margin: 30px 0 0; }
.letter .signature {
  margin: 4px 0 0;
  font-family: var(--script);
  font-size: clamp(48px, 4.2vw, 64px);
  line-height: 1;
  color: var(--bronze);
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(32px, 3vw, 48px) var(--gutter) 24px; background: var(--black); color: #e9e6df; }
.footer-top { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 56px); }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: #bdb6aa; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(16px, 2vw, 30px); flex: 1; }
.footer-nav a {
  font-family: var(--sans);
  font-size: clamp(10px, 0.72vw, 11px);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #e9e6df;
}
.footer-nav a:hover, .social a:hover { color: var(--gold); }
.footer-actions { display: flex; align-items: center; gap: 22px; }
.social { display: flex; gap: 18px; color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-copy {
  margin-top: clamp(24px, 2.4vw, 36px);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .06em;
  color: #9d968b;
}

/* ---------- Header menu (collapses before the 7 nav links run out of room) ---------- */
@media (max-width: 1180px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--gold); }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    height: auto;
    padding: 8px 0 20px;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px var(--gutter); font-size: 13px; }
  .nav-donate { margin: 12px var(--gutter) 0; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; max-width: 720px; }
  .leader, .give-grid { grid-template-columns: 1fr; }
  .leader aside { margin-top: 0; }
  .give-grid > div:last-child { padding-top: 0; }
  .footer-top { flex-wrap: wrap; }
  .footer-nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .footer-actions { margin-left: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15,12,10,0) 0%, rgba(15,12,10,.1) 25%, rgba(15,12,10,.72) 55%, rgba(15,12,10,.88) 100%); }
  .hero { background: #15110e; }
  .hero-photo {
    height: 62%;
    object-position: 69% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero-content { padding: 48px var(--gutter) 40px; }
  .hero-text { max-width: none; }

  .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; padding: 32px 12px; }
  .stat:nth-child(3) { border-left: 0; }

  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-text, .split-reverse .split-text { padding: 44px var(--gutter) 36px; }
  .split-media { min-height: 260px; }
  #vision .split-media { padding-top: 0; }
  .photo-grid { min-height: 420px; }

  .building-details, .road-cols { grid-template-columns: 1fr; }

  .ba-grid { grid-template-columns: 1fr; }

  /* Gift table becomes stacked rows */
  .gift-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gift-table, .gift-table tbody, .gift-table tr, .gift-table tbody th, .gift-table td { display: block; }
  .gift-table tr { padding: 16px 0; border-bottom: 1px solid rgba(248,245,239,.14); }
  .gift-table tbody th, .gift-table td { padding: 0; border: 0; }
  .gift-table td:nth-child(2) { margin: 4px 0 6px; }

  .site-footer { text-align: center; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { order: 0; flex-basis: auto; justify-content: center; }
  .footer-actions { margin-left: 0; }
}

@media (max-width: 400px) {
  .btn-row .btn { flex: 1 1 100%; }
}
