/* Threshold Therapy
   Palettes sampled from /assets/hero.png.
   Fonts: OT Miniature Light (headings, display, statement), Athletics Regular (everything else).
   Spacing and type follow a 4px scale. */

@font-face {
  font-family: "OT Miniature";
  src: url("/fonts/ot-miniature-light.woff2") format("woff2"),
       url("/fonts/ot-miniature-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Athletics";
  src: url("/fonts/athletics-regular.woff2") format("woff2"),
       url("/fonts/athletics-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks so Palatino / Times / Arial don't jump on swap */
@font-face {
  font-family: "OT Miniature Fallback";
  src: local("Palatino Linotype"), local("Palatino"), local("Times New Roman");
  ascent-override: 81%;
  descent-override: 19%;
  line-gap-override: 19%;
  size-adjust: 100%;
}
@font-face {
  font-family: "Athletics Fallback";
  src: local("Helvetica Neue"), local("Helvetica"), local("Arial");
  ascent-override: 78.5%;
  descent-override: 21.5%;
  line-gap-override: 24.5%;
  size-adjust: 102%;
}

:root {
  --ink: #2A3570;
  --ink-soft: #465194;
  --link: #2A3570;
  --paper: #F3F0FA;
  --paper-2: #EFEBF8;
  --sky: #B7CCFC;
  --pink: #F3B8DE;
  --gold: #FDC59B;
  --gold-soft: #FDE7BA;
  --footer: #2A3570;
  --hero-fallback: #B7CCFC;
  /* Jason's accent for “This space is for you.” and path-card Explore.
     Contrast on #F3F0FA: 2.60:1; on white cards: 2.93:1. */
  --accent-deep: #888FEB;

  --font-display: "OT Miniature", "OT Miniature Fallback", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Athletics", "Athletics Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --text-eyebrow: 12px;
  --text-eyebrow-lh: 16px;
  --text-body: 20px;
  --text-body-lh: 28px;
  --text-nav: 16px;
  --text-nav-lh: 24px;
  --text-footer: 16px;
  --text-footer-lh: 24px;
  --text-heading: 32px;
  --text-heading-lh: 40px;
  --text-display: 48px;
  --text-display-lh: 56px;
  --text-statement: 32px;
  --text-statement-lh: 40px;
  --text-link: 20px;
  --hero-title: 56px;
  --hero-title-lh: 56px;
  --hero-sub: 24px;
  --hero-sub-lh: 32px;

  --max-width: 1440px;
  --margin: 20px;
  --gutter: 16px;
  --section-gap: 80px;
  --radius: 24px;
  --hero-h: 100svh;
  --curtain-tuck: 24px;
  --nav-gutter: 16px;
  --header-h: 48px;
  --btn-h: 48px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --measure: 44ch;
  --measure-wide: 52ch;
}

@media (min-width: 810px) {
  :root {
    --margin: 40px;
    --gutter: 24px;
    --section-gap: 128px;
    --text-heading: 40px;
    --text-heading-lh: 48px;
    --text-display: 64px;
    --text-display-lh: 72px;
    --text-statement: 56px;
    --text-statement-lh: 64px;
    --hero-title: 80px;
    --hero-title-lh: 80px;
    --hero-sub: 32px;
    --hero-sub-lh: 40px;
  }
}
@media (min-width: 1024px) {
  :root {
    --margin: 56px;
    --nav-gutter: 40px;
    --header-h: 64px;
    --hero-title: 128px;
    --hero-title-lh: 128px;
    --text-display: 80px;
    --text-display-lh: 88px;
  }
}
@media (min-width: 1280px) {
  :root {
    --nav-gutter: 56px;
    --hero-title: 160px;
    --hero-title-lh: 160px;
  }
}
@media (min-width: 1440px) {
  :root {
    --nav-gutter: 64px;
    --hero-title: 176px;
    --hero-title-lh: 176px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis-smooth { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--text-body-lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
button, a { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; font-style: normal; }
em, i { font-style: normal; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}
::selection { background: var(--sky); color: var(--ink); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 2000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-decoration: none;
}
.skip:focus { top: 16px; }

/* ----- Header (full-bleed, modelled on theicebathclubs.com) ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #fff;
  background: transparent;
  padding: 12px var(--nav-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  column-gap: 16px;
  box-sizing: border-box;
  transition: background 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
@media (min-width: 1024px) {
  .site-header {
    padding: 8px var(--nav-gutter);
  }
}
.site-header.is-solid,
.site-header.is-open {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(42, 53, 112, 0.08);
}
.header-bar {
  /* used if present; header itself is the flex row */
  display: contents;
}
.wordmark,
.menu-toggle,
.site-nav a,
.site-nav .sub-toggle,
.header-cta {
  font-family: var(--font-sans);
  font-size: var(--text-nav);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: var(--text-nav-lh);
  font-style: normal;
}
.wordmark {
  text-decoration: none;
  justify-self: start;
  z-index: 2;
  grid-column: 1;
}
.menu-toggle {
  display: none;
  z-index: 2;
  padding: 0;
  color: inherit;
  justify-self: end;
  grid-column: 3;
}

.site-nav ul.nav-list {
  display: flex;
  align-items: baseline;
  gap: 4px 8px;
}
.site-nav a,
.site-nav .sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-decoration: none;
  background: none;
  border-radius: 0;
  color: inherit;
}
.site-nav a[aria-current="page"] { opacity: 1; }

.has-sub { position: relative; }
@media (min-width: 1024px) {
  .site-nav .nav-list > li > a:not(.btn-book),
  .site-nav .sub-toggle {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
  }
  /* ::before = underline; ::after on .sub-toggle stays the chevron */
  .site-nav .nav-list > li > a:not(.btn-book)::before,
  .site-nav .sub-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.25s var(--ease-soft);
    pointer-events: none;
  }
  .site-nav .nav-list > li > a:not(.btn-book):hover,
  .site-nav .nav-list > li > a:not(.btn-book):focus-visible,
  .site-nav .sub-toggle:hover,
  .site-nav .sub-toggle:focus-visible {
    background: none;
    border: 0;
    opacity: 1;
  }
  .site-nav .nav-list > li > a:not(.btn-book):hover::before,
  .site-nav .nav-list > li > a:not(.btn-book):focus-visible::before,
  .site-nav .sub-toggle:hover::before,
  .site-nav .sub-toggle:focus-visible::before {
    transform: scaleX(1);
  }
  .site-header.is-solid .site-nav .nav-list > li > a:not(.btn-book),
  .site-header.is-solid .site-nav .sub-toggle,
  .site-header.is-open .site-nav .nav-list > li > a:not(.btn-book),
  .site-header.is-open .site-nav .sub-toggle {
    opacity: 1;
    color: var(--ink-soft);
  }
  .site-header.is-solid .site-nav .nav-list > li > a:not(.btn-book):hover,
  .site-header.is-solid .site-nav .nav-list > li > a:not(.btn-book):focus-visible,
  .site-header.is-solid .site-nav .sub-toggle:hover,
  .site-header.is-solid .site-nav .sub-toggle:focus-visible,
  .site-header.is-open .site-nav .nav-list > li > a:not(.btn-book):hover,
  .site-header.is-open .site-nav .nav-list > li > a:not(.btn-book):focus-visible,
  .site-header.is-open .site-nav .sub-toggle:hover,
  .site-header.is-open .site-nav .sub-toggle:focus-visible {
    background: none;
    border: 0;
    color: var(--ink);
    opacity: 1;
  }
}
.sub-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-4px);
}
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 280px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease-soft), transform 0.2s var(--ease-soft), visibility 0.2s, background 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.sub-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  white-space: nowrap;
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--text-nav);
  line-height: var(--text-nav-lh);
  font-weight: 400;
  transition: background 0.22s var(--ease-soft), color 0.22s var(--ease-soft);
}
.sub-menu a:hover,
.sub-menu a:focus-visible {
  background: #fff;
  color: var(--ink);
  opacity: 1;
}
.site-header.is-solid .sub-menu,
.site-header.is-open .sub-menu {
  background: rgba(42, 53, 112, 0.08);
  color: var(--ink);
  border-color: rgba(42, 53, 112, 0.2);
}
.site-header.is-solid .sub-menu a,
.site-header.is-open .sub-menu a {
  color: var(--ink);
}
.site-header.is-solid .sub-menu a:hover,
.site-header.is-solid .sub-menu a:focus-visible,
.site-header.is-open .sub-menu a:hover,
.site-header.is-open .sub-menu a:focus-visible {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.btn:hover,
.btn:focus-visible { background: var(--link); }

/* Desktop right-edge CTA — 8px squircle, 48px tall, 16/24 on the nav baseline */
.header-cta {
  display: none;
  z-index: 2;
  justify-self: end;
  align-self: baseline;
  grid-column: 3;
  box-sizing: border-box;
  height: var(--btn-h);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: var(--text-nav);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: var(--text-nav-lh);
  transition: background 0.22s var(--ease-soft), color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft);
}
@supports (corner-shape: squircle) {
  .header-cta,
  .site-nav a.btn-book,
  .sub-menu,
  .sub-menu a { corner-shape: squircle; }
}
@supports (corner-shape: superellipse(2)) {
  .header-cta,
  .site-nav a.btn-book,
  .sub-menu,
  .sub-menu a { corner-shape: superellipse(2); }
}
.header-cta:hover,
.header-cta:focus-visible {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.site-header.is-solid .header-cta,
.site-header.is-open .header-cta {
  background: rgba(42, 53, 112, 0.08);
  color: var(--ink);
  border-color: rgba(42, 53, 112, 0.2);
}
.site-header.is-solid .header-cta:hover,
.site-header.is-solid .header-cta:focus-visible,
.site-header.is-open .header-cta:hover,
.site-header.is-open .header-cta:focus-visible {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

@media (min-width: 1024px) {
  .menu-toggle { display: none !important; }
  .header-cta { display: inline-flex; }
  .nav-book-mobile { display: none; }
  .site-nav {
    position: static;
    grid-column: 2;
    justify-self: center;
    z-index: 1;
    transform: none;
  }
  .site-nav ul.nav-list {
    gap: 48px;
    align-items: baseline;
  }
}

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    padding: calc(var(--header-h) + 8px) var(--nav-gutter) 40px;
    overflow: auto;
    display: none;
    transform: none;
    left: 0;
    top: 0;
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul.nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .site-nav a,
  .site-nav .sub-toggle {
    font-size: 24px;
    line-height: 32px;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: -0.01em;
    padding: 8px 0;
    border-radius: 0;
    background: none !important;
    color: var(--ink);
  }
  .site-nav a.btn-book {
    margin: 24px 0 0;
    box-sizing: border-box;
    height: var(--btn-h);
    font-family: var(--font-sans);
    font-size: var(--text-nav);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: var(--text-nav-lh);
    padding: 12px 16px;
    background: rgba(42, 53, 112, 0.08) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(42, 53, 112, 0.2);
    border-radius: 8px;
    transition: background 0.22s var(--ease-soft), color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft);
  }
  .site-nav a.btn-book:hover,
  .site-nav a.btn-book:focus-visible {
    background: var(--ink) !important;
    color: #fff !important;
    border-color: var(--ink);
  }
  .has-sub { width: 100%; }
  .sub-menu {
    position: static;
    left: auto;
    min-width: 0;
    padding: 0 0 8px 4px;
    background: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    color: var(--ink);
  }
  .sub-menu a,
  .site-header.is-open .sub-menu a {
    color: var(--ink);
  }
  .sub-menu a:hover,
  .sub-menu a:focus-visible,
  .site-header.is-open .sub-menu a:hover,
  .site-header.is-open .sub-menu a:focus-visible {
    background: none;
    color: var(--ink);
  }
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu,
  .has-sub.is-open .sub-menu {
    display: block;
    transform: none;
    left: auto;
  }
  .sub-menu a {
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    padding: 8px 0;
    white-space: normal;
  }
}

/* ----- Hero + curtain ----- */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100svh;
  height: calc(100svh + var(--curtain-tuck));
  overflow: hidden;
  background: var(--hero-fallback);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img,
.hero-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-canvas.is-ready { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(42, 53, 112, 0.16) 0%,
    rgba(42, 53, 112, 0.07) 42%,
    rgba(42, 53, 112, 0.03) 68%,
    transparent 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 12px) var(--nav-gutter) 48px;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}
.hero .kicker,
.hero .hero-kicker,
.hero .hero-title,
.hero .hero-sub,
.hero .lede,
.hero h1 {
  color: #fff;
}
.hero-title,
.hero-title .ch {
  text-shadow: 0 0 40px rgba(42, 53, 112, 0.28), 0 4px 80px rgba(42, 53, 112, 0.22);
}
.hero-sub,
.hero-sub .ch,
.hero-kicker,
.hero-kicker .ch {
  text-shadow: 0 0 24px rgba(42, 53, 112, 0.26), 0 2px 48px rgba(42, 53, 112, 0.2);
}
.hero-kicker {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 16px;
}
@media (min-width: 810px) {
  .hero-kicker {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 24px;
  }
}
.kicker {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: var(--text-eyebrow-lh);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  width: 100%;
}
.hero-title {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: var(--hero-title);
  line-height: var(--hero-title-lh);
  letter-spacing: -0.03em;
  white-space: normal;
}
.nowrap { white-space: nowrap; }
.hero-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: var(--hero-sub);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: var(--hero-sub-lh);
  max-width: none;
}
@media (min-width: 1024px) {
  .hero-sub { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { display: none; }
}

.hero-page {
  height: auto;
  min-height: 0;
  position: relative;
}
.hero-page .hero-inner {
  height: auto;
  min-height: 40svh;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 56px;
}
.hero-page h1 {
  max-width: 16ch;
  font-size: var(--text-display);
  line-height: var(--text-display-lh);
  letter-spacing: -0.03em;
}
.lede {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--text-body-lh);
  letter-spacing: -0.01em;
  max-width: var(--measure-wide);
}

.curtain {
  position: relative;
  z-index: 10;
  margin-top: calc(var(--curtain-tuck) * -1);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -40px 80px -32px rgba(42, 53, 112, 0.22);
  background: var(--paper);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .hero { position: relative; height: auto; min-height: 100svh; }
  .hero-inner { height: auto; min-height: 100svh; }
  .curtain { margin-top: 0; border-radius: 0; box-shadow: none; }
  html.footer-reveal .site-footer { position: relative; left: auto; right: auto; width: auto; }
  html.footer-reveal .page-sheet { margin-bottom: 0; }
  html.footer-reveal .curtain,
  html.footer-reveal .page-main { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; }
}

/* ----- Layout ----- */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--margin);
}
.section { padding-block: var(--section-gap); }
.section-tight { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }

.t-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--text-display-lh);
  letter-spacing: -0.025em;
  font-weight: 300;
  font-style: normal;
}
.t-heading {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  line-height: var(--text-heading-lh);
  letter-spacing: -0.015em;
  font-weight: 300;
  font-style: normal;
}
.t-body-lg {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--text-body-lh);
  letter-spacing: -0.01em;
  font-style: normal;
}
.muted { color: var(--ink-soft); }
.prose { max-width: var(--measure-wide); }

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 810px) {
  .about-intro {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
  }
}
.about-portrait { margin: 0; }
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.about-lede { max-width: 40ch; }
@media (max-width: 809px) {
  .about-portrait { max-width: 480px; }
}

.prose p + p { margin-top: 24px; }
.prose .t-heading { margin-bottom: 16px; }
.flush-top { padding-top: 0; }
.heading-space { margin: 0 0 16px; }
.stack-label { margin: 32px 0 16px; }
.stack-cta { margin-top: 32px; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 810px) {
  .split-space { grid-template-columns: 1.1fr 0.9fr; }
  .split-paths { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split { gap: 80px; }
  .split-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* Homepage section 2 — intro + offset copy */
.for-you {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.for-you-statement {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: var(--text-statement);
  line-height: var(--text-statement-lh);
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.for-you-accent {
  color: var(--accent-deep);
}
.for-you-intro p.for-you-statement {
  margin-bottom: 24px;
}
.for-you-copy {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  font-weight: 400;
  max-width: 38ch;
  color: var(--ink-soft);
}
.for-you-copy p + p { margin-top: 24px; }
.for-you-copy .for-you-cta {
  margin-top: 32px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  max-width: none;
}
.for-you-cta a {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding-bottom: 2px;
}
.for-you-cta a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s var(--ease-soft);
}
.for-you-cta a:hover::after,
.for-you-cta a:focus-visible::after { transform: scaleX(1); }
@media (min-width: 810px) {
  .for-you-copy .for-you-cta {
    font-size: 32px;
    line-height: 40px;
    margin-top: 40px;
  }
}
@media (min-width: 1440px) {
  .for-you-copy .for-you-cta { margin-top: 48px; }
}
@media (min-width: 900px) {
  .for-you {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 0;
  }
  .for-you-intro { grid-column: 1 / span 7; }
  .for-you-copy {
    grid-column: 8 / span 5;
    margin-top: 80px;
  }
}
@media (min-width: 1440px) {
  .for-you-copy { margin-top: 160px; }
}

/* Two path cards */
.paths.section-tight { padding-top: 24px; }
@media (min-width: 810px) {
  .paths.section-tight { padding-top: 64px; }
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 810px) {
  .path-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 24px;
  padding: 32px;
  min-height: 100%;
  box-shadow: 0 8px 40px rgba(42, 53, 112, 0.06);
  outline-offset: 4px;
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
@media (min-width: 810px) {
  .path-card { padding: 40px; }
}
.path-card:hover,
.path-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(42, 53, 112, 0.10);
}
@media (prefers-reduced-motion: reduce) {
  .path-card:hover,
  .path-card:focus-within { transform: none; }
}
.path-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
@media (min-width: 810px) {
  .path-title { font-size: 56px; line-height: 64px; }
}
.path-card .path-line {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  color: var(--ink-soft);
}
.path-card .explore {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.01em;
  margin-top: auto;
  padding-top: 32px;
}
.path h3 { margin-bottom: 16px; }
.path .path-line {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: 28ch;
}
.path p { max-width: 38ch; color: var(--ink-soft); }

.explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 4px 0 8px;
  font-size: var(--text-link);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  position: relative;
}
.path-card .explore { color: var(--accent-deep); }
.explore::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: 0 50%;
  transform: scaleX(1);
  transition: transform 0.25s var(--ease-soft);
}
.explore:hover::after,
.explore:focus-visible::after { transform: scaleX(0.85); }
.explore svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-soft);
}
.explore:hover svg,
.explore:focus-visible svg { transform: translate(4px, -4px); }

/* Fees */
.fees {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: var(--section-gap);
}
@media (min-width: 810px) {
  .fees { padding: 56px; }
}
.fees h2 { margin-bottom: 16px; }
.fees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
  margin: 32px 0 24px;
}
@media (min-width: 700px) {
  .fees-grid { grid-template-columns: repeat(3, 1fr); }
}
.fees dt, .fees-grid dt {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  line-height: var(--text-eyebrow-lh);
}
.fees dd, .fees-grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 40px;
}

/* FAQ */
.faq-intro {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 64px;
}
.faq-intro .kicker { color: var(--ink-soft); margin-bottom: 16px; }
.faq-intro h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: var(--text-statement);
  line-height: var(--text-statement-lh);
  letter-spacing: -0.02em;
}
.faq-sub {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  font-weight: 400;
  color: var(--ink-soft);
}
.faq-list { max-width: 840px; margin-inline: auto; }
.faq-item {
  border-top: 1px solid rgba(42, 53, 112, 0.14);
}
.faq-item:last-child { border-bottom: 1px solid rgba(42, 53, 112, 0.14); }
.faq-item h2 { font-family: var(--font-display); font-weight: 300; font-style: normal; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 32px;
}
@media (min-width: 810px) {
  .faq-item summary { font-size: 32px; line-height: 40px; }
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-soft);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-4px, -4px); }
.faq-item .answer {
  padding: 0 0 28px;
  max-width: var(--measure-wide);
  color: var(--ink-soft);
}

/* Contact */
.email-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 40px;
  padding-bottom: 4px;
  transition: color 0.25s var(--ease-soft);
}
.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s var(--ease-soft);
}
.email-link:hover,
.email-link:focus-visible { color: var(--ink); }
.email-link:hover::after,
.email-link:focus-visible::after { transform: scaleX(1); }
@media (min-width: 810px) {
  .email-link { font-size: 40px; line-height: 48px; }
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--paper);
  padding: 48px 0 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.page-sheet {
  position: relative;
  z-index: 1;
}
html.footer-reveal .site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
}
html.footer-reveal .page-sheet {
  margin-bottom: var(--footer-h, 0px);
}
html.footer-reveal .curtain,
html.footer-reveal .page-main {
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
html.footer-reveal .curtain {
  box-shadow: 0 -40px 80px -32px rgba(42, 53, 112, 0.22), 0 40px 80px -32px rgba(42, 53, 112, 0.22);
}
html.footer-reveal .page-main {
  box-shadow: 0 40px 80px -32px rgba(42, 53, 112, 0.22);
}
.footer-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.footer-sky picture,
.footer-sky img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.footer-sky img {
  opacity: 0.22;
}
.site-footer > .script-mark,
.site-footer > .wrap {
  position: relative;
  z-index: 1;
}
.script-mark {
  color: var(--pink);
  width: 118vw;
  max-width: none;
  margin: 0 0 48px;
  margin-left: calc(50% - 59vw);
  line-height: 0;
}
.script-mark svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  fill: currentColor;
  color: inherit;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 810px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}
.site-footer a { color: var(--paper); text-decoration: none; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; font-size: var(--text-footer); line-height: var(--text-footer-lh); font-weight: 400; }
.footer-nav a {
  position: relative;
  align-self: start;
  padding: 0 0 4px;
  transition: color 0.22s var(--ease-soft);
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s var(--ease-soft);
}
.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--gold); }
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after { transform: scaleX(1); }
.footer-meta { color: rgba(243, 240, 250, 0.86); font-size: var(--text-footer); line-height: var(--text-footer-lh); max-width: 36ch; }
.copyright { margin-top: 48px; color: rgba(243, 240, 250, 0.72); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }

.page-main { position: relative; z-index: 10; background: var(--paper); }

.js-header-sentinel { height: 1px; width: 100%; pointer-events: none; }
.faq-item summary h2 {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  font-family: inherit;
}


/* ----- Intro reveal + scroll-in (JS adds .reveal so no-JS / reduced-motion stay visible) -----
   Letter fade copied exactly from jasonbriscoe.com. */
.reveal .stanza { visibility: hidden; }
.reveal.reveal--split .stanza { visibility: visible; }
.stanza .w,
.letter-reveal .w,
.word-reveal .w { white-space: nowrap; }
.reveal .stanza .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal--in .stanza .ch { opacity: 1; transform: none; }

.reveal .letter-reveal { visibility: hidden; }
.reveal .letter-reveal.is-split { visibility: visible; }
.reveal .letter-reveal .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal .letter-reveal.is-in .ch { opacity: 1; transform: none; }

.reveal .word-reveal { visibility: hidden; }
.reveal .word-reveal.is-split { visibility: visible; }
.reveal .word-reveal .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.2em);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal .word-reveal.is-in .w { opacity: 1; transform: none; }

.reveal .inview {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal .inview.is-in {
  opacity: 1;
  transform: none;
}

/* "Let's talk" as Explore-style link */
.for-you-copy .for-you-cta { font-family: var(--font-sans); font-weight: 400; font-size: 20px; line-height: 28px; letter-spacing: -0.01em; margin-top: 40px; }
@media (min-width: 810px) { .for-you-copy .for-you-cta { font-size: 20px; line-height: 28px; } }
.for-you-cta a.explore { color: var(--accent-deep); margin-top: 0; padding-bottom: 8px; }
.for-you-cta a.explore::after { height: 1.5px; transform: scaleX(1); }
.for-you-cta a.explore:hover::after, .for-you-cta a.explore:focus-visible::after { transform: scaleX(0.85); }

/* Inner-page hero: no ripple canvas (it left a jagged seam at the bottom edge) */
.hero-page .hero-canvas { display: none !important; }
.hero-page .hero-media { background: var(--ink); }


/* Nav fades away once the footer starts revealing underneath */
.site-header { transition: background 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), color 0.2s var(--ease-soft), opacity 0.4s ease, visibility 0s linear 0s; }
.site-header.is-gone { opacity: 0; visibility: hidden; pointer-events: none; transition: background 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), color 0.2s var(--ease-soft), opacity 0.4s ease, visibility 0s linear 0.4s; }

/* Close the hairline seam under inner-page heroes: overlap the sheet by 2px */
.hero-page ~ .page-main { margin-top: -2px; }
.hero-page .hero-media img { transform: scale(1.01); transform-origin: center top; }

/* Inner-page heroes: one shared treatment, 640px deep, full-opacity image */
.hero-page, .hero-page .hero-inner { min-height: 640px; }
.hero-page .hero-inner { padding-bottom: 48px; }
@media (max-width: 767px) { .hero-page, .hero-page .hero-inner { min-height: 480px; } }
@media (min-width: 1024px) { .hero-page h1 { max-width: 20ch; } .hero-page .lede { max-width: none; } }

/* Footer fills the screen so the page scrolls fully away, leaving only the footer */
html.footer-reveal .site-footer {
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}

/* Sheet is only its rounded shape: clip the sticky hero out of the bottom corners */
html.footer-reveal .page-sheet {
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  overflow: clip;
}


/* Service pages: broken into a quote + titled rows */
.svc { max-width: var(--max-width); }
.svc-quote {
  font-family: var(--font-display); font-weight: 300; font-style: normal;
  font-size: var(--text-statement); line-height: var(--text-statement-lh);
  letter-spacing: -0.02em; color: var(--ink);
  max-width: 30ch; margin: 0 auto 96px; text-align: center;
}
.svc-row {
  display: grid; gap: 16px;
  padding: 48px 0; border-top: 1px solid rgba(42, 53, 112, 0.14);
}
.svc-row:last-of-type { border-bottom: 1px solid rgba(42, 53, 112, 0.14); }
.svc-title {
  font-family: var(--font-display); font-weight: 300; font-style: normal;
  font-size: var(--text-heading); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink);
}
.svc-text { max-width: var(--measure-wide); }
.svc-text p + p { margin-top: 24px; }
.svc-fees { max-width: 960px; margin-inline: auto; }
@media (min-width: 1024px) {
  .svc-row { grid-template-columns: 5fr 7fr; gap: 64px; padding: 64px 0; }
  .svc-title { position: sticky; top: 120px; align-self: start; }
}


/* FAQ accordion: smooth height animation */
.faq-item .answer-wrap { overflow: hidden; }
.faq-item .answer { transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-item:not([open]) .answer, .faq-item.is-closing .answer { opacity: 0; transform: translateY(-8px); }

/* Soft page cross-fade (like theicebathclubs.com): old and new pages blend, no blank gap */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: ease-out;
}
.site-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* In-page Book a Session: same container, lavender hover like "This space is for you." */
.page-main .btn { transition: background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.page-main .btn:hover, .page-main .btn:focus-visible { background: #888FEB; color: #fff; }

/* Fees card: full-width copy, two actions */
.fees .prose { max-width: none; }
.fees .prose + .prose { margin-top: 16px; }
.fees-note { font-family: "Athletics", sans-serif; font-size: 16px; line-height: 24px; opacity: .7; white-space: nowrap; }
.fees-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.btn-outline { background: transparent; color: var(--ink, #2a3170); box-shadow: inset 0 0 0 1px currentColor; }
.page-main .btn.btn-outline:hover { background: #888FEB; color: #fff; box-shadow: inset 0 0 0 1px #888FEB; }

/* Orphan control, native where supported (JS glue covers the rest) */
p, li, dd, .lede { text-wrap: pretty; }
.fees-grid { margin: 40px 0; }
@media (min-width: 810px) { .fees-grid { margin: 56px 0; } }

.fees--contact { margin-top: 0; }
.fees--contact .fees-actions { margin-top: 40px; }

/* Contact: open text block, no card */
.contact-block { max-width: 880px; margin-inline: auto; text-align: center; }
.contact-lead { font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 40px; color: var(--ink); text-wrap: balance; }
@media (min-width: 810px) { .contact-lead { font-size: 44px; line-height: 52px; } }
.contact-note { margin: 32px auto 0; max-width: 600px; color: var(--ink-soft); }
.contact-actions { justify-content: center; margin-top: 48px; }

/* About: copy top-aligned with the statement */
@media (min-width: 900px) { .about-split .for-you-copy { margin-top: 12px; } }

/* About intro: first paragraph as a headline beside the photo */
.about-lede { max-width: 44ch; }
.about-lede .about-headline {
  font-family: var(--font-display); font-weight: 300; font-style: normal;
  font-size: 28px; line-height: 36px; letter-spacing: -0.015em; color: var(--ink);
  max-width: 24ch; margin-bottom: 32px;
}
@media (min-width: 1024px) { .about-lede .about-headline { font-size: 36px; line-height: 44px; margin-bottom: 40px; } }

/* Buttons: one smooth hover, no snapping outline or text-rendering switch */
.page-main .btn {
  border: 1px solid var(--ink);
  box-shadow: none;
  padding: 11px 23px;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  transition: background-color .3s cubic-bezier(.22,1,.36,1), border-color .3s cubic-bezier(.22,1,.36,1), color .3s cubic-bezier(.22,1,.36,1);
}
.page-main .btn.btn-outline { background-color: rgba(136,143,235,0); box-shadow: none; }
.page-main .btn:hover, .page-main .btn:focus-visible,
.page-main .btn.btn-outline:hover, .page-main .btn.btn-outline:focus-visible { background-color: #888FEB; border-color: #888FEB; color: #fff; box-shadow: none; }

/* Email chooser lightbox */
.mail-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; transition: visibility 0s linear .45s; }
.mail-modal.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.mail-modal__backdrop { position: absolute; inset: 0; background: rgba(42, 53, 112, 0.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s cubic-bezier(.22,1,.36,1); }
.mail-modal.is-open .mail-modal__backdrop { opacity: 1; }
.mail-modal__panel { position: relative; width: 100%; max-width: 440px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 40px 32px 32px; box-shadow: 0 24px 64px rgba(42, 53, 112, 0.18), 0 4px 16px rgba(42, 53, 112, 0.08); opacity: 0; transform: translateY(24px); transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
.mail-modal.is-open .mail-modal__panel { opacity: 1; transform: none; }
.mail-modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-soft); border-radius: 8px; cursor: pointer; transition: background-color .25s, color .25s; }
.mail-modal__close svg { width: 20px; height: 20px; }
.mail-modal__close:hover { background: rgba(136, 143, 235, .14); color: var(--ink); }
.mail-modal__title { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; margin: 0 0 8px; }
.mail-modal__subject { font-size: 16px; line-height: 24px; color: #888FEB; margin: 0 0 24px; }
.mail-modal__options { display: grid; gap: 8px; }
.mail-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 20px; border: 1px solid rgba(42, 53, 112, .18); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 18px; line-height: 24px; text-decoration: none; cursor: pointer; text-align: left; transition: background-color .25s cubic-bezier(.22,1,.36,1), border-color .25s cubic-bezier(.22,1,.36,1), color .25s cubic-bezier(.22,1,.36,1); }
.mail-opt::after { content: "→"; opacity: .5; transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .25s; }
.mail-opt:hover, .mail-opt:focus-visible { background: #888FEB; border-color: #888FEB; color: #fff; outline: none; }
.mail-opt:hover::after, .mail-opt:focus-visible::after { opacity: 1; transform: translateX(3px); }
.mail-opt.is-copied { background: var(--ink); border-color: var(--ink); color: #fff; }
.mail-opt.is-copied::after { content: "✓"; opacity: 1; }
html.mail-modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mail-modal__panel, .mail-modal__backdrop { transition: none; } }
.mail-modal__title { margin: 0 0 28px; padding-right: 28px; }
.about-accent { color: #888FEB; }

/* Keep the footer reveal working on shorter laptop screens (five footer links) */
@media (min-width: 810px) and (max-height: 960px) {
  .site-footer { padding: 32px 0 32px; }
  .script-mark { margin-bottom: 24px; }
  .footer-nav { gap: 4px; }
}
@media (min-width: 810px) and (max-height: 800px) {
  .script-mark { width: 108vw; margin-left: calc(50% - 54vw); }
}

/* About photo: slightly tighter radius; JS adds iOS-style smoothed corners */
.about-portrait img { border-radius: 20px; }
.about-portrait.is-squircle img { border-radius: 0; }

/* Nav dropdown: frosted glass so links stay legible over large type */
@media (min-width: 1024px) {
  .sub-menu {
    background: rgba(42, 53, 112, 0.55);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    backdrop-filter: blur(28px) saturate(1.4);
    box-shadow: 0 16px 40px rgba(42, 53, 112, 0.16);
  }
  .site-header.is-solid .sub-menu,
  .site-header.is-open .sub-menu {
    background: rgba(243, 240, 250, 0.95);
    border-color: rgba(42, 53, 112, 0.12);
  }
}

/* Mobile menu: dark purple frosted overlay, larger links */
@media (max-width: 1023px) {
  .site-header.is-open { background: transparent; box-shadow: none; color: #fff; }
  .site-header.is-open .wordmark,
  .site-header.is-open .menu-toggle { color: #fff; position: relative; z-index: 2; }
  .site-nav {
    background: rgba(42, 53, 112, 0.88);
    -webkit-backdrop-filter: blur(32px) saturate(1.3);
    backdrop-filter: blur(32px) saturate(1.3);
    color: #fff;
    padding-top: calc(var(--header-h) + 24px);
  }
  .site-nav ul.nav-list { gap: 8px; }
  .site-nav a,
  .site-nav .sub-toggle,
  .site-header.is-open .site-nav .nav-list > li > a:not(.btn-book),
  .site-header.is-open .site-nav .sub-toggle,
  .site-header.is-open .site-nav .nav-list > li > a:not(.btn-book):hover,
  .site-header.is-open .site-nav .sub-toggle:hover {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    color: #fff;
    opacity: 1;
  }
  .site-nav .sub-toggle svg { width: 20px; height: 20px; }
  .sub-menu,
  .site-header.is-open .sub-menu,
  .site-header.is-solid .sub-menu {
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 4px 0 12px;
  }
  .sub-menu a,
  .site-header.is-open .sub-menu a,
  .site-header.is-open .sub-menu a:hover,
  .site-header.is-open .sub-menu a:focus-visible {
    font-size: 24px;
    line-height: 32px;
    color: #fff;
    background: none;
  }
  .site-nav a.btn-book {
    margin-top: 32px;
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
  }
  .site-nav a.btn-book:hover,
  .site-nav a.btn-book:focus-visible {
    background: #888FEB !important;
    border-color: #888FEB;
    color: #fff !important;
  }
}
/* Blur lives on a body-level scrim so nothing in the header can block backdrop-filter */
.nav-scrim { display: none; }
@media (max-width: 1023px) {
  .site-nav { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: rgba(42, 53, 112, 0.64);
    -webkit-backdrop-filter: blur(32px) saturate(1.3);
    backdrop-filter: blur(32px) saturate(1.3);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s cubic-bezier(.22,1,.36,1), visibility 0s linear .35s;
  }
  .nav-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .35s cubic-bezier(.22,1,.36,1), visibility 0s; }
}
/* Mobile menu: solid white Book a Session */
@media (max-width: 1023px) {
  .site-nav a.btn-book {
    height: auto;
    font-size: 20px;
    line-height: 28px;
    padding: 14px 24px;
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid #fff;
  }
  .site-nav a.btn-book:hover,
  .site-nav a.btn-book:focus-visible {
    background: #888FEB !important;
    border-color: #888FEB;
    color: #fff !important;
  }
}
/* Mobile: the submenu follows the toggle only (not hover/focus), so a second tap collapses it */
@media (max-width: 1023px) {
  .has-sub:not(.is-open) .sub-menu,
  .has-sub:not(.is-open):hover .sub-menu,
  .has-sub:not(.is-open):focus-within .sub-menu { display: none; }
  .site-nav .sub-toggle:focus:not(:focus-visible) { outline: none; }
  .site-nav .sub-toggle svg { transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .has-sub.is-open > .sub-toggle svg { transform: rotate(180deg); }
}
/* Footer fills the large viewport so no strip of page shows above it when mobile browser bars collapse */
html.footer-reveal .site-footer { height: 100vh; height: 100lvh; }
/* No grey tap flash on mobile */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }
/* Mobile body copy: 18/24 */
@media (max-width: 809px) {
  html body .for-you-copy p,
  html body .path-card .path-line,
  html body .about-lede p:not(.about-headline),
  html body .svc-text p, html body .svc-text li,
  html body .fees .t-body-lg,
  html body .answer p, html body .answer li,
  html body .contact-block .contact-note { font-size: 18px; line-height: 24px; }
}
@media (max-width: 809px) { html body .for-you-copy p.for-you-cta { font-size: 18px; line-height: 24px; } }
.hero-page { overflow: hidden; }
/* Mobile/tablet inner heroes: centre title + lede in the full image, not just below the nav */
@media (max-width: 1023px) {
  .hero-page .hero-inner { padding-top: calc(var(--header-h) + 16px); padding-bottom: calc(var(--header-h) + 16px); }
}
/* Mobile: every Athletics body-sized element (buttons, links, ledes) at 18/24 */
@media (max-width: 809px) {
  html body .btn,
  html body .for-you-cta a.explore,
  html body .path-card .explore,
  html body .hero-inner .lede { font-size: 18px; line-height: 24px; }
}
/* Mobile submenu: soft height reveal with staggered fade-up links */
@media (max-width: 1023px) {
  .site-nav .has-sub .sub-menu,
  .site-nav .has-sub:not(.is-open) .sub-menu,
  .site-nav .has-sub:not(.is-open):hover .sub-menu,
  .site-nav .has-sub:not(.is-open):focus-within .sub-menu,
  .site-header.is-open .site-nav .has-sub .sub-menu {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    transition: height .5s cubic-bezier(.22,1,.36,1);
  }
  .site-nav .has-sub.is-open .sub-menu,
  .site-header.is-open .site-nav .has-sub.is-open .sub-menu { height: auto; }
  .site-nav .sub-menu li:first-child { margin-top: 4px; }
  .site-nav .sub-menu li:last-child { margin-bottom: 12px; }
  .site-nav .sub-menu li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1);
  }
  .site-nav .has-sub.is-open .sub-menu li {
    opacity: 1;
    transform: none;
    transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1);
  }
  .site-nav .has-sub.is-open .sub-menu li:nth-child(1) { transition-delay: .08s; }
  .site-nav .has-sub.is-open .sub-menu li:nth-child(2) { transition-delay: .16s; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .site-nav .has-sub .sub-menu, .site-nav .sub-menu li { transition: none !important; }
}
/* Mobile: one consistent section rhythm, 48px each side (96px between sections) */
@media (max-width: 809px) {
  html body .section { padding-top: 48px; padding-bottom: 48px; }
  html body .section-tight { padding-bottom: 48px; }
  html body .svc-quote { margin-bottom: 48px; }
  html body .fees:not(.fees--contact) { margin-top: 48px; }
}
/* Mobile: tighter stacked headlines */
@media (max-width: 809px) {
  html body .for-you-intro .for-you-statement:not(:last-child) { margin-bottom: 8px; }
  html body .for-you { row-gap: 32px; }
}
/* Mobile: more breathing room under the last section before the footer */
@media (max-width: 809px) {
  html body .page-main > .section:last-child, html body .page-main > .section-tight:last-child,
  html body .curtain > .section:last-child, html body .curtain > .section-tight:last-child,
  html body .page-main > :last-child > .section:last-child { padding-bottom: 80px; }
}
@media (max-width: 809px) {
  html body main .section:last-child, html body main .section-tight:last-child { padding-bottom: 80px; }
}
/* Mobile: service rows 32px either side of the divider */
@media (max-width: 809px) {
  html body .svc-row { padding-top: 40px; padding-bottom: 40px; }
}
/* Fees card: reduced-fee note matches the (Singapore dollars) note at 16/24 */
html body .fees p.prose + p.prose { font-size: 16px; line-height: 24px; }
/* Mobile: reduced-fee note and (Singapore dollars) at 14/20 */
@media (max-width: 809px) {
  html body .fees p.prose + p.prose, html body .fees-note { font-size: 16px; line-height: 22px; }
}
/* Mobile nav: gap above Book a Session matches the visual gap between links */
@media (max-width: 1023px) { html body .site-nav a.btn-book { margin-top: 18px; } }
/* Inner-page heroes: image at 92% over the footer's dark purple for a touch more text contrast */
.hero-page .hero-media { background: var(--footer); }
.hero-page .hero-media img { opacity: .92; }

/* ---------- Currency label + dropdown (fixed prices; SGD default, no-JS = SGD, no chevron) ---------- */
.cur-val > [data-cur] { display: none; }
html:not([data-currency]) .cur-val > [data-cur="SGD"],
html[data-currency="SGD"] .cur-val > [data-cur="SGD"],
html[data-currency="GBP"] .cur-val > [data-cur="GBP"],
html[data-currency="THB"] .cur-val > [data-cur="THB"] { display: inline; }
html.cur-anim .cur-val > [data-cur] { animation: curIn .5s var(--ease-soft) both; }
@keyframes curIn { from { opacity: 0; filter: blur(2px); transform: translateY(3px); } to { opacity: 1; filter: none; transform: none; } }
.cur-price > [data-cur] { display: none; }
html:not([data-currency]) .cur-price > [data-cur="SGD"],
html[data-currency="SGD"] .cur-price > [data-cur="SGD"],
html[data-currency="GBP"] .cur-price > [data-cur="GBP"],
html[data-currency="THB"] .cur-price > [data-cur="THB"] { display: inline-block; }

.cur-picker { position: relative; display: inline-block; white-space: nowrap; }
.fees .fees-note .cur-picker, .fees-grid .fees-note .cur-picker { margin-left: 2px; }
.cur-label {
  appearance: none; -webkit-appearance: none;
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(136, 143, 235, .7);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  -webkit-tap-highlight-color: transparent;
  transition: color .22s var(--ease-soft), text-decoration-color .22s var(--ease-soft);
}
.faq-item .answer .cur-label { letter-spacing: inherit; }
.cur-label:hover { color: #888FEB; text-decoration-color: #888FEB; }
.cur-label:focus { outline: none; }
.cur-label:focus-visible { outline: 2px solid #888FEB; outline-offset: 3px; border-radius: 4px; }
.cur-chev { width: 10px; height: 10px; flex: none; transition: transform .25s var(--ease-soft); }
.cur-label[aria-expanded="true"] .cur-chev { transform: rotate(180deg); }
html:not(.js-currency) .cur-label { pointer-events: none; text-decoration: none; cursor: default; }
html:not(.js-currency) .cur-chev { display: none; }

.cur-menu {
  position: absolute; left: -6px; top: calc(100% + 6px); z-index: 20;
  display: block; min-width: 208px; padding: 6px;
  border-radius: 8px;
  background: rgba(239, 235, 248, .72);
  border: 1px solid rgba(136, 143, 235, .38);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px -12px rgba(42, 53, 112, .22);
  font-family: var(--font-sans); font-style: normal; letter-spacing: 0; text-align: left; white-space: nowrap;
  opacity: 0; visibility: hidden;
  transform: translate3d(var(--cur-dx, 0px), 6px, 0);
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft), visibility 0s linear .2s;
  -webkit-tap-highlight-color: transparent;
}
.cur-picker.is-open .cur-menu {
  opacity: 1; visibility: visible; transform: translate3d(var(--cur-dx, 0px), 0, 0);
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft), visibility 0s;
}
.cur-menu:focus { outline: none; }
.cur-opt {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 15px; line-height: 20px; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: background .18s var(--ease-soft), color .18s var(--ease-soft);
}
.cur-opt + .cur-opt { margin-top: 2px; }
.cur-opt-name { color: var(--ink-soft); opacity: .7; transition: color .18s var(--ease-soft), opacity .18s var(--ease-soft); }
.cur-opt:hover, .cur-opt.is-active { background: rgba(136, 143, 235, .14); }
.cur-opt[aria-selected="true"] { background: #888FEB; color: #fff; }
.cur-opt[aria-selected="true"] .cur-opt-name { color: #fff; opacity: .85; }
.menu-kbd .cur-opt.is-active:not([aria-selected="true"]) { box-shadow: inset 0 0 0 1px rgba(136, 143, 235, .6); }
@supports (corner-shape: squircle) { .cur-menu, .cur-opt { corner-shape: squircle; } }
@supports (corner-shape: superellipse(2)) { .cur-menu, .cur-opt { corner-shape: superellipse(2); } }
.faq-item.has-cur-open .answer-wrap { overflow: visible; }
.faq-item.has-cur-open { position: relative; z-index: 5; }
@media (prefers-reduced-motion: reduce) {
  .cur-menu, .cur-chev { transition: none !important; }
  html.cur-anim .cur-val > [data-cur] { animation: none; }
}
.fees-grid { position: relative; z-index: 3; }
.fee-cell { position: relative; z-index: 2; }
/* opacity on .fees-note would fade the menu and kill its backdrop blur: move it to the label */
.fees-note:has(.cur-picker) { opacity: 1; }
.fees-note .cur-label { opacity: 1; transition: color .22s var(--ease-soft), text-decoration-color .22s var(--ease-soft), opacity .22s var(--ease-soft); }
.fees-note .cur-label:hover { opacity: 1; }
/* Contact: same details row as the service fees cards, centred */
.contact-block .fees-grid { text-align: center; }
.contact-block .fees-grid + .contact-actions { margin-top: 0; }
/* Hide the fixed footer near the top so iOS overscroll never shows it */
html.footer-reveal.footer-hidden .site-footer { visibility: hidden; }
/* Low-key in-text links (FAQ answers) */
.answer a.text-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(136, 143, 235, .7); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .22s var(--ease-soft), text-decoration-color .22s var(--ease-soft); -webkit-tap-highlight-color: transparent; }
.answer a.text-link:hover, .answer a.text-link:focus-visible { color: #888FEB; text-decoration-color: #888FEB; }
.answer a.text-link:focus-visible { outline: 2px solid #888FEB; outline-offset: 2px; border-radius: 2px; }
/* 404: one calm screen, no hero, no footer */
html:has(body.nf-page), body.nf-page { height: 100%; overflow: hidden; background: var(--paper); }
.nf { box-sizing: border-box; height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: 28px 24px; text-align: center; }
.nf-mark { align-self: center; font-family: var(--font-sans); font-size: 16px; line-height: 24px; color: var(--ink); text-decoration: none; transition: color .22s var(--ease-soft); -webkit-tap-highlight-color: transparent; }
.nf-mark:hover, .nf-mark:focus-visible { color: #888FEB; }
.nf-body { margin: auto; max-width: 720px; padding-bottom: 52px; }
.nf-title { margin: 0; font-family: var(--font-display); font-weight: 300; font-style: normal; font-size: 44px; line-height: 48px; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.nf-line { margin: 20px auto 0; max-width: 520px; font-family: var(--font-sans); font-size: 18px; line-height: 26px; color: var(--ink-soft); text-wrap: pretty; }
.nf-links { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; font-family: var(--font-sans); font-size: 18px; line-height: 26px; }
.nf-links a, .nf-mark { -webkit-tap-highlight-color: transparent; }
.nf-links a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(136, 143, 235, .7); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .22s var(--ease-soft), text-decoration-color .22s var(--ease-soft); }
.nf-links a:hover, .nf-links a:focus-visible { color: #888FEB; text-decoration-color: #888FEB; }
@media (min-width: 810px) { .nf { padding: 36px 40px; } .nf-title { font-size: 72px; line-height: 76px; } .nf-line { font-size: 20px; line-height: 28px; } }
@media (max-width: 809px) { .nf-links { flex-direction: column; align-items: center; gap: 14px; } }
/* Landing pages: FAQ block under the service rows */
.lp-faq { padding-top: 0; }
.lp-faq-title { font-family: var(--font-display); font-weight: 300; font-style: normal; font-size: var(--text-heading); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); text-align: center; max-width: 840px; margin: 0 auto 32px; text-wrap: balance; }
@media (min-width: 810px) { .lp-faq-title { margin-bottom: 48px; } }
