/* That Thursday Runners Club — holding page.
   Light theme only (the wordmark ink is pure black; the documented paper
   theme is the one surface it is proven correct on — design-system.md §4.1).
   Tokens are the authoritative light-theme values from design-system.md. */

/* Self-hosted fonts — @fontsource-variable 5.3.0, OFL-1.1 (see /licenses/). */
@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/newsreader-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/newsreader-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-tight-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter Tight Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-tight-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Metric-compatible fallbacks (capsize technique; values computed with the
   formula and metrics recorded in the TTRC design system). */
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia");
  size-adjust: 96.1192%;
  ascent-override: 76.4676%;
  descent-override: 27.5699%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Tight Fallback";
  src: local("Arial");
  size-adjust: 96.3855%;
  ascent-override: 100.5078%;
  descent-override: 25.0256%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --background: #FAF5EC;
  --surface: #FFFDF7;
  --text-primary: #191512;
  --text-muted: #635849;
  --primary: #BE1212;
  --secondary: #6B2A7A;
  --accent: #FFE04D;
  --border-strong: #4A4038;
  --link: #16409E;
  --focus-ring: #191512;
  --font-editorial: "Newsreader Variable", "Newsreader Fallback", Georgia, serif;
  --font-interface: "Inter Tight Variable", "Inter Tight Fallback", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-interface);
  font-size: 1rem;
  line-height: 1.6;
}

/* The split rule: the six source colours, six equal segments, fixed order.
   The single place all six appear. Never a gradient. */
.split-rule {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 6px;
}
.split-rule span:nth-child(1) { background: #E40303; }
.split-rule span:nth-child(2) { background: #FF8C00; }
.split-rule span:nth-child(3) { background: #FFED00; }
.split-rule span:nth-child(4) { background: #008026; }
.split-rule span:nth-child(5) { background: #004CFF; }
.split-rule span:nth-child(6) { background: #732982; }

.holding {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vh, 8rem) 1.5rem;
}

.logo { display: block; }
.logo img {
  display: block;
  width: min(88vw, 46rem);
  height: auto;
}
@media (max-width: 560px) {
  .logo img { width: min(82vw, 26rem); }
}

.rule {
  width: 7rem;
  margin: clamp(2rem, 5vh, 3.5rem) auto 0;
  border: 0;
  border-top: 2px solid var(--border-strong);
}

h1 {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.9rem + 4vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: clamp(1.25rem, 3vh, 2rem) 0 0;
}

.lead {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.site-footer {
  border-top: 2px solid var(--border-strong);
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}

.micro {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

a {
  color: var(--link);
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
