/* --- THE FIRST BEAT | ABSOLUTE MASTER DESIGN SYSTEM --- */

/* ==========================================================================
   1. GLOBAL VARIABLES & THEME ENGINE
   ========================================================================== */
/* CLASSICAL VIBE (Default) */
:root {
    color-scheme: dark; 
    --bg-dark: #0b0f19;       
    --bg-card: #131c2e;       
    --text-main: #f8fafc;     
    --text-muted: #94a3b8;    
    --accent-primary: #f59e0b; 
    --accent-secondary: #06b6d4; 
    --mesh-color-1: rgba(6, 182, 212, 0.05);
    --mesh-color-2: rgba(245, 158, 11, 0.05);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ROCK / ELECTRIC VIBE */
body.theme-rock {
    --bg-dark: #050508;       
    --bg-card: #120e1a;       
    --accent-primary: #d946ef; 
    --accent-secondary: #a855f7; 
    --mesh-color-1: rgba(168, 85, 247, 0.08);
    --mesh-color-2: rgba(217, 70, 239, 0.08);
}

/* LO-FI VIBE */
body.theme-lofi {
    --bg-dark: #18181b;       
    --bg-card: #27272a;       
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent-primary: #cbd5e1; 
    --accent-secondary: #a78bfa; 
    --mesh-color-1: rgba(167, 139, 250, 0.06);
    --mesh-color-2: rgba(251, 113, 133, 0.04);
}

/* ==========================================================================
   2. BASE RESETS, TYPOGRAPHY & FLOATING SCROLLBARS
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-dark); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); border: 2px solid transparent; background-clip: padding-box; }
.modal-content::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 10px; margin: 24px 0; }

body {
    background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    background-image: radial-gradient(at 0% 0%, var(--mesh-color-1) 0px, transparent 50%), radial-gradient(at 100% 100%, var(--mesh-color-2) 0px, transparent 50%);
}

h1, h2, h3, h4 { font-weight: 800; color: var(--text-main); letter-spacing: -0.03em; line-height: 1.15; }
p { color: var(--text-muted); transition: color 0.5s ease; }
a { text-decoration: none; color: inherit; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 6rem 0; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: -1px; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 4rem auto; font-size: 1.1rem; }
.section-title span { color: transparent; background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary)); -webkit-background-clip: text; background-clip: text; }

/* ==========================================================================
   3. UNIVERSAL NAVBAR & BUTTONS
   ========================================================================== */
.navbar { 
    background-color: rgba(11, 15, 25, 0.45); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); 
    position: fixed; top: 0; left: 0; right: 0; margin: 0 auto; width: 100%; max-width: 100%; z-index: 1000; 
    border: 1px solid transparent; border-bottom-color: rgba(255, 255, 255, 0.03); 
    transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, border-radius 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.nav-container { 
    display: flex; justify-content: space-between; align-items: center; 
    height: 90px; width: 95%; max-width: 1400px; margin: 0 auto; position: relative; 
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.logo-wrapper { display: flex; align-items: center; flex: 1; justify-content: flex-start; }
.logo-img { height: 55px; width: auto; object-fit: contain; transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important; }

.nav-links { display: flex; list-style: none; gap: 1.8rem; margin: 0 auto; padding: 0; }
.nav-links li { white-space: nowrap; }
.nav-links a { display: block; font-weight: 600; font-size: 0.95rem; color: #cbd5e1; position: relative; padding: 0.5rem 0; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: right; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-home::after { background-color: #ef4444; }       
.nav-about::after { background-color: #f97316; }      
.nav-teachers::after { background-color: #eab308; }   
.nav-programs::after { background-color: #22c55e; }   
.nav-rehearsal::after { background-color: #06b6d4; }  
.nav-news::after { background-color: #6366f1; }       
.nav-contact::after { background-color: #a855f7; }    

.nav-right-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; flex: 1; }
.nav-enroll-btn { display: inline-block; background: transparent; color: var(--accent-primary); font-weight: 700; font-size: 0.9rem; padding: 0.6rem 1.4rem; border: 2px solid var(--accent-primary); border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; transition: transform 0.1s ease, background 0.3s, box-shadow 0.3s; white-space: nowrap; }
.nav-enroll-btn:hover { background: var(--accent-primary); color: #000; box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }

.vibe-switcher { position: relative; }
.vibe-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-main); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.2s; }
.vibe-btn:hover { border-color: var(--accent-primary); background: rgba(255, 255, 255, 0.08); }
.vibe-dropdown { display: none; position: absolute; top: 55px; right: 0; background: #111726; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 0.5rem; min-width: 160px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 2000; }
.vibe-dropdown.show { display: block; }
.vibe-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; color: #cbd5e1; font-size: 0.9rem; font-weight: 600; cursor: pointer; border-radius: 8px; transition: all 0.2s; }
.vibe-option:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.vibe-option.active { color: var(--accent-primary); background: rgba(245, 158, 11, 0.05); }

.btn-primary { display: inline-block; background: linear-gradient(135deg, var(--accent-primary) 0%, #d97706 100%); color: #000; font-weight: 700; padding: 1rem 2.2rem; border-radius: 50px; box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25); transition: transform 0.1s ease, box-shadow 0.3s ease; border: none; font-family: inherit; cursor: pointer; }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(245, 158, 11, 0.45); }
.btn-secondary { display: inline-block; background-color: rgba(255, 255, 255, 0.03); color: var(--text-main); font-weight: 700; padding: 1rem 2.2rem; border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 50px; transition: all 0.3s; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; cursor: pointer; }
.btn-secondary:hover { border-color: var(--accent-secondary); background-color: rgba(6, 182, 212, 0.05); color: var(--accent-secondary); }

.magnet-target { transition: transform 0.1s ease-out; }

/* Disabled button state (For 'Coming Soon' programs) */
.disabled-btn {
    background-color: #4b5563 !important;
    color: #9ca3af !important;
    border-color: #4b5563 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

.mobile-only-enroll { display: none; }
.menu-toggle { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; z-index: 1001; flex-shrink: 0; }
.menu-toggle span { display: block; position: absolute; height: 2px; width: 100%; background: var(--text-main); border-radius: 2px; opacity: 1; left: 0; transform: rotate(0deg); transition: .25s ease-in-out; }
.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.is-active span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; left: -15px; }
.menu-toggle.is-active span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

/* ==========================================================================
   4. HOMEPAGE SPECIFIC 
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; overflow: hidden; z-index: 1; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.hero-slide.active { opacity: 1; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(11, 15, 25, 0.95) 35%, rgba(11, 15, 25, 0.4) 100%); z-index: 2; }
.hero-content { max-width: 650px; text-align: left; position: relative; z-index: 3; }
.hero h1 { font-size: 4.2rem; margin-bottom: 1.5rem; background: linear-gradient(to right, #ffffff 60%, #cbd5e1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.25rem; margin-bottom: 3rem; }
.hero-btns { display: flex; gap: 1.5rem; justify-content: flex-start; }

.stacking-deck { display: flex; flex-direction: column; gap: 4rem; max-width: 950px; margin: 0 auto 4rem auto; }
.service-card { position: sticky; top: 130px; background: linear-gradient(145deg, var(--bg-card) 0%, #0c1220 100%); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); display: flex; align-items: stretch; overflow: hidden; min-height: 320px; transition: background 0.5s ease; }
.service-card-img-frame { width: 40%; position: relative; overflow: hidden; }
.service-card-img-frame img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card-info { width: 60%; padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.service-card h3 { font-size: 1.8rem; margin-bottom: 0.75rem; color: #fff; }
.service-card p { font-size: 1.05rem; color: #cbd5e1; }
.deck-cta-container { display: flex; justify-content: center; margin-top: 2rem; }

.video-wrapper { position: relative; width: 100%; max-width: 900px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.08); aspect-ratio: 16 / 9; }
.video-wrapper iframe { width: 100%; height: 100%; object-fit: cover; }

.carousel-container { width: 100%; max-width: 955px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); height: 100%; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(11, 15, 25, 0.6); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 55px; height: 55px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); z-index: 10; }
.carousel-btn:hover { background: var(--accent-secondary); color: #000; box-shadow: 0 0 25px rgba(6, 182, 212, 0.5); }
.carousel-btn.prev { left: 25px; } .carousel-btn.next { right: 25px; }

.center-container { display: flex; justify-content: center; }

/* ==========================================================================
   5. ABOUT PAGE SPECIFIC
   ========================================================================== */
.editorial-container { display: flex; flex-direction: column; gap: 6rem; margin-top: 3rem; }
.editorial-row { display: flex; align-items: center; gap: 4rem; }
.editorial-row:nth-child(even) { flex-direction: row-reverse; }
.editorial-img { flex: 1; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.05); }
.editorial-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); display: block; }
.editorial-row:hover .editorial-img img { transform: scale(1.05); }
.editorial-text { flex: 1; padding: 2rem 0; }
.editorial-text h3 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text-main); }
.editorial-text p { font-size: 1.15rem; color: #cbd5e1; line-height: 1.8; }
.editorial-text .highlight { color: var(--accent-primary); font-weight: 600; font-style: italic; display: block; margin-top: 1.5rem; }

/* ==========================================================================
   6. TEACHERS PAGE SPECIFIC
   ========================================================================== */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.teacher-card { background: linear-gradient(145deg, var(--bg-card) 0%, #0c1220 100%); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 15px 35px rgba(0,0,0,0.4); overflow: hidden; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; display: flex; flex-direction: column; cursor: pointer; position: relative; }
.teacher-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.teacher-card::after { content: ''; position: absolute; inset: 0; border-radius: 24px; border: 3px solid transparent; background: conic-gradient(from var(--angle), #ff0055, #00ffcc, #ffcc00, #00ffff, #ff0055) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; z-index: 10; pointer-events: none; }
.teacher-card:hover::after { opacity: 1; animation: spinEdge 2.5s linear infinite; }
@keyframes spinEdge { 0% { --angle: 0deg; } 100% { --angle: 360deg; } }
.teacher-img-frame { width: 100%; aspect-ratio: 1 / 1.1; overflow: hidden; position: relative; }
.teacher-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease; filter: grayscale(80%) contrast(1.1); }
.teacher-card:hover .teacher-img-frame img { transform: scale(1.08); filter: grayscale(0%) contrast(1); }
.teacher-info { padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.teacher-role { color: var(--accent-primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; margin-bottom: 0.5rem; display: block; }
.teacher-card h3 { font-size: 1.6rem; margin-bottom: 0; color: #fff; }
.teacher-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s ease; }
.teacher-card:hover .teacher-hint { color: #fff; }

/* ==========================================================================
   7. PROGRAMS PAGE SPECIFIC
   ========================================================================== */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.program-card { border-radius: 24px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; cursor: pointer; box-shadow: 0 15px 35px rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease; }
.program-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); border-color: var(--accent-primary); }
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); z-index: 0; }
.program-card:hover img { transform: scale(1.08); }
.program-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 2rem; z-index: 1; }
.program-card h3 { font-size: 2.2rem; color: #fff; margin-bottom: 0.5rem; text-shadow: 0 4px 10px rgba(0,0,0,0.5); text-align: center; }
.program-hint { color: var(--accent-primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.program-card:hover .program-hint { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   8. UNIVERSAL MODAL POPUP SYSTEM
   ========================================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: linear-gradient(145deg, var(--bg-card) 0%, #0c1220 100%); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 3rem 2.5rem; max-width: 600px; width: 90%; max-height: 85vh; overflow-y: auto; position: relative; transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 30px 60px rgba(0,0,0,0.8); display: flex; flex-direction: column; align-items: center; text-align: center; }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255, 255, 255, 0.05); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; z-index: 10; }
.modal-close:hover { background: #ef4444; color: #fff; transform: rotate(90deg); }

.modal-img { width: 140px; height: 140px; flex-shrink: 0; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 3px solid var(--accent-primary); box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3); }
.modal-role { color: var(--accent-primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; margin-bottom: 0.5rem; }
.modal-banner { width: 100%; height: 220px; border-radius: 16px; object-fit: cover; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.05); }
.format-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.format-tag { background: rgba(6, 182, 212, 0.1); color: var(--accent-secondary); border: 1px solid rgba(6, 182, 212, 0.3); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.modal-name { font-size: 2.2rem; margin-bottom: 1.5rem; color: #fff; }
.modal-bio { font-size: 1.05rem; color: #cbd5e1; line-height: 1.8; margin-bottom: 2rem; text-align: justify; width: 100%; padding: 0 1rem; }

/* ==========================================================================
   9. BAND REHEARSAL PAGE SPECIFIC
   ========================================================================== */
.rehearsal-split { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; margin-top: 4rem; }
.studio-gear-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.studio-gear-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; transition: all 0.3s ease; }
.studio-gear-box:hover { border-color: var(--accent-primary); background: rgba(245, 158, 11, 0.05); transform: translateY(-3px); }
.studio-gear-box i { font-size: 1.5rem; color: var(--accent-secondary); margin-bottom: 0.5rem; }
.studio-gear-title { font-weight: 700; font-size: 1.1rem; color: #fff; }
.studio-gear-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.fb-feed-container { background: #fff; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.4); position: sticky; top: 120px; overflow: hidden; display: flex; justify-content: center; }

.protocol-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.protocol-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: #cbd5e1; line-height: 1.5; }
.protocol-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--accent-secondary); }

.rate-badge { display: inline-flex; flex-wrap: wrap; justify-content: center; text-align: center; background: rgba(245, 158, 11, 0.2); border: 1px solid var(--accent-primary); color: var(--accent-primary); padding: 0.6rem 1.2rem; border-radius: 50px; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: 1px; font-size: clamp(0.75rem, 3vw, 0.9rem); line-height: 1.4; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease; filter: grayscale(50%) contrast(1.1); }
.gallery-item:hover img { transform: scale(1.08); filter: grayscale(0%) contrast(1); }
.gallery-item::after { content: ''; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.4s ease; pointer-events: none; }
.gallery-item:hover::after { box-shadow: inset 0 0 0 2px var(--accent-primary); }

/* ==========================================================================
   10. NEWS & EVENTS SPECIFIC
   ========================================================================== */
.news-layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-top: 2rem; }
.news-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; margin-bottom: 3.5rem; display: grid; }
.news-card { background: linear-gradient(145deg, var(--bg-card) 0%, #0f172a 100%); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.03); transition: all 0.4s ease; cursor: pointer; }
.news-card:hover { border-color: var(--accent-primary); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.news-img-frame { width: 100%; height: 220px; overflow: hidden; position: relative; }
.news-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img-frame img { transform: scale(1.06); }
.news-content { padding: 2rem; }
.news-date { font-size: 0.85rem; color: var(--accent-secondary); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-bottom: 0.5rem; }
.news-card h3 { font-size: 1.4rem; margin-bottom: 1rem; line-height: 1.3; }

.loading-text { text-align: center; color: var(--text-muted); font-size: 1.2rem; padding: 4rem 0; width: 100%; grid-column: 1 / -1; }
.past-event-card img { filter: grayscale(40%) contrast(1.1); transition: filter 0.4s ease; }
.past-event-card:hover img { filter: grayscale(0%) contrast(1); }

.featured-carousel { position: relative; width: 100%; height: 65vh; min-height: 500px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6); border: 1px solid rgba(255, 255, 255, 0.05); }
.carousel-track-inner { display: flex; height: 100%; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.featured-slide { min-width: 100%; height: 100%; position: relative; display: flex; align-items: flex-end; }
.featured-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); }
.featured-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 15, 25, 0.98) 0%, rgba(11, 15, 25, 0.6) 40%, rgba(11, 15, 25, 0.1) 100%); z-index: 1; }
.featured-content { position: relative; z-index: 2; padding: 4rem; max-width: 900px; }
.featured-badge { display: inline-block; background: var(--accent-primary); color: #000; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.75rem; margin-bottom: 1.5rem; box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3); }
.featured-title { font-size: 3.5rem; line-height: 1.1; color: #fff; margin-bottom: 1rem; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.featured-desc { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 1.5rem; line-height: 1.6; }
.featured-meta { font-size: 0.95rem; color: var(--accent-secondary); margin-bottom: 2.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.carousel-indicators { position: absolute; bottom: 2rem; right: 4rem; display: flex; gap: 12px; z-index: 3; }
.indicator-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: all 0.3s ease; }
.indicator-dot.active { background: var(--accent-primary); transform: scale(1.3); box-shadow: 0 0 10px var(--accent-primary); }

/* ==========================================================================
   11. CONTACT & ENROLLMENT PAGE SPECIFIC
   ========================================================================== */
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: stretch; margin-top: 2rem; }
.contact-dossier { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.dossier-item { display: flex; gap: 1.5rem; align-items: center; }
.dossier-icon { width: 55px; height: 55px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-secondary); font-size: 1.3rem; transition: all 0.3s ease; flex-shrink: 0; }
.dossier-item:hover .dossier-icon { color: var(--accent-primary); border-color: var(--accent-primary); box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); transform: translateY(-2px); }
.dossier-text { flex-grow: 1; }
.dossier-text h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; color: #fff; }
.dossier-text p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.5; }

.contact-console { background: linear-gradient(145deg, var(--bg-card) 0%, #0c1220 100%); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 3.5rem; box-shadow: 0 25px 50px rgba(0,0,0,0.5); height: 100%; position: relative; }
.enrollment-console { background: linear-gradient(145deg, var(--bg-card) 0%, #0c1220 100%); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 4rem; box-shadow: 0 30px 60px rgba(0,0,0,0.6); max-width: 950px; margin: 0 auto; position: relative; }
.enrollment-header { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; }

.section-divider { margin: 2.5rem 0 1.5rem 0; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.2rem; color: var(--accent-secondary); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.section-divider:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.full-width { grid-column: 1 / -1; }

.form-group { position: relative; margin-bottom: 2rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.75rem; transition: color 0.3s; }
.form-input { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 1rem 1.2rem; color: #fff; font-family: inherit; font-size: 1rem; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.form-input:focus { outline: none; border-color: var(--accent-primary); background: rgba(0, 0, 0, 0.5); box-shadow: 0 0 20px rgba(245, 158, 11, 0.15); transform: translateY(-2px); }
.form-input:focus + .form-label { color: var(--accent-primary); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-btn { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 12px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); user-select: none; flex-grow: 1; text-align: center; }
.pill-btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: #fff; transform: translateY(-2px); }
@keyframes popIn { 0% { transform: scale(0.9); } 50% { transform: scale(1.05); } 100% { transform: scale(1) translateY(-2px); } }
.pill-btn.active { background: var(--accent-primary); border-color: var(--accent-primary); color: #000; box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3); animation: popIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

#submitLoader { display: none; position: absolute; inset: 0; background: rgba(12, 18, 32, 0.95); border-radius: 24px; z-index: 10; align-items: center; justify-content: center; flex-direction: column; color: var(--accent-primary); backdrop-filter: blur(5px); }
#submitLoader i { font-size: 3.5rem; margin-bottom: 1rem; }

.map-section { margin-top: 5rem; width: 100%; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 30px 60px rgba(0,0,0,0.6); position: relative; height: 450px; }
.map-section iframe { width: 100%; height: 100%; border: none; }

/* ==========================================================================
   12. CINEMATIC BENTO FOOTER & PIANO
   ========================================================================== */
.bento-footer { position: relative; margin-top: 6rem; padding: 4rem 0 2rem; background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 32, 0.8) 100%); border-top: 1px solid rgba(255, 255, 255, 0.02); }
.bento-footer::before { content: ''; position: absolute; top: 0; left: 10%; width: 80%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); opacity: 0.4; }

.footer-bento-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }

.bento-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 2.5rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s; }
.bento-card:hover { border-color: rgba(255, 255, 255, 0.1); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

.bento-card h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px; }
.bento-card ul { list-style: none; }
.bento-card ul li { margin-bottom: 0.85rem; }
.bento-card ul li a { display: inline-flex; align-items: center; gap: 10px; color: #94a3b8; font-size: 0.95rem; transition: color 0.2s, transform 0.2s; }
.bento-card ul li a i { color: var(--accent-secondary); font-size: 1.1rem; }
.bento-card ul li a:hover { color: var(--accent-primary); transform: translateX(5px); }

.bento-socials { display: flex; gap: 1rem; }
.bento-social-btn { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; color: #cbd5e1; font-size: 1.1rem; transition: all 0.3s ease; }
.bento-social-btn:hover { background-color: var(--accent-secondary); color: #000; border-color: transparent; box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); transform: translateY(-4px); }

.bento-card.piano-span { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.2) 100%); }
.piano-text h4 { margin-bottom: 0.5rem; }
.piano-text p { font-size: 0.95rem; margin: 0; }
.keyboard-frame { display: flex; background: #000; padding: 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); position: relative; }
.piano-key { background: #fff; height: 60px; width: 45px; border: 1px solid #ddd; border-radius: 0 0 6px 6px; cursor: pointer; transition: background 0.1s; position: relative; }
.piano-key.white-active { background: #cbd5e1 !important; }
.piano-key.black { background: #111; height: 35px; width: 24px; margin-left: -12px; margin-right: -12px; z-index: 2; border: none; border-radius: 0 0 4px 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.piano-key.black-active { background: #334155 !important; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: #64748b; }

/* ==========================================================================
   13. ANIMATIONS & RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1250px) { 
    .nav-links { gap: 1.2rem; } 
    .nav-links a { font-size: 0.88rem; } 
}

@media (max-width: 1140px) {
    .nav-enroll-btn { display: none; } 
    
    .menu-toggle { 
        display: block; width: 28px; height: 20px; position: relative; 
        cursor: pointer; z-index: 1001; flex-shrink: 0;
        transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .menu-toggle:active { transform: scale(0.8); }
    .menu-toggle span {
        display: block; position: absolute; height: 2px; width: 100%;
        background: var(--text-main); border-radius: 2px; opacity: 1;
        left: 0; transform: rotate(0deg); transition: .25s ease-in-out;
    }
    .menu-toggle span:nth-child(1) { top: 0px; }
    .menu-toggle span:nth-child(2) { top: 9px; }
    .menu-toggle span:nth-child(3) { top: 18px; }
    
    .menu-toggle.is-active span:nth-child(1) { top: 9px; transform: rotate(135deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; left: -15px; }
    .menu-toggle.is-active span:nth-child(3) { top: 9px; transform: rotate(-135deg); }
    
    .logo-wrapper { position: absolute; left: 50%; transform: translateX(-50%); }
    .nav-right-actions { justify-content: flex-end; }

    .nav-links { 
        display: flex; flex-direction: column; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
        position: absolute; top: 90px; left: 5%; width: 90%; height: auto; max-height: 80vh; overflow-y: auto;
        border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.1);
        justify-content: flex-start; align-items: flex-start; padding: 2rem 1.5rem; gap: 0.5rem; 
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(-30px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    }

    .nav-links.mobile-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }

    .nav-links a { 
        font-size: 1.2rem; width: 100%; padding: 12px 20px; border-radius: 14px; 
        -webkit-tap-highlight-color: transparent; 
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease; 
    }
    .nav-links a::after { display: none; }
    .nav-links a:active, .nav-links a.active { background: rgba(255, 255, 255, 0.08); color: var(--accent-primary); transform: scale(0.96); }

    .mobile-only-enroll { display: block; width: 100%; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
    .mobile-only-enroll a { text-align: center; padding: 1rem !important; margin: 0; display: block; }
    .mobile-only-enroll a:active { transform: scale(0.96); color: #000; }
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3.2rem; }
    .service-card { flex-direction: column; align-items: stretch; }
    .service-card-img-frame { width: 100%; height: 240px; }
    .service-card-info { width: 100%; padding: 2.5rem; }
    .editorial-row, .editorial-row:nth-child(even) { flex-direction: column; text-align: center; gap: 2rem; }
    .editorial-text { padding: 0 1rem; }
    .contact-split { grid-template-columns: 1fr; gap: 4rem; }
    .contact-console { padding: 2.5rem 1.5rem; }
    .footer-bento-grid { grid-template-columns: 1fr 1fr; }
    .brand-card { grid-column: 1 / -1; }
    
    .rehearsal-split { grid-template-columns: 1fr; }
    .news-layout-grid { grid-template-columns: 1fr; }
    .fb-feed-container { position: relative; top: 0; margin-top: 2rem; width: 100%; max-width: 500px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) { 
    .container { padding: 4rem 0; } 
    .section-title { font-size: 2.2rem; } 
    .hero h1 { font-size: 2.5rem; } 
    .hero p { font-size: 1.1rem; } 
    .hero-btns { flex-direction: column; } 
    .form-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .enrollment-console { padding: 2.5rem 1.5rem; }
    .pill-btn { padding: 10px 15px; font-size: 0.85rem; }
    .featured-content { padding: 2rem; }
    .featured-title { font-size: 2.2rem; }
    .carousel-indicators { right: 2rem; bottom: 1.5rem; }
    .footer-bento-grid { grid-template-columns: 1fr; }
    .bento-card.piano-span { justify-content: center; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .featured-carousel {
    min-height: 400px; /* Reduces the height so it doesn't swallow the whole screen */
    height: 55vh;
}
.featured-title { 
    font-size: 2rem; /* slightly smaller for narrow screens */
}
.featured-content { 
    padding: 1.5rem; 
} 
.modal-content {
    padding: 2rem 1.5rem; /* Less padding to maximize reading space */
    max-height: 90vh; /* Allow it to stretch a bit taller */
}
.modal-name {
    font-size: 1.8rem;
}
.modal-banner {
    height: 180px; /* Keep the image proportional on small screens */
}
}

@media (max-width: 420px) {
    .bento-card.piano-span { padding: 1.5rem 1rem; }
    .keyboard-frame { padding: 4px; }
    .piano-key { width: 35px; height: 50px; }
    .piano-key.black { width: 22px; height: 32px; margin-left: -11px; margin-right: -11px; }
}

/* ==========================================================================
   14. MOBILE SCROLLING PILL MENU
   ========================================================================== */
@media (max-width: 1140px) {
    .navbar.scrolled-pill {
        top: 15px !important;
        max-width: 92% !important; 
        border-radius: 50px !important;
        background-color: rgba(15, 23, 42, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.6) !important;
    }

    .navbar.scrolled-pill .nav-container { height: 65px !important; width: 90% !important; }
    .navbar.scrolled-pill .logo-img { height: 35px !important; }
    .navbar.scrolled-pill .nav-links { top: 75px !important; width: 100% !important; left: 0 !important; }
    .nav-links { left: 0 !important; width: 100% !important; }
}

/* --- SECURITY: Stealth Honeypot --- */
.stealth-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    z-index: -1;
}