/* Yoga Zen — skeleton styles. Placeholder palette pulled from the logo and the
   old site's Momence theme (olive 103,117,50); expect this to change in the redesign. */
:root {
  --olive: #677532;
  --olive-dark: #4c5725;
  /* Dark green for the page shell (header + footer). Same hue as the logo
     olive, darkened to roughly the studio's back wall. */
  --forest: #36441f;
  --cream: #f1efe6;
  --ink: #03010d;
  --stone: #6b6b6b;
  --paper: #fbfbf8;
  --sand: #f1efe6;
  --mist: #f1f2f0;
  --font-body: "Jost", system-ui, sans-serif;
  /* Josefin Sans is the typeface used in the Yoga Zen logo. */
  --font-display: "Josefin Sans", "Jost", system-ui, sans-serif;
  --max: 1200px;
  /* One timing for every interactive transition on the site. */
  --ease: 0.4s ease-in-out;
}

*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter keeps the page width fixed when the mobile drawer locks
   scrolling, so nothing shifts sideways mid-animation. */
html { scroll-behavior: smooth; background: var(--forest); scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  /* Transparent so the dark green on <html> reads through the header and
     footer; only <main> paints the light page area. */
  background: transparent;
}
main { background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-dark); transition: color var(--ease); }
/* Text links in the page body: no underline, fade on hover (same as the footer).
   Buttons and pill links keep their own background hovers. */
main a:not(.button):not(.pricing-jump a) { text-decoration: none; transition: opacity var(--ease); }
main a:not(.button):not(.pricing-jump a):hover { opacity: 0.7; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.25; letter-spacing: 0.02em; }

.limit { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.page { max-width: 860px; margin: 0 auto; padding: 48px 24px 72px; }
/* Every interior page heading is centred. */
.page h1 { text-align: center; }
.center { text-align: center; }

.button, button[type="submit"] {
  display: inline-block;
  background: var(--olive);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font: 500 17px/1.2 var(--font-display);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), opacity var(--ease);
}
.button:hover, button[type="submit"]:hover { background: var(--olive-dark); }
button[disabled] { opacity: 0.8; cursor: default; }

/* Header */
.site-header { background: var(--forest); border-bottom: 1px solid rgba(241, 239, 230, 0.16); position: sticky; top: 0; z-index: 50; }
/* Three equal-ish bands: logo | nav | book, each centred in its own box. */
.header-inner { max-width: var(--max); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
.site-header .logo { flex: 1; display: flex; justify-content: center; }
.site-header .logo img { height: 78px; width: auto; }
.site-header nav { flex: 2 1 auto; min-width: max-content; display: flex; justify-content: center; }
.header-book { flex: 1; display: flex; justify-content: center; }
.site-header nav > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.site-header nav li { position: relative; }
.site-header nav a { display: block; padding: 8px 11px; color: var(--cream); text-decoration: none; font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em; white-space: nowrap; transition: color var(--ease); }
.site-header nav a.active, .site-header nav a:hover { color: #c2d081; }
.nav-toggle {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  padding: 8px 11px; color: var(--cream);
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em;
  /* Buttons don't inherit line-height; without this the toggles come out
     shorter than the plain links and sit high in the header. */
  line-height: 1.6;
  white-space: nowrap; transition: color var(--ease);
}
.nav-toggle.active, .nav-toggle:hover { color: #c2d081; }
/* Triangle indicator: points down when closed, flips up when open. */
.caret {
  width: 0; height: 0; flex: none;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--ease);
}
.is-open > .nav-toggle > .caret { transform: rotate(180deg); }
.site-header nav li ul {
  position: absolute; left: 0; top: 100%; min-width: 220px;
  list-style: none; margin: 0; padding: 8px 0; background: var(--forest);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); border-radius: 8px;
  border: 1px solid rgba(241, 239, 230, 0.16);
  /* visibility rather than display so the open/close can actually animate. */
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
}
/* Opened by click only (script.js toggles .is-open). Deliberately not :hover
   or :focus-within — the latter also matched a *clicked* link, and browsers
   restore that focus on back/forward, which left menus hanging open. */
.site-header nav li.is-open > ul {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Hamburger: a fixed 44px box with the three bars at whole-pixel offsets, so
   they render at the same weight (auto-centred 2px bars landed on half pixels
   and the bottom one smeared thicker). Turns into an X when the drawer opens. */
.mobile-open {
  display: none; position: relative; flex: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.mobile-open span {
  position: absolute; left: 9px; width: 26px; height: 2px; border-radius: 2px;
  background: var(--cream);
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}
.mobile-open span:nth-child(1) { top: 14px; }
.mobile-open span:nth-child(2) { top: 21px; }
.mobile-open span:nth-child(3) { top: 28px; }
.nav-open .mobile-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .mobile-open span:nth-child(2) { opacity: 0; }
.nav-open .mobile-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* On the dark header the solid olive button disappears, so outline it in cream. */
.header-cta { background: transparent; border: 1px solid var(--cream); color: var(--cream); }
.header-cta:hover { background: var(--cream); color: var(--forest); }

@media (max-width: 1080px) {
  /* Hamburger hard left, logo centred in the remaining bar. The hamburger's
     twin-width spacer on the right keeps the logo truly centred. */
  .mobile-open { display: block; order: -1; z-index: 2; }
  .header-inner::after { content: ""; width: 44px; flex: none; }
  .header-book { display: none; }
  .site-header .logo { flex: 1; justify-content: center; }
  /* A 78px logo makes the sticky header eat too much of a phone screen. */
  .site-header .logo img { height: 58px; }
  /* Full-screen drawer that slides in from the left over the whole page,
     header included; only the hamburger/X stays on top of it. */
  .site-header nav {
    position: fixed; inset: 0; z-index: 1; min-width: 0;
    display: block; overflow-y: auto; overscroll-behavior: contain;
    background: var(--forest);
    padding: 88px 28px 40px;
    transform: translateX(-100%); visibility: hidden;
    /* Pre-promote the layer so the first frame of the slide doesn't hitch. */
    will-change: transform;
    transition: transform var(--ease), visibility var(--ease);
  }
  .site-header.nav-open nav { transform: none; visibility: visible; }
  .site-header nav > ul { flex-direction: column; gap: 0; max-width: 520px; margin: 0 auto; }
  .site-header nav > ul > li { border-bottom: 1px solid rgba(241, 239, 230, 0.14); }
  .site-header nav > ul > li > a, .nav-toggle { font-size: 22px; padding: 14px 4px; }
  .site-header nav li ul {
    position: static; box-shadow: none; border: 0; border-radius: 0; background: none;
    padding: 0 0 0 18px; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    /* max-height so the submenu can animate open. */
    max-height: 0; overflow: hidden;
    /* script.js sets the exact open height, so ease-out runs to the real
       bottom instead of stalling then lurching toward an oversized cap. */
    transition: max-height 0.3s ease-out;
  }
  .site-header nav li.is-open > ul { max-height: 340px; }
  /* Spacing lives inside the animated height rather than snapping on. */
  .site-header nav li ul li:last-child { padding-bottom: 10px; }
  .site-header nav li ul a { font-size: 18px; padding: 8px 4px; }
  .nav-toggle { width: 100%; justify-content: space-between; }
  /* No page scrolling behind the open drawer. */
  html.nav-lock { overflow: hidden; }
}

/* Footer */
.site-footer { background: transparent; color: var(--cream); margin-top: 48px; padding: 48px 24px 24px; }
.site-footer a { color: var(--cream); text-decoration: none; transition: opacity var(--ease); }
.site-footer a:hover { opacity: 0.7; }
/* Two columns: Connect hard left, Quick Links hard right. */
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.footer-connect { text-align: left; }
.footer-links { text-align: right; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.social { display: flex; gap: 18px; }
.social a { display: inline-flex; text-decoration: none; transition: opacity var(--ease), transform var(--ease); }
.social a img { height: 30px; width: 30px; }
.social a:hover { opacity: 0.75; transform: translateY(-2px); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links { text-align: left; }
}
.site-footer h4 {
  margin: 0 0 20px;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: #fff;
}
/* Each block under a footer heading gets its own breathing room. */
.site-footer p { margin: 0 0 4px; }
.footer-connect > p { margin: 0 0 22px; }
.footer-connect > p:last-child { margin-bottom: 0; }
/* Sits tight under the address it qualifies. */
.footer-connect > p.footer-hours { margin-top: -14px; font-style: italic; font-size: 15px; opacity: 0.8; }
.copyright { text-align: center; font-size: 14px; color: rgba(241, 239, 230, 0.7); margin-top: 32px; }


/* Home banner — slow cross-fading/drifting photo background.
   Same technique as the rivertown site: the slides are <img> tags the script
   swaps into the container's background-image, so they preload and the CSS
   transition does the drift. */
.breeze {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--forest);
  transition: background-image 1s linear, background-size 6s ease-in-out, background-position 6s ease-in-out;
}
.breeze img { display: none; }

.pitch {
  padding: clamp(90px, 13vw, 190px) 24px;
  text-align: center;
  background-color: rgba(28, 36, 16, 0.42);
}
.pitch h1, .pitch h2 { color: #fff; text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.75), -1px -1px 12px rgba(0, 0, 0, 0.6); }
.pitch h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 10px; }
.pitch h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; margin: 0 0 28px; }
.pitch .button { margin: 6px 8px; }
.pitch .button-light { background: var(--cream); color: var(--forest); }
.pitch .button-light:hover { background: #fff; color: var(--forest); }
/* Stacked on phones, so match the two banner buttons' widths. */
@media (max-width: 600px) {
  .pitch .button { width: 80%; }
}

/* Announcement bar — carried over from the old site's Squarespace bar.
   Sits above the sticky header so it scrolls away and the header stays put. */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--ink); color: var(--cream);
  padding: 9px 44px 9px 20px; position: relative;
  max-height: 80px; overflow: hidden;
  transition: max-height var(--ease), opacity var(--ease), padding var(--ease);
}
.promo-link {
  color: var(--cream); text-decoration: none; text-align: center;
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.03em;
  /* Whole-pixel line height so the sticky header below never starts on a
     half pixel (1.6 x 16px = 25.6px blurred the hamburger bars). */
  line-height: 24px;
}
.promo-link:hover { color: #fff; text-decoration: underline; }
.promo-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--cream); cursor: pointer;
  font-size: 26px; line-height: 1; padding: 0 8px;
  transition: color var(--ease), opacity var(--ease);
}
.promo-close:hover { color: #fff; }
/* Collapse on dismiss; the <html> class hides it outright on later visits. */
.promo-bar.is-closing { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.promo-dismissed .promo-bar { display: none; }

/* Alternating full-width home sections. */
.section { background: #fff; padding: 60px 0; }
.section.alt { background: var(--mist); }
.section > .limit > h2:first-child { margin-top: 0; }
.section-title { text-align: center; margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); }
.section-lead { text-align: center; max-width: 760px; margin: 0 auto 36px; color: var(--stone); }

/* Three-up cards linking into the main areas of the site. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); color: var(--ink);
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: 220px; object-fit: cover; }
.card h3 { margin: 0; padding: 18px 20px 6px; font-size: 24px; text-align: center; }
/* Mirrors the section's nav submenu. */
.card-links { list-style: none; margin: 0; padding: 10px 20px 22px; text-align: center; }
.card-links li { margin: 0 0 8px; }
.card-links a { color: var(--olive-dark); font-size: 17px; text-decoration: none; }
.card-links a:hover { opacity: 0.7; }

/**** Google Reviews — ported from craftedleaf ****/
.review-item {
  display: inline-block;
  vertical-align: top;
  width: 33%;
  min-width: 300px;
  padding: 20px;
}

@media (max-width: 1000px) {
  .review-item { width: 50%; }
}

@media (max-width: 600px) {
  .review-item { width: 100%; display: block; }
}

.review-meta, .review-stars { text-align: center; }
.review-author { text-transform: capitalize; font-weight: bold; }
.review-date { opacity: .6; display: block; }

.review-text {
  line-height: 1.4;
  font-size: 16px;
}

.review-stars ul {
  display: inline-block;
  list-style: none !important;
  margin: 0; padding: 0;
}

.review-stars ul li {
  float: left;
  list-style: none !important;
  background: none;
  margin-right: 1px;
  line-height: 1;
  padding: 0;
}

.review-stars ul li i {
  color: #E4B248;
  font-size: 1.4em;
  font-style: normal;
}

.review-stars ul li i.inactive { color: #c6c6c6; }
.star:after { content: "\2605"; }

.google-reviews { text-align: center; }

.reviews-more { margin: 28px 0 0; }

/* Virtual studio tour — full-bleed, so it ignores the .limit width. */
.tour-embed { width: 100%; line-height: 0; padding: 0 10px; }
.tour-embed iframe {
  display: block; width: 100%; border: 0;
  height: clamp(380px, 62vh, 700px);
}

/* Contact page (eqpiercing layout): details with the clickable map under them
   on the left, the form on the right; stacks on narrow screens. */
.contact-page { max-width: 1140px; }
.contact-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px;
  align-items: start; margin: 36px 0 0;
}
.contact-map { margin-top: 24px; }
.contact-map a { display: block; transition: opacity var(--ease); }
.contact-map a:hover { opacity: 0.85; }
.contact-details h2 { margin: 0 0 14px; font-size: 26px; }
.contact-details p { margin: 0 0 22px; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { opacity: 0.7; }
.contact-hours { color: var(--stone); font-size: 16px; font-style: italic; }
.contact-map img { width: 100%; border-radius: 10px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12); }

@media (max-width: 700px) {
  .contact-split { grid-template-columns: 1fr; gap: 32px; }
}

/**** Instructors — ported from the old teachers page (same class names) ****/
/* Wrapping flex rather than grid so a short last row (a lone instructor)
   centres. Column count matches the old auto-fill grid (min 190px columns,
   26px gaps), read from the width of the .page the portraits sit in. */
.page:has(> .portraits) { container-type: inline-size; }
.portraits {
  --cols: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin: 32px 0 8px;
}
.portraits > * { flex: 0 0 calc((100% - (var(--cols) - 1) * 26px) / var(--cols)); min-width: 0; }
@container (min-width: 406px) { .portraits { --cols: 2; } }
@container (min-width: 622px) { .portraits { --cols: 3; } }
@container (min-width: 838px) { .portraits { --cols: 4; } }
/* The three long-term teachers sit between two rules, same grid as the rest. */
.portraits.long-term { margin: 0; }
.teacher-divider { border: 0; border-top: 1px solid #dcdcd4; margin: 32px 0; }
/* Full-width title banner (PageBanner component), darkened under the title. */
/* Height lives on the wrapper so the whole banner is capped: 300px on phones,
   scaling with width, 600px max. The photo just fills it. */
.page-banner { position: relative; height: clamp(300px, 45vw, 600px); overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); }
.page-banner h1 {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0 24px; text-align: center; color: #fff;
  font-size: clamp(34px, 5vw, 56px); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
/* Massage pricing: service cards with a length / price row per option. */
.member-cta { margin: 18px 0 0; }
.member-note { color: var(--olive-dark); font-family: var(--font-display); font-size: 20px; margin: 10px auto 0; }
/* Capped so six services wrap as two even rows of three. */
.service-cards { max-width: 1080px; margin: 0 auto; }
.service-cards .price-card { flex-basis: 300px; max-width: 340px; }
.service-card h3 { min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.price-rows { list-style: none; margin: 8px 0 24px; padding: 0; flex: 1; text-align: left; }
.price-rows li { border-bottom: 1px solid #ecece6; font-size: 16px; }
/* Each row is a deep link to that exact Momence service. */
.price-rows a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 8px; margin: 0 -8px; border-radius: 6px; color: var(--ink);
  transition: opacity var(--ease), background var(--ease);
}
.price-rows a:hover { background: var(--mist); }
.price-rows a span { flex: 1; }
/* Small cue that each row books on its own. */
.row-book { font-style: normal; font-size: 13px; letter-spacing: 0.04em; color: var(--olive-dark); white-space: nowrap; }
.price-rows li:last-child { border-bottom: 0; }
.price-rows strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--forest); white-space: nowrap; }
/* Shared content-page building blocks (retreat, teacher training). */
.intro-head { text-align: center; padding: 44px 0; }
.event-date { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); color: var(--forest); margin: 0 0 4px; }
.event-place { color: var(--stone); margin: 0 0 16px; }
.intro-head .section-lead { margin-bottom: 24px; }
/* Text beside a photo; .reverse puts the photo on the left. Stacks on phones. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1); }
.split.reverse > img { order: -1; }
.split h2 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 34px); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.includes .mini-card { flex: 1 1 200px; max-width: 240px; }
/* Same card as .private-option: green accent on the left for every list card. */
.mini-card { background: #fff; border: 1px solid #e3e3dc; border-left: 4px solid var(--olive); border-radius: 10px; padding: 18px 20px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }
.mini-card h3 { margin: 0 0 4px; font-size: 20px; color: var(--olive-dark); }
.mini-card p { margin: 0; font-size: 16px; color: var(--stone); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); justify-content: center; gap: 28px; text-align: center; }
.people img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; margin-bottom: 12px; }
.people h3 { margin: 0; font-size: 20px; }
.people p { margin: 2px 0 0; font-size: 15px; color: var(--stone); }
.retreat-fine { color: var(--stone); font-size: 16px; margin: 24px 0 0; }
.cta-photo { width: 100%; max-width: 760px; margin: 0 auto 28px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.cta-band h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); }
.list-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.list-card { background: #fff; border: 1px solid #e3e3dc; border-radius: 14px; padding: 28px 30px 16px; }
.list-card h2 { margin: 0 0 16px; font-size: 26px; }
.list-card .price-features { border-top: 0; padding-top: 0; }
.tt-card { max-width: 420px; flex-basis: 340px; }
.tt-note { font-size: 15px; color: var(--stone); text-align: left; margin: -8px 0 22px; }
.tt-discounts { text-align: center; margin-top: 30px; }
.tt-discounts p { margin: 0 0 6px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px; margin-bottom: 32px; }
.badges img { height: 110px; width: auto; }
.tt-cta-lead { font-family: var(--font-display); font-size: 24px; margin: 0 0 16px; }
@media (max-width: 800px) {
  .split, .list-cards { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > img { order: 0; }
}
@media (max-width: 480px) {
  .mini-cards { grid-template-columns: 1fr; }
  .badges img { height: 84px; }
}
/* Gallery component: big photo, arrows, thumbnail strip (script.js drives it). */
.gallery { max-width: 1000px; margin: 0 auto; outline: none; }
.gallery-main {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: var(--forest); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
/* contain, not cover: some photos (the trails map) must show in full. */
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.85); color: var(--forest);
  font-size: 34px; line-height: 44px; padding: 0;
  transition: opacity var(--ease), background var(--ease);
}
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count {
  position: absolute; right: 14px; bottom: 12px; padding: 3px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 14px;
}
.gallery-thumbs { display: flex; justify-content: safe center; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumb {
  flex: 0 0 auto; width: 120px; aspect-ratio: 4 / 3; padding: 0; border: 3px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer; background: none;
  opacity: 0.6; transition: opacity var(--ease), border-color var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { opacity: 1; border-color: var(--olive); }
.gallery-full {
  position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; cursor: pointer;
  background: rgba(0, 0, 0, 0.55); color: #fff; transition: background var(--ease);
}
.gallery-full:hover { background: rgba(0, 0, 0, 0.75); }
.gallery-full .icon-close, .gallery.is-full .gallery-full .icon-expand { display: none; }
.gallery.is-full .gallery-full .icon-close { display: block; }
/* Fullscreen overlay: photo fills the screen, thumbnails along the bottom. */
.gallery.is-full {
  position: fixed; inset: 0; z-index: 1000; max-width: none; margin: 0;
  display: flex; flex-direction: column; padding: 16px; background: rgba(0, 0, 0, 0.95);
}
.gallery.is-full .gallery-main { flex: 1; min-height: 0; aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; }
.gallery.is-full .gallery-thumb { opacity: 0.5; }
.gallery.is-full .gallery-thumb.active, .gallery.is-full .gallery-thumb:hover { opacity: 1; }
html.gallery-lock { overflow: hidden; }
@media (max-width: 600px) {
  .gallery-nav { width: 40px; height: 40px; font-size: 28px; line-height: 36px; }
  .gallery.is-full { padding: 8px; }
  .gallery-thumb { width: 88px; }
}
/* Reiki page. */
.reiki-intro { max-width: 760px; margin: 0 auto 24px; font-size: 19px; }
.reiki-intro p { margin: 0 0 14px; }
.reiki-note { color: var(--stone); font-size: 15px; font-style: italic; margin: 28px 0 0; }
.reiki-links { margin: 28px 0 0; font-family: var(--font-display); letter-spacing: 0.03em; }
.reiki-people { grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); gap: 40px; }
/* Portrait + name open the practitioner's bio popup (script.js). */
.bio-trigger { cursor: pointer; border-radius: 12px; transition: transform var(--ease); }
.bio-trigger:hover { transform: translateY(-3px); }
.bio-trigger:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
/* Homepage welcome buttons: stacked, both as wide as the longer label. */
.welcome-actions { display: inline-grid; gap: 1em; margin: 1em 0; }
.reiki-book { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
/* Forces the next button onto its own centred line. */
.reiki-book .break { flex-basis: 100%; height: 0; }
.reiki-book .button { padding: 9px 20px; font-size: 15px; }
.reiki-fine { color: var(--stone); font-size: 15px; margin-top: 24px; }
/* FAQ accordion (script.js slides .faq-a open/closed). */
.faq-list { margin-top: 32px; }
.faq-item { margin: 0 0 12px; border-radius: 10px; background: #fff; border: 1px solid #e3e3dc; overflow: hidden; }
.faq-item h3 { margin: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 22px; border: 0; background: var(--mist); cursor: pointer; text-align: left;
  font: 400 20px/1.35 var(--font-display); letter-spacing: 0.02em; color: var(--ink);
  transition: background var(--ease), color var(--ease);
}
.faq-q:hover { background: #e7e9e3; }
.faq-item.open .faq-q { background: var(--olive); color: #fff; }
/* Chevron that flips when the answer is open. */
.faq-icon {
  flex: none; width: 10px; height: 10px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform var(--ease), margin var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(225deg); margin-top: 4px; }
.faq-a { display: none; padding: 18px 22px 6px; }
.faq-a p { margin: 0 0 14px; }
.faq-more { margin-top: 36px; }
/* Massage booking page. */
.booking-head { padding: 48px 0 40px; }
.booking-head h1 { text-align: center; margin: 0 0 10px; }
.booking-head .section-lead { margin-bottom: 0; }
/* Loading overlay over the Momence frame until it has loaded. */
.embed-wrap { position: relative; }
.embed-loading {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center;
  padding-top: 160px; background: #fff; border-radius: 10px;
  transition: opacity var(--ease), visibility var(--ease);
}
.embed-loading p { margin: 18px 0 0; color: var(--stone); font-family: var(--font-display); letter-spacing: 0.04em; }
.embed-wrap.is-loaded .embed-loading { opacity: 0; visibility: hidden; }
.spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--mist); border-top-color: var(--olive);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.booking-embed { display: block; width: 100%; height: 1000px; border: 0; border-radius: 10px; background: #fff; }
.policy { max-width: 860px; }
.policy h2 { text-align: center; margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); }
@media (max-width: 600px) {
  .booking-embed { height: 1200px; }
}
/* Private classes page. */
.private-lead { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin-bottom: 28px; }
.private-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.private-option {
  background: #fff; border: 1px solid #e3e3dc; border-left: 4px solid var(--olive); border-radius: 10px;
  padding: 20px 22px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.private-option h3 { margin: 0 0 6px; font-size: 21px; color: var(--olive-dark); }
.private-option p { margin: 0; font-size: 17px; }
.private-cta { margin-top: 36px; line-height: 2.4; }
/* Massage page: Massage Therapists / Reiki Experts group headings. */
.provider-group { text-align: center; margin: 36px 0 0; font-size: clamp(24px, 2.6vw, 30px); }
/* A second title under the name (e.g. Reiki II) sits tight to the first. */
.instructor h3 + h3.extra-title { margin-top: -14px; }
.portraits > div[data-name] {
  cursor: pointer;
  text-align: center;
  transition: transform var(--ease);
}
.portraits > div[data-name]:hover { transform: translateY(-3px); }
.portraits > div[data-name]:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
.portraits img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%; margin-bottom: 12px;
}
.portraits h3 { margin: 0; font-size: 19px; }
.portraits h4 { margin: 2px 0 0; font-size: 15px; font-weight: 400; color: var(--stone); font-family: var(--font-body); }

.overlay {
  position: fixed; width: 100%; height: 100%; z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  top: 0; left: 0; text-align: center; box-sizing: border-box;
  overflow-y: auto; padding: 20px 0;
}
.instructor {
  display: none;
  width: 900px; max-width: calc(100% - 40px);
  padding: 28px; position: relative;
  background: var(--paper); border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  margin: auto; text-align: left; box-sizing: border-box; z-index: 1001;
}
.overlay .instructor { display: block; }
.instructor div.close {
  position: absolute; top: 12px; right: 16px;
  cursor: pointer; font-size: 26px; line-height: 1; color: var(--stone);
  transition: color var(--ease);
}
.instructor div.close:hover { color: var(--ink); }
.instructor img {
  width: 200px; height: 200px; object-fit: cover; border-radius: 50%;
  /* Right side, dropped a little so it clears the close X in the corner. */
  float: right; margin: 22px 0 16px 26px;
}
.instructor h2 { margin: 0 0 4px; font-size: 30px; }
.instructor h3 { margin: 0 0 18px; font-size: 19px; font-weight: 400; color: var(--stone); }
.instructor p { margin: 0 0 14px; }
.instructor .cert { font-size: 16px; }
.instructor .cert strong { color: var(--olive-dark); }
/* Second way out of a bio, at the bottom; closes exactly like the X. */
.instructor-footer { clear: both; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e3e3dc; }
.back-link {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--olive-dark); font: 500 17px/1.4 var(--font-display); letter-spacing: 0.04em;
  transition: opacity var(--ease);
}
.back-link:hover { opacity: 0.7; }

@media (max-width: 640px) {
  .instructor { padding: 24px 18px; }
  .instructor img { float: none; margin: 0 auto 16px; display: block; width: 160px; height: 160px; }
  .instructor h2, .instructor h3 { text-align: center; }
}

/* Pricing page: three sections of plan cards. Flex rather than grid so a
   short row (two individual-class cards) stays centred. */
.pricing-head { padding: 48px 0; }
.pricing-head h1 { text-align: center; margin: 0; }
.pricing-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pricing-jump a {
  padding: 8px 20px; border: 1px solid var(--olive); border-radius: 999px;
  color: var(--olive-dark); text-decoration: none; font-family: var(--font-display); font-size: 16px;
  transition: background var(--ease), color var(--ease);
}
.pricing-jump a:hover { background: var(--olive); color: #fff; }
.pricing-section { scroll-margin-top: 110px; }
.perks {
  list-style: none; margin: -14px auto 36px; padding: 0; max-width: 900px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.perks li { background: var(--sand); color: var(--olive-dark); border-radius: 999px; padding: 6px 16px; font-size: 16px; }
.price-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; align-items: stretch; }
.price-card {
  position: relative; flex: 1 1 250px; max-width: 320px;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e3e3dc; border-radius: 14px;
  padding: 34px 26px 28px; text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1); }
.price-card.featured { border: 2px solid var(--olive); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--olive); color: #fff; border-radius: 999px; padding: 4px 16px;
  font: 500 13px/1.4 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.price-card h3 { margin: 0 0 10px; font-size: 22px; }
.price { margin: 0; color: var(--forest); }
.price .amount { font-family: var(--font-display); font-size: 48px; line-height: 1.1; }
.price .per { font-size: 17px; color: var(--stone); margin-left: 2px; }
.price-blurb { margin: 6px 0 18px; color: var(--stone); font-size: 16px; }
.price-features { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid #ecece6; text-align: left; flex: 1; }
.price-features li { position: relative; padding-left: 26px; margin: 0 0 10px; font-size: 16px; line-height: 1.45; }
.price-features li::before { content: "\2713"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.price-card .button { align-self: center; }
.price-card.sold-out { box-shadow: none; }
.price-card.sold-out:hover { transform: none; box-shadow: none; }
.price-card.sold-out .price-badge { background: #9a3b2e; }
.price-card.sold-out h3, .price-card.sold-out .price, .price-card.sold-out .price-blurb { opacity: 0.55; }
.button.is-disabled, .button.is-disabled:hover { background: #b9b9b2; cursor: not-allowed; }
.pricing-notes { text-align: center; }
.pricing-notes h2 { margin: 0 0 8px; font-size: 28px; }
@media (max-width: 600px) {
  .price-card { max-width: none; }
}
