:root {
  --navy: #0b2340;
  --deep: #0e3a5f;
  --pool: #1c7fb6;
  --aqua: #7fd3e8;
  --foam: #eef7fb;
  --ink: #14202e;
  --muted: #55657a;
  --gold: #c9a227;
  --gold-light: #f2d77a;
  --bronze: #a8693a;
  --bg: #ffffff;
  --line: #d9e6ee;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--pool); }
picture { display: block; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--gold-light); color: var(--navy); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pool); margin-bottom: .75rem;
}
.eyebrow--light { color: var(--aqua); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 35, 64, .92);
  backdrop-filter: saturate(140%) blur(8px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.nav__brand {
  font-family: var(--serif); font-weight: 800; font-size: 1.15rem;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; gap: clamp(12px, 3vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: #d6e6f2; text-decoration: none; font-size: .92rem; font-weight: 500;
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--gold-light); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(127, 211, 232, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--deep) 55%, var(--pool) 130%);
  padding: clamp(72px, 12vw, 140px) 0 clamp(90px, 12vw, 150px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.hero__photo { margin: 0; }
.hero__photo img {
  display: block; width: 100%; height: auto;
  /* crop off the credit strip burned into the bottom of the scan */
  aspect-ratio: 387 / 492; object-fit: cover; object-position: top;
  border-radius: var(--radius);
  border: 6px solid rgba(255, 255, 255, .92);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
  transform: rotate(1.5deg);
}
.hero__photo figcaption { margin-top: 14px; font-size: .8rem; color: #a9c4d8; }
.hero .eyebrow { color: var(--gold-light); }
.hero__title {
  font-size: clamp(3.6rem, 13vw, 8.5rem); font-weight: 800; letter-spacing: -.03em;
  line-height: .92; margin-bottom: .35em;
}
.hero__title span { color: var(--aqua); font-style: italic; font-weight: 400; }
.hero__lede { max-width: 38rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #dbe9f4; }

/* Lane lines */
.hero__lanes {
  position: absolute; inset: auto 0 0 0; height: 46px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 18px, #fff 18px 36px, #c8343a 36px 54px, #fff 54px 72px);
  opacity: .9;
  -webkit-mask: linear-gradient(to bottom, transparent 0 18px, #000 18px 28px, transparent 28px);
          mask: linear-gradient(to bottom, transparent 0 18px, #000 18px 28px, transparent 28px);
}

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin: 2.5rem 0 0; max-width: 46rem;
  background: rgba(255, 255, 255, .18); border-radius: var(--radius); overflow: hidden;
}
.stats div { background: rgba(11, 35, 64, .55); padding: 18px 16px; }
.stats dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #a9c4d8; }
.stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: #fff; }

/* Sections */
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section--tint { background: var(--foam); }
.section--deep {
  color: #e6f1f8;
  background: linear-gradient(180deg, var(--navy), var(--deep));
}
.section--deep h2, .section--deep h3 { color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 80px); }
.prose { font-size: 1.1rem; color: #2a3a4d; }

/* Medals */
.medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 2rem; }
.photo-card { margin: 0; }
.photo-card img {
  display: block; width: 100%; height: 100%; max-height: 520px;
  object-fit: cover; object-position: top;
  border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14);
}
.photo-card figcaption { margin-top: 10px; font-size: .85rem; color: #a9c4d8; }
.medal-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 28px;
}
.medal {
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, #8a6c12);
  box-shadow: 0 0 0 4px rgba(242, 215, 122, .25), 0 10px 24px rgba(0, 0, 0, .3);
}
.medal span { font-family: var(--serif); font-weight: 800; color: #4a3a07; font-size: 1rem; }
.medal-card__event { font-weight: 600; color: var(--aqua); margin-bottom: .25em; }
.medal-card__result { color: #fff; }
.medal-card__result strong { color: var(--gold-light); }

.note {
  margin-top: 28px; padding: 24px 28px; border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  background: rgba(242, 215, 122, .08);
}
.note p { margin: 0; }

/* Timeline */
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--aqua), var(--pool));
}
.timeline li { position: relative; padding: 0 0 28px 44px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--pool);
}
.timeline time { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pool); }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* Table */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.results { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.results th, .results td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.results thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #f7fbfd; }
.results tbody tr:last-child td { border-bottom: 0; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-right: 6px; }
.pill--gold { background: #fbefc4; color: #6d540a; }
.pill--bronze { background: #f3dfcf; color: #6e3f1c; }

.profile {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px; align-items: start; margin-top: 2rem;
}
.profile__photo { margin: 0; }
.profile__photo img {
  display: block; width: 100%; height: auto; border-radius: 50%;
  border: 6px solid #fff; box-shadow: 0 12px 28px rgba(11, 35, 64, .18);
}
.profile__photo figcaption { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--muted); }

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
  margin: 0;
}
.facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.facts dt { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 500; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2197"; }
.link-arrow:hover, .link-arrow:focus-visible { text-decoration: underline; }

/* Contact */
.contact {
  color: #e6f1f8; text-align: center;
  background:
    radial-gradient(900px 360px at 50% 120%, rgba(127, 211, 232, .28), transparent 60%),
    linear-gradient(180deg, var(--deep), var(--navy));
}
.contact h2 { color: #fff; }
.contact__lede { color: #c4d9e8; }
.contact__email {
  display: inline-block; margin-top: .5rem; padding: 14px 28px; border-radius: 999px;
  background: var(--gold-light); color: var(--navy);
  font-weight: 600; font-size: clamp(1rem, 3.2vw, 1.15rem); text-decoration: none;
  overflow-wrap: anywhere; max-width: 100%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .15s ease, background .15s ease;
}
.contact__email:hover, .contact__email:focus-visible { background: #fff; transform: translateY(-2px); }

/* Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer { background: var(--navy); color: #a9c4d8; padding: 40px 0; font-size: .9rem; }
.footer__inner { display: grid; gap: 8px; }
.footer__brand { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; color: #fff; margin: 0; }
.footer p { margin: 0; }
.footer a { color: var(--aqua); }

/* Responsive */
@media (max-width: 980px) {
  .medals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-card { grid-column: 1 / -1; }
  .photo-card img { max-height: 460px; }
}
@media (max-width: 820px) {
  .grid-2, .medals, .hero__inner, .profile { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__photo { max-width: 300px; }
  .profile__photo { max-width: 200px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .nav__brand { font-size: 1rem; }
  .nav__links { gap: 12px; }
  .nav__links a { font-size: .82rem; }
}
@media (max-width: 480px) {
  .nav__links li:nth-child(3), .nav__links li:nth-child(4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
