/* In-studio booking page — schedule, passes, booking dialog.
   Tokens from foundation.css only. Section rhythm: parchment → sage → parchment. */

.studio { max-width: 920px; margin-inline: auto; }

/* ── Hero ─────────────────────────────────────────────────────── */

.studio-hero-section { padding-bottom: clamp(3.5rem, 7vw, 6rem); }

.studio-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.studio-head h1 {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  font-weight: 400;
  text-wrap: balance;
}
.studio-intro {
  max-width: 52ch;
  margin: 1.5rem auto 0;
  font-size: var(--t-lead);
  line-height: var(--lh-base);
  color: rgba(46, 44, 45, 0.78);
}
.studio-trust {
  margin-top: 1.25rem;
  font-family: var(--font-caps);
  font-size: var(--t-caption);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--sand-muted);
}
.studio-member-note {
  margin-top: 0.7rem;
  font-size: var(--t-small);
  color: rgba(46, 44, 45, 0.72);
}
.studio-member-note a { color: var(--espresso); text-underline-offset: 3px; }

/* Hero entrance — staggered fade-up, matching the site-wide hero pattern. */
@keyframes studio-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.studio-head > * {
  animation: studio-fade-up var(--slow) var(--ease) both;
}
.studio-head .b-shead__kicker { animation-delay: 0.1s; }
.studio-head h1 { animation-delay: 0.25s; }
.studio-intro { animation-delay: 0.4s; }
.studio-trust { animation-delay: 0.55s; }

/* ── Status banner + credit strip ─────────────────────────────── */

.studio-banner {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.95rem;
  animation: studio-fade-up var(--slow) var(--ease) both;
}

.credit-strip {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px dashed var(--sand);
  border-radius: var(--r);
  font-family: var(--font-caps);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso);
}

/* ── Schedule ─────────────────────────────────────────────────── */

/* Filter chips */
.schedule-filters { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.75rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-chip {
  padding: 0.4rem 0.85rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.filter-chip:hover { border-color: var(--espresso); }
.filter-chip--active { background: var(--espresso); color: var(--parchment); border-color: var(--espresso); }

/* Schedule column — a centred reading width so time · title · price sit close,
   not floated to opposite screen edges on wide viewports. */
.studio-schedule { max-width: 720px; margin-inline: auto; }
.schedule-list { scroll-margin-top: calc(var(--navbar-offset, 5rem) + 1rem); }

/* All / Classes / Retreats toggle (only rendered when retreats exist). */
.kind-toggle {
  display: inline-flex;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.kind-btn {
  padding: 0.45rem 0.9rem;
  background: var(--off-white);
  border: none;
  border-left: 1px solid var(--border);
  font-family: var(--font-caps);
  font-size: 0.7rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.kind-btn:first-child { border-left: none; }
.kind-btn:hover:not(.kind-btn--active) { background: var(--parchment); }
.kind-btn--active { background: var(--espresso); color: var(--parchment); }
.kind-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--sand); }

/* Date-picker button — starts at the top of the schedule, then sticks below the
   navbar as you scroll. The wrapper is the sticky element: its parchment top
   padding is the gap under the navbar (and covers content scrolling past). */
.datepicker-bar {
  position: sticky;
  top: var(--navbar-offset, 5rem);
  z-index: 3;
  background: var(--parchment);
  padding-top: 0.85rem;
  margin-bottom: 0.85rem;
}
.datepicker-fab {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  background: var(--espresso);
  color: var(--parchment);
  border: none;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--fast) var(--ease);
}
.datepicker-fab:hover { background: var(--sage-deep, #2A2827); }
.datepicker-fab:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.datepicker-fab svg { flex-shrink: 0; }

/* Date-picker modal */
.datepicker-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(46, 44, 45, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.datepicker {
  width: 100%;
  max-width: 360px;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  animation: studio-modal-in var(--slow) var(--ease);
}
.datepicker__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.datepicker__head h3 {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 400;
  letter-spacing: var(--track-tight);
}
.datepicker__close {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: var(--espresso);
  transition: border-color var(--fast) var(--ease);
}
.datepicker__close:hover { border-color: var(--espresso); }
.datepicker__close:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.datepicker__legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.1rem;
  font-family: var(--font-caps);
  font-size: 0.62rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--sand-muted);
}
.datepicker__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.datepicker__legend .dp-dot { width: 7px; height: 7px; }
.datepicker__go { width: 100%; margin-top: 1.25rem; }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.cal-nav {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 1.7rem;
  height: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--espresso);
  transition: border-color var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.cal-nav:hover:not(:disabled) { border-color: var(--espresso); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.2rem; }
.cal-dow {
  text-align: center;
  font-family: var(--font-caps);
  font-size: 0.6rem;
  letter-spacing: var(--track-wide);
  color: var(--sand-muted);
  padding-bottom: 0.3rem;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: none;
  background: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--sand-muted);
  cursor: default;
}
.cal-day__num { line-height: 1; }
.cal-day__dots { display: flex; gap: 3px; height: 5px; align-items: center; }
.cal-day.has-classes { color: var(--espresso); cursor: pointer; font-weight: 600; }
.cal-day.has-classes:hover { background: var(--parchment); }
.cal-day--selected { background: var(--espresso); color: var(--parchment); font-weight: 600; }
.cal-day:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* Two dot colours: classes vs retreats (with a legend in the modal). */
.dp-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dp-dot--class { background: var(--espresso); }
.dp-dot--retreat { background: #b87840; }
.cal-day--selected .dp-dot--class { background: var(--parchment); }

.schedule-day {
  position: sticky;
  /* Sit flush below the sticky "Browse by date" bar (parchment cap + pill). */
  top: calc(var(--navbar-offset, 5rem) + 3.25rem);
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin: clamp(1.25rem, 3vw, 2rem) 0 0.6rem;
  padding: 0.5rem 0 0.55rem;
  background: var(--parchment);
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 400;
  letter-spacing: var(--track-tight);
  scroll-margin-top: calc(var(--navbar-offset, 5rem) + 3.25rem);
}
.schedule-list > .schedule-day:first-child { margin-top: 0; }
.schedule-day::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
  transform: translateY(-0.35em);
}

.schedule-skeleton {
  height: 108px;
  border-radius: var(--r);
  background: var(--off-white);
  border: 1px solid var(--border-light);
  animation: studio-pulse 1.2s ease-in-out infinite alternate;
  margin-bottom: 0.85rem;
}
@keyframes studio-pulse { from { opacity: 1; } to { opacity: 0.55; } }

/* Class card — native <details> disclosure, no JS state management */
.class-card {
  display: block;
  margin-bottom: 0.6rem;
  /* ponytail: clears the navbar + the sticky date bar + the sticky day header for #class- deep links. */
  scroll-margin-top: calc(var(--navbar-offset, 5rem) + 6rem);
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.class-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.class-card[open] { box-shadow: var(--shadow-md); }

/* Slide the detail panel open/closed. Modern CSS only (interpolate-size lets
   block-size animate to `auto`); browsers without ::details-content just open
   instantly — no JS, no library. */
.class-card { interpolate-size: allow-keywords; }
.class-card::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size var(--slow) var(--ease), content-visibility var(--slow) var(--ease);
  transition-behavior: allow-discrete;
}
.class-card[open]::details-content { block-size: auto; }

.class-card__summary {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 1.25rem;
  align-items: center;
  /* Symmetric-ish vertical padding so the time/body/side band sits vertically
     centred; the slightly larger bottom clears the absolute expander. */
  padding: 2.2rem 1.35rem 2.45rem;
  cursor: pointer;
  list-style: none;
}
.class-card__summary::-webkit-details-marker { display: none; }
.class-card__summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.class-card__time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 6.5rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
}
.class-card__hm { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.class-card__dur { display: block; margin-top: 0.15rem; font-family: var(--font-caps); font-size: var(--t-caption); letter-spacing: var(--track-wider); color: var(--sand-muted); text-transform: uppercase; }

.class-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: var(--lh-snug);
  font-weight: 400;
  letter-spacing: var(--track-tight);
  margin: 0 0 0.3rem;
}
.class-card__tags { font-size: var(--t-small); line-height: 1.6; color: var(--sand-muted); margin: 0; }
.class-card__level {
  display: block;
  width: fit-content;
  margin: 0.4rem auto 0;
  padding: 0.2rem 0.5rem;
  background: rgba(180, 173, 166, 0.15);
  border-radius: var(--r-sm);
  font-family: var(--font-caps);
  font-size: 0.65rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--sand-muted);
}
/* Traffic-light difficulty — muted, on-brand green / amber / red. */
.class-card__level--easy   { background: rgba(92, 138, 92, 0.16);  color: #4a7a4a; }
.class-card__level--medium { background: rgba(184, 120, 64, 0.17); color: #a76a34; }
.class-card__level--hard   { background: rgba(168, 82, 82, 0.15);  color: #9a4646; }
.class-card__retreat-badge {
  display: inline-block;
  margin-top: 0.45rem;
  margin-right: 0.4rem;
  padding: 0.2rem 0.5rem;
  background: var(--espresso);
  border-radius: var(--r-sm);
  font-family: var(--font-caps);
  font-size: 0.65rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--off-white);
}

/* Availability pill — outlined text, traffic-light coded. Open = green outline,
   getting full = amber warning, full = red with inverted (filled) colours. */
.class-card__spots {
  display: block;
  width: fit-content;
  margin: 0.5rem auto 0;
  padding: 0.2rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: var(--r-sm);
  font-family: var(--font-caps);
  font-size: 0.62rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  white-space: nowrap;
}
.class-card__spots--open { color: #4a7a4a; }
.class-card__spots--low  { color: #a76a34; }
.class-card__spots--full { color: var(--off-white); background: #9a4646; border-color: #9a4646; }

.class-card__side { text-align: right; display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end; }
.class-card__price { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.class-card__price small { display: block; margin-top: 0.15rem; font-family: var(--font-body); font-size: 0.78rem; color: var(--sand-muted); }

.class-card__share-wrap { display: flex; align-items: center; gap: 0.4rem; }
.class-card__share-hint {
  font-family: var(--font-caps);
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--sand-muted);
  white-space: nowrap;
}
.class-card__share-arrow { color: var(--sand-muted); font-size: 0.95rem; line-height: 1; }
.class-card__share {
  display: flex;
  padding: 0.35rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  line-height: 0;
  color: var(--espresso);
  cursor: pointer;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.class-card__share:hover { border-color: var(--espresso); background: var(--parchment); }
.class-card__share:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* Centred expander: "click to expand" label above the chevron — identical at every size. */
.class-card__expander {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.class-card__expand-label {
  font-family: var(--font-caps);
  font-size: 0.58rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--sand-muted);
  line-height: 1;
}
.class-card__expand-label::before { content: 'Click to expand & book'; }
.class-card[open] .class-card__expand-label::before { content: 'Click to collapse'; }
.class-card__chevron {
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid var(--sand-muted);
  border-bottom: 1.5px solid var(--sand-muted);
  transform: rotate(45deg);
  transition: transform var(--fast) var(--ease);
}
.class-card[open] .class-card__chevron { transform: rotate(-135deg); }

.class-card__detail {
  padding: 0 1.6rem 1.6rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.4rem;
  margin-top: -0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  /* Recessed, business-card-like panel: parchment + a faint neutral paper grain,
     a soft top-down sheen, and an inset shadow so it reads as pressed-in depth. */
  background-color: var(--parchment);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E"),
    repeating-linear-gradient(45deg, rgba(46, 44, 45, 0.022) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(46, 44, 45, 0.05), rgba(46, 44, 45, 0) 160px);
  box-shadow: inset 0 8px 15px -13px rgba(46, 44, 45, 0.32);
  border-bottom-left-radius: var(--r);
  border-bottom-right-radius: var(--r);
}
.class-card__description { font-size: var(--t-body); line-height: var(--lh-base); color: rgba(46, 44, 45, 0.85); }
.class-card__description, .class-card__notes { max-width: 54ch; }

.class-card__instructor, .class-card__venue-block { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
/* Instructor photo is a porthole (round); venue photo is square, same 64px size. */
.class-card__instructor img, .class-card__venue-block img {
  width: 64px; height: 64px; object-fit: cover; border-radius: var(--r); flex-shrink: 0;
}
.class-card__instructor img { border-radius: 50%; }
.class-card__detail-kicker {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-caps);
  font-size: 0.62rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--sand-muted);
}
.class-card__instructor strong, .class-card__venue-block strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; margin-bottom: 0.2rem; }
.class-card__instructor p, .class-card__venue-block p { font-size: var(--t-small); color: var(--sand-muted); margin: 0 0 0.3rem; }
.class-card__venue-block a { font-size: var(--t-small); color: var(--espresso); text-decoration-color: var(--sand); text-underline-offset: 3px; }

/* Keyless OSM embed — muted toward greige so it reads calm, not the default OSM palette. */
.venue-map {
  width: 100%;
  max-width: 340px;
  height: 180px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  filter: grayscale(0.9) sepia(0.08) contrast(0.95) brightness(1.02);
}

.profile-initial {
  width: 64px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sand-muted);
}

.class-card__notes { font-size: var(--t-small); line-height: 1.6; color: var(--sand-muted); }
.class-card__actions { align-self: stretch; }
.class-card__actions .btn { width: 100%; }

@media (max-width: 640px) {
  .class-card__summary { grid-template-columns: auto 1fr; column-gap: 1.1rem; padding: 1.9rem 1.25rem 2.3rem; }
  .class-card__time { padding-right: 1.1rem; min-width: 5.5rem; }
  .class-card__side {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem 0.75rem;
    text-align: left;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-light);
  }
  .class-card__detail { padding-inline: 1.25rem; }
}

/* ── Empty state ──────────────────────────────────────────────── */

.studio-empty {
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
  text-align: center;
  border: 1px dashed var(--sand);
  border-radius: var(--r);
  color: var(--sand-muted);
}
.studio-empty__title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  color: var(--espresso);
  margin-bottom: 0.6rem;
}
.studio-empty a { color: var(--espresso); }

/* ── Passes (sage band) ───────────────────────────────────────── */

.studio-section-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.studio-section-head .b-shead__kicker { color: var(--sage-accent); }
.studio-section-head h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  font-weight: 400;
  text-wrap: balance;
}
.studio-section-sub {
  margin-top: 0.8rem;
  color: rgba(46, 44, 45, 0.72);
  font-size: var(--t-body);
  line-height: var(--lh-base);
  max-width: 52ch;
}

.passes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.pass-card {
  padding: 1.6rem 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--sage-border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.pass-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pass-card__name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: var(--track-tight); }
.pass-card__detail { font-size: var(--t-small); color: var(--sand-muted); }
.pass-card__price { font-family: var(--font-display); font-size: 1.7rem; margin: 0.5rem 0 0.9rem; }
.pass-card .btn { align-self: flex-start; }

.studio-note {
  margin-top: 1.5rem;
  font-size: var(--t-small);
  color: rgba(46, 44, 45, 0.72);
}
.studio-note a { color: var(--espresso); }

/* ── FAQ ──────────────────────────────────────────────────────── */

.faq-list { max-width: 62ch; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 1.1rem 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--sand-muted);
  transition: transform var(--fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.75rem; font-size: var(--t-body); line-height: var(--lh-base); color: rgba(46, 44, 45, 0.75); }

/* ── Booking dialog ───────────────────────────────────────────── */

.studio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(46, 44, 45, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 1rem 1rem;
  overflow-y: auto;
}
.studio-modal {
  width: 100%;
  max-width: 470px;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  animation: studio-modal-in var(--slow) var(--ease);
}
@keyframes studio-modal-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.studio-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.studio-modal__head h3 {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  font-weight: 400;
}
.studio-modal__close {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: var(--espresso);
  transition: border-color var(--fast) var(--ease);
}
.studio-modal__close:hover { border-color: var(--espresso); }
.studio-modal__close:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.bm-meta {
  margin: 0.6rem 0 1.5rem;
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--sand-muted);
}
.bm-meta a { color: var(--espresso); white-space: nowrap; }

#booking-form { accent-color: var(--espresso); }
#booking-form label {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-caps);
  font-size: 0.75rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
#booking-form input[type="text"],
#booking-form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--espresso);
}
#booking-form input:focus-visible {
  outline: none;
  border-color: var(--espresso);
  box-shadow: var(--focus-ring);
}

.bm-guests-only-note {
  margin: -0.4rem 0 1rem;
  padding: 0.65rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--espresso);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
#booking-form .bm-self-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.bm-guests { margin-bottom: 1.25rem; }
.bm-guest-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.bm-guest-row input[type="text"] { margin-top: 0; }
.bm-guest-remove {
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--espresso);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease);
}
.bm-guest-remove:hover { border-color: var(--espresso); }
.bm-add-guest {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  background: none;
  border: 1px dashed var(--border);
  border-radius: var(--r);
  color: var(--espresso);
  cursor: pointer;
  transition: border-color var(--fast) var(--ease);
}
.bm-add-guest:hover:not(:disabled) { border-color: var(--espresso); }
.bm-add-guest:disabled { opacity: 0.5; cursor: not-allowed; }

.bm-group-hint {
  margin: -0.6rem 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--sand-muted);
}

.bm-price-summary {
  margin: -0.4rem 0 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--espresso);
}

.bm-yesno { display: flex; gap: 1.25rem; margin-top: 0.4rem; }
#booking-form .bm-yesno label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.bm-payment {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.1rem 0.7rem;
  margin: 1.25rem 0;
}
.bm-payment legend {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  padding: 0 0.4rem;
}
#booking-form .bm-payment label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}
#booking-form .bm-payment label span small { color: var(--sand-muted); display: block; font-size: 0.8rem; }

.bm-upsell { font-size: 0.85rem; line-height: 1.6; color: var(--sand-muted); margin: -0.4rem 0 1rem; }
.bm-upsell a { color: var(--espresso); }

.bm-submit { width: 100%; }
.bm-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--sand-muted);
  text-align: center;
}

/* ── Reduced motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .studio-head > *,
  .studio-banner,
  .studio-modal,
  .datepicker { animation: none; }
  .schedule-skeleton { animation: none; }
  .pass-card:hover, .datepicker-fab:hover { transform: none; }
  .class-card::details-content { transition: none; }
}
