@charset "UTF-8";

/* ==========================================================================
   1. DESIGN TOKENS (Variables)
   ========================================================================== */
:root {
    --brand-cyan: #00b2da;
    --brand-cyan-rgb: 0, 178, 218;
    --brand-magenta: #e50ba0;
    --brand-magenta-rgb: 229, 11, 160;
    --brand-yellow: #ffca45;
    --brand-yellow-rgb: 255, 202, 69;
    --brand-white: #f3f3f3;
    --brand-charcoal: #1c1c1c;

    --primary: var(--brand-cyan);
    --primary-dark: #009ebf;
    --secondary: var(--brand-magenta);
    --accent: var(--brand-yellow);
    --background: var(--brand-white);
    --surface: #ffffff;
    --on-surface: var(--brand-charcoal);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --elevation-1: 0 1px 2px 0 rgba(28, 28, 28, 0.08), 0 1px 3px 1px rgba(28, 28, 28, 0.04);
    --elevation-2: 0 1px 2px 0 rgba(28, 28, 28, 0.1), 0 2px 6px 2px rgba(28, 28, 28, 0.06);

    --transition-standard: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-entrance: cubic-bezier(0.0, 0.0, 0.2, 1);
}

@font-face {
    font-family: FontAwesome;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. RESETS & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--on-surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: #fafbfe;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='0.06' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
        radial-gradient(circle at 0 0, rgba(0, 178, 218, .08) 0, transparent 40%), radial-gradient(circle at 100% 0, rgba(0, 178, 218, .05) 0, transparent 40%), radial-gradient(circle at 100% 100%, rgba(0, 178, 218, .08) 0, transparent 50%);
    background-size: 150px 150px, 200% 200%, 200% 200%, 200% 200%;
    background-attachment: fixed;
    animation: 20s ease-in-out infinite alternate ambientDrift;
}

body:not(.transparent-nav-page) {
    padding-top: 88px;
}

body.transparent-nav-page {
    padding-top: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

/* ==========================================================================
   3. KEYFRAMES
   ========================================================================== */
@keyframes ambientDrift {
    0% {
        background-position: 0 0, 0 0, 100% 0, 100% 100%;
    }

    50% {
        background-position: 0 0, 50% 50%, 50% 20%, 80% 80%;
    }

    100% {
        background-position: 0 0, 100% 100%, 0 50%, 0 100%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.8;
    }
}

@keyframes pulse-text {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes bounce-chevron {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

@keyframes mobileAccordionEntrance {
    from {
        opacity: 0;
        transform: translateY(-12px) scaleY(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes skeleton-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

.animate-entrance {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.animate-entrance.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   4. LAYOUT OBJECTS (Structural)
   ========================================================================== */
.l-section {
    padding: 100px 5%;
    background-color: transparent;
    width: 100%;
}

.l-section--surface {
    background-color: var(--surface);
}

/* Global enforce 5% gutter on structured containers */
.l-section,
.section-header {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.l-split {
    padding: 100px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 64px;
}

.l-split:nth-child(2n) {
    flex-direction: row-reverse;
    background-color: #fafafa;
}

.l-split__content {
    flex: 1;
    min-width: 300px;
}

.l-split__content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--on-surface);
}

.l-split__content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.l-split__content ul {
    list-style: none;
    margin: 24px 0;
}

.l-split__content li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #5f6368;
}

.l-split__content li::before {
    content: "check_circle";
    font-family: 'Material Symbols Outlined';
    color: var(--primary);
    font-size: 24px;
    margin-top: -2px;
}

.l-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.l-grid--course>.card {
    flex: 1 1 280px;
    max-width: 340px;
}

.l-masonry {
    padding: 16px 5%;
    background-color: var(--surface);
    min-height: 50vh;
    column-count: 4;
    column-gap: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--on-surface);
}

.section-subtitle {
    color: #5f6368;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

/* ==========================================================================
   5. NAVIGATION COMPONENT (App Bar)
   ========================================================================== */
.app-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s;
    will-change: background-color, backdrop-filter;
    background-color: transparent;
}

.app-bar.scrolled,
body:not(.transparent-nav-page) .app-bar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-logo-link {
    z-index: 10001;
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.nav-logo-image {
    transition: filter 0.4s, color 0.4s;
    height: 48px;
    width: auto;
}

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

.desktop-nav-cta {
    display: inline-flex;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
    position: relative;
}

.mobile-menu-btn .material-symbols-outlined {
    font-size: 32px;
    transition: color 0.4s;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s, background-color 0.4s, box-shadow 0.4s;
}

.nav-chevron {
    font-size: 18px;
    margin-left: 2px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-link.current-page {
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
}

.nav-link[href="#"] {
    cursor: default !important;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

body.transparent-nav-page .app-bar:not(.scrolled):not(.menu-open) .nav-logo-image {
    filter: brightness(0) invert(1);
}

body.transparent-nav-page .app-bar:not(.scrolled) .nav-link,
body.transparent-nav-page .app-bar:not(.scrolled):not(.menu-open) .mobile-menu-btn .material-symbols-outlined {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

body.transparent-nav-page .app-bar:not(.scrolled) .nav-link::after {
    background-color: #fff;
}

body.transparent-nav-page .app-bar.scrolled .nav-link:not([href="#"]):hover,
body:not(.transparent-nav-page) .app-bar .nav-link:not([href="#"]):hover {
    color: var(--primary);
    text-shadow: 0 0 0.65px var(--primary);
}

body.transparent-nav-page .app-bar.scrolled .nav-link::after,
body:not(.transparent-nav-page) .app-bar .nav-link::after {
    background-color: var(--primary);
}

body.transparent-nav-page .app-bar:not(.scrolled) .nav-link:not([href="#"]):hover {
    color: #fff;
    text-shadow: 0 0 0.65px #fff, 0 2px 8px rgba(0, 0, 0, 0.6);
}

.nav-link:not([href="#"]):active {
    background-color: rgba(var(--brand-cyan-rgb), 0.1);
}

body.transparent-nav-page .app-bar:not(.scrolled) .nav-link:not([href="#"]):active {
    background-color: rgba(255, 255, 255, 0.15);
}

.app-bar.menu-open .mobile-menu-btn .material-symbols-outlined,
body.transparent-nav-page .app-bar.scrolled .mobile-menu-btn .material-symbols-outlined,
body.transparent-nav-page .app-bar.scrolled .nav-link,
body:not(.transparent-nav-page) .app-bar .mobile-menu-btn .material-symbols-outlined,
body:not(.transparent-nav-page) .app-bar .nav-link {
    color: var(--on-surface);
}

@media (min-width: 993px) {

    .dropdown,
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.nav-link,
    .dropdown>.nav-link {
        display: flex;
        align-items: center;
    }

    .dropdown-submenu>.nav-link {
        justify-content: space-between;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background-color: #fff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        padding: 12px 0;
        list-style: none;
        min-width: 220px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background-color 0.4s, backdrop-filter 0.4s;
        z-index: 1000;
        pointer-events: none;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 20px;
    }

    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(10px);
        pointer-events: auto;
    }

    .dropdown-link {
        padding: 10px 24px !important;
        display: block !important;
        color: var(--on-surface) !important;
        font-weight: 500;
        text-decoration: none;
        border-radius: 0 !important;
        text-shadow: none !important;
    }

    .dropdown-link::after {
        display: none !important;
    }

    .dropdown-link:hover {
        background-color: rgba(0, 178, 218, 0.08) !important;
        color: var(--primary) !important;
    }

    body.transparent-nav-page .app-bar:not(.scrolled) .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    body.transparent-nav-page .app-bar:not(.scrolled) .dropdown-link {
        color: #fff !important;
        text-shadow: none !important;
    }

    body.transparent-nav-page .app-bar:not(.scrolled) .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        transform: translateX(24px) !important;
        margin-top: -12px;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(10px) !important;
        pointer-events: auto;
    }

    .dropdown-submenu>.dropdown-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: -30px;
        width: 30px;
        height: 100%;
    }

    .dropdown-submenu:hover>.nav-link::after,
    .dropdown:hover>.nav-link::after {
        transform: scaleX(1);
    }

    body.transparent-nav-page .app-bar.scrolled .nav-link.current-page,
    body:not(.transparent-nav-page) .app-bar .nav-link.current-page {
        color: var(--primary) !important;
    }

    body.transparent-nav-page .app-bar:not(.scrolled) .nav-link.current-page {
        color: #fff !important;
        text-shadow: 0 0 0.65px #fff, 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    }

    .nav-link.current-page::after {
        transform: scaleX(1) !important;
    }

    .nav-link.current-parent::after {
        left: auto !important;
        right: 15px !important;
        width: 20px !important;
        transform: scaleX(1) !important;
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s !important;
    }

    .dropdown:hover>.nav-link.current-parent::after {
        width: calc(100% - 28px) !important;
    }

    body.transparent-nav-page .app-bar:not(.scrolled) .nav-link.current-page::after,
    body.transparent-nav-page .app-bar:not(.scrolled) .nav-link.current-parent::after {
        background-color: #fff !important;
    }

    body.transparent-nav-page .app-bar.scrolled .nav-link.current-page::after,
    body:not(.transparent-nav-page) .app-bar .nav-link.current-page::after {
        background-color: var(--primary) !important;
    }

    .dropdown-submenu>.nav-link.current-parent {
        color: var(--primary) !important;
        background-color: rgba(0, 178, 218, 0.05) !important;
        border-radius: 8px !important;
    }

    body.transparent-nav-page .app-bar:not(.scrolled) .dropdown-submenu>.nav-link.current-parent {
        color: #fff !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
}

/* ==========================================================================
   6. BUTTON COMPONENTS & VIDEO CONTROLS
   ========================================================================== */
/* Shared base for all interactable triggers */
.btn,
.text-link,
.video-control-btn {
    font-family: var(--font-body);
    display: inline-flex;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

/* Structural mapping for filled/outlined buttons */
.btn,
.video-control-btn {
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50px;
    /* Perfect circles for video, pills for btn */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    /* Contains background fills correctly */
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, background-color 0.3s, color 0.3s;
    will-change: transform, box-shadow;
    white-space: nowrap;
}

/* Text links explicitly allow overflow so they don't clip their own animations */
.text-link {
    color: var(--primary);
    font-weight: 600;
    align-items: center;
    transition: color 0.3s;
    padding: 0;
    background: none;
    text-transform: none;
    overflow: visible;
    /* FIX: Prevents the "pill cutout" ghosting */
}

/* Specific dimensions & z-index for Video Controls to match original */
.video-control-btn {
    width: 48px;
    height: 48px;
    background-color: #fff;
    color: #1a1a1a;
    border: none;
    z-index: 2;
    box-shadow: var(--elevation-1);
}

.btn {
    padding: 12px 16px;
}

.btn-icon {
    font-size: 16px;
    transition: transform 0.3s var(--transition-entrance);
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: var(--elevation-1);
}

.btn-primary:hover {
    box-shadow: 0 12px 24px rgba(0, 178, 218, 0.3), 0 4px 8px rgba(0, 178, 218, 0.1);
    background-color: var(--primary-dark);
}

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

.btn-secondary:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    background-color: rgba(var(--brand-magenta-rgb), 0.08);
}

.btn-outline {
    color: var(--primary);
    border: 2px solid var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(var(--brand-cyan-rgb), 0.08);
}

.video-control-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.btn:active,
.video-control-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.3s var(--transition-entrance);
}

.btn-text,
.text-link .link-text,
.text-link .material-symbols-outlined {
    transition: transform 0.3s var(--transition-entrance);
}

.btn-text {
    transform: translateY(1px);
    will-change: transform;
}

.btn:hover .btn-text {
    transform: translate(-4px, 1px);
}

.btn:hover .material-symbols-outlined,
.btn:hover .btn-icon,
.text-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

.text-link:hover,
.read-more-btn:hover {
    color: var(--primary-dark);
}

.text-link .link-text {
    line-height: 1;
    transform: translateY(1px);
}

.text-link .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.text-link:hover .link-text {
    transform: translate(-2px, 1px);
}


/* ==========================================================================
   7. CARD OBJECTS
   ========================================================================== */
.card {
    background-color: var(--surface);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid transparent;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
    box-shadow: var(--elevation-1);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.card:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--on-surface);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
}

a.card-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-action-text {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 16px;
}

.card-image-wrapper {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.card-image-wrapper img,
.card-image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0) scale(1);
    will-change: transform;
}

.card:hover .card-image-wrapper img,
.card:hover .card-image-wrapper video {
    transform: translateZ(0) scale(1.04);
}

.instrument-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e9ecef;
    border: 4px solid var(--surface);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.instrument-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:hover .instrument-circle {
    transform: scale(1.08) translateZ(0);
}

.team-card {
    flex-direction: row;
    gap: 32px;
    padding: 40px;
    align-items: start;
    max-width: 1000px !important;
}

.team-card-image {
    flex: 1;
    min-width: 250px;
    height: 300px;
    border-radius: 8px;
    background-color: #eee;
    object-fit: cover;
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-image {
    transform: scale(1.04) translateZ(0);
}

.team-card-content {
    flex: 2;
    min-width: 280px;
}

.review-card {
    flex: 0 0 calc((100% - 48px)/ 3);
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px;
    position: relative;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.review-card:hover,
.review-card.expanded {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 178, 218, 0.08);
}

a.review-card {
    text-decoration: none;
    color: inherit;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #008eb0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.reviewer-name {
    font-size: 1.1rem;
    color: var(--on-surface);
    font-weight: 600;
    font-family: var(--font-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-stars {
    color: #ffb400;
    font-size: 18px;
    display: flex;
    gap: 2px;
}

.review-text-wrapper {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    margin-bottom: 12px;
    transition: 0.4s;
}

.review-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-style: normal;
    margin: 0;
    flex-grow: 1;
}

.review-card.has-overflow:not(.expanded) .review-text-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(to bottom, transparent, #fff 90%);
    pointer-events: none;
}

.review-card.expanded {
    height: auto;
    border-color: rgba(var(--brand-cyan-rgb), 0.3);
}

.read-more-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    gap: 4px;
    padding: 0;
    margin-bottom: 16px;
    transition: color 0.2s;
    z-index: 2;
    align-items: center;
    font-family: var(--font-body);
}

.review-card.has-overflow .read-more-btn {
    display: flex;
}

.google-watermark {
    display: flex;
    gap: 6px;
    font-size: 0.8rem;
    color: #9aa0a6;
    font-weight: 500;
    margin-top: auto;
    align-items: center;
    font-family: var(--font-body);
}

/* ==========================================================================
   8. UI COMPONENTS (Forms, FAQ, Features)
   ========================================================================== */
.form-container {
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--on-surface);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 0;
    border-color: var(--primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
    font-family: var(--font-body);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(var(--brand-cyan-rgb), 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--primary);
}

.feature-icon .material-symbols-outlined {
    font-size: 28px;
}

.feature-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--on-surface);
    margin-bottom: 4px;
}

.feature-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.4;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--on-surface);
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question .material-symbols-outlined {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--primary);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 24px;
    font-family: var(--font-body);
    color: #5f6368;
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s, transform 0.4s, padding 0.4s;
}

.faq-item.active .faq-question,
.faq-item.active .faq-question .material-symbols-outlined {
    color: var(--primary);
}

.faq-item.active .faq-question .material-symbols-outlined {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer-inner {
    padding: 0 24px 24px;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   9. FOOTER COMPONENT
   ========================================================================== */
.site-footer {
    background-color: var(--surface);
    padding: 60px 5% 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand p {
    font-family: var(--font-body);
    color: #5f6368;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-logo-image {
    height: 128px;
    width: auto;
    display: inline-block;
}

.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--on-surface);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
}

.footer-links a:not(.btn) {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:not(.btn):hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #5f6368;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 24px;
    text-align: center;
    font-family: var(--font-body);
    color: #9ca3af;
    font-size: 0.85rem;
}

/* --- Missing FontAwesome Icon Mappings --- */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa-facebook::before {
    content: "\f09a";
}

.fa-instagram::before {
    content: "\f16d";
}

.fa-whatsapp::before {
    content: "\f232";
}

.fa-youtube-play::before {
    content: "\f16a";
}

/* ==========================================================================
   10. MEDIA & LIGHTBOX COMPONENTS
   ========================================================================== */
.interactive-media {
    border-radius: 16px;
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.interactive-media:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f3f4f6;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
    transform: translateZ(0) scale(1);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--brand-cyan-rgb), 0.6), transparent);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 10;
}

.item-overlay .material-symbols-outlined {
    color: #fff;
    font-size: 40px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transform: translateY(24px) scale(0.5);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    will-change: transform, opacity;
}

.gallery-item:hover {
    transform: scale(1.025);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.gallery-item:hover .item-overlay,
.media-loading-container.loaded img,
.media-loading-container.loaded video {
    opacity: 1;
}

.gallery-item:hover .item-overlay .material-symbols-outlined {
    transform: translateY(0) scale(1.1);
    opacity: 1;
    text-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.gallery-item:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.1s;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 40px 80px;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(15px) scale(0.97);
    transition: opacity 0.4s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.lightbox-btn,
.lightbox-counter {
    position: absolute;
    z-index: 10002;
}

.lightbox-counter {
    top: 32px;
    left: 32px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 1px;
    pointer-events: none;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s;
    will-change: transform;
    backface-visibility: hidden;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.lb-close {
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
}

.lb-close:hover,
.lb-nav:hover {
    transform: scale(1.05);
}

.lb-close:active,
.lb-nav:active {
    transform: scale(0.92);
}

.lb-nav {
    top: calc(50% - 28px);
    width: 56px;
    height: 56px;
}

.lb-prev {
    left: 24px;
}

.lb-next {
    right: 24px;
}

/* Cinematic Showcase (Carousel) */
.cinematic-showcase {
    position: relative;
    width: 100vw;
    height: 85vh;
    max-height: 900px;
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
}

#carousel-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.media-loading-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    overflow: hidden;
}

.media-loading-container img,
.media-loading-container video {
    opacity: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s, filter 0.4s;
}

.media-loading-container.loaded .modern-spinner {
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-slide .media-loading-container img,
.carousel-slide .media-loading-container video,
.carousel-slide img,
.carousel-slide video {
    transform: scale(1.1);
    transition: transform 12s linear, opacity 1.5s ease-in-out;
    will-change: transform;
}

.carousel-slide.active .media-loading-container img,
.carousel-slide.active .media-loading-container video,
.carousel-slide.active img,
.carousel-slide.active video {
    transform: scale(1);
}

.modern-spinner {
    position: absolute;
    width: 48px;
    height: 48px;
    animation: 2s linear infinite rotate;
    z-index: 1;
}

.modern-spinner-track {
    fill: none;
    stroke: rgba(0, 0, 0, 0.08);
    stroke-width: 4;
}

.modern-spinner-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: 1.5s ease-in-out infinite dash;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    pointer-events: none;
}

.carousel-overlay h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.carousel-overlay p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #e5e7eb;
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.carousel-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
    -webkit-tap-highlight-color: transparent;
}

@media (hover:hover) {
    .carousel-arrow:hover {
        background-color: rgba(0, 0, 0, 0.4);
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
}

.carousel-arrow:active {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(0.9);
    opacity: 1;
}

.carousel-arrow.prev {
    left: 40px;
}

.carousel-arrow.next {
    right: 40px;
}

/* Video Controls Positioning FIX */
.hero-banner--video {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg,
.hero-video-overlay {
    left: 0;
    width: 100%;
    position: absolute;
}

.hero-video-bg {
    top: 0;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-video-overlay {
    top: 0;
    height: 100%;
    background: linear-gradient(rgba(28, 28, 28, 0.7), rgba(28, 28, 28, 0.7));
    z-index: -1;
}

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

.video-controls-group {
    position: absolute;
    /* Requires parent to be relative */
    bottom: 40px;
    right: 5%;
    display: flex;
    gap: 16px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s;
}

.video-controls-group.show-controls {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide .video-controls-group {
    bottom: 32px;
    right: 5%;
}

/* ==========================================================================
   11. DYNAMIC & MISC
   ========================================================================== */
.dyn-acad-term-disc,
.dyn-acad-year-disc,
.dyn-fam-disc,
.dyn-reg-fee {
    font-weight: 700;
    color: var(--primary);
}

.dyn-loading {
    display: inline-block;
    background-color: #e5e7eb;
    border-radius: 4px;
    color: transparent !important;
    animation: 1.5s ease-in-out infinite skeleton-pulse;
    user-select: none;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    opacity: 0;
    z-index: 10;
    transition: color 0.3s;
    animation: 2s 1s forwards fadeIn;
}

.scroll-indicator:hover {
    color: #fff;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    animation: 4s ease-in-out infinite pulse-text;
}

.scroll-chevron {
    font-size: 2.2rem;
    font-weight: 300;
    animation: 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite bounce-chevron;
}

.review-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 178, 218, 0.2);
    background-color: var(--primary);
    color: #fff;
}

.review-nav-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.reviews-progress-container {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 0 auto 32px;
    overflow: hidden;
}

.reviews-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.course-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width:1200px) {
    .l-masonry {
        column-count: 3;
    }
}

@media (max-width:992px) {

    /* STRICT ENFORCEMENT: 5% gutters on all critical text containers */
    .hero-content,
    .section-header,
    .l-section,
    .l-split,
    .cta-banner,
    .l-container-narrative,
    .instructor-spotlight-card {
        padding-left: 5% !important;
        padding-right: 5% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .l-section,
    .l-split {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .l-split,
    .l-split:nth-child(2n) {
        flex-direction: column !important;
        gap: 32px;
    }

    .team-card {
        flex-direction: column;
        padding: 24px;
    }

    .team-card-image {
        width: 100%;
        min-width: auto;
        height: 250px;
    }

    .cinematic-showcase {
        height: 70vh;
        min-height: 500px;
    }

    .review-card {
        flex: 0 0 calc((100% - 24px)/ 2);
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .desktop-nav-cta {
        display: none !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start !important;
        padding: 100px 5% 60px !important;
        gap: 16px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
        z-index: 10000;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link,
    .dropdown-link {
        font-size: 1.15rem !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        text-align: left !important;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        width: 100%;
        box-sizing: border-box;
        color: var(--on-surface) !important;
        text-shadow: none !important;
    }

    .nav-link .material-symbols-outlined,
    .dropdown-link .material-symbols-outlined {
        padding: 12px;
        margin: -12px -12px -12px 0;
        background-color: transparent;
    }

    .dropdown-menu {
        display: none;
        flex-direction: column;
        padding: 0;
        margin: 0;
        width: 100%;
        border: none;
        box-shadow: none;
        list-style: none !important;
    }

    .dropdown.active>.dropdown-menu,
    .dropdown-submenu.active>.dropdown-menu {
        display: flex;
        margin-top: 4px;
        margin-bottom: 8px;
        transform-origin: top center;
        animation: 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards mobileAccordionEntrance;
    }

    .dropdown>.dropdown-menu {
        border-left: 2px solid rgba(0, 178, 218, 0.3) !important;
        margin-left: 12px !important;
        padding-left: 12px !important;
        width: calc(100% - 12px) !important;
    }

    .dropdown-submenu>.dropdown-menu {
        border-left: 2px solid rgba(0, 178, 218, 0.6) !important;
        margin-left: 16px !important;
        padding-left: 12px !important;
        width: calc(100% - 16px) !important;
        background-color: rgba(0, 0, 0, 0.02);
    }

    .dropdown-link {
        background-color: rgba(0, 0, 0, 0.02) !important;
        border-radius: 10px !important;
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }

    .dropdown-submenu .dropdown-link {
        background-color: rgba(0, 0, 0, 0.04) !important;
        font-size: 0.95rem !important;
    }

    .nav-link:not(.current-page):not(.current-parent):hover::after,
    .dropdown-link:not(.current-page):not(.current-parent):hover::after {
        transform: scaleX(0) !important;
    }

    .nav-link.current-parent .material-symbols-outlined {
        color: var(--primary) !important;
    }

    .nav-link.current-page,
    .nav-link.current-parent {
        font-weight: 500 !important;
        color: var(--on-surface) !important;
    }

    .nav-link.current-page::after,
    .nav-link.current-parent::after {
        transform: scaleX(1) !important;
        bottom: 8px !important;
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        background-color: var(--primary) !important;
    }

    .dropdown-link.current-page::after,
    .dropdown-link.current-parent::after {
        left: 16px !important;
        right: 16px !important;
    }

    .dropdown-submenu>.nav-link .material-symbols-outlined,
    .dropdown>.nav-link .material-symbols-outlined {
        transition: transform 0.3s;
    }

    .dropdown-submenu.active>.nav-link .material-symbols-outlined,
    .dropdown.active>.nav-link .material-symbols-outlined {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .mobile-nav-cta {
        display: block;
        margin-top: 16px;
        text-align: center;
    }

    .mobile-nav-cta .btn {
        display: inline-flex !important;
        width: auto !important;
        min-width: 200px;
        color: #fff !important;
        padding: 12px 24px !important;
        border-radius: 50px !important;
        font-size: 0.95rem !important;
        justify-content: center;
    }

    .nav-links .btn::after {
        display: none !important;
    }
}

@media (max-width:768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .l-split__content h2 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 24px 16px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .feature-item {
        padding: 12px;
        gap: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon .material-symbols-outlined {
        font-size: 24px;
    }

    .scroll-indicator {
        bottom: 70px;
    }

    .l-masonry {
        column-count: 2;
    }

    .carousel-controls {
        gap: 6px;
        width: 90%;
        flex-wrap: wrap;
        justify-content: center;
        bottom: 16px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
    }
}

@media (max-width:768px) and (orientation:portrait) {
    .course-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .course-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width:600px) {
    .review-card {
        flex: 0 0 100%;
        padding: 24px;
    }
}

@media (max-width:480px) {

    .l-grid--course>.card,
    .l-grid>.card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .l-masonry {
        column-count: 1;
    }
}

@media (max-height:500px) and (orientation:landscape) {
    .app-bar {
        padding: 8px 5% !important;
    }

    #nav-logo {
        height: 36px !important;
    }

    .nav-links {
        padding-top: 70px;
    }

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

    .hero-section {
        padding-top: 60px !important;
    }

    .hero-section h1 {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
        margin-bottom: 16px !important;
        max-width: 90%;
    }

    .hero-section .btn-primary {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
    }

    .carousel-overlay h2,
    .section-header h2,
    .l-split__content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .carousel-overlay p {
        font-size: 0.9rem !important;
    }
}

/* ==========================================================================
   OOCSS ADDENDUM: Index.html Specifics & Reviews Extracted Logic
   ========================================================================== */

.hero-section {
    position: relative;
    /* REQUIRED for video controls */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 5% 60px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-body);
    color: #e5e7eb;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-large {
    font-size: 1.1rem;
    padding: 16px 32px;
}

.content-body {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 24px;
}

.media-link-wrapper {
    display: block;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 48px;
}

.course-card {
    text-align: center;
    text-decoration: none;
    display: block;
}

.course-card .card-title {
    margin-top: 20px;
    margin-bottom: 8px;
}

.course-card .card-body {
    font-size: 0.9rem;
}

.carousel-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.carousel-fallback p {
    color: white;
    font-family: var(--font-body);
}

.reviews-section {
    padding: 100px 0;
    background-color: var(--background);
    overflow: hidden;
    position: relative;
}

.reviews-track-wrapper {
    width: 100%;
    margin-top: 48px;
}

.reviews-container {
    display: flex;
    gap: 24px;
    padding: 32px 24px;
    scroll-padding-left: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-container.is-centered {
    justify-content: center;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.reviews-container::after {
    content: '';
    flex: 0 0 1px;
}

.reviews-container .review-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    transform: scale(0.98);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .reviews-container .review-card {
        flex: 0 0 400px;
        scroll-snap-align: start;
        transform: scale(1);
    }

    .reviews-container .review-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    }
}

.review-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 24px auto 0;
    padding: 0 5%;
    gap: 40px;
}

.progress-track {
    flex-grow: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: width 0.25s ease-out;
}

.harmonic-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--surface);
    color: var(--on-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.harmonic-nav-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

.harmonic-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.loading-text {
    text-align: center;
    width: 100%;
    font-family: var(--font-body);
    color: #4b5563;
}

.review-author-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.google-watermark-link {
    color: inherit;
    text-decoration: none;
}

.review-star-icon {
    font-size: 18px;
    font-variation-settings: 'FILL' 1;
    color: #f59e0b;
}

.watermark-icon {
    font-size: 16px;
}

.cta-banner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--on-surface);
}

.cta-banner p {
    font-family: var(--font-body);
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ==========================================================================
   OOCSS ADDENDUM: About Page (Narrative Components)
   ========================================================================== */

.l-section--page-header {
    padding-top: 140px;
    padding-bottom: 24px;
}

.l-container-wide {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.l-container-narrative {
    padding: 0 5% 100px;
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--on-surface);
    letter-spacing: -1px;
}

.page-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #5f6368;
    max-width: 800px;
    margin: 16px auto 0;
}

.family-photo-card {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.family-photo-card img {
    width: 100%;
    height: auto;
    display: block;
}

.family-photo-badge {
    position: absolute;
    top: clamp(16px, 3vw, 32px);
    right: clamp(16px, 3vw, 32px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 600;
    color: var(--on-surface);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.narrative-block {
    margin-bottom: 56px;
}

.narrative-block-last {
    margin-bottom: 48px;
}

.narrative-heading {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--on-surface);
}

.narrative-heading--mb20 {
    margin-bottom: 20px;
}

.narrative-heading--mb24 {
    margin-bottom: 24px;
}

.narrative-text {
    font-family: var(--font-body);
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.narrative-quote {
    margin-bottom: 56px;
    border-left: 4px solid var(--primary);
    background: linear-gradient(to right, rgba(0, 178, 218, 0.05), transparent);
    padding: 24px 24px 24px 32px;
    border-radius: 0 16px 16px 0;
}

.narrative-quote-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.5;
    font-style: italic;
}

.narrative-list {
    font-family: var(--font-body);
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 40px;
    list-style-type: none;
    padding-left: 0;
}

.narrative-list-item {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.narrative-list-icon {
    color: var(--primary);
    margin-top: 4px;
    background: rgba(0, 178, 218, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.narrative-cta {
    text-align: center;
    margin-top: 64px;
}

.btn-jumbo {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-icon-large {
    font-size: 20px;
}

/* ==========================================================================
   OOCSS ADDENDUM: Team Page (Faculty Components)
   ========================================================================== */
.section-header--team {
    padding-top: 80px;
    padding-bottom: 32px;
}

.section-subtitle--wide {
    max-width: 700px;
}

.l-section--team-list {
    padding-top: 0;
    padding-bottom: 100px;
}

.l-grid--column {
    flex-direction: column;
    align-items: center;
}

.team-card--anchor {
    scroll-margin-top: 30vh;
}

.team-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--on-surface);
}

.team-card-body {
    margin-bottom: 16px;
}

@media (max-width: 992px) {
    .l-grid--column {
        padding: 0 5%;
    }
}

/* ==========================================================================
   OOCSS ADDENDUM: FAQ Page (Accordion & CTA Components)
   ========================================================================== */
.l-container-faq {
    padding: 0 5% 100px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-footer-cta {
    text-align: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-footer-cta__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--on-surface);
    margin-bottom: 16px;
}

.faq-footer-cta__text {
    font-family: var(--font-body);
    color: #5f6368;
    margin-bottom: 24px;
}

.btn-faq-contact {
    padding: 12px 32px;
}

/* ==========================================================================
   OOCSS ADDENDUM: Courses Page (Program Catalog)
   ========================================================================== */
.l-main--courses {
    background-color: var(--background);
    min-height: 80vh;
    padding-bottom: 40px;
}

.section-header--courses {
    padding-top: 56px;
    padding-bottom: 16px;
}

.l-grid--catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 5%;
}

.program-card {
    background-color: var(--surface);
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.program-card__image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.program-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-card__content {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.program-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--on-surface);
    margin-bottom: 8px;
    font-weight: 600;
}

.program-card__text {
    font-family: var(--font-body);
    color: #5f6368;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.program-card__icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.program-card:hover .link-text {
    transform: translate(-2px, 1px);
}

.program-card:hover .program-card__icon {
    transform: translateX(4px);
}

/* ==========================================================================
   OOCSS ADDENDUM: Individual Course Pages (Piano, Violin, etc.)
   ========================================================================== */

/* Generic Hero Banner layout for Subpages */
.hero-banner--subpage,
.hero-banner--full {
    position: relative;
    /* REQUIRED for video controls */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner--subpage {
    height: 60vh;
}

.hero-banner--full {
    height: 100vh;
}

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

.hero-cta {
    margin-top: 16px;
}

.narrative-subheading {
    color: var(--primary);
    margin-top: 24px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.narrative-checklist {
    list-style: none;
    margin-top: 16px;
    line-height: 1.6;
}

.narrative-checklist-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5f6368;
}

.instructor-spotlight-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.instructor-spotlight-title {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.instructor-item {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 24px;
}

.instructor-item--last {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.instructor-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

/* Purified Instructor Component */
.instructor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instructor-bio--italic {
    font-style: italic;
}

.instructor-info {
    display: flex;
    flex-direction: column;
}

.instructor-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--on-surface);
}

.instructor-specialty {
    font-size: 0.9rem;
    color: var(--primary);
}

.instructor-bio {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-icon-small {
    font-size: 18px;
}

/* Split CTA Card Component (Used when CTA is inside a split layout) */
.split-cta-card {
    background-color: var(--brand-white);
    text-align: center;
    padding: 80px 5%;
    border-radius: 16px;
}

.split-cta-card .section-title {
    text-align: center;
}

.split-cta-card__text {
    max-width: 400px;
    margin: 16px auto 32px;
    color: #5f6368;
    text-align: center;
    font-family: var(--font-body);
}

/* ==========================================================================
   OOCSS ADDENDUM: Enrollment & Policy Pages
   ========================================================================== */

.l-main--enrollment {
    min-height: 80vh;
    padding-bottom: 80px;
}

.l-section--enrollment {
    padding-top: 0;
    padding-left: 16px;
    padding-right: 16px;
}

.l-grid--enrollment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 48px auto;
}

/* Base Policy Card Component */
.policy-card {
    background-color: var(--surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Full Width Variant */
.policy-card--full-width {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    height: auto;
}

.policy-card__split-content {
    flex: 1;
    min-width: 280px;
}

/* Support CTA Embed Variant */
.split-cta-card--support {
    flex: 1;
    min-width: 200px;
    background-color: var(--brand-white);
    text-align: center;
    padding: 40px 5%;
    border-radius: 16px;
}

.split-cta-card--support .section-title {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.split-cta-card__text {
    font-family: var(--font-body);
    color: #5f6368;
    margin-bottom: 16px;
}

/* Policy Typography */
.policy-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-card__icon {
    font-size: 28px;
}

.policy-card__text {
    font-family: var(--font-body);
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 12px;
}

.policy-card__list {
    padding-left: 24px;
    margin-bottom: 16px;
    font-family: var(--font-body);
    color: #5f6368;
    line-height: 1.6;
}

.policy-card__list li {
    margin-bottom: 12px;
}

/* Bottom Actions Row */
.policy-card__actions {
    display: flex;
    gap: 12px;
    /* Tighter gap ensures they fit side-by-side gracefully */
    margin-top: auto;
    padding-top: 16px;
    flex-wrap: wrap;
    /* Allows entire button to drop down if screen is exceptionally tight */
}

/* Responsive Grid Logic */
@media (max-width: 768px) {
    .l-grid--enrollment {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   OOCSS ADDENDUM: Policy Text Pages (Academic, Monthly, Terms)
   ========================================================================== */

.l-main--policy {
    min-height: 80vh;
    padding-bottom: 80px;
}

.section-header--policy {
    padding-top: 80px;
    padding-bottom: 24px;
}

.page-subtitle--policy {
    max-width: 700px;
    /* Overrides the default 600px for longer policy blurbs */
}

.l-section--policy {
    padding-top: 0;
}

/* The White Paper Container */
.policy-document {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Individual Policy Sections */
.policy-section {
    margin-bottom: 32px;
}

.policy-section__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.policy-section__text,
.policy-section__list li {
    font-family: var(--font-body);
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 12px;
}

.policy-section__list {
    padding-left: 24px;
}

/* Text links specifically inside policy paragraphs */
.policy-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.policy-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Internal CTA Card Variant */
.split-cta-card--policy {
    margin-top: 48px;
    padding: 40px 5%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--brand-white);
}

/* Mobile Padding Adjustments */
@media (max-width: 768px) {
    .policy-document {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   OOCSS ADDENDUM: Tuition Estimator App
   ========================================================================== */

/* Main Wrapper Override */
.l-main--page {
    min-height: 80vh;
    padding-bottom: 80px;
}

/* Loading Spinner */
.estimator-loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    width: 100%;
    gap: 20px;
}

.estimator-spinner {
    animation: rotate 2s linear infinite;
    width: 48px;
    height: 48px;
}

.estimator-spinner .path {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.estimator-loader-text {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Grid Layout */
.l-grid--estimator {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 48px;
    align-items: start;
}

/* Left Panel: Inputs */
.estimator-input-panel {
    background-color: var(--surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.estimator-group-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    gap: 8px;
}

.estimator-radio-label input[type="radio"] {
    display: none;
}

.estimator-plan-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.estimator-plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
}

.estimator-radio-label input[type="radio"]:checked+.estimator-plan-card {
    border-color: var(--primary);
    background-color: rgba(var(--brand-cyan-rgb), 0.05);
}

.estimator-plan-title {
    font-weight: 700;
    font-family: var(--font-heading);
}

.estimator-plan-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

.estimator-pill-group {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.estimator-pill {
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.estimator-radio-label input[type="radio"]:checked+.estimator-pill {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Right Panel: Receipt Box */
.estimator-receipt-panel {
    background-color: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 100px;
    user-select: none;
}

.receipt-header {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 24px;
    border-bottom: 2px dashed #d1d5db;
    padding-bottom: 16px;
    text-align: center;
    line-height: 1.3;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.receipt-row--discount {
    color: #059669;
    font-weight: 600;
    margin-top: 12px;
    padding-top: 12px;
}

.receipt-label-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.receipt-price-col {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.lesson-count-hint {
    font-size: 0.8rem;
    color: #6b7280;
}

.strikethrough {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-right: 4px;
}

.discount-tag {
    font-size: 0.75rem;
    background: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    width: fit-content;
    margin-top: 2px;
}

.receipt-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #d1d5db;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px dashed #d1d5db;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #4b5563;
}

.receipt-total-value {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    color: var(--on-surface);
    display: block;
}

/* Due Today Interactive Card */
.due-today-card {
    background-color: var(--on-surface);
    color: white;
    padding: 24px;
    border-radius: 14px;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.due-today-card.active-hold {
    background-color: var(--primary);
    transform: scale(0.97);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.due-today-label {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    display: block;
}

.due-today-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    display: block;
    font-family: var(--font-body);
}

.due-today-value {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: right;
    line-height: 1;
}

/* Receipt Notes (Warning/Fee/Success) */
.receipt-note {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    display: flex;
    gap: 8px;
    line-height: 1.4;
}

.receipt-note-icon {
    font-size: 18px;
}

.receipt-note--warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.receipt-note--fee {
    background-color: #fce4ec;
    border: 1px solid #f8bbd0;
    color: #c2185b;
}

.receipt-note--success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Tax Clause */
.tax-clause {
    margin-top: 24px;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    line-height: 1.5;
    font-family: var(--font-body);
}

.tax-clause .material-symbols-outlined {
    font-size: 16px;
    margin-top: -1px;
}

.tax-clause a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.tax-clause a:hover {
    text-decoration: underline;
}

/* Responsive Rules for Estimator */
@media (max-width: 900px) {
    .l-grid--estimator {
        grid-template-columns: 1fr;
    }

    .estimator-receipt-panel {
        position: static;
    }
}

@media (max-width: 600px) {
    .estimator-plan-cards {
        grid-template-columns: 1fr;
    }

    .estimator-input-panel,
    .estimator-receipt-panel {
        padding: 24px 16px;
    }

    .due-today-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px;
    }

    .due-today-value {
        text-align: left;
        width: 100%;
        margin-top: 4px;
    }

    .estimator-pill {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .tax-clause {
        text-align: left;
    }
}

/* ==========================================================================
   OOCSS ADDENDUM: Gallery Layouts
   ========================================================================== */

/* Custom Hero Layout specifically for Gallery Page */
.hero-banner--gallery {
    height: 60vh;
}

.hero-video-overlay--gallery {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(var(--brand-cyan-rgb), 0.3) 100%);
}

/* Gallery Loading State */
.gallery-loader {
    column-span: all;
    text-align: center;
    padding: 100px 0;
    color: var(--on-surface);
    font-family: var(--font-body);
}

.gallery-loader__icon {
    font-size: 48px;
    animation: gentlePulse 2s infinite;
}

.gallery-loader__text {
    margin-top: 16px;
}

@keyframes gentlePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   OOCSS ADDENDUM: Contact Page
   ========================================================================== */

/* --- Top 3-Column Info Grid --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.info-card {
    background-color: var(--surface);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 178, 218, 0.2);
}

.info-card .material-symbols-outlined {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
    background-color: rgba(0, 178, 218, 0.05);
    padding: 16px;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.info-card:hover .material-symbols-outlined {
    transform: scale(1.15) translateY(-4px);
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 178, 218, 0.3);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--on-surface);
}

.info-card p,
.info-card a {
    font-family: var(--font-body);
    color: #5f6368;
    text-decoration: none;
    line-height: 1.5;
}

.info-card:hover p {
    color: var(--primary);
}

/* --- Perfectly Balanced Bottom Split --- */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 850px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-container,
.hours-card {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--elevation-1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-container label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--on-surface);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--on-surface);
    background-color: #f3f4f6;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
    color: #9ca3af;
}

.contact-form-container input:hover,
.contact-form-container textarea:hover {
    background-color: #e5e7eb;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 178, 218, 0.15);
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
    flex-grow: 1;
}

#statusMessage {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    text-align: center;
}

.status-success {
    background-color: #d1fae5;
    color: #065f46;
    display: block !important;
}

.status-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block !important;
}

.status-loading {
    background-color: #e0f2fe;
    color: var(--primary);
    display: block !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    white-space: nowrap;
    background-color: #f3f4f6;
    color: #6b7280;
    line-height: 1;
}

.status-badge span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 100%;
}

.status-open {
    background-color: #d1fae5;
    color: #065f46;
}

.status-closed {
    background-color: #fee2e2;
    color: #991b1b;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #5f6368;
    flex-grow: 1;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.hours-row:last-child {
    border-bottom: none;
}

.today-highlight {
    color: var(--primary);
    font-weight: 700;
    background-color: rgba(var(--primary-rgb, 0, 178, 218), 0.05);
    padding: 12px 16px;
    margin: 4px -16px;
    border-radius: 8px;
    border-bottom: none;
}

.holiday-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #92400e;
}

@media (max-width: 768px) {

    .contact-form-container,
    .hours-card {
        padding: 24px;
    }

    .today-highlight {
        margin: 4px -24px;
        padding: 12px 24px;
    }

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

/* ==========================================================================
   OOCSS ADDENDUM: Signup Page
   ========================================================================== */

.l-main--signup {
    min-height: 80vh;
    padding-bottom: 80px;
}

.section-header--signup {
    padding-top: 80px;
    padding-bottom: 40px;
}

.l-section--signup {
    padding-top: 0;
    padding-left: 5%;
    padding-right: 5%;
}

.l-split--signup {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* MyMusicStaff Wrapper */
.mms-wrapper {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--elevation-2);
    border-top: 6px solid var(--primary);
}

.mms-wrapper__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}

.mms-wrapper iframe {
    width: 100% !important;
    border: none;
    min-height: 600px;
}

/* Info Panel & Process Steps */
.signup-info-panel__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    background-color: rgba(var(--brand-cyan-rgb), 0.1);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--on-surface);
    margin-bottom: 8px;
    margin-top: 6px;
}

.step-content p {
    font-family: var(--font-body);
    color: #5f6368;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Reusable Alert Card Component */
.alert-card {
    margin-top: 48px;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.alert-card--warning {
    background-color: #fffbeb;
    border-left-color: #f59e0b;
}

.alert-card__header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.alert-card__icon {
    color: #d97706;
}

.alert-card__title {
    font-family: var(--font-heading);
    color: #92400e;
    font-size: 1.1rem;
    margin: 0;
}

.alert-card__text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #92400e;
    margin: 0;
}

.alert-card__link {
    color: #d97706;
    font-weight: 600;
}

/* Responsive Overrides */
@media (max-width: 850px) {
    .l-split--signup {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .mms-wrapper {
        padding: 24px 16px;
    }
}