:root {
  color-scheme: light;
  --ink: #281941;
  --plum: #563781;
  --muted: #615672;
  --paper: #f8f4ee;
  --line: #e8e0ec;
  --white: #fffdfa;
  --lavender: #eee5f8;
  --gold: #ffde91;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8854b9; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.02; letter-spacing: -.055em; }
h3 { line-height: 1.2; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; transform: translateY(-150%); background: white; z-index: 2; padding: 12px; }
.skip:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.06rem; font-weight: 800; line-height: 1.1; }
.brand small { display: block; margin-top: 5px; color: var(--muted); letter-spacing: .12em; font-size: .59rem; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }
.nav-action { border: 1px solid #d5c7e1; padding: 9px 16px; border-radius: 99px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 432px; border-radius: 32px; overflow: hidden; background: var(--lavender); }
.hero-copy { padding: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 800; letter-spacing: .125em; text-transform: uppercase; color: var(--plum); }
.dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 100%; background: #9260c4; box-shadow: 0 0 0 4px #9260c424; }
.hero h1 { margin: 21px 0 19px; font-size: clamp(3rem, 5.9vw, 5.85rem); letter-spacing: -.075em; }
.hero em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--plum); letter-spacing: -.08em; }
.hero-period { color: #a46eb4; }
.hero-intro { max-width: 37ch; font-size: clamp(.96rem, 1.45vw, 1.12rem); }
.hero-actions { margin-top: 29px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: .78rem; }
.hero-art { position: relative; min-width: 0; background: #211538; }
.hero-art img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.art-label { position: absolute; right: 22px; bottom: 20px; color: #fff0c8; font-size: .58rem; letter-spacing: .16em; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; border: 1px solid transparent; border-radius: 13px; padding: 11px 18px; background: var(--plum); color: white; text-decoration: none; font-weight: 700; font-size: .91rem; text-align: center; }
.button:hover { background: #47276d; }
.button span { font-size: 1.15em; }
.button.full { width: 100%; }
.button.secondary { background: transparent; color: var(--plum); border-color: #dcd0e7; }
.button.secondary:hover { background: var(--lavender); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 0; }
.fact { display: flex; gap: 13px; align-items: center; min-height: 77px; padding: 12px 18px; background: var(--white); border: 1px solid #eee6e2; border-radius: 17px; }
.fact-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; background: var(--lavender); border-radius: 10px; color: var(--plum); font-size: .74rem; font-weight: 800; }
.fact strong { display: block; line-height: 1.25; font-size: .95rem; overflow-wrap: anywhere; }
.overline { display: block; margin-bottom: 2px; font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 750; }
.registration { margin-top: 56px; display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 26px; gap: clamp(20px, 4.5vw, 58px); padding: clamp(21px, 4.5vw, 52px); background: #eee7f2; scroll-margin-top: 20px; }
.registration-intro { align-self: start; padding: 10px 0; }
.registration h2, .program h2 { font-size: clamp(2.6rem, 5.1vw, 4.15rem); margin: 12px 0 17px; }
.registration-intro p:not(.eyebrow) { max-width: 37ch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.1vw, 34px); }
.closed { align-self: stretch; display: grid; justify-items: center; align-content: center; min-height: 214px; text-align: center; gap: 8px; }
.closed > span { font-size: 1.9rem; color: var(--plum); }
.closed h3 { font-size: 1.28rem; }
.seat-meter { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 27px; max-width: 310px; font-size: .82rem; color: var(--plum); }
.seat-meter progress { grid-column: 1 / -1; width: 100%; height: 9px; appearance: none; border: 0; border-radius: 99px; overflow: hidden; background: #dcd0e9; }
progress::-webkit-progress-bar { background: #dcd0e9; }
progress::-webkit-progress-value { background: var(--plum); }
progress::-moz-progress-bar { background: var(--plum); }
.field { display: grid; gap: 7px; margin-bottom: 16px; font-size: .88rem; font-weight: 700; }
.field input, .field select { width: 100%; min-width: 0; min-height: 47px; border: 1px solid #d9cde2; border-radius: 10px; background: white; color: var(--ink); padding: 10px 12px; font-size: 1rem; font-weight: 450; }
.field input::placeholder { color: #746c7f; }
.contact-switch { padding: 0; border: 0; margin: 0 0 16px; }
.contact-switch legend { font-size: .88rem; font-weight: 700; margin-bottom: 7px; padding: 0; }
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 11px; background: #f0eaf4; }
.segments label { position: relative; cursor: pointer; text-align: center; font-size: .82rem; font-weight: 650; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segments span { display: grid; place-items: center; padding: 8px 4px; border-radius: 8px; min-height: 39px; }
.segments input:checked + span { background: white; color: var(--plum); box-shadow: 0 1px 3px #3c225221; }
.segments input:focus-visible + span { outline: 3px solid #8854b9; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox { display: flex; align-items: start; gap: 9px; color: var(--muted); font-size: .83rem; margin: 3px 0 19px; }
.checkbox input { width: 17px; height: 17px; flex: 0 0 17px; margin: 2px 0 0; accent-color: var(--plum); }
.alert, .success { border-radius: 10px; padding: 10px 13px; margin-bottom: 15px; font-size: .88rem; font-weight: 650; }
.alert { background: #fce9ee; color: #8c2146; }
.success { background: #e4f3e8; color: #235e3a; }
.program { margin: 61px 0 56px; scroll-margin-top: 20px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 21px; }
.program-grid article { border: 1px solid #eee6e2; border-radius: 17px; background: var(--white); padding: 22px; }
.program-grid h3 { margin: 12px 0 5px; }
.program-grid p { font-size: .88rem; }
.program-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--lavender); color: var(--plum); font-size: 1.25rem; }
.program-grid article:nth-child(2) .program-icon { background: #f9e7be; color: #71481e; }
.program-grid article:nth-child(3) .program-icon { background: #f7e2ed; color: #8d3a69; }
.site-footer { min-height: 77px; display: flex; gap: 15px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px solid #e6dce5; color: var(--muted); font-size: .82rem; }
.site-footer a { text-decoration: none; }
.demo-banner { margin: 0 0 12px; padding: 7px 16px; background: var(--gold); text-align: center; color: #4b3419; font-size: .85rem; }
.centered { padding: clamp(25px, 6vw, 90px) 0; }
.narrow { width: min(100%, 530px); margin-inline: auto; }
.narrow h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0; }
.narrow p:not(.eyebrow) { margin-bottom: 19px; }
.confirmation-mark { display: grid; place-items: center; border-radius: 14px; width: 50px; height: 50px; background: var(--lavender); color: var(--plum); font-size: 1.55rem; margin-bottom: 17px; }
.confirmation-details { background: #f6f0f8; border-radius: 13px; padding: 13px 16px; margin: 20px 0; }
.confirmation-details div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 6px 0; }
.confirmation-details dt { font-size: .82rem; color: var(--muted); }
.confirmation-details dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.dashboard { margin-bottom: 44px; }
.dashboard-heading, .roster-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.dashboard h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); margin: 12px 0 21px; }
.dashboard h2 { font-size: 2rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 15px; }
.stats article { background: var(--lavender); border-radius: 15px; padding: 13px 17px; display: grid; gap: 3px; }
.stats span { color: var(--muted); font-size: .8rem; }
.stats strong { color: var(--plum); font-size: 1.85rem; line-height: 1.1; }
.settings { margin: 14px 0; }
.settings summary { cursor: pointer; font-weight: 750; }
.settings form { margin-top: 18px; max-width: 680px; }
.pill { display: inline-block; border-radius: 99px; color: var(--plum); background: var(--lavender); padding: 4px 9px; font-size: .73rem; font-weight: 700; }
.pill.muted { background: #eee9e9; color: #5f5058; }
.pill.active { background: #e4f3e8; color: #235e3a; }
.roster-heading { margin-bottom: 15px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .87rem; }
th, td { padding: 9px 11px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 650; }
td small { display: block; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
td:nth-child(2) { min-width: 165px; }
.text-button { border: 0; background: transparent; color: #8c2146; padding: 4px 0; font-size: .75rem; text-decoration: underline; white-space: nowrap; }
.pagination { justify-content: end; margin-top: 16px; gap: 12px; font-size: .85rem; }
.empty { padding: 16px 0 4px; }
@media (max-width: 940px) {
  .hero { min-height: 365px; }
  .hero-copy { padding: 34px; }
  .hero h1 { font-size: clamp(2.9rem, 6.8vw, 4.5rem); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 70px; }
  .brand { font-size: .94rem; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand small { font-size: .49rem; }
  nav { gap: 10px; }
  nav a { font-size: .79rem; }
  .site-header nav a[href="#program"] { display: none; }
  .nav-action { padding: 7px 10px; }
  .hero { grid-template-columns: 1fr; border-radius: 24px; }
  .hero-copy { padding: 31px 24px 28px; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.55rem); margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-art { aspect-ratio: 1.52; }
  .facts { grid-template-columns: 1fr; gap: 7px; margin-top: 10px; }
  .fact { min-height: 58px; padding: 9px 13px; }
  .registration { grid-template-columns: 1fr; margin-top: 35px; padding: 19px; gap: 14px; }
  .registration h2 br { display: none; }
  .registration-intro { padding: 3px 0; }
  .program { margin: 39px 0; }
  .program-grid { grid-template-columns: 1fr; gap: 8px; }
  .program-grid article { padding: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
