/* The homepage's warm editorial system, shared by treatment and location pages. */
.subpage {
  background: var(--paper);
}

.subpage ::selection {
  color: #fffaf5;
  background: var(--clay-deep);
}

.subpage .site-header {
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 2.2vw, 2.5rem);
}

.subpage .menu-toggle {
  display: none;
}

.subpage .tx-hero,
.subpage .loc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(34rem, 49vw, 43rem);
  padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 6vw, 4rem);
  overflow: hidden;
  background: #e8dacb;
}

.subpage .tx-hero::before,
.subpage .loc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--subpage-hero-image);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.subpage-location .loc-hero::before {
  background-size: cover;
  background-position: center center;
}

.subpage .tx-hero::after,
.subpage .loc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250, 247, 243, 0.98) 0%, rgba(250, 247, 243, 0.93) 36%, rgba(250, 247, 243, 0.5) 58%, rgba(250, 247, 243, 0.02) 85%);
}

.subpage .tx-hero-copy,
.subpage .loc-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.subpage .tx-hero h1,
.subpage .loc-hero h1,
.subpage .hove-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 5.7vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.subpage .tx-hero .lede,
.subpage .loc-hero .lede,
.subpage .hove-hero .lede {
  max-width: 34rem;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.7;
}

.subpage .tx-hero .service-subhead,
.subpage .loc-hero .service-subhead {
  max-width: 34rem;
  line-height: 1.5;
}

.subpage .tx-hero .price-note {
  letter-spacing: 0.07em;
}

.subpage .hero-image-note {
  max-width: 30rem;
  margin: 0.85rem 0 0;
  color: #655950;
  font-size: 0.78rem;
  line-height: 1.5;
}

.subpage .hove-hero {
  min-height: clamp(34rem, 49vw, 43rem);
}

.subpage .hove-hero-bg::after {
  background: linear-gradient(90deg, rgba(250, 247, 243, 0.98) 0%, rgba(250, 247, 243, 0.89) 34%, rgba(250, 247, 243, 0.46) 57%, rgba(250, 247, 243, 0.04) 84%);
}

.subpage .hove-hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.subpage .hove-hero-copy {
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 6vw, 4rem);
}

.subpage .tx-section {
  padding-block: clamp(2.8rem, 5vw, 4.2rem);
}

.subpage .tx-section h2,
.subpage .hove-section h2 {
  font-size: clamp(2.3rem, 3.7vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.subpage .tx-facts {
  border-top: 1px solid var(--line);
}

.subpage .tx-facts-grid {
  max-width: 80rem;
  gap: 0;
}

.subpage .fact-card {
  padding: 0.5rem clamp(0.8rem, 2vw, 2rem);
  text-align: left;
  border-left: 1px solid var(--line);
}

.subpage .fact-card:first-child {
  border-left: 0;
}

.subpage .hove-treatments .treatment-card {
  min-height: 0;
  padding: 1.4rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.subpage .hove-treatments .treatment-card:hover {
  border-top-color: var(--clay);
  box-shadow: none;
  transform: none;
}

.subpage .hove-treatments .treatment-card span {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.subpage .hove-venue {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.subpage .hove-venue-body {
  padding: 1.4rem 0 0;
}

.subpage .testimonial-card {
  padding: 1.35rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.subpage .testimonial-grid {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.subpage .midpage-cta,
.subpage .tx-inline-cta {
  border-radius: 0;
}

@media (max-width: 1100px) {
  .subpage .menu-toggle {
    display: block;
  }
}

@media (max-width: 760px) {
  .subpage .tx-hero,
  .subpage .loc-hero,
  .subpage .hove-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: min(47rem, calc(100svh - 4.1rem));
    padding: 3rem 1.25rem;
    background: #332923;
  }

  .subpage .tx-hero::before,
  .subpage .loc-hero::before {
    background-size: cover;
    background-position: 65% center;
  }

  .subpage .tx-hero::after,
  .subpage .loc-hero::after,
  .subpage .hove-hero-bg::after {
    background: linear-gradient(180deg, rgba(31, 23, 19, 0.76), rgba(31, 23, 19, 0.7) 55%, rgba(31, 23, 19, 0.8));
  }

  .subpage .hove-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .subpage .hove-hero-bg img {
    height: 100%;
  }

  .subpage .tx-hero-copy,
  .subpage .loc-hero-copy,
  .subpage .hove-hero-copy {
    width: 100%;
    padding: 0;
  }

  .subpage .tx-hero h1,
  .subpage .loc-hero h1,
  .subpage .hove-hero h1 {
    max-width: 13ch;
    color: #fffaf5;
    font-size: clamp(3rem, 12vw, 4.35rem);
    line-height: 0.98;
  }

  .subpage .tx-hero h1 em,
  .subpage .loc-hero h1 em,
  .subpage .hove-hero h1 em {
    color: #e8b9aa;
  }

  .subpage .tx-hero .eyebrow,
  .subpage .loc-hero .eyebrow,
  .subpage .hove-hero .eyebrow,
  .subpage .tx-hero .service-subhead,
  .subpage .loc-hero .service-subhead,
  .subpage .tx-hero .lede,
  .subpage .loc-hero .lede,
  .subpage .hove-hero .lede,
  .subpage .tx-hero .price-note,
  .subpage .tx-hero .price-note strong,
  .subpage .hero-image-note {
    color: #fffaf5;
  }

  .subpage .tx-facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subpage .fact-card {
    padding: 0.4rem 0.65rem;
  }
}

@media (max-width: 520px) {
  .subpage .tx-facts-grid {
    grid-template-columns: 1fr;
  }

  .subpage .fact-card {
    padding: 0.7rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .subpage .fact-card:first-child {
    border-top: 0;
  }
}

@media (max-width: 720px) {
  body.subpage .mobile-cta-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  body.subpage .mobile-cta-button,
  body.subpage .mobile-scan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    padding: 0.6rem 0.4rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  body.subpage .mobile-scan-button {
    border: 1px solid var(--clay-deep);
    border-radius: 0.45rem;
    color: var(--clay-deep);
    background: var(--paper);
  }

  body.subpage .mobile-scan-button:hover,
  body.subpage .mobile-scan-button:focus-visible {
    background: var(--soft);
  }
}
