/* ==========================================================================
   Life Pilates — design system
   Palette and forms are taken from the studios themselves: limewash plaster,
   cocoa lettering, and the honey glow behind the arched mirrors.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Surface */
  --plaster:      #e9e0d2;  /* limewash wall — page base */
  --plaster-deep: #ddd1bd;  /* alternating band */
  --bone:         #f6f1e8;  /* lightest panel */
  --shadowed:     #cfc2ac;  /* rules, hairlines */

  /* Ink */
  --ink:      #2b2621;  /* wall lettering */
  --ink-soft: #5c5348;
  --ink-mute: #857a6c;
  --on-dark:  #f2ebdf;

  /* Accent — the LED glow and the halo in the logo */
  --honey:      #edcb94;
  --honey-deep: #d9a95f;
  --clay:       #b98a5e;  /* cane and timber */
  --dusk:       #241f1a;  /* dark sections */

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale — 1.25 minor third, fluid */
  --t-xs:   0.78rem;
  --t-sm:   0.875rem;
  --t-base: 1.0625rem;
  --t-md:   clamp(1.15rem, 0.4vw + 1.05rem, 1.35rem);
  --t-lg:   clamp(1.45rem, 1vw + 1.2rem, 1.95rem);
  --t-xl:   clamp(1.9rem, 2vw + 1.4rem, 2.9rem);
  --t-2xl:  clamp(2.4rem, 4vw + 1.3rem, 4.4rem);
  --t-3xl:  clamp(3rem, 6.6vw + 1rem, 6.6rem);

  /* Space */
  --s-1: 0.5rem;  --s-2: 0.875rem; --s-3: 1.375rem; --s-4: 2rem;
  --s-5: 3rem;    --s-6: 4.5rem;   --s-7: 7rem;     --s-8: 10rem;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 62ch;
  --max: 1440px;

  --arch: 999px 999px 6px 6px / 340px 340px 6px 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--honey); color: var(--ink); }

.skip {
  position: absolute; left: var(--s-3); top: -100px; z-index: 200;
  background: var(--ink); color: var(--on-dark);
  padding: 0.75rem 1.25rem; border-radius: 4px; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: var(--s-3); }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- 3. Typography ------------------------------------------------------- */
.display, h1, h2.section-title, .hero h1 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
}
h1 { font-size: var(--t-2xl); }
.section-title { font-size: var(--t-xl); font-family: var(--display); font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 32; line-height: 1.06; letter-spacing: -0.015em; }
h3 { font-family: var(--display); font-size: var(--t-lg); font-variation-settings: "SOFT" 20, "opsz" 20; line-height: 1.14; }
.lede { font-size: var(--t-md); color: var(--ink-soft); max-width: 46ch; line-height: 1.52; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 0; }
.meta { font-size: var(--t-sm); color: var(--ink-mute); letter-spacing: 0.01em; }
.rule { height: 1px; background: var(--shadowed); border: 0; margin: 0; }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-7); }
.section--tight { padding-block: var(--s-6); }
.section--dark { background: var(--dusk); color: var(--on-dark); }
.section--dark .lede, .section--dark .meta { color: #b8ac9b; }
.section--deep { background: var(--plaster-deep); }
.section--bone { background: var(--bone); }

/* Editorial two-column rhythm: a narrow heading rail, content to its right. */
.rail {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .rail { grid-template-columns: minmax(16rem, 24%) 1fr; gap: var(--s-6); align-items: start; }
  .rail__head { position: sticky; top: calc(var(--nav-h, 72px) + 2rem); }
}

.grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --- 5. The arch --------------------------------------------------------- */
/* The signature form in both studios: a mirror niche with light behind it.  */
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--plaster-deep);
  box-shadow: 0 0 0 1px rgba(43,38,33,0.07), 0 26px 60px -34px rgba(43,38,33,0.55);
}
.arch picture { display: block; width: 100%; height: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--glow {
  box-shadow:
    0 0 0 2px rgba(237, 203, 148, 0.55),
    0 0 38px -2px rgba(237, 203, 148, 0.62),
    0 26px 60px -34px rgba(43, 38, 33, 0.55);
}
.section--dark .arch--glow, .section--deep .arch--glow {
  box-shadow:
    0 0 0 2px rgba(237, 203, 148, 0.7),
    0 0 52px -2px rgba(237, 203, 148, 0.45),
    0 26px 60px -34px rgba(43, 38, 33, 0.7);
}
.arch--sm { --arch: 999px 999px 5px 5px / 140px 140px 5px 5px; }
.arch--flat { border-radius: 6px; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }

/* --- 6. Buttons and links ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--honey-deep); border-color: var(--honey-deep); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn--light { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn--light:hover { background: var(--bone); border-color: var(--bone); }
.btn--onDark { background: transparent; border-color: rgba(242,235,223,0.5); color: var(--on-dark); }
.btn--onDark:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn--wide { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.tlink {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
  padding-bottom: 2px;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tlink:hover { border-color: var(--ink); }

/* --- 7. Header ----------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(233,224,210,0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(43,38,33,0.09);
}
.nav__in {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 72px;
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.nav__logo img { height: 38px; width: auto; }
@media (min-width: 700px) { .nav__logo img { height: 44px; } }
.nav__list { display: none; list-style: none; gap: clamp(1rem, 2vw, 2rem); }
.nav__list a {
  text-decoration: none; font-size: var(--t-sm); font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--ink); border-color: var(--clay); }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__book { display: inline-flex; }
@media (min-width: 1080px) {
  .nav__list { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__book { display: none; }
}
.nav__book .btn, .nav__cta .btn { padding: 0.7rem 1.35rem; }

.drawer {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--plaster);
  padding: var(--s-4) var(--gutter) var(--s-6);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.drawer ul { list-style: none; }
.drawer a {
  display: block; text-decoration: none;
  font-family: var(--display); font-size: var(--t-lg);
  font-variation-settings: "SOFT" 30, "opsz" 24;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--shadowed);
}
.drawer .drawer__sub a { font-family: var(--text); font-size: var(--t-base); color: var(--ink-soft); }
@media (min-width: 1080px) { .drawer { display: none; } }

/* --- 8. Hero ------------------------------------------------------------- */
.hero { position: relative; background: var(--dusk); }
.hero__media { position: relative; overflow: hidden; }
/* overflow: hidden keeps the parallax-scaled photo inside its frame, so it
   stays aligned with the gradient overlay and never spills onto the
   location bar below. */
.hero__media img {
  width: 100%; height: clamp(460px, 76vh, 780px); object-fit: cover;
  object-position: center 42%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,14,0.40) 0%, rgba(20,17,14,0.10) 30%, rgba(20,17,14,0.58) 72%, rgba(20,17,14,0.86) 100%),
    linear-gradient(96deg, rgba(20,17,14,0.62) 0%, rgba(20,17,14,0.22) 46%, rgba(20,17,14,0) 78%);
}
.hero__copy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(2.5rem, 8vh, 5.5rem);
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  color: var(--on-dark);
}
.hero__copy h1 { font-size: var(--t-3xl); color: #fff; }
.hero__copy .lede { color: rgba(242,235,223,0.9); margin-top: var(--s-3); max-width: 34ch; }
.hero__copy .btns { margin-top: var(--s-4); }

/* Location bar sitting directly beneath the hero image */
.locbar { background: var(--dusk); border-top: 1px solid rgba(242,235,223,0.14); }
.locbar ul { list-style: none; display: grid; }
@media (min-width: 780px) { .locbar ul { grid-template-columns: 1fr 1fr; } }
.locbar li + li { border-top: 1px solid rgba(242,235,223,0.14); }
@media (min-width: 780px) { .locbar li + li { border-top: 0; border-left: 1px solid rgba(242,235,223,0.14); } }
.locbar a {
  display: flex; align-items: baseline; gap: var(--s-2);
  padding: var(--s-3) 0; text-decoration: none; color: var(--on-dark);
  transition: color 0.2s var(--ease);
}
@media (min-width: 780px) { .locbar li + li a { padding-left: var(--s-4); } }
.locbar a:hover { color: var(--honey); }
.locbar .n { font-family: var(--display); font-size: var(--t-lg); font-variation-settings: "SOFT" 30, "opsz" 24; white-space: nowrap; }
.locbar .c { font-size: var(--t-sm); color: #a89b8a; }
@media (max-width: 1180px) and (min-width: 780px) { .locbar .c .hrs { display: none; } }
@media (max-width: 560px) { .locbar .c .hrs { display: none; } }
.locbar svg { margin-left: auto; align-self: center; flex: none; }

/* --- 9. Cards ------------------------------------------------------------ */
.card { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; }
.card h3 { font-size: var(--t-lg); }
.card__line { color: var(--ink-soft); }
.card .arch { transition: transform 0.45s var(--ease); }
a.card:hover .arch { transform: translateY(-5px); }

/* Experience list — editorial rows, not a service grid */
.xp { border-top: 1px solid var(--shadowed); list-style: none; }
.xp__item { border-bottom: 1px solid var(--shadowed); }
.xp__row {
  display: grid; gap: var(--s-3);
  padding-block: var(--s-4);
  align-items: start;
}
@media (min-width: 860px) {
  .xp__row { grid-template-columns: 1.1fr 1.4fr auto; gap: var(--s-5); align-items: center; }
}
.xp__name { font-family: var(--display); font-size: var(--t-lg); font-variation-settings: "SOFT" 30, "opsz" 24; line-height: 1.1; }
.xp__where { display: block; font-family: var(--text); font-size: var(--t-xs); color: var(--ink-mute); margin-top: 0.4rem; letter-spacing: 0.02em; }
.xp__body { color: var(--ink-soft); max-width: 52ch; }

/* Detail panel for an experience */
.xpd { display: grid; gap: var(--s-4); }
@media (min-width: 880px) { .xpd { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-6); align-items: center; } }
@media (min-width: 880px) { .xpd--flip > .arch { order: 2; } }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-1); margin-top: var(--s-3); }
.tags li {
  font-size: var(--t-xs); padding: 0.35rem 0.8rem;
  border: 1px solid var(--shadowed); border-radius: 999px; color: var(--ink-soft);
}
.checks { list-style: none; display: grid; gap: 0.55rem; margin-top: var(--s-3); }
/* Positioned rule rather than a grid column, so inline <strong> and <a> inside a
   list item stay part of the text instead of becoming stray grid items. */
.checks li { position: relative; padding-left: 1.85rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 1.15rem; height: 1px; background: var(--honey-deep);
}
.section--dark .checks li::before { background: var(--honey); }
.note {
  margin-top: var(--s-3); padding: var(--s-2) var(--s-3);
  border-left: 2px solid var(--honey-deep);
  background: rgba(237,203,148,0.16);
  font-size: var(--t-sm); color: var(--ink-soft);
}

/* Instructor profiles */
.tutors { display: grid; gap: var(--s-6); }
.tutor { display: grid; gap: var(--s-3); }
@media (min-width: 780px) {
  .tutor { grid-template-columns: minmax(0, 0.75fr) 1.25fr; gap: var(--s-5); align-items: center; }
}
.tutor h3 { font-size: var(--t-xl); }

/* --- 10. Method ---------------------------------------------------------- */
.method { display: grid; gap: 0; }
@media (min-width: 760px) { .method { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .method { grid-template-columns: repeat(4, 1fr); } }
.method__cell {
  padding: var(--s-4) var(--s-4) var(--s-5);
  border-top: 1px solid rgba(242,235,223,0.2);
}
@media (min-width: 1100px) {
  .method__cell { border-top: 0; border-left: 1px solid rgba(242,235,223,0.2); }
  .method__cell:first-child { border-left: 0; padding-left: 0; }
}
.method__cell h3 { font-size: var(--t-xl); margin-bottom: var(--s-2); }
.method__cell p { color: #b8ac9b; }

/* --- 11. Pricing --------------------------------------------------------- */
.tier { margin-bottom: var(--s-5); }
.tier__name {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2);
  font-family: var(--display); font-size: var(--t-md);
  font-variation-settings: "SOFT" 20, "opsz" 20;
  margin-bottom: var(--s-2);
}
.tier__val { font-family: var(--text); font-size: var(--t-xs); color: var(--ink-mute); letter-spacing: .02em; }
.tier__single { margin-top: var(--s-3); }
.pack__unit { color: var(--ink-mute); }
.fam { border-top: 1px solid var(--shadowed); padding-top: var(--s-4); margin-top: var(--s-5); }
.fam:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.fam__head { margin-bottom: var(--s-4); }
.fam__head h2 { font-size: var(--t-xl); }

/* Headline product cards — Unlimited and Life Club */
.tile {
  border: 1px solid var(--shadowed); border-radius: 8px;
  padding: var(--s-4);
  background: var(--bone);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.tile--dark { background: var(--dusk); color: var(--on-dark); border-color: rgba(242,235,223,.2); }
.tile--dark .meta { color: #b8ac9b; }
.tile__price { font-family: var(--display); font-size: var(--t-xl); font-variation-settings: "SOFT" 20, "opsz" 28; line-height: 1; }
.tile__unit { font-size: var(--t-sm); color: var(--ink-mute); }
.tile--dark .tile__unit { color: #b8ac9b; }
.tile .btn { align-self: flex-start; margin-top: auto; }

.packs { list-style: none; border-top: 1px solid var(--shadowed); }
.pack {
  display: grid; gap: 0.35rem var(--s-3);
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--shadowed);
}
@media (min-width: 720px) { .pack { grid-template-columns: 1fr 1fr auto auto; } }
.pack__n { font-family: var(--display); font-size: var(--t-lg); font-variation-settings: "SOFT" 30, "opsz" 24; }
.pack__per { font-size: var(--t-sm); color: var(--ink-mute); }
.pack__price { font-family: var(--display); font-size: var(--t-lg); font-variation-settings: "SOFT" 20, "opsz" 20; text-align: right; }
.pack__tag {
  justify-self: start;
  font-size: var(--t-xs); padding: 0.28rem 0.7rem;
  background: var(--honey); border-radius: 999px; color: var(--ink);
}
.pack .btn { padding: 0.6rem 1.3rem; }
@media (max-width: 719px) {
  .pack { grid-template-columns: 1fr auto; }
  .pack__per { grid-column: 1; }
  .pack__price { grid-row: 1; grid-column: 2; }
  .pack .btn { grid-column: 2; }
  .pack__tag { grid-column: 1 / -1; }
}

/* Life Club panel */
.club {
  background: var(--dusk); color: var(--on-dark);
  border-radius: 8px;
  padding: var(--s-5) var(--s-4);
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .club { padding: var(--s-6); } }
.club::before {
  content: ""; position: absolute; top: -34%; right: -14%;
  width: 46%; aspect-ratio: 3/4;
  border-radius: var(--arch);
  background: radial-gradient(ellipse at 50% 70%, rgba(237,203,148,0.34), transparent 68%);
  pointer-events: none;
}

/* --- 12. Forms ----------------------------------------------------------- */
.form { display: grid; gap: var(--s-3); max-width: 42rem; }
.field { display: grid; gap: 0.4rem; }
.field > label { font-size: var(--t-sm); font-weight: 600; }
.field .hint { font-size: var(--t-xs); color: var(--ink-mute); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--t-base);
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  background: var(--bone);
  border: 1px solid var(--shadowed);
  border-radius: 4px;
  width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.two-up { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .two-up { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
fieldset > legend { font-size: var(--t-sm); font-weight: 600; padding: 0; margin-bottom: 0.35rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choices label {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--shadowed); border-radius: 999px;
  background: var(--bone);
  font-size: var(--t-sm); cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.choices input { position: absolute; opacity: 0; width: 0; height: 0; }
.choices input:checked + span, .choices label:has(input:checked) { }
.choices label:has(input:checked) { background: var(--honey); border-color: var(--honey-deep); font-weight: 600; }
.choices label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__status { font-size: var(--t-sm); }

/* Café menu */
.menu { display: grid; gap: var(--s-5); }
@media (min-width: 820px) { .menu { grid-template-columns: 1.2fr 1fr; } }
.menu__sec + .menu__sec { margin-top: var(--s-4); }
.menu__sec h3 { font-size: var(--t-md); margin-bottom: var(--s-2); }
.menu__list { list-style: none; border-top: 1px solid var(--shadowed); }
.menu__list li {
  display: flex; flex-wrap: wrap; gap: .3rem var(--s-2); align-items: baseline;
  padding-block: .7rem; border-bottom: 1px solid var(--shadowed);
}
.menu__list .n { font-weight: 500; }
.menu__list .d { font-size: var(--t-sm); color: var(--ink-mute); flex: 1 1 12rem; }
.menu__list .p { margin-left: auto; font-family: var(--display); }

/* --- 13. FAQ / accordion ------------------------------------------------- */
.faq { border-top: 1px solid var(--shadowed); }
.faq details { border-bottom: 1px solid var(--shadowed); }
.faq summary {
  list-style: none; cursor: pointer;
  padding-block: var(--s-3);
  font-family: var(--display); font-size: var(--t-md);
  font-variation-settings: "SOFT" 20, "opsz" 20;
  display: flex; gap: var(--s-3); align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; font-family: var(--text); font-size: 1.4rem;
  color: var(--ink-mute); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: var(--s-3); max-width: var(--measure); color: var(--ink-soft); }

/* --- 14. Journal --------------------------------------------------------- */
.jgrid { display: grid; gap: var(--s-5) var(--s-4); }
@media (min-width: 700px) { .jgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .jgrid { grid-template-columns: repeat(3, 1fr); } }
.jcard { text-decoration: none; display: grid; gap: var(--s-2); }
.jcard h3 { font-size: var(--t-md); }
.jcard .arch { transition: transform 0.45s var(--ease); }
.jcard:hover .arch { transform: translateY(-5px); }
.soon { opacity: 0.55; pointer-events: none; }
.article { max-width: 44rem; margin-inline: auto; }
.article h2 { font-family: var(--display); font-size: var(--t-lg); margin-top: var(--s-5); margin-bottom: var(--s-2); font-variation-settings: "SOFT" 30, "opsz" 24; }
.article p, .article li { color: var(--ink-soft); }
.article ul { padding-left: 1.2rem; margin-bottom: 1em; }
.article li { margin-bottom: 0.4rem; }

/* --- 15. Footer ---------------------------------------------------------- */
.foot { background: var(--dusk); color: var(--on-dark); padding-block: var(--s-6) var(--s-4); }
.foot a { color: rgba(242,235,223,0.78); text-decoration: none; }
.foot a:hover { color: var(--honey); }
.foot__top { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-4); } }
.foot .foot__h { font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: #8d8271; margin-bottom: var(--s-2); font-weight: 600; font-family: var(--text); }
.foot ul { list-style: none; display: grid; gap: 0.55rem; font-size: var(--t-sm); }
.foot__logo img { width: 128px; }
.foot__bar {
  margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid rgba(242,235,223,0.16);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  font-size: var(--t-xs); color: #8d8271;
}
.foot__bar a { color: #8d8271; }
.foot__bar .sp { margin-left: auto; }

/* --- 16. Floating WhatsApp ---------------------------------------------- */
.wa {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--bone); color: var(--ink);
  border: 1px solid var(--shadowed);
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--t-sm); font-weight: 600;
  box-shadow: 0 14px 34px -18px rgba(43,38,33,0.6);
  transition: background 0.2s var(--ease);
}
.wa:hover { background: var(--honey); }
.wa svg { flex: none; }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: 0.8rem; } }

/* --- 17. Booking steps (a genuine sequence, so numbered) ----------------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: var(--s-3); }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 2.1rem 1fr; gap: var(--s-2);
  align-items: baseline;
}
.steps li::before {
  content: counter(s);
  font-family: var(--display); font-size: var(--t-md); color: var(--honey-deep);
  font-variation-settings: "opsz" 14;
}

/* --- 18. Map ------------------------------------------------------------- */
.map {
  border: 0; width: 100%; height: clamp(260px, 40vh, 420px);
  border-radius: 6px; background: var(--plaster-deep);
  filter: saturate(0.72) contrast(0.95);
}

/* --- 19. Motion --------------------------------------------------------- */
/* One orchestrated moment per page: the hero settles on load. Nothing else
   animates unprompted. */
.reveal { opacity: 0; transform: translateY(14px); }
.is-ready .reveal { animation: settle 0.85s var(--ease) forwards; }
.is-ready .reveal:nth-child(2) { animation-delay: 0.1s; }
.is-ready .reveal:nth-child(3) { animation-delay: 0.2s; }
@keyframes settle { to { opacity: 1; transform: none; } }

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

/* --- 20. Print ----------------------------------------------------------- */
@media print {
  .nav, .drawer, .wa, .foot { display: none; }
  body { background: #fff; }
}

/* --- 21. Motion layer -----------------------------------------------------
   Paired with assets/js/motion.js. Transform and opacity only — nothing here
   triggers layout. Pricing, forms, navigation and the booking flow are
   deliberately absent from every selector below.
   ------------------------------------------------------------------------ */

/* Scroll reveal */
.will-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.7s var(--ease) var(--d, 0ms),
    transform 0.7s var(--ease) var(--d, 0ms);
  will-change: opacity, transform;
}
.will-reveal.is-in { opacity: 1; transform: none; will-change: auto; }

/* Arch images reveal by lifting their mask rather than sliding */
.arch.will-reveal { transform: translate3d(0, 22px, 0) scale(0.985); }
.arch.will-reveal.is-in { transform: none; }

/* Parallax + cursor drift share one transform on the image */
.has-parallax {
  transform: translate3d(var(--cx, 0px), calc(var(--py, 0px) + var(--cy, 0px)), 0) scale(1.08);
  will-change: transform;
}
.hero__copy {
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Magnetic buttons */
.is-magnetic {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

/* Card tilt */
.has-tilt { perspective: 900px; }
.has-tilt .arch {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
a.card.has-tilt:hover .arch,
.jcard.has-tilt:hover .arch {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
}

/* The Life Method progression */
.method.has-progress { position: relative; }
.method.has-progress::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 1px; width: calc(var(--progress, 0) * 100%);
  background: var(--honey);
  opacity: 0.85;
  transition: width 0.15s linear;
}
@media (min-width: 1100px) {
  .method.has-progress .method__cell {
    opacity: 0.4;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .method.has-progress .method__cell.is-active { opacity: 1; transform: none; }
  .method.has-progress .method__cell h3 {
    transition: color 0.8s var(--ease);
  }
  .method.has-progress .method__cell.is-active h3 { color: var(--honey); }
}

/* Touch press states stand in for hover */
.is-touch .is-pressed .arch { transform: scale(0.985); }
.is-touch .is-pressed { opacity: 0.86; }

/* iOS tilt permission prompt — small, ignorable, self-removing */
.tiltask {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: calc(100% - 100vh + 5.5rem);
  bottom: auto; top: 1rem;
  background: rgba(20, 17, 14, 0.55);
  color: var(--on-dark);
  border: 1px solid rgba(242, 235, 223, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: var(--t-xs);
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: opacity 1.2s var(--ease);
}
.tiltask.is-fading { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .will-reveal, .will-reveal.is-in { opacity: 1 !important; transform: none !important; }
  .has-parallax { transform: none !important; }
  .hero__copy, .is-magnetic, .has-tilt .arch { transform: none !important; }
  .method.has-progress::before { display: none; }
  .method.has-progress .method__cell { opacity: 1 !important; transform: none !important; }
  .tiltask { display: none; }
}

/* --- 22. Life Community ---------------------------------------------------
   Inherits every token, card, button and reveal from the sections above. The
   only new pieces are the category chips, the featured-event layout and the
   editorial gallery.
   ------------------------------------------------------------------------ */
.ev__cat { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ev__status {
  font-size: var(--t-xs); padding: .2rem .65rem;
  background: var(--honey); color: var(--ink); border-radius: 999px;
}
.ev__when { font-weight: 600; color: var(--ink-soft); }

.ev-feat { display: grid; gap: var(--s-4); }
@media (min-width: 900px) {
  .ev-feat { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-6); align-items: center; }
}
.ev-feat__when {
  font-family: var(--display); font-size: var(--t-lg);
  font-variation-settings: "SOFT" 20, "opsz" 22;
  margin-top: .6rem;
}

/* Category filters — horizontally scrollable on small screens */
.chips-bar {
  display: flex; gap: .5rem; overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.chips-bar::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  padding: .5rem 1.1rem;
  border: 1px solid var(--shadowed); border-radius: 999px;
  background: var(--bone); color: var(--ink-soft);
  font-size: var(--t-sm); cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--clay); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.ev[hidden] { display: none; }

/* Editorial gallery — first frame runs wide, the rest sit in a grid */
.gal { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .gal { grid-template-columns: 1fr 1fr; } }
.gal__item {
  padding: 0; border: 0; background: none; cursor: zoom-in;
  display: block; width: 100%;
  transition: opacity .3s var(--ease);
}
.gal__item:hover { opacity: .9; }
@media (min-width: 760px) { .gal__item--wide { grid-column: 1 / -1; } }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(20, 17, 14, .93);
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lb[data-open="true"] { opacity: 1; visibility: visible; }
.lb img { max-width: 100%; max-height: 88vh; width: auto; border-radius: 4px; }
.lb__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(242,235,223,.12); border: 1px solid rgba(242,235,223,.3);
  color: var(--on-dark); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(242,235,223,.12); border: 1px solid rgba(242,235,223,.3);
  color: var(--on-dark); cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.lb__nav--prev { left: 1rem; }
.lb__nav--next { right: 1rem; }
.lb__count {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: #a89b8a; font-size: var(--t-sm);
}

/* Event partner credits and film */
.partners-block { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--shadowed); }
.partners { font-family: var(--display); font-size: var(--t-md); font-variation-settings: "SOFT" 20, "opsz" 20; margin-top: .3rem; }
.partners--small { font-size: var(--t-base); color: var(--ink-soft); }
.evideo-wrap { display: flex; justify-content: center; }
.evideo { max-width: 460px; width: 100%; }
@media (min-width: 900px) { .evideo { max-width: 520px; } }
.evideo video {
  width: 100%; height: auto; display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
  border-radius: 999px 999px 6px 6px / 200px 200px 6px 6px;
  background: var(--plaster-deep);
  box-shadow: 0 0 0 2px rgba(237,203,148,.55), 0 0 38px -2px rgba(237,203,148,.6),
              0 26px 60px -34px rgba(43,38,33,.55);
}
@media (hover: hover) and (pointer: fine) {
  .evideo:hover video {
    transform: translateY(-6px);
    box-shadow: 0 0 0 2px rgba(237,203,148,.7), 0 0 52px -2px rgba(237,203,148,.7),
                0 34px 70px -34px rgba(43,38,33,.6);
  }
}
.evideo figcaption { margin-top: var(--s-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .evideo:hover video { transform: none; } }


/* --- Experience numbering (01–09) --------------------------------------- */
.xp__num {
  display: block;
  font-family: var(--display);
  font-variation-settings: "opsz" 14;
  font-size: var(--t-sm);
  color: var(--honey-deep);
  letter-spacing: .04em;
  margin-bottom: .35rem;
}
.xp__num--lg { font-size: var(--t-md); margin-bottom: .6rem; }

/* --- Life Club with a photo --------------------------------------------- */
.club--media { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) {
  .club--media { grid-template-columns: minmax(0, .8fr) 1.2fr; gap: var(--s-6); }
}
.club__media .arch { max-width: 420px; }
@media (max-width: 899px) { .club__media .arch { max-width: 100%; } }

/* --- T&C policy block ---------------------------------------------------- */
.tc-policy { scroll-margin-top: calc(var(--nav-h, 72px) + 1.5rem); }
.tc-policy ul { padding-left: 1.2rem; }
.tc-policy li { margin-bottom: .6rem; color: var(--ink); }
/* The photo replaces the decorative glow when Life Club has an image */
.club--media::before { display: none; }

/* --- 23. Instagram --------------------------------------------------------
   Built only from existing tokens, the arch and the button system.
   ------------------------------------------------------------------------ */
.ig { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .ig { grid-template-columns: minmax(0, 0.9fr) 1.1fr; gap: var(--s-6); } }
.ig__handle {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--t-sm); color: var(--ink-mute); letter-spacing: .01em;
  text-decoration: none;
}
.ig__handle:hover { color: var(--ink); }
.ig__handle svg, .ig-link svg { flex: none; }
.ig--solo { grid-template-columns: 1fr !important; }

/* Inline Instagram prompt beside a section heading */
.ig-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s-2); }
.ig-link .arr { transition: transform .25s var(--ease); }
.ig-link:hover .arr { transform: translateX(3px); }
