/* ============================================================
   CHANTELLE — visual system
   Palette: black · orange · gray · white
   Display: Bodoni Moda (thin, high-fashion)  ·  UI: Jost
   ============================================================ */

:root{
  --ink:      #0B0B0C;
  --ink-soft: #1A1A1C;
  --orange:   #EC4A12;
  --orange-bright: #FF5A1F;
  --orange-deep: #B8330A;
  --paper:    #F3F1ED;   /* warm light gray */
  --paper-2:  #E7E4DF;
  --panel:    #DAD6D0;
  --panel-2:  #C9C5BE;
  --white:    #FCFBF9;
  --mid:      #8C8983;
  --line:     rgba(11,11,12,.14);
  --line-dk:  rgba(255,255,255,.16);

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing: border-box; }

/* ---------- wordmark ---------- */
.cw-wordmark{
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: .14em;
  line-height: .9;
  margin: 0;
  font-feature-settings: "ss01";
}

/* ---------- tracked label ---------- */
.cw-label{
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .32em;
  margin: 0;
}

/* ---------- social icon button ---------- */
.cw-social{
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s;
}
.cw-social svg{ width: 19px; height: 19px; display: block; }
.cw-social:hover{ transform: translateY(-2px); }
.cw-social.is-light:hover{ background: var(--ink); color: var(--white); }
.cw-social.is-dark:hover{  background: var(--orange); color: var(--white); }
.cw-socials{ display: flex; align-items: center; gap: 6px; }
button.cw-social{ border: 0; background: transparent; font: inherit; cursor: pointer; }

/* ---------- header nav links ---------- */
.cw-navlinks{ display: flex; align-items: center; gap: clamp(12px,1.4vw,20px); }
.cw-navlink{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; color: var(--ink); text-decoration: none; opacity: .72; white-space: nowrap; transition: opacity .2s, color .2s; }
.cw-navlink:hover{ opacity: 1; color: var(--orange); }
@media (max-width: 600px){ .cw-navlink{ letter-spacing: .14em; font-size: 10px; } }

/* ---------- carousel ---------- */
.cw-carousel{ position: relative; }
.cw-stage{ position: relative; overflow: hidden; width: 100%; height: 100%; }
.cw-slide{
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.8,.2,1);
  background-size: cover; background-position: 50% 18%;
}
.cw-slide.is-active{ opacity: 1; transform: scale(1); }
.cw-slide img{ width:100%; height:100%; object-fit: cover; object-position: 50% 16%; display:block; }

/* placeholder slide look */
.cw-ph{ display:grid; place-items:center; position:relative; }
.cw-ph .cw-ph-num{
  font-family: var(--serif); font-weight: 400;
  font-size: 120px; line-height: 1; opacity: .9;
}
.cw-ph .cw-ph-cap{
  position:absolute; bottom: 22px; left: 0; right: 0; text-align:center;
  font-family: var(--sans); text-transform: uppercase; letter-spacing:.4em; font-size: 11px;
}

/* arrows */
.cw-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid currentColor; background: transparent; color: inherit;
  transition: background .25s, color .25s, transform .25s;
  z-index: 4;
}
.cw-arrow:hover{ background: currentColor; }
.cw-arrow:hover svg{ color: var(--paper); }
.cw-arrow.prev{ left: 18px; } .cw-arrow.next{ right: 18px; }
.cw-arrow svg{ width: 16px; height: 16px; }

/* dots */
.cw-dots{ display:flex; gap: 9px; align-items:center; }
.cw-dot{
  width: 30px; height: 2px; background: currentColor; opacity: .28;
  cursor: pointer; transition: opacity .3s, background .3s; border:0; padding:0;
}
.cw-dot.is-active{ opacity: 1; background: var(--orange); }

/* thumbnails (vertical rail) */
.cw-rail{ display:flex; flex-direction:column; gap: 10px; }
.cw-thumb{
  width: 64px; height: 84px; border:0; padding:0; cursor:pointer;
  background-size: cover; background-position: 50% 18%;
  filter: grayscale(1) brightness(.92); opacity:.55;
  transition: opacity .3s, filter .3s, outline-color .3s;
  outline: 2px solid transparent; outline-offset: 3px;
}
.cw-thumb.is-active{ opacity:1; filter:none; outline-color: var(--orange); }

/* ---------- press card ---------- */
.cw-card{
  position: relative; cursor: pointer; user-select: none;
  border-radius: 4px; overflow: hidden;
  background: var(--panel);
  transform: translateY(-7px);
  transition: transform .14s cubic-bezier(.3,.7,.2,1), box-shadow .14s ease, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.cw-card .cw-card-img{ position:absolute; inset:0; background-size:cover; background-position:50% 30%; }
.cw-card .cw-card-veil{ position:absolute; inset:0; }
.cw-card .cw-card-body{
  position: relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 26px;
}
.cw-card .cw-kicker{ font-family:var(--sans); text-transform:uppercase; letter-spacing:.34em; font-size:11px; opacity:.85; }
.cw-card .cw-title{ font-family:var(--serif); font-weight:400; line-height:.95; margin:.18em 0 0; }
.cw-card .cw-cta{
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  font-family:var(--sans); text-transform:uppercase; letter-spacing:.26em; font-size:11px;
}
.cw-card .cw-cta .cw-ar{ display:inline-block; transition: transform .3s; }
.cw-card:hover .cw-cta .cw-ar{ transform: translateX(5px); }

/* raised shadow tiers */
.cw-card.lift-light{ box-shadow: 0 26px 44px -22px rgba(11,11,12,.55), 0 8px 16px -10px rgba(11,11,12,.35); }
.cw-card.lift-dark{  box-shadow: 0 30px 50px -22px rgba(0,0,0,.8), 0 10px 22px -12px rgba(0,0,0,.6); }
.cw-card.lift-orange{ box-shadow: 0 26px 44px -20px rgba(236,74,18,.55), 0 10px 20px -12px rgba(0,0,0,.5); }

/* pressed state */
.cw-card.is-pressed{
  transform: translateY(0) scale(.992);
  box-shadow: 0 6px 12px -8px rgba(11,11,12,.5), inset 0 2px 10px rgba(0,0,0,.18);
  filter: brightness(.97);
}

/* hairline */
.cw-rule{ height:1px; width:100%; background: var(--line); }
.cw-rule.dk{ background: var(--line-dk); }

.cw-frame{ position:absolute; inset:0; pointer-events:none; }

/* ---------- vertical 9:16 sliding carousel ---------- */
.cw-vcar{
  position: relative; height: 100%; aspect-ratio: 9 / 16;
  border-radius: 4px; overflow: hidden; background: var(--panel);
  box-shadow: 0 30px 60px -30px rgba(11,11,12,.5), 0 10px 24px -16px rgba(11,11,12,.4);
}
.cw-vtrack{ display: flex; height: 100%; transition: transform .9s cubic-bezier(.72,0,.16,1); }
.cw-vslide{ height: 100%; flex: 0 0 auto; background-size: cover; background-position: 50% 28%; position: relative; }
.cw-vslide img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; display: block; }
.cw-vslide.cw-ph{ display: grid; place-items: center; }

.cw-vveil{ position: absolute; inset: auto 0 0 0; height: 150px; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.42)); }

/* sleek triangle controls */
.cw-tri{
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; padding: 12px; z-index: 4;
  color: var(--white); filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
  transition: color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.cw-tri svg{ width: 22px; height: 30px; display: block; }
.cw-tri:hover{ color: var(--orange); }
.cw-tri.left{ left: 8px; }  .cw-tri.right{ right: 8px; }
.cw-tri.left:hover{  transform: translateY(-50%) translateX(-4px); }
.cw-tri.right:hover{ transform: translateY(-50%) translateX(4px); }

.cw-vmeta{ position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; color: var(--white); }
.cw-vcount{ font-family: var(--sans); font-size: 12px; letter-spacing: .26em; white-space: nowrap; }
.cw-vcount b{ font-weight: 500; }
.cw-vbars{ display: flex; gap: 7px; }

/* ============================================================
   MODAL · CHOICE · MESSAGE FORM · INBOX
   ============================================================ */
.cw-backdrop{
  position: fixed; inset: 0; z-index: 60;
  background: rgba(11,11,12,.5); backdrop-filter: blur(7px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; animation: cwFade .28s ease forwards;
}
.cw-backdrop.closing{ animation: cwFadeOut .22s ease forwards; }
@keyframes cwFade{ to{ opacity: 1; } }
@keyframes cwFadeOut{ from{ opacity: 1; } to{ opacity: 0; } }

.cw-modal{
  position: relative; width: min(540px, 94vw); max-height: 88vh; overflow: auto;
  background: var(--white); border-radius: 7px;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.7);
  transform: translateY(14px) scale(.985); opacity: 0;
  animation: cwPop .44s cubic-bezier(.2,.85,.2,1) forwards;
}
.cw-modal.wide{ width: min(680px, 94vw); }
@keyframes cwPop{ to{ transform: none; opacity: 1; } }

.cw-modal-x{
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; cursor: pointer; display: grid; place-items: center;
  color: var(--ink); transition: background .2s, color .2s, transform .2s;
}
.cw-modal-x:hover{ background: var(--ink); color: var(--white); transform: rotate(90deg); }
.cw-modal-x svg{ width: 15px; height: 15px; }

.cw-modal-pad{ padding: 44px 48px 40px; }
.cw-modal-kicker{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .34em; font-size: 11px; color: var(--orange); margin: 0; }
.cw-modal-title{ font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; margin: 12px 0 0; }
.cw-modal-sub{ font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--mid); margin: 14px 0 0; max-width: 42ch; }

/* choice rows */
.cw-choices{ margin-top: 30px; border-top: 1px solid var(--line); }
.cw-choice{
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 20px; padding: 22px 6px;
  transition: padding .3s cubic-bezier(.2,.8,.2,1), background .25s;
}
.cw-choice:hover{ background: var(--paper); padding-left: 16px; padding-right: 0; }
.cw-choice .cw-ci{
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.cw-choice:hover .cw-ci{ background: var(--orange); border-color: var(--orange); color: #fff; }
.cw-choice .cw-ci svg{ width: 20px; height: 20px; }
.cw-choice .cw-ct{ flex: 1; }
.cw-choice .cw-ct h4{ font-family: var(--serif); font-weight: 500; font-size: 23px; margin: 0; }
.cw-choice .cw-ct p{ font-family: var(--sans); font-weight: 300; font-size: 13px; color: var(--mid); margin: 3px 0 0; }
.cw-choice .cw-cgo{ color: var(--mid); transition: transform .3s, color .25s; }
.cw-choice:hover .cw-cgo{ transform: translateX(6px); color: var(--orange); }

/* form */
.cw-field{ position: relative; margin-top: 26px; }
.cw-field label{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: 10px; color: var(--mid); }
.cw-field input, .cw-field textarea{
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font-family: var(--sans); font-size: 16px; color: var(--ink); padding: 9px 0; margin-top: 5px;
  outline: none; transition: border-color .25s; resize: none; box-sizing: border-box;
}
.cw-field input:focus, .cw-field textarea:focus{ border-color: var(--orange); }
.cw-field textarea{ min-height: 92px; line-height: 1.5; }

.cw-submit{
  margin-top: 30px; width: 100%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white);
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .26em; font-size: 12px;
  padding: 17px; border-radius: 3px; transition: background .25s, transform .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.cw-submit:hover{ background: var(--orange); }
.cw-submit:active{ transform: translateY(1px); }
.cw-back{ background:none; border:0; cursor:pointer; font-family:var(--sans); text-transform:uppercase; letter-spacing:.22em; font-size:11px; color:var(--mid); display:inline-flex; align-items:center; gap:8px; padding:0; margin-bottom:22px; transition:color .2s; }
.cw-back:hover{ color: var(--ink); }

/* sent confirmation */
.cw-sent{ text-align: center; padding: 54px 48px 48px; }
.cw-sent .cw-seal{ width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--orange); color: var(--orange); display: grid; place-items: center; margin: 0 auto 24px; }
.cw-sent .cw-seal svg{ width: 28px; height: 28px; }

/* checkout */
.co-prod{ display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-fmt{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; color: var(--mid); }
.co-fmt svg{ width: 15px; height: 15px; color: var(--orange); }
.co-price{ font-family: var(--serif); font-size: 22px; color: var(--ink); }
.co-promo{ display: flex; gap: 8px; align-items: center; margin-top: 5px; }
.co-promo input{ flex: 1; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-family: var(--sans); font-size: 16px; color: var(--ink); padding: 9px 0; outline: none; transition: border-color .25s; }
.co-promo input:focus{ border-color: var(--orange); }
.co-apply{ border: 1px solid var(--line); background: transparent; cursor: pointer; border-radius: 3px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; color: var(--ink); padding: 10px 16px; transition: background .2s, color .2s; }
.co-apply:hover{ background: var(--ink); color: #fff; }
.co-msg{ font-family: var(--sans); font-size: 12px; margin: 8px 0 0; }
.co-msg.ok{ color: var(--orange); } .co-msg.bad{ color: #b11226; }
.co-total{ display: flex; align-items: baseline; justify-content: space-between; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.co-total > span:first-child{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; color: var(--mid); }
.co-total .amt{ font-family: var(--serif); font-size: 30px; color: var(--ink); }
.co-total .amt s{ font-size: 18px; color: var(--mid); margin-right: 10px; }

/* mail button w/ badge */
.cw-mailbtn{ position: relative; }
.cw-badge{
  position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--orange); color: #fff; border-radius: 9px;
  font-family: var(--sans); font-size: 10px; font-weight: 500; line-height: 16px; text-align: center;
  box-shadow: 0 0 0 2px var(--paper);
}

/* inbox */
.cw-inbox-head{ padding: 38px 40px 22px; border-bottom: 1px solid var(--line); }
.cw-inbox-list{ max-height: 56vh; overflow: auto; }
.cw-msg{
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--line); padding: 20px 40px;
  display: grid; grid-template-columns: 8px 1fr auto; gap: 14px; align-items: start;
  transition: background .2s;
}
.cw-msg:hover{ background: var(--paper); }
.cw-msg .cw-unread{ width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 7px; }
.cw-msg.read .cw-unread{ background: transparent; }
.cw-msg .cw-mfrom{ font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 0; }
.cw-msg.read .cw-mfrom{ font-weight: 400; color: var(--ink-soft); }
.cw-msg .cw-mkind{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 9px; color: var(--orange); margin: 0 0 4px; }
.cw-msg .cw-mprev{ font-family: var(--sans); font-weight: 300; font-size: 13px; color: var(--mid); margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.cw-msg .cw-mtime{ font-family: var(--sans); font-size: 11px; color: var(--mid); letter-spacing: .04em; white-space: nowrap; }
.cw-msg-full{ padding: 26px 40px 36px; }
.cw-msg-full .cw-mbody{ font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 16px 0 0; white-space: pre-wrap; }
.cw-inbox-empty{ padding: 60px 40px; text-align: center; color: var(--mid); font-family: var(--sans); font-weight: 300; }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.book-main{ flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(26px, 4vw, 58px); margin-top: clamp(12px,1.8vh,22px); align-items: start; }
.book-img{ position: relative; height: 100%; }
.book-square{
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 100%; border-radius: 4px; overflow: hidden;
  background: var(--panel); box-shadow: 0 30px 60px -30px rgba(11,11,12,.5);
}
.book-square img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.book-right{ display: flex; flex-direction: column; min-height: 0; }

/* calendar */
.cal{ font-family: var(--sans); }
.cal-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month{ font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0; }
.cal-nav{ display: flex; gap: 8px; }
.cal-nav button{ width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.cal-nav button:hover{ background: var(--ink); color: #fff; }
.cal-nav svg{ width: 14px; height: 14px; }
.cal-grid{ display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow{ font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); text-align: center; padding-bottom: 6px; }
.cal-day{
  height: clamp(22px, 3.6vh, 40px); border: 0; background: transparent; cursor: pointer; border-radius: 4px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  display: grid; place-items: center; position: relative; transition: background .18s, color .18s;
}
.cal-day:hover:not(:disabled){ background: var(--paper-2); }
.cal-day:disabled{ color: var(--panel-2); cursor: default; }
.cal-day.is-sel{ background: var(--orange); color: #fff; font-weight: 500; }
.cal-day.is-today::after{ content:""; position:absolute; bottom:7px; width:4px; height:4px; border-radius:50%; background: var(--orange); }
.cal-day.is-sel.is-today::after{ background: #fff; }

.slots{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.slot{ flex: 1; text-align: center; white-space: nowrap; border: 1px solid var(--line); background: transparent; cursor: pointer; border-radius: 3px; padding: 9px 12px; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--ink); transition: all .18s; }
.slot:hover{ border-color: var(--ink); }
.slot.is-sel{ background: var(--ink); color: #fff; border-color: var(--ink); }

.book-cta{ margin-top: auto; padding-top: 10px; }
.book-confirm{ width: 100%; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .26em; font-size: 12px; padding: 15px; border-radius: 3px; transition: background .25s, transform .15s; display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.book-confirm:hover:not(:disabled){ background: var(--orange); }
.book-confirm:disabled{ opacity: .4; cursor: default; }
.book-confirm:active:not(:disabled){ transform: translateY(1px); }

/* her note */
.book-note{ flex: 0 0 auto; margin-top: clamp(10px,1.6vh,20px); border-top: 1px solid var(--line); padding-top: clamp(10px,1.6vh,20px); display: flex; gap: 22px; align-items: flex-start; }
.book-note .bn-label{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .3em; font-size: 10px; color: var(--orange); flex: 0 0 auto; padding-top: 6px; width: 130px; }
.book-note .bn-quote{ font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(15px,1.55vw,21px); line-height: 1.4; color: var(--ink-soft); margin: 0; flex: 1; text-wrap: pretty; }
.book-note .bn-quote:focus{ outline: none; }
.book-note .bn-sign{ font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink); display: block; margin-top: 8px; }

/* discreet back-office entry (lock) — site-wide */
.cw-admin-dot{ position: fixed; right: 16px; bottom: 14px; z-index: 50; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(252,251,249,.7); backdrop-filter: blur(6px); color: var(--mid);
  display: grid; place-items: center; cursor: pointer; opacity: .35; transition: opacity .25s, color .2s, background .2s, transform .2s; text-decoration: none; }
.cw-admin-dot:hover{ opacity: 1; color: var(--ink); background: var(--white); transform: translateY(-2px); }
.cw-admin-dot svg{ width: 15px; height: 15px; }

/* ============================================================
   FITNESS PANEL  — overlays the .page-main box exactly
   (left edge of carousel → right edge of buttons,
    top under the Chantelle rule → bottom of main)
   ============================================================ */
/* visible end-state IS the base. Entrance animates ONLY transform (never
   opacity) so a throttled / stuck-at-frame-0 capture still shows the panel —
   just very slightly offset — instead of blank. */
.fit-scrim{
  position: absolute; inset: 0; z-index: 30; border-radius: 5px;
  background: rgba(11,11,12,.16); backdrop-filter: blur(2px);
  opacity: 1;
}
.fit-scrim.closing{ animation: fitFadeOut .22s ease forwards; }
@keyframes fitFadeOut{ from{ opacity: 1; } to{ opacity: 0; } }

.fit-panel{
  position: absolute; inset: 0; z-index: 31;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 5px;
  box-shadow: 0 44px 90px -36px rgba(11,11,12,.62), 0 14px 34px -18px rgba(11,11,12,.4);
  opacity: 1; transform: none;
}
.fit-panel.closing{ animation: fitPopOut .24s ease forwards; }
@keyframes fitPopOut{ from{ transform: none; opacity: 1; } to{ transform: translateY(14px) scale(.99); opacity: 0; } }

@media (prefers-reduced-motion: no-preference){
  .fit-scrim{ animation: fitFade .3s ease; }
  .fit-panel{ animation: fitPop .46s cubic-bezier(.2,.85,.2,1); }
}
@keyframes fitFade{ from{ opacity: .4; } to{ opacity: 1; } }
@keyframes fitPop{ from{ transform: translateY(20px) scale(.985); } to{ transform: none; } }

/* close */
.fit-x{
  position: absolute; top: clamp(16px,2vw,22px); right: clamp(16px,2vw,22px); z-index: 6;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; display: grid; place-items: center;
  color: var(--ink); transition: background .2s, color .2s, transform .25s;
}
.fit-x:hover{ background: var(--ink); color: var(--white); transform: rotate(90deg); }
.fit-x svg{ width: 16px; height: 16px; }

/* head + tabs */
.fit-head{
  flex: 0 0 auto; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: clamp(22px,2.6vw,34px) clamp(26px,3vw,44px) 0;
}
.fit-titles{ min-width: 0; }
.fit-kicker{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .34em; font-size: 11px; color: var(--orange); margin: 0; }
.fit-title{ font-family: var(--serif); font-weight: 400; font-size: clamp(30px,3.6vw,50px); line-height: .96; margin: 8px 0 0; }
.fit-lede{ font-family: var(--sans); font-weight: 300; font-size: clamp(13px,1vw,15px); line-height: 1.55; color: var(--mid); margin: 10px 0 0; max-width: 46ch; }

.fit-tabs{ display: flex; gap: clamp(18px,2vw,34px); flex: 0 0 auto; padding-right: 56px; }
.fit-tab{
  position: relative; background: none; border: 0; cursor: pointer; padding: 0 0 14px;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: 12px;
  color: var(--mid); transition: color .22s; white-space: nowrap;
}
.fit-tab:hover{ color: var(--ink); }
.fit-tab.is-on{ color: var(--ink); }
.fit-tab::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.fit-tab.is-on::after{ transform: scaleX(1); }

.fit-tabbar{ flex: 0 0 auto; padding: clamp(16px,1.8vw,22px) clamp(26px,3vw,44px) 0; border-bottom: 1px solid var(--line); }

/* body (scrolls) */
.fit-body{ flex: 1 1 auto; min-height: 0; overflow: auto; padding: clamp(20px,2.4vw,30px) clamp(26px,3vw,44px) clamp(24px,3vw,38px); }
.fit-view{ opacity: 1; }
@media (prefers-reduced-motion: no-preference){
  .fit-view{ animation: fitView .4s ease; }
}
@keyframes fitView{ from{ transform: translateY(8px); } to{ transform: none; } }

/* ---------- PHOTOS ---------- */
.fit-gallery{ display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(12px,1.4vw,18px); height: 100%; min-height: 320px; }
.fit-hero{ position: relative; border-radius: 4px; overflow: hidden; background: var(--panel); }
.fit-hero img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.fit-hero-frame{ width: 100%; height: 100%; border: 0; display: block; }
.fit-hero.is-video{ display: block; }
.fit-hero-poster{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; padding: 0;
  background-size: cover; background-position: 50% 35%; display: grid; place-items: center; gap: 12px; align-content: center; }
.fit-hero-poster::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.42)); transition: background .25s; }
.fit-hero-poster:hover::after{ background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.34)); }
.fit-hero-poster .fit-play{ position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: transform .2s; }
.fit-hero-poster:hover .fit-play{ transform: scale(1.08); }
.fit-hero-poster .fit-play svg{ width: 26px; height: 26px; margin-left: 3px; }
.fit-hero-poster .fit-vlabel{ position: relative; z-index: 2; font-family: var(--sans); text-transform: uppercase; letter-spacing: .28em; font-size: 11px; color: #fff; }
.fit-hero .fit-shade{ position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.fit-hero .fit-cap{ position: absolute; left: 22px; bottom: 18px; color: var(--white); }
.fit-hero .fit-cap .k{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .3em; font-size: 10px; opacity: .85; }
.fit-hero .fit-cap .t{ font-family: var(--serif); font-size: clamp(20px,2vw,30px); line-height: 1; margin-top: 4px; }
.fit-grid2{ display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: clamp(12px,1.4vw,18px); }
.fit-tile{
  position: relative; border-radius: 4px; overflow: hidden; min-height: 110px;
  display: grid; place-items: center; cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.fit-tile:hover{ transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(11,11,12,.5); }
.fit-tile img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.fit-tile .fit-tnum{ font-family: var(--serif); font-size: 40px; color: rgba(255,255,255,.92); }
.fit-tile .fit-tcap{ position: absolute; bottom: 12px; left: 14px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .26em; font-size: 9px; color: rgba(255,255,255,.9); }

/* ---------- PROGRAMS (digital files) ---------- */
.fit-progs{ display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: clamp(14px,1.6vw,20px); }
.fit-prog{
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 5px; overflow: hidden;
  background: var(--white); transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, border-color .18s;
}
.fit-prog:hover{ transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(11,11,12,.45); border-color: transparent; }
.fit-prog-thumb{ position: relative; aspect-ratio: 16/10; background-size: cover; background-position: 50% 35%; }
.fit-prog-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.fit-prog-fmt{
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11,11,12,.74); color: #fff; backdrop-filter: blur(3px);
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 9px;
  padding: 6px 10px; border-radius: 100px;
}
.fit-prog-fmt svg{ width: 12px; height: 12px; }
.fit-prog-body{ padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.fit-prog-body h4{ font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.05; margin: 0; }
.fit-prog-body p{ font-family: var(--sans); font-weight: 300; font-size: 12.5px; line-height: 1.5; color: var(--mid); margin: 7px 0 0; flex: 1; }
.fit-prog-foot{ display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 10px; }
.fit-price{ font-family: var(--serif); font-size: 22px; color: var(--ink); }
.fit-price .cur{ font-family: var(--sans); font-size: 13px; vertical-align: super; margin-right: 1px; }
.fit-buy{
  border: 0; cursor: pointer; background: var(--ink); color: #fff; border-radius: 3px;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 10px;
  padding: 11px 16px; transition: background .2s, transform .12s;
}
.fit-buy:hover{ background: var(--orange); }
.fit-buy:active{ transform: translateY(1px); }
.fit-buy.added{ background: var(--orange); }

/* digital-delivery footnote */
.fit-note-row{ display: flex; align-items: center; gap: 10px; margin-top: clamp(18px,2vw,26px); color: var(--mid); font-family: var(--sans); font-weight: 300; font-size: 12.5px; }
.fit-note-row svg{ width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; }

/* ---------- BOOK ---------- */
.fit-book{ display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(24px,3vw,46px); align-items: start; }
.fit-book-eyebrow{ font-family: var(--sans); text-transform: uppercase; letter-spacing: .3em; font-size: 10px; color: var(--orange); margin: 0 0 12px; }
.fit-sess{ display: flex; flex-direction: column; gap: 12px; }
.fit-sess-card{
  text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 5px; background: var(--white);
  padding: 16px 18px; display: flex; align-items: center; gap: 16px; transition: border-color .2s, background .2s, transform .15s;
}
.fit-sess-card:hover{ border-color: var(--ink); }
.fit-sess-card.is-sel{ border-color: var(--orange); background: linear-gradient(0deg, rgba(236,74,18,.05), rgba(236,74,18,.05)); }
.fit-sess-ic{ width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.fit-sess-card.is-sel .fit-sess-ic{ background: var(--orange); border-color: var(--orange); color: #fff; }
.fit-sess-ic svg{ width: 20px; height: 20px; }
.fit-sess-card h4{ font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 0; }
.fit-sess-card p{ font-family: var(--sans); font-weight: 300; font-size: 12px; color: var(--mid); margin: 3px 0 0; }
.fit-sess-card .fit-sess-price{ margin-left: auto; font-family: var(--serif); font-size: 18px; color: var(--ink); white-space: nowrap; }
.fit-book-right{ display: flex; flex-direction: column; }

/* ---------- LAYOUT VARIATION · side rail ---------- */
.fit-panel.rail{ flex-direction: row; }
.fit-rail{
  flex: 0 0 clamp(190px, 19vw, 248px); display: flex; flex-direction: column;
  background: linear-gradient(205deg, #16140f, #0b0b0c); color: var(--white);
  padding: clamp(24px,2.6vw,36px) clamp(20px,2vw,30px);
}
.fit-rail .fit-kicker{ color: var(--orange-bright); }
.fit-rail .fit-title{ color: var(--white); }
.fit-rail .fit-lede{ color: rgba(255,255,255,.62); font-size: 12.5px; max-width: none; }
.fit-railnav{ display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.fit-railnav button{
  text-align: left; background: none; border: 0; cursor: pointer; color: rgba(255,255,255,.6);
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 12px;
  padding: 14px 16px; border-radius: 4px; display: flex; align-items: center; gap: 12px;
  transition: color .2s, background .2s;
}
.fit-railnav button:hover{ color: var(--white); background: rgba(255,255,255,.06); }
.fit-railnav button.is-on{ color: var(--white); background: rgba(236,74,18,.16); }
.fit-railnav button .rn-dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0; transition: opacity .2s; }
.fit-railnav button.is-on .rn-dot{ opacity: 1; }
.fit-railmain{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.fit-railmain .fit-body{ padding-top: clamp(24px,3vw,40px); }

/* inline confirmation inside book tab */
.fit-confirm{ text-align: center; padding: clamp(20px,3vw,42px) 0; }
.fit-confirm .cw-seal{ width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--orange); color: var(--orange); display: grid; place-items: center; margin: 0 auto 20px; }
.fit-confirm .cw-seal svg{ width: 26px; height: 26px; }

/* ============================================================
   MOBILE — public site (shared: fitness panel, modals, calendar)
   ============================================================ */
@media (max-width: 760px){
  /* fitness panel becomes a full-screen sheet */
  .fit-scrim{ position: fixed; z-index: 69; border-radius: 0; }
  .fit-panel{ position: fixed; inset: 0; z-index: 70; border-radius: 0; }
  .fit-x{ top: 12px; right: 12px; width: 36px; height: 36px; }
  .fit-head{ padding: 18px 18px 0; padding-right: 56px; }
  .fit-title{ font-size: 30px; }
  .fit-lede{ font-size: 13px; max-width: none; }
  .fit-tabbar{ padding: 12px 18px 0; }
  .fit-tabs{ gap: 18px; padding-right: 0; }
  .fit-body{ padding: 16px 18px 26px; }
  .fit-gallery{ grid-template-columns: 1fr; height: auto; min-height: 0; }
  .fit-hero{ aspect-ratio: 4 / 5; }
  .fit-grid2{ grid-auto-rows: 112px; }
  .fit-progs{ grid-template-columns: 1fr 1fr; }
  .fit-book{ grid-template-columns: 1fr; gap: 22px; }
  /* rail layout: nav across the top on mobile */
  .fit-panel.rail{ flex-direction: column; }
  .fit-rail{ flex: 0 0 auto; padding: 18px 18px 14px; }
  .fit-rail .fit-lede{ display: none; }
  .fit-railnav{ flex-direction: row; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
  .fit-railnav button{ padding: 10px 14px; }
  .fit-railmain .fit-body{ padding-top: 16px; }

  /* modals: tighter padding, full-height friendly */
  .cw-backdrop{ padding: 0; align-items: flex-end; }
  .cw-modal{ width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .cw-modal.wide{ width: 100%; }
  .cw-modal-pad{ padding: 30px 22px 26px; }
  .cw-modal-title{ font-size: 34px; }
  .cw-modal-x{ top: 12px; right: 12px; }
  .cal-day{ height: 40px; font-size: 16px; }
  .cw-choice{ padding: 18px 4px; }
}
@media (max-width: 460px){
  .fit-progs{ grid-template-columns: 1fr; }
  .fit-grid2{ grid-template-columns: 1fr 1fr; }
}
