/* Bike rides landing page (preview of the future /bikes), 2026-11-09.
   Hero photo, ride finder (matcher, map, ride panel), bike prices, booking, how the day works,
   one CTA band. Every class here starts with br-. The booking form styles near the end are the
   form rules of the retired bike-home.css, copied so this page does not load the old trail hero sheet.
   Type 13/16/20/25/31/39/49/61 (36 on phone heroes), spacing 4/8/12/16/24/32/48/64/96/128, radius 8. */

.br-page {
  --br-ink: #141414;
  --br-muted: #4b5654;
  --br-line: #d6dedd;
  --br-snow: #f2f5f5;
  --br-white: #ffffff;
  --br-teal: #016d66;
  --br-teal-dark: #014f4a;
  --br-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --br-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
  --br-display: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", "Arial Narrow", sans-serif;
  --br-text: "Barlow", "Barlow Fallback", system-ui, sans-serif;
  /* The copied ski and booking blocks read these names. */
  --skx-ink: #141414;
  --skx-muted: #4b5654;
  --skx-line: #d6dedd;
  --skx-input: #7c8987;
  --skx-snow: #f2f5f5;
  --skx-teal: #016d66;
  --skx-teal-dark: #014f4a;
  --skx-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --skx-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Same edges as the copied sections, which pad by --pad-x. */
.br-wrap {
  width: 100%;
  margin: 0;
  padding: 0 var(--pad-x, 24px);
}

/* ---------- Shared type ---------- */

.br-head { max-width: 720px; }

.br-kicker {
  margin: 0 0 8px;
  color: var(--br-muted);
  font: 600 13px/1.5 var(--br-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.br-head h2,
.br-cta h2 {
  max-width: none;
  margin: 0;
  color: var(--br-ink);
  font-family: var(--br-display);
  font-size: 39px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.br-lead,
.br-sub {
  max-width: 65ch;
  margin: 16px 0 0;
  color: var(--br-muted);
  font: 400 20px/1.5 var(--br-text);
}

.br-sub { font-size: 16px; }

/* ---------- Hero: the ski hero pattern with the route film behind the copy ---------- */

/* Left-to-right dark fade keeps the copy readable; the right 40% stays clear for the film. */
.br-hero .skx-hero__media::after {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.78) 40%, rgba(20, 20, 20, 0.15) 60%, rgba(20, 20, 20, 0) 100%),
    linear-gradient(0deg, rgba(20, 20, 20, 0.4) 0%, rgba(20, 20, 20, 0) 32%);
}

.br-hero .skx-hero__poster img { object-position: left center; }
/* Very wide windows stretch the film wider, so the hero grows with it and the peaks stay in frame. */
@media (min-width: 1800px) { .skx-hero.br-hero { min-height: 704px; } }
@media (min-width: 2300px) { .skx-hero.br-hero { min-height: 832px; } }
.br-hero .skx-hero__copy { max-width: 520px; }
.br-hero .local-mode-switches { margin-top: 8px; }
.bike-hero__line { display: none; }

/* The film: one wide painted strip that slides sideways behind the copy (js/bike-hero-film.js). */
.br-film {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 400ms ease-out;
  pointer-events: none;
}

.br-film.is-on { opacity: 1; }

.br-film__layer { position: absolute; top: 0; left: 0; will-change: transform; transform-origin: 0 0; }
.br-film__img { display: block; width: 100%; height: 100%; max-width: none; }
.br-film__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.br-film__quiet {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.br-film__case,
.br-film__ridden { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.br-film__case { stroke: #ffffff; }
.br-film__ridden { stroke: var(--br-teal); }

.br-film__dot {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  translate: -9px -9px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--br-teal);
  will-change: transform;
}

.br-film__lab {
  position: absolute;
  color: #ffffff;
  font: 600 13px/1.2 var(--br-text);
  opacity: 0;
  text-shadow: 0 1px 2px rgba(20, 20, 20, 0.8);
  transform: translate(-50%, -50%);
  transition: opacity 400ms ease-out;
  white-space: nowrap;
}

.br-film__lab.is-on { opacity: 1; }

.br-film__lab--town {
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--br-shadow);
  color: var(--br-ink);
  text-align: center;
  text-shadow: none;
  transform: translate(-50%, calc(-100% - 16px));
}

.br-film__lab--town b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.br-film__lab--town small { display: block; color: var(--br-muted); font-size: 13px; font-weight: 400; line-height: 1.3; }

.br-film__lab--peak {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Ha Ling Peak sits 32px lower so it clears the top edge. */
.br-film__lab[data-id="haling"] { translate: 0 32px; }
.br-film__lab--peak small { font-size: 13px; font-weight: 400; }
.br-film__lab--water { font-style: italic; }
.br-film__lab[data-id="tunnel"] { transform: translate(calc(-100% - 12px), -50%); }

.br-film__count {
  position: absolute;
  right: 24px;
  bottom: 72px;
  margin: 0;
  color: #ffffff;
  font: 600 16px/1.5 var(--br-text);
  text-shadow: 0 1px 2px rgba(20, 20, 20, 0.8);
}

/* ---------- Photo band ---------- */

.br-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  overflow: hidden;
  background: var(--br-ink);
  color: #ffffff;
  font-family: var(--br-text);
  isolation: isolate;
}

.br-photo__pic { position: absolute; inset: 0; z-index: -2; }
.br-photo__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.br-photo::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.72) 0%, rgba(20, 20, 20, 0.3) 50%, rgba(20, 20, 20, 0) 80%);
  content: "";
}

.br-photo__inner { padding-top: 96px; padding-bottom: 48px; }

.br-photo h2 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-family: var(--br-display);
  font-size: 39px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.br-photo p { max-width: 52ch; margin: 16px 0 0; color: #ffffff; font-size: 20px; line-height: 1.5; }

.br-photo__credit {
  position: absolute;
  right: var(--pad-x, 24px);
  bottom: 4px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
}

.br-photo__credit a {
  display: inline-flex;
  font-size: 13px;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Ride finder ---------- */

.br-rides { padding: 96px 0; background: var(--br-snow); font-family: var(--br-text); }

/* Matcher */

.br-match {
  margin-top: 48px;
  padding: 24px;
  border-radius: 8px;
  background: var(--br-white);
  box-shadow: var(--br-shadow);
}

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

.br-chips { min-width: 0; margin: 0; padding: 0; border: 0; }

.br-chips legend {
  padding: 0;
  margin-bottom: 12px;
  color: var(--br-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.br-chips__row { display: flex; flex-wrap: wrap; gap: 8px; }

.br-chip { position: relative; display: inline-flex; }

.br-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.br-chip span,
.br-tab {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: var(--br-white);
  color: var(--br-ink);
  font: 500 16px/1.5 var(--br-text);
  transition: border-color 200ms ease-out, background-color 200ms ease-out, box-shadow 200ms ease-out;
}

.br-tab { cursor: pointer; }

.br-chip:hover span,
.br-tab:hover { border-color: var(--br-ink); }

.br-chip input:checked + span,
.br-tab[aria-selected="true"] {
  border-color: var(--br-teal);
  background: var(--br-snow);
  box-shadow: inset 0 0 0 1px var(--br-teal);
}

.br-chip input:focus-visible + span {
  outline: 2px solid var(--br-teal);
  outline-offset: 2px;
}

.br-result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--br-line); }

.br-result__empty { margin: 0; color: var(--br-muted); }

.br-result__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
}

.br-result__thumb { display: block; width: 96px; height: 60px; border-radius: 8px; object-fit: cover; }

.br-result__head { margin: 0; color: var(--br-ink); font-size: 20px; font-weight: 600; line-height: 1.3; }
.br-result__why { max-width: 65ch; margin: 4px 0 0; color: var(--br-muted); }
.br-result__price { margin: 8px 0 0; color: var(--br-ink); font-weight: 600; }
.br-result__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Explorer */

.br-explorer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
.br-explorer__left,
.br-panel,
.br-list { min-width: 0; }
.br-panel { min-width: 0; }

.br-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.br-map {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--br-line);
  box-shadow: var(--br-shadow);
}

.br-map noscript img { display: block; width: 100%; height: 100%; object-fit: cover; }

.br-map__note { margin: 8px 0 0; color: var(--br-muted); font-size: 13px; line-height: 1.5; }

.br-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease-out, visibility 0s linear 400ms;
}

.br-layer.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }

.br-layer__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.br-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; }

.br-line { cursor: pointer; outline: none; }

.br-line__vis {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: stroke-width 200ms ease-out;
}

.br-line__hit {
  fill: none;
  stroke: transparent;
  stroke-width: 16;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: stroke;
}

.br-line:hover .br-line__vis { stroke-width: 5; }

/* Whole valley view: rides that belong to Canmore or Banff are background, so the towns stay readable. */
.br-line--faint .br-line__vis { stroke: rgba(255, 255, 255, 0.7); stroke-width: 2; }
.br-line--faint:hover .br-line__vis { stroke: rgba(255, 255, 255, 0.9); stroke-width: 5; }
.br-line:focus-visible .br-line__hit { stroke: rgba(1, 109, 102, 0.45); }
.br-line:focus-visible .br-line__vis { stroke: #ffffff; stroke-width: 6; }

.br-sel { pointer-events: none; }

.br-sel__case,
.br-sel__line {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.br-sel__case { stroke: #ffffff; stroke-width: 8; }
.br-sel__line { stroke: var(--br-teal); stroke-width: 4; }

.br-marks,
.br-labs { position: absolute; inset: 0; pointer-events: none; }

.br-mark {
  position: absolute;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--br-teal);
  transform: translate(-50%, -50%);
}

/* Labels sit over the picture. data-a says which side of its point a label goes on. */
.br-lab {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--br-ink);
  font: 600 13px/1.2 var(--br-text);
  text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 6px #ffffff;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.br-lab { translate: var(--dx, 0px) var(--dy, 0px); }
.br-lab[data-a="t"] { transform: translate(-50%, calc(-100% - 4px)); }
.br-lab[data-a="b"] { transform: translate(-50%, 4px); }
.br-lab[data-a="l"] { transform: translate(calc(-100% - 4px), -50%); }
.br-lab[data-a="r"] { transform: translate(4px, -50%); }
.br-lab[data-a="tl"] { transform: translate(calc(-100% - 4px), calc(-100% - 4px)); }
.br-lab[data-a="tr"] { transform: translate(4px, calc(-100% - 4px)); }
.br-lab[data-a="bl"] { transform: translate(calc(-100% - 4px), 4px); }
.br-lab[data-a="br"] { transform: translate(4px, 4px); }
.br-lab[data-a="dot"] { transform: translate(-3px, -50%); }
.br-lab[data-a="dotl"] { flex-direction: row-reverse; transform: translate(calc(-100% + 3px), -50%); }

.br-lab--town {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--br-white);
  box-shadow: var(--br-shadow);
  font-size: 16px;
  text-shadow: none;
}

.br-lab--shop {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--br-teal);
  box-shadow: var(--br-shadow);
  color: #ffffff;
  text-shadow: none;
}

/* The pointer: its tip sits on the shop. */
.br-lab--shop::after {
  position: absolute;
  top: 100%;
  left: 50%;
  border: 6px solid transparent;
  transform: translateX(-50%);
  border-top-color: var(--br-teal);
  content: "";
}

.br-lab--shop[data-a="shop"] { transform: translate(-50%, calc(-100% - 12px)); }
.br-lab--shop[data-a="shopb"] { transform: translate(-50%, 12px); }
.br-lab--shop[data-a="shopl"] { transform: translate(calc(-100% - 8px), -50%); }
.br-lab--shop[data-a="shopl"]::after { top: 50%; right: auto; bottom: auto; left: 100%; transform: translateY(-50%); border-top-color: transparent; border-left-color: var(--br-teal); }
.br-lab--shop[data-a="shopb"]::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--br-teal); }

.br-lab--peak { letter-spacing: 0.04em; text-transform: uppercase; }
.br-lab__note { font-weight: 400; }
.br-nowrap { white-space: nowrap; }
.br-lab--water { color: #1f5f66; font-style: italic; }
.br-map.is-compact .br-lab--water { max-width: 64px; text-align: center; white-space: normal; }

.br-lab--spot::before {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--br-ink);
  content: "";
}

.br-north {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--br-white);
  box-shadow: var(--br-shadow);
}

.br-north svg { display: block; width: 32px; height: 32px; }

.br-credit {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: 4px;
  max-width: calc(100% - 80px);
  margin: 0;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--br-ink);
  font-size: 13px;
  line-height: 1.5;
}

.br-credit a { position: relative; color: var(--br-teal); text-decoration: underline; text-underline-offset: 4px; }
/* Widens the tap area of the link to 44px without growing the pill. */
.br-credit a::after { position: absolute; inset: -16px -8px; content: ""; }

#brMapPanel { position: relative; }

/* Ride list */

.br-list { margin: 0; }
.br-list__group + .br-list__group { margin-top: 24px; }

.br-list__label {
  margin: 0 0 8px;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.br-list__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.br-list__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: var(--br-white);
  color: var(--br-ink);
  cursor: pointer;
  font-family: var(--br-text);
  text-align: left;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.br-list__btn:hover { border-color: var(--br-ink); }

.br-list__btn[aria-pressed="true"] {
  border-color: var(--br-teal);
  box-shadow: inset 0 0 0 1px var(--br-teal);
}

.br-list__btn img { flex: none; display: block; width: 72px; height: 45px; border-radius: 8px; object-fit: cover; }

.br-list__text { min-width: 0; }

.br-list__name,
.br-list__meta { display: block; }

.br-list__name { font-size: 16px; font-weight: 600; line-height: 1.25; }
.br-list__meta { color: var(--br-muted); font-size: 13px; line-height: 1.3; }

/* Ride panel */

.br-panel:not(.is-enhanced) .br-ride + .br-ride { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--br-line); }

.br-ride__photo { margin: 0; }

.br-ride__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.br-ride__photo figcaption { margin-top: 8px; color: var(--br-muted); font-size: 13px; line-height: 1.5; }
.br-ride__photo figcaption a { color: var(--br-teal); text-decoration: underline; text-underline-offset: 4px; }

.br-ride__tag {
  margin: 16px 0 0;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.br-ride__title {
  margin: 8px 0 0;
  color: var(--br-ink);
  font-family: var(--br-display);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.br-ride__sell { max-width: 65ch; margin: 12px 0 0; color: var(--br-ink); font-size: 20px; line-height: 1.5; }

.br-ride__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 24px 0 0;
}

.br-ride__stats dt,
.br-bike__prices dt { color: var(--br-muted); font-size: 13px; line-height: 1.5; }

.br-ride__stats dd,
.br-bike__prices dd { margin: 0; color: var(--br-ink); font-size: 16px; font-weight: 600; line-height: 1.5; }

.br-ride__label {
  margin: 24px 0 0;
  color: var(--br-muted);
  font: 600 13px/1.5 var(--br-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.br-ride__see { margin: 8px 0 0; padding: 0; list-style: none; }

.br-ride__see li { position: relative; padding-left: 16px; line-height: 1.5; }
.br-ride__see li + li { margin-top: 4px; }

.br-ride__see li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--br-ink);
  content: "";
}

.br-ride__know { max-width: 65ch; margin: 8px 0 0; line-height: 1.5; }

.br-ride__bike { margin-top: 24px; padding: 16px; border: 1px solid var(--br-line); border-radius: 8px; background: var(--br-snow); }
.br-ride__bike .br-ride__label { margin-top: 0; }
.br-ride__bikename { margin: 4px 0 0; color: var(--br-ink); font-size: 20px; font-weight: 600; line-height: 1.3; }
.br-ride__bikewhy { margin: 8px 0 0; color: var(--br-muted); }
.br-ride__price { margin: 8px 0 0; color: var(--br-ink); font-weight: 600; }

.br-ride__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; }

/* ---------- Bikes and prices ---------- */

.br-bikes { padding: 96px 0; background: var(--br-white); font-family: var(--br-text); }

.br-bikes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.br-bike {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: var(--br-white);
  box-shadow: var(--br-shadow);
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.br-bike.is-match { border-color: var(--br-ink); box-shadow: inset 0 0 0 1px var(--br-ink), var(--br-shadow); }

.br-bike__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--br-snow);
  color: var(--br-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.br-bike__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--br-white); }
.br-bike__img img { display: block; width: 100%; height: 100%; object-fit: contain; }

.br-bike__name {
  margin: 16px 0 0;
  color: var(--br-ink);
  font-family: var(--br-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.br-bike__line { flex: 1; margin: 8px 0 0; color: var(--br-muted); }

.br-bike__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }

.br-bike__prices div { padding: 8px; border-radius: 8px; background: var(--br-snow); text-align: center; }

.br-bike .btn { margin-top: 16px; }

.br-bikes__note { max-width: none; margin: 24px 0 0; color: var(--br-muted); font-size: 13px; line-height: 1.5; }
.br-bikes__note .skx-link { margin-left: 8px; font-size: 16px; }

/* ---------- Booking note ---------- */

/* "Booking for: ..." is the first line inside the booking card, and takes no room while empty. */
.br-bookfor { margin: 0; color: var(--skx-muted); font-size: 13px; line-height: 1.5; }
.br-bookfor:not(:empty) { margin-bottom: 16px; }

/* ---------- How the day works ---------- */

.br-how { padding: 96px 0; background: var(--br-white); font-family: var(--br-text); }

.br-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.br-step__num {
  display: block;
  color: var(--br-ink);
  font-family: var(--br-display);
  font-size: 39px;
  font-weight: 700;
  line-height: 1;
}

.br-step h3 { margin: 8px 0 0; color: var(--br-ink); font: 600 20px/1.3 var(--br-text); }
.br-step p { max-width: 65ch; margin: 8px 0 0; color: var(--br-muted); font-size: 16px; line-height: 1.5; }

/* ---------- CTA band ---------- */

.br-cta { padding: 64px 0; background: var(--br-teal); color: #ffffff; font-family: var(--br-text); }

.br-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }

.br-cta h2 { color: #ffffff; }
.br-cta p { margin: 8px 0 0; color: #ffffff; font-size: 16px; line-height: 1.5; }

.br-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  color: var(--br-ink);
  font: 600 16px/24px var(--br-text);
  text-decoration: none;
  transition: box-shadow 200ms ease-out;
}

.br-cta__btn:hover { box-shadow: var(--br-shadow-hover); }

/* ---------- Credits ---------- */

.br-credits {
  max-width: 65ch;
  margin: 0 auto;
  padding: 24px var(--gutter, 24px);
  color: var(--br-muted);
  font: 400 13px/1.5 var(--br-text);
  text-align: center;
}

/* ---------- Booking form (copied from the retired bike-home.css) ---------- */

.bike-book__form {
  display: grid;
  /* The last column is a fixed width so a long price line wraps instead of squeezing the tiles. */
  grid-template-columns: 200px 200px minmax(0, 1fr) 208px;
  gap: 16px;
  align-items: end;
  margin: 0;
}

/* Narrow laptops: no room for four columns, so the price and the button drop to their own row. */
@media (min-width: 1081px) and (max-width: 1279px) {
  .bike-book__form { grid-template-columns: 200px 200px minmax(0, 1fr); }
  .bike-book__form .bike-book__estimate { grid-row: 3; grid-column: 1 / 3; align-self: center; }
  .bike-book__form .bike-book__submit.btn { grid-row: 3; grid-column: 3; justify-self: end; min-width: 208px; }
  .bike-book__form .bike-book__note { grid-row: 4; }
}

.bike-book__date { grid-row: 1 / 3; grid-column: 1; align-self: start; display: grid; gap: 8px; }
.bike-book__location { grid-row: 1; grid-column: 2; }
.bike-book__period { grid-row: 1; grid-column: 3; }
.bike-book__submit.btn { grid-row: 1; grid-column: 4; box-sizing: border-box; min-height: 48px; padding: 8px 24px; white-space: nowrap; }
.bike-book__when { grid-row: 2; grid-column: 2; }
.bike-book__bikes { grid-row: 2; grid-column: 3; }
.bike-book__date .skx-field { margin: 0; }
.bike-book__note { grid-row: 3; grid-column: 1 / -1; }
.bike-book__estimate { grid-row: 2; grid-column: 4; align-self: start; }
.booking-lab-page .bike-book .twilight-offer { grid-row: 1; grid-column: 3; margin: 0; padding: 0; border: 0; background: none; }
.booking-lab-page .bike-book .twilight-offer legend { float: none; width: 100%; }
.booking-lab-page .bike-book .twilight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.booking-lab-page .bike-book .twilight-card,
.booking-lab-page .bike-book .twilight-card strong,
.booking-lab-page .bike-book .twilight-card span { align-items: flex-start; text-align: left; }

.bike-book .skx-field > span,
.bike-book .skx-tiers legend {
  padding: 0;
  color: var(--skx-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bike-book .skx-tiers legend { margin-bottom: 8px; }

.bike-book .skx-field input,
.bike-book .skx-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--skx-input);
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--skx-ink);
  font: 500 16px/1.5 "Barlow", "Barlow Fallback", system-ui, sans-serif;
  transition: border-color 200ms ease-out;
}

.bike-book .skx-field input:hover,
.bike-book .skx-field select:hover { border-color: var(--skx-ink); }

.bike-book [hidden] { display: none !important; }

.bike-book__when { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; min-width: 0; }
.bike-book__when > .skx-field { flex: 1 1 120px; min-width: 0; }
.bike-book__quick { display: flex; gap: 8px; }

.booking-lab-page .bike-book .quick-date-btn,
.bike-book .quick-date-btn {
  flex: 1 1 0;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  font-size: 13px;
  border: 1px solid var(--skx-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--skx-ink);
  cursor: pointer;
  font-family: "Barlow", "Barlow Fallback", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.5;
  transition: border-color 200ms ease-out, background-color 200ms ease-out, box-shadow 200ms ease-out;
}

.bike-book .quick-date-btn:hover { border-color: var(--skx-ink); }

.booking-lab-page .bike-book .quick-date-btn.active,
.bike-book .quick-date-btn[aria-pressed="true"] {
  border-color: var(--skx-ink);
  background: var(--skx-snow);
  box-shadow: inset 0 0 0 1px var(--skx-ink);
}

.bike-book .quick-date-btn:disabled { color: var(--skx-muted); cursor: not-allowed; }

.bike-book .return-time-field strong {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--skx-snow);
  font-size: 16px;
  font-weight: 600;
}

.bike-book .skx-tier:disabled { color: var(--skx-muted); cursor: not-allowed; background: var(--skx-snow); }
.bike-book .skx-tier:disabled:hover { border-color: var(--skx-line); }

.booking-lab-page .bike-book .skx-tier {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--skx-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--skx-ink);
  text-align: left;
  box-shadow: none;
}

.booking-lab-page .bike-book .skx-tier strong {
  font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
}

.booking-lab-page .bike-book .skx-tier span {
  margin: 0;
  color: var(--skx-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 14px;
}

.booking-lab-page .bike-book .skx-tier:hover { border-color: var(--skx-ink); }

.booking-lab-page .bike-book .skx-tier.active,
.booking-lab-page .bike-book .skx-tier[aria-pressed="true"] {
  border-color: var(--skx-ink);
  background: var(--skx-snow);
  box-shadow: inset 0 0 0 1px var(--skx-ink);
}

.booking-lab-page .bike-book .skx-tier.active span,
.booking-lab-page .bike-book .skx-tier[aria-pressed="true"] span { color: var(--skx-ink); }

.booking-lab-page .bike-book .skx-tier:disabled {
  opacity: 1;
  border-color: var(--skx-line);
  background: var(--skx-snow);
  color: var(--skx-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.booking-lab-page .bike-book .skx-tier:disabled strong { color: var(--skx-muted); }

.bike-book__note { display: grid; gap: 8px; color: var(--skx-muted); font-size: 13px; line-height: 1.5; }

.booking-lab-page .bike-book .time-note,
.bike-book .time-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.bike-book .time-note span {
  color: var(--skx-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bike-book .time-note strong { color: var(--skx-ink); font-size: 16px; font-weight: 600; }
.bike-book .time-note small { display: none; color: var(--skx-muted); font-size: 13px; }

.booking-lab-page .bike-book .same-day-status,
.bike-book .same-day-status {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  color: var(--skx-ink);
  font-size: 16px;
  line-height: 1.5;
}

.bike-book__estimate { margin: 0; color: var(--skx-ink); font-size: 16px; font-weight: 500; line-height: 1.5; }
.bike-book__estimate:empty { display: none; }
.bike-book__twilight-note { margin: 0 0 8px; color: var(--skx-muted); font-size: 13px; line-height: 1.5; }
.bike-book__estimate strong { font-weight: 600; }
.bike-book__estimate span { display: block; color: var(--skx-muted); font-size: 13px; }

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
  .br-explorer { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }

  /* The ride list runs across the top, so the map and the ride photo start on one line below it. */
  .br-list { grid-column: 1 / -1; grid-row: 1; }
  .br-explorer__left { grid-column: 1; grid-row: 2; }
  .br-panel { grid-column: 2; grid-row: 2; }

  .br-list__group + .br-list__group { margin-top: 16px; }
  .br-list__row { gap: 12px; grid-auto-rows: 1fr; }
  .br-list__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .br-list__row--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .br-list__btn { align-items: center; padding: 12px; }
  /* Fallback only; bike-rides.js sets the real height from the tallest ride. */
  .br-panel { min-height: 1136px; }
}

/* The map column stays in view while the ride list and panel scroll past. */
@media (min-width: 1024px) {
  .br-explorer__left { position: sticky; top: 96px; }
}

/* Wide windows: more room for the map, and the two ride groups side by side in one band:
   2 by 2 cards on the left, 3 by 2 on the right, five equal card columns across. */
@media (min-width: 1280px) {
  .br-explorer { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

  .br-list {
    display: grid;
    grid-template-columns: calc((100% - 68px) * 0.4 + 12px) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }

  .br-list__group + .br-list__group { margin-top: 0; }
  .br-list__row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-list__row--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Short wide windows get a smaller map (11/10), so most of it fits under the list. */
@media (min-width: 1280px) and (max-height: 860px) {
  .br-explorer { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
}

/* ---------- Tablet ---------- */

@media (max-width: 1080px) {
  .bike-book__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bike-book__date { grid-row: auto; grid-column: 1; }
  .bike-book__location { grid-row: auto; grid-column: 2; align-self: start; }
  .bike-book__period,
  .bike-book__when,
  .bike-book__bikes,
  .bike-book__note,
  .bike-book__estimate,
  .bike-book__submit.btn { grid-row: auto; grid-column: 1 / -1; }
  .booking-lab-page .bike-book .twilight-offer { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  /* The phone bar is visible here, so the matcher's book button steps down to an outline. */
  .br-result__book { border-color: var(--br-ink); background: transparent; box-shadow: none; color: var(--br-ink); }
  .br-result__book:hover { border-color: var(--br-ink); background: var(--br-snow); }
  /* The list rows come first, so a tapped card sits right above the map it changes. */
  .br-list { order: 1; }
  .br-explorer__left { order: 2; }
  .br-panel { order: 3; }
  .br-bikes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-result__row { grid-template-columns: 96px minmax(0, 1fr); }
  .br-result__actions { grid-column: 1 / -1; }
  .br-steps { gap: 32px; }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .br-list__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Hero below 1024px: the film gets its own window and the copy sits under it ----------
   The side-by-side layout needs the left half for the copy, which is more than half the width
   here, so tablets use the phone layout with a taller window. */

.br-hero { --br-window: 360px; }

@media (max-width: 1023px) {
  /* The 48px at the bottom is the part of the hero the booking card overlaps. */
  .skx-hero.br-hero { display: block; min-height: 0; padding: 0 0 48px; background: var(--br-ink); }

  .br-hero .skx-hero__media { position: relative; inset: auto; z-index: auto; height: var(--br-window); }
  .br-hero .skx-hero__poster img { object-position: center; }

  /* Only a short fade at the bottom of the window into the ink below it. */
  .br-hero .skx-hero__media::after { background: linear-gradient(0deg, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0) 24%); }

  .br-hero .skx-hero__inner { padding: 16px var(--gutter, 16px) 24px; }
  .br-hero .skx-hero__pause { top: 12px; right: 12px; }
  .br-film__count { top: calc(var(--br-window) - 36px); right: 12px; bottom: auto; }
}

/* Tablets: a shorter window, so the booking bar starts on the first screen of a 768x1024 tablet. */
@media (min-width: 761px) and (max-width: 1023px) {
  .br-hero { --br-window: 240px; }
}

@media (max-width: 760px) {
  .br-hero { --br-window: 280px; }
  /* The Sulphur Mountain label shifts left so it clears the pause button. */
  .br-film__lab[data-id="sulphur"] { translate: -48px 0; }
  /* The booking card overlaps 32px of the hero on phones, so 32px here leaves 24px of air under the line. */
  .skx-hero.br-hero { padding-bottom: 32px; }

  /* As on the live bike page: phones show the headline and one line. */
  .br-hero .skx-kicker,
  .br-hero .skx-hero__sub,
  .br-hero .skx-hero__sub-short,
  .br-hero .skx-hero__price,
  .br-hero .local-mode-switches { display: none; }
  .br-hero .bike-hero__line { display: block; max-width: 40ch; margin: 8px 0 0; color: #ffffff; font-size: 16px; line-height: 1.5; }
  .br-hero .bike-hero__line strong { font-weight: 600; }
}

/* ---------- Phone ---------- */

@media (max-width: 699px) {
  .br-photo { min-height: 360px; }
  .br-photo__inner { padding-top: 64px; }
  .br-photo h2 { font-size: 31px; }
  .br-photo p { font-size: 16px; }
  .br-photo__credit { display: none; }

  .br-rides,
  .br-bikes,
  .br-how { padding: 64px 0; }

  .br-head h2,
  .br-cta h2 { font-size: 31px; }
  .br-lead { font-size: 16px; }

  .br-match__questions { grid-template-columns: minmax(0, 1fr); }
  .br-result__row { grid-template-columns: minmax(0, 1fr); }

  /* Fewer labels so none touch on a 343px map. */
  .br-lab--minor { display: none; }
  .br-lab--water { max-width: 64px; text-align: center; white-space: normal; }
  /* The credit leaves the picture on a phone, where it would cover the shop label. */
  .br-credit { position: static; max-width: none; margin-top: 8px; padding: 0; background: none; color: var(--br-muted); }
  .br-credit a { display: inline-block; padding-block: 16px; margin-block: -16px; }
  .br-credit a::after { content: none; }

  .br-list__row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .br-list__btn { flex: 0 0 240px; scroll-snap-align: start; }

  .br-ride__title { font-size: 25px; }
  .br-ride__sell { font-size: 16px; }

  .br-bikes__grid { grid-template-columns: minmax(0, 1fr); }
  .br-steps { grid-template-columns: minmax(0, 1fr); }
  .br-cta__inner { align-items: flex-start; }
}

@media (max-width: 760px) {
  .bike-book__form { gap: 12px; }
  .bike-book .skx-field input,
  .bike-book .skx-field select { padding: 0 8px; }
  .bike-book .skx-tiers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-lab-page .bike-book .twilight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bike-book__when { gap: 12px; }
  .bike-book__date { grid-column: 1 / -1; }
  .bike-book__location { grid-column: 1 / -1; }
}

/* The phone bar steps aside while the hero, the ride finder or the booking form is on screen. */
.br-page.br-sticky-off .rb-sticky-bar {
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 200ms ease-out, visibility 200ms;
}

/* ---------- Season line (round 1, 2026-11-13) ---------- */

/* First line in the booking card: the season, true all year, so nobody has to guess it from the date. */
.br-season {
  margin: 0 0 12px;
  color: var(--br-ink);
  font: 400 16px/1.5 var(--br-text);
}
.br-season strong { font-weight: 600; }

/* Narrow laptops stack the price and button on a third row; a slightly shorter hero keeps the
   button on the first screen of a 1100x900 window now the season line sits above the form. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .skx-hero.br-hero { min-height: 544px; }
}

/* The script shows these only in season while the shop is open; home-booking-lab.css sets a display. */
.booking-lab-page .local-mode-switch[hidden],
.bike-book__quick[hidden] { display: none; }

/* ---------- Renter photos: an even grid, not a ragged masonry ---------- */

.customer-rides__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  columns: auto;
}

.customer-rides__photo {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.customer-rides__photo img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: var(--photo-pos, 50% 50%);
}

.customer-rides__photo figcaption { flex: 1; }

.customer-rides__more { display: none; }

@media (max-width: 959px) {
  .customer-rides__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .customer-rides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .customer-rides__photo figcaption { padding: 8px 12px 12px; }
  /* Phones show six photos; "See more rides" (bike-rides.js) brings in the rest. */
  .customer-rides__grid.is-collapsible:not(.is-expanded) .customer-rides__photo--more { display: none; }
  .customer-rides__more { display: block; margin-top: 24px; }
  .customer-rides__more .btn { width: 100%; min-height: 48px; }
}

.customer-rides__more .btn[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .br-page.br-sticky-off .rb-sticky-bar { transition: none; }
  .br-layer,
  .br-line__vis,
  .br-chip span,
  .br-tab,
  .br-list__btn,
  .br-bike,
  .br-film,
  .br-film__lab,
  .br-cta__btn,
  .bike-book .quick-date-btn { transition: none; }
}

/* ---------- Round 2 (2026-11-13) ---------- */

/* Booking bar: the line under the bike tiles keeps the gravel and kids status as text. */
.bike-book__unavailable { margin: 8px 0 0; color: var(--skx-muted); font-size: 13px; line-height: 1.5; }

/* Price cards carry four rates (2 hr, half day, full day, 24 hours) in two rows. */
.br-bike__prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Longer trips and add-ons, under the price cards. */
.br-bikes__extras {
  margin: 32px 0 0;
  padding: 24px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: var(--br-white);
}
.br-bikes__extras h3 {
  margin: 0;
  color: var(--br-ink);
  font: 600 20px/1.3 var(--br-text);
}
.br-bikes__extras ul { display: grid; gap: 8px; max-width: 65ch; margin: 12px 0 0; padding-left: 24px; }
.br-bikes__extras li { color: var(--br-ink); font-size: 16px; line-height: 1.5; }
.br-bikes__extras strong { font-weight: 600; }

/* FAQ: six cards, then "Show all questions" (bike-rides.js). Every answer stays in the DOM. */
.faq-more-row { display: none; }
@media (max-width: 699px) {
  .faq-grid.is-collapsible:not(.is-expanded) .faq-more { display: none; }
  .faq-grid.is-collapsible ~ .faq-more-row { display: block; margin-top: 24px; }
  .faq-more-row .btn { width: 100%; min-height: 48px; }
}
.faq-more-row .btn[hidden] { display: none; }

/* Ski block: a real Kastle ski photo in place of the logo card. */
.rb-ski__photo { margin: 0; overflow: hidden; border-radius: 8px; box-shadow: var(--br-shadow); }
.rb-ski__photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }

/* Phones: the ski and Hypershell cross-sells are short bands, not full sections. */
@media (max-width: 699px) {
  .booking-lab-page .rb-ski { padding: 48px var(--gutter, 16px); }
  .booking-lab-page .rb-ski__inner { gap: 24px; }
  .booking-lab-page .rb-ski h2 { font-size: 25px; }
  .booking-lab-page .rb-ski__body { margin-top: 8px; }
  .booking-lab-page .rb-ski__actions { margin-top: 16px; }
  .rb-ski__photo { order: -1; }
  .rb-ski__photo img { aspect-ratio: 3 / 1; }

  .hypershell-promo { display: block; padding: 24px var(--gutter, 16px); }
  .hypershell-promo-kicker { display: block; }
  .hypershell-promo strong { display: block; margin-top: 4px; font-size: 20px; }
  .hypershell-promo span:last-child { display: block; max-width: none; margin-top: 4px; text-align: left; }

  .br-bikes__extras { padding: 16px; }
  .br-bikes__extras ul { padding-left: 16px; }
}

/* Wider screens: the heading and the three facts sit in one row, so the box has no empty half. */
@media (min-width: 1024px) {
  .br-bikes__extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px; align-items: start; }
  .br-bikes__extras ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: none; margin: 0; padding: 0; list-style: none; }
}

/* Phones: the ski band follows the snow-coloured location strip, so it needs less top space. */
@media (max-width: 699px) {
  .booking-lab-page .rb-ski { padding-top: 24px; }
}

/* The Pickup label lines up with the Ride date label (it sat 4px lower). */
.bike-book .bike-book__location { margin: 0; align-self: start; }

/* Paint at once: the shared stylesheet fades the body in from script, which delays the first paint. */
body.bike-home { opacity: 1; transition: none; }

/* ---------- Round 3 (2026-11-13) ---------- */

/* Prices on phones: one compact table (bike, 2 hours, half day, full day, 24 hours) with a
   Choose link per row, in place of four stacked cards. Wider screens keep the cards. */
.br-price-table-wrap { display: none; }
.br-price-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  color: var(--br-ink);
  font: 400 16px/1.5 var(--br-text);
  font-variant-numeric: tabular-nums;
}
.br-price-table caption {
  margin: 0 0 8px;
  color: var(--br-muted);
  font-size: 13px;
  text-align: left;
}
.br-price-table thead th {
  padding: 0 4px 8px;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  vertical-align: bottom;
}
.br-price-table thead th:first-child { text-align: left; }
.br-price-table tbody th,
.br-price-table tbody td {
  padding: 8px 4px;
  border-top: 1px solid var(--br-line);
  text-align: right;
  vertical-align: middle;
}
.br-price-table tbody th {
  padding-left: 0;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}
.br-price-table tbody td:last-child { padding-right: 0; }
.br-price-table__choose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--br-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.br-price-table__choose:hover { text-decoration-thickness: 2px; }
.br-price-table__choose:focus-visible { outline: 2px solid var(--br-teal); outline-offset: 2px; }
.br-price-table__note { margin: 12px 0 0; color: var(--br-muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 767px) {
  .br-bikes__grid { display: none; }
  .br-price-table-wrap { display: block; margin: 32px 0 0; }
}

/* FAQ on phones: the first six questions, then a link to the full FAQ page. Every answer stays
   in the HTML and the FAQPage data. The heading-row link would repeat it, so it steps aside. */
@media (max-width: 699px) {
  #bikeFaqGrid .faq-more { display: none; }
  .faq-more-row { display: block; margin-top: 24px; }
  .faq-more-row .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; }
  .compact-section .section-heading-row > .btn { display: none; }
}

/* Also from Rundle: ski rentals and the Hypershell as two compact cards under one H2. */
.br-also { padding: 96px 0; background: var(--br-white); font-family: var(--br-text); }
.br-also__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.br-also__card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: var(--br-white);
  box-shadow: var(--br-shadow);
}
.br-also__img {
  flex: 0 0 160px;
  width: 160px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}
.br-also__copy { min-width: 0; }
.br-also__copy h3 {
  margin: 0;
  color: var(--br-ink);
  font: 600 20px/1.3 var(--br-text);
}
.br-also__copy p { margin: 4px 0 0; color: var(--br-muted); font-size: 16px; line-height: 1.5; }
.br-also__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  font-size: 16px;
}

@media (max-width: 767px) {
  .br-also__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 699px) {
  .br-also { padding: 64px 0; }
  .br-also .br-head h2 { font-size: 31px; }
  .br-also__grid { margin-top: 24px; }
  .br-also__card { gap: 16px; padding: 16px; }
  .br-also__img { flex-basis: 96px; width: 96px; height: 64px; }
  .br-also__copy h3 { font-size: 16px; }
  .br-also__copy p { display: none; }
  .br-also__link { min-height: 44px; margin-top: 0; }
}

/* ---------- Round 4 (2026-11-13) ---------- */

/* "e-MTB" never splits as "E-" / "MTB" in the bar tile; it reads as part of the tile name. */
.booking-lab-page .bike-book .skx-tier strong .bike-book__keep {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
}

/* Times did not load (ruling 8): one plain line with a retry, under the bar's fields. */
.bike-book__load-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid #b42318;
  border-radius: 8px;
  background: #f2f5f5;
  color: var(--skx-ink, #141414);
  font-size: 16px;
  line-height: 1.5;
}
.bike-book__load-error[hidden] { display: none; }
.bike-book__load-error p { margin: 0; }
/* While times have not loaded the start time stands alone at the top of its column. */
.bike-book__form.is-times-failed .bike-book__when { align-self: start; }
.bike-book__load-error .bike-book__load-help { flex-basis: 100%; color: var(--skx-muted); font-size: 13px; }
.bike-book__load-error a { color: #016d66; font-weight: 600; white-space: nowrap; }
.bike-book__load-error button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--skx-ink, #141414);
  border-radius: 8px;
  background: #ffffff;
  color: var(--skx-ink, #141414);
  font: 600 16px/1 "Barlow", "Barlow Fallback", sans-serif;
  cursor: pointer;
  transition: background-color 200ms ease-out;
}
.bike-book__load-error button:hover { background: #f2f5f5; }
.bike-book__load-error button:focus-visible { outline: 2px solid #016d66; outline-offset: 2px; }

/* The weekend half-day cut-off under the start time (ruling 4). */
.bike-book__cutoff { margin: 0; color: var(--skx-muted); font-size: 13px; line-height: 1.5; }
.bike-book__cutoff[hidden] { display: none; }

/* ---------- Ride film hero (2026-11-16) ----------
   The first-person ride film replaces the painted route film. Phones: a clear square with no
   fade over it, the headline alone under it (ski-home-v2.css, .skx-hero--clean), and a
   booking card without the estimate lines. */
.br-hero .skx-hero__poster img,
.br-hero .skx-hero__video { object-position: center; }

@media (max-width: 1023px) {
  .br-hero .skx-hero__media::after { content: none; }
}

@media (max-width: 760px) {
  .br-hero .skx-hero__media { height: auto; aspect-ratio: 1 / 1; }
  .bike-book .br-season [data-season-next],
  .bike-book .bike-book__estimate { display: none; }
}

/* Wide screens: the same soft low fade as the ski hero in place of the dark left half, and no
   estimate in the booking card (2026-11-16, owner ruling). */
@media (min-width: 1024px) {
  .br-hero .skx-hero__media::after {
    background: linear-gradient(0deg, rgba(20, 20, 20, 0.64) 0%, rgba(20, 20, 20, 0.32) 32%, rgba(20, 20, 20, 0) 64%);
  }
}

.bike-book .bike-book__estimate { display: none; }

/* Canmore Kästle National Demo Centre teaser in the Canmore location column (2026-11-20):
   one 3D rendering with its caption, a heading, one line and a link to /canmore#visit. */
.location-strip .br-plans {
  max-width: 560px;
  margin-top: 48px;
}

.br-plans__figure { margin: 0; }

.br-plans__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.br-plans__figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.location-strip .br-plans h3 {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.location-strip .br-plans p { margin-top: 8px; }

.location-strip .br-plans .skx-link { margin-top: 8px; }
