:root {
  --ink: #0f1a33;
  --ink-2: #1c2a4a;
  --brass: #b8923a;
  --brass-light: #e2c47c;
  --paper: #eef0ee;
  --white: #ffffff;
  --steel: #556075;
  --line: #cfd4d9;
  --alert: #b3261e;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 64ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  border-radius: 4px; border: 2px solid transparent; cursor: pointer;
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-light); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }

/* Header */
.top {
  background: var(--ink); color: var(--white);
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 34px; flex: none; }
.brand b { font: 700 1.6rem/1 var(--display); letter-spacing: .02em; }
.brand span { color: var(--brass-light); font: 600 1.6rem/1 var(--display); }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a.link { text-decoration: none; font-size: .95rem; opacity: .85; }
.top nav a.link:hover { opacity: 1; text-decoration: underline; }
.top .btn { min-height: 42px; padding: 0 18px; }
@media (max-width: 820px) { .top nav a.link { display: none; } }
@media (max-width: 640px) { .top nav .btn { display: none; } }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5rem); font-weight: 700; text-wrap: balance; }
.hero .lede { font-size: 1.2rem; color: #c9d0dc; margin: 22px 0 30px; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .call { margin-top: 22px; font-size: .95rem; color: #aab3c2; }
.hero .call a { color: var(--white); font-weight: 600; }

/* The ticket */
.ticket {
  position: relative; color: var(--ink);
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  transform: rotate(-2deg);
}
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: issue .7s cubic-bezier(.2,.8,.2,1) .15s both; }
  @keyframes issue { from { opacity: 0; transform: translateY(24px) rotate(-6deg); } to { opacity: 1; transform: rotate(-2deg); } }
}
.ticket-main { padding: 26px 28px 22px; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket-head h2 { font-size: 1.45rem; font-weight: 600; }
.ticket-head small { color: var(--steel); font-size: .85rem; white-space: nowrap; }
.ticket-date { font: 700 3.4rem/1 var(--display); margin: 14px 0 4px; }
.ticket-days { color: var(--steel); margin: 0 0 18px; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: .95rem; }
.ticket dt { color: var(--steel); }
.ticket dd { margin: 0; font-weight: 600; }
.perf {
  position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 18px;
}
.perf::before, .perf::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px;
  background: var(--ink); border-radius: 50%;
}
.perf::before { left: -31px; }
.perf::after { right: -31px; }
.ticket-stub { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px 22px; }
.seats { font-weight: 700; color: var(--alert); }
.seats span { display: block; font-weight: 400; color: var(--steel); font-size: .85rem; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .ticket { transform: rotate(0); max-width: 440px; }
  @keyframes issue { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Facts strip */
.facts { background: var(--brass); }
.facts ul {
  list-style: none; margin: 0 auto; padding: 16px 20px; max-width: var(--wrap);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  font-weight: 600; font-size: .98rem;
}

/* Sections */
section.block { padding: 84px 0; }
section.block.alt { background: var(--white); }
.intro { margin-bottom: 40px; }
.intro p { color: var(--steel); margin-top: 12px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 28px 0 0; border-left: 2px solid var(--ink); padding-left: 22px; }
.steps li::before { content: counter(s); display: block; font: 700 3.5rem/1 var(--display); color: var(--brass); margin-bottom: 10px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--steel); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--brass); }
.plan .tag { align-self: flex-start; background: var(--ink); color: var(--white); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; }
.plan .price { font: 700 3.6rem/1 var(--display); margin: 14px 0 4px; }
.plan .price-note { color: var(--steel); margin-bottom: 20px; }
.plan ul { margin: 0 0 24px; padding-left: 20px; }
.plan li { margin-bottom: 6px; }
.plan table { width: 100%; border-collapse: collapse; margin: auto 0 24px; font-size: .95rem; }
.plan th, .plan td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); }
.plan td { text-align: right; font-weight: 600; }
.plan th { font-weight: 400; color: var(--steel); }
.plan tr.save td { color: #2e6b3a; }
.plan tr.save small { display: block; font-size: .82rem; color: #2e6b3a; }
.plan tr.save s { color: var(--steel); font-weight: 400; margin-right: 6px; }
.plan .btn { width: 100%; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.fine { font-size: .92rem; color: var(--steel); margin-top: 22px; }

/* Two-col text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 14px; height: 8px; border-left: 3px solid var(--brass); border-bottom: 3px solid var(--brass); transform: rotate(-45deg); }
.notice { background: var(--paper); border-left: 4px solid var(--ink); padding: 16px 20px; font-size: .95rem; margin-top: 22px; }
.notice p { margin: 0; }

/* Instructors band */
.band { background: var(--ink); color: var(--white); padding: 84px 0; }
.band h2 { max-width: 20ch; }
.band p { color: #c9d0dc; font-size: 1.12rem; margin-top: 18px; }
.band .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.band .points div { border-top: 2px solid var(--brass); padding-top: 14px; }
.band .points b { display: block; font: 600 1.4rem/1.1 var(--display); margin-bottom: 6px; }
.band .points span { color: #aab3c2; font-size: .95rem; }
@media (max-width: 760px) { .band .points { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 600 1.8rem/1 var(--display); color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--steel); padding-bottom: 14px; }

/* Visit */
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 18px 0 26px; }
.visit dt { color: var(--steel); }
.visit dd { margin: 0; }

/* Footer */
footer { background: var(--ink); color: #aab3c2; padding: 40px 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--white); }

/* Mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.12);
  }
  body { padding-bottom: 72px; }
}

/* Inner pages */
.page-head { background: var(--ink); color: var(--white); padding: 56px 0 52px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; max-width: 22ch; }
.page-head p { color: #c9d0dc; font-size: 1.15rem; margin: 16px 0 0; max-width: 58ch; }
.crumb { font-size: .9rem; color: #aab3c2; margin-bottom: 14px; }
.crumb a { color: #aab3c2; }
.prose h2 { margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; max-width: 64ch; }
.prose li { margin-bottom: 8px; }
.prose table { border-collapse: collapse; width: 100%; max-width: 720px; margin: 8px 0 20px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.updated { font-size: .9rem; color: var(--steel); margin-top: 36px; }
.faq h2 { margin: 52px 0 6px; }
.faq h2:first-child { margin-top: 0; }

/* Schedule */
.classes { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.classes li { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; margin-bottom: 14px; }
.classes b { display: block; font: 700 1.8rem/1.1 var(--display); }
.classes span { color: var(--steel); font-size: .95rem; }
.classes .left { font-weight: 700; color: var(--alert); text-align: right; }
.classes .full { color: var(--steel); }
@media (max-width: 640px) { .classes li { grid-template-columns: 1fr; gap: 10px; } .classes .left { text-align: left; } }

/* Forms */
form.contact { display: grid; gap: 16px; max-width: 560px; }
form.contact label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
form.contact input, form.contact select, form.contact textarea {
  font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid #9aa3b0; border-radius: 4px; background: var(--white); color: var(--ink);
}
form.contact textarea { min-height: 130px; resize: vertical; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.contact .row { grid-template-columns: 1fr; } }
.top nav a.link[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.prose .classes, .prose .checks { padding-left: 0; }
.split > * { min-width: 0; }
form.contact input, form.contact select, form.contact textarea { width: 100%; min-width: 0; }
.visit dd { min-width: 0; overflow-wrap: anywhere; }
.renewal-note { margin: 28px 0 0; padding: 18px 22px; background: var(--paper); border-left: 4px solid var(--brass); max-width: none; }

/* ===== Visual refresh ===== */
:root {
  --ink: #0a1530;
  --ink-2: #132a5c;
  --royal: #1d4ed8;
  --brass: #c9a24a;
  --brass-light: #ecd48f;
  --paper: #f3f5fa;
  --tint: #e6edfa;
  --alert: #d0142c;
  --steel: #4f5d78;
  --line: #d3dae8;
}
body { background: var(--paper); }

/* Buttons */
.btn { transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-brass { background: linear-gradient(180deg, #e3c06a, var(--brass)); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(201,162,74,.7); }
.btn-brass:hover { background: linear-gradient(180deg, #f0d483, #d4ad55); transform: translateY(-1px); }
.btn-ink { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.btn-ink:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Header */
.top { background: rgba(10,21,48,.94); backdrop-filter: blur(8px); border-bottom: 2px solid var(--brass); }

/* Hero and page heads: night sky, blue glow, skyline */
.hero, .page-head {
  position: relative; isolation: isolate;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(29,78,216,.55), transparent 70%),
    radial-gradient(700px 360px at 5% 100%, rgba(201,162,74,.18), transparent 70%),
    linear-gradient(180deg, #0a1530 0%, #102552 100%);
}
.hero { padding-bottom: 120px; }
.page-head { padding-bottom: 96px; }
.hero::after, .page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23071026' d='M0 120V80h40V60h30v25h30V50h20V40h10v10h20v40h40V65h40v30h30V55h20V30h5V10h3v20h5v25h17v20h40V45h30v43h40V70h40V35h15v35h25v22h40V60h40v20h40V48h20V25h4V5h2v20h4v23h20v37h40V66h40v24h40V52h40v26h40V40h20v38h40v17h40V62h40v22h40V58h40v32h40V70h40v16h30v34z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  opacity: .95;
}
.page-head::after { height: 64px; }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .lede, .page-head p { color: #d2dcf0; }
.crumb a { color: var(--brass-light); }

/* Ticket */
.ticket { border-radius: 14px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(201,162,74,.35); overflow: visible; }
.ticket-main { border-top: 8px solid var(--brass); border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #ffffff, #f6f8fd); }
.ticket-date { color: var(--ink-2); }
.perf::before, .perf::after { background: #0f2350; }
.ticket-stub { background: var(--tint); border-radius: 0 0 14px 14px; }
.seats { color: var(--alert); }

/* Facts strip */
.facts { background: linear-gradient(90deg, #b8892f, #e3c06a 50%, #b8892f); box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.facts li { position: relative; padding-left: 18px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }

/* Sections */
section.block { position: relative; }
section.block.alt { background: var(--white); }
#how, #assistance { background: var(--tint); }
h2 { color: var(--ink); }
.intro h2::after, .prose h2::after, .faq h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), var(--royal));
}
.band h2::after { content: none; }

/* Steps */
.steps li { border-left: 3px solid var(--royal); background: var(--white); padding: 26px 24px; border-radius: 0 10px 10px 0; box-shadow: 0 12px 30px -18px rgba(10,21,48,.4); margin-right: 18px; }
.steps li::before {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2rem; color: var(--ink);
  background: linear-gradient(180deg, #ecd48f, var(--brass));
  box-shadow: 0 6px 16px -6px rgba(201,162,74,.8);
}
@media (max-width: 760px) { .steps li { margin-right: 0; } }

/* Pricing */
.plan { border-radius: 14px; box-shadow: 0 16px 40px -24px rgba(10,21,48,.45); }
.plan.featured {
  background: radial-gradient(500px 260px at 100% 0%, rgba(29,78,216,.6), transparent 70%), linear-gradient(180deg, #102552, #0a1530);
  color: var(--white); border: 2px solid var(--brass); box-shadow: 0 30px 60px -24px rgba(10,21,48,.7);
}
.plan.featured .tag { background: var(--brass); color: var(--ink); }
.plan.featured .price-note, .plan.featured th { color: #c3cee6; }
.plan.featured th, .plan.featured td { border-top-color: rgba(255,255,255,.15); }
.plan.featured tr.save td, .plan.featured tr.save small { color: #8fe3a5; }
.plan.featured tr.save s { color: #9aa8c4; }
.plan .price { color: var(--ink-2); }
.plan.featured .price { color: var(--brass-light); }
.renewal-note { background: var(--tint); border-left-color: var(--royal); border-radius: 0 10px 10px 0; }

/* Checks and notices */
.checks li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding-left: 44px; }
.checks li::before { left: 16px; border-color: var(--royal); }
.notice { background: var(--white); border-left-color: var(--alert); border-radius: 0 10px 10px 0; box-shadow: 0 10px 24px -18px rgba(10,21,48,.5); }

/* Instructors band */
.band {
  background:
    radial-gradient(700px 300px at 90% 100%, rgba(201,162,74,.25), transparent 70%),
    linear-gradient(135deg, #132a5c 0%, #0a1530 60%);
}
.band .points div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--brass); border-radius: 0 0 10px 10px; padding: 18px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 20px; }
.faq details[open] { border-color: var(--royal); box-shadow: 0 10px 24px -18px rgba(29,78,216,.6); }
.faq summary::after { color: var(--royal); }

/* Schedule cards */
.classes li { border-left: 6px solid var(--brass); border-radius: 12px; box-shadow: 0 14px 34px -22px rgba(10,21,48,.5); }
.classes b { color: var(--ink-2); }

/* Tables in prose */
.prose table { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px -22px rgba(10,21,48,.5); }
.prose th, .prose td { padding: 12px 16px; }
.prose tr:first-child th { background: var(--ink); color: var(--white); }

/* Forms */
form.contact input, form.contact select, form.contact textarea { border-radius: 8px; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 3px solid rgba(29,78,216,.35); border-color: var(--royal); }

/* Footer */
footer { background: #071026; border-top: 3px solid var(--brass); }
footer a { color: var(--brass-light); }
.mobile-bar { border-top: 2px solid var(--brass); }
.band h2, .hero h2, .ticket-head h2 { color: inherit; }
.band h2 { color: var(--white); }
