/* Suzanne Beaudette, RMT. One stylesheet for the whole site. */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-style: italic; font-display: swap; src: url('/fonts/lato-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/lato-700.woff2') format('woff2'); }
@font-face { font-family: 'Great Vibes'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/great-vibes-400.woff2') format('woff2'); }

:root {
  --teal: #1B4442;
  --teal-deep: #143533;
  --teal-link: #1F6F66;
  --gold: #E8D3A9;
  --gold-text: #6F5519;
  --cream: #F9F5EC;
  --sand: #F3E9D2;
  --ink: #1F2D33;
  --text: #33464D;
  --text-strong: #2C3D44;
  --text-soft: #52636B;
  --on-teal: #D9E6E2;
  --on-teal-soft: #C9D9D5;
  --line: #DDD0B2;
  --line-soft: #E4D9C0;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Lato, 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(24px, 4vw, 48px);
  --section: clamp(60px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--teal-deep); }
:focus-visible { outline: 2px solid var(--teal-link); outline-offset: 3px; border-radius: 6px; }
.on-teal :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 10; background: var(--gold); color: var(--teal-deep); font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.serif { font-family: var(--serif); font-weight: 600; }
main { flex: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold:hover { background: #F1E1BF; }
.btn-teal { background: var(--teal); color: var(--cream); }
.btn-teal:hover { background: #235753; }
.btn-line { border-color: var(--gold); color: var(--cream); }
.btn-line:hover { background: rgba(232, 211, 169, 0.12); }
.btn-big { font-size: 18px; padding: 18px 34px; }

/* Header and navigation */
.site-header { background: var(--teal); color: var(--cream); }
.site-header.is-hero { overflow: hidden; overflow: clip; background: radial-gradient(120% 95% at 72% 34%, #2B6661 0%, #1B4442 58%, #173B39 100%); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 24px; padding-bottom: 24px; }
.is-hero .nav { padding-top: 28px; padding-bottom: 0; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-name { display: flex; flex-direction: column; gap: 3px; min-height: 44px; justify-content: center; }
.brand-name:hover { text-decoration: none; }
.brand-title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 26px); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.brand-role { font-size: 11px; font-weight: 700; letter-spacing: 0.26em; color: var(--gold); white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(232, 211, 169, 0.55); border-radius: 999px; background: transparent; align-items: center; justify-content: center; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px; font-size: 16px; list-style: none; padding: 0; }
.nav-links a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid transparent; }
.nav-links a[aria-current] { border-bottom-color: var(--gold); }
.nav-links .btn { font-size: 16px; }

/* The knot: flat picture first, the turning 3D one fades in over it */
.knot { position: relative; flex: none; width: 64px; height: 64px; }
.knot img, .knot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.knot img { padding: 9%; transition: opacity 0.6s ease; }
.knot canvas { opacity: 0; transition: opacity 0.6s ease; cursor: grab; touch-action: pan-y; border-radius: 50%; }
.knot canvas.is-dragging { cursor: grabbing; }
.knot.is-ready canvas { opacity: 1; }
.knot.is-ready img { opacity: 0; }
.knot-small { width: 56px; height: 56px; }
.knot-large { width: 84px; height: 84px; }
.about-head { --knot-size: clamp(200px, 27vw, 390px); }
.knot-float { display: flex; width: var(--knot-size); }
.knot-feature { width: var(--knot-size); height: var(--knot-size); }
.knot-feature img { padding: 12%; }

/* Home: hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; padding-top: clamp(36px, 5vw, 64px); padding-bottom: 40px; }
.hero-text { flex: 1.25 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.03; letter-spacing: -0.012em; color: #fff; text-wrap: balance; }
.hero-lead { max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--on-teal); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 18px; border-bottom: 1px solid var(--gold); padding: 10px 0 6px; }
.arrow-link:hover { text-decoration: none; border-bottom-width: 2px; padding-bottom: 5px; }
.arrow-link-dark { align-self: flex-start; font-size: 17px; font-weight: 700; color: var(--teal); border-bottom-color: var(--teal-link); }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--on-teal-soft); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.hero-photo { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero-photo img { width: min(440px, 100%); aspect-ratio: 440 / 560; object-fit: cover; object-position: 50% 30%; border-radius: 240px 240px 14px 14px; border: 1px solid rgba(232, 211, 169, 0.55); background: var(--teal-deep); }
.wave { position: relative; z-index: 1; overflow: visible; width: 100%; height: clamp(56px, 6vw, 90px); }

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-sand { background: var(--sand); }
.section-teal { background: var(--teal); color: var(--cream); }
.split { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 80px); align-items: flex-start; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.2vw, 54px); line-height: 1.06; color: var(--teal); text-wrap: balance; }
.section-teal .h2 { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* Home: booking */
.book { padding-top: 56px; }
.book-intro { flex: 1 1 320px; min-width: 0; }
.book-intro .h2 { font-size: clamp(38px, 3.8vw, 48px); }
.book-intro p { max-width: 30em; color: var(--text); }
.book-intro p.small { font-size: 16px; color: var(--text-soft); }
.visits { flex: 1.5 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.visit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px); border-bottom: 1px solid #EFE7D4; }
a.visit:hover { text-decoration: none; background: #FDFBF6; }
.visit-name { display: flex; flex-direction: column; gap: 4px; }
.visit-name strong { font-size: 19px; line-height: 1.3; color: var(--teal); }
.visit-name span { font-size: 15px; line-height: 1.4; color: var(--text-soft); }
.visit-price { display: flex; align-items: center; gap: 22px; }
.price { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; color: var(--teal); font-variant-numeric: lining-nums tabular-nums; }
.visit-go { font-size: 15px; font-weight: 700; color: var(--teal-link); border-bottom: 1px solid var(--teal-link); padding-bottom: 2px; white-space: nowrap; }
.visits-note { padding: 18px clamp(20px, 2.4vw, 28px); font-size: 14px; line-height: 1.5; color: var(--text-soft); background: #FBF8F1; }

/* Home: first visit */
.first { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.first-head { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.first-head p { font-size: 17px; color: var(--text-soft); max-width: 22em; }
.first-head a { color: var(--teal); font-weight: 700; white-space: nowrap; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3vw, 38px); line-height: 1.1; color: var(--teal); }
.steps { flex: 2.2 1 520px; min-width: 0; list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 40px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid #D9C9A3; }
.steps li::before { content: counter(step); font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; color: var(--gold-text); font-variant-numeric: lining-nums; }
.steps h3 { font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--teal); }
.steps p { font-size: 17px; color: var(--text); }
.faq { flex: 2.2 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.faq details { border-bottom: 1px solid #EFE7D4; }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px clamp(20px, 2.4vw, 28px); font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--teal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #FDFBF6; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq summary svg { flex: none; transition: transform 0.25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 clamp(20px, 2.4vw, 28px) 22px; max-width: 44em; font-size: 17px; color: var(--text); }

/* Home: about */
.about-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.about-body { flex: 1.35 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--on-teal); }
.signature { margin-top: 6px; font-family: 'Great Vibes', cursive; font-size: clamp(42px, 4vw, 50px); line-height: 1; color: var(--gold); }
.facts { margin-top: 18px; padding-top: 26px; border-top: 1px solid rgba(232, 211, 169, 0.35); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 22px 32px; font-size: 15px; line-height: 1.55; }
.facts dt { font-weight: 700; color: var(--gold); }
.facts dd { margin-top: 4px; color: var(--on-teal); }

/* Video cards (home care library, notes) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px 28px; list-style: none; padding: 0; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card:hover { text-decoration: none; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; background: var(--teal-deep); transition: transform 0.25s ease; }
.card:hover img { transform: translateY(-3px); }
.card-text { display: flex; flex-direction: column; gap: 4px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.1; color: var(--teal); }
.card-meta { font-size: 15px; line-height: 1.4; color: var(--text-soft); }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }
.section-teal .card-title { color: #fff; }
.section-teal .card-meta { color: var(--on-teal-soft); }
.fine { font-size: 14px; line-height: 1.6; color: var(--text-soft); max-width: 52em; }
.section-teal .fine { color: var(--on-teal-soft); }

/* Home: this week */
.week-head { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.week-head p { font-size: 17px; color: var(--text-soft); max-width: 22em; }
.week-body { flex: 2.2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 14px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.feature:hover { text-decoration: none; }
.feature:hover .feature-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.date { font-size: 15px; font-weight: 700; color: var(--gold-text); }
.feature-title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; color: var(--teal); text-wrap: balance; }
.feature-summary { font-size: clamp(17px, 1.5vw, 19px); color: var(--text); max-width: 36em; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; color: var(--text-soft); }
.older { list-style: none; padding: 0; font-size: clamp(17px, 1.5vw, 19px); }
.older li { border-bottom: 1px solid #E6DCC6; }
.older a { display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 18px 0; color: var(--teal); }
.older .older-date { flex: none; width: 130px; padding-top: 4px; font-size: 15px; color: var(--text-soft); font-variant-numeric: tabular-nums; }

/* Home: find me */
.find { display: flex; flex-direction: column; gap: 40px; }
.find-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 28px clamp(28px, 5vw, 64px); align-items: start; }
.place { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; font-size: 17px; color: var(--text); }
.place h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 2.6vw, 32px); line-height: 1.1; color: var(--teal); }
.place strong { color: var(--teal); }
.place .btn { align-self: flex-start; margin-top: 8px; }
.find-notes { display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: #44555C; max-width: 30em; }
.find-notes h3 { font-size: 18px; font-weight: 700; color: var(--teal); }

/* Footer */
.site-footer { background: var(--teal-deep); color: var(--on-teal); }
.footer { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px 72px; align-items: center; justify-content: space-between; }
.footer-brand { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 18px; }
.footer-brand div { display: flex; flex-direction: column; gap: 6px; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1; color: #fff; }
.footer-reg { font-size: 14px; line-height: 1.5; color: var(--on-teal-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 30px; font-size: 16px; color: var(--cream); list-style: none; padding: 0; }
.footer-links a { display: block; padding: 12px 0; }
.footer-legal { padding-top: 28px; border-top: 1px solid rgba(232, 211, 169, 0.3); font-size: 14px; line-height: 1.65; color: var(--on-teal-soft); display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: space-between; }
.footer-legal p { max-width: 46em; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Inner pages */
.page { padding-top: 36px; padding-bottom: clamp(64px, 8vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: var(--text-soft); list-style: none; padding: 0; }
.crumbs a { display: inline-block; padding: 8px 0; }
.crumbs [aria-current] { color: var(--teal); font-weight: 700; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.01em; color: var(--teal); text-wrap: balance; }
.page-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--text); max-width: 40em; }
.page-head { display: flex; flex-direction: column; gap: 10px; }

/* Exercise page */
.exercise { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.exercise-main { flex: 2.4 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.exercise-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1100px) { .exercise-side { margin-top: 128px; } }
.player { position: relative; border-radius: 14px; overflow: hidden; background: var(--teal-deep); aspect-ratio: 16 / 9; display: flex; justify-content: center; }
.player video { width: 100%; height: 100%; object-fit: contain; background: var(--teal-deep); }
.player.is-tall video { width: auto; aspect-ratio: 9 / 16; }
@media (max-width: 720px) {
  .player.is-tall { aspect-ratio: 9 / 16; max-height: 84vh; margin-left: auto; margin-right: auto; }
  .player.is-tall video { width: 100%; }
}
.play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 999px; border: none; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(20, 53, 51, 0.35); transition: transform 0.2s ease; }
.play:hover { transform: scale(1.06); }
.play:focus-visible { outline-color: #fff; border-radius: 999px; }
.player-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.player-bar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.shape-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid #D9C9A3; border-radius: 999px; background: #fff; }
.shape-switch button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: none; font-size: 15px; font-weight: 700; background: transparent; color: var(--teal); }
.shape-switch button[aria-pressed="true"] { background: var(--teal); color: var(--cream); }
.hint { font-size: 15px; color: var(--text-soft); }
.cc { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); }
.written { margin-top: 26px; padding-top: 36px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.written h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3vw, 38px); line-height: 1.1; color: var(--teal); }
.written h3 { margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--teal); }
.written p, .written ol, .written ul { font-size: 18px; line-height: 1.6; color: var(--text-strong); max-width: 38em; }
.written ol, .written ul { padding-left: 24px; display: flex; flex-direction: column; gap: 12px; }
.panel { border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.panel-teal { background: var(--teal); color: var(--cream); }
.panel-teal h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; color: #fff; }
.panel-teal p { font-size: 15px; line-height: 1.5; color: var(--on-teal); }
.dose { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.45; }
.dose div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(232, 211, 169, 0.3); }
.dose div:last-child { padding-bottom: 0; border-bottom: none; }
.dose dt { color: var(--on-teal); }
.dose dd { font-weight: 700; text-align: right; }
.panel-white { background: #fff; border: 1px solid var(--line-soft); gap: 10px; }
.panel-white h2 { font-size: 18px; font-weight: 700; color: var(--teal); }
.panel-white p { font-size: 16px; line-height: 1.6; color: var(--text); }
.side-links { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; color: var(--teal); list-style: none; padding: 0; }
.side-links a, .side-links button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 0; border: none; border-bottom: 1px solid var(--line); background: none; text-align: left; font-weight: 700; }
.side-links button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Library */
.group-title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3vw, 38px); line-height: 1.1; color: var(--teal); }
.library-group { display: flex; flex-direction: column; gap: 24px; margin-top: 12px; }
.howto { margin-top: 28px; padding-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px 48px; }
.howto h3 { font-size: 18px; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.howto p { font-size: 17px; color: var(--text); }

/* Notes and plain text pages */
.prose { display: flex; flex-direction: column; gap: 20px; max-width: 40em; font-size: clamp(18px, 1.5vw, 19px); line-height: 1.7; color: var(--text-strong); }
.prose h2 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.15; color: var(--teal); }
.prose h3 { margin-top: 8px; font-size: 19px; font-weight: 700; color: var(--teal); }
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.prose a { color: var(--teal-link); text-decoration: underline; text-underline-offset: 3px; }
.note-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; color: var(--text-soft); }
.note-video { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; max-width: 46em; }
.note-video:hover { text-decoration: none; border-color: #C9B683; }
.note-video img { width: 132px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.note-video div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.note-video .label { font-size: 15px; font-weight: 700; color: var(--gold-text); }
.note-end { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 46em; }
.note-list { list-style: none; padding: 0; display: flex; flex-direction: column; max-width: 52em; }
.note-list li { border-bottom: 1px solid var(--line); }
.note-list a { display: flex; flex-direction: column; gap: 8px; padding: 28px 0; }
.note-list a:hover { text-decoration: none; }
.note-list a:hover .feature-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.note-list .feature-title { font-size: clamp(27px, 2.8vw, 34px); }
.center-page { align-items: flex-start; gap: 22px; padding-top: clamp(48px, 8vw, 96px); }

/* Narrow screens */
@media (max-width: 1040px) {
  .js .nav-toggle { display: flex; }
  .js .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 12px; font-size: 18px; }
  .js .nav-links.is-open { display: flex; }
  .js .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(232, 211, 169, 0.22); }
  .js .nav-links a[aria-current] { border-bottom-color: rgba(232, 211, 169, 0.22); color: var(--gold); }
  .js .nav-links .btn { margin-top: 16px; font-size: 17px; }
  .brand-role { display: none; }
  .nav .knot { width: 46px; height: 46px; }
  .nav { padding-top: 20px; padding-bottom: 20px; column-gap: 12px; }
  .is-hero .nav { padding-top: 20px; }
  .js .brand { flex: 1 1 0; gap: 10px; }
  .brand-title { font-size: clamp(17px, 5.4vw, 24px); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { gap: 28px; padding-bottom: 28px; }
  .hero-text { gap: 22px; flex-basis: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .hero-actions .arrow-link { justify-content: center; border-bottom: none; }
  .ticks { gap: 8px 20px; }
  .hero-photo { flex-basis: 100%; }
  .hero-photo img { width: 100%; aspect-ratio: auto; height: 330px; object-position: 50% 22%; border-radius: 171px 171px 12px 12px; }
  .visit-go { display: none; }
  .visit { flex-wrap: nowrap; }
  .visit-name { min-width: 0; }
  .visit-price { gap: 10px; }
  .price { font-size: 26px; }
  .about-head { gap: 16px; align-items: center; }
  .about-head .h2 { align-self: stretch; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .card-title { font-size: 22px; }
  .card-meta { font-size: 14px; }
  .knot-large { width: 56px; height: 56px; }
  .older .older-date { width: 100%; padding-top: 0; }
  .hint { flex-basis: 100%; }
  .play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .panel { padding: 22px; }
}

/* Motion: the top of the front page rises in. Everything below is switched on by site.js,
   and only when the visitor has not asked for reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.1s; }
  .hero-text > :nth-child(3) { animation-delay: 0.2s; }
  .hero-text > :nth-child(4) { animation-delay: 0.3s; }
  .hero-photo { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
}
/* Reveal on scroll: each piece arrives as it comes into view, and again each time it comes
   back. "is-done" hands the piece back to its own styles once it has arrived, so hover
   transitions work again. */
main { overflow-x: clip; }
.reveal-on [data-reveal]:not(.is-done) { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 0.9s ease, transform 1.15s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal-on [data-reveal="left"]:not(.is-done) { transform: translate3d(-64px, 0, 0); }
.reveal-on [data-reveal="right"]:not(.is-done) { transform: translate3d(64px, 0, 0); }
.reveal-on [data-reveal="zoom"]:not(.is-done) { transform: scale(0.8); }
.reveal-on [data-reveal="row"]:not(.is-done) { transform: translate3d(0, 24px, 0); }
.reveal-on [data-reveal=""].from-above:not(.is-done) { transform: translate3d(0, -46px, 0); }
.reveal-on [data-reveal="row"].from-above:not(.is-done) { transform: translate3d(0, -24px, 0); }
/* the signature writes itself: the clip is on the inner span, so the paragraph itself can still be seen arriving */
.reveal-on [data-reveal="write"]:not(.is-done) { opacity: 1; transform: none; }
.reveal-on [data-reveal="write"] > span { display: inline-block; }
.reveal-on [data-reveal="write"]:not(.is-done) > span { clip-path: inset(-20% 100% -35% -4%); transition: clip-path 1.7s cubic-bezier(0.45, 0, 0.2, 1) 0.25s; }
.reveal-on [data-delay="1"]:not(.is-done) { transition-delay: 0.11s; }
.reveal-on [data-delay="2"]:not(.is-done) { transition-delay: 0.22s; }
.reveal-on [data-delay="3"]:not(.is-done) { transition-delay: 0.33s; }
.reveal-on [data-delay="4"]:not(.is-done) { transition-delay: 0.44s; }
.reveal-on [data-delay="5"]:not(.is-done) { transition-delay: 0.55s; }
@media (max-width: 720px) {
  .reveal-on [data-reveal="left"]:not(.is-done), .reveal-on [data-reveal="right"]:not(.is-done) { transform: translate3d(0, 38px, 0); }
  .reveal-on [data-reveal="left"].from-above:not(.is-done), .reveal-on [data-reveal="right"].from-above:not(.is-done) { transform: translate3d(0, -38px, 0); }
}
.reveal-on [data-reveal].is-in:not(.is-done) { opacity: 1; transform: none; }
.reveal-on [data-reveal="write"].is-in:not(.is-done) > span { clip-path: inset(-20% -4% -35% -4%); }

/* Parallax: site.js writes --shift (in px) as the page scrolls, so some layers travel slower
   or faster than the page. "translate" is separate from "transform", which the reveals use. */
[data-parallax] { translate: 0 calc(var(--shift, 0) * 1px); will-change: translate; }
[data-parallax-fade] { opacity: var(--fade, 1); }
.section-drift { position: relative; overflow: hidden; overflow: clip; }
.section-drift > .wrap { position: relative; z-index: 1; }
.drift { position: absolute; z-index: 0; width: clamp(280px, 42vw, 600px); height: auto; opacity: 0.5; rotate: calc(var(--shift, 0) * 0.07deg); pointer-events: none; user-select: none; }
.drift-right { right: -7%; top: 22%; }
.drift-left { left: -9%; top: 4%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Printing an exercise: the written version on one sheet */
.print-only { display: none; }
@media print {
  [data-reveal], [data-reveal] > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  [data-parallax] { translate: none !important; opacity: 1 !important; }
  .drift { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; display: block; }
  .site-header, .site-footer, .crumbs, .player, .player-bar, .side-links, .skip, .no-print { display: none !important; }
  .print-only { display: block; font-size: 10pt; color: #333; }
  .page { padding: 0; gap: 14px; }
  .exercise { display: block; }
  .exercise-side { margin-top: 18px; gap: 12px; }
  .page-title { font-size: 28pt; color: #000; }
  .written { margin-top: 8px; padding-top: 12px; gap: 10px; border-top: 1px solid #999; }
  .written h2 { font-size: 16pt; }
  .written p, .written ol, .written ul { font-size: 11.5pt; line-height: 1.45; max-width: none; gap: 5px; color: #000; }
  .written h3 { margin-top: 6px; font-size: 12pt; }
  .panel { padding: 12px 14px; border: 1px solid #999; background: #fff !important; color: #000; break-inside: avoid; gap: 8px; }
  .panel-teal h2, .panel-white h2 { color: #000; font-size: 13pt; font-family: var(--sans); font-weight: 700; }
  .panel-teal p, .panel-white p, .dose, .dose dt { color: #000; font-size: 11pt; }
  .dose div { border-bottom-color: #ccc; padding-bottom: 5px; }
  a { text-decoration: none; }
}
