/* KMS RACING — homepage chassis, rebuilt 1:1 from docs/design/homepage-stitch.png
   Palette measured off the brand logo (docs/design/logo-src.png), which is the
   single source of truth for the navy. Light scheme only. */

:root {
  --navy: #002A62;
  --red: #CF1B25;
  --ink: #14161A;
  --muted: #6B7280;
  --band: #F1F1F3;
  --util: #F1F2F4;
  --row: #F2F3F5;
  --line: #E4E6EA;
  --border: #E7E9EC;

  --content: 1160px;
  --gutter: 40px;

  --cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --body: Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

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

a { color: inherit; text-decoration: none; }
a:hover .u-hover { text-decoration: underline; text-decoration-thickness: 1px; }

.wrap {
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- utility bar ---------- */

.utility {
  background: var(--util);
  border-bottom: 1px solid var(--line);
  font-family: var(--cond);
  font-size: 13.5px;
  font-weight: 700;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.utility__next { display: flex; align-items: center; gap: 8px; }
.utility__flag { color: var(--red); }
.utility__pill {
  background: var(--red);
  white-space: nowrap;
  color: #fff;
  padding: 3px 9px 2px;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
}

/* ---------- masthead ---------- */

.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 74px;
}
.masthead__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }

/* ---------- section furniture ---------- */

.section { padding: 30px 0; }
.section--band { background: var(--band); }

.eyebrow {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr);
  gap: 34px;
}

/* ---------- hero ---------- */

.hero { margin: 0; }
.hero__link {
  position: relative;
  display: block;
  aspect-ratio: 372 / 222;
  overflow: hidden;
  border-radius: 3px;
  background: #14161A;
}
.hero > .meta { margin-top: 9px; }
.hero__link picture { display: block; height: 100%; }
.hero__link img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.hero__badge {
  display: block;
  position: absolute;
  /* geometry taken from the mockup's own badge rect, which also means the
     badge covers the patched-out baked badge underneath it exactly */
  top: 4.95%;
  left: 2.15%;
  width: 9.9%;
  height: 10.9%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  border-radius: 2px;
}
.hero__text {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 7% 6%;
  background: linear-gradient(to top, rgba(12, 13, 15, 0.55), rgba(12, 13, 15, 0) 78%);
}
.hero__title {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.03;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}
.hero__standfirst {
  display: block;
  margin: 0;
  color: #D8DADE;
  font-size: 15.5px;
  line-height: 1.42;
  max-width: 46em;
}

/* ---------- hero side list ---------- */

.sidelist { display: flex; flex-direction: column; justify-content: space-between; }
.sidelist__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.sidelist__item:first-child { padding-top: 0; }
.sidelist__item:last-child { border-bottom: 0; }
.sidelist__item img {
  width: 112px;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 2px;
}
.sidelist__title {
  margin: -2px 0 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.16;
}

/* ---------- next race ---------- */

.nextrace .wrap {
  display: flex;
  align-items: flex-end;
  gap: 46px;
  flex-wrap: wrap;
}
.nextrace__label {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 2px;
}
.nextrace__event { display: flex; align-items: flex-end; gap: 18px; }
.nextrace__title {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
}
.nextrace__title span { display: block; }
.nextrace__circuit { width: 78px; margin-bottom: 4px; opacity: 0.92; }

.sessions { display: flex; align-items: stretch; }
.sessions__cell {
  padding: 0 22px;
  border-left: 1px solid #DCDEE2;
}
.sessions__cell:first-child { border-left: 0; padding-left: 0; }
.sessions__cell:last-child { padding-right: 0; }
.sessions__name {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17.5px;
  margin: 0 0 2px;
  white-space: nowrap;
}
.sessions__time {
  margin: 0;
  font-size: 15.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- latest river ---------- */

.river { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.river::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.river__item { position: relative; padding: 0 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.river__item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.river__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9CCD2;
}
.river__title {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 22.5px;
  line-height: 1.14;
  margin: 0 0 5px;
}
.river__standfirst { margin: 0 0 6px; font-size: 15px; line-height: 1.42; max-width: 54em; }
.meta { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ---------- sidebar cards ---------- */

.card {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}
.card + .card { margin-top: 18px; }

.tabs { display: flex; border-bottom: 1px solid var(--border); }
.tabs__tab {
  flex: 1;
  padding: 11px 10px 9px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  background: var(--row);
  color: var(--muted);
  border: 0;
  border-right: 1px solid var(--border);
  cursor: pointer;
}
.tabs__tab:last-child { border-right: 0; }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); }

/* standings: the div-based version was replaced by a real <table>
   (3 of 4 competitors carry one) — see the table rules below. */

.card__heading {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  padding: 12px 12px 10px;
}
.minilist { list-style: none; margin: 0; padding: 0 12px 12px; }
.minilist li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.minilist img { width: 62px; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 2px; }
.minilist p {
  margin: -2px 0 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.16;
}

/* ---------- card rows (drivers / rally) ---------- */

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

.driver {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.driver img { width: 100%; aspect-ratio: 137 / 80; object-fit: cover; }
.driver__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.driver__name {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.1;
  margin: 0 0 6px;
}
.driver__blurb { display: block; margin: 0 0 14px; font-size: 14.5px; line-height: 1.4; }
.driver .meta { display: block; margin-top: auto; }

.story img { width: 100%; aspect-ratio: 138 / 88; object-fit: cover; border-radius: 3px; }
.story__title {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.14;
  margin: 12px 0 5px;
}
.story__blurb { margin: 0; font-size: 14.5px; line-height: 1.4; }

/* ---------- fantasy band ---------- */

.fantasy { background: var(--navy); }
.fantasy .wrap {
  min-height: 52px;
  display: flex;
  align-items: center;
}
.fantasy p, .fantasy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 20.5px;
  line-height: 1.25;
}
.fantasy a:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.footer { background: var(--band); padding: 34px 0 40px; }
.footer .wrap {
  display: grid;
  grid-template-columns: 132px repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.chip {
  width: 92px;
  height: 92px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--cond);
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
}
.chip span:first-child { font-size: 29px; letter-spacing: 0.01em; }
.chip span:last-child { font-size: 17px; margin-top: 5px; }

.footer h2 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer li a { font-size: 14.5px; }
.footer li a:hover { text-decoration: underline; }
.social { display: flex; gap: 14px; }
.social a { color: var(--ink); }
.social svg { width: 25px; height: 25px; display: block; }

/* ---------- mobile ---------- */

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .split, .grid3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .masthead .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .nav { gap: 18px; overflow-x: auto; width: 100%; }
  /* the hero's overlay caption cannot fit inside a 16:9 box at phone width,
     so the card stacks: photo on top, caption on its own dark panel below */
  .hero__link { aspect-ratio: auto; }
  .hero__link picture { height: auto; }
  .hero__link img { height: auto; min-height: 0; aspect-ratio: 756 / 324; }
  .hero__badge { width: auto; height: auto; top: 10px; left: 10px; padding: 4px 12px 3px; font-size: 14.5px; }
  .hero__text { position: static; padding: 14px 16px 17px; background: #14161A; }
  .hero__title { font-size: 25px; margin-bottom: 8px; }
  .hero__standfirst { font-size: 14.5px; }
  .nav { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
  .nextrace .wrap { gap: 22px; }
  .sessions { flex-wrap: wrap; gap: 12px 0; }
  .sessions__cell { padding: 0 16px; }
  .footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .utility .wrap { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 6px; padding-bottom: 6px; }
  .nextrace__title { font-size: 27px; }
  .river__title { font-size: 20px; }
}


/* ══════════ fingerprint-spec additions (see docs/competitor-fingerprint-homepage.md) ══════════ */

.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;
}

/* Layer 0 — none of the four competitors exposes a homepage H1; we do. */
.tagline { background: #fff; border-bottom: 1px solid var(--line); }
.tagline h1 {
  margin: 0;
  padding: 9px 0 10px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
}

.byline { font-family: var(--cond); font-weight: 700; color: var(--navy); }
.byline:hover { text-decoration: underline; }
.meta__dot { margin: 0 6px; }

.more { margin: 20px 0 0; }
.more a {
  font-family: var(--cond); font-weight: 700; font-size: 16px;
  color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 2px;
}

.nextrace__note, .calendar__note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.sessions__time span { color: var(--muted); font-size: 13.5px; }

/* standings as a real table (3 of 4 competitors carry a table) with
   Layer-11 points-gap bars whose widths come from the printed points */
table.standings {
  width: 100%; border-collapse: separate; border-spacing: 0 4px;
  padding: 10px; font-size: 16.5px;
}
table.standings thead th {
  font-family: var(--cond); font-weight: 700; font-size: 12px;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
  text-align: left; padding: 0 8px 4px;
}
table.standings thead th:last-child { text-align: right; }
table.standings td { background: var(--row); padding: 8px 10px; vertical-align: middle; }
table.standings td:first-child { border-radius: 2px 0 0 2px; }
table.standings td:last-child { border-radius: 0 2px 2px 0; text-align: right; }
.standings__pos { font-family: var(--cond); font-weight: 700; width: 34px; }
.standings__flag { width: 28px; }
.standings__flag svg {
  display: block; width: 20px; height: 14px; border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(20, 22, 26, 0.14);
}
.standings__name { font-family: var(--cond); font-weight: 700; }
.standings__pts { font-family: var(--cond); font-weight: 700; font-variant-numeric: tabular-nums; }
tr.standings__row--home td { background: var(--navy); color: #fff; }
.bar { display: block; height: 3px; margin-top: 4px; background: #DCDEE2; border-radius: 2px; }
.bar span { display: block; height: 100%; background: var(--navy); border-radius: 2px; }
tr.standings__row--home .bar { background: rgba(255, 255, 255, 0.28); }
tr.standings__row--home .bar span { background: #fff; }
.card__foot {
  margin: 0; padding: 2px 12px 12px; font-size: 13px; color: var(--muted);
}
.card__foot a { color: var(--navy); font-weight: 500; }
.card__foot a:hover { text-decoration: underline; }

.mostread { list-style: none; counter-reset: mr; margin: 0; padding: 0 12px 12px; }
.mostread li {
  counter-increment: mr; display: grid; grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px; padding: 9px 0; border-top: 1px solid var(--line);
}
.mostread li::before {
  content: counter(mr); font-family: var(--cond); font-weight: 700;
  color: var(--navy); font-size: 16px;
}
.mostread a { font-family: var(--cond); font-weight: 700; font-size: 15.5px; line-height: 1.18; }

.card--news { background: var(--band); }
.card--news p { margin: 0 12px 12px; font-size: 14px; line-height: 1.42; }
.signup { display: flex; gap: 6px; margin: 0 12px 14px; }
.signup input {
  flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #CFD3DA;
  border-radius: 2px; font: inherit; font-size: 14px; background: #fff;
}
.signup button {
  padding: 9px 14px; border: 0; border-radius: 2px; background: var(--navy);
  color: #fff; font-family: var(--cond); font-weight: 700; font-size: 15px; cursor: pointer;
}

.driver__tag {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin: 0 0 7px;
}

.desk { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.desk li {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(120px, 1fr) 130px minmax(0, 2fr);
  gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.desk strong { font-family: var(--cond); font-size: 17px; }
.desk__tag { color: var(--navy); font-family: var(--cond); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.04em; text-transform: uppercase; }
.desk__count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.linklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.linklist li { border-top: 2px solid var(--navy); padding-top: 9px; }
.linklist a { font-family: var(--cond); font-weight: 700; font-size: 16.5px; line-height: 1.18; }

.story--text {
  border: 1px solid var(--border); border-radius: 3px; padding: 16px 18px 18px; background: #fff;
}
.story--text .story__title { margin-top: 0; }

.calendar { list-style: none; margin: 16px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.calendar__item a {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: 2px;
  padding: 8px 10px 9px;
}
.calendar__item--done a { opacity: 0.55; }
.calendar__item--next a { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.calendar__round {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em; color: var(--navy);
}
.calendar__name { display: block; font-family: var(--cond); font-weight: 700; font-size: 15px;
  line-height: 1.14; margin: 1px 0 2px; }
.calendar__date { display: block; font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .desk li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .linklist { grid-template-columns: minmax(0, 1fr); }
  .calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tagline h1 { font-size: 13px; }
}


/* ══════════ guide pages (see docs/competitor-fingerprint-fantasy.md) ══════════ */

.guide { padding: 0 0 44px; }
.guide .wrap { max-width: 900px; }
.crumbs { padding: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--navy); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }

.guide h1 {
  font-family: var(--cond); font-weight: 700; font-size: 42px; line-height: 1.05;
  margin: 16px 0 14px; letter-spacing: 0.002em;
}
.guide .lead { font-size: 18.5px; line-height: 1.5; margin: 0 0 12px; }
.guide > .wrap > .meta { padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.guide h2 {
  font-family: var(--cond); font-weight: 700; font-size: 27px; line-height: 1.12;
  margin: 38px 0 12px; padding-top: 4px;
}
.guide h3 {
  font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1.15;
  margin: 26px 0 10px;
}
.guide p { font-size: 16.5px; line-height: 1.58; margin: 0 0 14px; max-width: 42em; }
.guide p a, .guide li a, .faq a { color: var(--navy); font-weight: 500; text-decoration: underline; }

.bullets, .tips { margin: 0 0 16px; padding-left: 22px; }
.bullets li, .tips li { font-size: 16.5px; line-height: 1.55; margin-bottom: 10px; max-width: 42em; }
.tips { counter-reset: t; list-style: none; padding-left: 0; }
.tips li {
  counter-increment: t; display: grid; grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; max-width: none;
}
.tips li::before {
  content: counter(t); font-family: var(--cond); font-weight: 700; font-size: 21px;
  color: var(--navy);
}

/* scoring tables — 4 tables is the archetype leader's count and our MUST */
.ptable {
  width: 100%; border-collapse: collapse; margin: 0 0 20px;
  border: 1px solid var(--border); font-size: 15.5px; background: #fff;
}
.ptable caption {
  caption-side: top; text-align: left; font-family: var(--cond); font-weight: 700;
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); padding: 0 0 7px;
}
.ptable th, .ptable td { padding: 8px 12px; text-align: left; vertical-align: top; }
.ptable thead th {
  font-family: var(--cond); font-size: 12.5px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted); background: var(--row);
  border-bottom: 1px solid var(--border);
}
.ptable tbody tr + tr { border-top: 1px solid var(--line); }
.ptable tbody th[scope="row"] { font-family: var(--cond); font-weight: 700; }
.ptable__pts {
  font-family: var(--cond); font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ptable--chips { font-size: 15px; }
.ptable--chips td:last-child { color: #24272E; }
.tablepair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* Layer 11 — bars whose widths ARE the points in the same row */
.ptable__bar {
  display: block; height: 3px; margin-top: 5px; max-width: 260px;
  background: #E4E6EA; border-radius: 2px;
}
.ptable__bar span { display: block; height: 100%; background: var(--navy); border-radius: 2px; }
.ptable__bar--neg span { background: var(--red); }

.ladder { list-style: none; margin: 0 0 18px; padding: 0; }
.ladder li {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) 74px;
  gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line);
}
.ladder__label { font-family: var(--cond); font-weight: 700; font-size: 16.5px; }
.ladder__bar { display: block; height: 10px; background: #E4E6EA; border-radius: 2px; }
.ladder__bar span { display: block; height: 100%; background: var(--navy); border-radius: 2px; }
.ladder__pts {
  font-family: var(--cond); font-weight: 700; text-align: right;
  font-variant-numeric: tabular-nums;
}
.ladder__item--home .ladder__label { color: var(--navy); }
.ladder__item--home .ladder__bar span { background: var(--red); }

.faq { margin: 0 0 18px; }
.faq dt {
  font-family: var(--cond); font-weight: 700; font-size: 18px;
  margin: 18px 0 6px; padding-top: 14px; border-top: 1px solid var(--line);
}
.faq dd { margin: 0; font-size: 16.5px; line-height: 1.55; max-width: 42em; }

.sources {
  margin: 34px 0 0; padding: 14px 16px; background: var(--band); border-radius: 3px;
  font-size: 14px; color: #3B4048; max-width: none;
}

@media (max-width: 900px) {
  .guide h1 { font-size: 31px; }
  .guide h2 { font-size: 23px; }
  .tablepair { grid-template-columns: minmax(0, 1fr); }
  .ladder li { grid-template-columns: 116px minmax(0, 1fr) 64px; gap: 10px; }
  .ptable { font-size: 15px; }
  .ptable { font-size: 14.5px; }
}

.guide__hero { margin: 18px 0 0; }
.guide__hero img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 3px; }
.guide__fig { float: right; width: 230px; margin: 4px 0 16px 24px; }
.guide__fig img { width: 100%; height: auto; border-radius: 3px; }
.guide__fig figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.guide h2 { clear: both; }
@media (max-width: 700px) {
  .guide__fig { float: none; width: 100%; margin: 0 0 16px; }
}

.tips__body { display: block; }

.tscroll { overflow-x: auto; margin: 0 0 20px; }
.tscroll .ptable { margin-bottom: 0; min-width: 100%; }
.ptable--chips { min-width: 620px; }


/* ══════════ hub pages (see docs/competitor-fingerprint-rally.md) ══════════ */

.hub { padding: 0 0 44px; }
.hub .wrap { max-width: 1000px; }
.hub h1 {
  font-family: var(--cond); font-weight: 700; font-size: 40px; line-height: 1.05;
  margin: 14px 0 12px;
}
.hub .lead { font-size: 18px; line-height: 1.5; margin: 0 0 16px; max-width: 44em; }
.hub h2 {
  font-family: var(--cond); font-weight: 700; font-size: 26px; line-height: 1.12;
  margin: 36px 0 10px;
}
.hub h2.eyebrow { font-size: 14.5px; letter-spacing: 0.09em; margin: 30px 0 14px; }
.hub p { font-size: 16.5px; line-height: 1.55; margin: 0 0 14px; max-width: 44em; }
.hub p a, .hub li a { color: inherit; }

/* sub-series navigation — all four competitors carry one */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; }
.chips a {
  display: block; padding: 7px 13px 6px; background: var(--band);
  border: 1px solid var(--border); border-radius: 2px;
  font-family: var(--cond); font-weight: 700; font-size: 15px;
}
.chips a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.tag {
  display: inline-block; margin-bottom: 6px;
  font-family: var(--cond); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--navy);
}

.leadcard {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px; align-items: center; padding: 0 0 22px; border-bottom: 2px solid var(--navy);
}
.leadcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.leadcard__body { display: block; }
.leadcard__title {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 30px;
  line-height: 1.08; margin: 0 0 8px;
}
.leadcard__standfirst { display: block; font-size: 16px; line-height: 1.5; margin: 0 0 8px; }

/* card grid — the shape all four competitors use */
.cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px; margin: 0; padding: 0; }
.cards li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cards h3 { font-family: var(--cond); font-weight: 700; font-size: 20px; line-height: 1.14;
  margin: 0 0 5px; }
.cards p { font-size: 15px; line-height: 1.45; margin: 0 0 6px; max-width: none; }

.crews { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.crews li {
  display: grid;
  grid-template-columns: 46px minmax(120px, 1.1fr) minmax(90px, 1fr) 68px 132px minmax(0, 2fr);
  gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.crews__pos { font-family: var(--cond); font-weight: 700; color: var(--navy); font-size: 17px; }
.crews__name { font-family: var(--cond); font-weight: 700; font-size: 17px; }
.crews__team { color: #3B4048; }
.crews__pts { font-family: var(--cond); font-weight: 700; font-variant-numeric: tabular-nums; }
.crews__news { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hub h1 { font-size: 30px; }
  .hub h2 { font-size: 23px; }
  .leadcard { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .leadcard__title { font-size: 24px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .crews li { grid-template-columns: 46px minmax(0, 1fr); gap: 4px 12px; }
  .crews__team, .crews__pts, .crews__news, .crews__line { grid-column: 2; }
}

.cards li img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 3px; margin-bottom: 9px; }

.champs { list-style: none; counter-reset: ch; margin: 0 0 18px; padding: 0;
  border-top: 1px solid var(--line); }
.champs li { counter-increment: ch; display: grid;
  grid-template-columns: 34px minmax(140px, 1fr) 130px minmax(0, 2.4fr);
  gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.champs li::before { content: counter(ch); font-family: var(--cond); font-weight: 700;
  font-size: 21px; color: var(--navy); }
.champs__name { font-family: var(--cond); font-weight: 700; font-size: 18px; }
.champs__year { font-family: var(--cond); font-weight: 700; color: var(--navy);
  font-size: 15px; letter-spacing: 0.03em; }
.champs__note { font-size: 14.5px; line-height: 1.45; }
.card--wide { margin: 26px 0 0; max-width: 620px; }
.hub .grid3 { margin: 22px 0 6px; }
@media (max-width: 900px) {
  .champs li { grid-template-columns: 30px minmax(0, 1fr); gap: 3px 12px; }
  .champs__year, .champs__note { grid-column: 2; }
}

/* calendar hub */
.progress__label { font-family: var(--cond); font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); margin: 4px 0 5px; }
.progress { display: block; height: 8px; max-width: 460px; background: #E4E6EA;
  border-radius: 2px; margin: 0 0 8px; }
.progress span { display: block; height: 100%; background: var(--navy); border-radius: 2px; }

.rounds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px;
  margin: 4px 0 6px; }
.round { border: 1px solid var(--border); border-radius: 3px; padding: 13px 15px 14px;
  background: #fff; }
.round h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--cond); font-weight: 700; font-size: 18px; margin: 0 0 9px; }
.round h3 .flag svg { display: block; width: 20px; height: 14px; border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(20,22,26,.14); }
.tag--sprint { margin: 0; padding: 2px 7px 1px; background: var(--red); color: #fff;
  border-radius: 2px; font-size: 11.5px; letter-spacing: 0.05em; }
.round__sessions { list-style: none; margin: 0; padding: 0; }
.round__sessions li { display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 52px 56px; gap: 8px;
  padding: 5px 0; border-top: 1px solid var(--line); font-size: 14.5px;
  align-items: baseline; }
.round__name { font-family: var(--cond); font-weight: 700; }
.round__when { color: var(--muted); font-size: 13px; }
.round__fi { font-family: var(--cond); font-weight: 700; font-variant-numeric: tabular-nums;
  text-align: right; }
.round__local { color: var(--muted); font-size: 13px; text-align: right;
  font-variant-numeric: tabular-nums; }

.btn { display: inline-block; padding: 11px 18px 10px; background: var(--navy); color: #fff;
  border-radius: 2px; font-family: var(--cond); font-weight: 700; font-size: 16px; }
.btn:hover { background: #001E48; }

@media (max-width: 900px) {
  .rounds { grid-template-columns: minmax(0, 1fr); }
  .round__sessions li { grid-template-columns: minmax(0, 1fr) 50px 52px; }
  .round__when { grid-column: 1; font-size: 12.5px; }
  .round__local { display: none; }
}

.tznote { font-size: 14px; color: var(--muted); max-width: 44em; }
.round__tz { font-family: var(--body); font-weight: 400; font-size: 11.5px;
  color: var(--muted); letter-spacing: 0.04em; }
.round__venue { font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--muted); }

/* F1 hub — explicit story-status labels (Layer 8 row 8: speculation framing) */
.tag--confirmed { background: var(--navy); color: #fff; padding: 2px 7px 1px; border-radius: 2px;
  font-size: 11.5px; letter-spacing: 0.05em; }
.tag--reported { background: var(--band); color: #3B4048; padding: 2px 7px 1px;
  border: 1px solid var(--border); border-radius: 2px; font-size: 11.5px; letter-spacing: 0.05em; }
.tag--analysis { background: var(--red); color: #fff; padding: 2px 7px 1px; border-radius: 2px;
  font-size: 11.5px; letter-spacing: 0.05em; }
.cards--news li { padding: 15px 0; }
.linklist--depth { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
.linklist--depth li { border-top: 2px solid var(--navy); padding-top: 10px; }
.linklist--depth strong { display: block; font-family: var(--cond); font-size: 17.5px;
  line-height: 1.16; margin-bottom: 6px; }
.linklist--depth span { display: block; font-size: 14.5px; line-height: 1.45; color: #3B4048; }
@media (max-width: 900px) { .linklist--depth { grid-template-columns: minmax(0, 1fr); } }

/* live.js enhancements — the server-rendered text underneath stays indexable */
#kms-countdown[data-state] { display: flex; align-items: center; gap: 10px; }
.kms-count-label { font-family: var(--cond); font-weight: 700; }
.kms-count-clock {
  font-family: var(--cond); font-weight: 700; background: var(--navy); color: #fff;
  padding: 3px 9px 2px; border-radius: 2px; font-variant-numeric: tabular-nums;
}
#kms-countdown[data-state="live"] .kms-count-clock { background: var(--red); }
.kms-count-when { color: var(--muted); font-size: 12.5px; }
.kms-live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); animation: kms-pulse 1.6s ease-in-out infinite;
}
@keyframes kms-pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .kms-live-dot { animation: none } }
#kms-live { background: var(--red); color: #fff; }
#kms-live:not([hidden]) { display: block; }
#kms-live .wrap { padding-top: 7px; padding-bottom: 6px; font-family: var(--cond);
  font-weight: 700; font-size: 14.5px; }
@media (max-width: 560px) { .kms-count-when { display: none } }

/* Subscribe control. Replaces a <form> that POSTed to a static path and silently
   discarded the address; a mailto link genuinely delivers on a static host. */
.signup-note { font-size: 14px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.btn--signup {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  text-decoration: none;
}
.btn--signup:hover, .btn--signup:focus { background: #b3161f; }

/* ── author surface (Content/authors skill) ─────────────────────────────── */
.authorhero { display: grid; grid-template-columns: 220px 1fr; gap: 28px;
              align-items: start; margin: 4px 0 26px; }
.authorhero__portrait { border-radius: 3px; }
.authorhero__role { font-family: var(--cond); font-weight: 700; font-size: 19px;
                    text-transform: uppercase; letter-spacing: .04em;
                    color: var(--navy); margin: 2px 0 6px; }
.authorhero__meta { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.authorhero__tagline { font-size: 19px; font-style: italic; color: var(--ink);
                       margin: 0; }
.authorbox { display: grid; grid-template-columns: 96px 1fr; gap: 20px;
             background: var(--band); padding: 22px; margin: 30px 0 6px;
             border-left: 4px solid var(--red); }
.authorbox__portrait { border-radius: 50%; }
.authorbox__name { font-size: 20px; margin: 0 0 2px; }
.authorbox__role { color: var(--muted); font-size: 14px; margin: 0 0 8px;
                   font-family: var(--cond); text-transform: uppercase;
                   letter-spacing: .04em; }
.cards--authors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
                  gap: 26px; list-style: none; padding: 0; }
.cards--authors > li { background: var(--band); padding: 20px; }
.authorcard__portrait { border-radius: 50%; margin-bottom: 12px; }
.authorcard__role { font-family: var(--cond); text-transform: uppercase;
                    letter-spacing: .04em; font-size: 14px; color: var(--navy);
                    margin: 0 0 4px; }
@media (max-width: 720px) {
  .authorhero { grid-template-columns: 1fr; }
  .authorhero__portrait { width: 160px; height: 160px; }
  .authorbox { grid-template-columns: 1fr; }
}
