:root {
  --ink: #1b1917;
  --paper: #f7f1e4;
  --paper-deep: #efe5d2;
  --green: #1e3a32;
  --green-deep: #162e27;
  --wine: #57202c;
  --gold: #c9a45a;
  --gold-bright: #e0c07c;
  --text: #332e27;
  --muted: #5f574b;
  --on-dark: #f4ecdc;
  --on-dark-muted: #cfc4ae;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

:where(a):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.wrap {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.kicker-dark {
  color: #7d5f2a;
}

.kicker-light {
  color: var(--gold-bright);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
}

.ornament {
  position: relative;
  width: 5.5rem;
  height: 1px;
  margin-top: 1.9rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.ornament-dark {
  background: linear-gradient(90deg, #9c7a3a, transparent);
}

.ornament-dark::before {
  background: #9c7a3a;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(201, 164, 90, 0.18), transparent 62%),
    radial-gradient(720px 520px at 0% 110%, rgba(87, 32, 44, 0.3), transparent 58%),
    var(--ink);
  color: var(--on-dark);
  padding: clamp(2.75rem, 7vw, 5.5rem) 1.5rem;
  border-bottom: 1px solid rgba(201, 164, 90, 0.35);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hero h1 {
  margin: 0.45rem 0 0.9rem;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.tagline {
  margin: 0;
  max-width: 35ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.portrait {
  margin: 0;
  justify-self: end;
  max-width: 400px;
}

.portrait-mat {
  position: relative;
  padding: 15px;
  background: linear-gradient(160deg, #f4ead6, #e4d5b8);
  border: 1px solid rgba(201, 164, 90, 0.6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.52);
}

.portrait-mat::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(90, 70, 40, 0.28);
  pointer-events: none;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  outline: 1px solid rgba(60, 45, 25, 0.35);
  outline-offset: -1px;
}

.portrait figcaption {
  margin-top: 1rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

/* Biography -------------------------------------------------------------- */

.intro {
  background: var(--paper);
  color: var(--text);
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.16;
}

.intro-text p {
  margin: 0 0 1.15rem;
  max-width: 64ch;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.82;
  color: #3a352c;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text .lead::first-letter {
  float: left;
  padding: 0.3rem 0.55rem 0 0;
  font-family: var(--serif);
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 0.78;
  color: var(--wine);
}

/* Timeline --------------------------------------------------------------- */

.timeline-section {
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  border-top: 1px solid rgba(224, 192, 124, 0.25);
}

.timeline-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.16;
  color: var(--on-dark);
}

.timeline {
  position: relative;
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 2rem;
  padding-bottom: 2.1rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 9.5rem;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(224, 192, 124, 0.12);
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(9.5rem + 3.5px);
  top: 1rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(rgba(224, 192, 124, 0.5), rgba(224, 192, 124, 0.1));
}

.year {
  padding-top: 0.05rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

.entry {
  padding-left: 2.25rem;
}

.entry h3 {
  margin: 0.05rem 0 0.35rem;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--on-dark);
}

.entry p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--on-dark-muted);
}

/* Quote ------------------------------------------------------------------ */

.quote-band {
  background: var(--wine);
  color: #f6ecdb;
  padding: clamp(4rem, 9vw, 6.5rem) 1.5rem;
  border-top: 1px solid rgba(224, 192, 124, 0.4);
  border-bottom: 1px solid rgba(224, 192, 124, 0.4);
  text-align: center;
}

.quote-wrap {
  position: relative;
  width: min(100%, 820px);
  margin: 0 auto;
  padding-top: 2.5rem;
}

.quote-wrap blockquote {
  position: relative;
  margin: 0;
  padding: 0 0.5rem;
}

.quote-wrap blockquote::before {
  content: "\201C";
  position: absolute;
  left: 50%;
  top: -3.4rem;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(224, 192, 124, 0.32);
}

.quote-wrap blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.5;
  color: #f8efe0;
}

.quote-wrap blockquote footer {
  margin-top: 1.7rem;
}

.quote-wrap cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.afterword {
  margin: 2.1rem auto 0;
  max-width: 48ch;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #d8c9b8;
}

/* Legacy ----------------------------------------------------------------- */

.legacy {
  background: var(--paper-deep);
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}

.legacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.legacy h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.16;
}

.legacy-copy p {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.06rem);
  line-height: 1.82;
  color: #3a352c;
}

.legacy-copy p:last-child {
  margin-bottom: 0;
}

.honours {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--paper);
  border: 1px solid rgba(90, 70, 40, 0.2);
  box-shadow: 0 18px 40px rgba(60, 45, 30, 0.1);
}

.honours::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--gold);
}

.honours h3 {
  margin: 0.2rem 0 1rem;
  font-size: 1.2rem;
}

.honours ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.honours li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(90, 70, 40, 0.25);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.honours li:last-child {
  border-bottom: 0;
  padding-bottom: 0.1rem;
}

.honours strong {
  color: var(--wine);
  font-weight: 650;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #a99f90;
  padding: 2.4rem 1.5rem 2.6rem;
  border-top: 1px solid rgba(201, 164, 90, 0.28);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-grid p {
  margin: 0;
}

.footer-credit {
  color: var(--on-dark-muted);
}

.back-top {
  justify-self: end;
  color: var(--gold-bright);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 192, 124, 0.4);
}

.back-top:hover {
  border-bottom-color: var(--gold-bright);
}

@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .legacy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portrait {
    justify-self: center;
    width: min(100%, 380px);
  }

  .hero h1 {
    margin-top: 0.3rem;
  }

  .quote-wrap {
    padding-top: 2rem;
  }
}

@media (max-width: 720px) {
  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
    padding-left: 1.6rem;
  }

  .timeline li::before {
    left: 0;
    top: 0.55rem;
  }

  .timeline li:not(:last-child)::after {
    left: 3.5px;
    top: 1.05rem;
  }

  .entry {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .back-top {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
