/* Studio Mira: electric violet, lime and pink on lavender white.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F7F5FF;
  --surface: #FFFFFF;
  --soft: #EDE8FF;
  --ink: #17131F;
  --muted: #5C566B;
  --line: #E2DCF5;
  --line-strong: #C9C0E8;
  --violet: #6A4DF4;
  --lime: #D5F25A;
  --pink: #FF6FA8;
  --brand: #6A4DF4;
  --brand-hover: #5536E0;
  --brand-ink: #FFFFFF;
  --brand-text: #5536E0;
  --eyebrow: #5536E0;
  --head: "Syne", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 26px;
  --btn-radius: 999px;
  --wrap: 1220px;
  --gap: 18px;
  --basket-bg: #17131F;
  --basket-ink: #F7F5FF;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; }
h1 em, h2 em, .f-statement em { font-style: normal; color: var(--violet); }
.eyebrow { letter-spacing: .14em; }
.btn { font-weight: 800; }
.btn svg { width: 20px; height: 20px; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #C6E64A; }
.text-link { color: var(--violet); font-weight: 800; text-underline-offset: 5px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--violet); font-weight: 800; text-decoration: underline; cursor: pointer; }

/* ---------- header ---------- */
.header { background: rgba(247,245,255,.9); backdrop-filter: blur(12px); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo b { font: 800 1.5rem var(--head); letter-spacing: -.04em; white-space: nowrap; }
@media (max-width: 420px) { .logo b { font-size: 1.2rem; } .logo-mark { width: 32px; height: 32px; } }
.nav { padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.nav a { color: var(--muted); font-weight: 700; border-radius: 999px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: #fff; background: var(--ink); }
@media (max-width: 960px) { .nav { border-radius: 0; border: 0; } .nav-open .nav a[aria-current="page"] { color: var(--violet); background: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(1.9rem, 8.2vw, 5rem); line-height: .95; margin: 16px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stack { position: relative; min-height: 420px; }
@media (max-width: 900px) { .hero-stack { min-height: 380px; max-width: 460px; } }
.hs-card { position: absolute; display: grid; gap: 2px; width: min(250px, 74%); padding: 22px 24px; border-radius: var(--radius-lg); box-shadow: 0 30px 50px -30px rgba(23,19,31,.45); }
.hs-card span { font-weight: 700; font-size: .9rem; opacity: .8; }
.hs-card b { font: 800 1.9rem/1.05 var(--head); letter-spacing: -.03em; }
.hs-card s { font-weight: 700; opacity: .6; }
.hs-card i { font-style: normal; font-weight: 700; font-size: .88rem; }
.hs-1 { top: 0; left: 0; background: var(--violet); color: #fff; transform: rotate(-4deg); }
.hs-2 { top: 130px; right: 0; background: var(--lime); color: var(--ink); transform: rotate(3deg); }
.hs-3 { top: 262px; left: 8%; background: var(--surface); border: 1px solid var(--line); transform: rotate(-2deg); }
.hs-sticker { position: absolute; top: 250px; right: 0; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--pink); color: var(--ink); text-align: center; font-weight: 800; font-size: .82rem; line-height: 1.1; transform: rotate(10deg); }
.hs-sticker b { font: 800 2rem var(--head); }

/* ---------- sections ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2, .sec-title { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; }
.sub-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 16px; }
.pop { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 960px) { .pop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pop { grid-template-columns: minmax(0, 1fr); } }
.pop li { display: flex; flex-direction: column; gap: 6px; min-height: 220px; padding: 24px; border-radius: var(--radius-lg); }
.pop-0 { background: var(--soft); }
.pop-1 { background: var(--ink); color: #fff; }
.pop-2 { background: var(--lime); }
.pop-3 { background: #FFE0EC; }
.pop h3 { font-size: 1.5rem; }
.pop-price { font: 800 1.6rem var(--head); margin-top: auto; }
.pop-time { opacity: .7; font-weight: 600; }
.pop .svc-add { align-self: start; margin-top: 8px; border-color: currentColor; color: inherit; }
.pop-1 .svc-add[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.studios-band { background: var(--ink); color: #DCD6EC; }
.studios-band .sec-title { color: #fff; }
.studios-band .eyebrow { color: var(--lime); }
.split-2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split-2 { grid-template-columns: minmax(0, 1fr); } }
.city { width: 100%; height: auto; display: block; }
.pin { cursor: pointer; }
.pin circle:first-child { transition: r .2s; }
.pin:hover circle:first-child, .pin:focus-visible circle:first-child { r: 24; }
.pin.is-dim { opacity: .3; }

/* ---------- team ---------- */
.member .portrait { border-radius: var(--radius-lg); }
.member .role { color: var(--violet); font-weight: 700; }
.levels { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.levels th, .levels td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.levels thead th { background: var(--ink); color: #fff; font-size: .9rem; }
.levels td { font-variant-numeric: tabular-nums; font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* ---------- membership calculator (signature) ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-in { display: grid; gap: 18px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.calc-step { font: 800 1.3rem var(--head); }
.u-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.u-row label { font-weight: 700; }
.u-row output { font: 800 1.4rem var(--head); color: var(--violet); font-variant-numeric: tabular-nums; }
.u-row input { grid-column: 1 / -1; width: 100%; height: 30px; accent-color: var(--violet); cursor: pointer; }
.u-row small { grid-column: 1 / -1; color: var(--muted); }
.calc-out { display: grid; gap: 14px; }
.payg { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--soft); font-weight: 700; }
.payg b { font: 800 2rem var(--head); font-variant-numeric: tabular-nums; }
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.plan-card h3 { font-size: 1.5rem; }
.pc-best { display: none; align-self: start; padding: 4px 10px; border-radius: 999px; background: var(--lime); font-size: .78rem; font-weight: 800; }
.plan-card.is-best { border-color: var(--violet); background: #F1EDFF; transform: translateY(-4px); }
.plan-card.is-best .pc-best { display: inline-block; }
.pc-fee { color: var(--muted); font-weight: 700; }
.pc-perks { list-style: none; display: grid; gap: 4px; font-size: .9rem; }
.pc-perks li::before { content: "✓ "; color: var(--violet); font-weight: 800; }
.pc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pc-total span { white-space: nowrap; }
.pc-total b { font: 800 1.35rem var(--head); font-variant-numeric: tabular-nums; }
.pc-save { font-weight: 800; color: #1B7A4B; }
.plan-card.is-loss .pc-save { color: var(--muted); font-weight: 600; }
.plan-card.is-best .btn-ghost { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- studios page ---------- */
.b-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.b-filters button { min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 800; cursor: pointer; }
.b-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.b-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .b-layout { grid-template-columns: minmax(0, 1fr); } }
.b-map { position: sticky; top: 100px; }
@media (max-width: 900px) { .b-map { position: static; } }
.b-list { list-style: none; display: grid; gap: 14px; }
.branch { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--line); scroll-margin-top: 100px; transition: border-color .2s; }
.branch.is-picked { border-color: var(--violet); }
.branch[hidden], .b-empty[hidden] { display: none; }
.b-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.b-top h2 { font-size: 1.7rem; }
.b-status { padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .84rem; background: var(--soft); }
.b-status.is-open { background: #DDF7E8; color: #11643B; }
.branch p { color: var(--muted); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list li { padding: 4px 12px; border-radius: 999px; background: var(--soft); font-size: .84rem; font-weight: 700; }
.b-empty { padding: 22px; border-radius: var(--radius-lg); background: var(--soft); font-weight: 600; }

/* ---------- price list ---------- */
.svc-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }

/* ---------- CTA + footer ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 104px); background: var(--violet); color: #fff; }
.cta-band h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; max-width: 18ch; color: #fff; }
.cta-band h2 em { color: var(--lime); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.footer { background: var(--ink); color: #BDB6CF; --footer-line: rgba(255,255,255,.12); }
.f-statement { font: 800 clamp(2rem, 5vw, 3.6rem)/1 var(--head); letter-spacing: -.03em; color: #fff; margin-bottom: 48px; }
.f-statement em { color: var(--lime); }
.footer .logo b { color: #fff; }
.footer h2 { color: var(--lime); opacity: 1; }
.f-about { margin: 14px 0 10px; max-width: 34ch; }
.footer .credit a { color: #fff; }
.page-head h1 { font-size: clamp(1.9rem, 7.6vw, 3.6rem); }
