/* Pilates One — global stylesheet.
 *
 * The one place layout and visual design live. Pages carry semantic markup
 * and `po-*` class names only: no inline styles, no utility soup. Values come
 * from tokens.css (colours, scale, spacing, radii, layers); this file turns
 * them into components.
 *
 * Sections:
 *   1. Base        reset, typography, links, media
 *   2. Layout      container, section, grids, photo bands, dividers
 *   3. Buttons
 *   4. Chrome      utility bar, nav, dropdowns, mobile menu, footer
 *   5. Components  hero, prose, pathway cards, gallery, feature, team,
 *                  testimonial slider, forms, embeds
 *   6. Motion      the scroll system's hooks (motion.js)
 *   7. Pages       inner-page components: page hero, stack, lists, class
 *                  rows, price cards, events, FAQ, tiles, videos, tables
 *
 * Fonts: Oswald (display, tracked caps), Poppins (soft headings, UI),
 * Oxygen (body). These are the source site's faces and part of its voice.
 */

/* ═══════════════════════════════════════════════════════════════════════
   1. BASE
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --font-display: "Oswald", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-soft: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Oxygen", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.06), 0 2px 8px rgba(31, 27, 22, 0.05);
  --shadow-md: 0 6px 22px rgba(31, 27, 22, 0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
  --dur-slow: 480ms;

  /* Photo-band tints, the navy the source composites over every photo */
  --tint-navy-soft: rgba(42, 46, 64, 0.34);
  --tint-navy: rgba(42, 46, 64, 0.72);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--space-4));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--primary-deep); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

::selection { background: var(--primary); color: var(--on-dark); }

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

/* Headings ─ three voices, used deliberately, never mixed in one block */

.po-h-display {                       /* OUR LOCATION / CONTACT US */
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  font-size: var(--font-size-3xl);
  letter-spacing: clamp(0.2em, 0.35em, 0.4em);
  line-height: 1.15;
  color: var(--heading);
}
.po-h-display--wide { letter-spacing: clamp(0.25em, 0.45em, 0.5em); }
/* For a heading that cannot wrap (MOVE•BREATHE•TRANSFORM has no spaces):
   scale size and tracking with the viewport so it always fits one line. */
.po-h-display--fit {
  font-size: clamp(1.25rem, 0.85rem + 2.4vw, 3rem);
  letter-spacing: clamp(0.06em, 0.02em + 0.5vw, 0.22em);
  white-space: nowrap;
}

.po-h-soft {                          /* Our Pilates One Team / Testimonials */
  font-family: var(--font-soft);
  font-weight: 500;
  font-size: var(--font-size-2xl);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--muted);
}

.po-h-section {                       /* Reformer Workouts, Redefined */
  font-family: var(--font-soft);
  font-weight: 500;
  font-size: var(--font-size-xl);
  line-height: 1.25;
  color: var(--heading);
}

.po-eyebrow {
  font-family: var(--font-soft);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.po-lead { font-size: var(--font-size-md); color: var(--muted); line-height: 1.75; }

/* Heading spacing rhythm: heading, then a fixed gap to content */
.po-section__head { text-align: center; margin-bottom: var(--space-7); }
.po-section__head > * + * { margin-top: var(--space-4); }

/* ═══════════════════════════════════════════════════════════════════════
   2. LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */

.po-container {
  position: relative; z-index: var(--z-content);   /* above the flying mark; see motion.js */
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.po-container--narrow { max-width: var(--container-narrow); }

.po-section { padding-block: var(--section-y); }
.po-section--surface { background: var(--surface); }
.po-section--tight { padding-block: calc(var(--section-y) * 0.6); }
.po-section--flush-top { padding-top: 0; }
/* ── Rendering budget (performance idea 7) ─────────────────────────────────
   A section off-screen skips layout/paint/style entirely until it nears the
   viewport. Excludes .po-hero (always visible on load, must never be
   skipped) and .po-band (a full-bleed photo background section — sizing it
   off an intrinsic-size guess produced a visible pop as the real background
   image resolved). contain-intrinsic-size is a rough placeholder height so
   the page does not jump when a skipped section becomes visible; it does not
   need to be exact, only close enough that the reveal transition (which
   still fires — content-visibility only skips rendering, not the
   IntersectionObserver in motion.js) does not read as a layout shift. */
.po-section:not(.po-band) {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
/* Cards whose internal layout never affects anything outside their own box:
   isolating layout+paint here means a reveal/hover inside one card cannot
   trigger a recalculation of its siblings. */
.po-member, .po-price, .po-event { contain: layout paint; }

.po-grid { display: grid; gap: var(--space-5); }
.po-grid--2 { grid-template-columns: 1fr; }
.po-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.po-grid--center { align-items: center; }

@media (min-width: 640px) {
  .po-grid { gap: var(--space-6); }
}
@media (min-width: 900px) {
  .po-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); }
  .po-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Photo bands ─ a photograph under a navy tint with white copy on top.
   The tint is the source's own (linear to #2a2e40 at the base) so the
   angled divider below can blend into navy exactly. */
.po-band {
  position: relative;
  isolation: isolate;
  color: var(--on-dark);
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.po-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--tint-navy-soft) 0%, var(--tint-navy) 100%);
}
.po-band--radial::before {
  background: radial-gradient(ellipse at center, rgba(42, 46, 64, 0.35) 0%, rgba(42, 46, 64, 0.92) 100%);
}

.po-band .po-h-display,
.po-band .po-h-soft,
.po-band .po-h-section,
.po-band h2, .po-band h3 { color: var(--on-dark); }
.po-band p, .po-band li { color: rgba(255, 255, 255, 0.92); }
.po-band .po-eyebrow { color: rgba(255, 255, 255, 0.85); }
.po-band a:not(.po-btn) { color: var(--on-dark); }
.po-band a:not(.po-btn):hover { color: rgba(255, 255, 255, 0.8); }

/* :focus-visible audit — a ring in the default brand red reads at ~1.5:1
   against the navy tint every `.po-band` (and the hero, which is the same
   dark-photo idiom without the class) paints under its content, so anything
   focusable on one of those surfaces gets the on-dark ring instead. Kept as
   one ancestor-scoped rule rather than per-component overrides so a new
   `.po-band` section inherits it automatically. */
.po-band a:focus-visible,
.po-band button:focus-visible,
.po-band .po-btn:focus-visible,
.po-hero a:focus-visible,
.po-hero button:focus-visible,
.po-hero .po-btn:focus-visible,
.po-topbar a:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
}

/* Angled divider ─ the site's one bespoke silhouette, carried over from the
   source. Sits on the bottom edge of a band and is painted in the colour of
   the section that follows. */
.po-divider { padding-bottom: calc(var(--section-y) + 70px); }
.po-divider::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 70px; width: 100%;
  background-size: 100% 70px; background-repeat: no-repeat;
  pointer-events: none; z-index: 1;
}
.po-divider--white::after {
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='70px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M640 139L0 0v140h1280V0L640 139z' fill-opacity='.5'/%3E%3Cpath d='M640 139L0 42v98h1280V42l-640 97z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════════════
   3. BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */

.po-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  min-height: 2.9rem;
  padding: 0.7rem 2rem;
  font-family: var(--font-soft);
  font-weight: 500;
  font-size: var(--font-size-sm);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--on-dark);
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.po-btn:hover { color: var(--on-dark); background: var(--primary-deep); border-color: var(--primary-deep); }

.po-btn--outline { color: var(--primary); background: transparent; }
.po-btn--outline:hover { color: var(--on-dark); background: var(--primary); border-color: var(--primary); }

.po-btn--light { color: var(--on-dark); background: transparent; border-color: var(--on-dark); }
.po-btn--light:hover { color: var(--navy); background: var(--on-dark); border-color: var(--on-dark); }

.po-btn--sm { min-height: 2.25rem; padding: 0.45rem 1.25rem; font-size: var(--font-size-xs); letter-spacing: 0.12em; }
.po-btn--block { display: flex; width: 100%; }

/* Text link with a quiet arrow ─ for CTAs that read as sentences */
.po-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-soft); font-weight: 500;
  color: var(--primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.po-link::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.po-link:hover::after { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════════════
   4. CHROME — utility bar, nav, footer
   ═══════════════════════════════════════════════════════════════════════ */

/* Utility bar: award · contact · social, on brand red */
/* Skip link: first focusable element on every page; visible only on keyboard focus. */
.po-skip { position: absolute; left: var(--space-3); top: -100px; z-index: 1000; padding: var(--space-2) var(--space-3); background: var(--primary); color: var(--on-dark); border-radius: 4px; text-decoration: none; }
.po-skip:focus { top: var(--space-3); outline: 2px solid var(--on-dark); outline-offset: 2px; }
.po-topbar {
  background: var(--primary);
  color: var(--on-dark);
  font-family: var(--font-soft);
  font-size: var(--font-size-xs);
  letter-spacing: 0.02em;
}
.po-topbar__inner {
  min-height: var(--topbar-height);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-4);
}
.po-topbar a { color: inherit; }
.po-topbar a:hover { color: rgba(255, 255, 255, 0.78); }
.po-topbar__award { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.po-topbar__award img { height: 1.05rem; width: auto; flex: none; }
.po-topbar__contact { display: none; gap: var(--space-5); }
.po-topbar__social { display: inline-flex; align-items: center; gap: var(--space-2); }
.po-topbar__social svg { width: 0.95rem; height: 0.95rem; fill: currentColor; display: block; }
.po-topbar__social a { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; min-height: 1.5rem; }

@media (max-width: 639px) {
  .po-topbar { font-size: 0.6875rem; }
  .po-topbar__award img { height: 0.9rem; }
  .po-topbar__social { gap: var(--space-2); }
}
@media (min-width: 900px) {
  .po-topbar__inner { grid-template-columns: 1fr auto 1fr; }
  .po-topbar__contact { display: inline-flex; justify-content: center; }
  .po-topbar__social { justify-content: flex-end; }
}

/* Main nav: logo · menu · Book. Sticky, white, one hairline. */
.po-nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.po-nav__inner {
  min-height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
}
.po-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.15rem; flex: none; }
.po-brand img { height: 3rem; width: auto; }
@media (min-width: 900px) { .po-brand img { height: 3.4rem; } }
.po-brand__since {
  font-family: var(--font-soft);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.32em;   /* optical: cancel trailing tracking so it centres */
}

.po-menu { display: none; align-items: center; gap: var(--space-6); margin-left: auto; }
.po-menu__item { position: relative; }
.po-menu__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0;
  font-family: var(--font-soft);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  cursor: pointer;
}
.po-menu__link:hover, .po-menu__item[aria-current] > .po-menu__link { color: var(--primary); }
.po-menu__link svg { width: 0.7rem; height: 0.7rem; stroke: currentColor; fill: none; stroke-width: 2; opacity: 0.7; transition: transform var(--dur) var(--ease); }
.po-menu__item:hover > .po-menu__link svg,
.po-menu__item:focus-within > .po-menu__link svg { transform: rotate(180deg); }

.po-dropdown {
  position: absolute; top: 100%; left: 50%; z-index: var(--z-dropdown);
  min-width: 13.5rem;
  padding: var(--space-2) 0;
  background: var(--background);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.po-menu__item:hover > .po-dropdown,
.po-menu__item:focus-within > .po-dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition-delay: 0s;
}
.po-dropdown a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--heading);
  white-space: nowrap;
}
.po-dropdown a:hover { color: var(--primary); background: var(--surface); }

.po-nav__cta { display: none; }

.po-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; margin-right: -0.6rem;
  color: var(--heading);
}
.po-nav__toggle svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 2; }
.po-nav__toggle .po-icon-close { display: none; }
.po-nav.is-open .po-nav__toggle .po-icon-menu { display: none; }
.po-nav.is-open .po-nav__toggle .po-icon-close { display: block; }

/* Mobile panel: grouped links, same labels as the desktop menu */
.po-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.po-nav.is-open .po-mobile { display: block; }
.po-mobile__inner { padding-block: var(--space-4) var(--space-6); display: grid; gap: var(--space-4); }
.po-mobile__group > a, .po-mobile__group > span {
  display: block;
  padding: 0.45rem 0;
  font-family: var(--font-soft); font-weight: 500;
  font-size: var(--font-size-sm); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--heading);
}
.po-mobile__group ul { padding-left: var(--space-4); border-left: 2px solid var(--border); }
.po-mobile__group ul a { display: block; padding: 0.35rem 0; font-size: var(--font-size-sm); color: var(--muted); }
.po-mobile__group ul a:hover { color: var(--primary); }
.po-mobile .po-btn { margin-top: var(--space-2); }

@media (min-width: 900px) {
  .po-menu { display: flex; }
  .po-nav__cta { display: inline-flex; flex: none; }
  .po-nav__toggle, .po-mobile { display: none !important; }
}
@media (min-width: 1200px) {
  .po-menu { gap: var(--space-7); }
}

/* Footer: navy, on the same grid as the page. A display wordmark up top,
   contact + link columns beneath, one quiet colophon row. */
.po-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-sm);
  padding-block: var(--space-8) var(--space-6);
}
.po-footer a { color: rgba(255, 255, 255, 0.72); }
.po-footer a:hover { color: var(--on-dark); }
.po-footer__wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--font-size-2xl);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1.1;
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.po-footer__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr 1fr; }
.po-footer__brand { grid-column: 1 / -1; display: grid; gap: var(--space-1); }
.po-footer__brand p, .po-footer__brand a { line-height: 1.6; }
.po-footer__brand address { font-style: normal; }
.po-footer__label {
  font-family: var(--font-soft); font-weight: 600;
  font-size: var(--font-size-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--space-3);
}
.po-footer__brand .po-footer__label { margin-top: var(--space-5); }
.po-footer__col ul { display: grid; gap: 0.45rem; }
.po-footer__social { display: flex; gap: var(--space-4); }
.po-footer__colophon {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--font-size-xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
@media (min-width: 640px) {
  .po-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .po-footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: var(--space-7); }
  .po-footer__brand { grid-column: auto; }
  .po-footer__colophon { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════════════
   5. COMPONENTS
   ═══════════════════════════════════════════════════════════════════════ */

/* Hero ─ full-bleed video, copy anchored bottom-left on the page grid */
.po-hero {
  position: relative; isolation: isolate;
  min-height: min(82vh, 52rem);
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  background: var(--navy);
  overflow: hidden;
}
.po-hero__media {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-s, 1));
  transform-origin: 50% 30%;
  will-change: transform, opacity;
}
.po-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 46, 64, 0.10) 0%, rgba(42, 46, 64, 0.30) 55%, rgba(42, 46, 64, 0.85) 100%);
}
.po-hero__inner { padding-block: var(--space-9) var(--space-8); }
.po-hero__copy { max-width: 36rem; display: grid; gap: var(--space-4); }
.po-hero__title {
  font-family: var(--font-soft); font-weight: 500;
  font-size: var(--font-size-2xl); line-height: 1.15; color: var(--on-dark);
}
.po-hero__sub { font-family: var(--font-soft); font-weight: 300; font-size: var(--font-size-lg); line-height: 1.4; color: rgba(255, 255, 255, 0.92); }
.po-hero__copy .po-btn { justify-self: start; margin-top: var(--space-2); }

/* Prose ─ long-form copy at a reading measure */
.po-prose { max-width: var(--container-narrow); margin-inline: auto; }
.po-prose > * + * { margin-top: 1.15em; }
.po-prose h2 {
  font-family: var(--font-soft); font-weight: 500;
  font-size: var(--font-size-xl); line-height: 1.25; color: var(--heading);
  margin-bottom: var(--space-5);
}
.po-prose h2 b, .po-prose h2 strong { font-weight: 500; }
.po-prose p { color: var(--muted); font-size: var(--font-size-md); line-height: 1.8; }
.po-prose strong { color: var(--heading); }
.po-prose p:last-child { margin-top: var(--space-6); }
.po-prose--center { text-align: center; }
.po-prose h3 {
  font-family: var(--font-soft); font-weight: 600;
  font-size: var(--font-size-md); line-height: 1.3; letter-spacing: 0.02em; color: var(--heading);
  margin-top: var(--space-6);
}
.po-prose h2 + h3 { margin-top: var(--space-4); }
.po-prose ul, .po-prose ol { display: grid; gap: var(--space-2); padding-left: 1.5rem; color: var(--muted); font-size: var(--font-size-md); line-height: 1.7; }
.po-prose ul li { position: relative; list-style: none; }
.po-prose ul li::before { content: ""; position: absolute; left: -1.5rem; top: 0.85em; width: 0.9rem; height: 2px; background: var(--primary); }
.po-prose ol { list-style: decimal; }
.po-prose ol li::marker { font-family: var(--font-soft); font-weight: 600; color: var(--primary); }
.po-prose blockquote { margin: 0; padding-left: var(--space-5); border-left: 3px solid var(--primary); color: var(--heading); font-family: var(--font-soft); font-weight: 300; font-size: var(--font-size-lg); line-height: 1.5; }
.po-prose hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--space-6); }
.po-prose img { border-radius: var(--radius); }
.po-prose .po-btn, .po-prose .po-link { margin-top: var(--space-2); }
/* A link sitting mid-sentence in body copy (a phone number inside "Call us
   to schedule at …", an email inside a cancellation-policy paragraph) reads
   as a link only by its red colour here -- axe's link-in-text-block audit
   caught it on /packages/ at a genuine 2.19:1 against the surrounding text,
   below the 3:1 WCAG 1.4.1 floor for colour-only differentiation, and the
   same pattern recurs in FAQ answers and elsewhere. An underline is the
   second cue that makes the colour irrelevant to whether it reads as a
   link. Scoped to the actual prose/list/FAQ-answer containers, not `p a`
   sitewide, so nav and footer link lists (real `<li><a>` menus, never
   "surrounding text") are untouched. */
.po-prose a:not(.po-btn),
.po-list a,
.po-list--sm a,
.po-faq__a a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.po-prose--wide { max-width: none; }
.po-prose--sm p, .po-prose--sm li { font-size: var(--font-size-base); }

/* Stack ─ vertical rhythm for any run of blocks; the default spacing
   between siblings inside a section, so pages never invent margins */
.po-stack > * + * { margin-top: var(--space-5); }
.po-stack--tight > * + * { margin-top: var(--space-3); }
.po-stack--loose > * + * { margin-top: var(--space-7); }

/* Standalone bullet list (outside prose) */
.po-list { display: grid; gap: var(--space-2); padding-left: 1.5rem; color: var(--muted); line-height: 1.65; }
.po-list li { position: relative; list-style: none; }
.po-list li::before { content: ""; position: absolute; left: -1.5rem; top: 0.8em; width: 0.9rem; height: 2px; background: var(--primary); }
.po-list--sm { font-size: var(--font-size-sm); gap: var(--space-1); }
.po-list--sm li::before { top: 0.75em; width: 0.7rem; }

/* Benefits ─ two columns, a short red rule instead of a bullet */
.po-benefits {
  display: grid; grid-template-columns: 1fr; gap: var(--space-3) var(--space-7);
  max-width: 44rem; margin-inline: auto; text-align: left;
}
.po-benefits li { position: relative; padding-left: 1.75rem; font-family: var(--font-soft); font-weight: 400; font-size: var(--font-size-base); }
.po-benefits li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 1.1rem; height: 2px; background: var(--on-dark); opacity: 0.75;
}
@media (min-width: 640px) { .po-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Media frame ─ every photo on the page sits in one of these */
.po-media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-deep);
  box-shadow: var(--shadow-sm);
}
.po-media img { width: 100%; height: 100%; object-fit: cover; }
.po-media--portrait { aspect-ratio: 4 / 5; }
.po-media--poster { aspect-ratio: 1280 / 1351; }   /* the reformer posters carry text; match their own ratio so nothing is cropped */
.po-media--square { aspect-ratio: 1 / 1; }
.po-media--wide { aspect-ratio: 16 / 9; }
.po-media--landscape { aspect-ratio: 3 / 2; }

/* Pathway cards ─ photo with a button beneath, four across */
.po-pathway { display: grid; gap: var(--space-4); justify-items: center; }
.po-pathway .po-media { width: 100%; }
.po-pathway .po-media img { transition: transform var(--dur-slow) var(--ease); }
.po-pathway:hover .po-media img { transform: scale(1.03); }
.po-pathway .po-btn { width: 100%; max-width: 16rem; }

/* A section's closing call to action, centred under its grid */
.po-section__cta { text-align: center; margin-top: var(--space-7); }

/* Feature ─ copy beside a photo */
.po-feature { display: grid; gap: var(--space-5); align-items: center; }
.po-feature__copy { display: grid; gap: var(--space-4); }
.po-feature__copy p { color: var(--muted); font-size: var(--font-size-md); line-height: 1.8; }
.po-feature__copy strong { color: var(--heading); }
@media (min-width: 900px) {
  .po-feature { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
}

/* Team ─ portrait cards. Name sits on the photo; the bio slides in as a red
   panel on hover, focus or tap (no hover on touch). Cards without a photo
   are red from the start, the way the source renders them. */
/* Columns step up only when a card stays wide enough (>= ~340px) for the
   longest bio to fit inside the red panel with no scrollbar. */
.po-team { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .po-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .po-team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }

.po-member {
  position: relative; isolation: isolate;
  aspect-ratio: 2 / 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-5);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-dark);
  cursor: pointer;
}
.po-member__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
  transition: transform var(--dur-slow) var(--ease);
}
.po-member::before {                  /* legibility gradient under the name */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 46, 64, 0) 45%, rgba(42, 46, 64, 0.78) 100%);
}
.po-member--noimg::before { display: none; }
@media (max-width: 759px) { .po-member { aspect-ratio: 3 / 5; } }   /* single column: the card is narrower than its 2:3 would allow */
.po-member__name {
  font-family: var(--font-soft); font-weight: 500;
  font-size: var(--font-size-lg); line-height: 1.2; letter-spacing: 0.02em;
  color: var(--on-dark);
}
.po-member__bio {
  position: absolute; inset: 0; z-index: 1;
  padding: var(--space-4) var(--space-5);
  background: var(--primary);
  font-size: 0.8125rem; line-height: 1.55;
  color: var(--on-dark);
  overflow: hidden;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.po-member__bio::before {             /* the name again, above the bio, so it never disappears */
  content: attr(data-name);
  display: block; margin-bottom: var(--space-2);
  font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-md); line-height: 1.2;
}
.po-member:hover .po-member__bio,
.po-member:focus-within .po-member__bio,
.po-member.is-open .po-member__bio { opacity: 1; transform: none; }
.po-member:hover .po-member__photo { transform: scale(1.04); }
.po-member:focus-visible { outline: 2px solid var(--on-dark); outline-offset: -6px; }
.po-member--noimg { cursor: default; }
.po-member--noimg .po-member__name { position: relative; }

/* Testimonial slider ─ the red slab, kept; arrows outside it on wide screens */
.po-slider { position: relative; max-width: 50rem; margin-inline: auto; }
.po-slides {
  position: relative; display: grid; min-height: 24rem;
  background: var(--primary); color: var(--on-dark);
  border-radius: var(--radius);
}
.po-slide {
  grid-area: 1 / 1; align-self: center;
  padding: clamp(2rem, 8vw, 4rem) clamp(1.5rem, 8vw, 4.5rem);
  text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow);
}
.po-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.po-quote { font-family: var(--font-soft); font-weight: 300; font-size: var(--font-size-lg); line-height: 1.55; color: var(--on-dark); }
.po-quote-by { font-family: var(--font-display); font-weight: 400; font-size: var(--font-size-md); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-top: var(--space-5); }
.po-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.2rem; line-height: 1; color: var(--on-dark); opacity: 0.75;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.po-arrow:hover { opacity: 1; }
.po-arrow--prev { left: 0; }
.po-arrow--next { right: 0; }
/* Below 1100px the arrows sit on the red slide slab (see the color rule
   itself, above), so their default focus ring matches: on-dark, switching to
   the brand ring once the layout below moves them onto the page background. */
.po-arrow:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.po-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: var(--space-5); }
/* Slider dots: the visible dot stays 0.55rem, the hit area is 1.5rem (WCAG 2.2 target size). */
.po-dot { position: relative; flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.po-dot::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: 0.55rem; height: 0.55rem; margin: -0.275rem 0 0 -0.275rem; border-radius: 50%; border: 1px solid var(--primary); background: transparent; transition: background-color var(--dur) var(--ease); }
.po-dot.is-active::before { background: var(--primary); }
.po-slider + .po-slider__cta { text-align: center; margin-top: var(--space-7); }
@media (min-width: 1100px) {
  .po-arrow { color: var(--primary); }
  .po-arrow--prev { left: -3.5rem; }
  .po-arrow--next { right: -3.5rem; }
  .po-arrow:focus-visible { outline-color: var(--primary); }
}

/* Forms ─ contact enquiry; on a band the fields go translucent */
.po-form { display: grid; gap: var(--space-3); }
.po-field {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit; font-size: var(--font-size-sm);
  color: var(--text);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.po-field::placeholder { color: var(--muted); }
/* A mouse/touch click still just changes the border colour (no ring); a
   keyboard focus keeps the global `:focus-visible` ring instead of losing it
   entirely, which the old unconditional `outline: none` on plain `:focus`
   did for every input on the site. */
.po-field:focus { border-color: var(--primary); }
.po-field:focus:not(:focus-visible) { outline: none; }
textarea.po-field { min-height: 9rem; resize: vertical; }
.po-field[aria-invalid="true"] { border-color: var(--primary); }
/* Per-field error text (R10 §2): concrete, linked via aria-describedby,
   cleared the moment the visitor edits the field again (site.js). */
.po-form__error { margin-top: -0.35rem; font-size: var(--font-size-xs); color: var(--primary); }
.po-band .po-field { color: var(--on-dark); background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.35); }
.po-band .po-field::placeholder { color: rgba(255, 255, 255, 0.7); }
.po-band .po-field:focus { background: rgba(255, 255, 255, 0.16); border-color: var(--on-dark); }
.po-band .po-field:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.po-band .po-field[aria-invalid="true"] { border-color: var(--on-dark); }
.po-band .po-form__error { color: var(--on-dark); }
.po-form .po-btn { justify-self: start; margin-top: var(--space-2); }

/* Hours / address block beside the form */
.po-hours { display: grid; gap: var(--space-4); align-content: start; }
.po-hours h3 { font-family: var(--font-soft); font-weight: 600; font-size: var(--font-size-md); letter-spacing: 0.04em; }
.po-hours p { font-size: var(--font-size-base); line-height: 1.8; }

/* Third-party embeds (Mindbody schedule, Elfsight Instagram) */
.po-embed { width: 100%; min-height: 7.5rem; }
.po-embed healcode-widget { display: block; width: 100%; }
.po-embed iframe { max-width: 100%; }

/* ── Third-party facades (performance idea 6) ──────────────────────────────
   site.js injects healcode.js/platform.js only once the embed nears the
   viewport, and the Google Map only once the visitor asks for it. Both wait
   states live here so nothing pops in unstyled. */
.po-embed--loading {
  display: grid;
  place-items: center;
  min-height: 7.5rem;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%) var(--surface-deep);
  background-size: 200% 100%;
  animation: po-embed-shimmer 1.6s ease-in-out infinite;
  color: var(--muted);
  font-size: var(--font-size-sm);
}
@keyframes po-embed-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* Map facade: a static screenshot standing in for the live iframe until the
   visitor opts in. `.po-media--map` is already the aspect-ratio frame; the
   button sits centred on top of the screenshot. */
.po-media--map { position: relative; }
.po-media--map iframe { width: 100%; height: 100%; border: 0; }
.po-map__open {
  position: absolute; inset: auto auto var(--space-5) 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  border: 0;
  background: var(--on-dark);
  color: var(--text);
  font-family: var(--font-soft);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.po-map__open:hover, .po-map__open:focus-visible { transform: translateX(-50%) translateY(-2px); box-shadow: var(--shadow-md); }
/* This pill floats over an arbitrary photo, so one ring colour cannot be
   guaranteed 3:1 against whatever is behind it. A white ring plus a red ring
   just outside it means at least one of the two always contrasts, on a dark
   or a light photo. */
.po-map__open:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
  box-shadow: var(--shadow-md), 0 0 0 4px var(--primary);
}

/* Chat launcher ─ the brand eye, fixed bottom-right. Hover and it blinks;
   click opens the panel. Everything is drawn in-line SVG so the mark can be
   recoloured through the tokens like anything else. */
.po-chat { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: var(--z-overlay); }
.po-chat__launch {
  display: grid; place-items: center;
  width: 3.75rem; height: 3.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-dark);
  box-shadow: 0 8px 20px -8px rgba(42, 46, 64, 0.55);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.po-chat__launch:hover { background: var(--primary-deep); transform: translateY(-2px); }
/* Fixed bottom-right, so whatever is scrolled behind it varies (page paper,
   a dark band, a photo) — same double-ring reasoning as .po-map__open. */
.po-chat__launch:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--navy), 0 8px 20px -8px rgba(42, 46, 64, 0.55);
}
.po-chat__launch svg { width: 2.1rem; height: 2.1rem; overflow: visible; }
.po-eye__lid { transform-origin: 50% 50%; transform-box: fill-box; transition: transform 160ms var(--ease); }
.po-eye__pupil { transition: opacity 120ms var(--ease); }
.po-eye__iris { fill: var(--navy); }
.po-chat__launch:hover .po-eye__lid, .po-chat.is-open .po-eye__lid { animation: po-blink 900ms var(--ease) both; }
.po-chat__launch:hover .po-eye__pupil, .po-chat.is-open .po-eye__pupil { animation: po-blink-pupil 900ms var(--ease) both; }
@keyframes po-blink { 0%, 100% { transform: scaleY(1); } 30%, 60% { transform: scaleY(0.06); } }
@keyframes po-blink-pupil { 0%, 100% { opacity: 1; } 25%, 65% { opacity: 0; } }

.po-chat__panel {
  position: absolute; right: 0; bottom: calc(100% + 0.75rem);
  width: min(22rem, calc(100vw - 2rem));
  display: none;
  background: var(--background);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.po-chat.is-open .po-chat__panel { display: block; }
.po-chat__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--navy); color: var(--on-dark);
  font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-sm); letter-spacing: 0.08em; text-transform: uppercase;
}
.po-chat__close { width: 2rem; height: 2rem; display: grid; place-items: center; color: inherit; opacity: 0.8; }
.po-chat__close:hover { opacity: 1; }
.po-chat__close:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; opacity: 1; }
.po-chat__close svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; }
.po-chat__log { display: grid; gap: var(--space-3); padding: var(--space-4); max-height: 18rem; overflow-y: auto; font-size: var(--font-size-sm); line-height: 1.6; }
.po-chat__msg { padding: 0.6rem 0.85rem; border-radius: var(--radius); background: var(--surface); color: var(--text); max-width: 90%; }
.po-chat__msg--me { justify-self: end; background: var(--primary); color: var(--on-dark); }
.po-chat__msg a { color: inherit; text-decoration: underline; }
.po-chat__form { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); padding: var(--space-3); border-top: 1px solid var(--border); }
.po-chat__form .po-field { padding: 0.6rem 0.8rem; }
.po-chat__form .po-btn { min-height: 0; padding: 0.6rem 1rem; }

/* Sacred-geometry patterns. Three line drawings (Flower of Life tile, Seed of
   Life motif, Torus motif) painted through a mask so they take whatever
   `color` the section gives them: brand ink on paper, white on photo bands.
   They sit on a pseudo-element under the content and never touch the copy.
   Usage: <section class="po-section po-pattern po-pattern--flower"> plus an
   optional placement modifier. */
.po-pattern { position: relative; isolation: isolate; }
.po-pattern > * { position: relative; z-index: var(--z-content); }
.po-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: currentColor;
  color: var(--pattern-ink, var(--navy));
  opacity: var(--pattern-opacity, 0.07);
  -webkit-mask-image: var(--pattern); mask-image: var(--pattern);
  -webkit-mask-repeat: var(--pattern-repeat, no-repeat); mask-repeat: var(--pattern-repeat, no-repeat);
  -webkit-mask-size: var(--pattern-size); mask-size: var(--pattern-size);
  -webkit-mask-position: var(--pattern-pos, center); mask-position: var(--pattern-pos, center);
}
.po-pattern--flower { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 69.282' width='40' height='69.282'%3E%3Cg fill='none' stroke='black' stroke-width='0.9'%3E%3Ccircle cx='-80' cy='-69.282' r='40'/%3E%3Ccircle cx='-40' cy='-69.282' r='40'/%3E%3Ccircle cx='0' cy='-69.282' r='40'/%3E%3Ccircle cx='40' cy='-69.282' r='40'/%3E%3Ccircle cx='80' cy='-69.282' r='40'/%3E%3Ccircle cx='120' cy='-69.282' r='40'/%3E%3Ccircle cx='160' cy='-69.282' r='40'/%3E%3Ccircle cx='-60.0' cy='-34.641' r='40'/%3E%3Ccircle cx='-20.0' cy='-34.641' r='40'/%3E%3Ccircle cx='20.0' cy='-34.641' r='40'/%3E%3Ccircle cx='60.0' cy='-34.641' r='40'/%3E%3Ccircle cx='100.0' cy='-34.641' r='40'/%3E%3Ccircle cx='140.0' cy='-34.641' r='40'/%3E%3Ccircle cx='180.0' cy='-34.641' r='40'/%3E%3Ccircle cx='-80' cy='0.0' r='40'/%3E%3Ccircle cx='-40' cy='0.0' r='40'/%3E%3Ccircle cx='0' cy='0.0' r='40'/%3E%3Ccircle cx='40' cy='0.0' r='40'/%3E%3Ccircle cx='80' cy='0.0' r='40'/%3E%3Ccircle cx='120' cy='0.0' r='40'/%3E%3Ccircle cx='160' cy='0.0' r='40'/%3E%3Ccircle cx='-60.0' cy='34.641' r='40'/%3E%3Ccircle cx='-20.0' cy='34.641' r='40'/%3E%3Ccircle cx='20.0' cy='34.641' r='40'/%3E%3Ccircle cx='60.0' cy='34.641' r='40'/%3E%3Ccircle cx='100.0' cy='34.641' r='40'/%3E%3Ccircle cx='140.0' cy='34.641' r='40'/%3E%3Ccircle cx='180.0' cy='34.641' r='40'/%3E%3Ccircle cx='-80' cy='69.282' r='40'/%3E%3Ccircle cx='-40' cy='69.282' r='40'/%3E%3Ccircle cx='0' cy='69.282' r='40'/%3E%3Ccircle cx='40' cy='69.282' r='40'/%3E%3Ccircle cx='80' cy='69.282' r='40'/%3E%3Ccircle cx='120' cy='69.282' r='40'/%3E%3Ccircle cx='160' cy='69.282' r='40'/%3E%3Ccircle cx='-60.0' cy='103.923' r='40'/%3E%3Ccircle cx='-20.0' cy='103.923' r='40'/%3E%3Ccircle cx='20.0' cy='103.923' r='40'/%3E%3Ccircle cx='60.0' cy='103.923' r='40'/%3E%3Ccircle cx='100.0' cy='103.923' r='40'/%3E%3Ccircle cx='140.0' cy='103.923' r='40'/%3E%3Ccircle cx='180.0' cy='103.923' r='40'/%3E%3Ccircle cx='-80' cy='138.564' r='40'/%3E%3Ccircle cx='-40' cy='138.564' r='40'/%3E%3Ccircle cx='0' cy='138.564' r='40'/%3E%3Ccircle cx='40' cy='138.564' r='40'/%3E%3Ccircle cx='80' cy='138.564' r='40'/%3E%3Ccircle cx='120' cy='138.564' r='40'/%3E%3Ccircle cx='160' cy='138.564' r='40'/%3E%3C/g%3E%3C/svg%3E"); --pattern-repeat: repeat; --pattern-size: 3.5rem auto; --pattern-opacity: 0.06; }
.po-pattern--seed   { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-205 -205 410 410'%3E%3Cg fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle cx='0' cy='0' r='100'/%3E%3Ccircle cx='100.0' cy='0.0' r='100'/%3E%3Ccircle cx='50.0' cy='86.603' r='100'/%3E%3Ccircle cx='-50.0' cy='86.603' r='100'/%3E%3Ccircle cx='-100.0' cy='0.0' r='100'/%3E%3Ccircle cx='-50.0' cy='-86.603' r='100'/%3E%3Ccircle cx='50.0' cy='-86.603' r='100'/%3E%3Ccircle cx='0' cy='0' r='200'/%3E%3C/g%3E%3C/svg%3E");   --pattern-size: 32rem 32rem; --pattern-pos: right -9rem top -9rem; --pattern-opacity: 0.09; }
.po-pattern--torus  { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-205 -205 410 410'%3E%3Cg fill='none' stroke='black' stroke-width='1.1'%3E%3Ccircle cx='100.0' cy='0.0' r='100'/%3E%3Ccircle cx='96.593' cy='25.882' r='100'/%3E%3Ccircle cx='86.603' cy='50.0' r='100'/%3E%3Ccircle cx='70.711' cy='70.711' r='100'/%3E%3Ccircle cx='50.0' cy='86.603' r='100'/%3E%3Ccircle cx='25.882' cy='96.593' r='100'/%3E%3Ccircle cx='0.0' cy='100.0' r='100'/%3E%3Ccircle cx='-25.882' cy='96.593' r='100'/%3E%3Ccircle cx='-50.0' cy='86.603' r='100'/%3E%3Ccircle cx='-70.711' cy='70.711' r='100'/%3E%3Ccircle cx='-86.603' cy='50.0' r='100'/%3E%3Ccircle cx='-96.593' cy='25.882' r='100'/%3E%3Ccircle cx='-100.0' cy='0.0' r='100'/%3E%3Ccircle cx='-96.593' cy='-25.882' r='100'/%3E%3Ccircle cx='-86.603' cy='-50.0' r='100'/%3E%3Ccircle cx='-70.711' cy='-70.711' r='100'/%3E%3Ccircle cx='-50.0' cy='-86.603' r='100'/%3E%3Ccircle cx='-25.882' cy='-96.593' r='100'/%3E%3Ccircle cx='-0.0' cy='-100.0' r='100'/%3E%3Ccircle cx='25.882' cy='-96.593' r='100'/%3E%3Ccircle cx='50.0' cy='-86.603' r='100'/%3E%3Ccircle cx='70.711' cy='-70.711' r='100'/%3E%3Ccircle cx='86.603' cy='-50.0' r='100'/%3E%3Ccircle cx='96.593' cy='-25.882' r='100'/%3E%3C/g%3E%3C/svg%3E");  --pattern-size: 40rem 40rem; --pattern-pos: left -14rem center; --pattern-opacity: 0.08; }
/* fade the tile out toward the middle so it frames the section instead of filling it */
.po-pattern--flower::before {
  -webkit-mask-image: var(--pattern), linear-gradient(black, black);
  mask-image: var(--pattern), linear-gradient(black, black);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  -webkit-mask-size: var(--pattern-size), 100% 100%; mask-size: var(--pattern-size), 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
}
.po-pattern--flower.po-pattern--fade::before {
  -webkit-mask-image: var(--pattern), radial-gradient(ellipse 70% 70% at center, transparent 30%, black 100%);
  mask-image: var(--pattern), radial-gradient(ellipse 70% 70% at center, transparent 30%, black 100%);
}
.po-band.po-pattern, .po-footer.po-pattern { --pattern-ink: var(--on-dark); --pattern-opacity: 0.10; }
@media (prefers-reduced-transparency: reduce) { .po-pattern::before { display: none; } }

/* ═══════════════════════════════════════════════════════════════════════
   6. MOTION — scroll system (motion.js). Transform and opacity only.
   ═══════════════════════════════════════════════════════════════════════ */

/* The flying leaf: fixed, behind content, above section backgrounds.
   motion.js drives position, scale and rotation; the leaf itself sways on a
   slow CSS loop so it never sits perfectly still. */
.po-fly {
  position: fixed; top: 0; left: 0;
  width: 5.5rem; height: 3.5rem;
  z-index: var(--z-fly);
  pointer-events: none;
  color: var(--leaf);
  opacity: 0;
  will-change: transform, opacity;
  transition: color 250ms var(--ease);
}
.po-fly.is-on-dark { color: var(--on-dark); }
.po-fly svg { width: 100%; height: 100%; display: block; overflow: visible; }
.po-fly__leaf { transform-origin: 8% 80%; transform-box: fill-box; animation: po-fly-sway 6s ease-in-out infinite; }
@keyframes po-fly-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }

/* Reveal: sections rise in once; children stagger 70ms (45ms on phones) */
.po-reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.po-reveal.is-in { opacity: 1; transform: none; }
.po-reveal [data-stagger] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.po-reveal.is-in [data-stagger] { opacity: 1; transform: none; }
@media (max-width: 600px) { .po-reveal [data-stagger] { transition-delay: calc(var(--i, 0) * 45ms); } }
/* the team card keeps its own hover transform once revealed */
.po-reveal.is-in .po-member[data-stagger] { transition: none; }

/* ═══════════════════════════════════════════════════════════════════════
   7. PAGES — inner-page components
   ═══════════════════════════════════════════════════════════════════════ */

/* Page hero ─ photo under the navy tint, title bottom-left on the grid.
   The photo is an <img> so pages carry no inline background-image. */
.po-page-hero {
  position: relative; isolation: isolate;
  min-height: clamp(18rem, 46vh, 30rem);
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  background: var(--navy);
  overflow: hidden;
}
.po-page-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.po-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 46, 64, 0.15) 0%, rgba(42, 46, 64, 0.72) 100%); }
.po-page-hero__inner { padding-block: var(--space-7) var(--space-7); display: grid; gap: var(--space-5); justify-items: start; }
.po-page-hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: var(--font-size-3xl); letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 1.1; color: var(--on-dark);
}
.po-page-hero__sub { font-family: var(--font-soft); font-weight: 300; font-size: var(--font-size-lg); max-width: 36rem; color: rgba(255, 255, 255, 0.92); }

/* Class rows ─ photo beside copy, one class per row */
.po-classes { display: grid; gap: var(--space-7); }
.po-class { display: grid; gap: var(--space-5); align-items: center; }
.po-class__body { display: grid; gap: var(--space-3); }
.po-class__name { font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-lg); text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); line-height: 1.2; }
.po-class__desc { color: var(--muted); font-size: var(--font-size-md); line-height: 1.75; }
@media (min-width: 760px) {
  .po-class { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); }
  .po-classes { gap: var(--space-8); }
}

/* Price cards ─ a grid of linked cards: name, amount, optional note */
.po-prices { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.po-price {
  display: grid; justify-items: center; align-content: center; gap: var(--space-1);
  min-height: 9rem; padding: var(--space-5) var(--space-4);
  text-align: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.po-price:hover { color: var(--text); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.po-price__name { font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-md); color: var(--heading); }
.po-price__amount { font-family: var(--font-display); font-weight: 300; font-size: 2.1rem; letter-spacing: 0.04em; color: var(--primary); line-height: 1.1; }
.po-price__note { font-size: var(--font-size-sm); color: var(--muted); }
.po-section--surface .po-price { background: var(--background); }
.po-price--featured { border-color: var(--primary); }

/* Events ─ date | body | optional media */
.po-events { display: grid; gap: var(--space-4); }
.po-event {
  display: grid; gap: var(--space-3);
  padding: var(--space-5);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.po-event__date { font-family: var(--font-display); font-weight: 400; font-size: var(--font-size-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); line-height: 1.5; }
.po-event__body { display: grid; gap: var(--space-2); }
.po-event__title { font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-md); color: var(--heading); line-height: 1.3; }
.po-event__with { font-size: var(--font-size-sm); color: var(--muted); }
.po-event__desc { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.7; }
.po-event__media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--surface-deep); }
.po-event__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .po-event { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .po-event--media { grid-template-columns: 9rem minmax(0, 1fr) 11rem; }
}

/* Google reviews strip (R7) ─ server-rendered by the Worker onto the
   `[data-po-reviews]` placeholder (src/partials/reviews.html); `hidden`
   until a snapshot exists, so an empty strip never reserves height and
   never shifts anything below it. */
.po-reviews__aggregate { font-size: var(--font-size-md); color: var(--muted); }
.po-reviews__grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  margin-top: var(--space-7);
}
.po-review {
  display: grid; gap: var(--space-2); align-content: start;
  padding: var(--space-5);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.po-section--surface .po-review { background: var(--surface); }
.po-review__stars { color: var(--primary); font-size: var(--font-size-md); letter-spacing: 0.08em; line-height: 1; }
.po-review__excerpt { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.7; }
.po-review__author { font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-sm); color: var(--heading); }
.po-review__time { font-size: var(--font-size-xs); color: var(--muted); }

/* FAQ ─ native disclosure, one question per item */
.po-faq { display: grid; gap: var(--space-2); }
.po-faq__item { border-top: 1px solid var(--border); }
.po-faq__item:last-child { border-bottom: 1px solid var(--border); }
.po-faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) 0;
  font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-md); color: var(--heading);
}
.po-faq__q::-webkit-details-marker { display: none; }
.po-faq__q::after { content: "+"; flex: none; font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform var(--dur) var(--ease); }
.po-faq__item[open] > .po-faq__q::after { transform: rotate(45deg); }
.po-faq__a { padding-bottom: var(--space-5); color: var(--muted); line-height: 1.75; }
.po-faq__a > * + * { margin-top: var(--space-3); }
.po-faq__group { margin-top: var(--space-7); }
.po-faq__group:first-child { margin-top: 0; }

/* Tiles ─ small titled cards (press mentions, perks, short facts) */
.po-tiles { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.po-tile { padding: var(--space-5); text-align: center; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); }
.po-tile__title, .po-tile__sub, .po-tile__body { display: block; }   /* spans or ps, same result */
.po-tile__title { font-family: var(--font-soft); font-weight: 600; font-size: var(--font-size-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.po-tile__sub { font-size: var(--font-size-xs); color: var(--muted); margin-top: var(--space-1); }
.po-tile__body { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.65; margin-top: var(--space-2); }

/* Videos ─ thumbnail, title, quiet call to action */
.po-videos { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.po-video { display: grid; gap: var(--space-3); color: var(--text); }
.po-video__title { font-family: var(--font-soft); font-weight: 500; font-size: var(--font-size-md); color: var(--heading); line-height: 1.3; }
.po-video__cta { font-family: var(--font-display); font-size: var(--font-size-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }

/* Table ─ pricing and terms tables */
.po-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
.po-table th, .po-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.po-table th { font-family: var(--font-soft); font-weight: 600; font-size: var(--font-size-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--heading); }
.po-table td { color: var(--muted); }
.po-table-wrap { overflow-x: auto; }

/* Statement ─ one short centred line of display type (thank-you pages, 404) */
.po-statement { text-align: center; display: grid; gap: var(--space-4); justify-items: center; max-width: var(--container-narrow); margin-inline: auto; }

/* forms: honeypot + states */
/* .po-form__hp: the honeypot field. Off-screen rather than display:none or
   visibility:hidden, since some scripted fillers skip inputs that are
   invisible by those two properties specifically but still walk the DOM for
   anything else matching a name/type. It is also excluded from tab order
   (tabindex="-1" in the markup) so a sighted keyboard user never lands on it. */
.po-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* .po-form__status: inline success/error copy under the submit button,
   filled in by site.js after a fetch-based submit resolves. Hidden by
   default in markup (the `hidden` attribute) until JS has something to say. */
.po-form__status { margin-top: var(--space-2); font-size: var(--font-size-sm); }
.po-form__status--ok { color: var(--primary); }
.po-form__status--error { color: #b3261e; }

/* Sticky mobile bar ─ Book · Call, phones only, appears after the hero has
   scrolled out of view. site.js toggles `.is-visible`; hidden state uses
   visibility (not display) so a hidden bar is never in the tab order or the
   accessibility tree, and the transform/opacity pair gives a slide-up that
   the global reduced-motion rule below already zeroes out. Safe-area padding
   keeps it clear of the home-indicator on notched phones. Never shown at
   760px+ (the same breakpoint the mobile nav uses). */
.po-stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-overlay);
  display: none;
  visibility: hidden; opacity: 0; transform: translateY(100%);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.po-stickybar.is-visible { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
@media (max-width: 759px) {
  .po-stickybar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: var(--navy);
    padding: var(--space-3) var(--gutter);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 10px rgba(31, 27, 22, 0.12);
  }
}
.po-stickybar__btn {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-soft); font-weight: 600; font-size: var(--font-size-sm); letter-spacing: 0.02em;
  color: var(--on-dark);
  border-radius: var(--radius);
}
.po-stickybar__btn svg { width: 1.1rem; height: 1.1rem; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; }
.po-stickybar__btn--book { background: var(--primary); }
.po-stickybar__btn--book + .po-stickybar__btn--call { margin-left: var(--space-3); }
.po-stickybar__btn--call { background: rgba(255, 255, 255, 0.12); }
/* Always on the navy bar: the on-dark ring is unconditional here, no
   surface-dependent switch needed. */
.po-stickybar__btn:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
/* Never overlap the chat launcher: it sits bottom-right at the same
   breakpoint, so site.js adds `.is-shifted` (mirroring the bar's own
   `.is-visible`) to lift it clear of the bar's height while the bar shows. */
@media (max-width: 759px) {
  .po-chat { transition: transform var(--dur) var(--ease); }
  .po-chat.is-shifted { transform: translateY(calc(-1 * (3.6rem + env(safe-area-inset-bottom, 0px)))); }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .po-fly { display: none; }
  .po-reveal, .po-reveal [data-stagger] { opacity: 1; transform: none; transition: none; }
  .po-hero__media { transform: none; will-change: auto; }
  .po-fly__leaf { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
