/* Lymph by Thalia — site styles
   One stylesheet. No inline styles anywhere (CSP style-src 'self').
   Tokens mirror CLAUDE_CODE_BUILD_SPEC.json → brand.palette. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Italiana";
  src: url("/assets/fonts/italiana-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --evergreen: #2c4234;
  --fern: #486048;
  --sage: #a3b79e;
  --mist: #e7eee4;
  --oat: #eae2d3;
  --linen: #faf8f3;
  --white: #fff;
  --buttercup: #e8d18a;
  --ink: #1f2b23;
  --ink-muted: #4f5d53;

  --font-display: "Italiana", "Cormorant Garamond", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(44px, 7vw, 84px);
  --fs-h2: clamp(34px, 4.5vw, 52px);
  --fs-body: 17px;
  --fs-small: 14px;

  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1200px;
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 100px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sbw: 0px; /* scrollbar width, measured by site.js when scrolling is locked */
  color-scheme: light;
}
@media (min-width: 1024px) {
  :root { --fs-body: 18px; }
}

/* Same-origin page navigations crossfade (MPA view transitions; ignored by older browsers). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.28s; }
  .site-header { view-transition-name: site-header; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 110px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; padding-right: var(--sbw); } /* no sideways jump when the scrollbar hides */

img,
picture,
video,
svg { display: block; max-width: 100%; }
img,
video { height: auto; }

h1,
h2,
h3,
h4 { margin: 0; font-weight: 500; line-height: 1.15; color: var(--evergreen); }
p,
ul,
ol,
dl,
figure,
blockquote { margin: 0; }
ul[class],
ol[class] { padding: 0; list-style: none; }
strong { font-weight: 500; }

a { color: var(--fern); text-decoration: none; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover,
a:focus-visible { text-decoration: underline; }
.prose a,
.text-link { text-decoration: underline; text-decoration-color: rgb(72 96 72 / 0.4); }
.prose a:hover,
.text-link:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--fern); outline-offset: 3px; }
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--white); }

::selection { background: var(--mist); color: var(--evergreen); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--evergreen);
  color: var(--white);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skip-link:focus { top: 12px; outline-color: var(--white); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.container--text { max-width: 720px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1em; }

.bg-white { background: var(--white); }
.bg-linen { background: var(--linen); }
.bg-oat { background: var(--oat); }
.bg-mist { background: var(--mist); }
.bg-evergreen { background: var(--evergreen); color: var(--white); }
.bg-evergreen h2,
.bg-evergreen h3 { color: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head > * + * { margin-top: 14px; }

/* ---------- Type ---------- */
.kicker {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fern);
}
.on-dark .kicker,
.bg-evergreen .kicker { color: var(--sage); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
  font-size: var(--fs-hero);
}
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--evergreen);
}
.h2 {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--evergreen);
}
.h2--caps { letter-spacing: 0.06em; }
.h2-sans {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.h3-caps {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}
.lede { font-size: clamp(19px, 1.6vw, 22px); font-weight: 300; line-height: 1.6; }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-muted); }
.quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.35;
  color: var(--evergreen);
}
.signoff {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  color: var(--fern);
}
.ornament { width: 56px; height: 56px; margin: 0 auto 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--evergreen);
  border-radius: 0;
  background: var(--evergreen);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover,
.btn:focus-visible { text-decoration: none; background: var(--fern); border-color: var(--fern); }
.btn--outline { background: transparent; color: var(--evergreen); }
.btn--outline:hover,
.btn--outline:focus-visible { background: var(--evergreen); color: var(--white); border-color: var(--evergreen); }
.btn--light { background: var(--white); color: var(--evergreen); border-color: var(--white); }
.btn--light:hover,
.btn--light:focus-visible { background: var(--mist); border-color: var(--mist); color: var(--evergreen); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover,
.btn--outline-light:focus-visible { background: var(--white); color: var(--evergreen); border-color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row,
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--mist); }
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding-block: 10px;
}
.site-header__book {
  justify-self: start;
  display: none;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--evergreen);
}
@media (min-width: 768px) {
  .site-header__book { display: inline-flex; }
}
.site-header__logo { grid-column: 2; display: block; }
.site-header__logo img { width: 170px; transition: width 0.3s var(--ease); }
@media (min-width: 768px) {
  .site-header__logo img { width: 220px; }
  .site-header.is-scrolled .site-header__logo img { width: 180px; }
}

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  color: var(--evergreen);
}
.menu-toggle__bar { display: block; width: 26px; height: 1.5px; background: currentColor; }
.menu-toggle:hover .menu-toggle__bar:nth-child(2) { width: 18px; margin-left: 8px; }
.menu-toggle__bar { transition: width 0.25s var(--ease), margin 0.25s var(--ease); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  overflow-y: auto;
  padding-right: var(--sbw); /* keeps the centred logo still when the page scrollbar hides */
  background: var(--evergreen);
  color: var(--white);
}
html:not(.js) .menu:target, /* no-JS fallback: the toggle is a plain #menu link */
.menu.is-open { display: block; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding-bottom: 48px; }
.menu__top {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding-block: 10px;
}
.menu__logo { grid-column: 2; }
.menu__logo img { width: 170px; }
@media (min-width: 768px) {
  .menu__logo img { width: 220px; }
}
.menu__close {
  grid-column: 3;
  justify-self: end;
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  color: var(--white);
}
.menu__close::before,
.menu__close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 23px;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.menu__close::after { transform: rotate(-45deg); }
.menu__nav { margin-top: clamp(24px, 6vh, 64px); text-align: center; }
.menu__list li + li { margin-top: clamp(4px, 1.2vh, 12px); }
.menu__link {
  display: inline-block;
  padding: 4px 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 40px);
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.menu__link:hover,
.menu__link:focus-visible { color: var(--white); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 0.18em; }
.menu__link[aria-current="page"] { color: var(--mist); text-decoration: underline; text-decoration-color: var(--buttercup); text-underline-offset: 0.18em; }
.menu__cta { margin-top: 32px; }
.menu__meta { margin-top: 32px; display: grid; gap: 6px; text-align: center; font-size: 15px; }
.menu__meta a { color: var(--white); display: inline-block; padding: 8px 4px; }
.menu__tagline { margin-top: 24px; color: var(--mist); font-size: 22px; }

/* ---------- Pictures ---------- */
.frame { position: relative; overflow: hidden; background: var(--mist); }
.frame > picture,
.frame > img,
.tile__media > picture,
.tile__media > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame img,
.tile__media picture img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ---------- Hero slideshow ---------- */
.hero {
  position: relative;
  /* Sized by its content with a viewport-based floor, so on a small phone the buttons are never
     clipped or covered by the slide controls (svh ignores the collapsing browser bar). */
  min-height: max(520px, 78vh);
  min-height: max(520px, 78svh);
  overflow: hidden;
  background: var(--evergreen);
  color: var(--white);
}
@media (min-width: 768px) {
  .hero { min-height: max(560px, min(88vh, 760px)); min-height: max(560px, min(88svh, 760px)); }
}
.hero__slides,
.hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide:first-child { opacity: 1; } /* no-JS: first slide only */
.hero.is-ready .hero__slide { opacity: 0; }
.hero.is-ready .hero__slide.is-active { opacity: 1; }
.hero__slide picture,
.hero__slide img { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; object-position: center 35%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(44 66 52 / 0.5);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 48px 104px; /* 104px keeps the 44px controls row (18px from the bottom) clear of the buttons */
}
.hero__content h1 { color: var(--white); }
.hero__tagline { margin-top: 18px; font-size: clamp(24px, 2.8vw, 32px); color: var(--mist); }
.hero__lede { margin-top: 22px; max-width: 620px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 400; }
.hero__body { margin-top: 10px; max-width: 600px; }
.hero__content .btn-row { margin-top: 32px; justify-content: center; }
.hero__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.hero__controls[hidden] { display: none; }
.hero__arrow,
.hero__dot,
.hero__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
}
.hero__arrow svg,
.hero__pause svg { width: 18px; height: 18px; }
.hero__dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid var(--white);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease);
}
.hero__dot[aria-current="true"]::before { background: var(--white); }
.hero__pause .icon-play { display: none; }
.hero__pause[aria-pressed="true"] .icon-play { display: block; }
.hero__pause[aria-pressed="true"] .icon-pause { display: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.hero :focus-visible,
.bg-evergreen :focus-visible,
.site-footer :focus-visible,
.menu :focus-visible,
.lightbox :focus-visible { outline-color: var(--white); }

/* ---------- Intro ---------- */
.intro .quote { max-width: 900px; margin-inline: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { display: flex; flex-direction: column; background: var(--white); }
.card .frame img { transition: transform 0.7s var(--ease); }
@media (hover: hover) {
  .card:hover .frame img,
  .card:focus-within .frame img { transform: scale(1.03); }
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 22px 26px; }
.card__body > * + * { margin-top: 10px; }
.card__desc { font-size: 16px; flex: 1; }
.card__price { font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--evergreen); }
.card__link { align-self: flex-start; font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; padding-block: 10px; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; }
}
.split__text > * + * { margin-top: 18px; }
.split__text .btn-row { margin-top: 30px; }

/* ---------- Video ---------- */
.video { margin-inline: auto; max-width: 420px; }
.video--sm { max-width: 240px; margin-inline: 0; }
.video__frame { position: relative; background: var(--evergreen); }
.video__frame video {
  width: 100%;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--evergreen);
}
.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: rgb(44 66 52 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.85);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.video__play:hover { background: var(--evergreen); }
.video__play svg { width: 22px; height: 22px; margin-left: 3px; }
.video__play[hidden] { display: none; }
.video--sm .video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.video figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-muted); text-align: center; }
.video--sm figcaption { text-align: left; }

/* ---------- Courses preview (home) ---------- */
.courses-preview { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .courses-preview { grid-template-columns: 300px 1fr; }
}
.courses-preview__badge { width: min(300px, 70vw); margin-inline: auto; }
.courses-preview__text > * + * { margin-top: 18px; }
.price-line {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--buttercup);
}
.courses-preview__text .btn-row { margin-top: 30px; }

/* ---------- Results ---------- */
.results { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .results { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

/* ---------- How it works ---------- */
.columns-3 { display: grid; gap: 40px; }
@media (min-width: 820px) {
  .columns-3 { grid-template-columns: repeat(3, 1fr); }
}
.feature { text-align: center; }
.feature__icon { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--fern); }
.feature > * + * { margin-top: 10px; }
.feature p { font-size: 16px; }

/* ---------- Banner (inner pages) ---------- */
.banner { display: grid; }
.banner__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.banner__text > * + * { margin-top: 18px; }
.banner__media { min-height: 280px; position: relative; }
.banner__media picture,
.banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner__media img { object-fit: cover; }
@media (min-width: 900px) {
  .banner { grid-template-columns: 1fr 1fr; min-height: 440px; }
  .banner__text { padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
}
.banner--text-only { text-align: center; }
.banner--text-only .banner__text { align-items: center; }
@media (min-width: 900px) {
  .banner--text-only { grid-template-columns: 1fr; min-height: 0; }
  .banner--text-only .banner__text { padding-left: var(--gutter); }
}

.banner-courses { text-align: center; padding-block: clamp(56px, 8vw, 104px); }
.banner-courses__badge { width: clamp(120px, 16vw, 168px); margin: 0 auto 28px; }
.banner-courses h1 { color: var(--white); }
.banner-courses .kicker { display: block; margin-bottom: 14px; }
.banner-courses__sub { margin: 18px auto 0; max-width: 30ch; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--mist); }
.banner-courses .btn-row { margin-top: 34px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 2fr 3fr; align-items: start; }
  .about-grid__media { position: sticky; top: 120px; }
}
.prose > * + * { margin-top: 1.15em; }
.prose p { max-width: 68ch; }
.about-aside { display: grid; gap: 28px; margin-top: 48px; align-items: start; }
@media (min-width: 760px) {
  .about-aside { grid-template-columns: 1fr 1fr; }
}
.panel { padding: 28px 26px; background: var(--mist); }
.panel--oat { background: var(--oat); }
.panel > * + * { margin-top: 14px; }
.dash-list li { position: relative; padding-left: 22px; }
.dash-list li + li { margin-top: 8px; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 1px;
  background: var(--fern);
}
.pull-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--evergreen);
}

/* ---------- Services ---------- */
/* Services page: text-only rows (owner decision — no photos or clips on this page) */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin: -8px auto clamp(36px, 5vw, 56px); }
.jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 2px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--evergreen);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.jump a:hover,
.jump a:focus-visible { text-decoration: none; border-bottom-color: var(--fern); }
.jump__num { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.04em; color: var(--fern); }
.services-list { border-top: 1px solid var(--sage); }
.service {
  display: grid;
  gap: 28px clamp(40px, 6vw, 96px);
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--sage);
}
@media (min-width: 900px) {
  .service { grid-template-columns: 5fr 6fr; align-items: start; }
}
.service__head > * + * { margin-top: 14px; }
.service__num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--fern);
}
.service__from {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fern);
}
.service__body > * + * { margin-top: 22px; }
.options { border-top: 1px solid var(--mist); }
.options li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 16px;
}
.options__meta { white-space: nowrap; font-weight: 400; color: var(--evergreen); }

.info-grid { display: grid; gap: 1px; background: var(--sage); border: 1px solid var(--sage); }
@media (min-width: 700px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-grid > div { background: var(--linen); padding: 28px 26px; }
@media (min-width: 700px) {
  .info-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .info-grid > div:last-child:nth-child(odd) { grid-column: auto; }
  .info-grid > div:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
.info-grid > div > * + * { margin-top: 10px; }
.info-grid p,
.info-grid li { font-size: 16px; }

/* ---------- Courses ---------- */
.glance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--oat);
  text-align: center;
}
/* One row of equal columns on wider screens, however many facts the spec lists. */
@media (min-width: 1100px) {
  .glance { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}
.glance li { display: flex; align-items: center; justify-content: center; padding: 22px 14px; line-height: 1.55; font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--evergreen); }
.glance li + li { border-left: 1px solid rgb(44 66 52 / 0.12); }
@media (max-width: 1099px) {
  .glance li:nth-child(odd) { border-left: 0; }
  .glance li:nth-child(n + 3) { border-top: 1px solid rgb(44 66 52 / 0.12); }
  .glance li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.checklist { display: grid; gap: 14px 40px; }
@media (min-width: 760px) {
  .checklist { grid-template-columns: 1fr 1fr; }
}
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mist);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.35em + 5px);
  width: 6px;
  height: 10px;
  border: solid var(--fern);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.formats { display: grid; gap: 24px; }
@media (min-width: 760px) {
  .formats { grid-template-columns: 1fr 1fr; }
}
.format-card { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px); border: 1px solid var(--sage); background: var(--white); }
.format-card > * + * { margin-top: 14px; }
.format-card__price { font-family: var(--font-accent); font-style: italic; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; color: var(--evergreen); }
.format-card__facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin-bottom: 10px; border-top: 1px solid rgb(44 66 52 / 0.12); }
.format-card__facts dt,
.format-card__facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgb(44 66 52 / 0.12); }
.format-card__facts dt { padding-right: 20px; font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fern); padding-top: 15px; }
.format-card__facts dd { font-size: 16px; }
.format-card .btn { margin-top: auto; align-self: flex-start; }
.formats-wrap { max-width: 1040px; }
.formats-foot { max-width: 62ch; margin: clamp(28px, 4vw, 40px) auto 0; }
.formats-foot > * + * { margin-top: 10px; }
.who { max-width: 56ch; margin: 16px auto 0; }
.dash-list--cols { column-gap: 48px; }
@media (min-width: 760px) {
  .dash-list--cols { columns: 2; }
  .dash-list--cols li { break-inside: avoid; }
}
.dash-list--cols li + li { margin-top: 0; }
.dash-list--cols li { padding-bottom: 10px; }
.instructor-text > * + * { margin-top: 18px; }
.instructor-text .panel { margin-top: 28px; }
.panel--white { background: var(--white); }
#compare-h,
#formats-h,
#day-h { text-wrap: balance; }

/* In-page links under the glance strip. */
.page-nav { background: var(--white); border-bottom: 1px solid rgb(44 66 52 / 0.12); }
.page-nav__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(18px, 4vw, 44px); }
.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--evergreen);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.page-nav a:hover,
.page-nav a:focus-visible { text-decoration: none; border-bottom-color: var(--fern); }

/* The training day: schedule beside "What to bring". */
.day-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) {
  .day-grid { grid-template-columns: 3fr 2fr; }
}
.day-note { margin-top: 14px; max-width: 60ch; }
.schedule { margin-top: 28px; border-top: 1px solid rgb(44 66 52 / 0.15); }
.schedule li { display: grid; grid-template-columns: 5.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgb(44 66 52 / 0.15); }
.schedule__time { font-weight: 500; font-size: 15px; line-height: 1.75; letter-spacing: 0.04em; color: var(--fern); font-variant-numeric: tabular-nums; }
.bring > * + * { margin-top: 16px; }
@media (min-width: 960px) {
  .bring { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Group vs private comparison: always a real table. On phones the row labels stay put and the
   table scrolls sideways only if it cannot fit. */
.compare-scroll { overflow-x: auto; border: 1px solid var(--sage); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.55; }
.compare th,
.compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgb(44 66 52 / 0.12); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); background: var(--evergreen); }
.compare thead td { background: var(--evergreen); }
.compare tbody th { position: sticky; left: 0; z-index: 1; width: 30%; font-weight: 500; color: var(--evergreen); background: var(--linen); border-right: 1px solid rgb(44 66 52 / 0.12); }
.compare thead td { position: sticky; left: 0; z-index: 2; }
.compare tbody tr:nth-child(even) td { background: rgb(231 238 228 / 0.35); }
/* Phones: the table fits the screen (no sideways scroll at 320px and up), so both formats stay in
   view side by side, and the format headers stay pinned under the site header while you read. */
@media (max-width: 599px) {
  .compare-scroll { overflow: visible; }
  .compare { min-width: 0; font-size: 13.5px; line-height: 1.5; }
  .compare th,
  .compare td { padding: 11px 9px; overflow-wrap: break-word; }
  .compare tbody th { width: 30%; }
  .compare thead th,
  .compare thead td { position: sticky; top: 84px; z-index: 3; }
  .compare thead th { font-size: 11px; letter-spacing: 0.12em; }
}
.compare-actions { margin-top: 32px; }
.policy-link { margin-top: 18px; font-size: 15px; }
.formats-foot .policy-link { margin-top: 14px; }

/* Services → Courses cross-link. */
.practitioner-link { margin-top: clamp(32px, 5vw, 48px); text-align: center; font-size: 17px; }

/* Mobile enrol bar (Courses only, below 768px). Hidden while the banner, the inquiry form or the
   footer is on screen (site.js); without JS it simply stays, and the page leaves room for it. */
.enrol-bar { display: none; }
@media (max-width: 767px) {
  .enrol-bar {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: var(--evergreen);
    box-shadow: 0 -6px 18px rgb(23 36 28 / 0.18);
  }
  .enrol-bar .btn { width: 100%; justify-content: center; }
  .enrol-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
  /* Room at the end of the page, so the bar can never sit on top of the footer's last lines. */
  body:has(.enrol-bar) .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .enrol-bar { transition: transform 0.28s var(--ease), visibility 0s linear 0s; }
  .enrol-bar.is-hidden { transition: transform 0.28s var(--ease), visibility 0s linear 0.28s; }
}
@media print {
  .enrol-bar,
  .page-nav { display: none !important; }
}

.faq { border-top: 1px solid var(--sage); }
.faq details { border-bottom: 1px solid var(--sage); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  min-height: 44px;
  font-weight: 500;
  font-size: 17px;
  color: var(--evergreen);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--fern);
  transition: transform 0.25s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div { padding: 0 0 24px; max-width: 70ch; }
/* Answers glide open where the browser supports it; elsewhere they simply appear. */
@media (prefers-reduced-motion: no-preference) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s var(--ease), content-visibility 0.3s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Form ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > label:not(.choice),
.field legend { font-weight: 500; font-size: 14px; letter-spacing: 0.06em; color: var(--evergreen); }
.field fieldset,
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--ink-muted);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fern) 50%), linear-gradient(135deg, var(--fern) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible { outline: 2px solid var(--fern); outline-offset: 2px; border-color: var(--fern); }
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: #8a2b2b; border-width: 2px; }
.choice { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 8px; font-size: 16px; font-weight: 400; cursor: pointer; }
.choice input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--evergreen); }
.choices { display: grid; gap: 2px; }
.field-error { font-size: 14px; font-weight: 500; color: #8a2b2b; }
.field-error:empty { display: none; }
.form-note { font-size: 14px; color: var(--ink-muted); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters[hidden] { display: none; }
.filters button {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--sage);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.filters button[aria-pressed="true"] { background: var(--evergreen); border-color: var(--evergreen); color: var(--white); }
.gallery-grid { display: grid; gap: 28px; }
@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.tile[hidden] { display: none; }
.tile__link { display: block; position: relative; color: inherit; }
.tile__link:hover,
.tile__link:focus-visible { text-decoration: none; }
.tile__media { aspect-ratio: 4 / 5; background: var(--mist); overflow: hidden; position: relative; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
/* Before/after composites are never cropped or letterboxed: the photo sets the tile's height. */
.tile--ba .tile__media { aspect-ratio: auto; }
.tile--ba .tile__media > picture,
.tile--ba .tile__media > img { position: static; height: auto; }
.tile--ba .tile__media img { height: auto; object-fit: contain; }
.tile__link:hover .tile__media img { transform: scale(1.02); }
.tile--ba .tile__link:hover .tile__media img { transform: none; }
.tile__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgb(44 66 52 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.85);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile__badge svg { width: 20px; height: 20px; margin-left: 3px; }
.tile figcaption { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0 var(--sbw) 0 0;
  border: 0;
  background: rgb(31 43 35 / 0.96);
  color: var(--white);
}
.lightbox::backdrop { background: rgb(31 43 35 / 0.96); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; }
.lightbox__count { font-size: 13px; letter-spacing: 0.2em; color: var(--mist); padding-left: 8px; }
.lightbox__btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__stage { flex: 1; min-height: 0; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox__figure { min-height: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 4px 16px; }
.lightbox__media { min-height: 0; flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; }
.lightbox__media img,
.lightbox__media video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__media video { max-height: 80vh; }
.lightbox__caption { margin-top: 12px; max-width: 640px; text-align: center; font-size: 14px; color: var(--mist); }
@media (max-width: 599px) {
  .lightbox__stage { grid-template-columns: 1fr; }
  .lightbox__prev,
  .lightbox__next { position: absolute; bottom: 8px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__figure { padding-bottom: 64px; }
}

/* ---------- Simple pages ---------- */
.page-simple { padding-block: clamp(72px, 10vw, 140px); text-align: center; }
.page-simple > .container > * + * { margin-top: 20px; }
.page-simple .btn-row { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen); color: var(--white); padding-block: clamp(56px, 7vw, 88px) 32px; }
.site-footer a:not(.btn) { color: var(--white); }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
}
.site-footer__logo { width: 240px; max-width: 100%; }
.site-footer__brand > * + * { margin-top: 20px; }
.site-footer__brand p { font-size: 15px; color: var(--mist); }
.site-footer__nav li a,
.site-footer__contact li a { display: inline-block; padding: 7px 0; }
.site-footer__nav a { font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer__contact { font-size: 15px; }
.site-footer__contact .btn { margin-bottom: 14px; }
.site-footer__heading { margin-bottom: 12px; }
.site-footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--mist);
}
@media (min-width: 900px) {
  .site-footer__legal { grid-template-columns: 1fr auto; align-items: center; }
}
.site-footer__legal a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.4); }

/* ---------- Reveal on scroll ----------
   Content is hidden only after site.js has armed the observer (html.reveal-armed), so a script
   error, an old browser or JS being off can never leave a section invisible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-armed .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease-out, transform 0.55s ease-out; }
  .reveal-armed .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .menu,
  .hero__controls,
  .video,
  .lightbox,
  .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { height: auto; min-height: 0; }
  .hero__slide:not(.is-active) { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* ---------- Small utilities used by generated pages ---------- */
.section-foot { margin-top: clamp(36px, 4vw, 52px); }
.tile__media { display: block; }

/* ---------- 2026-11-07 owner edits ---------- */
.page-title--as-written { text-transform: none; letter-spacing: 0.03em; }
.banner__subtitle { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); color: var(--fern); }
.ba-pair { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .ba-pair { grid-template-columns: 1fr 1fr; align-items: start; }
}
