
  /* Pastel category palette for calendar events (re-used) */
  body { --c-sunrise: #dbe9ff; --c-sunrise-ink: #1e3a6b;
         --c-reformer: #f3ecdd; --c-reformer-ink: #5c4a1e;
         --c-private: #e8dcf5; --c-private-ink: #4a2b7a;
         --c-focus:   #c9b2ef; --c-focus-ink:   #3a1f6b;
         --c-power:   #fde68a; --c-power-ink:   #713f12;
         --c-flow:    #ffd5c2; --c-flow-ink:    #7a3420;
         --c-group:   #d3eadb; --c-group-ink:   #1f4a35;
         --c-burn:    #d8e88a; --c-burn-ink:    #3a4a10; }

  .crumbs {
    padding: 18px 28px 0; font-size: 13px; color: var(--ink-3);
    display: flex; align-items: center; gap: 6px;
  }
  .crumbs a { text-decoration: none; color: var(--ink-2); }
  .crumbs a:hover { color: var(--ink); }
  .crumbs .sep { opacity: 0.5; }

  /* Sticky top search bar */
  .detail-search {
    position: sticky; top: 64px; z-index: 6;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px -12px rgba(15,23,42,.18);
  }
  .detail-search .ds-inner {
    max-width: 1100px; margin: 0 auto; padding: 12px 28px;
    display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; align-items: stretch;
  }
  .ds-field {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 10px; padding: 9px 13px;
    transition: border-color .15s, box-shadow .15s;
  }
  .ds-field:focus-within { border-color: var(--ink-3); box-shadow: 0 0 0 3px var(--accent-soft); }
  .ds-field svg { color: var(--ink-3); flex-shrink: 0; }
  .ds-field input { border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink); width: 100%; }
  .ds-field input::placeholder { color: var(--ink-4); }
  @media (max-width: 720px) {
    .detail-search { position: static; }
    .detail-search .ds-inner { grid-template-columns: 1fr; padding: 14px 16px; gap: 12px; }
    .detail-search .ds-field { padding: 13px 15px; border-radius: 12px; }
    .detail-search .ds-field input { font-size: 15px; }
    .detail-search .ds-inner .btn { width: 100%; padding: 14px 22px !important; font-size: 15px; border-radius: 12px; }
  }

  /* ========== Section 1: Hero / Carousel ========== */
  .hero {
    padding: 18px 28px 28px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
  }
  .carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
  }
  .carousel-track {
    width: 100%; height: 100%; display: flex;
    transition: transform .35s cubic-bezier(.22,.7,.2,1);
  }
  .slide {
    flex: 0 0 100%; width: 100%; height: 100%;
    position: relative; overflow: hidden;
  }
  .slide-art {
    width: 100%; height: 100%;
    display: grid; place-items: center;
  }
  .car-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 999px;
    background: rgba(251,247,239,0.92); border: 1px solid var(--line);
    cursor: pointer; display: grid; place-items: center; color: var(--ink);
    box-shadow: var(--shadow-sm);
  }
  .car-arrow:hover { background: var(--surface); }
  .car-arrow.prev { left: 12px; }
  .car-arrow.next { right: 12px; }
  .car-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
  }
  .car-dots button {
    width: 24px; height: 4px; border-radius: 999px; border: 0;
    background: rgba(251,247,239,0.55); cursor: pointer; padding: 0;
    transition: background .15s;
  }
  .car-dots button.active { background: var(--surface); width: 32px; }

  .carousel-side {
    display: grid; grid-template-rows: 1fr 1fr; gap: 16px;
  }
  .side-tile {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface-2);
    cursor: pointer;
    position: relative;
  }
  .side-tile.more::after {
    content: '+ 6 more photos';
    position: absolute; inset: 0;
    background: rgba(43,31,20,0.55);
    color: var(--surface); display: grid; place-items: center;
    font-weight: 600; font-size: 14px;
  }

  /* ========== Section 1b: Identity row ========== */
  .identity {
    padding: 0 28px 28px;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 24px;
  }
  .identity h1 {
    margin: 0 0 6px; font-size: 32px; letter-spacing: -0.025em; font-weight: 600;
  }
  .identity .meta {
    display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2);
    flex-wrap: wrap;
  }
  .identity .meta .dot { width: 3px; height: 3px; border-radius: 999px; background: var(--ink-4); }
  .identity .meta .star { color: var(--accent); }
  .identity .contact {
    margin-top: 10px; display: flex; flex-wrap: wrap; gap: 14px;
    font-size: 13.5px; color: var(--ink-2);
  }
  .identity .contact a { color: var(--ink-2); text-decoration: none; }
  .identity .contact a:hover { color: var(--ink); }
  .identity .contact span { display: inline-flex; align-items: center; gap: 6px; }

  .identity-actions { display: flex; gap: 8px; flex-shrink: 0; }
  .identity-actions .btn { padding: 9px 14px; }

  /* ========== Section: shared chrome ========== */
  section.block {
    padding: 36px 28px;
    border-bottom: 1px solid var(--line);
  }
  section.block .block-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 18px; gap: 16px;
  }
  section.block h2 {
    margin: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600;
  }
  section.block .kicker {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 600; margin-bottom: 8px;
  }

  /* ========== Section 2: Offerings accordion ========== */
  .accordion {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .acc-cat {
    border-bottom: 1px solid var(--line);
  }
  .acc-cat:last-child { border-bottom: 0; }
  .acc-head {
    width: 100%; background: transparent; border: 0; cursor: pointer;
    padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
    font-family: inherit; text-align: left;
  }
  .acc-head .left { display: flex; align-items: center; gap: 14px; }
  .acc-head .pill {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--surface-2); display: grid; place-items: center;
    color: var(--accent);
  }
  .acc-head .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
  .acc-head .desc { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
  .acc-head .chev {
    color: var(--ink-3); transition: transform .2s;
  }
  .acc-cat.open .acc-head .chev { transform: rotate(180deg); }
  .acc-body {
    display: none; padding: 0 22px 22px;
  }
  .acc-cat.open .acc-body { display: block; }
  .offer-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 12px; align-items: center;
    padding: 14px 0; border-top: 1px solid var(--line);
  }
  .offer-row:first-child { border-top: 0; padding-top: 6px; }
  .offer-row .ttl { font-size: 14px; font-weight: 500; }
  .offer-row .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
  .offer-row .price {
    font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
    text-align: right;
  }
  .offer-row .price .unit { font-size: 11px; color: var(--ink-3); font-weight: 500; display: block; margin-top: 2px; }
  .offer-row .details {
    background: transparent; color: var(--ink-2);
    border: 1px solid var(--line); border-radius: 10px;
    padding: 9px 14px; font-size: 13px; font-weight: 500;
    cursor: pointer; font-family: inherit;
  }
  .offer-row .details:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
  .offer-row .buy {
    background: var(--ink); color: var(--surface); border: 1px solid var(--ink);
    border-radius: 10px; padding: 9px 16px; font-size: 13px; font-weight: 500;
    cursor: pointer; font-family: inherit;
  }
  .offer-row .buy:hover { background: var(--accent); border-color: var(--accent); }

  /* ========== Product detail slide-in panel ========== */
  .prod-scrim {
    position: fixed; inset: 0;
    background: rgba(43,31,20,0.28);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    /* Above the sticky site-header (z-index 50 in shared.css). */
    z-index: 70;
    backdrop-filter: blur(2px);
  }
  .prod-scrim.open { opacity: 1; pointer-events: auto; }
  .prod-panel {
    position: fixed; top: 16px; right: 16px; bottom: 16px;
    width: 440px; max-width: calc(100vw - 32px);
    background: var(--surface);
    border-radius: 16px; border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(43,31,20,0.18);
    z-index: 71;
    transform: translateX(calc(100% + 24px));
    transition: transform .3s cubic-bezier(.22,.7,.2,1);
    display: flex; flex-direction: column; overflow: hidden;
  }
  .prod-panel.open { transform: translateX(0); }
  .prod-hero {
    padding: 24px 24px 22px; position: relative;
  }
  .prod-hero[data-cat="trial"]       { background: var(--c-flow);  color: var(--c-flow-ink); }
  .prod-hero[data-cat="packages"]    { background: var(--c-reformer); color: var(--c-reformer-ink); }
  .prod-hero[data-cat="memberships"] { background: var(--c-private); color: var(--c-private-ink); }
  .prod-hero .close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border-radius: 999px;
    background: rgba(251,247,239,0.7); border: 0; cursor: pointer;
    display: grid; place-items: center; color: inherit;
  }
  .prod-hero .close:hover { background: rgba(251,247,239,0.95); }
  .prod-hero .kicker {
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
    opacity: 0.78;
  }
  .prod-hero h2 {
    margin: 6px 0 8px; font-size: 24px; letter-spacing: -0.02em; font-weight: 600;
  }
  .prod-hero .price-big {
    display: flex; align-items: baseline; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
  }
  .prod-hero .price-big .num { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
  .prod-hero .price-big .unit { font-size: 13px; opacity: 0.78; }
  .prod-body { padding: 22px 24px; overflow: auto; flex: 1; }
  .prod-body p { margin: 0 0 14px; line-height: 1.6; color: var(--ink-2); font-size: 14px; }
  .prod-body h4 {
    margin: 18px 0 10px; font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-3); font-weight: 600;
  }
  .prod-body h4:first-child { margin-top: 0; }
  .prod-includes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .prod-includes li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; color: var(--ink-2);
  }
  .prod-includes li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
  .prod-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .prod-meta .cell {
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 10px; padding: 12px 14px;
  }
  .prod-meta .cell .lbl {
    font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 600;
  }
  .prod-meta .cell .val { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
  .prod-foot {
    padding: 16px 24px; border-top: 1px solid var(--line);
    display: flex; gap: 10px; background: var(--surface);
  }
  .prod-foot .btn { flex: 1; justify-content: center; padding: 12px 16px; }
  @media (max-width: 720px) {
    .prod-panel {
      top: auto; right: 0; bottom: 0; left: 0;
      width: 100%; max-width: none;
      border-radius: 18px 18px 0 0;
      max-height: 88vh;
      transform: translateY(100%);
    }
    .prod-panel.open { transform: translateY(0); }
    .offer-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
    .offer-row .price { grid-row: 1; }
    .offer-row .details, .offer-row .buy { grid-column: 2; }
  }

  /* ========== Section 3: Calendar (compact reuse of Weekly schedule logic) ========== */
  .cal-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
  .cal-toolbar .week-nav {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; padding: 4px;
  }
  .cal-toolbar .week-nav button {
    border: 0; background: transparent; width: 30px; height: 30px;
    border-radius: 999px; cursor: pointer; color: var(--ink-2);
    display: grid; place-items: center;
  }
  .cal-toolbar .week-nav button:hover { background: var(--surface-2); color: var(--ink); }
  .cal-toolbar .week-nav .today {
    width: auto; padding: 0 12px; font-family: inherit; font-size: 12px; font-weight: 500;
  }
  .cal-toolbar .week-nav .label { padding: 0 12px; font-size: 13px; font-weight: 500; }
  /* Per-week empty state inside the desktop grid (spans the full 8-column body). */
  .cal-empty {
    grid-column: 1 / -1; padding: 56px 28px; text-align: center;
    color: var(--ink-3); font-size: 14px;
  }
  .cal-toolbar .group-label {
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 600; margin-right: 4px; margin-left: 4px;
  }

  .calendar-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .cal-head {
    display: grid;
    grid-template-columns: 56px repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
  }
  .cal-head .corner {
    display: grid; place-items: center; color: var(--ink-3);
    border-right: 1px solid var(--line);
    font-size: 10px; font-family: 'JetBrains Mono', monospace;
  }
  .day-head {
    padding: 12px 12px 10px;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 2px;
  }
  .day-head:last-child { border-right: 0; }
  .day-head .dow {
    font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-3);
  }
  .day-head .date { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
  .day-head.today .date { color: var(--accent); }

  .cal-body {
    display: grid;
    grid-template-columns: 56px repeat(7, minmax(0, 1fr));
  }
  .time-col { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
  .time-slot {
    height: 76px; padding: 6px 6px 0; font-size: 10.5px; color: var(--ink-3);
    font-family: 'JetBrains Mono', monospace; border-bottom: 1px solid var(--line);
    text-align: right;
  }
  .time-slot:last-child { border-bottom: 0; }
  .day-col { border-right: 1px solid var(--line); position: relative; }
  .day-col:last-child { border-right: 0; }
  .slot-line { height: 76px; border-bottom: 1px solid var(--line); }
  .slot-line:last-child { border-bottom: 0; }
  .event {
    position: absolute; left: 4px; right: 4px;
    border-radius: 8px; padding: 6px 8px;
    cursor: pointer; overflow: hidden;
    font-size: 11px; line-height: 1.3;
    transition: transform .15s, box-shadow .15s;
    border: 1px solid rgba(0,0,0,0.04);
  }
  .event:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); z-index: 2; }
  .event .time { font-weight: 600; font-size: 10.5px; }
  .event .title { font-weight: 500; margin-top: 2px; font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .event .who { font-size: 10px; opacity: 0.78; margin-top: 2px; font-family: 'JetBrains Mono', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Short cards: drop lines that would half-clip (renderer sets the class from
     the computed card height) — a partially cut instructor row reads as broken. */
  .event.compact .who { display: none; }
  .event.mini .who { display: none; }
  .event.mini .title { -webkit-line-clamp: 1; }
  .event.mini { padding-top: 4px; padding-bottom: 4px; }
  .event[data-color="sunrise"]  { background: var(--c-sunrise);  color: var(--c-sunrise-ink); }
  .event[data-color="reformer"] { background: var(--c-reformer); color: var(--c-reformer-ink); }
  .event[data-color="private"]  { background: var(--c-private);  color: var(--c-private-ink); }
  .event[data-color="focus"]    { background: var(--c-focus);    color: var(--c-focus-ink); }
  .event[data-color="flow"]     { background: var(--c-flow);     color: var(--c-flow-ink); }
  .event[data-color="group"]    { background: var(--c-group);    color: var(--c-group-ink); }
  .event[data-color="burn"]     { background: var(--c-burn);     color: var(--c-burn-ink); }
  .event.dim { opacity: 0.32; }

  /* ========== Section 4: About ========== */
  .about-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
  }
  .about-grid p { line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; font-size: 14.5px; }
  .amenities {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
  }
  .amenities h3 {
    margin: 0 0 12px; font-size: 13px; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--ink-3); font-weight: 600;
  }
  .amenities ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
    font-size: 13.5px; color: var(--ink-2);
  }
  .amenities li {
    display: flex; align-items: center; gap: 8px;
  }
  .amenities li svg { color: var(--accent); flex-shrink: 0; }

  /* ========== Section 5: Trainers ========== */
  .trainers {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  }
  .trainer {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
  }
  .trainer:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .trainer .ava {
    width: 72px; height: 72px; border-radius: 999px;
    margin: 0 auto 12px;
    display: grid; place-items: center;
    font-weight: 600; font-size: 22px; color: var(--accent);
    background: linear-gradient(135deg, var(--accent-soft), #e7c8a8);
  }
  .trainer .name { font-size: 14.5px; font-weight: 600; }
  .trainer .role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
  .trainer .specs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
  .trainer .spec {
    font-size: 10.5px; padding: 3px 8px; border-radius: 999px;
    background: var(--surface-2); color: var(--ink-2);
  }

  /* ========== Section 6: Location ========== */
  .location-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch;
  }
  .map-card {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line); min-height: 320px; position: relative;
    display: block; text-decoration: none; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    background:
      radial-gradient(circle at 30% 40%, rgba(184,137,98,0.12) 0%, transparent 35%),
      linear-gradient(180deg, #ede2cf 0%, #e7d8be 100%);
  }
  .map-card svg.streets {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55;
  }
  .map-card .pin-here {
    position: absolute; top: 48%; left: 52%;
    transform: translate(-50%, -100%);
  }
  .map-card .pin-here .marker {
    background: var(--ink); color: var(--surface);
    padding: 8px 12px; border-radius: 999px; font-size: 12.5px;
    font-weight: 600; box-shadow: var(--shadow-md);
    white-space: nowrap;
  }
  .map-card .pin-here .tail {
    width: 8px; height: 8px; background: var(--ink);
    transform: rotate(45deg); margin: -4px auto 0;
  }
  .map-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
  .map-card .map-hint {
    position: absolute; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line);
    padding: 7px 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 500;
    box-shadow: var(--shadow-sm);
  }
  .map-card .map-hint svg { color: var(--accent); }
  .location-info {
    padding: 22px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column; gap: 18px;
  }
  .location-info h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
  .location-info .addr { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
  .hours { border-top: 1px dashed var(--line); padding-top: 14px; }
  .hours h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
  .hours ul { list-style: none; padding: 0; margin: 0; }
  .hours li {
    display: flex; justify-content: space-between;
    padding: 4px 0; font-size: 13.5px; color: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }
  .hours li:last-child { border-bottom: 0; }
  .hours li.today { color: var(--ink); font-weight: 600; }
  .hours li.today::after { content: ' · open'; color: var(--accent); font-weight: 500; font-size: 12px; }

  /* ========== Section 7: Reviews ========== */
  /* ========== Section 7: FAQ ========== */
  .faq { max-width: 820px; }
  .faq details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .faq details:first-child { border-top: 1px solid var(--line); }
  .faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-size: 16px; font-weight: 500; color: var(--ink);
    letter-spacing: -0.01em;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: '+'; font-size: 22px; color: var(--ink-3);
    transition: transform .2s; font-weight: 400; line-height: 1;
  }
  .faq details[open] summary::after { content: '−'; color: var(--accent); }
  .faq details p {
    margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
    max-width: 680px;
  }

  /* ========== Class detail slide-in panel ========== */
  .cls-scrim {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.28);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    /* Above the sticky site-header (z-index 50 in shared.css). */
    z-index: 70; backdrop-filter: blur(2px);
  }
  .cls-scrim.open { opacity: 1; pointer-events: auto; }
  .cls-panel {
    position: fixed; top: 16px; right: 16px; bottom: 16px;
    width: 420px; max-width: calc(100vw - 32px);
    background: var(--surface);
    border-radius: 16px; border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(15,23,42,0.18);
    z-index: 71;
    transform: translateX(calc(100% + 24px));
    transition: transform .3s cubic-bezier(.22,.7,.2,1);
    display: flex; flex-direction: column; overflow: hidden;
  }
  .cls-panel.open { transform: translateX(0); }
  .cls-hero { padding: 24px 24px 22px; position: relative; }
  .cls-hero[data-color="sunrise"]  { background: var(--c-sunrise);  color: var(--c-sunrise-ink); }
  .cls-hero[data-color="reformer"] { background: var(--c-reformer); color: var(--c-reformer-ink); }
  .cls-hero[data-color="private"]  { background: var(--c-private);  color: var(--c-private-ink); }
  .cls-hero[data-color="flow"]     { background: var(--c-flow);     color: var(--c-flow-ink); }
  .cls-hero[data-color="group"]    { background: var(--c-group);    color: var(--c-group-ink); }
  .cls-hero[data-color="burn"]     { background: var(--c-burn);     color: var(--c-burn-ink); }
  .cls-hero .close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border-radius: 999px;
    background: rgba(255,255,255,0.6); border: 0; cursor: pointer;
    display: grid; place-items: center; color: inherit;
  }
  .cls-hero .close:hover { background: rgba(255,255,255,0.92); }
  .cls-hero .kicker {
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; opacity: 0.78;
  }
  .cls-hero h2 { margin: 6px 0 4px; font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
  .cls-hero .when { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; opacity: 0.78; }
  .cls-body { padding: 22px 24px; overflow: auto; flex: 1; }
  .cls-kv { display: grid; grid-template-columns: 110px 1fr; row-gap: 14px; column-gap: 12px; font-size: 13.5px; }
  .cls-kv dt {
    color: var(--ink-3); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px;
  }
  .cls-kv dd { margin: 0; color: var(--ink); }
  .cls-instr {
    display: flex; align-items: center; gap: 10px;
    margin-top: 18px; padding: 14px; border-radius: 12px;
    background: var(--surface-2); border: 1px solid var(--line);
  }
  .cls-instr .ava {
    width: 40px; height: 40px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent-hover);
    display: grid; place-items: center; font-weight: 600; font-size: 14px;
  }
  .cls-instr .name { font-weight: 600; font-size: 14px; }
  .cls-instr .role { font-size: 12px; color: var(--ink-3); }
  .cls-spots { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
  .cls-spots .row { display: flex; justify-content: space-between; align-items: baseline; }
  .cls-spots .label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
  .cls-spots .count { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
  .cls-spots .count .of { color: var(--ink-3); font-size: 13px; font-weight: 500; margin-left: 4px; }
  .cls-meter { margin-top: 10px; height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
  .cls-meter > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
  .cls-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; background: var(--surface); }
  .cls-foot .btn { flex: 1; justify-content: center; padding: 12px 16px; }
  .event { cursor: pointer; }
  .cal-agenda { display: none; }

  /* ===== Mobile agenda (7-day stacked tables) ===== */
  @media (max-width: 1024px) {
    .calendar-wrap .cal-head, .calendar-wrap .cal-body { display: none; }
    .cal-agenda { display: block; }
    .agenda-day { border-bottom: 1px solid var(--line); }
    .agenda-day:last-child { border-bottom: 0; }
    .agenda-date { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px 8px; background: var(--surface-2); }
    .agenda-day.today .agenda-date { background: var(--accent-soft); }
    .agenda-date .ad-dow { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
    .agenda-date .ad-num { font-size: 12px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }
    .agenda-day.today .ad-num { color: var(--accent-hover); }
    .agenda-empty { padding: 12px 16px; font-size: 13px; color: var(--ink-4); }
    .agenda-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-top: 1px solid var(--line); background: var(--surface); cursor: pointer; font-family: inherit; text-align: left; }
    .agenda-item:first-of-type { border-top: 0; }
    .agenda-item .ai-time { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; font-family: 'JetBrains Mono', monospace; min-width: 46px; }
    .agenda-item .ai-time small { font-size: 10px; font-weight: 500; color: var(--ink-4); }
    .agenda-item .ai-body { flex: 1; display: flex; flex-direction: column; }
    .agenda-item .ai-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
    .agenda-item .ai-who { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
    .agenda-item .ai-arrow { color: var(--ink-4); }
    .agenda-item[data-color="sunrise"] { border-left: 3px solid var(--c-sunrise-ink); }
    .agenda-item[data-color="reformer"] { border-left: 3px solid var(--c-reformer-ink); }
    .agenda-item[data-color="flow"] { border-left: 3px solid var(--c-flow-ink); }
    .agenda-item[data-color="private"] { border-left: 3px solid var(--c-private-ink); }
    .agenda-item[data-color="group"] { border-left: 3px solid var(--c-group-ink); }
    .agenda-item[data-color="burn"] { border-left: 3px solid var(--c-burn-ink); }
  }

  /* ========== Mobile ========== */
  @media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .carousel-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .about-grid, .location-grid { grid-template-columns: 1fr; }
    .trainers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 720px) {
    .cls-panel {
      top: auto; right: 0; bottom: 0; left: 0;
      width: 100%; max-width: none;
      border-radius: 18px 18px 0 0; max-height: 88vh;
      transform: translateY(100%);
    }
    .cls-panel.open { transform: translateY(0); }
  }
  @media (max-width: 720px) {
    .crumbs, .hero, .identity, section.block { padding-left: 16px; padding-right: 16px; }
    .identity { flex-direction: column; }
    .identity h1 { font-size: 24px; }
    .cal-head { grid-template-columns: 44px repeat(7, minmax(0, 1fr)); }
    .cal-body { grid-template-columns: 44px repeat(7, minmax(0, 1fr)); }
    .day-head { padding: 8px 4px; }
    .day-head .dow { font-size: 9px; }
    .day-head .date { font-size: 12px; }
    .event { font-size: 9.5px; padding: 4px 5px; }
    .event .who { display: none; }
    .amenities ul { grid-template-columns: 1fr; }
  }


  /* ===== Studio compact identity (sub-pages) ===== */
  .studio-id{max-width:1100px;margin:0 auto;padding:22px 28px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;}
  .studio-id-main{flex:1;min-width:280px;}
  .studio-id h1{margin:0 0 8px;font-size:30px;letter-spacing:-.025em;font-weight:700;}
  .studio-id .meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;color:var(--ink-2);}
  .studio-id .meta .dot{width:3px;height:3px;border-radius:999px;background:var(--ink-4);}
  .studio-id .meta .star{color:var(--accent);}
  .studio-id .contact{margin-top:10px;display:flex;flex-wrap:wrap;gap:14px;font-size:13.5px;color:var(--ink-2);}
  .studio-id .contact a{color:var(--ink-2);text-decoration:none;}
  .studio-id .contact a:hover{color:var(--ink);}
  .studio-id .contact span{display:inline-flex;align-items:center;gap:6px;}
  .studio-id-actions{display:flex;gap:8px;align-items:flex-start;flex-shrink:0;}

  /* ===== Studio sub-nav tabs ===== */
  .studio-subnav{max-width:1100px;margin:14px auto 0;padding:0 28px;border-bottom:1px solid var(--line);}
  .studio-subnav-inner{display:flex;gap:2px;}
  .studio-subnav a{position:relative;padding:14px 18px;font-size:15px;font-weight:600;color:var(--ink-3);letter-spacing:-.01em;transition:color .15s;}
  .studio-subnav a:hover{color:var(--ink);}
  .studio-subnav a.active{color:var(--accent-hover);}
  .studio-subnav a.active::after{content:'';position:absolute;left:14px;right:14px;bottom:-1px;height:2.5px;border-radius:2px;background:var(--accent);}
  @media(max-width:720px){
    .studio-id{padding:18px 16px 0;}
    .studio-subnav{padding:0 16px;overflow-x:auto;}
    .studio-subnav::-webkit-scrollbar{display:none;}
    .studio-subnav-inner{flex-wrap:nowrap;}
    .studio-subnav a{white-space:nowrap;padding:12px 13px;font-size:14px;}
  }

  /* ===== Shared studio gallery ===== */
  .studio-gallery{width:100%;max-width:1100px;margin:18px auto 0;padding:0 28px;display:grid;grid-template-columns:1.7fr 1fr;gap:10px;}
  .studio-gallery .g-main{position:relative;height:320px;border-radius:16px;overflow:hidden;}
  .studio-gallery .g-orn{position:absolute;inset:0;width:100%;height:100%;}
  .studio-gallery .g-badge{position:absolute;left:14px;bottom:14px;background:rgba(255,255,255,.92);color:var(--ink);font-size:12px;font-weight:600;padding:6px 11px;border-radius:999px;box-shadow:var(--shadow-sm);}
  .studio-gallery .g-side{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;}
  .studio-gallery .g-tile{border:0;padding:0;border-radius:14px;height:155px;cursor:pointer;position:relative;overflow:hidden;transition:transform .15s,box-shadow .15s;}
  .studio-gallery .g-tile:hover{transform:scale(1.015);box-shadow:var(--shadow-md);}
  .studio-gallery .g-all{position:absolute;inset:0;display:grid;place-items:center;background:rgba(15,23,42,.46);color:#fff;font-weight:600;font-size:14px;backdrop-filter:blur(1px);}
  @media(max-width:720px){
    .studio-gallery{grid-template-columns:1fr;padding:0 16px;}
    .studio-gallery .g-main{height:220px;}
    .studio-gallery .g-side{grid-template-rows:none;grid-template-columns:repeat(4,1fr);}
    .studio-gallery .g-tile{height:78px;}
  }
