/* ============================================================
   The Wellness Edit by Mia Isobel — design system
   Editorial spa-luxe · cream / dusty rose / deep mauve
   ============================================================ */

:root {
  /* Palette — pulled from the logo */
  --cream:         #F8F0EB;
  --cream-deep:    #EFE4D9;
  --cream-warm:    #F2E4D9;
  --white:         #FDFBF9;
  --blush:         #E8D0CE;
  --rose:          #C48B8B;
  --rose-soft:     #D9A9A5;
  --rose-deep:     #8B4E5C;
  --mauve:         #6E3A48;
  --charcoal:      #3D2A2E;
  --charcoal-soft: #5D4A4E;
  --hairline:      rgba(139, 78, 92, 0.14);

  /* Type */
  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --serif:   "Playfair Display", Georgia, serif;
  --script:  "Parisienne", "Great Vibes", cursive;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-soft: 0 20px 60px -30px rgba(61, 42, 46, 0.18);
  --shadow-hover: 0 30px 80px -30px rgba(61, 42, 46, 0.25);

  /* Scale */
  --container: 1200px;
  --container-narrow: 860px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ========== TYPOGRAPHY ========== */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.005em;
  line-height: 1.12;
  margin: 0 0 0.4em 0;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.15rem; letter-spacing: 0.01em; }

.kicker {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 20px 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before,
.kicker::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--rose);
  opacity: 0.6;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--rose-deep);
  font-size: 1.4em;
  line-height: 1;
}

p { margin: 0 0 1em 0; color: var(--charcoal-soft); }
p.lead {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: var(--charcoal);
  font-style: italic;
  font-weight: 400;
}

a { color: var(--rose-deep); text-decoration: none; }
a:hover { color: var(--mauve); }

.u-center { text-align: center; }
.u-narrow { max-width: 720px; margin-inline: auto; }

/* ========== LAYOUT ========== */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(64px, 10vw, 128px) 0;
  position: relative;
}
.section--cream    { background: var(--cream); }
.section--deep     { background: var(--cream-deep); }
.section--blush    { background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.section--mauve    { background: var(--mauve); color: var(--cream); }
.section--mauve h2, .section--mauve h3 { color: var(--cream); }
.section--mauve p  { color: rgba(248, 240, 235, 0.85); }
.section--mauve .kicker { color: var(--blush); }
.section--mauve .kicker::before,
.section--mauve .kicker::after { background: var(--blush); }

.divider-petal {
  display: block;
  margin: 40px auto;
  width: 60px;
  height: 24px;
  color: var(--rose);
  opacity: 0.5;
}

/* ========== HEADER / NAV ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
/* When scrolled past the hero, add a barely-there ivory tint so nav stays readable over other sections */
body.is-scrolled .site-header {
  background: rgba(250, 244, 238, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 78, 92, 0.08);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.site-logo .script {
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}
.site-logo:hover { color: var(--mauve); }

.site-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 8px 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--rose-deep); }

/* Book Now — properly buttoned in the header */
.site-nav .nav-cta {
  background: var(--rose-deep);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover {
  background: var(--mauve);
  color: var(--cream);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--charcoal);
}
@media (max-width: 820px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 40px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-toggle { display: block; }
}

/* ========== HERO — full-bleed lotus, editorial luxury ========== */

.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  /* Hero pulls the sticky header UP so the header sits over the lotus */
  margin-top: -68px;
  padding-top: 68px;
}

/* Full-bleed lotus photograph, edge to edge, positioned right */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-lotus.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Ivory / blush luxury overlay — stronger on left, fading toward the lotus on right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(250, 244, 238, 0.55) 0%,
      rgba(250, 244, 238, 0.35) 30%,
      rgba(245, 230, 220, 0.12) 55%,
      rgba(245, 230, 220, 0) 75%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.hero__copy {
  max-width: 560px;
  text-align: left;
}

.hero__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 36px 0;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  color: #5A2C39;
  margin: 0 0 32px 0;
  letter-spacing: -0.012em;
}
.hero__title em {
  font-style: italic;
  font-family: var(--display);
  font-weight: 400;
  color: #5A2C39;
}

.hero__sub {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: #7A4B57;
  margin: 0 0 40px 0;
  max-width: 460px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8B4E5C;
  opacity: 0.72;
  margin: 0;
}

/* Mobile — stronger overlay throughout, CTAs stacked-left at natural width, trust line readable */
@media (max-width: 780px) {
  .hero {
    min-height: clamp(560px, 92vh, 780px);
    align-items: flex-start;
    padding-top: 120px;
  }
  .hero__bg {
    /* Anchor lotus to lower-centre so full flower shows in the fade-to-clear bottom band */
    background-position: 50% 100%;
    background-size: 130% auto;
  }
  .hero__overlay {
    /* Strong cream at top for text readability, then fades so the lotus breathes below the CTAs */
    background:
      linear-gradient(
        180deg,
        rgba(250, 244, 238, 0.94) 0%,
        rgba(250, 244, 238, 0.90) 45%,
        rgba(250, 244, 238, 0.55) 70%,
        rgba(250, 244, 238, 0.10) 90%,
        rgba(250, 244, 238, 0) 100%
      );
  }
  .hero__title {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero__ctas .btn {
    width: auto;
    align-self: flex-start;
    padding: 13px 26px;
  }
  .hero__trust {
    color: var(--rose-deep);
    opacity: 0.95;
  }
}
.hero__kicker {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 24px 0;
}
.hero h1 {
  color: var(--mauve);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
}
.hero p.lead {
  margin-top: 20px;
  color: var(--charcoal);
}
.hero__ctas {
  margin-top: 36px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--rose-deep);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--mauve);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(139, 78, 92, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.btn--rose {
  background: var(--rose);
  color: var(--white);
}
.btn--rose:hover { background: var(--rose-deep); color: var(--cream); }

.btn--outline {
  background: transparent;
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}
.btn--outline:hover {
  background: var(--rose-deep);
  color: var(--cream);
  transform: translateY(-1px);
}

/* ========== TREATMENTS GRID ========== */

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .treatments-grid { grid-template-columns: 1fr; gap: 20px; }
}

.treatment-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.treatment-card__image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--blush);
}
.treatment-card__body {
  padding: 32px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.treatment-card h3 {
  margin: 0 0 12px 0;
  color: var(--charcoal);
}
.treatment-card__price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.treatment-card__price strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0;
  text-transform: none;
}

/* ========== PHILOSOPHY / QUOTE ========== */

.philosophy {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.philosophy .script {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--rose-deep);
  line-height: 0.9;
  margin-bottom: 24px;
}
.philosophy blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--charcoal);
  line-height: 1.5;
  margin: 0 0 24px 0;
  font-weight: 400;
}

/* ========== MEET MIA ========== */

.meet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .meet { grid-template-columns: 1fr; gap: 40px; }
}
.meet__portrait {
  aspect-ratio: 4 / 5;
  background: var(--blush);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow-soft);
}
.meet__body { padding: 24px 0; }
.meet__body .script {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  color: var(--rose-deep);
  margin-bottom: 4px;
}
.meet__cred {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-top: 20px;
}

/* ========== STUDIO STRIP ========== */

.studio-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .studio-strip { grid-template-columns: 1fr; }
}
.studio-strip__image {
  aspect-ratio: 5 / 4;
  background: var(--blush);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

/* ========== BOOKING BANNER ========== */

.booking-banner {
  text-align: center;
  padding: 80px 40px;
  background: var(--cream);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.booking-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(196, 139, 139, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139, 78, 92, 0.10) 0%, transparent 45%);
  pointer-events: none;
}
.booking-banner > * { position: relative; z-index: 1; }
.booking-banner .script {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--rose-deep);
  margin-bottom: 4px;
}
.booking-banner h2 {
  color: var(--mauve);
  margin-bottom: 20px;
}

/* ========== JOURNAL PREVIEW ========== */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .journal-grid { grid-template-columns: 1fr; }
}
.journal-card {
  display: block;
  color: var(--charcoal);
  transition: transform 0.3s ease;
}
.journal-card:hover { transform: translateY(-4px); }
.journal-card__image {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--blush);
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}
.journal-card__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 12px;
}
.journal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.journal-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* ========== FOOTER ========== */

.site-footer {
  background: var(--mauve);
  color: rgba(248, 240, 235, 0.75);
  padding: 80px 0 40px;
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer a {
  color: rgba(248, 240, 235, 0.75);
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.site-footer a:hover { color: var(--blush); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.footer-brand .script {
  display: block;
  font-size: 2.4rem;
  color: var(--blush);
  margin-bottom: 8px;
}
.footer-brand p { color: rgba(248, 240, 235, 0.6); font-size: 14px; }
.footer-fine {
  border-top: 1px solid rgba(248, 240, 235, 0.14);
  padding-top: 24px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(248, 240, 235, 0.5);
  letter-spacing: 0.06em;
}
@media (max-width: 700px) {
  .footer-fine { flex-direction: column; gap: 8px; text-align: center; }
}

/* ========== UTILITIES ========== */
.u-mb-3 { margin-bottom: 24px; }
.u-mb-4 { margin-bottom: 32px; }
.u-mb-6 { margin-bottom: 48px; }
