/* Ripple Mindfulness
   Layout: single column of full-width bands, porcelain and celadon alternating,
   one cobalt band for visiting details. Palette: deep blue on a cool white,
   with a pale celadon for quieter bands. Ripples (concentric rings) are the
   recurring motif: logo, hero, breathing exercise and photo frames. */

:root {
  --porcelain: #f3f6f7;   /* page ground, a cool white with a blue bias */
  --glaze: #e1eae8;       /* celadon band */
  --cobalt: #24428f;      /* accent, buttons, links */
  --cobalt-deep: #16295c; /* headings */
  --ink: #1c2331;         /* body text */
  --muted: #566276;
  --line: #c6d1d6;
  --surface: #ffffff;     /* cards and inputs */
  --on-cobalt: #f3f6f7;
  --on-accent: #f3f6f7;   /* text on blue buttons */
  --footer-bg: #16295c;   /* the footer stays navy in both themes */
  --cobalt-band: #1f3a80;
  --photo-filter: saturate(0.88) contrast(0.96);  /* softens photos to suit the palette */

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --step-4: clamp(2.9rem, 1.6rem + 5.5vw, 5.25rem);

  --radius: 6px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --porcelain: #0e1424;
    --glaze: #141d33;
    --cobalt: #93abf2;
    --cobalt-deep: #cdd9fb;
    --ink: #e2e8f2;
    --muted: #9ba7bd;
    --line: #2a3555;
    --surface: #18223b;
    --on-cobalt: #f3f6f7;
    --on-accent: #0e1424;
    --cobalt-band: #1b2f68;
    --photo-filter: saturate(0.85) brightness(0.86);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --porcelain: #0e1424;
  --glaze: #141d33;
  --cobalt: #93abf2;
  --cobalt-deep: #cdd9fb;
  --ink: #e2e8f2;
  --muted: #9ba7bd;
  --line: #2a3555;
  --surface: #18223b;
  --on-cobalt: #f3f6f7;
  --on-accent: #0e1424;
  --cobalt-band: #1b2f68;
  --photo-filter: saturate(0.85) brightness(0.86);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Paint the phone's top inset behind the sticky header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--porcelain);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--cobalt-deep);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }

a { color: var(--cobalt); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.narrow { max-width: 46rem; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cobalt);
  color: var(--on-accent);
  padding: 0.75rem 1rem;
  z-index: 20;
}
.skip:focus { left: var(--gutter-l); top: env(safe-area-inset-top, 0px); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: color-mix(in srgb, var(--porcelain) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cobalt-deep);
  text-decoration: none;
}
/* Logo: a drop and its ripples beside a two-line wordmark, drawn in the
   page's own colours so it suits light and dark themes */
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; color: var(--cobalt); }
.brand-name { display: grid; line-height: 1; }
.brand-word { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; color: var(--cobalt-deep); }
.brand-sub { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; color: var(--cobalt); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); }
.site-footer .brand-mark { width: 48px; height: 48px; color: #b9c9f5; }
.site-footer .brand-word { font-size: 1.6rem; color: #f3f6f7; }
.site-footer .brand-sub { font-size: 0.9rem; color: #b9c9f5; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; font-family: var(--font-display); }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--cobalt); }
.site-nav .nav-cta {
  color: var(--on-accent);
  background: var(--cobalt);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { color: var(--on-accent); filter: brightness(1.1); }

/* Burger button, shown on phones. Its three bars turn into a cross when the menu is open. */
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  color: var(--cobalt-deep);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.burger { display: grid; gap: 6px; width: 26px; }
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.75rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-top: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 0.75rem; text-align: center; border-top: 0; padding: 0.7rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 1rem var(--font-display);
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;   /* comfortable to tap */
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--cobalt); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-quiet { color: var(--cobalt-deep); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--cobalt); }
.btn-ring { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn-ring:hover, .btn-ring[aria-pressed="true"] { background: var(--cobalt); color: var(--on-accent); }
.btn-light { background: var(--on-cobalt); color: #16295c; }
.btn-small { padding: 0.45rem 1.1rem; font-size: 0.9rem; background: var(--cobalt); color: var(--on-accent); }
.btn-small:hover { filter: brightness(1.1); }
.btn-outline { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn-outline:hover { background: var(--cobalt); color: var(--on-accent); filter: none; }
.btn-large { padding: 0.95rem 1.8rem; font-size: 1.1rem; justify-self: start; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.btn-light:hover { filter: brightness(0.95); }

/* Hero: the water-drop photo. On phones it sits above the text; on wider
   screens it fills the hero, darkened on the left so white text reads clearly. */
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.hero-media img {
  display: block;
  width: 100%;
  height: clamp(210px, 62vw, 340px);
  object-fit: cover;
  object-position: center 58%;
  filter: var(--photo-filter);
}
.hero-inner { position: relative; padding-block: 1rem 2rem; }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; max-width: 40rem; }
.hero h1 {
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.lede { font-size: 1.2rem; max-width: 34em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

@media (max-width: 760px) {
  .hero-copy { gap: 0.9rem; }
  .hero .lede { font-size: 1.05rem; line-height: 1.5; }
  .hero-actions { gap: 0.5rem; margin-top: 0.25rem; }
  .hero-actions .btn { padding: 0.65rem 1rem; font-size: 0.95rem; }
}
@media (max-width: 380px) {
  .hero .eyebrow { font-size: 0.76rem; letter-spacing: 0.05em; }
  .hero-actions { gap: 0.4rem; }
  .hero-actions .btn { padding: 0.6rem 0.7rem; font-size: 0.88rem; }
}
/* The photo fills the hero only where there's room beside the drop for the text */
@media (min-width: 1180px) {
  .hero { min-height: clamp(480px, 52vw, 680px); justify-content: center; background: #0b1530; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { height: 100%; object-position: 72% 42%; }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 15, 35, 0.86) 0%, rgba(8, 15, 35, 0.62) 36%, rgba(8, 15, 35, 0) 68%);
  }
  .hero-inner { padding-block: clamp(3rem, 6vw, 5rem); }
  /* Text on the photo is always light, in both themes */
  .hero .eyebrow { color: #b9c9f5; }
  .hero h1 { color: #ffffff; }
  .hero .lede { color: #e3e9f5; max-width: 32em; }
  .hero .btn-primary { background: #f3f6f7; color: #16295c; }
  .hero .btn-quiet { color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
  .hero .btn-quiet:hover { border-color: #ffffff; }
}

/* Breathing exercise */
.breathe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.breathe-copy { display: grid; gap: 1rem; max-width: 30rem; min-width: 0; }
@media (max-width: 760px) { .breathe { grid-template-columns: minmax(0, 1fr); } }

/* Breathing rings: concentric circles that swell with the breath */
.wheel { margin: 0; display: grid; gap: 1.25rem; justify-items: center; }
.wheel-stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  max-width: 100%;
  display: grid;
  place-items: center;
}
.wheel-rings {
  position: absolute;
  inset: 0;
  transform: scale(0.8);
  transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1);
}
.wheel-rings span {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--cobalt);
  inset: var(--i);
  opacity: var(--o);
}
.wheel-rings span:nth-child(1) { --i: 0%;  --o: 0.25; border-width: 1px; }
.wheel-rings span:nth-child(2) { --i: 7%;  --o: 0.4; }
.wheel-rings span:nth-child(3) { --i: 14%; --o: 0.6; }
.wheel-rings span:nth-child(4) { --i: 21%; --o: 0.8; }
.wheel-rings span:nth-child(5) {
  --i: 28%; --o: 1;
  background: var(--porcelain);
  border-width: 3px;
}
.wheel-rings.is-in { transform: scale(1); }
.wheel-rings.is-out { transform: scale(0.8); transition-duration: 6s; }
.wheel-prompt {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cobalt-deep);
  text-align: center;
  max-width: 6.5em;
  line-height: 1.2;
}
.wheel figcaption { display: grid; gap: 0.5rem; justify-items: center; text-align: center; }
.wheel-note { font-size: var(--step--1); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .wheel-rings, .wheel-rings.is-in, .wheel-rings.is-out { transform: scale(0.86); transition: none; }
}

/* Bands */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-glaze { background: var(--glaze); }
.band-cobalt { background: var(--cobalt-band); color: var(--on-cobalt); }
.band-cobalt h2 { color: var(--on-cobalt); }
.band-cobalt .eyebrow { color: #b9c9f5; }

.section-head { display: grid; gap: 0.75rem; margin-bottom: 2.5rem; max-width: 40rem; }
.section-lede { color: var(--muted); }

/* Session cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 700px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  min-width: 0;
}
.card-meta {
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--step--1);
  color: var(--muted);
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
}
.card-price p { min-width: 0; }
.card-price a { font-family: var(--font-display); font-weight: 600; }
.tbc {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cobalt-deep);
  margin-right: 0.35rem;
}

/* Sequence */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}
@media (max-width: 520px) { .flow { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
.flow li { display: grid; gap: 0.5rem; align-content: start; counter-increment: step; min-width: 0; }
.flow li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--cobalt);
  color: var(--cobalt);
  font: 700 1rem var(--font-display);
  margin-bottom: 0.25rem;
}
.flow p { color: var(--muted); }

/* Timetable */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.timetable { width: 100%; border-collapse: collapse; min-width: 34rem; font-variant-numeric: tabular-nums; }
.timetable th, .timetable td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); }
.timetable tbody tr:last-child td { border-bottom: 0; }
.timetable th {
  font: 600 var(--step--1) var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.timetable strong { font-family: var(--font-display); color: var(--cobalt-deep); margin-right: 0.35rem; }
.pill {
  display: inline-block;
  font: 600 0.8rem var(--font-display);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.pill-open { border-color: var(--cobalt); color: var(--cobalt); }
.book-cell { text-align: right; width: 1%; white-space: nowrap; }

/* On phones, each timetable row becomes a small card so its Book button is in view */
@media (max-width: 600px) {
  .table-scroll { overflow: visible; }
  .timetable, .timetable tbody { display: block; min-width: 0; }
  .timetable thead { display: none; }
  .timetable tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 1rem;
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .timetable tbody tr:last-child { border-bottom: 0; }
  .timetable td { display: block; padding: 0; border: 0; grid-column: 1; }
  .timetable td:nth-child(2) { font-family: var(--font-display); font-weight: 600; color: var(--cobalt-deep); }
  .timetable td:nth-child(3) { color: var(--muted); font-size: var(--step--1); }
  .timetable td.book-cell { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: auto; }
}

/* Photos, and sections with text on one side and a photo on the other */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--glaze); }
.photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* The lotus is shown square at every size so no petals are cut off */
.photo-lotus img { aspect-ratio: 1; }
/* Lotus and forest sit in a soft arch with a thin blue outline, the same
   family as the portrait ring and the breathing rings */
.photo-arch {
  --arch: 50% 50% 14px 14px / 34% 34% 14px 14px;
  padding: 10px;
  border: 2px solid var(--cobalt);
  border-radius: var(--arch);
  background: transparent;
  overflow: visible;
}
.photo-arch img { border-radius: var(--arch); }
.photo img { filter: var(--photo-filter); }
/* The portrait is round, inside a ring that echoes the breathing rings */
.photo-portrait {
  width: 100%;
  max-width: 380px;
  justify-self: center;
  padding: 12px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: transparent;
  overflow: visible;
}
.photo-portrait img { aspect-ratio: 1; border-radius: 50%; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-copy { min-width: 0; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .photo img { aspect-ratio: 3 / 2; }
  .photo-portrait img { aspect-ratio: 1; }
  .photo-lotus img { aspect-ratio: 1; }
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about-copy { display: grid; gap: 1rem; max-width: 38rem; min-width: 0; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
  font: 600 1.1rem var(--font-display);
  color: var(--cobalt-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cobalt);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.25rem; color: var(--muted); max-width: 40em; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact-copy { display: grid; gap: 1rem; min-width: 0; }
.contact-copy .book-lede { color: #d7e0f8; max-width: 30em; }
.contact-form { display: grid; gap: 1rem; min-width: 0; }
.form-title { color: var(--on-cobalt); font-size: var(--step-1); }
.book-facts {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: #d7e0f8;
  font-size: var(--step--1);
}
.book-facts li { padding-left: 1.4rem; position: relative; }
.book-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 2px solid #b9c9f5;
}
.field { display: grid; gap: 0.35rem; }
.field label { font: 600 0.95rem var(--font-display); }
.optional { font-weight: 400; color: #b9c9f5; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-cobalt);
  color-scheme: dark;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid #b9c9f5;
  outline-offset: 1px;
}
.field select option { color: #1c2331; background: #ffffff; }
.contact-form .btn { justify-self: start; }
.form-status { min-height: 1.5em; color: #d7e0f8; font-size: var(--step--1); }

/* Footer: its top edge is a gentle water line */
.site-footer { background: var(--porcelain); color: var(--muted); }
.footer-wave { display: block; width: 100%; height: 56px; color: var(--footer-bg); }
.footer-inner {
  background: var(--footer-bg);
  color: #e6ecf7;
  display: grid;
  gap: 0.35rem;
  padding-block: 2rem 2.5rem;
  max-width: none;
}
.footer-brand { margin-bottom: 0.5rem; }
.footer-small { font-size: var(--step--1); opacity: 0.75; }

.nowrap { white-space: nowrap; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  /* Tighter vertical rhythm so the page reads as one calm scroll */
  .band { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.5rem; gap: 0.5rem; }
  .card { padding: 1.25rem; }

  /* Breathing rings: smaller, closer to their text */
  .breathe { gap: 1.25rem; }
  .wheel { gap: 1rem; }
  .wheel-stage { width: min(100%, 280px); }
  .wheel-prompt { font-size: 0.85rem; max-width: 6em; }

  /* First-session steps as a compact timeline: number on the left, joined by a line */
  .flow { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .flow li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.2rem; position: relative; }
  .flow li::before { grid-row: 1 / span 2; margin: 0; position: relative; z-index: 1; background: var(--glaze); }
  .flow h3, .flow p { grid-column: 2; }
  .flow h3 { padding-top: 0.4rem; }
  .flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(1.2rem - 1px);
    top: 2.4rem;
    bottom: -1.25rem;
    width: 2px;
    background: var(--line);
  }

  /* Pictures sized for a phone screen */
  .photo-lotus { width: min(100%, 300px); justify-self: center; }
  .photo-forest img { aspect-ratio: 3 / 2; }
  .photo-portrait { max-width: 240px; padding: 8px; }
  .about { gap: 1.75rem; }

  /* Timetable: "Weekly" on its own line */
  .timetable td:first-child strong { display: block; }

  /* Leave room at the bottom so the booking bar never covers the footer */
  .footer-inner { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* Booking bar */
.mobile-book { display: none; }
@media (max-width: 760px) {
  .mobile-book {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem var(--gutter-r) calc(0.6rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: color-mix(in srgb, var(--porcelain) 94%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(14, 20, 36, 0.08);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .mobile-book.is-shown { transform: none; visibility: visible; transition: transform 0.3s ease; }
  .mobile-book-text { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); }
  .mobile-book-text strong { color: var(--cobalt-deep); font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .mobile-book, .mobile-book.is-shown { transition: none; } }
