/* ==========================================================================
   Fluid Block Spec v3 — shared foundation
   Text-style classes (§3.3), responsive scaling (§3.4), shared button
   component, and Section Base wrapper used by every `bs-*` section.
   Prefixed `ts-` / `bs-` so nothing collides with existing theme classes
   (design-system.css already ships `.text-h1…h4` / `.text-body`).
   ========================================================================== */

/* ---------- Text styles ---------- */
.ts-h1, .ts-h2, .ts-h3, .ts-h4, .ts-h5, .ts-h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-normal);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.ts-h1 { font-size: var(--ts-h1); line-height: 1.08; }
.ts-h2 { font-size: var(--ts-h2); line-height: 1.1; }
.ts-h3 { font-size: var(--ts-h3); }
.ts-h4 { font-size: var(--ts-h4); line-height: 1.2; }
.ts-h5 { font-size: var(--ts-h5); line-height: 1.25; }
.ts-h6 { font-size: var(--ts-h6); line-height: 1.3; }

.ts-yu-title, .ts-yu-heading, .ts-yu-subheading, .ts-quote {
  font-family: var(--font-family-editorial);
  font-weight: var(--font-weight-normal);
  margin: 0;
}
.ts-yu-title { font-size: var(--ts-yu-title); line-height: 1.05; letter-spacing: 0.01em; }
.ts-yu-display { font-family: var(--font-family-editorial); font-weight: var(--font-weight-normal); margin: 0; font-size: var(--ts-yu-display); line-height: 1.02; letter-spacing: 0; }
.ts-yu-eyebrow { font-family: var(--font-family-body); margin: 0; font-size: var(--ts-yu-eyebrow); line-height: 1.3; font-weight: var(--font-weight-semibold); text-transform: uppercase; letter-spacing: 0.16em; }
.ts-yu-heading { font-size: var(--ts-yu-heading); line-height: 1.12; }
.ts-yu-subheading { font-size: var(--ts-yu-subheading); line-height: 1.3; }
.ts-quote { font-size: var(--ts-quote); line-height: 1.35; font-style: italic; }

.ts-body-lg, .ts-body, .ts-body-sm, .ts-caption, .ts-fine-print, .ts-label, .ts-eyebrow, .ts-button {
  font-family: var(--font-family-body);
  margin: 0;
}
.ts-body-lg { font-size: var(--ts-body-lg); line-height: 1.6; font-weight: var(--font-weight-normal); }
.ts-body { font-size: var(--ts-body); line-height: 1.6; font-weight: var(--font-weight-normal); }
.ts-body-sm { font-size: var(--ts-body-sm); line-height: 1.55; font-weight: var(--font-weight-normal); }
.ts-caption { font-size: var(--ts-caption); line-height: 1.45; font-weight: var(--font-weight-normal); }
.ts-fine-print { font-size: var(--ts-fine-print); line-height: 1.45; font-weight: var(--font-weight-normal); }
.ts-label { font-size: var(--ts-label); line-height: 1.35; font-weight: var(--font-weight-medium); }
.ts-eyebrow { font-size: var(--ts-eyebrow); line-height: 1.3; font-weight: var(--font-weight-semibold); text-transform: uppercase; letter-spacing: 0.14em; }
.ts-button { font-size: var(--ts-button); line-height: 1; font-weight: var(--font-weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; }

/* Rich text inside text blocks */
.bs-rte > * + * { margin-top: 0.85em; }
.bs-rte a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bs-rte strong { font-weight: var(--font-weight-bold); }
.bs-rte ul, .bs-rte ol { padding-left: 1.25em; }
.bs-rte ul { list-style: disc; }
.bs-rte ol { list-style: decimal; }

/* Responsive scaling: tablet / mobile derive from the desktop value (no per-device settings, §3.4) */
@media (max-width: 989px) {
  .ts-h1, .ts-yu-title { font-size: max(calc(var(--ts-h1) * 0.82), calc(var(--ts-body) * 1.75)); }
  .ts-yu-title { font-size: max(calc(var(--ts-yu-title) * 0.8), calc(var(--ts-body) * 2)); }
  .ts-yu-display { font-size: max(calc(var(--ts-yu-display) * 0.75), calc(var(--ts-body) * 2.4)); }
  .ts-h2, .ts-yu-heading { font-size: max(calc(var(--ts-h2) * 0.85), calc(var(--ts-body) * 1.5)); }
  .ts-yu-heading { font-size: max(calc(var(--ts-yu-heading) * 0.85), calc(var(--ts-body) * 1.6)); }
  .ts-h3 { font-size: max(calc(var(--ts-h3) * 0.88), calc(var(--ts-body) * 1.3)); }
  .ts-quote { font-size: max(calc(var(--ts-quote) * 0.9), calc(var(--ts-body) * 1.15)); }
}
@media (max-width: 749px) {
  .ts-h1 { font-size: max(calc(var(--ts-h1) * 0.7), calc(var(--ts-body) * 1.6)); }
  .ts-yu-title { font-size: max(calc(var(--ts-yu-title) * 0.62), calc(var(--ts-body) * 2)); }
  .ts-yu-display { font-size: max(calc(var(--ts-yu-display) * 0.5), calc(var(--ts-body) * 2.25)); }
  .ts-yu-eyebrow { font-size: max(calc(var(--ts-yu-eyebrow) * 0.85), 12px); }
  .ts-h2 { font-size: max(calc(var(--ts-h2) * 0.72), calc(var(--ts-body) * 1.4)); }
  .ts-yu-heading { font-size: max(calc(var(--ts-yu-heading) * 0.7), calc(var(--ts-body) * 1.5)); }
  .ts-h3 { font-size: max(calc(var(--ts-h3) * 0.8), calc(var(--ts-body) * 1.25)); }
  .ts-h4, .ts-yu-subheading { font-size: max(calc(var(--ts-h4) * 0.88), calc(var(--ts-body) * 1.12)); }
  .ts-yu-subheading { font-size: max(calc(var(--ts-yu-subheading) * 0.88), calc(var(--ts-body) * 1.12)); }
  .ts-quote { font-size: max(calc(var(--ts-quote) * 0.82), calc(var(--ts-body) * 1.1)); }
  .ts-body-lg { font-size: max(calc(var(--ts-body-lg) * 0.94), var(--ts-body)); }
  .ts-body-sm, .ts-caption, .ts-fine-print { font-size: max(calc(var(--ts-body-sm) * 0.96), 12px); }
  .ts-caption { font-size: max(var(--ts-caption), 11px); }
  .ts-fine-print { font-size: max(var(--ts-fine-print), 10px); }
}

/* ---------- Section Base ---------- */
.bs-section {
  position: relative;
  isolation: isolate;
  background-color: var(--bs-bg, transparent);
  color: var(--bs-text, var(--clr-text-primary));
  padding-top: var(--bs-pt, 64px);
  padding-bottom: var(--bs-pb, 64px);
  scroll-margin-top: 96px;
}
.bs-section__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.bs-section__bg img, .bs-section__bg video { width: 100%; height: 100%; object-fit: cover; }
.bs-section__overlay { position: absolute; inset: 0; z-index: -1; background: var(--bs-overlay, transparent); opacity: var(--bs-overlay-opacity, 0); pointer-events: none; }
.bs-container { width: 100%; max-width: var(--bs-max, 1240px); margin-inline: auto; padding-inline: var(--container-padding, 36px); }
.bs-container--full { max-width: none; }
@media (max-width: 749px) {
  .bs-section { padding-top: calc(var(--bs-pt, 64px) * 0.65); padding-bottom: calc(var(--bs-pb, 64px) * 0.65); }
  .bs-container { padding-inline: 20px; }
}

/* Intro stack (eyebrow / heading / subheading / text / buttons) */
.bs-stack { display: flex; flex-direction: column; gap: var(--bs-gap, 20px); }
.bs-stack--center { align-items: center; text-align: center; }
.bs-stack--left { align-items: flex-start; text-align: left; }
.bs-stack--right { align-items: flex-end; text-align: right; }
.bs-stack__item { max-width: var(--bs-measure, 760px); color: var(--bs-color, inherit); }
.bs-stack--center .bs-stack__item { margin-inline: auto; }
.bs-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.bs-stack--center .bs-buttons { justify-content: center; }
.bs-image-block img { display: block; height: auto; max-width: 100%; }

/* ---------- Shared button component ---------- */
.bs-btn {
  --btn-bg: var(--clr-yu-navy);
  --btn-fg: var(--clr-white);
  --btn-bd: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--btn-radius, 999px);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: filter .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.bs-btn:hover { filter: brightness(0.9); }
.bs-btn:active { transform: translateY(1px); }
.bs-btn:focus-visible { outline: 2px solid var(--clr-yu-gold); outline-offset: 3px; }
.bs-btn--secondary { --btn-bg: var(--clr-yu-gold); --btn-fg: var(--clr-yu-navy); }
.bs-btn--outline { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.bs-btn--outline:hover { filter: none; background: rgba(255, 255, 255, .12); }
.bs-btn--link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: currentColor; padding-inline: 0; min-height: 0; text-decoration: underline; text-underline-offset: 5px; }
.bs-btn--link:hover { filter: none; opacity: .8; }
.bs-btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.bs-btn__icon { width: 1em; height: 1em; flex: none; }
.bs-btn .visually-hidden, .bs-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.bs-hero { min-height: var(--bs-min-h, 80vh); display: flex; align-items: center; }
.bs-hero .bs-container { position: relative; }
.bs-section__video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 749px) { .bs-hero { min-height: min(var(--bs-min-h, 80vh), 78svh); } }

/* ---------- Split + cards ---------- */
.bs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bs-split--reverse .bs-split__media { order: 2; }
.bs-split--no-media { grid-template-columns: 1fr; }
.bs-split__media { aspect-ratio: var(--bs-ratio, 4/5); overflow: hidden; border-radius: 4px; box-shadow: 18px 18px 0 0 var(--card-accent, var(--clr-yu-gold)); }
.bs-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-split__media--embed { background: var(--clr-yu-navy); }
.bs-split__embed { display: block; width: 100%; height: 100%; border: 0; }
.bs-cards { display: grid; grid-template-columns: repeat(var(--bs-cols, 3), minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 72px); }
.bs-card { background: var(--card-bg, #fff); color: var(--card-text, inherit); border-top: 3px solid var(--card-accent, var(--clr-yu-gold)); padding: 28px 28px 32px; border-radius: 2px; display: flex; flex-direction: column; gap: 12px; }
.bs-card__title { color: var(--card-title, inherit); }

/* ---------- Media tiles ---------- */
.bs-tiles-head { display: grid; gap: 40px; align-items: center; }
.bs-tiles-head--media { grid-template-columns: 1.1fr 0.9fr; }
.bs-tiles-head__media { aspect-ratio: 3/2; overflow: hidden; border-radius: 4px; }
.bs-tiles-head__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-tiles { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--bs-cols, 5), minmax(0, 1fr)); gap: 16px; }
.bs-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; background: var(--tile-overlay, var(--clr-yu-navy)); color: var(--tile-text, #fff); }
.bs-tile__media, .bs-tile__media img, .bs-tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-tile__placeholder { position: absolute; inset: 0; background: linear-gradient(160deg, var(--clr-yu-navy), #24345f); }
.bs-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--tile-overlay, var(--clr-yu-navy)) 0%, transparent 62%); opacity: .92; pointer-events: none; }
.bs-tile__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.bs-tile__body h3 { text-transform: uppercase; letter-spacing: .06em; border-top: 2px solid var(--clr-yu-gold); padding-top: 10px; }
/* Reserve the same text height in every tile (3 lines) so the gold rule and title line up across the row. */
.bs-tile__body p { min-height: 4.5em; min-height: 3lh; }
.bs-media-tiles .bs-buttons { margin-top: 40px; }

/* ---------- Testimonials ---------- */
.bs-testimonials { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bs-testimonial figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 18px; background: var(--card-bg, #fff); color: var(--card-text, inherit); padding: 16px 16px 24px; border-radius: 4px; }
.bs-testimonial__media { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; background: var(--clr-yu-cream); }
.bs-testimonial__media img, .bs-testimonial__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-testimonial__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--clr-yu-navy); background: repeating-linear-gradient(135deg, var(--clr-yu-cream) 0 14px, #f1e5cf 14px 28px); }
.bs-testimonial blockquote { margin: 0; padding: 0 8px; flex: 1; }
.bs-testimonial figcaption { padding: 0 8px; display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--card-accent, var(--clr-yu-gold)); padding-left: 12px; margin-left: 8px; }
.bs-video-testimonials .bs-buttons { margin-top: 32px; }
.bs-testimonials + .bs-stack { margin-top: 36px; }

/* ---------- Events ---------- */
.bs-events__heading { text-align: center; margin: clamp(40px, 6vw, 64px) 0 24px; }
.bs-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bs-event { background: var(--card-bg, #fff); color: var(--card-text, inherit); border-top: 4px solid var(--card-accent, var(--clr-yu-gold)); padding: 28px; display: flex; flex-direction: column; gap: 14px; border-radius: 2px; }
.bs-event__date { color: var(--card-accent, var(--clr-yu-gold)); }
.bs-event__meta { margin: 0; display: grid; gap: 12px; }
.bs-event__meta:empty { display: none; }
/* Label stacked above its value (no fixed label column, so longer labels like "Hosted by" never wrap). */
.bs-event__meta div { display: flex; flex-direction: column; gap: 2px; }
.bs-event__meta dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.bs-event__meta dd { margin: 0; }
.bs-event__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 8px; }
.bs-events__note { margin: 48px auto 0; max-width: 680px; text-align: center; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Media split ---------- */
.bs-msplit { display: grid; grid-template-columns: var(--bs-media-w, 1fr) var(--bs-content-w, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.bs-msplit--reverse .bs-msplit__media { order: 2; }
.bs-msplit__media { position: relative; aspect-ratio: var(--bs-ratio, 16/9); overflow: hidden; border-radius: 4px; background: var(--clr-yu-navy); box-shadow: 18px 18px 0 0 var(--card-accent, var(--clr-yu-gold)); }
.bs-msplit__media img, .bs-msplit__media video, .bs-msplit__embed { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.bs-msplit__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--clr-yu-navy), #24345f); color: var(--clr-white); }
.bs-msplit__placeholder .bs-msplit__img { position: absolute; inset: 0; opacity: .35; }
.bs-msplit__placeholder-label { position: relative; padding: 10px 18px; border: 1.5px solid var(--clr-yu-gold); color: var(--clr-yu-gold); border-radius: 999px; }

/* ---------- Link cards ---------- */
.bs-lcards { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--bs-cols, 3), minmax(0, 1fr)); gap: 24px; }
.bs-lcard { background: var(--card-bg, #fff); color: var(--card-text, inherit); border-top: 3px solid var(--card-accent, var(--clr-yu-gold)); padding: 28px 28px 32px; border-radius: 2px; display: flex; flex-direction: column; gap: 12px; text-align: var(--bs-card-align, left); }
.bs-lcard__eyebrow { color: var(--card-accent, var(--clr-yu-gold)); }
.bs-lcard__title { color: var(--card-title, inherit); }
.bs-lcard__actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: var(--bs-card-align, left); }
.bs-link-cards .bs-buttons { margin-top: 40px; }

/* ---------- Steps ---------- */
.bs-steps { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; gap: 24px; }
.bs-step { display: grid; grid-template-columns: minmax(72px, auto) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; background: var(--card-bg, #fff); color: var(--card-text, inherit); border-top: 3px solid var(--card-accent, var(--clr-yu-gold)); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px) clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); border-radius: 2px; }
.bs-step--media { grid-template-columns: minmax(72px, auto) minmax(0, 1.25fr) minmax(0, 0.75fr); }
.bs-step__number { color: var(--step-number, var(--clr-yu-gold)); line-height: 1; min-width: 1.1ch; text-align: center; }
.bs-step__body { display: flex; flex-direction: column; gap: 14px; }
.bs-step__title { color: var(--card-title, inherit); }
.bs-step__subtitle { color: var(--card-title, inherit); }
.bs-step__tagline { color: var(--card-title, inherit); border-left: 3px solid var(--card-accent, var(--clr-yu-gold)); padding-left: 14px; }
.bs-step__actions { padding-top: 6px; }
.bs-step__media { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.bs-step__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bs-steps + .bs-stack { margin-top: 36px; }

/* ---------- Process path ---------- */
.bs-path { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--bs-cols, 4), minmax(0, 1fr)); gap: 36px; }
.bs-node { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--card-bg, #fff); color: var(--card-text, inherit); border-top: 3px solid var(--card-accent, var(--clr-yu-gold)); padding: 26px 22px 30px; border-radius: 2px; }
.bs-node__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card-accent, var(--clr-yu-gold)); color: var(--clr-yu-navy); }
.bs-node__label { color: var(--card-title, inherit); text-transform: uppercase; letter-spacing: .06em; overflow-wrap: anywhere; }
.bs-node--featured { background: var(--feat-bg, var(--clr-yu-gold)); color: var(--feat-text, var(--clr-yu-navy)); border-top-color: var(--feat-text, var(--clr-yu-navy)); }
.bs-node--featured .bs-node__label { color: var(--feat-text, var(--clr-yu-navy)); }
.bs-path--arrows .bs-node:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -26px; width: 14px; height: 14px; border-top: 3px solid var(--card-accent, var(--clr-yu-gold)); border-right: 3px solid var(--card-accent, var(--clr-yu-gold)); transform: translateY(-50%) rotate(45deg); }
.bs-process__closing { margin: clamp(32px, 5vw, 48px) auto 0; max-width: 680px; text-align: center; }
.bs-process__closing ol, .bs-process__closing ul { display: inline-block; text-align: left; }
.bs-process .bs-buttons { margin-top: 36px; }

/* ---------- Stats band ---------- */
.bs-stats__list { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--bs-cols, 4), minmax(0, 1fr)); }
.bs-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 24px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .28); }
.bs-stat:first-child { border-left: 0; }
.bs-stat__label { opacity: .85; }
.bs-stat__value { color: var(--stat-value, var(--clr-secondary)); }
.bs-stat__caption { opacity: .85; }
.bs-stats .bs-buttons { margin-top: 36px; }

/* ---------- Trip reservation (traveler picker + payment schedule) ---------- */
.bs-trip { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 5vw, 56px); align-items: start; }
.bs-trip__box, .bs-trip__schedule { background: var(--card-bg, #fff); color: var(--card-text, inherit); border-top: 4px solid var(--card-accent, var(--clr-secondary)); border-radius: 2px; padding: clamp(22px, 3vw, 36px); }
.bs-trip__title { margin-bottom: 6px; color: var(--card-title, inherit); }
.bs-trip__sub { opacity: .8; margin-bottom: 8px; }
.bs-trip__rows { list-style: none; margin: 0; padding: 0; }
.bs-trip__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.bs-trip__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bs-trip__name { font-weight: var(--font-weight-semibold); }
.bs-trip__price { opacity: .75; }
.bs-trip__stepper { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.bs-trip__step { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.bs-trip__step:hover { background: var(--card-accent, var(--clr-secondary)); border-color: var(--card-accent, var(--clr-secondary)); color: var(--clr-accent-2, #334277); }
.bs-trip__step:disabled { opacity: .3; cursor: not-allowed; }
.bs-trip__step:disabled:hover { background: transparent; border-color: currentColor; color: inherit; }
.bs-trip__step:focus-visible { outline: 2px solid var(--card-accent, var(--clr-secondary)); outline-offset: 3px; }
.bs-trip__qty { min-width: 2.2ch; text-align: center; font-weight: var(--font-weight-semibold); font-variant-numeric: tabular-nums; }
.bs-trip__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0 14px; }
.bs-trip__total-value { color: var(--card-title, inherit); }
.bs-trip__cta { width: 100%; }
.bs-trip__notice { min-height: 1.5em; margin-top: 12px; }
.bs-trip__scroll { overflow-x: auto; margin-top: 8px; }
.bs-trip__table { width: 100%; min-width: 560px; border-collapse: collapse; }
.bs-trip__table th, .bs-trip__table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, .1); vertical-align: top; }
.bs-trip__table thead th { font-size: var(--ts-label); text-transform: uppercase; letter-spacing: .08em; opacity: .75; border-bottom: 2px solid var(--card-accent, var(--clr-secondary)); }
.bs-trip__table tbody th { font-weight: var(--font-weight-semibold); white-space: nowrap; }
.bs-trip__table tr.is-total th, .bs-trip__table tr.is-total td { font-weight: var(--font-weight-bold); border-top: 2px solid var(--card-accent, var(--clr-secondary)); border-bottom: 0; }
.bs-trip__table th:first-child, .bs-trip__table td:first-child { position: sticky; left: 0; background: var(--card-bg, #fff); }
.bs-trip__note { margin-top: 18px; opacity: .85; }
.bs-trip__note p + p { margin-top: .6em; }

.bs-trip__policy { max-width: 920px; margin: clamp(28px, 4vw, 40px) auto 0; padding: 18px 22px; background: var(--card-bg, #fff); color: var(--card-text, inherit); border-left: 4px solid var(--card-accent, var(--clr-secondary)); border-radius: 2px; display: flex; flex-direction: column; gap: 6px; }
.bs-trip__policy-title { color: var(--clr-accent-1); }
.bs-trip__policy + .bs-trip { margin-top: 28px; }
.bs-trip__rooms { opacity: .8; margin-bottom: 14px; }
/* Equal-height cards: grid stretches both; the picker card spreads its rows so the total + button sit at the bottom. */
.bs-trip { align-items: stretch; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.bs-trip__box, .bs-trip__schedule { display: flex; flex-direction: column; }
.bs-trip__box .bs-trip__rows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.bs-trip__box .bs-trip__row { padding: 12px 0; }
.bs-trip__box .bs-trip__total { padding-top: 16px; }
/* Compact schedule table: smaller headers that wrap, tighter cells, dates on one line. */
.bs-trip__table { min-width: 480px; font-size: var(--ts-body-sm); }
.bs-trip__table tbody td:nth-child(2) { white-space: nowrap; }
.bs-trip__table th, .bs-trip__table td { padding: 10px 10px; }
.bs-trip__table thead th { font-size: 11px; letter-spacing: .06em; line-height: 1.3; vertical-align: bottom; white-space: normal; }
.bs-trip__table td:nth-child(n+3), .bs-trip__table thead th:nth-child(n+3) { text-align: right; }
.bs-trip__schedule .bs-trip__note { margin-top: auto; padding-top: 16px; font-size: 13px; line-height: 1.5; }
.bs-trip__schedule .bs-trip__note p + p { margin-top: .4em; }
/* Display rules above (flex/grid) would otherwise beat the [hidden] attribute. */
.bs-trip-reserve [hidden], .bs-trip__dialog [hidden] { display: none !important; }
.bs-trip__dialog { border: 0; padding: 0; border-radius: 6px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); color: var(--clr-neutral-dark); background: var(--clr-white); box-shadow: 0 24px 80px rgba(0, 0, 0, .3); }
.bs-trip__dialog::backdrop { background: rgba(22, 23, 22, .6); }
.bs-trip__dlg { position: relative; padding: clamp(24px, 4vw, 36px); border-top: 4px solid var(--clr-secondary); display: flex; flex-direction: column; gap: 14px; }
.bs-trip__dlg-eyebrow { color: var(--clr-accent-1); }
.bs-trip__close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: inherit; }
.bs-trip__people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.bs-trip__people div { background: var(--clr-neutral-light); border-radius: 4px; padding: 10px; text-align: center; }
.bs-trip__people dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.bs-trip__people dd { margin: 2px 0 0; font-size: 20px; font-weight: var(--font-weight-semibold); }
.bs-trip__sum { width: 100%; border-collapse: collapse; }
.bs-trip__sum th, .bs-trip__sum td { padding: 9px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); text-align: left; font-weight: var(--font-weight-normal); vertical-align: top; }
.bs-trip__sum td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bs-trip__sum tr.is-strong th, .bs-trip__sum tr.is-strong td { font-weight: var(--font-weight-bold); border-top: 2px solid var(--clr-secondary); }
.bs-trip__sub-line { display: block; font-size: 12px; opacity: .65; }
.bs-trip__solo { background: #FFF7E8; border-left: 3px solid var(--clr-secondary); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.bs-trip__upgrade { background: #FFF7E8; border-left: 3px solid var(--clr-secondary); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.bs-trip__choice { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 32px; }
.bs-trip__choice input { width: 18px; height: 18px; accent-color: var(--clr-accent-2); }
.bs-trip__solo-private { font-weight: var(--font-weight-semibold); }
.bs-trip__dlg-note { opacity: .8; }
.bs-trip__dlg-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.bs-trip__dlg-actions .bs-btn--outline { color: var(--clr-accent-2); }
@media (max-width: 749px) {
  .bs-trip__people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-trip__dlg-actions .bs-btn { flex: 1 1 100%; }
}

/* ---------- Responsive grids (CSS only — no device settings) ---------- */
@media (max-width: 989px) {
  .bs-split, .bs-tiles-head--media { grid-template-columns: 1fr; }
  .bs-split--reverse .bs-split__media { order: 0; }
  .bs-split__media { max-width: 560px; box-shadow: 12px 12px 0 0 var(--card-accent, var(--clr-yu-gold)); }
  .bs-cards { grid-template-columns: repeat(min(var(--bs-cols, 3), 2), minmax(0, 1fr)); }
  .bs-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bs-testimonials, .bs-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .bs-stat:nth-child(odd) { border-left: 0; }
  .bs-trip { grid-template-columns: 1fr; }
  .bs-msplit { grid-template-columns: 1fr; }
  .bs-msplit--reverse .bs-msplit__media { order: 0; }
  .bs-msplit__media { box-shadow: 12px 12px 0 0 var(--card-accent, var(--clr-yu-gold)); }
  .bs-lcards { grid-template-columns: repeat(min(var(--bs-cols, 3), 2), minmax(0, 1fr)); }
  .bs-step--media { grid-template-columns: minmax(72px, auto) minmax(0, 1fr); }
  .bs-step--media .bs-step__media { grid-column: 2; max-width: 420px; }
  .bs-path { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin-inline: auto; }
  .bs-path--arrows .bs-node:not(:last-child)::after { top: auto; bottom: -26px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 749px) {
  .bs-cards, .bs-events, .bs-lcards { grid-template-columns: 1fr; }
  .bs-msplit__media { box-shadow: 8px 8px 0 0 var(--card-accent, var(--clr-yu-gold)); }
  .bs-step, .bs-step--media { grid-template-columns: 1fr; gap: 12px; }
  .bs-step--media .bs-step__media { grid-column: 1; }
  .bs-step__number { text-align: left; }
  .bs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bs-testimonials { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .bs-testimonials::-webkit-scrollbar { display: none; }
  .bs-testimonial { flex: 0 0 82%; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  .bs-btn, .bs-card, .bs-card__media img { transition: none !important; }
}
