:root {
  --ivory: #fbf7ef;
  --cream: #f1eadc;
  --olive: #91866e;
  --olive-dark: #4f493d;
  --clay: #c4a15b;
  --ink: #433d33;
  --muted: #756c5e;
  --white: #fffdf9;
  --line: rgba(79, 73, 61, 0.14);
  --serif: 'Cormorant Infant', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
  --script: 'Caveat', 'Segoe Print', cursive;
  --mist: #eee4d2;
  --blush: #f1e6c8;
  --gold: #c4a15b;
  --gold-deep: #9a783d;
  --gold-pale: #f7f0dc;
  --sky: #eadfc8;
  --radius-xl: clamp(38px, 6vw, 88px);
  --radius-lg: 34px;
  --radius-md: 22px;
  --soft-shadow: 0 24px 70px rgba(73, 88, 78, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; line-height: 1.75; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
[id] { scroll-margin-top: 116px; }

.header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease;
  max-width: 100vw;
}
.header.scrolled, .header.open { background: rgba(244, 239, 228, 0.94); color: var(--ink); backdrop-filter: blur(18px); }
.wordmark { font-family: var(--sans); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 3.2rem); letter-spacing: -0.08em; line-height: 0.82; white-space: nowrap; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(10px, 1.4vw, 22px); min-width: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.desktop-nav a { white-space: nowrap; }
.book-link { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  color: var(--white);
  background: var(--olive-dark);
}
.hero video, .hero::before, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero video { object-fit: cover; }
.hero::before { content: ''; background: url('./assets/hero.svg') center / cover; animation: drift 18s ease-in-out infinite alternate; }
.hero-shade { background: linear-gradient(180deg, rgba(48,54,44,0.12), rgba(48,54,44,0.48) 60%, rgba(48,54,44,0.78)); }
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  padding: 128px 0 86px;
}
.app-note, .section-head p, .events p, .newsletter p, .philosophy > p {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 { margin-top: 20px; font-size: clamp(5rem, 16vw, 15rem); line-height: 0.75; letter-spacing: -0.06em; }
.hero h2 { margin: 18px 0 10px; max-width: 720px; font-size: clamp(2.2rem, 5vw, 5.4rem); line-height: 0.9; }
.hero-content > p:last-of-type { max-width: 480px; color: rgba(255,250,240,0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.button.ivory { background: var(--white); color: var(--olive-dark); }
.button.outline { color: var(--white); }

.offerings, .house, .philosophy, .teachers, .events, .calendar, .reviews, .resources, .newsletter {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}
.section-head { max-width: 820px; margin-bottom: 42px; }
.section-head h2, .house h2, .philosophy h2, .events h2, .newsletter h2 {
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.86;
}
.section-head span, .house p, .philosophy blockquote, .todo, .newsletter span { color: var(--muted); }
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,250,240,0.28);
}
.offering-card {
  position: relative;
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--olive);
  text-decoration: none;
}
.offering-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.79; transition: transform 420ms ease; }
.offering-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(48,54,44,0.39)); }
.offering-card:hover img { transform: scale(1.05); }
.offering-card:focus-visible { outline: 3px solid var(--clay); outline-offset: -3px; }
.offering-card div { position: relative; z-index: 1; }
.offering-card h3 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 0.86; }
.offering-card p { color: rgba(255,250,240,0.8); }

.wide-note { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 6rem); line-height: 0.92; }
.house, .event-banner, .newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}
.house img, .event-banner img { width: 100%; min-height: 560px; object-fit: cover; }
.space-list { display: grid; border-top: 1px solid var(--line); margin-top: 18px; }
.space-list a { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.space-list span { color: var(--clay); }

.house {
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 166, 97, 0.12), transparent 34%),
    linear-gradient(135deg, #dfe8d2 0%, #cbdcbd 54%, #b8cfaa 100%);
  color: var(--olive-dark);
}
.house p { color: rgba(48,54,44,0.74); margin-top: 18px; }

.philosophy { background: var(--ivory); }
.philosophy h2 { max-width: 920px; margin-bottom: 28px; }
.philosophy-intro {
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 54px);
  margin-bottom: 38px;
}
.philosophy-intro p {
  color: rgba(48,54,44,0.72);
  line-height: 1.8;
}
.limb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 42px;
  background: rgba(48,54,44,0.16);
}
.limb-grid article {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,250,240,0.96), rgba(244,239,228,0.92));
  border-top: 3px solid rgba(201,166,97,0.58);
}
.limb-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.limb-grid h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 0.92;
}
.limb-grid p {
  margin-top: 14px;
  color: rgba(48,54,44,0.68);
  line-height: 1.65;
}
.philosophy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.philosophy blockquote { margin: 0; padding: 28px; background: var(--white); line-height: 1.8; }

.teacher-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.teacher-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--white); }
.teacher-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.teacher-card:nth-child(4) img { object-position: top center; }
.teacher-card div { padding: 22px; }
.teacher-card h3, .resource-card h3 { font-size: 2rem; line-height: 0.98; }
.teacher-card p, .resource-card p { color: var(--muted); }
.teacher-card small { display: block; margin-top: 14px; color: var(--olive); font-weight: 700; }
.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0 !important;
}
.teacher-tags a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(244, 239, 228, 0.78);
  color: var(--olive-dark);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.teacher-tags a:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--white);
}

.teacher-card-body { display: flex; flex-direction: column; padding: 22px !important; }
.teacher-card-body > p { min-height: 78px; }
.teacher-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
  padding: 0 !important;
}
.teacher-card-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--olive-dark);
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.teacher-card-actions a:last-child { background: var(--olive-dark); color: var(--white); }
.teacher-card-actions a:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }

.events {
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 166, 97, 0.12), transparent 34%),
    linear-gradient(135deg, #dfe8d2 0%, #cbdcbd 54%, #b8cfaa 100%);
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
}
.event-banner {
  background:
    linear-gradient(135deg, #e7eedc 0%, #d6e5ca 100%);
  color: var(--olive-dark);
  padding: clamp(12px, 2.2vw, 20px);
}
.event-banner div { display: grid; gap: 12px; }
.event-banner h2 { font-size: clamp(2.5rem, 5.6vw, 5.3rem); }
.event-banner span { color: rgba(48,54,44,0.72); line-height: 1.75; }
.event-banner a { width: fit-content; border-bottom: 1px solid currentColor; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.event-banner img { min-height: 270px; max-height: 360px; }

.calendar { background: var(--ivory); }
.calendar-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding: 22px;
  border: 1px solid rgba(201,166,97,0.32);
  background: rgba(255,250,240,0.8);
}
.calendar-filters label, .rental-filters label { display: grid; gap: 8px; }
.calendar-filters label > span, .rental-filters label > span {
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.calendar-filters select, .rental-filters select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 40px 0 14px;
  font: inherit;
}
.calendar-filters button {
  min-height: 48px;
  border: 1px solid var(--olive-dark);
  background: transparent;
  color: var(--olive-dark);
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}
.calendar-filter-status { margin: 0 0 18px; color: var(--muted); font-size: 0.86rem; }
.direction-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.direction-legend button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,250,240,0.7);
  color: var(--olive-dark);
  padding: 8px 12px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.direction-legend button > span { width: 10px; height: 10px; border-radius: 50%; background: var(--event-color); }
.direction-legend button.active { border-color: var(--olive-dark); box-shadow: inset 0 0 0 1px var(--olive-dark); }
.direction-legend .online-legend > span { background: var(--olive-dark); box-shadow: 0 0 0 3px rgba(48,54,44,0.14); }
.day-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.day-detail-card {
  overflow: hidden;
  border: 1px solid rgba(201,166,97,0.28);
  background: var(--white);
}
.day-detail-card header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(201,166,97,0.24);
  background: linear-gradient(135deg, rgba(201,166,97,0.12), transparent 64%);
}
.day-detail-card header span,
.calendar-subhead p,
.month-calendar > div {
  color: #9a7430;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.day-detail-card header strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}
.day-event-list {
  display: grid;
}
.day-event {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 140px auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(201,166,97,0.18);
  border-left: 5px solid var(--event-color, var(--clay));
  background: color-mix(in srgb, var(--event-color, var(--clay)) 10%, var(--white));
}
.day-event:last-child { border-bottom: 0; }
.day-event time,
.week-grid time {
  color: var(--olive-dark);
  font-weight: 700;
}
.day-event h3 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}
.day-event p,
.day-event > span {
  color: var(--muted);
  font-size: 0.92rem;
}
.day-event small {
  border-bottom: 1px solid currentColor;
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-format.online {
  border: 1px dashed var(--olive-dark);
  border-radius: 999px;
  background: var(--olive-dark);
  color: var(--white);
  padding: 6px 9px;
  text-decoration: none;
}
.calendar-subhead {
  margin: 54px 0 20px;
}
.calendar-subhead h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.9;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(201,166,97,0.28);
  background: rgba(201,166,97,0.24);
}
.week-grid article {
  min-width: 0;
  background: var(--white);
}
.week-grid header {
  min-height: 92px;
  padding: 14px;
  border-bottom: 1px solid rgba(201,166,97,0.22);
  background: linear-gradient(135deg, rgba(201,166,97,0.1), rgba(255,250,240,0));
}
.week-grid header span {
  display: block;
  color: #9a7430;
  font-size: 0.82rem;
}
.week-grid header strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}
.week-grid article > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 8px;
  min-height: 54px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(201,166,97,0.18);
  color: var(--muted);
  font-size: 0.84rem;
  border-left: 4px solid var(--event-color, var(--clay));
  background: color-mix(in srgb, var(--event-color, var(--clay)) 12%, var(--white));
}
.week-grid article > a small {
  grid-column: 3;
  grid-row: 1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,166,97,0.42);
  border-radius: 50%;
  background: rgba(201,166,97,0.12);
  color: var(--olive-dark);
  font-size: 0;
  font-weight: 700;
}
.week-grid article > a small::before {
  content: '';
  width: 15px;
  height: 15px;
  background: var(--olive-dark);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M10 16h4'/%3E%3Cpath d='M12 14v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.week-grid article > a small::after {
  content: none;
}
.week-grid article > a:hover,
.month-calendar article a:hover,
.day-event:hover {
  background: rgba(201,166,97,0.14);
}
.week-grid article > a:hover small {
  border-color: var(--clay);
  background: rgba(201,166,97,0.24);
}
.week-grid article > a .event-format.online {
  width: auto;
  min-width: 50px;
  padding: 5px 7px;
  border-radius: 999px;
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: start;
  height: auto;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}
.week-grid article > a .event-format.online::before { content: none; }
.month-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: visible;
  border: 1px solid rgba(201,166,97,0.28);
  background: rgba(201,166,97,0.24);
}
.month-calendar > div {
  padding: 12px;
  background: linear-gradient(135deg, rgba(201,166,97,0.16), var(--white));
}
.month-calendar article {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 250, 240, 0.84);
}
.month-calendar article.muted {
  background: rgba(231, 221, 202, 0.46);
}
.month-calendar article.is-selected {
  position: relative;
  z-index: 2;
  box-shadow: inset 0 0 0 3px #81927c;
  background: rgba(223, 232, 210, 0.92);
}
.month-calendar article.is-selected .month-day-toggle { color: var(--olive-dark); font-weight: 700; }
.month-calendar article > span {
  color: var(--olive-dark);
  font-weight: 700;
}
.month-calendar article.muted > span {
  color: rgba(113, 109, 98, 0.45);
}
.month-calendar article a {
  overflow: hidden;
  border-radius: 2px;
  padding: 4px 6px;
  border-left: 3px solid var(--event-color, var(--clay));
  background: color-mix(in srgb, var(--event-color, var(--clay)) 20%, var(--white));
  color: var(--olive-dark);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.month-event { position: relative; display: flex; align-items: center; gap: 4px; }
.month-event > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.month-event > b { color: var(--olive-dark); font-size: 0.62rem; }
.event-tooltip {
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: calc(100% + 8px);
  width: 230px;
  padding: 12px;
  background: var(--olive-dark);
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.event-tooltip strong { display: block; margin-bottom: 4px; color: var(--white); }
.month-event:hover .event-tooltip,
.month-event:focus-visible .event-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.calendar-event { transition: opacity 180ms ease, filter 180ms ease, box-shadow 180ms ease; }
.calendar-event.is-dimmed { opacity: 0.18; filter: grayscale(0.75); }
.calendar-event.is-match { position: relative; z-index: 3; box-shadow: inset 0 0 0 2px var(--olive-dark), 0 7px 18px rgba(48,54,44,0.13); }
.rental-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(201,166,97,0.34);
  background: linear-gradient(135deg, rgba(201,166,97,0.14), var(--white));
}
.rental-callout h3 { margin: 4px 0 10px; font-size: clamp(2rem, 4vw, 3.6rem); }
.rental-callout p { color: #9a7430; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rental-callout span { color: var(--muted); line-height: 1.65; }
.rental-callout .button { background: var(--olive-dark); color: var(--white); white-space: nowrap; }
.todo { margin-top: 20px; font-size: 0.9rem; }

.pricing-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.resource-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 190px;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201,166,97,0.16), transparent 34%),
    rgba(255,250,240,0.82);
  overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clay), rgba(201,166,97,0));
}
.resource-card::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-right: 1px solid rgba(201,166,97,0.46);
  border-bottom: 1px solid rgba(201,166,97,0.46);
}
.resource-card h3 {
  color: var(--olive-dark);
}
.resource-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--olive-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.newsletter {
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 166, 97, 0.12), transparent 34%),
    linear-gradient(135deg, #dfe8d2 0%, #cbdcbd 54%, #b8cfaa 100%);
  color: var(--olive-dark);
}
.newsletter span { color: rgba(48,54,44,0.72); display: block; margin-top: 18px; }
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(48,54,44,0.2);
  background: rgba(255,250,240,0.34);
  color: var(--olive-dark);
  padding: 15px;
  font: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(48,54,44,0.52); }
.contact-form button { min-height: 48px; border: 1px solid rgba(154,116,48,0.22); background: rgba(201,166,97,0.26); color: var(--olive-dark); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-form button:hover { background: rgba(201,166,97,0.38); }

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: end;
  padding: 44px clamp(20px, 5vw, 72px);
  background: var(--ivory);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer p { text-align: right; color: var(--muted); }

.inner-page .header { background: rgba(244,239,228,0.96); color: var(--ink); backdrop-filter: blur(18px); }
.inner-main { padding-top: 82px; }
.page-intro {
  padding: clamp(82px, 12vw, 150px) clamp(20px, 5vw, 72px) clamp(54px, 8vw, 92px);
  background:
    radial-gradient(circle at 82% 20%, rgba(201,166,97,0.16), transparent 28%),
    linear-gradient(135deg, #dfe8d2 0%, #cbdcbd 54%, #b8cfaa 100%);
}
.page-intro > p { color: var(--olive-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.page-intro h1 { max-width: 1000px; font-size: clamp(4.2rem, 13vw, 11rem); line-height: 0.78; letter-spacing: -0.045em; }
.page-intro > span { display: block; max-width: 760px; margin-top: 28px; color: rgba(48,54,44,0.76); font-size: 1.05rem; line-height: 1.75; }
.profile-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.profile-jump a { border: 1px solid rgba(48,54,44,0.24); border-radius: 999px; padding: 9px 13px; background: rgba(255,250,240,0.3); font-size: 0.78rem; font-weight: 700; }
.teacher-profiles { padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px); }
.teacher-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) 0;
  border-bottom: 1px solid var(--line);
}
.teacher-profile:first-child { padding-top: 0; }
.teacher-profile:nth-child(even) .teacher-profile-copy { order: 2; }
.teacher-profile-copy small, .room-overview small { color: #9a7430; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.teacher-profile-copy h2 { margin: 6px 0 22px; font-size: clamp(3rem, 7vw, 6.8rem); line-height: 0.84; }
.teacher-profile-copy p { margin-top: 14px; color: var(--muted); }
.profile-calendar-button { margin-top: 24px; background: var(--olive-dark); color: var(--white); }
.teacher-gallery { display: grid; grid-template-columns: 1.35fr 0.65fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 560px; }
.teacher-gallery a { overflow: hidden; background: var(--cream); }
.teacher-gallery a:first-child { grid-row: 1 / 3; }
.teacher-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.teacher-gallery a:hover img { transform: scale(1.035); }

.room-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 72px); }
.room-overview article { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.room-overview img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.room-overview article > div { padding: 28px; }
.room-overview h2 { margin: 8px 0 14px; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.88; }
.room-overview p { color: var(--muted); }
.rental-calendar { padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 72px); background: var(--ivory); }
.rental-filters { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 24px; align-items: end; margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); background: var(--white); }
.rental-checkbox { grid-template-columns: auto 1fr; align-items: center; padding-bottom: 12px; cursor: pointer; }
.rental-checkbox input { width: 20px; height: 20px; accent-color: var(--olive-dark); }
.rental-week { display: grid; grid-template-columns: repeat(7, minmax(210px, 1fr)); gap: 1px; overflow-x: auto; border: 1px solid rgba(201,166,97,0.3); background: rgba(201,166,97,0.28); }
.rental-day { min-width: 210px; background: var(--white); }
.rental-day > header { min-height: 90px; padding: 14px; background: linear-gradient(135deg, rgba(201,166,97,0.16), transparent); }
.rental-day-toggle { position: relative; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; text-align: left; font: inherit; }
.rental-day-toggle i { display: none; }
.rental-day > header span { display: block; color: #9a7430; font-size: 0.76rem; font-weight: 700; }
.rental-day > header strong { display: block; margin-top: 5px; font-family: var(--serif); font-size: 1.45rem; }
.rental-room { padding: 12px; border-top: 1px solid var(--line); }
.rental-room[hidden], .rental-slot[hidden] { display: none; }
.rental-room h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rental-slots { display: grid; gap: 5px; }
.rental-slot { display: flex; justify-content: space-between; gap: 8px; padding: 8px; border-left: 3px solid; font-size: 0.7rem; }
.rental-slot time { font-weight: 700; }
.rental-slot b { font-size: 0.64rem; letter-spacing: 0.05em; text-transform: uppercase; }
.rental-slot.free { border-color: #71856a; background: rgba(158,174,139,0.28); color: var(--olive-dark); }
.rental-slot.busy { border-color: rgba(113,109,98,0.34); background: rgba(113,109,98,0.09); color: rgba(113,109,98,0.64); }
.rental-slot.free:hover { background: rgba(158,174,139,0.48); }
.rental-note { max-width: 800px; margin-top: 22px; color: var(--muted); font-size: 0.86rem; }

@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }

@media (max-width: 1060px) {
  .header { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .desktop-nav { justify-content: start; flex-wrap: wrap; }
  .book-link { justify-self: start; }
  .offering-grid, .philosophy-grid, .teacher-grid, .philosophy-intro { grid-template-columns: 1fr; }
  .limb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house, .event-banner, .newsletter { grid-template-columns: 1fr; }
  .day-detail-grid { grid-template-columns: 1fr; }
  .week-grid, .month-calendar {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(180px, 1fr));
  }
  .pricing-list { grid-template-columns: 1fr; }
  .resource-card { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer p { text-align: left; }
  .calendar-filters { grid-template-columns: 1fr 1fr; }
  .teacher-profile { grid-template-columns: 1fr; }
  .teacher-profile:nth-child(even) .teacher-profile-copy { order: initial; }
  .room-overview { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header { min-height: 70px; padding: 14px 16px; }
  .book-link { display: none; }
  .desktop-nav { font-size: 0.68rem; gap: 9px 13px; }
  .hero h1 { font-size: clamp(4.8rem, 25vw, 7rem); }
  .hero h2, .section-head h2, .house h2, .philosophy h2, .events h2, .newsletter h2 { font-size: clamp(2.8rem, 15vw, 5rem); }
  .hero-actions .button { width: 100%; }
  .house img, .event-banner img { min-height: 360px; }
  .limb-grid { grid-template-columns: 1fr; }
  .limb-grid article { min-height: auto; }
  .day-event {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .day-event > span,
  .day-event small {
    grid-column: 2;
  }
  .calendar-filters, .rental-filters { grid-template-columns: 1fr; }
  .rental-callout { grid-template-columns: 1fr; }
  .teacher-card-actions { grid-template-columns: 1fr; }
  .teacher-gallery { min-height: 420px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 0.6fr; }
  .teacher-gallery a:first-child { grid-column: 1 / 3; grid-row: 1; }
  .room-overview article { grid-template-columns: 1fr; }
  .room-overview img { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Content-rich events, online hub and contacts */
.event-banner-actions { display: flex !important; align-items: center; flex-wrap: wrap; gap: 14px 24px !important; }
.event-banner-actions a { padding: 9px 0; }
.event-details { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 0; }
.event-details div { display: flex; gap: 5px; }
.event-details dt { color: rgba(113,109,98,0.72); font-size: 0.72rem; }
.event-details dd { margin: 0; color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.day-event { grid-template-columns: 70px minmax(0, 1fr) auto; align-items: start; }
.day-event .event-format { align-self: start; }
.calendar-day-toggle {
  width: 100%; min-height: 92px; display: block; position: relative; padding: 14px; border: 0;
  border-bottom: 1px solid rgba(201,166,97,0.22); background: linear-gradient(135deg, rgba(201,166,97,0.1), rgba(255,250,240,0));
  color: var(--ink); text-align: left; cursor: pointer;
}
.calendar-day-toggle span { display: block; color: #9a7430; font-size: 0.82rem; }
.calendar-day-toggle strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.calendar-day-toggle i { display: none; }
.calendar-day-events { display: contents; }
.week-grid { overflow: visible; }
.week-grid article > a { position: relative; }
.week-grid article > a:hover, .week-grid article > a:focus-visible, .month-event:hover, .month-event:focus-visible { z-index: 25; overflow: visible; }
.week-grid .calendar-event:hover .event-tooltip,
.week-grid .calendar-event:focus-visible .event-tooltip,
.month-event:hover .event-tooltip,
.month-event:focus-visible .event-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.event-tooltip { display: grid; gap: 3px; width: min(280px, 80vw); }
.event-tooltip > span { display: block; color: rgba(255,250,240,0.88); }
.event-tooltip b { color: var(--white); font-weight: 700; }
.month-day-toggle {
  display: block; width: fit-content; min-width: 28px; padding: 0; border: 0; background: transparent;
  color: var(--olive-dark); font: 700 1rem/1.2 var(--sans); text-align: left; cursor: pointer;
}
.month-day-events { display: grid; gap: 6px; }
.contact-summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(48,54,44,0.14); }
.contact-summary-list > a:not(.button), .contact-summary-list > div { display: grid; gap: 6px; min-height: 104px; padding: 18px; background: rgba(255,250,240,0.34); }
.contact-summary-list small, .contact-methods small, .contact-address small { color: rgba(48,54,44,0.62); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-summary-list strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.contact-map-link { grid-column: 1 / -1; justify-self: stretch; background: var(--olive-dark); color: var(--white); }
.page-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-intro-actions .button { background: var(--olive-dark); color: var(--white); }
.page-intro-actions .button.secondary { background: transparent; color: var(--olive-dark); }
.online-feature, .contact-layout, .contact-form-section {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px); align-items: center;
}
.online-feature { background: var(--white); }
.online-feature img, .online-feature-video { width: 100%; min-height: 560px; object-fit: cover; }
.online-feature h2, .contact-panel h2, .contact-form-section h2, .online-cta h2 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: 0.88; }
.eyebrow, .course-card > div > p, .online-cta p { color: #9a7430; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.online-feature > div { display: grid; gap: 18px; }
.online-feature ul { display: grid; gap: 10px; margin: 4px 0; padding-left: 20px; color: var(--muted); }
.text-link { width: fit-content; border-bottom: 1px solid currentColor; font-weight: 700; }
.course-section { padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px); background: var(--ivory); }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.course-card { display: grid; grid-template-columns: minmax(180px, 0.82fr) 1.18fr; min-height: 390px; background: var(--white); }
.course-card img { width: 100%; height: 100%; object-fit: cover; }
.course-card > div { display: grid; align-content: start; gap: 15px; padding: clamp(22px, 4vw, 42px); }
.course-card h3 { font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 0.92; }
.course-card > div > span { color: var(--muted); }
.course-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0; }
.course-card dl div { padding-top: 10px; border-top: 1px solid var(--line); }
.course-card dt { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; }
.course-card dd { margin: 4px 0 0; font-weight: 700; }
.course-card a { width: fit-content; margin-top: auto; border-bottom: 1px solid currentColor; font-weight: 700; }
.online-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px); background: var(--olive-dark); color: var(--white); }
.online-cta span { display: block; max-width: 660px; margin-top: 16px; color: rgba(255,250,240,0.7); }
.online-cta .button { border-color: rgba(255,250,240,0.45); }
.contact-intro { padding-bottom: clamp(52px, 7vw, 84px); }
.contact-layout { align-items: stretch; background: var(--ivory); }
.contact-panel { display: grid; align-content: start; gap: 24px; }
.contact-methods { display: grid; border-top: 1px solid var(--line); }
.contact-methods a { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-methods strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.contact-methods span { color: #9a7430; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.contact-address { display: grid; gap: 8px; margin-top: 12px; padding: 22px; background: var(--white); }
.contact-address strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.contact-address p { color: var(--muted); }
.map-card { display: grid; min-height: 600px; border: 1px solid var(--line); background: var(--white); }
.map-card iframe { width: 100%; min-height: 540px; border: 0; filter: saturate(0.7) sepia(0.12); }
.map-card a { padding: 18px; text-align: center; font-weight: 700; }
.contact-form-section { background: linear-gradient(135deg, #dfe8d2, #cbdcbd); align-items: start; }
.contact-form-section > div { display: grid; gap: 16px; }
.contact-form-section > div > span { color: rgba(48,54,44,0.7); }
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span { color: rgba(48,54,44,0.68); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-form select { width: 100%; border: 1px solid rgba(48,54,44,0.2); background: rgba(255,250,240,0.34); color: var(--olive-dark); padding: 15px; font: inherit; }
.form-note { color: rgba(48,54,44,0.66); font-size: 0.78rem; }

@media (max-width: 1060px) {
  .course-grid { grid-template-columns: 1fr; }
  .online-feature, .contact-layout, .contact-form-section { grid-template-columns: 1fr; }
  .online-feature img, .online-feature-video { min-height: 440px; }
}

@media (max-width: 620px) {
  .event-banner-actions { align-items: stretch; }
  .event-banner-actions a { width: 100%; }
  .contact-summary-list { grid-template-columns: 1fr; }
  .contact-map-link { grid-column: 1; }
  .day-event { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; }
  .day-event .event-format { grid-column: 2; }
  .event-details { display: grid; gap: 4px; }
  .week-grid { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .calendar-day-toggle { min-height: 72px; padding-right: 50px; }
  .calendar-day-toggle i { display: block; position: absolute; right: 18px; top: 50%; width: 12px; height: 12px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-65%) rotate(45deg); }
  .calendar-day-panel.is-open .calendar-day-toggle i { transform: translateY(-25%) rotate(225deg); }
  .calendar-day-events { display: none; }
  .calendar-day-panel.is-open .calendar-day-events { display: block; }
  .week-grid article > a { grid-template-columns: 52px minmax(0, 1fr); padding: 12px; }
  .week-grid article > a .event-format.online { grid-column: 2; grid-row: 2; justify-self: start; }
  .week-grid .event-tooltip, .month-calendar .event-tooltip {
    position: static; display: grid; width: auto; margin-top: 8px; padding: 10px; opacity: 1; visibility: visible;
    transform: none; grid-column: 1 / -1; background: rgba(48,54,44,0.92); white-space: normal;
  }
  .week-grid .calendar-event > span:nth-of-type(1) { align-self: start; }
  .month-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; overflow: visible; }
  .month-calendar > div { padding: 8px 2px; text-align: center; font-size: 0.62rem; }
  .month-calendar article { min-height: 46px; padding: 5px; }
  .month-calendar article.muted { min-height: 46px; }
  .month-day-toggle { width: 100%; min-height: 34px; text-align: center; }
  .month-day-events { display: none; }
  .month-day-panel.is-open { grid-column: 1 / -1; min-height: auto; padding: 12px; }
  .month-day-panel.is-open .month-day-toggle { width: fit-content; min-width: 38px; padding: 8px; border-radius: 50%; background: var(--olive-dark); color: var(--white); }
  .month-day-panel.is-open .month-day-events { display: grid; margin-top: 8px; }
  .month-calendar article a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 10px; font-size: 0.78rem; white-space: normal; }
  .month-event > span:first-child { overflow: visible; text-overflow: clip; }
  .course-card { grid-template-columns: 1fr; }
  .course-card img { height: 260px; }
  .online-cta { grid-template-columns: 1fr; align-items: start; }
  .contact-methods a { grid-template-columns: 1fr; gap: 5px; }
  .contact-methods span { margin-top: 4px; }
  .map-card { min-height: 460px; }
  .map-card iframe { min-height: 400px; }
}

/* Compact layout pass */
.day-event {
  grid-template-columns: 68px minmax(0, 1fr) minmax(92px, 126px);
  align-items: center;
}
.day-event-main p { color: var(--muted); font-size: 0.82rem; }
.day-event-venue {
  display: grid; gap: 3px; justify-items: start; align-content: center; min-height: 48px;
  padding: 9px 11px; border-left: 1px solid rgba(48,54,44,0.14); color: var(--olive-dark);
}
.day-event-venue small { border: 0; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.1em; }
.day-event-venue strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1; }
.day-event-venue.online { border: 1px dashed var(--olive-dark); border-radius: 3px; background: var(--olive-dark); color: var(--white); }
.day-event-venue.online small { color: rgba(255,250,240,0.68); }

.calendar-day-events { display: block; }
.week-grid .calendar-day-events > a {
  position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 7px;
  min-height: 56px; align-items: center; padding: 10px 9px; border-bottom: 1px solid rgba(201,166,97,0.18);
  border-left: 4px solid var(--event-color, var(--clay));
  background: color-mix(in srgb, var(--event-color, var(--clay)) 12%, var(--white)); font-size: 0.78rem;
}
.week-grid .calendar-day-events > a:last-child { border-bottom: 0; }
.week-grid .calendar-day-events > a > span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.week-grid .calendar-day-events > a .event-format.online {
  grid-column: 2; justify-self: start; width: auto; min-width: 0; height: auto; padding: 4px 7px;
  border-radius: 999px; font-size: 0.55rem; letter-spacing: 0.05em;
}
.week-grid .calendar-day-events > a:hover { background: rgba(201,166,97,0.16); }
.calendar-day-panel:nth-child(n+6) .event-tooltip,
.month-calendar article:nth-child(7n) .event-tooltip,
.month-calendar article:nth-child(7n-1) .event-tooltip { left: auto; right: 0; }

.teachers-intro {
  padding: clamp(42px, 6vw, 68px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 56px);
}
.teachers-intro h1 { max-width: 820px; font-size: clamp(3.8rem, 9vw, 7.4rem); line-height: 0.82; }
.teachers-intro > span { max-width: 680px; margin-top: 18px; }
.teachers-intro .profile-jump { margin-top: 20px; }
.teacher-profiles { padding-top: 24px; padding-bottom: 36px; }
.teacher-profile {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 56px);
  max-width: 1440px; min-height: min(710px, calc(100svh - 82px)); margin: 0 auto; padding: 34px 0;
}
.teacher-profile-copy h2 { margin: 5px 0 14px; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.teacher-profile-copy p { margin-top: 10px; line-height: 1.6; }
.teacher-profile-copy .teacher-tags { margin-top: 16px; }
.profile-calendar-button { margin-top: 18px; }
.teacher-gallery { width: 100%; height: clamp(380px, 56vh, 520px); min-height: 0; }

.rental-intro { padding-top: clamp(46px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 58px); }
.rental-intro h1 { font-size: clamp(4rem, 9vw, 7.5rem); }
.rental-intro > span { margin-top: 18px; }
.room-overview { gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.room-overview article { grid-template-columns: minmax(220px, 0.9fr) 1.1fr; }
.room-overview img { min-height: 220px; max-height: 260px; }
.room-overview article > div { padding: 22px; }
.room-overview h2 { margin: 6px 0 10px; font-size: clamp(2.2rem, 3.4vw, 3.5rem); }
.rental-calendar { padding-top: 42px; padding-bottom: 54px; }
.rental-calendar .section-head { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr); align-items: end; gap: 18px 42px; max-width: 1040px; margin-bottom: 24px; }
.rental-calendar .section-head > p { grid-column: 1 / -1; }
.rental-calendar .section-head h2 { font-size: clamp(3.2rem, 5vw, 4.8rem); }
.rental-calendar .section-head span { padding-bottom: 5px; }
.rental-filters { margin-bottom: 16px; padding: 14px 18px; }
.rental-day > header { min-height: 72px; }
.rental-slot { padding: 7px 8px; }
.rental-week { grid-template-columns: repeat(7, minmax(160px, 1fr)); }
.rental-day { min-width: 0; }

.online-intro {
  position: relative; min-height: calc(100svh - 82px); display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  padding-top: clamp(48px, 7vh, 76px); padding-bottom: clamp(48px, 7vh, 76px);
  background: var(--olive-dark);
  color: var(--white);
}
.online-intro::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(20,32,27,0.92) 0%, rgba(20,32,27,0.72) 48%, rgba(20,32,27,0.28) 100%); }
.online-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.online-intro > :not(.online-intro-video) { position: relative; z-index: 2; }
.online-intro > p, .online-intro > span { color: rgba(255,250,240,0.78); }
.online-intro h1 { max-width: 850px; font-size: clamp(3.7rem, 8.4vw, 7.8rem); line-height: 0.83; }
.online-intro > span { max-width: 650px; margin-top: 20px; line-height: 1.55; }
.online-intro .page-intro-actions { margin-top: 22px; }
.online-intro .page-intro-actions .button { border-color: rgba(255,250,240,0.55); background: var(--white); color: var(--olive-dark); }
.online-intro .page-intro-actions .button.secondary { background: rgba(20,32,27,0.35); color: var(--white); }
.online-feature {
  min-height: calc(100svh - 82px); gap: clamp(34px, 5vw, 68px); padding-top: clamp(38px, 6vh, 62px); padding-bottom: clamp(38px, 6vh, 62px);
}
.online-feature img, .online-feature-video { min-height: 0; height: min(66vh, 560px); }
.online-feature h2 { font-size: clamp(3rem, 5.8vw, 5.6rem); }
.online-feature > div { gap: 13px; }
.online-feature ul { gap: 7px; }

.reviews { background: #dfe8d2; }
.review-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-video-card { overflow: hidden; background: var(--white); }
.review-video-card video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--olive-dark); }
.review-video-card > div { display: grid; gap: 14px; min-height: 180px; padding: 24px; }
.review-video-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 2.2vw, 2.25rem); line-height: 1.05; }
.review-video-card p { color: #71826d; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.contact-photo-intro {
  min-height: min(680px, calc(82svh - 82px)); display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(90deg, rgba(20,32,27,0.9) 0%, rgba(20,32,27,0.56) 58%, rgba(20,32,27,0.15) 100%),
    url('/images/site/contact-hero.webp') center / cover no-repeat;
  color: var(--white);
}
.contact-photo-intro > p, .contact-photo-intro > span { color: rgba(255,250,240,0.82); }
.contact-photo-intro h1 { max-width: 850px; font-size: clamp(4rem, 9vw, 8rem); }

@media (max-width: 1060px) {
  .teacher-profile { grid-template-columns: 1fr; min-height: 0; padding: 44px 0; }
  .teacher-gallery { height: clamp(420px, 68vw, 620px); }
  .rental-calendar .section-head { grid-template-columns: 1fr; }
  .rental-calendar .section-head > p { grid-column: 1; }
  .room-overview article { grid-template-columns: minmax(220px, 0.9fr) 1.1fr; }
  .online-feature { min-height: 0; }
  .online-feature img, .online-feature-video { height: min(58vh, 520px); }
  .review-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .day-event { grid-template-columns: 54px minmax(0, 1fr) 78px; gap: 8px; padding: 12px 9px; }
  .day-event h3 { font-size: 1.2rem; }
  .day-event-main p { font-size: 0.7rem; line-height: 1.35; }
  .day-event-venue { min-height: 42px; padding: 6px; }
  .day-event-venue strong { font-size: 0.92rem; }
  .week-grid .calendar-day-events > a { grid-template-columns: 50px minmax(0, 1fr); padding: 12px; }
  .teachers-intro { padding-top: 34px; }
  .teachers-intro h1 { font-size: clamp(3.7rem, 18vw, 5.8rem); }
  .teacher-profiles { padding-top: 10px; }
  .teacher-profile { gap: 18px; padding: 20px 0; }
  .teacher-profile-copy h2 { margin-bottom: 8px; font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .teacher-profile-copy p { margin-top: 6px; font-size: 0.88rem; line-height: 1.42; }
  .teacher-profile-copy .teacher-tags { margin-top: 10px; }
  .teacher-profile-copy .teacher-tags a { padding: 6px 9px; font-size: 0.66rem; }
  .profile-calendar-button { margin-top: 12px; padding: 11px 14px; }
  .teacher-gallery { height: 270px; min-height: 0; }
  .room-overview { padding-top: 18px; padding-bottom: 18px; }
  .room-overview article { grid-template-columns: 1fr; }
  .room-overview img { min-height: 0; height: 210px; }
  .rental-calendar { padding-top: 34px; }
  .rental-calendar .section-head h2 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .online-intro { min-height: calc(100svh - 70px); padding-top: 44px; padding-bottom: 44px; background-position: 62% center; }
  .online-intro h1 { font-size: clamp(3.6rem, 17vw, 5.4rem); }
  .online-feature { padding-top: 34px; padding-bottom: 42px; }
  .online-feature img, .online-feature-video { height: 310px; min-height: 0; }
  .review-video-grid { grid-template-columns: 1fr; }
  .review-video-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .review-video-card video { height: 100%; min-height: 280px; aspect-ratio: auto; }
  .review-video-card > div { min-height: 0; align-content: center; padding: 18px; }
  .review-video-card blockquote { font-size: 1.45rem; }
  .contact-photo-intro { min-height: 560px; background-position: 62% center; }
}

/* Period controls, compact mobile calendar and accordion navigation */
.menu-toggle { display: none; }
.event-banner-video { width: 100%; min-height: 270px; max-height: 360px; object-fit: cover; }
.calendar-period-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.calendar-period-head > div:first-child { min-width: 0; }
.period-actions, .rental-period-control { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.period-actions > span, .rental-period-control > span { color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.period-actions button, .rental-period-control button {
  min-height: 42px; border: 1px solid rgba(48,54,44,0.22); border-radius: 999px; padding: 9px 14px;
  background: rgba(255,250,240,0.66); color: var(--olive-dark); font: 700 0.72rem/1.2 var(--sans); cursor: default;
}
.period-actions button i, .rental-period-control button i { margin-left: 6px; color: #879582; font-size: 0.58rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.week-detail-toggle { display: none; }
.week-event-teacher { display: none; }
.month-mobile-details { display: none; }
.rental-period-control { justify-content: space-between; margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--line); background: rgba(255,250,240,0.64); }

.event-format.online,
.day-event-venue.online { border-color: #71826d; background: #71826d; }
.direction-legend .online-legend > span { background: #71826d; box-shadow: 0 0 0 3px rgba(113,130,109,0.16); }
.calendar-filters label, .calendar-filters select { min-width: 0; max-width: 100%; width: 100%; }

@media (max-width: 620px) {
  .header { grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
  .menu-toggle {
    display: grid; grid-template-columns: repeat(3, 18px) auto; align-items: center; gap: 3px; min-height: 42px;
    border: 1px solid currentColor; border-radius: 999px; padding: 8px 12px; background: transparent; color: inherit;
  }
  .menu-toggle span { grid-column: 1 / 4; width: 18px; height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle span:nth-child(1) { grid-row: 1; }
  .menu-toggle span:nth-child(2) { grid-row: 2; }
  .menu-toggle span:nth-child(3) { grid-row: 3; }
  .menu-toggle b { grid-column: 4; grid-row: 1 / 4; margin-left: 5px; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .header.open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .header.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.open .menu-toggle span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .desktop-nav { display: none; grid-column: 1 / -1; width: 100%; padding: 12px 0 4px; border-top: 1px solid rgba(48,54,44,0.15); }
  .header.open .desktop-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .desktop-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(48,54,44,0.1); }

  .calendar-filters { width: 100%; overflow: hidden; }
  .calendar-filters label, .calendar-filters select { width: 100%; min-width: 0; max-width: 100%; }
  .calendar-filters select { text-overflow: ellipsis; }
  .calendar-period-head { align-items: start; }
  .calendar-period-head h3 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .period-actions { justify-content: flex-end; }
  .period-actions > span { width: 100%; text-align: right; }
  .period-actions button { max-width: 150px; padding: 8px 11px; text-align: left; }
  .week-detail-toggle {
    display: block; width: 100%; min-height: 46px; margin-bottom: 10px; border: 1px solid rgba(48,54,44,0.22);
    background: rgba(113,130,109,0.12); color: var(--olive-dark); font: 700 0.76rem/1.2 var(--sans);
  }
  .calendar-day-toggle { min-height: 54px; padding: 9px 12px; }
  .calendar-day-toggle i { display: none; }
  .calendar-day-toggle span { font-size: 0.68rem; }
  .calendar-day-toggle strong { font-size: 1.2rem; }
  .calendar-day-events,
  .calendar-day-panel.is-open .calendar-day-events { display: block; }
  .week-grid .calendar-day-events > a {
    grid-template-columns: 48px minmax(0, 1fr); min-height: 48px; padding: 8px 10px;
  }
  .week-event-title { font-weight: 700; }
  .week-event-teacher { display: block; grid-column: 2; color: var(--muted); font-size: 0.68rem; }
  .week-grid .event-tooltip,
  .month-mobile-details .event-tooltip { display: none; }
  .week-grid .calendar-event.is-info-open .event-tooltip,
  .month-mobile-details .calendar-event.is-info-open .event-tooltip,
  .week-grid.is-detailed .calendar-event .event-tooltip {
    position: static; display: grid; grid-column: 1 / -1; width: auto; margin-top: 7px; padding: 10px;
    opacity: 1; visibility: visible; transform: none; background: rgba(93,111,90,0.96); white-space: normal;
  }
  .week-grid.is-detailed .calendar-day-toggle { background: rgba(113,130,109,0.1); }
  .week-grid.is-detailed .calendar-day-events > a { padding-top: 10px; padding-bottom: 10px; }
  .day-event.studio { grid-template-columns: 54px minmax(0, 1fr); }
  .day-event.studio .day-event-venue { display: none; }

  .month-calendar article { min-height: 46px; }
  .month-day-panel.is-open, .month-day-panel.is-selected { grid-column: auto; min-height: 46px; padding: 5px; }
  .month-day-panel.is-open .month-day-toggle, .month-day-panel.is-selected .month-day-toggle {
    width: 100%; min-width: 0; min-height: 34px; padding: 0; border-radius: 2px; background: #81927c; color: var(--white);
  }
  .month-day-events, .month-day-panel.is-open .month-day-events, .month-day-panel.is-selected .month-day-events { display: none !important; }
  .month-mobile-details { display: block; margin-top: 12px; }
  .month-day-detail[hidden] { display: none; }
  .month-day-detail { border: 1px solid rgba(201,166,97,0.3); background: var(--white); }
  .month-day-detail > header { display: flex; align-items: end; justify-content: space-between; padding: 14px; background: rgba(113,130,109,0.1); }
  .month-day-detail > header span { color: #71826d; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
  .month-day-detail > header strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
  .month-day-detail > div > a {
    position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px; min-height: 52px;
    padding: 9px 11px; border-bottom: 1px solid rgba(201,166,97,0.18); border-left: 4px solid var(--event-color, var(--clay));
    background: color-mix(in srgb, var(--event-color, var(--clay)) 10%, var(--white));
  }
  .month-day-detail > div > a:last-child { border-bottom: 0; }
  .month-day-detail .week-event-teacher { grid-column: 2; }
  .month-day-detail .event-format.online { grid-column: 2; justify-self: start; width: auto; height: auto; padding: 4px 7px; font-size: 0.55rem; }

  .rental-period-control { align-items: flex-start; }
  .rental-period-control button { max-width: 170px; text-align: left; }
  .rental-calendar { padding-left: 16px; padding-right: 16px; }
  .rental-filters { gap: 14px; padding: 14px; }
  .rental-week { display: grid; grid-template-columns: 1fr; gap: 8px; overflow: visible; border: 0; background: transparent; }
  .rental-day { min-width: 0; border: 1px solid rgba(201,166,97,0.3); }
  .rental-day > header { min-height: 0; padding: 0; }
  .rental-day-toggle { min-height: 64px; padding: 12px 48px 12px 14px; }
  .rental-day-toggle i { display: block; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-70%) rotate(45deg); }
  .rental-day.is-open .rental-day-toggle i { transform: translateY(-30%) rotate(225deg); }
  .rental-day:not(.is-open) .rental-room { display: none; }
  .rental-room { padding: 10px; }
  .rental-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rental-slot { min-height: 48px; display: grid; align-content: center; gap: 3px; }
}

/* Primer 5: airy, rounded visual direction. Structure, content and behaviour stay unchanged. */
body {
  background:
    radial-gradient(circle at 10% 8%, rgba(242,228,225,0.74), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgba(230,237,240,0.8), transparent 32rem),
    var(--ivory);
  color: var(--ink);
  font-weight: 400;
}

h1, h2, h3 { letter-spacing: -0.025em; }
p { line-height: 1.82; }
a, button, input, select, textarea { transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(211,170,165,0.72); outline-offset: 4px; }

.header {
  top: 14px;
  left: clamp(12px, 2vw, 30px);
  right: clamp(12px, 2vw, 30px);
  min-height: 66px;
  padding: 10px 12px 10px 22px;
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: 999px;
  background: rgba(255,253,249,0.18);
  box-shadow: 0 14px 42px rgba(46,57,51,0.1);
  backdrop-filter: blur(20px);
}
.header.scrolled, .header.open, .inner-page .header { background: rgba(255,253,249,0.9); color: var(--ink); border-color: rgba(70,87,77,0.1); }
.wordmark { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 600; letter-spacing: -0.055em; }
.desktop-nav { gap: clamp(4px, 0.5vw, 8px); font-size: 0.67rem; letter-spacing: 0.045em; }
.desktop-nav a { padding: 9px 11px; border-radius: 999px; }
.desktop-nav a:hover { background: rgba(232,239,234,0.86); color: var(--olive-dark); }
.book-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); color: var(--olive-dark); box-shadow: 0 9px 24px rgba(48,62,53,0.12); }
.header.scrolled .book-link, .inner-page .book-link { background: var(--olive-dark); color: var(--white); }

.button, .teacher-card-actions a, .calendar-filters button, .contact-form button, .period-actions button, .rental-period-control button {
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.button:hover, .teacher-card-actions a:hover, .contact-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(70,87,77,0.16); }

.hero {
  width: calc(100% - 24px);
  min-height: calc(100svh - 24px);
  margin: 12px auto 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: var(--olive-dark);
  box-shadow: var(--soft-shadow);
}
.hero::before { opacity: 0.18; animation-duration: 28s; }
.hero-shade { background: linear-gradient(180deg, rgba(56,70,61,0.08), rgba(56,70,61,0.34) 54%, rgba(52,65,57,0.7)); }
.hero-content { width: min(1180px, calc(100% - 10vw)); padding-bottom: clamp(64px, 9vw, 112px); }
.hero h1 { max-width: 1000px; font-size: clamp(5rem, 13vw, 12rem); font-weight: 400; line-height: 0.8; letter-spacing: -0.055em; }
.hero h2 { max-width: 640px; margin-top: 24px; font-size: clamp(2.2rem, 4.2vw, 4.5rem); font-style: italic; font-weight: 400; line-height: 0.94; }
.hero-actions .button { min-height: 54px; padding: 0 25px; }
.button.ivory { border-color: var(--white); box-shadow: 0 12px 36px rgba(18,27,22,0.14); }
.button.outline { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

.offerings, .house, .philosophy, .teachers, .events, .calendar, .reviews, .resources, .newsletter,
.page-intro, .teacher-profiles, .room-overview, .rental-calendar, .online-feature, .course-section, .online-cta, .contact-layout, .contact-form-section {
  width: calc(100% - clamp(24px, 4vw, 64px));
  max-width: 1540px;
  margin: clamp(18px, 3vw, 42px) auto;
  border-radius: var(--radius-xl);
  overflow: clip;
  box-shadow: var(--soft-shadow);
}
.offerings, .philosophy, .calendar, .resources, .teacher-profiles, .rental-calendar, .course-section, .contact-layout { background: rgba(255,253,249,0.88); }
.section-head { max-width: 900px; margin-bottom: clamp(34px, 5vw, 64px); }
.section-head p, .events p, .newsletter p, .philosophy > p, .page-intro > p, .eyebrow {
  color: var(--olive);
  letter-spacing: 0.18em;
}
.section-head h2, .house h2, .philosophy h2, .events h2, .newsletter h2 { font-weight: 400; line-height: 0.9; }
.section-head span { display: block; max-width: 660px; margin-top: 20px; font-size: 1rem; }

.offering-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); background: transparent; }
.offering-card {
  min-height: clamp(430px, 48vw, 610px);
  border-radius: 48% 48% 34px 34px / 30% 30% 34px 34px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 18px 44px rgba(54,70,59,0.12);
}
.offering-card:nth-child(3n+2) { transform: translateY(28px); }
.offering-card::after { background: linear-gradient(180deg, transparent 28%, rgba(45,57,49,0.58)); }
.offering-card img { opacity: 0.9; }
.offering-card h3 { font-size: clamp(2.3rem, 4.3vw, 4.4rem); font-style: italic; }

.house { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: linear-gradient(135deg, var(--mist), #edf1eb 52%, var(--blush)); }
.house > div { padding: clamp(8px, 3vw, 42px); }
.house img { min-height: 620px; border-radius: 48% 48% 28px 28px / 30% 30% 28px 28px; box-shadow: 0 20px 50px rgba(66,80,71,0.14); }
.house h2 { font-style: italic; }

.philosophy { background: linear-gradient(145deg, rgba(255,253,249,0.96), rgba(232,239,234,0.72)); }
.philosophy-intro { gap: clamp(30px, 6vw, 90px); }
.limb-grid { gap: 14px; background: transparent; }
.limb-grid article { min-height: 250px; border: 1px solid rgba(70,87,77,0.1); border-radius: 110px 110px 28px 28px; background: rgba(255,253,249,0.72); box-shadow: 0 14px 34px rgba(68,82,73,0.07); }
.limb-grid span { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 50%; background: var(--blush); color: var(--olive-dark); }
.philosophy-grid { gap: 16px; background: transparent; }
.philosophy blockquote { border-radius: 28px; background: rgba(255,253,249,0.72); font-family: var(--serif); font-size: 1.28rem; }

.teachers { background: linear-gradient(145deg, var(--sky), rgba(255,253,249,0.92)); }
.teacher-grid { gap: clamp(16px, 2vw, 28px); }
.teacher-card { border: 1px solid rgba(70,87,77,0.09); border-radius: 180px 180px 36px 36px; box-shadow: 0 20px 54px rgba(69,84,74,0.1); }
.teacher-card:nth-child(even) { transform: none; }
.teacher-card img { aspect-ratio: 1 / 1.05; border-radius: 50% 50% 22px 22px / 36% 36% 22px 22px; }
.teacher-card-body { padding: 26px !important; }
.teacher-card h3 { font-size: clamp(2.2rem, 3vw, 3.3rem); font-style: italic; }
.teacher-tags a { border-color: transparent; background: var(--mist); }
.teacher-card-actions a:first-child { background: transparent; }

.events { background: linear-gradient(135deg, var(--blush), #f7efec 52%, var(--mist)); }
.event-banner { gap: clamp(28px, 6vw, 86px); border-radius: calc(var(--radius-xl) - 18px); padding: clamp(18px, 3vw, 34px); background: rgba(255,253,249,0.58); }
.event-banner img, .event-banner-video { min-height: 420px; max-height: 540px; border-radius: 50% 50% 28px 28px / 34% 34% 28px 28px; }
.event-banner h2 { font-style: italic; }
.event-banner-actions a { min-height: 46px; display: inline-flex; align-items: center; border: 1px solid rgba(70,87,77,0.24); border-radius: 999px; padding: 0 18px; }

.calendar { background: linear-gradient(145deg, rgba(255,253,249,0.96), rgba(232,239,234,0.56)); }
.calendar-filters, .rental-filters { border: 0; border-radius: 30px; background: rgba(255,255,255,0.7); box-shadow: 0 16px 42px rgba(69,84,74,0.08); }
.calendar-filters select, .rental-filters select, .contact-form input, .contact-form textarea, .contact-form select { border-color: transparent; border-radius: 999px; background: var(--ivory); }
.contact-form textarea { border-radius: 28px; }
.direction-legend button { border-color: transparent; background: rgba(255,255,255,0.74); box-shadow: 0 7px 20px rgba(68,82,73,0.06); }
.day-detail-grid { gap: 18px; }
.day-detail-card { border: 0; border-radius: 34px; overflow: hidden; background: rgba(255,255,255,0.74); box-shadow: 0 16px 42px rgba(69,84,74,0.08); }
.day-detail-card header { background: linear-gradient(135deg, var(--mist), var(--blush)); }
.day-event { margin: 7px; border: 0; border-radius: 22px; background: rgba(248,246,242,0.88); }
.day-event-venue { border-radius: 999px; border-left: 0; background: var(--mist); }
.day-event-venue.online { border-radius: 999px; }
.week-grid { gap: 10px; background: transparent; }
.calendar-day-panel { overflow: visible; border-radius: 26px; background: rgba(255,255,255,0.72); box-shadow: 0 12px 30px rgba(69,84,74,0.07); }
.calendar-day-toggle { border: 0; border-radius: 26px 26px 0 0; background: linear-gradient(145deg, var(--mist), rgba(255,255,255,0.6)); }
.week-grid .calendar-day-events > a { margin: 6px; border-bottom: 0; border-radius: 16px; }
.month-calendar { gap: 8px; border: 0; background: transparent; }
.month-calendar > div { border-radius: 999px; background: var(--mist); }
.month-calendar article { border-radius: 20px; background: rgba(255,255,255,0.76); }
.month-calendar article.muted { background: rgba(237,232,225,0.52); }
.month-calendar article.is-selected { border-radius: 20px; box-shadow: inset 0 0 0 3px rgba(125,143,129,0.75), 0 12px 28px rgba(72,88,77,0.1); background: var(--mist); }
.month-calendar article a { border-left: 0; border-radius: 999px; }
.event-tooltip { border-radius: 18px; background: rgba(70,87,77,0.96); box-shadow: 0 18px 44px rgba(47,59,52,0.22); }
.rental-callout { border: 0; border-radius: 34px; background: linear-gradient(135deg, var(--blush), rgba(255,255,255,0.75)); }

.reviews { background: linear-gradient(145deg, var(--mist), var(--sky)); }
.review-video-grid { gap: clamp(16px, 2vw, 28px); }
.review-video-card { border-radius: 180px 180px 36px 36px; background: rgba(255,253,249,0.9); box-shadow: 0 20px 54px rgba(69,84,74,0.11); }
.review-video-card:nth-child(2) { transform: translateY(26px); }
.review-video-card video { border-radius: 50% 50% 20px 20px / 34% 34% 20px 20px; }
.review-video-card blockquote { font-style: italic; }

.pricing-list { gap: 18px; }
.resource-card { min-height: 220px; border: 0; border-radius: 110px 32px 32px 32px; padding: 34px 34px 30px 54px; background: linear-gradient(145deg, rgba(232,239,234,0.92), rgba(255,253,249,0.86)); box-shadow: 0 15px 40px rgba(69,84,74,0.08); }
.resource-card::before, .resource-card::after { display: none; }
.resource-card h3 { font-style: italic; }

.newsletter { border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--sky), var(--blush)); }
.contact-summary-list { gap: 10px; background: transparent; }
.contact-summary-list > a:not(.button), .contact-summary-list > div { border-radius: 24px; background: rgba(255,255,255,0.52); }
.contact-map-link { border-radius: 999px; }
.footer { width: calc(100% - 24px); margin: 12px auto; border-radius: 36px; background: rgba(255,253,249,0.86); }

.inner-main { padding-top: 92px; }
.page-intro { min-height: min(720px, calc(100svh - 110px)); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, var(--mist), var(--blush)); }
.page-intro h1 { max-width: 1040px; font-weight: 400; font-style: italic; letter-spacing: -0.04em; }
.profile-jump a { border-color: transparent; background: rgba(255,255,255,0.52); }
.teacher-profiles { padding-left: clamp(24px, 5vw, 76px); padding-right: clamp(24px, 5vw, 76px); }
.teacher-profile { margin-bottom: 24px; padding: clamp(32px, 5vw, 64px); border: 0; border-radius: 48px; background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(232,239,234,0.62)); }
.teacher-profile:nth-child(even) { background: linear-gradient(145deg, rgba(242,228,225,0.72), rgba(255,255,255,0.86)); }
.teacher-profile-copy h2 { font-style: italic; }
.teacher-gallery { gap: 12px; }
.teacher-gallery a { border-radius: 44% 44% 24px 24px / 28% 28% 24px 24px; }
.teacher-gallery a:not(:first-child) { border-radius: 24px 52px 24px 24px; }

.room-overview { gap: 22px; background: linear-gradient(145deg, var(--sky), rgba(255,253,249,0.88)); }
.room-overview article { overflow: hidden; border-radius: 140px 36px 36px 36px; background: rgba(255,253,249,0.88); box-shadow: 0 16px 40px rgba(69,84,74,0.08); }
.room-overview img { border-radius: 140px 0 0 36px; }
.rental-calendar { background: linear-gradient(145deg, rgba(255,253,249,0.94), var(--mist)); }
.rental-period-control { border: 0; border-radius: 999px; background: rgba(255,255,255,0.7); }
.rental-week { gap: 10px; border: 0; background: transparent; }
.rental-day { overflow: hidden; border-radius: 26px; background: rgba(255,255,255,0.78); box-shadow: 0 12px 30px rgba(69,84,74,0.07); }
.rental-day > header { background: linear-gradient(145deg, var(--mist), var(--blush)); }
.rental-room { border-top-color: rgba(70,87,77,0.1); }
.rental-slot { border-left: 0; border-radius: 999px; }

.online-intro { border-radius: var(--radius-xl); }
.online-intro::before { background: linear-gradient(90deg, rgba(55,70,61,0.88), rgba(55,70,61,0.58) 56%, rgba(55,70,61,0.18)); }
.online-intro h1 { font-style: italic; }
.online-feature { border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(255,253,249,0.94), var(--mist)); }
.online-feature-video, .online-feature img { border-radius: 50% 50% 30px 30px / 34% 34% 30px 30px; }
.course-section { background: linear-gradient(145deg, var(--sky), rgba(255,253,249,0.9)); }
.course-grid { gap: 18px; background: transparent; }
.course-card { overflow: hidden; border-radius: 120px 32px 32px 32px; background: rgba(255,253,249,0.9); box-shadow: 0 15px 40px rgba(69,84,74,0.08); }
.course-card img { border-radius: 120px 0 0 32px; }
.online-cta { background: linear-gradient(135deg, var(--olive-dark), #687c70); }

.contact-photo-intro { border-radius: var(--radius-xl); }
.contact-layout, .contact-form-section { border-radius: var(--radius-xl); }
.contact-layout { background: linear-gradient(145deg, rgba(255,253,249,0.94), var(--sky)); }
.contact-methods a { margin: 4px 0; border: 0; border-radius: 24px; padding: 18px; background: rgba(255,255,255,0.64); }
.contact-address { border-radius: 28px; }
.map-card { overflow: hidden; border: 0; border-radius: 140px 36px 36px 36px; }
.contact-form-section { background: linear-gradient(145deg, var(--blush), var(--mist)); }

@media (max-width: 1180px) {
  .header { grid-template-columns: auto 1fr auto; }
  .desktop-nav { gap: 2px; font-size: 0.6rem; }
  .desktop-nav a { padding: 8px 7px; }
  .book-link { padding: 0 13px; font-size: 0.64rem; }
  .offering-card:nth-child(3n+2), .teacher-card:nth-child(even), .review-video-card:nth-child(2) { transform: none; }
}

@media (max-width: 900px) {
  .offering-grid, .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offering-card { min-height: 520px; }
  .house { grid-template-columns: 1fr; }
  .house img { min-height: 520px; }
  .room-overview article { border-radius: 80px 32px 32px 32px; }
}

@media (max-width: 620px) {
  .header { top: 8px; left: 8px; right: 8px; min-height: 58px; padding: 8px 9px 8px 16px; border-radius: 29px; }
  .header.open { border-radius: 28px; }
  .wordmark { font-size: 1.9rem; }
  .book-link { display: none; }
  .menu-toggle { border-color: rgba(70,87,77,0.24); background: rgba(255,255,255,0.42); }
  .header.open .desktop-nav { gap: 4px; padding: 10px 2px 2px; border-top: 0; }
  .desktop-nav a { min-height: 42px; border: 0; border-radius: 18px; padding: 8px 10px; background: rgba(232,239,234,0.55); }
  .hero { width: calc(100% - 12px); min-height: calc(100svh - 12px); margin-top: 6px; border-radius: 0 0 42px 42px; }
  .hero-content { width: calc(100% - 36px); padding-bottom: 52px; }
  .hero h1 { font-size: clamp(4.7rem, 24vw, 6.7rem); line-height: 0.78; }
  .hero h2 { font-size: clamp(2.15rem, 11vw, 3.3rem); }
  .offerings, .house, .philosophy, .teachers, .events, .calendar, .reviews, .resources, .newsletter,
  .page-intro, .teacher-profiles, .room-overview, .rental-calendar, .online-feature, .course-section, .online-cta, .contact-layout, .contact-form-section {
    width: calc(100% - 12px); margin: 12px auto; border-radius: 38px;
  }
  .offerings, .house, .philosophy, .teachers, .events, .calendar, .reviews, .resources, .newsletter { padding-left: 16px; padding-right: 16px; }
  .section-head { margin-bottom: 30px; }
  .section-head span { font-size: 0.9rem; }
  .offering-grid, .teacher-grid { grid-template-columns: 1fr; }
  .offering-card { min-height: 440px; border-radius: 160px 160px 30px 30px; }
  .house > div { padding: 8px 2px; }
  .house img { min-height: 0; height: 420px; border-radius: 160px 160px 28px 28px; }
  .philosophy-intro { gap: 18px; }
  .limb-grid { gap: 10px; }
  .limb-grid article { border-radius: 80px 80px 24px 24px; }
  .philosophy-grid { gap: 10px; }
  .teacher-card { border-radius: 160px 160px 30px 30px; }
  .event-banner { border-radius: 30px; }
  .event-banner img, .event-banner-video { min-height: 330px; height: 330px; border-radius: 140px 140px 24px 24px; }
  .calendar-filters { border-radius: 24px; }
  .calendar-period-head { gap: 10px; }
  .month-calendar { gap: 3px; }
  .month-calendar article, .month-calendar article.is-selected { border-radius: 10px; }
  .month-calendar > div { border-radius: 12px; }
  .review-video-card { grid-template-columns: 1fr; border-radius: 150px 150px 28px 28px; }
  .review-video-card video { height: 390px; min-height: 0; border-radius: 150px 150px 20px 20px; }
  .resource-card { border-radius: 70px 26px 26px 26px; padding: 30px; }
  .newsletter { border-radius: 38px; }
  .footer { width: calc(100% - 12px); margin: 6px auto; border-radius: 28px; }
  .inner-main { padding-top: 76px; }
  .page-intro { min-height: min(610px, calc(100svh - 88px)); }
  .teacher-profile { margin-bottom: 12px; padding: 22px 16px; border-radius: 30px; }
  .teacher-gallery a { border-radius: 110px 110px 22px 22px; }
  .room-overview article { border-radius: 100px 100px 26px 26px; }
  .room-overview img { border-radius: 100px 100px 0 0; }
  .rental-calendar { padding-left: 12px; padding-right: 12px; }
  .rental-day { border-radius: 22px; }
  .rental-slot { border-radius: 16px; }
  .online-intro, .contact-photo-intro { border-radius: 38px; }
  .online-feature-video, .online-feature img { border-radius: 140px 140px 24px 24px; }
  .course-card { border-radius: 90px 90px 26px 26px; }
  .course-card img { border-radius: 90px 90px 0 0; }
  .map-card { border-radius: 100px 100px 28px 28px; }
}

/* Primer 5 refinement: gold accents and rectangular media, except homepage teachers. */
body {
  background:
    radial-gradient(circle at 10% 8%, rgba(241,230,200,0.78), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgba(230,237,240,0.8), transparent 32rem),
    var(--ivory);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: rgba(196,161,91,0.72); }

.book-link,
.header.scrolled .book-link,
.inner-page .book-link { border-color: var(--gold); background: linear-gradient(135deg, #d4ba7d, var(--gold)); color: #3f392d; }

.hero { width: 100%; min-height: 100svh; margin: 0; border-radius: 0; place-items: center; }
.hero-content { align-self: center; padding-top: 128px; padding-bottom: 44px; }
.hero-actions { margin-top: 24px; }

.offering-card,
.limb-grid article,
.event-banner img,
.event-banner-video,
.review-video-card,
.review-video-card video,
.resource-card,
.teacher-gallery a,
.teacher-gallery a:not(:first-child),
.room-overview article,
.room-overview img,
.online-feature-video,
.online-feature img,
.course-card,
.course-card img,
.map-card { border-radius: 30px; }

.house img { border-radius: 34px; }
.offering-card:nth-child(3n+2) { transform: translateY(18px); }
.limb-grid article { border-radius: 28px; }
.limb-grid span { background: linear-gradient(145deg, #ddc58e, var(--gold)); color: #423b2d; box-shadow: 0 8px 20px rgba(154,120,61,0.16); }
.events { background: linear-gradient(135deg, var(--gold-pale), #fbf7ec 52%, var(--mist)); }
.day-detail-card header { background: linear-gradient(135deg, var(--mist), var(--gold-pale)); }
.rental-callout { background: linear-gradient(135deg, var(--gold-pale), rgba(255,255,255,0.78)); }
.newsletter { background: linear-gradient(135deg, var(--sky), var(--gold-pale)); }
.page-intro { background: linear-gradient(145deg, var(--mist), var(--gold-pale)); }
.teacher-profile:nth-child(even) { background: linear-gradient(145deg, rgba(241,230,200,0.68), rgba(255,255,255,0.88)); }
.rental-day > header { background: linear-gradient(145deg, var(--mist), var(--gold-pale)); }
.contact-form-section { background: linear-gradient(145deg, var(--gold-pale), var(--mist)); }

.online-feature-video, .online-feature img { border-radius: 32px; }
.online-cta { background: linear-gradient(135deg, #e2ca94, var(--gold), #b98f43); color: #3f392d; }
.online-cta span { color: rgba(63,57,45,0.76); }
.online-cta p { color: #6f5426; }
.online-cta .button { border-color: rgba(63,57,45,0.32); background: rgba(255,253,249,0.7); color: #3f392d; }

.rental-intro { min-height: 0; display: block; padding-top: clamp(46px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 58px); }
.rental-intro h1 { font-size: clamp(4rem, 9vw, 7.5rem); }
.rental-intro > span { margin-top: 18px; }
.room-overview article { border-radius: 32px; }
.room-overview img { border-radius: 32px 0 0 32px; }

.contact-photo-intro { position: relative; overflow: hidden; background: var(--olive-dark); }
.contact-photo-intro::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(43,55,48,0.88), rgba(43,55,48,0.58) 56%, rgba(43,55,48,0.2)); }
.contact-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-photo-intro > :not(.contact-intro-video) { position: relative; z-index: 2; }

.event-format.online,
.week-grid .calendar-day-events > a .event-format.online,
.month-day-detail .event-format.online { justify-self: center; text-align: center; }

@media (max-width: 620px) {
  .header { grid-template-columns: 1fr auto; }
  .menu-toggle { position: relative; display: block; width: 42px; min-width: 42px; min-height: 42px; border-radius: 50%; padding: 0; }
  .menu-toggle span { position: absolute; left: 50%; width: 16px; grid-column: auto; grid-row: auto; transform: translateX(-50%); }
  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 20px; }
  .menu-toggle span:nth-child(3) { top: 26px; }
  .header.open .menu-toggle span:nth-child(1) { transform: translate(-50%, 6px) rotate(45deg); }
  .header.open .menu-toggle span:nth-child(2) { opacity: 0; transform: translateX(-50%); }
  .header.open .menu-toggle span:nth-child(3) { transform: translate(-50%, -6px) rotate(-45deg); }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero { width: 100%; min-height: 100svh; margin: 0; border-radius: 0; }
  .hero-content { align-self: center; padding-top: 110px; padding-bottom: 24px; }
  .hero-actions { margin-top: 18px; }
  .offering-card,
  .house img,
  .limb-grid article,
  .event-banner img,
  .event-banner-video,
  .review-video-card,
  .review-video-card video,
  .resource-card,
  .teacher-gallery a,
  .room-overview article,
  .room-overview img,
  .online-feature-video,
  .online-feature img,
  .course-card,
  .course-card img,
  .map-card { border-radius: 24px; }
  .teacher-card { border-radius: 160px 160px 30px 30px; }
  .teacher-card img { border-radius: 50% 50% 22px 22px / 36% 36% 22px 22px; }
  .room-overview img, .course-card img { border-radius: 24px 24px 0 0; }
  .rental-intro { min-height: 0; padding-top: 32px; padding-bottom: 28px; }
  .rental-intro h1 { font-size: clamp(3.7rem, 17vw, 5.2rem); }
  .contact-photo-intro { min-height: 560px; }
  .week-grid .calendar-day-events > a .event-format.online,
  .month-day-detail .event-format.online { justify-self: center; }
  .week-grid .calendar-event.is-info-open .event-tooltip,
  .month-mobile-details .calendar-event.is-info-open .event-tooltip,
  .week-grid.is-detailed .calendar-event .event-tooltip { background: rgba(154,120,61,0.97); }
  .week-grid.is-detailed .calendar-day-toggle { background: rgba(196,161,91,0.22); }
  .week-grid.is-detailed .calendar-day-events > a { background: color-mix(in srgb, var(--gold) 16%, var(--white)); }
}

/* Client refinement: strict headings, handwritten microcopy and a warm unified palette. */
body { background: var(--ivory); }

h1, h2, h3,
.hero h2,
.house h2,
.offering-card h3,
.teacher-card h3,
.event-banner h2,
.resource-card h3,
.page-intro h1,
.teacher-profile-copy h2,
.online-intro h1 { font-style: normal; }

.app-note,
.section-head > p,
.philosophy > p,
.event-banner > div > p,
.newsletter > div > p,
.calendar-subhead p,
.page-intro > p,
.eyebrow {
  font-family: var(--script);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: none;
}

.desktop-nav,
.book-link,
.button,
.teacher-card-actions a,
.calendar-filter-chip,
.calendar-filter-reset,
.footer nav { font-family: var(--sans); }

.book-link,
.header.scrolled .book-link,
.inner-page .book-link {
  border-color: var(--gold);
  background: var(--gold);
  color: #3f392d;
}

.desktop-nav a:hover { background: var(--gold-pale); }

.house,
.events,
.teachers,
.reviews,
.newsletter,
.page-intro,
.room-overview,
.rental-calendar,
.online-feature,
.course-section,
.contact-layout,
.contact-form-section,
.philosophy,
.calendar {
  background-image: none;
}

.house { background-color: #efe4d1; }
.philosophy, .calendar, .rental-calendar, .contact-layout, .online-feature { background-color: #fcf8f0; }
.teachers, .reviews, .room-overview, .course-section { background-color: #f1e5cf; }
.events, .page-intro, .contact-form-section { background-color: #f5ead6; }
.newsletter { background-color: #ead8b8; }
.rental-callout, .day-detail-card header, .calendar-day-toggle, .rental-day > header { background: var(--gold-pale); }
.teacher-profile, .teacher-profile:nth-child(even), .resource-card, .online-feature, .course-card { background: rgba(255,253,249,0.92); }
.online-cta { background: var(--gold); color: #3f392d; }

.about-contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.about-contact-links > a:not(.button) {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(79,73,61,0.12);
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255,253,249,0.58);
}
.about-contact-links small { color: var(--gold-deep); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.about-contact-links strong { overflow-wrap: anywhere; font-size: 0.9rem; }
.about-contact-links .button { grid-column: 1 / -1; width: fit-content; border-color: var(--gold); background: var(--gold); color: #3f392d; }

.calendar-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255,253,249,0.8);
}
.calendar-filter-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.calendar-filter-set legend {
  margin-bottom: 9px;
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.calendar-filter-options { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.calendar-filters .calendar-filter-chip {
  display: inline-flex;
  width: auto;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
}
.calendar-filter-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.calendar-filters .calendar-filter-chip > span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid rgba(79,73,61,0.16);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255,253,249,0.72);
  color: var(--olive-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: none;
  overflow-wrap: anywhere;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.calendar-filter-chip.direction-chip > span i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--event-color);
}
.calendar-filter-chip input:checked + span {
  border-color: var(--gold-deep);
  background: var(--gold-pale);
  color: #443a29;
  box-shadow: inset 0 0 0 1px rgba(154,120,61,0.42);
}
.calendar-filter-chip input:focus-visible + span { outline: 3px solid rgba(196,161,91,0.5); outline-offset: 3px; }
.calendar-format-set .calendar-filter-options { gap: 10px; }
.calendar-format-set .calendar-filter-chip > span::before {
  content: '';
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid rgba(79,73,61,0.38);
  border-radius: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--white);
}
.calendar-format-set .calendar-filter-chip input:checked + span::before { background: var(--gold); }
.calendar-filter-reset {
  width: fit-content;
  min-height: 42px;
  justify-self: start;
  border-color: rgba(79,73,61,0.28) !important;
  padding: 0 17px;
  background: transparent !important;
}

.month-disclosure { margin-top: 48px; }
.month-disclosure > summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(154,120,61,0.32);
  border-radius: 999px;
  padding: 14px 20px 14px 24px;
  background: var(--gold);
  color: #3f392d;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.month-disclosure > summary::-webkit-details-marker { display: none; }
.month-disclosure > summary::after { content: '+'; width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(255,253,249,0.56); font-size: 1.3rem; }
.month-disclosure[open] > summary::after { content: '−'; }
.month-disclosure summary small { margin-left: auto; font-size: 0.68rem; opacity: 0.76; }
.month-summary-open { display: none; }
.month-disclosure[open] .month-summary-closed { display: none; }
.month-disclosure[open] .month-summary-open { display: inline; }
.month-disclosure-content { padding-top: 2px; }

.philosophy-resources { margin-top: clamp(58px, 8vw, 96px); padding-top: clamp(44px, 6vw, 72px); border-top: 1px solid rgba(79,73,61,0.14); }
.philosophy-resources .section-head h2 { font-size: clamp(3rem, 7vw, 6.6rem); }
.philosophy-resources .resource-card { background: rgba(255,253,249,0.82); }

.rental-callout-section {
  width: calc(100% - clamp(24px, 4vw, 64px));
  max-width: 1540px;
  margin: clamp(18px, 3vw, 42px) auto;
}
.rental-callout-section .rental-callout { margin-top: 0; border-radius: 34px; padding: clamp(28px, 5vw, 58px); box-shadow: var(--soft-shadow); }
.rental-callout h2 { margin: 4px 0 10px; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 0.9; }

.review-video-card { border-radius: 28px; }
.review-video-card video { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 28px 28px 0 0; object-fit: cover; }
.review-video-card > div { min-height: 0; gap: 10px; padding: 20px; }
.review-video-card blockquote { font-size: clamp(1.35rem, 1.8vw, 1.8rem); }
.review-video-card:nth-child(2) { transform: none; }

.footer { grid-template-columns: auto minmax(260px, 1fr) auto minmax(180px, 0.7fr); align-items: center; }
.footer-contacts { display: grid; gap: 5px; color: var(--muted); font-size: 0.76rem; }
.footer-contacts a { width: fit-content; }

@media (max-width: 1060px) {
  .footer { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer p { text-align: left; }
}

@media (max-width: 620px) {
  .calendar-filters { gap: 16px; padding: 16px 12px; overflow: visible; }
  .calendar-filter-options { gap: 6px; }
  .calendar-filters .calendar-filter-chip { width: auto; }
  .calendar-filters .calendar-filter-chip > span { min-height: 38px; padding: 7px 11px; font-size: 0.7rem; }
  .month-disclosure { margin-top: 34px; }
  .month-disclosure > summary { min-height: 56px; gap: 8px; border-radius: 24px; padding: 11px 12px 11px 16px; font-size: 0.7rem; }
  .month-disclosure summary small { display: none; }
  .month-disclosure > summary::after { width: 30px; height: 30px; }
  .about-contact-links { grid-template-columns: 1fr; }
  .about-contact-links .button { grid-column: 1; width: 100%; }
  .rental-callout-section { width: calc(100% - 12px); margin: 12px auto; }
  .rental-callout-section .rental-callout { border-radius: 30px; padding: 24px 18px; }
  .review-video-card { display: block; border-radius: 24px; }
  .review-video-card video { height: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 24px 24px 0 0; }
  .footer { grid-template-columns: 1fr; }
}

/* Client refinement: denser typography, classic calendar filters and portrait reviews. */
.section-head h2,
.house h2,
.philosophy > h2,
.events h2,
.newsletter h2,
.page-intro h1,
.contact-panel h2,
.contact-form-section h2,
.online-feature h2,
.course-section h2,
.room-overview h2 {
  font-size: clamp(2.1rem, 5.6vw, 5.45rem);
  line-height: 0.92;
}

.house { padding-top: clamp(48px, 6vw, 78px); padding-bottom: clamp(48px, 6vw, 78px); }

.teacher-card { border: 0; }
.teacher-card img { width: 100%; max-width: none; margin: 0; align-self: start; border-radius: 0; }
.teacher-card-actions a {
  min-width: 0;
  padding: 9px 11px;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

/* Equal teacher cards: no stagger between rows; desktop footprint reduced 15%. */
.teachers .teacher-grid { width: 85%; margin-inline: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 24px; }
.teachers .teacher-card { min-width: 0; grid-template-rows: auto 1fr; align-self: stretch; }
.teachers .teacher-card > img { width: 100%; height: auto; aspect-ratio: 1 / 1.05; object-fit: cover; }
.teachers .teacher-card-body { padding: 20px !important; }
.teachers .teacher-card-body > small { margin: 0 0 8px; min-height: 2.6em; font-size: 0.75rem; line-height: 1.3; }
.teachers .teacher-card h3 { min-height: 2.1em; font-size: clamp(1.85rem, 2.55vw, 2.8rem); line-height: 1.05; }
.teachers .teacher-card-body > p { flex: 1; min-height: 0; margin-top: 12px; font-size: 0.88rem; line-height: 1.65; }
.teachers .teacher-tags { min-height: 82px; align-content: start; align-items: start; margin-top: 16px; }
.teachers .teacher-tags a { font-size: 0.75rem; padding: 7px 10px; line-height: 1.35; }
.teachers .teacher-card-actions { margin-top: 16px; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.teachers .teacher-card-actions a { font-size: 0.64rem; letter-spacing: 0.04em; }
@media (max-width: 1099px) {
  .teachers .teacher-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .teachers .teacher-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 20px; }
  .teachers .teacher-card { width: 100%; max-width: 390px; margin-inline: auto; }
  .teachers .teacher-card > img { aspect-ratio: 1 / 1; }
  .teachers .teacher-card h3 { min-height: 0; font-size: 2.1rem; }
  .teachers .teacher-card-body > small, .teachers .teacher-tags { min-height: 0; }
}

.calendar-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(250px, auto) auto;
  align-items: end;
  gap: 12px;
  overflow: visible;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.calendar-select-filter,
.calendar-format-set {
  min-width: 0;
  min-height: 104px;
  border: 1px solid rgba(79,73,61,0.1);
  border-radius: 24px;
  padding: 15px;
  background: rgba(255,253,249,0.92);
  box-shadow: 0 12px 32px rgba(67,61,51,0.07);
}
.calendar-select-filter { display: grid; gap: 8px; align-content: end; }
.calendar-select-filter > span,
.calendar-format-title {
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.calendar-select-filter select,
.calendar-multiselect summary {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(79,73,61,0.16);
  border-radius: 999px;
  padding: 0 44px 0 16px;
  background: var(--ivory);
  color: var(--ink);
  font: 600 0.82rem/1 var(--sans);
}
.calendar-multiselect { position: relative; z-index: 3; overflow: visible; }
.calendar-multiselect:has(details[open]) { z-index: 40; }
.calendar-multiselect details { position: static; min-width: 0; }
.calendar-multiselect summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 16px;
  cursor: pointer;
  list-style: none;
}
.calendar-multiselect summary::-webkit-details-marker { display: none; }
.calendar-multiselect summary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-multiselect summary > i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}
.calendar-multiselect details[open] summary > i { transform: translateY(2px) rotate(225deg); }
.calendar-multiselect-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 300px;
  display: grid;
  gap: 2px;
  overflow-y: auto;
  border: 1px solid rgba(79,73,61,0.14);
  border-radius: 20px;
  padding: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(67,61,51,0.16);
}
.calendar-multiselect-menu label { display: block; cursor: pointer; }
.calendar-multiselect-menu label > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.calendar-multiselect-menu label > span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  padding: 9px 11px 9px 38px;
  position: relative;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}
.calendar-multiselect-menu label > span::before {
  content: '';
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(79,73,61,0.38);
  border-radius: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--white);
}
.calendar-multiselect-menu input:checked + span { background: var(--gold-pale); color: #443a29; }
.calendar-multiselect-menu input:checked + span::before { background: var(--gold); }
.calendar-multiselect-menu input:focus-visible + span { outline: 3px solid rgba(196,161,91,0.5); outline-offset: -2px; }
.direction-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--event-color); }
.calendar-format-set { align-self: end; }
.calendar-format-title { display: block; margin-bottom: 8px; }
.calendar-filters > .calendar-filter-reset {
  width: auto !important;
  min-width: 170px;
  min-height: 104px !important;
  height: 104px;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
  border: 1px solid rgba(79,73,61,0.1) !important;
  border-radius: 24px;
  padding: 15px 20px;
  background: rgba(255,253,249,0.92) !important;
  box-shadow: 0 12px 32px rgba(67,61,51,0.07);
}

.review-video-grid { align-items: start; }
.review-video-card video { aspect-ratio: 10 / 17; object-position: center; }
.review-video-card > div > p {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.45;
  letter-spacing: 0.045em;
}

.about-page-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 110px);
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
  background: #f1e5cf;
}
.about-page-story h2 { max-width: 720px; margin-top: 10px; font-size: clamp(2.1rem, 5.6vw, 5.45rem); line-height: 0.92; }
.about-page-copy { display: grid; gap: 18px; align-content: center; }
.about-page-copy p { color: var(--muted); }

/* October structure: quick paths to practice, then calendar and teachers. */
.header-actions { display: flex; align-items: center; justify-content: end; gap: 10px; }
.rental-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font: 700 0.72rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.04em; }
.rental-link:hover { background: var(--gold-pale); }
.header-actions .book-link { justify-content: center; text-align: center; }
.home-introduction { grid-template-columns: minmax(0, 1fr) minmax(220px, 0.44fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 52px); }
.home-introduction > div { padding: 0; max-width: 740px; }
.home-introduction h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; margin-top: 12px; }
.home-introduction p { margin-top: 16px; }
.home-introduction img { min-height: 0; height: clamp(220px, 24vw, 320px); width: 100%; object-position: center 26%; border-radius: 28px; }
.home-introduction .text-link { display: inline-block; margin-top: 18px; }
.offerings-compact { padding: clamp(28px, 4vw, 48px); }
.offerings-compact .section-head { margin-bottom: 24px; }
.offerings-compact .section-head h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.05; }
.practice-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.practice-shortcut { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 12px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--gold-pale); }
.practice-shortcut > img { width: 54px; height: 64px; object-fit: cover; border-radius: 14px; }
.practice-shortcut h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.05; min-height: 2.1em; }
.practice-shortcut-actions { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 8px; }
.practice-shortcut-actions a { display: inline-flex; align-items: center; min-height: 44px; font: 700 0.71rem/1.3 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.practice-shortcut-actions a:last-child { color: #74551f; }
.philosophy-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); background: var(--cream); }
.philosophy-teaser-image { width: 100%; height: clamp(400px, 38vw, 540px); object-fit: cover; object-position: center; border-radius: 30px; }
.philosophy-teaser-copy { min-width: 0; padding: 10px 0; }
.philosophy-teaser h2 { font-size: clamp(2.2rem, 4vw, 4.3rem); line-height: 1; margin-top: 14px; }
.philosophy-teaser p { color: var(--muted); }
.philosophy-teaser .button { display: inline-flex; margin-top: 22px; text-align: center; }
.philosophy-teaser .text-link { display: block; width: fit-content; margin-top: 18px; }
.page-jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-jump-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; font: 600 0.8rem/1.35 var(--sans); }
.school-team { max-width: 1540px; width: calc(100% - 48px); margin: 24px auto; padding: clamp(24px, 5vw, 64px); border-radius: 34px; background: var(--cream); }
.school-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.school-team-card { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 16px; background: var(--white); border-radius: 22px; }
.school-team-card img { width: 72px; height: 88px; flex: 0 0 auto; object-fit: cover; border-radius: 15px; }
.school-team-card h3 { font-size: 1.8rem; line-height: 1.05; margin: 6px 0; }
.school-team-card small, .school-team-card span { color: var(--muted); font: 500 0.75rem/1.5 var(--sans); }
.philosophy-material { display: block; padding: 0; }
.philosophy-material summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; cursor: pointer; list-style: none; }
.philosophy-material summary::-webkit-details-marker { display: none; }
.philosophy-material summary strong { display: block; font: 500 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--serif); margin: 8px 0; }
.philosophy-material summary small { color: var(--muted); font: 600 0.7rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; }
.philosophy-material summary span > span { color: var(--muted); line-height: 1.6; }
.philosophy-material summary b { font-size: 1.7rem; font-weight: 400; }
.philosophy-material[open] summary b { transform: rotate(45deg); }
.philosophy-material > div { padding: 0 24px 24px; }
.philosophy-material > div a { display: inline-block; margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
.practice-descriptions { display: grid; gap: 24px; width: calc(100% - 48px); max-width: 1540px; margin: 24px auto; }
.practice-description { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 5vw, 64px); background: var(--cream); border-radius: 34px; }
.practice-description:nth-child(even) { background: var(--gold-pale); }
.practice-description > img { width: 100%; aspect-ratio: 4 / 5; height: auto; max-height: 560px; object-fit: cover; border-radius: 24px; }
.practice-description h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1; margin: 12px 0 22px; }
.practice-description h3 { font-size: 1.8rem; margin: 22px 0 10px; }
.practice-description p { color: var(--muted); }
.practice-description .teacher-tags { margin: 24px 0; }
.online-format-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1540px; width: calc(100% - 48px); margin: 24px auto; gap: 16px; }
.online-format-nav a { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--gold-pale); }
.online-format-nav strong { font: 500 2rem/1.1 var(--serif); }
.online-format-nav span { font-size: 0.85rem; color: var(--muted); }
.online-page .course-card { grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr); }
.online-page .course-card img { height: 100%; min-height: 300px; object-fit: cover; }
.course-card .product-teacher { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 0.78rem; }
.product-program { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-program summary { padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 0.85rem; }
.product-program ol { padding-left: 20px; margin: 0 0 18px; font-size: 0.84rem; color: var(--muted); line-height: 1.7; }
.product-program li + li { margin-top: 8px; }
.catalog-note { color: var(--muted); font-size: 0.82rem; margin-top: 24px; }
.recorded-section { background: var(--gold-pale); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 4px; }

@media (max-width: 1180px) {
  .practice-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .practice-shortcut { grid-template-columns: 1fr; }
  .practice-shortcut > img { display: none; }
  .school-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; }
  .menu-toggle { position: relative; display: block; width: 42px; min-width: 42px; height: 42px; min-height: 42px; border-radius: 50%; padding: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
  .menu-toggle span { position: absolute; left: 50%; width: 16px; height: 1px; background: currentColor; transform: translateX(-50%); }
  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 20px; }
  .menu-toggle span:nth-child(3) { top: 26px; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header.open .menu-toggle span:nth-child(1) { transform: translate(-50%, 6px) rotate(45deg); }
  .header.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.open .menu-toggle span:nth-child(3) { transform: translate(-50%, -6px) rotate(-45deg); }
  .desktop-nav, .header-actions { display: none; }
  .header.open { border-radius: 28px; }
  .header.open .desktop-nav { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; gap: 6px; padding: 12px 0 0; }
  .header.open .desktop-nav a { display: flex; min-height: 44px; align-items: center; padding: 10px; border: 0; background: var(--gold-pale); border-radius: 14px; font-size: 0.72rem; }
  .header.open .header-actions { display: flex; flex-wrap: wrap; grid-column: 1 / -1; justify-content: start; padding-top: 6px; }
  .header.open .header-actions .book-link { display: inline-flex; min-height: 44px; font-size: 0.7rem; }
  .practice-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-shortcut { grid-template-columns: 48px minmax(0, 1fr); }
  .practice-shortcut > img { display: block; width: 48px; height: 60px; }
  .philosophy-teaser, .practice-description { grid-template-columns: 1fr; }
  .philosophy-teaser-image { height: 340px; }
  .home-introduction { grid-template-columns: minmax(0, 1fr) minmax(180px, 0.5fr); }
  .practice-description > img { max-height: 320px; aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .home-introduction { grid-template-columns: minmax(0, 1fr) 100px; gap: 18px; padding: 28px 18px; }
  .home-introduction > div { display: contents; }
  .home-introduction .eyebrow, .home-introduction h2, .home-introduction .text-link { grid-column: 1 / -1; }
  .home-introduction h2 { font-size: clamp(2rem, 9vw, 3rem); margin-top: 0; }
  .home-introduction p { margin: 0; font-size: 0.88rem; }
  .home-introduction img { grid-column: 2; grid-row: 3; height: 150px; border-radius: 18px; }
  .offerings-compact { padding: 28px 16px; }
  .practice-shortcut { grid-template-columns: 1fr; padding: 14px 12px; gap: 0; border-radius: 18px; }
  .practice-shortcut > img { display: none; }
  .practice-shortcut h3 { font-size: 1.4rem; }
  .practice-shortcut-actions { display: grid; gap: 0; }
  .practice-shortcut-actions a { font-size: 0.72rem; }
  .school-team, .practice-descriptions, .online-format-nav { width: calc(100% - 12px); margin: 12px auto; }
  .school-team { padding: 28px 16px; border-radius: 26px; }
  .school-team-grid { grid-template-columns: 1fr; }
  .school-team-card h3 { font-size: 1.7rem; }
  .practice-description { padding: 24px 16px; border-radius: 26px; }
  .page-jump-links a { padding: 9px 12px; font-size: 0.74rem; }
  .philosophy-teaser { padding: 32px 18px; }
  .philosophy-teaser-image { height: 230px; border-radius: 22px; }
  .philosophy-teaser-copy { padding: 0; }
  .philosophy-material summary { padding: 18px; }
  .philosophy-material > div { padding: 0 18px 18px; }
  .online-format-nav { grid-template-columns: 1fr; gap: 8px; }
  .online-format-nav a { grid-template-columns: 1fr 1fr; padding: 18px; align-items: center; gap: 12px; }
  .online-format-nav strong { font-size: 1.6rem; }
  .online-format-nav span { font-size: 0.75rem; }
  .online-page .course-card { grid-template-columns: 1fr; }
  .online-page .course-card img { height: 220px; min-height: 0; }
}
@media (max-width: 380px) {
  .practice-shortcuts { grid-template-columns: 1fr; }
  .practice-shortcut { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .practice-shortcut > img { display: block; width: 48px; height: 60px; }
  .practice-shortcut h3 { min-height: 0; font-size: 1.55rem; }
  .practice-shortcut-actions { display: flex; flex-wrap: wrap; gap: 0 12px; }
}

@media (max-width: 1060px) {
  .calendar-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .section-head h2,
  .house h2,
  .philosophy > h2,
  .events h2,
  .newsletter h2,
  .page-intro h1,
  .contact-panel h2,
  .contact-form-section h2,
  .online-feature h2,
  .course-section h2,
  .room-overview h2 { font-size: clamp(2rem, 11vw, 3.65rem); }
  .calendar-filters { grid-template-columns: 1fr; gap: 10px; padding: 0; overflow: visible; }
  .calendar-select-filter,
  .calendar-format-set { min-height: 0; border-radius: 20px; padding: 13px; }
  .calendar-filters > .calendar-filter-reset { width: 100% !important; min-width: 0; min-height: 56px !important; height: 56px; border-radius: 20px; }
  .calendar-select-filter select { min-height: 46px; }
  .calendar-multiselect summary { min-height: 46px; }
  .calendar-multiselect-menu { max-height: min(56vh, 340px); }
  .review-video-card video { aspect-ratio: 10 / 17; }
  .about-page-story { grid-template-columns: 1fr; padding: 48px 16px; }
}

/* Larger practice photos within the existing compact desktop cards. */
@media (min-width: 1181px) {
  .practice-shortcut { grid-template-columns: 108px minmax(0, 1fr); padding: 6px 12px; min-height: calc(clamp(1.4rem, 1.9vw, 1.9rem) * 2.1 + 90px); align-items: center; }
  .practice-shortcut > img { width: 108px; height: 128px; border-radius: 16px; }
  .practice-shortcut h3 { font-size: clamp(1.1rem, 1.4vw, 1.45rem); min-height: 2.1em; line-height: 1.05; }
  .practice-shortcut-actions { display: grid; margin-top: 0; gap: 0; }
  .practice-shortcut-actions a { min-height: 32px; font-size: 0.67rem; }
}
@media (min-width: 621px) and (max-width: 900px) {
  .practice-shortcut { grid-template-columns: 96px minmax(0, 1fr); padding: 6px 14px; min-height: 137px; align-items: center; }
  .practice-shortcut > img { width: 96px; height: 120px; }
}
.school-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.school-team-card { gap: 22px; padding: 22px; }
.school-team-card img { width: 108px; height: 132px; border-radius: 18px; }
.school-team-card h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
.school-team-card small, .school-team-card span { font-size: 0.82rem; }
.philosophy-article-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; }
.philosophy-article-card > div { min-width: 0; }
.philosophy-article-card small { font: 600 0.72rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.philosophy-article-card h3 { margin: 10px 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.philosophy-article-card > a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; }
.philosophy-article { max-width: 1040px; width: calc(100% - 48px); margin: 28px auto; padding: clamp(24px, 5vw, 72px); border-radius: 34px; background: var(--white); }
.article-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; font-size: 0.8rem; color: var(--muted); }
.article-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.philosophy-article h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.03; margin: 18px 0 24px; }
.article-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.article-body { max-width: 760px; margin: 36px auto; }
.article-body h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; margin: 32px 0 18px; }
.article-body p { line-height: 1.9; }
.article-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--line); padding-top: 28px; }
.article-actions .button { text-align: center; }
.article-related { width: calc(100% - 48px); max-width: 1040px; margin: 28px auto 48px; padding: 28px; border-radius: 30px; background: var(--cream); }
.article-related h2 { font-size: 2.6rem; margin-bottom: 24px; }
.article-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article-related a { display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: var(--white); }
.article-related strong { font: 500 1.7rem/1.1 var(--serif); }
.article-related span { font-size: 0.85rem; line-height: 1.6; color: var(--muted); }
.contact-page .contact-layout { padding: clamp(24px, 3vw, 44px); gap: clamp(24px, 4vw, 56px); margin-top: 20px; }
.contact-page .contact-panel { gap: 18px; }
.contact-page .contact-panel h1 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); line-height: 1.05; }
.contact-page .map-card { min-height: 380px; grid-template-rows: 1fr auto; }
.contact-page .map-card iframe { min-height: 320px; height: 100%; }
.contact-page .contact-form-section { padding: clamp(24px, 4vw, 56px); }
.contact-page .contact-layout { grid-template-areas: "details map" "form map"; row-gap: 24px; }
.contact-page .contact-panel { grid-area: details; }
.contact-page .contact-layout > .map-card { grid-area: map; }
.contact-page .contact-layout > .contact-form-section { grid-area: form; width: 100%; max-width: none; margin: 0; padding: 24px 0 0; display: block; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.contact-page .contact-form-section > div { gap: 8px; margin-bottom: 18px; }
.contact-page .contact-form-section h2 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.05; }
.contact-page .contact-form-section > div > span { font-size: 0.84rem; line-height: 1.6; }
.contact-page .contact-layout .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-page .contact-layout .contact-form .contact-message,
.contact-page .contact-layout .contact-form .form-note,
.contact-page .contact-layout .contact-form label:has(select) { grid-column: 1 / -1; }
.contact-page .contact-layout .contact-form input,
.contact-page .contact-layout .contact-form select,
.contact-page .contact-layout .contact-form textarea { padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-page .contact-layout .contact-form textarea { min-height: 110px; height: 110px; resize: vertical; }
.contact-page .contact-layout .contact-form button { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 10px 20px; }
@media (min-width: 1061px) {
  .contact-page .contact-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; }
  .contact-page .contact-methods a { grid-template-columns: 1fr; gap: 5px; margin: 0; padding: 12px; border-radius: 16px; }
  .contact-page .contact-methods strong { font: 600 0.85rem/1.4 var(--sans); }
  .contact-page .contact-methods span { font-size: 0.6rem; }
  .contact-page .contact-address { margin: 0; padding: 14px; }
  .contact-page .contact-address strong { font-size: 1.2rem; }
  .contact-page .contact-address p { font-size: 0.8rem; }
  .contact-page .contact-layout > .map-card { height: auto; min-height: 500px; }
}
@media (max-width: 1060px) {
  .contact-page .contact-layout { grid-template-areas: "details" "map" "form"; }
}
@media (max-width: 620px) {
  .contact-page .contact-layout > .contact-form-section { padding-top: 22px; margin-top: 8px; }
  .contact-page .contact-layout .contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .contact-page .contact-layout { margin-top: 8px; padding: 12px; gap: 10px; border-radius: 24px; }
  .contact-page .contact-panel { gap: 10px; }
  .contact-page .contact-panel h1 { font-size: 2rem; line-height: 1.05; }
  .contact-page .contact-methods { gap: 3px; border: 0; }
  .contact-page .contact-methods a { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 40px; margin: 0; padding: 6px 10px; border-radius: 12px; }
  .contact-page .contact-methods small { font-size: 0.68rem; color: var(--muted); }
  .contact-page .contact-methods strong { font: 600 0.88rem/1.3 var(--sans); overflow-wrap: anywhere; }
  .contact-page .contact-methods a > span { display: none; }
  .contact-page .contact-address { margin-top: 0; padding: 9px 10px; gap: 3px; border-radius: 14px; }
  .contact-page .contact-address small { font-size: 0.65rem; }
  .contact-page .contact-address strong { font: 600 0.82rem/1.35 var(--sans); }
  .contact-page .contact-address p { font-size: 0.69rem; line-height: 1.4; }
  .contact-page .map-card { height: clamp(150px, 26svh, 230px); min-height: 0; grid-template-rows: minmax(0, 1fr) 32px; border-radius: 16px; }
  .contact-page .map-card iframe { min-height: 0; height: 100%; }
  .contact-page .map-card > a { display: flex; align-items: center; justify-content: center; padding: 5px 10px; font-size: 0.72rem; }
}
@media (max-width: 620px) {
  .day-event.online { grid-template-columns: 54px minmax(0, 1fr); column-gap: 8px; row-gap: 6px; }
  .day-event.online > time { grid-column: 1; grid-row: 1; }
  .day-event.online .day-event-main { grid-column: 2; grid-row: 1; min-width: 0; }
  .day-event.online .day-event-venue { grid-column: 2; grid-row: 2; display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 24px; padding: 4px 10px; border: 1px solid rgba(154,120,61,0.3); border-radius: 999px; background: var(--gold-pale); color: #74551f; }
  .day-event.online .day-event-venue small { display: none; }
  .day-event.online .day-event-venue strong { font: 700 0.65rem/1.2 var(--sans); white-space: nowrap; }
  .calendar-period-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .calendar-period-head .period-actions { width: 100%; justify-content: space-between; align-items: center; gap: 8px; }
  .calendar-period-head .period-actions > span { width: auto; text-align: left; }
  .calendar-period-head .period-actions button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 6px; width: auto; max-width: 100%; min-height: 36px; padding: 7px 10px; font-size: 0.66rem; line-height: 1.2; white-space: nowrap; }
  .calendar-period-head .period-actions button i { margin-left: 0; padding: 3px 5px; border-radius: 999px; background: var(--gold-pale); color: #74551f; font-size: 0.55rem; line-height: 1.2; }
}
.footer { display: block; max-width: 1540px; padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 56px) 22px; background: var(--cream); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.footer-brand .wordmark { display: inline-block; font-size: 3rem; color: var(--ink); }
.footer .footer-brand p { margin-top: 22px; font: 500 1.8rem/1.15 var(--serif); text-align: left; color: var(--ink); }
.footer-brand > span { display: block; margin-top: 14px; color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.footer .footer-column { min-width: 0; display: grid; gap: 4px; align-content: start; justify-content: start; font-family: var(--sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.footer-column h2 { margin: 0 0 16px; font: 700 0.7rem/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.footer-column > a { min-height: 36px; display: inline-flex; align-items: center; width: fit-content; line-height: 1.5; }
.footer-column > a:hover { color: #765a28; text-decoration: underline; text-underline-offset: 4px; }
.footer .footer-contacts { justify-content: stretch; gap: 16px; }
.footer-contacts h2 { margin-bottom: 0; }
.footer .footer-contact-method { display: grid; gap: 5px; color: var(--ink); }
.footer-contact-method small { color: var(--muted); font-size: 0.72rem; }
.footer-contact-method > span { font-size: 0.95rem; font-weight: 600; overflow-wrap: anywhere; }
.footer .footer-whatsapp { gap: 10px; font-size: 0.8rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.73rem; line-height: 1.5; }
.footer-credit { display: inline-flex; align-items: baseline; gap: 8px; }
.footer-credit strong { color: var(--ink); font-size: 0.87rem; font-weight: 700; letter-spacing: -0.025em; }
@media (max-width: 1060px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 620px) {
  .footer { padding: 28px 22px 22px; }
  .footer-main { gap: 28px 18px; }
  .footer-brand, .footer-contacts { grid-column: 1 / -1; }
  .footer-brand .wordmark { font-size: 2.6rem; }
  .footer .footer-brand p { margin-top: 14px; font-size: 1.65rem; }
  .footer-brand > span br { display: none; }
  .footer-column h2 { margin-bottom: 10px; }
  .footer-column > a { min-height: 44px; font-size: 0.8rem; }
  .footer-bottom { margin-top: 28px; align-items: start; flex-direction: column; gap: 10px; }
}
.listing-page-title { margin: 0 0 24px; }
.listing-page-title h1 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.1; }
.teachers-page .teacher-profiles { padding: clamp(24px, 3vw, 42px); margin-top: 20px; }
.practices-page .practice-descriptions { margin-top: 20px; }
.practices-page .listing-page-title { margin-bottom: 0; padding: 0 16px; }
.nav-school { position: relative; min-width: 0; }
.nav-school > summary { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 36px; padding: 9px 11px; border-radius: 999px; font: inherit; line-height: 1.35; white-space: nowrap; cursor: pointer; list-style: none; }
.nav-school > summary::-webkit-details-marker { display: none; }
@media (min-width: 901px) {
  .desktop-nav { align-items: center; }
  .desktop-nav > a, .nav-school > summary { display: flex; align-items: center; min-height: 40px; line-height: 1.35; }
}
.nav-school > summary:hover, .nav-school[open] > summary { background: var(--gold-pale); color: var(--ink); }
.nav-school > summary i { width: 6px; height: 6px; flex: 0 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-school[open] > summary i { transform: translateY(2px) rotate(225deg); }
.nav-school[open]::after { content: ''; position: absolute; inset: 100% 0 auto; height: 12px; }
.nav-school-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; display: grid; gap: 4px; width: 250px; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 18px 40px rgba(67,61,51,0.15); }
.nav-school:not([open]) > .nav-school-menu { display: none; }
.language-switcher { position: relative; flex: 0 0 auto; color: inherit; }
.language-switcher > summary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 54px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 999px; font: 700 0.7rem/1.2 var(--sans); cursor: pointer; list-style: none; }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher > summary i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.language-switcher[open] > summary { background: var(--gold-pale); color: var(--ink); }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 61; display: grid; gap: 4px; width: 220px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 18px 40px rgba(67,61,51,0.15); }
.language-switcher:not([open]) > .language-options { display: none; }
.language-options > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px; border: 0; border-radius: 11px; font: 600 0.8rem/1.4 var(--sans); text-align: left; }
.language-current { background: var(--gold-pale); }
.language-current b, .language-options button span { font-size: 0.64rem; font-weight: 600; }
.language-options button:disabled { background: transparent; color: var(--muted); cursor: default; opacity: 0.7; }
.desktop-nav .nav-school-menu a { display: flex; align-items: center; min-height: 44px; padding: 12px 14px; border-radius: 13px; white-space: normal; line-height: 1.4; }
@media (max-width: 900px) {
  .header.open { max-height: calc(100svh - 28px); overflow-y: auto; }
  .header.open .desktop-nav { grid-template-columns: 1fr; }
  .header.open .header-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .header.open .language-switcher > summary { width: 100%; justify-content: space-between; padding-inline: 14px; border-radius: 14px; }
  .header.open .language-options { position: static; width: 100%; margin-top: 6px; border: 0; box-shadow: none; background: var(--gold-pale); }
  .header.open .header-actions a { width: 100%; justify-content: start; padding-inline: 14px; }
  .nav-school > summary { min-height: 44px; padding: 10px; font-size: 0.72rem; border-radius: 14px; background: var(--gold-pale); }
  .nav-school[open]::after { display: none; }
  .nav-school-menu { position: static; width: 100%; margin-top: 6px; padding: 4px 0 4px 16px; border: 0; border-left: 2px solid var(--gold); border-radius: 0; box-shadow: none; background: transparent; }
  .header.open .desktop-nav .nav-school-menu a { background: transparent; padding: 10px 12px; border-radius: 10px; }
  .header.open .desktop-nav .nav-school-menu a:hover { background: var(--gold-pale); }
}
@media (max-width: 900px) {
  .school-team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .school-team-card { padding: 18px; gap: 16px; }
  .school-team-card img { width: 90px; height: 112px; }
  .school-team-card h3 { font-size: 1.8rem; overflow-wrap: anywhere; }
  .school-team-card small, .school-team-card span { font-size: 0.72rem; }
  .philosophy-article-card { flex-direction: column; align-items: start; padding: 22px; gap: 12px; }
  .philosophy-article, .article-related { width: calc(100% - 12px); margin: 12px auto; padding: 26px 18px; border-radius: 26px; }
  .article-related > div { grid-template-columns: 1fr; }
}

/* Keep the complete contact-and-form workspace inside a desktop viewport. */
@media (min-width: 901px) {
  .contact-page { min-height: 100svh; }
  .contact-page .contact-layout { min-height: calc(100svh - 120px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-rows: auto 1fr; grid-template-areas: "details map" "form map"; gap: 16px 28px; padding: 22px; margin-top: 12px; margin-bottom: 16px; border-radius: 30px; }
  .contact-page .contact-panel { gap: 10px; }
  .contact-page .contact-panel h1 { font-size: 2.6rem; }
  .contact-page .contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; }
  .contact-page .contact-methods a { grid-template-columns: 1fr; gap: 3px; margin: 0; padding: 8px 10px; border-radius: 12px; }
  .contact-page .contact-methods small { font-size: 0.67rem; }
  .contact-page .contact-methods strong { font: 600 0.8rem/1.4 var(--sans); overflow-wrap: anywhere; }
  .contact-page .contact-methods a > span { display: none; }
  .contact-page .contact-address { gap: 4px; margin: 0; padding: 9px 12px; border-radius: 14px; }
  .contact-page .contact-address small { font-size: 0.65rem; }
  .contact-page .contact-address strong { font: 600 0.88rem/1.4 var(--sans); }
  .contact-page .contact-address p { font-size: 0.7rem; line-height: 1.4; }
  .contact-page .contact-layout > .contact-form-section { display: flex; flex-direction: column; gap: 0; min-height: 0; padding-top: 14px; }
  .contact-page .contact-form-section > div { gap: 6px; margin-bottom: 12px; }
  .contact-page .contact-form-section > div > .eyebrow { display: none; }
  .contact-page .contact-form-section h2 { font-size: 1.9rem; }
  .contact-page .contact-form-section > div > span { font-size: 0.78rem; line-height: 1.4; }
  .contact-page .contact-layout .contact-form { flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto minmax(110px, 1fr) auto; gap: 12px; }
  .contact-page .contact-layout .contact-form label { min-width: 0; gap: 5px; }
  .contact-page .contact-layout .contact-form label:has(select) { grid-column: auto; }
  .contact-page .contact-layout .contact-form label > span { font-size: 0.68rem; line-height: 1.3; letter-spacing: 0.045em; }
  .contact-page .contact-layout .contact-form input,
  .contact-page .contact-layout .contact-form select { min-width: 0; min-height: 44px; height: 44px; padding: 10px 12px; font-size: 0.85rem; }
  .contact-page .contact-layout .contact-form .contact-message { grid-template-rows: auto minmax(0, 1fr); }
  .contact-page .contact-layout .contact-form textarea { min-height: 88px; height: 100%; padding: 12px; font-size: 0.9rem; }
  .contact-page .contact-layout .contact-form button { grid-column: 1; align-self: center; width: 100%; min-height: 40px; padding: 8px 10px; font-size: 0.65rem; letter-spacing: 0.03em; }
  .contact-page .contact-layout .contact-form .form-note { grid-column: 2 / -1; align-self: center; font-size: 0.67rem; line-height: 1.4; }
  .contact-page .contact-layout > .map-card { height: auto; min-height: 0; grid-template-rows: minmax(0, 1fr) 36px; }
  .contact-page .map-card iframe { min-height: 0; }
  .contact-page .map-card > a { display: flex; align-items: center; justify-content: center; padding: 8px; font-size: 0.8rem; }
}

.reset-label-short { display: none; }
@media (max-width: 620px) {
  .offerings-compact .practice-shortcuts { grid-template-columns: 1fr; gap: 10px; }
  .offerings-compact .practice-shortcut { display: grid; grid-template-columns: clamp(100px, 30vw, 150px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; min-height: 0; }
  .offerings-compact .practice-shortcut > img { display: block; width: 100%; height: clamp(112px, 34vw, 160px); border-radius: 12px; object-fit: cover; }
  .offerings-compact .practice-shortcut h3 { min-height: 0; font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.05; }
  .offerings-compact .practice-shortcut-actions { display: flex; flex-wrap: wrap; gap: 0 6px; margin-top: 4px; }
  .offerings-compact .practice-shortcut-actions a { min-height: 34px; font-size: 0.64rem; }

  .calendar { padding-top: 28px; padding-bottom: 28px; }
  .calendar > .section-head { margin-bottom: 18px; }
  .calendar > .section-head h2 { font-size: 2.65rem; }
  .calendar > .section-head > span { margin-top: 12px; font-size: 0.78rem; line-height: 1.5; }
  .calendar .calendar-filters { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--gold-pale); box-shadow: none; }
  .calendar .calendar-select-filter,
  .calendar .calendar-format-set { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .calendar .calendar-select-filter { gap: 6px; }
  .calendar .calendar-select-filter > span,
  .calendar .calendar-format-title { font-size: 0.6rem; letter-spacing: 0.06em; }
  .calendar .calendar-multiselect summary { min-height: 40px; padding-inline: 10px; gap: 8px; font-size: 0.68rem; background: var(--white); }
  .calendar .calendar-multiselect-menu { width: min(280px, calc(100vw - 64px)); max-height: min(50svh, 300px); }
  .calendar .calendar-multiselect:nth-child(2) .calendar-multiselect-menu { left: auto; right: 0; }
  .calendar .calendar-format-set { grid-column: 1 / -1; padding-right: 62px; }
  .calendar .calendar-format-title { margin-bottom: 6px; }
  .calendar .calendar-format-set .calendar-filter-options { flex-wrap: nowrap; gap: 6px; }
  .calendar .calendar-filter-chip > span { min-height: 32px; gap: 5px; padding: 6px 7px; font-size: 0.65rem; white-space: nowrap; }
  .calendar .calendar-format-set .calendar-filter-chip > span::before { width: 12px; height: 12px; }
  .calendar .calendar-filters > .calendar-filter-reset { position: absolute; bottom: 12px; right: 10px; width: auto !important; min-width: 0; min-height: 32px !important; height: 32px; padding: 4px; border: 0 !important; border-radius: 8px; background: transparent !important; box-shadow: none; font-size: 0.61rem; letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 3px; }
  .reset-label-full { display: none; }
  .reset-label-short { display: inline; }
  .calendar .calendar-filter-status { margin-top: 8px; font-size: 0.7rem; line-height: 1.4; }
  .calendar .day-detail-grid { margin-top: 12px; }

  .teachers-page .teacher-profile > .teacher-gallery { order: 0; }
  .teachers-page .teacher-profile > .teacher-profile-copy { order: 1; }
}
