:root {
  --navy: #111747;
  --violet: #5a32a3;
  --gold: #d6ab57;
  --ink: #20233a;
  --paper: #f8f7fc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 1rem/1.75 "DM Sans",
    sans-serif;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: #fff;
  padding: 0.8rem 1rem;
  color: var(--navy);
}
.skip:focus {
  top: 1rem;
}
.bio-nav {
  height: 92px;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid rgba(17, 23, 71, 0.1);
}
.bio-brand img {
  display: block;
  width: clamp(170px, 18vw, 245px);
  height: 68px;
  object-fit: contain;
}
.back-link {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.back-link span {
  color: var(--gold);
  margin-left: 0.4rem;
}
.bio-hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(9, 15, 55, 0.88),
      rgba(17, 23, 71, 0.47) 48%,
      rgba(17, 23, 71, 0.12) 72%
    ),
    linear-gradient(0deg, rgba(9, 15, 55, 0.82), transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 88%);
  margin: 0 0 clamp(4.5rem, 10vh, 8rem) clamp(1.5rem, 8vw, 9rem);
}
.eyebrow,
.chapter {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.hero-content h1 {
  margin: 0;
  font:
    600 clamp(3.5rem, 8vw, 8.5rem) / 0.9 "Playfair Display",
    serif;
  letter-spacing: -0.045em;
}
.hero-content h1 em,
h2 em {
  font-weight: 600;
}
.hero-deck {
  margin: 1.7rem 0 0;
  font:
    italic 600 clamp(1.2rem, 2vw, 1.75rem) / 1.4 "Playfair Display",
    serif;
}
.life-dates {
  position: absolute;
  right: clamp(1.5rem, 6vw, 6rem);
  bottom: clamp(2rem, 5vw, 4rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.life-dates strong {
  font-size: 0.9rem;
  color: var(--gold);
}
.story {
  background: #fff;
}
.story-opening {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  width: min(1180px, calc(100% - 3rem));
  margin: auto;
  padding: clamp(5rem, 10vw, 10rem) 0 clamp(3rem, 6vw, 6rem);
}
.lead {
  margin: 0;
  color: var(--navy);
  font:
    600 clamp(2rem, 3.7vw, 4rem) / 1.18 "Playfair Display",
    serif;
  letter-spacing: -0.025em;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(960px, calc(100% - 3rem));
  margin: 0 auto clamp(5rem, 9vw, 9rem);
}
.story-copy p {
  font-size: 1.08rem;
}
.story-copy p:first-child {
  margin-top: 0;
}
.pull-quote {
  align-self: center;
  padding: 2.2rem 0 2.2rem 2rem;
  border-left: 3px solid var(--gold);
  color: var(--violet);
  font:
    italic 600 clamp(1.5rem, 2.6vw, 2.4rem) / 1.35 "Playfair Display",
    serif;
}
.archival-feature {
  position: relative;
  margin: 0;
  background: var(--navy);
  height: min(78vw, 850px);
  overflow: hidden;
}
.archival-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 13%;
}
.archival-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 17, 58, 0.78), transparent 48%);
}
.archival-feature figcaption {
  position: absolute;
  left: clamp(1.5rem, 8vw, 9rem);
  bottom: clamp(2rem, 6vw, 6rem);
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.archival-feature figcaption span {
  font-size: 0.76rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.archival-feature figcaption strong {
  font:
    600 clamp(2.7rem, 6vw, 6rem) / 1 "Playfair Display",
    serif;
}
.chapter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 9rem);
  width: min(1180px, calc(100% - 3rem));
  margin: auto;
  padding: clamp(6rem, 11vw, 11rem) 0;
}
.chapter-heading h2,
.legacy-panel h2,
.closing h2 {
  margin: 0;
  color: var(--navy);
  font:
    600 clamp(2.7rem, 5vw, 5.6rem) / 1.03 "Playfair Display",
    serif;
  letter-spacing: -0.035em;
}
.chapter-copy {
  max-width: 580px;
}
.chapter-copy p,
.legacy-panel p,
.closing > div > p:not(.chapter) {
  font-size: 1.08rem;
}
.chapter-copy p:first-child {
  margin-top: 0;
}
.legacy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, var(--navy), #2a216d);
  color: #fff;
}
.legacy-archive {
  width: min(1180px, calc(100% - 3rem));
  margin: auto;
  padding: clamp(2rem, 5vw, 5rem) 0 clamp(6rem, 10vw, 10rem);
}
.legacy-archive > header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: 3rem;
}
.legacy-archive > header .chapter { grid-column: 1 / -1; margin-bottom: 0; }
.legacy-archive h2 {
  margin: 0;
  color: var(--navy);
  font: 600 clamp(2.7rem, 5vw, 5.6rem) / 1.03 "Playfair Display", serif;
  letter-spacing: -0.035em;
}
.legacy-archive > header > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; }
.legacy-archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.legacy-archive figure { position: relative; min-height: 520px; margin: 0; overflow: hidden; background: var(--navy); }
.legacy-archive .archive-wide { grid-column: 1 / -1; min-height: 520px; }
.legacy-archive img { width: 100%; height: 100%; object-fit: cover; }
.legacy-archive .archive-hospital img { object-position: center center; }
.legacy-archive figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 5rem 1.6rem 1.4rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(9, 13, 50, .9));
}
.legacy-archive figcaption span { color: var(--brand-teal, #00e6df); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legacy-archive figcaption strong { margin-top: .35rem; font: 600 1.45rem "Playfair Display", serif; }
.archive-note { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }
.legacy-panel h2 {
  color: #fff;
}
.legacy-panel > div:last-child {
  align-self: center;
  max-width: 560px;
}
.ministry-archive {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  min-height: 760px;
  margin: 0;
  background: var(--cream);
}
.ministry-archive img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center top;
}
.ministry-archive figcaption {
  align-self: center;
  padding: clamp(4rem, 8vw, 8rem);
}
.ministry-archive figcaption span {
  color: var(--brand-violet, #9c62fe);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.ministry-archive figcaption strong {
  display: block;
  max-width: 650px;
  margin: 1.1rem 0 1.5rem;
  color: var(--navy);
  font: 600 clamp(2.7rem, 5vw, 5.6rem) / 1.03 "Playfair Display", serif;
  letter-spacing: -.035em;
}
.ministry-archive figcaption p { max-width: 600px; color: var(--muted); font-size: 1.08rem; }
.light {
  color: #f1cf8d;
}
.closing {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  min-height: 780px;
  background: linear-gradient(145deg, #fff, #f2f0fb);
}
.closing > img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center 8%;
}
.closing > div {
  align-self: center;
  padding: clamp(4rem, 8vw, 8rem);
}
.closing > div > p:not(.chapter) {
  max-width: 650px;
}
.closing blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
  color: var(--violet);
  font:
    italic 600 clamp(1.25rem, 2vw, 1.75rem) / 1.45 "Playfair Display",
    serif;
}
.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 1.4rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
footer {
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #0b1036;
  color: #fff;
}
footer img {
  width: 160px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
footer p {
  margin-right: auto;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
footer a {
  color: #f1cf8d;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 800px) {
  .bio-nav {
    height: 78px;
  }
  .bio-brand img {
    width: 150px;
    height: 58px;
  }
  .back-link {
    font-size: 0.7rem;
  }
  .bio-hero {
    min-height: 78vh;
  }
  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(9, 15, 55, 0.9),
      rgba(17, 23, 71, 0.15) 70%
    );
  }
  .hero-content {
    margin: 0 1.25rem 5rem;
  }
  .life-dates {
    left: 1.25rem;
    right: auto;
    bottom: 1.5rem;
    text-align: left;
  }
  .story-opening,
  .story-grid,
  .chapter-section,
  .legacy-archive > header,
  .legacy-panel,
  .ministry-archive,
  .closing {
    grid-template-columns: 1fr;
  }
  .story-opening {
    gap: 1.5rem;
  }
  .archival-feature {
    height: 78vh;
  }
  .closing > img {
    min-height: 520px;
    height: 65vh;
  }
  .ministry-archive img { min-height: 560px; height: 70vh; }
  .ministry-archive figcaption { padding: 4.5rem 1.5rem; }
  .closing > div {
    padding: 4.5rem 1.5rem;
  }
  footer {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .legacy-archive-grid { grid-template-columns: 1fr; }
  .legacy-archive .archive-wide { grid-column: auto; }
  .legacy-archive figure { min-height: 480px; }
}
@media (max-width: 480px) {
  .bio-brand img {
    width: 125px;
  }
  .back-link {
    max-width: 120px;
    text-align: right;
  }
  .hero-content h1 {
    font-size: 3.4rem;
  }
  .hero-deck {
    font-size: 1.1rem;
  }
  .story-opening,
  .story-grid,
  .chapter-section {
    width: calc(100% - 2.5rem);
  }
  .pull-quote {
    padding-left: 1.2rem;
  }
}
