/* ==========================================================================
   PSALM PILATES — core stylesheet
   Sky blue and navy, a clear sans for reading, and the serif wordmark from
   the brand mark kept for the logo, italic accents and verses.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Sky scale, light to deep */
  --sky-01: #f7fafd;
  --sky-02: #e7f0fa;
  --sky-03: #d6e5f6;
  --sky-04: #c2d7ef;
  --sky-05: #a9c7e9;
  --sky-06: #7ba1d4;
  --sky-07: #3f74b3;
  --sky-08: #2a62a4;
  --sky-09: #1d4d86;

  --blue:      #2a62a4;
  --blue-deep: #1d4d86;
  --navy:      #0d1b2a;
  --navy-2:    #16283c;
  --bg:        #f3f7fc;

  /* Ink and neutrals */
  --ink:      #0d1b2a;
  --ink-soft: #364a5e;
  --ink-mute: #56687b;
  --line:     #dfe7f0;
  --white:    #ffffff;

  /* Second surface (the old warm "sand" sections now sit in pale sky) */
  --sand:      #e9f1fa;
  --sand-deep: #d6e5f6;
  --sand-ink:  #2a62a4;

  /* Type */
  --display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --script:  "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;

  /* Rhythm */
  --gutter:  clamp(1rem, 4vw, 2.5rem);
  --maxw:    1240px;
  --maxw-sm: 780px;
  --section: clamp(4.5rem, 10vw, 8rem);
  --nav-h:   88px;

  /* Surface */
  --radius:    14px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .04), 0 8px 24px -12px rgba(13, 27, 42, .10);
  --shadow-md: 0 2px 4px rgba(13, 27, 42, .04), 0 18px 48px -20px rgba(13, 27, 42, .18);
  --shadow-lg: 0 40px 80px -40px rgba(13, 27, 42, .45);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sky-04); color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: .75rem 1.5rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.wordmark {
  font-family: var(--script);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .28em;
  line-height: 1;
}

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .94;
  letter-spacing: -.045em;
  color: var(--ink);
}

h1, .h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}

h2, .h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  color: var(--ink);
}

h3, .h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
}

h4, .h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
}

/* Italic serif accent inside a heading: "Still mind." */
.it {
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08em;
  letter-spacing: -.015em;
  color: var(--blue);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--blue); }
.section--deep .eyebrow, .section--deep .eyebrow--light { color: var(--sky-05); }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}

.muted { color: var(--ink-soft); }
.small { font-size: .95rem; line-height: 1.6; }
.tiny  { font-size: .8rem; letter-spacing: .02em; }

.serif-quote {
  font-family: var(--script);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}

/* The old hairline section markers are retired in this design */
.rule { display: none; }
.rule + .stack, h2 + .stack { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--maxw-sm); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--sky  { background: var(--white); }
.section--sand { background: var(--sand); }
.section--deep { background: var(--navy); color: rgba(255, 255, 255, .76); }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep .h1, .section--deep .h2 { color: var(--white); }
.section--deep .it { color: var(--sky-05); }
.section--deep .lede,
.section--deep .muted { color: rgba(255, 255, 255, .76); }

.center { text-align: center; }
.stack > * + * { margin-top: 1.15rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 + .lede, .section-head h2 + p { margin-top: 1.1rem; }

.grid { display: grid; gap: 16px; }
.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)); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  --btn-bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.btn:hover { --btn-bg: var(--blue-deep); --btn-bd: var(--blue-deep); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--sky-02); --btn-bd: var(--sky-02); }

/* Soft secondary: pale sky fill, dark text */
.btn--ghost { --btn-bg: var(--sky-02); --btn-fg: var(--ink); --btn-bd: var(--sky-02); }
.btn--ghost:hover { --btn-bg: var(--sky-03); --btn-fg: var(--ink); --btn-bd: var(--sky-03); }

/* Outlined, for a second action beside a filled one */
.btn--out { --btn-bg: rgba(255, 255, 255, .6); --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--out:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .16); --btn-fg: #fff; --btn-bd: #fff; }

.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* Text link with an arrow that nudges on hover */
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  transition: color .2s var(--ease);
}
.link-quiet:hover { color: var(--blue-deep); }
.link-quiet svg { transition: transform .3s var(--ease); }
.link-quiet:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Sky surfaces — the cloud photograph behind page headers
   -------------------------------------------------------------------------- */
.sky {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--sky-03) url("../img/photos/sky.jpg") center bottom / cover no-repeat;
  color: var(--ink);
}
/* Light wash over the top so dark text reads; clouds show through below */
.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(243, 247, 252, .96) 0%, rgba(243, 247, 252, .88) 42%, rgba(243, 247, 252, .3) 82%, rgba(243, 247, 252, .12) 100%);
}
.sky__clouds { display: none; }

/* Feathered hand-off from sky into the page below */
.sky__fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 22%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0) 0%, var(--bg) 100%);
}
.sky__fade--sand { background: linear-gradient(180deg, rgba(233, 241, 250, 0) 0%, var(--sand) 100%); }
.sky__fade--tint { background: linear-gradient(180deg, rgba(243, 247, 252, 0) 0%, var(--bg) 100%); }

/* --------------------------------------------------------------------------
   7. Header and navigation — a floating frosted pill
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 100;
  color: var(--ink);
  pointer-events: none;
}
.site-header > .nav {
  pointer-events: auto;
  width: min(var(--maxw), 100% - 2 * clamp(16px, 4vw, 40px));
  max-width: none;
  height: 64px;
  padding: 0 8px 0 24px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(13, 27, 42, .08);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(13, 27, 42, .04);
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-stuck > .nav {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px -20px rgba(13, 27, 42, .32);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}
.nav__brand:hover { opacity: .7; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 1.9rem);
}

.nav__link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: .4rem;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-current { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: .25rem; }

.nav__account {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-right: .6rem;
  transition: color .2s var(--ease);
}
.nav__account:hover { color: var(--ink); }

.nav__cta { min-height: 46px; padding: 0 1.3rem; font-size: .95rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 120;
  color: var(--ink);
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .25s var(--ease), width .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21.5px; width: 14px; }
.nav__toggle span:nth-child(3) { top: 27px; }

body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Full-screen drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .15rem;
  padding: 7rem calc(var(--gutter) + 8px) 3rem;
  background: var(--bg);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5%);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
body.nav-open .nav__drawer { opacity: 1; visibility: visible; transform: none; }

.nav__drawer a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.035em;
  padding-block: .3rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease);
}
body.nav-open .nav__drawer a { opacity: 1; transform: none; }
body.nav-open .nav__drawer a:nth-child(1) { transition-delay: .08s; }
body.nav-open .nav__drawer a:nth-child(2) { transition-delay: .13s; }
body.nav-open .nav__drawer a:nth-child(3) { transition-delay: .18s; }
body.nav-open .nav__drawer a:nth-child(4) { transition-delay: .23s; }
body.nav-open .nav__drawer a:nth-child(5) { transition-delay: .28s; }
body.nav-open .nav__drawer a:nth-child(6) { transition-delay: .33s; }
.nav__drawer a:hover { color: var(--blue); }

.nav__drawer-foot {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.nav__drawer-foot a { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--blue); }

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav__links, .nav__account { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 420px) {
  .site-header > .nav { padding-left: 18px; }
  .nav__brand { font-size: .9rem; letter-spacing: .2em; }
  .nav__cta { min-height: 42px; padding: 0 1.05rem; font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   8. Home page
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem)) 0 clamp(4.5rem, 8vw, 6.5rem);
  background: var(--sky-03) url("../img/photos/sky.jpg") center bottom / cover no-repeat;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(243, 247, 252, .97) 0%, rgba(243, 247, 252, .9) 42%, rgba(243, 247, 252, .35) 75%, rgba(243, 247, 252, .1) 100%);
}
.home-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0), var(--bg));
}
.home-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.home-hero .lede { max-width: 32rem; margin: 1.6rem 0 2.2rem; }

.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .95rem .5rem .55rem; margin-bottom: 1.6rem;
  border-radius: 999px; background: var(--white); color: var(--ink);
  font-size: .9rem; font-weight: 600; line-height: 1;
  box-shadow: 0 1px 2px rgba(13, 27, 42, .06);
}
.chip b { background: var(--blue); color: #fff; border-radius: 999px; padding: .3rem .6rem; font-size: .75rem; letter-spacing: .04em; }

.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .95rem; }
.trust span { display: inline-flex; align-items: center; gap: .45rem; }
.trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.home-hero__media { position: relative; }
.home-hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: var(--radius-lg); background: var(--sky-02); box-shadow: var(--shadow-lg); }

/* Next openings: real open times, filled by home.js */
.openings {
  position: absolute; right: clamp(-2.5rem, -3vw, -1rem); top: 1.75rem; width: min(330px, 86%);
  background: var(--white); border-radius: 22px; padding: 1.15rem;
  box-shadow: 0 30px 60px -30px rgba(13, 27, 42, .45), 0 2px 6px rgba(13, 27, 42, .06);
}
.openings__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.openings__head h3 { font-size: 1rem; line-height: 1; }
.openings__live { font-size: .75rem; font-weight: 600; line-height: 1; color: var(--blue); display: flex; align-items: center; gap: .35rem; }
.openings__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3d9b5c; box-shadow: 0 0 0 3px rgba(61, 155, 92, .2); }
.openings__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: .8rem; }
.openings__days button { border: 0; border-radius: 12px; padding: .5rem 0; background: var(--sky-02); font-size: .78rem; font-weight: 600; line-height: 1.25; color: var(--ink-soft); cursor: pointer; }
.openings__days button b { display: block; font-size: 1.05rem; color: var(--ink); }
.openings__days button[aria-selected="true"] { background: var(--navy); color: rgba(255, 255, 255, .75); }
.openings__days button[aria-selected="true"] b { color: #fff; }
.opening { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .2rem; border-top: 1px solid var(--line); font-size: .9rem; }
.opening b { color: var(--ink); font-weight: 700; }
.opening small { display: block; color: var(--ink-mute); font-size: .8rem; }
.opening a { flex: none; background: var(--sky-02); color: var(--blue-deep); font-weight: 700; font-size: .8rem; padding: .45rem .8rem; border-radius: 999px; }
.opening a:hover { background: var(--blue); color: #fff; }
.openings__empty { padding: .9rem .2rem .3rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.openings__empty a { color: var(--blue); font-weight: 600; }
.openings__all { display: block; margin-top: .4rem; padding-top: .7rem; border-top: 1px solid var(--line); text-align: center; font-size: .85rem; font-weight: 600; color: var(--blue); }

@media (max-width: 900px) {
  .home-hero::before { background: linear-gradient(180deg, rgba(243, 247, 252, .96) 0%, rgba(243, 247, 252, .9) 45%, rgba(243, 247, 252, .4) 100%); }
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero__img { aspect-ratio: 4 / 3; object-position: center 70%; }
  .openings { position: relative; right: auto; top: auto; width: auto; margin: -3rem 1rem 0; }
}
@media (min-width: 901px) and (max-width: 1320px) { .openings { right: 1rem; } }

/* Stats band */
.stats { background: var(--navy); color: rgba(255, 255, 255, .72); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stats b { display: block; font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--display); letter-spacing: -.04em; color: #fff; }
.stats b .it { font-size: .5em; letter-spacing: 0; color: var(--sky-05); }
.stats > div > span { display: block; margin-top: .6rem; font-size: .98rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.25rem; } }

/* Heading row with tabs on the right */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-row h2 { max-width: 14ch; }

/* Session panes */
.session-pane { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; min-height: 520px; }
.session-pane[hidden] { display: none; }
.session-pane__img { background: var(--sky-02) center / cover no-repeat; min-height: 340px; }
.session-pane__body { padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; }
.session-pane__body h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.02; letter-spacing: -.035em; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.5rem; }
.tags span { background: var(--sky-02); border-radius: 999px; padding: .45rem .8rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.ticks { margin: 1.5rem 0 2rem; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .7rem; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%;
  background: var(--sky-02) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.7 2.7L14.3 7.4' fill='none' stroke='%232a62a4' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px;
}
.session-pane__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.session-pane__foot .from { font-size: .9rem; color: var(--ink-mute); }
.session-pane__foot .from b { display: block; font: 700 1.8rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
@media (max-width: 860px) {
  .session-pane { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .session-pane__img { min-height: 0; height: 210px; }
  .ticks { margin: 1.25rem 0 1.5rem; }
}

.price-foot { margin-top: 2rem; text-align: center; color: var(--ink-mute); font-size: .95rem; }
.price-foot a { color: var(--blue); font-weight: 600; }

/* Verse band */
.verse-band { text-align: center; padding: clamp(6rem, 13vw, 10rem) 0; background: linear-gradient(180deg, var(--bg), var(--sky-02)); }
.verse-band p { font: italic 500 clamp(2.2rem, 5.4vw, 4.6rem)/1.08 var(--script); color: var(--ink); max-width: 20ch; margin: 0 auto; letter-spacing: -.01em; }
.verse-band span { display: block; margin-top: 1.75rem; font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }

/* Closing card: photo behind, words on top */
.closing { position: relative; isolation: isolate; border-radius: var(--radius-lg); overflow: hidden; min-height: 520px; display: flex; align-items: center; background: var(--sky-05) url("../img/photos/group.jpg") center 60% / cover; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 27, 42, .7) 0%, rgba(13, 27, 42, .4) 50%, rgba(13, 27, 42, .05) 100%); }
.closing__inner { padding: clamp(2rem, 5vw, 4.5rem); max-width: 40rem; }
.closing h2 { color: #fff; }
.closing h2 .it { color: #d4e5f8; }
.closing p { color: rgba(255, 255, 255, .94); margin: 1.25rem 0 2rem; font-size: 1.15rem; max-width: 26rem; }
@media (max-width: 760px) {
  .closing { min-height: 460px; align-items: flex-end; background-position: 78% center; }
  .closing::before { background: linear-gradient(180deg, rgba(13, 27, 42, 0) 15%, rgba(13, 27, 42, .78) 75%); }
}

/* --------------------------------------------------------------------------
   9. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: clamp(320px, 46vh, 460px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4rem)) 0 clamp(4rem, 7vw, 5.5rem);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 46rem; margin-inline: auto; }
.page-hero h1 { color: var(--ink); font-size: clamp(2.8rem, 7vw, 5.2rem); }
.page-hero p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
}
.page-hero .eyebrow { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card__body { padding: clamp(1.5rem, 2.4vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.card__body > * + * { margin-top: .85rem; }
.card__body .btn, .card__body .link-quiet { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }

/* Image plate: a rounded photo frame */
.plate {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(168deg, var(--sky-04) 0%, var(--sky-02) 60%, var(--sky-01) 100%);
}
.plate--wide { aspect-ratio: 3 / 2; }
.plate--square { aspect-ratio: 1 / 1; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .split__media .plate { aspect-ratio: 4 / 3; } }

/* Soft cloud texture for plates that have no photograph yet */
.plate--cloud::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(44% 30% at 22% 78%, rgba(255,255,255,.95), rgba(255,255,255,0) 64%),
    radial-gradient(38% 26% at 66% 88%, rgba(255,255,255,.85), rgba(255,255,255,0) 66%),
    radial-gradient(30% 20% at 82% 34%, rgba(255,255,255,.6), rgba(255,255,255,0) 68%);
  filter: blur(4px);
}
.plate__label {
  position: absolute;
  left: 0; right: 0; bottom: 1.35rem;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
}

.card--class .plate { border-radius: 0; aspect-ratio: 4 / 3; }
.card--class .card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
}

/* Value / benefit cards */
.value {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.6rem 1.9rem;
}
.value__num { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--blue); margin-bottom: 2.25rem; }
.section--deep .value { background: var(--navy-2); border-color: rgba(255, 255, 255, .1); }
.section--deep .value .muted, .section--deep .value p { color: rgba(255, 255, 255, .76); }
.section--deep .value__num { color: var(--sky-05); }
@media (max-width: 760px) { .value__num { margin-bottom: 1.4rem; } }

/* --------------------------------------------------------------------------
   11. Split feature blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
}

.split__media { position: relative; }
.split__media .plate { aspect-ratio: 5 / 6; }

/* Small stat plaque that overlaps the media edge */
.plaque {
  position: absolute;
  right: clamp(-1rem, -1vw, 0rem);
  bottom: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.1rem 1.4rem;
  text-align: center;
}
.plaque strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.plaque span {
  display: block;
  margin-top: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-mute);
}
@media (max-width: 620px) { .plaque { right: 1rem; bottom: 1rem; } }

/* --------------------------------------------------------------------------
   12. Tabs (pricing groups, sessions, schedule days)
   -------------------------------------------------------------------------- */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--sky-02);
  border-radius: 999px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px -2px rgba(13, 27, 42, .18);
}
@media (max-width: 520px) {
  .tabs { display: flex; }
  .tab { flex: 1 1 auto; padding: .7rem .8rem; font-size: .9rem; }
}

.tabpanel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card--featured { border-color: var(--blue); }

.price-card__flag {
  position: absolute;
  top: clamp(1.6rem, 3vw, 2.2rem);
  right: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
  padding: .4rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

.price-card__name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}
.price-card__flag + .price-card__name { padding-right: 8rem; }
.price-card__note { font-size: .95rem; color: var(--ink-mute); margin-top: .35rem; }

.price-card__amount {
  display: flex;
  align-items: flex-start;
  gap: .05rem;
  margin: 1.5rem 0 .4rem;
  font-family: var(--display);
  color: var(--ink);
}
.price-card__amount b { font-size: 3.3rem; font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.price-card__amount i {
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: .2rem;
}
.price-card__unit { font-size: .92rem; color: var(--ink-mute); }

.price-card__list {
  margin: 1.5rem 0 1.75rem;
  display: grid;
  gap: .65rem;
  font-size: .97rem;
  color: var(--ink-soft);
  flex: 1;
  align-content: start;
}
.price-card__list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.price-card__list svg {
  flex: none;
  width: 20px; height: 20px;
  padding: 5px 4px;
  margin-top: .05rem;
  border-radius: 50%;
  background: var(--sky-02);
  color: var(--blue);
}
.price-card__list li.is-off { color: var(--ink-mute); }
.price-card__list li.is-off svg { color: var(--sky-05); }

/* --------------------------------------------------------------------------
   14. Schedule
   -------------------------------------------------------------------------- */
.schedule { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }

.slot {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem clamp(1.1rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.slot:last-child { border-bottom: 0; }
.slot:hover { background: var(--sky-01); }

.slot__time {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  white-space: nowrap;
}
.slot__name { font-size: 1rem; font-weight: 600; color: var(--ink); }
.slot__meta { font-size: .85rem; color: var(--ink-mute); margin-top: .1rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--sky-02);
  color: var(--blue-deep);
  border: 1px solid var(--sky-03);
}
.pill--open { background: #eaf6ee; color: #2f6b41; border-color: #cfe6d5; }
.pill--few  { background: #fdf3e8; color: #8a5a17; border-color: #f2ddc2; }
.pill--full { background: #f1f3f6; color: var(--ink-mute); border-color: #e2e6eb; }

.slot__cta { justify-self: end; }

@media (max-width: 780px) {
  .slot {
    grid-template-columns: 1fr auto;
    grid-template-areas: "time status" "name name" "cta cta";
    gap: .55rem 1rem;
  }
  .slot__time   { grid-area: time; }
  .slot__status { grid-area: status; justify-self: end; }
  .slot__body   { grid-area: name; }
  .slot__cta    { grid-area: cta; justify-self: start; margin-top: .5rem; }
}

.schedule-empty { padding: 3.5rem 1.5rem; text-align: center; color: var(--ink-soft); }
.schedule-empty p + p { margin-top: .5rem; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: .45rem; }
.field > label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.field > label .req { color: var(--blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%232a62a4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sky-04); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(42, 98, 164, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #8796a6; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c4746f; box-shadow: 0 0 0 4px rgba(196, 116, 111, .14); }

.field__error {
  font-size: .85rem;
  color: #a6514b;
  min-height: 1.2em;
}
.field:not(.has-error) .field__error { visibility: hidden; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 18px; height: 18px;
  margin-top: .18rem;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-note {
  font-size: .88rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* Success state swapped in after a valid submit */
.form-success {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  animation: panel-in .55s var(--ease) both;
}
.form-success__mark {
  width: 58px; height: 58px;
  margin: 0 auto 1.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sky-02);
  color: var(--blue);
}
.form-success h3 { margin-bottom: .6rem; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 0 clamp(1.15rem, 3vw, 1.6rem); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
}
.faq__q:hover { color: var(--blue-deep); }

.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky-02); }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 50%;
  height: 1.8px;
  margin-top: -.9px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: 1.4rem;
  max-width: 62ch;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 100%;
}
.quote-card__stars { display: flex; gap: .22rem; color: var(--blue); margin-bottom: 1.15rem; }
.quote-card blockquote {
  font-family: var(--script);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  flex: 1;
}
.quote-card figcaption {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   18. Instagram strip
   -------------------------------------------------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sky-05), var(--sky-02));
  display: grid;
  place-items: center;
  color: var(--white);
}
.ig-tile svg { position: relative; z-index: 1; opacity: .85; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.ig-tile:hover svg { transform: scale(1.15); opacity: 1; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(3.5rem, 8vw, 5rem) 2rem;
  font-size: .95rem;
}
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--white); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

.footer__brand {
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--white);
}
.footer__blurb { margin-top: 1.15rem; max-width: 30ch; line-height: 1.6; }

.footer__title {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--sky-05);
  margin-bottom: 1rem;
}
.footer__list { display: grid; gap: .5rem; }

.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.footer__social a:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.footer__base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}
.footer__base .verse { font-family: var(--script); font-style: italic; font-weight: 500; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   20. Motion: scroll reveal and rising card groups
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

/* Card groups ([data-stack], set by site.js on card grids): cards rise from
   below one after another. Wide screens start the group together, staggered;
   phones start each card as it scrolls in. */
[data-stack] > * {
  opacity: 0;
  transform: translateY(70px) scale(.96);
  transition: opacity .6s var(--ease), transform .95s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
}
[data-stack].is-in > *, [data-stack] > .is-in { opacity: 1; transform: none; }
[data-stack] > [hidden] { display: none; }

@media (max-width: 760px) {
  [data-stack] > * { transition-delay: 0s; }
  /* Explaining cards pin under the menu and stack on top of each other */
  [data-stack~="pin"] > * {
    position: sticky;
    top: calc(var(--nav-h) + var(--i, 0) * 14px);
    box-shadow: 0 -18px 40px -26px rgba(13, 27, 42, .35);
  }
  .section--deep [data-stack~="pin"] > * { box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .6); }
}

/* No JS? Show everything. */
.no-js .reveal, .no-js [data-stack] > * { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   21. Detail components
   -------------------------------------------------------------------------- */

/* Label / value rows — hours, contact details, quick facts */
.rows { border-top: 1px solid var(--line); }
.rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
}
.rows li > span:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.rows li > span:last-child  { color: var(--ink-soft); text-align: right; }

/* Note panel — policies, asides */
.note {
  height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.note h3 { margin-bottom: .2rem; }

/* Founder sign-off */
.signature {
  margin-top: 1.75rem;
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--blue);
}

/* Inline link inside body copy and rows */
.link-plain {
  color: var(--blue);
  font-weight: 500;
  border-bottom: 1px solid var(--sky-04);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link-plain:hover { color: var(--blue-deep); border-color: var(--blue-deep); }

/* --------------------------------------------------------------------------
   22. Typographic polish
   -------------------------------------------------------------------------- */
h1, .h1, h2, .h2, h3, .h3, .page-hero p { text-wrap: balance; }
.lede, .muted, .small, p { text-wrap: pretty; }

/* Prices and times line up in columns, so keep the digits monospaced-width */
.price-card__amount, .slot__time, .plaque strong, .stats b { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   23. Additions for sessions, plans and account entry points
   -------------------------------------------------------------------------- */

/* Where a session can be held, on the class cards */
.card__where {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

/* Intro line above a group of price cards */
.panel-note {
  max-width: 58ch;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Availability window rows on the schedule page */
.window {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.3rem clamp(1.1rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.window:last-child { border-bottom: 0; }
.window:hover { background: var(--sky-01); }
.window__time {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.window__body p + p { margin-top: .15rem; }
.window__meta { font-size: .85rem; color: var(--ink-mute); }
.window__cta { justify-self: end; }

@media (max-width: 780px) {
  .window {
    grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
  }
  .window__cta { justify-self: start; margin-top: .4rem; }
}
