/* ==========================================================================
   MDIAMOND AESTHETICS — DESIGN SYSTEM
   Pink-gradient + luxury gold. Editorial serif + modern sans.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Palette */
  --blush:        #FFF3F6;
  --ivory:        #FFF8FA;
  --champagne:    #F4B8CF;
  --dusty-rose:   #C96C9C;
  --mauve:        #E8B5C8;
  --nude:         #F1D3CE;
  --deep-berry:   #7C315C;
  --espresso:     #2A1722;
  --plum-black:   #1B0E15;
  --white:        #FFFFFF;

  --gold:         #C9A35B;
  --soft-gold:    #E6C98A;
  --gold-line:    linear-gradient(90deg, transparent, var(--gold), var(--soft-gold), transparent);

  --ink:          #2A1722;
  --text-muted:   #83606E;
  --text-on-dark: #F3DCE6;
  --border-soft:  rgba(42, 23, 34, 0.10);

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #FFF0F5 0%, #F4B8CF 45%, #C96C9C 100%);
  --gradient-dark:    linear-gradient(135deg, #2A1722 0%, #7C315C 55%, #C96C9C 100%);
  --gradient-light:   linear-gradient(135deg, #FFF8FA 0%, #F9D6E3 55%, #E8B5C8 100%);
  --gradient-nav:     linear-gradient(180deg, rgba(255,248,250,0.92), rgba(255,240,245,0.86));
  --gradient-gold:    linear-gradient(135deg, var(--soft-gold), var(--gold));

  /* Type */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section-space: clamp(5rem, 10vw, 9rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset --------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--dusty-rose); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--espresso); color: var(--white);
  padding: 0.75rem 1.25rem; z-index: 999; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Typography ----------------------------------------------------------*/
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
}
.display .accent {
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h2.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.05;
}
.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 42em;
}
.container { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-space) 0; position: relative; }
.section--dark { background: var(--gradient-dark); color: var(--text-on-dark); }
.section--dark .lede { color: #D8B9C6; }
.section--light { background: var(--gradient-light); }
.section--ivory { background: var(--ivory); }

/* Gold line */
.gold-line {
  height: 1px;
  width: 100%;
  background: var(--gold-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.is-visible .gold-line { transform: scaleX(1); }

/* Reveal utility (JS toggles .is-visible via IntersectionObserver) */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.48s; }

/* ---- Buttons --------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--espresso); color: var(--white); }
.btn--primary:hover { background: var(--deep-berry); transform: translateY(-2px); }
.btn--gold { background: var(--gradient-gold); color: var(--espresso); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(201,163,91,0.55); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--outline-dark { border-color: var(--espresso); color: var(--espresso); }
.btn--outline-dark:hover { background: var(--espresso); color: var(--white); }
.btn--text { padding: 0.2rem 0; letter-spacing: 0.12em; gap: 0.5rem; }
.btn--text .arrow { transition: transform 0.3s var(--ease); }
.btn--text:hover .arrow { transform: translateX(6px); }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.4rem 0;
  transition: top 0.3s var(--ease), padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding: 0.8rem 0;
  background: var(--gradient-nav);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -20px rgba(42,23,34,0.35);
}

/* Announcement bar — sits above the header; body.has-announcement shifts
   the fixed header and hero padding down by its height to compensate. */
:root { --announce-h: 42px; }
.announcement-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--announce-h);
  display: none; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--espresso); color: var(--soft-gold); font-size: 0.78rem; font-weight: 600;
  padding: 0 2.6rem; text-align: center;
}
body.has-announcement .announcement-bar { display: flex; }
.announcement-bar a { color: var(--soft-gold); text-decoration: underline; text-underline-offset: 2px; }
.announcement-bar__close {
  position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px;
  border-radius: 50%; background: none; border: 0; color: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer;
}
body.has-announcement .site-header { top: var(--announce-h); }
body.has-announcement .hero { padding-top: calc(6rem + var(--announce-h)); }
body.has-announcement .page-hero { padding-top: calc(9.5rem + var(--announce-h)); }
@media (max-width: 600px) { .announcement-bar { font-size: 0.7rem; padding: 0 2.2rem; } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo img { height: 44px; width: auto; transition: height 0.4s var(--ease); }
.is-scrolled .nav__logo img { height: 36px; }
.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a {
  position: relative; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0; color: var(--espresso);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 1.2rem; }
.nav__book { padding: 0.75rem 1.6rem; }
.nav__menu-toggle { display: none; background: none; border: 0; padding: 0.4rem; }
.nav__menu-toggle span { display: block; width: 26px; height: 1px; background: var(--espresso); margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

@media (max-width: 920px) {
  .nav__links, .nav__book { display: none; }
  .nav__menu-toggle { display: block; }
}

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--gradient-hero);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.6rem var(--gutter) 2.4rem;
  transform: translateY(-100%); transition: transform 0.55s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__close { background: none; border: 0; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 2rem; }
.mobile-menu__links a {
  font-family: var(--font-serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; color: var(--espresso);
  display: flex; align-items: baseline; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(42,23,34,0.12);
}
.mobile-menu__links a span.num { font-family: var(--font-sans); font-size: 0.9rem; color: var(--gold); font-weight: 700; }
.mobile-menu__book { margin-top: 2rem; text-align: center; padding: 1.1rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--gradient-hero); /* default: sub-page split heroes (image beside text) */
  overflow: hidden;
  padding-top: 6rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 85% 20%, rgba(255,255,255,0.35), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center; width: 100%;
}
.hero__visual { position: relative; }

.hero__eyebrow { color: var(--deep-berry); }
.hero__eyebrow::before { background: var(--gold); }
.hero__headline {
  margin-top: 1.2rem; font-family: var(--font-serif); font-weight: 500; color: var(--espresso);
  font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.98;
}
.hero__headline .line { display: block; overflow: hidden; }
.hero__headline .line span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); }
.hero.is-loaded .hero__headline .line:nth-child(1) span { transition-delay: 0.35s; transform: translateY(0); }
.hero.is-loaded .hero__headline .line:nth-child(2) span { transition-delay: 0.5s; transform: translateY(0); }
.hero__headline .accent { font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; color: var(--deep-berry); }
.hero__sub {
  margin-top: 1.6rem; max-width: 34em; font-size: 1.05rem; line-height: 1.7; color: var(--deep-berry);
  opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease) 0.8s, transform 0.8s var(--ease) 0.8s;
}
.hero.is-loaded .hero__sub { opacity: 1; transform: translateY(0); }
/* Base: fully visible — this class also doubles as a generic CTA button row
   outside the hero (About, Beauty, Shop, etc.), so it must never default to hidden. */
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
/* Only inside an actual .hero does it start hidden and fade in on load. */
.hero .hero__actions {
  opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease) 1.0s, transform 0.8s var(--ease) 1.0s;
}
.hero.is-loaded .hero__actions { opacity: 1; transform: translateY(0); }
.hero__location { margin-top: 2.6rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--deep-berry); font-weight: 700;
  opacity: 0; transition: opacity 0.8s var(--ease) 1.2s; }
.hero.is-loaded .hero__location { opacity: 0.85; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 340px; margin: 0 auto; }
}

/* ---- Homepage variant: full-bleed video background ---- */
.hero--video { background: var(--espresso); }
.hero--video::before { display: none; }
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.3s var(--ease) 0.15s, transform 1.8s var(--ease) 0.15s;
}
.hero--video.is-loaded .hero__media { opacity: 1; transform: scale(1); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(27,14,21,0.78) 0%, rgba(42,23,34,0.48) 42%, rgba(124,49,92,0.24) 100%),
    linear-gradient(0deg, rgba(27,14,21,0.5) 0%, transparent 60%);
}
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero--video .hero__eyebrow { color: var(--soft-gold); }
.hero--video .hero__eyebrow::before { background: var(--soft-gold); }
.hero--video .hero__headline { color: var(--white); }
.hero--video .hero__headline .accent { color: var(--soft-gold); }
.hero--video .hero__sub { color: rgba(255,248,250,0.88); }
.hero--video .hero__actions { color: var(--white); }
.hero--video .hero__location { color: var(--soft-gold); }

.hero__badge {
  position: absolute; z-index: 2; top: 7.5rem; right: clamp(1.5rem, 5vw, 5rem); width: 118px; height: 118px;
  opacity: 0; transition: opacity 1s var(--ease) 1.1s;
}
.hero.is-loaded .hero__badge { opacity: 1; }
.hero__badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero__badge-dot {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin: auto; border-radius: 50%; background: var(--gradient-gold);
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero__badge { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; background: var(--espresso); padding: 1rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 3rem; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.85rem; color: var(--soft-gold); display: inline-flex; align-items: center; gap: 3rem;
}
.marquee__track span::after { content: '•'; color: var(--dusty-rose); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   BRAND STATEMENT / FOUR PILLARS
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-soft); margin-top: clamp(3rem, 6vw, 5rem); }
.pillar {
  position: relative; border-right: 1px solid var(--border-soft); padding: 2.6rem 1.8rem; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: background 0.5s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.pillar:hover .pillar__bg { opacity: 0.22; transform: scale(1); }
.pillar__num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); transition: font-size 0.4s var(--ease); position: relative; }
.pillar:hover .pillar__num { font-size: 3rem; }
.pillar__title { font-family: var(--font-serif); font-size: 1.9rem; margin-top: 1rem; position: relative; }
.pillar__desc { margin-top: 0.6rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; position: relative; }
.pillar__link { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; position: relative; }
.pillar__link .arrow { transition: transform 0.35s var(--ease); }
.pillar:hover .pillar__link .arrow { transform: translateX(6px); }
.pillar__border { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gradient-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.pillar:hover .pillar__border { transform: scaleX(1); }

@media (max-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--border-soft); min-height: auto; } }

/* ==========================================================================
   TREATMENT EXPLORER (interactive)
   ========================================================================== */
.explorer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.explorer__list { border-top: 1px solid var(--border-soft); }
.explorer__item {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border-soft);
  padding: 1.4rem 0; display: flex; align-items: baseline; gap: 1.2rem; color: var(--ink);
}
.explorer__item .idx { font-family: var(--font-sans); font-size: 0.78rem; color: var(--gold); font-weight: 700; width: 2ch; }
.explorer__item .label { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.explorer__item[aria-selected="true"] .label { color: var(--deep-berry); transform: translateX(10px); }
.explorer__item[aria-selected="true"] .idx { color: var(--deep-berry); }
.explorer__desc { max-height: 0; overflow: hidden; font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; transition: max-height 0.4s var(--ease); }
.explorer__item[aria-selected="true"] .explorer__desc { max-height: 6em; margin-top: 0.5rem; }

.explorer__visual { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; }
.explorer__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.explorer__visual img.is-active { opacity: 1; }
.explorer__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,23,34,0.35), transparent 40%); pointer-events: none; }

@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } .explorer__visual { order: -1; } }

/* ==========================================================================
   TREATMENT FINDER (interactive goal-based quiz)
   ========================================================================== */
.finder__goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.finder__goal {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1.5rem 1.3rem;
  text-align: left; display: flex; flex-direction: column; gap: 0.5rem; cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.finder__goal .num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); }
.finder__goal span:last-child { font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.finder__goal:hover, .finder__goal.is-active { border-color: var(--gold); background: rgba(201,163,91,0.07); transform: translateY(-3px); }

.finder__result {
  margin-top: 2.4rem; background: var(--white); border-radius: 4px; overflow: hidden;
  display: grid; grid-template-columns: 0.9fr 1.1fr; box-shadow: 0 24px 50px -30px rgba(42,23,34,0.4);
}
.finder__result[hidden] { display: none; }
.finder__result-img { aspect-ratio: 4/3; }
.finder__result-img img { width: 100%; height: 100%; object-fit: cover; }
.finder__result-body { padding: clamp(1.6rem, 3vw, 2.4rem); align-self: center; }

@media (max-width: 700px) {
  .finder__goals { grid-template-columns: 1fr 1fr; }
  .finder__result { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .finder__goals { grid-template-columns: 1fr; } }

/* ==========================================================================
   METHOD (signature process steps)
   ========================================================================== */
.method__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.method__step { border-top: 2px solid var(--border-soft); padding-top: 1.6rem; transition: border-color 0.5s var(--ease); }
.method__step.is-active { border-color: var(--gold); }
.method__step .num { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold); }
.method__step h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-top: 0.5rem; }
.method__step p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 780px) { .method__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .method__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TRAINING (dark section) + course strip
   ========================================================================== */
.course-strip { display: flex; gap: 1.4rem; overflow-x: auto; padding: 2.6rem 0 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.course-strip::-webkit-scrollbar { height: 6px; }
.course-strip::-webkit-scrollbar-thumb { background: rgba(230,201,138,0.4); border-radius: 4px; }
.course-card {
  scroll-snap-align: start; flex: 0 0 clamp(260px, 32vw, 340px); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(230,201,138,0.22); border-radius: 4px; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.course-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.course-card__img { aspect-ratio: 4/3; overflow: hidden; }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; }
.course-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.course-card__num { font-family: var(--font-sans); font-size: 0.75rem; color: var(--gold); font-weight: 700; letter-spacing: 0.1em; }
.course-card__title { font-family: var(--font-serif); font-size: 1.5rem; margin-top: 0.4rem; color: var(--white); }
.course-card__meta { margin-top: 0.6rem; font-size: 0.78rem; color: #D8B9C6; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.course-card__link { margin-top: 1.1rem; display: inline-flex; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft-gold); font-weight: 700; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2.2rem 0 2.6rem; }
.filter-bar button {
  background: transparent; border: 1px solid var(--border-soft); padding: 0.6rem 1.3rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.filter-bar button.is-active, .filter-bar button:hover { background: var(--espresso); color: var(--white); border-color: var(--espresso); }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 2rem; }
.course-tile { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: 0 20px 40px -30px rgba(42,23,34,0.4); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.course-tile.is-hidden { display: none; }
.course-tile__img { aspect-ratio: 4/3; overflow: hidden; }
.course-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.course-tile:hover .course-tile__img img { transform: scale(1.06); }
.course-tile__body { padding: 1.6rem 1.7rem 1.9rem; }
.course-tile__level { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.course-tile__title { font-family: var(--font-serif); font-size: 1.5rem; margin-top: 0.4rem; }
.course-tile__desc { margin-top: 0.5rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.course-tile__meta { margin-top: 1rem; display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border-soft); padding-top: 0.9rem; }

/* ==========================================================================
   STATS / NUMBER COUNTERS
   ========================================================================== */
.stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 5rem); }
.stat .num { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold); }
.stat .label { margin-top: 0.4rem; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.section--dark .stat .label { color: #D8B9C6; }

/* ==========================================================================
   FOUNDER MONOGRAM (used in place of a photo where none was supplied)
   ========================================================================== */
.founder-monogram {
  aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; position: relative;
  background: var(--gradient-gold); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.founder-monogram__letter { font-family: var(--font-serif); font-size: clamp(6rem, 16vw, 10rem); line-height: 1; color: var(--espresso); }
.founder-monogram__caption { margin-top: 0.6rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--espresso); font-weight: 700; }

/* ==========================================================================
   FLOATING IMAGE PANELS (Beauty & Lashes)
   ========================================================================== */
.floating-composition { position: relative; }
.floating-composition .main-img { border-radius: 4px; overflow: hidden; aspect-ratio: 3/4; }
.floating-composition .main-img img { width: 100%; height: 100%; object-fit: cover; }
.floating-composition .panel {
  position: absolute; width: 46%; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(42,23,34,0.45);
  border: 6px solid var(--ivory);
}
.floating-composition .panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floating-composition .panel--1 { bottom: -8%; left: -12%; aspect-ratio: 1/1; }
.floating-composition .panel--2 { top: -6%; right: -14%; aspect-ratio: 4/5; width: 40%; }
@media (max-width: 700px) {
  .floating-composition { margin-top: 2rem; }
  .floating-composition .panel--1, .floating-composition .panel--2 { width: 40%; }
}

.service-lines { border-top: 1px solid var(--border-soft); margin-top: 2.4rem; }
.service-line { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; border-bottom: 1px solid var(--border-soft); }
.service-line__name { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.service-line__meta { font-size: 0.82rem; color: var(--text-muted); }

/* Accordion (FAQs) */
.accordion { border-top: 1px solid var(--border-soft); margin-top: 1.5rem; }
.accordion__item { border-bottom: 1px solid var(--border-soft); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.4rem 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink);
}
.accordion__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.accordion__icon::before, .accordion__icon::after {
  content: ''; position: absolute; background: var(--gold); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.accordion__icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.accordion__icon::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion__panel-inner { padding: 0 0 1.5rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; max-width: 60em; }

/* ==========================================================================
   BEFORE / AFTER SLIDER
   ========================================================================== */
.ba-slider { position: relative; aspect-ratio: 4/5; max-width: 520px; border-radius: 4px; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider__after { clip-path: inset(0 0 0 50%); }
.ba-slider__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white); transform: translateX(-1px); }
.ba-slider__handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px;
  background: var(--white); color: var(--espresso); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4);
}
.ba-slider__label { position: absolute; bottom: 12px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--white); background: rgba(42,23,34,0.55); padding: 0.4rem 0.8rem; border-radius: 999px; }
.ba-slider__label--before { left: 12px; }
.ba-slider__label--after { right: 12px; }

/* ==========================================================================
   GALLERY / MASONRY / LIGHTBOX
   ========================================================================== */
.masonry { columns: 3 260px; column-gap: 1.3rem; }
@media (max-width: 420px) { .masonry { columns: 1; } }
.masonry__item { break-inside: avoid; margin-bottom: 1.3rem; border-radius: 4px; overflow: hidden; cursor: zoom-in; position: relative; }
.masonry__item img { width: 100%; display: block; transition: transform 0.5s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__cat { position: absolute; top: 10px; left: 10px; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255,255,255,0.85); color: var(--espresso); padding: 0.3rem 0.7rem; border-radius: 999px; font-weight: 700; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(27,14,21,0.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 900px); max-height: 85vh; border-radius: 4px; }
.lightbox__close { position: absolute; top: 1.6rem; right: 1.8rem; background: none; border: 0; color: var(--white); font-size: 1.6rem; }

/* Shared modal shell — used by the welcome modal and exit-intent modal */
.site-modal { position: fixed; inset: 0; z-index: 250; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.site-modal.is-open { display: flex; }
.site-modal__overlay { position: absolute; inset: 0; background: rgba(27,14,21,0.62); backdrop-filter: blur(2px); }
.site-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 460px; background: var(--ivory); border-radius: 6px;
  padding: clamp(2rem, 5vw, 2.8rem); text-align: center; box-shadow: 0 40px 80px -30px rgba(27,14,21,0.55);
  opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.site-modal.is-open .site-modal__panel { opacity: 1; transform: translateY(0) scale(1); }
.site-modal__close {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-soft); background: var(--white); font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.site-modal__close:hover { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.site-modal__logo { height: 42px; margin: 0 auto 1.2rem; }
.site-modal__panel .lede { max-width: none; }
.site-modal__panel .btn { margin-top: 1.6rem; }
.site-modal__panel .hero__actions { justify-content: center; margin-top: 1.6rem; }

.disclaimer { margin-top: 3rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--gold); background: rgba(201,163,91,0.08); font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.map-frame { position: relative; aspect-ratio: 16/6; border-radius: 4px; overflow: hidden; filter: grayscale(0.15) contrast(1.02); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 700px) { .map-frame { aspect-ratio: 4/5; } }

/* ==========================================================================
   TESTIMONIALS / INSTAGRAM
   ========================================================================== */
.testimonial-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.6rem; }
.testimonial-card { background: var(--white); padding: 2rem; border-radius: 4px; box-shadow: 0 20px 40px -32px rgba(42,23,34,0.5); }
.testimonial-card .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.9rem; }
.testimonial-card p.quote { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.5; }
.testimonial-card .who { margin-top: 1.1rem; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* Testimonial carousel — one quote at a time, arrows + dots */
.testimonial-carousel { max-width: 640px; margin: 0 auto; }
.testimonial-carousel__track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-carousel__slide { flex: 0 0 100%; min-width: 0; }
.testimonial-carousel__slide .testimonial-card { text-align: center; }
.testimonial-carousel__slide .stars { display: block; }
.testimonial-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.8rem; }
.testimonial-carousel__arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-soft); background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial-carousel__arrow:hover { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.testimonial-carousel__dots { display: flex; gap: 0.5rem; }
.testimonial-carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border-soft); border: 0; padding: 0; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.testimonial-carousel__dots button.is-active { background: var(--gold); transform: scale(1.35); }

.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; margin-top: 2.4rem; }
.insta-grid a { aspect-ratio: 1/1; overflow: hidden; display: block; position: relative; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s var(--ease); }
.insta-grid a:hover img { transform: scale(1.08); opacity: 0.85; }
@media (max-width: 860px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border-soft); background: var(--white); padding: 0.85rem 1rem; font-family: var(--font-sans);
  font-size: 0.95rem; border-radius: var(--radius-sm); color: var(--ink); transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; }
.alert { padding: 1rem 1.3rem; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 1.5rem; }
.alert--success { background: rgba(124,49,92,0.08); border: 1px solid var(--deep-berry); color: var(--deep-berry); }
.alert--error { background: rgba(180,50,50,0.08); border: 1px solid #B43232; color: #B43232; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SHOP
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 2rem; }
.product-card { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 36px -30px rgba(42,23,34,0.45); }
.product-card__img { aspect-ratio: 1/1; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.product-card__name { font-family: var(--font-serif); font-size: 1.3rem; }
.product-card__desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }
.product-card__row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; }
.product-card__price { font-weight: 700; color: var(--deep-berry); }
.stock-badge { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 999px; }
.stock-badge--in { background: rgba(124,49,92,0.1); color: var(--deep-berry); }
.stock-badge--low { background: rgba(201,163,91,0.15); color: #8a6a24; }
.stock-badge--out { background: rgba(120,120,120,0.12); color: #666; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--espresso); color: #E9D3DE; padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand img { height: 46px; }
.footer__tag { margin-top: 1.1rem; font-size: 0.9rem; color: #C79FB0; max-width: 26em; line-height: 1.6; }
.footer h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft-gold); margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer a { font-size: 0.88rem; color: #E9D3DE; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--soft-gold); }

/* Footer nav columns (Explore / MDiamond) — bordered rows with a hover arrow */
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-links li:first-child a { padding-top: 0; }
.footer-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.62rem 0; font-size: 0.88rem; color: #E9D3DE;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer-links a .arrow {
  opacity: 0; transform: translateX(-6px); color: var(--soft-gold); font-size: 0.8em;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-links a:hover { color: var(--soft-gold); padding-left: 0.35rem; }
.footer-links a:hover .arrow { opacity: 1; transform: translateX(0); }

.footer__bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.76rem; color: #9E7C8A; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Footer contact list — icon + label rows */
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact li { margin: 0; }
.footer-contact__item { display: flex; align-items: center; gap: 0.75rem; }
.footer-contact__icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(230,201,138,0.14); display: flex; align-items: center; justify-content: center; color: var(--soft-gold);
}
.footer-contact__icon svg { width: 14px; height: 14px; fill: currentColor; }
.footer-contact__item a, .footer-contact__item span { font-size: 0.86rem; line-height: 1.3; }

/* Footer social row — icon-only circular links, separate from direct-contact list */
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social__link {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; color: #E9D3DE;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social__link svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social__link:hover { background: var(--gradient-gold); color: var(--espresso); border-color: transparent; transform: translateY(-2px); }

/* ==========================================================================
   FLOATING BOOK CTA
   ========================================================================== */
.floating-book {
  position: fixed; right: 2.2rem; bottom: 2.2rem; z-index: 90; width: 74px; height: 74px; border-radius: 50%;
  background: var(--gradient-gold); color: var(--espresso); display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
  box-shadow: 0 14px 34px -14px rgba(201,163,91,0.65); transition: transform 0.35s var(--ease);
}
.floating-book:hover { transform: scale(1.08); }

.floating-whatsapp {
  position: fixed; left: 2.2rem; bottom: 2.2rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: var(--espresso); color: var(--soft-gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -14px rgba(42,23,34,0.55); transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.floating-whatsapp svg { width: 26px; height: 26px; fill: currentColor; }
.floating-whatsapp:hover { transform: scale(1.08); background: var(--deep-berry); }

@media (max-width: 780px) {
  .floating-book { display: none; }
  .floating-whatsapp { left: 1.1rem; bottom: 5.4rem; width: 50px; height: 50px; }
  .floating-whatsapp svg { width: 22px; height: 22px; }
  .mobile-book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0.85rem var(--gutter);
    background: var(--espresso); color: var(--white); text-align: center; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  body { padding-bottom: 3.4rem; }
}
@media (min-width: 781px) { .mobile-book-bar { display: none; } }

/* ==========================================================================
   PAGE HERO (sub-pages)
   ========================================================================== */
.page-hero { padding: 9.5rem 0 4rem; }
.page-hero.section--dark { padding-top: 9.5rem; }
.page-hero__crumb { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.8rem; }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
.img-frame { border-radius: 4px; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
