:root {
  --black: #0b0b0c;
  --surface: #151517;
  --surface-2: #1d1d20;
  --white: #f5f5f2;
  --grey: #9b9ba1;
  --accent: #ff4d1a;
  --line: rgba(255, 255, 255, .1);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
}
body { background: var(--black); color: var(--white); font: 400 17px/1.6 var(--sans); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
h1 span, h2 span { color: var(--accent); }
p { margin: 0; }
.wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
:focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: #000; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font: 800 15px/1 var(--sans); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-accent { background: var(--accent); color: #0b0b0c; }
.btn-accent:hover:not(:disabled) { box-shadow: 0 12px 30px -10px rgba(255, 77, 26, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px max(24px, calc((100vw - 1200px) / 2)); background: rgba(11, 11, 12, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.logo span { font: 600 13px/1 var(--sans); text-transform: none; color: var(--accent); margin-left: 6px; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--grey); }
.site-header nav a:hover { color: var(--white); }
.my-classes { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); }
.my-classes b { background: var(--accent); color: #000; border-radius: 999px; padding: 1px 8px; }
.header-cta { min-height: 42px; }

.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black) 4%, rgba(11, 11, 12, .55) 45%, rgba(11, 11, 12, .2)), linear-gradient(90deg, rgba(11, 11, 12, .8), transparent 70%); }
.hero-inner { position: relative; z-index: 1; width: min(100% - 48px, 1200px); margin: 0 auto; padding: 120px 0 64px; }
.tag { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(64px, 10vw, 156px); max-width: 1000px; }
.hero h1 span { display: block; }
.lede { font-size: 19px; color: #d4d4d0; max-width: 560px; margin-top: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 46px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 900 46px/1 var(--display); }
.hero-stats span { font-size: 14px; color: var(--grey); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(52px, 7vw, 104px); }
.section-head p { max-width: 400px; color: var(--grey); }

.classes { padding: 110px 0; }
.class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.class-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4.2; display: flex; align-items: end; background: var(--surface); }
.class-card picture { position: absolute; inset: 0; }
.class-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.class-card:hover img { transform: scale(1.05); }
.class-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 12, .95) 10%, transparent 65%); }
.class-info { position: relative; z-index: 1; padding: 20px; width: 100%; }
.class-info h3 { font-size: 42px; }
.class-info p { font-size: 14px; color: #c9c9c5; margin: 6px 0 14px; }
.intensity { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; }
.intensity i { display: flex; gap: 3px; }
.intensity i span { width: 16px; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.intensity i span.on { background: var(--accent); }

.schedule { padding: 110px 0; background: var(--surface); border-block: 1px solid var(--line); }
.schedule-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.days, .filters { display: flex; gap: 6px; flex-wrap: wrap; }
.day, .filter { border: 1px solid var(--line); background: transparent; color: var(--grey); border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 14px; }
.day { display: grid; justify-items: center; min-width: 64px; }
.day b { font: 900 24px/1 var(--display); color: var(--white); }
.day[aria-selected="true"] { background: var(--white); color: #000; border-color: var(--white); }
.day[aria-selected="true"] b { color: #000; }
.filter[aria-pressed="true"] { background: var(--accent); color: #000; border-color: var(--accent); }
.sessions { display: grid; gap: 8px; }
.session { display: grid; grid-template-columns: 110px 1fr 1.1fr 170px; align-items: center; gap: 20px; padding: 16px 20px; background: var(--surface-2); border-radius: 14px; border: 1px solid var(--line); transition: border-color .15s; }
.session.is-booked { border-color: var(--accent); }
.session time { font: 900 34px/1 var(--display); }
.session h3 { font-size: 28px; }
.session small { color: var(--grey); font-size: 14px; }
.spots { display: grid; gap: 6px; font-size: 13px; color: var(--grey); }
.spots i { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.spots i::after { content: ''; display: block; height: 100%; width: var(--fill); background: var(--white); border-radius: 6px; transition: width .4s; }
.spots.is-low i::after { background: var(--accent); }
.session .btn { min-height: 44px; font-size: 14px; }
.session .btn-booked { background: transparent; border-color: var(--accent); color: var(--accent); }
.session .btn-wait { background: var(--surface); border-color: var(--line); color: var(--grey); }
.empty { padding: 30px; text-align: center; color: var(--grey); border: 1px dashed var(--line); border-radius: 14px; }

.plans { padding: 110px 0; }
.billing { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; }
.bill { border: 0; background: transparent; color: var(--grey); padding: 10px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; }
.bill em { font-style: normal; color: var(--accent); margin-left: 4px; }
.bill.is-active { background: var(--white); color: #000; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan.is-featured { background: var(--white); color: #0b0b0c; }
.plan-badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 800; background: var(--accent); color: #000; padding: 5px 10px; border-radius: 999px; }
.plan h3 { font-size: 38px; }
.plan > p { color: var(--grey); font-size: 15px; margin: 6px 0 22px; }
.plan.is-featured > p { color: #55555a; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font: 900 64px/1 var(--display); }
.plan-price span { color: var(--grey); font-weight: 600; font-size: 14px; }
.plan-save { font-size: 13px; font-weight: 700; color: var(--accent); min-height: 20px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '✓'; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; width: 100%; }
.plan:not(.is-featured) .btn { background: var(--surface-2); color: var(--white); border-color: var(--line); }
.plans-note { margin-top: 18px; color: var(--grey); font-size: 14px; }

.space { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.space picture { position: absolute; inset: 0; }
.space img { width: 100%; height: 100%; object-fit: cover; }
.space::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 25%, rgba(11, 11, 12, .2)); }
.space-copy { position: relative; z-index: 1; width: min(100% - 48px, 1200px); margin: 0 auto; }
.space h2 { font-size: clamp(48px, 6.4vw, 92px); max-width: 720px; }
.space h2 span { display: block; }
.space p { color: #cfcfcb; margin-top: 18px; max-width: 420px; }

.free { padding: 110px 0; }
.free-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.free h2 { font-size: clamp(56px, 7.4vw, 112px); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-weight: 600; }
.checks li::before { content: '✓'; color: var(--accent); font-weight: 800; }
.free-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 16px; }
.free-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--grey); }
.free-form input, .free-form select { height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--white); padding: 0 14px; font-size: 16px; }
.free-form input:focus, .free-form select:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 13px; color: var(--grey); }
.free-done { border-radius: 14px; padding: 16px; background: rgba(255, 77, 26, .12); border: 1px solid var(--accent); font-weight: 600; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px max(24px, calc((100vw - 1200px) / 2)); border-top: 1px solid var(--line); }
.site-footer p { max-width: 460px; font-size: 14px; color: var(--grey); }
.footer-cta { font-weight: 800; color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; translate: -50% 20px; opacity: 0; background: var(--white); color: #000; font-weight: 700; padding: 12px 18px; border-radius: 12px; transition: opacity .25s, translate .25s; pointer-events: none; }
.toast.is-visible { opacity: 1; translate: -50% 0; }

@media (max-width: 1000px) {
  .class-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid, .free-grid { grid-template-columns: 1fr; }
  .plan-grid { max-width: 520px; }
  .session { grid-template-columns: 90px 1fr 150px; }
  .session .spots { grid-column: 2 / 3; }
  .site-header nav { display: none; }
  .header-cta { margin-left: auto; }
  .section-head { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 1200px); }
  .site-header { padding: 12px 16px; gap: 10px; }
  .my-classes { margin-left: auto; }
  .hero-inner { width: calc(100% - 32px); padding: 80px 0 44px; }
  .hero h1 { font-size: clamp(54px, 15vw, 76px); }
  .lede { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 36px; }
  .classes, .schedule, .plans, .free { padding: 70px 0; }
  .class-grid { grid-template-columns: 1fr; }
  .class-card { aspect-ratio: 4 / 3; }
  .session { grid-template-columns: 70px 1fr; gap: 10px 14px; padding: 14px; }
  .session time { font-size: 28px; }
  .session .spots, .session .btn { grid-column: 1 / -1; }
  .free-form { padding: 22px 18px; }
  .space { min-height: 420px; }
}
