@import url('/announcements.css');
/* Base Variables */
:root {
    --color-bg: #F7F4EF;
    /* Soft Ivory */
    --color-bg-alt: #E9E1D6;
    /* Natural Linen */
    --color-surface: #D9D0C6;
    /* Warm Stone */
    --color-primary: #171717;
    /* Midnight Black */
    --color-secondary: #B39463;
    /* Antique Brass */
    --color-rose: #CFA5AE;
    /* Dusty Rose */
    --color-text: #171717;
    --color-text-muted: #7A7266;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s ease;
}

/* Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-gutter: stable;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

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

/* Typography */
h1,
h2,
h3,
h4,
.brand {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 2rem;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    position: relative;
}

.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 30px;
    height: 1px;
    background-color: var(--color-secondary);
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-bg);
    border: none;
    box-shadow: 0 10px 20px -5px rgba(23, 23, 23, 0.3);
}

.btn-primary:hover {
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(23, 23, 23, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Stage Curtain Loading Screen */
.stage-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    overflow: hidden;
    pointer-events: none;
    /* Allows clicks to pass through after animation just in case */
}

.curtain {
    width: 50%;
    height: 100%;
    background-color: #1a0815;
    /* Deep purple curtain */
    position: relative;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.95);
    background-image: repeating-linear-gradient(to right, transparent, transparent 10%, rgba(0, 0, 0, 0.5) 15%, transparent 20%);
    pointer-events: auto;
    /* Catch clicks while active */
}

.spotlight {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 244, 222, 0.30) 0%, rgba(255, 244, 222, 0.14) 28%, rgba(255, 244, 222, 0) 65%);
    top: -400px;
    /* Offset to center */
    left: -400px;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    /* Starts hidden */
}

@media screen and (max-width: 768px) {
    .spotlight {
        width: 500px;
        height: 500px;
        top: -250px;
        left: -250px;
        background: radial-gradient(circle, rgba(255, 244, 222, 0.32) 0%, rgba(255, 244, 222, 0.16) 28%, rgba(255, 244, 222, 0) 65%);
    }
}

.curtain-left {
    transform-origin: left;
    border-right: 2px solid rgba(0, 0, 0, 0.8);
}

.curtain-right {
    transform-origin: right;
    border-left: 2px solid rgba(0, 0, 0, 0.8);
}

.curtain-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
    display: grid;
    justify-items: center;
    gap: 1rem;
    width: min(34rem, calc(100vw - 3rem));
    text-align: center;
}

.loading-logo {
    width: 220px;
    opacity: 0;
    filter: invert(1) brightness(2) drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.loading-brand-name {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.5;
    text-transform: uppercase;
    opacity: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    .curtain-logo-container {
        gap: 0.75rem;
    }

    .loading-logo {
        width: 180px;
    }

    .loading-brand-name {
        font-size: 0.66rem;
        letter-spacing: 0.16em;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background-color: rgba(247, 244, 239, 0.75);
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(247, 244, 239, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(23, 23, 23, 0.08);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1180px) {
    .nav-links {
        gap: 1.35rem;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .nav-links .btn-primary {
        padding: 0.85rem 1.5rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: block;
    position: absolute;
    background-color: var(--color-bg);
    min-width: 250px;
    box-shadow: 0 18px 38px rgba(23, 23, 23, 0.18);
    z-index: 1000;
    list-style: none;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border-radius: 4px;
    border-top: 2px solid var(--color-primary);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.985);
    transform-origin: top left;
    transition:
        opacity 0.22s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.32s;
}

.dropdown-content li {
    padding: 0;
}

.dropdown-content li a {
    color: var(--color-text);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
    font-size: 0.85rem;
    white-space: nowrap;
}

.dropdown-content li a:hover {
    background-color: var(--color-primary);
    color: white;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.open > .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.dropdown-content .portal-menu-item {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(183, 148, 90, 0.3);
}

.dropdown-content .portal-menu-item a {
    color: var(--color-primary);
    font-weight: 600;
}

.dropdown-content .portal-menu-item a::after {
    content: "  →";
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-alt);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: circle(0% at 90% 10%);
    transition: clip-path 0.8s ease-in-out;
}

.mobile-menu.active {
    clip-path: circle(150% at 90% 10%);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

/* Generic Page Content Styling */
.page-content {
    padding: 12rem 0 6rem;
    background-color: var(--color-bg);
    min-height: 80vh;
}

.page-content .container {
    max-width: 800px;
}

.page-content-header {
    text-align: center;
    margin-bottom: 4rem;
}

.text-content h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.text-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.mobile-menu a {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 1.5rem 0;
}

.mobile-menu .dropdown {
    display: block;
}

.mobile-menu .dropdown-content {
    position: relative;
    background-color: transparent;
    box-shadow: none;
    border: none;
    min-width: auto;
    padding-top: 0;
    top: auto;
    left: auto;
    display: block;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
        max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        transform 0.35s ease,
        visibility 0s linear 0.55s;
}

.mobile-menu .dropdown:hover .dropdown-content,
.mobile-menu .dropdown:focus-within .dropdown-content,
.mobile-menu .dropdown.open > .dropdown-content {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .dropdown-content,
    .mobile-menu .dropdown-content {
        transition-duration: 0.01ms;
    }
}

.mobile-menu .dropdown-content li a {
    font-size: 1.5rem;
    padding: 0.5rem 0;
    margin: 0;
    text-align: center;
    white-space: normal;
    font-family: var(--font-body);
    font-weight: 300;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: inset(0);
}

.hero-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero + .about {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.05) translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    /* reduced scale slightly */
}

.hero-video {
    display: block;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0.15), rgba(23, 23, 23, 0.5));
}

.hero-content {
    position: absolute;
    bottom: 10%;
    left: 5%;
    z-index: 10;
    text-align: left;
    max-width: 800px;
    padding: 0;
}

.hero-subtitle {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 0;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    text-transform: lowercase;
    color: #fff;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    line-height: 1;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
}

.hero-title .italic {
    font-style: italic;
    color: var(--color-secondary);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    opacity: 0;
}

.hero-buttons {
    opacity: 0;
}

.hero-buttons .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--color-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0;
    color: #fff;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    animation: scroll 2s infinite ease-in-out;
}

@keyframes scroll {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 6rem;
    align-items: center;
}

.about-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    font-weight: 500;
}

.link-arrow svg {
    transition: transform var(--transition-fast);
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

.image-reveal {
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.image-reveal img {
    transform: scale(1.2);
    width: 100%;
}

/* School / Programs Section */
.school {
    padding: 8rem 0;
    background-color: var(--color-bg-alt);
    position: relative;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.program-card {
    background-color: var(--color-bg);
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(23, 23, 23, 0.12);
    border-color: rgba(23, 23, 23, 0.15);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.program-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.card-content p {
    color: var(--color-text-muted);
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: 10rem 0;
    clip-path: inset(0);
}

.quote-fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./images/ROB08162.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    /* Optional: transform3d helps avoid repaints on mobile */
    transform: translate3d(0, 0, 0);
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0.55;
    z-index: 0;
}

.quote-content {
    position: relative;
    z-index: 10;
}

.large-quote {
    font-size: clamp(2.25rem, 4vw, 3.8rem);
    font-style: italic;
    color: #fff;
    margin-bottom: 2rem;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .large-quote {
        font-size: clamp(2rem, 8vw, 3rem);
        white-space: normal;
    }
}

.quote-divider {
    width: 50px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: 0 auto 2rem;
}

.quote-content p {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* Gallery Marquee */
.gallery {
    padding: 8rem 0;
    overflow: hidden;
}

.gallery-marquee {
    display: flex;
    width: max-content;
    margin-top: 4rem;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
    animation: marquee 60s linear infinite;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.marquee-track img {
    height: 400px;
    width: auto;
    border-radius: 10px;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.5s ease;
}

.marquee-track img:hover {
    transform: translateZ(0) scale(1.02);
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Contact Page */
.contact-header {
    padding: 12rem 0 6rem;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.contact-content {
    padding: 6rem 0 10rem;
    background-color: var(--color-bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.contact-form-large {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-large input,
.contact-form-large textarea {
    width: 100%;
    padding: 1.2rem;
    background-color: #fff;
    border: 1px solid var(--color-bg-alt);
    border-radius: 5px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.contact-form-large input:focus,
.contact-form-large textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.contact-form-large button {
    align-self: flex-start;
    padding: 1rem 3rem;
}

@media screen and (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: rgba(247, 244, 239, 0.7);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 1rem;
}

.footer-logo {
    width: 200px;
    height: auto;
    display: block;
    filter: invert(1) brightness(2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(247, 244, 239, 0.7);
}

.footer-contact p {
    color: rgba(247, 244, 239, 0.7);
    margin-bottom: 0.5rem;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.btn-submit {
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    background-color: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.btn-submit:hover {
    background-color: var(--color-rose);
    color: var(--color-primary);
}

.sponsor-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    color: rgba(247, 244, 239, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin-top: 0.75rem;
}

.footer-legal a {
    color: rgba(247, 244, 239, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-legal a:hover,
.footer-legal a[aria-current="page"] {
    color: var(--color-secondary);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-subtitle {
        font-size: clamp(0.7rem, 2.6vw, 0.95rem);
        letter-spacing: 0.07em;
        white-space: nowrap;
    }

    .hamburger {
        display: block;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .marquee-track {
        animation: marquee 20s linear infinite;
    }

    .marquee-track img {
        height: 250px;
    }

    .scroll-indicator {
        display: none !important;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Full Page Gallery Layout */
.photo-gallery {
    padding: 12rem 0 6rem;
    min-height: 80vh;
    background-color: var(--color-bg);
}

.photo-gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.photo-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.photo-grid img {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.photo-grid img:hover {
    transform: scale(1.03);
}

@media screen and (max-width: 1024px) {
    .photo-grid {
        column-count: 2;
    }
}

@media screen and (max-width: 600px) {
    .photo-grid {
        column-count: 1;
    }
}

/* Dress Code Page */
.outfit-guide-intro {
    margin: 0 0 2rem;
    color: #615a50;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 48rem;
}

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

.outfit-card {
    overflow: hidden;
    border: 2px solid rgba(121, 97, 61, 0.76);
    border-radius: 1rem;
    background: #fffcf8;
}

.outfit-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--color-bg);
}

.outfit-card-content {
    padding: clamp(1.25rem, 2vw, 2rem);
}

.outfit-card h3 {
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

.outfit-card dl > div + div {
    margin-top: 1.15rem;
}

.outfit-card dt {
    color: #79613d;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.outfit-card dd {
    color: #615a50;
    font-size: 1rem;
    line-height: 1.65;
}

@media screen and (max-width: 600px) {
    .outfit-guide { grid-template-columns: 1fr; }
    .outfit-card-content { padding: 1.5rem; }
}

.dress-code-page {
    background: var(--color-bg);
}

.dress-code-hero {
    position: relative;
    overflow: hidden;
    padding: 11rem 0 5.5rem;
    background:
        radial-gradient(circle at 82% 36%, rgba(207, 165, 174, 0.24), transparent 24rem),
        linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 68%);
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.dress-code-hero::after {
    content: '';
    position: absolute;
    right: 5%;
    bottom: -9rem;
    width: 19rem;
    height: 19rem;
    border: 1px solid rgba(179, 148, 99, 0.32);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(179, 148, 99, 0.07), 0 0 0 6rem rgba(179, 148, 99, 0.04);
}

.dress-code-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 4rem;
    max-width: 1180px;
}

.dress-code-back {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    margin-bottom: 3.5rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dress-code-back span {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.dress-code-hero .section-title {
    margin-bottom: 1.25rem;
    font-size: clamp(4rem, 9vw, 7.75rem);
    line-height: 0.9;
}

.dress-code-deck {
    max-width: 720px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-style: italic;
    line-height: 1.55;
}

.dress-code-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 9.5rem;
    height: 9.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--color-secondary);
    border-radius: 50%;
    background: rgba(247, 244, 239, 0.8);
    color: var(--color-secondary);
}

.dress-code-year span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.dress-code-year strong {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.dress-code-content {
    padding: 7rem 0 9rem;
}

.dress-code-layout {
    display: grid;
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    max-width: 1400px;
}

.dress-code-intro {
    align-self: start;
    position: sticky;
    top: 8rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--color-secondary);
}

.dress-code-kicker {
    margin-bottom: 0.65rem;
    color: var(--color-secondary);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dress-code-intro h2,
.dress-code-section h2 {
    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.dress-code-intro > p:not(.dress-code-kicker),
.dress-code-section > p,
.policy-card p {
    margin-top: 1.25rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.studio-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--color-bg-alt);
}

.studio-note-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.studio-note p {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.55;
}

.dress-code-main {
    min-width: 0;
}

.dress-code-section {
    padding: 0 0 4.5rem;
    margin-bottom: 4.5rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.12);
}

.dress-code-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.dress-code-section-heading > span {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(179, 148, 99, 0.55);
    border-radius: 50%;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.dress-code-section-heading .dress-code-kicker {
    margin-top: 0.1rem;
}

.dress-code-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(23, 23, 23, 0.13);
    border-radius: 0.9rem;
    box-shadow: 0 18px 45px rgba(23, 23, 23, 0.06);
}

.dress-code-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.dress-code-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dress-code-table th,
.dress-code-table td {
    padding: 1.35rem 1.15rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.09);
    color: var(--color-text-muted);
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
    line-height: 1.55;
}

.dress-code-table thead th {
    background: var(--color-primary);
    color: var(--color-bg);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dress-code-table tbody th {
    width: 19%;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.dress-code-table tbody tr:nth-child(even) {
    background: rgba(233, 225, 214, 0.34);
}

.dress-code-table tbody tr:last-child th,
.dress-code-table tbody tr:last-child td {
    border-bottom: 0;
}

.table-continuation {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-style: italic;
}

.pointe-policy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
    padding: 3rem;
    border: 2px solid rgba(179, 148, 99, 0.7);
    border-radius: 1rem;
    background: var(--color-primary);
    color: var(--color-bg);
}

.pointe-policy::after {
    content: '';
    position: absolute;
    right: -4rem;
    bottom: -5rem;
    width: 12rem;
    height: 12rem;
    border: 1px solid rgba(207, 165, 174, 0.32);
    border-radius: 50%;
}

.pointe-policy .pointe-policy-copy,
.pointe-policy .pointe-shoes-example {
    position: relative;
    z-index: 1;
}

.pointe-policy .dress-code-section-heading > span {
    border-color: rgba(247, 244, 239, 0.35);
    color: var(--color-rose);
}

.pointe-policy .dress-code-kicker {
    color: var(--color-rose);
}

.pointe-policy h2,
.pointe-policy-copy > p {
    color: var(--color-bg);
}

.pointe-policy .policy-emphasis {
    margin-top: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-style: italic;
    line-height: 1.15;
}

.pointe-policy-copy > p:last-child {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.pointe-shoes-example,
.warmup-example {
    margin: 0;
}

.pointe-shoes-example img,
.warmup-example img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.65rem;
}

.pointe-shoes-example figcaption {
    margin-top: 0.75rem;
    color: rgba(247, 244, 239, 0.76);
    font-size: 0.82rem;
    line-height: 1.55;
}

.warmup-example {
    margin-bottom: 1.5rem;
}

.warmup-example figcaption {
    margin-top: 0.65rem;
    color: #615a50;
    font-size: 0.875rem;
    line-height: 1.6;
}

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

.policy-card {
    margin: 0;
    padding: 2.25rem;
    border: 2px solid rgba(121, 97, 61, 0.76);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.48);
}

.policy-card .dress-code-section-heading {
    margin-bottom: 1.5rem;
}

.policy-card h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.policy-card p {
    margin-top: 1rem;
}

.policy-card .parent-note {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-left: 2px solid var(--color-rose);
    background: rgba(207, 165, 174, 0.13);
    color: var(--color-primary);
}

.hair-example {
    margin: 0 0 1.5rem;
}

.hair-example img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 0.5rem;
}

.hair-example figcaption {
    margin-top: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #615a50;
}

.dress-code-closing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(23, 23, 23, 0.12);
}

.dress-code-closing img {
    width: 3.25rem;
    opacity: 0.6;
}

.dress-code-closing p {
    max-width: 620px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.5;
}

@media screen and (max-width: 900px) {
    .pointe-policy {
        grid-template-columns: 1fr;
    }

    .pointe-shoes-example {
        max-width: 34rem;
    }

    .dress-code-hero-inner,
    .dress-code-layout {
        grid-template-columns: 1fr;
    }

    .dress-code-hero-inner {
        gap: 2rem;
    }

    .dress-code-year {
        width: 7.5rem;
        height: 7.5rem;
    }

    .dress-code-year strong {
        font-size: 1.8rem;
    }

    .dress-code-intro {
        position: static;
        max-width: 720px;
    }
}

@media screen and (max-width: 680px) {
    .dress-code-hero {
        padding: 9rem 0 4rem;
    }

    .dress-code-hero::after {
        opacity: 0.55;
    }

    .dress-code-back {
        margin-bottom: 2.5rem;
    }

    .dress-code-hero .section-title {
        font-size: clamp(3.5rem, 18vw, 5.25rem);
    }

    .dress-code-year {
        display: none;
    }

    .dress-code-content {
        padding: 4.5rem 0 6rem;
    }

    .dress-code-layout {
        gap: 4rem;
    }

    .dress-code-intro {
        padding-left: 1.15rem;
    }

    .dress-code-section {
        padding-bottom: 3.5rem;
        margin-bottom: 3.5rem;
    }

    .dress-code-section-heading {
        gap: 0.9rem;
    }

    .dress-code-section-heading > span {
        width: 2.3rem;
        height: 2.3rem;
    }

    .dress-code-table-wrap {
        margin-right: -5vw;
        border-radius: 0.75rem 0 0 0.75rem;
    }

    .pointe-policy {
        padding: 2rem;
    }

    .dress-code-policy-grid {
        grid-template-columns: 1fr;
    }

    .policy-card {
        padding: 1.75rem;
    }

    .dress-code-closing {
        align-items: flex-start;
    }
}

/* History Page */
.history-page {
    background: var(--color-bg);
}

.history-hero {
    position: relative;
    min-height: 760px;
    padding: 11rem 0 6rem;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(207, 165, 174, 0.22), transparent 38%),
        var(--color-bg-alt);
}

.history-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(179, 148, 99, 0.22) 0.7px, transparent 0.7px);
    background-size: 14px 14px;
    mask-image: linear-gradient(to right, black, transparent 50%);
    pointer-events: none;
}

.history-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);
}

.history-back {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    margin-bottom: 3.5rem;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.history-back span {
    color: var(--color-secondary);
    font-size: 1.15rem;
}

.history-hero-copy h1 {
    max-width: 760px;
    margin-bottom: 2rem;
    font-size: clamp(2.8rem, 4.6vw, 5.15rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.history-hero-copy > p {
    max-width: 660px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.65;
}

.history-hero-image {
    position: relative;
    align-self: stretch;
    min-height: 540px;
    margin: 0;
    overflow: hidden;
    border-radius: 10rem 10rem 0 0;
    box-shadow: 0 36px 70px rgba(23, 23, 23, 0.18);
}

.history-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 23, 23, 0.72), transparent 45%);
    pointer-events: none;
}

.history-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-hero-image-poster {
    width: min(100%, 520px);
    min-height: 0;
    aspect-ratio: 1429 / 2048;
    justify-self: end;
}

.history-hero-image-poster img {
    object-position: center;
}

.history-hero-image figcaption {
    position: absolute;
    z-index: 1;
    right: 2rem;
    bottom: 1.6rem;
    left: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.history-year-mark {
    position: absolute;
    right: -0.03em;
    bottom: -0.18em;
    color: rgba(179, 148, 99, 0.13);
    font-family: var(--font-heading);
    font-size: clamp(10rem, 22vw, 24rem);
    line-height: 1;
    user-select: none;
}

.history-story {
    padding: 9rem 0;
}

.history-story-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(4rem, 9vw, 10rem);
    align-items: start;
}

.history-story-intro {
    position: sticky;
    top: 9rem;
}

.history-kicker {
    margin-bottom: 0.9rem;
    color: var(--color-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.history-story-intro h2,
.history-today h2 {
    margin-bottom: 1.7rem;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.08;
}

.history-story-intro > p:last-child {
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

.history-timeline {
    position: relative;
    padding-left: 3rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 0;
    width: 1px;
    background: linear-gradient(var(--color-secondary), rgba(179, 148, 99, 0.18));
}

.history-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 2rem;
    padding: 1rem 0 5rem;
}

.history-milestone::before {
    content: '';
    position: absolute;
    top: 1.3rem;
    left: calc(-3rem - 5px);
    width: 11px;
    height: 11px;
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 0 1px var(--color-secondary);
}

.history-date {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.3;
}

.history-milestone-copy {
    max-width: 720px;
}

.history-milestone-copy h3 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.12;
}

.history-milestone-copy p:not(.history-kicker) {
    margin-bottom: 1.15rem;
    color: var(--color-text-muted);
    font-size: 1.06rem;
    line-height: 1.85;
}

.history-milestone-copy strong {
    color: var(--color-text);
    font-weight: 600;
}

.history-milestone-photo {
    margin-top: 2rem;
}

.history-milestone-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(179, 148, 99, 0.38);
    border-radius: 4.5rem 4.5rem 0 0;
    box-shadow: 0 1.5rem 3rem rgba(35, 28, 30, 0.12);
}

.history-milestone-photo figcaption {
    padding-top: 0.9rem;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-style: italic;
}

.history-milestone-featured .history-milestone-copy {
    padding: 2.3rem;
    border: 1px solid rgba(179, 148, 99, 0.5);
    background: rgba(233, 225, 214, 0.48);
}

.history-photo-break {
    position: relative;
    margin: 0 0 5rem;
}

.history-photo-break img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 38%;
}

.history-photo-break-tall img {
    aspect-ratio: 2048 / 1957;
    object-position: center;
}

.history-photo-break figcaption {
    padding-top: 0.9rem;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-style: italic;
}

.history-today {
    padding: 8rem 0;
    color: var(--color-bg);
    background: var(--color-primary);
}

.history-today-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(4rem, 9vw, 10rem);
}

.history-today h2 {
    color: var(--color-bg);
}

.history-today-copy {
    padding-top: 2rem;
}

.history-today-copy p {
    margin-bottom: 1.5rem;
    color: rgba(247, 244, 239, 0.72);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.7;
}

.history-closing {
    padding: 9rem 0;
    text-align: center;
    background:
        radial-gradient(circle at 50% 15%, rgba(207, 165, 174, 0.22), transparent 38%),
        var(--color-bg);
}

.history-closing-inner {
    max-width: 980px;
}

.history-closing img {
    width: 76px;
    margin: 0 auto 2.5rem;
    opacity: 0.72;
}

.history-closing blockquote {
    margin-bottom: 2.2rem;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 4.1rem);
    line-height: 1.28;
}

.history-closing p {
    max-width: 760px;
    margin: 0 auto 2.8rem;
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

@media screen and (max-width: 980px) {
    .history-hero-grid,
    .history-story-layout,
    .history-today-grid {
        grid-template-columns: 1fr;
    }

    .history-hero-image {
        min-height: 560px;
        max-height: 720px;
    }

    .history-hero-image-poster {
        width: min(100%, 520px);
        min-height: 0;
        max-height: none;
        justify-self: center;
    }

    .history-story-intro {
        position: static;
        max-width: 720px;
    }

    .history-today-copy {
        padding-top: 0;
    }
}

@media screen and (max-width: 680px) {
    .history-hero {
        min-height: auto;
        padding: 8.5rem 0 4rem;
    }

    .history-back {
        margin-bottom: 2.3rem;
    }

    .history-hero-copy h1 {
        font-size: clamp(2.65rem, 11.5vw, 3.9rem);
    }

    .history-hero-image {
        min-height: 430px;
        border-radius: 7rem 7rem 0 0;
    }

    .history-hero-image-poster {
        min-height: 0;
    }

    .history-story,
    .history-today,
    .history-closing {
        padding: 5rem 0;
    }

    .history-timeline {
        padding-left: 1.5rem;
    }

    .history-milestone {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 4rem;
    }

    .history-milestone::before {
        left: calc(-1.5rem - 5px);
    }

    .history-milestone-featured .history-milestone-copy {
        padding: 1.5rem;
    }

    .history-photo-break {
        margin-bottom: 4rem;
    }

    .history-milestone-photo img {
        border-radius: 2.75rem 2.75rem 0 0;
    }
}

/* Shared Editorial Page Headers */
.editorial-hero {
    position: relative;
    min-height: 590px;
    padding: 11rem 0 6rem;
    overflow: hidden;
    color: var(--color-bg);
    background:
        radial-gradient(circle at 82% 24%, rgba(207, 165, 174, 0.24), transparent 28%),
        linear-gradient(135deg, #171717 0%, #261c23 100%);
}

.editorial-hero::after {
    content: '';
    position: absolute;
    right: -9rem;
    bottom: -18rem;
    width: 40rem;
    height: 40rem;
    border: 1px solid rgba(179, 148, 99, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(179, 148, 99, 0.035), 0 0 0 10rem rgba(179, 148, 99, 0.025);
}

.editorial-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
}

.editorial-hero-back {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    margin-bottom: 3.2rem;
    color: rgba(247, 244, 239, 0.62);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.editorial-hero-back span {
    color: var(--color-secondary);
    font-size: 1.15rem;
}

.editorial-hero .section-tag {
    color: var(--color-secondary);
}

.editorial-hero-copy h1 {
    margin-bottom: 1.7rem;
    color: var(--color-bg);
    font-size: clamp(4rem, 8vw, 7.5rem);
    line-height: 0.88;
    letter-spacing: -0.045em;
}

.editorial-hero-copy h1 em {
    color: var(--color-rose);
    font-weight: 400;
}

.editorial-hero-copy > p {
    max-width: 700px;
    color: rgba(247, 244, 239, 0.7);
    font-size: 1.08rem;
    line-height: 1.8;
}

.editorial-hero-mark {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    padding-bottom: 1rem;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    line-height: 1;
    text-transform: capitalize;
}

.editorial-hero-mark i {
    display: block;
    flex: 0 0 3rem;
    width: 3rem;
    height: 1px;
    background: rgba(179, 148, 99, 0.65);
}

.page-content-after-hero {
    padding-top: 6rem;
}

.photo-gallery-after-hero {
    padding-top: 6rem;
}

@media screen and (max-width: 980px) {
    .editorial-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .editorial-hero-mark {
        min-width: 0;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 560px) {
    .editorial-hero {
        min-height: auto;
        padding: 8.5rem 0 4rem;
    }

    .editorial-hero-back {
        margin-bottom: 2.2rem;
    }

    .editorial-hero-copy h1 {
        font-size: clamp(3.4rem, 17vw, 5rem);
    }

    .editorial-hero-mark {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    .editorial-hero-mark i {
        flex-basis: 2rem;
        width: 2rem;
    }

    .page-content-after-hero,
    .photo-gallery-after-hero {
        padding-top: 4.5rem;
    }
}

/* Class Offerings Page */
.classes-page {
    background: var(--color-bg);
}

.offerings-intro,
.offerings-section {
    padding: 7.5rem 0;
}

.offerings-intro {
    padding-top: 6rem;
    background: var(--color-bg);
}

.offerings-intro-copy,
.offerings-group-heading-wide,
.offerings-support-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
}

.offerings-kicker {
    margin-bottom: 0.8rem;
    color: var(--color-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.offerings-intro-copy h2,
.offerings-group-heading h2,
.offerings-support h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.04;
}

.offerings-intro-copy > p,
.offerings-group-heading > p,
.offerings-group-heading-wide > p {
    color: var(--color-text-muted);
    font-size: 1.06rem;
    line-height: 1.85;
}

.offerings-section-first {
    background: var(--color-bg-alt);
}

.offerings-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.offerings-portrait {
    position: sticky;
    top: 7rem;
}

.offerings-portrait img {
    width: 100%;
    max-height: 820px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(179, 148, 99, 0.42);
    border-radius: 8rem 8rem 0 0;
    box-shadow: 0 24px 48px rgba(35, 28, 30, 0.12);
}

.offerings-group-heading {
    margin-bottom: 3.25rem;
}

.offerings-group-heading h2 {
    margin-bottom: 1.3rem;
}

.offerings-group-heading-wide {
    margin-bottom: 4rem;
}

.offerings-group-heading-wide h2 {
    margin-bottom: 0;
}

.offering-card-grid {
    display: grid;
    gap: 1.25rem;
}

.offering-card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.class-offering-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    border: 1px solid rgba(23, 23, 23, 0.14);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 32px rgba(35, 28, 30, 0.055);
}

.offering-card-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.offering-card-title > span {
    display: grid;
    flex: 0 0 2.45rem;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    border: 1px solid rgba(179, 148, 99, 0.72);
    border-radius: 50%;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-style: italic;
}

.offering-card-title p {
    margin-bottom: 0.3rem;
    color: var(--color-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.offering-card-title h3 {
    font-size: clamp(1.55rem, 2.1vw, 2.2rem);
    line-height: 1.12;
}

.class-offering-card > p {
    margin: 1.45rem 0 1.6rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.offering-details {
    display: grid;
    gap: 0.85rem;
    margin-top: auto;
    padding: 1.15rem 0 1.4rem;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.offering-details div {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 1rem;
}

.offering-details dt {
    color: var(--color-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.offering-details dd {
    color: var(--color-text);
    font-size: 0.86rem;
    line-height: 1.5;
}

.offering-detail-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.offering-detail-link:hover,
.offering-detail-link:focus-visible {
    color: var(--color-text);
}

.offering-enroll {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.95rem 1.1rem;
    color: var(--color-bg);
    background: var(--color-primary);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.25s ease;
}

.offering-enroll:hover,
.offering-enroll:focus-visible {
    color: var(--color-bg);
    background: var(--color-secondary);
    transform: translateY(-2px);
}

.offering-enroll span {
    font-size: 1rem;
}

.offerings-section-classical {
    background: var(--color-bg);
}

.offerings-photo-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.offerings-photo-pair img {
    width: 100%;
    height: clamp(300px, 34vw, 520px);
    object-fit: cover;
    border: 1px solid rgba(179, 148, 99, 0.38);
}

.offerings-photo-pair img:first-child {
    object-position: center 42%;
    border-radius: 6rem 0 0 0;
}

.offerings-photo-pair img:last-child {
    object-position: center;
    border-radius: 0 6rem 0 0;
}

.offerings-section-expanded {
    background: var(--color-bg-alt);
}

.offerings-expanded-photo {
    position: relative;
    width: 100vw;
    margin: 0 0 5rem calc(50% - 50vw);
    overflow: hidden;
}

.fixed-photo-window {
    height: 42vh;
    min-height: 0;
    clip-path: inset(0);
}

.offerings-fixed-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./images/class-modern-dancer.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
    transform: translate3d(0, 0, 0);
}

.offerings-support {
    padding: 5rem 0;
    color: var(--color-bg);
    background: var(--color-primary);
}

.offerings-support-inner {
    align-items: center;
}

.offerings-support h2 {
    max-width: 820px;
    color: var(--color-bg);
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.offerings-support .btn-primary {
    justify-self: end;
}

@media screen and (max-width: 1080px) {
    .offering-card-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .offerings-intro-copy,
    .offerings-group-heading-wide,
    .offerings-support-inner,
    .offerings-split {
        grid-template-columns: 1fr;
    }

    .offerings-portrait {
        position: static;
    }

    .offerings-portrait img {
        max-height: 620px;
        aspect-ratio: 4 / 3;
        object-position: center 38%;
        border-radius: 6rem 6rem 0 0;
    }

    .offerings-support .btn-primary {
        justify-self: start;
    }
}

@media screen and (max-width: 680px) {
    .offerings-intro,
    .offerings-section {
        padding: 4.75rem 0;
    }

    .offering-card-grid-two,
    .offering-card-grid-three,
    .offerings-photo-pair {
        grid-template-columns: 1fr;
    }

    .offerings-photo-pair img {
        height: 68vw;
        min-height: 280px;
    }

    .offerings-photo-pair img:first-child,
    .offerings-photo-pair img:last-child {
        border-radius: 3.5rem 3.5rem 0 0;
    }

    .offerings-group-heading,
    .offerings-group-heading-wide,
    .offerings-expanded-photo {
        margin-bottom: 3rem;
    }

    .fixed-photo-window {
        height: 38svh;
        min-height: 0;
    }

    .offerings-fixed-bg {
        background-position: center;
    }

    .offerings-support {
        padding: 4rem 0;
    }
}

/* Contact Page */
.contact-page {
    background: var(--color-bg);
}

.contact-hero .editorial-hero-copy h1 {
    max-width: 760px;
}

.contact-main {
    padding: clamp(5rem, 9vw, 9rem) 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(179, 148, 99, 0.16), transparent 27rem),
        #e9e2d9;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2.25rem, 6vw, 6rem);
    align-items: stretch;
}

.contact-studio-card {
    position: relative;
    min-height: 660px;
    padding: clamp(2.25rem, 4vw, 4.5rem);
    overflow: hidden;
    color: var(--color-bg);
    background: var(--color-primary);
}

.contact-studio-card::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(179, 148, 99, 0.36);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(179, 148, 99, 0.055), 0 0 0 7rem rgba(179, 148, 99, 0.035);
    pointer-events: none;
}

.contact-studio-number {
    position: absolute;
    top: -2.2rem;
    right: 1rem;
    color: rgba(179, 148, 99, 0.12);
    font-family: var(--font-heading);
    font-size: clamp(10rem, 20vw, 18rem);
    font-style: italic;
    line-height: 1;
    pointer-events: none;
}

.contact-studio-card .offerings-kicker,
.contact-studio-card h2,
.contact-studio-card address,
.contact-direct-links,
.contact-directions {
    position: relative;
    z-index: 1;
}

.contact-studio-card h2,
.contact-form-panel h2 {
    font-size: clamp(2.6rem, 4.5vw, 4.7rem);
    line-height: 1.04;
}

.contact-studio-card h2 {
    max-width: 500px;
    margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
    color: var(--color-bg);
    font-size: clamp(2.35rem, 3.8vw, 4rem);
}

.contact-studio-card address {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 2.3rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(247, 244, 239, 0.22);
    font-style: normal;
    line-height: 1.7;
}

.contact-studio-card address strong {
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
}

.contact-direct-links {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2.3rem;
}

.contact-direct-links a {
    color: var(--color-bg);
    font-size: 1rem;
}

.contact-direct-links a:hover,
.contact-direct-links a:focus-visible {
    color: var(--color-secondary);
}

.contact-direct-links span {
    display: inline-block;
    min-width: 4.6rem;
    color: var(--color-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-directions {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    background: linear-gradient(135deg, var(--color-secondary), #c7a874);
    box-shadow: none;
}

.contact-form-panel {
    padding: clamp(1rem, 2vw, 2rem) 0;
}

.contact-form-panel h2 {
    margin-bottom: 3rem;
}

.contact-form {
    display: grid;
    gap: 1.65rem;
}

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

.contact-form label {
    display: grid;
    gap: 0.65rem;
}

.contact-form label > span {
    color: var(--color-text);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form label small {
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(109, 92, 73, 0.28);
    border-radius: 3px;
    outline: 0;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 7px 18px rgba(50, 39, 33, 0.045);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input,
.contact-form select {
    min-height: 3.25rem;
    padding: 0 1rem;
}

.contact-form textarea {
    min-height: 10rem;
    padding: 1rem;
    resize: vertical;
}

.contact-form select {
    cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-secondary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(179, 148, 99, 0.2), 0 10px 24px rgba(50, 39, 33, 0.08);
}

.contact-form-submit {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.35rem;
}

.contact-form-submit button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2rem;
}

.contact-form-submit p {
    max-width: 340px;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.contact-form-status {
    min-height: 1.5rem;
    color: var(--color-secondary);
    font-size: 0.88rem;
}

.footer-contact-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--color-secondary);
}

@media screen and (max-width: 900px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-studio-card {
        min-height: auto;
    }

    .contact-studio-card h2 {
        max-width: 620px;
        margin-bottom: 4rem;
    }
}

@media screen and (max-width: 600px) {
    .contact-studio-card h2 {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.65rem);
        line-height: 1.08;
    }

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

    .contact-form-submit {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-form-submit button {
        justify-content: space-between;
        width: 100%;
    }

    .contact-studio-card {
        min-height: 630px;
    }
}

/* Performances Page */
.performances-page {
    background: var(--color-bg);
}

.performance-hero {
    position: relative;
    display: flex;
    min-height: min(900px, 100svh);
    align-items: flex-end;
    padding: 12rem 0 6.5rem;
    overflow: hidden;
    color: var(--color-bg);
    background: var(--color-primary);
}

.performance-hero > img,
.performance-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.performance-hero > img {
    object-fit: cover;
    object-position: center 48%;
}

.performance-hero-shade {
    background:
        linear-gradient(90deg, rgba(16, 13, 15, 0.92) 0%, rgba(16, 13, 15, 0.62) 43%, rgba(16, 13, 15, 0.12) 76%),
        linear-gradient(0deg, rgba(16, 13, 15, 0.68) 0%, transparent 55%);
}

.performance-hero-content {
    position: relative;
    z-index: 1;
}

.performance-hero-content .section-tag {
    color: var(--color-secondary);
}

.performance-hero-content h1 {
    max-width: 900px;
    margin-bottom: 1.6rem;
    color: var(--color-bg);
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.88;
}

.performance-hero-content h1 em {
    color: #d9a8b4;
    font-weight: 400;
}

.performance-hero-content > p:not(.section-tag) {
    max-width: 680px;
    margin-bottom: 2.2rem;
    color: rgba(247, 244, 239, 0.82);
    font-size: 1.06rem;
    line-height: 1.8;
}

.performance-hero-content .btn-primary,
.performance-box-office .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.performance-list {
    padding: clamp(5rem, 9vw, 9rem) 0;
}

.performance-list-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.performance-list-heading h2,
.performance-box-office h2 {
    font-size: clamp(2.9rem, 5.5vw, 5.6rem);
    line-height: 1.02;
}

.performance-list-heading > p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.performance-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    min-height: 650px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(23, 23, 23, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 54px rgba(35, 28, 30, 0.09);
}

.performance-card figure {
    min-height: 100%;
    overflow: hidden;
}

.performance-card figure img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center;
}

.performance-card-reverse figure {
    order: 2;
}

.performance-card-reverse {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
}

.performance-card-reverse .performance-card-copy {
    order: 1;
}

.performance-card-copy {
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 4.5vw, 4.75rem);
}

.performance-date {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    margin-bottom: auto;
    padding-bottom: 2.5rem;
    color: var(--color-secondary);
    border-bottom: 1px solid rgba(23, 23, 23, 0.12);
    font-family: var(--font-heading);
}

.performance-date span,
.performance-date small {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.performance-date strong {
    color: var(--color-text);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1;
}

.performance-card-title {
    margin-top: 2.5rem;
}

.performance-card-title h3 {
    margin-bottom: 1.4rem;
    font-size: clamp(2.6rem, 4vw, 4.3rem);
    line-height: 1;
}

.performance-card-copy > p {
    margin-bottom: 1.8rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.performance-times {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(23, 23, 23, 0.1);
    list-style: none;
}

.performance-times li {
    color: var(--color-text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.performance-ticket-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
    padding: 1.15rem 1.35rem;
    color: var(--color-bg);
    background: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.25s ease;
}

.performance-ticket-button:hover,
.performance-ticket-button:focus-visible {
    color: var(--color-bg);
    background: var(--color-secondary);
    transform: translateY(-2px);
}

.performance-box-office {
    padding: clamp(5rem, 8vw, 8rem) 0;
    color: var(--color-bg);
    background: var(--color-primary);
}

.performance-box-office-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.performance-box-office h2 {
    max-width: 650px;
    color: var(--color-bg);
}

.performance-box-office-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-content: start;
}

.performance-box-office-details p {
    color: rgba(247, 244, 239, 0.76);
    line-height: 1.8;
}

.performance-box-office-details strong {
    color: var(--color-secondary);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.performance-box-office-details a:not(.btn-primary) {
    color: var(--color-bg);
}

.performance-box-office-details .btn-primary {
    grid-column: 1 / -1;
    justify-self: start;
}

@media screen and (max-width: 900px) {
    .performance-list-heading,
    .performance-card,
    .performance-box-office-inner {
        grid-template-columns: 1fr;
    }

    .performance-card {
        min-height: 0;
    }

    .performance-card figure,
    .performance-card-reverse figure,
    .performance-card-reverse .performance-card-copy {
        order: initial;
    }

    .performance-card figure img {
        min-height: 0;
        height: min(68vw, 580px);
    }

    .performance-date {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    .performance-hero {
        min-height: 820px;
        padding: 11rem 0 5rem;
    }

    .performance-hero-shade {
        background: linear-gradient(0deg, rgba(16, 13, 15, 0.92) 0%, rgba(16, 13, 15, 0.4) 72%, rgba(16, 13, 15, 0.2) 100%);
    }

    .performance-hero-content h1 {
        font-size: clamp(3.7rem, 17vw, 5.5rem);
    }

    .performance-card figure img {
        height: 76vw;
        min-height: 310px;
    }

    .performance-box-office-details {
        grid-template-columns: 1fr;
    }

    .performance-box-office-details .btn-primary {
        grid-column: 1;
    }
}

/* 2026-2027 Schedule Page */
.schedule-page {
    background: var(--color-bg);
}

.schedule-hero {
    position: relative;
    min-height: 590px;
    padding: 11rem 0 6rem;
    overflow: hidden;
    color: var(--color-bg);
    background:
        radial-gradient(circle at 82% 24%, rgba(207, 165, 174, 0.24), transparent 28%),
        linear-gradient(135deg, #171717 0%, #261c23 100%);
}

.schedule-hero::after {
    content: '';
    position: absolute;
    right: -9rem;
    bottom: -18rem;
    width: 40rem;
    height: 40rem;
    border: 1px solid rgba(179, 148, 99, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(179, 148, 99, 0.035), 0 0 0 10rem rgba(179, 148, 99, 0.025);
}

.schedule-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
}

.schedule-back {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    margin-bottom: 3.2rem;
    color: rgba(247, 244, 239, 0.62);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.schedule-back span {
    color: var(--color-secondary);
    font-size: 1.15rem;
}

.schedule-hero .section-tag {
    color: var(--color-secondary);
}

.schedule-hero-copy h1 {
    margin-bottom: 1.7rem;
    color: var(--color-bg);
    font-size: clamp(4rem, 8vw, 7.5rem);
    line-height: 0.88;
    letter-spacing: -0.045em;
}

.schedule-hero-copy h1 em {
    color: var(--color-rose);
    font-weight: 400;
}

.schedule-hero-copy > p {
    max-width: 690px;
    color: rgba(247, 244, 239, 0.7);
    font-size: 1.08rem;
    line-height: 1.8;
}

.schedule-season-mark {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-width: 295px;
    padding-bottom: 1rem;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: clamp(4.4rem, 7vw, 7rem);
    line-height: 1;
}

.schedule-season-mark i {
    display: block;
    width: 4rem;
    height: 1px;
    background: rgba(179, 148, 99, 0.65);
}

.schedule-overview {
    padding: 6.5rem 0;
    background: var(--color-bg-alt);
}

.schedule-overview-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.schedule-kicker {
    margin-bottom: 0.7rem;
    color: var(--color-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.schedule-overview h2,
.schedule-calendar-heading h2 {
    font-size: clamp(2.5rem, 4.7vw, 4.8rem);
    line-height: 1.05;
}

.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1.25rem;
    max-width: 520px;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.schedule-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.legend-dot {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
}

.legend-school { background: #8a7551; }
.legend-performance { background: #9d5b6a; }
.legend-community { background: #716b82; }
.legend-closed { background: #767676; }

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

.schedule-highlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-height: 150px;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(23, 23, 23, 0.1);
    background: rgba(247, 244, 239, 0.82);
}

.schedule-highlight::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: var(--event-accent);
}

.highlight-school { --event-accent: #8a7551; }
.highlight-performance { --event-accent: #9d5b6a; }
.highlight-community { --event-accent: #716b82; }

.schedule-highlight time {
    display: flex;
    flex: 0 0 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    color: var(--color-bg);
    background: var(--color-primary);
}

.schedule-highlight time span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schedule-highlight time strong {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.1;
}

.schedule-highlight > div p {
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.25;
}

.schedule-highlight > div span {
    color: var(--color-text-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.schedule-calendar {
    padding: 8rem 0;
}

.schedule-calendar-heading {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.schedule-calendar-heading > p:last-child {
    margin-top: 1.3rem;
    color: var(--color-text-muted);
    font-size: 1.06rem;
}

.schedule-feature-photo {
    position: relative;
    z-index: 0;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin: 0 auto 5rem;
    transform: translateX(-50%);
    border-top: 1px solid rgba(179, 148, 99, 0.5);
    border-bottom: 1px solid rgba(179, 148, 99, 0.5);
    box-shadow: 0 24px 52px rgba(23, 23, 23, 0.14);
}

.schedule-feature-photo img {
    width: 100%;
    height: clamp(320px, 41vw, 650px);
    object-fit: cover;
    object-position: center 48%;
}

.schedule-semesters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.schedule-semester {
    display: grid;
    gap: 1.25rem;
}

.semester-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-height: 116px;
    padding: 1.5rem 1.7rem;
    color: var(--color-bg);
    background: var(--color-primary);
}

.semester-header > span {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(179, 148, 99, 0.65);
    color: var(--color-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.semester-header h3 {
    color: var(--color-bg);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.semester-header p {
    margin-top: 0.2rem;
    color: rgba(247, 244, 239, 0.55);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.month-card {
    border: 1px solid rgba(23, 23, 23, 0.12);
    background: #fff;
}

.month-card > header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
    background: rgba(233, 225, 214, 0.45);
}

.month-card > header span {
    color: var(--color-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.month-card h4 {
    font-size: 1.75rem;
}

.month-card ul {
    list-style: none;
}

.month-card li {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.5rem 1.15rem 1.75rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.month-card li:last-child {
    border-bottom: 0;
}

.month-card li::before {
    content: '';
    position: absolute;
    top: 1.35rem;
    bottom: 1.35rem;
    left: 0;
    width: 3px;
    background: var(--event-accent);
}

.event-school { --event-accent: #8a7551; }
.event-performance { --event-accent: #9d5b6a; }
.event-community { --event-accent: #716b82; }
.event-closed { --event-accent: #767676; }

.month-card time,
.event-tba {
    color: var(--event-accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.45;
}

.month-card li strong {
    display: block;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;
}

.month-card li div span {
    display: block;
    margin-top: 0.18rem;
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.month-card-featured {
    border-color: rgba(179, 148, 99, 0.55);
    box-shadow: 0 18px 36px rgba(23, 23, 23, 0.08);
}

.month-card-featured > header {
    background: rgba(207, 165, 174, 0.18);
}

.schedule-corner-photo {
    margin-top: 1rem;
    padding: 0.55rem;
    border: 1px solid rgba(179, 148, 99, 0.48);
    background: #fff;
    box-shadow: 0 18px 36px rgba(23, 23, 23, 0.1);
}

.schedule-corner-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.schedule-note {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 880px;
    margin: 5rem auto 0;
    padding: 2rem 2.25rem;
    border: 1px solid rgba(179, 148, 99, 0.48);
    background: var(--color-bg-alt);
}

.schedule-note img {
    width: 54px;
    opacity: 0.58;
}

.schedule-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--color-secondary);
    font-size: 0.73rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.schedule-note p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
}

@media screen and (max-width: 1080px) {
    .schedule-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-semesters {
        gap: 2rem;
    }
}

@media screen and (max-width: 820px) {
    .schedule-hero-inner,
    .schedule-overview-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .schedule-season-mark {
        min-width: 0;
        padding: 0;
    }

    .schedule-overview-heading {
        gap: 2rem;
    }

    .schedule-legend {
        justify-content: flex-start;
    }

    .schedule-semesters {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 560px) {
    .schedule-hero {
        min-height: auto;
        padding: 8.5rem 0 4rem;
    }

    .schedule-back {
        margin-bottom: 2.2rem;
    }

    .schedule-hero-copy h1 {
        font-size: clamp(3.4rem, 17vw, 5rem);
    }

    .schedule-overview,
    .schedule-calendar {
        padding: 4.5rem 0;
    }

    .schedule-highlights {
        grid-template-columns: 1fr;
    }

    .schedule-highlight {
        min-height: 128px;
    }

    .schedule-calendar-heading {
        margin-bottom: 3rem;
        text-align: left;
    }

    .schedule-feature-photo {
        margin-bottom: 3.5rem;
    }

    .schedule-feature-photo img {
        height: clamp(280px, 62vw, 430px);
    }

    .semester-header {
        padding: 1.25rem;
    }

    .month-card li {
        grid-template-columns: 68px minmax(0, 1fr);
        padding-right: 1rem;
        padding-left: 1.25rem;
    }

    .schedule-note {
        align-items: flex-start;
        padding: 1.5rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 5vh;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100000;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--color-secondary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 100000;
    user-select: none;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 1rem;
}

.lightbox-nav:hover {
    color: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media screen and (max-width: 600px) {
    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}

/* Policy and messaging disclosure pages */
.policy-page {
    background: #ede7de;
}

.policy-hero {
    padding: 11rem 0 5.5rem;
    background: linear-gradient(135deg, #e5ddd2 0%, #f7f4ef 58%, #e9e1d6 100%);
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.policy-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.7fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: end;
}

.policy-hero h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    letter-spacing: -0.045em;
}

.policy-hero h1 em {
    color: var(--color-secondary);
    font-weight: 400;
}

.policy-hero-inner > p {
    max-width: 34rem;
    padding-bottom: 0.75rem;
    color: #5e584f;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.8;
}

.policy-main {
    padding: 6rem 0 8rem;
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(13rem, 0.35fr) minmax(0, 1fr);
    gap: clamp(3rem, 9vw, 9rem);
    align-items: start;
}

.policy-aside {
    position: sticky;
    top: 8rem;
    padding: 2rem;
    border: 1px solid rgba(179, 148, 99, 0.55);
    background: rgba(247, 244, 239, 0.62);
}

.policy-aside span,
.policy-aside strong {
    display: block;
}

.policy-aside span {
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.policy-aside strong {
    margin: 0.3rem 0 2rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
}

.policy-aside p {
    margin-bottom: 0.3rem;
    color: var(--color-text-muted);
}

.policy-aside a,
.policy-copy a,
.demo-policies a {
    color: #775e38;
    text-decoration: underline;
    text-decoration-color: rgba(119, 94, 56, 0.35);
    text-underline-offset: 0.2em;
}

.policy-copy {
    max-width: 54rem;
}

.policy-copy section {
    padding: 0 0 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.12);
}

.policy-copy section:last-child {
    margin-bottom: 0;
}

.policy-copy h2,
.opt-in-steps h2,
.opt-in-form-demo h2 {
    margin-bottom: 1.15rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.025em;
}

.policy-copy p {
    margin-bottom: 1rem;
    color: #554f47;
    font-size: 1.05rem;
    line-height: 1.85;
}

.policy-copy .policy-callout {
    padding: clamp(2rem, 5vw, 4rem);
    color: #f7f4ef;
    background: var(--color-primary);
    border: 0;
}

.policy-callout > span {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.policy-callout p {
    color: rgba(247, 244, 239, 0.74);
}

.policy-footer {
    padding-top: 2rem;
}

.opt-in-main {
    background: #f7f4ef;
}

.opt-in-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(25rem, 1.2fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
}

.opt-in-steps > h2 {
    margin-bottom: 3rem;
}

.opt-in-steps ol {
    list-style: none;
}

.opt-in-steps li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(23, 23, 23, 0.12);
}

.opt-in-steps li > span {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
}

.opt-in-steps li strong {
    font-size: 1.05rem;
}

.opt-in-steps li p {
    margin-top: 0.35rem;
    color: var(--color-text-muted);
}

.opt-in-preview {
    box-shadow: 0 2rem 5rem rgba(23, 23, 23, 0.13);
}

.opt-in-preview-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    color: rgba(247, 244, 239, 0.8);
    background: var(--color-primary);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.opt-in-form-demo {
    padding: clamp(2rem, 5vw, 4rem);
    background: #fff;
}

.opt-in-form-demo > label:not(.demo-check) {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.opt-in-form-demo input[type="tel"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #bfb7ab;
    background: #fbfaf8;
    color: var(--color-primary);
    font: inherit;
}

.demo-note,
.demo-caption {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.demo-check {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: 0.8rem;
    margin: 1.7rem 0;
    color: #393630;
    font-size: 0.9rem;
    line-height: 1.65;
}

.demo-check input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    accent-color: var(--color-secondary);
}

.demo-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    margin-bottom: 1.5rem;
    font-size: 0.84rem;
}

.opt-in-form-demo button {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 0;
    color: #fff;
    background: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 1;
}

.demo-caption {
    margin-top: 1rem;
    text-align: center;
}

.opt-in-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(23, 23, 23, 0.12);
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

@media screen and (max-width: 900px) {
    .policy-hero-inner,
    .policy-layout,
    .opt-in-layout {
        grid-template-columns: 1fr;
    }

    .policy-aside {
        position: static;
    }
}

@media screen and (max-width: 600px) {
    .policy-hero {
        padding: 8.5rem 0 4rem;
    }

    .policy-main {
        padding: 4rem 0 5rem;
    }

    .policy-hero h1 {
        font-size: clamp(3.1rem, 16vw, 5rem);
    }

    .opt-in-preview-head,
    .opt-in-contact {
        align-items: flex-start;
        flex-direction: column;
    }
}
