
:root {
  --ds-navy: #1F3351;
  --ds-gold: #9B814C;
  --ds-ivory: #FBF8F2;
  --ds-paper: #FFFDF9;
  --ds-ink: #142A43;
  --ds-muted: #6D7788;
  --ds-line: rgba(31,51,81,.10);
  --ds-radius: 28px;
}

.header,
header.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 12000 !important;
  min-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 12px clamp(18px, 4vw, 54px) !important;
  margin: 0 !important;
  background: rgba(255,253,249,.92) !important;
  border-bottom: 1px solid var(--ds-line) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}

.header > .brand,
header.header > .brand {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  order: 1 !important;
  flex: 0 1 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
  color: var(--ds-navy) !important;
}

.header > .brand img,
header.header > .brand img {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  object-fit: contain !important;
}

.header > .brand > span,
header.header > .brand > span {
  text-align: left !important;
}

.header .top-nav,
header.header .top-nav {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(12px, 2vw, 26px) !important;
  margin-left: auto !important;
}

.header .top-nav button,
header.header .top-nav button {
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ds-navy) !important;
  font: 600 14px/1.1 var(--sans, system-ui, sans-serif) !important;
  letter-spacing: -.01em !important;
  cursor: pointer !important;
}

#ds-vnext-menu-button,
#ds-vnext-menu-sheet,
#ds-vnext-menu-scrim {
  display: none;
}

@media (max-width: 980px) {
  .header,
  header.header {
    min-height: 74px !important;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px !important;
    gap: 12px !important;
  }

  .header > .brand,
  header.header > .brand {
    max-width: calc(100vw - 112px) !important;
  }

  .header > .brand img,
  header.header > .brand img {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .header .top-nav,
  header.header .top-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .menu-toggle,
  #menu-toggle,
  #dreamspire-mobile-menu,
  #ds-mobile-menu-button,
  #ds-premium-menu-button,
  #ds-clean-menu-button,
  #ds-final-menu-button,
  #ds-tesla-menu-button,
  #ds-home-final-menu,
  #ds-single-menu-button,
  .ds-final-home-menu,
  .ds-menu-suppressed,
  .ds-vnext-old-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html body .header > button#ds-vnext-menu-button,
  html body header.header > button#ds-vnext-menu-button {
    order: 2 !important;
    flex: 0 0 72px !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: rgba(31,51,81,.055) !important;
    color: var(--ds-navy) !important;
    box-shadow: none !important;
    font: 700 14px/1 var(--sans, system-ui, sans-serif) !important;
    letter-spacing: -.01em !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 12040 !important;
  }

  #ds-vnext-menu-scrim {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12020 !important;
    background: rgba(20,35,52,.18) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    backdrop-filter: blur(2px) !important;
  }

  #ds-vnext-menu-scrim.is-open { display: block !important; }

  #ds-vnext-menu-sheet {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 12030 !important;
    max-height: calc(100dvh - 96px) !important;
    overflow-y: auto !important;
    padding: 10px 12px 14px !important;
    border: 1px solid var(--ds-line) !important;
    border-radius: 0 0 22px 22px !important;
    background: rgba(255,253,249,.99) !important;
    box-shadow: 0 24px 58px rgba(31,51,81,.15) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    backdrop-filter: blur(22px) !important;
  }

  #ds-vnext-menu-sheet.is-open { display: block !important; }

  .ds-vnext-menu-kicker {
    padding: 8px 10px 12px !important;
    color: var(--ds-gold) !important;
    font: 800 11px/1 var(--sans, system-ui, sans-serif) !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
  }

  .ds-vnext-menu-item {
    width: 100% !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-top: 1px solid rgba(31,51,81,.075) !important;
    background: transparent !important;
    color: var(--ds-navy) !important;
    font: 600 17px/1.15 var(--sans, system-ui, sans-serif) !important;
    text-align: left !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  .ds-vnext-menu-item::after {
    content: "→";
    opacity: .55 !important;
  }
}

#ds-vnext-home { display: none; }

body.ds-vnext-home-active {
  overflow: hidden !important;
  background: #EDE5DA !important;
}

body.ds-vnext-home-active #chapter,
body.ds-vnext-home-active main#chapter {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.ds-vnext-home-active #ds-vnext-home {
  display: block !important;
}

body.ds-vnext-home-active .header,
body.ds-vnext-home-active header.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(180deg, rgba(255,253,249,.64), rgba(255,253,249,.12)) !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body.ds-vnext-home-active .header > button#ds-vnext-menu-button,
  body.ds-vnext-home-active header.header > button#ds-vnext-menu-button {
    background: rgba(255,255,255,.54) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
  }
}

#ds-vnext-home {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  overflow: hidden !important;
  background: #E8DED1 !important;
  z-index: 11000 !important;
}

.ds-vnext-home-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 58% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  filter: saturate(.93) contrast(.98) !important;
  z-index: 0 !important;
}

.ds-vnext-home-wash {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(255,253,249,.72) 0%, rgba(255,253,249,.44) 19%, rgba(255,253,249,.10) 41%, rgba(255,253,249,0) 65%, rgba(14,28,44,.14) 100%) !important;
}

.ds-vnext-home-copy {
  position: relative !important;
  z-index: 2 !important;
  width: min(700px, calc(100% - 34px)) !important;
  margin: 0 auto !important;
  padding: clamp(126px, 15vh, 164px) 0 max(24px, env(safe-area-inset-bottom)) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.ds-vnext-home-title {
  margin: 0 !important;
  color: var(--ds-navy) !important;
  font-family: var(--sans, system-ui, sans-serif) !important;
  font-size: clamp(42px, 7.2vw, 66px) !important;
  font-weight: 700 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

.ds-vnext-home-subtitle {
  margin: 11px auto 0 !important;
  max-width: 500px !important;
  color: var(--ds-navy) !important;
  font-family: var(--sans, system-ui, sans-serif) !important;
  font-size: clamp(17px, 2vw, 22px) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

.ds-vnext-home-actions {
  width: min(640px, 100%) !important;
  margin: 24px auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 12px !important;
}

.ds-vnext-home-action {
  min-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 8px !important;
  font: 700 15px/1 var(--sans, system-ui, sans-serif) !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

.ds-vnext-home-primary {
  background: rgba(31,51,81,.95) !important;
  color: #fff !important;
}

.ds-vnext-home-secondary {
  background: rgba(255,255,255,.91) !important;
  color: var(--ds-navy) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

body.ds-vnext-home-active #ds-smart-back,
body.ds-vnext-home-active .ds-smart-back,
body.ds-vnext-home-active [data-smart-back] {
  display: none !important;
}

body:not(.ds-vnext-home-active) {
  background: var(--ds-ivory) !important;
}

body:not(.ds-vnext-home-active) .main,
body:not(.ds-vnext-home-active) #chapter {
  min-height: calc(100dvh - 76px) !important;
  padding: clamp(14px, 2.5vw, 28px) !important;
  overflow: auto !important;
}

body:not(.ds-vnext-home-active) .stage {
  width: min(1180px, 100%) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body:not(.ds-vnext-home-active) .panel.active {
  min-height: auto !important;
  height: auto !important;
  padding: clamp(28px, 5vw, 64px) !important;
  border: 1px solid rgba(31,51,81,.07) !important;
  border-radius: var(--ds-radius) !important;
  background: rgba(255,253,249,.97) !important;
  box-shadow: 0 10px 40px rgba(31,51,81,.045) !important;
  overflow: visible !important;
}

body:not(.ds-vnext-home-active) .panel.active > *,
body:not(.ds-vnext-home-active) .chapter-copy,
body:not(.ds-vnext-home-active) .chapter-grid,
body:not(.ds-vnext-home-active) .chapter-inner {
  min-height: 0 !important;
}

body:not(.ds-vnext-home-active) .chapter-copy {
  max-width: 700px !important;
}

body:not(.ds-vnext-home-active) h1,
body:not(.ds-vnext-home-active) h2 {
  color: var(--ds-navy) !important;
  letter-spacing: -.035em !important;
}

body:not(.ds-vnext-home-active) p {
  color: var(--ds-muted) !important;
  line-height: 1.55 !important;
}

body:not(.ds-vnext-home-active) #ds-smart-back,
body:not(.ds-vnext-home-active) .ds-smart-back,
body:not(.ds-vnext-home-active) [data-smart-back] {
  position: sticky !important;
  top: 86px !important;
  z-index: 30 !important;
  width: fit-content !important;
  min-height: 40px !important;
  margin: 0 0 18px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: rgba(255,253,249,.92) !important;
  border: 1px solid var(--ds-line) !important;
  box-shadow: 0 8px 24px rgba(31,51,81,.06) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 620px) {
  .ds-vnext-home-copy {
    width: calc(100% - 28px) !important;
    padding-top: max(126px, calc(env(safe-area-inset-top) + 108px)) !important;
  }

  .ds-vnext-home-title {
    font-size: clamp(40px, 12vw, 54px) !important;
  }

  .ds-vnext-home-subtitle {
    max-width: 340px !important;
    margin-top: 9px !important;
    font-size: 17px !important;
  }

  .ds-vnext-home-actions {
    margin-top: 20px !important;
    gap: 10px !important;
  }

  .ds-vnext-home-action {
    min-height: 50px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  .ds-vnext-home-photo {
    object-position: center 60% !important;
  }

  body:not(.ds-vnext-home-active) .main,
  body:not(.ds-vnext-home-active) #chapter {
    padding: 12px !important;
  }

  body:not(.ds-vnext-home-active) .panel.active {
    padding: 24px 20px 34px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 370px) {
  .ds-vnext-home-actions {
    grid-template-columns: 1fr !important;
  }
}

/* ==================================================
   DREAMSPIRE — KEEP ORIGINAL BRET INTRO ABOVE VNEXT
   ================================================== */

#welcome.welcome {
  z-index: 30000 !important;
}

#welcome.welcome:not([hidden]) {
  display: grid !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#welcome.welcome.is-active {
  opacity: 1 !important;
}

/* Bret intro must sit above the VNext homepage and header */
body:has(#welcome.welcome:not([hidden])) #ds-vnext-home {
  z-index: 11000 !important;
}

body:has(#welcome.welcome:not([hidden])) .header {
  z-index: 12000 !important;
}



/* DREAMSPIRE FINAL LUXURY HERO */

.ds-vnext-home-copy {
  position: relative !important;
  z-index: 2 !important;

  width: min(660px, 48vw) !important;

  margin-left: auto !important;
  margin-right: clamp(48px, 7vw, 120px) !important;

  padding:
    clamp(150px, 18vh, 200px)
    0
    max(40px, env(safe-area-inset-bottom))
    !important;

  align-items: flex-end !important;
  text-align: right !important;
}

/* understated luxury eyebrow */
.ds-vnext-home-eyebrow {
  margin-bottom: 16px !important;

  color: #9B814C !important;

  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .24em !important;

  text-transform: uppercase !important;
}

/* luxury editorial headline */
.ds-vnext-home-title {
  margin: 0 !important;

  max-width: 660px !important;

  color: #1F3351 !important;

  font-family:
    "Playfair Display",
    Georgia,
    serif !important;

  font-size:
    clamp(52px, 5.3vw, 84px) !important;

  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;

  text-wrap: balance !important;
}

/* refined supporting copy */
.ds-vnext-home-subtitle {
  margin: 24px 0 0 auto !important;

  max-width: 540px !important;

  color: #536174 !important;

  font-family:
    "Inter",
    system-ui,
    sans-serif !important;

  font-size:
    clamp(14px, 1.12vw, 18px) !important;

  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: -.012em !important;
}

/* elegant CTA group */
.ds-vnext-home-actions {
  width: min(500px, 100%) !important;

  margin: 30px 0 0 auto !important;

  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;

  gap: 12px !important;
}

.ds-vnext-home-action {
  min-height: 50px !important;

  font-family:
    "Inter",
    system-ui,
    sans-serif !important;

  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;

  border-radius: 12px !important;
}

/*
  Keep the cat's face visually dominant.
  Text stays on the right side.
*/
.ds-vnext-home-photo {
  object-position: center 58% !important;
}

/* slightly softer wash behind text */
.ds-vnext-home-wash {
  background:
    linear-gradient(
      90deg,
      rgba(255,253,249,0) 0%,
      rgba(255,253,249,.03) 40%,
      rgba(255,253,249,.38) 68%,
      rgba(255,253,249,.72) 100%
    ) !important;
}

/* MOBILE */
@media (max-width: 700px) {

  .ds-vnext-home-copy {
    width: calc(100% - 32px) !important;

    margin:
      0 auto !important;

    padding:
      max(118px, calc(env(safe-area-inset-top) + 94px))
      0
      28px
      !important;

    align-items: center !important;
    text-align: center !important;
  }

  .ds-vnext-home-eyebrow {
    margin-bottom: 12px !important;
    font-size: 9px !important;
    letter-spacing: .19em !important;
  }

  .ds-vnext-home-title {
    max-width: 390px !important;

    font-size:
      clamp(39px, 11vw, 55px) !important;

    line-height: .99 !important;
  }

  .ds-vnext-home-subtitle {
    max-width: 350px !important;

    margin:
      17px auto 0 !important;

    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .ds-vnext-home-actions {
    width: min(350px, 100%) !important;

    margin:
      22px auto 0 !important;

    gap: 9px !important;
  }

  .ds-vnext-home-action {
    min-height: 47px !important;
    font-size: 12px !important;
  }

  .ds-vnext-home-photo {
    object-position: 42% 58% !important;
  }

  .ds-vnext-home-wash {
    background:
      linear-gradient(
        180deg,
        rgba(255,253,249,.36) 0%,
        rgba(255,253,249,.15) 38%,
        rgba(255,253,249,.60) 100%
      ) !important;
  }
}


/* DREAMSPIRE FACE-CLEAR HERO */

/* Move all copy into the empty LEFT side */
.ds-vnext-home-copy {
  position: absolute !important;

  top: 52% !important;
  left: clamp(64px, 7vw, 125px) !important;
  right: auto !important;

  transform: translateY(-45%) !important;

  width: min(570px, 44vw) !important;

  margin: 0 !important;
  padding: 0 !important;

  align-items: flex-start !important;
  text-align: left !important;
}

/* Small gold luxury label */
.ds-vnext-home-eyebrow {
  margin: 0 0 15px !important;

  color: #9B814C !important;

  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .23em !important;
}

/* Luxury headline */
.ds-vnext-home-title {
  max-width: 570px !important;

  font-family:
    "Playfair Display",
    Georgia,
    serif !important;

  font-size: clamp(48px, 4.7vw, 76px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;

  color: #1F3351 !important;

  text-align: left !important;
}

/* Supporting copy */
.ds-vnext-home-subtitle {
  max-width: 470px !important;

  margin: 22px 0 0 !important;

  font-family:
    "Inter",
    system-ui,
    sans-serif !important;

  font-size: clamp(14px, 1.05vw, 17px) !important;
  line-height: 1.65 !important;

  color: #536174 !important;

  text-align: left !important;
}

/* Buttons beneath copy */
.ds-vnext-home-actions {
  width: min(460px, 100%) !important;

  margin: 28px 0 0 !important;

  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;
}

/*
   Soft cream only behind the copy.
   Right side remains clear so Bret/cat face is untouched.
*/
.ds-vnext-home-wash {
  background:
    linear-gradient(
      90deg,
      rgba(255,253,249,.88) 0%,
      rgba(255,253,249,.78) 25%,
      rgba(255,253,249,.42) 43%,
      rgba(255,253,249,.08) 58%,
      rgba(255,253,249,0) 70%
    ) !important;
}

/* Keep the cat toward the RIGHT */
.ds-vnext-home-photo {
  object-position: center 58% !important;
}


/* MOBILE */
@media (max-width: 700px) {

  .ds-vnext-home-copy {
    top: auto !important;
    left: 20px !important;
    right: 20px !important;
    bottom: max(30px, env(safe-area-inset-bottom)) !important;

    transform: none !important;

    width: auto !important;

    align-items: flex-start !important;
    text-align: left !important;
  }

  .ds-vnext-home-title {
    max-width: 340px !important;
    font-size: clamp(38px, 10vw, 52px) !important;
    text-align: left !important;
  }

  .ds-vnext-home-subtitle {
    max-width: 330px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  .ds-vnext-home-actions {
    width: min(340px, 100%) !important;
  }

  .ds-vnext-home-photo {
    object-position: 62% center !important;
  }

  .ds-vnext-home-wash {
    background:
      linear-gradient(
        0deg,
        rgba(255,253,249,.92) 0%,
        rgba(255,253,249,.70) 28%,
        rgba(255,253,249,.15) 55%,
        rgba(255,253,249,0) 72%
      ) !important;
  }
}

/* DREAMSPIRE — CLEAN LUXURY HEADER */
#ds-home-topbar {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Clean premium Menu pill — no blurry rectangle */
#ds-home-menu-button {
  background: rgba(255,253,249,.94) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;

  border: 1px solid rgba(31,51,81,.10) !important;
  box-shadow: 0 8px 28px rgba(31,51,81,.08) !important;

  color: #1F3351 !important;
}

/* Keep logo clean over the photo */
#ds-home-brand {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}


/* ==========================================================
   DS_MOBILE_MENU_FINAL_20261005

   styles.css has an older generic rule which adds:
       ::before { content: "Menu"; }

   #ds-vnext-menu-button already contains its own Menu text.
   Disable that inherited pseudo-element only for VNext.
   ========================================================== */

@media (max-width: 980px) {

  html body .header > button#ds-vnext-menu-button::before,
  html body .header > button#ds-vnext-menu-button::after,
  html body header.header > button#ds-vnext-menu-button::before,
  html body header.header > button#ds-vnext-menu-button::after {
    content: none !important;
    display: none !important;
  }

  html body .header > button#ds-vnext-menu-button,
  html body header.header > button#ds-vnext-menu-button {
    box-sizing: border-box !important;

    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;

    flex: 0 0 72px !important;

    padding: 0 10px !important;
    margin: 0 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

}
