/* Lexi visual richness revision: layered on top of the core stylesheet */
:root {
  --gold-soft: #d6ad6b;
  --gold-pale: #ead7b5;
  --espresso: #3c241d;
}

/* Make the brand lockup feel more deliberate without changing the core type system. */
.site-header .brand-name { font-size: clamp(2rem, 3vw, 2.55rem); letter-spacing: .02em; }
.site-header .brand-tagline { margin-top: .42rem; font-size: .64rem; letter-spacing: .3em; }

/* Hero: stronger editorial hierarchy and a more refined category line. */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #efd3a0;
  font-family: var(--serif);
  font-size: clamp(.88rem, 1.4vw, 1.05rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: none;
}
.hero .eyebrow::before,
.hero .eyebrow::after { content: ""; width: 32px; height: 1px; background: rgba(226,186,120,.65); }
.hero h1 { max-width: 760px; font-size: clamp(3.8rem, 7.4vw, 7.5rem); }
.hero h1 em { color: #efc985; }
.hero-copy { max-width: 560px; }

/* Cream sections get subtle gold structure rather than extra clutter. */
.intro,
.testimonials,
.story,
.credentials,
.visit { position: relative; }
.intro::before,
.testimonials::before,
.story::after,
.credentials::before,
.visit::before {
  content: "";
  position: absolute;
  top: clamp(2.5rem, 5vw, 4rem);
  left: clamp(1.2rem, 4vw, 3rem);
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.intro::after,
.testimonials::after {
  content: "✦";
  position: absolute;
  right: clamp(1.2rem, 4vw, 3rem);
  top: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--gold);
  font-size: .8rem;
}

/* Richer marble treatment areas. */
.home-treatments,
.treatments {
  background-image:
    linear-gradient(rgba(248,241,231,.38), rgba(248,241,231,.38)),
    radial-gradient(circle at 88% 10%, rgba(189,139,68,.13), transparent 24%),
    url("assets/marble-texture.png");
  background-size: auto, auto, 1250px auto;
}

/* Homepage category cards: brown by default, white when hovered/tapped. */
.goal-grid { gap: 1rem; background: transparent; border: 0; }
.goal-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 2.25rem;
  border: 1px solid rgba(189,139,68,.32);
  border-radius: 2px 34px 2px 2px;
  background: var(--cocoa);
  color: var(--paper);
  box-shadow: 0 18px 45px rgba(45,28,23,.08);
  cursor: pointer;
}
.goal-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(214,173,107,.3);
  border-radius: 50%;
}
.goal-card::after {
  content: "✦";
  position: absolute;
  right: 1.6rem;
  top: 1.45rem;
  color: var(--gold-soft);
  font-size: .8rem;
}
.goal-card h3 { margin-top: 4rem; }
.goal-card p { color: rgba(255,250,243,.78); }
.goal-card small { color: #e7bf7c; }
.goal-card:hover,
.goal-card:focus-visible,
.goal-card.is-active {
  color: var(--ink);
  background: rgba(255,250,243,.96);
  transform: translateY(-5px);
  outline: none;
}
.goal-card:hover p,
.goal-card:focus-visible p,
.goal-card.is-active p { color: var(--mocha); }
.goal-card:hover small,
.goal-card:focus-visible small,
.goal-card.is-active small { color: var(--gold); }

/* Treatment category visual banners add imagery without making every item image-heavy. */
.treatment-category-banner {
  position: relative;
  min-height: 190px;
  margin: 1.35rem 0 1.6rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(189,139,68,.3);
  border-radius: 2px 38px 2px 2px;
  background-position: center;
  background-size: cover;
}
.treatment-category-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(45,28,23,.86), rgba(45,28,23,.35)); }
.treatment-category-banner.essential { background-image: url("assets/wellness-ampoules.png"); }
.treatment-category-banner.premium {
  background-color: var(--cocoa);
  background-image:
    linear-gradient(90deg, rgba(60,36,29,.98) 0%, rgba(60,36,29,.92) 28%, rgba(60,36,29,.68) 48%, rgba(60,36,29,.28) 70%, rgba(60,36,29,.08) 100%),
    url("assets/lexi-home.jpeg");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, auto 138%;
  background-position: center, right 46%;
}
.treatment-category-banner.premium::before {
  background: linear-gradient(90deg, rgba(45,28,23,.42), rgba(45,28,23,.08) 72%);
}
.treatment-category-banner > div { position: absolute; inset: auto auto 1.5rem 1.6rem; z-index: 2; max-width: 75%; color: white; }
.treatment-category-banner span { color: #e8c58d; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.treatment-category-banner p { margin: .45rem 0 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.15; }

/* Individual treatment cards: tactile brown/white interaction requested in feedback. */
.treatment-list { display: grid; gap: 1.2rem; }
.treatment-group + .treatment-group { margin-top: 2.6rem; }
.group-title { border-bottom-color: rgba(189,139,68,.55); }
.treatment-card {
  position: relative;
  grid-template-columns: 1fr auto;
  margin-top: .65rem;
  padding: 1.45rem 1.55rem;
  overflow: hidden;
  border: 1px solid rgba(189,139,68,.25);
  border-radius: 2px 24px 2px 2px;
  background: var(--cocoa);
  color: white;
  box-shadow: 0 14px 30px rgba(45,28,23,.07);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.treatment-card::after { content: "+"; position: absolute; right: 1.2rem; bottom: .8rem; color: rgba(231,191,124,.7); font-family: var(--serif); font-size: 1.2rem; }
.treatment-card h4 { padding-right: 1.5rem; color: #fffaf3; }
.treatment-card h4 span { color: #eac98f; }
.treatment-card p { color: rgba(255,250,243,.73); }
.treatment-card > strong { padding-right: 1.2rem; color: #f0d39d; }
.treatment-card:hover,
.treatment-card:focus-visible,
.treatment-card.is-active { background: rgba(255,250,243,.98); color: var(--ink); transform: translateY(-3px); box-shadow: 0 20px 45px rgba(45,28,23,.1); outline: none; }
.treatment-card:hover h4,
.treatment-card:focus-visible h4,
.treatment-card.is-active h4 { color: var(--ink); }
.treatment-card:hover h4 span,
.treatment-card:focus-visible h4 span,
.treatment-card.is-active h4 span { color: var(--gold); }
.treatment-card:hover p,
.treatment-card:focus-visible p,
.treatment-card.is-active p { color: #735d54; }
.treatment-card:hover > strong,
.treatment-card:focus-visible > strong,
.treatment-card.is-active > strong { color: var(--cocoa); }
.treatment-card:hover::after,
.treatment-card:focus-visible::after,
.treatment-card.is-active::after { content: "✦"; color: var(--gold); }

/* More polished inner-page heroes. */
.page-hero { position: relative; overflow: hidden; }
.page-hero-content::before { content: ""; display: block; width: 72px; height: 1px; margin-bottom: 2rem; background: var(--gold); }
.page-hero-image { position: relative; }
.page-hero-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(189,139,68,.2); pointer-events: none; }

/* Owner image treatment. */
.owner-portrait { filter: saturate(.92) sepia(.08) blur(.35px); transform: scale(1.025); }
.about-page-hero .owner-portrait { object-position: 64% center; }
.owner-photo-note { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.owner-photo-note::before { content: "✦"; }

/* Subtle luxury details on secondary cards. */
.quote-card,
.value-card,
.credentials-logo {
  position: relative;
  overflow: hidden;
}
.quote-card::after,
.value-card::after { content: ""; position: absolute; right: -32px; bottom: -32px; width: 84px; height: 84px; border: 1px solid rgba(189,139,68,.22); border-radius: 50%; }

@media (max-width: 900px) {
  .goal-grid { gap: .8rem; }
  .treatment-category-banner > div { max-width: 88%; }
}

/* Dedicated mobile redesign so the richer desktop pass is actually visible on phones. */
@media (max-width: 640px) {
  .site-header { padding: .78rem 1rem; }
  .site-header .brand-name { font-size: 2.05rem; }
  .site-header .brand-tagline { margin-top: .3rem; font-size: .54rem; letter-spacing: .24em; }

  .hero { min-height: 820px; align-items: end; }
  .hero-image { background-position: 63% center; transform: scale(1.04); }
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(32,18,14,.18) 0%, rgba(32,18,14,.3) 35%, rgba(32,18,14,.9) 82%, rgba(32,18,14,.98) 100%),
      linear-gradient(90deg, rgba(32,18,14,.48), rgba(32,18,14,.08));
  }
  .hero-content { width: 100%; margin: 0; padding: 8.5rem 1.15rem 10.5rem; }
  .hero .eyebrow { display: block; max-width: 320px; margin-bottom: 1rem; font-size: .9rem; line-height: 1.5; letter-spacing: .06em; }
  .hero .eyebrow::before,
  .hero .eyebrow::after { display: none; }
  .hero h1 { max-width: 350px; margin-bottom: 1.2rem; font-size: clamp(3.45rem, 15vw, 4.45rem); line-height: .98; }
  .hero-copy { max-width: 335px; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .9rem; width: min(100%, 330px); }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: flex-start; }
  .hero-note { display: none; }

  .intro { gap: 1.75rem; padding-top: 4.7rem; padding-bottom: 4.7rem; }
  .intro::before { top: 2.2rem; width: 58px; }
  .intro::after { top: 2rem; }
  .intro h2 { max-width: 320px; font-size: clamp(2.8rem, 12vw, 3.6rem); }
  .intro-copy { font-size: 1rem; line-height: 1.7; }

  .home-treatments,
  .treatments {
    background-size: auto, auto, 760px auto;
    background-position: center top;
  }
  .section-heading { margin-bottom: 2.2rem; }
  .section-heading h2 { font-size: clamp(2.7rem, 12vw, 3.5rem); }
  .section-heading > p:last-child { margin-top: 1rem; }
  .goal-grid { grid-template-columns: 1fr; gap: .9rem; }
  .goal-card { min-height: 235px; padding: 1.5rem; border-radius: 0 26px 0 0; }
  .goal-card h3 { margin: 2.6rem 0 .75rem; font-size: 2rem; }
  .goal-card p { margin-bottom: 1rem; }
  .goal-card small { margin-top: 1rem; }
  .goal-card.is-active { transform: none; }

  .page-hero { min-height: auto; }
  .page-hero-content { padding: 3.8rem 1.2rem 3.25rem; }
  .page-hero-content::before { width: 56px; margin-bottom: 1.35rem; }
  .page-hero h1 { font-size: clamp(3rem, 13vw, 3.7rem); }
  .page-hero-image { min-height: 360px; }
  .page-hero-image img { object-position: center; }
  .about-page-hero .page-hero-image { order: 1; }
  .about-page-hero .page-hero-content { order: 2; }
  .about-page-hero .owner-portrait { object-position: 62% 38%; filter: saturate(.9) sepia(.08) blur(.45px); transform: scale(1.035); }
  .owner-photo-note { margin-top: .7rem; font-size: .64rem; }

  .treatment-layout { gap: 2rem; }
  .treatment-visual { max-width: none; }
  .treatment-visual img { aspect-ratio: 16 / 11; object-position: center 58%; }
  .visual-card { left: .8rem; bottom: .8rem; width: 145px; padding: 1rem; }
  .visual-card strong { font-size: 2rem; }
  .treatment-category-banner { min-height: 155px; margin: 1rem 0 1.2rem; border-radius: 0 26px 0 0; }
  .treatment-category-banner.premium {
    background-size: 100% 100%, auto 118%;
    background-position: center, right 46%;
  }
  .treatment-category-banner > div { inset: auto 1rem 1.1rem 1.1rem; max-width: none; }
  .treatment-category-banner p { font-size: 1.45rem; }
  .treatment-card { grid-template-columns: 1fr auto; margin-top: .7rem; padding: 1.15rem 1.1rem 1.3rem; border-radius: 0 20px 0 0; }
  .treatment-card h4 { padding-right: .5rem; font-size: 1rem; }
  .treatment-card h4 span { display: block; margin: .12rem 0 0; font-size: 1.05rem; }
  .treatment-card p { font-size: .86rem; line-height: 1.5; }
  .treatment-card > strong { padding-right: .4rem; font-size: 1.35rem; }
  .treatment-card::after { right: .9rem; bottom: .55rem; }
  .treatment-card.is-active { transform: none; }

  .about-image { min-height: 380px; }
  .about-copy { padding: 4rem 1.2rem; }
  .care-points { margin-top: 2rem; }
  .care-points span { gap: .8rem; }

  .story,
  .credentials,
  .visit,
  .testimonials { padding-top: 4.8rem; padding-bottom: 4.8rem; }
  .story::after,
  .credentials::before,
  .visit::before,
  .testimonials::before { top: 2.2rem; width: 58px; }
  .quote-grid { gap: .85rem; }
  .quote-card { padding: 1.45rem; }
  .quote-card blockquote { font-size: 1.35rem; }
  .value-card { padding: 2rem 1.2rem; }
  .value-card h3 { margin-top: 1.8rem; }
  .credentials-logo { width: 100%; }
  .visit-image img { aspect-ratio: 16 / 11; }

  .book-band { padding: 2.5rem 1.2rem; }
  .book-band p { font-size: 2.4rem; }
  .contact { padding: 4.8rem 1.2rem; }
  .contact h2 { font-size: clamp(2.8rem, 12vw, 3.6rem); }
  .contact-details { gap: .55rem; margin-top: 2.3rem; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 3.3rem; }
  .hero-content { padding-inline: 1rem; }
  .site-header .brand-name { font-size: 1.9rem; }
  .site-header .brand-tagline { font-size: .5rem; }
  .goal-card { padding: 1.35rem; }
  .treatment-card { padding: 1.05rem 1rem 1.2rem; }
}
