:root {
  --ink: #132a35;
  --ink-soft: #1d3945;
  --cream: #f7f3e9;
  --paper: #fffdf7;
  --gold: #c9a14b;
  --gold-light: #e4cb86;
  --leaf: #436d5b;
  --text: #26343a;
  --muted: #6a746f;
  --border: rgba(19, 42, 53, .15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: .35rem;
  background: white;
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.wordmark {
  display: flex;
  gap: .7rem;
  align-items: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}
nav { display: flex; gap: 2rem; }
nav a {
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
nav a:hover, nav a:focus-visible { color: var(--gold-light); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: 9.5rem max(1.5rem, calc((100vw - var(--max)) / 2)) 6rem;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 14%, rgba(201,161,75,.17), transparent 24rem),
    linear-gradient(128deg, #102630, #1d3b45 65%, #254d4b);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(228,203,134,.16);
}
.hero::before { width: 37rem; height: 37rem; right: -10rem; top: 5rem; }
.hero::after { width: 24rem; height: 24rem; right: -4rem; top: 11.5rem; }
.hero-copy { max-width: 680px; }
.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; }
h1 {
  margin-bottom: 1.8rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.5vw, 6.7rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
}
h1 em { color: var(--gold-light); font-weight: 400; }
.hero-lead {
  max-width: 630px;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.78);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.62;
}
.hero-actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .04em;
  line-height: 1.25;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #142b35; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-light); }
.button-gold { background: var(--ink); color: white; }
.button-gold:hover, .button-gold:focus-visible { background: var(--ink-soft); }
.text-link {
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration-color: var(--gold);
  text-underline-offset: .35rem;
}
.giving-note { max-width: 520px; margin: 1.2rem 0 0; color: rgba(255,255,255,.58); font-size: .78rem; line-height: 1.5; }
.giving-note strong { color: rgba(255,255,255,.8); }

.portrait-card {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: .65rem;
  border: 1px solid rgba(228,203,134,.45);
  border-radius: 50%;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.portrait-card figcaption {
  position: relative;
  width: 86%;
  margin: -2.3rem auto 0;
  padding: 1rem 1.25rem;
  color: var(--ink);
  background: var(--cream);
  text-align: center;
  box-shadow: 0 18px 40px rgba(3,17,21,.28);
}
.portrait-card figcaption span { display: block; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.portrait-card figcaption strong { display: block; margin-top: .3rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }

.legacy-line { padding: 3rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--cream); text-align: center; }
.legacy-line p { max-width: 900px; margin: 0 auto; color: var(--ink); font-family: var(--serif); font-size: clamp(1.35rem, 2.7vw, 2.15rem); line-height: 1.45; }

.section { padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 3.5rem; }
.section-heading h2, .story h2, .closing h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.scholarship { background: var(--paper); }
.scholarship-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.scholarship-story { max-width: 680px; }
.scholarship-story > p { margin: 0 0 1.25rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.75; }
.scholarship-story .button { margin-top: 1rem; }
.fund-card { padding: clamp(2rem, 4vw, 3rem); border-top: 4px solid var(--gold); background: var(--cream); box-shadow: 0 20px 50px rgba(19,42,53,.08); }
.fund-label, .card-kicker { margin: 0 0 .75rem; color: var(--leaf); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.fund-card h3, .connection-card h3 { color: var(--ink); font-family: var(--serif); font-size: clamp(1.7rem, 2.7vw, 2.25rem); font-weight: 400; line-height: 1.18; }
.fund-card a, .connection-card a { color: var(--ink); font-size: .82rem; font-weight: 750; text-decoration-color: var(--gold); text-underline-offset: .3rem; }

.story {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(2rem, 9vw, 10rem);
  overflow: hidden;
  color: rgba(255,255,255,.76);
  background: var(--ink);
}
.story::after { content: ""; position: absolute; z-index: -1; left: 12%; top: 25%; width: 28rem; height: 28rem; border: 1px solid rgba(228,203,134,.12); border-radius: 50%; }
.story-number { align-self: center; color: rgba(228,203,134,.16); font-family: var(--serif); font-size: clamp(12rem, 26vw, 23rem); line-height: .75; letter-spacing: -.1em; }
.story-copy { max-width: 680px; }
.story h2 { color: white; }
.story-copy > p:not(.eyebrow) { margin-bottom: 1.25rem; font-family: var(--serif); font-size: 1.17rem; line-height: 1.75; }
.text-link.light { color: var(--gold-light); }

.connections { background: #f2ede1; }
.connection-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 1.5rem; }
.connection-card { min-height: 430px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--border); background: var(--paper); }
.music-card { display: grid; grid-template-columns: minmax(180px, .8fr) 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.music-card img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 22px 44px rgba(19,42,53,.18); }
.memory-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: rgba(255,255,255,.72); }
.memory-card .card-kicker { color: var(--gold-light); }
.memory-card h3, .memory-card a { color: white; }
.memory-mark { display: grid; place-items: center; width: 6.2rem; height: 6.2rem; margin-bottom: 3rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-family: var(--serif); font-size: 3.4rem; }

.closing {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 1.5rem;
  overflow: hidden;
  background: var(--paper);
  text-align: center;
}
.closing::before {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201,161,75,.18);
  border-radius: 50%;
}
.closing-inner { position: relative; max-width: 880px; margin: 0 auto; }
.closing p:not(.eyebrow) { max-width: 620px; margin: 0 auto 2rem; font-family: var(--serif); font-size: 1.2rem; }

footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 2rem;
  align-items: end;
  padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2));
  color: rgba(255,255,255,.58);
  background: #0c2028;
  font-size: .76rem;
  line-height: 1.6;
}
footer strong { color: white; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
footer > p:last-child { text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; justify-content: center; }
.footer-links a { color: var(--gold-light); text-underline-offset: .25rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  nav { gap: 1rem; }
  .hero { grid-template-columns: 1fr; padding-top: 10rem; }
  .hero-copy { max-width: 760px; }
  .portrait-card { width: min(78vw, 420px); }
  .scholarship-grid, .connection-grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-number { position: absolute; right: 1rem; top: 4rem; opacity: .42; }
  .story-copy { position: relative; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer > p:last-child { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header { width: min(calc(100% - 2rem), var(--max)); padding-top: 1rem; }
  .wordmark span:last-child { max-width: 10rem; line-height: 1.25; }
  nav a:not(:first-child) { display: none; }
  .hero { min-height: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.8rem); }
  .portrait-card { width: min(88vw, 390px); }
  .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .music-card { grid-template-columns: 1fr; }
  .music-card img { width: min(100%, 330px); }
  .connection-card { min-height: 0; }
  footer { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
