/* ===========================================================================
   Front page
   ---------------------------------------------------------------------------
   Page-scoped, loaded only by index.php. Uses the counter.css tokens; no raw
   hex except the two places the design calls for a colour that is not in the
   palette (the scrim's alpha stops, and white on red).
   =========================================================================== */

/* --- Hero ---------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }

/* The photograph is a full-bleed background rather than a band the copy hangs
   off. Absolutely positioned, so the section is sized by its content and the
   image covers whatever that comes to. */
/* The <picture> is a wrapper with no box of its own - display: contents so
   the <img> inside it is still positioned against .hero, exactly as it was
   when the markup was a bare <img>. Without it the picture is an inline box
   in the flow and puts a line of leading above the hero copy. */
.hero-pic { display: contents; }
.hero-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
}

/* Legible text over a photograph is the one thing a scrim cannot negotiate,
   so it stays near-opaque through the copy and only opens up towards the
   bottom, where the chips sit. They are opaque cards and read as cut-outs
   against the image, so they are the part that can afford to show it. */

/* The scrim runs ACROSS, not down.
   Down is the obvious direction and it was the wrong one: the thing a scrim
   protects is the copy, and the copy is on the LEFT. The right half is the
   receipt, which is opaque and needs no protection at all. Running it
   vertically at 96% meant the reader saw four per cent of a photograph of
   shelves full of games, which is how a photograph ends up being described
   as texture.

   Full strength under the words, opening to a third at the right-hand edge.
   Safe because the copy column, flexible as it is, reaches between 43% and
   62% across the hero at every width from 1024 to 1680 — measured, not
   assumed — so the headline and lede never sit over the open part.

   A weak vertical layer stays on top, because the bottom of the hero meets
   the flat red promotions strip and a hard edge between a photograph and a
   solid band reads as a mistake. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(244, 241, 234, 0.30) 0%,
      rgba(244, 241, 234, 0.10) 60%,
      rgba(244, 241, 234, 0.34) 100%),
    linear-gradient(to right,
      rgba(244, 241, 234, 0.975) 0%,
      rgba(244, 241, 234, 0.965) 38%,
      rgba(244, 241, 234, 0.66) 62%,
      rgba(244, 241, 234, 0.32) 100%);
}

/* The two opening stops were 0.97 and 0.95, which was enough for the previous
   photograph and not for this one. That one was a tabletop against a white
   wall and the left of the frame was already near paper; this one is shelves
   of boxed games and the left of the frame is dark.

   Measured at the glyph - render the copy, render the hero with the copy
   hidden, and read the background under the pixels that are actually ink -
   the eyebrow came to 4.82:1 against a 4.5 threshold. It passes, but the
   eyebrow is CATRP red on paper and its ceiling is 5.13:1, so 4.82 is most of
   the headroom the colour has. Two hundredths of alpha, in the part of the
   frame that is invisible at either value, takes it back to comfortable. */

.hero-inner {
  position: relative;
  padding-top: 60px; padding-bottom: 56px;
  display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start;
}
.hero-copy { flex: 999 1 440px; min-width: 0; }
.hero h1 { margin: 0 0 22px; font-size: 48px; }
.hero .eyebrow { margin-bottom: 16px; }
.hero-lede {
  margin: 0 0 28px; font-size: 18px; line-height: 1.55;
  color: var(--ink-70); max-width: 44ch; font-weight: 500;
}
.hero-jump { margin: 0 0 12px; font-size: 15px; color: var(--ink-70); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  text-decoration: none; border: 1px solid var(--line-strong);
  /* Translucent, so the photograph shows through just enough to tie them to
     it, but not enough to fight the label. */
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink); font-size: 15px; font-weight: 600;
  padding: 9px 14px; min-height: var(--tap);
  display: inline-flex; align-items: center;
  /* color is in the transition because the hover changes it. Without it the
     label snapped to white while the background was still fading, which read
     as a flicker rather than a fill. */
  transition: background-color 150ms, border-color 150ms, color 150ms;
}

/* HOVER FILLS RED. The old hover went from the translucent paper to solid
   --card with an ink border — a change of about two per cent of the chip,
   which on a photograph was close to invisible. These are the only navigation
   on the hero and they have to answer the pointer.
   
   White on --red (#CB1017) measures 5.79:1, so the label stays past AA for
   normal text at the 15px/600 it is set in. Both chips land on the same
   colour, so the whole row answers the same way; their resting states still
   tell the five platforms apart from the way out. */
.chip:hover,
.chip-all:hover {
  background: var(--red); border-color: var(--red); color: #FFFFFF;
}
.chip:focus-visible,
.chip-all:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* The way out of the row, not a platform — so it is filled where the others
   are not, and says so at rest rather than on hover. */
.chip-all { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* --- Receipt ------------------------------------------------------------- */

.receipt { background: var(--card); border: 2px solid var(--ink); }
/* Sitting on a photograph, it needs an edge the photograph cannot soften. */
.receipt-hero { flex: 1 1 360px; min-width: 0; box-shadow: 12px 12px 0 rgba(26, 23, 20, 0.22); }

.receipt-head {
  padding: 18px 22px; border-bottom: 2px dashed var(--line);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.receipt-title {
  font-family: var(--font-display); font-weight: 900; font-size: 18px;
  letter-spacing: 0.012em; text-transform: uppercase; line-height: 1.08;
}
.receipt-no { font-size: 11px; color: var(--ink-55); }

.receipt-lines { padding: 8px 22px 4px; }
.receipt-line {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dotted var(--line-2); font-size: 15px;
}
.receipt-line:last-child { border-bottom: 0; }
.receipt-line .num { font-weight: 600; }
.receipt-meta { color: var(--ink-55); }
.receipt-boost, .receipt-boost .num { color: var(--red); font-weight: 600; }

.receipt-total {
  padding: 16px 22px; border-top: 2px solid var(--ink); background: var(--paper);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.receipt-total > span:first-child {
  font-family: var(--font-display); font-weight: 900; font-size: 15px;
  letter-spacing: 0.012em; text-transform: uppercase; line-height: 1.08;
}
.receipt-total .num { font-size: 28px; font-weight: 700; color: var(--green); }

.receipt-foot-note {
  margin: 0; padding: 12px 22px 18px; background: var(--paper);
  font-size: 13px; line-height: 1.5; color: var(--ink-55);
}

/* The foot copy exists for phones only; the hero carries it on desktop. */
.receipt-foot { display: none; }

/* --- Boost band ---------------------------------------------------------- */

.boosts { background: var(--red); color: #FFFFFF; }
.boosts-inner {
  padding-top: 34px; padding-bottom: 34px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.boosts-head { flex: 1 1 260px; min-width: 0; }
.boosts-head h2 { margin: 0 0 8px; font-size: 28px; color: #FFFFFF; }
.boosts-head p { margin: 0; font-size: 15px; line-height: 1.5; color: #FBE3E0; }

/* One hairline grid: the gap IS the rule, which keeps the rows flush without
   a border on each cell that would double up where two meet. */
.boosts-grid {
  flex: 999 1 460px; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: rgba(255, 255, 255, 0.28);
}
.boost-row {
  background: var(--red); padding: 13px 16px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.boost-row span:first-child { font-size: 15px; font-weight: 500; }
.boost-row .num { font-size: 18px; font-weight: 700; }

/* --- The covers strip ----------------------------------------------------
   Real box art across the foot of the hero. See index.php for where the
   selection comes from and why it is one per platform.

   Translucent rather than solid, so the photograph behind it still shows
   through and the band reads as part of the hero instead of a tray bolted
   underneath it. Each cover gets its own opaque tile, which is what keeps
   the art legible over whatever happens to be behind it. */
.hero-covers {
  position: relative;
  border-top: 1px solid rgba(26, 23, 20, 0.16);
  background: rgba(244, 241, 234, 0.80);
}
.hero-covers-in {
  display: flex; align-items: center; gap: 18px;
  padding-top: 13px; padding-bottom: 13px;
}
.hero-covers-k {
  flex: 0 0 auto; margin: 0;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-40);
  line-height: 1.45;
}
.hero-covers ul {
  flex: 999 1 auto; min-width: 0;
  margin: 0; padding: 0; list-style: none;
  display: flex; gap: 9px;
}
/* 1 1 0 across the row: ten equal tiles that share whatever width is left,
   rather than ten fixed ones that overflow at 1024 and leave a hole at
   1680. position, because the hover panel hangs off it. */
.hero-covers li { flex: 1 1 0; min-width: 0; position: relative; }
.hero-covers a {
  display: block; height: 78px; padding: 4px;
  background: var(--card); border: 1px solid var(--line-2);
  transition: border-color 150ms, transform 150ms;
}
.hero-covers a:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero-covers a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
/* contain, for the same reason as the /boosts lead: this catalogue's art is
   portrait, landscape and square depending on the platform. */
.hero-covers img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* --- The cover hover panel ------------------------------------------------
   What we pay for the game under the cursor, before anybody clicks.

   The covers are 79-97px of box art with no words on them, so the strip asks
   a question it cannot answer: that is a game I recognise, what do you pay
   for it? This answers it in place.

   EVERY CONDITION, not a single "up to" figure — the same call the item page
   makes in the same words, for the reason written out beside its own strip:
   the top number is the sealed copy, which is the one the reader is least
   likely to be holding.

   Positioned above the tile rather than below. Below is off the bottom of the
   hero, which clips (overflow: hidden) and then meets the promotions band;
   above is the open end of the scrim, which is the emptiest part of the
   photograph.
   ------------------------------------------------------------------------ */

.cover-tip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  translate: -50% 0;
  /* Sized to its own content between two stops rather than fixed.
     Fixed was 232px and "CIB (EXCELLENT)" against a three-figure boosted
     price needs 241 — measured — so the longest label on the site wrapped
     onto a second line on exactly the platforms that have sub-conditions.
     Padding every panel out to fit that case instead stretches the common
     three-row one, because the rows are justified to both edges. The upper
     stop is where a four-figure price would start to crowd the label; the
     lower one keeps a two-row panel from shrinking to a stub. */
  width: max-content;
  min-width: 200px;
  max-width: 272px;
  /* Never the hover target itself. The panel sits 9px clear of the tile and
     overlaps its neighbours, so a panel that took the pointer would both
     flicker on the gap and make the cover next door unhoverable. */
  pointer-events: none;
  display: flex; flex-direction: column;
  text-align: left;
  background: var(--card);
  /* line-strong is the token for an edge that has to hold against a
     photograph, which is exactly what this floats over. */
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 22px rgba(26, 23, 20, 0.18);
  opacity: 0; visibility: hidden;
  transition: opacity 120ms ease-out, visibility 120ms;
}

/* The last tile's panel would be centred 62-71px past the right-hand edge of
   the content column, and the hero clips. Measured across 1024-1920: the
   first tile needs no such treatment, because the POPULAR RIGHT NOW label
   leaves 116px to its left even at the narrowest desktop width. */
.hero-covers li:last-child .cover-tip { left: auto; right: 0; translate: 0 0; }

.ct-head {
  display: block;
  padding: 10px 12px 9px;
  border-bottom: 1px solid var(--line-3);
}
.ct-title {
  display: block;
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.ct-plat {
  display: block; margin-top: 2px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-40);
}

/* A grid, three columns, where the strip cards on the item page use a flex
   row per condition. Both work, and here the difference shows: five rows
   stacked this tightly put $3.00 and $84.61 at different left edges, because
   each "was" is pushed along by however wide its own "paid" happens to be.
   Mono type is on this site so that figures line up in a column — a ragged
   one is the one thing it is for.

   Rows are display: contents, so each row's three spans are grid items of
   this grid rather than of a box of their own. */
.ct-rows {
  display: grid;
  grid-template-columns: 1fr max-content max-content;
  column-gap: 7px; row-gap: 2px;
  align-items: baseline;
  padding: 7px 12px 9px;
}
.ct-row, .ct-money { display: contents; }
/* Columns named, not left to auto-placement: an unboosted row has no "was"
   at all, and auto-placement would slide its price into the middle column
   and knock that row out of line with the rest. */
.ct-cond {
  grid-column: 1;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-40);
}
.ct-money .money-was  { grid-column: 2; justify-self: end; font-size: 10.5px; }
.ct-money .money-paid { grid-column: 3; justify-self: end; font-size: 13px; }

/* Keyboard first, and unconditionally: a panel that only opens to a pointer
   is one a keyboard cannot reach at all. */
.hero-covers a:focus-visible + .cover-tip { opacity: 1; visibility: visible; }

/* Hover second, and only where hovering is a real thing. On a touch screen
   there is no hover state to leave — the panel would open under the finger
   on the tap that is already navigating away, flash, and go with the page. */
@media (hover: hover) {
  .hero-covers li:hover .cover-tip { opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-covers a { transition: none; }
  .hero-covers a:hover { transform: none; }
  .cover-tip { transition: none; }
}

/* --- Three paths --------------------------------------------------------- */

.paths { padding-top: 60px; padding-bottom: 20px; }
.paths h2 { margin: 0 0 6px; font-size: 28px; }
.paths .lede { margin-bottom: 26px; }

.paths-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.path {
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
/* The headline route gets the heavier edge and the photograph; the other two
   stack beside it. */
.path-main { grid-row: span 2; border: 2px solid var(--ink); }
.path-main img {
  display: block; width: 100%; height: 220px; object-fit: cover;
  border-bottom: 2px solid var(--ink);
}
.path-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 0; }
.path-body > p:first-child { margin: 0 0 7px; }
.path h3 { margin: 0 0 7px; font-size: 22px; }
.path-main h3 { font-size: 26px; }
.path-body p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.path-body .cta, .path-body .cta-ghost { align-self: flex-start; margin-top: auto; }

.tag {
  display: inline-block; background: var(--red); color: #FFFFFF;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px;
}

/* --- Four steps ---------------------------------------------------------- */

/* 24, not 70. .site-footer carries its own 56px margin-top for every page
   on the site, so 70 here was stacking a second gap on top of it and leaving
   126px of nothing between the last step and the footer. 24 brings this
   section into line with .paths above it and lets the footer's own margin do
   the separating. */
.steps { padding-top: 48px; padding-bottom: 24px; }
.steps h2 { margin: 0 0 26px; font-size: 28px; }
.steps ol {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
/* Boxed, as the board draws them. Loose on the page the four read as one
   block of text in four columns; a border makes each a step you can count,
   which is the whole point of numbering them. */
.steps li {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  padding: 16px 15px 17px;
}
.step-n {
  flex: 0 0 auto; width: 30px; height: 30px;
  background: var(--red); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
}
.steps li > span:last-child { flex: 999 1 auto; min-width: 0; }
.steps strong {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: 15px; text-transform: uppercase; letter-spacing: -0.006em;
  margin-bottom: 3px;
}
.steps li span span { display: block; font-size: 13px; line-height: 1.55; color: var(--ink-70); }

/* ===========================================================================
   Phone
   =========================================================================== */

@media (max-width: 900px) {

  /* The receipt swaps ends. In the hero it pushed the offer — the thing the
     page exists to make — below the fold on a 390px screen. At the foot it
     lands after the four steps, by which point the reader knows what the
     service is and "what do I actually get?" is the question they have. */
  .receipt-hero { display: none; }
  .receipt-foot { display: block; padding-bottom: 30px; }

  /* THE SCRIM TURNS NINETY DEGREES ON A PHONE.
     Across is right on a desktop because the copy is a column on the left and
     the right half is the receipt. On a phone the receipt is gone, the copy
     runs the full width, and a gradient that opens towards the right edge
     opens underneath the ends of the lines. Measured at the glyph on a 390px
     screen against this photograph: the eyebrow 2.78:1 and the lede 3.59:1,
     both of them failing, and both failing at the right-hand end.

     Down is the direction that matches the phone layout. Measured from 320 to
     899px, the copy ends at 37.6% of the hero at worst and the chips at
     71.7%, so the scrim holds at near-opaque to 40%, releases through the
     chips - which are cards with their own background and need no help - and
     opens at the foot. The photograph gets the bottom third, which on a phone
     is more of it than the old gradient ever showed.

     If this hero ever loses the chips, re-measure: the second stop is where
     the copy ends, not a round number. */
  .hero-scrim {
    background: linear-gradient(to bottom,
      rgba(244, 241, 234, 0.975) 0%,
      rgba(244, 241, 234, 0.955) 40%,
      rgba(244, 241, 234, 0.55) 72%,
      rgba(244, 241, 234, 0.28) 100%);
  }

  .hero-inner { padding-top: 22px; padding-bottom: 24px; gap: 0; }
  .hero h1 { font-size: 36px; margin-bottom: 12px; }
  .hero .eyebrow { margin-bottom: 9px; }
  .hero-lede { font-size: 15px; margin-bottom: 16px; }
  /* "Search is in the bar above on every page" is true on desktop, where the
     bar is in view. On a phone it is sticky but the sentence is doing less
     work than the space it costs, and the chips speak for themselves. */
  .hero-jump { display: none; }
  .chips { gap: 7px; }
  .chip { font-size: 13px; font-weight: 500; padding: 9px 12px; }

  /* Red, the same as the desktop. It was ink here, which made the one strip
     on the site that is purely good news read as a system notice on the
     device most people see it on. Keeping the colour means the rest of this
     block changes with it: the rules between rows go white-on-red instead of
     grey-on-ink, and the figure cannot keep its red badge, because a red
     badge on a red strip is an invisible one. */
  .boosts-inner { padding-top: 22px; padding-bottom: 22px; gap: 14px; display: block; }
  .boosts-head h2 { font-size: 22px; }
  .boosts-head p { font-size: 13px; color: #FBE3E0; margin-bottom: 14px; }
  /* One column, and the hairline grid becomes a simple rule per row — a 1px
     gap between two dark cells is invisible. */
  .boosts-grid { grid-template-columns: 1fr; gap: 0; background: none; }
  .boost-row {
    background: none; padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }
  .boost-row:last-child { border-bottom: 0; }
  /* One column here, so there is no empty cell to fill — and an empty row
     would just add a stray rule. */
  .boost-row-filler { display: none; }
  .boost-row span:first-child { font-size: 15px; }
  .boost-row .num { font-size: 16px; font-weight: 700; color: #FFFFFF; white-space: nowrap; }

  /* The label goes above, and the row shows as many covers as fit at a
     cover's real size — four on a phone — filling the width with no scroll.
     Ten cannot be ten columns at 390px: at 1 1 0 they come out 28px wide,
     which is a colour swatch rather than a cover. The first version solved
     that with fixed 62px tiles behind a horizontal swipe, and the swipe was
     the wrong instrument. Nothing about the strip said it moved, there was
     no next tile peeking past the edge at 390px to suggest it, and what sat
     off-screen was by construction the LEAST held of the ten — so the part
     you had to work for was the part nobody needed.

     Four at 390px is 84px a tile, against 97px on desktop: the art is
     effectively the same size on a phone as on a laptop, which is the point
     of showing fewer rather than smaller.

     The extras are cut in CSS and not in the query because how many fit is
     a viewport fact and the server has no viewport. They cost nothing to
     leave in the markup: display:none plus loading="lazy" means the browser
     never fetches them, so a phone pulls four images and a desktop ten. */
  .hero-covers-in { display: block; padding-top: 11px; padding-bottom: 12px; }
  .hero-covers-k { margin-bottom: 8px; }
  /* One line here. The <br> exists to keep the label narrow beside the
     covers on desktop, and there is nothing beside it now. */
  .hero-covers-k br { display: none; }
  .hero-covers ul { gap: 7px; }
  /* No hover panel here. @media (hover: hover) already keeps it shut on a
     touch screen, but a 232px panel over a 390px hero would be most of the
     screen even on a phone with a mouse attached. */
  .cover-tip { display: none; }
  /* Proportion rather than a fixed height, so the tile tracks whatever
     width the count below leaves it — and PORTRAIT here, at the real ratio
     of a DVD case, rather than the desktop landscape.

     The pool is mixed, which is the thing to know before changing this.
     The ten covers in the strip were measured: width/height runs from 0.70
     (Grand Theft Auto III) to 1.37 (Donkey Kong Country, a landscape SNES
     box), with Tetris and both Pokémon titles on 1.00. Seven of the ten are
     portrait; the median is 0.87.

     A taller tile does NOT shrink the odd landscape one. Under contain with
     the tile width fixed by the count, a landscape image is capped by width
     whatever the height is — so going taller costs it empty space above and
     below, never pixels. Measured over the ten: mean art area goes 3252
     (landscape) -> 4796 (square) -> 6700 (0.71), while the worst-off title
     goes 2629 -> 4066 -> 4228. Portrait is better for every title in the
     pool, not just the majority. Past 0.71 the mean stops moving (6725 at
     0.64) and the extra height is pure air, which is why it stops here.

     What it costs: 47px of fold against the landscape tile, and on a day
     when the shuffle deals four near-square boxes — three Game Boy titles
     and Donkey Kong Country is the real worst case — the row carries about
     27px of air top and bottom. Checked on the test box, and acceptable.

     Desktop keeps the landscape tile: ten across at 97px has no room to go
     taller without the strip eating the hero.

     This is a fact about the catalogue, not a constant. If the pool ever
     shifts to mostly cartridge or hardware art, remeasure rather than
     assume — the ratio and the art-area numbers above are the method. */
  .hero-covers a { height: auto; aspect-ratio: 71 / 100; padding: 3px; }

  /* How many fit, by arithmetic rather than by eye. A tile is
     (width - 32px of gutter - 7px per gap) / count, and the ladder below is
     the count that keeps that between 80 and 105px at every width from 320
     to the 900px breakpoint — against 97px on desktop. Below 320 the tiles
     shrink instead of the count dropping again: 67px is still a cover.

     The ladder stops at the breakpoint and does not try to tidy what is
     above it: crossing 900 goes from eight portrait tiles at 102x144 to the
     desktop ten at 67x78, a real step and the widest point of it. Left
     alone on purpose. Closing it means changing the strip on small laptops,
     and that is the view the team signed off — the brief here was the
     phone. Worth revisiting only if someone actually browses at 900-1000.

     Each step hides a SUPERSET of the step above it, so the rules union
     rather than compete and source order does not matter. That is worth
     saying out loud: media queries add no specificity, so two nth-child
     rules genuinely fighting here would be settled by position in the file,
     which is a nasty thing to leave for whoever reorders them.

     An auto-fit grid (repeat(auto-fit, minmax(80px, 1fr)) with the second
     row clipped) does this with no breakpoints at all, and was not used.
     Clipped is not gone: the covers past the first row keep their layout
     boxes, so their lazy images are still fetched AND they stay in the tab
     order, which hands a keyboard user four to six invisible links. The
     ladder is more CSS and the right trade. */
  .hero-covers li:nth-child(n+9) { display: none; }
}

@media (max-width: 809px) { .hero-covers li:nth-child(n+8) { display: none; } }
@media (max-width: 630px) { .hero-covers li:nth-child(n+7) { display: none; } }
@media (max-width: 546px) { .hero-covers li:nth-child(n+6) { display: none; } }
@media (max-width: 460px) { .hero-covers li:nth-child(n+5) { display: none; } }

@media (max-width: 900px) {

  .paths { padding-top: 26px; padding-bottom: 8px; }
  .paths h2 { font-size: 28px; }
  .paths-grid { grid-template-columns: 1fr; gap: 13px; }
  .path-main { grid-row: auto; }
  .path-main img { height: 150px; }
  .path-main h3 { font-size: 22px; }
  .path h3 { font-size: 18px; }
  .path-body { padding: 16px 17px 18px; }
  .path-body .cta { display: flex; width: 100%; justify-content: center; min-height: 50px; }

  .steps { padding-top: 18px; padding-bottom: 24px; }
  .steps h2 { font-size: 22px; margin-bottom: 14px; }
  /* One across: four steps are a sequence, and a sequence down the page is how
     a phone reads. The rule above each replaces the gap. */
  .steps ol { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 13px 0; border-top: 1px solid var(--line-2); }
}
