/* ==========================================================================
   MOXIE WELLNESS CLUB — moxiewellnessclub.com
   Design system. Every brand decision lives in :root — tune from one place.
   Built by Ladiga Studios.
   ========================================================================== */

:root {
  /* Palette */
  --pink: #E81A5F;          /* brand magenta (from the M monogram) */
  --pink-deep: #C40E4C;     /* links, hovers, AA-safe on cream */
  --pink-soft: #FBE7EE;     /* blush section tint */
  --cream: #FAF4ED;         /* page background (warm ivory) */
  --cream-deep: #F4EAE0;    /* alt section background */
  --gold: #DF9E3B;          /* the ✦ sparkle accent from the lockup */
  --ink: #231C1F;           /* near-black, warm */
  --ink-soft: #5C5256;      /* secondary text */
  --white: #FFFFFF;
  --line: rgba(35, 28, 31, 0.12);

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  /* Rhythm */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow: 0 16px 40px rgba(35, 28, 31, 0.10);
  --shadow-soft: 0 6px 18px rgba(35, 28, 31, 0.07);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 220ms;
  --container: 1200px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--pink); color: var(--white); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 var(--space-2); letter-spacing: 0.005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 var(--space-2); }
.em-pink { font-style: italic; color: var(--pink); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--blush { background: var(--pink-soft); }
.section--deep { background: var(--cream-deep); }
.section--white { background: var(--white); }
main { display: block; }

/* Eyebrow label — letterspaced, echoes the wordmark */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-2);
}

/* Signature: twin-stroke rule from the M monogram */
.twin-rule {
  width: 64px; height: 7px;
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  margin: var(--space-2) 0 var(--space-3);
}
.center .twin-rule { margin-inline: auto; }
.center { text-align: center; }

/* Gold sparkle divider (brand lockup accent) */
.sparkle {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.6em;
  text-align: center;
  margin-block: var(--space-2);
  user-select: none;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.95rem 1.9rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
              border-color var(--speed) var(--ease), transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  min-height: 44px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--pink); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--pink-deep); color: var(--white); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--pink); color: var(--pink-deep); background: transparent; }
.btn--outline:hover { background: var(--pink); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--pink-deep); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--pink); color: var(--white);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.5rem; }
.topbar a { color: var(--white); }
.topbar a:hover { opacity: 0.85; color: var(--white); }
.topbar__contact { display: flex; gap: 1.25rem; white-space: nowrap; }
@media (max-width: 720px) { .topbar__note { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 244, 237, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(35,28,31,0.06); }
/* Hide-on-scroll-down / show-on-scroll-up — mobile & tablet only.
   Desktop keeps the header always visible. */
@media (max-width: 1024px) {
  .header.header--hidden { transform: translateY(-100%); }
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); padding-block: 0.9rem; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; justify-self: center; }
.nav__brand img { width: 40px; height: auto; }
.nav__wordmark { font-weight: 600; letter-spacing: 0.26em; font-size: 1.02rem; color: var(--ink); line-height: 1.1; }
.nav__wordmark small { display: block; font-size: 0.56rem; letter-spacing: 0.42em; color: var(--pink); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links--left { justify-self: start; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 1.6rem; }
.nav__contact-link {
  color: var(--ink); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.05em;
  padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent;
}
.nav__contact-link:hover, .nav__contact-link[aria-current="page"] { color: var(--pink-deep); border-color: var(--pink); }
.nav__links > li { position: relative; }
.nav__links a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.05em;
  padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--pink-deep); border-color: var(--pink); }

/* Services dropdown */
.dropdown__toggle { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: none; font: inherit; cursor: pointer; color: var(--ink); font-weight: 500; letter-spacing: 0.05em; padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; }
.dropdown__toggle:hover, .dropdown__toggle[aria-expanded="true"] { color: var(--pink-deep); border-color: var(--pink); }
.dropdown__toggle svg { transition: transform var(--speed) var(--ease); }
.dropdown__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown__menu {
  position: absolute; top: calc(100% + 0.8rem); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 0.5rem; min-width: 240px;
  opacity: 0; visibility: hidden; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.dropdown__menu.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown__menu a { display: block; padding: 0.65rem 0.9rem; border-radius: 8px; border: none; color: var(--ink); }
.dropdown__menu a:hover { background: var(--pink-soft); color: var(--pink-deep); }

/* Mobile menu */
.nav__burger {
  display: none; margin-left: auto;
  background: none; border: none; cursor: pointer; padding: 0.6rem;
  width: 44px; height: 44px;
}
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 60;
  background: var(--cream); padding: 5.5rem 1.75rem 2rem;
  flex-direction: column; gap: 0.25rem; overflow-y: auto;
  opacity: 0; transition: opacity var(--speed) var(--ease);
}
.mobile-menu.is-open { display: flex; opacity: 1; }
.mobile-menu a { font-size: 1.3rem; font-weight: 500; color: var(--ink); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { color: var(--pink-deep); }
.mobile-menu .mobile-menu__sub { font-size: 1.05rem; padding-left: 1.25rem; color: var(--ink-soft); }
.mobile-menu__close { position: absolute; top: 1.1rem; right: 1.25rem; background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); width: 44px; height: 44px; }
.mobile-menu .btn { margin-top: var(--space-3); }
@media (max-width: 1080px) {
  .nav { display: flex; justify-content: space-between; }
  .nav__links--left, .nav__contact-link, .nav__cta { display: none; }
  .nav__brand { justify-self: auto; }
  .nav__burger { display: block; }
}
body.menu-open, body.modal-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 76% center; }
/* Soft cream scrim keeps headline + subhead readable over the product shot */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(250, 244, 237, 0.95) 0%,
    rgba(250, 244, 237, 0.72) 30%,
    rgba(250, 244, 237, 0.18) 52%,
    rgba(250, 244, 237, 0) 64%);
}
.hero__inner { position: relative; min-height: clamp(540px, 78vh, 760px); display: flex; align-items: center; }
.hero__content { max-width: 540px; padding-block: var(--space-5); }
/* On wide desktops, let the hero container breathe wider so the text sits
   further left, clear of the vials */
@media (min-width: 1280px) {
  .hero .container { max-width: 1400px; }
}
.hero h1 { margin-bottom: var(--space-2); }
.hero .lead { margin-bottom: var(--space-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (max-width: 860px) {
  .hero__media img { opacity: 0.24; object-position: 60% center; }
  .hero__content { max-width: 100%; }
}

/* Page hero (interior pages) */
.page-hero { background: var(--pink-soft); padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero--image { position: relative; overflow: hidden; }
.page-hero--image .page-hero__media { position: absolute; inset: 0; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.30; }
.page-hero--image .container { position: relative; }
.breadcrumb { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--pink-deep); }

/* ---------- Cards & grids ---------- */
.grid { gap: var(--space-4); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.grid { display: grid; gap: var(--space-4); align-items: stretch; }
.card {
  background: var(--white); border-radius: var(--radius); padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; height: 100%;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: var(--space-2); }
.card .learn-more { margin-top: auto; padding-top: var(--space-2); }
.card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--pink-soft); color: var(--pink);
  display: flex; align-items: center; justify-content: center;
}
.card__icon svg { width: 30px; height: 30px; }
.card .learn-more { font-weight: 600; font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.4rem; }

/* Difference strip */
.difference { text-align: center; }
.difference__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
@media (max-width: 1100px) { .difference__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .difference__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .difference__grid { grid-template-columns: 1fr; } }
.difference__item { padding: var(--space-2); }
.difference__item svg { width: 36px; height: 36px; color: var(--pink); margin-bottom: 0.6rem; }
.difference__item h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
.difference__item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* Steps (journey) — sparkle nodes on a connector line, in sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--space-2); }
.step__marker {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pink); color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
  box-shadow: var(--shadow-soft);
}
/* connector line between markers (desktop only) */
@media (min-width: 861px) {
  .step:not(:last-child)::before {
    content: ""; position: absolute;
    top: calc(var(--space-2) + 21px); left: 54px; right: calc(-1 * var(--space-4));
    border-top: 1.5px dashed var(--gold); opacity: 0.55;
  }
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); }

/* Generated image icons on service cards */
.card__img-icon {
  width: 124px; height: 124px; border-radius: 12px;
  object-fit: cover;
}

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-4); } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media::after {
  content: ""; position: absolute; inset: 0;
  border: 2px solid var(--pink); border-radius: var(--radius);
  transform: translate(14px, 14px); z-index: -1;
}
/* Transparent product cut-outs sit directly on the section — no card box,
   no shadow, no offset frame (those are for rectangular photos only). */
.split__media--cutout img { border-radius: 0; box-shadow: none; }
.split__media--cutout::after { display: none; }
/* On phones, product cut-outs and the shop hero product render at a
   moderate, centered size instead of near full-width. */
@media (max-width: 760px) {
  .split__media--cutout img { max-width: 240px !important; margin-inline: auto; }
}

/* ---------- Map embed (About: Visit us) ---------- */
.map-embed { position: relative; }
.map-embed iframe {
  width: 100%; height: 340px; border: 0; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
  filter: grayscale(0.2) contrast(1.02);
}
.map-embed::after {
  content: ""; position: absolute; inset: 0;
  border: 2px solid var(--pink); border-radius: var(--radius);
  transform: translate(14px, 14px); z-index: -1;
}
.visit-details address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.visit-details .btn { margin-top: var(--space-3); }
@media (max-width: 900px) { .map-embed iframe { height: 280px; } }

/* Checklist — bullets use the brand's gold sparkle, not generic checks */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.65rem; }
.checklist li::before {
  content: "\2726"; /* ✦ four-pointed sparkle from the Moxie lockup */
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-size: 1.05rem;
  line-height: inherit;
}
.checklist--numbered { counter-reset: step; }
.checklist--numbered li { padding-left: 2.1rem; }
.checklist--numbered li::before {
  counter-increment: step; content: counter(step);
  color: var(--pink); font-family: var(--font-body); font-weight: 600;
  font-size: 0.8rem; top: 0.1rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--pink-soft);
  display: flex; align-items: center; justify-content: center;
}

/* Shop */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
.product {
  background: var(--white); border-radius: var(--radius); padding: var(--space-2);
  text-align: center; box-shadow: var(--shadow-soft);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product img { aspect-ratio: 1; object-fit: contain; margin-bottom: var(--space-1); }
.product h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin: 0 0 0.2rem; }
.product p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* Athleisure pre-order */
.preorder-banner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.preorder-banner img { width: 100%; height: auto; display: block; }
.preorder-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--pink); color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
}
.aw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
@media (max-width: 1080px) { .aw-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .aw-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); } }
.aw-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.aw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aw-card__media { position: relative; background: var(--cream); }
.aw-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.aw-card__badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: rgba(35, 28, 31, 0.78); color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: var(--radius-pill);
}
.aw-card__body { padding: var(--space-2) var(--space-2) var(--space-3); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.aw-card__name { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; margin: 0; color: var(--ink); }
.aw-card__meta { font-size: 0.82rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.aw-card__price { font-family: var(--font-display); font-size: 1.15rem; color: var(--pink-deep); margin: 0.2rem 0 0; }
.aw-card__btn { margin-top: auto; padding-top: var(--space-2); }
.aw-card__btn .btn { width: 100%; }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; padding: 1.1rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--pink); font-size: 1.5rem; font-weight: 400; transition: transform var(--speed) var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.1rem; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 100%); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,0.85); }
.cta-band .sparkle { color: rgba(255,255,255,0.85); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.8rem 0.95rem; transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232, 26, 95, 0.14);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #C0392B; }
.field__error { display: none; color: #C0392B; font-size: 0.85rem; margin-top: 0.3rem; }
.field.is-invalid .field__error { display: block; }
.form__note { font-size: 0.85rem; color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(35, 28, 31, 0.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity var(--speed) var(--ease); }
.modal.is-visible .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative; background: var(--white); border-radius: var(--radius);
  max-width: 460px; width: 100%; padding: var(--space-4);
  box-shadow: var(--shadow); text-align: center;
  transform: translateY(14px) scale(0.97); opacity: 0;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.modal.is-visible .modal__card { transform: translateY(0) scale(1); opacity: 1; }
.modal__close { position: absolute; top: 0.7rem; right: 0.8rem; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; width: 44px; height: 44px; }
.modal__close:hover { color: var(--ink); }
.modal__card .sparkle { margin-top: 0; }
.modal__actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: var(--space-3); }

/* ---------- Toast ---------- */
.toast-region { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 90; display: flex; flex-direction: column; gap: 0.6rem; }
.toast {
  background: var(--ink); color: var(--white); border-radius: 10px;
  padding: 0.85rem 1.2rem; font-size: 0.95rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.6rem; max-width: 360px;
  transform: translateY(10px); opacity: 0; transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast--success { border-left: 4px solid var(--pink); }
.toast--error { border-left: 4px solid #C0392B; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); padding-block: var(--space-5); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-2); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: var(--white); }
.footer__brand img { width: 46px; margin-bottom: 0.8rem; }
.footer__brand p { max-width: 32ch; }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.14); padding-block: var(--space-2); font-size: 0.82rem; color: rgba(255,255,255,0.55); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between; }
.footer__legal a { color: rgba(255,255,255,0.55); }
.footer__legal a:hover { color: var(--white); }
.footer__disclaimer { font-size: 0.8rem; color: rgba(255,255,255,0.45); padding-bottom: var(--space-2); max-width: 90ch; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

[id] { scroll-margin-top: 110px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print niceties ---------- */
@media print {
  .topbar, .header, .footer, .modal, .toast-region { display: none !important; }
}

/* ---------- Lenis smooth-scroll hooks ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Shop: brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 860px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .brand-grid { grid-template-columns: 1fr; } }
.brand-card {
  background: var(--white); border-radius: var(--radius); padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-soft); border-left: 3px solid var(--pink);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.3rem; }
.brand-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.5rem; }
.brand__link { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Provider portrait: clean circle, ember ring, no white card ---------- */
.split__media--portrait { max-width: 460px; margin-inline: auto; }
.split__media--portrait::after { display: none; }
.split__media--portrait img {
  border-radius: 50%;
  box-shadow: none;
  border: 6px solid var(--pink-soft);
  outline: 2px solid var(--pink);
  outline-offset: -2px;
}

/* ---------- Community photo strip ---------- */
.community-strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-3); }
.community-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .community-strip { grid-template-columns: 1fr; } .community-strip img { aspect-ratio: 3 / 2; } }

/* ---------- Shop product hero ---------- */
.page-hero--product { background: var(--pink-soft); }
.page-hero--product .split { align-items: center; }
.page-hero--product .page-hero__product { text-align: center; }
.page-hero--product .page-hero__product img { max-width: 460px; margin-inline: auto; }
@media (max-width: 900px) { .page-hero--product .page-hero__product { margin-top: 1.5rem; } .page-hero--product .page-hero__product img { max-width: 300px; } }
@media (max-width: 760px) { .page-hero--product .page-hero__product img { max-width: 240px; } }

/* ==========================================================================
   EMRG booking slide-in panel
   Opens the EMRG booking page in an on-site overlay (iframe), sliding in
   from the right like the previous site. Falls back to a new tab in JS if
   EMRG blocks framing.
   ========================================================================== */
.booking-panel { position: fixed; inset: 0; z-index: 90; display: none; }
.booking-panel.is-open { display: block; }
.booking-panel__backdrop {
  position: absolute; inset: 0;
  background: rgba(35, 28, 31, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--speed) var(--ease);
}
.booking-panel.is-visible .booking-panel__backdrop { opacity: 1; }
.booking-panel__sheet {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(480px, 100%);
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--speed) var(--ease);
}
.booking-panel.is-visible .booking-panel__sheet { transform: translateX(0); }
.booking-panel__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.booking-panel__title {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--ink);
}
.booking-panel__close {
  background: none; border: none; font-size: 1.8rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer; width: 44px; height: 44px;
}
.booking-panel__close:hover { color: var(--pink-deep); }
.booking-panel__body { position: relative; flex: 1 1 auto; }
.booking-panel__frame {
  position: relative; z-index: 1;
  width: 100%; height: 100%; border: 0; display: block;
}
.booking-panel__spinner {
  position: absolute; top: 50%; left: 50%;
  width: 38px; height: 38px; margin: -19px 0 0 -19px; z-index: 0;
  border: 3px solid var(--pink-soft);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: booking-spin 0.8s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .booking-panel__sheet, .booking-panel__backdrop { transition: none; }
  .booking-panel__spinner { animation: none; }
}
