/* ==========================================================================
   WrightHaven Homes — Design V3
   Eggshell canvas + editorial scroll motion
   Reference feel: canvashill.ca (not a visual clone)
   Load AFTER wh-ds.css and homepage inline styles.
   Activate with body.wh-v3
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* Tokens — warm editorial stage                                              */
/* -------------------------------------------------------------------------- */
body.wh-v3 {
  --surface-page: #f5f2ec;
  --surface-card: #faf8f4;
  --surface-raised: #fbfaf7;
  --surface-fill: #ede8df;
  --whh-cream: #f5f2ec;
  --whh-warm-white: #faf8f4;
  --whh-linen: #ede8df;

  --v3-ink: #1c1a17;
  --v3-body: #4a453f;
  --v3-muted: #7a7268;
  --v3-rule: rgba(28, 26, 23, 0.1);
  --v3-rule-strong: rgba(28, 26, 23, 0.16);
  --v3-shadow: 0 18px 50px rgba(28, 26, 23, 0.07);
  --v3-shadow-soft: 0 8px 28px rgba(28, 26, 23, 0.05);

  /* Tighter vertical rhythm — large empty bands read as broken layout.
     Full beat between surface changes; join when adjacent bands share cream. */
  --v3-section-y: clamp(3.25rem, 5.5vw, 5.5rem);
  --v3-section-y-sm: clamp(2.25rem, 4vw, 3.5rem);
  --v3-section-join: clamp(1.75rem, 3.2vw, 2.75rem);
  --v3-gutter: clamp(1.25rem, 4vw, 5rem);
  --v3-max: 1240px;
  --v3-max-wide: 1440px;

  --v3-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --v3-dur: 780ms;
  --v3-dur-slow: 1000ms;

  --text-heading: var(--v3-ink);
  --text-body: var(--v3-body);
  --text-muted: var(--v3-muted);
  --border-hairline: var(--v3-rule);

  background: var(--surface-page);
  color: var(--v3-body);
}

body.wh-v3 .whd-page,
body.wh-v3 {
  background: var(--surface-page);
}

/* Header sits cleaner on white after hero */
body.wh-v3 whd-header[data-variant="inverse"] {
  --whd-header-bg-scrolled: rgba(245, 242, 236, 0.94);
}

/* -------------------------------------------------------------------------- */
/* Hero — taller, calmer type, scroll cue                                     */
/* -------------------------------------------------------------------------- */
body.wh-v3 .home-hero {
  min-height: 100svh;
  min-height: 100dvh;
}

body.wh-v3 .home-hero__content {
  padding-bottom: clamp(7.25rem, 15vh, 9.5rem);
  text-align: left;
}

body.wh-v3 .home-hero__content .whd-display {
  max-width: 20ch;
  margin-left: 0;
  margin-right: 0;
  letter-spacing: -0.025em;
}

body.wh-v3 .home-hero__lead {
  max-width: 36rem;
  font-weight: 400;
  opacity: 0.95;
}

/* Scroll cue — Canvas Hill–style “keep going” signal */
body.wh-v3 .home-hero {
  /* room for cue */
}

body.wh-v3 .v3-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vh, 2rem);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(243, 238, 230, 0.88);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  mix-blend-mode: normal;
}

body.wh-v3 .v3-scroll-cue__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(
    180deg,
    rgba(243, 238, 230, 0) 0%,
    rgba(243, 238, 230, 0.85) 45%,
    rgba(243, 238, 230, 0.15) 100%
  );
  transform-origin: top center;
  animation: v3-scroll-pulse 2.2s var(--v3-ease) infinite;
}

@keyframes v3-scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* -------------------------------------------------------------------------- */
/* USPs — chapters on white, not olive slabs                                  */
/* -------------------------------------------------------------------------- */
body.wh-v3 .home-usp-stack {
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Optional stack intro — full wide rail (match homes / stories, not 1240 editorial) */
body.wh-v3 .v3-chapter-intro {
  max-width: var(--v3-max-wide, var(--container-wide, 1440px));
  margin: 0 auto;
  padding: var(--v3-section-y-sm) var(--v3-gutter) clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

body.wh-v3 .v3-chapter-intro .whd-label {
  display: inline-block;
  margin-bottom: 1rem;
}

body.wh-v3 .v3-chapter-intro h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--v3-ink);
}

body.wh-v3 .v3-chapter-intro p {
  margin: 1.25rem auto 0;
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--v3-body);
}

body.wh-v3 .home-usp-panel,
body.wh-v3 .home-usp-panel--dark,
body.wh-v3 .home-usp-panel--specs {
  background: var(--surface-page) !important;
  color: var(--v3-body);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding: var(--v3-section-join) var(--v3-gutter);
  max-width: var(--v3-max-wide);
  margin: 0 auto;
  border-top: 1px solid var(--v3-rule);
  min-height: unset;
  align-items: center;
}

body.wh-v3 .home-usp-stack > .home-usp-panel:first-of-type {
  border-top: 0;
  padding-top: var(--v3-section-join);
}

body.wh-v3 .home-usp-stack > .home-usp-panel:last-of-type {
  padding-bottom: var(--v3-section-join);
}

body.wh-v3 .home-usp-panel--dark .home-usp-panel__title,
body.wh-v3 .home-usp-panel--specs .home-usp-panel__title,
body.wh-v3 .home-usp-panel__title {
  color: var(--v3-ink) !important;
}

body.wh-v3 .home-usp-panel--dark .home-usp-panel__text,
body.wh-v3 .home-usp-panel__text {
  color: var(--v3-body) !important;
}

body.wh-v3 .home-usp-panel--dark .home-usp-panel__num,
body.wh-v3 .home-usp-panel__num {
  color: var(--whh-sage) !important;
  font-size: clamp(3.25rem, 6vw, 5.25rem);
  opacity: 0.9;
  line-height: 1;
  padding-bottom: 0.12em;
}

/* Light USP chapters: inverse labels are pale gray on cream and disappear */
body.wh-v3 .home-usp-panel .whd-label,
body.wh-v3 .home-usp-panel .whd-label--inverse,
body.wh-v3 .home-usp-panel .whd-label--accent {
  color: var(--whh-olive) !important;
}

body.wh-v3 .home-usp-panel__copy {
  padding: clamp(1rem, 2vw, 2rem) 0;
  gap: 1.25rem;
}

body.wh-v3 .home-usp-panel__media {
  border-radius: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: clamp(280px, 42vw, 520px);
  box-shadow: var(--v3-shadow-soft);
  background: var(--surface-fill) !important;
  overflow: hidden;
}

/* Media scale-in on reveal */
body.wh-v3 .home-usp-panel__media .whd-carousel__slide img,
body.wh-v3 .home-usp-panel__media > img {
  transform: scale(1.06);
  transition:
    transform var(--v3-dur-slow) var(--v3-ease),
    opacity 550ms var(--v3-ease);
  will-change: transform;
}

body.wh-v3 .home-usp-panel.is-inview .home-usp-panel__media .whd-carousel__slide.is-active img,
body.wh-v3 .home-usp-panel.is-inview .home-usp-panel__media > img {
  transform: scale(1);
}

body.wh-v3 .home-usp-panel--specs {
  align-items: start;
}

body.wh-v3 .home-usp-panel--specs.home-usp-panel--decided {
  width: 100%;
  max-width: var(--v3-max-wide, 1440px);
  min-width: 0;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) 24rem;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-left: clamp(0.5rem, 1.5vw, 1.25rem);
}

body.wh-v3 .home-usp-panel--specs .home-usp-panel__media {
  background: #1a1c12 !important;
  aspect-ratio: auto;
  height: 100% !important;
  min-height: 0 !important;
  align-self: stretch;
}

body.wh-v3 .home-usp-panel--specs .home-bs-gallery {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 32rem;
  max-height: none;
  align-self: stretch;
  position: static;
}

body.wh-v3 .home-usp-panel--specs .whd-carousel__slide--contain {
  background: #f0eeea !important;
}

body.wh-v3 .home-usp-panel--specs .whd-carousel__slide img {
  filter: none;
  transform: scale(1.04);
}

body.wh-v3 .home-usp-panel--specs.is-inview .whd-carousel__slide.is-active img {
  transform: scale(1);
}

body.wh-v3 .home-usp-panel--specs .whd-carousel__ui,
body.wh-v3 .whd-carousel__ui {
  background: linear-gradient(
    0deg,
    rgba(20, 22, 16, 0.55) 0%,
    rgba(20, 22, 16, 0.12) 55%,
    transparent 100%
  );
}

/* Dark-panel button was sage-on-olive — re-map to outline olive on white */
body.wh-v3 .home-usp-panel--dark a.whd-btn--accent,
body.wh-v3 .home-usp-panel--dark a.whd-btn--secondary {
  background-color: transparent !important;
  border: 1px solid var(--whh-olive) !important;
  color: var(--whh-olive) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.wh-v3 .home-usp-panel--dark a.whd-btn--accent:hover,
  body.wh-v3 .home-usp-panel--dark a.whd-btn--secondary:hover {
    background-color: var(--whh-olive) !important;
    border-color: var(--whh-olive) !important;
    color: #f3eee6 !important;
  }

  body.wh-v3 .home-usp-panel__media:hover .whd-carousel__slide.is-active img {
    transform: scale(1.035);
  }
}

@media (max-width: 900px) {
  body.wh-v3 .home-usp-panel,
  body.wh-v3 .home-usp-panel--dark,
  body.wh-v3 .home-usp-panel--specs {
    grid-template-columns: 1fr !important;
    padding-top: var(--v3-section-y-sm);
    padding-bottom: var(--v3-section-y-sm);
  }

  body.wh-v3 .home-usp-panel--flip .home-usp-panel__media,
  body.wh-v3 .home-usp-panel--flip .home-usp-panel__copy {
    order: unset;
  }

  body.wh-v3 .home-usp-panel__media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  body.wh-v3 .home-usp-panel--specs .home-usp-panel__media {
    aspect-ratio: 4 / 3;
    height: auto !important;
    min-height: 260px !important;
  }

  body.wh-v3 .home-usp-panel--specs.home-usp-panel--decided {
    grid-template-columns: 1fr !important;
    padding-left: var(--v3-gutter);
  }

  body.wh-v3 .home-usp-panel--specs .home-bs-gallery {
    height: auto;
    min-height: 0;
    max-height: none;
    position: static;
  }
}

/* -------------------------------------------------------------------------- */
/* Building-science tech chips — softer on white                              */
/* -------------------------------------------------------------------------- */
body.wh-v3 .home-usp-panel__tech li {
  background: var(--surface-fill);
  border: 1px solid var(--v3-rule);
  color: var(--v3-ink);
}



/* -------------------------------------------------------------------------- */
/* Communities — white stage, airier stages                                   */
/* -------------------------------------------------------------------------- */
body.wh-v3 .home-comm {
  background: var(--surface-page) !important;
  padding: var(--v3-section-join) 0 0;
}

body.wh-v3 .home-comm__intro {
  max-width: var(--v3-max-wide, var(--container-wide, 1440px));
  margin: 0 auto var(--v3-section-y-sm);
  padding-left: var(--v3-gutter);
  padding-right: var(--v3-gutter);
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
  box-sizing: border-box;
}

body.wh-v3 .home-comm__intro-main .whd-h2 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  letter-spacing: -0.02em;
  color: var(--v3-ink);
}

body.wh-v3 .home-comm__stage {
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: 0 var(--v3-gutter);
  max-width: var(--v3-max-wide);
  margin: 0 auto;
}

body.wh-v3 .home-comm__panel {
  box-shadow: var(--v3-shadow-soft);
  outline: 1px solid var(--v3-rule);
  outline-offset: -1px;
}

body.wh-v3 .home-comm__homes {
  background: var(--surface-page) !important;
  padding: var(--v3-section-y-sm) 0 var(--v3-section-y) !important;
  border-top: 1px solid var(--v3-rule);
  margin-top: 0 !important;
}

body.wh-v3 .home-comm__homes-inner {
  /* Match proof / stories / explore — full wide container, not the narrow 1240 editorial max */
  max-width: var(--v3-max-wide, var(--container-wide, 1440px));
  margin: 0 auto;
  padding: 0 var(--v3-gutter, var(--gutter, 24px));
  width: 100%;
  box-sizing: border-box;
}

body.wh-v3 .home-comm__home {
  background: var(--surface-card);
  border: 1px solid var(--v3-rule);
  box-shadow: none;
  transition:
    box-shadow var(--v3-dur) var(--v3-ease),
    transform var(--v3-dur) var(--v3-ease),
    border-color 200ms var(--v3-ease);
}

@media (hover: hover) and (pointer: fine) {
  body.wh-v3 .home-comm__home:hover {
    box-shadow: var(--v3-shadow);
    border-color: var(--v3-rule-strong);
    transform: translateY(-4px);
  }
}

/* -------------------------------------------------------------------------- */
/* Proof / awards / stories / explore — de-block                              */
/* -------------------------------------------------------------------------- */
body.wh-v3 .home-band--olive {
  background: var(--surface-page) !important;
  color: var(--v3-body) !important;
}

body.wh-v3 .home-proof,
body.wh-v3 .home-stories {
  background: var(--surface-page) !important;
  padding-top: var(--v3-section-join) !important;
  padding-bottom: var(--v3-section-join) !important;
}

/* Explore is a full-bleed band — no extra section pad on top of nav pad */
body.wh-v3 .home-explore {
  background: var(--surface-fill) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.wh-v3 .home-proof {
  border-top: 1px solid var(--v3-rule);
  color: var(--v3-body) !important;
}

body.wh-v3 .home-proof__shelf img {
  box-shadow: var(--v3-shadow-soft);
}

/* Awards layout on white — kill leftover cream-on-olive type from homepage CSS */
body.wh-v3 .home-proof__copy,
body.wh-v3 .home-proof__copy .whd-h2,
body.wh-v3 .home-proof__copy h2 {
  color: var(--v3-ink) !important;
}

body.wh-v3 .home-proof__copy-body,
body.wh-v3 .home-proof__copy p {
  color: var(--v3-body) !important;
}

body.wh-v3 .home-proof__copy .whd-label,
body.wh-v3 .home-proof__copy .whd-label--inverse {
  color: var(--whh-olive) !important;
}

/* Ghost/sage CTAs on white: use olive ink, not pale sage (fails contrast) */
body.wh-v3 .home-proof__copy .whd-btn--inverse,
body.wh-v3 .home-proof__copy a.whd-btn--inverse,
body.wh-v3 .home-proof__copy a.whd-btn--ghost,
body.wh-v3 .home-proof__copy a.whd-btn--ghost.is-sage,
body.wh-v3 .home-proof__copy a.whd-btn--secondary,
body.wh-v3 .home-proof__copy a[class*="whd-btn"],
body.wh-v3 a.whd-btn--ghost.is-sage {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--whh-olive) !important;
  font-weight: 600;
  letter-spacing: 0.14em;
}

body.wh-v3 .home-proof__copy a[class*="whd-btn"]::after {
  /* ensure arrow stays olive if present */
  color: var(--whh-olive);
}

@media (hover: hover) and (pointer: fine) {
  body.wh-v3 .home-proof__copy a.whd-btn--inverse:hover,
  body.wh-v3 .home-proof__copy a[class*="whd-btn"]:hover {
    color: var(--whh-olive-deep) !important;
    opacity: 0.9;
  }
}

/* Photo award tiles stay dark/image-led (luxury, not a solid colour block) */
body.wh-v3 .home-proof__feature,
body.wh-v3 .home-proof__tile {
  box-shadow: var(--v3-shadow-soft);
}

body.wh-v3 .home-stories {
  border-top: 1px solid var(--v3-rule);
}

body.wh-v3 .home-stories__copy .whd-h2,
body.wh-v3 .home-stories h2 {
  color: var(--v3-ink) !important;
}

body.wh-v3 .home-stories__copy-body,
body.wh-v3 .home-stories__copy p {
  color: var(--v3-body) !important;
}

/* One restrained dark quote card is OK — not a full-width olive slab */
body.wh-v3 .home-stories__quote--feature {
  background: var(--whh-olive-deep) !important;
  color: var(--text-inverse);
  box-shadow: var(--v3-shadow);
}

body.wh-v3 .home-stories__quote--secondary {
  background: var(--surface-card) !important;
  border: 1px solid var(--v3-rule) !important;
  box-shadow: var(--v3-shadow-soft);
  color: var(--v3-body);
}

body.wh-v3 .home-stories__quote--secondary .home-stories__quote-text {
  color: var(--v3-ink) !important;
}

body.wh-v3 .whd-testimonials__card {
  background: var(--surface-card) !important;
  border: 1px solid var(--v3-rule) !important;
  box-shadow: var(--v3-shadow-soft);
}

/* Final explore band — soft stone fill, not olive brick */
body.wh-v3 .home-explore {
  background: var(--surface-fill) !important;
  border-top: 1px solid var(--v3-rule);
}

body.wh-v3 .home-explore__layout {
  min-height: min(52vh, 480px) !important;
}

body.wh-v3 .home-explore__nav {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) !important;
  justify-content: center;
}

body.wh-v3 .home-explore__list {
  margin-top: 1.5rem !important;
}

body.wh-v3 .home-explore__preview {
  min-height: 360px !important;
}

body.wh-v3 .home-explore h2,
body.wh-v3 .home-explore .whd-h2 {
  color: var(--v3-ink) !important;
}

body.wh-v3 .home-explore a.whd-btn--accent {
  background: var(--whh-olive);
  color: #f3eee6;
}

/* Community section: white floor; photo panels keep full-bleed imagery */
body.wh-v3 .home-comm {
  background: var(--surface-page) !important;
  color: var(--v3-body);
}

body.wh-v3 .home-comm__intro-main .whd-label {
  color: var(--whh-olive);
}

body.wh-v3 .home-comm__intro-side p {
  color: var(--v3-body) !important;
}

/* MIR homes band was nested olive in places */
body.wh-v3 .home-comm__homes,
body.wh-v3 .home-comm__homes-head h3 {
  color: var(--v3-ink);
}

body.wh-v3 .home-comm__homes-head p {
  color: var(--v3-body);
}

/* -------------------------------------------------------------------------- */
/* Split-line text (Canvas Hill animatedLines pattern)                        */
/* overflow clip + inner translateY(110%) → 0, staggered                      */
/* -------------------------------------------------------------------------- */
body.wh-v3 {
  /* Emil Kowalski — strong custom ease-out (not built-in ease-out) */
  --v3-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --v3-split-ease: var(--v3-ease-out);
  --v3-split-dur: 520ms; /* marketing can go longer; stay crisp, not sluggish */
}

body.wh-v3 .v3-split__wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  max-width: 100%;
  /* Room for Cormorant descenders inside the reveal mask. */
  padding-bottom: 0.18em;
}

body.wh-v3 .v3-split__wrap--block {
  display: block;
  overflow: hidden;
}

/* Headline sentence stacks only — keep tight so it reads as one thought */
body.wh-v3 .v3-split--stack .v3-split__wrap--block + .v3-split__wrap--block {
  margin-top: 0.08em;
}

/*
 * Body copy must reflow as a normal paragraph.
 * Never inherit split-stack block layout if a class is misapplied.
 */
body.wh-v3 .v3-body-copy,
body.wh-v3 p.v3-fade-up,
body.wh-v3 .home-usp-panel__text,
body.wh-v3 .home-comm__intro-side p,
body.wh-v3 .home-proof__copy-body,
body.wh-v3 .home-stories__copy-body,
body.wh-v3 .home-stories__quote-text,
body.wh-v3 .home-hero__lead,
body.wh-v3 .v3-chapter-intro p,
body.wh-v3 .home-comm__homes-head-side p,
body.wh-v3 .home-comm__homes-head p {
  display: block !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  white-space: normal !important;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

body.wh-v3 .home-usp-panel__text,
body.wh-v3 .home-proof__copy-body,
body.wh-v3 .home-stories__copy-body,
body.wh-v3 .v3-chapter-intro p {
  max-width: 42ch;
}

body.wh-v3 .home-hero__lead {
  max-width: 36rem;
}

body.wh-v3 .home-comm__intro-side p,
body.wh-v3 .v3-hscroll__intro .home-comm__intro-side p {
  max-width: 36ch !important;
  line-height: 1.65 !important;
  font-size: 1rem !important;
}

body.wh-v3 .home-stories__quote-text {
  max-width: none;
  line-height: 1.55 !important;
}

/* If a paragraph was wrongly stacked, force children inline again */
body.wh-v3 .v3-body-copy.v3-split--stack,
body.wh-v3 p.v3-split--stack.v3-body-copy,
body.wh-v3 .v3-body-copy .v3-split__wrap,
body.wh-v3 .v3-body-copy .v3-split__wrap--block {
  display: inline !important;
  overflow: visible !important;
  margin: 0 !important;
}
body.wh-v3 .v3-body-copy.v3-split--stack,
body.wh-v3 p.v3-split--stack.v3-body-copy {
  display: block !important;
}
body.wh-v3 .v3-body-copy .v3-split__line {
  display: inline !important;
  transform: none !important;
  opacity: 1 !important;
  position: static !important;
}

body.wh-v3 .v3-split__line {
  display: block;
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  transition:
    transform var(--v3-split-dur) var(--v3-split-ease),
    opacity calc(var(--v3-split-dur) * 0.85) var(--v3-split-ease);
  transition-delay: var(--v3-split-delay, 0ms);
  will-change: transform, opacity;
}

body.wh-v3 .is-inview .v3-split__line,
body.wh-v3 .v3-split__line.is-inview,
body.wh-v3 .v3-inview .v3-split__line {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Title lines stay block after split. Clip lives on the inner wrap only —
   clipping the line itself crops Cormorant descenders (g, y, p). */
body.wh-v3 .home-usp-panel__title-line,
body.wh-v3 .home-hero__title-line,
body.wh-v3 .home-comm__title-line {
  display: block;
  overflow: visible;
  line-height: 1.2;
}

body.wh-v3 .home-usp-panel__title-line .v3-split__wrap,
body.wh-v3 .home-usp-panel__title-line .v3-split__wrap--block,
body.wh-v3 .home-hero__title-line .v3-split__wrap,
body.wh-v3 .home-hero__title-line .v3-split__wrap--block,
body.wh-v3 .home-comm__title-line .v3-split__wrap,
body.wh-v3 .home-comm__title-line .v3-split__wrap--block {
  line-height: 1.2;
  padding-bottom: 0.22em;
  margin-bottom: -0.08em;
}

body.wh-v3 .home-usp-panel__title-line .v3-split__wrap,
body.wh-v3 .home-hero__title-line .v3-split__wrap,
body.wh-v3 .home-comm__title-line .v3-split__wrap {
  display: block;
}

/* Numbers — scale + fade like chapter counters */
body.wh-v3 .v3-num {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.92);
  transition:
    opacity var(--v3-split-dur) var(--v3-split-ease),
    transform var(--v3-split-dur) var(--v3-split-ease);
  transition-delay: var(--v3-split-delay, 0ms);
  transform-origin: left bottom;
}

body.wh-v3 .is-inview .v3-num,
body.wh-v3 .v3-num.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Chips / tech list / buttons */
body.wh-v3 .v3-chip,
body.wh-v3 .v3-fade-up {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 700ms var(--v3-split-ease),
    transform 700ms var(--v3-split-ease);
  transition-delay: var(--v3-split-delay, 0ms);
}

body.wh-v3 .is-inview .v3-chip,
body.wh-v3 .is-inview .v3-fade-up,
body.wh-v3 .v3-chip.is-inview,
body.wh-v3 .v3-fade-up.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Explore more 01 — Canvas Hill foot meta */
body.wh-v3 .v3-explore {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v3-muted);
}

body.wh-v3 .v3-explore__num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--whh-sage);
  line-height: 1;
}

/* Emil: image reveal via clip-path inset (bottom → open), not scale(0) */
body.wh-v3 .v3-media-mask {
  overflow: hidden;
  isolation: isolate;
}

body.wh-v3 .v3-media-mask .whd-carousel,
body.wh-v3 .v3-media-mask > img {
  /* Hidden from bottom; hardware-friendly */
  clip-path: inset(0 0 100% 0);
  transform: scale(1.02); /* never from 0 — visible shape when “empty” */
  transition:
    clip-path 700ms var(--v3-ease-out),
    transform 700ms var(--v3-ease-out);
  transition-delay: 40ms;
}

body.wh-v3 .v3-media-mask.is-inview .whd-carousel,
body.wh-v3 .v3-media-mask.is-inview > img,
body.wh-v3 .is-inview .v3-media-mask .whd-carousel,
body.wh-v3 .is-inview .v3-media-mask > img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* USP chapters — readable height without forcing empty viewport */
body.wh-v3 .home-usp-panel.v3-chapter {
  min-height: 0;
}

body.wh-v3 .home-usp-panel__copy {
  gap: 1.1rem;
}

/* Generic section reveal — Emil: opacity + transform only, strong ease-out
   NOTE: :not() chain is high-specificity — .is-inview must match or beat it. */
body.wh-v3 .whd-reveal:not(.home-usp-panel):not(.home-hero__content):not(.v3-chapter-intro):not(.home-comm__intro) {
  opacity: 0;
  transform: translateY(10px); /* Emil stagger sample uses ~8px — keep travel short */
  transition:
    opacity 420ms var(--v3-ease-out),
    transform 420ms var(--v3-ease-out);
  transition-delay: var(--whd-reveal-delay, 0ms);
}

body.wh-v3 .whd-reveal.is-inview,
body.wh-v3 .whd-reveal.is-inview:not(.home-usp-panel):not(.home-hero__content):not(.v3-chapter-intro):not(.home-comm__intro),
body.wh-v3 .v3-card-rise.is-inview,
body.wh-v3 .v3-awards-feature.is-inview,
body.wh-v3 .v3-awards-tile.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0);
}

/* Cards rise — stagger 40–50ms (Emil: 30–80ms, never block interaction) */
body.wh-v3 .v3-card-rise {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 440ms var(--v3-ease-out),
    transform 440ms var(--v3-ease-out),
    box-shadow 200ms ease;
  transition-delay: var(--v3-split-delay, var(--whd-reveal-delay, 0ms));
}

/* Chapter intro — rare marketing beat, still under ~500ms */
body.wh-v3 .v3-chapter-intro:not(.is-inview) {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 480ms var(--v3-ease-out),
    transform 480ms var(--v3-ease-out);
}
body.wh-v3 .v3-chapter-intro.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Desktop scroll-scrub mode (html.v3-scrub)
 * JS writes opacity/transform every frame from scroll progress.
 * Kill CSS transitions so motion is continuous and scroll-controlled.
 * -------------------------------------------------------------------------- */
html.v3-scrub body.wh-v3 .whd-reveal,
html.v3-scrub body.wh-v3 .v3-card-rise,
html.v3-scrub body.wh-v3 .v3-chapter-intro,
html.v3-scrub body.wh-v3 .v3-awards-feature,
html.v3-scrub body.wh-v3 .v3-awards-tile,
html.v3-scrub body.wh-v3 .v3-split__line,
html.v3-scrub body.wh-v3 .v3-num,
html.v3-scrub body.wh-v3 .v3-chip,
html.v3-scrub body.wh-v3 .v3-fade-up,
html.v3-scrub body.wh-v3 .v3-explore,
html.v3-scrub body.wh-v3 .home-usp-panel,
html.v3-scrub body.wh-v3 .home-usp-panel__text,
html.v3-scrub body.wh-v3 .home-usp-panel__num,
html.v3-scrub body.wh-v3 .home-usp-panel .whd-label,
html.v3-scrub body.wh-v3 .home-usp-panel .whd-btn,
html.v3-scrub body.wh-v3 .home-proof__feature,
html.v3-scrub body.wh-v3 .home-proof__tile,
html.v3-scrub body.wh-v3 .home-stories__quote {
  transition: none !important;
  will-change: opacity, transform;
}

html.v3-scrub body.wh-v3 .v3-media-mask .whd-carousel,
html.v3-scrub body.wh-v3 .v3-media-mask > img {
  transition: none !important;
  will-change: clip-path, transform;
  /* Neutralize static “hidden” clip so JS can drive it */
  clip-path: inset(0 0 100% 0);
}

/* Neutralize split-line CSS that would fight scrub inline styles */
html.v3-scrub body.wh-v3 .v3-split__line {
  transform: translate3d(0, 100%, 0);
  opacity: 0;
}

/* Before first tick: hidden (JS overwrites on rAF) */
html.v3-scrub body.wh-v3 .whd-reveal:not(.home-usp-panel):not(.home-hero__content),
html.v3-scrub body.wh-v3 .v3-card-rise,
html.v3-scrub body.wh-v3 .v3-chapter-intro,
html.v3-scrub body.wh-v3 .v3-awards-feature,
html.v3-scrub body.wh-v3 .v3-awards-tile,
html.v3-scrub body.wh-v3 .home-usp-panel:not(.home-hero__content) {
  opacity: 0;
}

/* Hero is not scrubbed — keep it readable immediately */
html.v3-scrub body.wh-v3 .home-hero__content,
html.v3-scrub body.wh-v3 .home-hero__content .v3-split__line,
html.v3-scrub body.wh-v3 .home-hero__content .v3-fade-up {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* -------------------------------------------------------------------------- */
/* GSAP Scroll Experience mode
 * GSAP owns opacity / transform / clip-path. Neutralize CSS that would:
 *   - hide content until is-inview (stuck at 0 if ST misses)
 *   - fight scrub with transitions or !important
 *   - clip media closed while GSAP tries to wipe it open
 * -------------------------------------------------------------------------- */
html.v3-scroll-exp body.wh-v3 .whd-reveal,
html.v3-scroll-exp body.wh-v3 .v3-card-rise,
html.v3-scroll-exp body.wh-v3 .v3-chapter-intro,
html.v3-scroll-exp body.wh-v3 .v3-split__line,
html.v3-scroll-exp body.wh-v3 .v3-num,
html.v3-scroll-exp body.wh-v3 .v3-chip,
html.v3-scroll-exp body.wh-v3 .v3-fade-up,
html.v3-scroll-exp body.wh-v3 .v3-explore,
html.v3-scroll-exp body.wh-v3 .v3-awards-feature,
html.v3-scroll-exp body.wh-v3 .v3-awards-tile,
html.v3-scroll-exp body.wh-v3 .home-usp-panel,
html.v3-scroll-exp body.wh-v3 .home-usp-panel__text,
html.v3-scroll-exp body.wh-v3 .home-usp-panel__num,
html.v3-scroll-exp body.wh-v3 .home-proof__feature,
html.v3-scroll-exp body.wh-v3 .home-proof__tile,
html.v3-scroll-exp body.wh-v3 .home-stories__quote,
html.v3-scroll-exp body.wh-v3 .home-stories__copy,
html.v3-scroll-exp body.wh-v3 .home-stories__split,
html.v3-scroll-exp body.wh-v3 .home-explore__nav,
html.v3-scroll-exp body.wh-v3 .home-explore__preview,
html.v3-scroll-exp body.wh-v3 .home-comm__home,
html.v3-scroll-exp body.wh-v3 .home-comm__homes-head {
  transition: none !important;
}

/* Panels stay laid out; GSAP scrubs children (no whole-section ghosting) */
html.v3-scroll-exp body.wh-v3 .home-usp-panel,
html.v3-scroll-exp body.wh-v3 .home-usp-panel.whd-reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Neutral baseline for GSAP-driven type — no CSS “hidden until is-inview” */
html.v3-scroll-exp body.wh-v3 .v3-split__line,
html.v3-scroll-exp body.wh-v3 .v3-num,
html.v3-scroll-exp body.wh-v3 .v3-chip,
html.v3-scroll-exp body.wh-v3 .v3-fade-up,
html.v3-scroll-exp body.wh-v3 .v3-explore {
  /* Let GSAP set inline styles; start neutral so first paint isn’t clipped */
  opacity: 1;
  transform: none;
  will-change: transform, opacity;
}

/* Media: kill CSS clip/scale so GSAP wipe owns the reveal */
html.v3-scroll-exp body.wh-v3 .v3-media-mask .whd-carousel,
html.v3-scroll-exp body.wh-v3 .v3-media-mask > img,
html.v3-scroll-exp body.wh-v3 .home-usp-panel__media .whd-carousel {
  clip-path: none;
  transition: none !important;
  will-change: transform, opacity, clip-path;
  transform: none;
}

html.v3-scroll-exp body.wh-v3 .home-usp-panel__media .whd-carousel__slide img,
html.v3-scroll-exp body.wh-v3 .home-usp-panel__media > img {
  /* Parallax/scale driven by GSAP on the img or host — don’t pre-scale in CSS */
  transform: scale(1.06);
  transition: none !important;
  will-change: transform;
}

/* Reveal classes: don’t start at opacity 0 under GSAP (ST writes immediately) */
html.v3-scroll-exp body.wh-v3 .whd-reveal:not(.home-hero__content),
html.v3-scroll-exp body.wh-v3 .v3-card-rise,
html.v3-scroll-exp body.wh-v3 .v3-chapter-intro:not(.is-inview) {
  /* GSAP fromTo sets initial; avoid CSS fighting mid-scrub */
  transition: none !important;
}

/* Paths (Four ways): kill CSS reveal hide — JS owns enter once, then hover */
html.v3-scroll-exp body.wh-v3 .home-ways__head.whd-reveal,
html.v3-scroll-exp body.wh-v3 .home-ways__card.whd-reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: none !important;
}

/* First-to-know form panel: never leave inputs unclickable under GSAP */
html.v3-scroll-exp body.wh-v3 .home-know__panel.whd-reveal,
html.v3-scroll-exp body.wh-v3 .home-know__copy.whd-reveal {
  transition: none !important;
}
html.v3-scroll-exp body.wh-v3 .home-know__panel.is-inview,
html.v3-scroll-exp body.wh-v3 .home-know__panel.v3-inview,
html.v3-scroll-exp body.wh-v3 .home-know__form {
  pointer-events: auto !important;
  visibility: visible !important;
}
/* Re-enable image hover scale inside ways cards after reveal */
html.v3-scroll-exp body.wh-v3 .home-ways__media img {
  transition: transform 700ms var(--v3-ease-out, cubic-bezier(0.22, 1, 0.36, 1)) !important;
}

/* Hero content stays free of scrub exit conflicts with split CSS */
html.v3-scroll-exp body.wh-v3 .home-hero__content .v3-split__line,
html.v3-scroll-exp body.wh-v3 .home-hero__content .v3-fade-up {
  will-change: transform, opacity;
}

/* When GSAP owns parallax, skip the CSS-var rAF parallax layer */
html.v3-scroll-exp body.wh-v3 .v3-parallax {
  transform: scale(1.06);
  transition: none;
}

html.v3-scroll-exp body.wh-v3 .home-comm__panel > img.v3-parallax {
  transform: scale(1.08);
}

/* Reduced motion / static: everything readable */
html.v3-motion-static body.wh-v3 .whd-reveal,
html.v3-motion-static body.wh-v3 .v3-card-rise,
html.v3-motion-static body.wh-v3 .v3-chapter-intro,
html.v3-motion-static body.wh-v3 .home-usp-panel,
html.v3-motion-static body.wh-v3 .v3-split__line,
html.v3-motion-static body.wh-v3 .v3-num,
html.v3-motion-static body.wh-v3 .v3-chip,
html.v3-motion-static body.wh-v3 .v3-fade-up,
html.v3-motion-static body.wh-v3 .home-proof__feature,
html.v3-motion-static body.wh-v3 .home-proof__tile,
html.v3-motion-static body.wh-v3 .home-stories__quote,
html.v3-motion-static body.wh-v3 .home-comm__home {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  clip-path: none !important;
}

/* Parallax target (JS sets --v3-py) */
body.wh-v3 .v3-parallax {
  will-change: transform;
  transform: translate3d(0, var(--v3-py, 0px), 0) scale(1.06);
  transition: transform 60ms linear;
}

body.wh-v3 .home-comm__panel > img.v3-parallax {
  transform: translate3d(0, var(--v3-py, 0px), 0) scale(1.08);
}

/* -------------------------------------------------------------------------- */
/* Scroll cue — ring + word (closer to Canvas Hill scroll graphic)            */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(243, 238, 230, 0.9);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body.wh-v3 .v3-scroll-cue__ring {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(243, 238, 230, 0.55);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  box-sizing: border-box;
}

body.wh-v3 .v3-scroll-cue__dot {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: rgba(243, 238, 230, 0.9);
  animation: v3-scroll-dot 1.8s var(--v3-split-ease) infinite;
}

@keyframes v3-scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* Community pin — Pasture Edge deck pattern (absolute layout + full-bleed)   */
/* Scroll-linked track, left chapter copy that yields, cards bleed off-edge.  */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-hscroll {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 0;
  background: var(--surface-page, #f4f1e8);
  /* Isolate pin paint from surrounding GSAP layers */
  isolation: isolate;
  contain: layout style;
}

/* Pin-managed nodes: never inherit GSAP will-change thrash */
body.wh-v3 .v3-hscroll__copy,
body.wh-v3 .v3-hscroll__track,
body.wh-v3 .v3-hscroll__panel {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* GSAP scroll-exp must not hide pin content with opacity:0 defaults */
html.v3-scroll-exp body.wh-v3 .v3-hscroll__copy,
html.v3-scroll-exp body.wh-v3 .v3-hscroll__intro,
html.v3-scroll-exp body.wh-v3 .v3-hscroll__panel,
html.v3-scroll-exp body.wh-v3 .home-comm__intro {
  /* Pin JS owns opacity/transform — keep CSS neutral */
  transition: none !important;
}

body.wh-v3 .home-comm {
  padding-bottom: 0 !important;
  isolation: auto;
  background: var(--surface-page, #f4f1e8) !important;
  color: var(--v3-ink, #1c1a17) !important;
}

body.wh-v3 .home-comm.home-comm--hscroll {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.wh-v3 .home-comm > .v3-hscroll + .home-comm__homes,
body.wh-v3 .home-comm .home-comm__homes {
  margin-top: 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
  background: var(--surface-page);
}

/* Later sections paint above the sticky pin */
body.wh-v3 .home-proof,
body.wh-v3 .home-stories,
body.wh-v3 .home-explore,
body.wh-v3 .home-know,
body.wh-v3 .home-sell,
body.wh-v3 .home-map,
body.wh-v3 .home-stone,
body.wh-v3 .home-ways,
body.wh-v3 whd-footer,
body.wh-v3 .whd-footer {
  position: relative;
  z-index: 2;
}
body.wh-v3 .home-proof,
body.wh-v3 .home-stories,
body.wh-v3 .home-sell,
body.wh-v3 .home-map,
body.wh-v3 .home-ways,
body.wh-v3 .home-know,
body.wh-v3 whd-footer,
body.wh-v3 .whd-footer {
  background: var(--surface-page);
}
body.wh-v3 .home-explore {
  background: var(--surface-fill) !important;
}

/* Map bare — image/map only under communities */
body.wh-v3 .home-map.home-map--bare {
  padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
body.wh-v3 .home-map.home-map--bare .home-map__head,
body.wh-v3 .home-map.home-map--bare .home-map__legend,
body.wh-v3 .home-map.home-map--bare .home-map__note,
body.wh-v3 .home-map.home-map--bare .home-map__cta {
  display: none !important;
}

/* Full-bleed map stage */
body.wh-v3 .home-map.home-map--full {
  padding: 0 !important;
  border-top: 0 !important;
  background: #e8e4da !important;
  overflow: clip;
}
body.wh-v3 .home-map__bleed {
  position: relative;
  width: 100%;
  min-height: min(72vh, 640px);
}
body.wh-v3 .home-map__frame--full {
  position: absolute;
  inset: 0;
  min-height: min(72vh, 640px);
  border: 0 !important;
  will-change: transform, clip-path, opacity;
  transform-origin: center center;
}
body.wh-v3 .home-map__veil {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 400;
  background:
    linear-gradient(90deg, rgba(245, 242, 236, 0.92) 0%, rgba(245, 242, 236, 0.5) 22%, rgba(245, 242, 236, 0) 44%),
    linear-gradient(0deg, rgba(28, 26, 23, 0.16) 0%, rgba(28, 26, 23, 0) 30%);
}
/* Left chrome: Near me + community cards share one stack */
body.wh-v3 .home-map__aside {
  position: absolute;
  z-index: 450;
  left: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: min(320px, 34vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  will-change: transform, opacity;
}
body.wh-v3 .home-map__aside .home-map__locate {
  position: static;
  align-self: flex-start;
  width: auto;
  box-shadow: 0 6px 18px rgba(20, 22, 16, 0.1);
}
body.wh-v3 .home-map__aside .home-map__list--overlay {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  will-change: auto;
}
body.wh-v3 .home-map__list--overlay .home-map__list-item a {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(28, 26, 23, 0.08);
}
@media (max-width: 900px) {
  body.wh-v3 .home-map__bleed {
    min-height: auto;
  }
  body.wh-v3 .home-map__frame--full {
    position: relative;
    height: 52vh;
    min-height: 320px;
  }
  body.wh-v3 .home-map__aside {
    position: relative;
    left: 0;
    top: auto;
    transform: none;
    width: 100%;
    padding: 12px var(--v3-gutter, 20px) 20px;
    box-sizing: border-box;
  }
  body.wh-v3 .home-map__aside .home-map__list--overlay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  /* Aside sits below the map on mobile — desktop left scrim washes tiles out */
  body.wh-v3 .home-map__veil {
    display: none;
  }
}

/* Natalie entrance-sign placeholder */
body.wh-v3 .home-stone__media--placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8e2d6 0%, #d9d2c4 45%, #cfc7b8 100%) !important;
  border: 1px dashed rgba(73, 79, 37, 0.35);
  min-height: clamp(280px, 40vw, 480px);
}
body.wh-v3 .home-stone__placeholder {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 22rem;
}
body.wh-v3 .home-stone__placeholder-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whh-olive);
  margin-bottom: 12px;
}
body.wh-v3 .home-stone__placeholder-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--v3-ink);
  margin: 0 0 10px;
}
body.wh-v3 .home-stone__placeholder-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--v3-body);
}

body.wh-v3 .v3-hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--surface-page, #f4f1e8);
  box-sizing: border-box;
  z-index: 1;
}

/* Preview banner on /homepage-2/ — clear the fixed strip */
body.hp2-preview .v3-hscroll__sticky {
  top: 40px;
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
}
@media (max-width: 640px) {
  body.hp2-preview .v3-hscroll__sticky {
    top: 56px;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
  }
}

/*
 * Post-pin stacking only — do NOT force opacity:1 here.
 * Panel MOTION.md: marketing scroll reveals must stay transform/opacity
 * until .is-inview. Killing that made MIR / awards / stories never “pop”.
 * z-index + opaque background (set on sections above) keeps content above
 * the sticky community pin without short-circuiting the reveal.
 */

/* Base layout (mobile-first shell; desktop overrides to absolute PE style) */
body.wh-v3 .v3-hscroll__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding:
    clamp(5rem, 10vh, 7rem)
    0
    clamp(1.75rem, 4vh, 3rem)
    var(--gutter, 24px);
}

body.wh-v3 .v3-hscroll__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.85rem, 1.8vh, 1.6rem);
  max-width: 28rem;
  min-width: 0;
  z-index: 2;
}

body.wh-v3 .v3-hscroll__intro,
body.wh-v3 .v3-hscroll__intro.home-comm__intro {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 1rem !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: flex-start !important;
  background: transparent !important;
  color: inherit !important;
}

body.wh-v3 .v3-hscroll__intro .home-comm__intro-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

body.wh-v3 .v3-hscroll__intro .home-comm__intro-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  width: 100%;
  margin-top: 0.15rem;
}

body.wh-v3 .v3-hscroll__intro .whd-h2,
body.wh-v3 .v3-hscroll__intro .home-comm__intro-main .whd-h2 {
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
  color: var(--v3-ink) !important;
  /* Sized so “Communities across” stays one authored line in the copy column. */
  font-size: clamp(2.05rem, 1rem + 2.4vw, 3.25rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}

/* Authored lines (“Communities across” / “Centre Wellington”) must not wrap
   inside the split-text overflow mask — that clips mid-word on narrow columns. */
body.wh-v3 .v3-hscroll__intro .home-comm__title-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}
body.wh-v3 .v3-hscroll__intro .home-comm__title-line .v3-split__wrap,
body.wh-v3 .v3-hscroll__intro .home-comm__title-line .v3-split__wrap--block {
  width: 100%;
  max-width: 100%;
}

body.wh-v3 .v3-hscroll__intro .whd-label,
body.wh-v3 .v3-hscroll__intro .whd-label .v3-split__wrap,
body.wh-v3 .v3-hscroll__intro .whd-label .v3-split__line {
  max-width: 100%;
  overflow: visible;
  white-space: normal;
}

body.wh-v3 .v3-hscroll__intro .home-comm__intro-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 0;
}
body.wh-v3 .v3-hscroll__intro .home-comm__intro-actions .whd-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  height: auto;
  line-height: 1.25;
  text-align: center;
}
body.wh-v3 .v3-hscroll__intro .home-comm__intro-actions .pin-hero__cta,
body.wh-v3 .v3-hscroll__intro .home-comm__intro-actions .pin-hero__ghost {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
}
body.wh-v3 .v3-hscroll__intro .home-comm__intro-actions .pin-hero__cta {
  white-space: normal;
}

body.wh-v3 .v3-hscroll__intro .home-comm__intro-side p {
  margin: 0 !important;
  max-width: 36ch !important;
  color: var(--v3-body) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  white-space: normal !important;
}

body.wh-v3 .v3-hscroll__intro .whd-label,
body.wh-v3 .v3-hscroll__intro .whd-label--inverse {
  color: var(--whh-olive) !important;
}

body.wh-v3 .v3-hscroll__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 14rem);
  margin-top: clamp(0.35rem, 1.5vh, 1rem);
}

body.wh-v3 .v3-hscroll__progress {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 1px;
  background: rgba(35, 35, 30, 0.2);
  overflow: hidden;
}

body.wh-v3 .v3-hscroll__progress-bar {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--whh-olive);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Viewport width trap (PE): zero intrinsic width so the card row never
   expands the page — then grow to fill / bleed with absolute geometry. */
body.wh-v3 .v3-hscroll__viewport {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 0;
  min-width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
}

body.wh-v3 .v3-hscroll__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(18px, 2vw, 32px);
  height: 100%;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Desktop PE story beat: copy absolute, viewport absolute + full-bleed shift */
@media (min-width: 960px) {
  body.wh-v3 .v3-hscroll__layout {
    display: block;
    position: relative;
    padding:
      clamp(5.5rem, 11vh, 7.5rem)
      0
      clamp(1.75rem, 4vh, 3rem)
      0;
  }

  body.wh-v3 .v3-hscroll__copy {
    position: absolute;
    z-index: 2;
    left: var(--gutter, 24px);
    top: 50%;
    width: clamp(19rem, 34vw, 28rem);
    max-width: 28rem;
    transform: translateY(-50%);
    transition: none;
  }

  body.wh-v3 .v3-hscroll__viewport {
    position: absolute;
    top: clamp(5.5rem, 11vh, 7.5rem);
    bottom: clamp(1.75rem, 4vh, 3rem);
    left: calc(var(--gutter, 24px) + clamp(19rem, 34vw, 28rem) + clamp(1.5rem, 2.8vw, 2.75rem));
    width: 100vw;
    min-width: 0;
    height: auto;
    transform: translate3d(var(--v3-deck-shift, 0px), 0, 0);
    will-change: transform;
  }

  /* Long “View communities now selling” label must not overlay the photo. */
  body.wh-v3 .v3-hscroll__intro .whd-btn {
    white-space: normal;
    height: auto;
    max-width: 100%;
    line-height: 1.25;
    text-align: center;
  }
}

/* Laptop / short viewports: keep copy + both CTAs inside the pin. */
@media (min-width: 960px) and (max-height: 820px) {
  body.wh-v3 .v3-hscroll__layout {
    padding-top: clamp(4rem, 8vh, 5.5rem);
    padding-bottom: clamp(1.15rem, 3vh, 2rem);
  }
  body.wh-v3 .v3-hscroll__viewport {
    top: clamp(4rem, 8vh, 5.5rem);
    bottom: clamp(1.15rem, 3vh, 2rem);
  }
  body.wh-v3 .v3-hscroll__copy {
    gap: 0.7rem;
  }
  body.wh-v3 .v3-hscroll__intro,
  body.wh-v3 .v3-hscroll__intro.home-comm__intro {
    gap: 0.65rem !important;
  }
  body.wh-v3 .v3-hscroll__intro .home-comm__intro-side {
    gap: 0.7rem;
  }
  body.wh-v3 .v3-hscroll__intro .home-comm__intro-side p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
}

body.wh-v3 .whd-footer {
  background: var(--whh-olive-deep, #3A3D2A) !important;
}
body.wh-v3 .whd-footer img {
  filter: brightness(0) invert(1);
}

body.wh-v3 .v3-hscroll__panel,
body.wh-v3 .home-comm__panel.v3-hscroll__panel {
  position: relative;
  flex: 0 0 auto;
  width: clamp(440px, 58vw, 780px);
  height: 100%;
  min-height: 0;
  aspect-ratio: auto !important;
  max-width: none;
  margin: 0;
  box-shadow: none;
  outline: none;
  opacity: 1 !important;
  transform: none !important;
  transition: none;
  visibility: visible !important;
  overflow: hidden;
  background: #1a1c12;
  text-decoration: none;
  color: #f3eee6;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Kill inline stage/panel rules that fight the pin */
body.wh-v3 .home-comm.home-comm--hscroll .home-comm__panel.v3-hscroll__panel {
  min-height: 0 !important;
}

body.wh-v3 .v3-hscroll__panel > img:not(.home-comm__panel-award),
body.wh-v3 .home-comm__panel.v3-hscroll__panel > img:not(.home-comm__panel-award) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
}
body.wh-v3 .v3-hscroll__panel > img.home-comm__panel-award,
body.wh-v3 .home-comm__panel.v3-hscroll__panel > img.home-comm__panel-award {
  position: absolute !important;
  inset: auto !important;
  top: clamp(10px, 2vh, 18px) !important;
  right: clamp(10px, 1.6vw, 16px) !important;
  width: auto !important;
  height: auto !important;
  max-width: min(96px, 16vw) !important;
  max-height: 58% !important;
  object-fit: contain !important;
  z-index: 4 !important;
}

/* Soft film + bottom scrim — closer to PE card treatment */
body.wh-v3 .v3-hscroll__panel .home-comm__panel-scrim {
  background:
    linear-gradient(
      180deg,
      rgba(20, 22, 17, 0) 32%,
      rgba(20, 22, 17, 0.55) 68%,
      rgba(16, 18, 13, 0.92) 100%
    ),
    rgba(24, 26, 20, 0.18) !important;
}

body.wh-v3 .v3-hscroll__panel .home-comm__panel-body {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  max-width: none !important;
  padding: 0 clamp(1.25rem, 2.5vw, 2.25rem) clamp(1.5rem, 3.5vh, 2.5rem) !important;
  opacity: 0.55;
  transform: translateY(10px);
  transition:
    opacity 420ms var(--v3-split-ease, cubic-bezier(0.16, 1, 0.3, 1)),
    transform 420ms var(--v3-split-ease, cubic-bezier(0.16, 1, 0.3, 1));
  box-sizing: border-box;
}

body.wh-v3 .v3-hscroll__panel.is-active .home-comm__panel-body,
body.wh-v3 .v3-hscroll__panel.is-inview .home-comm__panel-body {
  opacity: 1;
  transform: translateY(0);
}

/* Ken Burns only on active community image */
body.wh-v3 .v3-hscroll__panel > img.v3-kenburns,
body.wh-v3 .v3-hscroll__panel .v3-kenburns {
  transform: translate3d(0, var(--v3-py, 0px), 0) scale(1.04);
  transition: transform 800ms var(--v3-split-ease);
  will-change: transform;
}

body.wh-v3 .v3-hscroll__panel.is-active > img.v3-kenburns,
body.wh-v3 .v3-hscroll__panel.is-active .v3-kenburns {
  animation: v3-kenburns 9s var(--v3-split-ease) forwards;
}

@keyframes v3-kenburns {
  0% {
    transform: translate3d(0, var(--v3-py, 0px), 0) scale(1.02);
  }
  100% {
    transform: translate3d(0, var(--v3-py, 0px), 0) scale(1.08);
  }
}

@media (hover: hover) and (pointer: fine) {
  body.wh-v3 .v3-hscroll__panel.is-active:hover > img.v3-kenburns {
    animation-play-state: paused;
  }
}

/* Community intro on white when not in hscroll (mobile stack) */
body.wh-v3 .home-comm__intro-main .whd-h2 {
  color: var(--v3-ink) !important;
}

body.wh-v3 .home-comm__intro {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* -------------------------------------------------------------------------- */
/* M1 — Hero sage rule under toplabel                                         */
/* -------------------------------------------------------------------------- */
body.wh-v3 .home-hero__topline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

body.wh-v3 .v3-hero-rule {
  display: block;
  width: min(7.5rem, 40vw);
  height: 1px;
  background: var(--whh-sage);
  transform: scaleX(0);
  transform-origin: left center;
  margin-inline: 0;
  transition: transform 650ms var(--v3-split-ease) 180ms;
}

body.wh-v3 .v3-hero-rule.is-inview,
body.wh-v3 .is-inview .v3-hero-rule,
body.wh-v3 .home-hero__content.is-inview .v3-hero-rule {
  transform: scaleX(1);
}

/* -------------------------------------------------------------------------- */
/* M2 — Chapter media before type                                             */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-chapter .v3-split__line,
body.wh-v3 .v3-chapter .v3-num,
body.wh-v3 .v3-chapter .v3-chip,
body.wh-v3 .v3-chapter .v3-fade-up,
body.wh-v3 .v3-chapter .v3-explore {
  /* Hold type until phase-type */
  transition-delay: calc(var(--v3-split-delay, 0ms) + 0ms);
}

body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-split__line,
body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-num,
body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-chip,
body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-fade-up,
body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-explore {
  opacity: 0;
  transform: translate3d(0, 1em, 0);
}

body.wh-v3 .v3-chapter.v3-chapter--phase-type .v3-split__line,
body.wh-v3 .v3-chapter.v3-chapter--phase-type .v3-num,
body.wh-v3 .v3-chapter.v3-chapter--phase-type .v3-chip,
body.wh-v3 .v3-chapter.v3-chapter--phase-type .v3-fade-up,
body.wh-v3 .v3-chapter.v3-chapter--phase-type .v3-explore {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.wh-v3 .v3-chapter .v3-num {
  position: relative;
  display: inline-block;
  width: fit-content;
}

body.wh-v3 .v3-chapter .v3-num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.04em;
  width: 100%;
  height: 1px;
  background: var(--whh-sage);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms var(--v3-split-ease) 200ms;
}

body.wh-v3 .v3-chapter.v3-chapter--phase-type .v3-num::after {
  transform: scaleX(1);
}

/* -------------------------------------------------------------------------- */
/* M5 — Building-science chip settle                                          */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-chip {
  position: relative;
}

body.wh-v3 .v3-chip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: var(--whh-olive);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 480ms var(--v3-split-ease);
  transition-delay: var(--v3-split-delay, 0ms);
}

body.wh-v3 .is-inview .v3-chip::before,
body.wh-v3 .v3-chapter--phase-type .v3-chip.is-inview::before,
body.wh-v3 .v3-chapter--phase-type .v3-chip::before {
  transform: scaleY(1);
}

/* -------------------------------------------------------------------------- */
/* M6 — Awards cascade (Emil: purpose = preventing jarring change + hierarchy) */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-awards-feature,
body.wh-v3 .v3-awards-tile {
  opacity: 0;
  /* Prefer opacity + small Y over scale(0) / heavy multi-prop stack */
  transform: translateY(12px);
  transition:
    opacity 460ms var(--v3-ease-out),
    transform 460ms var(--v3-ease-out);
  transition-delay: var(--v3-awards-delay, 0ms);
}

body.wh-v3 .v3-awards-feature.is-inview,
body.wh-v3 .v3-awards-tile.is-inview,
body.wh-v3 .home-proof.is-inview .v3-awards-feature,
body.wh-v3 .home-proof.is-inview .v3-awards-tile {
  opacity: 1;
  transform: translateY(0);
}

body.wh-v3 .v3-awards-feature {
  transition-delay: 40ms;
}

/* -------------------------------------------------------------------------- */
/* M7 — Quote mark draw + secondary offset                                    */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-quote-mark {
  display: block;
  color: var(--whh-sage);
  margin-bottom: 0.75rem;
  opacity: 0;
  transition: opacity 400ms ease;
}

body.wh-v3 .v3-quote-mark.is-inview,
body.wh-v3 .is-inview .v3-quote-mark {
  opacity: 1;
}

body.wh-v3 .v3-quote-mark__path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 900ms var(--v3-split-ease);
}

body.wh-v3 .v3-quote-mark.is-inview .v3-quote-mark__path,
body.wh-v3 .is-inview .v3-quote-mark__path {
  stroke-dashoffset: 0;
}

body.wh-v3 .v3-quote-secondary {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 700ms var(--v3-split-ease) 120ms,
    transform 700ms var(--v3-split-ease) 120ms;
}

body.wh-v3 .v3-quote-secondary.is-inview,
body.wh-v3 .home-stories.is-inview .v3-quote-secondary {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* -------------------------------------------------------------------------- */
/* M8 — Page scroll hairline                                                  */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-page-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
}

body.wh-v3 .v3-page-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--whh-olive);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* -------------------------------------------------------------------------- */
/* M9 — Scroll cue dissolve when hero leaves                                  */
/* -------------------------------------------------------------------------- */
body.wh-v3 .v3-scroll-cue {
  transition: opacity 350ms ease, visibility 350ms ease;
}

body.wh-v3 .v3-scroll-cue.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
body.wh-v3 .whd-footer,
body.wh-v3 whd-footer {
  border-top: 1px solid rgba(243, 238, 230, 0.08);
}

/* -------------------------------------------------------------------------- */
/* Reduced motion                                                             */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.wh-v3 .v3-split__line,
  body.wh-v3 .v3-num,
  body.wh-v3 .v3-chip,
  body.wh-v3 .v3-fade-up,
  body.wh-v3 .v3-card-rise,
  body.wh-v3 .whd-reveal {
    transform: none !important;
    transition: opacity 200ms ease !important;
    opacity: 1 !important;
  }

  body.wh-v3 .v3-media-mask .whd-carousel,
  body.wh-v3 .v3-media-mask > img {
    clip-path: none !important;
    transform: none !important;
  }

  body.wh-v3 .v3-scroll-cue__dot {
    animation: none;
  }

  body.wh-v3 .v3-parallax {
    transform: none !important;
    transition: none !important;
  }

  body.wh-v3 .v3-hscroll {
    height: auto !important;
  }

  body.wh-v3 .v3-hscroll__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  body.wh-v3 .v3-hscroll__track {
    flex-direction: column;
    width: 100%;
    transform: none !important;
    padding: 0 var(--v3-gutter);
  }

  body.wh-v3 .v3-hscroll__panel {
    width: 100%;
    flex-basis: auto;
    opacity: 1;
    transform: none;
    height: auto;
    min-height: 320px;
  }

  body.wh-v3 .home-comm__home:hover {
    transform: none;
  }

  body.wh-v3 .v3-kenburns,
  body.wh-v3 .v3-hscroll__panel.is-active > img.v3-kenburns {
    animation: none !important;
    transform: none !important;
  }

  body.wh-v3 .v3-page-progress {
    display: none;
  }

  body.wh-v3 .v3-hero-rule {
    transform: scaleX(1) !important;
  }

  body.wh-v3 .v3-awards-feature,
  body.wh-v3 .v3-awards-tile {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-split__line,
  body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-num,
  body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-chip,
  body.wh-v3 .v3-chapter:not(.v3-chapter--phase-type) .v3-fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile: no pin — PE-style swipe carousel with scroll-snap */
@media (max-width: 959px) {
  body.wh-v3 .v3-hscroll {
    height: auto !important;
  }

  body.wh-v3 .v3-hscroll__sticky {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    display: block;
  }

  body.wh-v3 .v3-hscroll__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    gap: 1.75rem;
    padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(3rem, 8vw, 4.5rem) var(--gutter, 24px);
  }

  body.wh-v3 .v3-hscroll__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 34rem;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding-right: var(--gutter, 24px);
  }

  body.wh-v3 .v3-hscroll__intro .whd-h2,
  body.wh-v3 .v3-hscroll__intro .home-comm__intro-main .whd-h2 {
    font-size: clamp(1.85rem, 6.2vw, 2.6rem) !important;
  }

  body.wh-v3 .v3-hscroll__meta {
    display: none;
  }

  body.wh-v3 .v3-hscroll__viewport {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    min-width: 0;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    padding-bottom: 4px;
  }
  body.wh-v3 .v3-hscroll__viewport::-webkit-scrollbar {
    display: none;
  }

  body.wh-v3 .v3-hscroll__track {
    flex-direction: row;
    width: max-content;
    height: auto;
    transform: none !important;
    gap: 12px;
  }

  body.wh-v3 .v3-hscroll__panel,
  body.wh-v3 .home-comm__panel.v3-hscroll__panel {
    width: min(74vw, 320px);
    flex: 0 0 auto;
    height: min(108vw, 480px);
    min-height: 0;
    scroll-snap-align: start;
    opacity: 1 !important;
    transform: none;
  }

  body.wh-v3 .v3-hscroll__panel .home-comm__panel-body {
    opacity: 1 !important;
    transform: none !important;
  }

  body.wh-v3 .home-usp-panel.v3-chapter {
    min-height: 0;
  }
}
