/* ===== TOKENS ===== */
:root {
  --bg-primary: #FAFAF8;
  --bg-secondary: #F2F1ED;
  --bg-tertiary: #E8E7E3;
  --bg-dark: #1A1A1A;
  --text-primary: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted: #6F6F6B;
  --text-inverse: #FAFAF8;
  --border: #E5E4DF;
  --accent: #00AEFF;
  --accent-light: #3DC2FF;
  --accent-wash: #E5F6FF;
  --earth: #6B7F56;
  --earth-light: #7E9466;
  --earth-wash: #EEF2EA;
  --earth-wash-deep: #E2EAD9;
  --donate-bg: #00AEFF;
  --donate-hover: #0D2E63;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --s-xs: 4px; --s-sm: 8px; --s-md: 16px; --s-lg: 32px;
  --s-xl: 64px; --s-2xl: 96px; --s-3xl: 128px;
  --shadow-hover: rgba(0,0,0,0.03) 0 1px 2px, rgba(0,0,0,0.06) 0 4px 12px;
  --shadow-card: rgba(0,0,0,0.04) 0 1px 3px, rgba(0,0,0,0.08) 0 6px 16px;
  --max-prose: 720px;
  --max-content: 1080px;
  --max-wide: 1280px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; }

body {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

h1, h2, h3 { font-family: var(--font-display); }
h1 { font-size: 56px; font-weight: 600; line-height: 1.1; letter-spacing: -1.5px; }
h2 { font-size: 36px; font-weight: 500; line-height: 1.2; letter-spacing: -0.8px; }
h3 { font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -0.3px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--earth);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px); height: 72px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: -0.5px;
  color: var(--text-inverse); transition: color 0.3s ease;
}
.nav.scrolled .nav-logo { color: var(--text-primary); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 15px; font-weight: 400;
  color: rgba(250, 250, 248, 0.75); transition: color 0.2s ease;
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-inverse); }
.nav.scrolled .nav-links a:hover { color: var(--accent); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; background: var(--accent-light);
}
.nav-hamburger {
  display: none; background: none; border: none;
  width: 32px; height: 32px; position: relative;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-inverse);
  position: absolute; left: 5px; transition: all 0.3s ease;
}
.nav.scrolled .nav-hamburger span { background: var(--text-primary); }
.nav-hamburger span:nth-child(1) { top: 10px; }
.nav-hamburger span:nth-child(2) { top: 16px; }
.nav-hamburger span:nth-child(3) { top: 22px; }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(26, 26, 26, 0.97);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500; color: var(--text-inverse);
  letter-spacing: -0.5px;
}
.mobile-nav a:hover { color: var(--accent-light); }

/* ===== HERO — shared base ===== */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-3xl) clamp(20px, 4vw, 48px) var(--s-2xl);
  background: var(--bg-dark); overflow: hidden;
}

/* Full-height variant for index.html */
.hero-index {
  min-height: 100vh; min-height: 100dvh;
  padding-bottom: 0;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  filter: saturate(0.85) contrast(1.05);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
}
.hero-index .hero-bg { background-position: center 30%; }
.hero-index .hero-bg::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.75) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-content); margin: 0 auto; width: 100%;
  text-align: center;
  padding-bottom: 0;
}
.hero-index .hero-content {
  text-align: left;
  padding-bottom: var(--s-lg);
}

.hero-tagline {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(250, 250, 248, 0.65); margin-bottom: var(--s-md);
  opacity: 0; animation: heroFadeUp 0.8s ease 0.3s forwards;
}
.hero h1 {
  color: var(--text-inverse); margin-bottom: var(--s-md);
  opacity: 0; animation: heroFadeUp 0.8s ease 0.5s forwards;
}
.hero-index h1 { max-width: 700px; }
.hero-sub {
  font-size: 19px; line-height: 1.55;
  color: rgba(250, 250, 248, 0.8); max-width: 580px;
  opacity: 0; animation: heroFadeUp 0.8s ease 0.7s forwards;
}
.hero-index .hero-sub { margin: 0; }
.hero-content:not(.hero-index .hero-content) .hero-sub { margin: 0 auto; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PHOTO STRIP ===== */
.photo-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto clamp(16px, 2.5vw, 32px);
  opacity: 0; animation: heroFadeUp 0.8s ease 0.9s forwards;
}
.photo-strip-item {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 0.5rem;
}
.photo-strip-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.6s ease;
  transform: scale(0.7);
}
.photo-strip-item-inset img {
  object-fit: contain;
  padding: 9%;
}
.photo-strip-item:hover img { transform: scale(0.735); }
.photo-strip-label {
  display: block;
  padding: 12px 10px;
  background: #fff;
  text-align: center;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
}

/* ===== SECTIONS ===== */
.section { padding: var(--s-2xl) clamp(20px, 4vw, 48px); }
.section-inner { max-width: var(--max-content); margin: 0 auto; }
.section-header { margin-bottom: var(--s-xl); }
.section-header .eyebrow { margin-bottom: var(--s-sm); }
.section-header p.sub {
  color: var(--text-secondary); max-width: var(--max-prose); margin-top: var(--s-md);
}
.section-earth { background: var(--earth-wash); }
.section-earth .eyebrow { color: var(--earth); }
.section-earth-deep { background: var(--earth-wash-deep); }
.section-earth-deep .eyebrow { color: var(--earth); }

/* ===== ANIMATIONS ===== */
.anim {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.anim.visible { opacity: 1; transform: translateY(0); }
.stagger-children .anim-child {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.stagger-children.visible .anim-child { opacity: 1; transform: translateY(0); }

/* ===== INTRO TEXT ===== */
.intro-text {
  max-width: var(--max-prose); margin: 0 auto;
  font-size: 20px; line-height: 1.6;
  color: var(--text-secondary); text-align: center;
}
.intro-text strong { color: var(--text-primary); font-weight: 600; }

/* ===== AWARDS ===== */
.awards-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.award-badge {
  display: flex; align-items: center; gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.award-badge:hover {
  box-shadow: rgba(0,0,0,0.04) 0 2px 4px, rgba(0,0,0,0.1) 0 8px 24px;
  border-left-color: var(--accent-light);
  animation: badgeWiggle 0.45s ease-out;
}
@keyframes badgeWiggle {
  0%   { transform: rotate(0deg); }
  18%  { transform: rotate(1.3deg); }
  38%  { transform: rotate(-0.9deg); }
  58%  { transform: rotate(0.5deg); }
  78%  { transform: rotate(-0.2deg); }
  100% { transform: rotate(0deg); }
}
.award-badge-icon {
  width: 36px; height: 36px;
  background: var(--accent-wash);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent); font-size: 18px;
}
.award-badge-content { flex: 1; }
.award-badge-text { font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.award-badge-year { font-size: 14px; color: var(--text-muted); white-space: nowrap; }

/* ===== STATS ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: #D6E6F0;
  border: 1px solid #D6E6F0; border-radius: 12px; overflow: hidden;
}
.stat-cell {
  background: #EFF9FF; padding: var(--s-lg); text-align: center;
  transition: background 0.2s ease;
}
.stat-cell:hover { background: #DCF1FF; }
.stat-number {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 700;
  line-height: 1; letter-spacing: -2px;
  color: #00A0E8; margin-bottom: 6px;
}
.stat-label {
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); line-height: 1.4;
}

/* ===== SPLIT PANELS ===== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch; min-height: 520px;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image {
  position: relative; overflow: hidden;
  border-radius: 12px; margin: var(--s-lg);
}
.split-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.split-image:hover img { transform: scale(1.04); }
.split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-xl) var(--s-xl) var(--s-xl) var(--s-lg);
}
.split.reverse .split-text {
  padding: var(--s-xl) var(--s-lg) var(--s-xl) var(--s-xl);
}
.split-text .eyebrow { margin-bottom: var(--s-sm); color: var(--earth); }
.split-text h2 { margin-bottom: var(--s-md); }
.split-text p { color: var(--text-secondary); margin-bottom: var(--s-md); line-height: 1.65; }
.split-text ul { list-style: none; padding: 0; }
.split-text ul li {
  padding: 6px 0 6px 22px; position: relative;
  color: var(--text-secondary); font-size: 16px;
}
.split-text ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%235BA8D4" stroke="%235BA8D4" stroke-width="1.5" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>') no-repeat center / contain;
}

/* ===== MID-PAGE CTA ===== */
.mid-cta {
  text-align: center;
  padding: var(--s-2xl) clamp(20px, 4vw, 48px);
  background: #082F4D;
  position: relative; overflow: hidden;
}
.mid-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #082F4D 0%, #0E5E96 100%);
}
.mid-cta-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.mid-cta h2 { color: #fff; font-size: 32px; margin-bottom: var(--s-md); }
.mid-cta p { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.6; margin-bottom: var(--s-lg); }
.mid-cta .footer-fee { color: rgba(255,255,255,0.85); margin-top: 10px; font-size: 14px; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.gallery-item {
  position: relative; aspect-ratio: 1/1;
  border-radius: 8px; overflow: hidden;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9);
}

/* ===== VIDEO ===== */
.video-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-lg); max-width: var(--max-content); margin: 0 auto;
}
.video-item { text-align: center; }
.video-wrap {
  position: relative; aspect-ratio: 16/9;
  border-radius: 8px; overflow: hidden;
  background: var(--bg-dark); margin-bottom: var(--s-md);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-title { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.video-meta { font-size: 14px; color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn-donate {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--donate-bg); color: #fff;
  font-size: 16px; font-weight: 600;
  padding: 16px 36px; border-radius: 100px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-donate:hover { background: var(--donate-hover); transform: translateY(-1px); }
.btn-donate-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent);
  font-size: 16px; font-weight: 600;
  padding: 16px 36px; border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-donate-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: #007AB3; }

/* ===== FOOTER ===== */
footer {
  background: #083C5F radial-gradient(circle farthest-corner at 50% 40%, #0E5E96 0%, #083C5F 110%);
  color: var(--text-inverse);
  padding: var(--s-2xl) clamp(20px, 4vw, 48px) var(--s-xl);
}
.footer-inner { max-width: var(--max-content); margin: 0 auto; text-align: center; }
.footer-headline {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.8px; margin-bottom: var(--s-md);
}
.footer-sub {
  font-size: 17px; line-height: 1.6;
  color: rgba(250,250,248,0.85);
  max-width: 480px; margin: 0 auto var(--s-lg);
}
.footer-fee { font-size: 14px; color: rgba(250,250,248,0.85); margin-top: 10px; }
.footer-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.1);
  margin: var(--s-xl) 0 var(--s-lg);
}
.footer-contact { font-size: 15px; color: rgba(250,250,248,0.85); line-height: 1.8; }
.footer-contact a { color: rgba(250,250,248,0.95); transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent-light); }
.footer-sign-off { font-size: 14px; color: rgba(250,250,248,0.8); margin-top: var(--s-lg); }

/* ===== SUPPORT PAGE ===== */
.amounts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: var(--s-xl);
}
.amount-card {
  background: #fff; border: 2px solid var(--border); border-radius: 12px;
  padding: var(--s-lg) var(--s-md); text-align: center; cursor: pointer;
  transition: all 0.25s ease;
}
.amount-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.amount-card.featured { border-color: var(--accent); background: var(--accent-wash); }
.amount-value {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--accent); letter-spacing: -1.5px; margin-bottom: 4px;
}
.amount-label { font-size: 14px; color: var(--text-muted); }
.funds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--s-xl); }
.fund-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: var(--s-lg); text-align: center; box-shadow: var(--shadow-card);
}
.fund-icon {
  width: 56px; height: 56px; background: var(--accent-wash); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-md); font-size: 26px;
}
.fund-card h3 { font-size: 18px; margin-bottom: var(--s-sm); }
.fund-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.donate-section {
  text-align: center; padding: var(--s-2xl) clamp(20px, 4vw, 48px);
  background: #082F4D; position: relative; overflow: hidden;
}
.donate-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #082F4D 0%, #0E5E96 100%);
}
.donate-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.donate-section h2 { color: #fff; font-size: 32px; margin-bottom: var(--s-md); }
.donate-section p { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.6; margin-bottom: var(--s-lg); }
.fee-note { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 10px; }
.thankyou { text-align: center; max-width: 600px; margin: 0 auto; }
.thankyou h2 { margin-bottom: var(--s-md); }
.thankyou p { color: var(--text-secondary); margin-bottom: var(--s-md); line-height: 1.65; }
.thankyou a { color: var(--accent); font-weight: 600; transition: color 0.2s; }
.thankyou a:hover { color: var(--accent-light); }

/* ===== ESSAYS PAGE ===== */
.essay-list { max-width: var(--max-prose); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.essay-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow 0.3s;
}
.essay-card:hover { box-shadow: rgba(0,0,0,0.04) 0 2px 4px, rgba(0,0,0,0.1) 0 8px 24px; }
.essay-header {
  display: flex; align-items: center; gap: 12px; padding: 24px 28px;
  cursor: pointer; user-select: none; transition: background 0.2s;
}
.essay-header:hover { background: #EFF9FF; }
.essay-header-content { flex: 1; }
.essay-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 4px; }
.essay-school {
  display: inline-block; background: var(--accent-wash); color: #0E5E96;
  font-size: 14px; font-weight: 600; padding: 2px 10px; border-radius: 100px; margin-bottom: 6px;
  transition: background 0.3s ease;
}
.essay-header:hover .essay-school { background: #fff; }
.essay-preview {
  font-size: 15px; color: var(--text-muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.essay-chevron { width: 24px; height: 24px; color: #0E5E96; transition: transform 0.35s ease; flex-shrink: 0; }
.essay-card.open .essay-chevron { transform: rotate(180deg); }
.essay-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
.essay-body-inner { padding: 0 28px 28px; border-top: 1px solid var(--border); padding-top: 24px; }
.essay-body-inner p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; font-size: 17px; }
.essay-body-inner p:last-child { margin-bottom: 0; }
.essay-author {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-style: italic;
}
.sub-essay { margin-top: 16px; border-left: 3px solid var(--accent); padding-left: 20px; }
.sub-essay-header { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 10px 0; user-select: none; }
.sub-essay-header h4 { font-family: var(--font-display); font-size: 17px; font-weight: 500; flex: 1; color: var(--text-primary); }
.sub-essay-chevron { width: 18px; height: 18px; color: #0E5E96; transition: transform 0.3s; }
.sub-essay.open .sub-essay-chevron { transform: rotate(180deg); }
.sub-essay-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.sub-essay-body-inner { padding: 8px 0 16px; }
.sub-essay-body-inner p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.65; font-size: 16px; }

/* ===== LETTERS PAGE ===== */
.letters-container { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }
.letter {
  position: relative; background: #FFFFFF; border-radius: 4px;
  padding: 56px 64px 48px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.04);
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.01) 0%, transparent 2%),
                    linear-gradient(to right, rgba(0,0,0,0.008) 0%, transparent 1%);
}
.letter::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 4px 4px 0 0;
}
.letter::after {
  content: ''; position: absolute; left: 48px; right: 48px; top: 33%;
  height: 1px; background: rgba(0,0,0,0.03); pointer-events: none;
}
.letter-date { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; letter-spacing: 0.02em; }
.letter-salutation { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--text-primary); margin-bottom: 20px; }
.letter-body p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; font-size: 16px; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-closing { margin-top: 32px; padding-top: 24px; }
.letter-closing-text { font-style: italic; color: var(--text-secondary); margin-bottom: 8px; font-size: 16px; }
.letter-signature { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.3px; margin-bottom: 4px; }
.letter-title-line { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.letter-quote-mark {
  font-family: Georgia, 'Times New Roman', serif; font-size: 94px; font-weight: 700;
  color: var(--accent); opacity: 0.15; line-height: 1;
  position: absolute; top: 40px; right: 56px;
  user-select: none; pointer-events: none;
}
.letter-label {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; text-align: center;
}
.more-letters {
  text-align: center; padding: 48px 32px;
  border: 2px dashed var(--border); border-radius: 8px;
  color: var(--text-muted); font-size: 16px;
}
.more-letters-icon { font-size: 32px; margin-bottom: 12px; opacity: 0.5; }

/* ===== RESUME PAGE ===== */
.resume-container { max-width: 820px; margin: 0 auto; }
.resume-doc {
  background: #fff; border-radius: 4px; padding: 64px 72px 56px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.04);
  position: relative;
}
.resume-doc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 4px 4px 0 0;
}
.resume-header { text-align: center; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 2px solid var(--bg-secondary); }
.resume-name { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -1px; color: var(--text-primary); margin-bottom: 8px; }
.resume-tagline { font-size: 16px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 16px; }
.resume-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; color: var(--text-muted); }
.resume-meta-item { display: flex; align-items: center; gap: 6px; }
.resume-meta-icon { opacity: 0.7; }
.snapshot-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; margin-bottom: 40px;
}
.snapshot-cell { background: var(--bg-primary); padding: 20px 16px; text-align: center; }
.snapshot-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent); letter-spacing: -1px; line-height: 1; margin-bottom: 4px; }
.snapshot-label { font-size: 14px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.resume-section { margin-bottom: 36px; }
.resume-section:last-child { margin-bottom: 0; }
.resume-section-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 10px; margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.resume-section-title .icon { color: var(--accent); font-size: 18px; }
.resume-entry { margin-bottom: 20px; }
.resume-entry:last-child { margin-bottom: 0; }
.resume-entry-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; flex-wrap: wrap; gap: 4px; }
.resume-entry-title { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.resume-entry-date { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.resume-entry-sub { font-size: 15px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.resume-entry ul { list-style: none; padding: 0; }
.resume-entry ul li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 4px; }
.resume-entry ul li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%235BA8D4" stroke="%235BA8D4" stroke-width="1.5" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>') no-repeat center / contain; }
.skills-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill { display: inline-block; background: var(--accent-wash); color: var(--accent); font-size: 14px; font-weight: 600; padding: 6px 16px; border-radius: 100px; }
.scholarship-section { margin-top: 48px; padding-top: 40px; border-top: 2px solid var(--bg-secondary); }
.scholarship-section .resume-section-title { border-bottom-color: var(--earth); }
.scholarship-section .resume-section-title .icon { color: var(--earth); }
.scholarship-section p { color: var(--text-secondary); line-height: 1.75; font-size: 16px; margin-bottom: 16px; }
.scholarship-section p:last-child { margin-bottom: 0; }
.resume-closing { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; font-size: 14px; color: var(--text-muted); }
.resume-closing strong { color: var(--text-primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .stat-number { font-size: 44px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 36px; letter-spacing: -1px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: var(--s-xl) clamp(20px, 4vw, 48px); }
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .photo-strip-label { font-size: 12px; padding: 10px 8px; }
  .split { grid-template-columns: 1fr; min-height: auto; }
  .split.reverse { direction: ltr; }
  .split-image { aspect-ratio: 4/3; margin: 0 0 var(--s-lg) 0; border-radius: 8px; }
  .split-text { padding: 0 0 var(--s-lg) 0 !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 40px; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { gap: 8px; }
  .award-badge { padding: 12px 14px; }
  .footer-headline { font-size: 26px; }
  .mid-cta h2 { font-size: 26px; }
  .amounts-grid { grid-template-columns: repeat(2, 1fr); }
  .funds-grid { grid-template-columns: 1fr; }
  .essay-header { padding: 20px; }
  .essay-body-inner { padding: 0 20px 20px; padding-top: 20px; }
  .letter { padding: 36px 28px 32px; }
  .letter::after { left: 20px; right: 20px; }
  .letter-quote-mark { font-size: 62px; top: 28px; right: 24px; }
  .letters-container { gap: 40px; }
  .resume-doc { padding: 36px 24px 32px; }
  .resume-name { font-size: 28px; }
  .snapshot-bar { grid-template-columns: repeat(2, 1fr); }
  .snapshot-value { font-size: 24px; }
  .resume-entry-header { flex-direction: column; }
}
@media (max-width: 480px) {
  h1 { font-size: 30px; }
  .stat-number { font-size: 36px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .anim, .stagger-children .anim-child { opacity: 1; transform: none; transition: none; }
  .award-badge:hover { animation: none; }
  .photo-strip-item img, .split-image img, .gallery-item img { transition: none; }
  .hero-tagline, .hero h1, .hero-sub, .photo-strip { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== CONTRIBUTE DRAWER ===== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(8, 47, 77, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.contribute-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(440px, 100%);
  background: var(--bg-primary);
  box-shadow: rgba(8, 47, 77, 0.25) -16px 0 48px;
  transform: translateX(102%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 56px clamp(24px, 6vw, 40px) 48px;
}
.contribute-drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-tertiary); color: var(--text-secondary);
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer-close:hover { background: var(--accent-wash); color: #0E5E96; }
.drawer-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  letter-spacing: -0.5px; margin-bottom: var(--s-md);
}
.drawer-amount-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--s-lg);
}
.drawer-amount-row label { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.drawer-text { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin-bottom: var(--s-md); }
.drawer-address {
  display: block; font-style: normal;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px; margin-bottom: var(--s-md);
  font-size: 15px; line-height: 1.7; color: var(--text-primary); font-weight: 600;
}
.drawer-venmo { width: 100%; justify-content: center; margin-bottom: var(--s-sm); }
.drawer-thanks { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: var(--s-lg); }
.drawer-divider {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--s-lg);
}
.drawer-divider::before, .drawer-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.drawer-field { margin-bottom: var(--s-md); }
.drawer-field label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}
.drawer-field input, .drawer-field select, .drawer-field textarea,
.drawer-amount-row select, .drawer-amount-row input {
  width: 100%; font: inherit; font-size: 15px; color: var(--text-primary);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px;
}
.drawer-amount-row select { width: auto; flex: 1; }
.drawer-amount-row input { width: 110px; flex: none; }
.drawer-field textarea { min-height: 90px; resize: vertical; }
.drawer-field input:focus, .drawer-field select:focus, .drawer-field textarea:focus,
.drawer-amount-row select:focus, .drawer-amount-row input:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.drawer-submit { width: 100%; justify-content: center; }
.drawer-error { color: #B3261E; font-size: 14px; margin-bottom: var(--s-md); display: none; }
.drawer-success { display: none; text-align: center; padding: var(--s-lg) 0; }
.drawer-success h4 { font-family: var(--font-display); font-size: 20px; margin-bottom: var(--s-sm); }
.drawer-success p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .contribute-drawer, .drawer-overlay { transition: none; }
}

/* Custom select chevron, inset from the right edge */
.drawer-amount-row select, .drawer-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235C5C5C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  padding-right: 44px;
}
