@charset "utf-8";
/* ==========================================================================
   MAUNA — hand-written. No framework, no build step.

   The page is paper. Photographs sit inside arches borrowed from the studio's
   windows, and almost nothing is ruled or boxed: space does the separating.
   One idea holds each viewport, and every section is allowed to be mostly
   empty. Where VAJRA counts, this one waits.
   ========================================================================== */

/* ---------- 1. Faces ------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("fonts/karla-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Tokens ------------------------------------------------ */
:root {
  /* Grounds */
  --paper: #f4eee4;
  --paper-warm: #efe6d8;
  --off-white: #faf6f0;
  --sand: #e8dcca;
  --sand-deep: #dccbb2;

  /* Ink — every one of these is a text colour and passes AA on paper */
  --ink: #2e2a26;
  --ink-soft: #5e564e;
  --ink-faint: #6f665c;

  /* Accents. The -ink variants are the only ones allowed to carry text. */
  --sage: #8e9b84;
  --sage-ink: #55614c;
  --terracotta: #c2704b;
  --terracotta-ink: #9a4f2e;
  --dusk: #d9a6a0;
  --dusk-ink: #9b5f58;

  --rule: rgba(46, 42, 38, 0.14);
  --rule-soft: rgba(46, 42, 38, 0.08);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Karla", "Helvetica Neue", system-ui, sans-serif;

  --gut: clamp(22px, 6vw, 96px);
  --shell: 1240px;
  --shell-wide: 1560px;

  /* One easing for everything. Nothing on this page snaps. */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 600ms;

  /* Duration scale. Every transition is one of these; keyframe animations
     carry their own deliberate timings. */
  --t-quick: 160ms;   /* hover and tap feedback */
  --t-base: 240ms;    /* surfaces, colour, borders */
  --t-size: 260ms;    /* header size, matching AERA */
  --t-move: 420ms;    /* panels, heights, drawers */
  --t-enter: 600ms;   /* entrances and reveals */
  --t-open: 780ms;    /* full-width openings */
  --arch: 999px 999px 6px 6px;
}

/* ---------- 3. Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The paper itself: a woven fibre made from two tilted repeating gradients
   plus a fine turbulence grain. No image request, no external asset. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(24deg, rgba(120, 100, 74, 0.030) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-66deg, rgba(120, 100, 74, 0.024) 0 1px, transparent 1px 5px),
    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.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: auto, auto, 160px 160px;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 1; }

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  margin: 0;
}
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

/* A component's own display rule must never beat [hidden]. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--terracotta-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--sand-deep); color: var(--ink); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--off-white);
  border-radius: 100px;
  font-size: 0.9rem;
  transform: translateY(-180%);
  transition: transform var(--t-quick) var(--ease);
}
.skip:focus { transform: none; }

/* ---------- 4. Type -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 22, "opsz" 90;
  color: var(--ink);
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.t-hero {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.t-xl { font-size: clamp(2.05rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.018em; font-variation-settings: "SOFT" 26, "opsz" 120; }
.t-lg { font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
.t-md { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.28; }
.t-sm { font-size: 1.08rem; line-height: 1.36; }

.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  line-height: 1.5;
}
.eyebrow--sage { color: var(--sage-ink); }
.eyebrow--quiet { color: var(--ink-faint); }

.lede {
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 34em;
}

p { margin: 0 0 1.1em; max-width: 38em; }
p:last-child { margin-bottom: 0; }

/* Headings balance; body copy avoids stranding a one-word last line. */
p, li, dd, figcaption, .lede, .slot__body, .beat__what { text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }

.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* Devanagari sits a touch larger to match the Latin x-height. It carries no
   opacity: fading real text is what pushed it under 4.5:1. */
.deva { font-size: 1.12em; line-height: 1; }

/* ---------- 5. Shell and rhythm -------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--wide { max-width: var(--shell-wide); }

/* One idea per viewport: sections are tall and content sits in the middle. */
.view {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(72px, 11vh, 150px);
}
.view--short { min-height: 0; padding-block: clamp(56px, 8vh, 108px); }
.view--sand { background: linear-gradient(180deg, transparent, var(--paper-warm) 18% 82%, transparent); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--rule) 12%, var(--rule) 88%, transparent);
}

/* ---------- 6. Reveals: 600ms, soft, upward -------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--slow) var(--ease),
    transform var(--slow) var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 7. Arches and photographs -------------------------------- */
/* The one graphic motif: the shape of the studio's windows. */
.arch {
  position: relative;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--sand);
}
.arch--soft { border-radius: 260px 260px 6px 6px; }
.arch--squat { border-radius: 140px 140px 6px 6px; }
.arch--plain { border-radius: 6px; }
.arch > img { width: 100%; height: 100%; object-fit: cover; }
.arch--3x2 { aspect-ratio: 3 / 2; }
.arch--4x5 { aspect-ratio: 4 / 5; }
.arch--1x1 { aspect-ratio: 1 / 1; }
.arch--tall { aspect-ratio: 5 / 7; }

/* Slow Ken Burns on hover — a drift, not a jump. */
.kb > img {
  transition: transform 7s cubic-bezier(0.16, 0.6, 0.3, 1);
  will-change: transform;
}
.kb:hover > img,
.kb:focus-within > img { transform: scale(1.07) translate3d(-1%, -1.4%, 0); }

.caption {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  max-width: 30em;
}

/* ---------- 8. Header ------------------------------------------------ */
/* Headroom, matching AERA: no bar at all at the top of the page, then a
   condensed sticky one with a smaller wordmark past 24px. AERA's timings —
   260ms cubic-bezier(0.22, 1, 0.36, 1) on size, 240ms on the surface. */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-base) ease,
    border-color var(--t-base) ease,
    backdrop-filter var(--t-base) ease;
}
.top.is-stuck {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--rule-soft);
}
.top__in {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  min-height: 88px;
  transition: min-height var(--t-size) cubic-bezier(0.22, 1, 0.36, 1);
}
.top.is-stuck .top__in { min-height: 68px; }

.mark {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "opsz" 144;
  font-size: 1.34rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ink);
}
.top .mark { transition: font-size var(--t-size) cubic-bezier(0.22, 1, 0.36, 1); }
.top.is-stuck .mark { font-size: 1.06rem; }
.top__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-inline-start: auto;
}
.top__link {
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.top__link:hover { color: var(--ink); border-bottom-color: var(--terracotta); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--off-white);
  font-size: 0.94rem;
  transition: background var(--t-base) var(--ease), transform var(--t-quick) var(--ease);
}
.pill:hover { background: var(--terracotta-ink); }
.pill:active { transform: translateY(1px); }
.pill--quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.pill--quiet:hover { background: var(--off-white); border-color: var(--ink-faint); color: var(--ink); }
.pill--block { width: 100%; justify-content: center; }
.pill[disabled] { opacity: 0.45; pointer-events: none; }

/* Small round controls: sound, breathing pause. */
.knob {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 12px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  background: rgba(250, 246, 240, 0.72);
  backdrop-filter: blur(6px);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.knob:hover { color: var(--ink); border-color: var(--ink-faint); background: var(--off-white); }
.knob svg { width: 15px; height: 15px; flex: none; }
.knob[aria-pressed="true"] { color: var(--terracotta-ink); border-color: var(--terracotta); }


/* On a phone the header is the mark, an icon-only sound toggle and one small
   pill. The sound label becomes visually hidden rather than removed, so the
   button keeps its accessible name. */
@media (max-width: 599px) {
  .top__in { gap: 12px; }
  .knob { padding: 9px 11px; }
  .knob [data-sound-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .top .pill { padding: 10px 15px; font-size: 0.84rem; }
  .top .mark, .top.is-stuck .mark { font-size: 1.12rem; letter-spacing: 0.24em; text-indent: 0.24em; }
}

/* ---------- 9. Hero — the breathing visual --------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: grid;
  align-items: center;
  padding-block: clamp(30px, 6vh, 76px) clamp(60px, 9vh, 110px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: center;
}
.hero__copy { max-width: 30rem; }
/* The measure belongs to the headline, not to the whole column — capping the
   column squeezed the paragraph under it into a ribbon. */
.hero__copy .t-hero { max-width: 12ch; }
.hero__lede { margin-top: clamp(20px, 2.6vw, 32px); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 3.4vw, 42px);
}

/* The frame holds still; the photograph inside it breathes. */
.breath {
  position: relative;
  border-radius: 999px 999px 8px 8px;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--sand);
  box-shadow: 0 30px 70px -50px rgba(70, 52, 34, 0.7);
}
.breath picture { display: contents; }
.breath__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 56%;
  will-change: transform;
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.032); }
}
.breath.is-paused .breath__img { animation-play-state: paused; }

/* A ring that breathes with it, so the cycle reads even at a glance. */
.breath__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(250, 246, 240, 0.5);
  pointer-events: none;
  animation: ring 4s ease-in-out infinite;
}
@keyframes ring {
  0%, 100% { opacity: 0.35; transform: scale(0.985); }
  50% { opacity: 0.85; transform: scale(1); }
}
.breath.is-paused .breath__ring { animation-play-state: paused; }

.breath__control {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
}

.hero__scroll {
  margin-top: clamp(30px, 5vh, 60px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 0.84rem;
}
.hero__scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--rule), transparent);
  display: block;
}

@media (max-width: 899px) {
  .hero { min-height: 0; padding-block: clamp(24px, 5vh, 52px) clamp(40px, 7vh, 80px); }
  .hero__grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); }
  .hero__copy { max-width: none; }
  .breath { aspect-ratio: 4 / 5; }
}

/* ---------- 10. Statement -------------------------------------------- */
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.pull {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "opsz" 96;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.4;
  color: var(--terracotta-ink);
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 2px solid var(--dusk);
  max-width: 24em;
}
@media (max-width: 899px) {
  .statement__grid { grid-template-columns: 1fr; }
}

/* ---------- 11. Practices — alternating splits ----------------------- */
.practice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  min-height: 78svh;
  padding-block: clamp(48px, 7vh, 96px);
}
.practice:nth-child(even) .practice__media { order: 2; }
.practice__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.practice__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: clamp(20px, 2.6vw, 28px);
}
.tag {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--off-white);
  border: 1px solid var(--rule-soft);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.practice__notes {
  margin-top: clamp(20px, 2.6vw, 30px);
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}
.practice__note { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 14px; font-size: 0.92rem; }
.practice__note dt { color: var(--ink-faint); }
.practice__note dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 899px) {
  .practice { grid-template-columns: 1fr; min-height: 0; }
  .practice:nth-child(even) .practice__media { order: 0; }
}

/* ---------- 12. Teachers --------------------------------------------- */
.teachers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
@media (max-width: 1099px) { .teachers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .teachers { grid-template-columns: 1fr; } }

.teacher { display: grid; align-content: start; gap: 16px; }
.teacher__name { margin-top: 4px; }
.teacher__role { font-size: 0.86rem; color: var(--ink-faint); }

/* The quote is present and readable at rest; hovering re-writes it. */
.quote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 34, "opsz" 72;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  min-height: 5.4em;
}
.quote .ch { opacity: 1; }
.quote.is-typing .ch { opacity: 0; }
.quote.is-typing .ch.is-on { opacity: 1; }
.quote__caret {
  display: none;
  width: 1px;
  height: 1.05em;
  margin-left: 1px;
  background: var(--terracotta);
  vertical-align: -0.16em;
  animation: caret 900ms steps(2, jump-none) infinite;
}
.quote.is-typing .quote__caret { display: inline-block; }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.teacher__trained { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.teacher__trained li {
  font-size: 0.84rem;
  color: var(--ink-faint);
  padding-left: 16px;
  position: relative;
}
.teacher__trained li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: var(--sage);
}

/* ---------- 13. The week --------------------------------------------- */
.week__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.chip {
  padding: 9px 17px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--off-white);
}

.week { display: grid; gap: 0; }
.slot { border-bottom: 1px solid var(--rule-soft); }
.slot:first-child { border-top: 1px solid var(--rule-soft); }
.slot[hidden] { display: none; }

.slot__btn {
  display: grid;
  grid-template-columns: 5.2em 7.5em minmax(0, 1fr) 9em 7.5em 20px;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  width: 100%;
  padding: clamp(16px, 2vw, 22px) 4px;
  text-align: left;
  transition: background var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
}
.slot__btn:hover { background: var(--off-white); padding-left: 12px; }
.slot__day { font-size: 0.86rem; color: var(--ink-faint); }
.slot__time { font-size: 1.02rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.slot__name {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 26, "opsz" 72;
  font-size: 1.24rem;
  line-height: 1.2;
  color: var(--ink);
}
.slot__teacher { font-size: 0.9rem; color: var(--ink-soft); }
.slot__seats { font-size: 0.9rem; color: var(--sage-ink); display: inline-flex; align-items: center; gap: 8px; }
.slot__seats.is-full { color: var(--ink-faint); }
.slot__dot { width: 7px; height: 7px; border-radius: 100px; background: var(--sage); flex: none; }
.slot__seats.is-full .slot__dot { background: var(--dusk); }
.slot__chev {
  width: 11px;
  height: 11px;
  border-right: 1.4px solid var(--ink-faint);
  border-bottom: 1.4px solid var(--ink-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-move) var(--ease);
  justify-self: end;
}
.slot__btn[aria-expanded="true"] .slot__chev { transform: rotate(-135deg) translate(-3px, -3px); }

.slot__panel { overflow: hidden; height: 0; transition: height var(--t-move) var(--ease); }
.slot__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 40px);
  padding: 4px 4px clamp(22px, 2.6vw, 30px) 5.2em;
}
.slot__block { display: grid; gap: 6px; align-content: start; }
.slot__label { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.slot__body { font-size: 0.94rem; color: var(--ink-soft); max-width: 34em; }

@media (max-width: 899px) {
  .slot__btn {
    grid-template-columns: minmax(0, 1fr) 20px;
    row-gap: 4px;
    padding-block: 18px;
  }
  .slot__day, .slot__time, .slot__teacher, .slot__seats { grid-column: 1; }
  .slot__name { grid-column: 1; }
  .slot__chev { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
  .slot__inner { grid-template-columns: 1fr; padding-left: 4px; }
}

.week__empty { padding: 40px 4px; color: var(--ink-faint); }

/* ---------- 14. First class free ------------------------------------- */
.capture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 899px) { .capture { grid-template-columns: 1fr; } }

/* Grid items default to min-width:auto, so one unbreakable child — here the
   select, whose longest option is wider than a phone — can push a whole column
   past the viewport. Every grid child on this page is allowed to be narrow. */
.hero__grid > *,
.statement__grid > *,
.practice > *,
.capture > *,
.teachers > *,
.foot__grid > *,
.form__pair > *,
.slot__inner > * { min-width: 0; }

.form { display: grid; gap: clamp(16px, 2vw, 22px); min-width: 0; }
.field { display: grid; gap: 8px; }
.field > label { font-size: 0.86rem; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--terracotta-ink); }
.field select { text-overflow: ellipsis; }
.field__err { font-size: 0.84rem; color: var(--terracotta-ink); min-height: 1.3em; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 599px) { .form__pair { grid-template-columns: 1fr; } }

.promises { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.promises li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 12px;
  border-radius: 100px;
  border: 1px solid var(--sage);
  background: transparent;
}

.note {
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--off-white);
  border: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.note strong { color: var(--ink); font-weight: 600; }

.done { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: var(--off-white); border: 1px solid var(--rule-soft); }
.done__mark {
  width: 46px;
  height: 46px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: var(--off-white);
}

/* ---------- 15. Footer ------------------------------------------------ */
.foot { padding-block: clamp(48px, 7vw, 92px) clamp(26px, 3vw, 40px); border-top: 1px solid var(--rule-soft); }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 899px) { .foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 0.94rem; }
.foot__col a { color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.foot__col a:hover { color: var(--ink); border-bottom-color: var(--terracotta); }
.foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: clamp(34px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-faint);
  font-size: 0.86rem;
}

/* ---------- 16. Small pages (privacy, accessibility, 404) ------------- */
.page { max-width: 46em; }
.page h2 { margin-top: clamp(30px, 4vw, 46px); }
.page h2 + p { margin-top: 12px; }

/* ---------- 17. Reduced motion ---------------------------------------- */
/* The breathing, the typing, the drift and the fade-ups all go. Every word,
   photograph and control stays exactly where it was. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .breath__img, .breath__ring { animation: none !important; transform: none !important; opacity: 1 !important; }
  .kb:hover > img, .kb:focus-within > img { transform: none !important; }
  .quote.is-typing .ch { opacity: 1 !important; }
  .quote__caret { display: none !important; }
}

/* ==========================================================================
   19. The multi-page furniture
   Added when MAUNA stopped being one scroll and became twenty-one pages.
   ========================================================================== */

/* ---------- Page heads and breadcrumbs -------------------------------- */
.phead {
  padding-block: clamp(34px, 6vh, 78px) clamp(20px, 4vh, 46px);
}
.phead__title { margin-top: clamp(12px, 1.6vw, 20px); max-width: 18ch; }
.phead__lede { margin-top: clamp(16px, 2.2vw, 26px); }
.phead__aside { margin-top: clamp(20px, 2.6vw, 32px); }

.crumbs { margin-bottom: clamp(18px, 2.4vw, 28px); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--ink-faint);
}
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--ink-faint);
  border-top: 1px solid var(--ink-faint);
  transform: rotate(45deg);
  opacity: 0.7;
}
.crumbs a { border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.crumbs a:hover { color: var(--ink); border-bottom-color: var(--terracotta); }
.crumbs [aria-current] { color: var(--ink-soft); }

/* ---------- Section heads and quiet links ----------------------------- */
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px clamp(20px, 4vw, 60px);
}
@media (max-width: 719px) {
  .section__head { grid-template-columns: 1fr; align-items: start; }
}

.linkline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), gap var(--t-base) var(--ease);
}
.linkline::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.linkline:hover { color: var(--terracotta-ink); border-bottom-color: var(--terracotta); gap: 13px; }

/* ---------- Generic grids --------------------------------------------- */
.grid { display: grid; gap: clamp(24px, 3.4vw, 52px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
@media (max-width: 1099px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}
.split > * { min-width: 0; }
/* A portrait photograph next to running text needs the narrower column, or it
   towers over the words and leaves a hole beside them. */
.split--portrait { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.split--portrait-right { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); align-items: center; }
@media (max-width: 899px) { .split, .split--portrait, .split--portrait-right { grid-template-columns: 1fr; } }

/* ---------- Practice cards -------------------------------------------- */
.pcard { display: grid; align-content: start; gap: clamp(16px, 2vw, 22px); }
.pcard__body { display: grid; gap: 10px; align-content: start; }
.pcard h3 a { border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.pcard:hover h3 a { color: var(--terracotta-ink); border-bottom-color: var(--terracotta); }

/* ---------- Ordered beats (what happens, getting here) ---------------- */
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.2vw, 26px); counter-reset: beat; }
.beat {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  gap: 4px clamp(14px, 2vw, 24px);
  padding-bottom: clamp(16px, 2.2vw, 26px);
  border-bottom: 1px solid var(--rule-soft);
  counter-increment: beat;
}
.beat:last-child { border-bottom: 0; padding-bottom: 0; }
.beat::before {
  content: counter(beat);
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "opsz" 72;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta);
}
.beat__when { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.beat__what { margin: 0; color: var(--ink-soft); max-width: 44em; }
@media (max-width: 599px) {
  .beat { grid-template-columns: 1.8em minmax(0, 1fr); }
  .beat::before { font-size: 1.25rem; }
}

/* ---------- Fact lists ------------------------------------------------- */
.facts { display: grid; gap: 0; margin: 0; }
.fact {
  display: grid;
  grid-template-columns: minmax(0, 10em) minmax(0, 1fr);
  gap: 8px clamp(14px, 2vw, 28px);
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.fact:first-child { border-top: 1px solid var(--rule-soft); }
.fact dt { color: var(--ink-faint); font-size: 0.9rem; }
.fact dd { margin: 0; color: var(--ink); }
.facts--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.facts--row .fact { grid-template-columns: 1fr; border-top: 1px solid var(--rule-soft); border-bottom: 0; }
.facts--row .fact dd { font-family: var(--display); font-size: 1.6rem; font-variation-settings: "SOFT" 26, "opsz" 96; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) {
  .facts--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Rooms ------------------------------------------------------ */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.rooms > * { min-width: 0; }
.room { display: grid; align-content: start; gap: clamp(14px, 2vw, 20px); scroll-margin-top: 110px; }
.room__body { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 899px) { .rooms { grid-template-columns: 1fr; } }

/* ---------- Passes ----------------------------------------------------- */
.passes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.passes > * { min-width: 0; }
.pass {
  /* Flex column, not grid: the body must absorb the spare height so every
     card's button lands on the same line across the row. */
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  background: var(--off-white);
}
.pass--featured { border-color: var(--terracotta); background: var(--paper-warm); }
.pass__price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0; }
.pass > p:last-child { margin-top: auto; padding-top: 16px; }
.pass__amount {
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  font-variation-settings: "SOFT" 26, "opsz" 96;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1;
  color: var(--ink);
}
@media (max-width: 1099px) { .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .passes { grid-template-columns: 1fr; } }

/* ---------- Small linked cards ----------------------------------------- */
.mini {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  background: var(--off-white);
}
.mini h3 a { border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.mini:hover h3 a { color: var(--terracotta-ink); border-bottom-color: var(--terracotta); }

/* ---------- Sitemap ---------------------------------------------------- */
.sitemap { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sitemap a { color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.sitemap a:hover { color: var(--ink); border-bottom-color: var(--terracotta); }

/* ---------- Booking row inside an open class --------------------------- */
.slot__book { grid-column: 1 / -1; padding-top: 6px; }

/* ---------- Closing call to action ------------------------------------- */
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.cta__grid > * { min-width: 0; }
@media (max-width: 899px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- The menu, for phones and narrow laptops -------------------- */
.knob--menu { display: none; }
.knob__bars { display: grid; gap: 4px; width: 15px; }
.knob__bars span { height: 1.5px; background: currentColor; transition: transform var(--t-base) var(--ease), opacity var(--t-quick) var(--ease); }
.knob__bars.is-open span:first-child { transform: translateY(2.75px) rotate(45deg); }
.knob__bars.is-open span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--paper);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  overflow-y: auto;
  opacity: 0;
  transition: opacity var(--t-size) var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__top { display: flex; align-items: center; padding-block: clamp(18px, 2.6vw, 30px); }
.menu__list { display: grid; align-content: center; padding-block: clamp(20px, 4vh, 48px); }
.menu__item {
  display: block;
  padding: clamp(10px, 1.8vh, 16px) 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "opsz" 120;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  line-height: 1.16;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
}
.menu.is-open .menu__item {
  animation: menu-in 0.42s var(--ease) forwards;
  animation-delay: calc(70ms + var(--i) * 40ms);
}
@keyframes menu-in { to { opacity: 1; transform: none; } }
.menu__item[aria-current] { color: var(--terracotta-ink); }
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-block: clamp(18px, 3vh, 30px);
  border-top: 1px solid var(--rule-soft);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 1099px) {
  .top__nav .top__link { display: none; }
  .knob--menu { display: inline-flex; }
  .top__cta { display: none; }
}

/* ---------- Reduced motion for the new pieces -------------------------- */
@media (prefers-reduced-motion: reduce) {
  .menu { transition: none; }
  .menu__item { opacity: 1; transform: none; animation: none; }
}

/* ---------- 18. Print -------------------------------------------------- */
@media print {
  body::before, .top, .breath__control, .knob { display: none !important; }
  body { background: #fff; }
  .view, .practice, .hero { min-height: 0; padding-block: 18px; }
}
