/* The front page: the homepage as a magazine front (27 Nov 2026). The newest
   episode leads, the best of each class and the episodes before it follow,
   the Board runs on the same paper, and who scores it closes the page. Same
   paper, faces and inks as the episode pages (css/episode.css), so a reader
   moving from the front to a review stays in one magazine. Loaded after
   style.css on index.html only. */

.front {
  background: #FFFFFF;
  color: #1C1B19;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
/* The same 24px gutter as style.css's .wrap, so the front, the Board and the
   header share one left edge. */
.front-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 44px;
}
.front-bottom .front-wrap { padding-top: 40px; }
/* Best in each class now sits between the lead and More episodes. */
.front-top .front-classes + .front-all { margin: 18px 0 40px; }

/* The masthead line: what the site is, in one band over the lead. */
.front-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 28px;
  border-bottom: 2px solid #1C1B19;
  padding-bottom: 14px;
  margin-bottom: 24px;
}
.front-mast .hero-kicker {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .14em;
  color: #B3200E;
  margin: 0 0 .35rem;
}
.front-mast h1 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 88%;
  font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: #1C1B19;
  margin: 0;
  max-width: none;
}
.front-mast h1 em { font-style: normal; color: #B3200E; }
.front-mast .hero-by {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: .84rem;
  line-height: 1.45;
  color: #6B6761;
  max-width: 34ch;
  margin: 0;
}
.front-mast .hero-by a { color: #1C1B19; font-weight: 700; text-decoration: none; }
/* Who is talking and what the score is, in one plain sentence under the
   headline: the masthead said "worth buying" without saying who decides. */
.front-mast .hero-dek {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #3A3833;
  max-width: 64ch;
  margin: .7rem 0 0;
}
.front-mast .hero-dek a { color: #1C1B19; font-weight: 600; text-decoration: none; border-bottom: 1px solid #CFCAC0; }
.front-mast .hero-dek a:hover { border-bottom-color: #1C1B19; }
.front-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }
.front-cta {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.2;
  padding: 11px 16px;
  border: 1px solid #1C1B19;
  border-radius: 4px;
  color: #1C1B19;
  text-decoration: none;
}
.front-cta:hover { background: #F6F4EF; }
.front-cta.primary { background: #B3200E; border-color: #B3200E; color: #FFFFFF; }
.front-cta.primary:hover { background: #8E190B; border-color: #8E190B; }

/* The lead story: the newest episode. */
.front-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin: 0 0 40px;
}
/* Every picture on the front is the photograph its review opens on, in one
   3:2 frame so the lead and the cards line up whatever shape the original is,
   with its credit directly under it as on the reviews. style.css dresses
   .tb-figure for the dark pages; on paper it loses the border and the dim
   ink. */
.front .tb-figure { margin: 0; }
.front .tb-figure > a {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #E9E6DF;
}
.front .tb-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: none;
  transition: transform .5s ease;
}
.front-lead-pic > a:hover img,
.front-card:hover .tb-figure img { transform: scale(1.02); }
.front .tb-figure figcaption {
  display: block;
  margin: 5px 0 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: .66rem;
  line-height: 1.4;
  color: #6B6761;
}
.front .tb-figure figcaption .tb-figcredit {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0;
  color: inherit;
}
.front .tb-figure figcaption .tb-figcredit a { color: inherit; text-underline-offset: 2px; }
.front .tb-figure figcaption .tb-figcredit a:hover { color: #B3200E; }
.front-eyebrow {
  display: block;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: .74rem;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B3200E;
  margin: 0 0 .55rem;
}
.front-lead-h {
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 88%;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 .8rem;
  text-wrap: balance;
}
.front-lead-h a { color: #1C1B19; text-decoration: none; }
.front-lead-h a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
/* The episode's own line, under the car's name. */
.front-lead-line {
  font-size: 1.32rem;
  line-height: 1.35;
  color: #1C1B19;
  margin: 0 0 .7rem;
  text-wrap: pretty;
}
.front-dek { font-size: 1.12rem; line-height: 1.45; margin: 0 0 1rem; }
.front-dek b { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; color: #1F6F43; }
.front-more {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: .9rem;
  margin: 0;
}
.front-more a { color: #B3200E; text-decoration: none; }
.front-more a:hover { text-decoration: underline; }
.front-all { margin-top: 26px; }

/* Section heads: a rule and a label, as a magazine runs them. */
.front-section-h {
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 90%;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1C1B19;
  border-top: 2px solid #1C1B19;
  padding-top: 10px;
  margin: 0 0 18px;
}

/* The episodes before the lead. */
.front-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.front .front-card-pic { margin: 0 0 12px; }
.front-card-text { display: block; color: #1C1B19; text-decoration: none; }
.front-card-h {
  display: block;
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 92%;
  font-weight: 800;
  font-size: 1.16rem;
  line-height: 1.14;
  margin: 0 0 .4rem;
  text-wrap: balance;
}
.front-card:hover .front-card-h { text-decoration: underline; text-underline-offset: 3px; }
.front-card-line {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  color: #3A3833;
  margin: 0 0 .45rem;
  text-wrap: pretty;
}
.front-card-v {
  display: block;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: #1F6F43;
}

/* The top of each class. */
.front-classes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 22px;
}
.front-class h3 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B3200E;
  margin: 0 0 6px;
}
.front-class ol { list-style: none; counter-reset: place; margin: 0; padding: 0; }
.front-class li {
  counter-increment: place;
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr);
  align-items: baseline;
  border-top: 1px solid #DCD8D0;
  padding: 9px 0;
}
.front-class li::before {
  content: counter(place);
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: #6B6761;
}
.front-class li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  color: #1C1B19;
  text-decoration: none;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
}
.front-class li a:hover .nm { text-decoration: underline; }
.front-class .sc { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.front-class .sc small { font-size: .78em; font-weight: 700; color: #6B6761; }

/* Who scores the Board. */
.front-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  margin-top: 46px;
}
.front-people-pic { margin: 0; }
.front-people-pic img { display: block; width: 100%; height: auto; }
.front-people-pic figcaption {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: .78rem;
  line-height: 1.5;
  color: #3A3833;
  margin-top: .5rem;
}
.front-people-pic figcaption span { color: #6B6761; font-size: .7rem; margin-left: .3rem; }
.front-people-text p { font-size: 1.12rem; line-height: 1.55; margin: 0 0 1rem; }

/* The Board, on the same paper. It was the one part of the front still in
   the dark theme, so the page went white, black, then white again (Ramon:
   "the website switches direction when it goes to the board"). Every colour
   the Board draws with is a token in style.css, the bars and chips its script
   writes included, so it moves to paper by re-pointing the tokens inside its
   three sections. The header and footer stay dark, as on every page. */
.legend-band,
.control-rail,
.tier-list {
  --ink: #FFFFFF;
  --ink-chrome: #FFFFFF;
  --ink-soft: #F6F4EF;
  --ink-panel-alt: #FFFFFF;
  --ink-legend: #FFFFFF;
  --ink-expanded: #F6F4EF;
  --paper: #1C1B19;
  --paper-secondary: #3A3833;
  --paper-dim: #6B6761;
  --paper-faint: #8A867E;
  --line: #DCD8D0;
  --line-hairline: #E9E6DF;
  --line-control: #CFCAC0;
  --accent: #B3200E;
  --accent-dim: #8E190B;
  --accent-amber: #8A5A00;
  --tier-b: #B3200E;
  --tier-a: rgba(28, 27, 25, .45);
  --tier-c: rgba(28, 27, 25, .22);
  --tier-s: rgba(28, 27, 25, .1);
  --tier-d: rgba(28, 27, 25, .32);
  --mono: 'Archivo', system-ui, sans-serif;
  /* .tier-list sets no background of its own and showed the body's dark one. */
  background: #FFFFFF;
  color: #1C1B19;
}
/* It opens the way the front's other sections do: a heavy rule and a label. */
.legend-band { padding-top: 0; }
.legend-band .legend-label {
  border-top: 2px solid #1C1B19;
  padding-top: 10px;
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 90%;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .1em;
  color: #1C1B19;
  margin-bottom: 18px;
}
/* The one ink style.css writes as a literal for the dark page. */
.tier-list .expand-note p { color: #3A3833; }

@media (max-width: 1000px) {
  .front-classes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .front-lead { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
  .front-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-people { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
  .front-wrap { padding: 18px 24px 34px; }
  .front-mast { margin-bottom: 18px; }
  .front-mast .hero-by { max-width: none; }
  .front-mast .hero-dek { font-size: .98rem; }
  .front-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .front-classes { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
