/* ==========================================================================
   5K@EASD — 2026 site styles
   Single stylesheet. No JavaScript is used anywhere on this site.
   Section order: fonts, tokens, reset, layout, type, buttons, header,
   footer, then page components.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — Novo, self-hosted from /fonts. Private licence: do not hotlink
   or serve from a CDN outside the licensed domains.
   Weights available: 300, 400, 500, 600, 700, 800 (roman + italic).
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-Light.woff2") format("woff2"),
url("../fonts/Novo-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-LightItalic.woff2") format("woff2"),
url("../fonts/Novo-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-Regular.woff2") format("woff2"),
url("../fonts/Novo-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-Italic.woff2") format("woff2"),
url("../fonts/Novo-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-Medium.woff2") format("woff2"),
url("../fonts/Novo-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-MediumItalic.woff2") format("woff2"),
url("../fonts/Novo-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-SemiBold.woff2") format("woff2"),
url("../fonts/Novo-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-SemiBoldItalic.woff2") format("woff2"),
url("../fonts/Novo-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-Bold.woff2") format("woff2"),
url("../fonts/Novo-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-BoldItalic.woff2") format("woff2"),
url("../fonts/Novo-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-ExtraBold.woff2") format("woff2"),
url("../fonts/Novo-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Novo";
  src: url("../fonts/Novo-ExtraBoldItalic.woff2") format("woff2"),
url("../fonts/Novo-ExtraBoldItalic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  --blue: #00008f;          /* Novo Lasting Blue */
  --turquoise: #00ffff;     /* Novo Turquoise — hover states only */
  --white: #ffffff;
  /* All type is Lasting Blue — no black or grey copy anywhere.
     Small print steps back with opacity, not a second colour. */
  --rule: #e4e4ee;
  --tint: #f5f5fb;          /* hover wash on list rows */

  --font-sans: "Novo", Helvetica, Arial, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --container: 1280px;
  --gutter: 20px;
  --section-y: 48px;
}

@media (min-width: 700px) {
  :root {
    --gutter: 40px;
    --section-y: 68px;
  }
}

@media (min-width: 1100px) {
  :root {
    --gutter: 64px;
    --section-y: 96px;
  }
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section--ruled {
  border-top: 1px solid var(--rule);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 780px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .grid--2-wide {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .grid--media {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: center;
  }

  .grid--media-top {
    align-items: start;
  }
}

.stack > * + * {
  margin-top: var(--space-3);
}

/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */

.h1,
.h2,
.h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--blue);
  text-wrap: balance;
}

.h1 {
  font-size: clamp(38px, 7vw, 72px);
}

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.h3 {
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.15;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--blue);
  max-width: 54ch;
}

.body-text {
  color: var(--blue);
  max-width: 62ch;
}

.body-text + .body-text {
  margin-top: var(--space-2);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--blue);
  opacity: 0.7;
}

.caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--blue);
  opacity: 0.7;
}

.on-blue .h1,
.on-blue .h2,
.on-blue .h3,
.section--blue .h1,
.section--blue .h2,
.section--blue .h3 {
  color: var(--white);
}

.on-blue .eyebrow,
.section--blue .eyebrow {
  color: var(--turquoise);
}

.on-blue p,
.section--blue p {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   6. Buttons and links
   Primary: solid lozenge. Secondary: keyline lozenge. Tertiary: text link.
   Turquoise is the hover state throughout. Sentence case everywhere.
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--blue);
}

.btn--secondary {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--blue);
}

/* Reversed pair for use on Lasting Blue or dark photography. */
.btn--primary-reverse {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--blue);
}

.btn--primary-reverse:hover,
.btn--primary-reverse:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn--secondary-reverse {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--secondary-reverse:hover,
.btn--secondary-reverse:focus-visible {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--blue);
}

.link {
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.link:hover,
.link:focus-visible {
  text-decoration-thickness: 2px;
}

.link--reverse {
  color: var(--white);
}

.link--reverse:hover,
.link--reverse:focus-visible {
  color: var(--white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   7. Site header
   Row 1: language. Row 2: Novo mark left, 5K identity centred, register right.
   Row 3: section links. Below 700px rows 1 and 3 collapse into a menu
   button at the end of row 2 (see "Mobile menu" further down).
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.header-utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 8px var(--gutter);
  border-bottom: 1px solid #f0f0f6;
  font-size: 13px;
}

.header-utility a {
  text-decoration: none;
  font-weight: 500;
  color: var(--blue);
}

.header-utility a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.header-utility .is-current {
  font-weight: 700;
  color: var(--blue);
}

.header-utility span {
  color: #c8c8d8;
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px var(--gutter);
}

@media (min-width: 700px) {
  .header-main {
    padding: 22px var(--gutter);
  }
}

.logo-novo {
  justify-self: start;
  display: block;
  line-height: 0;
}

.logo-novo img {
  height: clamp(38px, 7.6vw, 58px);
  width: auto;
}

.logo-5k {
  justify-self: center;
  display: block;
  line-height: 0;
}

.logo-5k img {
  height: clamp(28px, 5.6vw, 44px);
  width: auto;
}

.header-cta {
  justify-self: end;
  padding: 10px 16px;
  font-size: clamp(11px, 2.5vw, 14px);
  white-space: nowrap;
}

@media (min-width: 700px) {
  .header-cta {
    padding: 12px 24px;
  }
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  padding: 0 var(--gutter) 14px;
}

.header-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--blue);
}

.header-nav .is-current {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Mobile menu — native <details>, no JavaScript (same pattern as the
   training accordion). Below 700px the utility strip and the nav row hide,
   and the button on the right of the logo row opens a drop-down panel that
   carries the same links plus the language switch. */

.menu {
  display: none;                /* desktop: the regular nav row is used */
}

.menu__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;          /* optical: icon sits on the gutter line */
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}

.menu__button::-webkit-details-marker {
  display: none;
}

.menu__button:hover,
.menu__button:focus-visible {
  background: var(--tint);
  outline: none;
}

.menu__button svg {
  display: block;
  width: 26px;
  height: 26px;
}

.menu[open] .ico-burger,
.menu:not([open]) .ico-close {
  display: none;
}

.menu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 16px 32px rgba(0, 0, 143, 0.10);
  padding: 4px 20px 20px;
}

.menu__nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  font-size: 18px;
  color: var(--blue);
  text-decoration: none;
}

.menu__nav a:hover,
.menu__nav a:focus-visible {
  color: var(--blue);
}

.menu__nav .is-current {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.menu__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  font-size: 14px;
}

.menu__lang a {
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

.menu__lang .is-current {
  font-weight: 700;
}

.menu__lang span {
  color: #c8c8d8;
}

@media (max-width: 699px) {
  .header-utility,
  .header-nav {
    display: none;
  }

  .header-main {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .logo-novo img {
    height: 34px;
  }

  .logo-5k img {
    height: 26px;
  }

  .header-cta {
    padding: 9px 14px;
    font-size: 12px;
  }

  .menu {
    display: block;
    justify-self: end;
  }
}

/* Small phones (iPhone SE class): trim a little more so nothing wraps */

@media (max-width: 359px) {
  .header-main {
    gap: 6px;
    padding: 10px 12px;
  }

  .logo-novo img {
    height: 30px;
  }

  .logo-5k img {
    height: 23px;
  }

  .header-cta {
    padding: 8px 12px;
  }
}

/* --------------------------------------------------------------------------
   8. Site footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: var(--section-y) 0;
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-mark img {
  height: clamp(40px, 7vw, 62px);
  width: auto;
}

.footer-heading {
  margin-bottom: var(--space-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--turquoise);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: var(--space-3);
  font-size: 14px;
  line-height: 1.6;
}

.footer-legal a {
  color: var(--white);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

/* --------------------------------------------------------------------------
   9. Hero (homepage)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  background: var(--blue);
  overflow: hidden;
}

@media (min-width: 700px) {
  .hero {
    min-height: 72vh;
  }
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* Neutral scrim for legibility only — no colour tint on photography. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 75%);
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.hero__title {
  max-width: 16ch;
  text-wrap: nowrap;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(38px, 8vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero__text {
  max-width: 46ch;
  margin-top: var(--space-3);
  color: var(--white);
  font-size: clamp(16px, 2.4vw, 21px);
  line-height: 1.5;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Page header (event info) — split blue panel and photograph
   -------------------------------------------------------------------------- */

.page-header {
  display: grid;
  background: var(--blue);
}

@media (min-width: 860px) {
  .page-header {
    grid-template-columns: 1fr 1fr;
  }
}

.page-header__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-y) var(--gutter);
  color: var(--white);
}

.page-header__text .h1 {
  color: var(--white);
}

.page-header__text .lede {
  color: var(--white);
  max-width: 42ch;
  margin-top: var(--space-3);
}

.page-header__media {
  position: relative;
  min-height: 280px;
}

@media (min-width: 860px) {
  .page-header__media {
    min-height: 100%;
  }
}

.page-header__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Plain heading block for pages without a photograph. */
.page-intro {
  padding-top: var(--section-y);
  padding-bottom: var(--space-4);
}

.page-intro .lede {
  margin-top: var(--space-3);
}

/* --------------------------------------------------------------------------
   11. Link list (promotional items)
   -------------------------------------------------------------------------- */

.link-list {
  border-top: 1px solid var(--rule);
}

.link-list li {
  border-bottom: 1px solid var(--rule);
}

.link-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  padding: 22px 0;
  text-decoration: none;
  color: var(--blue);
}

.link-list a:hover,
.link-list a:focus-visible {
  background: var(--tint);
}

.link-list__title {
  flex: 1 1 240px;
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 26px);
  letter-spacing: -0.015em;
}

.link-list__note {
  flex: 2 1 260px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--blue);
}

.link-list__action {
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* --------------------------------------------------------------------------
   12. Statistics
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 18px;
}

.stat__value {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--turquoise);
}

.stat__label {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.stat__sub {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   13. Leaderboard
   -------------------------------------------------------------------------- */

.leaderboard {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (min-width: 860px) {
  .leaderboard {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: start;
  }
}

.leaderboard__list {
  border-top: 1px solid var(--rule);
}

.leaderboard__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.leaderboard__rank {
  width: 26px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  opacity: 0.55;
}

.leaderboard__flag {
  font-size: 24px;
  line-height: 1;
}

.leaderboard__country {
  flex: 1;
  font-weight: 700;
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--blue);
}

.leaderboard__panel {
  background: var(--blue);
  color: var(--white);
  padding: var(--space-4);
}

.leaderboard__question {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.leaderboard__update {
  margin-top: var(--space-3);
  font-weight: 600;
  font-size: 16px;
  color: var(--turquoise);
}

/* --------------------------------------------------------------------------
   14. Media pairs (training, moments, ambassadors)
   -------------------------------------------------------------------------- */

.card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: var(--space-3);
}

.card__image--portrait {
  aspect-ratio: 4 / 3;
}

.card--ruled {
  border-top: 2px solid var(--blue);
  padding-top: var(--space-3);
}

.figure-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.figure-image--wide {
  aspect-ratio: 16 / 9;
}

/* --------------------------------------------------------------------------
   15. Definition list (group run details)
   -------------------------------------------------------------------------- */

.details-list {
  margin-top: var(--space-4);
}

.details-list__row {
  display: grid;
  gap: 4px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 600px) {
  .details-list__row {
    grid-template-columns: 180px 1fr;
  }
}

.details-list dt {
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}

.details-list dd {
  font-size: 16px;
  line-height: 1.6;
  color: var(--blue);
  white-space: pre-line;
}

/* --------------------------------------------------------------------------
   16. History list
   -------------------------------------------------------------------------- */

.history-list {
  border-top: 1px solid var(--rule);
}

.history-list li {
  display: grid;
  gap: 12px 32px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 700px) {
  .history-list li {
    grid-template-columns: 1fr 1fr;
  }
}

.history-list__year {
  display: block;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.history-list__place {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: var(--blue);
}

.history-list__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

/* --------------------------------------------------------------------------
   17. Accordion (training weeks) — native <details>, no JavaScript
   -------------------------------------------------------------------------- */

.accordion {
  border-top: 1px solid var(--rule);
  margin-top: var(--space-4);
}

.accordion details {
  border-bottom: 1px solid var(--rule);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.015em;
  color: var(--blue);
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion__body {
  display: grid;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
}

@media (min-width: 700px) {
  .accordion__body {
    grid-template-columns: repeat(3, 1fr);
  }
}

.placeholder {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: 16px;
  background: repeating-linear-gradient(135deg, #f2f2f9 0 10px, #e9e9f4 10px 20px);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  color: #5a5a72;
}

/* --------------------------------------------------------------------------
   18. Call to action band
   -------------------------------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.cta-band .h2 {
  max-width: 18ch;
}

/* --------------------------------------------------------------------------
   19. Prose (privacy policy, thanks, sitemap)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.prose p {
  margin-bottom: var(--space-2);
  color: var(--blue);
}

.prose ul {
  margin-bottom: var(--space-2);
  padding-left: 20px;
  list-style: disc;
  color: var(--blue);
}

.prose li {
  margin-bottom: 6px;
}

.sitemap {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (min-width: 700px) {
  .sitemap {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sitemap__group li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   19b. Email archive (archive.html) — reuses the accordion shell
   -------------------------------------------------------------------------- */

.archive summary > span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.archive__place {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
}

.archive__body {
  padding-bottom: var(--space-4);
}

.archive__month {
  margin-top: var(--space-3);
  margin-bottom: 4px;
}

.archive__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

.archive__list li:last-child {
  border-bottom: 0;
}

.archive__list a {
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   20. Results tables (results/ archive pages)
   -------------------------------------------------------------------------- */

.results-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: var(--space-3);
}

.table-scroll {
  margin-top: var(--space-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.results-table th,
.results-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  border-bottom: 1px solid var(--rule);
}

.results-table th {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 0;
}

.results-table tbody tr:nth-child(even) {
  background: var(--tint);
}

.results-table__name {
  font-weight: 600;
  min-width: 14rem;
}

/* --------------------------------------------------------------------------
   21. Utilities
   -------------------------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

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