/* =====================================================================
   PIRANHAS ONSEN — WELLNESS CLUB
   Design system + components. Modern Wabi-Sabi.
   Headings: Fraunces (serif)  ·  Body/labels: Poppins (sans)
   ===================================================================== */

/* -------- Design tokens -------------------------------------------- */
:root {
  /* Palette — Modern Wabi-Sabi */
  --ivory:      #E9E3CF;   /* primary warm cream background */
  --cream:      #F3EFE2;   /* lighter cream for cards/sections */
  --beige:      #A8AA93;   /* muted sage-grey */
  --sage:       #7E9070;   /* brand green */
  --sage-600:   #6B7D5E;
  --sage-700:   #566848;
  --stone:      #C9C1BF;   /* soft mauve-grey */
  --taupe:      #6C5B4D;   /* warm brown */
  --taupe-700:  #4A3E33;
  --ink:        #2B2820;   /* warm near-black for text */
  --ink-soft:   #3c382e;

  /* Semantic */
  --bg:         var(--ivory);
  --surface:    var(--cream);
  --text:       var(--ink-soft);
  --heading:    var(--ink);
  --accent:     var(--sage);
  --accent-ink: #F3EFE2;

  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead:    clamp(1.2rem, 1.05rem + 0.7vw, 1.65rem);
  --fs-h4:      clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-h3:      clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  --fs-h1:      clamp(2.7rem, 1.8rem + 4.5vw, 6rem);
  --fs-display: clamp(3.2rem, 2rem + 6vw, 8rem);

  /* Spacing rhythm */
  --space-section: clamp(4.5rem, 3rem + 7vw, 10rem);
  --container:  1240px;
  --container-narrow: 820px;
  --gutter:     clamp(1.25rem, 0.8rem + 3vw, 3rem);

  --radius:     12px;    /* warm, rounded — matches logo geometry */
  --radius-pill: 999px;
  --border:     1px solid color-mix(in srgb, var(--taupe) 22%, transparent);
  --hairline:   1px solid color-mix(in srgb, var(--taupe) 16%, transparent);

  /* Depth — soft, warm, never harsh */
  --shadow-soft: 0 16px 38px -26px color-mix(in srgb, var(--ink) 60%, transparent);
  --shadow-lift: 0 30px 64px -32px color-mix(in srgb, var(--ink) 58%, transparent);

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --dur:        0.7s;
}

/* -------- Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* subtle paper grain for wabi-sabi texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--sage); color: var(--cream); }

:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; }

/* -------- Typography ------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.024em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 500; }
p  { max-width: 64ch; text-wrap: pretty; }

.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.03em; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-700);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 2.2em; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.center::after {
  content: "";
  width: 2.2em; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.kanji { font-family: var(--font-serif); opacity: 0.5; }

/* -------- Layout --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section-sm { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }

.bg-cream { background: var(--cream); }
.bg-sage  { background: var(--sage); color: var(--cream); }
.bg-sage h1, .bg-sage h2, .bg-sage h3, .bg-sage h4 { color: var(--cream); }
.bg-sage .eyebrow { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.bg-ink   { background: var(--ink); color: var(--ivory); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--ivory); }

.stack > * + * { margin-top: 1.25rem; }
.stack-sm > * + * { margin-top: 0.6rem; }

.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.2rem; }

/* -------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-sans);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.1em 2.1em;
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-600); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--sage-700); box-shadow: var(--shadow-lift); }
.btn-ink { background: var(--ink); color: var(--ivory); box-shadow: var(--shadow-soft); }
.btn-ink:hover { background: var(--taupe-700); box-shadow: var(--shadow-lift); }
.btn-outline { border: 1px solid currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.bg-sage .btn-outline, .bg-ink .btn-outline { color: var(--cream); }
.bg-sage .btn-outline:hover { background: var(--cream); color: var(--sage-700); border-color: var(--cream); }

.btn-wa { background: var(--sage-600); color: #fff; box-shadow: var(--shadow-soft); }
.btn-wa:hover { background: var(--sage-700); box-shadow: var(--shadow-lift); }
.btn-wa svg { width: 1.15em; height: 1.15em; }
/* On a sage band the green button would blend — use a cream button instead */
.bg-sage .btn-wa { background: var(--cream); color: var(--sage-700); }
.bg-sage .btn-wa:hover { background: #fff; color: var(--sage-700); }
.btn-wa::before, .wa-float::before {
  content: ""; flex: 0 0 auto; width: 1.15em; height: 1.15em; background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat;
}
.wa-float::before { width: 1.3em; height: 1.3em; }
:root {
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91C21.96 6.45 17.5 2 12.04 2Zm5.8 14.18c-.25.69-1.46 1.32-2.01 1.36-.51.04-1.01.23-3.42-.71-2.88-1.14-4.7-4.1-4.85-4.29-.14-.19-1.16-1.54-1.16-2.94 0-1.4.74-2.08 1-2.37.25-.28.55-.35.74-.35.18 0 .37 0 .53.01.18.01.41-.06.64.49.25.6.83 2.07.9 2.22.07.14.12.31.02.5-.09.19-.14.31-.28.48-.14.16-.29.36-.42.49-.14.14-.28.29-.12.57.16.28.71 1.17 1.52 1.9 1.05.93 1.93 1.22 2.21 1.36.28.14.44.12.6-.07.16-.19.69-.81.88-1.09.18-.28.37-.23.62-.14.25.09 1.61.76 1.89.9.28.14.46.21.53.32.07.12.07.66-.18 1.35Z'/%3E%3C/svg%3E");
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-700);
  padding-bottom: 0.2em;
  position: relative;
}
.link-arrow::after { content: "→"; transition: transform 0.4s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* -------- Header / Nav --------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), padding var(--dur) var(--ease);
  padding-block: 1.6rem;
}
/* Ease nav/brand colours in step with the header background so there's no
   light-on-light flash when scrolling back to the top over a dark hero */
.nav-links a, .nav-toggle span, .desktop-ctas .btn-outline, .brand {
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.scrolled {
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.9rem;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--taupe) 18%, transparent);
}
/* A backdrop-filter/transform/filter on the header turns it into a containing block,
   which traps the fixed full-screen menu overlay inside it. Neutralise all of them
   while the menu is open so the overlay is positioned against the viewport. */
body.nav-open .site-header,
body.nav-open .site-header.scrolled {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  transform: none !important; filter: none !important; perspective: none !important;
  will-change: auto !important;
  background: transparent !important; box-shadow: none !important;
}
/* WordPress admin bar offset (logged-in view) so the fixed header + menu line up */
.admin-bar .site-header { top: 32px; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .nav { top: 46px; }
}

.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand img { width: auto; height: 54px; transition: height var(--dur) var(--ease); }
.site-header.scrolled .brand img { height: 44px; }
.brand .logo-sage { display: block; }
.brand .logo-cream { display: none; }
/* swap to cream logo only when header sits over the dark hero (not scrolled) */
.site-header.on-dark:not(.scrolled) .brand .logo-sage { display: none; }
.site-header.on-dark:not(.scrolled) .brand .logo-cream { display: block; }

/* header over dark hero */
.site-header:not(.scrolled).on-dark .nav-links a { color: var(--ivory); }
.site-header:not(.scrolled).on-dark .nav-toggle span { background: var(--ivory); }
/* outline button goes ivory on dark hero so it reads clearly */
.site-header:not(.scrolled).on-dark .desktop-ctas .btn-outline {
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 60%, transparent);
}
.site-header:not(.scrolled).on-dark .desktop-ctas .btn-outline:hover {
  background: var(--ivory); color: var(--ink); border-color: var(--ivory);
}

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 400; letter-spacing: 0.04em; position: relative; padding-block: 0.3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width 0.4s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::before { content: ""; }
.submenu {
  position: absolute; top: calc(100% + 0.8rem); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  padding: 0.6rem; min-width: 230px;
  display: flex; flex-direction: column; gap: 0.1rem;
  opacity: 0; visibility: hidden; transition: all 0.35s var(--ease);
  box-shadow: 0 20px 50px -25px color-mix(in srgb, var(--ink) 50%, transparent);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { padding: 0.65rem 0.9rem; border-radius: var(--radius); font-size: 0.85rem; color: var(--ink); transition: background 0.3s var(--ease); }
.submenu a::after { display: none; }
.submenu a:hover { background: color-mix(in srgb, var(--sage) 18%, transparent); }

/* Two-button CTA group in header */
.nav-ctas { display: flex; align-items: center; gap: 0.65rem; }
/* Header buttons match hero size, kept single-line */
.nav-ctas .btn { white-space: nowrap; }
/* Medium desktop (1101–1240px): tighten nav so 6 links + 2 CTAs fit without clipping */
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-links { gap: 1.2rem; }
  .nav-ctas { gap: 0.5rem; }
  .nav-ctas .btn { padding: 0.95em 1.5em; font-size: 0.72rem; letter-spacing: 0.1em; }
}
/* Mobile CTAs live inside the nav overlay — hidden at desktop */
.mobile-ctas { display: none; }
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: all 0.4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* keep logo + toggle above the full-screen mobile overlay, and make them legible on it */
.site-header .brand { position: relative; z-index: 2; }
.nav-toggle { z-index: 2; }
body.nav-open .nav-toggle span { background: var(--ivory); }
body.nav-open .brand .logo-sage { display: none; }
body.nav-open .brand .logo-cream { display: block; }

/* -------- Hero ----------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(3rem, 6vw, 6rem); color: var(--ivory); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43,40,32,0.80) 0%, rgba(43,40,32,0.68) 40%, rgba(43,40,32,0.96) 100%); }
.hero-inner { position: relative; }
.hero h1 { color: var(--ivory); max-width: 16ch; }
.hero .lead { color: color-mix(in srgb, var(--ivory) 92%, transparent); max-width: 48ch; }
.hero .eyebrow { color: color-mix(in srgb, var(--ivory) 88%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
/* Outline button on dark hero — ivory border & text, fills ivory on hover */
.hero .btn-outline {
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 55%, transparent);
}
.hero .btn-outline:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.8; }
.scroll-cue .line { width: 1px; height: 46px; background: currentColor; position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--sage); animation: scrolldot 2.4s var(--ease) infinite; }
@keyframes scrolldot { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* -------- Image slots (placeholder art direction) ------------------ */
.img-slot {
  position: relative; overflow: hidden; background: var(--beige);
  background-image:
    radial-gradient(130% 100% at 25% 12%, color-mix(in srgb, var(--sage) 72%, transparent), transparent 55%),
    radial-gradient(120% 120% at 88% 92%, color-mix(in srgb, var(--taupe) 62%, transparent), transparent 52%),
    radial-gradient(160% 130% at 50% 130%, color-mix(in srgb, var(--ink) 48%, transparent), transparent 58%),
    linear-gradient(145deg, var(--beige), var(--stone));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ivory) 22%, transparent);
}
.img-slot::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.img-slot .img-label {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 90%, transparent);
  background: color-mix(in srgb, var(--ink) 26%, transparent);
  padding: 0.4em 0.85em; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent);
}
.ratio-portrait { aspect-ratio: 3 / 4; }
.ratio-landscape { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-square { aspect-ratio: 1 / 1; }
.round { border-radius: var(--radius); }
.blob { border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%; }

/* -------- Intro / statement ---------------------------------------- */
.statement { text-align: center; }
.statement p { margin-inline: auto; }

/* -------- Ritual steps (signature) --------------------------------- */
/* Original ritual grid — used in index.html and about.html */
.ritual { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); margin-top: 3.5rem; }
.ritual-step { position: relative; }
.ritual-step .num { font-family: var(--font-serif); font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem); color: var(--sage); line-height: 1; }
.ritual-step .num .kanji { display: block; font-size: 1rem; letter-spacing: 0.1em; margin-top: 0.4rem; color: var(--taupe); }
.ritual-step h4 { margin-top: 1rem; margin-bottom: 0.5rem; }
.ritual-line { height: 1px; background: color-mix(in srgb, var(--taupe) 25%, transparent); margin: 1rem 0; }

/* Redesigned ritual rows — used by how_it_works() on service pages */
.ritual-stack { margin-top: 2rem; }
.ritual-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0 3rem;
  padding: 2.2rem 0;
  border-top: 1px solid color-mix(in srgb, var(--taupe) 20%, transparent);
  align-items: start;
}
.ritual-row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--taupe) 20%, transparent); }
.ritual-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem);
  color: var(--sage);
  line-height: 1;
  padding-top: 0.15rem;
}
.ritual-content h4 { margin: 0 0 0.45rem; font-size: 1rem; }
.ritual-content p  { margin: 0; color: var(--taupe); font-size: 0.92rem; line-height: 1.65; }

/* Benefit grid */
.ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(2rem, 1rem + 4vw, 5rem);
  margin-top: 3.5rem;
}
.ben-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 1.1rem;
  line-height: 1.3;
  color: var(--heading);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 25%, transparent);
}
.ben-card p {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.75;
}
@media (max-width: 760px) {
  .ben-grid { grid-template-columns: 1fr; gap: 2.5rem 0; }
}

/* -------- Experiences grid ----------------------------------------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.exp-card { display: block; position: relative; overflow: hidden; border-radius: var(--radius); color: var(--ivory); min-height: 420px; isolation: isolate; }
.exp-card .img-slot { position: absolute; inset: 0; z-index: -1; transition: transform 1.2s var(--ease); }
.exp-card:hover .img-slot { transform: scale(1.06); }
.exp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(43,40,32,0.78) 100%); }
.exp-card .exp-body { position: absolute; inset: auto 0 0 0; padding: 1.8rem; }
.exp-card .exp-body .meta { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-bottom: 0.5rem; }
.exp-card h3 { color: var(--ivory); font-size: var(--fs-h4); }
.exp-card .more { margin-top: 0.8rem; display: inline-flex; gap: 0.5em; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: all 0.5s var(--ease); }
.exp-card:hover .more { opacity: 1; transform: translateY(0); }
.exp-card.tall { grid-row: span 2; min-height: 100%; }

/* -------- Feature split -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 1rem + 5vw, 6rem); }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .stamp {
  position: absolute; bottom: -1.5rem; right: -1.5rem; width: clamp(110px, 12vw, 160px); height: clamp(110px, 12vw, 160px);
  background: var(--sage); color: var(--cream); border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 1rem;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4;
}

/* -------- Membership band ------------------------------------------ */
.band { text-align: center; }
.band .price-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; margin: 2.5rem 0; }
.price-item .amt { font-family: var(--font-serif); font-size: clamp(2rem,1.4rem+2vw,3rem); display: block; }
.price-item .amt small { font-size: 0.9rem; opacity: 0.7; }
.price-item .lbl { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }

/* Pricing band — refined, contained height with hairline dividers */
.pricing-band { padding-block: clamp(3.5rem, 2.6rem + 4vw, 6rem); }
.pricing-band .band > p { max-width: 46ch; margin: 1.1rem auto 0; opacity: 0.9; }
.pricing-band .price-row { gap: 0; margin: 2.8rem auto 2.6rem; max-width: 620px; flex-wrap: nowrap; }
.pricing-band .price-item { flex: 1 1 0; padding: 0.3rem 0.9rem; min-width: 0; }
.pricing-band .price-item .amt { font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.4rem); line-height: 1.1; white-space: nowrap; }
.pricing-band .price-item .lbl { margin-top: 0.6rem; display: block; }
.pricing-band .price-item + .price-item { border-left: 1px solid color-mix(in srgb, var(--cream) 30%, transparent); }
@media (max-width: 560px) {
  /* Keep all three as even columns (don't wrap 2+1) */
  .pricing-band .price-row { flex-wrap: nowrap; gap: 0.4rem; max-width: 100%; }
  .pricing-band .price-item { flex: 1 1 0; padding: 0 0.4rem; }
  .pricing-band .price-item + .price-item { border-left: none; }
  .pricing-band .price-item .amt { font-size: 1.25rem; white-space: nowrap; }
  .pricing-band .price-item .lbl { font-size: 0.58rem; letter-spacing: 0.08em; }
}

/* -------- Stats ---------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat .n { font-family: var(--font-serif); font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); color: var(--sage-700); line-height: 1; }
.stat .l { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.7rem; color: var(--taupe); }

/* -------- Gallery / carousel -------------------------------------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 32vw, 380px); gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .img-slot { scroll-snap-align: start; }
.carousel { position: relative; }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.8rem; }
.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }
.car-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: color-mix(in srgb, var(--taupe) 32%, transparent); cursor: pointer; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.car-dot.is-active { background: var(--sage-600); transform: scale(1.35); }
.carousel-arrows { display: flex; gap: 0.6rem; }
.car-btn { width: 46px; height: 46px; border-radius: 50%; border: var(--border); background: none; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease); }
.car-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.car-btn:disabled:hover { background: none; color: var(--ink); border-color: color-mix(in srgb, var(--taupe) 22%, transparent); }
.car-btn svg { width: 18px; height: 18px; }

/* -------- Journal category filter --------------------------------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem; }
.filter-pill { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.6rem 1.2rem; border: var(--border); border-radius: var(--radius-pill); background: none; color: var(--taupe); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.filter-pill:hover { color: var(--ink); border-color: var(--ink); }
.filter-pill.is-active { background: var(--sage-600); color: #fff; border-color: var(--sage-600); }
.blog-empty { text-align: center; color: var(--taupe); margin-top: 2rem; }

/* -------- Testimonials --------------------------------------------- */
.quote { text-align: center; max-width: 30ch; margin-inline: auto; }
.quote blockquote { font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.25; color: var(--heading); }
.quote .cite { margin-top: 1.6rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-700); }
.quote .stars { color: var(--sage); letter-spacing: 0.3em; margin-bottom: 1.5rem; }

/* Multi-testimonial grid */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem); margin-top: 3.5rem; }
.testi-card { background: var(--cream); border: var(--border); border-radius: var(--radius); padding: 2.2rem 2rem; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.testi-card .stars { color: var(--sage); letter-spacing: 0.22em; font-size: 0.8rem; margin-bottom: 1.3rem; }
.testi-card blockquote { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.5; color: var(--heading); margin: 0; }
.testi-card .cite { margin-top: auto; padding-top: 1.7rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-700); }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* -------- Journal / blog teaser ------------------------------------ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.post-card .img-slot { margin-bottom: 1.3rem; }
.post-card .meta { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 0.6rem; }
.post-card h3 { font-size: var(--fs-h4); transition: color 0.4s var(--ease); }
.post-card:hover h3 { color: var(--sage-700); }

/* -------- Location ------------------------------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.info-grid .lbl { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 0.6rem; }

/* -------- CTA band ------------------------------------------------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* -------- Footer --------------------------------------------------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--ivory) 78%, transparent); padding-top: clamp(4rem, 3rem + 4vw, 7rem); }
.site-footer h4 { color: var(--ivory); font-family: var(--font-sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.site-footer a { transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--ivory); }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.9rem; }
.site-footer .brand { color: var(--ivory); margin-bottom: 1.2rem; }
.site-footer .brand .name { color: var(--ivory); }
.footer-newsletter input { width: 100%; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--ivory) 35%, transparent); padding: 0.7rem 0; color: var(--ivory); font-family: var(--font-sans); }
.footer-newsletter input::placeholder { color: color-mix(in srgb, var(--ivory) 50%, transparent); }
.footer-newsletter form { display: flex; gap: 0.5rem; align-items: center; }
.footer-bottom { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-block: 1.8rem; border-top: 1px solid color-mix(in srgb, var(--ivory) 15%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.78rem; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* -------- WhatsApp float ------------------------------------------- */
.wa-float { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--sage-600); color: #fff; padding: 0.9rem 1.3rem; border-radius: var(--radius-pill); box-shadow: 0 12px 30px -10px rgba(43,40,32,0.6); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.wa-float:hover { transform: translateY(-3px); background: var(--sage-700); }
.wa-float svg { width: 1.3em; height: 1.3em; }
.wa-float .txt { display: none; }
@media (min-width: 600px) { .wa-float .txt { display: inline; } }

/* -------- Scroll reveal -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.15s var(--ease), transform 1.15s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

/* -------- Page hero (interior pages) ------------------------------- */
.page-hero { padding-top: clamp(9rem, 7rem + 6vw, 14rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 52ch; }
.breadcrumb { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1.5rem; display: flex; gap: 0.6rem; }
.breadcrumb a:hover { color: var(--sage-700); }

/* -------- Service hero (image background) -------------------------- */
.page-hero.has-bg {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: clamp(560px, 82vh, 780px); color: var(--ivory);
  padding-top: clamp(9rem, 7rem + 6vw, 13rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
.page-hero.has-bg .hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero.has-bg .hero-bg .img-slot { position: absolute; inset: 0; height: 100%; box-shadow: none; }
.page-hero.has-bg .hero-bg .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero.has-bg .hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43,40,32,0.90) 0%, rgba(43,40,32,0.80) 40%, rgba(43,40,32,0.98) 100%);
}
.page-hero.has-bg .breadcrumb { color: color-mix(in srgb, var(--ivory) 78%, transparent); margin-bottom: 0.75rem; }
.page-hero.has-bg .breadcrumb a:hover { color: var(--ivory); }
.page-hero.has-bg h1 { color: var(--ivory); }
.page-hero.has-bg .lead { color: color-mix(in srgb, var(--ivory) 92%, transparent); }
.page-hero.has-bg .eyebrow { color: color-mix(in srgb, var(--ivory) 88%, transparent); }

/* kanji — large decorative watermark on image hero */
.hero-kanji {
  position: absolute; bottom: clamp(2rem, 5vw, 4.5rem); right: clamp(2rem, 6vw, 6rem);
  font-family: var(--font-serif); font-size: clamp(8rem, 18vw, 22rem);
  line-height: 1; color: var(--ivory); opacity: 0.13;
  pointer-events: none; user-select: none; z-index: 1;
}

/* "Movement" / section category — vertical right-edge label on image hero */
.hero-category {
  position: absolute; top: 50%; right: clamp(1.2rem, 3.5vw, 3rem);
  transform: translateY(-50%) rotate(90deg); transform-origin: center;
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap;
  color: color-mix(in srgb, var(--ivory) 60%, transparent);
  pointer-events: none; z-index: 2;
}

/* price anchor inside the hero */
.hero-anchor { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.2rem; margin-top: 2.2rem; }
.hero-anchor .amt { display: block; font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1; color: var(--heading); }
.hero-anchor .lbl { display: block; margin-top: 0.5rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-700); }
.hero-anchor .ha-item + .ha-item { border-left: 1px solid color-mix(in srgb, var(--taupe) 25%, transparent); padding-left: 2.2rem; }
.page-hero.has-bg .hero-anchor .amt { color: var(--ivory); }
.page-hero.has-bg .hero-anchor .lbl { color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.page-hero.has-bg .hero-anchor .ha-item + .ha-item { border-color: color-mix(in srgb, var(--ivory) 28%, transparent); }
/* Hero CTA button row */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.page-hero.has-bg .btn-outline {
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 55%, transparent);
}
.page-hero.has-bg .btn-outline:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

/* -------- Tinted hero (secondary pages: membership, contact, journal, article) -- */
.page-hero.tinted {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(158deg, var(--sage-700) 0%, var(--ink-soft) 58%, var(--ink) 100%);
  padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.page-hero.tinted::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(130% 80% at 50% -12%, color-mix(in srgb, var(--sage) 45%, transparent), transparent 58%);
  pointer-events: none;
}
.page-hero.tinted .hero-kanji-c {
  position: absolute; z-index: 0;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(11rem, 7rem + 22vw, 28rem);
  color: color-mix(in srgb, var(--ivory) 6%, transparent);
  top: 50%; left: 50%; transform: translate(-50%, -44%);
  line-height: 1; pointer-events: none; user-select: none;
}
.page-hero.tinted .container { position: relative; z-index: 2; }
.page-hero.tinted .breadcrumb { color: color-mix(in srgb, var(--ivory) 72%, transparent); justify-content: center; }
.page-hero.tinted .breadcrumb a { color: color-mix(in srgb, var(--ivory) 72%, transparent); }
.page-hero.tinted .breadcrumb a:hover { color: var(--ivory); }
.page-hero.tinted .eyebrow { color: color-mix(in srgb, var(--ivory) 88%, transparent); display: inline-block; }
.page-hero.tinted .eyebrow::before { background: color-mix(in srgb, var(--ivory) 50%, transparent); }
.page-hero.tinted h1 { color: var(--ivory); margin-inline: auto; }
.page-hero.tinted .lead { color: color-mix(in srgb, var(--ivory) 90%, transparent); margin-inline: auto; }
.page-hero.tinted .article-meta { color: color-mix(in srgb, var(--ivory) 80%, transparent); justify-content: center; }
.page-hero.tinted .article-meta span:not(:last-child)::after { background: color-mix(in srgb, var(--ivory) 45%, transparent); }
.page-hero.tinted .hero-ctas { justify-content: center; }
.page-hero.tinted .btn-outline {
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 55%, transparent);
}
.page-hero.tinted .btn-outline:hover {
  background: var(--ivory); color: var(--ink); border-color: var(--ivory);
}

/* -------- Responsive ----------------------------------------------- */
@media (max-width: 980px) {
  .ritual { grid-template-columns: 1fr 1fr; }
  .exp-grid, .posts, .info-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .exp-card.tall { grid-row: span 1; }
}
@media (max-width: 1100px) {
  .site-header { padding-block: 1.05rem; }
  .brand img, .site-header.scrolled .brand img { height: 38px; }
  /* No backdrop-filter/transform where the full-screen menu overlay lives — any of these
     make the header a containing block and trap/clip the overlay during open AND close. */
  .site-header, .site-header.scrolled {
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    transform: none !important; filter: none !important;
  }
  .site-header.scrolled { background: color-mix(in srgb, var(--ivory) 95%, transparent); }
  .desktop-ctas { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--ink); color: var(--ivory);
    flex-direction: column; justify-content: center; gap: 1.8rem;
    transform: translateX(100%); transition: transform 0.55s var(--ease);
    padding: 6rem 2rem 3rem; overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; text-align: center; width: 100%; }
  .nav-links > li { border-bottom: 1px solid color-mix(in srgb, var(--ivory) 12%, transparent); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links a { font-size: 1.5rem; font-family: var(--font-serif); color: var(--ivory); display: block; padding: 0.85rem 0; }
  /* Drop the desktop underline indicator inside the overlay (it cut through large text) */
  .nav-links a::after { content: none; }
  .nav-links a[aria-current="page"]::after { width: auto; }
  .nav-links a[aria-current="page"] { color: var(--sage); }
  .has-sub > a { position: relative; }
  .has-sub > a::after { content: "+"; left: auto; bottom: auto; width: auto; height: auto; background: none; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); font-family: var(--font-sans); font-weight: 300; color: var(--sage); transition: transform 0.3s var(--ease); }
  .has-sub.open > a::after { transform: translateY(-50%) rotate(45deg); }
  .nav .submenu { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; border: none; box-shadow: none; padding: 0 0 0.6rem; display: none; }
  .nav .has-sub.open .submenu { display: flex; }
  .nav .submenu a { color: color-mix(in srgb, var(--ivory) 72%, transparent); font-size: 1rem; font-family: var(--font-sans); text-align: center; padding: 0.5rem 0; }
  /* Two CTA buttons inside mobile menu overlay */
  .mobile-ctas {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.75rem; margin-top: 1.8rem; width: 100%;
  }
  .mobile-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
  .mobile-ctas .btn-outline.mobile-outline {
    color: var(--ivory);
    border-color: color-mix(in srgb, var(--ivory) 55%, transparent);
  }
  .mobile-ctas .btn-outline.mobile-outline:hover {
    background: var(--ivory); color: var(--ink); border-color: var(--ivory);
  }
}
@media (max-width: 620px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .ritual { grid-template-columns: 1fr; }
  .exp-grid, .posts, .info-grid { grid-template-columns: 1fr; }
  .ritual-row { grid-template-columns: 3.5rem 1fr; gap: 0 1.5rem; padding: 1.8rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  p { max-width: 100%; }

  /* Hero text: centre on mobile for a composed spa feel */
  .hero-inner, .page-hero { text-align: center; }
  .hero h1, .page-hero h1 { max-width: none; margin-inline: auto; }
  .page-hero .lead { margin-inline: auto; }
  .hero-actions, .hero-anchor, .hero-ctas, .breadcrumb { justify-content: center; }
  /* Stack the price anchor cleanly when centred — drop the side divider */
  .hero-anchor { flex-direction: column; gap: 1.1rem; }
  .hero-anchor .ha-item + .ha-item { border-left: none; padding-left: 0; }
  /* Centre buttons and keep tap targets comfortable */
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 0 1 auto; }
  /* Left-anchor eyebrow line reads awkward when centred — hide it */
  .hero .eyebrow::before, .page-hero .eyebrow::before { display: none; }
  /* Kanji and vertical category label too large for narrow viewports */
  .hero-kanji, .hero-category { display: none; }
  /* Scroll cue overlaps buttons on small screens — hide it */
  .scroll-cue { display: none; }
  /* Give hero enough bottom padding so buttons don't crowd the edge */
  .hero { padding-bottom: clamp(4rem, 10vw, 6rem); }
}

/* -------- Pricing plans -------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; align-items: stretch; }
.plan { background: var(--cream); border: var(--border); border-radius: var(--radius); padding: 2.4rem 2rem; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(43,40,32,0.5); }
.plan.featured { background: var(--sage); color: var(--cream); }
.plan.featured h3, .plan.featured .plan-price { color: var(--cream); }
.plan .tag { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 1rem; }
.plan.featured .tag { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.plan h3 { font-size: var(--fs-h4); }
.plan .plan-price { font-family: var(--font-serif); font-size: clamp(2rem,1.4rem+1.6vw,2.8rem); margin: 0.6rem 0 0.2rem; }
.plan .plan-price small { font-size: 0.85rem; opacity: 0.7; }
.plan ul { margin: 1.6rem 0 2rem; display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.95rem; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--sage); }
.plan.featured li::before { color: var(--cream); }
.plan .btn { margin-top: auto; justify-content: center; }

/* -------- FAQ accordion -------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--taupe) 22%, transparent); padding: 0.4rem 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-serif); font-size: var(--fs-h4); color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-weight: 300; font-size: 1.6rem; color: var(--sage); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; max-width: 70ch; }

/* -------- Prose (legal / article) ---------------------------------- */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: var(--fs-h3); margin: 2.6rem 0 1rem; }
.prose h3 { font-size: var(--fs-h4); margin: 2rem 0 0.8rem; }
.prose p, .prose li { margin-bottom: 1.1rem; }
.prose ul { list-style: none; }
.prose ul li { padding-left: 1.5rem; position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--sage); }
.prose a:not(.btn) { color: var(--sage-700); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 2.5rem; }

/* -------- Contact -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,5rem); align-items: start; }
.contact-details .row { padding: 1.4rem 0; border-bottom: 1px solid color-mix(in srgb, var(--taupe) 18%, transparent); }
.contact-details .row:first-of-type { padding-top: 0; }
.contact-details .row:last-child { border-bottom: none; }
.contact-details .lbl { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 0.5rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 0; }
.social-row a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--sage-700); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em; transition: color 0.3s var(--ease); }
.social-row a:hover { color: var(--ink); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); display: block; margin-bottom: 0.5rem; }
.form input, .form textarea, .form select { width: 100%; background: var(--cream); border: var(--border); border-radius: var(--radius); padding: 0.95rem 1.1rem; font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--sage); }
.map-slot { aspect-ratio: 16/10; }

/* -------- Article ------------------------------------------------- */
.article-hero { padding-top: clamp(8rem,6rem+6vw,12rem); }
.article-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 1.4rem; }
.article-figure { margin: 0 0 2.5rem; }
.article-figure figcaption { font-size: 0.8rem; color: var(--taupe); margin-top: 0.8rem; text-align: center; }

/* Article two-column layout with sticky sidebar */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) clamp(260px, 24vw, 320px); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.article-layout .prose { max-width: none; margin: 0; }
.article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.side-card { border: var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; background: var(--ivory); }
.side-card h4 { font-family: var(--font-sans); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 1.1rem; }
.side-toc ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; }
.side-toc li { padding: 0; }
.side-toc a { font-size: 0.88rem; color: var(--ink); text-decoration: none; padding-left: 1rem; position: relative; display: block; line-height: 1.4; transition: color 0.3s var(--ease); }
.side-toc a::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 1px; background: var(--sage); }
.side-toc a:hover { color: var(--sage-700); }
.side-book { background: var(--sage); color: var(--cream); border-color: transparent; }
.side-book h4 { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.side-book p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.3rem; color: color-mix(in srgb, var(--cream) 92%, transparent); }
.side-book .btn { width: 100%; justify-content: center; }
.side-book .side-link { display: inline-block; margin-top: 1rem; font-size: 0.8rem; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.side-book .side-link:hover { opacity: 0.85; }
/* Sidebar booking button — cream on the sage card so it stands out */
.side-book .btn-wa { background: var(--cream); color: var(--sage-700); box-shadow: 0 14px 30px -22px rgba(0,0,0,0.7); }
.side-book .btn-wa:hover { background: var(--ivory); color: var(--sage-700); }

/* Share buttons — icon + label pills */
.share-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); background: none; border: var(--border); border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem; text-decoration: none; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.share-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.share-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.share-btn.copied { background: var(--sage); color: var(--cream); border-color: var(--sage); }

/* Inline mid-article CTA band */
.prose .inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--ink); color: var(--ivory); border-radius: var(--radius); padding: 2rem 2.2rem; margin: 3rem 0; }
.prose .inline-cta h3 { color: var(--ivory); font-size: 1.2rem; margin: 0 0 0.4rem; }
.prose .inline-cta p { color: color-mix(in srgb, var(--ivory) 82%, transparent); font-size: 0.9rem; margin: 0; max-width: 44ch; }
.prose .inline-cta .btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-side .side-card { flex: 1 1 240px; }
}

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* -------- Good-to-know detail strip -------------------------------- */
/* Spec band — premium editorial strip immediately below hero */
.spec-band {
  border-top: 1px solid color-mix(in srgb, var(--taupe) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 22%, transparent);
  padding: 2rem 0;
  background: var(--ivory);
}
.spec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.spec-item {
  padding: 0 2.5rem 0 0;
  position: relative;
}
.spec-item + .spec-item {
  padding-left: 2.5rem;
  border-left: 1px solid color-mix(in srgb, var(--taupe) 20%, transparent);
}
.spec-lbl {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.55rem;
}
.spec-val {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--heading);
  line-height: 1.3;
}

/* -------- Related / continue the journey --------------------------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.related-grid .exp-card { min-height: 360px; }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }

/* -------- Facets / what's inside ----------------------------------- */
.facets { margin-top: 3.2rem; border-top: var(--hairline); }
.facet { display: grid; grid-template-columns: 3.5rem minmax(170px, 1fr) 2fr; gap: 1.1rem 2.5rem; align-items: baseline; padding: 1.9rem 0; border-bottom: var(--hairline); }
.facet .idx { font-family: var(--font-serif); font-size: 1.05rem; color: var(--sage); }
.facet h4 { margin: 0; }
.facet p { margin: 0; color: var(--text); max-width: 54ch; }
@media (max-width: 760px) {
  .facet { grid-template-columns: 2.4rem 1fr; gap: 0.4rem 1rem; }
  .facet p { grid-column: 2; }
}

/* -------- Pricing tables ------------------------------------------- */
.price-table { width: 100%; border-collapse: collapse; margin-top: 2.8rem; }
.price-table thead th {
  text-align: left; font-family: var(--font-sans); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-700); padding: 0 1.2rem 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 30%, transparent);
}
.price-table thead th:last-child { text-align: right; padding-right: 0; }
.price-table tbody td {
  padding: 1.1rem 1.2rem 1.1rem 0; vertical-align: top;
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 14%, transparent);
  font-size: 0.92rem;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody td:first-child { font-weight: 500; color: var(--heading); }
.price-table tbody td:last-child {
  text-align: right; padding-right: 0;
  font-family: var(--font-serif); font-size: 1rem;
  color: var(--sage-700); white-space: nowrap;
}
.price-note-inline {
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--taupe); font-weight: 400; margin-left: 0.4em;
}
p.price-note {
  margin-top: 1.5rem; font-size: 0.82rem;
  color: var(--taupe); font-style: italic;
}
.price-table-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* Tier-style pricing cards — image on top, text beneath (matches journal/related cards) */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.6rem + 1.4vw, 2rem); margin-top: 3.5rem; }
.price-card { background: var(--cream); border: var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.price-card .img-slot { border-radius: 0; aspect-ratio: 4 / 3; }
.price-card .pc-body { padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.price-card .pc-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem); color: var(--heading); line-height: 1.15; margin: 0; }
.price-card .pc-note { font-size: 0.9rem; color: var(--taupe); line-height: 1.6; margin-top: 0.7rem; }
.price-card .pc-price { font-family: var(--font-serif); font-size: 1.35rem; color: var(--sage-700); margin-top: auto; padding-top: 1.2rem; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
@media (max-width: 480px) {
  .price-table-ctas { flex-direction: column; }
  .price-table-ctas .btn { width: 100%; justify-content: center; }
}
@media (max-width: 620px) {
  .price-table tbody td:last-child { font-size: 0.9rem; }
  .price-table thead th:nth-child(2),
  .price-table tbody td:nth-child(2) { display: none; }
}

/* -------- Class / opening schedule --------------------------------- */
.schedule { width: 100%; border-collapse: collapse; margin-top: 2.8rem; }
.schedule th { text-align: left; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-700); padding: 0 1rem 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--taupe) 25%, transparent); }
.schedule td { padding: 1.1rem 1rem 1.1rem 0; vertical-align: top; }
.schedule tbody tr { border-bottom: 1px solid color-mix(in srgb, var(--taupe) 16%, transparent); }
.schedule .time { font-family: var(--font-serif); font-size: 1.1rem; color: var(--heading); white-space: nowrap; }
.schedule .cls { font-weight: 500; }
.schedule .lvl { font-size: 0.85rem; color: var(--taupe); }
/* Phones: a cramped 3-column table reads badly — stack class + level beside the time */
@media (max-width: 600px) {
  .schedule { margin-top: 2rem; }
  .schedule thead { display: none; }
  .schedule, .schedule tbody { display: block; width: 100%; }
  .schedule tr {
    display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1.2rem;
    padding: 1.15rem 0; border-bottom: 1px solid color-mix(in srgb, var(--taupe) 16%, transparent);
  }
  .schedule td { display: block; border: none; padding: 0; }
  .schedule .time { grid-row: 1 / span 2; align-self: center; }
  .schedule .cls { grid-column: 2; }
  .schedule .lvl { grid-column: 2; margin-top: 0.25rem; }
}

@media (max-width: 760px) {
  .spec-row { grid-template-columns: 1fr 1fr; gap: 1.8rem 0; }
  .spec-item + .spec-item { border-left: none; padding-left: 0; }
  .spec-item:nth-child(even) { padding-left: 2rem; border-left: 1px solid color-mix(in srgb, var(--taupe) 20%, transparent); }
  .schedule .lvl { display: block; }
}
@media (max-width: 480px) {
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec-band { padding: 1.5rem 0; }
}

/* -------- Premium polish ------------------------------------------- */
/* refined, near-invisible scrollbar */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--taupe) 35%, transparent) transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--taupe) 32%, transparent); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
  ::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--taupe) 50%, transparent); border: 3px solid transparent; background-clip: content-box; }
}

/* gentle card lift for journal cards */
.post-card { transition: transform 0.55s var(--ease); }
.post-card:hover { transform: translateY(-4px); }

/* the featured membership sits slightly proud */
.plan.featured { box-shadow: var(--shadow-lift); }
@media (min-width: 861px) { .plan.featured { transform: translateY(-12px); } .plan.featured:hover { transform: translateY(-16px); } }

/* editorial quotation mark */
.quote blockquote { position: relative; }
.quote blockquote::before {
  content: "\201C"; position: absolute; top: -0.55em; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; color: var(--sage);
  opacity: 0.25; pointer-events: none;
}

/* utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-prose { max-width: 60ch; }
.divider { height: 1px; background: color-mix(in srgb, var(--taupe) 20%, transparent); border: none; }
