/* Meadow: sage, sand and clay on a pale sage-white ground. Airy rounded serif (Fraunces, SOFT axis) over Figtree. */
:root {
  --paper: #F4F6F0;      /* page ground: pale sage-white */
  --mist: #E9EEE3;       /* tinted band */
  --sage: #B7C4AB;       /* watercolour sage, decorative fills */
  --sage-deep: #4B6143;  /* links and accents on paper (6:1) */
  --sand: #E6D6B6;       /* sand band and card tint */
  --clay: #A4552F;       /* primary button fill (white text 5.3:1) */
  --clay-ink: #8C4424;   /* clay text on paper (6.5:1) */
  --ink: #26302A;        /* body text */
  --ink-soft: #56604F;   /* secondary text on paper (6:1) */
  --forest: #2C3A2F;     /* footer ground */
  --line: rgba(38, 48, 42, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--clay-ink); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 7.2vw, 6.25rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-variation-settings: "SOFT" 100, "opsz" 36; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--clay-ink); font-weight: 400; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }
.kicker { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 1.25em; }
.fine { font-size: .9375rem; color: var(--ink-soft); }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--clay-ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease;
}
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-ink); color: #fff; transform: translateY(-2px); }
.btn-line { border-color: var(--sage-deep); color: var(--sage-deep); background: transparent; }
.btn-line:hover { background: var(--sage-deep); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 1em; }

/* Header */
.site-header {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); max-width: 1180px; margin: 0 auto;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 400 1.375rem/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.mark { width: 30px; height: 30px; border-radius: 52% 48% 46% 54%; background: radial-gradient(circle at 35% 35%, var(--sand) 0 40%, var(--clay) 41% 62%, var(--sage) 63%); flex: none; }
.top-nav { display: none; align-items: center; gap: 4px; }
.top-nav a, .menu-list a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 500; }
.top-nav a:hover, .menu-list a:hover { background: var(--mist); color: var(--ink); }
.top-nav a[aria-current="page"], .menu-list a[aria-current="page"] { background: var(--sand); color: var(--ink); }
.top-nav .btn { margin-left: 10px; padding: 10px 18px; min-height: 44px; font-size: .9375rem; }
.top-nav a.btn-clay, .menu-list a.btn-clay, .top-nav a.btn-clay[aria-current="page"], .menu-list a.btn-clay[aria-current="page"] { background: var(--clay); color: #fff; }
.top-nav a.btn-clay:hover, .menu-list a.btn-clay:hover { background: var(--clay-ink); color: #fff; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center;
  padding: 10px 18px; border: 2px solid var(--sage-deep); border-radius: 999px; font-weight: 600; color: var(--sage-deep);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--sage-deep); color: var(--paper); }
.menu-list {
  position: absolute; right: var(--gutter); top: 72px; z-index: 5; width: min(300px, calc(100% - 2 * var(--gutter)));
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 10px;
  box-shadow: 0 18px 40px -22px rgba(38, 48, 42, .35); display: grid; gap: 2px;
}
.menu-list .btn { margin-top: 8px; justify-content: center; }
@media (min-width: 860px) {
  .top-nav { display: flex; }
  .menu { display: none; }
}

/* Hero */
.hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 96px); background:
  radial-gradient(60% 50% at 88% 18%, rgba(230, 214, 182, .75), transparent 70%),
  radial-gradient(45% 40% at 5% 80%, rgba(183, 196, 171, .55), transparent 70%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-art { margin: 0; position: relative; }
.photo { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.arch { border-radius: 999px 999px 28px 28px; aspect-ratio: 4 / 5; object-position: 70% 50%; }
.hero-art .photo { transform: translate3d(calc(var(--drift, 0) * 10px), 0, 0); transition: transform .6s ease-out; }
.hero-art figcaption { margin-top: 12px; font-size: .9375rem; color: var(--ink-soft); }
.stamp {
  position: absolute; left: -10px; bottom: 32px; width: 124px; height: 124px; border-radius: 50%;
  background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center;
  font: 600 .9rem/1.2 var(--sans); padding: 16px; transform: rotate(-8deg); margin: 0;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

/* Session band */
.session { background: var(--sand); border-radius: 36px; margin: 0 var(--gutter); padding: clamp(32px, 5vw, 64px); }
.session-grid { display: grid; gap: 28px; }
.session-date { font: 300 clamp(2.4rem, 6vw, 4.6rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--ink); letter-spacing: -0.02em; margin: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(38, 48, 42, .2); }
.facts span:first-child { color: var(--ink-soft); }
.facts strong { font-weight: 600; text-align: right; }
@media (min-width: 900px) { .session-grid { grid-template-columns: 1.2fr .8fr; align-items: end; } }

/* Pillars */
.pillars { display: grid; gap: 20px; margin-top: 40px; }
.pillar { background: var(--mist); border-radius: var(--radius); padding: 32px 28px; }
.pillar .num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: var(--ink); font: 400 1.5rem/1 var(--serif); font-variation-settings: "SOFT" 100; margin-bottom: 22px; }
.pillar:nth-child(2) .num { background: var(--sand); }
.pillar:nth-child(3) .num { background: #E8B9A0; }
.pillar p { color: var(--ink-soft); margin: 0 0 14px; }
.pillar a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pillar:nth-child(2) { margin-top: 56px; }
  .pillar:nth-child(3) { margin-top: 112px; }
}

/* Split blocks (rooms preview, closing) */
.split { display: grid; gap: 40px; align-items: center; }
.split .photo { border-radius: 36px 36px 36px 120px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip > :first-child { order: 2; }
}

/* Rhythm list */
.rhythm { list-style: none; padding: 0; margin: 36px 0 0; display: grid; border-top: 1px solid var(--line); }
.rhythm li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rhythm time { font: 400 1.375rem/1.2 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; color: var(--clay-ink); }
.rhythm p { margin: 0; color: var(--ink-soft); }

/* Teachers */
.teacher-list { display: grid; gap: 56px; margin-top: 48px; }
.teacher { display: grid; gap: 24px; align-items: center; }
.teacher .photo { aspect-ratio: 1 / 1; height: auto; width: 100%; max-width: 340px; align-self: center; border-radius: 50% 50% 46% 54%; }
.teacher:nth-child(even) .photo { border-radius: 42% 58% 50% 50%; }
.teacher-meta { font-weight: 600; color: var(--sage-deep); margin-bottom: 6px; }
.teacher ul { padding-left: 1.1em; margin: 0; color: var(--ink-soft); }
.teacher li + li { margin-top: 6px; }
@media (min-width: 900px) {
  .teacher { grid-template-columns: 340px 1fr; gap: 64px; }
  .teacher:nth-child(even) { grid-template-columns: 1fr 340px; }
  .teacher:nth-child(even) .photo { order: 2; }
}

/* Rooms */
.room-list { display: grid; gap: 28px; margin-top: 48px; }
.room { background: var(--mist); border-radius: 32px; overflow: hidden; display: grid; }
.room .photo { aspect-ratio: 4 / 3; border-radius: 0; }
.room-body { padding: 28px clamp(20px, 3vw, 40px) 36px; }
.room-body p { color: var(--ink-soft); }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.room-meta li { background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: .9375rem; }
@media (min-width: 900px) {
  .room { grid-template-columns: 1fr 1fr; }
  .room:nth-child(even) .photo { order: 2; }
  .room .photo { aspect-ratio: auto; min-height: 100%; }
}

/* Pricing */
.tiers { display: grid; gap: 20px; margin-top: 48px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; background: var(--paper); display: flex; flex-direction: column; }
.tier h3 { margin-bottom: 4px; }
.tier .price { font: 300 clamp(2.6rem, 5vw, 3.6rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; margin: 18px 0 4px; }
.tier .unit { color: var(--ink-soft); margin-bottom: 20px; }
.tier ul { padding-left: 1.1em; color: var(--ink-soft); margin: 0 0 24px; flex: 1; }
.tier li + li { margin-top: 6px; }
.tier .btn { justify-content: center; }
.tier.featured { background: var(--sand); border-color: transparent; }
.tier .tag { display: inline-block; align-self: flex-start; background: var(--clay); color: #fff; font-size: .8125rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tier.featured { transform: translateY(-16px); }
}
.booking { margin-top: 56px; background: var(--mist); border-radius: 32px; padding: clamp(24px, 4vw, 44px); }
.booking .slot-note { color: var(--ink-soft); }

/* Programme */
.day-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; list-style: none; padding: 0; }
.day-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--sage-deep); color: var(--sage-deep); text-decoration: none; font-weight: 600; }
.day-nav a:hover { background: var(--sage-deep); color: var(--paper); }
.day { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; display: grid; gap: 24px; }
.day-head { display: grid; gap: 6px; }
.day-head .kicker { margin: 0; }
.sessions { display: grid; gap: 14px; }
.session-card { background: var(--mist); border-radius: 24px; }
.session-card summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 22px 26px; min-height: 44px; }
.session-card summary::-webkit-details-marker { display: none; }
.session-card .when { font: 400 1.25rem/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; color: var(--clay-ink); }
.session-card .name { font-weight: 600; font-size: 1.0625rem; }
.session-card .teacher-name { display: block; font-weight: 400; color: var(--ink-soft); font-size: .9375rem; }
.session-card .plus { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 1.25rem; color: var(--sage-deep); transition: transform .3s ease; }
.session-card[open] .plus { transform: rotate(45deg); }
.session-card .detail { padding: 0 26px 24px 126px; color: var(--ink-soft); }
.session-card .detail p { margin: 0; }
@media (max-width: 520px) {
  .session-card summary { grid-template-columns: 1fr auto; }
  .session-card .when { grid-column: 1 / -1; }
  .session-card .detail { padding-left: 26px; }
}

/* Apply page */
.bring { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.bring li { display: flex; gap: 12px; align-items: flex-start; }
.bring li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 8px; border-radius: 52% 48% 46% 54%; background: var(--clay); }
.form-card { background: var(--mist); border-radius: 32px; padding: clamp(24px, 4vw, 44px); }
.form-card form { display: grid; gap: 18px; }
.form-card label { display: grid; gap: 6px; font-weight: 600; }
.form-card input, .form-card select, .form-card textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid rgba(38, 48, 42, .3);
  border-radius: 16px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.form-card legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; padding: 8px 16px; border: 1.5px solid rgba(38, 48, 42, .3); border-radius: 999px; background: var(--paper); }
.form-card .submit { justify-self: start; }
.form-card .optional { font-weight: 400; color: var(--ink-soft); }
.apply-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .apply-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.booking-form { display: grid; gap: 10px; max-width: 560px; }
.booking-form label { font-weight: 600; }
.booking-form input, .booking-form select, .booking-form textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid rgba(38, 48, 42, .3); border-radius: 16px; padding: 12px 14px; min-height: 48px; width: 100%; }
.booking-form button { justify-self: start; }

/* Page heads */
.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.page-head .lede { margin-bottom: 0; }
.wash { background: radial-gradient(70% 90% at 95% 0%, rgba(230, 214, 182, .6), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(183, 196, 171, .45), transparent 70%); }

/* Footer */
.site-footer { background: var(--forest); color: var(--paper); padding: 72px 0 40px; margin-top: 40px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--sand); }
.site-footer :focus-visible { outline-color: var(--sand); }
.footer-grid { display: grid; gap: 36px; }
.footer-grid h2 { font-size: 1.5rem; color: var(--paper); font-variation-settings: "SOFT" 100, "opsz" 36; margin-bottom: 12px; }
.footer-grid p { margin: 0 0 8px; color: #D9E1D0; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244, 246, 240, .2); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9375rem; color: #D9E1D0; }
.footer-base a { color: var(--sand); }
.site-footer .btn-clay { background: var(--sand); color: var(--forest); }
.site-footer .btn-clay:hover { background: var(--paper); color: var(--forest); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Mobile action bar (local business rule): Call, Apply, Directions. Hidden from 860px up. */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--forest); }
.action-bar a { min-height: 56px; display: grid; place-items: center; color: var(--paper); text-decoration: none; font-weight: 600; border-top: 1px solid rgba(244, 246, 240, .15); }
.action-bar a:hover { color: var(--sand); }
.action-bar a + a { border-left: 1px solid rgba(244, 246, 240, .15); }
body { padding-bottom: 56px; }
.site-footer { margin-bottom: 0; }
@media (min-width: 860px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-art .photo { transform: none; }
}
