/* =========================================================================
   Stinger Sim Racing — home page (index.html)
   The Daylight redesign, docs/handoff/REDESIGN.md item 3; the visual spec
   is docs/handoff/design/HomeTour-mockup.dc.html (hero: variant a of
   Hero-options-mockup.dc.html). Loaded after css/styles.css and built on
   its tokens. Sections, top to bottom:
     S1 .home-hero   the cockpit photo + three choice tiles
     S2 .tour        the 3D tour (html.tour-3d) or its stacked stills
     S3 .ways        "One rig. Three ways to race." + "What's in the rig"
     S4 .how         How it works, 3 steps
     S5 .home-faq    FAQ
     S6 .closing     the ink closing band; the site footer continues it
   ========================================================================= */

/* The mockup's 1280px column (the header uses the same width). */
.wrap {
  width: 100%;
  max-width: var(--maxw-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2vw, 1.5rem);
}
.wrap--narrow { max-width: 920px; }

.home h2 { font-weight: 700; }
.home .eyebrow { font-size: 0.8rem; letter-spacing: 0.16em; color: var(--accent-ink); }

/* ---- S1 hero ------------------------------------------------------------- */
.home-hero { padding-bottom: 2.75rem; }
.home-hero__photo {
  position: relative;
  height: clamp(520px, calc(100svh - 150px), 760px);
  overflow: hidden;
  background: var(--ink-band);
}
.home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Keep the rival car and the canyon in frame as the band gets wider. */
  object-position: 66% 50%;
}
/* Left + bottom scrim under the words: white text on it measures at least
   4.5:1 against the brightest pixel behind any line (C2 QA). */
.home-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.72) 32%, rgba(10, 11, 13, 0.22) 55%, rgba(10, 11, 13, 0) 72%),
    linear-gradient(0deg, rgba(10, 11, 13, 0.8) 0%, rgba(10, 11, 13, 0) 62%);
}
.home-hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 96px; /* the tiles overlap the bottom 56px */
}
/* The headline column stays inside the left ~45% of the photo, so it
   never reaches the rival car: 560px on desktop, under half the width on
   tablets (at 768px a fixed 560px ran past the scrim onto the car). */
.home-hero__copy {
  max-width: min(560px, 48vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #FFFFFF;
}
.home-hero__title {
  font-family: "Anton", var(--font-head);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 70px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
/* Savannah Yellow text on the dark scrim, no box (a background box on
   Anton covers the line above; REDESIGN hard rule). */
.home-hero__hl { color: var(--accent); }
.home-hero__sub { font-size: 1.06rem; color: rgba(255, 255, 255, 0.92); }
.home-hero__tour {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--pill);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.home-hero__tour:hover { background: rgba(255, 255, 255, 0.12); }
.home-hero__copy :focus-visible { outline-color: var(--accent); }

.home-hero__below {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-hero__terms { font-size: 0.94rem; color: var(--muted); }

/* Three choice tiles, equal, price on every tile. */
.choice-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  filter: drop-shadow(0 10px 24px rgba(21, 23, 26, 0.16));
}
.choice-tile {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid #D6D0C4;
  border-radius: 20px;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.choice-tile--key { border: 1.5px solid var(--text); }
.choice-tile:hover { border-color: var(--text); transform: translateY(-2px); }
.choice-tile__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.choice-tile__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.choice-tile__meta { font-size: 0.94rem; color: var(--muted); }
.choice-tile__go {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--text);
}
.choice-tile__go--line { background: transparent; border: 1.5px solid var(--text); }

/* Phones: the square crop, the words at the bottom of it, the tiles
   stacked under the photo (no overlap). */
@media (max-width: 640px) {
  .home-hero__photo { height: clamp(460px, 78svh, 680px); }
  .home-hero__img { object-position: 50% 50%; }
  .home-hero__scrim {
    background:
      linear-gradient(0deg, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.8) 45%, rgba(10, 11, 13, 0.62) 75%, rgba(10, 11, 13, 0.1) 100%),
      linear-gradient(90deg, rgba(10, 11, 13, 0.35) 0%, rgba(10, 11, 13, 0) 70%);
  }
  .home-hero__inner { padding-bottom: 1.5rem; }
  .home-hero__copy { gap: 10px; max-width: none; }
  .home-hero__title { font-size: clamp(34px, 10.5vw, 44px); }
  .home-hero__sub { font-size: 1rem; }
  .home-hero__below { margin-top: 1rem; }
  .choice-tiles { gap: 10px; }
  .choice-tile { flex-basis: 100%; padding: 16px 18px; }
  .choice-tile__name { font-size: 1.12rem; }
}

/* ---- S2 the tour ----------------------------------------------------------
   The stage colour is a little deeper than the page so the black rig
   doesn't look cut out. First the stacked-stills version (the 3D tour's
   fallback, and what every visit without html.tour-3d gets): normal flow,
   no pinning. The live 3D layout follows the stills rules ("the live 3D
   tour" below). */
/* --tour-bg: the section's colour; home-tour.js eases it to the dark
   band at stop 4 (the sticky bar and its fade follow it). */
.tour { --tour-bg: var(--stage); background: var(--tour-bg); padding-top: 64px; --tour-bar-h: 56px; }
/* Words that only hold for one of the two versions ("3D", the 6-stop
   phone tour). html.tour-3d is set before the first paint (home-boot.js). */
html:not(.tour-3d) .if-3d,
.tour-3d .if-stills,
.tour__n6,
.tour__stage-col { display: none; }
.tour__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 20px;
}
.tour__intro { display: flex; flex-direction: column; gap: 10px; max-width: 660px; }
.tour__intro h2, .ways h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.tour__intro p { font-size: 1.06rem; color: var(--muted); }
.tour__skip {
  font-family: var(--font-head);
  font-weight: 600;
  padding: 10px 0;
  text-decoration: underline;
  text-decoration-color: var(--accent-deep);
  text-underline-offset: 4px;
}

/* Progress: the bar sticks under the header while the stops scroll past
   (it is a direct child of .tour, so it stays for all eight). It is a
   solid band of the section's colour from the header down, with a short
   fade below it, so copy scrolling up disappears cleanly under it instead
   of showing through the counter and the dots. */
.tour__bar {
  position: sticky;
  top: var(--header-h);
  z-index: 4;
  padding-top: 8px;
  background: var(--tour-bg);
}
.tour__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  background: linear-gradient(var(--tour-bg), transparent);
  pointer-events: none;
}
.tour__progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding: 4px 16px;
  margin-bottom: 8px;
  background: rgba(233, 229, 220, 0.95);
  border: 1px solid #D6D0C4;
  border-radius: var(--pill);
}
.tour__count { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; min-width: 4.4em; }
.tour__dots { display: flex; flex-wrap: wrap; }
/* Each dot is a 24px-tall jump link (WCAG 2.5.8 target size); the bar is
   drawn inside it. Done = ink, current = yellow, still to come = gray at
   >= 3:1 on the bar (WCAG 1.4.11: they are the jump links). */
.tour__dots a { display: block; width: 34px; height: 28px; position: relative; }
.tour__dots a::before {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 10px;
  height: 8px;
  border-radius: 4px;
  background: #7A7366;
}
.tour__dots a.is-done::before { background: var(--text); }
.tour__dots a.is-current::before { background: var(--accent); box-shadow: 0 0 0 1px var(--text); }
.tour__dots a:focus-visible { outline: 2px solid var(--text); outline-offset: 0; border-radius: 6px; }
.tour__name { font-size: 0.9rem; color: var(--muted); }
/* Phones: one compact row (the stop's name is in its own heading). */
@media (max-width: 640px) {
  .tour__progress { flex-wrap: nowrap; gap: 8px; padding: 2px 12px; border-radius: 16px; }
  .tour__count { min-width: 4.2em; font-size: 0.84rem; }
  /* The dots shrink before they overflow (8 of them at 320px wide, the
     WCAG reflow width); never below the 24px target size. */
  .tour__dots { flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; }
  .tour__dots a { width: auto; flex: 0 1 30px; min-width: 24px; }
  .tour__name { display: none; }
}

.stop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  padding: 40px 0;
  border-top: 1px solid #D6D0C4;
}
.stop:first-of-type, .stop--after-dark { border-top: 0; }
.stop__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.stop__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stop__num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.stop h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.12; }
.stop__copy p { font-size: 1.06rem; color: var(--muted); }
.stop__link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.stop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stop__chips li {
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid #D6D0C4;
  font-size: 0.88rem;
}
.stop__fig {
  flex: 1.5 1 520px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stage-card);
  border-radius: 24px;
}
.stop__fig img { width: 100%; height: 100%; object-fit: cover; }
.stop__fig--contain { display: grid; place-items: center; padding: 24px; }
.stop__fig--contain img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .stop__fig { flex-basis: 100%; border-radius: 18px; }
  .stop__fig--contain { padding: 14px; }
}

/* Stop 4, the one dark moment: the band runs edge to edge (its background
   is extended past the column with a shadow, clipped to its own height, so
   nothing scrolls sideways). */
.stop--dark {
  display: block;
  padding: 64px 0;
  border-top: 0;
  background: var(--dark);
  box-shadow: 0 0 0 100vmax var(--dark);
  clip-path: inset(0 -100vmax);
  color: var(--dark-text);
}
.stop--dark .stop__num { color: var(--accent); }
.stop--dark .stop__copy p { color: var(--dark-muted); }
.stop--dark .stop__chips li { background: transparent; border-color: #5A5248; }
.stop--dark .stop__fig { background: #2F2B26; }

/* Stop 6: the exploded still with its labels shown, never hover-only.
   The still is sized from the figure's height: one definite grid row, so
   height: 100% resolves (in an auto row it fell back to the width and the
   PC and base were cut off at the bottom). Phones size it from the width
   (below). */
@media (min-width: 641px) {
  #stop-6 .stop__fig--contain { grid-template-rows: minmax(0, 100%); grid-template-columns: minmax(0, 100%); }
}
.stop__exploded {
  position: relative;
  height: 100%;
  aspect-ratio: 1103 / 1200;
  max-width: 100%;
}
.stop__exploded img { width: 100%; height: 100%; max-height: none; }
.stop__labels li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid #D6D0C4;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.stop__labels li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(21, 23, 26, 0.35);
}
/* Phones: the picture is too small for labels on it; they become a list. */
@media (max-width: 640px) {
  #stop-6 .stop__fig { aspect-ratio: auto; }
  .stop__exploded { height: auto; aspect-ratio: auto; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .stop__exploded img { width: min(100%, 300px); height: auto; }
  .stop__labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .stop__labels li { position: static; transform: none; }
}

/* Stop 8: one hand-off to the packages (#ways), then the section ends. */
.stop--last { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding-bottom: 72px; }
.stop__cta { align-self: flex-start; }
/* REDESIGN item 7: the hand-off to /rig's part-by-part explorer. */
.stop__explore {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1.5px solid var(--text);
  border-radius: var(--pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.stop__explore:hover { background: var(--text); color: var(--bg); }
.stop__explore:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---- S2 the live 3D tour (html.tour-3d) -----------------------------------
   js/rig/src/home-tour.js on the /rig engine. Native scroll only: the
   stage is position: sticky, the stop articles scroll past it and
   story-scroll.js only reads the scroll (opacity / a small slide on the
   articles, the stop time for the 3D). Each article is one stop of
   scroll: about 86svh on desktop.
   Desktop: copy column left, the stage card right.
   Overlay (phones, and windows taller than wide): the canvas fills the
   pinned stage and each stop is a card riding over its bottom; phones
   (<= 760px) skip stops 5 and 7 (tour-stops.js). Keep these media
   queries in step with PHONE / OVERLAY in home-tour.js. */
.tour-3d .tour__body {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.5fr);
  column-gap: clamp(24px, 4vw, 56px);
}
.tour-3d .tour__stage-col { display: block; grid-column: 2; grid-row: 1; }
.tour-3d .tour__stops { grid-column: 1; grid-row: 1; }
.tour-3d .tour__stage {
  position: sticky;
  top: calc(var(--header-h) + var(--tour-bar-h) + 8px);
  height: calc(100svh - var(--header-h) - var(--tour-bar-h) - 28px);
  /* Never taller than the space under the bar (a short window). */
  min-height: min(360px, calc(100svh - var(--header-h) - var(--tour-bar-h) - 16px));
  overflow: hidden;
  border-radius: 24px;
  background: var(--stage-card);
}
.tour__poster,
.tour__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tour__poster {
  object-fit: contain;
  padding: 28px;
  transition: opacity 0.7s ease;
}
/* The canvas shows only once it has drawn (core.js .is-ready): a blank
   canvas never covers the poster. */
.tour__canvas { opacity: 0; transition: opacity 0.7s ease; }
.tour__canvas.is-ready { opacity: 1; }
.tour__stage.is-live .tour__poster { opacity: 0; }
.tour__loading {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 4px 12px 4px 26px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.tour__loading::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent);
  animation: tour-pulse 1.2s ease-in-out infinite;
}
@keyframes tour-pulse { 50% { opacity: 0.25; } }
.tour__stage.is-live .tour__loading { display: none; }

/* The stops: one stop of scroll each, the copy centred on it. */
.tour-3d .stop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  min-height: 52svh;
  margin: 0 0 34svh;
  padding: 0;
  border-top: 0;
  will-change: opacity, transform;
}
.tour-3d .stop:first-child { margin-top: 16svh; }
.tour-3d .stop--last { margin-bottom: 30svh; padding: 0; }
.tour-3d .stop__fig { display: none; }
.tour-3d .stop__row { display: block; }
.tour-3d .stop__copy { gap: 14px; }
.tour-3d .stop:focus { outline: none; }
/* Stop 4: no band of its own; the whole section eases to the dark stage
   (home-tour.js), so its light copy sits on dark. */
.tour-3d .stop--dark { background: none; box-shadow: none; clip-path: none; }

/* The exploded view's callouts (story-labels.js; the same look as /rig's). */
.tour__labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}
.tour__labels.is-on { visibility: visible; }
.tour__labels .rig-labels__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tour__labels .rig-labels__lines line {
  stroke: rgba(21, 23, 26, 0.55);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.tour__labels .rig-labels__lines circle { fill: var(--accent); stroke: var(--text); stroke-width: 1.5; }
.tour__labels .rig-label {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Short landscape windows (a phone held sideways, a laptop at 200% zoom):
   the two-column layout with a slimmer bar, the stage always fits. */
@media (max-height: 500px) and (orientation: landscape) {
  .tour { --tour-bar-h: 40px; }
  .tour__bar { padding-top: 4px; }
  .tour__progress { margin-bottom: 4px; padding-block: 2px; }
  .tour__dots a { height: 24px; }
  .tour__dots a::before { top: 8px; }
  .tour-3d .tour__stage { min-height: 0; border-radius: 18px; }
  .tour-3d .tour__body { grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); column-gap: 20px; }
  .tour-3d .stop h3 { font-size: 1.3rem; }
}

/* Overlay layout: portrait phones and tall, narrow windows. */
@media (max-width: 760px) and (orientation: portrait), (max-aspect-ratio: 4/5) {
  .tour { --tour-bar-h: 50px; }
  .tour__bar::after { height: 20px; }
  .tour-3d .tour__body { display: block; padding-inline: 0; }
  /* The stage becomes a child of .tour__body for sticky to have room. */
  .tour-3d .tour__stage-col { display: contents; }
  .tour-3d .tour__stage {
    top: calc(var(--header-h) + var(--tour-bar-h));
    height: calc(100svh - var(--header-h) - var(--tour-bar-h));
    min-height: 0;
    border-radius: 0;
    background: transparent !important;
  }
  .tour__poster { height: 62%; padding: 12px 16px; }
  .tour__loading { top: 10px; bottom: auto; }
  .tour-3d .tour__stops {
    position: relative;
    z-index: 2;
    margin-top: calc(var(--header-h) + var(--tour-bar-h) - 100svh);
    padding-inline: 12px;
    pointer-events: none;
  }
  .tour-3d .stop {
    pointer-events: auto;
    display: block;
    min-height: 0;
    margin: 0 0 56svh;
    padding: 16px 18px 18px;
    background: rgba(246, 244, 239, 0.94);
    border: 1px solid #D6D0C4;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(21, 23, 26, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .tour-3d .stop:first-child { margin-top: 64svh; }
  /* The room after the last card is padding, not its margin: a margin
     collapses out of the section, the pin then released with the card's
     bottom on the screen's edge and the hand-off card could not be
     anchored clear of the home indicator. */
  .tour-3d .tour__stops { padding-bottom: 14svh; }
  .tour-3d .stop--last { margin-bottom: 0; padding: 16px 18px 18px; }
  .tour-3d .stop--dark { background: rgba(36, 33, 29, 0.92); border-color: #4A443C; }
  .tour-3d .stop h3 { font-size: 1.32rem; }
  .tour-3d .stop__copy { gap: 8px; }
  .tour-3d .stop__copy p { font-size: 0.97rem; }
  .tour-3d .stop__chips li { font-size: 0.8rem; padding: 4px 10px; }
  .tour-3d .stop__cta { display: flex; margin-top: 12px; }
  .tour-3d .stop__explore { margin-top: 10px; min-height: 40px; padding: 8px 16px; font-size: 0.94rem; }
  .tour__labels .rig-label { font-size: 0.7rem; padding: 0.22rem 0.5rem; }
}
/* Short portrait phones (an iPhone SE): tighter cards, so the stop-4 card
   and the hand-off card leave more of the rig in view. */
@media (max-width: 760px) and (orientation: portrait) and (max-height: 700px) {
  .tour-3d .stop { padding: 12px 14px 14px; }
  .tour-3d .stop--last { padding: 12px 14px 14px; }
  .tour-3d .stop h3 { font-size: 1.18rem; }
  .tour-3d .stop__copy { gap: 6px; }
  .tour-3d .stop__copy p { font-size: 0.92rem; line-height: 1.45; }
  .tour-3d .stop__chips { gap: 6px; }
  .tour-3d .stop__chips li { font-size: 0.74rem; padding: 3px 8px; }
  .tour-3d .stop__cta { margin-top: 8px; }
  .tour-3d .stop__explore { margin-top: 8px; min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
}

/* Portrait phones: the 6-stop tour (stop 5 merges into the exploded view,
   7 is left out). Keep in step with PHONE in home-tour.js. */
@media (max-width: 760px) and (orientation: portrait) {
  .tour-3d .tour__n8,
  .tour-3d #stop-5,
  .tour-3d #stop-7,
  .tour-3d .tour__dots a[href="#stop-5"],
  .tour-3d .tour__dots a[href="#stop-7"] { display: none; }
  .tour-3d .tour__n6 { display: inline; }
  /* The 6-stop tour: "06 ·" would disagree with the "5 / 6" counter. */
  .tour-3d .stop__n { display: none; }
}

/* ---- S3 one rig, three ways --------------------------------------------- */
.ways { padding-block: 88px; }
.ways > .wrap { display: flex; flex-direction: column; gap: 28px; }
.home-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.way-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.way-card {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
}
.way-card--key { border: 1.5px solid var(--text); }
.way-card__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.way-card h3 { font-size: 1.62rem; font-weight: 700; }
.way-card__rows { border-top: 1px solid #ECE7DD; }
.way-card__rows p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ECE7DD;
  font-size: 0.94rem;
}
.way-card__rows a { text-decoration: underline; text-underline-offset: 3px; }
.way-card__list { list-style: disc; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.94rem; }
.way-card__cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.way-card__more { font-family: var(--font-head); font-weight: 600; font-size: 0.94rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-deep); }

.home-spec { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; }
.home-spec summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  min-height: 28px;
}
.home-spec ul {
  margin-top: 14px;
  list-style: disc;
  padding-left: 18px;
  columns: 2 280px;
  column-gap: 32px;
  color: var(--muted);
  font-size: 0.94rem;
}
.home-spec li { break-inside: avoid; margin-bottom: 6px; }

/* ---- S4 how it works ----------------------------------------------------- */
.how { padding-bottom: 88px; }
.how > .wrap { display: flex; flex-direction: column; gap: 28px; }
.how h2 { font-size: 2rem; }
.how__steps { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; padding: 0; }
.how__steps > li { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.how__num { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--accent-ink); }
.how__steps h3 { font-size: 1.2rem; font-weight: 700; }
.how__steps p { color: var(--muted); font-size: 0.94rem; }
.how__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.how__text { font-family: var(--font-head); font-weight: 600; padding: 12px 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-deep); }

/* The page's own "Check your date" buttons open the same chooser as the
   header, left-aligned under (or, in the closing band, above) the button. */
.chooser--inline .chooser__menu { left: 0; right: auto; }
.chooser--up .chooser__menu { top: auto; bottom: calc(100% + 0.5rem); }
/* Phones: every in-page chooser drops down (the closing band has the
   footer below it, but often not enough room above). */
@media (max-width: 760px) {
  .chooser--inline { position: relative; }
  .chooser--inline .chooser__menu { top: calc(100% + 0.5rem); right: auto; }
  .chooser--up .chooser__menu { bottom: auto; }
}

/* ---- S5 FAQ -------------------------------------------------------------- */
.home-faq { padding-block: 72px; background: var(--bg-2); }
.home-faq h2 { font-size: 2rem; margin-bottom: 18px; }
.qa { border-top: 1px solid #D6D0C4; }
.qa:last-child { border-bottom: 1px solid #D6D0C4; }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.06rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent-ink); }
.qa[open] summary::after { content: "\2013"; }
.qa p { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.qa a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---- S6 closing band ----------------------------------------------------- */
.closing { background: var(--ink-band); color: var(--ink-band-text); padding: 72px 0 48px; }
.closing__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing__title {
  font-family: "Anton", var(--font-head);
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 14em;
}
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.closing .btn--ghost { color: var(--ink-band-text); border-color: var(--ink-band-text); }
.closing .btn--ghost:hover { background: rgba(246, 244, 239, 0.1); }
.closing__tel { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; padding: 12px 6px; }
.closing :focus-visible { outline-color: var(--accent); }
/* The footer carries on the same ink band, on the same 1280px column. */
.home .site-footer { margin-top: 0; padding-top: 0; }
.home .site-footer > .container {
  max-width: var(--maxw-wide);
  padding-inline: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--ink-band-line);
  padding-top: 2.5rem;
}
