/* ==========================================================
   MassageMax — studio site
   ========================================================== */
:root {
  --sand: #EFE6DA;
  --sand-2: #E6DACA;
  --cream: #FAF6F0;
  --paper: #FFFDF9;
  --clay: #B5603F;
  --clay-d: #9A4C2F;
  --forest: #1F3A33;
  --forest-2: #2A4A41;
  --ink: #23201C;
  --muted: #6B625A;
  --line: rgba(35, 32, 28, .12);
  --brass: #C9A46A;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(35,32,28,.04), 0 12px 32px -8px rgba(35,32,28,.14);
  --shadow-lg: 0 2px 4px rgba(35,32,28,.05), 0 30px 70px -20px rgba(31,58,51,.35);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin: 0 0 14px; }
.eyebrow--light { color: var(--brass); }
.h2 { font-family: var(--serif); font-weight: 350; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 18px; font-variation-settings: "opsz" 120; }
.h2 em, .hero__title em, .final em { font-style: italic; font-weight: 300; color: var(--clay); }
.h2--light { color: var(--cream); }
.h2--light em { color: #E8B48F; }
.muted { color: var(--muted); margin: 0 0 24px; max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.btn--primary { --bg: var(--clay); box-shadow: 0 8px 24px -8px rgba(181,96,63,.6); }
.btn--primary:hover { --bg: var(--clay-d); }
.btn--light { --bg: rgba(255,255,255,.12); --fg: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn--light:hover { --bg: #fff; --fg: var(--forest); }
.btn--ghost { --bg: transparent; --fg: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.link-btn { font-weight: 700; color: var(--clay); text-decoration: none; font-size: 14px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background .3s, color .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(250,246,240,.88); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1280px, 100% - 40px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 23px; letter-spacing: -.01em; font-weight: 450; }
.brand em { font-style: italic; font-weight: 300; }
.brand__mark { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 600; opacity: .85; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: 10px; }
.nav:not(.is-scrolled) .btn--ghost { --fg: #fff; border-color: rgba(255,255,255,.45); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--forest); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: heroZoom 18s ease-out both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,34,30,.82) 0%, rgba(20,34,30,.5) 45%, rgba(20,34,30,.05) 80%),
  linear-gradient(0deg, rgba(20,34,30,.6) 0%, transparent 40%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { padding: calc(var(--nav-h) + 80px) 0 72px; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -.035em; margin: 0 0 24px; font-variation-settings: "opsz" 144; }
.hero__title em { color: #EBB792; }
.hero__lede { font-size: clamp(16px, 1.6vw, 19px); max-width: 46ch; color: rgba(255,255,255,.86); margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 28px 0 0; margin: 48px 0 0; border-top: 1px solid rgba(255,255,255,.2); max-width: 760px; }
.hero__proof li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hero__proof strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.hero__proof small { color: rgba(255,255,255,.72); font-size: 13px; }
.stars { color: var(--brass); letter-spacing: 2px; font-size: 14px; }

.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Path chooser ---------- */
.paths { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: -44px; }
.path {
  display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--r);
  background: var(--paper); text-decoration: none; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.path:hover { transform: translateY(-3px); border-color: var(--clay); }
.path__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--forest); }
.path--book .path__icon { background: var(--clay); color: #fff; }
.path__icon svg { width: 26px; height: 26px; }
.path__text { display: grid; gap: 2px; flex: 1; }
.path__text strong { font-size: 17px; }
.path__text small { color: var(--muted); font-size: 14px; }
.path__text b { color: var(--clay); }
.path__arrow { font-size: 22px; color: var(--clay); transition: transform .25s; }
.path:hover .path__arrow { transform: translateX(4px); }

/* ---------- Widget shells (shared) ---------- */
.widget-card {
  position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; min-width: 0;
}
.widget-card__head {
  display: flex; align-items: center; gap: 10px; padding: 16px 24px; font-size: 13px; font-weight: 700;
  letter-spacing: .02em; color: var(--forest); background: linear-gradient(180deg, var(--cream), #fff); border-bottom: 1px solid var(--line);
}
.widget-card__tag { margin-left: auto; font-weight: 600; color: var(--muted); background: var(--sand); padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.widget-card__body { position: relative; padding: 8px; min-height: 560px; }
.widget-card__body .mindbody-widget { position: relative; z-index: 1; }
.widget-card__body iframe { width: 100% !important; border: 0; display: block; }
.widget-card.is-loaded .skeleton { opacity: 0; visibility: hidden; }
.widget-card.is-loaded .widget-card__body { min-height: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3BA272; box-shadow: 0 0 0 0 rgba(59,162,114,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59,162,114,0); } 100% { box-shadow: 0 0 0 0 rgba(59,162,114,0); } }
.widget-card.is-focus { animation: ring 1.6s ease-out; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(181,96,63,.55), var(--shadow-lg); } 100% { box-shadow: 0 0 0 22px rgba(181,96,63,0), var(--shadow-lg); } }

.skeleton { position: absolute; inset: 8px; padding: 24px; display: grid; gap: 16px; align-content: start; transition: opacity .4s, visibility .4s; }
.sk { border-radius: 12px; background: linear-gradient(90deg, #F2ECE4 0%, #FAF6F0 50%, #F2ECE4 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-row { display: flex; gap: 12px; }
.sk-row > .sk { flex: 1; }
.sk--title { height: 28px; width: 55%; }
.sk--pill { height: 40px; border-radius: 999px; }
.sk--block { height: 92px; }
.sk--block.short { width: 70%; }
.sk--field { height: 52px; }
.sk--btn { height: 52px; width: 45%; border-radius: 999px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.widget-fallback { position: relative; z-index: 2; margin: 24px; padding: 18px 20px; border-radius: 12px; background: #FFF4EC; border: 1px solid #F0CDB5; font-size: 15px; }

/* ---------- Booking ---------- */
.booking { padding: 110px 0 120px; }
.booking__grid { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 56px; align-items: start; }
.booking__aside { position: sticky; top: calc(var(--nav-h) + 28px); }
.steps { list-style: none; padding: 0; margin: 8px 0 30px; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--forest); color: #fff; font-family: var(--serif); }
.steps strong { display: block; font-size: 15px; }
.steps small { color: var(--muted); font-size: 14px; }
.assure { display: grid; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--sand); font-size: 14px; font-weight: 600; color: var(--forest); }
.assure div { display: flex; align-items: center; gap: 10px; }
.assure svg { width: 20px; height: 20px; flex: none; color: var(--clay); }
.help { font-size: 14px; color: var(--muted); margin-top: 22px; }
.help a { color: var(--forest); font-weight: 700; }

/* ---------- Treatments ---------- */
.treatments { padding: 110px 0; background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-head .muted { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.tx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tx { background: var(--cream); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.tx:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tx__img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand-2); }
.tx__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tx:hover .tx__img img { transform: scale(1.05); }
.tx__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tx__meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tx h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 8px 0 6px; letter-spacing: -.01em; }
.tx p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.tx__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-size: 14px; color: var(--muted); }
.price b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.addons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.addons__label { font-weight: 700; font-size: 14px; margin-right: 6px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 600; color: var(--forest); }

/* ---------- Registration ---------- */
.register { position: relative; padding: 120px 0; background: var(--forest); color: var(--cream); overflow: hidden; isolation: isolate; }
.register__bg { position: absolute; inset: 0; z-index: -1; background: url("assets/img/texture.jpg") center / cover; opacity: .14; mix-blend-mode: luminosity; }
.register::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(181,96,63,.35), transparent); z-index: -1; }
.register__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: 64px; align-items: start; }
.register__copy { position: sticky; top: calc(var(--nav-h) + 28px); }
.lede-light { color: rgba(250,246,240,.78); margin: 0 0 30px; max-width: 46ch; }
.offer { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); margin-bottom: 28px; }
.offer__badge { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--clay); display: grid; place-content: center; text-align: center; line-height: 1; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transform: rotate(-8deg); }
.offer__badge span { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.offer__badge small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.offer strong { font-size: 16px; }
.offer p { margin: 2px 0 0; font-size: 14px; color: rgba(250,246,240,.75); }
.benefits { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 12px; font-size: 15px; color: rgba(250,246,240,.9); }
.benefits svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(201,164,106,.2); color: var(--brass); }
.fine { font-size: 14px; color: rgba(250,246,240,.65); }
.fine a { color: #EBB792; font-weight: 700; }
.widget-card--reg { color: var(--ink); }

/* ---------- Reviews ---------- */
.reviews { padding: 110px 0 90px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev { margin: 0; padding: 30px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.rev blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; font-weight: 350; }
.rev figcaption { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.rev--accent { background: var(--sand); }

/* ---------- Studio ---------- */
.studio { padding: 40px 0 110px; }
.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.studio__media { position: relative; padding-bottom: 60px; }
.studio__media > img:first-child { border-radius: var(--r-lg); aspect-ratio: 4 / 3.6; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.studio__inset { position: absolute; right: -24px; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border: 6px solid var(--cream); box-shadow: var(--shadow-lg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 30px; padding: 24px 0; border-block: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--forest); line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.visit h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0 0 6px; }
.visit p { margin: 0; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 120px; }
.faq__list { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-family: var(--serif); font-size: 21px; font-weight: 400; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-family: var(--sans); font-size: 26px; font-weight: 300; color: var(--clay); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 66ch; }
.faq details a { color: var(--clay); font-weight: 700; }

/* ---------- Final CTA ---------- */
.final { position: relative; padding: 120px 0; text-align: center; color: #fff; background: var(--forest) url("assets/img/ritual.jpg") center / cover; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; background: rgba(20,34,30,.78); z-index: -1; }
.final__inner { display: grid; justify-items: center; gap: 30px; }
.final .h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); }
.final .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #16291F; color: rgba(250,246,240,.75); padding: 48px 0 56px; font-size: 14px; }
.footer__inner { display: grid; justify-items: center; gap: 10px; text-align: center; }
.brand--footer { color: var(--cream); margin-bottom: 6px; }
.footer a { color: var(--cream); }
.footer p { margin: 0; }
.footer__small { font-size: 12px; opacity: .6; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .booking__grid, .register__grid, .studio__grid { grid-template-columns: 1fr; gap: 40px; }
  /* Widgets come straight after their heading on narrow screens; supporting copy follows. */
  .booking__aside, .register__copy { display: contents; }
  .booking__grid, .register__grid { gap: 0; }
  .widget-card { order: 1; margin-bottom: 36px; }
  .register .offer { margin-bottom: 28px; }
  .steps, .assure, .help, .benefits, .fine { order: 2; }
  .tx-grid { grid-template-columns: repeat(2, 1fr); }
  .studio__inset { right: 16px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 62px; }
  .wrap { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .brand { font-size: 20px; }
  .hero__content { padding-bottom: 92px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { gap: 12px 24px; }
  .paths { grid-template-columns: 1fr; margin-top: -52px; }
  .path { padding: 18px; }
  .booking, .treatments, .register, .reviews { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .section-head .muted { margin-top: 4px; }
  .tx-grid, .rev-grid { grid-template-columns: 1fr; }
  .widget-card { border-radius: var(--r); margin-inline: -4px; }
  .widget-card__body { padding: 4px; }
  .widget-card__head { padding: 14px 16px; }
  .stats dt { font-size: 28px; }
  .visit { grid-template-columns: 1fr; }
  .final { padding: 80px 0 100px; }
  .footer { padding-bottom: 110px; }

  .dock {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 8px; border-radius: 999px; background: rgba(250,246,240,.92); backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -6px rgba(31,58,51,.35); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .dock.is-visible { transform: none; }
  .dock__btn { flex: 1; text-align: center; padding: 13px 10px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
  .dock__btn--primary { background: var(--clay); color: #fff; }
  .dock__btn--ghost { color: var(--forest); }
}
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #2F7A57; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3BA272; }
