@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --deep-navy: #172651;
    --mountain-blue: #66889E;
    --wasatch-teal: #77A2B0;
    --ice-teal: #88BFC3;
    --deep-shadow: #0C1C48;
    --mars-clay: #D16D4C;
    --desert-highlight: #E29D7D;
    --bone-ivory: #F6F3E4;
    --bone-ivory-dark: #E8E4D4;
    --text-primary: #172651;
    --text-muted: #4A5F7A;
    --surface: #F6F3E4;
    --surface-elevated: #FFFDF6;
    --cta: #D16D4C;
    --cta-hover: #B85A3D;
    --cta-glow: rgba(209, 109, 76, 0.35);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;
    --font-display: 'Archivo', system-ui, sans-serif;
    --font-heading: 'Archivo', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --shadow-soft: 0 8px 32px rgba(12, 28, 72, 0.08);
    --shadow-lift: 0 16px 48px rgba(12, 28, 72, 0.14);
    --shadow-sticker: 4px 4px 0 var(--deep-navy);
    --header-height: 72px;
    --mobile-cta-height: 68px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s var(--ease-out-expo);
    --page-max: 1280px;
    --schedule-col-min: 11.75rem;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--surface);
    background-image:
        radial-gradient(ellipse 90% 60% at 0% 0%, rgba(136, 191, 195, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 10%, rgba(209, 109, 76, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(102, 136, 158, 0.08) 0%, transparent 45%);
    overflow-x: hidden;
    padding-bottom: var(--mobile-cta-height);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image: radial-gradient(circle, rgba(23, 38, 81, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: var(--mars-clay);
    color: var(--bone-ivory);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

.noise-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    background: rgba(246, 243, 228, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--deep-navy);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-soft);
}

.header-logo {
    height: 44px;
    width: auto;
}

.header-logo img {
    height: 100%;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    border: 2px solid var(--deep-navy);
    background: var(--surface-elevated);
    transition: background var(--transition-base), transform 0.2s ease;
}

.nav-toggle:active {
    transform: scale(0.96);
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--deep-navy);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--bone-ivory);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-left: 3px solid var(--deep-navy);
}

.site-nav.is-open {
    transform: translateX(0);
}

.site-nav a {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: background var(--transition-base), border-color var(--transition-base), transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--ice-teal);
    border-color: var(--deep-navy);
}

.site-nav a.nav-kids {
    color: var(--mars-clay);
    font-size: 1.5rem;
}

.site-nav .nav-cta {
    margin-top: auto;
    background: var(--mars-clay);
    color: var(--bone-ivory);
    text-align: center;
    border: 2px solid var(--deep-navy);
    box-shadow: var(--shadow-sticker);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
    background: var(--cta-hover);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(12, 28, 72, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.hero {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 3rem) 1.25rem 3rem;
    overflow: hidden;
    --px: 0;
    --py: 0;
}

/* Directional scrim — keeps the left-aligned hero copy legible at any vertical
   position. Stays fixed to the hero so it never drifts with the parallax layers. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(12, 28, 72, 0.82) 0%, rgba(12, 28, 72, 0.46) 36%, rgba(12, 28, 72, 0.06) 64%, transparent 82%),
        linear-gradient(0deg, rgba(12, 28, 72, 0.55) 0%, transparent 44%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: translate3d(calc(var(--px) * 7px), calc(var(--py) * 7px), 0) scale(1.06);
    transition: transform 0.5s var(--ease-out-expo);
    will-change: transform;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: hero-kenburns 32s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 28, 72, 0.1) 0%, rgba(12, 28, 72, 0.42) 55%, rgba(12, 28, 72, 0.8) 100%),
        linear-gradient(135deg, rgba(119, 162, 176, 0.2) 0%, transparent 50%);
}

/* Soft glow over the moon */
.hero-moonglow {
    position: absolute;
    top: 30%;
    left: 50%;
    width: clamp(240px, 38vw, 440px);
    aspect-ratio: 1;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 243, 228, 0.5) 0%, rgba(226, 157, 125, 0.22) 30%, transparent 68%);
    mix-blend-mode: screen;
    transform: translate(-50%, -50%) translate3d(calc(var(--px) * 11px), calc(var(--py) * 11px), 0);
    transition: transform 0.5s var(--ease-out-expo);
    animation: hero-moon-pulse 7s ease-in-out infinite;
}

/* Twinkling starfield — masked to the night-sky band so stars never fall on the desert */
.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(calc(var(--px) * 16px), calc(var(--py) * 16px), 0);
    transition: transform 0.5s var(--ease-out-expo);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 58%);
    mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 58%);
}

.hero-atmosphere::before,
.hero-atmosphere::after {
    content: '';
    position: absolute;
    inset: -10%;
    background-repeat: repeat;
    background-size: 100% 100%;
}

.hero-atmosphere::before {
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(246, 243, 228, 0.9), transparent 60%),
        radial-gradient(1px 1px at 24% 9%, rgba(246, 243, 228, 0.7), transparent 60%),
        radial-gradient(1.5px 1.5px at 38% 22%, rgba(246, 243, 228, 0.85), transparent 60%),
        radial-gradient(1px 1px at 52% 13%, rgba(246, 243, 228, 0.6), transparent 60%),
        radial-gradient(1px 1px at 63% 26%, rgba(246, 243, 228, 0.75), transparent 60%),
        radial-gradient(1.5px 1.5px at 74% 11%, rgba(246, 243, 228, 0.9), transparent 60%),
        radial-gradient(1px 1px at 86% 20%, rgba(246, 243, 228, 0.7), transparent 60%),
        radial-gradient(1px 1px at 92% 7%, rgba(246, 243, 228, 0.55), transparent 60%);
    animation: hero-twinkle 5.5s ease-in-out infinite, hero-star-drift 90s linear infinite;
}

.hero-atmosphere::after {
    background-image:
        radial-gradient(2px 2px at 18% 30%, rgba(246, 243, 228, 1), transparent 55%),
        radial-gradient(1.5px 1.5px at 45% 6%, rgba(136, 191, 195, 0.9), transparent 55%),
        radial-gradient(2px 2px at 68% 16%, rgba(246, 243, 228, 1), transparent 55%),
        radial-gradient(1.5px 1.5px at 82% 32%, rgba(226, 157, 125, 0.85), transparent 55%);
    animation: hero-twinkle 4s ease-in-out infinite alternate 1.2s;
}

/* Slow-drifting desert dust */
.hero-dust {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-dust span {
    position: absolute;
    bottom: 12%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(34px);
    opacity: 0;
}

.hero-dust span:nth-child(1) {
    left: 8%;
    background: rgba(226, 157, 125, 0.4);
    animation: hero-dust-drift 19s ease-in-out infinite;
}

.hero-dust span:nth-child(2) {
    left: 42%;
    width: 90px;
    height: 90px;
    background: rgba(119, 162, 176, 0.35);
    animation: hero-dust-drift 24s ease-in-out infinite 4s;
}

.hero-dust span:nth-child(3) {
    left: 72%;
    width: 150px;
    height: 150px;
    background: rgba(209, 109, 76, 0.32);
    animation: hero-dust-drift 28s ease-in-out infinite 9s;
}

@keyframes hero-kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

@keyframes hero-twinkle {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.95; }
}

@keyframes hero-star-drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-4%); }
}

@keyframes hero-moon-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.85; }
}

@keyframes hero-dust-drift {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0; }
    15% { opacity: 0.6; }
    50% { transform: translate(40px, -34px) scale(1.15); opacity: 0.5; }
    85% { opacity: 0.45; }
    100% { transform: translate(80px, -70px) scale(0.95); opacity: 0; }
}

/* Floating decorative blobs used on the Kids hero */
@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -20px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg,
    .hero-bg img,
    .hero-moonglow,
    .hero-atmosphere,
    .hero-atmosphere::before,
    .hero-atmosphere::after,
    .hero-dust span,
    .cta-band-bg img {
        animation: none !important;
        transition: none !important;
    }

    .hero-bg {
        transform: scale(1.04);
    }

    .hero-dust span {
        opacity: 0.4;
    }
}

/* Full-bleed image CTA band — breaks up the solid sections with the desert artwork */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--deep-navy);
    border-top: 3px solid var(--deep-navy);
    border-bottom: 3px solid var(--deep-navy);
}

.cta-band-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 38%;
    animation: hero-kenburns 38s ease-in-out infinite alternate;
}

.cta-band-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 28, 72, 0.92) 0%, rgba(12, 28, 72, 0.64) 38%, rgba(12, 28, 72, 0.16) 70%, rgba(12, 28, 72, 0.42) 100%),
        linear-gradient(0deg, rgba(12, 28, 72, 0.55) 0%, transparent 55%);
}

.cta-band-inner {
    position: relative;
    z-index: 1;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: clamp(3.5rem, 11vw, 7rem) 1.25rem;
}

.cta-band-content {
    max-width: 34rem;
}

.cta-band-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ice-teal);
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(12, 28, 72, 0.55);
    border: 1px solid rgba(136, 191, 195, 0.4);
    border-radius: var(--radius-pill);
}

.cta-band-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--bone-ivory);
    margin-bottom: 1rem;
    text-wrap: balance;
}

.cta-band-sub {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    color: rgba(246, 243, 228, 0.92);
    line-height: 1.55;
    margin-bottom: 2rem;
    max-width: 40ch;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(640px, calc(100vw - 2.5rem));
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ice-teal);
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(12, 28, 72, 0.6);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(136, 191, 195, 0.4);
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--mars-clay);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.04;
    color: var(--bone-ivory);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 span {
    display: block;
}

.hero-sub strong {
    color: var(--desert-highlight);
    font-weight: 700;
}

.hero-sub {
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    color: rgba(246, 243, 228, 0.92);
    margin-bottom: 2rem;
    max-width: 46ch;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 2px solid var(--deep-navy);
    cursor: pointer;
    transition: transform 0.2s ease, background var(--transition-base), box-shadow var(--transition-base);
    text-align: center;
    min-height: 52px;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--mars-clay);
    color: var(--bone-ivory);
    box-shadow: var(--shadow-sticker);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--cta-hover);
    box-shadow: 6px 6px 0 var(--deep-navy);
}

.btn-secondary {
    background: transparent;
    color: var(--bone-ivory);
    border-color: rgba(246, 243, 228, 0.6);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(246, 243, 228, 0.12);
    border-color: var(--bone-ivory);
}

.trust-strip {
    background: var(--deep-navy);
    padding: 1.25rem;
    overflow: hidden;
}

.trust-strip-inner {
    display: flex;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.trust-strip:hover .trust-strip-inner {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    color: var(--ice-teal);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}

.trust-badge-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wasatch-teal);
    border-radius: 50%;
    color: var(--deep-navy);
    font-size: 0.75rem;
    font-weight: 800;
}

.section {
    padding: 4rem 1.25rem;
    position: relative;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mountain-blue);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 58ch;
    margin-bottom: 2rem;
}

.about {
    background: transparent;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(136, 191, 195, 0.06) 50%, transparent 100%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    gap: 2rem;
}

.about-card {
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sticker);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--ice-teal);
    border-radius: 50%;
    opacity: 0.3;
}

.about-card p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card strong {
    color: var(--deep-navy);
    font-weight: 700;
}

.about-highlight {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mars-clay);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--wasatch-teal);
}

.about-promo {
    background: var(--ice-teal);
    border-color: var(--deep-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-promo-lead {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 1.25rem;
}

.about-promo-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.about-promo-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-shadow);
    line-height: 1.4;
}

.about-promo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 8px;
    height: 8px;
    background: var(--mars-clay);
    border-radius: 50%;
    border: 2px solid var(--deep-navy);
}

.about-promo-cta {
    width: 100%;
}

.instructors {
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(209, 109, 76, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--bone-ivory-dark) 0%, var(--surface) 100%);
}

.instructor-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.instructor-card {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.instructor-card:nth-child(even) .instructor-photo {
    transform: rotate(2deg);
}

.instructor-card:nth-child(odd) .instructor-photo {
    transform: rotate(-2deg);
}

.instructor-photo {
    border: 3px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    transition: transform var(--transition-base);
}

.instructor-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.instructor-info {
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 4px 4px 0 var(--wasatch-teal);
}

.instructor-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 0.25rem;
}

.instructor-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mars-clay);
    margin-bottom: 1rem;
    font-style: italic;
}

.instructor-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.location {
    background: var(--deep-navy);
    color: var(--bone-ivory);
}

.location .section-label {
    color: var(--ice-teal);
}

.location .section-title {
    color: var(--bone-ivory);
}

.location .section-intro,
.location-intro {
    color: rgba(246, 243, 228, 0.8);
}

.location-grid {
    display: grid;
    gap: 2rem;
}

.location-map {
    border: 3px solid var(--ice-teal);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    min-height: 280px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-address {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--desert-highlight);
}

.location-perks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-perk {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(246, 243, 228, 0.85);
    line-height: 1.5;
}

.location-perk-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--wasatch-teal);
    color: var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.location-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mars-clay);
    color: var(--bone-ivory);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--bone-ivory);
    width: fit-content;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1.5deg); }
    75% { transform: rotate(1.5deg); }
}

.schedule {
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(119, 162, 176, 0.12) 0%, transparent 55%),
        var(--surface);
    text-align: center;
    position: relative;
}

.schedule-image-wrap {
    border: 3px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background: var(--surface-elevated);
}

.schedule-image-wrap img {
    width: 100%;
}

.schedule-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.schedule-cta .btn {
    width: 100%;
    max-width: 320px;
}

.contact {
    background: linear-gradient(135deg, var(--wasatch-teal) 0%, var(--ice-teal) 100%);
}

.contact .section-title {
    color: var(--deep-navy);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sticker);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow var(--transition-base);
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--deep-navy);
}

.contact-link-icon {
    width: 44px;
    height: 44px;
    background: var(--mars-clay);
    color: var(--bone-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    color: var(--bone-ivory);
    border-radius: var(--radius-sm);
    border: 2px solid var(--deep-navy);
    transition: background var(--transition-base), transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    background: var(--mars-clay);
    transform: translateY(-2px);
}

.contact-extra {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--deep-navy);
}

.contact-extra a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer {
    background:
        radial-gradient(ellipse 80% 100% at 50% 100%, rgba(136, 191, 195, 0.12) 0%, transparent 60%),
        var(--deep-shadow);
    color: rgba(246, 243, 228, 0.75);
    padding: 2.5rem 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    border-top: 2px solid rgba(136, 191, 195, 0.2);
}

.site-footer a {
    color: var(--ice-teal);
    font-weight: 600;
}

.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0.75rem 1rem;
    background: rgba(246, 243, 228, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid var(--deep-navy);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mobile-cta-bar .btn {
    flex: 1;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    min-height: 48px;
}

.mobile-cta-bar .btn-call {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    background: var(--deep-navy);
    color: var(--bone-ivory);
    border-radius: 50%;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(12, 28, 72, 0.7);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 92svh;
    overflow-y: auto;
    background: var(--bone-ivory);
    border: 3px solid var(--deep-navy);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -8px 40px rgba(12, 28, 72, 0.3);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.modal-overlay.is-open .modal {
    transform: translateY(0);
}

.modal-deco {
    position: absolute;
    pointer-events: none;
}

.modal-deco-1 {
    width: 60px;
    height: 60px;
    background: var(--ice-teal);
    border-radius: 50%;
    top: -20px;
    right: 30px;
    opacity: 0.6;
}

.modal-deco-2 {
    width: 40px;
    height: 40px;
    background: var(--mars-clay);
    border-radius: 8px;
    transform: rotate(15deg);
    top: 10px;
    left: 20px;
    opacity: 0.5;
}

.modal-deco-3 {
    width: 24px;
    height: 24px;
    background: var(--desert-highlight);
    border-radius: 50%;
    bottom: 80px;
    right: 15px;
}

.modal-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-navy);
    transition: background var(--transition-base), transform 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
    background: var(--ice-teal);
    transform: rotate(90deg);
}

.modal-emoji-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--mars-clay);
    color: var(--bone-ivory);
    border: 3px solid var(--deep-navy);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sticker);
    animation: bounce-in 0.6s var(--ease-out-expo);
}

@keyframes bounce-in {
    0% { transform: scale(0) rotate(-20deg); }
    60% { transform: scale(1.15) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.modal-body {
    padding: 0 1.5rem 2rem;
}

.trial-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-navy);
}

.form-group input,
.form-group select {
    padding: 0.9rem 1.1rem;
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--mars-clay);
    box-shadow: 0 0 0 3px var(--cta-glow);
}

.form-group input.is-invalid,
.form-group select.is-invalid {
    border-color: #C0392B;
    background: #FDF2F0;
}

.form-error {
    font-size: 0.8rem;
    font-weight: 600;
    color: #C0392B;
    min-height: 1.2em;
}

.form-row {
    display: grid;
    gap: 1.25rem;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--mars-clay);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.form-success.is-visible {
    display: block;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--wasatch-teal);
    color: var(--deep-navy);
    border: 3px solid var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    body {
        padding-bottom: 0;
    }

    .mobile-cta-bar {
        display: none;
    }

    .modal-overlay {
        align-items: center;
        padding: 1.5rem;
    }

    .modal {
        border-radius: var(--radius-lg);
        max-height: 90vh;
        transform: translateY(40px) scale(0.95);
    }

    .modal-overlay.is-open .modal {
        transform: translateY(0) scale(1);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .instructor-card {
        grid-template-columns: 1fr 1.2fr;
        gap: 2rem;
        align-items: center;
    }

    .instructor-card:nth-child(even) {
        direction: rtl;
    }

    .instructor-card:nth-child(even) > * {
        direction: ltr;
    }
}

@media (min-width: 768px) {
    .site-header {
        padding: 0 2rem;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
        padding: 0;
        background: transparent;
        border: none;
        transform: none;
        bottom: auto;
    }

    .site-nav a {
        font-size: 0.85rem;
        font-weight: 600;
        padding: 0.5rem 0.75rem;
    }

    .site-nav a.nav-kids {
        font-size: 0.95rem;
    }

    .site-nav .nav-cta {
        margin-top: 0;
        margin-left: 0.5rem;
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .nav-backdrop {
        display: none;
    }

    .section {
        padding: 6rem 2rem;
    }

    .section-inner {
        max-width: var(--page-max);
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }

    .location-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .schedule-teaser {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: calc(var(--header-height) + 3rem) 3rem 4rem;
    }

    .hero-content {
        max-width: 720px;
    }

    .instructor-list {
        gap: 4rem;
    }

    .header-cta {
        display: inline-flex;
    }

    .schedule-teaser {
        grid-template-columns: repeat(4, 1fr);
    }
}

.header-cta {
    display: none;
}

:root {
    --class-lunatics: #2EAD5A;
    --class-all-levels: #77A2B0;
    --class-kids: #D16D4C;
    --class-fundamentals: #7B6BA8;
    --class-sparring: #C94A3A;
    --class-short-bus: #66889E;
    --class-leglocks: #C94A3A;
    --class-open-mat: #88BFC3;
}

.site-nav a.is-current {
    background: var(--ice-teal);
    border: 2px solid var(--deep-navy);
}

.schedule-page-hero {
    position: relative;
    padding: calc(var(--header-height) + 2.5rem) 1.25rem 2.75rem;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(136, 191, 195, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(209, 109, 76, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, var(--bone-ivory) 0%, var(--surface) 100%);
    border-bottom: 3px solid var(--deep-navy);
    overflow: hidden;
}

.schedule-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../logo/10P_logo_color_font_outlined.ai.webp');
    background-repeat: repeat-x;
    background-size: 120px auto;
    background-position: 0 100%;
    opacity: 0.04;
    pointer-events: none;
}

.schedule-page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--page-max);
    margin: 0 auto;
}

.schedule-page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 7vw, 3.25rem);
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
    text-wrap: balance;
    max-width: 16ch;
}

.schedule-page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 52ch;
    margin-bottom: 1.5rem;
}

.schedule-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.schedule-page {
    padding: 2rem 1.25rem 4.5rem;
}

.schedule-page-inner {
    max-width: var(--page-max);
    margin: 0 auto;
}

.schedule-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.35rem;
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sticker);
}

.schedule-controls-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.schedule-count {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mountain-blue);
}

.schedule-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.schedule-filter-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.schedule-filter-scroll::-webkit-scrollbar {
    display: none;
}

.schedule-filter-pill,
.schedule-filter-chip {
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-pill);
    background: var(--bone-ivory);
    color: var(--deep-navy);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-base), transform 0.2s ease, box-shadow var(--transition-base);
}

.schedule-filter-pill:hover,
.schedule-filter-chip:hover,
.schedule-filter-pill:focus-visible,
.schedule-filter-chip:focus-visible {
    background: var(--ice-teal);
}

.schedule-filter-pill.is-active,
.schedule-filter-chip.is-active {
    background: var(--deep-navy);
    color: var(--bone-ivory);
    box-shadow: var(--shadow-sticker);
}

.schedule-filter-chip--lunatics.is-active { background: var(--class-lunatics); color: var(--deep-shadow); }
.schedule-filter-chip--all-levels.is-active { background: var(--class-all-levels); }
.schedule-filter-chip--kids.is-active { background: var(--class-kids); }
.schedule-filter-chip--fundamentals.is-active { background: var(--class-fundamentals); color: var(--bone-ivory); }
.schedule-filter-chip--sparring.is-active { background: var(--class-sparring); color: var(--bone-ivory); }
.schedule-filter-chip--short-bus.is-active { background: var(--class-short-bus); color: var(--bone-ivory); }
.schedule-filter-chip--leglocks.is-active { background: var(--class-leglocks); color: var(--bone-ivory); }
.schedule-filter-chip--open-mat.is-active { background: var(--class-open-mat); color: var(--deep-shadow); }

.schedule-grid-scroll {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
    padding: 0.35rem 0.25rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--mountain-blue) transparent;
}

.schedule-grid-scroll.is-scrollable {
    mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent 100%);
}

.schedule-grid-scroll::-webkit-scrollbar {
    height: 6px;
}

.schedule-grid-scroll::-webkit-scrollbar-thumb {
    background: var(--mountain-blue);
    border-radius: var(--radius-pill);
}

.schedule-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    min-width: 0;
}

.schedule-day-column {
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.schedule-day-column.is-today {
    border-color: var(--mars-clay);
    box-shadow: 4px 4px 0 var(--mars-clay);
    position: relative;
}

.schedule-day-column.is-today .schedule-day-heading {
    background: linear-gradient(135deg, var(--deep-navy) 0%, color-mix(in srgb, var(--mars-clay) 35%, var(--deep-navy)) 100%);
}

.schedule-day-heading {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0.75rem 0.85rem;
    background: var(--deep-navy);
    color: var(--bone-ivory);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.schedule-day-short {
    display: inline;
}

.schedule-day-full {
    display: none;
}

.schedule-today-tag {
    margin-left: auto;
    padding: 0.2rem 0.6rem;
    background: var(--mars-clay);
    color: var(--bone-ivory);
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.schedule-class-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.65rem;
}

.schedule-class-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    background: var(--bone-ivory);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-sm);
    border-top-width: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    width: 100%;
}

.schedule-class-card:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 rgba(12, 28, 72, 0.12);
}

.schedule-class-card--lunatics {
    border-top-color: var(--class-lunatics);
    background: color-mix(in srgb, var(--class-lunatics) 10%, var(--bone-ivory));
}

.schedule-class-card--all-levels {
    border-top-color: var(--class-all-levels);
    background: color-mix(in srgb, var(--class-all-levels) 12%, var(--bone-ivory));
}

.schedule-class-card--kids {
    border-top-color: var(--class-kids);
    background: color-mix(in srgb, var(--class-kids) 10%, var(--bone-ivory));
}

.schedule-class-card--fundamentals {
    border-top-color: var(--class-fundamentals);
    background: color-mix(in srgb, var(--class-fundamentals) 10%, var(--bone-ivory));
}

.schedule-class-card--sparring {
    border-top-color: var(--class-sparring);
    background: color-mix(in srgb, var(--class-sparring) 8%, var(--bone-ivory));
}

.schedule-class-card--short-bus {
    border-top-color: var(--class-short-bus);
    background: color-mix(in srgb, var(--class-short-bus) 12%, var(--bone-ivory));
}

.schedule-class-card--leglocks {
    border-top-color: var(--class-leglocks);
    background: color-mix(in srgb, var(--class-leglocks) 8%, var(--bone-ivory));
}

.schedule-class-card--open-mat {
    border-top-color: var(--class-open-mat);
    background: color-mix(in srgb, var(--class-open-mat) 14%, var(--bone-ivory));
}

.schedule-class-time {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
}

.schedule-class-name {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--deep-navy);
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
    width: 100%;
}

.schedule-class-card--leglocks .schedule-class-name {
    letter-spacing: 0.04em;
}

.schedule-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface-elevated);
    border: 2px dashed var(--mountain-blue);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: 1.05rem;
}

.schedule-legend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.65rem 1rem;
    margin-top: 2rem;
    padding: 1.15rem 1.35rem;
    background: var(--deep-shadow);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sticker);
}

.schedule-legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bone-ivory);
    line-height: 1.3;
}

.schedule-legend-swatch {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(246, 243, 228, 0.35);
}

.schedule-legend-swatch--lunatics { background: var(--class-lunatics); }
.schedule-legend-swatch--all-levels { background: var(--class-all-levels); }
.schedule-legend-swatch--kids { background: var(--class-kids); }
.schedule-legend-swatch--fundamentals { background: var(--class-fundamentals); }
.schedule-legend-swatch--sparring { background: var(--class-sparring); }
.schedule-legend-swatch--short-bus { background: var(--class-short-bus); }
.schedule-legend-swatch--leglocks { background: var(--class-leglocks); }
.schedule-legend-swatch--open-mat { background: var(--class-open-mat); }

.schedule-seo-content {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bone-ivory-dark);
    border: 2px dashed var(--mountain-blue);
    border-radius: var(--radius-md);
}

.schedule-seo-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.schedule-seo-day {
    margin-bottom: 1.25rem;
}

.schedule-seo-day h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--mars-clay);
    margin-bottom: 0.35rem;
}

.schedule-seo-day ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.schedule-seo-day li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.schedule-teaser {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.schedule-teaser-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-md);
    box-shadow: 3px 3px 0 var(--wasatch-teal);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-teaser-card:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 var(--wasatch-teal);
}

.schedule-teaser-time {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.schedule-teaser-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--deep-navy);
    line-height: 1.2;
}

.schedule-teaser-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-class-name {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .schedule-controls {
        display: grid;
        grid-template-columns: minmax(8rem, auto) 1fr;
        grid-template-rows: auto auto;
        gap: 0.85rem 1.5rem;
        align-items: center;
        padding: 1.35rem 1.5rem;
    }

    .schedule-controls-top {
        grid-row: 1 / 3;
        align-self: center;
    }

    .schedule-filter-group:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;
    }

    .schedule-filter-group:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
    }

    .schedule-filter-scroll {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

@media (min-width: 900px) {
    .schedule-page-hero {
        padding: calc(var(--header-height) + 3rem) 2rem 3rem;
    }

    .schedule-page {
        padding: 2.5rem 2rem 5rem;
    }

    .schedule-day-short {
        display: none;
    }

    .schedule-day-full {
        display: inline;
    }

    .schedule-grid {
        grid-template-columns: repeat(7, minmax(var(--schedule-col-min), 1fr));
        gap: 0.85rem;
        align-items: start;
        width: max(100%, calc(7 * var(--schedule-col-min) + 6 * 0.85rem));
    }

    .schedule-class-list {
        padding: 0.6rem;
    }

    .schedule-class-name {
        font-size: 0.88rem;
    }
}

@media (min-width: 1200px) {
    :root {
        --page-max: 1360px;
        --schedule-col-min: 10.5rem;
    }

    .schedule-grid-scroll {
        overflow-x: visible;
    }

    .schedule-grid {
        width: 100%;
    }

    .schedule-class-name {
        font-size: 0.92rem;
    }
}

.section-inner-narrow {
    max-width: var(--page-max);
    margin: 0 auto;
}

.kids-page-hero {
    position: relative;
    padding: calc(var(--header-height) + 2.5rem) 1.25rem 2.75rem;
    background:
        radial-gradient(ellipse 70% 55% at 15% 25%, rgba(209, 109, 76, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 95% 70%, rgba(136, 191, 195, 0.28) 0%, transparent 55%),
        linear-gradient(180deg, #FFF8F0 0%, var(--surface) 100%);
    border-bottom: 3px solid var(--deep-navy);
    overflow: hidden;
}

.kids-page-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 3px solid var(--deep-navy);
}

.kids-page-hero-deco-1 {
    width: 140px;
    height: 140px;
    top: 18%;
    right: -30px;
    background: color-mix(in srgb, var(--class-kids) 25%, transparent);
    animation: float-blob 9s ease-in-out infinite;
}

.kids-page-hero-deco-2 {
    width: 80px;
    height: 80px;
    bottom: 12%;
    left: 8%;
    background: color-mix(in srgb, var(--ice-teal) 40%, transparent);
    animation: float-blob 11s ease-in-out infinite reverse;
}

.kids-page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--page-max);
    margin: 0 auto;
}

.kids-page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 9vw, 4rem);
    font-weight: 800;
    color: var(--mars-clay);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.85rem;
    text-wrap: balance;
    max-width: 12ch;
}

.kids-page-hero .section-label {
    color: var(--mars-clay);
}

.kids-page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 52ch;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.kids-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.kids-btn-outline {
    border-color: var(--deep-navy);
    color: var(--deep-navy);
    background: var(--surface-elevated);
}

.kids-btn-outline:hover,
.kids-btn-outline:focus-visible {
    background: var(--ice-teal);
}

.kids-btn-light {
    border-color: rgba(246, 243, 228, 0.55);
    color: var(--bone-ivory);
    background: rgba(246, 243, 228, 0.08);
}

.kids-btn-light:hover,
.kids-btn-light:focus-visible {
    background: rgba(246, 243, 228, 0.16);
    border-color: var(--bone-ivory);
}

.kids-page {
    padding: 2rem 1.25rem 4.5rem;
}

.kids-page-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.kids-detail-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.kids-detail-card {
    position: relative;
    padding: 1.5rem 1.35rem;
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sticker);
    overflow: hidden;
}

.kids-detail-card--time {
    border-top-width: 5px;
    border-top-color: var(--class-kids);
}

.kids-detail-card--style {
    border-top-width: 5px;
    border-top-color: var(--ice-teal);
}

.kids-detail-card--place {
    border-top-width: 5px;
    border-top-color: var(--wasatch-teal);
}

.kids-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 2rem;
    padding: 0 0.65rem;
    margin-bottom: 0.85rem;
    background: var(--deep-navy);
    color: var(--bone-ivory);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
}

.kids-detail-card h2 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.kids-detail-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.kids-detail-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.kids-about-grid {
    display: grid;
    gap: 1.25rem;
}

.kids-about-card {
    background: var(--surface-elevated);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.kids-about-card p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.kids-about-card p:last-child {
    margin-bottom: 0;
}

.kids-about-card--accent {
    background: color-mix(in srgb, var(--class-kids) 12%, var(--surface-elevated));
    box-shadow: var(--shadow-sticker);
}

.kids-about-lead {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.kids-about-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.kids-about-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-shadow);
    line-height: 1.45;
}

.kids-about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 8px;
    height: 8px;
    background: var(--mars-clay);
    border-radius: 50%;
    border: 2px solid var(--deep-navy);
}

.kids-about-cta {
    width: 100%;
}

.kids-facility {
    background:
        radial-gradient(ellipse 60% 50% at 0% 50%, rgba(119, 162, 176, 0.14) 0%, transparent 60%),
        var(--bone-ivory-dark);
    border: 2px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.kids-facility-inner {
    max-width: 52rem;
}

.kids-facility-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.kids-facility-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.kids-facility-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--wasatch-teal);
    color: var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    border: 2px solid var(--deep-navy);
}

.kids-cta-band {
    background: var(--deep-navy);
    border: 3px solid var(--deep-navy);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    box-shadow: 6px 6px 0 var(--mars-clay);
    position: relative;
    overflow: hidden;
}

.kids-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(209, 109, 76, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.kids-cta-band-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.kids-cta-band h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4.5vw, 2.1rem);
    font-weight: 800;
    color: var(--bone-ivory);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-wrap: balance;
}

.kids-cta-band p {
    color: rgba(246, 243, 228, 0.82);
    font-size: 1rem;
    max-width: 48ch;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
}

.kids-cta-band-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.kids-cta-band-actions .btn {
    width: 100%;
    max-width: 320px;
}

.kids-cta-pricing {
    font-size: 0.88rem;
    color: rgba(246, 243, 228, 0.65);
}

.kids-cta-pricing a {
    color: var(--desert-highlight);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-nav a.nav-kids.is-current {
    background: color-mix(in srgb, var(--class-kids) 35%, var(--ice-teal));
    border: 2px solid var(--deep-navy);
}

@media (min-width: 640px) {
    .kids-detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .kids-cta-band-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .kids-cta-band-actions .btn {
        width: auto;
        flex: 0 1 auto;
    }
}

@media (min-width: 768px) {
    .kids-page-hero {
        padding: calc(var(--header-height) + 3rem) 2rem 3rem;
    }

    .kids-page {
        padding: 2.5rem 2rem 5rem;
    }

    .kids-about-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }

    .kids-facility {
        padding: 2.5rem 2rem;
    }
}

/* Custom brand cursor (pulsar arrow)
   SVG for Chrome/Firefox/Edge, PNG fallback for Safari (no SVG-cursor support),
   then a keyword fallback. Hotspot (6,4) sits on the arrow tip.
   Scoped to real-mouse devices so touch screens are unaffected. */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: url('../cursor-pulsar-color/cursor-32.svg') 6 4,
                url('../cursor-pulsar-color/cursor-32.png') 6 4,
                auto;
    }

    a,
    button,
    .btn,
    label,
    select,
    summary,
    [role="button"],
    [data-open-trial],
    .nav-toggle,
    .schedule-filter-pill,
    .schedule-filter-chip {
        cursor: url('../cursor-pulsar-color/cursor-32.svg') 6 4,
                url('../cursor-pulsar-color/cursor-32.png') 6 4,
                pointer;
    }

    /* Keep the text I-beam where people actually type */
    input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
    textarea {
        cursor: text;
    }
}
