body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] {
  position: relative;
  overflow: hidden;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-lcp-media {
  z-index: 0;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-inner.hero-inner--landing {
  position: relative;
  z-index: 2;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="classic"] .hero-lcp-image {
  filter: none !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(96, 63, 37, 0.52) 0%, rgba(96, 63, 37, 0.3) 24%, rgba(96, 63, 37, 0.12) 44%, rgba(96, 63, 37, 0) 62%) !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(68, 42, 24, 0.08) 0%, rgba(68, 42, 24, 0.01) 28%, rgba(68, 42, 24, 0.10) 100%);
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-lcp-image {
  filter: none !important;
  object-position: center center !important;
  transform: none !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-copy.hero-copy--landing,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-copy h1,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-title-top,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-title-line,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-copy {
  color: #f6efe0 !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-title-emphasis--forever {
  color: #e2be6f !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-ornament {
  background:
    linear-gradient(
      90deg,
      rgba(223, 187, 103, 0),
      rgba(223, 187, 103, 0.54) 18%,
      rgba(223, 187, 103, 0.72) calc(50% - 0.78rem),
      rgba(223, 187, 103, 0) calc(50% - 0.56rem),
      rgba(223, 187, 103, 0) calc(50% + 0.56rem),
      rgba(223, 187, 103, 0.72) calc(50% + 0.78rem),
      rgba(223, 187, 103, 0.54) 82%,
      rgba(223, 187, 103, 0)
    ) center / 100% 1px no-repeat !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-ornament::before,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-ornament::after {
  border-color: rgba(223, 187, 103, 0.86) !important;
  background: rgba(223, 187, 103, 0.92) !important;
  color: rgba(130, 84, 40, 0.92) !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon {
  color: #deb665 !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon svg {
  width: 1.16rem !important;
  height: 1.16rem !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon svg,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon svg path,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon svg circle {
  color: #deb665 !important;
  stroke: currentColor !important;
  fill: none !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-cta-stack {
  display: grid !important;
  justify-items: start !important;
  gap: 0.52rem !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-primary-button,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-cta-stack .btn-primary {
  border: 2px solid rgba(222, 182, 101, 0.84) !important;
  color: #f0cf84 !important;
  background:
    linear-gradient(115deg, rgba(240, 207, 132, 0) 0 36%, rgba(240, 207, 132, 0.12) 50%, rgba(240, 207, 132, 0) 64% 100%),
    linear-gradient(180deg, rgba(74, 45, 20, 0.56), rgba(25, 14, 6, 0.88)) !important;
  box-shadow:
    0 0.9rem 1.65rem rgba(18, 10, 4, 0.26),
    inset 0 1px 0 rgba(255, 232, 184, 0.16),
    inset 0 -1px 0 rgba(255, 232, 184, 0.10) !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-primary-button:hover,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-primary-button:focus-visible {
  color: #f6db9f !important;
  border-color: rgba(236, 198, 118, 0.98) !important;
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 0.08rem;
  padding: 0.12rem;
  border: 1px solid rgba(118, 80, 45, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.84);
  box-shadow:
    0 0.24rem 0.6rem rgba(38, 23, 10, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle__button {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: clamp(1.48rem, 3.4vw, 1.72rem);
  height: clamp(1.48rem, 3.4vw, 1.72rem);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(56, 33, 16, 0.78);
  padding: 0;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle__icon {
  width: clamp(0.74rem, 1.8vw, 0.88rem);
  height: clamp(0.74rem, 1.8vw, 0.88rem);
  display: block;
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle__icon,
body.landing-page:not(.authenticated-home) .hero-mood-toggle__icon path,
body.landing-page:not(.authenticated-home) .hero-mood-toggle__icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle__button[aria-pressed="true"] {
  color: #1d1309;
  background: linear-gradient(180deg, rgba(253, 242, 208, 0.98), rgba(231, 208, 151, 0.94));
  box-shadow:
    0 0.14rem 0.32rem rgba(38, 23, 10, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
}

body.landing-page:not(.authenticated-home) .hero-mood-toggle__button:hover,
body.landing-page:not(.authenticated-home) .hero-mood-toggle__button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-mood-toggle {
  border-color: rgba(222, 182, 101, 0.44);
  background: rgba(63, 41, 23, 0.76);
  box-shadow:
    0 0.26rem 0.68rem rgba(11, 6, 2, 0.18),
    inset 0 1px 0 rgba(255, 232, 184, 0.10);
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-mood-toggle__button {
  color: rgba(247, 235, 206, 0.76);
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-mood-toggle__button[aria-pressed="true"] {
  color: #201206;
  background: linear-gradient(180deg, rgba(232, 197, 114, 0.98), rgba(188, 143, 63, 0.96));
  box-shadow:
    0 0.18rem 0.42rem rgba(11, 6, 2, 0.20),
    inset 0 1px 0 rgba(255, 240, 202, 0.46);
}


body.landing-page:not(.authenticated-home) .nav-hero-mood-toggle {
  flex: 0 0 auto;
  margin-inline: 0;
}

body.landing-page:not(.authenticated-home) .mobile-hero-mood-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.68rem 0.72rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

body.landing-page:not(.authenticated-home) .mobile-hero-mood-label {
  color: #f4e3bd;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.landing-page:not(.authenticated-home)[data-hero-mood="heirloom"] .hero-mood-toggle {
  border-color: rgba(222, 182, 101, 0.44);
  background: rgba(63, 41, 23, 0.76);
  box-shadow:
    0 0.26rem 0.68rem rgba(11, 6, 2, 0.18),
    inset 0 1px 0 rgba(255, 232, 184, 0.10);
}

body.landing-page:not(.authenticated-home)[data-hero-mood="heirloom"] .hero-mood-toggle__button {
  color: rgba(247, 235, 206, 0.76);
}

body.landing-page:not(.authenticated-home)[data-hero-mood="heirloom"] .hero-mood-toggle__button[aria-pressed="true"] {
  color: #201206;
  background: linear-gradient(180deg, rgba(232, 197, 114, 0.98), rgba(188, 143, 63, 0.96));
  box-shadow:
    0 0.18rem 0.42rem rgba(11, 6, 2, 0.20),
    inset 0 1px 0 rgba(255, 240, 202, 0.46);
}

@media (max-width: 760px) {
  body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon,
  body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="heirloom"] .hero-subtitle-icon svg {
    width: 1.02rem !important;
    height: 1.02rem !important;
  }

  body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-cta-stack {
    gap: 0.44rem !important;
  }

  body.landing-page:not(.authenticated-home) .hero-mood-toggle {
    padding: 0.1rem;
  }

  body.landing-page:not(.authenticated-home) .hero-mood-toggle__button {
    width: 1.42rem;
    height: 1.42rem;
  }

  body.landing-page:not(.authenticated-home) .hero-mood-toggle__icon {
    width: 0.72rem;
    height: 0.72rem;
  }
}

@media (max-width: 760px) {
  body.landing-page:not(.authenticated-home) .topbar-right > .nav-hero-mood-toggle {
    display: none;
  }

  body.landing-page:not(.authenticated-home) .mobile-hero-mood-row .nav-hero-mood-toggle {
    display: inline-flex;
  }
}

/* Hero polish: conflict-clean default mood, typography, and delicate ornament. */
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-copy h1,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-copy h1 .hero-title-top,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-copy h1 .hero-title-line {
  font-weight: 500 !important;
  text-shadow: 0 0.045em 0.055em rgba(16, 9, 4, 0.20) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="classic"] .hero-copy h1,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="classic"] .hero-copy h1 .hero-title-top,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood="classic"] .hero-copy h1 .hero-title-line {
  font-weight: 500 !important;
  text-shadow: none !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-ornament {
  height: 0.72rem !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-ornament::before {
  content: "" !important;
  display: block !important;
  width: 0.88rem !important;
  height: 0.54rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(223, 187, 103, 0.58) !important;
  background: currentColor !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 0.68 !important;
  transform: translateY(0.01rem) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 31c15-3 29-12 44-25'/%3E%3Cpath d='M22 25c-7-4-11-10-12-18 8 1 14 5 18 12'/%3E%3Cpath d='M35 18c-3-7-1-13 4-17 5 5 6 11 2 17'/%3E%3Cpath d='M44 13c5-7 12-10 19-10-2 8-7 14-16 18'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 31c15-3 29-12 44-25'/%3E%3Cpath d='M22 25c-7-4-11-10-12-18 8 1 14 5 18 12'/%3E%3Cpath d='M35 18c-3-7-1-13 4-17 5 5 6 11 2 17'/%3E%3Cpath d='M44 13c5-7 12-10 19-10-2 8-7 14-16 18'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing[data-hero-mood] .hero-ornament::after {
  content: none !important;
  display: none !important;
}

/* CTA refinement: final hero CTA size owner. */
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing .hero-cta-stack .btn-primary,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing .hero-primary-button {
  min-height: calc(clamp(2.45rem, 2.65vw, 3.05rem) * 0.98) !important;
  padding-block: calc(clamp(0.58rem, 0.72vw, 0.7rem) * 0.98) !important;
  padding-inline: calc(clamp(1rem, 1.3vw, 1.35rem) * 0.98) !important;
  font-size: calc(clamp(0.86rem, 2.5vw, 1.02rem) * 0.98) !important;
}

/* Hero straight-edge owner: prevents non-hero radius rules from rounding the banner. */
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing .hero-lcp-media,
body.landing-page:not(.authenticated-home) .hero-card.hero-card--landing .hero-lcp-image {
  border-radius: 0 !important;
}
