/* ==========================================================================
   LumaSKIN Clinic - Components
   Shared across all pages. Defined once, used identically.
   Page section styles live at the bottom of this file.
   ========================================================================== */

/* ==========================================================================
   Eyebrow Tag
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--text-eyebrow-spacing);
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-umber);
  margin-bottom: 16px;
}

/* Editorial accent tick before the label */
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--luma-gold);
  flex-shrink: 0;
}

.eyebrow--gold {
  color: var(--luma-gold);
}

/* Attribution caption (used sparingly under philosophy pull-quotes) */
.attribution {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--luma-umber);
  letter-spacing: 0;
}

.attribution--gold {
  color: var(--luma-gold);
}

/* ==========================================================================
   Navigation - Floating Island
   ========================================================================== */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 960px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 24px;
  background: rgba(241, 238, 231, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--luma-border-light);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  transition: box-shadow var(--dur-base) var(--ease-smooth),
              padding var(--dur-base) var(--ease-smooth);
}

.nav.scrolled {
  box-shadow: 0 4px 32px rgba(20, 22, 15, 0.10);
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav__wordmark {
  font-family: var(--font-logo);
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
  color: var(--luma-charcoal);   /* "Luma" */
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
  flex-shrink: 0;
}

.nav__wordmark span {
  color: var(--luma-gold-dark);  /* "SKIN" — eucalyptus accent */
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  position: relative;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--luma-mid);
  transition: color var(--dur-fast) var(--ease-smooth);
}

/* Animated hover underline (works in the bar and over the hero via currentColor) */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--luma-gold-dark);
}

.nav__cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__hamburger span {
  position: absolute;
  width: 20px;
  height: 1.5px;
  background: var(--luma-charcoal);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-smooth),
              opacity var(--dur-base) var(--ease-smooth);
  transform-origin: center;
}

.nav__hamburger span:nth-child(1) { transform: translateY(-4px); }
.nav__hamburger span:nth-child(2) { transform: translateY(4px); }

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(20, 22, 15, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-smooth),
              visibility var(--dur-base) var(--ease-smooth);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: var(--font-weight-light);
  color: var(--luma-cream);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.open .mobile-menu__link {
  animation: menuLinkIn var(--dur-slow) var(--ease-out-expo) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

.mobile-menu__cta {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.open .mobile-menu__cta {
  animation: menuLinkIn var(--dur-slow) var(--ease-out-expo) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

/* ==========================================================================
   CTA Pill Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  padding: 15px 26px;
  transition: background var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth),
              color var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--luma-obsidian);
  color: var(--luma-cream);
}

.btn--primary:hover {
  background: var(--luma-gold-dark);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--luma-umber);
  color: var(--luma-charcoal);
}

.btn--ghost:hover {
  background: var(--luma-sand);
  border-color: var(--luma-gold);
}

.btn--gold {
  background: var(--luma-gold-dark);
  color: var(--luma-white);
}

.btn--gold:hover {
  background: var(--luma-umber);
}

.btn--light {
  background: var(--luma-white);
  color: var(--luma-obsidian);
}

.btn--light:hover {
  background: var(--luma-gold-light);
}

.btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(241, 238, 231, 0.4);
  color: var(--luma-cream);
}

.btn--ghost-light:hover {
  background: rgba(241, 238, 231, 0.08);
  border-color: var(--luma-gold);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Trailing icon nest */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: -2px;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.btn__icon svg {
  width: 14px;
  height: 14px;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Treatment Card - Double Bezel
   ========================================================================== */
.tcard {
  background: var(--luma-white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--luma-border);
  overflow: hidden;
  transition: box-shadow var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo),
              border-color var(--dur-slow) var(--ease-out-expo);
  display: block;
}

.tcard:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
  border-color: var(--luma-gold);
}

.tcard__inner {
  background: var(--luma-white);
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tcard__media {
  width: 100%;
  border-radius: 0;
}

.tcard__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tcard__name {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-regular);
  color: var(--luma-charcoal);
  line-height: 1.15;
  margin-bottom: 8px;
}

.tcard__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tcard__footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.tcard__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--luma-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-smooth);
}

.tcard__arrow svg {
  width: 14px;
  height: 14px;
  color: var(--luma-charcoal);
  transition: color var(--dur-base) var(--ease-smooth);
}

.tcard:hover .tcard__arrow {
  background: var(--luma-gold);
  transform: translateX(3px) translateY(-3px);
}

.tcard:hover .tcard__arrow svg {
  color: var(--luma-white);
}

/* ==========================================================================
   Brand Pillars (home manifesto)
   ========================================================================== */
.pillar {
  padding-block: 22px;
}

.pillar + .pillar {
  border-top: 1px solid var(--luma-border);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--luma-gold);
  margin-bottom: 8px;
  display: block;
}

.pillar__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  margin-bottom: 6px;
}

.pillar__text {
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
}

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--luma-charcoal);
  line-height: 1.2;
  font-weight: var(--font-weight-light);
}

.rule-gold {
  width: 48px;
  height: 1px;
  background: var(--luma-gold);
  border: none;
  margin: 24px 0 14px;
}

/* ==========================================================================
   Dark Band - Stats
   ========================================================================== */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.stat {
  padding: 8px 24px;
  text-align: left;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 56px;
  width: 1px;
  background: rgba(76, 124, 104, 0.20);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: var(--font-weight-light);
  color: var(--luma-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--luma-muted);
}

/* ==========================================================================
   Before / After Carousel
   ========================================================================== */
.carousel {
  position: relative;
}

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.carousel__track::-webkit-scrollbar { display: none; }

.ba-slide {
  flex: 0 0 auto;
  width: min(440px, 80vw);
  scroll-snap-align: center;
}

.ba-compare {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-half {
  position: relative;
  overflow: hidden;
}

/* Each half shows one half of the same portrait, so the two halves
   reconstruct a single face split down the divider. */
.ba-half img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ba-half--before { background: #DBD5C8; }
.ba-half--after { background: #C7BCA8; }

/* "Before" = the left half, dulled. "After" = the right half, vibrant. */
.ba-half--before img {
  left: 0;
  filter: grayscale(0.5) brightness(0.9) contrast(0.92) saturate(0.85);
}

.ba-half--after img { right: 0; }

.ba-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-cream);
  background: rgba(20, 22, 15, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 5px 11px;
  border-radius: var(--radius-sm);
}

.ba-half--after .ba-tag { left: auto; right: 12px; }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
  z-index: 2;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--luma-white);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.ba-handle svg { width: 14px; height: 14px; color: var(--luma-umber); }

.ba-slide__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--luma-charcoal);
  margin-top: 16px;
}

.ba-slide__meta {
  font-size: 13px;
  color: var(--luma-muted);
  margin-top: 4px;
}

.carousel__nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
}

.carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--luma-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luma-charcoal);
  transition: background var(--dur-base) var(--ease-smooth);
}

.carousel__arrow:hover { background: var(--luma-sand); }
.carousel__arrow svg { width: 18px; height: 18px; }

.carousel__dots {
  display: none;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--luma-sand);
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-smooth);
}

.carousel__dot.active {
  background: var(--luma-gold);
  transform: scale(1.3);
}

/* ==========================================================================
   Testimonials Marquee
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
}

.marquee__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right,
    var(--luma-cream-mid) 0%, transparent 8%,
    transparent 92%, var(--luma-cream-mid) 100%);
}

.marquee__row {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.marquee__row + .marquee__row {
  margin-top: 20px;
}

.marquee__row--left {
  animation: marqueeLeft 50s linear infinite;
}

.marquee__row--right {
  animation: marqueeRight 50s linear infinite;
}

/* Pause only the row being hovered, not both rows */
.marquee__row:hover {
  animation-play-state: paused;
}

.tcard-quote {
  flex: 0 0 auto;
  min-width: 290px;
  max-width: 330px;
  background: var(--luma-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--luma-border);
  padding: 24px 26px;
  box-shadow: none;
  position: relative;
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
}

/* Lift gently on hover (no playful tilt — keeps the editorial register) */
.tcard-quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--luma-gold-light);
  z-index: 2;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.stars svg { width: 12px; height: 12px; color: var(--luma-gold); }

.tcard-quote__text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--luma-charcoal);
  line-height: 1.55;
  margin-bottom: 16px;
}

.tcard-quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard-quote__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.tcard-quote__name {
  font-size: 12px;
  color: var(--luma-muted);
  line-height: 1.4;
}

.tcard-quote__name strong {
  display: block;
  color: var(--luma-charcoal);
  font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   Full-bleed CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-band__media {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
}

.cta-band__media .img-placeholder {
  height: 100%;
  border-radius: 0;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(20, 22, 15, 0.72) 0%, rgba(20, 22, 15, 0.38) 100%);
}

.cta-band__content {
  position: relative;
  z-index: 2;
  padding: 80px var(--space-container);
  max-width: 720px;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-light);
  color: var(--luma-cream);
  line-height: 1.05;
  margin-bottom: 16px;
}

.cta-band__sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--luma-gold-light);
  margin-bottom: 32px;
}

/* ==========================================================================
   Clean CTA (home + skin plans) - framed light band, no image gradient
   ========================================================================== */
.cta-clean {
  padding-block: var(--space-section);
  background: var(--luma-cream);
}

.cta-clean__frame {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  background: var(--luma-pearl);
  border: 1px solid var(--luma-border);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) var(--space-container);
  text-align: center;
  overflow: hidden;
}

/* very subtle ambient warmth, not a hard gradient */
.cta-clean__frame::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(76, 124, 104, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.cta-clean__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.cta-clean__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-light);
  letter-spacing: -0.015em;
  color: var(--luma-charcoal);
  line-height: 1.06;
  margin-bottom: 16px;
}

.cta-clean__sub {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  margin-inline: auto;
}

.cta-clean .rule-gold {
  margin: 0 auto 28px;
}

/* ==========================================================================
   Dark split CTA (pages 02/03/04/05)
   ========================================================================== */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cta-split__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-light);
  color: var(--luma-cream);
  line-height: 1.1;
  margin-bottom: 18px;
}

.cta-split__text {
  color: var(--luma-muted);
  font-size: var(--text-body-lg);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-gap);
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--luma-gold);
  z-index: 0;
}

.tstep {
  position: relative;
  z-index: 1;
  text-align: center;
}

.tstep__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--luma-gold);
  background: var(--luma-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--luma-gold);
  margin: 0 auto 16px;
}

.tstep__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  margin-bottom: 8px;
}

.tstep__desc {
  font-size: 13px;
  color: var(--luma-mid);
  line-height: 1.6;
}

/* On pearl backgrounds the circle should match */
.section--pearl .tstep__circle { background: var(--luma-pearl); }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--luma-border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: var(--luma-charcoal);
}

.faq__toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-smooth);
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  background: var(--luma-umber);
  border-radius: 2px;
}

.faq__toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq__toggle::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.faq__item.open .faq__toggle {
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-smooth);
}

.faq__a-inner {
  padding: 0 0 24px;
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.7;
  max-width: 680px;
}

/* ==========================================================================
   Tag pills (Treats / credentials)
   ========================================================================== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--luma-charcoal);
  background: var(--luma-sand);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.tag--dark {
  background: rgba(76, 124, 104, 0.14);
  color: var(--luma-gold-light);
}

/* ==========================================================================
   Footer - full-screen pinned curtain reveal
   The footer is fixed full-bleed behind the page and fills the whole viewport.
   The page rides above it on an opaque layer; JS reserves one full viewport of
   scroll space so the page slides completely away, revealing only the footer.
   ========================================================================== */

/* Page content rides above the pinned footer on its own opaque layer. */
main {
  position: relative;
  z-index: 1;
  background: var(--luma-cream);
}

.footer {
  position: fixed;
  inset: 0;                  /* fill the whole viewport behind the curtain */
  width: 100%;
  z-index: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--luma-obsidian);
  color: var(--luma-muted);
}

/* Main content area fills the screen and centres vertically. */
.footer__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(40px, 6vh, 80px);
  padding-block: clamp(56px, 8vh, 104px);
  min-height: 0;
}

/* Row 1: brand (left) + newsletter (right) */
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(36px, 4vh, 56px);
  border-bottom: 1px solid rgba(76, 124, 104, 0.18);
}

.footer__wordmark {
  font-family: var(--font-logo);
  font-style: normal;
  font-weight: 900;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1;
  /* The spec colors (#18120E / #2F241D) are invisible on the dark footer,
     so the lockup uses legible light tones here while keeping two tones. */
  color: var(--luma-cream);   /* "Luma" */
  margin-bottom: 18px;
}

.footer__wordmark span {
  color: var(--luma-gold);    /* "SKIN" */
}

.footer__brand-desc {
  font-size: 16px;
  color: var(--luma-muted);
  line-height: 1.7;
  max-width: 360px;
}

/* Newsletter */
.footer__news {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.footer__news-label {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--luma-cream);
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: var(--font-weight-light);
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(241, 238, 231, 0.05);
  border: 1px solid rgba(76, 124, 104, 0.28);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  transition: border-color var(--dur-fast) var(--ease-smooth);
}

.newsletter:focus-within {
  border-color: var(--luma-gold);
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--luma-cream);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 0;
}

.newsletter__input::placeholder {
  color: var(--luma-muted);
}

.newsletter__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--luma-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luma-obsidian);
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-spring);
}

.newsletter__btn:hover {
  background: var(--luma-gold-light);
  transform: scale(1.06);
}

.newsletter__btn svg { width: 16px; height: 16px; }

.newsletter__note {
  min-height: 18px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--luma-gold-light);
}

/* Row 2: three columns */
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(36px, 4vh, 56px);
}

.footer__col-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-gold-light);
  margin-bottom: 20px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-size: 15px;
  color: var(--luma-muted);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer__link:hover { color: var(--luma-gold); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--luma-muted);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}

.footer__social a {
  color: var(--luma-muted);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer__social a:hover { color: var(--luma-gold); }
.footer__social svg { width: 20px; height: 20px; }

/* Bottom bar pinned to the very bottom of the screen */
.footer__bottom {
  border-top: 1px solid rgba(76, 124, 104, 0.10);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 13px;
  color: var(--luma-muted);
}

.footer__legal {
  display: flex;
  gap: 22px;
}

.footer__legal a {
  color: var(--luma-muted);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer__legal a:hover { color: var(--luma-gold); }

/* Desktop: keep the legal links clear of the floating chat widget bottom-right. */
@media (min-width: 769px) {
  .footer__legal { padding-right: 2rem; }
}

/* The content blocks lift and fade in as the curtain rises (set via JS). */
.footer__top,
.footer__cols,
.footer__bottom-inner {
  will-change: transform;
}

/* Fallbacks: no JS, unpinned (mobile), or reduced motion -> normal flow. */
.no-js .footer,
html:not(.footer-pinned) .footer {
  position: static;
  display: block;
  border-top: 1px solid rgba(76, 124, 104, 0.25);
}

.no-js .footer__main,
html:not(.footer-pinned) .footer__main {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .footer {
    position: static;
    display: block;
    border-top: 1px solid rgba(76, 124, 104, 0.25);
  }
  .footer__main {
    display: block;
  }
  main {
    margin-bottom: 0 !important;
  }
  .footer__top,
  .footer__cols,
  .footer__bottom-inner {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   Chatbot Widget
   ========================================================================== */
.chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 950;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--luma-obsidian);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-spring),
              transform var(--dur-fast) var(--ease-spring);
}

.chat-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(76, 124, 104, 0.22);
  z-index: -1;
  animation: pulseRing 2.4s var(--ease-out-expo) infinite;
}

.chat-toggle:hover {
  background: var(--luma-gold-dark);
  transform: scale(1.06);
}

.chat-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--luma-gold);
}

.chat-toggle.hidden { display: none; }

.chat-panel {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 950;
  width: 340px;
  height: 480px;
  background: rgba(241, 238, 231, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--luma-border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 64px rgba(20, 22, 15, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.88) translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-spring),
              transform var(--dur-slow) var(--ease-spring),
              visibility var(--dur-slow) var(--ease-spring);
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.chat-panel__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--luma-charcoal);
  line-height: 1.2;
}

.chat-panel__sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--luma-muted);
  font-style: normal;
}

.chat-panel__close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luma-charcoal);
}

.chat-panel__close svg { width: 18px; height: 18px; }

.chat-panel__divider {
  height: 1px;
  background: var(--luma-border-light);
}

.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chat-area::-webkit-scrollbar { display: none; }

.bubble {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  padding: 10px 14px;
  max-width: 85%;
  animation: bubbleIn var(--dur-base) var(--ease-out-expo);
}

.bubble--user {
  align-self: flex-end;
  background: var(--luma-obsidian);
  color: var(--luma-cream);
  border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
}

.bubble--assistant {
  align-self: flex-start;
  background: var(--luma-sand);
  color: var(--luma-charcoal);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.chat-quick__pill {
  border: 1px solid var(--luma-border);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--luma-charcoal);
  background: transparent;
  transition: background var(--dur-fast) var(--ease-smooth);
  text-align: left;
}

.chat-quick__pill:hover { background: var(--luma-sand); }

.typing {
  align-self: flex-start;
  background: var(--luma-sand);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
  padding: 12px 14px;
  display: flex;
  gap: 5px;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--luma-umber);
  animation: dotBounce 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.16s; }
.typing span:nth-child(3) { animation-delay: 0.32s; }

.chat-input {
  padding: 12px;
  border-top: 1px solid var(--luma-border-light);
  position: relative;
}

.chat-input__field {
  width: 100%;
  border: 1px solid var(--luma-border);
  border-radius: var(--radius-pill);
  padding: 10px 44px 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--luma-charcoal);
  background: var(--luma-white);
}

.chat-input__field:focus {
  outline: none;
  border-color: var(--luma-gold);
}

.chat-input__send {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--luma-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input__send svg { width: 12px; height: 12px; color: var(--luma-white); }
.chat-input__send.pulse { animation: sendPulse var(--dur-base) var(--ease-spring); }

/* Grain overlay (only on body::before of dark difference section context) */
.has-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   ==========================================================================
   PAGE SECTION STYLES
   ==========================================================================
   ========================================================================== */

/* ---- Home Hero - pinned, full-bleed, 60/40 (desktop overrides in responsive.css) ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--luma-obsidian);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg, rgba(20, 22, 15, 0.80) 0%, rgba(20, 22, 15, 0.52) 44%, rgba(20, 22, 15, 0.30) 100%),
    linear-gradient(to top, rgba(20, 22, 15, 0.5) 0%, transparent 46%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 84px;
  box-sizing: border-box;
}

.hero__left { max-width: 640px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(46px, 6.6vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--luma-cream);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero__title em { font-style: italic; color: var(--luma-gold-light); }

.hero__lead {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--luma-muted);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 34px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Light pinned hero (Prices): same pin/curtain motion, light surface ---- */
.hero.hero--light { background: var(--luma-pearl); }
.hero.hero--light .hero__title { color: var(--luma-charcoal); }
.hero.hero--light .hero__title em { color: var(--luma-gold-dark); }
.hero.hero--light .hero__lead { color: var(--luma-mid); }
.hero.hero--light .scroll-cue-wrap { color: var(--luma-umber); }

/* The right column holds an invisible anchor box; hero.js measures it to
   place the morphing nav links. Hidden on mobile (hamburger handles nav). */
.hero__right { display: none; }
.hero__navslot { width: 100%; height: 100%; }

/* ---- Navbar: hide on scroll-down (transform managed by nav.js) ---- */
.nav.nav--hidden { transform: translateX(-50%) translateY(-135%); }

/* ---- Navbar transparent over the hero (logo only) ---- */
.nav.nav--hero {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* Dark hero (default): light nav contents */
.nav.nav--hero .nav__wordmark { color: var(--luma-cream); }
.nav.nav--hero .nav__wordmark span { color: var(--luma-gold-light); }
.nav.nav--hero .nav__link { color: var(--luma-cream); }
.nav.nav--hero .nav__link:hover { color: var(--luma-gold-light); }

/* Light hero (e.g. Prices): keep dark nav contents for contrast */
.nav.nav--hero.nav--hero-light .nav__wordmark { color: var(--luma-charcoal); }
.nav.nav--hero.nav--hero-light .nav__wordmark span { color: var(--luma-gold-dark); }
.nav.nav--hero.nav--hero-light .nav__link { color: var(--luma-mid); }
.nav.nav--hero.nav--hero-light .nav__link:hover { color: var(--luma-gold-dark); }

/* Only the index morph hides the Book Now CTA (links fly into its place);
   other pinned heroes keep the full navbar, just transparent. */
.nav.nav--hero.nav--morph .nav__cta { opacity: 0; pointer-events: none; }

.scroll-cue-wrap {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--luma-umber);
  opacity: 0.6;
}

.scroll-cue svg { width: 22px; height: 22px; }

/* ---- Generic page hero (treatments / injectables) ---- */
.page-hero {
  position: relative;
  min-height: 60dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.page-hero--tall { min-height: 80dvh; }

.page-hero__content {
  padding: 140px var(--space-container) 80px;
  max-width: 620px;
  box-sizing: border-box;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-light);
  line-height: 1.08;
  color: var(--luma-charcoal);
  margin-bottom: 22px;
}

.page-hero__lead {
  font-size: 16px;
  color: var(--luma-mid);
  line-height: 1.7;
  max-width: 480px;
}

.page-hero__media {
  position: relative;
  height: 100%;
  min-height: 60dvh;
}

.page-hero__media .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
}

/* ---- Laser dark full-bleed hero ---- */
.hero-dark {
  position: relative;
  min-height: 100dvh;
  background: var(--luma-obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-dark__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-dark__media .img-placeholder {
  height: 100%;
  border-radius: 0;
  opacity: 0.45;
}

.hero-dark__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 70% 50%, rgba(76, 124, 104, 0.12) 0%, transparent 60%);
}

.hero-dark__content {
  position: relative;
  z-index: 2;
  padding: 120px var(--space-container);
  max-width: 760px;
}

.hero-dark__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--font-weight-light);
  line-height: 1.05;
  color: var(--luma-cream);
  margin-bottom: 22px;
}

.hero-dark__lead {
  font-size: 17px;
  color: var(--luma-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 32px;
}

.hero-dark__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Editorial centered hero (skin plans) ---- */
.hero-editorial {
  min-height: 70dvh;
  display: flex;
  align-items: center;
  background: var(--luma-cream);
}

.hero-editorial__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 140px var(--space-container) 80px;
}

.hero-editorial__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-light);
  line-height: 1.08;
  color: var(--luma-charcoal);
  margin-bottom: 22px;
}

.hero-editorial__lead {
  font-size: 18px;
  color: var(--luma-mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 32px;
}

.overlap-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.overlap-avatars {
  display: flex;
}

.overlap-avatars .img-placeholder {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  border: 2px solid var(--luma-cream);
}

.overlap-avatars .img-placeholder + .img-placeholder {
  margin-left: -16px;
}

.overlap-row__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.overlap-row__meta .stars {
  margin-bottom: 0;
}

.overlap-row span {
  font-size: 13px;
  color: var(--luma-muted);
}

/* ---- Section editorial (injectables dark) ---- */
.editorial-block {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.editorial-block__head {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--luma-cream);
  line-height: 1.15;
  margin-bottom: 32px;
  font-weight: var(--font-weight-light);
}

.editorial-block p {
  color: var(--luma-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.editorial-block .rule-gold {
  margin: 32px auto 14px;
  width: 60px;
}

/* ---- Treatment category tabs ---- */
.tabs {
  position: sticky;
  top: 80px;
  z-index: 800;
  background: rgba(241, 238, 231, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--luma-border-light);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.tabs__inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 16px var(--space-container);
}

.tabs__inner::-webkit-scrollbar { display: none; }

.tab {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--luma-mid);
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-fast) var(--ease-smooth);
}

.tab.active {
  color: var(--luma-charcoal);
  border-bottom-color: var(--luma-gold);
}

.tcard[hidden] { display: none; }

/* ---- Editorial tech split (laser) ---- */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.tech-split--reverse .tech-split__media {
  order: 2;
}

.tech-split__media .img-placeholder {
  border-radius: var(--radius-lg);
}

.tech-split__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-light);
  color: var(--luma-charcoal);
  line-height: 1.1;
  margin-bottom: 18px;
}

.tech-split__text {
  color: var(--luma-mid);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tech-split__bestfor {
  font-size: 13px;
  color: var(--luma-umber);
  margin-top: 16px;
}

.tech-split__bestfor strong { color: var(--luma-charcoal); }

/* ---- Device horizontal scroll (laser) ---- */
.device-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.device-scroll::-webkit-scrollbar { display: none; }

.device-track {
  display: flex;
  gap: 20px;
  padding: 32px var(--space-container);
  width: max-content;
}

.device-card {
  min-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: rgba(241, 238, 231, 0.06);
  border: 1px solid rgba(76, 124, 104, 0.20);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.device-card .img-placeholder {
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.device-card__name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-cream);
  margin-bottom: 6px;
}

.device-card__desc {
  font-size: 12px;
  color: var(--luma-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ---- Safety / icon cards ---- */
.grid-3 {
  display: grid;
  gap: var(--space-gap);
}

.safety-card {
  background: var(--luma-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--luma-gold);
}

.safety-card__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  margin-bottom: 10px;
}

.safety-card__desc {
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
}

.icon-card__icon {
  color: var(--luma-gold);
  margin-bottom: 16px;
}

.icon-card__icon svg { width: 24px; height: 24px; }

.icon-card__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  margin-bottom: 8px;
}

.icon-card__desc {
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
}

/* ---- Doctor profile ---- */
.doctor__credentials {
  font-size: 13px;
  color: var(--luma-umber);
  margin-bottom: 20px;
}

.doctor__bio p {
  font-size: 15px;
  color: var(--luma-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---- Plan comparison ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gap);
  align-items: start;
}

.plan {
  position: relative;
  background: var(--luma-white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--luma-border-light);
}

.plan--featured {
  border: 1.5px solid var(--luma-gold);
  box-shadow: var(--shadow-gold);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--luma-gold-dark);
  color: var(--luma-cream);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--luma-charcoal);
  margin-bottom: 12px;
}

.plan__price {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  line-height: 1;
  margin-bottom: 20px;
}

.plan__price span {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--luma-muted);
}

.plan__divider {
  height: 1px;
  background: var(--luma-border);
  margin-bottom: 20px;
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.5;
}

.plan__feature svg {
  width: 14px;
  height: 14px;
  color: var(--luma-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- Vertical journey timeline (skin plans) ---- */
.journey {
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  padding-left: 28px;
}

.journey::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  border-left: 1px dashed var(--luma-gold);
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding-bottom: 40px;
}

.milestone:last-child { padding-bottom: 0; }

.milestone::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--luma-gold);
  transform: translateX(-1px);
}

.milestone__month {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--luma-umber);
}

.milestone__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  margin-bottom: 8px;
}

.milestone__desc {
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
}

/* ---- Plan testimonials ---- */
.plan-testi {
  background: var(--luma-pearl);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.plan-testi__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--luma-charcoal);
  line-height: 1.4;
  margin-bottom: 24px;
}

.plan-testi__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-testi__avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.plan-testi__name {
  font-size: 13px;
  color: var(--luma-muted);
}

.plan-testi__name strong {
  display: block;
  color: var(--luma-charcoal);
}

/* ==========================================================================
   Booking page
   ========================================================================== */
.book-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}

.book-hero__left {
  background: var(--luma-obsidian);
  display: flex;
  align-items: center;
  padding: 140px var(--space-container) 80px;
}

.book-hero__left-inner {
  max-width: 480px;
}

.book-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--font-weight-light);
  color: var(--luma-cream);
  line-height: 1.08;
  margin-bottom: 18px;
}

.book-hero__lead {
  color: var(--luma-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.reassure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.reassure__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--luma-cream);
  font-size: 14px;
}

.reassure__item svg {
  width: 18px;
  height: 18px;
  color: var(--luma-gold);
  flex-shrink: 0;
}

.book-hero__photo {
  max-width: 360px;
  border-radius: var(--radius-lg);
}

.book-hero__right {
  background: var(--luma-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--space-container) 80px;
}

/* ---- Booking form ---- */
.booking-form {
  background: var(--luma-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hover);
  max-width: 520px;
  width: 100%;
  padding: 32px;
}

.progress {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--luma-muted);
  white-space: nowrap;
}

.progress__step.active { color: var(--luma-charcoal); }

.progress__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--luma-sand);
}

.progress__step.active .progress__dot { background: var(--luma-gold); }

.progress__line {
  flex: 1;
  height: 1px;
  background: var(--luma-sand);
  margin: 0 10px;
}

.step__heading {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--luma-charcoal);
  margin-bottom: 6px;
}

.step__sub {
  font-size: 13px;
  color: var(--luma-mid);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.select-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--luma-border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--luma-charcoal);
  background: transparent;
  transition: border-color var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth);
}

.select-pill__check {
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width var(--dur-fast), opacity var(--dur-fast);
}

.select-pill.selected {
  border-color: var(--luma-gold);
  background: var(--luma-pearl);
}

.select-pill.selected .select-pill__check {
  width: 12px;
  opacity: 1;
}

.select-pill__check svg { width: 12px; height: 12px; color: var(--luma-gold-dark); }

.step__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.link-back {
  font-size: 13px;
  color: var(--luma-mid);
  background: none;
}

.link-back:hover { color: var(--luma-charcoal); }

.first-avail {
  display: inline-block;
  font-size: 13px;
  color: var(--luma-gold-dark);
  margin-bottom: 14px;
  background: none;
}

.first-avail:hover { text-decoration: underline; }

/* ---- Calendar ---- */
.calendar {
  margin-bottom: 24px;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar__month {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--luma-charcoal);
}

.calendar__nav {
  display: flex;
  gap: 8px;
}

.calendar__nav button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--luma-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luma-charcoal);
  transition: background var(--dur-fast) var(--ease-smooth);
}

.calendar__nav button:hover { background: var(--luma-sand); }
.calendar__nav button svg { width: 14px; height: 14px; }

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar__dow {
  text-align: center;
  font-size: 11px;
  color: var(--luma-muted);
  padding-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calendar__day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--luma-charcoal);
  border-radius: var(--radius-sm);
  background: none;
  transition: background var(--dur-fast) var(--ease-smooth);
}

.calendar__day:hover:not(:disabled):not(.empty) {
  background: var(--luma-sand);
}

.calendar__day.selected {
  background: var(--luma-gold);
  color: var(--luma-white);
}

.calendar__day:disabled,
.calendar__day.unavailable {
  opacity: 0.25;
  cursor: not-allowed;
}

.calendar__day.empty {
  visibility: hidden;
}

/* ---- Time slots ---- */
.slots__group + .slots__group { margin-top: 16px; }

.slots__label {
  font-size: 12px;
  color: var(--luma-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.slots__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot {
  border: 1px solid var(--luma-border);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--luma-charcoal);
  background: transparent;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.slot.selected {
  border-color: var(--luma-gold);
  background: var(--luma-pearl);
}

/* ---- Form inputs (floating label) ---- */
.field {
  position: relative;
  margin-bottom: 16px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--luma-border);
  border-radius: var(--radius-md);
  padding: 20px 16px 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--luma-charcoal);
  background: var(--luma-white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
  max-height: 160px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--luma-gold);
  box-shadow: 0 0 0 3px rgba(76, 124, 104, 0.12);
}

.field label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 14px;
  color: var(--luma-muted);
  pointer-events: none;
  transition: transform var(--dur-fast) var(--ease-smooth),
              font-size var(--dur-fast) var(--ease-smooth),
              color var(--dur-fast) var(--ease-smooth);
  transform-origin: left top;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(0.78);
  color: var(--luma-umber);
}

.field--error input,
.field--error textarea {
  border-color: var(--luma-blush);
}

.field__error {
  display: none;
  font-size: 12px;
  color: var(--luma-blush);
  margin-top: 6px;
}

.field--error .field__error { display: block; }

.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.privacy-line {
  font-size: 12px;
  color: var(--luma-muted);
  line-height: 1.5;
  margin: 6px 0 18px;
}

/* ---- Confirmation ---- */
.booking-confirm {
  text-align: center;
  padding: 24px 8px;
}

.booking-confirm__icon {
  color: var(--luma-gold);
  margin: 0 auto 20px;
  width: 48px;
  height: 48px;
}

.booking-confirm__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--luma-charcoal);
  margin-bottom: 14px;
}

.booking-confirm__detail {
  font-size: 15px;
  color: var(--luma-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}

.booking-confirm__sub {
  font-size: 13px;
  color: var(--luma-muted);
}

/* ---- Contact / location ---- */
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--luma-mid);
  margin-bottom: 14px;
  line-height: 1.5;
}

.contact-line svg {
  width: 16px;
  height: 16px;
  color: var(--luma-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Interactive map embed */
.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--luma-sand);
  border: 1px solid var(--luma-border);
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* The embed cannot be styled natively, so tint it toward the warm
     stone / espresso / cream palette. True colors return on hover. */
  filter: sepia(0.55) saturate(1.25) hue-rotate(-12deg) brightness(0.97) contrast(1.02);
  transition: filter var(--dur-slow) var(--ease-smooth);
}

.map-embed:hover iframe,
.map-embed:focus-within iframe {
  filter: none;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--luma-gold-dark);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.map-link:hover { color: var(--luma-umber); }
.map-link svg { width: 16px; height: 16px; }

.contact-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--luma-charcoal);
  margin-bottom: 20px;
}

/* ==========================================================================
   Muted text on LIGHT surfaces
   --luma-muted (#C1CCBA) is tuned for dark backgrounds. On cream/white these
   secondary texts were too faint, so they use the darker --luma-muted-ink.
   ========================================================================== */
.ba-slide__meta,
.tcard-quote__name,
.chat-panel__sub,
.overlap-row span,
.plan__price span,
.plan-testi__name,
.progress__step,
.calendar__dow,
.slots__label,
.field label,
.privacy-line,
.booking-confirm__sub {
  color: var(--luma-muted-ink);
}

/* keep the nested bold names readable (they were already charcoal) */
.tcard-quote__name strong,
.plan-testi__name strong {
  color: var(--luma-charcoal);
}

/* ==========================================================================
   Injectables "What we treat" - fixed 3 x 2 matrix
   ========================================================================== */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gap);
}

/* ==========================================================================
   Skin Plans - treatment menu (price list)
   ========================================================================== */
.section-lead {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 14px auto 0;
}

/* Subtitle/description under a section heading (left-aligned). */
.section-sub {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.75;
  max-width: 62ch;
  margin-top: 16px;
}

.section-head--center .section-sub { margin-inline: auto; }

/* Two-column description block beneath a heading. */
.intro-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 72px);
  margin-top: clamp(20px, 2.4vw, 30px);
}

.intro-2col p {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.75;
  margin: 0;
}

/* "Skincare by decade" age guide — reuses .principle card styling. */
.decades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(36px, 4vw, 56px);
}

@media (max-width: 680px) {
  .intro-2col { grid-template-columns: 1fr; }
}

.pricelist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 104px);
  max-width: 1040px;
  margin-inline: auto;
}

.price-group__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--font-weight-light);
  color: var(--luma-charcoal);
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--luma-border);
}

.pricerow {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--luma-border-light);
}

.pricerow__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--luma-charcoal);
}

.pricerow__desc {
  grid-column: 1 / 2;
  font-size: 13px;
  color: var(--luma-muted-ink);
  margin-top: 4px;
  line-height: 1.5;
}

.pricerow__price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--luma-gold-dark);
  white-space: nowrap;
}

.pricerow__price small {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--luma-muted-ink);
  margin-left: 4px;
}

.pricelist__note {
  max-width: 1040px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  font-size: 13px;
  color: var(--luma-muted-ink);
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Skin Plans - "Included with every treatment" (the LumaSKIN standard)
   ========================================================================== */
.standard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 96px);
  max-width: 980px;
  margin-inline: auto;
}

.standard__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--luma-border-light);
}

.standard__num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--luma-gold);
  line-height: 1.3;
}

.standard__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-charcoal);
  margin-bottom: 8px;
}

.standard__desc {
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
}

/* ==========================================================================
   ==========================================================================
   MASTHEAD HERO SYSTEM (editorial)
   One composition system, varied per page so heroes read as a family:
     .masthead--split        image as a full-height column bleeding to edge
     .masthead--reverse      flips the split (image on the left)
     .masthead--media-bleed  full-bleed image behind overlaid type + scrim
     .masthead--dark         dark register for media-bleed (laser)
     .masthead--type         type-only editorial (no image)
   ==========================================================================
   ========================================================================== */
.masthead {
  position: relative;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--luma-cream);
}

.masthead__body {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Full-bleed gutters to match the desktop .container (left edge aligns
     with the nav), so the media column can bleed cleanly to the screen edge. */
  max-width: none;
  margin-inline: auto;
  padding: clamp(132px, 17vh, 210px) var(--space-container) clamp(60px, 9vh, 112px);
  box-sizing: border-box;
}

/* ---- Masthead furniture: a small tracked meta line ---- */
.masthead__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 18px;
  margin-bottom: clamp(22px, 3.4vw, 38px);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-umber);
}

.masthead__meta span {
  position: relative;
}

.masthead__meta span + span {
  padding-left: 19px;
}

.masthead__meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--luma-gold);
  transform: translateY(-50%);
}

/* ---- Type ---- */
.masthead__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(46px, 6.6vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--luma-charcoal);
  max-width: 15ch;
  margin-bottom: clamp(22px, 2.6vw, 32px);
  text-wrap: balance;
}

.masthead__title em {
  font-style: italic;
  color: var(--luma-umber);
}

.masthead__lead {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: clamp(26px, 3vw, 36px);
}

.masthead__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Media element shared ---- */
.masthead__media {
  position: relative;
}

.masthead__media .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
}

/* Parallax media needs vertical overflow room so it never reveals a gap */
.masthead__media .img-placeholder[data-parallax] {
  inset: -12% 0;
  height: 124%;
}

/* ==========================================================================
   Variant: split (image as a bleeding full-height column)
   ========================================================================== */
.masthead--split .masthead__body {
  display: grid;
  grid-template-columns: 1fr clamp(360px, 43vw, 720px);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

.masthead--split .masthead__copy {
  align-self: center;
  max-width: 600px;
}

.masthead--split .masthead__media {
  align-self: stretch;
  min-height: 56dvh;
  /* bleed out to the true screen edge past the container padding */
  margin-right: calc(-1 * var(--space-container));
}

/* reverse: image column on the left */
.masthead--split.masthead--reverse .masthead__body {
  grid-template-columns: clamp(360px, 43vw, 720px) 1fr;
}

.masthead--reverse .masthead__media {
  order: -1;
  margin-right: 0;
  margin-left: calc(-1 * var(--space-container));
}

/* ==========================================================================
   Variant: media-bleed (full image behind overlaid type)
   ========================================================================== */
.masthead--media-bleed {
  min-height: 90dvh;
}

.masthead--media-bleed .masthead__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.masthead--media-bleed .masthead__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg, rgba(20, 22, 15, 0.82) 0%, rgba(20, 22, 15, 0.52) 36%,
      rgba(20, 22, 15, 0.14) 68%, rgba(20, 22, 15, 0) 100%),
    linear-gradient(to top, rgba(20, 22, 15, 0.45) 0%, transparent 42%);
}

.masthead--media-bleed .masthead__copy {
  max-width: 620px;
}

.masthead--media-bleed .masthead__title {
  color: var(--luma-cream);
}

.masthead--media-bleed .masthead__title em {
  color: var(--luma-gold-light);
}

.masthead--media-bleed .masthead__lead {
  color: var(--luma-muted);
}

.masthead--media-bleed .masthead__meta {
  color: var(--luma-gold-light);
}

.masthead--media-bleed .masthead__meta span + span::before {
  background: var(--luma-gold-light);
}

/* dark register: a quieter radial glow instead of the warm scrim */
.masthead--dark {
  background: var(--luma-obsidian);
}

.masthead--dark .masthead__media .img-placeholder {
  opacity: 0.5;
}

.masthead--dark .masthead__scrim {
  background:
    radial-gradient(120% 90% at 18% 50%, rgba(20, 22, 15, 0.88) 0%, rgba(20, 22, 15, 0.5) 45%, rgba(20, 22, 15, 0.2) 100%),
    radial-gradient(70% 60% at 80% 45%, rgba(79, 135, 112, 0.16) 0%, transparent 70%);
}

/* ==========================================================================
   Variant: type-only (editorial, no image)
   ========================================================================== */
.masthead--type {
  min-height: 66dvh;
}

.masthead--type .masthead__copy {
  max-width: 940px;
}

.masthead--type .masthead__title {
  max-width: 18ch;
}

.masthead__rule {
  width: 64px;
  height: 1px;
  background: var(--luma-gold);
  border: 0;
  margin: clamp(28px, 3vw, 40px) 0 0;
}

/* Social-proof row reused under a masthead (prices) */
.masthead .overlap-row {
  justify-content: flex-start;
  margin-top: clamp(28px, 3vw, 40px);
}

/* Scroll cue lives inside the masthead on the home page */
.masthead .scroll-cue-wrap {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--luma-umber);
  opacity: 0.6;
}

/* ==========================================================================
   Legal / content pages (Privacy, Terms) and the 404 page
   ========================================================================== */
.page-head {
  padding-top: clamp(128px, 16vh, 196px);
  padding-bottom: clamp(24px, 4vh, 44px);
}

.page-head__meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-umber);
  margin-bottom: 16px;
}

.page-head__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--luma-charcoal);
}

.page-head__lead {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.7;
  max-width: 60ch;
  margin-top: 18px;
}

/* ---- Long-form legal prose ---- */
.legal { max-width: 768px; }

.legal h2 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-light);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--luma-charcoal);
  margin-top: clamp(40px, 5vw, 60px);
  margin-bottom: 14px;
}

.legal > h2:first-child { margin-top: 0; }

.legal h3 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 16px;
  color: var(--luma-charcoal);
  margin-top: 26px;
  margin-bottom: 8px;
}

.legal p,
.legal li {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.75;
}

.legal p + p { margin-top: 14px; }

.legal ul {
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}

.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--luma-gold); }

.legal a {
  color: var(--luma-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover { color: var(--luma-gold); }
.legal strong { color: var(--luma-charcoal); font-weight: var(--font-weight-semibold); }

.legal__updated {
  font-size: 13px;
  color: var(--luma-umber);
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--luma-border);
}

/* ---- 404 ---- */
.notfound {
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.notfound__inner { max-width: 640px; }

.notfound__code {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(120px, 24vw, 260px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--luma-charcoal);
}

.notfound__code em { font-style: italic; color: var(--luma-gold-dark); }

.notfound__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--luma-charcoal);
  margin-top: clamp(16px, 2vw, 26px);
}

.notfound__lead {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.7;
  max-width: 48ch;
  margin-top: 16px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* ==========================================================================
   Treatment Index — numbered editorial list with hover-reveal preview
   (treatments + injectables). Whole row is the link; no card, no arrow chip.
   ========================================================================== */
.tindex {
  counter-reset: tindex;
  border-top: 1px solid var(--luma-border);
  position: relative;
}

.tindex__row {
  counter-increment: tindex;
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.05fr) 38px;
  align-items: center;
  gap: clamp(14px, 2.6vw, 44px);
  padding: clamp(22px, 2.6vw, 36px) 6px;
  border-bottom: 1px solid var(--luma-border);
  transition: background var(--dur-base) var(--ease-smooth);
}

.tindex__row::before {
  content: counter(tindex, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  color: var(--luma-gold);
  font-variant-numeric: tabular-nums;
}

.tindex__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--luma-charcoal);
  transition: color var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-out-expo);
}

.tindex__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.6;
  max-width: 46ch;
}

.tindex__cue {
  justify-self: end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--luma-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luma-charcoal);
  transition: background var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-out-expo);
}

.tindex__cue svg { width: 15px; height: 15px; }

/* floating image preview, revealed on row hover */
.tindex__media {
  position: absolute;
  top: 50%;
  right: clamp(48px, 9vw, 150px);
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transform: translateY(-50%) scale(0.92) rotate(-2deg);
  transition: opacity var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-out-expo);
}

.tindex__media .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: inherit;
}

@media (hover: hover) {
  /* Revealed rows each form their own stacking context (transform/filter from
     .reveal.in-view), which would trap the floating image inside the hovered
     row. Lifting the whole row on hover lets the preview float in front of the
     rows above AND below. */
  .tindex__row:hover { background: var(--luma-pearl); z-index: 10; }
  .tindex__row:hover .tindex__name {
    color: var(--luma-gold-dark);
    transform: translateX(8px);
  }
  .tindex__row:hover .tindex__cue {
    background: var(--luma-gold);
    border-color: var(--luma-gold);
    color: var(--luma-white);
    transform: translateX(3px) translateY(-3px);
  }
  .tindex__row:hover .tindex__media {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(-2deg);
  }
}

/* ==========================================================================
   Treatment Gallery — asymmetric overlay tiles (home "Our Treatments")
   Image-forward; title overlaid on a scrim; description reveals on hover.
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(168px, 18vw, 248px);
  gap: clamp(8px, 1vw, 14px);
}

.gtile {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: var(--luma-cream-mid);
}

.gtile:focus-visible {
  outline: 2px solid var(--luma-cream);
  outline-offset: -4px;
}

.gtile .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
}

.gtile .img-placeholder img,
.gtile .img-placeholder video {
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.gtile:hover .img-placeholder img,
.gtile:hover .img-placeholder video {
  transform: scale(1.05);
}

.gtile__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(20, 22, 15, 0.84) 0%, rgba(20, 22, 15, 0.30) 44%, rgba(20, 22, 15, 0) 74%);
}

.gtile__cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(18px, 1.9vw, 30px);
}

.gtile__name {
  display: block;
  font-family: var(--font-display);
  color: var(--luma-cream);
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.gtile__desc {
  display: block;
  font-family: var(--font-body);
  color: var(--luma-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 9px;
  max-width: 42ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-out-expo);
}

@media (hover: hover) {
  .gtile:hover .gtile__desc { opacity: 1; transform: translateY(0); }
}

/* span helpers for the asymmetric layout */
.g-w8 { grid-column: span 8; }
.g-w7 { grid-column: span 7; }
.g-w6 { grid-column: span 6; }
.g-w5 { grid-column: span 5; }
.g-w4 { grid-column: span 4; }
.g-h2 { grid-row: span 2; }

/* ==========================================================================
   Clinician Spotlight (home) — doctor-led trust feature
   ========================================================================== */
.clinician {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}

.clinician__media .img-placeholder {
  border-radius: var(--radius-md);
}

.clinician__caption {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--luma-umber);
}

.clinician__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-regular);
  line-height: 1.03;
  letter-spacing: -0.018em;
  color: var(--luma-charcoal);
  margin: 16px 0 22px;
}

.clinician__title em {
  font-style: italic;
  color: var(--luma-umber);
}

.clinician__lead {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.75;
  max-width: 54ch;
  margin-bottom: 30px;
}

.clinician__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 34px;
  padding: 0;
}

.clinician__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: var(--luma-charcoal);
}

.clinician__check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(79, 135, 112, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinician__check svg {
  width: 15px;
  height: 15px;
  color: var(--luma-gold-dark);
}

/* ==========================================================================
   Philosophy (home) — editorial statement + horizontal principles index
   ========================================================================== */
.philosophy {
  display: grid;
  gap: clamp(44px, 6vw, 84px);
}

.philosophy__lead {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--luma-charcoal);
  max-width: 18ch;
  margin-top: 18px;
  text-wrap: balance;
}

.philosophy__lead em {
  font-style: italic;
  color: var(--luma-umber);
}

.philosophy__index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 68px);
}

.principle {
  padding-top: 22px;
  border-top: 1px solid var(--luma-border);
}

.principle__num {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  color: var(--luma-gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}

.principle__name {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--luma-charcoal);
  margin-bottom: 10px;
}

.principle__text {
  font-size: 14px;
  color: var(--luma-mid);
  line-height: 1.65;
  max-width: 40ch;
}

/* ==========================================================================
   Treatment Gateways (home) — a methodology-style list; each row opens a modal
   ========================================================================== */
.gateways {
  border-top: 1px solid var(--luma-border);
}

.gateway {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 84px 1fr 40px;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(16px, 1.9vw, 24px) 6px;
  border-bottom: 1px solid var(--luma-border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-smooth);
}

.gateway__index {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  color: var(--luma-gold);
  font-variant-numeric: tabular-nums;
}

.gateway__thumb {
  width: 84px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--luma-cream-mid);
}

.gateway__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.gateway__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--luma-charcoal);
  transition: transform var(--dur-base) var(--ease-out-expo),
              color var(--dur-base) var(--ease-smooth);
}

.gateway__cue {
  justify-self: end;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--luma-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luma-charcoal);
  transition: background var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth),
              color var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-spring);
}

.gateway__cue svg { width: 16px; height: 16px; }

@media (hover: hover) {
  .gateway:hover { background: var(--luma-cream); }
  .gateway:hover .gateway__name {
    transform: translateX(8px);
    color: var(--luma-gold-dark);
  }
  .gateway:hover .gateway__thumb img { transform: scale(1.07); }
  .gateway:hover .gateway__cue {
    background: var(--luma-gold);
    border-color: var(--luma-gold);
    color: var(--luma-white);
    transform: rotate(90deg);
  }
}

.gateway:focus-visible {
  outline: 2px solid var(--luma-gold-dark);
  outline-offset: -2px;
}

/* ==========================================================================
   Modal (shared) — vanilla, opened via modal.js
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-smooth),
              visibility var(--dur-base) var(--ease-smooth);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 15, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: 86dvh;
  overflow: hidden;
  background: var(--luma-pearl);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -30px rgba(20, 22, 15, 0.55);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.94) translateY(14px);
  transition: transform var(--dur-slow) var(--ease-spring);
}

.modal.is-open .modal__panel {
  transform: scale(1) translateY(0);
}

.modal__media {
  position: relative;
  min-height: 340px;
  background: var(--luma-cream-mid);
}

.modal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal__content {
  padding: clamp(28px, 3.4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--luma-charcoal);
  margin: 14px 0 16px;
}

.modal__text {
  font-size: var(--text-body-lg);
  color: var(--luma-mid);
  line-height: 1.7;
  margin-bottom: 28px;
}

.modal__text p { margin: 0 0 0.9em; }
.modal__text p:last-child { margin-bottom: 0; }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(241, 238, 231, 0.92);
  color: var(--luma-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-spring);
}

.modal__close:hover {
  background: var(--luma-white);
  transform: rotate(90deg);
}

.modal__close svg { width: 18px; height: 18px; }

body.modal-open { overflow: hidden; }

/* ==========================================================================
   Testimonials — centered slider (one quote, selectable face bullets)
   ========================================================================== */
.tslider {
  max-width: 820px;
  margin: clamp(36px, 5vw, 64px) auto 0;
  text-align: center;
}

.tslider__stage {
  display: grid;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.tquote {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-smooth),
              transform var(--dur-slow) var(--ease-out-expo),
              visibility var(--dur-slow);
}

.tquote.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.tslider .stars {
  justify-content: center;
  margin-bottom: 22px;
}

.tslider .stars svg { width: 15px; height: 15px; }

.tquote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(23px, 2.8vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--luma-charcoal);
  max-width: 22ch;
  margin: 0 auto 26px;
  text-wrap: balance;
}

.tquote__person {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--luma-muted-ink);
}

.tquote__person strong {
  display: block;
  font-size: 15px;
  color: var(--luma-charcoal);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 2px;
}

.tslider__bullets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tbullet {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: var(--luma-cream-mid);
  border: 2px solid transparent;
  opacity: 0.5;
  filter: grayscale(0.4);
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring),
              opacity var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth),
              filter var(--dur-base) var(--ease-smooth);
}

.tbullet img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tbullet:hover { opacity: 0.85; }

.tbullet.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1.26);
  border-color: var(--luma-gold);
  box-shadow: 0 6px 18px -6px rgba(79, 135, 112, 0.5);
}

.tbullet:focus-visible {
  outline: 2px solid var(--luma-gold-dark);
  outline-offset: 2px;
}
