:root {
  color-scheme: dark;
  --bg: #101412;
  --panel: #18211d;
  --panel-2: #22241b;
  --text: #f5f1e4;
  --muted: #b9b8aa;
  --gold: #e0b54d;
  --amber: #ffcd63;
  --teal: #5bc3b2;
  --line: rgba(245, 241, 228, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--amber);
  text-underline-offset: 0.18em;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(16, 20, 18, 0.96) 0%, rgba(16, 20, 18, 0.68) 38%, rgba(16, 20, 18, 0.16) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(16, 20, 18, 0) 32%);
}

.nav {
  position: absolute;
  top: 1.25rem;
  right: clamp(1rem, 4vw, 4rem);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  border: 1px solid rgba(245, 241, 228, 0.22);
  background: rgba(16, 20, 18, 0.54);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin: 0 clamp(1rem, 5vw, 5rem) 12vh;
}

.eyebrow,
.kicker {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 10ch;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  color: #efe8d7;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.band,
.medal,
.timeline,
.sources {
  border-top: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: start;
}

.intro p:last-child,
.medal p,
.sources p {
  color: var(--muted);
  font-size: 1.05rem;
}

.medal {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.medal__mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #30230b;
  font-size: 3.2rem;
  font-weight: 900;
  background:
    radial-gradient(circle at 34% 28%, #fff0a6 0 10%, transparent 11%),
    linear-gradient(135deg, #f7df86, #b77d1c 62%, #ffe17f);
  box-shadow: 0 1.2rem 3rem rgba(224, 181, 77, 0.22);
}

.scorecard,
.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.scorecard article,
.task-grid article {
  min-height: 7.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  align-content: space-between;
}

.scorecard span,
.task-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.scorecard strong,
.task-grid strong {
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.timeline {
  margin-top: 2rem;
}

.task-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.task-grid article {
  min-height: 6.5rem;
  background: var(--panel-2);
}

.sources {
  padding-bottom: 0;
}

@media (max-width: 780px) {
  .hero {
    min-height: 82svh;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(16, 20, 18, 0) 28%),
      linear-gradient(90deg, rgba(16, 20, 18, 0.94), rgba(16, 20, 18, 0.32));
  }

  .nav {
    left: 1rem;
    right: 1rem;
    justify-content: flex-start;
  }

  .hero__content {
    margin-bottom: 8vh;
  }

  .intro,
  .medal {
    grid-template-columns: 1fr;
  }

  .medal__mark {
    width: 8rem;
  }

  .scorecard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  main {
    width: min(100% - 1rem, 1120px);
  }

  .nav a {
    padding-inline: 0.7rem;
    font-size: 0.84rem;
  }

  .scorecard,
  .task-grid {
    grid-template-columns: 1fr;
  }

  .scorecard article,
  .task-grid article {
    min-height: 5.75rem;
  }
}
