@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #17232b;
  --ink-soft: #52636b;
  --navy: #10212b;
  --navy-2: #183643;
  --ivory: #f7f4ed;
  --paper: #fffdf9;
  --sand: #ebe3d4;
  --gold: #c89b58;
  --gold-light: #e7c98f;
  --sage: #dce7df;
  --success: #2e7552;
  --warning: #a35e2a;
  --danger: #9b3b3b;
  --line: rgba(23, 35, 43, 0.13);
  --shadow: 0 18px 55px rgba(16, 33, 43, 0.12);
  --shadow-soft: 0 8px 28px rgba(16, 33, 43, 0.08);
  --radius: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
#toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 80; pointer-events: none; }
.toast { max-width: min(380px, calc(100vw - 32px)); padding: 13px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--navy); color: #fff; box-shadow: var(--shadow-soft); font-size: .8rem; }
.toast.danger { background: var(--danger); }
.toast.success { background: var(--success); }
.toast-region:empty { display: none; }
@media (max-width: 720px) {
  .logo-strip-inner { flex-wrap: nowrap; overflow: hidden; justify-content: flex-start; }
  .logo-strip-inner span { flex: 0 0 auto; padding-right: 24px; }
}
@media (max-width: 980px) {
  .hero::after { opacity: .55; }
  .main-nav a { white-space: nowrap; }
}
@media (max-width: 720px) {
  .header-inner { gap: 10px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 29px; height: 29px; }
  .main-nav { max-width: calc(100vw - 32px); }
  .header-actions .btn { max-width: 120px; overflow: hidden; white-space: nowrap; }
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: fixed; top: -50px; left: 16px; z-index: 100; padding: 10px 14px;
  background: var(--gold); color: var(--navy); border-radius: 0 0 8px 8px; font-weight: 700;
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(247,244,237,.92);
  border-bottom: 1px solid rgba(23,35,43,.08); backdrop-filter: blur(18px);
}
.header-inner { max-width: var(--max); min-height: 76px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.04em; font-size: 1.14rem; white-space: nowrap; }
.brand-mark { width: 31px; height: 31px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: .86rem; }
.brand span:last-child { color: var(--navy); }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; min-width: 0; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.icon-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; border: 1px solid var(--line); background: var(--paper); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }

.btn { min-height: 46px; border: 1px solid transparent; border-radius: 999px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .9rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(16,33,43,.16); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 10px 24px rgba(16,33,43,.22); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .8rem; }
.text-link { color: var(--navy); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

main { min-height: 70vh; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; }
.display, h1, h2, h3, h4 { font-family: Manrope, 'DM Sans', sans-serif; letter-spacing: -.055em; }
.display { margin: 0; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .98; font-weight: 700; }
h1 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4.5rem); line-height: 1.02; }
h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.06; }
h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
h4 { margin: 0; font-size: 1rem; line-height: 1.2; }
.muted { color: var(--ink-soft); }
.lede { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .muted, .section-dark .lede { color: rgba(255,255,255,.68); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-head > div { max-width: 660px; }
.section-head p { margin: 14px 0 0; color: var(--ink-soft); }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: 670px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 77% 28%, rgba(200,155,88,.28), transparent 25%), radial-gradient(circle at 18% 90%, rgba(93,139,152,.2), transparent 30%); }
.hero::after { content: ''; position: absolute; width: 58vw; height: 58vw; max-width: 760px; max-height: 760px; right: -8%; top: 18%; border: 1px solid rgba(231,201,143,.22); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 100px 0 124px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 70px; align-items: center; }
.hero-copy { min-width: 0; max-width: 660px; }
.hero-copy .eyebrow { color: var(--gold-light); }
.hero-copy .lede { max-width: 560px; margin: 24px 0 30px; color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: rgba(255,255,255,.58); font-size: .83rem; }
.hero-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 5px rgba(231,201,143,.14); }
.search-card { position: relative; width: min(100%, 540px); min-width: 0; padding: 25px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.08); box-shadow: 0 20px 65px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.search-card h2 { font-size: 1.3rem; margin-bottom: 20px; }
.search-field { min-width: 0; margin-bottom: 14px; }
.search-field label { display: block; margin-bottom: 7px; color: rgba(255,255,255,.64); font-size: .76rem; font-weight: 700; }
.input, .select, .textarea { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; background: rgba(255,255,255,.1); color: #fff; }
.input::placeholder, .textarea::placeholder { color: rgba(255,255,255,.42); }
.select option { color: var(--ink); }
.textarea { min-height: 100px; padding-top: 12px; resize: vertical; }
.search-card .btn { width: 100%; min-width: 0; margin-top: 4px; white-space: nowrap; }

.logo-strip { padding: 24px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.logo-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.logo-strip-inner span { opacity: .7; }

.instructor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.instructor-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.instructor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.instructor-card-media { position: relative; height: 260px; overflow: hidden; background: #d7d0c4; }
.instructor-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .35s ease; }
.instructor-card:hover .instructor-card-media img { transform: scale(1.04); }
.instructor-card-media .tag { position: absolute; top: 14px; left: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255,253,249,.92); color: var(--navy); font-size: .7rem; font-weight: 800; }
.tag-gold { background: var(--gold-light); }
.tag-dark { background: var(--navy); color: #fff; }
.instructor-card-body { padding: 21px; }
.instructor-card-body p { margin: 7px 0 0; color: var(--ink-soft); font-size: .88rem; }
.instructor-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }
.instructor-meta strong { color: var(--ink); display: block; font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-media { position: relative; min-height: 500px; border-radius: 24px; overflow: hidden; background: #c5d0cf; }
.split-media img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat { padding: 20px 0; border-top: 1px solid var(--line); }
.stat strong { display: block; color: var(--navy); font: 700 1.8rem Manrope, sans-serif; letter-spacing: -.06em; }
.stat span { color: var(--ink-soft); font-size: .78rem; }
.bullets { display: grid; gap: 15px; margin: 25px 0 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); }
.bullets li::before { content: '✓'; width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--success); font-size: .75rem; font-weight: 800; }

.lesson-row { display: grid; grid-template-columns: 1.1fr .85fr .85fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.lesson-row:first-child { border-top: 1px solid var(--line); }
.lesson-row p { margin: 7px 0 0; color: var(--ink-soft); font-size: .88rem; }
.lesson-price { color: var(--navy); font: 700 1.15rem Manrope, sans-serif; }
.lesson-price small { display: block; color: var(--ink-soft); font: 400 .73rem 'DM Sans', sans-serif; letter-spacing: 0; }

.testimonial { padding: 36px; border-radius: 22px; background: var(--navy); color: #fff; max-width: 790px; }
.testimonial blockquote { margin: 0; font: 500 clamp(1.35rem, 2.5vw, 2rem)/1.35 Manrope, sans-serif; letter-spacing: -.035em; }
.testimonial footer { margin-top: 20px; color: rgba(255,255,255,.62); font-size: .8rem; }
.stars { color: var(--gold-light); letter-spacing: .12em; }

.cta-band { padding: 70px 0; background: var(--gold); color: var(--navy); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-band .btn { background: var(--navy); color: #fff; }

.page-hero { padding: 76px 0 62px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.page-hero-inner .lede { max-width: 570px; }
.breadcrumbs { margin-bottom: 18px; color: var(--ink-soft); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }

.search-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.search-toolbar form { display: flex; align-items: center; gap: 10px; width: 100%; }
.toolbar-input, .toolbar-select { min-height: 43px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; background: #fff; color: var(--ink); }
.toolbar-input { flex: 1; }
.filter-pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: var(--sage); color: var(--success); font-size: .72rem; font-weight: 700; }
.results-count { color: var(--ink-soft); font-size: .86rem; }
.results-count strong { color: var(--ink); }

.profile-hero { padding: 48px 0 70px; background: var(--paper); }
.profile-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.profile-photo { aspect-ratio: 1 / 1.08; border-radius: 22px; overflow: hidden; background: #d7d0c4; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .95; }
.profile-title { color: var(--ink-soft); font-size: 1.08rem; }
.profile-bullets { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 30px; }
.profile-bullets span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .78rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.detail-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--ivory); }
.detail-card small { display: block; color: var(--ink-soft); font-size: .72rem; }
.detail-card strong { display: block; margin-top: 4px; font-size: .92rem; }

.rate-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.rate-card h3 { margin-bottom: 18px; }
.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rate-row:last-child { border-bottom: 0; }
.rate-row strong { font: 700 1rem Manrope, sans-serif; }
.rate-row small { display: block; color: var(--ink-soft); }
.availability-box { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.availability-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.slot { min-height: 43px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 700; }
.slot:hover, .slot.selected { border-color: var(--gold); background: #fbf2df; }
.slot.selected { box-shadow: inset 0 0 0 1px var(--gold); }

.booking-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.booking-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.booking-card + .booking-card { position: sticky; top: 100px; }
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.step { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.step::after { content: ''; width: 28px; height: 1px; background: var(--line); margin-left: 4px; }
.step:last-child::after { display: none; }
.step-number { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .72rem; }
.step.current { color: var(--navy); }
.step.current .step-number { background: var(--gold); border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.form-field .input, .form-field .select, .form-field .textarea { background: #fff; border-color: var(--line); color: var(--ink); }
.form-field .input::placeholder, .form-field .textarea::placeholder { color: #9aa3a5; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; min-height: 70px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; text-align: left; color: var(--ink); }
.choice:hover, .choice.selected { border-color: var(--gold); background: #fbf2df; }
.choice strong { display: block; font-size: .83rem; }
.choice small { display: block; margin-top: 4px; color: var(--ink-soft); line-height: 1.3; }
.notice { padding: 14px 16px; border-radius: 11px; background: var(--sage); color: var(--success); font-size: .82rem; }
.notice.warn { background: #fff0d9; color: var(--warning); }
.notice.danger { background: #f7dfdc; color: var(--danger); }
.terms { color: var(--ink-soft); font-size: .75rem; }
.terms a { text-decoration: underline; }
.confirmation { padding: 45px 28px; text-align: center; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.confirmation-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--success); font-size: 1.7rem; }
.confirmation p { color: var(--ink-soft); max-width: 470px; margin: 12px auto 24px; }
.confirmation-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 22px auto; max-width: 500px; text-align: left; }
.confirmation-details div { padding: 12px; border-radius: 10px; background: var(--ivory); }
.confirmation-details small { display: block; color: var(--ink-soft); font-size: .7rem; }
.confirmation-details strong { display: block; margin-top: 3px; font-size: .86rem; }

.account-grid { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.account-sidebar, .account-panel { border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.account-sidebar { padding: 14px; }
.account-sidebar a { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 0 12px; border-radius: 9px; color: var(--ink-soft); text-decoration: none; font-size: .86rem; font-weight: 700; }
.account-sidebar a:hover, .account-sidebar a.active { background: var(--ivory); color: var(--navy); }
.account-panel { padding: 28px; }
.booking-status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: var(--sage); color: var(--success); font-size: .7rem; font-weight: 800; }
.booking-status.pending { background: #fff0d9; color: var(--warning); }
.booking-status.review { background: #e9e4f0; color: #614a86; }
.booking-summary { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); }
.booking-summary h3 { margin-bottom: 6px; }
.booking-summary p { margin: 5px 0; color: var(--ink-soft); font-size: .84rem; }
.summary-total { text-align: right; }
.summary-total strong { display: block; font: 700 1.45rem Manrope, sans-serif; }
.summary-total small { color: var(--ink-soft); }
.dispute-box { margin-top: 16px; padding: 15px; border-radius: 11px; background: #e9e4f0; color: #614a86; font-size: .8rem; }

.dashboard-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.dashboard-nav { padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.dashboard-nav a { display: flex; gap: 9px; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; font-size: .83rem; font-weight: 700; }
.dashboard-nav a:hover, .dashboard-nav a.active { color: var(--navy); background: var(--ivory); }
.dashboard-main { min-width: 0; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dashboard-header p { margin: 5px 0 0; color: var(--ink-soft); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.metric small { color: var(--ink-soft); font-size: .72rem; }
.metric strong { display: block; margin-top: 4px; font: 700 1.6rem Manrope, sans-serif; }
.data-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.data-card + .data-card { margin-top: 18px; }
.data-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.data-card-head h3 { font-size: 1.03rem; }
.data-card-body { padding: 0 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: .8rem; vertical-align: top; }
th { color: var(--ink-soft); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
td strong { display: block; }
td small { display: block; margin-top: 3px; color: var(--ink-soft); }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; }
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-green { color: var(--success); }
.status-orange { color: var(--warning); }
.status-purple { color: #614a86; }
.progress-bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--sand); }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.switch { width: 42px; height: 24px; padding: 3px; border: 0; border-radius: 999px; background: #bcc7c6; }
.switch.on { background: var(--success); }
.switch::after { content: ''; display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.switch.on::after { transform: translateX(18px); }

.placeholder-page { min-height: 560px; display: grid; place-items: center; text-align: center; }
.placeholder-page > div { max-width: 560px; }
.placeholder-page .large-icon { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--success); font-size: 1.8rem; }

.site-footer { padding: 70px 0 28px; background: #0b1b23; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; }
.footer-brand { max-width: 300px; color: rgba(255,255,255,.58); font-size: .86rem; }
.footer-grid h4 { margin-bottom: 13px; color: rgba(255,255,255,.5); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,.8); text-decoration: none; font-size: .86rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .72rem; }

.empty-state { padding: 42px 22px; text-align: center; border: 1px dashed var(--line); border-radius: 15px; color: var(--ink-soft); }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--ink); }

@media (max-width: 980px) {
  .main-nav { gap: 13px; }
  .main-nav a:nth-child(2) { display: none; }
  .hero-inner, .profile-layout, .booking-shell, .split { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero-inner { padding-top: 80px; }
  .hero::after { right: -25%; top: 42%; width: 70vw; height: 70vw; }
  .split-media, .split-media img { min-height: 380px; }
  .instructor-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}
@media (max-width: 720px) {
  .container, .hero-inner { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 68px; padding: 0 16px; }
  .main-nav { position: absolute; top: 68px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: var(--shadow-soft); }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav a:nth-child(2) { display: block; min-height: 44px; padding: 10px 12px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions .icon-link { display: none; }
  .header-actions .btn { min-height: 39px; padding: 0 13px; font-size: .78rem; }
  .display { font-size: clamp(2.7rem, 15vw, 4rem); }
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 0 84px; }
  .hero-copy .lede { font-size: 1rem; }
  .section { padding: 72px 0; }
  .section-tight { padding: 46px 0; }
  .section-head, .page-hero-inner, .cta-band-inner, .dashboard-header { align-items: flex-start; flex-direction: column; }
  .logo-strip-inner { flex-wrap: wrap; justify-content: flex-start; }
  .logo-strip-inner span { font-size: .68rem; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-card-media { height: 280px; }
  .split-media, .split-media img { min-height: 300px; }
  .stat-row { gap: 8px; }
  .stat strong { font-size: 1.35rem; }
  .stat span { font-size: .7rem; }
  .lesson-row { grid-template-columns: 1fr auto; gap: 8px; }
  .lesson-row > :last-child { grid-column: 1 / -1; justify-self: start; }
  .cta-band-inner { gap: 18px; }
  .page-hero { padding: 54px 0 42px; }
  .profile-layout { gap: 30px; }
  .profile-photo { max-width: 420px; }
  .profile-name { font-size: 3.1rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-card { padding: 20px; }
  .booking-card + .booking-card { position: static; }
  .stepper { gap: 5px; }
  .step { font-size: 0; }
  .step::after { width: 13px; margin-left: 1px; }
  .step-number { font-size: .7rem; }
  .form-grid, .choice-grid, .confirmation-details, .booking-summary, .account-grid, .dashboard-layout { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .summary-total { text-align: left; }
  .account-sidebar, .dashboard-nav { display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .account-sidebar a, .dashboard-nav a { flex: 0 0 auto; min-height: 40px; padding: 0 12px; }
  .account-panel { padding: 20px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metric { padding: 14px; }
  .metric strong { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; margin-top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
