/* =============================================================================
   Aviatrix Fortunes - player guide
   Design tokens first, then the shell (atmosphere, header, hero), then each
   section in the order the guide reads them. One reading column, one left edge.
   ============================================================================= */
:root {
  --night: #060a1f;
  --night-soft: #0c1330;
  --night-lift: #141c3f;
  --sky: #38bdf8;
  --sky-deep: #0ea5e9;
  --jade: #22c98d;
  --jade-deep: #0f9c6b;
  --gold: #f4c452;
  --gold-soft: #ffe19a;
  --crimson: #ef3b52;
  --crimson-deep: #a3122a;
  --bone: #eaf1ff;
  --bone-dim: #a4b6da;
  --mist: rgba(234, 241, 255, 0.06);
  --line: rgba(120, 168, 255, 0.24);
  --line-gold: rgba(244, 196, 82, 0.34);
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-display-weight: 800;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  /* The reading column every section, the header row, the footer, the consent bar and the sticky
     play bar derive their gutters from, so the whole site shares one left edge at every width. */
  --max: 1320px;
  --gutter: max(1rem, calc((100% - var(--max)) / 2));
  --shadow: 0 22px 55px rgba(2, 6, 23, 0.55);
  --shadow-soft: 0 12px 32px rgba(2, 6, 23, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* --header-h is the measured height of the fixed header, written by js/main.js. Until it is
     measured the fallback stands in: the header is one row tall on a wide screen and two rows tall
     on a phone, so the two values below are the honest guesses, and the measurement corrects them. */
  scroll-padding-top: calc(var(--header-h, 3.4rem) + 3rem);
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(var(--header-h, 4.6rem) + 0.6rem);
  }
}

body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(1000px 560px at 82% -10%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(820px 520px at 4% 8%, rgba(34, 201, 141, 0.16), transparent 58%),
    radial-gradient(760px 600px at 50% 118%, rgba(239, 59, 82, 0.16), transparent 62%),
    linear-gradient(180deg, #0a1130 0%, var(--night) 42%, #04061a 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--crimson);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}

/* ---------------------------------------------------------------- atmosphere
   A night sky the plane and the luck symbols glide through. Pure CSS, no image
   request, aria-hidden, and switched off for anyone who asked for less motion. */
.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.4px 1.4px at 28% 62%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.8px 1.8px at 46% 26%, rgba(255, 225, 154, 0.85), transparent),
    radial-gradient(1.3px 1.3px at 63% 78%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.7px 1.7px at 78% 34%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.4px 1.4px at 88% 66%, rgba(56, 189, 248, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 35% 88%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.6px 1.6px at 8% 74%, rgba(34, 201, 141, 0.8), transparent);
  opacity: 0.75;
  animation: twinkle 7s ease-in-out infinite alternate;
}

.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 20% 40%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 55% 12%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 72% 52%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 92% 22%, rgba(255, 255, 255, 0.45), transparent);
  animation: twinkle 5s ease-in-out infinite alternate-reverse;
}

.plane {
  position: absolute;
  top: 14%;
  left: -12%;
  width: 132px;
  height: 132px;
  color: var(--sky);
  opacity: 0.5;
  filter: drop-shadow(0 12px 26px rgba(56, 189, 248, 0.4));
  animation: fly 34s linear infinite;
}

.plane--two {
  top: 58%;
  width: 84px;
  height: 84px;
  color: var(--gold);
  opacity: 0.34;
  animation-duration: 46s;
  animation-delay: -12s;
}

.plane svg {
  width: 100%;
  height: 100%;
}

@keyframes fly {
  0% {
    transform: translate(-10vw, 0) rotate(8deg);
  }
  50% {
    transform: translate(55vw, -6vh) rotate(4deg);
  }
  100% {
    transform: translate(118vw, 4vh) rotate(8deg);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plane,
  .stars,
  .stars::after {
    animation: none;
  }
  .plane {
    opacity: 0.22;
    left: auto;
    right: 6%;
    transform: rotate(8deg);
  }
  .plane--two {
    display: none;
  }
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.6rem var(--gutter);
  background: linear-gradient(180deg, rgba(4, 7, 26, 0.97), rgba(4, 7, 26, 0.82));
  border-bottom: 1px solid rgba(120, 168, 255, 0.16);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--bone);
}

.nav-brand img,
.nav-brand svg {
  height: 2.1rem;
  width: auto;
}

.nav-brand__name {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--bone-dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-drawer {
  display: none;
}

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  display: block;
  color: var(--bone);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--mist);
}

.site-menu a:hover {
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  /* The drawer pill stays in the header row. Leaving it unpositioned is deliberate: it hands the
     menu panel the header itself as its containing block, so the panel can hang off the header's
     bottom edge even though the header wraps to two rows on narrow screens and back to one row on
     wide ones. Nothing here has to know how tall the header currently is. */
  .nav-drawer {
    display: block;
    position: static;
  }

  .nav-drawer > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--bone);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav-drawer > summary::-webkit-details-marker {
    display: none;
  }

  .nav-drawer > summary::before {
    content: "";
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }

  /* top: 100% is the header's own padding-box height, so the panel always starts exactly where the
     header ends, at every width and text size. The height is the viewport minus that same edge, so
     the panel reaches the bottom of the screen and scrolls internally. */
  .site-menu {
    position: absolute;
    inset: 100% 0 auto;
    height: calc(100vh - 100%);
    height: calc(100dvh - 100%);
    background: #04071a;
    border-top: 1px solid rgba(120, 168, 255, 0.16);
    padding: 1.2rem var(--gutter) 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 30;
  }

  /* The open menu is a full-screen sheet, so the two fixed bars stand down while it is open: the
     consent bar alone is taller than the last four menu items on a phone, and it sits above the
     panel. Both come straight back when the sheet closes. The page behind the sheet is locked too,
     so the reader cannot reach the sticky play bar while browsing the menu anyway. */
  body.nav-open .consent,
  body.nav-open .sticky-cta {
    display: none;
  }

  /* Opaque header while the menu is open: the panel below it is opaque too, so a translucent header
     would let the page show through the top strip and break the menu into two sheets. */
  body.nav-open .site-header {
    background: #04071a;
  }

  /* The open menu is its own full-height panel and scrolls internally, so the page behind it
     must not scroll with it. js/main.js sets nav-open while the drawer is open. */
  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 901px) {
  .site-menu {
    display: none;
  }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 8.5rem var(--gutter) 4.6rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 420px at 78% 18%, rgba(244, 196, 82, 0.22), transparent 62%),
    radial-gradient(640px 460px at 12% 72%, rgba(34, 201, 141, 0.2), transparent 60%);
}

.hero__inner {
  display: grid;
  gap: 2.6rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.4rem;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(244, 196, 82, 0.08);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(2.05rem, 5.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: #fdfbff;
  text-shadow: 0 2px 0 rgba(10, 20, 60, 0.6), 0 14px 40px rgba(0, 0, 0, 0.55);
}

.hero__tagline {
  margin: 0 0 0.95rem;
  max-width: 46ch;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  line-height: 1.28;
  color: var(--sky);
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 60ch;
  color: #d6e2fb;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--mist);
  list-style: none;
}

.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero__facts dt,
.hero__facts .k {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__facts .v {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.15rem;
  color: #fff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-note {
  width: 100%;
  margin: 0.4rem 0 0;
  color: var(--bone-dim);
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(180deg, #ffd06a, var(--gold) 52%, #d19a20);
  color: #201503;
  box-shadow: 0 12px 28px rgba(244, 196, 82, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #ffe08b, #ffcc55);
  color: #1a1201;
}

.btn--ghost {
  background: rgba(8, 14, 40, 0.5);
  border-color: var(--line);
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--sky);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.btn--sm {
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  font-size: 0.72rem;
}

/* ---------------------------------------------------------------- game frame
   A stylised illustration of the 3x3/5-line layout. It is drawn, not captured,
   and every caption says so: it shows the shape of the game, it is not the
   real RNG and it pays nothing. */
.frame {
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--line-gold);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(56, 189, 248, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(20, 28, 63, 0.94), rgba(6, 10, 31, 0.96));
  box-shadow: var(--shadow);
}

.frame__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.frame__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 0.95rem;
  color: #fff;
}

.frame__brand svg {
  width: 26px;
  height: 26px;
  color: var(--sky);
}

.frame__crash {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  border: 1px solid rgba(34, 201, 141, 0.4);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}

.frame__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: rgba(3, 7, 22, 0.7);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.6);
}

.reel {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(30, 41, 82, 0.9), rgba(10, 16, 40, 0.95));
  border: 1px solid rgba(120, 168, 255, 0.2);
  font-size: clamp(1.5rem, 4.4vw, 2.1rem);
  line-height: 1;
}

.reel--win {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(244, 196, 82, 0.5);
  animation: pulse 1.4s ease-in-out infinite;
}

.reel--mult {
  border-color: var(--crimson);
  box-shadow: 0 0 0 1px var(--crimson), 0 0 22px rgba(239, 59, 82, 0.5);
}

.frame__lines {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.8rem 0 0.2rem;
  list-style: none;
  padding: 0;
}

.frame__lines li {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0.55;
}

.frame__lines li:nth-child(2) {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.frame__lines li:nth-child(3) {
  background: linear-gradient(90deg, transparent, var(--jade), transparent);
}

.frame__lines li:nth-child(4) {
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
}

.frame__lines li:nth-child(5) {
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: rgba(3, 7, 22, 0.65);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--bone-dim);
}

.frame__bar b {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1rem;
}

.frame__caption {
  margin: 0.85rem 0 0;
  color: var(--bone-dim);
  font-size: 0.78rem;
  text-align: center;
}

@keyframes pulse {
  50% {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel--win {
    animation: none;
  }
}

/* ---------------------------------------------------------------- sections */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.section--flush {
  padding-top: 1.6rem;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 0.9rem;
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  line-height: 1.12;
  font-weight: var(--font-display-weight);
  color: #fdfbff;
  text-shadow: 0 2px 0 rgba(10, 20, 60, 0.5);
}

.section__text {
  margin: 0 0 1rem;
  color: var(--bone-dim);
  max-width: 78ch;
}

.section__text:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: none;
}

@media (min-width: 1080px) {
  .section > .prose {
    columns: 2;
    column-gap: 3.4rem;
  }

  .section > .prose .section__text {
    break-inside: avoid;
  }
}

.source-line {
  margin: 1.2rem 0 0;
  padding: 0.7rem 0.95rem;
  border-left: 3px solid var(--sky);
  background: var(--mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--bone-dim);
  font-size: 0.82rem;
}

/* ---------------------------------------------------------------- specs */
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-soft);
}

.spec {
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.7), rgba(6, 10, 31, 0.94));
  padding: 1.1rem 1.05rem;
}

.spec dt {
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spec dd {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.15;
  color: #fff;
}

@media (min-width: 860px) {
  .specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- two-col layout */
.two-col {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .two-col--reverse > :first-child {
    order: 2;
  }
}

/* ---------------------------------------------------------------- checklist / steps */
.checklist {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 720px) {
  .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.6rem;
  }
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--bone);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--jade), var(--jade-deep));
  box-shadow: 0 0 0 3px rgba(34, 201, 141, 0.14);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.62em;
  width: 0.34rem;
  height: 0.6rem;
  border: solid #04180f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.6rem;
  }
}

.steps li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.55), rgba(6, 10, 31, 0.85));
  counter-increment: step;
  font-size: 0.95rem;
  color: var(--bone-dim);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.95rem;
  top: 0.9rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sky), var(--sky-deep));
  color: #032038;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 0.95rem;
}

.steps__title {
  display: block;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

/* ---------------------------------------------------------------- tables */
.table-wrap {
  margin: 1.6rem 0 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.table-wrap caption {
  caption-side: top;
  text-align: left;
  padding: 0.9rem 1.1rem;
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(20, 28, 63, 0.6);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.8rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--mist);
  vertical-align: top;
}

thead th {
  background: rgba(56, 189, 248, 0.1);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:nth-child(odd) {
  background: rgba(8, 14, 40, 0.42);
}

tbody tr:hover {
  background: rgba(56, 189, 248, 0.08);
}

td:first-child {
  color: #fff;
  font-weight: 700;
}

.table--stack td::before {
  content: "";
}

@media (max-width: 640px) {
  .table--stack thead {
    display: none;
  }

  .table--stack tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0;
  }

  .table--stack td {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 0.6rem;
    border: 0;
    padding: 0.4rem 1.1rem;
  }

  .table--stack td::before {
    content: attr(data-label);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* ---------------------------------------------------------------- card grids */
.cards {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card,
.feature-card,
.bonus-card {
  position: relative;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.62), rgba(6, 10, 31, 0.9));
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease;
}

.card.is-visible,
.feature-card.is-visible,
.bonus-card.is-visible {
  opacity: 1;
  transform: none;
}

.card:hover,
.feature-card:hover,
.bonus-card:hover {
  border-color: var(--line-gold);
}

.card h3,
.feature-card h3,
.bonus-card h3,
.section__subhead {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.2;
}

/* A subhead that sits inside a section, above a card grid, a tool or a checklist. */
.section__subhead {
  margin-top: 2.4rem;
}

.card h3 a {
  text-decoration: none;
  color: inherit;
}

.card h3 a:hover {
  color: var(--gold-soft);
}

.card p,
.feature-card p,
.bonus-card p {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.93rem;
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--line);
  font-size: 1.3rem;
}

.bonus-card__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(239, 59, 82, 0.14);
  border: 1px solid rgba(239, 59, 82, 0.4);
  color: #ffb3c0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- figures
   Every picture on this site is drawn in figures.js and loaded as an <img>, so it carries an
   intrinsic size (no layout shift), loads lazily (none of them is above the fold) and is described
   by its alt text and the caption under it. The frame around it is the same glass as a card. */
.figure {
  margin: 1.8rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.6), rgba(6, 10, 31, 0.92));
  box-shadow: var(--shadow-soft);
}

.figure img {
  width: 100%;
  height: auto;
  background: #04061a;
}

.figure figcaption {
  padding: 0.9rem 1.15rem 1rem;
  border-top: 1px solid var(--mist);
  color: var(--bone);
  font-size: 0.88rem;
}

/* The credit refuses to be mistaken for a claim about the game, so it is quieter than the caption
   and always present, on every picture, in every locale. */
.figure__credit {
  display: block;
  margin-top: 0.4rem;
  color: var(--bone-dim);
  font-size: 0.74rem;
  font-style: italic;
}

/* Two columns on a wide screen: the section's text keeps the reading column it always had, and the
   picture sits beside it instead of interrupting it. On a narrow screen the same markup stacks, so
   the picture follows the text - no second copy of anything, no reordering in JS. */
@media (min-width: 1040px) {
  .section--split .section__flow {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.82fr);
    gap: 2.8rem;
    align-items: start;
  }

  .section--split .section__aside > .figure:first-child {
    margin-top: 0;
  }

  /* A picture inside a running section is a plate in the column, not a banner across it. The prose
     measure here is about 750px, so the plate is set a little wider than the text and no wider: at
     the section's full 1320px the drawings read as sparse and the figure out-shouts the words it
     is illustrating. A section that carries its picture in the side column is already inside the
     flow grid and needs no cap. */
  .section > .figure {
    max-width: 880px;
  }
}

.section__aside > .figure + .figure {
  margin-top: 1.6rem;
}

/* ---------------------------------------------------------------- tools (RTP + bankroll) */
.tool {
  margin: 1.8rem 0 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.6), rgba(6, 10, 31, 0.9));
  box-shadow: var(--shadow-soft);
}

.tool__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.25rem;
  color: #fff;
}

.tool__hint {
  margin: 0 0 1.1rem;
  color: var(--bone-dim);
  font-size: 0.85rem;
}

.tool__grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .tool__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.2rem;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(3, 7, 22, 0.7);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
}

.tool__out {
  margin: 1.2rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(34, 201, 141, 0.1);
  border: 1px solid rgba(34, 201, 141, 0.35);
}

.tool__out dt {
  color: var(--bone-dim);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool__out dd {
  margin: 0.15rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: #fff;
}

.tool__out dd:last-child {
  margin-bottom: 0;
}

.tool__out dd.pos {
  color: #7ef0c0;
}

.tool__out dd.neg {
  color: #ff9db0;
}

.tool__note {
  margin: 0.9rem 0 0;
  color: var(--bone-dim);
  font-size: 0.78rem;
}

/* ---------------------------------------------------------------- review band */
.review {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.8rem;
  padding: 1.6rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(244, 196, 82, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(20, 28, 63, 0.7), rgba(6, 10, 31, 0.92));
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .review {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.review__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.review__number {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(3rem, 9vw, 4.4rem);
  line-height: 1;
  color: var(--gold-soft);
}

.review__number span {
  font-size: 0.9rem;
  color: var(--bone-dim);
  font-weight: 700;
}

.review__stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.review__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 620px) {
  .review__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.6rem;
  }
}

.review__list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.05rem;
  color: #fff;
}

.review__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.review__list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.review__list li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.review__list .plus li::before {
  content: "+";
  color: var(--jade);
}

.review__list .minus li::before {
  content: "!";
  color: var(--crimson);
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.5), rgba(6, 10, 31, 0.85));
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--line-gold);
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 800;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--sky);
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.3rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--bone-dim);
  font-size: 0.94rem;
}

.faq details p a {
  color: var(--sky);
}

/* ---------------------------------------------------------------- panels */
.panel {
  margin: 1.8rem 0 0;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 63, 0.6), rgba(6, 10, 31, 0.9));
  box-shadow: var(--shadow-soft);
}

.panel__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--jade);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.45rem;
  color: #fff;
}

.panel__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(244, 196, 82, 0.12);
  border: 1px solid var(--line-gold);
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel__facts {
  margin: 1.2rem 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.panel__facts li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.panel__facts li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--sky);
  font-size: 0.7rem;
  top: 0.15em;
}

.panel__note {
  margin: 1rem 0 0;
  color: var(--bone-dim);
  font-size: 0.8rem;
}

.panel--operator .panel__eyebrow {
  color: var(--gold);
}

/* ---------------------------------------------------------------- breadcrumbs + toc */
.breadcrumbs {
  width: min(100% - 2rem, var(--max));
  margin: 7.2rem auto 0;
  font-size: 0.8rem;
  color: var(--bone-dim);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--bone-dim);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-soft);
}

.toc {
  margin: 1.6rem 0 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.toc h2 {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}

.toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc a {
  color: var(--bone);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--gold-soft);
}

/* sticky in-page CTA on a wide screen: a small side rail of jump links */
.cta-inline {
  margin: 1.4rem 0;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  padding: 3rem var(--gutter) 6.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 10, 31, 0.4), rgba(3, 5, 18, 0.9));
}

.footer__grid {
  display: grid;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.2rem;
  color: #fff;
}

.footer__brand svg {
  width: 30px;
  height: 30px;
  color: var(--sky);
}

.footer__about {
  margin: 0.9rem 0 0;
  max-width: 44ch;
  color: var(--bone-dim);
  font-size: 0.88rem;
}

.footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer a {
  color: var(--bone-dim);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold-soft);
}

/* The cookie-settings control is a button, not a link, so it has to be dressed as one. */
.consent-reset {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bone-dim);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}

.consent-reset:hover,
.consent-reset:focus-visible {
  color: var(--gold-soft);
}

.footer__legal {
  max-width: var(--max);
  margin: 2.4rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--mist);
  color: var(--bone-dim);
  font-size: 0.78rem;
}

.footer__legal p {
  margin: 0 0 0.5rem;
}

.footer__rg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.footer__rg a {
  font-weight: 700;
}

.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--crimson);
  color: #ffb3c0;
  font-weight: 800;
  font-size: 0.72rem;
}

/* ---------------------------------------------------------------- sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--gutter);
  background: linear-gradient(180deg, rgba(4, 7, 26, 0.86), rgba(4, 7, 26, 0.98));
  border-top: 1px solid var(--line-gold);
}

.sticky-cta[hidden] {
  display: none;
}

.sticky-cta__meta {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  color: var(--bone-dim);
  line-height: 1.3;
}

.sticky-cta__meta b {
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 0.95rem;
}

/* Room for the fixed bar at the bottom of the screen. Two of them can be on at once - the consent
   bar sits on top of the sticky play bar - and which one is taller depends on the width and on the
   text size, so the page reserves the tallest bar that is actually on screen instead of guessing.
   Each script measures its own bar and keeps the measurement current (--sticky-reserve in
   js/main.js, --consent-reserve in js/consent.js), the way --header-h is kept current for the top
   of the page. The 4.9rem fallback is the sticky bar's height on a desktop with no script running.

   One max() rather than two padding-bottom rules ordered by source: the body carries .has-sticky
   and .has-consent together at the foot of the page, and there the shorter rule would win. */
.has-sticky,
.has-consent {
  padding-bottom: max(var(--sticky-reserve, 0px), var(--consent-reserve, 0px), 4.9rem);
}

/* ---------------------------------------------------------------- consent bar */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.9rem var(--gutter) calc(0.9rem + env(safe-area-inset-bottom, 0px));
  background: rgba(4, 7, 26, 0.98);
  border-top: 1px solid var(--line-gold);
  /* At 200% text on a narrow phone the panel is taller than the screen, and a consent gate whose
     wording has scrolled off the top is not a gate the visitor can read: cap the bar at the viewport
     and let the panel itself scroll. The reserve measured in js/consent.js follows the capped
     height, so the footer stays clear either way. */
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.consent__panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 860px) {
  .consent__panel {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.4rem;
  }
}

.consent__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1rem;
  color: #fff;
}

.consent__text {
  margin: 0.2rem 0 0;
  color: var(--bone-dim);
  font-size: 0.82rem;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.consent__link {
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 700;
}

/* .has-consent shares the bottom padding with .has-sticky, next to the sticky play bar rules: the
   page reserves whichever of the two fixed bars is taller. */

/* ---------------------------------------------------------------- byline (provenance line)
   The one sentence under an article's date that says where its figures came from and links to the
   page that explains the method. It is deliberately not a badge wall. */
.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0.7rem 0 0;
  max-width: 72ch;
  color: var(--bone-dim);
  font-size: 0.84rem;
}

.byline a {
  color: var(--sky);
  font-weight: 700;
}

.byline__mark {
  flex: 0 0 auto;
  align-self: center;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--jade), var(--jade-deep));
  box-shadow: 0 0 0 3px rgba(34, 201, 141, 0.14);
}

/* ---------------------------------------------------------------- utility + misc */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-row li {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--bone-dim);
  font-size: 0.78rem;
  font-weight: 700;
}

.geo-grid {
  display: grid;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .geo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .geo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.geo-grid li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  font-size: 0.9rem;
  color: var(--bone);
}

.geo-grid li span {
  color: var(--jade);
  font-weight: 800;
}

.note-inline {
  color: var(--bone-dim);
  font-size: 0.82rem;
}

.jump-rail {
  position: sticky;
  top: 5.4rem;
  align-self: start;
}

@media (min-width: 1080px) {
  .with-rail {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 2.4rem;
    align-items: start;
  }
}

/* ---------------------------------------------------------------- small screens
   A phone gets the same page, tightened: the four-rem section padding that gives a wide screen its
   rhythm leaves a phone scrolling through holes, and a display heading sized for a 1320px column is
   simply too big at 360px. Everything here is spacing and type scale - no content is removed and no
   element changes place, so the page a crawler sees is the same page a phone sees. */
@media (max-width: 700px) {
  .section {
    padding: 2.7rem 0;
  }

  .section--flush {
    padding-top: 1.2rem;
  }

  .section__title {
    font-size: clamp(1.55rem, 6.4vw, 2.05rem);
    max-width: none;
  }

  .hero {
    padding-bottom: 3.2rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.6rem);
  }

  .hero__lead {
    margin-bottom: 1.3rem;
  }

  .figure figcaption {
    font-size: 0.85rem;
    padding: 0.8rem 1rem 0.9rem;
  }

  .figure__credit {
    font-size: 0.72rem;
  }

  /* The in-page jump links and the sidebar CTA are a wide-screen convenience; on a phone the sticky
     play bar already carries the call to action, so the rail collapses to a plain list. */
  .cta-inline {
    display: none;
  }
}








