/* ==========================================================================
   Softbnb — Homepage composition
   Depends on softbnb-ds.css for tokens/primitives.
   ========================================================================== */

/* common.headerH emits a 66px spacer so ordinary pages clear the fixed nav.
   This page wants the hero to run full-bleed *behind* it, so main pulls back
   by exactly that amount — net document height is unchanged. */
#sb-main { margin-top: -66px; }

/* ==========================================================================
   1. HERO — cinematic canvas + floating search
   ========================================================================== */

/* Deep grounds use --sb-deep so they stay dark in both themes. */
.sb-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  background: var(--sb-deep);
  overflow: hidden;
}
@media (max-width: 767.98px) { .sb-hero { min-height: 78vh; } }

.sb-hero__stage { position: absolute; inset: 0; z-index: -2; }
/* <picture> is inline by default — it must fill the stage for the img's
   height:100% to resolve against something. */
.sb-hero__stage picture { display: block; width: 100%; height: 100%; }

/* ── Hero slides ──────────────────────────────────────────────────────────
   Every active banner is stacked in the same box and crossfaded, so the hero
   keeps one fixed footprint whether there is one banner or five — and the
   video, when present, still layers cleanly on top of whichever slide is up. */
.sb-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms var(--sb-ease);
  will-change: opacity;
}
.sb-hero__slide.is-on { opacity: 1; }
/* A single banner has no rotation to do, so it simply stays put. */
.sb-hero__stage:not([data-slides]) .sb-hero__slide { opacity: 1; transition: none; }

.sb-hero__stage img,
.sb-hero__stage video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Very slow drift on the still poster so the hero never reads as static.
   Suppressed under reduced motion by the DS reset. */
.sb-hero__stage img { animation: sb-drift 28s var(--sb-ease) infinite alternate; }
@keyframes sb-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}
.sb-hero__stage video { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--sb-ease); }
.sb-hero__stage video.is-playing { opacity: 1; }

.sb-hero__overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,7,6,0.88) 0%, rgba(10,7,6,0.52) 34%, rgba(10,7,6,0.18) 62%, rgba(10,7,6,0.42) 100%),
    linear-gradient(to right, rgba(10,7,6,0.55) 0%, rgba(10,7,6,0.10) 55%, rgba(10,7,6,0.0) 100%);
}

.sb-hero__inner { position: relative; padding-block: var(--sb-9) calc(var(--sb-7) + var(--sb-6)); }
@media (max-width: 767.98px) { .sb-hero__inner { padding-block: var(--sb-8) calc(var(--sb-5) + var(--sb-5)); } }

.sb-hero__copy { max-width: min(100%, 64rem); }
.sb-hero__title { color: #fff; max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.sb-hero__sub {
  font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet);
  color: rgba(255,255,255,0.86); margin-top: var(--sb-4);
  max-width: 46ch; font-size: clamp(2.032rem, 1.7vw, 2.352rem); line-height: 1.5;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}
.sb-hero__eyebrow { color: #FFB3B5; }
.sb-hero__cta { display: flex; flex-wrap: wrap; gap: var(--sb-3); margin-top: var(--sb-6); }
@media (max-width: 479.98px) {
  .sb-hero__copy { max-width: none; }
  .sb-hero__cta { gap: var(--sb-2); }
  .sb-hero__cta .sb-btn { flex: 1 1 100%; }
}

/* Sound/motion control for the video, bottom-right of the stage */
.sb-hero__vidctl {
  position: absolute; right: var(--sb-5); bottom: var(--sb-5); z-index: 3;
  width: 44px; height: 44px; border-radius: var(--sb-r-pill);
  display: none; align-items: center; justify-content: center;
  background: rgba(20,16,14,0.5); color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; transition: background var(--sb-dur-fast) var(--sb-ease);
}
.sb-hero__vidctl.is-available { display: flex; }
.sb-hero__vidctl:hover { background: rgba(20,16,14,0.75); }
@media (max-width: 767.98px) { .sb-hero__vidctl { right: var(--sb-4); bottom: 92px; } }

/* ── Floating search ─────────────────────────────────────────────────────── */

.sb-searchwrap { position: relative; z-index: 5; margin-top: calc(var(--sb-7) * -1); }

/* Focus centring ------------------------------------------------------------
   Clicking into the search brings the panel to the vertical centre of the
   viewport and wraps it in a silver sheen.

   The centring is done by scrolling the page, NOT by transforming the panel.
   A transform moves the panel without moving anything else, so it rode up over
   the hero copy above it; scrolling moves the whole document, which means the
   surrounding content keeps its spacing and nothing can overlap. The only
   transform left here is the scroll-linked shrink into the header. */
.sb-searchwrap { --sb-shrink: 1; --sb-fade: 1; }
.sb-searchwrap > .sb-search,
.sb-searchwrap > .sb-search__geo {
  transform: scale(var(--sb-shrink));
  transform-origin: 50% 0%;
  opacity: var(--sb-fade);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms linear;
  will-change: transform, opacity;
}

/* Scroll-linked shrink into the header. The lift's easing must not apply here
   or the panel lags a frame or two behind the scroll and feels rubbery. */
.sb-searchwrap.is-shrinking > .sb-search,
.sb-searchwrap.is-shrinking > .sb-search__geo {
  transition: none;
}
.sb-searchwrap.is-lifted { z-index: 40; }

/* Silver glow — breathes in and out while focused. */
.sb-searchwrap.is-lifted > .sb-search {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75),
    0 0 2.2rem rgba(226, 232, 240, 0.55),
    0 0 5.5rem rgba(191, 201, 214, 0.40),
    0 2.6rem 6rem rgba(38, 27, 22, 0.34);
  animation: sb-silver-breathe 2600ms ease-in-out infinite;
}
@keyframes sb-silver-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.62),
                         0 0 1.8rem rgba(226,232,240,0.42),
                         0 0 4.2rem rgba(191,201,214,0.28),
                         0 2.6rem 6rem rgba(38,27,22,0.34); }
  50%      { box-shadow: 0 0 0 1px rgba(255,255,255,0.95),
                         0 0 3.2rem rgba(240,244,250,0.72),
                         0 0 7.5rem rgba(191,201,214,0.52),
                         0 2.6rem 6rem rgba(38,27,22,0.34); }
}

/* Shine — a silver highlight sweeping across the panel. Clipped to the
   panel's radius and inert to pointer events so it never eats a click. */
.sb-search { position: relative; }
.sb-searchwrap.is-lifted > .sb-search::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg,
      rgba(255,255,255,0) 38%,
      rgba(255,255,255,0.55) 47%,
      rgba(226,232,240,0.85) 50%,
      rgba(255,255,255,0.55) 53%,
      rgba(255,255,255,0) 62%);
  background-size: 260% 100%;
  animation: sb-silver-sweep 2800ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  mix-blend-mode: screen;
}
@keyframes sb-silver-sweep {
  0%       { background-position: 160% 0; opacity: 0; }
  12%      { opacity: 1; }
  70%      { background-position: -60% 0; opacity: 1; }
  100%     { background-position: -60% 0; opacity: 0; }
}

/* The lift is disorienting on a phone, where the panel is already near the
   middle and the keyboard claims the lower half. Glow only. */

@media (prefers-reduced-motion: reduce) {
  .sb-searchwrap > .sb-search,
  .sb-searchwrap > .sb-search__geo { transform: none !important; opacity: 1 !important; }
  .sb-searchwrap.is-lifted > .sb-search { animation: none !important; }
  .sb-searchwrap.is-lifted > .sb-search::after { animation: none !important; opacity: 0 !important; }
}

/* Carries the pale red from where the hero image ends down into the category
   band, so no white strip shows behind the search panel. Full-bleed via a
   100vw pseudo-element because .sb-searchwrap is also .sb-shell and therefore
   capped at the 1240px measure — a background on the element itself would
   leave white down both sides. Starts below the hero overlap so the top of
   the panel still sits over the photograph. */
.sb-searchwrap::before {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 100vw;
  top: var(--sb-7);          /* exactly the hero overlap, so it begins at the image edge */
  bottom: 0;
  background: linear-gradient(to bottom,
    rgba(253, 236, 236, 0) 0%,
    rgba(253, 236, 236, 0.55) 42%,
    var(--sb-primary-soft) 100%);
  z-index: -1;
  pointer-events: none;
}
body.dark-mode .sb-searchwrap::before {
  background: linear-gradient(to bottom,
    rgba(230, 51, 56, 0) 0%,
    rgba(230, 51, 56, 0.05) 42%,
    rgba(230, 51, 56, 0.10) 100%);
}
@media (max-width: 991.98px) { .sb-searchwrap::before { top: var(--sb-6); } }
@media (max-width: 575.98px) { .sb-searchwrap::before { top: var(--sb-5); } }
@media (max-width: 991.98px) { .sb-searchwrap { margin-top: calc(var(--sb-6) * -1); } }

.sb-search {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-lg);
  box-shadow: var(--sb-shadow-3);
  padding: var(--sb-2);
}

.sb-search__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr auto;
  align-items: stretch;
  gap: 0;
}

.sb-field {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--sb-3) var(--sb-5);
  border-radius: var(--sb-r-md);
  border-right: 1px solid var(--sb-border);
  transition: background var(--sb-dur-fast) var(--sb-ease);
  min-width: 0;
}
.sb-field:last-of-type { border-right: 0; }
/* Requested 4px gutters either side of the guests field. */
.sb-field--guests { margin-left: 4px; border-right: 0; }
.sb-field:hover { background: var(--sb-surface-2); }
/* Focus is signalled by the field ground darkening rather than a ring —
   the caret plus a clear tonal shift reads calmer than a red outline while
   still being an unmistakable focus indicator. */
.sb-field:focus-within { background: var(--sb-surface-3); }
.sb-field input { caret-color: var(--sb-ink); }
.sb-search .sb-field input:focus,
.sb-search .sb-field input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.sb-field__label {
  font-size: var(--sb-t-caption); font-weight: var(--sb-w-medium);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sb-muted); margin-bottom: 3px; display: block;
}
.sb-field__input,
.sb-field input {
  border: 0; background: transparent; padding: 0; width: 100%;
  font-family: var(--sb-font-body); font-size: var(--sb-t-body);
  font-weight: var(--sb-w-medium); color: var(--sb-text); min-height: 26px;
  outline: none; min-width: 0;
}
.sb-field input::placeholder { color: var(--sb-muted-2); font-weight: var(--sb-w-normal); }
/* Native date pickers: strip chrome, keep the control */
.sb-field input[type="date"] { appearance: none; -webkit-appearance: none; font-variant-numeric: tabular-nums; }
.sb-field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.45; cursor: pointer; }

/* Guests stepper */
.sb-stepper { display: flex; align-items: center; gap: var(--sb-2); }
.sb-stepper__btn {
  width: 30px; height: 30px; flex: none;
  border-radius: var(--sb-r-pill);
  border: 1px solid var(--sb-border-strong);
  background: var(--sb-surface); color: var(--sb-ink);
  font-size: var(--sb-t-small); line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--sb-dur-fast) var(--sb-ease), background var(--sb-dur-fast) var(--sb-ease);
}
.sb-stepper__btn:hover:not(:disabled) { border-color: var(--sb-ink); background: var(--sb-surface-2); }
.sb-stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.sb-stepper__val {
  width: 2.5ch; text-align: center; font-weight: var(--sb-w-medium);
  font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.sb-stepper__val::-webkit-outer-spin-button,
.sb-stepper__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sb-search__submit {
  display: flex; align-items: center; justify-content: center; gap: var(--sb-2);
  margin: var(--sb-1) var(--sb-1) var(--sb-1) 4px;
  padding-inline: var(--sb-6);
  border: 0; border-radius: var(--sb-r-md);
  background: var(--sb-primary-strong); color: #fff;
  font-family: var(--sb-font-body); font-size: var(--sb-t-small); font-weight: var(--sb-w-medium);
  cursor: pointer; min-height: 56px;
  transition: background var(--sb-dur-fast) var(--sb-ease);
}
.sb-search__submit:hover { background: var(--sb-primary-hover); }

/* "Use my location" — preserves the legacy getLocation() capability */
.sb-search__geo {
  display: inline-flex; align-items: center; gap: 6px;
  margin: var(--sb-3) 0 0 var(--sb-5);
  background: none; border: 0; padding: 0;
  font-size: var(--sb-t-caption); font-weight: var(--sb-w-medium); color: var(--sb-muted);
  cursor: pointer;
}
.sb-search__geo:hover { color: var(--sb-primary-strong); }

/* ── Search: tablet ─────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .sb-search__grid { grid-template-columns: 1fr 1fr; }
  .sb-field { border-right: 0; border-bottom: 1px solid var(--sb-border); }
  .sb-field--where { grid-column: 1 / -1; }
  .sb-field--guests { border-bottom: 0; }
  .sb-search__submit { grid-column: 1 / -1; margin-top: var(--sb-2); }
}

/* ── Search: mobile — one-thumb stack ───────────────────────────────────── */
@media (max-width: 575.98px) {
  .sb-searchwrap { margin-top: calc(var(--sb-5) * -1); }
  .sb-search { padding: var(--sb-3); border-radius: var(--sb-r-md); }
  .sb-search__grid { grid-template-columns: 1fr 1fr; gap: var(--sb-1); }
  .sb-field {
    padding: var(--sb-3);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-r-sm);
    background: var(--sb-surface);
  }
  .sb-field--where { grid-column: 1 / -1; }
  .sb-field--guests { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .sb-field--guests .sb-field__label { margin-bottom: 0; }
  /* Thumb-sized stepper: 30px is fine for a mouse, not for a thumb. */
  .sb-stepper { gap: var(--sb-3); }
  .sb-stepper__btn { width: 44px; height: 44px; font-size: var(--sb-t-body); }
  .sb-search__submit { grid-column: 1 / -1; min-height: 52px; margin: var(--sb-1) 0 0; }
  .sb-search__geo { margin-left: var(--sb-1); }
}
/* ==========================================================================
   2. CATEGORY RAIL
   Compact inline pills — icon and label on one line. The earlier stacked
   tile (circular icon backdrop over a label over a count) stood ~130px tall;
   this is ~60px including the band's own padding.
   ========================================================================== */

.sb-cats {
  border-bottom: 1px solid rgba(230, 51, 56, 0.16);
  background: var(--sb-primary-soft);
}
body.dark-mode .sb-cats {
  background: rgba(230, 51, 56, 0.10);
  border-bottom-color: rgba(230, 51, 56, 0.22);
}

.sb-cats__rail {
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
  padding-block: 10px;
  scroll-snap-type: x proximity;
}
.sb-cats__rail::-webkit-scrollbar { display: none; }

/* ── Category rail overflow affordance ────────────────────────────────────
   The rail scrolls horizontally with its scrollbar hidden, which reads fine
   with a mouse but not on a tablet: the last category is simply clipped
   mid-word with nothing to say it continues. A fade on the scrolling edges
   makes the overflow legible. Toggled by data-more so a rail that fits, or
   one scrolled to the end, shows no false edge. */
.sb-cats .sb-shell { position: relative; }
.sb-cats .sb-shell::before,
.sb-cats .sb-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3.6rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--sb-ease);
  z-index: 2;
}
.sb-cats .sb-shell::before {
  left: 0;
  background: linear-gradient(to right, var(--sb-primary-soft), rgba(255, 255, 255, 0));
}
.sb-cats .sb-shell::after {
  right: 0;
  background: linear-gradient(to left, var(--sb-primary-soft), rgba(255, 255, 255, 0));
}
.sb-cats .sb-shell:has(.sb-cats__rail[data-more~="start"])::before { opacity: 1; }
.sb-cats .sb-shell:has(.sb-cats__rail[data-more~="end"])::after { opacity: 1; }


.sb-cat {
  position: relative;
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--sb-muted); text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  transition: color 200ms var(--sb-ease),
              background 200ms var(--sb-ease),
              border-color 200ms var(--sb-ease),
              transform 320ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.sb-cat i {
  font-size: 15px;
  line-height: 1;
  opacity: 0.82;
  transition: opacity 200ms var(--sb-ease), color 200ms var(--sb-ease);
}
.sb-cat span {
  font-size: var(--sb-t-small);
  font-weight: var(--sb-w-medium);
  letter-spacing: var(--sb-ls-tight);
}

.sb-cat:hover,
.sb-cat:focus-visible {
  color: var(--sb-ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(230, 51, 56, 0.20);
  text-decoration: none;
  transform: translateY(-2px);
}
.sb-cat:hover i, .sb-cat:focus-visible i { opacity: 1; color: var(--sb-primary-strong); }
body.dark-mode .sb-cat:hover { background: rgba(255, 255, 255, 0.08); }

/* Current category reads as a solid pill rather than an outline. */
.sb-cat[aria-current="true"] {
  color: var(--sb-bg);
  background: var(--sb-ink);
  border-color: var(--sb-ink);
}
.sb-cat[aria-current="true"] i { opacity: 1; color: var(--sb-bg); }
.sb-cat[aria-current="true"]:hover { color: var(--sb-bg); background: var(--sb-ink); }
.sb-cat[aria-current="true"]:hover i { color: var(--sb-bg); }

/* ── Live icons ───────────────────────────────────────────────────────────
   Each animates in a way that belongs to the thing it names. Hover only, so
   nothing moves while the page is at rest. */
@keyframes sb-bob     { 0%,100% { transform: translateY(0); }  50% { transform: translateY(-3px); } }
@keyframes sb-sway    { 0%,100% { transform: rotate(-9deg); }  50% { transform: rotate(9deg); } }
@keyframes sb-rock    { 0%,100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-1px); } }
@keyframes sb-spin    { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes sb-sparkle {
  0%, 100% { transform: scale(1) rotate(0); }
  35%      { transform: scale(1.16) rotate(-7deg); }
  70%      { transform: scale(0.97) rotate(5deg); }
}

.sb-cat:hover .fa-bed            { animation: sb-bob 1.1s var(--sb-ease) infinite; }
.sb-cat:hover .fa-crown          { animation: sb-sparkle 1.2s var(--sb-ease) infinite; }
.sb-cat:hover .fa-umbrella-beach { animation: sb-sway 1.5s var(--sb-ease) infinite; transform-origin: 50% 80%; }
.sb-cat:hover .fa-ship           { animation: sb-rock 1.6s var(--sb-ease) infinite; transform-origin: 50% 70%; }
.sb-cat:hover .fa-camera-retro   { animation: sb-sparkle 1.4s var(--sb-ease) infinite; }

/* Not-yet-built categories: visibly inert, announced as disabled. */
.sb-cat--soon { cursor: not-allowed; opacity: 0.45; }
.sb-cat--soon:hover {
  background: transparent; color: var(--sb-muted);
  transform: none; border-color: transparent;
}
.sb-cat--soon:hover i { color: inherit; opacity: 0.82; }
.sb-cat__soon {
  font-size: 9px; font-weight: var(--sb-w-bold);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sb-muted-2);
  border: 1px solid var(--sb-border); border-radius: 999px;
  padding: 1px 6px; margin-left: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sb-cat:hover i { animation: none !important; }
  .sb-cat:hover { transform: none; }
}

/* ==========================================================================
   3. STAY CARDS
   ========================================================================== */

.sb-grid {
  display: grid; gap: var(--sb-5);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1199.98px) { .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899.98px)  { .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sb-4); } }
@media (max-width: 479.98px)  { .sb-grid { grid-template-columns: 1fr; } }

.sb-stay { position: relative; display: flex; flex-direction: column; }
.sb-stay__media { aspect-ratio: 4 / 5; border-radius: var(--sb-r-md); }
@media (max-width: 479.98px) { .sb-stay__media { aspect-ratio: 3 / 2; } }
.sb-stay:hover .sb-stay__media > img { transform: scale(1.028); }

/* The title link stretches over the card; interactive children sit above it. */
.sb-stay__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--sb-r-md); }
.sb-stay__fav, .sb-stay__badge, .sb-stay__host { z-index: 2; }

.sb-stay__fav {
  position: absolute; top: var(--sb-3); right: var(--sb-3);
  width: 38px; height: 38px; border-radius: var(--sb-r-pill);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.9); color: var(--sb-deep);
  border: 0; cursor: pointer; box-shadow: var(--sb-shadow-1);
  transition: transform var(--sb-dur-fast) var(--sb-ease), background var(--sb-dur-fast) var(--sb-ease);
}
.sb-stay__fav:hover { transform: scale(1.08); background: #fff; }
.sb-stay__fav i { font-size: var(--sb-t-small); }
.sb-stay__fav[data-status="1"] i { color: var(--sb-primary); }

.sb-stay__badge { position: absolute; top: var(--sb-3); left: var(--sb-3); }
.sb-stay__host {
  position: absolute; left: var(--sb-3); bottom: var(--sb-3);
  width: 40px; height: 40px; border-radius: var(--sb-r-pill);
  overflow: hidden; border: 2px solid rgba(255,255,255,0.9);
  box-shadow: var(--sb-shadow-1); display: block;
  transition: transform var(--sb-dur-fast) var(--sb-ease);
}
.sb-stay__host:hover { transform: scale(1.08); }
.sb-stay__host img { width: 100%; height: 100%; object-fit: cover; }

.sb-stay__body { padding-top: 6px; }
.sb-stay__toprow { margin-bottom: 0; }
.sb-stay__toprow { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sb-3); }
.sb-stay__name {
  font-family: var(--sb-font-body); font-size: var(--sb-t-h3); font-weight: var(--sb-w-bold);
  line-height: 1.18; color: var(--sb-ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sb-stay__name a { color: inherit; text-decoration: none; }
.sb-stay__name a:hover { color: var(--sb-ink); text-decoration: none; }
.sb-stay__rating {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  font-size: var(--sb-t-h4); font-weight: var(--sb-w-bold); color: var(--sb-ink);
  line-height: 1.18;
  font-variant-numeric: tabular-nums;
}
.sb-stay__rating i { font-size: 7px; color: var(--sb-gold); }
.sb-stay__rating span { color: var(--sb-muted); font-weight: var(--sb-w-normal); }
.sb-stay__loc { font-family: var(--sb-font-meta); font-size: var(--sb-t-lead); font-weight: var(--sb-w-quiet); color: var(--sb-muted); margin: -3px 0 0; line-height: 1.2; }
.sb-stay__meta { font-family: var(--sb-font-meta); font-size: var(--sb-t-lead); font-weight: var(--sb-w-quiet); color: var(--sb-muted-2); margin: 1px 0 0; line-height: 1.2; }
.sb-stay__price { margin-top: 4px; line-height: 1.15; font-size: var(--sb-t-h2); font-weight: var(--sb-w-bold); letter-spacing: -0.015em; color: var(--sb-ink); font-variant-numeric: tabular-nums; }
.sb-stay__price small { font-size: var(--sb-t-h4); font-weight: var(--sb-w-medium); color: var(--sb-muted); letter-spacing: 0; }

/* ==========================================================================
   4. DESTINATIONS — editorial cards
   ========================================================================== */

.sb-dests { display: grid; gap: var(--sb-5); grid-template-columns: repeat(6, 1fr); }
.sb-dest { position: relative; grid-column: span 2; }
/* First two run wide, making a magazine-style asymmetric top row. */
.sb-dest:nth-child(1), .sb-dest:nth-child(2) { grid-column: span 3; }
@media (max-width: 899.98px) {
  .sb-dests { grid-template-columns: repeat(2, 1fr); gap: var(--sb-4); }
  .sb-dest, .sb-dest:nth-child(1), .sb-dest:nth-child(2) { grid-column: span 1; }
}
@media (max-width: 479.98px) {
  .sb-dests { grid-template-columns: 1fr; }
}

.sb-dest__media { aspect-ratio: 3 / 4; border-radius: var(--sb-r-lg); height: 100%; }
.sb-dest:nth-child(1) .sb-dest__media,
.sb-dest:nth-child(2) .sb-dest__media { aspect-ratio: 16 / 11; }
@media (max-width: 899.98px) {
  .sb-dest__media,
  .sb-dest:nth-child(1) .sb-dest__media,
  .sb-dest:nth-child(2) .sb-dest__media { aspect-ratio: 4 / 5; }
}
.sb-dest:hover .sb-dest__media > img { transform: scale(1.05); }

.sb-dest__body {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: var(--sb-5); color: #fff; pointer-events: none;
}
.sb-dest__body a { pointer-events: auto; }
.sb-dest__name { font-family: var(--sb-font-display); font-size: clamp(2.16rem, 2.2vw, 3.04rem); line-height: 1.15; margin: 0; }
.sb-dest__desc {
  font-size: var(--sb-t-small); line-height: 1.5; color: rgba(255,255,255,0.82);
  margin: 6px 0 0; max-width: 34ch;
  /* Revealed on hover on pointer devices; always visible on touch. */
}
.sb-dest__count {
  display: inline-flex; align-items: center; gap: 5px; margin-top: var(--sb-3);
  font-size: var(--sb-t-caption); font-weight: var(--sb-w-medium); letter-spacing: 0.04em;
  text-transform: uppercase; color: #F0D9BC;
}
.sb-dest__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--sb-r-lg); }

@media (hover: hover) and (min-width: 900px) {
  .sb-dest__desc {
    opacity: 0; max-height: 0; overflow: hidden;
    transition: opacity var(--sb-dur) var(--sb-ease), max-height var(--sb-dur) var(--sb-ease);
  }
  .sb-dest:hover .sb-dest__desc,
  .sb-dest:focus-within .sb-dest__desc { opacity: 1; max-height: 6em; }
}

/* Proximity badge injected by the geolocation sort */
.sb-dest__near {
  position: absolute; top: var(--sb-4); left: var(--sb-4); z-index: 2;
  display: none;
}
.sb-dest__near.is-shown { display: inline-flex; }

/* ==========================================================================
   5. EXPERIENCE BAND
   ========================================================================== */

.sb-band {
  position: relative; isolation: isolate;
  min-height: 600px; display: flex; align-items: center;
  background: var(--sb-deep); overflow: hidden;
}
@media (max-width: 767.98px) { .sb-band { min-height: 440px; } }
.sb-band__media { position: absolute; inset: 0; z-index: -2; }
.sb-band__media img { width: 100%; height: 100%; object-fit: cover; }
.sb-band__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(10,7,6,0.86) 0%, rgba(10,7,6,0.58) 48%, rgba(10,7,6,0.22) 100%);
}
.sb-band__copy { max-width: min(100%, 54.4rem); color: #fff; padding-block: var(--sb-8); }
.sb-band__copy .sb-eyebrow { font-size: var(--sb-t-body); }
.sb-band__copy .sb-lede { color: rgba(255,255,255,0.82); margin-top: var(--sb-4);
                          font-size: clamp(2rem, 1.6vw, 2.256rem); }
.sb-band__copy .sb-btn { margin-top: var(--sb-6); font-size: 2.05rem; }  /* 19 -> 22 -> 20.5px */

/* ==========================================================================
   6. TRUST
   ========================================================================== */

.sb-trust { display: grid; gap: var(--sb-5); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899.98px) { .sb-trust { grid-template-columns: repeat(2, 1fr); gap: var(--sb-4); } }
@media (max-width: 479.98px) { .sb-trust { grid-template-columns: 1fr; } }

.sb-trust__item {
  padding: var(--sb-5); border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-md); background: var(--sb-surface);
  transition: border-color var(--sb-dur) var(--sb-ease), box-shadow var(--sb-dur) var(--sb-ease);
}
.sb-trust__item:hover { border-color: var(--sb-border-strong); box-shadow: var(--sb-shadow-1); }
.sb-trust__icon {
  /* 24px glyph in a 48px tile — 12px of breathing room each side. Icon glyph
     sizes are the documented exception to the no-literals rule, since they
     are geometry rather than type. */
  width: 48px; height: 48px; border-radius: var(--sb-r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--sb-primary-soft); color: var(--sb-primary-strong);
  margin-bottom: var(--sb-4); font-size: 24px; line-height: 1;
}
body.dark-mode .sb-trust__icon { color: #FF7A7D; }
.sb-trust__item h3 { font-size: var(--sb-t-lead); font-weight: var(--sb-w-bold); margin: 0 0 7px; color: var(--sb-ink); }
.sb-trust__item p {
  font-family: var(--sb-font-meta);
  font-weight: var(--sb-w-quiet);
  font-size: var(--sb-t-body);
  color: var(--sb-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   7. TESTIMONIALS
   ========================================================================== */

.sb-quotes { display: grid; gap: var(--sb-5); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899.98px) { .sb-quotes { grid-template-columns: 1fr; max-width: 62ch; } }

.sb-quote {
  display: flex; flex-direction: column;
  padding: var(--sb-6) 0 0;
  border-top: 2px solid var(--sb-ink);
}
.sb-quote__stars { display: flex; gap: 3px; color: var(--sb-gold); font-size: var(--sb-t-micro); margin-bottom: var(--sb-4); }
.sb-quote__text {
  font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet);
  font-size: clamp(1.784rem, 1.5vw, 2.056rem); line-height: 1.5;
  color: var(--sb-ink); margin: 0 0 var(--sb-5); flex: 1;
}
.sb-quote__person { display: flex; align-items: center; gap: var(--sb-3); }
.sb-quote__avatar {
  width: 44px; height: 44px; border-radius: var(--sb-r-pill);
  object-fit: cover; flex: none; background: var(--sb-surface-3);
}
.sb-quote__name { font-size: var(--sb-t-body); font-weight: var(--sb-w-bold); color: var(--sb-ink); margin: 0; }
.sb-quote__role { font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet); font-size: var(--sb-t-body); color: var(--sb-muted); margin: 0; }

/* ==========================================================================
   8. HOST CTA
   ========================================================================== */

/* Light ground on purpose: the band section directly above is dark and
   image-backed, so repeating that here flattened the page's rhythm. */
.sb-hostx {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(200, 38, 43, 0.10) 0%, rgba(200, 38, 43, 0) 62%),
    linear-gradient(180deg, var(--sb-surface-2) 0%, var(--sb-bg) 100%);
}
.sb-hostx__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: var(--sb-10);
}
@media (max-width: 899.98px) { .sb-hostx__grid { grid-template-columns: 1fr; gap: var(--sb-8); } }

.sb-hostx__copy .sb-h1   { color: var(--sb-ink); margin: var(--sb-3) 0 0; }
.sb-hostx__copy .sb-lede { margin-top: var(--sb-4); }

/* Steps ------------------------------------------------------------------ */
.sb-hostx__steps {
  list-style: none; margin: var(--sb-7) 0 0; padding: 0;
  display: grid; gap: var(--sb-5);
}
.sb-hostx__step { display: grid; grid-template-columns: auto 1fr; gap: var(--sb-4); align-items: start; }
.sb-hostx__num {
  width: 3.2rem; height: 3.2rem; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sb-gold) 0%, #8E1418 100%);
  color: #fff;
  font-family: var(--sb-font-display);
  font-size: var(--sb-t-small); font-weight: var(--sb-w-bold);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0.4rem 1.2rem rgba(200, 38, 43, 0.32);
}
.sb-hostx__stepbody { display: block; }
.sb-hostx__stepbody b {
  display: block;
  font-family: var(--sb-font-display);
  font-size: var(--sb-t-body); font-weight: var(--sb-w-bold);
  color: var(--sb-ink); line-height: var(--sb-lh-snug);
}
.sb-hostx__stepbody small {
  display: block; margin-top: 3px;
  font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet);
  font-size: var(--sb-t-small); line-height: var(--sb-lh-quiet);
  color: var(--sb-muted);
}
.sb-hostx__cta { margin-top: var(--sb-7); }
@media (max-width: 479.98px) { .sb-hostx__cta .sb-btn { display: block; text-align: center; } }

/* Mosaic ------------------------------------------------------------------
   Staircase grid from the 21st.dev source: two columns over five rows, each
   cell spanning two rows and offset from its neighbour. 1rem = 10px here. */
.sb-hostx__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 4rem 17rem 4rem 17rem 4rem;
  gap: var(--sb-4);
}
.sb-hostx__cell {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--sb-r-md);
  box-shadow: 0 1.4rem 3.2rem rgba(38, 27, 22, 0.16), 0 0.2rem 0.6rem rgba(38, 27, 22, 0.08);
  background: var(--sb-surface-2);
}
.sb-hostx__cell img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.sb-hostx__cell:hover img { transform: scale(1.05); }
.sb-hostx__cell--1 { grid-column: 2 / 3; grid-row: 1 / 3; }
.sb-hostx__cell--2 { grid-column: 1 / 2; grid-row: 2 / 4; }
.sb-hostx__cell--3 { grid-column: 1 / 2; grid-row: 4 / 6; }
.sb-hostx__cell--4 { grid-column: 2 / 3; grid-row: 3 / 5; }

@media (max-width: 1199.98px) {
  .sb-hostx__gallery { grid-template-rows: 3rem 14rem 3rem 14rem 3rem; }
}
@media (max-width: 899.98px) {
  .sb-hostx__gallery { grid-template-rows: 3rem 16rem 3rem 16rem 3rem; max-width: 52rem; }
}
@media (max-width: 575.98px) {
  .sb-hostx__gallery { grid-template-rows: 2.4rem 12rem 2.4rem 12rem 2.4rem; }
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.sb-foot { background: var(--sb-deep); color: rgba(255,255,255,0.72); padding-block: var(--sb-9) var(--sb-6); }
@media (max-width: 767.98px) { .sb-foot { padding-block: var(--sb-8) var(--sb-5); } }

.sb-foot__top {
  display: grid; gap: var(--sb-7);
  grid-template-columns: 1.4fr repeat(4, 1fr);
  padding-bottom: var(--sb-7);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 991.98px) { .sb-foot__top { grid-template-columns: repeat(2, 1fr); gap: var(--sb-6); } }
@media (max-width: 479.98px) { .sb-foot__top { grid-template-columns: 1fr; } }

/* object-fit keeps the mark's true ratio when max-width clamps it in a
   narrow column — otherwise the fixed height stretches it. */
.sb-foot__brand img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }
.sb-foot__brand p { margin: var(--sb-4) 0 0; font-size: var(--sb-t-body); line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,0.6); }

.sb-foot__col h3 {
  font-family: var(--sb-font-body); font-size: var(--sb-t-small); font-weight: var(--sb-w-medium);
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 var(--sb-4);
}
.sb-foot__col ul { list-style: none; margin: 0; padding: 0; }
.sb-foot__col li + li { margin-top: 11px; }
.sb-foot__col a, .sb-foot__col button {
  font-size: var(--sb-t-body); color: rgba(255,255,255,0.72);
  text-decoration: none; background: none; border: 0; padding: 0;
  text-align: left; cursor: pointer;
  transition: color var(--sb-dur-fast) var(--sb-ease);
}
.sb-foot__col a:hover, .sb-foot__col button:hover { color: #fff; text-decoration: none; }

.sb-foot__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sb-4); padding-top: var(--sb-5);
}
.sb-foot__legal { display: flex; flex-wrap: wrap; gap: var(--sb-4); font-size: var(--sb-t-small); }
.sb-foot__legal a { color: rgba(255,255,255,0.6); text-decoration: none; }
.sb-foot__legal a:hover { color: #fff; }
.sb-foot__prefs { display: flex; flex-wrap: wrap; gap: var(--sb-2); }
.sb-foot__prefbtn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--sb-t-small); font-weight: var(--sb-w-medium); color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--sb-r-pill); padding: 8px 14px; cursor: pointer;
  transition: background var(--sb-dur-fast) var(--sb-ease);
}
.sb-foot__prefbtn:hover { background: rgba(255,255,255,0.14); color: #fff; }
.sb-foot__social { display: flex; gap: var(--sb-2); }
.sb-foot__social a {
  width: 38px; height: 38px; border-radius: var(--sb-r-pill);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85);
  transition: background var(--sb-dur-fast) var(--sb-ease);
}
.sb-foot__social a:hover { background: var(--sb-primary-strong); color: #fff; }
.sb-foot__copy { font-size: var(--sb-t-small); color: rgba(255,255,255,0.5); width: 100%; margin: 0; }

/* ==========================================================================
   10. EMPTY STATE
   ========================================================================== */

.sb-empty {
  padding: var(--sb-8) var(--sb-5); text-align: center;
  border: 1px dashed var(--sb-border-strong); border-radius: var(--sb-r-md);
  color: var(--sb-muted);
}
.sb-empty i { font-size: var(--sb-t-h2); color: var(--sb-border-strong); margin-bottom: var(--sb-3); display: block; }

/* ==========================================================================
   11. LEGACY DARK-THEME RECONCILIATION
   headerH.blade.php ships a site-wide rule:
     body.dark-mode input:not([type=submit])... { background-color:#1e293b !important }
   That slate-navy belongs to the old theme and clashes with this page's warm
   palette. These overrides are scoped to .sb-page so no other page changes,
   and they carry !important only because the rule they answer does.
   ========================================================================== */

body.dark-mode .sb-page input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]) {
  background-color: transparent !important;
  color: var(--sb-text) !important;
  border-color: transparent !important;
  -webkit-text-fill-color: var(--sb-text) !important;
}
body.dark-mode .sb-page .sb-field input::placeholder { color: var(--sb-muted-2) !important; }

/* Mobile search cards keep their own visible border. */
@media (max-width: 575.98px) {
  body.dark-mode .sb-page .sb-field { border-color: var(--sb-border); }
}

/* ==========================================================================
   12. MOTION
   CSS animation (not JS) for the hero entrance: it runs off the main thread,
   so it stays smooth while the hero image and fonts are still landing.
   ========================================================================== */

/* ── Hero entrance ──────────────────────────────────────────────────────────
   One-shot on load. Establishes reading order: eyebrow → headline → sub →
   buttons → search. 80ms stagger; anything tighter reads as "everything at
   once", anything looser feels slow. */

@keyframes sb-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes sb-rise-search {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: none; }
}

.sb-motion .sb-hero__eyebrow,
.sb-motion .sb-hero__title,
.sb-motion .sb-hero__sub,
.sb-motion .sb-hero__cta {
  animation: sb-rise var(--sb-dur-entrance) var(--sb-ease-out) both;
}
.sb-motion .sb-hero__eyebrow { animation-delay: 60ms;  }
.sb-motion .sb-hero__title   { animation-delay: 140ms; }
.sb-motion .sb-hero__sub     { animation-delay: 220ms; }
.sb-motion .sb-hero__cta     { animation-delay: 300ms; }

.sb-motion .sb-searchwrap {
  animation: sb-rise-search var(--sb-dur-entrance) var(--sb-ease-out) both;
  animation-delay: 380ms;
}

/* ── Hero parallax ─────────────────────────────────────────────────────────
   Applied to the stage wrapper, never the <img> — the img already owns a
   slow drift keyframe and two transforms on one element would fight.
   will-change is set from JS only while parallax actually runs; declaring it
   here would hold a compositor layer on every device that never parallaxes. */

/* ── Press feedback ────────────────────────────────────────────────────────
   Touch has no hover, so press is the only confirmation a tap registered. */
.sb-btn:active            { transform: scale(0.98); transition-duration: var(--sb-dur-press); }
.sb-search__submit:active { transform: scale(0.985); }
.sb-stepper__btn:active   { transform: scale(0.92); }
.sb-stay__fav:active      { transform: scale(0.94); }
.sb-search__submit,
.sb-stepper__btn,
.sb-stay__fav {
  transition: transform var(--sb-dur-press) var(--sb-ease-out),
              background var(--sb-dur-fast) var(--sb-ease),
              border-color var(--sb-dur-fast) var(--sb-ease);
}

/* Card press — the whole card is the target, so it acknowledges as one. */
@media (hover: none) {
  .sb-stay:active .sb-stay__media,
  .sb-dest:active .sb-dest__media { transform: scale(0.985); }
  .sb-stay__media,
  .sb-dest__media { transition: transform var(--sb-dur-press) var(--sb-ease-out); }
}

/* ── Hover gating ──────────────────────────────────────────────────────────
   Touch devices fire a sticky :hover on tap. Every hover-driven movement is
   confined here; colour-only hovers stay ungated since they can't strand. */
@media (hover: hover) and (pointer: fine) {
  .sb-stay:hover .sb-stay__media > img { transform: scale(1.045); }
  .sb-dest:hover .sb-dest__media > img { transform: scale(1.05); }
  .sb-stay__fav:hover  { transform: scale(1.08); }
  .sb-stay__host:hover { transform: scale(1.08); }
  .sb-btn:hover        { transform: translateY(-1px); }
  .sb-hero__vidctl:hover { transform: scale(1.06); }
}

/* Cancel the ungated versions so touch never strands a scaled card. */
@media not all and (hover: hover) {
  .sb-stay:hover .sb-stay__media > img,
  .sb-dest:hover .sb-dest__media > img,
  .sb-stay__fav:hover,
  .sb-stay__host:hover,
  .sb-btn:hover { transform: none; }
}

/* ── Reduced motion ────────────────────────────────────────────────────────
   Fewer and gentler, not zero: content still fades in so the page doesn't
   snap, but nothing travels and nothing scales. */
@media (prefers-reduced-motion: reduce) {
  .sb-motion .sb-hero__eyebrow,
  .sb-motion .sb-hero__title,
  .sb-motion .sb-hero__sub,
  .sb-motion .sb-hero__cta,
  .sb-motion .sb-searchwrap {
    /* !important because the design-system reduce block zeroes every
       duration site-wide. Reduced motion should be gentler, not absent —
       this fade carries no movement, so it is safe to keep. */
    animation: sb-fade 240ms var(--sb-ease-out) both !important;
  }
  .sb-hero__stage { transform: none !important; will-change: auto; }
  .sb-hero__slide { transition: none !important; }
}
@keyframes sb-fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   13. MEDIA POLISH
   Listing photography is host-uploaded, so it arrives at wildly different
   sizes, crops, exposures and quality. These rules make a mixed library read
   as one deliberate set without touching the pixels themselves.
   ========================================================================== */

/* Every frame carries the same ground, so a slow or missing image is never a
   raw white hole. */
.sb-media { background: var(--sb-surface-3); }
.sb-media > img,
.sb-media > picture > img {
  object-fit: cover;
  object-position: center;      /* faces and facades sit centre-frame more often than not */
}

/* Loading shimmer — replaces the blank box while bytes are in flight. */
.sb-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    transparent 18%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 82%);
  transform: translateX(-100%);
  animation: sb-shimmer 1.5s var(--sb-ease) infinite;
  pointer-events: none;
}
.sb-media.is-loaded::before { content: none; }
body.dark-mode .sb-media::before {
  background: linear-gradient(100deg,
    transparent 18%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 82%);
}
@keyframes sb-shimmer {
  to { transform: translateX(100%); }
}

/* A hairline inside the frame. Without it, bright or blown-out photography
   bleeds into the page and the card loses its edge. */
.sb-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(20, 16, 14, 0.07);
  pointer-events: none;
}
body.dark-mode .sb-media::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Missing upload: show the placeholder artwork at its own scale on a tinted
   ground, rather than stretching a small SVG to fill a 4:5 frame. */
.sb-media > img.is-fallback,
.sb-media > picture > img.is-fallback {
  object-fit: contain;
  padding: 18%;
  opacity: 0.4;
  background: var(--sb-surface-2);
}

@media (prefers-reduced-motion: reduce) {
  .sb-media::before { content: none; }
}

/* Full-bleed band: no rounding, and no hairline over an edge-to-edge image. */
.sb-band__media { border-radius: 0; }
.sb-band__media::after { content: none; }

/* ==========================================================================
   14. MODALS — language / currency
   Bootstrap's default chrome was showing through: square corners, a red X,
   plain form buttons. These rules replace the presentation only; the modal
   is still opened and closed by Bootstrap, and the handler classes on each
   option are untouched.
   ========================================================================== */

.sb-modal { --sb-modal-ease: cubic-bezier(0.16, 1, 0.3, 1); }

.sb-modal .modal-dialog {
  max-width: 560px;
  margin-inline: auto;
  padding-inline: var(--sb-4);
}
.sb-modal.modal-lg .modal-dialog,
.sb-modal .modal-dialog.modal-lg { max-width: 760px; }

/* Entrance: rise and settle, rather than Bootstrap's straight slide. */
.sb-modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 420ms var(--sb-modal-ease), opacity 260ms ease;
}
.sb-modal.show .modal-dialog { transform: none; opacity: 1; }

.sb-modal__content {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-xl);
  box-shadow: var(--sb-shadow-3);
  overflow: hidden;
  color: var(--sb-text);
  font-family: var(--sb-font-body);
}

.sb-modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--sb-4);
  padding: var(--sb-6) var(--sb-6) var(--sb-4);
}
.sb-modal__eyebrow {
  font-size: var(--sb-t-caption);
  font-weight: var(--sb-w-medium); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sb-gold); margin: 0 0 6px;
}
.sb-modal__title {
  font-family: var(--sb-font-display);
  font-size: clamp(2.24rem, 2.6vw, 2.96rem);
  font-weight: var(--sb-w-normal); letter-spacing: -0.012em; line-height: 1.15;
  color: var(--sb-ink); margin: 0;
}

.sb-modal__close {
  flex: none;
  width: 40px; height: 40px; border-radius: var(--sb-r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--sb-surface-2);
  border: 1px solid var(--sb-border);
  color: var(--sb-muted);
  font-size: var(--sb-t-small); cursor: pointer; opacity: 1;
  transition: background 200ms var(--sb-ease), color 200ms var(--sb-ease),
              transform 200ms var(--sb-ease);
}
.sb-modal__close:hover {
  background: var(--sb-ink); border-color: var(--sb-ink);
  color: var(--sb-surface); transform: rotate(90deg);
}

.sb-modal__body { padding: 0 var(--sb-6) var(--sb-6); }

/* ── Option grid ────────────────────────────────────────────────────────── */
.sb-optgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sb-3);
}
.sb-optgrid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767.98px) {
  .sb-optgrid, .sb-optgrid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 419.98px) {
  .sb-optgrid, .sb-optgrid--wide { grid-template-columns: 1fr; }
}

.sb-opt {
  position: relative;
  display: flex; align-items: center; gap: var(--sb-3);
  padding: 14px var(--sb-4);
  min-height: 56px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-md);
  background: var(--sb-surface);
  color: var(--sb-text); text-decoration: none;
  transition: border-color 200ms var(--sb-ease), background 200ms var(--sb-ease),
              transform 260ms var(--sb-ease-out), box-shadow 260ms var(--sb-ease);
}
.sb-opt:hover {
  border-color: var(--sb-border-strong);
  background: var(--sb-surface-2);
  color: var(--sb-text); text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--sb-shadow-1);
}
.sb-opt__label { font-size: var(--sb-t-small); font-weight: var(--sb-w-medium); line-height: 1.3; }
.sb-opt__sub   { font-size: var(--sb-t-caption); color: var(--sb-muted); }
.sb-opt__stack { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sb-opt__sym {
  flex: none;
  width: 38px; height: 38px; border-radius: var(--sb-r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--sb-surface-2);
  font-size: 1.52rem; font-weight: var(--sb-w-bold); color: var(--sb-ink);
}

/* Selected state — brand border plus a check, not just a colour change. */
.sb-opt.is-active {
  border-color: var(--sb-primary-strong);
  background: var(--sb-primary-soft);
}
.sb-opt.is-active .sb-opt__label { color: var(--sb-primary-strong); }
.sb-opt.is-active .sb-opt__sym { background: rgba(230, 51, 56, 0.14); color: var(--sb-primary-strong); }
.sb-opt__check {
  margin-left: auto; flex: none;
  width: 22px; height: 22px; border-radius: var(--sb-r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--sb-primary-strong); color: #fff; font-size: 10px;
  opacity: 0; transform: scale(0.6);
  transition: opacity 200ms var(--sb-ease), transform 320ms var(--sb-ease-out);
}
.sb-opt.is-active .sb-opt__check { opacity: 1; transform: scale(1); }

/* Backdrop: darker and blurred so the dialog reads as foreground. */
.modal-backdrop.show { opacity: 0.55; background: #14100E; }

@media (prefers-reduced-motion: reduce) {
  .sb-modal.fade .modal-dialog { transition: opacity 150ms linear; transform: none; }
  .sb-modal__close:hover { transform: none; }
  .sb-opt:hover { transform: none; }
}


/* ==========================================================================
   15. IMAGE CRISPNESS + PAGE GROUND
   ========================================================================== */

/* Photographs are composited on their own GPU layer and snapped to whole
   pixels. Fractional layout positions are the usual cause of a photo looking
   faintly soft even at the right resolution. */
.sb-media > img,
.sb-media > picture > img,
.sb-hero__stage img,
.sb-band__media img {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: auto;
}

/* Deliberately NOT using image-rendering: -webkit-optimize-contrast here.
   On photographs Chrome's implementation reads as over-sharpened rather than
   crisp. Genuine sharpness has to come from correctly-sized sources. */

/* ── Page ground ──────────────────────────────────────────────────────────
   Flat white reads as cheap at this scale. Two almost-invisible layers give
   the page depth without becoming a "texture": a warm bloom behind the top
   of the page, and a fine grain that stops large empty areas looking dead.
   Both are inlined SVG/gradients — no image requests. */
.sb-page:not(.sb-foot) {
  background-color: var(--sb-bg);
  background-image:
    radial-gradient(120% 70% at 50% 0%, rgba(168, 118, 58, 0.055), transparent 62%),
    radial-gradient(80% 50% at 100% 100%, rgba(230, 51, 56, 0.022), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, scroll;
}

/* Sand sections carry the same grain so the transition is not a hard edge. */
.sb-section--sand {
  background-color: var(--sb-surface-2);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n2)' opacity='0.028'/%3E%3C/svg%3E");
}

/* On a dark ground the grain has to be lighter to register at all. */
body.dark-mode .sb-page:not(.sb-foot) {
  background-image:
    radial-gradient(120% 70% at 50% 0%, rgba(211, 168, 95, 0.05), transparent 62%),
    radial-gradient(80% 50% at 100% 100%, rgba(230, 51, 56, 0.05), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n3)' opacity='0.05'/%3E%3C/svg%3E");
}


/* The footer is .sb-page AND .sb-foot, so it matches the page-ground rule
   above too. Declared last and scoped to both classes: the dark ground now
   wins on specificity, not on source order. */
.sb-page.sb-foot,
body.dark-mode .sb-page.sb-foot {
  background-color: var(--sb-deep);
  background-image: none;
  color: rgba(255, 255, 255, 0.72);
}
/* ==========================================================================
   16. INSTANT BOOK BADGE
   Icon-only at rest; the label unfurls on card hover. Scoped to --instant so
   the "New listing" chip, which shares the base classes, is untouched.
   ========================================================================== */

.sb-stay__badge--instant {
  display: inline-flex; align-items: center; gap: 0;
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(28, 20, 10, 0.42);
  border: 1px solid rgba(246, 206, 94, 0.30);
  color: #F6CE5E;
  font-size: var(--sb-t-small);
  font-weight: var(--sb-w-medium);
  line-height: 1;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 4px rgba(20, 16, 14, 0.22);
  transition: padding 420ms var(--sb-ease-out),
              background 300ms var(--sb-ease),
              border-color 300ms var(--sb-ease);
}

/* Collapsed rather than removed, so assistive tech still reads the label. */
.sb-bolt-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 420ms var(--sb-ease-out),
              opacity 260ms var(--sb-ease),
              margin-left 420ms var(--sb-ease-out);
}
.sb-stay:hover .sb-stay__badge--instant,
.sb-stay:focus-within .sb-stay__badge--instant,
.sb-stay__badge--instant:hover {
  padding-right: 11px;
  background: rgba(28, 20, 10, 0.58);
  border-color: rgba(246, 206, 94, 0.55);
}
.sb-stay:hover .sb-bolt-label,
.sb-stay:focus-within .sb-bolt-label,
.sb-stay__badge--instant:hover .sb-bolt-label {
  max-width: 14.4rem;
  opacity: 1;
  margin-left: 7px;
}

/* The bolt: gradient fill for metal, a dark seat beneath it for depth, and a
   slow rotateY so the "metal" catches light from changing angles. */
.sb-stay__badge--instant .sb-bolt {
  width: 17px; height: 17px;
  flex: none;
  transform-style: preserve-3d;
  animation: sb-gold-flash 3.4s var(--sb-ease) infinite,
             sb-bolt-tilt  5.2s ease-in-out       infinite;
}

@keyframes sb-gold-flash {
  0%, 66%, 100% {
    filter: drop-shadow(0 1px 0 rgba(92, 60, 6, 0.85))
            drop-shadow(0 0 0 rgba(255, 198, 74, 0));
  }
  74% {
    filter: drop-shadow(0 1px 0 rgba(92, 60, 6, 0.85))
            drop-shadow(0 0 7px rgba(255, 210, 96, 0.95))
            brightness(1.25);
  }
  84% {
    filter: drop-shadow(0 1px 0 rgba(92, 60, 6, 0.85))
            drop-shadow(0 0 3px rgba(255, 198, 74, 0.45));
  }
}

@keyframes sb-bolt-tilt {
  0%, 100% { transform: perspective(70px) rotateY(-16deg) rotateX(4deg); }
  50%      { transform: perspective(70px) rotateY( 18deg) rotateX(-4deg); }
}

body.dark-mode .sb-stay__badge--instant {
  background: rgba(18, 12, 4, 0.58);
  border-color: rgba(246, 206, 94, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .sb-stay__badge--instant .sb-bolt {
    animation: none;
    filter: drop-shadow(0 1px 0 rgba(92, 60, 6, 0.85));
  }
  /* Label still reveals, just without the unfurl. */
  .sb-bolt-label { transition: none; }
}

/* ==========================================================================
   17. CARD GLOW
   A slow breathing glow while a card is hovered or keyboard-focused. Only
   ever one card at a time, so the animation cost is a single element.
   ========================================================================== */

@keyframes sb-card-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(230, 51, 56, 0.10),
      0 4px 16px rgba(230, 51, 56, 0.12),
      0 2px 8px rgba(20, 16, 14, 0.06);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(230, 51, 56, 0.26),
      0 10px 34px rgba(230, 51, 56, 0.30),
      0 4px 14px rgba(20, 16, 14, 0.10);
  }
}

.sb-stay__media {
  /* Settles back gently when the pointer leaves, rather than snapping. */
  transition: box-shadow 420ms var(--sb-ease-out);
}
.sb-stay:hover .sb-stay__media,
.sb-stay:focus-within .sb-stay__media {
  animation: sb-card-glow 1900ms var(--sb-ease) infinite;
}

/* On a dark ground the same alphas read hot, so the glow is pulled back. */
body.dark-mode .sb-stay:hover .sb-stay__media,
body.dark-mode .sb-stay:focus-within .sb-stay__media {
  animation-name: sb-card-glow-dark;
}
@keyframes sb-card-glow-dark {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(230, 51, 56, 0.16),
      0 4px 18px rgba(230, 51, 56, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(230, 51, 56, 0.34),
      0 12px 38px rgba(230, 51, 56, 0.34);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-stay:hover .sb-stay__media,
  .sb-stay:focus-within .sb-stay__media,
  body.dark-mode .sb-stay:hover .sb-stay__media,
  body.dark-mode .sb-stay:focus-within .sb-stay__media {
    /* Still signal the hover, just without the pulse. */
    animation: none;
    box-shadow: 0 0 0 2px rgba(230, 51, 56, 0.22), 0 8px 26px rgba(230, 51, 56, 0.18);
  }
}

/* ==========================================================================
   18. LOCATION AUTOCOMPLETE
   Our own list, rendered from Google's raw predictions — the stock
   .pac-container widget is never attached on this page.
   ========================================================================== */

.sb-field--where { position: relative; }

.sb-ac {
  position: absolute; z-index: 40;
  left: 0; right: 0; top: calc(100% + 10px);
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-md);
  box-shadow: var(--sb-shadow-3);
  padding: 6px;
  max-height: 35.2rem; overflow-y: auto;
  animation: sb-ac-in 220ms var(--sb-ease-out) both;
}
@keyframes sb-ac-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.sb-ac__item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 12px;
  background: none; border: 0; border-radius: var(--sb-r-sm);
  text-align: left; cursor: pointer;
  font-family: var(--sb-font-body);
  color: var(--sb-text);
  transition: background 160ms var(--sb-ease);
}
.sb-ac__item:hover,
.sb-ac__item.is-active { background: var(--sb-surface-2); }

.sb-ac__icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--sb-r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--sb-surface-2); color: var(--sb-muted);
  font-size: var(--sb-t-small);
}
.sb-ac__item:hover .sb-ac__icon,
.sb-ac__item.is-active .sb-ac__icon {
  background: var(--sb-primary-soft); color: var(--sb-primary-strong);
}

.sb-ac__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sb-ac__main {
  font-size: var(--sb-t-body); font-weight: var(--sb-w-normal); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Google returns which characters matched; bolding them is the whole point
   of rendering the list ourselves. */
.sb-ac__main b { font-weight: var(--sb-w-bold); color: var(--sb-ink); }
.sb-ac__sub {
  font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet);
  font-size: var(--sb-t-small); color: var(--sb-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-ac__empty {
  margin: 0; padding: 18px 12px; text-align: center;
  font-size: var(--sb-t-small); color: var(--sb-muted);
}

/* ==========================================================================
   19. DATE RANGE PICKER
   Restyle of the daterangepicker already shipped with the project. Structure
   and class names are the library's; only presentation is ours.
   ========================================================================== */

.daterangepicker {
  font-family: var(--sb-font-body) !important;
  background: var(--sb-surface) !important;
  border: 1px solid var(--sb-border) !important;
  border-radius: var(--sb-r-lg) !important;
  box-shadow: var(--sb-shadow-3) !important;
  padding: 8px !important;
  margin-top: 12px !important;
  color: var(--sb-text) !important;
}
/* The library draws a CSS-triangle caret; a soft panel reads better without. */
.daterangepicker:before, .daterangepicker:after { display: none !important; }

.daterangepicker .drp-calendar { max-width: none !important; padding: 10px !important; }
.daterangepicker .calendar-table {
  background: transparent !important;
  border: 0 !important;
}
.daterangepicker th, .daterangepicker td { border-radius: 8px !important; }

.daterangepicker th.month {
  font-size: var(--sb-t-body) !important; font-weight: var(--sb-w-bold) !important;
  color: var(--sb-ink) !important; padding-bottom: 8px !important;
}
.daterangepicker th:not(.month) {
  font-family: var(--sb-font-meta) !important; font-weight: 300 !important;
  font-size: var(--sb-t-caption) !important; color: var(--sb-muted) !important;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.daterangepicker th.prev, .daterangepicker th.next {
  color: var(--sb-ink) !important;
  border-radius: 999px !important;
}
.daterangepicker th.prev:hover, .daterangepicker th.next:hover {
  background: var(--sb-surface-2) !important;
}
.daterangepicker th.prev span, .daterangepicker th.next span {
  border-color: var(--sb-ink) !important;
}

.daterangepicker td {
  font-size: var(--sb-t-small) !important;
  height: 38px !important; line-height: 38px !important;
  transition: background 140ms var(--sb-ease), color 140ms var(--sb-ease);
}
.daterangepicker td.available:hover {
  background: var(--sb-surface-2) !important;
  color: var(--sb-ink) !important;
}
.daterangepicker td.off {
  background: transparent !important;
  color: var(--sb-border-strong) !important;
}
.daterangepicker td.in-range {
  background: var(--sb-primary-soft) !important;
  color: var(--sb-primary-strong) !important;
  border-radius: 0 !important;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background: var(--sb-primary-strong) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: var(--sb-w-bold) !important;
}
.daterangepicker td.start-date { border-radius: 999px 0 0 999px !important; }
.daterangepicker td.end-date   { border-radius: 0 999px 999px 0 !important; }
.daterangepicker td.start-date.end-date { border-radius: 999px !important; }
.daterangepicker td.start-date.active,
.daterangepicker td.end-date.active { border-radius: 999px !important; }

.daterangepicker .drp-buttons {
  border-top: 1px solid var(--sb-border) !important;
  padding: 10px 12px !important;
}
.daterangepicker .drp-selected {
  font-size: var(--sb-t-small) !important; color: var(--sb-muted) !important;
}

body.dark-mode .daterangepicker {
  background: var(--sb-surface) !important;
  border-color: var(--sb-border) !important;
  color: var(--sb-text) !important;
}
body.dark-mode .daterangepicker td.available:hover { background: var(--sb-surface-2) !important; }

@media (max-width: 575.98px) {
  .daterangepicker { width: auto !important; }
  .daterangepicker .drp-calendar { float: none !important; width: auto !important; }
}


/* Trust section reads one rung up the scale — every role steps to the next
   size rather than taking an arbitrary +2px, so it stays on-system. */
.sb-section--trust .sb-eyebrow { font-size: var(--sb-t-small); }
.sb-section--trust .sb-h2      { font-size: var(--sb-t-h2-lg); }
.sb-section--trust .sb-lede    { font-size: var(--sb-t-h4); }
.sb-section--trust .sb-link    { font-size: var(--sb-t-body); }

/* Footer reads one rung up the scale, same approach as the trust section:
   each role steps to the next size rather than taking an arbitrary +2px. */
.sb-foot__brand p                        { font-size: var(--sb-t-lead); }
.sb-foot__col h3                         { font-size: var(--sb-t-body); }
.sb-foot__col a, .sb-foot__col button    { font-size: var(--sb-t-lead); }
.sb-foot__legal                          { font-size: var(--sb-t-body); }
.sb-foot__prefbtn                        { font-size: var(--sb-t-body); }
.sb-foot__copy                           { font-size: var(--sb-t-body); }
/* ==========================================================================
   20. APP SHOWCASE — device emerging from the experience band
   Pure CSS device: no image asset, crisp at any density, no extra request.
   ========================================================================== */

/* The band clipped its own overflow, which would slice the emerging device.
   Clipping moves to the media layer so the photograph still stays inside. */
.sb-showcase { overflow: visible; }
.sb-showcase .sb-band__media { overflow: hidden; }
.sb-showcase .sb-band__overlay { border-radius: inherit; }

.sb-showcase .sb-shell {
  flex: 1 1 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46rem);
  align-items: center;
  gap: var(--sb-7);
  padding-block: var(--sb-7);
  position: relative;
  z-index: 2;
}
.sb-showcase .sb-band__copy { padding-block: 0; }
.sb-band__cta { margin-top: 0.2rem; }        /* was 32px — pulled up 30px */

/* ── Store buttons ───────────────────────────────────────────────────────── */
.sb-store { display: flex; flex-wrap: wrap; gap: var(--sb-3); margin-top: 5.6rem; }  /* was 16px */
.sb-store__btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 18px 10px 15px;
  border-radius: 11px;
  background: rgba(20, 16, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 200ms var(--sb-ease), border-color 200ms var(--sb-ease),
              transform 200ms var(--sb-ease);
}
.sb-store__btn:hover {
  background: rgba(20, 16, 14, 0.78);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff; text-decoration: none; transform: translateY(-2px);
}
.sb-store__logo {
  width: 2.8rem; height: 2.8rem;
  flex: none;
  display: block;
  /* Lifts the marks off the dark button without washing out their colour. */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.sb-store__btn span {
  display: flex; flex-direction: column; line-height: 1.15;
  font-size: var(--sb-t-body); font-weight: var(--sb-w-medium);
}
.sb-store__btn small {
  font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet);
  font-size: var(--sb-t-caption); opacity: 0.82;
}

/* ── Stage ───────────────────────────────────────────────────────────────── */
.sb-stage { position: relative; justify-self: center; align-self: end; }
.sb-stage__glow {
  position: absolute; left: 50%; top: 18%;
  width: 30rem; height: 30rem; transform: translate(-50%, 0);
  background: radial-gradient(circle, rgba(230, 51, 56, 0.34), transparent 68%);
  filter: blur(46px); pointer-events: none;
}

/* ── Device ──────────────────────────────────────────────────────────────── */
.sb-device {
  position: relative; z-index: 3;
  width: 30rem;                     /* 280 -> 300px */
  /* Sits at the foot of the band. It used to overhang the top edge, which put
     it straight through the listing row above; the only overhang now is the
     small one at the bottom, into this section's own padding. */
  margin-top: 0;
  margin-bottom: -6.5rem;
  transform: translateY(7rem) scale(0.965);
  opacity: 0;
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 700ms var(--sb-ease);
  will-change: transform;
}
.sb-device.is-up { transform: translateY(0) scale(1); opacity: 1; }
/* Settles into a slow drift once it has arrived. */
.sb-device.is-settled { animation: sb-float 7s ease-in-out infinite; }
@keyframes sb-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-1.2rem) rotate(-0.35deg); }
}

.sb-device__frame {
  position: relative;
  /* 17 Pro Max: near-uniform hairline bezel and a much larger corner radius
     than earlier generations. */
  border-radius: 5.2rem;
  padding: 0.85rem;
  background: linear-gradient(150deg, #6e6a67 0%, #26221f 22%, #17130f 55%, #3a3532 88%, #17130f 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 3rem 6rem rgba(0, 0, 0, 0.62),
    0 1rem 2.4rem rgba(0, 0, 0, 0.42);
}
.sb-device__island {
  position: absolute; top: 2.2rem; left: 50%; transform: translateX(-50%);
  width: 9.4rem; height: 2.6rem; border-radius: 999px;
  background: #0a0807; z-index: 4;
}
/* Glass sheen across the top-left corner. */
.sb-device__glare {
  position: absolute; inset: 0.85rem; border-radius: 4.4rem; z-index: 3;
  background: linear-gradient(133deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.06) 22%, transparent 46%);
  pointer-events: none;
}

.sb-device__screen {
  position: relative; overflow: hidden;
  border-radius: 4.4rem;
  aspect-ratio: 9 / 19.5;
  background: var(--sb-bg);
  display: flex; flex-direction: column;
  padding: 4.2rem 1.2rem 0;
}

/* ── Screens ─────────────────────────────────────────────────────────────── */
.sb-scr {
  position: absolute; inset: 0;
  padding: 4.2rem 1.2rem 5.4rem;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateX(12%);
  transition: opacity 460ms var(--sb-ease), transform 620ms var(--sb-ease-out);
}
.sb-scr.is-on { opacity: 1; transform: none; }
.sb-scr.is-out { opacity: 0; transform: translateX(-12%); }

.sb-scr__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 .4rem .9rem; }
.sb-scr__brand { font-size: 1.5rem; font-weight: var(--sb-w-bold); color: var(--sb-primary); letter-spacing: -.02em; }
.sb-scr__dot { width: 2.2rem; height: 2.2rem; border-radius: 999px; background: linear-gradient(140deg, var(--sb-surface-3), var(--sb-border-strong)); }

.sb-scr__search {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1.1rem; margin-bottom: .9rem; border-radius: 999px;
  background: var(--sb-surface); border: 1px solid var(--sb-border);
  font-size: 1.15rem; color: var(--sb-muted-2);
}
.sb-scr__search i { font-size: 1rem; color: var(--sb-primary); }

.sb-scr__chips { display: flex; gap: .5rem; margin-bottom: 1rem; }
.sb-scr__chips span {
  font-size: 1rem; font-weight: var(--sb-w-medium); padding: .4rem .9rem;
  border-radius: 999px; background: var(--sb-surface);
  border: 1px solid var(--sb-border); color: var(--sb-muted);
}
.sb-scr__chips .is-on { background: var(--sb-ink); border-color: var(--sb-ink); color: var(--sb-bg); }

.sb-scr__card { margin-bottom: .9rem; }
.sb-scr__shot { aspect-ratio: 16 / 10; border-radius: 1.2rem; overflow: hidden; background: var(--sb-surface-3); }
.sb-scr__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-scr__meta { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .5rem .2rem 0; }
.sb-scr__meta b { font-size: 1.15rem; font-weight: var(--sb-w-bold); color: var(--sb-ink); }
.sb-scr__meta span { font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet); font-size: 1.05rem; color: var(--sb-muted); }

.sb-scr__hero { position: relative; aspect-ratio: 4 / 3; border-radius: 1.4rem; overflow: hidden; background: var(--sb-surface-3); }
.sb-scr__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-scr__back, .sb-scr__fav {
  position: absolute; top: .9rem; width: 2.6rem; height: 2.6rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); font-size: 1.1rem; color: var(--sb-deep);
}
.sb-scr__back { left: .9rem; }
.sb-scr__fav  { right: .9rem; color: var(--sb-primary); }
.sb-scr__body { padding: 1rem .3rem 0; }
.sb-scr__body b { display: block; font-size: 1.5rem; font-weight: var(--sb-w-bold); color: var(--sb-ink); }
.sb-scr__body p { margin: .3rem 0 0; font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet); font-size: 1.15rem; color: var(--sb-muted); }
.sb-scr__rate { margin-top: .6rem; font-size: 1.15rem; font-weight: var(--sb-w-bold); color: var(--sb-ink); }
.sb-scr__rate i { color: var(--sb-gold); font-size: 1rem; }
.sb-scr__book {
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--sb-border);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.sb-scr__book span { font-size: 1.4rem; font-weight: var(--sb-w-bold); color: var(--sb-ink); }
.sb-scr__book small { font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet); font-size: 1rem; color: var(--sb-muted); margin-left: .3rem; }
.sb-scr__book button {
  border: 0; border-radius: .9rem; padding: .7rem 1.3rem;
  background: var(--sb-primary-strong); color: #fff;
  font-family: var(--sb-font-body); font-size: 1.15rem; font-weight: var(--sb-w-medium);
}

.sb-scr__trip { background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: 1.3rem; padding: 1.1rem; }
.sb-scr__pill {
  display: inline-block; font-size: .95rem; font-weight: var(--sb-w-bold);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--sb-success); background: rgba(30, 122, 77, .12);
  border-radius: 999px; padding: .25rem .7rem; margin-bottom: .6rem;
}
.sb-scr__trip b { display: block; font-size: 1.35rem; font-weight: var(--sb-w-bold); color: var(--sb-ink); }
.sb-scr__trip p { margin: .25rem 0 0; font-family: var(--sb-font-meta); font-weight: var(--sb-w-quiet); font-size: 1.1rem; color: var(--sb-muted); }
.sb-scr__rows { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.sb-scr__rows span { height: 4.4rem; border-radius: 1.1rem; background: var(--sb-surface-2); }

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.sb-device__tabs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: .8rem .6rem 1.1rem;
  border-top: 1px solid var(--sb-border);
  background: var(--sb-surface);
}
.sb-device__tabs span {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  font-size: .85rem; font-weight: var(--sb-w-medium); color: var(--sb-muted-2);
}
.sb-device__tabs i { font-size: 1.3rem; }
.sb-device__tabs .is-on { color: var(--sb-primary); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .sb-device { width: 26rem; margin-top: 0; }
}
@media (max-width: 991.98px) {
  .sb-showcase .sb-shell { grid-template-columns: 1fr; gap: var(--sb-6); }
  .sb-stage { justify-self: center; align-self: auto; }
  /* Stacked: the device no longer breaches the top edge, so no negative pull. */
  .sb-device { width: 26rem; margin-top: 0; margin-bottom: -8rem; }
  .sb-stage__glow { width: 22rem; height: 22rem; }
}
@media (max-width: 575.98px) {
  .sb-device { width: 22rem; margin-bottom: -6rem; }
  .sb-store__btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-device { transform: none !important; opacity: 1 !important; animation: none !important; }
  .sb-scr { transition: none; }
}

/* ==========================================================================
   21. PRODUCTION LISTING CARD ON THE REDESIGN
   The homepage now renders partials/property_card (the card running on
   production) rather than the editorial .sb-stay card. That partial ships its
   own @once <style>, emits Bootstrap columns, and hardcodes a cool-slate dark
   mode. These rules reconcile it with the page around it — light mode is left
   exactly as production has it, since that is what was chosen.
   ========================================================================== */

/* Bootstrap's .row relies on grid gutters; give it the section rhythm instead
   of Bootstrap's default negative margins fighting .sb-shell padding. */
.sb-cardrow { margin-inline: -8px; }
.sb-cardrow > [class*="col-"] { padding-inline: 8px; }

/* Dark mode only. The card paints #1e293b/#334155 slate, which reads blue
   against this page's warm ground. Remapped to the design tokens; scoped to
   .sb-page so search, similar-property and booking-unavailable keep the
   card's own dark mode untouched. */
body.dark-mode .sb-page .prop-card {
  background: var(--sb-surface) !important;
  border-color: var(--sb-border) !important;
}
body.dark-mode .sb-page .prop-card__name    { color: var(--sb-ink) !important; }
body.dark-mode .sb-page .prop-card__city    { color: var(--sb-muted) !important; }
body.dark-mode .sb-page .prop-card__attrs   { color: var(--sb-muted-2) !important; }
body.dark-mode .sb-page .prop-card__footer  { border-color: var(--sb-border) !important; }
body.dark-mode .sb-page .prop-card__min-stay,
body.dark-mode .sb-page .prop-card__rating-count { color: var(--sb-muted-2) !important; }
body.dark-mode .sb-page .prop-card__rating-num   { color: var(--sb-ink) !important; }

/* ── Card hover: silver-white shine, not the pink glow ────────────────────
   Scoped to .sb-page so search, similar-property and booking-unavailable
   keep the card's own pink glow. */
.sb-page .prop-card:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(226, 232, 240, 0.6),
    0 0 26px 6px rgba(255, 255, 255, 0.55),
    0 14px 34px rgba(20, 16, 14, 0.16);
}

/* A specular streak sweeping across the photograph — z-index 2 keeps it above
   the image but beneath the favourite, host and instant badges at 3. */
.sb-page .prop-card__media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.10) 40%,
    rgba(255, 255, 255, 0.62) 49%,
    rgba(255, 255, 255, 0.10) 58%,
    transparent 70%);
  transform: translateX(-130%);
  transition: transform 850ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sb-page .prop-card:hover .prop-card__media::after { transform: translateX(130%); }

body.dark-mode .sb-page .prop-card:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.14),
    0 0 26px 6px rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .sb-page .prop-card__media::after { transition: none; content: none; }
}

/* ==========================================================================
   22. PARTNERS — "powered by" marquee
   Two identical tracks side by side, the pair translated by exactly half its
   width. At -50% the second track sits precisely where the first began, so the
   loop has no seam. CSS only: no library, no JS, one animated property.
   ========================================================================== */

.sb-partners { padding-block: 18px; }
.sb-partners__label {
  font-family: var(--sb-font-meta);
  font-weight: var(--sb-w-quiet);
  font-size: var(--sb-t-caption);
  letter-spacing: var(--sb-ls-caps);
  text-transform: uppercase;
  color: var(--sb-muted-2);
  text-align: center;
  margin: 0 0 var(--sb-4);
}

.sb-partners__viewport {
  display: flex;
  overflow: hidden;
  /* Feathered edges so logos enter and leave rather than being chopped. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.sb-partners__track {
  display: flex;
  align-items: center;
  gap: var(--sb-6);
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0 calc(var(--sb-9) / 2);
  animation: sb-partners-roll 26s linear infinite;
}
.sb-partners__viewport:hover .sb-partners__track { animation-play-state: paused; }

@keyframes sb-partners-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* The card marks on disk are opaque navy tiles, not transparent logos, so
   greyscaling them just produced muddy rectangles. Seating each one on a white
   chip makes the tile read as a deliberate payment badge instead. */
.sb-partners__item { flex: 0 0 auto; display: flex; align-items: center; }
.sb-partners__item {
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-sm);
  padding: 10px 16px;
  box-shadow: 0 0.2rem 0.6rem rgba(38, 27, 22, 0.06);
  transition: box-shadow 300ms var(--sb-ease), transform 300ms var(--sb-ease);
}
.sb-partners__item:hover {
  box-shadow: 0 0.6rem 1.6rem rgba(38, 27, 22, 0.12);
  transform: translateY(-2px);
}
.sb-partners__item img {
  display: block;
  width: auto;
  /* Height is set per logo inline — these assets have very different aspect
     ratios and upscaling the 51px card marks would blur them. */
  max-width: none;
  opacity: 0.92;
  transition: opacity 300ms var(--sb-ease);
}
.sb-partners__item:hover img { opacity: 1; }

/* Too few logos to fill the viewport would leave a visible gap mid-loop; a
   narrow screen is where that shows, so centre them and stop the roll. */
@media (max-width: 575.98px) {
  .sb-partners__track { gap: var(--sb-6); }
}
@media (prefers-reduced-motion: reduce) {
  .sb-partners__viewport { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .sb-partners__track { animation: none; }
  .sb-partners__track[aria-hidden="true"] { display: none; }
}

/* ── Footer type — Poppins, one step down ─────────────────────────────────
   Scoped token overrides rather than per-rule edits: every footer rule already
   sizes itself from --sb-t-*, so redefining the three tokens here drops the
   whole footer by 2px and switches the family in one place. Poppins 500 is
   requested alongside 400 in the font link — the footer headings and the
   preferences button both use --sb-w-medium, and a missing 500 would render
   as synthetic bold. */
.sb-foot {
  --sb-font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sb-t-small: 1.3rem;  /* was 1.5rem / 15px */
  --sb-t-body:  1.5rem;  /* was 1.7rem / 17px */
  --sb-t-lead:  1.7rem;  /* was 1.9rem / 19px */
  font-family: var(--sb-font-body);
}
