.studio {
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --glass: color-mix(in srgb, var(--bg) 75%, transparent);
  --glass-edge: color-mix(in srgb, var(--ink) 14%, transparent);
  --glass-shine: color-mix(in srgb, white 64%, transparent);
  --glass-shadow: 0 12px 36px #38261913, inset 0 1px 0 var(--glass-shine);
  --hero-ink: #fff8ee;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .studio { --glass-shine: #ffffff20; --glass-shadow: 0 12px 36px #0005, inset 0 1px 0 var(--glass-shine); }
}
:root[data-theme=dark] .studio { --glass-shine: #ffffff20; --glass-shadow: 0 12px 36px #0005, inset 0 1px 0 var(--glass-shine); }

.studio .header {
  top: 12px;
  min-height: 66px;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(1600px - 2 * var(--gutter));
  margin: 12px auto 0;
  padding: .48rem .65rem .48rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .8rem;
  border: 1px solid var(--glass-edge);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(155%);
  box-shadow: var(--glass-shadow);
}
.studio .header .brand { justify-self: start; }
.studio .header-actions { justify-self: end; }
.studio .header nav {
  gap: .2rem;
  padding: .2rem;
  border: 1px solid var(--glass-edge);
  border-radius: 100px;
  background: color-mix(in srgb, var(--surface) 63%, transparent);
  box-shadow: inset 0 1px 1px #0000000b;
}
.studio .header nav a {
  border-radius: 100px;
  padding: .43rem .82rem;
  transition: background-color .22s, color .22s;
}
.studio .header nav a:hover,
.studio .header nav a[aria-current] { background: var(--bg); color: var(--accent); }
.studio .icon { background: color-mix(in srgb, var(--surface) 57%, transparent); }
.studio .button {
  position: relative;
  border-radius: 100px;
  background-image: linear-gradient(155deg, #ffffff27, transparent 57%, #25100432);
  box-shadow: inset 0 1px 1px #fff6, 0 5px 15px #38261925;
}
.studio .button:hover { filter: brightness(1.1); }
.studio .header-actions .admin-website-link { min-height: 44px; white-space: nowrap; }
@media (max-width: 600px) {
  .studio .header-actions .admin-website-link { padding-inline: .8rem; font-size: .78rem; }
}
.scroll-track {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  inset: auto 1.8rem 0;
  height: 2px;
  border-radius: 50px;
}
.scroll-fill {
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), #e7ba8e);
}

.studio .hero {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(570px, calc(100svh - 110px), 910px);
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(1600px - 2 * var(--gutter));
  margin: 13px auto 0;
  padding: clamp(2.25rem, 6vw, 7.25rem);
  overflow: clip;
  border-radius: clamp(1.4rem, 3vw, 3.25rem);
  background: #251813;
  color: var(--hero-ink);
  box-shadow: 0 22px 70px #3d211c25;
}
.studio .hero-figure {
  position: absolute;
  z-index: -3;
  inset: 0;
  min-width: 0;
}
.hero-frame {
  position: absolute;
  inset: 0;
  transform-origin: 75% 46%;
}
.hero-sheen {
  position: absolute;
  pointer-events: none;
  inset: -16% auto -16% 0;
  width: 60%;
  opacity: 0;
  background: linear-gradient(111deg, transparent 32%, #fbd0a33d 48%, #ffd8b055 54%, transparent 70%);
  mix-blend-mode: screen;
}
.studio .hero-figure img {
  position: absolute;
  right: 0;
  width: 78%;
  height: 100%;
  border-radius: 0;
  object-position: 50% 53%;
  scale: 1.12;
  transform-origin: right center;
}
.studio .hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, #211510 3%, #221611ed 23%, #281810a6 46%, #29160e24 73%),
    linear-gradient(0deg, #1c110cca, transparent 29%);
}
.studio .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  inset: 0;
  border: 1px solid #fff6;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 #ffedda33;
}
.hero-light {
  position: absolute;
  z-index: -1;
  width: min(42rem, 70vw);
  aspect-ratio: 1;
  left: 0;
  top: 0;
  translate: -50% -50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, #ffd4a13f 0%, #ffb66f19 34%, transparent 68%);
  mix-blend-mode: screen;
}
.studio .hero-copy { padding: .5rem 0 2rem; }
.studio .hero .eyebrow { color: #f2cda7; letter-spacing: .175em; }
.studio .hero h1 { font-size: clamp(3.6rem, 8.15vw, 8.9rem); line-height: .91; }
.hero-title-clip {
  display: block;
  overflow: clip;
  overflow-clip-margin: .12em;
}
.hero-title-word { display: block; transform-origin: left center; }
.studio .hero h1 em { color: #f5d6b5; line-height: 1.08; }
.studio .hero-copy > p {
  color: #f4e7d8;
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
  max-width: 28rem;
  margin: 1.5rem 0 1.9rem;
}
.studio .hero .actions { gap: .65rem; flex-wrap: wrap; }
.studio .hero .button {
  background-color: #f3d8bd;
  color: #2b1c16;
  padding-inline: 1.5rem;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: .62rem 1.25rem;
  border: 1px solid #ffe9d56b;
  border-radius: 100px;
  background: linear-gradient(145deg, #fff4e331, #e6c2a210);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 #fff4e33d;
  font-size: .91rem;
  font-weight: 700;
  transition: background-color .22s;
}
.hero-secondary:hover { background-color: #fff4e326; }
.studio .hero :focus-visible { outline-color: #ffe3ca; }
.studio .section { padding-inline: var(--gutter); }
.studio .classes { border-top: 0; padding-top: clamp(3.8rem, 7vw, 7rem); }
.studio .section > h1, .studio .section > div > h1 {
  font-size: clamp(2.65rem, 5.7vw, 5.6rem);
  font-weight: 600;
}
.studio .page-intro { padding-bottom: 0; }
.studio .page-intro > p {
  max-width: 37rem;
  margin: 1rem 0 1.35rem;
  color: var(--muted);
}
.studio .page-intro + .classes { padding-top: clamp(2.8rem, 5vw, 4.8rem); }
.studio .about:first-child { padding-top: clamp(3.5rem, 7vw, 7rem); }
.studio .class-grid { gap: clamp(.8rem, 1.8vw, 1.65rem); }
.studio :is(.class-grid, .level-grid) article {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: end;
  min-height: clamp(350px, 38vw, 555px);
  padding: .65rem;
  border-radius: 1.6rem;
  background: #382820;
  box-shadow: 0 14px 35px #251a1b1c;
}
.studio :is(.class-grid, .level-grid) article > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-position: center 46%;
  translate: 0 var(--class-photo-offset, 0px);
  transition: opacity .55s, transform .7s cubic-bezier(.2,.65,.3,1);
}
.studio .class-grid :is(.class-photo-alternate, .class-photo-third) { opacity: 0; }
.studio .class-grid article { --photo-cycle-duration: 3.9s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .studio .class-grid article:hover > img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: no-preference) {
  .studio .class-grid article[data-photo-cycle] > img { transform: scale(1.06); }
  .studio .class-grid article[data-photo-cycle] .class-photo-alternate { animation: class-photo-second var(--photo-cycle-duration) ease-in-out infinite; }
  .studio .class-grid article[data-photo-cycle] .class-photo-third { animation: class-photo-third var(--photo-cycle-duration) ease-in-out infinite; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .studio .class-grid article:hover .class-photo-alternate { animation: class-photo-second var(--photo-cycle-duration) ease-in-out infinite; }
  .studio .class-grid article:hover .class-photo-third { animation: class-photo-third var(--photo-cycle-duration) ease-in-out infinite; }
}
/* The later photo covers the second before its opacity resets. */
@keyframes class-photo-second {
  0%, 24%, 69%, 100% { opacity: 0; }
  33.333%, 66.667% { opacity: 1; }
}
@keyframes class-photo-third {
  0%, 57.333%, 100% { opacity: 0; }
  66.667%, 90.667% { opacity: 1; }
}
.studio .card-copy {
  width: 100%;
  position: relative;
  padding: 1rem 1.1rem;
  color: var(--hero-ink);
  border: 1px solid #fff2df5c;
  border-radius: 1.08rem;
  background: linear-gradient(145deg, #422c24eb, #241914e8);
  box-shadow: inset 0 1px 0 #ffe8d643, 0 12px 18px #28170d26;
}
@supports (backdrop-filter: blur(1px)) {
  .studio .card-copy { background: linear-gradient(145deg, #402b23bf, #1d1311d6); backdrop-filter: saturate(140%) blur(16px); }
}
.studio .card-copy p { color: #f5e7d9; }
.studio .card-copy .status {
  display: inline-block;
  background: #fff5e81a;
  color: #ffe0bd;
  border: 1px solid #ffe0bd55;
  border-radius: 40px;
  padding: .13rem .55rem;
}
.studio .card-copy .available { color: #f3f3dc; border-color: #f3f3dc70; }
.studio .levels { padding-top: 0; }
.level-grid,
.price-grid {
  display: grid;
  gap: clamp(.8rem, 1.8vw, 1.65rem);
}
.level-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.studio .level-grid article {
  min-height: clamp(240px, 23vw, 340px);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}
.studio .level-grid .card-copy {
  grid-row: 2;
  height: 100%;
}
.studio .level-grid h3 { margin-top: 0; }
.studio .pricing { padding-top: 0; }
.price-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.price-card {
  padding: clamp(.8rem, 1.45vw, 1.25rem);
  border: 1px solid var(--glass-edge);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--glass-shine);
}
.price-card h3 {
  margin: 0 0 .85rem;
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.price-card table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: clamp(.77rem, 1.15vw, .93rem);
}
.price-card :is(th, td) { padding: .65rem 0; text-align: start; }
.price-card :is(th, td) + :is(th, td) {
  padding-inline-start: .5rem;
  text-align: end;
  white-space: nowrap;
}
.price-card thead th,
.price-card small { color: var(--muted); }
.price-card tbody tr { border-top: 1px solid var(--line); }
.price-card td { font-variant-numeric: tabular-nums; }
.price-card small {
  display: block;
  margin-top: .18rem;
  font-size: .8em;
  font-weight: 600;
}
@media (max-width: 1000px) {
  .level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .level-grid { grid-template-columns: minmax(0, 1fr); }
}
.studio .schedule {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(1600px - 2 * var(--gutter));
  border: 1px solid var(--glass-edge);
  border-radius: clamp(1.5rem, 3vw, 2.7rem);
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent) 21%, transparent), transparent 58%), var(--surface);
  box-shadow: var(--glass-shadow);
}
.studio .location iframe,
.studio .about img { border-radius: 1.6rem; }
.studio .location iframe {
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-edge);
}
@media (max-width: 920px) {
  .studio .header { grid-template-columns: 1fr auto auto; padding-left: .72rem; gap: .4rem; }
  .studio .header .menu { display: grid; order: 3; }
  .studio .header nav {
    display: none;
    position: absolute;
    top: calc(100% + .45rem);
    right: 0;
    left: auto;
    border-radius: 1.15rem;
    min-width: 12rem;
    padding: .4rem;
    background: var(--bg);
    box-shadow: var(--glass-shadow);
  }
  .studio .header nav.open { display: grid; }
  .studio:not(.admin-page) .header nav {
    width: min(100%, 20rem);
    max-height: calc(100dvh - 6rem);
    overflow: auto;
    background: color-mix(in srgb, var(--bg) 94%, var(--surface));
  }
  .studio .hero { min-height: clamp(560px, calc(100svh - 105px), 760px); }
}
@media (max-width: 600px) {
  .studio .header { min-height: 55px; }
  .studio .header .button.small { min-height: 37px; }
  .studio .hero {
    align-items: end;
    padding: 6rem clamp(.9rem, 4vw, 1.5rem) 4.3rem;
    min-height: clamp(440px, calc(100svh - 86px), 670px);
  }
  .studio .hero-figure img { width: 100%; object-position: center 46%; transform-origin: center; }
  .studio .hero::before {
    background: linear-gradient(0deg, #211510f7 6%, #211510c7 39%, #28181042 69%, #29160e0d);
  }
  .studio .hero h1 { font-size: clamp(2.25rem, 10.8vw, 4.25rem); }
  .studio .hero-copy { width: 100%; min-width: 0; padding: 0; }
  .studio .hero-copy > p { margin: .9rem 0 1.15rem; }
  .studio .hero .eyebrow { font-size: .68rem; margin-bottom: .75rem; }
  .studio .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 21rem; }
  .studio .hero .actions a { justify-content: center; padding-inline: .35rem; text-align: center; font-size: .87rem; }
  .hero-light { width: min(26rem, 110vw); }
  .studio .class-grid article { min-height: 390px; }
  .studio .schedule { padding-inline: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-light, .surface-light { display: none; }
}

.studio .schedule {
  --schedule-panel: color-mix(in srgb, var(--bg) 88%, transparent);
  --booking-ink: #874b31;
  --booking-tint: #a0644a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .studio .schedule { --booking-ink: #f0bb9b; --booking-tint: #d89874; }
}
:root[data-theme=dark] .studio .schedule { --booking-ink: #f0bb9b; --booking-tint: #d89874; }
.schedule-intro > p:last-child { color: var(--muted); margin: .85rem 0 0; }
.schedule-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.55rem;
}
.schedule-calendar,
.schedule-filter {
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--glass-edge);
  border-radius: 1.2rem;
  background: var(--schedule-panel);
  box-shadow: inset 0 1px 0 var(--glass-shine);
}
.calendar-nav,
.schedule-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.schedule-calendar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.schedule-calendar .week { flex: 1; min-width: 0; max-width: none; }
.calendar-nav { flex: none; }
.calendar-nav .icon { width: 44px; height: 44px; font-size: 1.55rem; }
.studio .schedule .week { gap: clamp(.18rem, .6vw, .5rem); }
.studio .schedule .week button {
  min-width: 0;
  min-height: 52px;
  border-radius: .68rem;
  background: color-mix(in srgb, var(--surface) 63%, var(--bg));
  transition: background-color .22s, color .22s, border-color .22s;
}
.studio .schedule .week button:not(:disabled):hover { border-color: var(--accent); }
.studio .schedule .week button[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 1px 1px #fff4, 0 4px 8px #3d211c20;
}
.studio .schedule-filter input,
.studio .schedule-filter select {
  width: 100%;
  max-width: 100%;
  border-radius: .68rem;
  box-shadow: inset 0 1px 0 var(--glass-shine);
}
.studio .schedule-filter input { -webkit-min-logical-width: 0; }
.studio .booking-note {
  margin: .75rem 0 1.25rem;
  padding: .95rem 1rem;
  background: var(--schedule-panel);
  border: 1px solid var(--glass-edge);
  border-inline-start: 3px solid var(--accent);
  border-radius: .85rem;
  max-width: none;
}
.studio .booking-note h3 { margin: 0 0 .42rem; font-size: 1rem; letter-spacing: -.02em; }
.studio .booking-note p { margin: 0; }
.studio .booking-note p + p { margin-top: .6rem; }
.booking-note a {
  color: var(--booking-ink);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.schedule-summary { flex-wrap: wrap; align-items: baseline; padding: .15rem .15rem .65rem; column-gap: .75rem; row-gap: .25rem; }
.schedule-summary h3 { font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: -.035em; }
.schedule-summary span { color: var(--muted); font-size: .875rem; font-weight: 600; }
.schedule-empty { margin: 0; padding: 1.15rem; background: var(--schedule-panel); border-radius: .9rem; color: var(--muted); }
.studio .schedule .session {
  position: relative;
  display: grid;
  grid-template-areas: "time title status button";
  grid-template-columns: 4.6rem minmax(0, 1fr) minmax(8rem, auto) minmax(10.2rem, auto);
  grid-template-rows: auto;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  padding: .85rem .9rem;
  border: 1px solid var(--glass-edge);
  border-radius: .95rem;
  background: var(--schedule-panel);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  transition: border-color .22s, background-color .22s, box-shadow .22s;
}
.studio .schedule .session::before {
  position: absolute;
  inset: .75rem auto .75rem 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--booking-tint);
  opacity: 0;
  transition: opacity .22s;
  content: "";
}
.studio .schedule .session:is([data-booking-selected], :focus-within, :has(.session-book:active)) {
  border-color: var(--booking-tint);
  background: color-mix(in srgb, var(--bg) 92%, var(--booking-tint));
  box-shadow: 0 5px 18px color-mix(in srgb, var(--booking-tint) 14%, transparent), inset 0 1px 0 var(--glass-shine);
}
.studio .schedule .session:is([data-booking-selected], :focus-within, :has(.session-book:active))::before { opacity: 1; }
@media (hover: hover) {
  .studio .schedule .session:has(.session-book:hover) {
    border-color: var(--booking-tint);
    background: color-mix(in srgb, var(--bg) 92%, var(--booking-tint));
    box-shadow: 0 5px 18px color-mix(in srgb, var(--booking-tint) 14%, transparent), inset 0 1px 0 var(--glass-shine);
  }
  .studio .schedule .session:has(.session-book:hover)::before { opacity: 1; }
}
.session-time {
  grid-area: time;
  display: grid;
  align-content: center;
  gap: .18rem;
  padding-right: .45rem;
  border-right: 1px solid var(--glass-edge);
  font-variant-numeric: tabular-nums;
}
.studio .schedule .session-time time { line-height: 1.1; font-size: 1.32rem; letter-spacing: -.055em; }
.session-time small { font-size: .72rem; font-weight: 700; letter-spacing: .07em; }
.session-title { grid-area: title; min-width: 0; line-height: 1.35; }
.session-title strong { display: block; overflow-wrap: anywhere; }
.session-title small { margin-top: .22rem; font-size: .875rem; }
.studio .schedule .slot {
  grid-area: status;
  width: fit-content;
  border-radius: 99px;
  padding: .18rem .57rem;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-size: .8rem;
}
.studio .schedule .slot[data-availability="available"] { color: var(--booking-ink); background: color-mix(in srgb, var(--booking-tint) 12%, var(--bg)); }
.studio .schedule .session-book {
  grid-area: button;
  min-height: 46px;
  background: color-mix(in srgb, var(--booking-tint) 12%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--booking-tint) 34%, transparent);
  color: var(--booking-ink);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.studio .schedule .session-book:is(:hover, :focus-visible, :active),
.studio .schedule .session[data-booking-selected] .session-book {
  background: var(--booking-ink);
  color: var(--bg);
  filter: none;
}
@media (max-width: 820px) {
  .schedule-controls { gap: .65rem; }
}
@media (max-width: 650px) {
  .studio .schedule {
    width: calc(100% - 1.25rem);
    padding-block: 2rem;
  }
  .schedule-controls { margin-top: 1rem; }
  .schedule-calendar, .schedule-filter { padding: .65rem; border-radius: .95rem; }
  .studio .schedule-filter input,
  .studio .schedule-filter select { padding-inline: .5rem; font-size: .9rem; }
  .studio .schedule .week button { min-height: 50px; }
  .studio .schedule .week small { font-size: .75rem; }
  .studio .schedule .session {
    grid-template-columns: 3.7rem minmax(0, 1fr);
    grid-template-areas: "time title" "time status" "button button";
    column-gap: .7rem;
    row-gap: .35rem;
    padding: .75rem;
  }
  .session-time { align-self: stretch; }
  .studio .schedule .session-book { margin-top: .26rem; width: 100%; }
}
@media (min-width: 651px) {
  .studio .schedule .session:not(:has(.slot)) {
    grid-template-areas: "time title button";
    grid-template-columns: 4.6rem minmax(0, 1fr) minmax(10.2rem, auto);
  }
  .studio .schedule .session:not(:has(.session-book)) {
    grid-template-areas: "time title status";
    grid-template-columns: 4.6rem minmax(0, 1fr) auto;
  }
}
@media (max-width: 650px) {
  .studio .schedule .session:not(:has(.slot)) { grid-template-areas: "time title" "button button"; }
  .studio .schedule .session:not(:has(.session-book)) { grid-template-areas: "time title" "time status"; }
}

.section h2:has(.heading-motion) { overflow: clip; overflow-clip-margin: .13em; }
.heading-motion { display: block; }
.heading-motion em { display: inline-block; }
.studio .schedule .week button {
  transition: background-color .32s, border-color .32s, color .32s,
    translate .55s cubic-bezier(.22, 1, .36, 1), box-shadow .55s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .studio .schedule .week button:not(:disabled):hover {
    translate: 0 -5px;
    box-shadow: 0 8px 16px color-mix(in srgb, var(--accent) 22%, transparent);
  }
}
.studio .schedule .week button:focus-visible:not(:disabled) { border-color: var(--accent); }

.coach-field, .date-field { display: grid; min-width: 0; gap: .32rem; font-size: .91rem; font-weight: 700; }
.coach-picker { position: relative; min-width: 0; }
.coach-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  min-height: 44px;
  padding: .55rem .7rem;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--bg);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  transition: border-color .28s, background-color .28s, box-shadow .28s;
  font-size: .89rem;
}
#coach-choice { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach-picker summary::-webkit-details-marker { display: none; }
.coach-picker summary:hover,
.coach-picker[open] summary { border-color: var(--accent); box-shadow: 0 3px 11px color-mix(in srgb, var(--accent) 15%, transparent); }
.coach-chevron { flex: none; width: 7px; height: 7px; rotate: 45deg; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; margin-top: -3px; transition: rotate .35s; }
.coach-picker[open] .coach-chevron { rotate: 225deg; }
.studio .schedule-filter:has(.coach-picker[open]) { position: relative; z-index: 3; }
.coach-options {
  position: absolute;
  inset: calc(100% + .38rem) 0 auto auto;
  z-index: 1;
  width: max(100%, 10rem);
  max-height: min(54dvh, 21rem);
  overflow: auto;
  display: grid;
  gap: .18rem;
  padding: .36rem;
  border-radius: .88rem;
  background: var(--bg);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 12px 30px #24180f32, inset 0 1px 0 var(--glass-shine);
}
.coach-options button {
  position: relative;
  min-height: 42px;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: var(--ink);
  text-align: start;
  padding: .42rem 1.5rem .42rem .65rem;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: .88rem;
  transition: background-color .26s, color .26s;
}
.coach-options button:hover { background: var(--surface); }
.coach-options button[aria-pressed=true] { background: color-mix(in srgb, var(--accent) 13%, var(--bg)); color: var(--accent); }
.coach-options button[aria-pressed=true]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .7rem;
  width: 6px;
  height: 10px;
  translate: 0 -64%;
  rotate: 42deg;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
}

[data-pointer-glow] { position: relative; isolation: isolate; overflow: clip; }
.surface-light {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 auto auto 0;
  translate: -50% -50%;
  width: clamp(240px, 48vw, 620px);
  aspect-ratio: 1;
  opacity: 0;
  background: radial-gradient(circle, #e8a6745c, #cc805926 36%, transparent 67%);
}
.map-frame {
  display: grid;
  justify-self: center;
  width: min(100%, 29rem);
  min-width: 0;
  padding: .5rem;
  border: 1px solid var(--glass-edge);
  border-radius: 1.75rem;
  background: color-mix(in srgb, var(--surface) 80%, var(--bg));
  box-shadow: var(--glass-shadow);
  transition: box-shadow .55s, translate .55s cubic-bezier(.22, 1, .36, 1), border-color .55s;
}
.map-link { display: block; border-radius: 1.3rem; }
.map-link:focus-visible { outline-offset: 1px; }
.map-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.5;
  border-radius: 1.25rem;
  background: var(--surface);
}
.map-preview img { width: 100%; height: 100%; object-fit: cover; }
.map-pin-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #7d4d34;
  color: #fff7ee;
  box-shadow: 0 0 0 5px #d9aa8350, 0 5px 18px #24181362;
  translate: -50% -50%;
  pointer-events: none;
}
.map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .7rem;
  padding: .6rem .45rem .2rem .65rem;
}
.map-caption strong { color: var(--ink); font-size: .92rem; }
.map-caption .map-open { min-height: 38px; padding: .4rem .82rem; font-size: .8rem; }
.map-attribution { justify-self: end; padding-inline: .45rem; color: var(--muted); font-size: .72rem; }
.map-attribution a:hover { text-decoration: underline; }
.studio .map-action { gap: .68rem; }
.map-pin {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  translate: 0 -1px;
  transition: translate .55s cubic-bezier(.22, 1, .36, 1), scale .55s cubic-bezier(.22, 1, .36, 1);
}
.map-pin::after {
  position: absolute;
  content: "";
  inset: 29%;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.location:has(.map-action:focus-visible) .map-frame,
.map-frame:focus-within {
  border-color: var(--accent);
  box-shadow: 0 15px 36px color-mix(in srgb, var(--accent) 24%, transparent), inset 0 1px 0 var(--glass-shine);
}
@media (hover: hover) {
  .location:has(.map-action:hover) .map-frame,
  .map-frame:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 36px color-mix(in srgb, var(--accent) 24%, transparent), inset 0 1px 0 var(--glass-shine);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .location:has(.map-action:hover) .map-frame, .map-frame:hover { translate: 0 -5px; }
  .map-action:hover .map-pin, .map-link:hover .map-pin { translate: 0 -4px; scale: 1.13; }
}
.studio footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr minmax(12rem, .8fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 3rem);
  border-top: 1px solid #9d6d4b5e;
}
.studio footer a { transition: color .3s; }
.studio footer a:hover { color: #efbf99; }
.footer-address { display: grid; gap: .3rem; font-style: normal; }
.footer-address a, .footer-contact span { color: #dccabc; }
.footer-address a:hover, .footer-contact a:hover span { color: #f8d5b9; }
.footer-contact { display: grid; gap: .5rem; }
.footer-contact a { display: grid; gap: .14rem; padding: 0 0 .5rem; border-bottom: 1px solid #eec09a36; }
@media (max-width: 720px) {
  .studio footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .studio footer { grid-template-columns: 1fr; }
}
.studio footer .surface-light { background: radial-gradient(circle, #b16a3c65, #a9572c33 38%, transparent 70%); }

.studio .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.65rem, 1.45vw, 1.25rem); }
.studio .reels figure {
  margin: 0;
  border-radius: clamp(.9rem, 2vw, 1.6rem);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-edge);
}
.studio .reels img { aspect-ratio: .79; transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .studio .reels figure:hover img { transform: scale(1.055); }
}
@media (max-width: 720px) {
  .studio .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.studio [data-pressed] {
  filter: brightness(.87) saturate(1.15);
}
@media (max-width: 1180px), (any-pointer: coarse) {
  .studio :where(a, button, summary) { touch-action: manipulation; }
  .studio .header .icon,
  .studio .header .button.small { min-height: 44px; }
  .studio .header .icon { min-width: 44px; }
  .studio .header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 390px) {
  .studio:not(.admin-page) .header { padding-inline: .5rem; gap: .28rem; }
  .studio:not(.admin-page) .header .brand { gap: .22rem; }
  .studio:not(.admin-page) .header-actions { gap: .25rem; }
}
@media (max-width: 355px) {
  .studio:not(.admin-page) .header .brand { min-width: 44px; min-height: 44px; }
  .studio:not(.admin-page) .header .brand span:not(.monogram) { display: none; }
}
@media (hover: none), (pointer: coarse) {
  .studio footer a { display: grid; align-content: center; min-height: 44px; }
  .coach-options button { min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) and (pointer: coarse) {
  .map-action[data-pressed] .map-pin { translate: 0 -4px; scale: 1.13; }
}
@media (prefers-reduced-motion: no-preference) {
  .studio .class-grid article > img { scale: 1.16; }
}

.date-trigger[hidden],
.date-popover[hidden] { display: none; }
.date-trigger {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  text-align: start;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--bg);
  color: var(--ink);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  transition: border-color .24s, box-shadow .24s;
  font-size: .89rem;
}
.date-trigger:hover,
.date-trigger[aria-expanded=true] {
  border-color: var(--accent);
  box-shadow: 0 3px 11px color-mix(in srgb, var(--accent) 15%, transparent);
}
#date-choice { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.date-icon {
  flex: none;
  width: .91rem;
  height: .87rem;
  border: 1.5px solid currentColor;
  border-radius: .22rem;
  color: var(--accent);
  background: linear-gradient(to bottom, transparent 27%, currentColor 27% 39%, transparent 39%);
}
.studio .schedule-filter:has(.date-popover:not([hidden])) { position: relative; z-index: 3; }
.studio .schedule-filter .date-popover {
  left: 0;
  width: min(22rem, calc(100vw - 4rem));
}
.date-popover {
  position: absolute;
  z-index: 2;
  inset: calc(100% + .4rem) auto auto 0;
  width: min(100%, 22rem);
  max-height: min(74dvh, 30rem, var(--calendar-space, 30rem));
  overflow: auto;
  padding: clamp(.65rem, 2vw, 1rem);
  border: 1px solid var(--glass-edge);
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(20px) saturate(125%);
  box-shadow: var(--glass-shadow), 0 16px 36px #190e1130;
  color: var(--ink);
}
.date-popover.opens-up { top: auto; bottom: calc(100% + .4rem); }
.date-toolbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: .45rem;
  margin-bottom: .65rem;
  text-align: center;
}
.date-toolbar .icon { width: 44px; height: 44px; font-size: 1.5rem; }
.date-weekdays,
.date-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .16rem; text-align: center; }
.date-weekdays { font-size: .75rem; font-weight: 600; color: var(--muted); padding-bottom: .4rem; }
.date-days button {
  min-width: 0;
  min-height: 37px;
  border: 1px solid transparent;
  border-radius: .55rem;
  background: transparent;
  color: var(--ink);
  font: 700 .88rem Manrope, sans-serif;
  transition: background-color .26s, color .26s, border-color .26s;
}
.date-days button:not(:disabled):hover { background: var(--surface); border-color: var(--glass-edge); }
.date-days button[aria-current=date] { border-color: var(--accent); }
.date-days button[aria-pressed=true],
.date-days button[aria-pressed=true]:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.date-days button:disabled { opacity: .37; }
@media (hover: none), (pointer: coarse) {
  .date-days button { min-height: 44px; }
}
.date-today {
  width: 100%;
  min-height: 44px;
  margin-top: .65rem;
  padding: .4rem;
  border: 1px solid var(--glass-edge);
  border-radius: .65rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  transition: border-color .26s;
}
.date-today:hover { border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .date-popover:not([hidden]) { animation: calendar-enter .36s cubic-bezier(.22, 1, .36, 1); }
  .date-days .date-entering { animation: calendar-enter .29s cubic-bezier(.22, 1, .36, 1); }
}
@keyframes calendar-enter {
  from { opacity: .25; translate: 0 7px; }
  to { opacity: 1; translate: 0 0; }
}

.studio .reel-video { position: relative; isolation: isolate; }
.reel-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #221b17;
  opacity: 0;
  pointer-events: none;
  transition: opacity .36s ease;
}
.reel-video[data-playing] video { opacity: 1; }
@media (prefers-reduced-motion: no-preference) and (pointer: coarse) {
  .reel-video[data-playing] > img { transform: scale(1.055); }
}
.reel-toggle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: end;
  padding: .65rem;
  border: 0;
  background: transparent;
  color: #fff9ef;
}
.reel-toggle:focus-visible { outline-offset: -4px; }
.reel-toggle span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #24181390;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 #fffd;
  transition: background-color .3s;
}
.reel-toggle:hover span,
.reel-toggle:focus-visible span { background: #572f21dd; }
.reel-toggle span::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 9px solid currentColor;
}
.reel-video[data-playing] .reel-toggle span::before {
  width: 10px;
  height: 12px;
  margin-left: 0;
  border: solid currentColor;
  border-width: 0 3px;
}

.reel-sound {
  position: absolute;
  left: .65rem;
  bottom: .65rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #24181390;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 #fffd;
  color: #fff9ef;
  transition: background-color .3s, color .3s;
}
.reel-sound:hover { background: #572f21dd; }
.reel-sound[data-audio-on] { background: #f2d5bc; color: #2b1c16; }
.reel-sound-icon { position: relative; display: block; width: 18px; height: 18px; }
.reel-sound-icon::before {
  position: absolute;
  inset: 0;
  content: "";
  background: currentColor;
  clip-path: polygon(0 33%, 25% 33%, 59% 8%, 59% 92%, 25% 67%, 0 67%);
}
.reel-sound-icon::after {
  position: absolute;
  top: 5px;
  right: -1px;
  width: 8px;
  height: 8px;
  content: "";
  background:
    linear-gradient(45deg, transparent 42%, currentColor 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, currentColor 42% 58%, transparent 58%);
}
.reel-sound[data-audio-on] .reel-sound-icon::after {
  top: 2px;
  right: -1px;
  width: 8px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-radius: 50%;
  background: none;
}

.studio .schedule-modes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: 1.2rem;
  padding: .28rem;
  border: 1px solid var(--glass-edge);
  border-radius: .9rem;
  background: var(--schedule-panel);
  box-shadow: inset 0 1px 0 var(--glass-shine);
}
.schedule-modes button {
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  transition: background-color .28s, color .28s;
}
.schedule-modes button:hover { background-color: var(--surface); }
.schedule-modes button[aria-pressed=true] {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 1px 1px #fff4;
}
.studio .schedule-modes[hidden],
.studio .coach-options button[hidden] { display: none; }
.schedule-week-day {
  min-width: 0;
  padding: .7rem;
  border: 1px solid var(--glass-edge);
  border-radius: .95rem;
  background: color-mix(in srgb, var(--schedule-panel) 50%, transparent);
}
.schedule-week-heading { margin: 0 0 .5rem; font-size: .94rem; font-weight: 700; }
.schedule-week-past .schedule-week-heading { color: var(--muted); }
.schedule-week-rows .schedule-empty { padding: .6rem .8rem; font-size: .875rem; }
@media (max-width: 650px) {
  .studio .schedule-modes { display: flex; }
  .schedule-modes button { flex: 1; }
  .schedule-week-day { padding: .5rem; }
  .schedule-week-heading { padding-inline: .2rem; }
}

@media (max-width: 500px) {
  .schedule-calendar { flex-direction: column; align-items: stretch; gap: .4rem; }
  .calendar-nav { justify-content: flex-end; }
  .schedule-filter :is(.date-trigger, .coach-picker summary) { padding-inline: .5rem; font-size: .83rem; }
}
