/* ===================================================================
   WBV — HOME v2 · Phase 0 · 2026-05-03 (rev 2)
   Appearance + architecture retrofit on the existing homepage.
   No structural changes. Every rule scoped to body.home-v2.
   Relies on wbv-foundation.css for tokens (already loaded sitewide).

   Phase 0 covers ONLY: tokens, buttons, type, light spacing.
   No section reorders. No new sections. No copy changes.

   Rev 2 (2026-05-03): buttons swapped from pill to .w-cta gradient style
   (matches wbv-detail-v2.css ·w-cta — square with --r-md radius + accent
   gradient). Pierre's call: "all buttons should be like our w-cta."
   =================================================================== */

/* ===================================================================
   PER-INTENT TOKEN SWAP — class-based, since foundation uses [data-intent]
   attribute selector but our body_class filter applies CLASSES.
   This shadows foundation.css's intent rules using class selectors so the
   token swap actually fires when body has intent-rental / intent-sale /
   intent-neutral classes.
   =================================================================== */

/* LT brand — warm terracotta (Bali tones, distinct from rental green) */
:root {
  --lt-deep:  #B5734A;
  --lt-dark:  #8B5836;
  --lt-pale:  #E8D2BD;
  --lt-cream: #F5EAE0;
}

body.intent-rental {
  --bg:#FAFAF6; --paper:#F5F5EE;
  --accent:       var(--rental-deep);
  --accent-dark:  var(--rental-dark);
  --accent-pale:  var(--rental-pale);
  --accent-cream: var(--rental-cream);
  --accent2-pale: var(--rental-pale);
}
body.intent-lt {
  --bg:#FBF8F2; --paper:#FBF6EC;
  --accent:       var(--neutral-deep);
  --accent-dark:  var(--neutral-dark);
  --accent-pale:  var(--neutral-pale);
  --accent-cream: var(--neutral-cream);
  --accent2-pale: var(--neutral-pale);
}
body.intent-sale {
  --bg:#FDFEFF; --paper:#F4F6F8;
  --accent:       var(--sale-deep);
  --accent-dark:  var(--sale-dark);
  --accent-pale:  var(--sale-pale);
  --accent-cream: var(--sale-cream);
  --accent2-pale: var(--sale2-pale);
}
body.intent-neutral {
  --bg:#FBF8F2; --paper:#FBF6EC;
  --accent:       var(--neutral-deep);
  --accent-dark:  var(--neutral-dark);
  --accent-pale:  var(--neutral-pale);
  --accent-cream: var(--neutral-cream);
  --accent2-pale: var(--neutral-pale);
}

/* ===================================================================
   HOMEPAGE PAPER OVERRIDE — 2026-05-11
   Default rental --paper (#F5F5EE) reads faintly greenish because
   R=G with lower B. Override to a warmer cream for the homepage only.
   Specificity 0,3,0 beats body.intent-rental (0,2,0).
   =================================================================== */
body.home-v2.intent-rental {
  --paper: #F7F3EA;
}

/* ===== BASE TYPE / COLOR =================================== */

body.home-v2 {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* ===== HERO H1 ============================================= */

/* Swap from DM Serif Display to Manrope 800 + Fraunces .em accent.
   Hero markup currently has no <em> spans; this rule still upgrades
   the base. Once Phase 1 ships markup with .em, the italic accent
   activates automatically. */
body.home-v2 .wbv-home-hero h1,
body.home-v2 .wbv-home-hero .wp-block-heading {
  font-family: var(--font-sans) !important;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight);
  line-height: 1.04;
  color: #fff;
}
body.home-v2 .wbv-home-hero h1 em,
body.home-v2 .wbv-home-hero h1 .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.06em;
}

/* Hero subtitle paragraph */
body.home-v2 .wbv-home-hero p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: var(--fw-body);
  line-height: 1.55;
}

/* ===== H2 SITEWIDE ON HOME ================================= */

body.home-v2 .wbv-home-featured h2,
body.home-v2 .wbv-container .wp-block-heading {
  font-family: var(--font-sans) !important;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight);
  line-height: 1.06;
  color: var(--ink);
}
body.home-v2 h2 em,
body.home-v2 h2 .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.04em;
}

/* Sub-h2 paragraph (your existing class) */
body.home-v2 .wbv-sub-h2 {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: var(--fw-body);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS — w-cta gradient style sitewide on home ====
   Applies the same gradient pattern as .wbv-det-widget .w-cta:
   - subtle lighter top → base bottom on rest
   - base top → darker bottom on hover
   - --r-md radius (8px) — "square with border radius"
   - 800 weight, uppercase, --ls-loose
   Catches: native Gutenberg buttons, .wbv-button, .wbv-button--outline
   (legacy fallback — main homepage CTAs now use .w-cta direct).
   ============================================================ */

body.home-v2 .wp-block-button .wp-block-button__link,
body.home-v2 .wbv-button .wp-block-button__link,
body.home-v2 .wbv-button--outline .wp-block-button__link {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent), white 12%) 0%, var(--accent) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r-md) !important;
  padding: 14px 26px !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-meta) !important;
  font-weight: var(--fw-heavy) !important;
  letter-spacing: var(--ls-loose) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
  cursor: pointer;
}

body.home-v2 .wp-block-button .wp-block-button__link:hover,
body.home-v2 .wbv-button .wp-block-button__link:hover,
body.home-v2 .wbv-button--outline .wp-block-button__link:hover {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ===== SECTION BACKGROUNDS ================================= */

/* Lift hard-coded bg colors into tokens so future palette swaps
   propagate everywhere. */
body.home-v2 .wbv-home-featured { background: var(--paper); }

/* ===== LIGHT SPACING POLISH ================================ */

/* Bring section vertical rhythm into the token grid */
body.home-v2 .wbv-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

@media (max-width: 700px) {
  body.home-v2 .wbv-container {
    padding-top: var(--sp-12);
    padding-bottom: var(--sp-12);
  }
}


/* ===== HERO CTA CENTERING FIX (mobile) ===================== */

/* The .wp-block-buttons wrapper has `justify-content: center` but
   shrinks to content width — so on mobile, where the parent is
   text-aligned left, the wrapper itself sits at the left edge.
   Force the wrapper to span full width so center actually centers. */
body.home-v2 .wbv-home-hero .wp-block-buttons {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.home-v2 .wbv-home-hero .wp-block-button {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* End wbv-home-v2.css · Phase 0 · rev 2 · ~150 lines */

/* ===================================================================
   HERO V2 (Phase 1) — scoped to body.home-hero-v2 (?v2=1 preview)
   Centered layout, tabs pill above, translucent search bar, picker.
   =================================================================== */

/* Hide original hero block when v2 hero is active */
body.home-hero-v2 .wbv-home-hero { display: none !important; }

/* ===== Hero shell ========================================== */

body.home-hero-v2 .wbv-hero-v2 {
  /* Modern viewport sizing for video heroes (2024-2025 best practice):
     - dvh: dynamic viewport height — adjusts as mobile browser chrome
       appears/disappears, no layout jumps (vs vh's iOS jumping bug)
     - min(100svh, 1000px): hero fills viewport up to 1000px, then caps
     - Cap is critical: above ~1000px, content/video proportion looks off,
       capping locks the design relationship regardless of monitor size,
       browser zoom-out, or ultra-wide setups
     - Short-viewport block at end of file caps to viewport for Nest Hub
       class (1024x600) where 1000px would overflow */
  min-height: min(100svh, 1000px);
  /* position:relative — confines the absolute bg/video to the hero box
     (without this they bind to the viewport and bleed into the next
     section + cover the header). */
  position: relative;
  /* Pull hero up under the sticky header so it anchors at page top.
     Header (z-index:1001) overlays cleanly. Same pattern as old
     .wbv-home-hero. The -1px hides the header's hairline border. */
  margin-top: calc(-1 * var(--wbv-header-height) - 1px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* overflow: visible so the date-picker popover can escape the hero box.
     The video bg is position:absolute + object-fit:cover so it stays put
     even without the clip. */
  overflow: visible;
}
/* Belt + braces: clip the bg only, not the rest of the hero */
body.home-hero-v2 .wbv-hero-v2__bg { overflow: hidden; }
body.home-hero-v2 .wbv-hero-v2__bg {
  position: absolute; inset: 0; z-index: 0;
  background: #1a2826;
}
body.home-hero-v2 .wbv-hero-v2__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
body.home-hero-v2 .wbv-hero-v2__bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.62) 100%);
}

body.home-hero-v2 .wbv-hero-v2__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6) var(--sp-12);
  color: #fff;
  text-align: center;
}

body.home-hero-v2 .wbv-hero-v2__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-5);
}

body.home-hero-v2 .wbv-hero-v2__h1 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.04;
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight);
  color: #fff;
  margin-block-start: 0;
  margin-block-end: var(--sp-4);
  margin-inline: auto;
  max-width: 880px;
  /* Reserve space for the longest 2-line headline. Bumped to 2.2em to
     cover sub-pixel rendering + safety margin (was calc(2 * 1.04em)
     which rendered 124.8px but the rental tab's actual content needed
     ~133px). */
  min-height: 2.2em;
}
@media (max-width: 700px) {
  /* Allow 3 lines on mobile where text wraps tighter */
  body.home-hero-v2 .wbv-hero-v2__h1 { min-height: calc(3 * 1.05em); }
}
body.home-hero-v2 .wbv-hero-v2__h1 .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.06em;
}


body.home-hero-v2 .wbv-hero-v2__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  margin: 0 auto var(--sp-8);
  max-width: 560px;
  /* Reserve 2 lines so the bar doesn't shift when sub copy wraps */
  min-height: calc(2 * 1.55em);
}

/* ===== Tabs pill (centered above bar) ===================== */

body.home-hero-v2 .wbv-sb-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--r-pill);
  padding: 4px;
  margin: 0 auto var(--sp-5);
  backdrop-filter: blur(10px);
}
body.home-hero-v2 .wbv-sb-tab {
  padding: 10px 18px;
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: var(--ls-loose);
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
body.home-hero-v2 .wbv-sb-tab:hover { color: #fff; }
body.home-hero-v2 .wbv-sb-tab.is-active {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* ===== Search bar — floating button cards (Betterplace pattern) ====
   Each field is its own white card with subtle shadow + 8px radius.
   No outer wrapper. Cards laid out in a flex row, gap 4px.
   ============================================================ */

body.home-hero-v2 .wbv-sb {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  padding: 4px;
  border-radius: 999px;       /* Pill bar */
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  text-align: left;
  /* Fluid width — never less than 700px, never more than 920px,
     scales with viewport in between. Replaces width:920px;max-width:100%
     which created a visual jump at 920px viewport. */
  width: clamp(700px, calc(100vw - 64px), 920px);
}

/* All bodies stack — inactive ones float above (absolute) at opacity 0
   so they don't take layout space but transitions still work cleanly. */
body.home-hero-v2 .wbv-sb__body {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  flex-wrap: nowrap;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 4px; left: 4px;
  transition: opacity 150ms ease;
}
body.home-hero-v2 .wbv-sb__body.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  top: auto; left: auto;
  width: 100%;
}

body.home-hero-v2 .wbv-sb__form {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-wrap: nowrap;
  width: 100%;
}

body.home-hero-v2 .wbv-sb__field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  /* === SIZING — Pierre, tweak these to grow/shrink the bar === */
  padding: 0 22px;
  min-height: 50px;
  /* ============================================================ */
  flex: 1 1 0;            /* Equal share of remaining bar width */
  min-width: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--r-md);
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--t-fast) ease, background var(--t-fast) ease;
  text-align: left;
  position: relative;
}
body.home-hero-v2 .wbv-sb__field svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--ink-soft);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.home-hero-v2 .wbv-sb__field:hover {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14), 0 1px 3px rgba(0, 0, 0, 0.08);
}
body.home-hero-v2 .wbv-sb__field.is-active {
  background: #fff;
  border-color: var(--accent-pale);
}
/* Single-line text: input or display value, matches daily-archive style. */
body.home-hero-v2 .wbv-sb__input,
body.home-hero-v2 .wbv-sb__value,
body.home-hero-v2 .wbv-sb__label {
  font-size: var(--fs-meta);
  font-weight: var(--fw-body);
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  outline: none;
  width: 100%;
  line-height: 1.3;
  letter-spacing: var(--ls-normal);
  text-transform: none;
}
body.home-hero-v2 .wbv-sb__input::placeholder,
body.home-hero-v2 .wbv-sb__value.is-placeholder,
body.home-hero-v2 .wbv-sb__label.is-placeholder {
  color: var(--muted);
  opacity: 1;
  font-weight: var(--fw-body);
}


/* Submit — w-cta gradient, same height as field cards */
body.home-hero-v2 .wbv-sb__submit {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent), white 12%) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  /* === SIZING — Pierre, must match .wbv-sb__field min-height === */
  padding: 0 28px;
  min-width: 130px;
  min-height: 50px;         /* keep in sync with field */
  /* ============================================================ */
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-loose);
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
}
body.home-hero-v2 .wbv-sb__submit:hover {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: translateY(-1px);
}
body.home-hero-v2 .wbv-sb__submit svg { width: 18px; height: 18px; }


/* Edge fields get pill rounding on the OUTER side so they hug the
   bar's pill border. Middle fields stay square 8px. */
/* Edge fields keep uniform 8px corners (same as middle fields).
   The bar's outer pill (999px on .wbv-sb) provides the rounded
   enclosure visually — mixing 999px + 8px on one element makes
   the small corner look squashed against the giant one. */
body.home-hero-v2 .wbv-sb__form > .wbv-sb__field:first-child {
  border-radius: 26px var(--r-md) var(--r-md) 26px;  /* outer 26px hugs bar pill, inner 8px stays clean */
  padding-left: 28px;
}
body.home-hero-v2 .wbv-sb__form > .wbv-sb__submit:last-child {
  border-radius: var(--r-md) 26px 26px var(--r-md);  /* mirrored */
  padding-right: 28px;
}
/* Owner card spans full width and pill-rounded both sides */
body.home-hero-v2 .wbv-sb__owner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  text-align: left;
  width: 100%;
  flex: 1 1 auto;
  /* Match the field row height (50px) so the bar doesn't grow on owner tab */
  padding: 0 8px 0 28px;
  min-height: 50px;
}
body.home-hero-v2 .wbv-sb__owner-text {
  font-size: var(--fs-body);
  color: var(--ink);
  font-weight: var(--fw-body);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}
body.home-hero-v2 .wbv-sb__owner .wbv-sb__submit {
  border-radius: 999px;
  padding: 0 24px;
  min-height: 42px;
  align-self: center;
}

/* ===== Location popover (typeable dropdown) =============== */

body.home-hero-v2 .wbv-sb__field--loc { position: relative; }

body.home-hero-v2 .wbv-sb__field--loc input.wbv-sb__loc-search {
  cursor: pointer;
}

body.home-hero-v2 .wbv-sb__pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16), 0 16px 40px rgba(0,0,0,0.10);
  padding: 6px;
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
  display: block;
  opacity: 1;
  /* Subtle open animation only — close is instant via display:none. */
  animation: wbvPopIn 200ms var(--ease);
}
body.home-hero-v2 .wbv-sb__pop[hidden] {
  display: none;
}
@keyframes wbvPopIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.home-hero-v2 .wbv-sb__pop-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  font-weight: var(--fw-body);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-fast) ease;
}
body.home-hero-v2 .wbv-sb__pop-item:hover {
  background: var(--accent-cream);
}
body.home-hero-v2 .wbv-sb__pop-item:first-child {
  color: var(--muted);
  font-weight: var(--fw-body);
}

/* ===== Date picker popover ================================ */

body.home-hero-v2 .wbv-sb-picker {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 24px 60px rgba(0,0,0,0.16);
  padding: var(--sp-4);
  display: none;
  min-width: 600px;
}
body.home-hero-v2 .wbv-sb-picker.is-open { display: block; }
@media (max-width: 700px) {
  body.home-hero-v2 .wbv-sb-picker {
    min-width: 320px;
    left: 0;
    right: 0;
    transform: none;
    margin: 0 var(--sp-3);
  }
}


/* ===== Select + stepper fields — chevron + selected state ====== */

body.home-hero-v2 .wbv-sb__field--select,
body.home-hero-v2 .wbv-sb__field--stepper {
  position: relative;
}
body.home-hero-v2 .wbv-sb__field--select::after,
body.home-hero-v2 .wbv-sb__field--stepper::after {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238A7E6F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}
body.home-hero-v2 .wbv-sb__pop-item.is-selected {
  background: var(--accent-cream);
  font-weight: var(--fw-body);
  position: relative;
  padding-right: 32px;
}
body.home-hero-v2 .wbv-sb__pop-item.is-selected::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: translateY(-75%) rotate(-45deg);
}

/* ===== Stepper popover ========================================== */

body.home-hero-v2 .wbv-sb__pop--stepper {
  min-width: 240px;
  padding: var(--sp-3);
}
body.home-hero-v2 .wbv-sb__step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) var(--sp-2);
}
body.home-hero-v2 .wbv-sb__step-label {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  color: var(--ink);
  letter-spacing: var(--ls-normal);
}
body.home-hero-v2 .wbv-sb__step-sub {
  font-size: var(--fs-caption);
  color: var(--muted);
  font-weight: var(--fw-body);
  margin-top: 2px;
}
body.home-hero-v2 .wbv-sb__step-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
body.home-hero-v2 .wbv-sb__step-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: var(--fw-body);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}
body.home-hero-v2 .wbv-sb__step-btn:hover {
  background: var(--accent-cream);
  border-color: var(--accent);
  color: var(--accent-dark);
}
body.home-hero-v2 .wbv-sb__step-count {
  min-width: 24px;
  text-align: center;
  font-size: var(--fs-meta);
  font-weight: var(--fw-body);
  color: var(--ink);
}

/* Override picker day-item colors for our white popover.
   The picker's stylesheet (wbv-villas-detail.css) sets day-items to #fff
   which is invisible on our white bg. Use --ink for default; keep white
   for selected dates (which sit on var(--accent) background). */
body.home-hero-v2 .wbv-sb-picker .day-item,
body.home-hero-v2 .wbv-sb-picker .container__day {
  color: var(--ink);
}
body.home-hero-v2 .wbv-sb-picker .day-item.is-locked,
body.home-hero-v2 .wbv-sb-picker .day-item.is-empty {
  color: var(--muted);
}
body.home-hero-v2 .wbv-sb-picker .day-item.is-start-date,
body.home-hero-v2 .wbv-sb-picker .day-item.is-end-date {
  color: #fff;
  background: var(--accent2-pale);
}
body.home-hero-v2 .wbv-sb-picker .day-item.is-in-range {
  background: var(--accent-pale);
  color: var(--ink);
}
body.home-hero-v2 .wbv-sb-picker .day-item.wbv-prev-fill {
  background: var(--accent-cream);
  color: var(--ink);
}
body.home-hero-v2 .wbv-sb-picker .day-item.wbv-prev-edge {
  background: var(--accent-pale);
  color: var(--ink);
}

/* Picker nav arrows + footer buttons — match white popover bg */
body.home-hero-v2 .wbv-sb-picker .button-previous-month,
body.home-hero-v2 .wbv-sb-picker .button-next-month {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
body.home-hero-v2 .wbv-sb-picker .button-previous-month:hover,
body.home-hero-v2 .wbv-sb-picker .button-next-month:hover {
  background: var(--accent-cream);
  border-color: var(--accent);
  color: var(--accent-dark);
}

body.home-hero-v2 .wbv-sb-picker .wbv-picker-clear {
  color: var(--ink-soft);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  cursor: pointer;
}
body.home-hero-v2 .wbv-sb-picker .wbv-picker-clear:hover { color: var(--ink); }

body.home-hero-v2 .wbv-sb-picker .wbv-picker-close {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent), white 12%) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-loose);
  text-transform: uppercase;
  cursor: pointer;
}
body.home-hero-v2 .wbv-sb-picker .wbv-picker-close:hover {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

body.home-hero-v2 .wbv-sb-picker .wbv-picker-close-x {
  color: var(--ink-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  width: 28px; height: 28px;
}
body.home-hero-v2 .wbv-sb-picker .wbv-picker-close-x:hover { color: var(--ink); }

/* Day-item hover — only on enabled days */
body.home-hero-v2 .wbv-sb-picker .day-item:not(.is-empty):not(.is-locked):not(.is-start-date):not(.is-end-date):hover {
  background: var(--accent-cream);
  color: var(--accent-dark);
  cursor: pointer;
}

/* Month headings (visible in picker) */
body.home-hero-v2 .wbv-sb-picker .month-item-name,
body.home-hero-v2 .wbv-sb-picker .month-item-year,
body.home-hero-v2 .wbv-sb-picker .container__days .day-item {
  color: var(--ink);
}
body.home-hero-v2 .wbv-sb-picker .day-name {
  color: var(--muted);
  font-weight: var(--fw-bold);
}

/* Wrap the search bar so picker can position absolute relative to it */
body.home-hero-v2 .wbv-sb-wrap {
  position: relative;
  display: inline-block;
}

/* ===== Mobile ============================================ */


/* ============================================================
   MOBILE TRIGGER + BOTTOM SHEET (≤900px)
   On desktop these are all hidden via display:none.
   ============================================================ */

body.home-hero-v2 .wbv-sb-trigger {
  display: none;
}

@media (max-width: 900px) {
  body.home-hero-v2 .wbv-hero-v2 {
    /* Mobile: same modern pattern, lower cap since phones don't need 1000px */
    min-height: min(100svh, 700px);
    margin-bottom: var(--sp-12);
  }
  body.home-hero-v2 .wbv-hero-v2__inner {
    padding: var(--sp-16) var(--sp-5) var(--sp-8);  /* sp-16 top shifts content lower in hero on mobile */
  }

  /* ----- Mobile: tabs visible, search bar hidden until trigger clicked ----- */
  body.home-hero-v2 .wbv-sb-wrap {
    display: none;
  }

  /* Big pill trigger — full width, centered, intent-themed */
  body.home-hero-v2 .wbv-sb-trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.70);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12), 0 12px 36px rgba(0,0,0,0.10);
    backdrop-filter: blur(10px);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: var(--fw-medium);
    color: var(--ink);
    text-align: left;
  }
  body.home-hero-v2 .wbv-sb-trigger__icon,
  body.home-hero-v2 .wbv-sb-trigger__arrow {
    width: 20px; height: 20px;
    color: var(--accent-dark);
    flex-shrink: 0;
  }
  body.home-hero-v2 .wbv-sb-trigger__text {
    flex: 1 1 auto;
  }
  body.home-hero-v2 .wbv-sb-trigger__arrow {
    margin-left: auto;
  }

  /* Mobile tab pill — scrollable, smaller font */
  body.home-hero-v2 .wbv-sb-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    justify-content: flex-start;
    padding: 4px;
  }
  body.home-hero-v2 .wbv-sb-tab {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 12px;
  }

}

@media (max-width: 480px) {
  body.home-hero-v2 .wbv-hero-v2__inner {
    padding: var(--sp-8) var(--sp-2) var(--sp-8);
  }
  body.home-hero-v2 .wbv-hero-v2__sub {
    max-width: 32ch;
  }
  body.home-hero-v2 .wbv-sb-tabs {
    padding: 3px;
  }
  body.home-hero-v2 .wbv-sb-tab {
    padding: 8px 10px;
    font-size: 11px;
  }
  body.home-hero-v2 .wbv-sb-trigger {
    padding: 16px 20px;
    font-size: 15px;
  }
}

/* End hero v2 (Phase 1) */


/* ===================================================================
   PHASE 2 — FEATURED VILLAS CAROUSEL (.wbv-feat-v2)
   Replaces .wbv-home-featured block content entirely — no empty parent.
   Bestay-style: heart top-right, price pill bottom-left on image,
   info below image (no card chrome).
   =================================================================== */

/* Neutralise the parent group's chrome on home so the wrapper doesn't
   take padding/bg/spacing. Our section provides its own. */
body.home-v2 .wbv-home-featured {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wbv-feat-v2 {
  /* Full-width section — bg shows edge to edge */
  width: 100%;
  background: var(--card);
  padding: var(--sp-16) 0;
  /* Card width tokens (used by JS too — see snippet 121) */
  --wbv-feat-w-inactive: 290px;
  --wbv-feat-w-active: 580px;
  --wbv-feat-h: 360px;
}
.wbv-feat-v2__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  position: relative;   /* anchor for ::after right-edge fade gradient */
}

.wbv-feat-v2__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}
.wbv-feat-v2__head-text { flex: 1 1 auto; max-width: 720px; }

.wbv-feat-v2__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--muted);
  margin-bottom: var(--sp-3);
}
.wbv-feat-v2__h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight);
  line-height: 1.06;
  color: var(--ink);
  margin: 0;
}
.wbv-feat-v2__h2 .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.04em;
}

.wbv-feat-v2__nav {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}
.wbv-feat-v2__nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.wbv-feat-v2__nav-btn:hover {
  background: var(--card);
  border-color: var(--ink);
  color: var(--ink);
}
.wbv-feat-v2__nav-btn svg { width: 18px; height: 18px; stroke-width: 1.8; transition: stroke-width 0.2s var(--ease), color 0.2s var(--ease); }
.wbv-feat-v2__nav-btn:hover svg { stroke-width: 2.2; }

/* Disabled state at edges (first/last card) */
.wbv-feat-v2__nav-btn[disabled],
.wbv-feat-v2__nav-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ----- Carousel rail ----- */
.wbv-feat-v2__rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-4);
  scrollbar-width: none;
}
.wbv-feat-v2__rail::-webkit-scrollbar { display: none; }

/* ----- Card ----- */
.wbv-feat-v2__card {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: var(--wbv-feat-w-inactive, 290px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  /* No flex-basis transition — width snaps instantly on .is-active toggle.
     The scroll motion (JS rAF) does the visual work; instant resize is masked
     by the eye tracking the scroll. */
}
.wbv-feat-v2__card.is-active {
  flex-basis: var(--wbv-feat-w-active, 580px);
}

/* ----- Card image (top-rounded only) ----- */
.wbv-feat-v2__media {
  position: relative;
  height: var(--wbv-feat-h, 360px);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8c8b4, #b8a08a);
  margin-bottom: var(--sp-4);
}
.wbv-feat-v2__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.wbv-feat-v2__card:hover .wbv-feat-v2__img { transform: scale(1.04); }

/* ----- Active card (leftmost-flush; wider via flex-basis above) ----- */
.wbv-feat-v2__card.is-active .wbv-feat-v2__name { font-weight: 600; }

/* Inactive cards: text muted + image slightly desaturated */
.wbv-feat-v2__loc,
.wbv-feat-v2__name,
.wbv-feat-v2__beds {
  transition: opacity 0.4s var(--ease);
}
.wbv-feat-v2__media {
  transition: filter 0.4s var(--ease);
}
.wbv-feat-v2__card:not(.is-active) .wbv-feat-v2__loc,
.wbv-feat-v2__card:not(.is-active) .wbv-feat-v2__name,
.wbv-feat-v2__card:not(.is-active) .wbv-feat-v2__beds {
  opacity: 0.55;
}
.wbv-feat-v2__card:not(.is-active) .wbv-feat-v2__media {
  filter: saturate(0.55) brightness(0.96);
}

/* Right-edge fade so the peek-card softly trails off.
   (.wbv-feat-v2__inner already has position: relative from its main rule.) */
.wbv-feat-v2__inner::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0;
  width: 64px;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--card));
  pointer-events: none;
  z-index: 2;
}

/* Reduced motion: pill always visible (no entrance animation) */
@media (prefers-reduced-motion: reduce) {
  .wbv-feat-v2__price-pill { transition: none; opacity: 1; transform: none; }
}


/* Price pill (bottom left) */
.wbv-feat-v2__price-pill {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: var(--fw-body);
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.wbv-feat-v2__card.is-active .wbv-feat-v2__price-pill {
  opacity: 1;
  transform: translateY(0);
}
.wbv-feat-v2__price-pill strong {
  font-weight: var(--fw-body);
}

/* ----- Card info (below image) ----- */
.wbv-feat-v2__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
  font-weight: var(--fw-bold);
}
.wbv-feat-v2__loc svg {
  width: 14px; height: 14px;
  stroke: var(--muted);
  fill: none;
}

.wbv-feat-v2__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: var(--fw-body);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

.wbv-feat-v2__beds {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-caption);
  color: var(--ink-soft);
  font-weight: var(--fw-body);
}
.wbv-feat-v2__beds svg {
  width: 18px; height: 18px;
  stroke: var(--ink-soft);
  fill: none;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .wbv-feat-v2 {
    --wbv-feat-w-inactive: 260px;   /* tablet */
    --wbv-feat-w-active: 520px;
    --wbv-feat-h: 300px;
  }
}
@media (max-width: 900px) {
  .wbv-feat-v2 { padding: var(--sp-12) 0; }
  .wbv-feat-v2__inner { padding: 0 var(--sp-5); }
  .wbv-feat-v2__head { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .wbv-feat-v2__nav { align-self: flex-end; }
  .wbv-feat-v2__h2 { font-size: 28px; }
}
@media (max-width: 600px) {
  .wbv-feat-v2 {
    --wbv-feat-w-inactive: 80vw;    /* phone: equal widths */
    --wbv-feat-w-active: 80vw;
    --wbv-feat-h: 240px;
  }
  .wbv-feat-v2__inner::after { width: 32px; }                    /* shorter fade */
}

/* End Phase 2 featured */


/* ===================================================================
   PHASE 3 — LOCATIONS GRID (.wbv-loc-v2)
   Variant F (Pierre's sketch): 4×2 grid, Ubud is the tall right anchor.
   Row 1 (280px): Canggu wide (cols 1-2) · Seminyak square (col 3) · Ubud (col 4, spans both rows)
   Row 2 (240px): Pererenan square (col 1) · Uluwatu wide (cols 2-3) · Ubud continues
   Mobile (<=900px): 2 cols, Ubud becomes a wide middle anchor across cols 1-2.
   All wrap containers margin: 0 auto (centred).
   =================================================================== */

.wbv-loc-v2 {
  width: 100%;
  background: var(--paper);
  padding: var(--sp-12) 0;
  position: relative;
}
.wbv-loc-v2__inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--sp-6);
}

/* ----- Head block ----- */
.wbv-loc-v2__head {
  text-align: center;
  margin: 0 auto var(--sp-6);
  padding: 0 var(--sp-4);
  max-width: 720px;
}
.wbv-loc-v2__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--muted);
}
.wbv-loc-v2__h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight);
  line-height: 1.06;
  color: var(--ink);
  margin: var(--sp-3) auto 0;
}
.wbv-loc-v2__h2 .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.04em;
}
.wbv-loc-v2__sub {
  margin: var(--sp-3) auto 0;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

/* ----- Grid: Variant F · 4 cols × 2 rows · Ubud right-anchor tall ----- */
.wbv-loc-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 240px;
  gap: 16px;
  margin: 0 auto;
}

/* Per-card placements (slug-driven) */
.wbv-loc-v2__card--canggu     { grid-column: 1 / 3; grid-row: 1 / 2; }   /* wide */
.wbv-loc-v2__card--seminyak   { grid-column: 3 / 4; grid-row: 1 / 2; }   /* square */
.wbv-loc-v2__card--ubud       { grid-column: 4 / 5; grid-row: 1 / 3; }   /* tall right anchor */
.wbv-loc-v2__card--pererenan  { grid-column: 1 / 2; grid-row: 2 / 3; }   /* square */
.wbv-loc-v2__card--uluwatu    { grid-column: 2 / 4; grid-row: 2 / 3; }   /* wide */

/* ----- Card chrome ----- */
.wbv-loc-v2__card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #d8c8b4, #b8a08a);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  min-height: 100%;
}
.wbv-loc-v2__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.wbv-loc-v2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.wbv-loc-v2__card:hover .wbv-loc-v2__img {
  transform: scale(1.04);
}
.wbv-loc-v2__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}

/* ----- Card text ----- */
.wbv-loc-v2__txt {
  position: absolute;
  left: 24px;
  bottom: 22px;
  right: 24px;
  z-index: 2;
  color: #fff;
}
.wbv-loc-v2__name {
  font-family: var(--font-sans);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
  margin: 0;
  color: #fff;
}
.wbv-loc-v2__vibe {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0.95;
  margin: 4px 0 0;
  color: #fff;
}
.wbv-loc-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
  color: #fff;
}
.wbv-loc-v2__cta svg {
  width: 11px;
  height: 11px;
  transition: transform 0.3s var(--ease);
}
.wbv-loc-v2__card:hover .wbv-loc-v2__cta svg {
  transform: translateX(3px);
}

/* Per-slug type sizes (Variant F) */
.wbv-loc-v2__card--canggu .wbv-loc-v2__name,
.wbv-loc-v2__card--uluwatu .wbv-loc-v2__name { font-size: 32px; }
.wbv-loc-v2__card--ubud .wbv-loc-v2__name    { font-size: 36px; }
.wbv-loc-v2__card--seminyak .wbv-loc-v2__name,
.wbv-loc-v2__card--pererenan .wbv-loc-v2__name { font-size: 22px; }

.wbv-loc-v2__card--canggu .wbv-loc-v2__vibe,
.wbv-loc-v2__card--uluwatu .wbv-loc-v2__vibe { font-size: 16px; }
.wbv-loc-v2__card--ubud .wbv-loc-v2__vibe    { font-size: 18px; }
.wbv-loc-v2__card--seminyak .wbv-loc-v2__vibe,
.wbv-loc-v2__card--pererenan .wbv-loc-v2__vibe { font-size: 14px; }

/* ----- Tablet (compress vertical, keep F layout) ----- */
@media (max-width: 1100px) {
  .wbv-loc-v2__grid {
    grid-template-rows: 240px 200px;
  }
  .wbv-loc-v2__card--canggu .wbv-loc-v2__name,
  .wbv-loc-v2__card--uluwatu .wbv-loc-v2__name { font-size: 28px; }
  .wbv-loc-v2__card--ubud .wbv-loc-v2__name    { font-size: 32px; }
}

/* ----- Mobile: 2 cols · Ubud wide middle anchor ----- */
@media (max-width: 900px) {
  .wbv-loc-v2 {
    padding: var(--sp-12) 0;
  }
  .wbv-loc-v2__inner {
    padding: 0 var(--sp-5);
  }
  .wbv-loc-v2__h2 {
    font-size: 30px;
  }
  .wbv-loc-v2__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 220px 200px;
    gap: 12px;
  }
  .wbv-loc-v2__card--canggu     { grid-column: 1 / 2; grid-row: 1 / 2; }
  .wbv-loc-v2__card--seminyak   { grid-column: 2 / 3; grid-row: 1 / 2; }
  .wbv-loc-v2__card--ubud       { grid-column: 1 / 3; grid-row: 2 / 3; }   /* wide middle anchor */
  .wbv-loc-v2__card--pererenan  { grid-column: 1 / 2; grid-row: 3 / 4; }
  .wbv-loc-v2__card--uluwatu    { grid-column: 2 / 3; grid-row: 3 / 4; }

  .wbv-loc-v2__card--ubud .wbv-loc-v2__name { font-size: 30px; }
  .wbv-loc-v2__card--ubud .wbv-loc-v2__vibe { font-size: 15px; }
  .wbv-loc-v2__card--canggu .wbv-loc-v2__name,
  .wbv-loc-v2__card--uluwatu .wbv-loc-v2__name,
  .wbv-loc-v2__card--seminyak .wbv-loc-v2__name,
  .wbv-loc-v2__card--pererenan .wbv-loc-v2__name { font-size: 19px; }
  .wbv-loc-v2__card--canggu .wbv-loc-v2__vibe,
  .wbv-loc-v2__card--uluwatu .wbv-loc-v2__vibe,
  .wbv-loc-v2__card--seminyak .wbv-loc-v2__vibe,
  .wbv-loc-v2__card--pererenan .wbv-loc-v2__vibe { font-size: 12.5px; }
  .wbv-loc-v2__txt { left: 18px; right: 18px; bottom: 18px; }
}

/* ----- Very narrow phones: stack everything single column ----- */
@media (max-width: 540px) {
  .wbv-loc-v2__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
    gap: 10px;
  }
  .wbv-loc-v2__card--canggu     { grid-column: 1 / 2; grid-row: 1 / 2; }
  .wbv-loc-v2__card--ubud       { grid-column: 1 / 2; grid-row: 2 / 3; }
  .wbv-loc-v2__card--seminyak   { grid-column: 1 / 2; grid-row: 3 / 4; }
  .wbv-loc-v2__card--pererenan  { grid-column: 1 / 2; grid-row: 4 / 5; }
  .wbv-loc-v2__card--uluwatu    { grid-column: 1 / 2; grid-row: 5 / 6; }
}

/* End Phase 3 locations */


/* ===================================================================
   PHASE 4 — PHILOSOPHY (.wbv-ph-v2) · LOCKED 2026-05-10 mockup
   Image-left (48%, dominant, in front) + card-right (50%, behind,
   vertically centered). Cream bg. Three hairline-divided principles.
   Mobile (<=900px): stacks; card overlaps image by -56px.
   Adapted from mockup classes .ph__* → .wbv-ph-v2__*.
   Last updated: 2026-05-11
   =================================================================== */
.wbv-ph-v2 { padding: var(--sp-16) 0; background: var(--bg); }
.wbv-ph-v2__inner {
  position: relative;
  max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6);
  min-height: 620px;
}
.wbv-ph-v2__media {
  position: absolute;
  left: var(--sp-6); top: 0; bottom: 0;
  width: calc(48% - var(--sp-6));
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #d8c8b4, #b8a08a);
  z-index: 2;
  box-shadow: 0 16px 40px rgba(31,22,18,0.12);
}
.wbv-ph-v2__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.wbv-ph-v2__panel {
  position: absolute;
  right: var(--sp-6); top: 50%;
  transform: translateY(-50%);
  width: 50%;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-top-right-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-12);
  z-index: 1;
}
.wbv-ph-v2__eyebrow {
  display: block;
  font-size: 11px; letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold); color: var(--muted);
}
.wbv-ph-v2__h2 {
  font-family: var(--font-sans); font-size: 28px;
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; margin: var(--sp-2) 0 var(--sp-4);
  color: var(--ink);
}
.wbv-ph-v2__h2 .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0; font-size: 1.04em;
}
.wbv-ph-v2__sub {
  margin: 0 0 var(--sp-6);
  color: var(--ink-soft); font-size: 14.5px; line-height: 1.65;
  font-weight: 400;
}
.wbv-ph-v2__principles { display: flex; flex-direction: column; }
.wbv-ph-v2__principle {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--hairline);
}
.wbv-ph-v2__principle:first-child { padding-top: var(--sp-3); }
.wbv-ph-v2__principle:last-child { padding-bottom: 0; }
.wbv-ph-v2__principle-title {
  font-family: var(--font-sans); font-size: 14.5px;
  font-weight: 700; letter-spacing: -0.012em;
  color: var(--ink-soft); margin: 0 0 4px; line-height: 1.3;
}
.wbv-ph-v2__principle-body {
  font-size: 13.5px; line-height: 1.55;
  color: var(--muted); font-weight: 400; margin: 0;
}

/* Philosophy mobile — stack, card overlaps image by -56px */
@media (max-width: 900px) {
  .wbv-ph-v2__inner {
    min-height: 0;
    display: flex; flex-direction: column;
    gap: var(--sp-6);
    padding: 0;
  }
  .wbv-ph-v2__media {
    position: relative; left: 0; top: 0; bottom: auto;
    width: auto; aspect-ratio: 4/3;
    margin: 0 var(--sp-6);
  }
  .wbv-ph-v2__panel {
    position: relative; right: 0; top: 0;
    transform: none;
    width: auto;
    margin: -56px var(--sp-6) 0;
    padding: var(--sp-8) var(--sp-6);
    border-radius: var(--r-lg);
    z-index: 2;   /* sit ABOVE the image at the -56px overlap */
  }
  .wbv-ph-v2__h2  { font-size: 24px; }
  .wbv-ph-v2__sub { font-size: 14px; }
}

/* End Phase 4 philosophy */


/* ---- Phase 4 Philosophy · box-sizing fix (2026-05-11) ----
   WP theme defaults `.wp-block-group` children to content-box. With the
   panel having width:50% + padding 32px/32px/32px/48px + 1px border, the
   total box is ~80px wider than 50%, pulling its left edge under the
   image (z-index:2) and hiding the first ~36px of text. Forcing
   border-box on this section's tree fixes that without touching globals.  */
.wbv-ph-v2,
.wbv-ph-v2 *,
.wbv-ph-v2 *::before,
.wbv-ph-v2 *::after { box-sizing: border-box; }


/* ===================================================================
   PHASE 4 — THREE ROUTES (.wbv-rt-v2) · v3.3 EDITORIAL PATHWAYS
   Horizontal rows · no cards · massive whitespace. LEFT title · CENTER
   serif-italic explanation · RIGHT tiny uppercase CTA. Subtle
   atmospheric photo strip on desktop right side (33%, sepia-tinted,
   masked left-fade). Mobile: stacks, atmos hidden.
   Adapted from mockup classes .rt__* → .wbv-rt-v2__*.
   Last updated: 2026-05-11
   =================================================================== */
.wbv-rt-v2,
.wbv-rt-v2 *,
.wbv-rt-v2 *::before,
.wbv-rt-v2 *::after { box-sizing: border-box; }

.wbv-rt-v2 {
  padding: 140px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.wbv-rt-v2__atmos {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 33%;
  background:
    url('https://wonderfulbalivillas.com/wp-content/uploads/2026/05/bali-villa-doorway-poolside-portrait.webp')
    right center / cover no-repeat;
  opacity: 0.22;
  filter: saturate(0.6) sepia(0.08);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%);
}
.wbv-rt-v2__inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 0 var(--sp-6);
}
.wbv-rt-v2__head {
  text-align: center;
  margin: 0 auto var(--sp-16);
  max-width: 640px;
}
.wbv-rt-v2__eyebrow {
  display: block;
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold); color: var(--muted);
}
.wbv-rt-v2__h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; margin: var(--sp-4) 0 0; color: var(--ink);
}
.wbv-rt-v2__h2 .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0; font-size: 1.04em;
}

.wbv-rt-v2__rows { display: flex; flex-direction: column; }
.wbv-rt-v2__row {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}
.wbv-rt-v2__row:last-child { border-bottom: 1px solid var(--hairline); }
.wbv-rt-v2__row:hover { padding-left: var(--sp-4); }
.wbv-rt-v2__row-meta {
  display: block;
  font-size: 11px; letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold);
  color: var(--muted);
  margin-bottom: var(--sp-3);
}
.wbv-rt-v2__row-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.wbv-rt-v2__row-title .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0; font-size: 1.06em;
}
.wbv-rt-v2__row-body {
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px; line-height: 1.55;
  color: var(--ink-soft); font-weight: 400;
  max-width: 40ch;
  margin: 0;
}
.wbv-rt-v2__row-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 12.5px; letter-spacing: var(--ls-loose);
  text-transform: uppercase; font-weight: var(--fw-bold);
  color: var(--accent-dark);
  white-space: nowrap;
}
.wbv-rt-v2__row-cta svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.wbv-rt-v2__row:hover .wbv-rt-v2__row-cta svg { transform: translateX(6px); }

/* Pathways mobile — stack, hide atmosphere strip */
@media (max-width: 900px) {
  .wbv-rt-v2 { padding: 80px 0; }
  .wbv-rt-v2__atmos { display: none; }
  .wbv-rt-v2__row {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    padding: var(--sp-8) 0;
  }
  .wbv-rt-v2__row:hover { padding-left: 0; }
  .wbv-rt-v2__row-title { font-size: 26px; white-space: normal; }
  .wbv-rt-v2__row-body { font-size: 16px; max-width: none; }
}

/* End Phase 4 routes (v3.3 pathways) */


/* ===================================================================
   PHASE 4 — TRUST GRID (.wbv-tr-v2) · LOCKED 2026-05-10 mockup
   Off-white bg, 4 icons in line-divided row, stats trio below.
   Adapted from mockup classes .tr__* → .wbv-tr-v2__*.
   Last updated: 2026-05-11
   =================================================================== */
.wbv-tr-v2,
.wbv-tr-v2 *,
.wbv-tr-v2 *::before,
.wbv-tr-v2 *::after { box-sizing: border-box; }

.wbv-tr-v2 { padding: var(--sp-16) 0; background: var(--bg); }
.wbv-tr-v2__inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }

.wbv-tr-v2__head { text-align: center; margin-bottom: var(--sp-8); }
.wbv-tr-v2__eyebrow {
  display: block;
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold); color: var(--muted);
}
.wbv-tr-v2__h2 {
  font-family: var(--font-sans); font-size: var(--fs-h2);
  font-weight: var(--fw-heavy); letter-spacing: var(--ls-tight);
  line-height: 1.05; margin: var(--sp-3) auto 0; color: var(--ink);
}
.wbv-tr-v2__h2 .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0; font-size: 1.04em;
}
.wbv-tr-v2__sub {
  margin: var(--sp-5) auto 0; max-width: 56ch;
  color: var(--ink-soft); font-size: 17px; line-height: 1.6; font-weight: 400;
}

/* 4-COLUMN ICON ROW */
.wbv-tr-v2__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 0 0 var(--sp-2);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-10) 0;
}
.wbv-tr-v2__item {
  text-align: center; padding: 0 var(--sp-6);
  border-right: 1px solid var(--hairline);
}
.wbv-tr-v2__item:last-child { border-right: none; }
.wbv-tr-v2__icon {
  width: 56px; height: 56px; margin: 0 auto var(--sp-6);
  display: inline-flex; align-items: center; justify-content: center;
}
.wbv-tr-v2__icon svg {
  width: 44px; height: 44px;
  stroke: var(--ink-soft); fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.wbv-tr-v2__item-title {
  font-family: var(--font-sans); font-size: 17px;
  font-weight: var(--fw-heavy); margin: 0 0 var(--sp-3);
  letter-spacing: var(--ls-tight); color: var(--ink-soft);
}
.wbv-tr-v2__item-body {
  font-size: 14.5px; line-height: 1.6;
  color: var(--muted); font-weight: 400; margin: 0;
}

/* STATS TRIO */
.wbv-tr-v2__stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  align-items: center; padding: var(--sp-8) 0 0;
}
.wbv-tr-v2__stat {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-4); padding: 0 var(--sp-6);
  border-right: 1px solid var(--hairline);
}
.wbv-tr-v2__stat:last-child { border-right: none; }
.wbv-tr-v2__stat-rating {
  color: var(--rating); letter-spacing: 1px; font-size: 18px;
}
.wbv-tr-v2__stat-laurel {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ink-soft);
}
.wbv-tr-v2__stat-laurel svg { width: 100%; height: 100%; }
.wbv-tr-v2__stat-text {
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2;
}
.wbv-tr-v2__stat-big {
  font-family: var(--font-sans); font-size: 18px;
  font-weight: var(--fw-heavy); letter-spacing: var(--ls-tight);
  color: var(--ink-soft);
}
.wbv-tr-v2__stat-label { font-size: 13px; color: var(--muted); font-weight: 400; }

.wbv-tr-v2__avatars { display: flex; }
.wbv-tr-v2__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-pale));
  color: #fff; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  text-transform: uppercase;
}
.wbv-tr-v2__avatar:first-child { margin-left: 0; }

/* Trust mobile */
@media (max-width: 900px) {
  .wbv-tr-v2__h2 { font-size: 32px; }
  .wbv-tr-v2__grid { grid-template-columns: 1fr 1fr; padding: var(--sp-8) 0; }
  .wbv-tr-v2__item { border-right: none; border-bottom: 1px solid var(--hairline); padding: var(--sp-6) var(--sp-4); }
  .wbv-tr-v2__item:nth-child(2n+1) { border-right: 1px solid var(--hairline); }
  .wbv-tr-v2__item:nth-last-child(-n+2) { border-bottom: none; }
  .wbv-tr-v2__stats { grid-template-columns: 1fr; gap: var(--sp-5); }
  .wbv-tr-v2__stat { border-right: none; border-bottom: 1px solid var(--hairline); padding: var(--sp-5) 0; }
  .wbv-tr-v2__stat:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .wbv-tr-v2__grid { grid-template-columns: 1fr; }
  .wbv-tr-v2__item { border-right: none !important; border-bottom: 1px solid var(--hairline); }
  .wbv-tr-v2__item:last-child { border-bottom: none; }
}

/* End Phase 4 trust grid */


/* ===================================================================
   PHASE 4 — EDITORIAL (.wbv-ed-v2) · LOCKED 2026-05-10 mockup
   Full-bleed cinematic section · 90svh · dual-gradient overlay ·
   left-aligned eyebrow + h2 + body. No CTA. Background image set via
   inline style on .wbv-ed-v2__bg by the snippet (easy to swap).
   Adapted from mockup classes .ed__* → .wbv-ed-v2__*.
   Last updated: 2026-05-11
   =================================================================== */
.wbv-ed-v2,
.wbv-ed-v2 *,
.wbv-ed-v2 *::before,
.wbv-ed-v2 *::after { box-sizing: border-box; }

.wbv-ed-v2 {
  position: relative;
  min-height: 90svh;
  padding: 0; overflow: hidden;
  display: flex; align-items: center;
  color: #fff;
}
.wbv-ed-v2__bg {
  position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.wbv-ed-v2__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.35) 100%);
}
.wbv-ed-v2__inner {
  position: relative; z-index: 1;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: var(--sp-16) var(--sp-6);
  text-align: left;
}
.wbv-ed-v2__eyebrow {
  display: block;
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold);
  opacity: 0.85; margin-bottom: var(--sp-5);
  color: #fff;
}
.wbv-ed-v2__h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 0 0 var(--sp-6);
  color: #fff;
  max-width: 18ch;
}
.wbv-ed-v2__h2 .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0;
  font-size: 1.06em;
}
.wbv-ed-v2__body {
  margin: 0; max-width: 56ch;
  color: rgba(255,255,255,0.92);
  font-size: 20px; line-height: 1.6;
  font-weight: 400;
}

/* Editorial mobile */
@media (max-width: 760px) {
  .wbv-ed-v2 { min-height: 80svh; }
  .wbv-ed-v2__inner { padding: var(--sp-12) var(--sp-6); }
  .wbv-ed-v2__h2 { max-width: none; }
  .wbv-ed-v2__body { font-size: 17px; }
}

/* End Phase 4 editorial */


/* ===================================================================
   PHASE 4 — OWNER CTA (.wbv-own-v2) · LOCKED 2026-05-10 mockup
   100svh, 2-col (image-left 1.05fr / copy-right 1fr), 4 bold-lead
   service items, single CTA. Section has data-intent="neutral" so
   the CTA renders in warm-brown tones (foundation rule).
   Adapted from mockup classes .own__* → .wbv-own-v2__*.
   Last updated: 2026-05-11
   =================================================================== */
.wbv-own-v2,
.wbv-own-v2 *,
.wbv-own-v2 *::before,
.wbv-own-v2 *::after { box-sizing: border-box; }

.wbv-own-v2 {
  min-height: 100svh;
  background: var(--card);
  display: flex; align-items: center;
  position: relative;
  padding: var(--sp-16) 0;
}
.wbv-own-v2__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: center; max-width: 1200px; margin: 0 auto;
  padding: 0 var(--sp-6); width: 100%;
}
.wbv-own-v2__media {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 16px 40px rgba(31,22,18,0.10);
}
.wbv-own-v2__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wbv-own-v2__copy { max-width: 480px; }
.wbv-own-v2__eyebrow {
  display: block;
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold); color: var(--muted);
}
.wbv-own-v2__h2 {
  font-family: var(--font-sans); font-size: 38px;
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin: var(--sp-3) 0 var(--sp-5);
  color: var(--ink);
}
.wbv-own-v2__h2 .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0; font-size: 1.04em;
}
.wbv-own-v2__lead {
  color: var(--ink-soft); margin: 0 0 var(--sp-6);
  font-size: 15.5px; line-height: 1.65; font-weight: 400;
}
.wbv-own-v2__items { margin: 0 0 var(--sp-8); }
.wbv-own-v2__item {
  margin: 0 0 var(--sp-4);
  font-size: 14px; line-height: 1.6;
  color: var(--muted); font-weight: 400;
}
.wbv-own-v2__item:last-child { margin-bottom: 0; }
.wbv-own-v2__item strong {
  color: var(--ink-soft); font-weight: 700;
  letter-spacing: -0.01em;
}

/* Owner mobile */
@media (max-width: 900px) {
  .wbv-own-v2 { min-height: auto; padding: var(--sp-12) 0; }
  .wbv-own-v2__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .wbv-own-v2__media { aspect-ratio: 4/3; }
  .wbv-own-v2__copy { max-width: none; }
  .wbv-own-v2__h2 { font-size: 28px; }
}

/* End Phase 4 owner */


/* ===================================================================
   PHASE 4 — TESTIMONIALS (.wbv-ts-v2) · LOCKED 2026-05-10 mockup
   Guest quotes rail. Paper bg, white cards w/ hairline border.
   Desktop = 3 cards visible, 4th peeks via horizontal scroll-snap.
   Mobile = 1 card per snap.
   Adapted from mockup classes .ts__* → .wbv-ts-v2__*.
   Last updated: 2026-05-11
   =================================================================== */
.wbv-ts-v2,
.wbv-ts-v2 *,
.wbv-ts-v2 *::before,
.wbv-ts-v2 *::after { box-sizing: border-box; }

.wbv-ts-v2 { padding: var(--sp-16) 0; background: var(--paper); position: relative; }
.wbv-ts-v2__inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }

.wbv-ts-v2__head {
  text-align: center;
  margin: 0 auto var(--sp-10);
  max-width: 640px;
}
.wbv-ts-v2__eyebrow {
  display: block;
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: var(--fw-bold); color: var(--muted);
}
.wbv-ts-v2__h2 {
  font-family: var(--font-sans); font-size: var(--fs-h2);
  font-weight: var(--fw-heavy); letter-spacing: var(--ls-tight);
  line-height: 1.06; margin: var(--sp-3) auto 0; color: var(--ink);
}
.wbv-ts-v2__h2 .em {
  font-family: var(--font-serif); font-style: italic;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400; letter-spacing: 0; font-size: 1.04em;
}
.wbv-ts-v2__sub {
  margin: var(--sp-3) auto 0; max-width: 56ch;
  color: var(--ink-soft); font-size: 16px; line-height: 1.6; font-weight: 400;
}

.wbv-ts-v2__rail {
  display: flex; gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: none;
}
.wbv-ts-v2__rail::-webkit-scrollbar { display: none; }

.wbv-ts-v2__card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-rest);
  display: flex; flex-direction: column; gap: 16px;
}
.wbv-ts-v2__stars { color: var(--rating); letter-spacing: 2px; font-size: 14px; }
.wbv-ts-v2__quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 18px; line-height: 1.5; color: var(--ink);
  margin: 0;
}
.wbv-ts-v2__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.wbv-ts-v2__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-pale));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.wbv-ts-v2__author-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.wbv-ts-v2__author-meta { font-size: 12px; color: var(--muted); }

/* Testimonials mobile — full-width cards, 1 per snap */
@media (max-width: 760px) {
  .wbv-ts-v2__card { flex-basis: calc(100% - 32px); }
}

/* End Phase 4 testimonials */


