/* Design: "Spring 2027 · x3 story" landing page (design-refs/x3-story.html), ported with light + dark mode. */
:root {
  --ink: #1d1d1f; --ink2: #6e6e73; --ink3: #86868b;
  --bg: #ffffff; --bg2: #f5f5f7; --card: #ffffff; --line: #d2d2d7; --line2: #e8e8ed;
  --accent: #7b2cbf; --accent2: #d4237a; --accent-text: #7b2cbf; --pinkish: #ffb0d4;
  --tint: #faf5ff; --tint-line: #e9d5ff;
  --pill-bg: #1d1d1f; --pill-fg: #ffffff;
  --deep: #1d1d1f; --deep-line: transparent;
  --bar: rgba(255, 255, 255, .86); --nav: rgba(255, 255, 255, .8); --nav-line: rgba(0, 0, 0, .08);
  --star: #f5a524;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', Inter, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ink: #f5f5f7; --ink2: #a1a1a6; --ink3: #8e8e93;
    --bg: #000000; --bg2: #161618; --card: #1c1c1e; --line: #3a3a3c; --line2: #2c2c2e;
    --accent-text: #c99bff; --tint: #241634; --tint-line: #4a2d6b;
    --pill-bg: #f5f5f7; --pill-fg: #000000;
    --deep: #1c1c1e; --deep-line: #2c2c2e;
    --bar: rgba(22, 22, 24, .86); --nav: rgba(0, 0, 0, .78); --nav-line: rgba(255, 255, 255, .1);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --ink: #f5f5f7; --ink2: #a1a1a6; --ink3: #8e8e93;
  --bg: #000000; --bg2: #161618; --card: #1c1c1e; --line: #3a3a3c; --line2: #2c2c2e;
  --accent-text: #c99bff; --tint: #241634; --tint-line: #4a2d6b;
  --pill-bg: #f5f5f7; --pill-fg: #000000;
  --deep: #1c1c1e; --deep-line: #2c2c2e;
  --bar: rgba(22, 22, 24, .86); --nav: rgba(0, 0, 0, .78); --nav-line: rgba(255, 255, 255, .1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.47; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.028em; line-height: 1.05; font-weight: 700; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.w { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 560px; margin: 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
#oj-price, #signup, #tryouts, #ojResult, .step { scroll-margin-top: 64px; }

/* pills & links */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 980px; background: var(--pill-bg); color: var(--pill-fg); font: 600 14px/1 var(--sans); padding: 11px 16px; min-height: 40px; cursor: pointer; }
.pill.lg { font-size: 17px; padding: 15px 26px; min-height: 52px; }
.pill.grad, .grad { background: linear-gradient(95deg, var(--accent), var(--accent2)); color: #fff; }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.link { color: var(--accent-text); font-weight: 500; }
.link::after { content: ' ›'; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--nav-line); }
.nav .w { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 52px; }
.brand { font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.brand span { color: var(--ink3); font-weight: 500; }
.nav-r { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--bg2); }
.theme-toggle .moon { display: none; }
:root[data-theme='dark'] .theme-toggle .sun { display: none; }
:root[data-theme='dark'] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .sun { display: none; }
  :root:not([data-theme='light']) .theme-toggle .moon { display: block; }
}

/* chip with pulse */
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--bg2); border-radius: 980px; padding: 7px 13px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); animation: ojpulse 1.6s infinite; }
.chip b { color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes ojpulse { 0% { box-shadow: 0 0 0 0 rgba(212, 35, 122, .5); } 70% { box-shadow: 0 0 0 7px rgba(212, 35, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 35, 122, 0); } }

/* hero */
.hero { text-align: center; padding: 26px 0 8px; overflow: hidden; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent2); margin: 14px 0 6px; }
.hero h1 { font-size: clamp(40px, 11vw, 76px); }
.g { background: linear-gradient(90deg, var(--accent), var(--accent2) 55%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme='dark'] .g { background-image: linear-gradient(90deg, #b57bff, #ff4f9a 55%, #ff9a55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .g { background-image: linear-gradient(90deg, #b57bff, #ff4f9a 55%, #ff9a55); } }
.sub { font-size: clamp(17px, 4.4vw, 21px); color: var(--ink2); margin: 12px auto 0; max-width: 520px; line-height: 1.3; letter-spacing: -.015em; }
.tboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 0; }
.tbox { background: var(--deep); border: 1px solid var(--deep-line); color: #fff; border-radius: 18px; padding: 14px 12px 12px; text-align: center; position: relative; overflow: hidden; }
.tbox::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0, rgba(212, 35, 122, .45), transparent 60%); }
.tbox > * { position: relative; }
.tbox span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb0d4; }
.tbox b { display: block; font-size: clamp(34px, 9.5vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tbox small { display: block; font-size: 12px; opacity: .7; margin-top: 2px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 0; text-align: center; }
.facts div { background: var(--bg2); border-radius: 16px; padding: 12px 4px; }
.facts b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.facts span { display: block; font-size: 11.5px; color: var(--ink2); margin-top: 3px; line-height: 1.2; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 14px; font-size: 14px; color: var(--ink2); }
.meta b { color: var(--ink); font-weight: 600; }
.ctas { display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.replay { border: 0; background: var(--bg2); color: var(--ink); border-radius: 980px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 14px; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 14px; font-size: 13.5px; color: var(--ink2); }
.proof b { color: var(--ink); font-weight: 600; }
.stars { color: var(--star); letter-spacing: 1px; }

/* sections */
section { padding: 36px 0; }
.alt { background: var(--bg2); }
.sh { text-align: center; margin-bottom: 18px; }
.sh h2 { font-size: clamp(30px, 7.5vw, 42px); }
.sh p { color: var(--ink2); font-size: 17px; margin-top: 6px; line-height: 1.35; }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--pill-fg); background: var(--pill-bg); border-radius: 980px; padding: 7px 13px; margin-bottom: 14px; }
.ioh { font-size: clamp(40px, 10.5vw, 64px) !important; }

/* price finder */
.step { margin-top: 22px; }
.sq { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.sn { width: 26px; height: 26px; border-radius: 50%; background: var(--pill-bg); color: var(--pill-fg); font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.step.picked .sn { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.tiles { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.tiles.two { grid-template-columns: 1fr 1fr; }
.tile { border: 1.5px solid var(--line); background: var(--card); border-radius: 16px; padding: 16px 6px 14px; cursor: pointer; text-align: center; transition: transform .12s, border-color .15s, box-shadow .15s; color: var(--ink); min-height: 64px; }
.tile:active { transform: scale(.97); }
.tile b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.tile small { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.tile[aria-pressed='true'] { border-color: transparent; box-shadow: 0 0 0 2px var(--accent-text) inset, 0 8px 20px -10px rgba(123, 44, 191, .55); background: var(--tint); }
.tile[aria-pressed='true'] b { color: var(--accent-text); }
.hint2 { font-size: 13px; color: var(--ink3); margin-top: 8px; text-align: center; }
.stud { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; background: var(--bg2); border-radius: 14px; padding: 10px 10px 10px 14px; font-size: 14.5px; font-weight: 600; }
.yn { display: flex; background: var(--card); border-radius: 10px; padding: 3px; flex: none; box-shadow: 0 0 0 1px var(--line) inset; }
.yn button { border: 0; background: none; border-radius: 8px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink2); cursor: pointer; min-height: 38px; }
.yn button[aria-pressed='true'] { background: var(--pill-bg); color: var(--pill-fg); }
@media (max-width: 380px) { .stud { flex-direction: column; align-items: stretch; text-align: center; } .yn button { flex: 1; } }

.result { margin-top: 22px; border-radius: 26px; overflow: hidden; background: var(--deep); border: 1px solid var(--deep-line); color: #fff; animation: ojpop .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes ojpop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.res-top { padding: 24px 20px 18px; text-align: center; background: radial-gradient(120% 100% at 100% 0, rgba(212, 35, 122, .5), transparent 60%), radial-gradient(100% 90% at 0 100%, rgba(123, 44, 191, .55), transparent 60%); }
.res-tag { display: inline-block; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .14); border-radius: 980px; padding: 6px 12px; }
.res-price { font-size: clamp(64px, 20vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.res-price em { font-style: normal; font-size: .42em; letter-spacing: -.02em; margin-left: 4px; vertical-align: .9em; }
.res-sub { font-size: 15px; opacity: .85; margin-top: 6px; }
.res-when { font-size: 13px; color: #ffb0d4; font-weight: 600; margin-top: 6px; }
.ladder { padding: 4px 20px; }
.lr { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; }
.lr span:first-child { opacity: .75; }
.lr b { font-variant-numeric: tabular-nums; }
.lr.x b { text-decoration: line-through; opacity: .55; font-weight: 500; }
.nudge { margin: 4px 20px 0; background: linear-gradient(90deg, rgba(255, 209, 102, .18), rgba(255, 138, 61, .12)); border: 1px solid rgba(255, 209, 102, .4); color: #ffe3a3; border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.nudge b { color: #fff; }
.choose { display: grid; gap: 8px; padding: 16px 16px 6px; }
.pathbtn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border: 0; border-radius: 16px; padding: 15px 16px; cursor: pointer; background: rgba(255, 255, 255, .1); color: #fff; }
.pathbtn.pri { background: linear-gradient(95deg, var(--accent), var(--accent2)); }
.pathbtn b { display: block; font-size: 17px; letter-spacing: -.02em; }
.pathbtn small { display: block; font-size: 13px; opacity: .85; margin-top: 1px; }
.pathbtn i { font-style: normal; font-size: 26px; opacity: .7; }
.how { padding: 4px 20px 18px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.how summary, .all summary { cursor: pointer; list-style: none; font-weight: 600; padding: 8px 0; }
.how summary::-webkit-details-marker, .all summary::-webkit-details-marker { display: none; }
.how summary::after, .all summary::after { content: ' +'; opacity: .6; }
.how[open] summary::after, .all[open] summary::after { content: ' –'; }
.how p { line-height: 1.45; }

.all { margin-top: 18px; text-align: center; font-size: 15px; color: var(--accent-text); }
.all[open] { text-align: left; color: var(--ink); }
.seg { display: flex; background: var(--bg2); border-radius: 12px; padding: 3px; max-width: 340px; margin: 8px auto 14px; }
.seg button { flex: 1; border: 0; background: transparent; font: 600 14px/1 var(--sans); color: var(--ink2); padding: 11px 8px; border-radius: 9px; cursor: pointer; min-height: 40px; }
.seg button[aria-pressed='true'] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 0 0 .5px rgba(0, 0, 0, .04); }
.ratecard { border: 2px solid transparent; border-radius: 22px; padding: 6px 18px; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, var(--accent), var(--accent2), #ff8a3d) border-box; }
.rr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line2); }
.rr:first-child { border-top: 0; }
.rr .who { min-width: 0; }
.rr .who b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.rr .who span { font-size: 13px; color: var(--ink3); }
.rr .pr { text-align: right; flex: none; }
.rr .big { font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.rr .big s { font-size: 15px; font-weight: 500; color: var(--ink3); margin-right: 6px; letter-spacing: 0; }
.rr .mo2 { display: block; font-size: 13px; color: var(--ink2); margin-top: 4px; }
.ratenote { text-align: center; font-size: 12.5px; color: var(--ink3); margin-top: 10px; }

.tl { margin-top: 16px; border-radius: 20px; background: var(--bg2); padding: 4px 16px; }
.alt .tl { background: var(--card); }
.d { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.d:first-child { border-top: 0; }
.d b { font-weight: 700; }
.d span { color: var(--ink2); }
.d.now b { color: var(--accent2); }
.inc { text-align: center; font-size: 13.5px; color: var(--ink2); margin-top: 14px; line-height: 1.6; }
.inc b { color: var(--ink); font-weight: 600; }

/* sign-up + try-outs */
.box { background: transparent; padding: 0; }
.sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--accent-text); }
.sum a { color: var(--ink2); text-decoration: underline; font-size: 14px; font-weight: 500; }
/* Mindbody branded-web widgets, restyled as cards (logo, filters, navigation and descriptions hidden). */
.mb { min-height: 120px; }
.mb .navigation, .mb .header, .mb .filters, .mb .healcode-date-links-area, .mb .hc_footer,
.mb .healcode-title-text, .mb .add-new-line, .mb thead, .mb tr:has(th), .mb th,
.mb .healcode-enrollment-description, .mb .class_description, .mb .hc-class-description,
.mb td.description, .mb .enrollment_description { display: none !important; }
.mb .hc-privacy-footer { font-size: 12px; text-align: center; margin-top: 8px; }
.mb .hc-privacy-footer img { display: none !important; }
.mb .hc-privacy-footer a { color: var(--ink3) !important; float: none !important; }
.mb div.healcode, .mb table, .mb tbody, .mb ol.enrollment_list { display: block; width: 100%; background: transparent !important; border: 0 !important; list-style: none; padding: 0; margin: 0; }
/* each course (table row on wide screens, list item on phones) becomes a card */
.mb .filterable { display: flex !important; flex-direction: column; gap: 4px; background: var(--card) !important; border: 1.5px solid var(--line) !important; border-radius: 18px; padding: 16px; margin: 0 0 10px; }
.mb .filterable td, .mb .filterable .info_wrapper { display: flex; flex-direction: column; gap: 4px; padding: 0 !important; border: 0 !important; background: none !important; }
.mb .filterable td { display: block; }
.mb .healcode-date-field, .mb .healcode-time-field { color: var(--ink2) !important; font: 400 14px/1.4 var(--sans) !important; text-align: left !important; }
.mb .healcode-date-field { order: 2; font-size: 13px !important; color: var(--ink3) !important; }
.mb .healcode-time-field { order: 1; }
#signup .mb .healcode-time-field::before { content: 'Thursdays · '; }
#signup .mb .healcode-days-field { display: none !important; }
/* try-outs: real weekday + date first, then time */
#tryouts .mb .healcode-date-field { order: 1; font-size: 14px !important; color: var(--ink2) !important; }
#tryouts .mb .healcode-time-field { order: 2; }
#tryouts .mb td.healcode-days-field { display: none !important; }
.mb .mbo_class { order: 0; }
.mb .mbo_class, .mb .mbo_class a, .mb .mbo_class span { color: var(--ink) !important; font: 700 19px/1.2 var(--sans) !important; letter-spacing: -.02em; text-align: left !important; text-decoration: none !important; pointer-events: none !important; cursor: default !important; }
.mb .healcode-button-field { order: 3; margin-top: 10px; padding: 0 !important; }
.mb .hc-button, .mb a.signup_now { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0 !important; border-radius: 980px !important; background: linear-gradient(95deg, var(--accent), var(--accent2)) !important; color: #fff !important; font: 600 16px/1 var(--sans) !important; text-decoration: none !important; box-shadow: none !important; float: none !important; }
.mb .filterable.oj-pick { border: 2px solid var(--accent-text) !important; padding: 15.5px; box-shadow: 0 8px 20px -10px rgba(123, 44, 191, .55); }
.mb .filterable.oj-pick .mbo_class::after { content: 'Your pick'; display: inline-block; margin-left: 8px; vertical-align: 3px; font: 700 11px/1 var(--sans); color: #fff; background: linear-gradient(95deg, var(--accent), var(--accent2)); border-radius: 980px; padding: 5px 8px; }
.mb .filterable.oj-dim { opacity: .6; }
.mb img[src*='spinner'] { display: block; margin: 20px auto; }
.reassure { text-align: center; font-size: 13px; color: var(--ink3); margin-top: 10px; }
.reassure a { color: var(--accent-text); }
.tprice { text-align: center; font-size: 14px; color: var(--ink2); margin: 14px 0; line-height: 1.5; }

/* reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 22px 8px; margin: 0 -22px; -webkit-overflow-scrolling: touch; }
@media (min-width: 760px) { .reviews { grid-auto-columns: 32%; } }
.review { scroll-snap-align: center; margin: 0; background: var(--bg2); border-radius: 22px; padding: 18px; font-size: 15px; line-height: 1.45; }
.alt .review { background: var(--card); }
.review p { margin: 8px 0 10px; }
.review cite { font-style: normal; font-weight: 600; font-size: 13.5px; color: var(--ink2); }

/* about */
.about { display: grid; gap: 18px; align-items: center; }
@media (min-width: 760px) { .about { grid-template-columns: 1fr 1fr; gap: 32px; } }
.about img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about h2 { font-size: clamp(30px, 7.5vw, 42px); margin: 4px 0 12px; }
.about p { color: var(--ink2); margin-bottom: 12px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--accent2); }

/* faq */
.faq details { border-top: 1px solid var(--line2); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 8px; color: var(--ink2); font-size: 15px; }

/* footer */
.foot { padding: 22px 0 110px; font-size: 12px; color: var(--ink3); line-height: 1.5; border-top: 1px solid var(--line2); }
.foot p + p { margin-top: 8px; }
.foot a { color: var(--accent-text); }

/* sticky buy bar */
.buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--nav-line); padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .3s ease; }
.buy.show { transform: none; }
.buy small { display: block; font-size: 12px; color: var(--ink2); }
.buy strong { font-size: 16px; letter-spacing: -.02em; }
.buy .btns { display: flex; gap: 8px; align-items: center; }
.wa-btn { width: 44px; height: 44px; border-radius: 22px; background: #25d366; color: #062b12; display: grid; place-items: center; }

/* story intro */
.story { position: fixed; inset: 0; z-index: 300; background: #0d0416; color: #fff; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.sbars { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 5; }
.sbars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.sbars b { display: block; height: 100%; width: 0; background: #fff; }
.shead { position: absolute; top: calc(22px + env(safe-area-inset-top)); left: 12px; right: 8px; display: flex; align-items: center; gap: 8px; z-index: 6; font-size: 13px; }
.sav { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 2px #fff; }
.sname { font-weight: 700; flex: 1; }
.sname small { font-weight: 500; opacity: .7; }
.sx { border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.sl { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none; }
.sl.on { opacity: 1; pointer-events: auto; }
.sl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s1 { background: #1a0730; }
.s1::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 4, 22, .55) 0, transparent 25%, transparent 45%, rgba(13, 4, 22, .92) 85%); }
.s2 { background: radial-gradient(90% 60% at 80% 10%, #d4237a 0, transparent 60%), radial-gradient(90% 60% at 10% 90%, #7b2cbf 0, transparent 60%), #160623; }
.s3 { background: radial-gradient(80% 60% at 20% 20%, #ff8a3d 0, transparent 55%), radial-gradient(90% 70% at 90% 90%, #d4237a 0, transparent 60%), #1d0a2a; }
.s4 { background: radial-gradient(100% 70% at 50% 0, #7b2cbf 0, transparent 60%), radial-gradient(80% 60% at 50% 100%, #d4237a 0, transparent 60%), #12051f; }
.s5 { background: radial-gradient(100% 70% at 0 0, #d4237a 0, transparent 55%), radial-gradient(100% 70% at 100% 100%, #ff8a3d 0, transparent 55%), #1a0730; }
.sc { position: absolute; left: 24px; right: 24px; z-index: 2; }
.sc.bottom { bottom: calc(70px + env(safe-area-inset-bottom)); }
.sc.center { top: 50%; transform: translateY(-50%); text-align: center; }
.sk { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .14); border-radius: 980px; padding: 7px 12px; margin-bottom: 16px; }
.sc h2 { font-size: clamp(40px, 12vw, 56px); line-height: 1; letter-spacing: -.035em; color: #fff; }
.sc h2 em { font-style: normal; background: linear-gradient(90deg, #ffb0d4, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc p { font-size: 17px; line-height: 1.4; opacity: .88; margin-top: 16px; }
.sbig { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 4px 0; }
.sbig b { font-size: clamp(70px, 22vw, 100px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sbig span { font-size: 20px; font-weight: 700; color: #ffb0d4; width: 84px; text-align: left; }
.srot { display: flex; justify-content: center; gap: 10px; font-size: 40px; margin-bottom: 18px; }
.srot i { font-style: normal; animation: ojbob 1.4s ease-in-out infinite; }
.srot i:nth-child(2) { animation-delay: .2s; } .srot i:nth-child(3) { animation-delay: .4s; } .srot i:nth-child(4) { animation-delay: .6s; }
@keyframes ojbob { 50% { transform: translateY(-10px) rotate(-6deg); } }
.sprice small { display: block; font-size: 18px; font-weight: 600; opacity: .85; }
.sprice b { display: block; font-size: clamp(84px, 27vw, 120px); font-weight: 700; letter-spacing: -.055em; line-height: 1; margin: 4px 0; }
.sprice span { display: block; font-size: 16px; color: #ffd166; font-weight: 600; }
.scta { display: grid; gap: 10px; margin-top: 26px; position: relative; z-index: 8; }
.scta .pill { width: 100%; }
.slink { border: 0; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 980px; padding: 15px; font-size: 16px; font-weight: 600; cursor: pointer; }
.tap { position: absolute; top: 80px; bottom: 0; z-index: 4; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tap.l { left: 0; width: 30%; } .tap.r { right: 0; width: 70%; }
.s5.on ~ .tap, .s5.on ~ .sswipe { display: none; }
.sswipe { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: 12.5px; opacity: .6; z-index: 3; animation: ojfade 2s ease-in-out infinite; }
@keyframes ojfade { 50% { opacity: .25; } }
.story.paused .sswipe { visibility: hidden; }
@media (min-width: 760px) { .story { left: 50%; right: auto; width: 420px; transform: translateX(-50%); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6); } }

/* consent banner (component) */
.consent { position: fixed; z-index: 400; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin: 0 auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); font-size: 14px; }
.consent p { margin: 0 0 12px; }
.consent a { color: var(--ink2); text-decoration: underline; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent .btn { border: 0; border-radius: 980px; min-height: 44px; font: 600 14px var(--sans); cursor: pointer; background: linear-gradient(95deg, var(--accent), var(--accent2)); color: #fff; }
.consent .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

@media (min-width: 760px) {
  .buy { display: none; }
  section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip i, .srot i, .sswipe, .result { animation: none; }
  .buy, .sl { transition: none; }
}

/* narrow-phone fixes */
.brand, .pill { white-space: nowrap; }
.tbox small { white-space: nowrap; font-size: 11.5px; }
@media (max-width: 400px) { .brand span { display: none; } }

/* payment-plan steps */
.planbox { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 20px 18px; }
.planbox h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.planbox ol { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 15px; color: var(--ink2); }
.planbox ol b { color: var(--ink); font-weight: 600; }
.planbox ol a:not(.pill) { color: var(--accent-text); font-weight: 600; display: inline-block; margin-top: 2px; }
.planbox .pill { display: flex; width: 100%; margin-top: 10px; }
#ojNums .yn button { padding: 9px 10px; min-width: 34px; }
.planbox .acct a { display: flex; width: 100%; margin-top: 10px; }

/* hero prices */
.hprice { display: block; margin: 10px 0 0; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 18px; padding: 12px 14px; text-align: center; color: var(--ink); text-decoration: none; }
.hprice .hp-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.hprice .hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.hprice .hp-row > span { display: flex; flex-direction: column; align-items: center; }
.hprice small { font-size: 13px; color: var(--ink2); }
.hprice .hp-row b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hprice s { font-size: 13px; color: var(--ink3); }
.hprice .hp-foot { display: block; font-size: 13px; color: var(--ink2); margin-top: 6px; }
.hprice .hp-foot b { color: var(--ink); font-weight: 600; }
/* price rows are buttons that fill in the finder */
.ratecard .rr { width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ratecard .rr:first-child { border-top: 0; }
.ratecard .rr .pr { margin-left: auto; }
.ratecard .rr .big { display: block; }
.ratecard .chev { font-style: normal; font-size: 22px; color: var(--ink3); flex: none; margin-left: -4px; }
.ratecard .rr:active { opacity: .7; }
.fh { text-align: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line2); }
.fh h3 { font-size: clamp(24px, 6vw, 30px); letter-spacing: -.025em; }
.fh p { color: var(--ink2); font-size: 15px; margin-top: 4px; line-height: 1.35; }

/* try-outs: price box on top, Mindbody rows as one table */
.tryp { margin: 0 0 14px; }
#tryouts .tlist table, #tryouts .tlist ol.enrollment_list { background: var(--bg2) !important; border-radius: 18px; padding: 4px 16px !important; }
#tryouts .tlist .filterable { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 2px 12px; background: none !important; border: 0 !important; border-top: 1px solid var(--line2) !important; border-radius: 0; padding: 12px 0 !important; margin: 0 !important; }
#tryouts .tlist .filterable:first-child { border-top: 0 !important; }
#tryouts .tlist .filterable .info_wrapper { flex: 1; min-width: 0; flex-direction: row !important; flex-wrap: wrap; align-items: baseline; gap: 2px 0; }
#tryouts .tlist .healcode-date-field { order: 1; color: var(--ink) !important; font: 700 15px/1.3 var(--sans) !important; }
#tryouts .tlist .healcode-time-field { order: 2; font: 400 14px/1.3 var(--sans) !important; color: var(--ink2) !important; white-space: nowrap; }
#tryouts .tlist .healcode-time-field::before { content: '\00a0·\00a0'; }
#tryouts .tlist .mbo_class { order: 3; flex-basis: 100%; }
#tryouts .tlist .mbo_class, #tryouts .tlist .mbo_class a, #tryouts .tlist .mbo_class span { font: 400 14px/1.4 var(--sans) !important; color: var(--ink2) !important; letter-spacing: 0; }
#tryouts .tlist .healcode-days-field { display: none !important; }
#tryouts .tlist .healcode-button-field { order: 4; margin: 0 0 0 auto !important; flex: none; }
#tryouts .tlist .hc-button, #tryouts .tlist a.signup_now { width: auto; min-height: 40px; padding: 0 18px !important; font-size: 15px !important; }
/* desktop (table layout): date | dance | time | Sign Up on one line */
#tryouts .tlist tr.filterable { flex-wrap: nowrap; gap: 16px; }
#tryouts .tlist tr.filterable .healcode-date-field { flex: 0 0 104px; }
#tryouts .tlist tr.filterable .mbo_class { order: 2; flex: 1; flex-basis: auto; }
#tryouts .tlist tr.filterable .mbo_class, #tryouts .tlist tr.filterable .mbo_class a, #tryouts .tlist tr.filterable .mbo_class span { font-size: 15px !important; color: var(--ink) !important; }
#tryouts .tlist tr.filterable .healcode-time-field { order: 3; }
#tryouts .tlist tr.filterable .healcode-time-field::before { content: none; }

/* hero, Figma pass 1 (17 Nov) */
.hero .eyebrow { font-size: 16px; line-height: 1.4; margin: 14px 0 8px; }
.hero .proof { flex-direction: column; align-items: center; gap: 4px; margin-top: 14px; }
.hero .tboxes { margin-top: 22px; }
.tbox span { color: #ff9f7a; font-size: 17px; }
.tbox small { font-size: 12px; opacity: .75; }
.sh .spots { font-size: 15px; color: var(--accent-text); margin-top: 6px; }
.sh .spots b { font-weight: 700; }
.sh .lockrow { margin-top: 14px; }
.sh .lockrow .lock { margin-bottom: 0; }
.sh .lockrow + .spots { margin-top: 8px; }
.culture { font-size: 14px; color: var(--ink2); margin-top: 10px; text-align: center; line-height: 1.4; }
.culture a { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.culture b { color: var(--ink); font-weight: 700; }
/* sign-up: both courses + payment-plan explainer */
.both2 { margin-top: 14px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 18px; padding: 14px 16px; }
.both2 h3 { font-size: 16px; letter-spacing: -.01em; margin-bottom: 6px; }
.both2 ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.both2 b { color: var(--ink); font-weight: 600; }
.both2 .pbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 2px; }
/* Mindbody pricing links: the widget renders an <a> with our pill classes; keep the space while it loads */
.passbtn { display: flex; min-height: 52px; border-radius: 980px; }
.passbtn:empty, .passbtn healcode-widget:empty { background: var(--bg2); }
.passbtn healcode-widget { display: flex; flex: 1; min-width: 0; border-radius: 980px; }
.passbtn a { flex: 1; min-width: 0; padding-left: 8px; padding-right: 8px; font-size: 16px; text-align: center; }

.ppinfo { margin-top: 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 4px 16px; }
.ppinfo summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; padding: 12px 0; color: var(--ink); }
.ppinfo summary::-webkit-details-marker { display: none; }
.ppinfo summary::after { content: ' +'; color: var(--accent-text); }
.ppinfo[open] summary::after { content: ' –'; }
.ppinfo[open] { padding-bottom: 16px; }
.ppinfo .pp-lead { font-size: 14.5px; color: var(--ink2); line-height: 1.4; }
.ppinfo .pp-opts { display: grid; gap: 8px; margin: 12px 0; }
.ppinfo .pp-opts > div { background: var(--bg2); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.ppinfo .pp-opts b { font-size: 15px; color: var(--ink); }
.ppinfo .pp-opts span { font-size: 13.5px; color: var(--ink2); line-height: 1.4; }
.ppinfo h4 { font-size: 14px; font-weight: 700; margin: 4px 0 6px; color: var(--ink); }
.ppinfo ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--ink2); line-height: 1.35; }
.ppinfo .pp-note { margin-top: 12px; font-size: 13px; color: var(--ink2); line-height: 1.4; border-top: 1px solid var(--line2); padding-top: 10px; }
.pldate { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; background: var(--bg2); border-radius: 14px; padding: 8px 8px 8px 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.pldate[hidden] { display: none; }
.pldate input { font: inherit; font-weight: 600; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 40px; }
.planbox .plf { margin-top: 10px; }
.plpartner { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; background: var(--bg2); border-radius: 14px; padding: 10px; }
.plpartner[hidden] { display: none; }
.plpartner > span { grid-column: 1 / -1; font-size: 14.5px; font-weight: 600; color: var(--ink); padding-left: 4px; }
.plpartner input { min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 42px; }
/* try-out prices: same look as the course rate card */
.trysh { margin: 18px 0 14px; }
.trysh .lockrow { margin-top: 0; }
.tryrc .rr { cursor: default; }
#tryouts .ratenote { margin-bottom: 18px; }
/* "Share with a friend": quiet outline link, never competes with the sign-up buttons */
.sharelink { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 6px 12px; font: 600 13px/1.2 var(--sans); color: inherit; cursor: pointer; opacity: .9; }
.sharelink:hover { opacity: 1; }
.nudge .sharelink { display: flex; width: fit-content; color: #ffe3a3; }
.sharerow { text-align: center; margin: -8px 0 18px; }
.sharerow .sharelink { color: var(--accent-text); margin-top: 0; }
#tryouts .ratenote:has(+ .sharerow) { margin-bottom: 10px; }
.sharemenu { position: absolute; z-index: 60; display: flex; flex-direction: column; min-width: 170px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.sharemenu[hidden] { display: none; }
.sharemenu a, .sharemenu button { display: block; text-align: left; background: none; border: 0; border-radius: 9px; padding: 9px 12px; font: 600 14px/1.2 var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.sharemenu a:hover, .sharemenu button:hover { background: var(--bg2); }
/* story price slide: only the outer lines are block-level; the price number keeps its big size */
.sprice b span { display: inline; font: inherit; color: inherit; letter-spacing: inherit; }
.sprice > span span { display: inline; font-size: inherit; }
#st2 .stud { scroll-margin-top: 72px; }
.pldate > span small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink3); }
/* header: logo + social counters */
.brand { display: flex; align-items: center; }
.brand img { display: block; height: 44px; width: auto; }
.nav .w { height: 60px; }
[data-theme="dark"] .brand img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: invert(1); } }
.social { display: flex; flex-direction: column; justify-content: center; margin-right: 4px; border: 1px solid var(--nav-line); border-radius: 8px; overflow: hidden; }
.social a { display: flex; align-items: center; gap: 5px; padding: 2px 8px; font-size: 11px; line-height: 16px; color: var(--ink2, inherit); }
.social a + a { border-top: 1px solid var(--nav-line); }
.social a:hover { background: var(--nav-line); }
.social b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .nav .w { height: 56px; } .brand img { height: 40px; } }
@media (max-width: 400px) { .brand img { height: 36px; } .social { margin-right: 0; } .social a { padding: 2px 6px; } .nav-r { gap: 0; } .nav-r .icon-btn { width: 40px; } }
#reviews, #about, #faq, #location { scroll-margin-top: 64px; }
/* burger menu */
.burger path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.burger.open .b1 { transform: translateY(5px) rotate(45deg); }
.burger.open .b2 { opacity: 0; }
.burger.open .b3 { transform: translateY(-5px) rotate(-45deg); }
.navmenu { border-top: 1px solid var(--nav-line); }
.navmenu[hidden] { display: none; }
.navmenu .w { height: auto; align-items: stretch; justify-content: flex-start; display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
.navmenu a { padding: 12px 2px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--nav-line); }
.navmenu a:last-child { border-bottom: 0; }
.navmenu a.wa { color: var(--accent-text, var(--accent)); }
@media (min-width: 700px) { .navmenu .w { flex-direction: row; flex-wrap: wrap; gap: 4px 22px; padding-top: 4px; padding-bottom: 8px; } .navmenu a { border-bottom: 0; font-size: 15px; padding: 10px 0; } }
/* price cards: one course / both courses, no toggle */
.rcards { display: grid; gap: 14px; margin-top: 10px; }
.rch { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 10px; border-bottom: 1px solid var(--line2); }
.rch h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.rch p { font-size: 13px; color: var(--ink3); margin: 2px 0 0; }
.rch .save { flex: none; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(95deg, var(--accent), var(--accent2)); border-radius: 980px; padding: 6px 10px; white-space: nowrap; }
.rch .save[hidden] { display: none; }
.rch + .rr { border-top: 0; }
.ratecard .rr .who span b { display: block; color: var(--accent-text, var(--accent)); font-weight: 700; font-size: 14px; margin-top: 2px; }
@media (max-width: 400px) { .rch .save { font-size: 12px; padding: 5px 8px; } }
.promo { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--bg2); font-size: 14.5px; line-height: 1.45; }
.promo b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--card); padding: 1px 6px; border-radius: 6px; }
/* small phones: crossed-out price above the price, so "Save … per person" fits on one line */
@media (max-width: 420px) { .ratecard .rr .big s { display: block; margin: 0 0 3px; font-size: 14px; } .ratecard .rr .who span b { white-space: nowrap; } }
.trynote { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--bg2); font-size: 14.5px; line-height: 1.5; }
.trynote b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.trynote a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--accent-text, var(--accent)); }
.trynote a::after { content: ' ›'; }
