/* HORIZON THEME
   Midnight navy throughout, a gold horizon arc, a sparse scatter of stars,
   bold geometric sans headings, glowing gold buttons, glassy cards. The space
   theme at its fullest, kept behind the content rather than under the text.

   One of three themes; see docs/site.txt section 12. Every theme defines the
   same custom properties in :root, which admin.css relies on, and styles the
   same page markup. Admin screens are styled by admin.css, not here. */

@import url("/styles/icons.css");

:root {
    --purple: #8f6ad8;
    --purple-soft: rgba(143, 106, 216, 0.16);
    --gold: #f2c14e;
    --gold-soft: rgba(242, 193, 78, 0.14);
    --navy: #0b1026;
    --white: #ffffff;
    --ground: #0b1026;
    --text: #e4e6f2;
    --muted: #a3a8c3;
    --line: rgba(255, 255, 255, 0.12);
    --good: #5fd08c;
    --bad: #ff7b86;
    --font-heading: "Avenir Next", "Segoe UI", "Helvetica Neue", Montserrat, system-ui, sans-serif;
    --font-body: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --font-code: ui-monospace, "Cascadia Mono", Consolas, monospace;
    --radius: 14px;
    --width: 74rem;
    /* Shared with admin.css: panels, their text, and the action color. */
    --surface: #141a38;
    --surface-alt: #1c2348;
    --accent: #f2c14e;
    --accent-text: #0b1026;
    --heading: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

/* Scrollbars, for this theme: the page, dialogs, and every scrolling box.
   Chrome, Edge, and Safari take the ::-webkit-scrollbar rules, which allow a
   shaped thumb. Firefox has no such selectors and takes scrollbar-color and
   scrollbar-width instead; those are kept behind @supports because Chrome
   would otherwise honor them and ignore the richer rules. */

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0a0e22; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6c4fb8, #4a2a8a);
    border: 3px solid #0a0e22;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: #f2c14e; }
::-webkit-scrollbar-thumb:active { background: #e0ad35; }
::-webkit-scrollbar-corner { background: #0a0e22; }

@supports not selector(::-webkit-scrollbar) {
    * { scrollbar-color: #6c4fb8 #0a0e22; scrollbar-width: thin; }
}

/* The site's own scrollbars (scrollbar.ts). The browser's bar is hidden on
   every element given one, in every browser, and a track and thumb are drawn
   instead. Textareas keep the browser's bar, styled by the rules above. */

html.has-scrollbar, .has-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
html.has-scrollbar::-webkit-scrollbar,
html.has-scrollbar body::-webkit-scrollbar,
.has-scrollbar::-webkit-scrollbar { display: none; width: 0; height: 0; }

.sb-host { position: relative; min-width: 0; min-height: 0; }

.sb {
    position: absolute;
    z-index: 3;
    display: none;
    box-sizing: border-box;
    touch-action: none;
    user-select: none;
    transition: opacity 0.2s ease;
}

.sb.is-shown { display: block; }
.sb-y { width: var(--sb-size); }
.sb-x { height: var(--sb-size); }
.sb-page { position: fixed; z-index: 150; }
.sb-page.sb-y { top: 0; right: 0; }
.sb-page.sb-x { left: 0; bottom: 0; }

.sb-thumb {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    cursor: default;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.sb-y .sb-thumb { width: 100%; }
.sb-x .sb-thumb { height: 100%; }

/* Horizon: a slim purple pill on a faint rail, glowing gold when used. */
:root { --sb-size: 12px; }
.sb { opacity: 0.55; }
.sb.is-hover, .sb.is-active, .sb.is-dragging, .sb:hover { opacity: 1; }
.sb:hover, .sb.is-dragging { background: rgba(255, 255, 255, 0.05); border-radius: 999px; }
.sb-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: linear-gradient(180deg, #8f6ad8, #5a3aa6) padding-box;
}
.sb-x .sb-thumb { background: linear-gradient(90deg, #8f6ad8, #5a3aa6) padding-box; }
.sb:hover .sb-thumb, .sb.is-dragging .sb-thumb {
    background: #f2c14e padding-box;
    box-shadow: 0 0 12px rgba(242, 193, 78, 0.55);
}



html { font-size: 112.5%; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(143, 106, 216, 0.22), transparent 60%),
        var(--ground);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

a { color: var(--gold); }

code { font-family: var(--font-code); font-size: 0.9em; }

.shell {
    max-width: var(--width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hidden { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1rem;
    z-index: 10;
}

.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header: floats over the sky */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 16, 38, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
}

/* A planet rising over a gold horizon. */
.brand-mark {
    position: relative;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #b597ff, #4a2a8a 70%);
    box-shadow: 0 0 18px rgba(242, 193, 78, 0.35);
    overflow: hidden;
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -60%;
    height: 90%;
    border-radius: 50%;
    border-top: 2px solid var(--gold);
    background: var(--navy);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-nav a:not(.button) {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-nav a:not(.button):hover, .site-nav a.active { color: var(--white); }
.site-nav a.active { text-shadow: 0 0 12px rgba(242, 193, 78, 0.6); }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

/* Buttons: pills */

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--gold);
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.button-primary, .button-accent, .site-nav .schedule-button {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 0 0 rgba(242, 193, 78, 0);
}

.button-primary:hover, .button-accent:hover, .site-nav .schedule-button:hover {
    box-shadow: 0 0 28px rgba(242, 193, 78, 0.45);
    transform: translateY(-1px);
}

.site-nav .schedule-button { padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.button-secondary, .button-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.button-secondary:hover, .button-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 1.5rem 0;
}

/* Breadcrumb */

.breadcrumb-bar { padding-block: 0.8rem; font-size: 0.8rem; letter-spacing: 0.04em; }
#breadcrumb a { color: var(--muted); text-decoration: none; }
#breadcrumb a + a::before { content: "\2022"; margin: 0 0.6rem; color: var(--gold); }
.page-home .breadcrumb-bar { display: none; }

/* Content */

main { flex: 1; }

p { margin: 0 0 1rem; }

.narrow { max-width: 50rem; }
.center { text-align: center; }
.button-row.center { justify-content: center; }

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--muted); }

.field-note { color: var(--muted); font-size: 0.9rem; }

.text-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.text-link::after { content: " \2192"; }
.text-link:hover { text-shadow: 0 0 10px rgba(242, 193, 78, 0.6); }

.prose { max-width: 40rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }

/* Hero: a night sky with a gold horizon */

.hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 11rem;
    text-align: center;
    background: linear-gradient(180deg, #070a1c 0%, #121641 55%, #2d1d63 100%);
}

.hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1.5px 1.5px at 8% 18%, #fff, transparent),
        radial-gradient(1px 1px at 18% 42%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 26% 12%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 38% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 62% 14%, #fff, transparent),
        radial-gradient(1px 1px at 74% 36%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 88% 22%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 94% 48%, rgba(255,255,255,0.6), transparent);
}

.hero-art::after {
    content: "";
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: -135%;
    height: 170%;
    border-radius: 50%;
    border-top: 3px solid var(--gold);
    background: radial-gradient(ellipse at 50% 0%, #1d1a4a 0%, var(--navy) 60%);
    box-shadow: 0 -30px 120px -10px rgba(242, 193, 78, 0.55);
}

.hero-inner { position: relative; }

.hero h1 {
    margin: 0 auto 1.5rem;
    max-width: 14em;
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
    background: linear-gradient(180deg, #ffffff 30%, #d9cff5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead { margin-inline: auto; max-width: 36em; color: #c4c8e0; }
.hero .button-row { justify-content: center; }

/* Bands */

.band { padding: 6rem 0; }

.band-alt {
    background: linear-gradient(180deg, rgba(143, 106, 216, 0.08), rgba(143, 106, 216, 0.02));
    border-block: 1px solid var(--line);
}

.band-dark {
    background: #070a1c;
    border-block: 1px solid var(--line);
}

.band-cta {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 120%, rgba(242, 193, 78, 0.35), transparent 55%), #0f1434;
    border-top: 1px solid var(--line);
}

.band-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.page-head {
    padding: 5rem 0 3.5rem;
    background: linear-gradient(180deg, #070a1c, transparent);
    border-bottom: 1px solid var(--line);
}

.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1rem; }

.section-head { margin-bottom: 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3.5rem;
    align-items: start;
}

.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 1rem; }

/* Cards: glass panels with a glowing edge */

.cards { display: grid; gap: 1.5rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: rgba(242, 193, 78, 0.5); transform: translateY(-3px); }
.card h3 { font-size: 1.35rem; margin: 0.75rem 0 0.75rem; }
.card p { flex: 1; color: var(--muted); }

.card-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.25);
}

.meeting-length {
    align-self: flex-start;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Featured experience: an orbit */

.feature {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3rem;
    align-items: center;
    padding: 3.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 193, 78, 0.18), transparent 45%),
        linear-gradient(135deg, #1a1a4d, #2d1d63);
    border: 1px solid rgba(242, 193, 78, 0.3);
}

.feature h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1rem; }

.feature-list, .program-cell ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li, .program-cell li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.6rem;
}

.feature-list li::before, .program-cell li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.8);
}

.feature-list li {
    padding: 0.9rem 0 0.9rem 1.8rem;
    margin: 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    color: var(--white);
}

.feature-list li::before { top: 1.35rem; }

/* Community vision */

.pull-quote {
    margin: 0 0 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--white);
}

.pull-quote::before { content: "\201C"; color: var(--gold); }
.pull-quote::after { content: "\201D"; color: var(--gold); }

/* Programs */

.jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.jump-links a {
    padding: 0.4rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
}

.jump-links a:hover { border-color: var(--gold); color: var(--gold); }

.program { scroll-margin-top: 5.5rem; }

.program-head {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    margin-bottom: 2.75rem;
}

.program-number {
    flex: none;
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #b597ff, #4a2a8a 70%);
    box-shadow: 0 0 30px rgba(143, 106, 216, 0.5);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
}

.program-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 0.4rem 0 0.75rem; }
.program-need { font-size: 1.15rem; color: var(--muted); max-width: 44rem; margin: 0; }

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.program-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 72rem) {
    .program-grid, .program-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.program-cell {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.program-cell h3 {
    margin: 0 0 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.program-cell p:last-child { margin: 0; }

.program-format {
    grid-column: 1 / -1;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    background: var(--gold-soft);
    border-color: rgba(242, 193, 78, 0.3);
}

.program-format h3 { flex: none; margin: 0; }

/* About */

.profile {
    display: grid;
    grid-template-columns: 19rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
}

.profile-card {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.profile-card strong { color: var(--white); font-size: 1.15rem; }
.profile-card > span { color: var(--muted); font-size: 0.95rem; }
.profile-card .button { margin-top: 1rem; }

.portrait {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    margin: 0 auto 1.25rem;
    width: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6b4bc0, #1a1540 70%);
    box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(242, 193, 78, 0.3);
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
}

.beliefs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: belief;
}

.beliefs li {
    counter-increment: belief;
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 1.08rem;
}

.beliefs li::before {
    content: counter(belief, decimal-leading-zero);
    position: absolute;
    left: 1.4rem;
    top: 1.45rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--gold);
}

/* Contact */

.notice {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: var(--gold-soft);
    border: 1px solid rgba(242, 193, 78, 0.35);
    border-radius: var(--radius);
}

.contact-details {
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.contact-details h3 { margin-top: 0; }

.page-intro, .message-page, .form-page { padding-block: 4rem; }

/* Forms */

.stack-form { max-width: 26rem; }

.field { margin-bottom: 1rem; }

.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--white); }

input, textarea, select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: #0f1430;
    color: var(--text);
}

input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; }

.form-message { min-height: 1.5em; margin: 0.5rem 0; }
.form-message.good { color: var(--good); }
.form-message.bad { color: var(--bad); }

/* Booking */

.page-head .meeting-length { display: inline-block; margin: 0 0 1.25rem; }

.steps {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 0.35rem 0 0.35rem 3rem;
    margin-bottom: 0.75rem;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 0 16px rgba(242, 193, 78, 0.25);
}

.booking-panel {
    padding: 2.25rem 2rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(242, 193, 78, 0.35);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field .optional { font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-left: 0.35rem; }
.booking-form textarea { resize: vertical; min-height: 8rem; }
.booking-form ::placeholder { color: var(--muted); opacity: 0.8; }

.booking-panel [hidden] { display: none !important; }

.booking-head h3 { margin: 0; font-size: 1.4rem; }
.booking-meta { margin: 0.25rem 0 0.75rem; color: var(--muted); font-size: 0.95rem; }

.booking-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    margin: 1.25rem 0 1.5rem;
}

.booking-weekday {
    padding-bottom: 0.25rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.booking-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-height: 4.4rem;
    padding: 0.35rem 0.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.booking-day:not(:disabled):hover { border-color: var(--accent); transform: translateY(-1px); }
.booking-day:disabled { cursor: default; opacity: 0.45; background: transparent; }
.booking-day.is-past { opacity: 0.25; }
.booking-day-month { min-height: 1em; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.booking-day-number { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.booking-day-count { font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.booking-day.is-today .booking-day-number { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.booking-day.is-chosen { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.booking-day.is-chosen .booking-day-month,
.booking-day.is-chosen .booking-day-count { color: var(--accent-text); }

.booking-slots-day { margin: 0 0 0.75rem; font-size: 1.1rem; }
.booking-slot-group { margin-bottom: 1rem; }
.booking-slot-label { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    gap: 0.5rem;
}

.booking-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.booking-slot small { font-weight: 400; font-size: 0.7rem; color: var(--muted); }
.booking-slot:hover { border-color: var(--accent); }
.booking-slot.is-chosen { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.booking-slot.is-chosen small { color: var(--accent-text); }

.booking-choice {
    margin: 1rem 0 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid var(--accent);
    background: var(--surface-alt);
}

.booking-empty { margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--surface-alt); }

.booking-done { text-align: left; outline: none; }
.booking-done h3 { margin: 0.75rem 0 0.5rem; font-size: 1.6rem; }

.booking-done-mark {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 1.6rem;
    font-weight: 700;
}

.booking-done-mark::before { content: "\2713"; }

.booking-summary {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.25rem;
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: var(--surface-alt);
    border-radius: var(--radius);
}

.booking-summary dt { font-weight: 700; color: var(--muted); }
.booking-summary dd { margin: 0; overflow-wrap: anywhere; }

.steps li.is-done { opacity: 0.6; }
.steps li.is-current { font-weight: 700; }

.booking-day, .booking-slot { background: rgba(255, 255, 255, 0.04); }
.booking-day:disabled { background: transparent; }
.booking-day.is-chosen, .booking-slot.is-chosen { box-shadow: 0 0 22px rgba(242, 193, 78, 0.35); }
.booking-choice, .booking-empty, .booking-summary { background: rgba(255, 255, 255, 0.05); border-radius: var(--radius); }
.steps li.is-current::before { background: var(--gold); color: var(--navy); }

/* Toasts (toast.ts): short messages at the bottom right. A timed toast drains
   a bar along its foot and pauses while hovered. */

.toast-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 250;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    width: min(23rem, calc(100vw - 2rem));
    pointer-events: none;
}

.toast {
    position: relative;
    width: 100%;
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(0.75rem) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-shown { opacity: 1; transform: none; }
.toast.is-leaving { opacity: 0; transform: translateX(1.5rem); }

.toast-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 2.6rem 0.9rem 1rem;
    color: inherit;
    text-decoration: none;
}

a.toast-body:hover .toast-message { text-decoration: underline; }
.toast-title { font-size: 0.95rem; }
.toast-message { font-size: 0.9rem; }
.toast-detail { font-size: 0.8rem; opacity: 0.8; }

.toast-close {
    position: absolute;
    top: 0.4rem;
    right: 0.45rem;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.65;
    cursor: pointer;
}

.toast-close:hover { opacity: 1; }

.toast-timer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    animation: toast-drain linear forwards;
}

.toast.is-paused .toast-timer { animation-play-state: paused; }

@keyframes toast-drain {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .toast, .toast.is-leaving { transition: none; transform: none; }
}

.toast {
    background: rgba(20, 26, 56, 0.96);
    color: #e4e6f2;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 5px solid #8f6ad8;
    border-radius: 14px;
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7), 0 0 24px -8px rgba(143, 106, 216, 0.45);
    backdrop-filter: blur(8px);
}
.toast-title { color: #ffffff; }
.toast-timer { background: #f2c14e; }
.toast-good { border-left-color: #5fd08c; }
.toast-bad { border-left-color: #ff7b86; }
.toast-notice { border-left-color: #f2c14e; }
.toast-introduction { border-left-color: #1f8f8a; }
.toast-program { border-left-color: #b4477a; }

/* Footer */

.site-footer {
    background: #05081a;
    border-top: 1px solid rgba(242, 193, 78, 0.35);
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 3rem;
}

.footer-about strong {
    color: var(--white);
    font-family: var(--font-heading);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-about p { margin: 0.4rem 0 0; }
.footer-about a { color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { flex-basis: 100%; margin: 0; font-size: 0.8rem; }

/* Phones */

@media (max-width: 52rem) {
    .booking-days { gap: 0.25rem; }
    .booking-day { min-height: 3.6rem; }
    .booking-day-count { font-size: 0.6rem; }
    .field-row { grid-template-columns: 1fr; }
    .booking-panel { padding: 1.5rem 1.25rem; }
    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 4.75rem;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1.5rem;
        background: #0b1026;
        border-bottom: 1px solid var(--line);
    }

    .site-nav.open { display: flex; }
    .site-nav a:not(.button) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .site-nav .schedule-button { margin-top: 1rem; text-align: center; }
    .hero { padding: 5rem 0 8rem; }
    .band { padding: 4rem 0; }
    .page-head { padding: 3rem 0 2.5rem; }
    .split, .feature, .profile { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature { padding: 2rem; }
    .cards-3, .cards-2 { grid-template-columns: 1fr; }
    .program-head { flex-direction: column; gap: 0.75rem; }
    .program-format { flex-direction: column; gap: 0.5rem; }
    .program-grid, .program-grid-3 { grid-template-columns: 1fr; }
    .profile-card { position: static; max-width: 22rem; }
    .portrait { max-width: 10rem; font-size: 2.5rem; }
}
