/* ============================================================
   Deep Glow Med Spa — warm luxury design system
   ============================================================ */

:root {
  /* Theme tokens (accent + fonts are overridden live by Tweaks) */
  --accent: #b08d4f;            /* antique gold */
  --accent-deep: #8a6d39;
  --accent-soft: #e9ddc6;
  --accent-tint: #f6efe2;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;

  /* Warm neutrals */
  --cream: #faf6ef;
  --cream-2: #f3ece0;
  --cream-3: #ece2d2;
  --espresso: #2b2620;
  --espresso-2: #4a4339;
  --taupe: #837a6c;
  --taupe-soft: #a89e8d;
  --line: #e3d9c8;
  --white: #fffdf9;

  --shadow-sm: 0 1px 2px rgba(54, 44, 25, .05), 0 6px 18px rgba(54, 44, 25, .05);
  --shadow-md: 0 2px 6px rgba(54, 44, 25, .06), 0 18px 44px rgba(54, 44, 25, .10);
  --shadow-lg: 0 30px 70px rgba(54, 44, 25, .16);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.lead {
  color: var(--espresso-2);
  font-size: clamp(17px, 1.4vw, 19px);
  max-width: 56ch;
}

/* ---------- Image placeholders (striped + monospace label) ---------- */
.ph {
  position: relative;
  background-color: var(--cream-3);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(176, 141, 79, .07) 0 2px,
      transparent 2px 11px);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
}
.ph::after {
  content: attr(data-label);
  font-family: "SF Mono", ui-monospace, "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--taupe-soft);
  background: rgba(255, 253, 249, .82);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--espresso);
  --b-fg: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--b-bg);
  color: var(--b-fg);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { --b-bg: var(--accent); --b-fg: #fff; }
.btn-ghost {
  --b-bg: transparent; --b-fg: var(--espresso);
  border-color: var(--espresso);
}
.btn-ghost:hover { background: var(--espresso); color: var(--cream); }
.btn-light {
  --b-bg: transparent; --b-fg: var(--cream);
  border-color: rgba(255,253,249,.5);
}
.btn-light:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }

.arrow-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .25s;
}
.arrow-link svg { transition: transform .25s; }
.arrow-link:hover { gap: 12px; }

/* ============================================================
   Announcement bar
   ============================================================ */
.topbar {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 9px 16px;
}
.topbar b { color: var(--accent-soft); font-weight: 500; }

/* ============================================================
   Header / nav
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, .82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .mark {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
}
.brand .sub {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.nav-links a { position: relative; color: var(--espresso-2); padding-block: 6px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s cubic-bezier(.2,.7,.3,1);
}
.nav-links a:hover { color: var(--espresso); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: 14px; color: var(--espresso-2); white-space: nowrap; }
.nav-phone:hover { color: var(--accent-deep); }
.menu-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 110px);
}
.hero h1 {
  font-size: clamp(52px, 7.2vw, 104px);
  margin-top: 26px;
}
.hero h1 .it { font-style: italic; color: var(--accent-deep); }
.hero-lead { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.hero-trust span { font-size: 14px; color: var(--taupe); }
.hero-trust b { color: var(--espresso); font-weight: 600; }

.hero-media { position: relative; }
.hero-media .ph {
  aspect-ratio: 4 / 5;
  border-radius: 230px 230px 18px 18px;
}
.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}
.hero-badge .ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint);
  border: 1.5px solid var(--accent);
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.hero-badge .t { font-size: 12.5px; line-height: 1.35; color: var(--espresso-2); }
.hero-badge .t b { display: block; font-size: 13px; color: var(--espresso); font-weight: 600; }

/* ============================================================
   Stat strip
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 28px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .n {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 54px);
  color: var(--espresso);
  line-height: 1;
}
.stat .l {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ============================================================
   Section heading block
   ============================================================ */
.sec-head { max-width: 680px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  margin-top: 20px;
}
.sec-head p { margin-top: 20px; }

/* ============================================================
   Services grid
   ============================================================ */
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.svc .icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.svc .icon svg { width: 24px; height: 24px; stroke: var(--accent-deep); }
.svc h3 { font-size: 25px; }
.svc p { margin-top: 10px; font-size: 14.5px; color: var(--taupe); flex: 1; }
.svc .price { margin-top: 18px; font-size: 13px; color: var(--accent-deep); letter-spacing: 0.04em; }
.svc .more {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--espresso);
  display: inline-flex; align-items: center; gap: 7px;
}
.svc .more svg { transition: transform .25s; }
.svc:hover .more svg { transform: translateX(4px); }

/* ============================================================
   About / philosophy
   ============================================================ */
.about { background: var(--cream-2); }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .ph.big { aspect-ratio: 5 / 6; border-radius: 18px; }
.about-media .ph.small {
  position: absolute;
  right: -26px; bottom: -34px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* ---------- image-slot (user drag-and-drop) ---------- */
image-slot { display: block; }
image-slot::part(frame) {
  background: var(--cream-3);
  background-image: repeating-linear-gradient(135deg,
    rgba(176, 141, 79, .06) 0 2px, transparent 2px 11px);
}
image-slot::part(ring) { border-color: rgba(176, 141, 79, .4); }
.hero-media image-slot.slot-hero { width: 100%; height: auto; aspect-ratio: 4 / 5; }
image-slot.slot-hero::part(frame),
image-slot.slot-hero::part(ring) { border-radius: 230px 230px 18px 18px; }
.about-media image-slot.slot-about-big { width: 100%; height: auto; aspect-ratio: 5 / 6; }
.about-media image-slot.slot-about-small {
  position: absolute; right: -26px; bottom: -34px;
  width: 46%; height: auto; aspect-ratio: 1;
  box-shadow: var(--shadow-md); z-index: 2;
}
.results-grid image-slot { width: 100%; height: auto; aspect-ratio: 3 / 4; }
.about h2 { font-size: clamp(36px, 4.4vw, 60px); margin-top: 20px; }
.about .lead { margin-top: 24px; }
.about-points { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.about-point { display: flex; gap: 16px; }
.about-point .dot {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  display: grid; place-items: center;
}
.about-point .dot svg { width: 18px; height: 18px; stroke: var(--accent-deep); }
.about-point h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.about-point p { font-size: 14.5px; color: var(--taupe); margin-top: 3px; }
.about-sign { margin-top: 36px; display: flex; align-items: center; gap: 18px; }
.about-sign .name { font-family: var(--font-display); font-size: 30px; font-style: italic; color: var(--accent-deep); }
.about-sign .role { font-size: 13px; color: var(--taupe); letter-spacing: 0.04em; }

/* ============================================================
   Results gallery
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.result {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.result .ph { aspect-ratio: 3 / 4; border-radius: 16px; }
.result .tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(43, 38, 32, .82);
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
.result:nth-child(2) { margin-top: 34px; }
.result:nth-child(4) { margin-top: 34px; }

/* ============================================================
   Membership
   ============================================================ */
.membership { background: var(--espresso); color: var(--cream); }
.mem-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.membership .eyebrow { color: var(--accent-soft); }
.membership .eyebrow::before { background: var(--accent-soft); }
.mem-grid h2 { font-size: clamp(38px, 4.6vw, 62px); margin-top: 20px; color: var(--cream); }
.mem-grid > div > p { margin-top: 22px; color: rgba(250,246,239,.72); max-width: 48ch; }
.mem-list { margin-top: 30px; display: grid; gap: 14px; }
.mem-list li { display: flex; gap: 13px; align-items: center; font-size: 15px; color: rgba(250,246,239,.86); }
.mem-list svg { width: 18px; height: 18px; stroke: var(--accent-soft); flex-shrink: 0; }
.mem-card {
  background: linear-gradient(165deg, #36302a, #2b2620);
  border: 1px solid rgba(233,221,198,.18);
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow-lg);
}
.mem-card .tier { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-soft); }
.mem-card .price { font-family: var(--font-display); font-size: 62px; margin-top: 14px; line-height: 1; }
.mem-card .price small { font-family: var(--font-body); font-size: 16px; color: rgba(250,246,239,.6); }
.mem-card .note { margin-top: 12px; font-size: 13.5px; color: rgba(250,246,239,.6); }
.mem-card .perks { margin-top: 26px; display: grid; gap: 12px; border-top: 1px solid rgba(233,221,198,.16); padding-top: 24px; }
.mem-card .perks div { display: flex; gap: 11px; font-size: 14px; color: rgba(250,246,239,.85); }
.mem-card .perks svg { width: 16px; height: 16px; stroke: var(--accent-soft); flex-shrink: 0; }
.mem-card .btn { margin-top: 28px; width: 100%; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--cream-2); }
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.tst {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.tst .stars { margin-bottom: 18px; }
.tst blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--espresso);
  flex: 1;
}
.tst .who { margin-top: 24px; display: flex; align-items: center; gap: 13px; }
.tst .who .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: var(--accent-deep);
  font-size: 18px;
}
.tst .who .nm { font-size: 14.5px; font-weight: 600; }
.tst .who .mt { font-size: 12.5px; color: var(--taupe); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--espresso);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item .sign {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: background .25s, border-color .25s;
}
.faq-item .sign::before,
.faq-item .sign::after {
  content: "";
  position: absolute;
  background: var(--espresso-2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s, background .25s;
}
.faq-item .sign::before { width: 12px; height: 1.5px; }
.faq-item .sign::after { width: 1.5px; height: 12px; }
.faq-item[open] .sign { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .sign::before,
.faq-item[open] .sign::after { background: #fff; }
.faq-item[open] .sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item .answer {
  padding: 0 60px 28px 0;
  color: var(--taupe);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ============================================================
   Closing CTA
   ============================================================ */
.cta-final { position: relative; overflow: hidden; background: var(--accent-tint); }
.cta-final .wrap { position: relative; z-index: 1; text-align: center; }
.cta-final h2 { font-size: clamp(44px, 6vw, 86px); }
.cta-final h2 .it { font-style: italic; color: var(--accent-deep); }
.cta-final p { margin: 24px auto 0; max-width: 52ch; color: var(--espresso-2); font-size: 18px; }
.cta-final .hero-cta { justify-content: center; margin-top: 40px; }
.cta-meta {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 54px;
  padding-top: 36px;
  border-top: 1px solid var(--accent-soft);
}
.cta-meta div { font-size: 14.5px; color: var(--espresso-2); }
.cta-meta .k { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 5px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--espresso); color: rgba(250,246,239,.66); padding-block: 72px 30px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.foot-brand .mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}
.foot-brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; line-height: 1.6; }
.foot-social { margin-top: 24px; display: flex; gap: 12px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(250,246,239,.2);
  display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.foot-social a:hover { background: var(--accent); border-color: var(--accent); }
.foot-social svg { width: 17px; height: 17px; stroke: var(--cream); }
.foot-col h5 {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-soft); margin: 0 0 18px;
}
.foot-col a, .foot-col p { display: block; font-size: 14.5px; margin-bottom: 12px; transition: color .2s; }
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(250,246,239,.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(250,246,239,.5);
}
.foot-bottom a:hover { color: var(--cream); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .ph,
  .hero-media image-slot.slot-hero { aspect-ratio: 16 / 12; border-radius: 18px; }
  .hero-media image-slot.slot-hero::part(frame),
  .hero-media image-slot.slot-hero::part(ring) { border-radius: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .about-grid, .mem-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-media .ph.small,
  .about-media image-slot.slot-about-small { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-grid, .results-grid, .stats-grid, .foot-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; }
  .services-head { flex-direction: column; align-items: flex-start; }
}
