/* Expo Yello home page - Expo Kinetic-inspired paper magazine front page. */

:root {
  --paper: #ece3d0;
  --paper-2: #e2d7bf;
  --ink: #1d1a16;
  --ink-soft: #4a443a;
  --card: #f7f1e3;
  --accent: #f7c600;
  --accent-deep: #c99700;
  --red: #e10600;
  --green: #1e7d51;
  --blue: #235da8;
  --white-jersey: #fff8e7;
  --line: rgba(29, 26, 22, 0.2);
  --shadow: rgba(30, 20, 5, 0.35);
  --serif: "Playfair Display", Georgia, serif;
  --cond: "Anton", Impact, sans-serif;
  --body: "Newsreader", Georgia, serif;
  --label: "Archivo Black", system-ui, sans-serif;
  --script: "Permanent Marker", cursive;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  --torn-1: polygon(1% 2.5%, 99% 0.4%, 99.6% 97.5%, 1.6% 99.6%);
  --torn-2: polygon(0.7% 0.6%, 98.8% 2.4%, 99.4% 99%, 0.9% 97.6%);
  --torn-3: polygon(1.5% 1.4%, 99.3% 0.8%, 98.8% 98.6%, 0.7% 99.2%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

body.home-page .tk-site-header {
  align-items: flex-start;
  min-height: 102px;
  padding-top: 13px;
  padding-bottom: 28px;
  border-bottom: 0;
  box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 96% 100%, 90% 90%, 84% 99%, 78% 91%, 72% 100%, 66% 91%, 60% 99%, 54% 90%, 48% 100%, 42% 91%, 36% 99%, 30% 90%, 24% 100%, 18% 91%, 12% 99%, 6% 90%, 0 99%);
}

body.home-page .tk-brand-main {
  font-size: 4.8rem;
  letter-spacing: 0;
  line-height: 0.8;
  text-shadow: 3px 3px 0 var(--accent-deep);
}

body.home-page .tk-brand-sub {
  margin-top: 7px;
  color: #cfc4ac;
  font-family: var(--script);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

body.home-page .tk-primary-nav a {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  color: #cfc4ac;
  font-size: 0.72rem;
  letter-spacing: 1px;
}

body.home-page .tk-primary-nav a:hover,
body.home-page .tk-primary-nav a:focus-visible,
body.home-page .tk-primary-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

body.home-page .tk-menu-button {
  border-radius: 0;
}

main {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 18px 28px 44px;
}

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

h2 {
  margin-bottom: 18px;
  font-family: var(--cond);
  font-size: 2.7rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  line-height: 1.15;
}

.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.issue-front {
  margin-top: 4px;
}

.issue-bar,
.race-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  color: var(--card);
  background: var(--ink) var(--grain);
  scrollbar-width: none;
}

.issue-bar::-webkit-scrollbar,
.race-ticker::-webkit-scrollbar {
  display: none;
}

.issue-bar {
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 9px 15px;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  clip-path: var(--torn-3);
  filter: drop-shadow(3px 4px 0 var(--shadow));
}

.issue-bar span {
  white-space: nowrap;
}

.issue-bar span:first-child {
  color: var(--accent);
}

.frontpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 0.74fr);
  gap: 18px;
  align-items: stretch;
}

.lead-feature,
.issue-card,
.directory-card,
.quick-grid article,
.story-card,
.rule-grid article,
.roles-grid article,
.table-wrap,
.timeline,
details {
  background: var(--card) var(--grain);
  filter: drop-shadow(5px 7px 0 var(--shadow));
}

.lead-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.92fr);
  min-height: 500px;
  overflow: hidden;
  clip-path: var(--torn-2);
}

.lead-feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 12px;
  background: var(--accent);
}

.lead-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 42px 44px 42px 54px;
}

.lead-copy h1 {
  margin: 0;
  line-height: 0.82;
}

.hero-serif,
.hero-cond {
  display: block;
}

.hero-serif {
  color: var(--red);
  font-family: var(--serif);
  font-size: 3.1rem;
  font-style: italic;
  font-weight: 900;
}

.hero-cond {
  color: var(--ink);
  font-family: var(--cond);
  font-size: 5.4rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead-dek {
  max-width: 46ch;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 4px solid var(--ink);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cta {
  display: inline-block;
  padding: 10px 16px;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
  color: var(--card);
  background: var(--ink);
  font-family: var(--label);
  font-size: 0.74rem;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.cta:hover,
.cta:focus-visible {
  color: #fff;
  background: var(--red);
  outline: none;
  transform: translate(-1px, -1px);
}

.cta.ghost {
  color: var(--ink);
  background: var(--accent);
}

.cta.ghost:hover,
.cta.ghost:focus-visible {
  color: var(--card);
  background: var(--ink);
}

.lead-visual {
  position: relative;
  min-width: 0;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.lead-scene {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
}

.lead-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 26, 22, 0.04) 0%, rgba(29, 26, 22, 0.7) 100%),
    linear-gradient(90deg, rgba(29, 26, 22, 0.54) 0%, rgba(29, 26, 22, 0) 42%);
  pointer-events: none;
}

.cover-rider-strip {
  position: absolute;
  right: 16px;
  bottom: 34px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.cover-rider-strip img {
  width: 25%;
  max-width: 118px;
  min-width: 64px;
  margin-inline: -10px;
  object-fit: contain;
  filter:
    drop-shadow(2px 0 0 #fff)
    drop-shadow(-2px 0 0 #fff)
    drop-shadow(0 2px 0 #fff)
    drop-shadow(0 -2px 0 #fff)
    drop-shadow(4px 8px 6px rgba(0, 0, 0, 0.5));
}

.cover-rider-strip img:nth-child(2n) {
  transform: translateY(-12px) rotate(2deg);
}

.cover-rider-strip img:nth-child(3n) {
  transform: translateY(8px) rotate(-2deg);
}

.lead-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 3;
  color: #d9cfb8;
  font-family: var(--script);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
}

.issue-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

.issue-card {
  min-width: 0;
  padding: 18px 20px 20px;
  clip-path: var(--torn-1);
}

.issue-card:nth-child(2n) {
  clip-path: var(--torn-3);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(29, 26, 22, 0.18);
}

.hero-facts div {
  min-width: 0;
  padding: 15px 13px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--ink);
  font-family: var(--cond);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-facts span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-style: italic;
}

.contents-card {
  display: flex;
  flex-direction: column;
}

.contents-card a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 26, 22, 0.12);
  font-family: var(--cond);
  font-size: 1.36rem;
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.contents-card a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contents-card a:hover,
.contents-card a:focus-visible {
  color: var(--red);
  outline: none;
}

.contents-card span {
  color: var(--ink-soft);
  font-family: var(--script);
  font-size: 0.76rem;
  line-height: 1.1;
  text-align: right;
  text-transform: none;
}

.race-ticker {
  margin-top: 18px;
  padding: 12px 18px;
  clip-path: var(--torn-1);
  font-family: var(--label);
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  filter: drop-shadow(4px 5px 0 var(--shadow));
}

.race-ticker span {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
}

.race-ticker span + span::before {
  color: var(--accent);
  content: "/";
  margin-right: 12px;
}

.section-band {
  padding: 72px 0 0;
}

.section-inner {
  width: 100%;
  margin: 0 auto;
}

.quickread {
  padding-top: 58px;
}

.quickread h2 {
  max-width: 820px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-grid article,
.roles-grid article,
.rule-grid article {
  min-width: 0;
  padding: 22px;
  clip-path: var(--torn-1);
}

.quick-grid article:nth-child(2),
.roles-grid article:nth-child(3n + 2),
.rule-grid article:nth-child(3n + 2) {
  clip-path: var(--torn-2);
}

.quick-grid article:nth-child(3),
.roles-grid article:nth-child(3n),
.rule-grid article:nth-child(3n) {
  clip-path: var(--torn-3);
}

.quick-grid article::before,
.roles-grid article::before,
.rule-grid article::before {
  display: block;
  width: 62px;
  height: 7px;
  margin-bottom: 14px;
  background: var(--accent);
  content: "";
}

.quick-grid article:nth-child(2)::before {
  background: var(--green);
}

.quick-grid article:nth-child(3)::before {
  background: var(--blue);
}

.quick-grid article:nth-child(4)::before {
  background: var(--red);
}

.quick-grid h3,
.roles-grid h3,
.rule-grid h3 {
  font-family: var(--label);
  font-size: 1rem;
}

.quick-grid p,
.roles-grid p,
.rule-grid p,
.story-card p,
.directory-card p,
.timeline p,
details p,
.note {
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1rem;
}

.quick-grid p,
.roles-grid p,
.rule-grid p {
  margin-bottom: 0;
}

.directory {
  position: relative;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.directory-card {
  position: relative;
  min-width: 0;
  padding: 24px 24px 26px;
  clip-path: var(--torn-2);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}

.directory-card:nth-child(2n) {
  clip-path: var(--torn-1);
}

.directory-card:nth-child(3n) {
  clip-path: var(--torn-3);
}

.directory-card:hover,
.directory-card:focus-visible {
  outline: none;
  transform: translate(-1px, -2px);
  filter: drop-shadow(7px 10px 0 var(--shadow));
}

.page-tag {
  position: absolute;
  top: 15px;
  right: 18px;
  color: var(--accent-deep);
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.directory-card strong,
.directory-card > span:not(.page-tag) {
  display: block;
}

.directory-card strong {
  color: var(--red);
  font-family: var(--cond);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.8;
}

.directory-card > span:not(.page-tag) {
  margin-top: 14px;
  font-family: var(--label);
  font-size: 1rem;
  text-transform: uppercase;
}

.directory-card p {
  margin: 12px 0 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading::after {
  flex: 1 1 auto;
  height: 4px;
  min-width: 80px;
  background: var(--ink);
  content: "";
}

.filter-group,
.tabs {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter,
.tab {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 26, 22, 0.22);
  border-radius: 0;
  color: var(--ink);
  background: rgba(247, 241, 227, 0.7);
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  cursor: pointer;
}

.filter:hover,
.filter:focus-visible,
.tab:hover,
.tab:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.filter.is-active,
.tab.is-active {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.56fr) 1fr;
  align-items: stretch;
  min-height: 310px;
  overflow: hidden;
  clip-path: var(--torn-1);
}

.story-card:nth-child(2n) {
  clip-path: var(--torn-2);
}

.story-card:nth-child(3n) {
  clip-path: var(--torn-3);
}

.story-card[hidden] {
  display: none;
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-card > div {
  display: grid;
  align-content: center;
  padding: 34px;
}

.topic {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 11px;
  color: var(--card);
  background: var(--ink);
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

.story-card:nth-child(4n + 2) .topic {
  background: var(--green);
}

.story-card:nth-child(4n + 3) .topic {
  background: var(--blue);
}

.story-card:nth-child(4n + 4) .topic {
  background: var(--red);
}

.story-card h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 900;
}

.story-card p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.table-wrap {
  overflow-x: auto;
  clip-path: var(--torn-2);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

caption {
  padding: 16px 18px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-style: italic;
  text-align: left;
}

th,
td {
  padding: 15px 18px;
  border-top: 1px solid rgba(29, 26, 22, 0.15);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--card);
  background: var(--ink);
  font-family: var(--label);
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

td {
  color: var(--ink-soft);
  font-family: var(--body);
}

td:first-child {
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
}

.tab-panel {
  margin-top: 8px;
}

.note {
  max-width: 920px;
  margin: 16px 0 0;
}

.rule-grid,
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.roles-grid article:nth-child(3n + 1)::before,
.rule-grid article:nth-child(3n + 1)::before {
  background: var(--accent);
}

.roles-grid article:nth-child(3n + 2)::before,
.rule-grid article:nth-child(3n + 2)::before {
  background: var(--blue);
}

.roles-grid article:nth-child(3n)::before,
.rule-grid article:nth-child(3n)::before {
  background: var(--green);
}

.strategy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  clip-path: var(--torn-3);
  background: rgba(29, 26, 22, 0.3);
  filter: drop-shadow(4px 6px 0 var(--shadow));
}

.strategy-strip div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  background: var(--ink) var(--grain);
  color: var(--card);
}

.strategy-strip strong {
  color: var(--accent);
  font-family: var(--cond);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.strategy-strip span {
  color: #d9cfb8;
  font-family: var(--body);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: var(--torn-1);
  list-style: none;
  background: rgba(29, 26, 22, 0.16);
}

.timeline li {
  min-width: 0;
  padding: 24px;
  background: rgba(247, 241, 227, 0.88);
}

.timeline li::before {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--ink);
  background: var(--accent);
  font-family: var(--label);
  content: counter(list-item);
}

.timeline h3 {
  font-family: var(--label);
}

.timeline p {
  margin-bottom: 0;
}

.glossary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

details {
  min-width: 0;
  clip-path: var(--torn-1);
}

details:nth-child(2n) {
  clip-path: var(--torn-2);
}

details:nth-child(3n) {
  clip-path: var(--torn-3);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--label);
  list-style-position: inside;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.sources {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 58px max(28px, calc((100vw - 1184px) / 2)) 62px;
  color: var(--card);
  background: var(--ink) var(--grain);
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 100%);
}

.sources .eyebrow {
  color: var(--accent);
}

.sources a {
  color: var(--accent);
  font-weight: 800;
}

.sources p {
  max-width: 900px;
  color: #d9cfb8;
}

.disclaimer {
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  body.home-page .tk-site-header {
    min-height: 90px;
  }

  body.home-page .tk-brand-main {
    font-size: 3.7rem;
  }

  .frontpage-grid,
  .lead-feature {
    grid-template-columns: 1fr;
  }

  .lead-feature {
    min-height: 0;
  }

  .lead-visual {
    min-height: 360px;
    order: -1;
  }

  .lead-scene {
    min-height: 360px;
  }

  .hero-cond {
    font-size: 4.35rem;
  }

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

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

@media (max-width: 900px) {
  main {
    padding: 18px 18px 38px;
  }

  body.home-page .tk-site-header {
    flex-wrap: wrap;
  }

  body.home-page .tk-brand-main {
    font-size: 3rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading::after {
    width: 100%;
  }

  .filter-group,
  .tabs {
    justify-content: flex-start;
  }

  .directory-grid,
  .rule-grid,
  .roles-grid,
  .glossary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card {
    grid-template-columns: minmax(220px, 0.52fr) 1fr;
  }
}

@media (max-width: 680px) {
  body.home-page .tk-site-header {
    position: static;
    clip-path: polygon(0 0, 100% 0, 100% 93%, 82% 98%, 64% 94%, 42% 100%, 21% 94%, 0 98%);
  }

  body.home-page .tk-brand-main {
    font-size: 2rem;
    line-height: 0.9;
  }

  body.home-page .tk-brand-sub {
    font-size: 0.76rem;
  }

  main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .issue-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .lead-copy {
    padding: 28px 24px 32px 32px;
  }

  .hero-serif {
    font-size: 2.08rem;
  }

  .hero-cond {
    font-size: 3.1rem;
  }

  .lead-dek {
    font-size: 1.08rem;
  }

  .lead-visual,
  .lead-scene {
    min-height: 300px;
  }

  .cover-rider-strip {
    bottom: 42px;
  }

  .cover-rider-strip img {
    min-width: 54px;
    margin-inline: -12px;
  }

  .hero-facts,
  .quick-grid,
  .directory-grid,
  .rule-grid,
  .roles-grid,
  .strategy-strip,
  .timeline,
  .glossary-list {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding-top: 56px;
  }

  h2 {
    font-size: 2.1rem;
  }

  .story-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-card img {
    min-height: 0;
    height: auto;
  }

  .story-card > div {
    padding: 24px;
  }

  .story-card h3 {
    font-size: 1.42rem;
  }

  .filter,
  .tab {
    min-height: 36px;
    padding: 7px 10px;
  }

  .sources {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 440px) {
  .hero-serif {
    font-size: 1.8rem;
  }

  .hero-cond {
    font-size: 2.54rem;
  }

  .contents-card a {
    font-size: 1.16rem;
  }
}

/* Kinetic Spread home: white ground, keyline plates, Expo Kinetic typography. */
:root {
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --ink: #0f0f0f;
  --ink-soft: #55524c;
  --card: #ffffff;
  --accent: #1743c9;
  --accent-deep: #1743c9;
  --red: #d32f2f;
  --green: #2e9e44;
  --blue: #1743c9;
  --white-jersey: #ffffff;
  --line: #dddddd;
  --rule: #dddddd;
  --shadow: rgba(0, 0, 0, 0.16);
  --serif: "Newsreader", Georgia, serif;
  --cond: "Space Grotesk", system-ui, sans-serif;
  --body: "Newsreader", Georgia, serif;
  --label: "Space Grotesk", system-ui, sans-serif;
  --script: "Newsreader", Georgia, serif;
  --grain: none;
  --torn-1: none;
  --torn-2: none;
  --torn-3: none;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--label);
}

body.home-page .tk-site-header {
  align-items: center;
  min-height: 0;
  padding-top: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  clip-path: none;
}

body.home-page .tk-brand-main {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: none;
}

body.home-page .tk-brand-sub {
  color: #888;
  font-family: var(--label);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.home-page .tk-primary-nav a {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  padding: 0 0 3px;
}

body.home-page .tk-primary-nav a:hover,
body.home-page .tk-primary-nav a:focus-visible,
body.home-page .tk-primary-nav a[aria-current="page"] {
  color: var(--accent);
  background: none;
  border-bottom-color: var(--accent);
}

main {
  padding: 26px 28px 46px;
}

h2 {
  font-family: var(--label);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}

.eyebrow,
.card-kicker,
.topic {
  color: var(--accent);
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.issue-front {
  margin-top: 0;
}

.issue-bar,
.race-ticker {
  background: var(--ink);
  color: #fff;
  clip-path: none;
  filter: none;
}

.issue-bar {
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  margin-bottom: 0;
}

.issue-bar span:first-child,
.race-ticker span + span::before {
  color: #9db3f2;
}

.frontpage-grid {
  grid-template-columns: minmax(0, 1.62fr) minmax(290px, 0.74fr);
  gap: 18px;
}

.lead-feature,
.issue-card,
.directory-card,
.quick-grid article,
.story-card,
.rule-grid article,
.roles-grid article,
.table-wrap,
.timeline,
details {
  background: #fff;
  border: 1.5px solid var(--ink);
  clip-path: none;
  filter: none;
}

.lead-feature {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.95fr);
  min-height: 500px;
  border-top: 0;
}

.lead-feature::before {
  content: "Fig. 01 - the race";
  top: 16px;
  right: auto;
  bottom: auto;
  left: 48px;
  z-index: 5;
  width: auto;
  height: auto;
  padding: 2px 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lead-copy {
  padding: 48px 44px 48px 48px;
}

.lead-copy h1 {
  line-height: 0.94;
}

.hero-serif {
  color: var(--accent);
  font-family: var(--body);
  font-size: clamp(30px, 4.2vw, 54px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.hero-cond {
  color: var(--ink);
  font-family: var(--label);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: lowercase;
}

.lead-dek {
  border-top: 2px solid var(--ink);
  color: var(--ink-soft);
  font-family: var(--body);
}

.cta {
  clip-path: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--label);
  font-weight: 700;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: none;
}

.cta.ghost {
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.cta.ghost:hover,
.cta.ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}

.lead-visual {
  background: #fff;
  border-left: 1px solid var(--line);
}

.lead-scene {
  opacity: 1;
}

.lead-visual::after {
  background: linear-gradient(0deg, rgba(15, 15, 15, 0.66), rgba(15, 15, 15, 0) 42%);
}

.lead-visual figcaption {
  color: #fff;
  font-family: var(--body);
  font-size: 0.9rem;
  font-style: italic;
}

.issue-card {
  padding: 20px;
}

.hero-facts {
  background: var(--rule);
}

.hero-facts div {
  background: #fff;
}

.hero-facts strong {
  color: var(--accent);
  font-family: var(--label);
  font-weight: 700;
}

.hero-facts span {
  color: var(--ink-soft);
  font-family: var(--body);
}

.contents-card a {
  border-bottom: 1px solid var(--rule);
  font-family: var(--label);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.contents-card a:hover,
.contents-card a:focus-visible {
  color: var(--accent);
}

.contents-card span {
  font-family: var(--body);
  font-style: italic;
}

.race-ticker {
  margin-top: 18px;
  border: 1.5px solid var(--ink);
  font-weight: 500;
}

.section-band {
  padding-top: 64px;
}

.section-heading::after {
  height: 1px;
  background: var(--rule);
}

.quick-grid,
.directory-grid {
  gap: 18px;
}

.quick-grid article,
.roles-grid article,
.rule-grid article,
.directory-card {
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.quick-grid article:hover,
.roles-grid article:hover,
.rule-grid article:hover,
.directory-card:hover,
.directory-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  filter: none;
}

.quick-grid article::before,
.roles-grid article::before,
.rule-grid article::before {
  height: 6px;
  background: var(--accent);
}

.quick-grid h3,
.roles-grid h3,
.rule-grid h3,
.directory-card > span:not(.page-tag) {
  font-family: var(--label);
  font-weight: 700;
}

.quick-grid p,
.roles-grid p,
.rule-grid p,
.story-card p,
.directory-card p,
.timeline p,
details p,
.note {
  color: var(--ink-soft);
  font-family: var(--body);
}

.page-tag {
  color: var(--accent);
  font-family: var(--label);
  font-weight: 700;
}

.directory-card strong {
  color: var(--accent);
  font-family: var(--label);
  font-weight: 700;
}

.filter,
.tab {
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--label);
  font-weight: 700;
}

.filter:hover,
.filter:focus-visible,
.tab:hover,
.tab:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.filter.is-active,
.tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.story-card {
  min-height: 300px;
}

.story-card img {
  min-height: 300px;
  border-right: 1px solid var(--line);
}

.story-card > div {
  background: #fff;
}

.topic {
  background: none;
  color: var(--accent);
  padding: 0;
}

.story-card h3,
.rule-grid h3,
.roles-grid h3,
details summary {
  color: var(--ink);
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.table-wrap,
.timeline,
details {
  border-color: var(--ink);
}

th {
  background: var(--ink);
  color: #fff;
  font-family: var(--label);
}

td {
  border-bottom-color: var(--rule);
}

.disclaimer {
  color: var(--ink-soft);
  font-family: var(--body);
}

@media (max-width: 940px) {
  .frontpage-grid,
  .lead-feature {
    grid-template-columns: 1fr;
  }

  .lead-visual {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  main {
    padding-inline: 18px;
  }

  .quick-grid,
  .directory-grid,
  .rule-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card img {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lead-feature::before {
    top: 14px;
    left: 28px;
  }
}

/* Homepage race desk: keep the newest report above the evergreen explainer. */
.home-news-feature::before {
  content: "Latest report";
}

.home-news-feature .lead-copy {
  justify-content: center;
}

.home-news-headline {
  margin: 0;
  color: var(--ink);
  font-family: var(--label);
  font-size: clamp(48px, 6.4vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9 !important;
  text-transform: lowercase;
}

.home-news-feature .lead-dek {
  max-width: 52ch;
}

.home-news-feature .lead-visual {
  display: block;
  color: #fff;
  text-decoration: none;
}

.home-news-feature .lead-scene {
  object-position: center 28%;
}

.home-news-feature .lead-visual::after {
  background: linear-gradient(0deg, rgba(15, 15, 15, 0.72), rgba(15, 15, 15, 0) 45%);
}

.lead-visual-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 3;
  color: #fff;
  font-family: var(--body);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.25;
}

.home-news-list-card {
  flex: 1 1 auto;
}

.home-news-list {
  display: flex;
  flex-direction: column;
}

.home-news-list .home-news-list-title {
  color: inherit;
  font-family: var(--label);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.08;
  text-align: left;
  text-transform: lowercase;
}

.home-news-list .home-news-list-meta {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--label);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contents-card .home-news-all-link {
  margin-top: auto;
  color: var(--accent);
}

.instagram-card {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.instagram-card .card-kicker,
.instagram-card h2,
.instagram-card p {
  color: #fff;
}

.instagram-card h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: lowercase;
}

.instagram-card p:not(.card-kicker) {
  margin-bottom: 18px;
  font-family: var(--body);
  font-size: 1.04rem;
  line-height: 1.35;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #fff;
  font-family: var(--label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: #fff;
  background: transparent;
  outline: none;
}

@media (max-width: 940px) {
  .home-news-feature .lead-visual {
    order: -1;
  }
}

@media (max-width: 720px) {
  .home-news-headline {
    font-size: clamp(42px, 13vw, 64px);
  }

  .home-news-feature .lead-copy {
    padding-top: 52px;
  }
}
