/* ============================================
   RIVIERA INTERNATIONAL SCHOOL — Premium Website
   Navy Blue + Gold Theme — STEELS-level quality
   ============================================ */

/* ====== CSS Variables ====== */
:root {
    --navy: #1b2d5b;
    --navy-dark: #0f1a36;
    --navy-deep: #0a1128;
    --navy-light: #2a4480;
    --gold: #c9a84c;
    --gold-dark: #a08330;
    --gold-light: #e8d5a3;
    --white: #ffffff;
    --off-white: #f5f7fa;
    --dark: #0a0a14;
    --dark-2: #10102a;
    --dark-3: #1a1a3e;
    --gray-1: #2a2a4a;
    --gray-2: #555577;
    --gray-3: #8888aa;
    --gray-4: #aaaacc;
    --gray-5: #ccccdd;

    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ====== Reset & Base ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--dark);
    overscroll-behavior: none;
}

html.lenis, html.lenis body { height: auto; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--gray-5);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

::selection { background: var(--gold); color: var(--navy-deep); }
a { text-decoration: none; color: inherit; cursor: none; }
img { max-width: 100%; display: block; }
.section-padding { padding: 120px 0; }

/* ====== Custom Cursor ====== */
.cursor-dot {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: var(--gold); border-radius: 50%;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring {
    position: fixed; top: 0; left: 0; width: 40px; height: 40px;
    border: 1.5px solid rgba(201, 168, 76, 0.5); border-radius: 50%;
    pointer-events: none; z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-hover .cursor-dot {
    width: 60px; height: 60px;
    background: rgba(201, 168, 76, 0.15);
    mix-blend-mode: difference;
}
.cursor-hover .cursor-ring { width: 70px; height: 70px; border-color: var(--gold); }

@media (max-width: 1024px) {
    .cursor-dot, .cursor-ring { display: none !important; }
    body, a { cursor: auto; }
}

/* ====== Preloader ====== */
#preloader {
    position: fixed; inset: 0;
    background: var(--navy-deep); z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }

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

.preloader-shield { width: 70px; height: 84px; margin: 0 auto 24px; }
.shield-svg { width: 100%; height: 100%; }
.shield-path {
    stroke-dasharray: 400; stroke-dashoffset: 400;
    animation: drawShield 2s ease forwards;
}
@keyframes drawShield { to { stroke-dashoffset: 0; } }

.preloader-text {
    font-family: var(--font-display); font-size: 48px; font-weight: 700;
    color: var(--white); letter-spacing: 12px;
    display: flex; gap: 4px; justify-content: center;
}
.preloader-text span {
    display: inline-block; animation: preloaderPop 0.6s ease forwards;
    opacity: 0; transform: translateY(20px);
}
.preloader-text span:nth-child(1) { animation-delay: 0.3s; }
.preloader-text span:nth-child(2) { animation-delay: 0.35s; }
.preloader-text span:nth-child(3) { animation-delay: 0.4s; }
.preloader-text span:nth-child(4) { animation-delay: 0.45s; }
.preloader-text span:nth-child(5) { animation-delay: 0.5s; }
.preloader-text span:nth-child(6) { animation-delay: 0.55s; }
.preloader-text span:nth-child(7) { animation-delay: 0.6s; }

@keyframes preloaderPop { to { opacity: 1; transform: translateY(0); } }

.preloader-sub {
    font-family: var(--font-mono); font-size: 12px;
    color: var(--gold); letter-spacing: 4px; text-transform: uppercase;
    margin-top: 8px; opacity: 0; animation: fadeIn 0.5s ease 0.8s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.preloader-line {
    width: 200px; height: 2px; background: rgba(255,255,255,0.06);
    margin: 24px auto 0; position: relative; overflow: hidden; border-radius: 2px;
}
.preloader-line::after {
    content: ''; position: absolute; left: -100%; top: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    animation: preloaderSlide 1.5s ease-in-out infinite;
}
@keyframes preloaderSlide { 0% { left: -100%; } 50% { left: 0; } 100% { left: 100%; } }

/* ====== Navigation ====== */
.navbar-custom {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 9999; padding: 20px 0; transition: var(--transition);
}
.navbar-custom.scrolled {
    padding: 12px 0;
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

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

.nav-logo-img { height: 44px; width: auto; transition: height 0.3s ease; }
.navbar-custom.scrolled .nav-logo-img { height: 36px; }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links .nav-link {
    font-family: var(--font-primary); font-size: 13px; font-weight: 500;
    color: var(--gray-4); padding: 8px 16px; border-radius: 100px;
    transition: var(--transition-fast); letter-spacing: 0.5px; position: relative;
}
.nav-links .nav-link::before {
    content: attr(data-section); font-family: var(--font-mono);
    font-size: 9px; color: var(--gray-3); position: absolute;
    top: -2px; right: 8px; opacity: 0; transition: var(--transition-fast);
}
.nav-links .nav-link:hover::before { opacity: 1; }
.nav-links .nav-link:hover, .nav-links .nav-link.active {
    color: var(--white); background: rgba(201, 168, 76, 0.08);
}

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-cta {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--navy-deep);
    background: var(--gold); padding: 10px 24px; border-radius: 100px;
    transition: var(--transition);
}
.nav-cta:hover {
    background: var(--gold-light); color: var(--navy-deep);
    transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}
.nav-cta i { transition: transform 0.3s ease; }
.nav-cta:hover i { transform: translateX(4px); }

/* Hamburger */
.nav-hamburger {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; padding: 8px; cursor: none; z-index: 10001;
}
.nav-hamburger span {
    display: block; width: 28px; height: 2px; background: var(--white);
    transition: var(--transition); transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 991px) {
    .nav-links, .nav-cta { display: none !important; }
    .nav-hamburger { display: flex; }
    .nav-container { padding: 0 20px; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; background: var(--navy-deep);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition-slow);
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-content { text-align: center; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 8px; }

.mobile-link {
    font-family: var(--font-display); font-size: 42px; font-weight: 700;
    color: var(--white); position: relative; padding: 8px 0;
    transform: translateY(40px); opacity: 0; transition: var(--transition-slow);
}
.mobile-menu.active .mobile-link { transform: translateY(0); opacity: 1; }
.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-link:nth-child(8) { transition-delay: 0.45s; }

.mobile-link::before {
    content: attr(data-index); font-family: var(--font-mono);
    font-size: 12px; color: var(--gold); position: absolute; top: 8px; left: -30px;
}
.mobile-link:hover { color: var(--gold); }

.mobile-menu-footer {
    margin-top: 50px; font-family: var(--font-mono);
    font-size: 13px; color: var(--gray-3);
}
.mobile-menu-footer p { margin-bottom: 5px; }

/* ====== Hero ====== */
.hero-scroll-wrapper { position: relative; height: 500vh; }
.hero-scroll-spacer { position: absolute; inset: 0; pointer-events: none; }

.hero-section {
    position: sticky; top: 0; height: 100vh;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}

/* ── Hero Image Sequence (scroll-driven crossfade) ── */
.hero-image-sequence { position: absolute; inset: 0; z-index: 0; }

.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.6s ease;
    overflow: hidden;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.15);
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.6) saturate(1.1);
}
.hero-slide.active img {
    transform: scale(1);
}

/* Ken Burns directional movement per slide */
.hero-slide[data-slide="0"] img { transform-origin: 30% 40%; }
.hero-slide[data-slide="1"] img { transform-origin: 70% 30%; }
.hero-slide[data-slide="2"] img { transform-origin: 40% 60%; }
.hero-slide[data-slide="3"] img { transform-origin: 60% 40%; }
.hero-slide[data-slide="4"] img { transform-origin: 50% 50%; }

/* ── Glowing Orb ── */
.hero-glow-orb {
    position: absolute; width: 600px; height: 600px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 1;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.02) 40%, transparent 70%);
    animation: orbPulse 6s ease-in-out infinite;
    pointer-events: none; transition: opacity 0.5s ease;
}
@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ── Light Sweep ── */
.hero-light-sweep {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(201, 168, 76, 0.04) 45%, rgba(255,255,255,0.03) 50%, transparent 55%);
    background-size: 200% 100%;
    animation: lightSweep 8s ease-in-out infinite;
}
@keyframes lightSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Cinematic Frame Corners ── */
.hero-frame {
    position: absolute; inset: 30px; z-index: 8;
    pointer-events: none;
}
.frame-corner {
    position: absolute; width: 40px; height: 40px;
}
.frame-corner::before, .frame-corner::after {
    content: ''; position: absolute; background: rgba(201, 168, 76, 0.25);
}
.fc-tl { top: 0; left: 0; }
.fc-tl::before { top: 0; left: 0; width: 40px; height: 1px; }
.fc-tl::after { top: 0; left: 0; width: 1px; height: 40px; }
.fc-tr { top: 0; right: 0; }
.fc-tr::before { top: 0; right: 0; width: 40px; height: 1px; }
.fc-tr::after { top: 0; right: 0; width: 1px; height: 40px; }
.fc-bl { bottom: 0; left: 0; }
.fc-bl::before { bottom: 0; left: 0; width: 40px; height: 1px; }
.fc-bl::after { bottom: 0; left: 0; width: 1px; height: 40px; }
.fc-br { bottom: 0; right: 0; }
.fc-br::before { bottom: 0; right: 0; width: 40px; height: 1px; }
.fc-br::after { bottom: 0; right: 0; width: 1px; height: 40px; }

/* ── Left Side Info Strip ── */
.hero-side-info {
    position: absolute; left: 30px; top: 50%; transform: translateY(-50%);
    z-index: 9; display: flex; flex-direction: column;
    align-items: center; gap: 12px;
}
.side-year, .side-loc {
    font-family: var(--font-mono); font-size: 10px;
    color: rgba(255,255,255,0.35); letter-spacing: 3px;
    writing-mode: vertical-rl; text-orientation: mixed;
}
.side-line { width: 1px; height: 50px; background: rgba(201, 168, 76, 0.2); }

/* ── Hero Intro (hidden — not used as landing anymore) ── */
.hero-intro {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10; display: none;
    align-items: center; justify-content: center;
    pointer-events: none;
}
.hero-intro-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(201, 168, 76, 0.1); border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 8px 20px; border-radius: 100px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0; animation: introFadeUp 0.8s ease 2.5s forwards;
}
.hero-intro-title {
    display: flex; gap: 2px; overflow: hidden;
}
.hit-letter {
    font-family: var(--font-display);
    font-size: clamp(60px, 12vw, 160px);
    font-weight: 800; color: var(--white);
    letter-spacing: 6px; line-height: 1;
    display: inline-block;
    opacity: 0; transform: translateY(100%);
    animation: letterReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(2.4s + var(--i) * 0.07s);
    text-shadow: 0 0 80px rgba(201, 168, 76, 0.15);
}
@keyframes letterReveal {
    to { opacity: 1; transform: translateY(0); }
}
.hero-intro-sub {
    font-family: var(--font-serif); font-size: clamp(16px, 2.5vw, 28px);
    color: var(--gold); letter-spacing: 6px;
    text-transform: uppercase; margin-top: 8px;
    opacity: 0; animation: introFadeUp 0.8s ease 3.1s forwards;
}
.hero-intro-tagline {
    font-family: var(--font-primary); font-size: 15px;
    color: var(--gray-3); letter-spacing: 4px;
    text-transform: uppercase; margin-top: 20px;
    opacity: 0; animation: introFadeUp 0.8s ease 3.4s forwards;
}
@keyframes introFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Animated Geometric Shapes (enhanced) ── */
.hero-shapes {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    overflow: hidden; transition: transform 0.3s ease;
}
.h-shape { position: absolute; }

.h-circle-1 {
    width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    top: 10%; left: -5%; animation: shapeFloat1 16s ease-in-out infinite;
}
.h-circle-2 {
    width: 450px; height: 450px; border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 68, 128, 0.1) 0%, transparent 70%);
    bottom: -10%; right: -8%; animation: shapeFloat2 20s ease-in-out infinite;
}
.h-ring-1 {
    width: 220px; height: 220px; border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.1);
    top: 20%; right: 15%; animation: shapeFloat3 14s ease-in-out infinite, shapeSpin 40s linear infinite;
}
.h-ring-2 {
    width: 140px; height: 140px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    bottom: 30%; left: 10%; animation: shapeFloat1 18s ease-in-out infinite reverse;
}
.h-ring-3 {
    width: 80px; height: 80px; border-radius: 50%;
    border: 1px dashed rgba(201, 168, 76, 0.08);
    top: 60%; right: 25%; animation: shapeSpin 30s linear infinite, shapeFloat2 15s ease-in-out infinite;
}
.h-line-1 {
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.18), transparent);
    top: 35%; left: 5%; transform: rotate(-15deg);
    animation: linePulse 4s ease-in-out infinite;
}
.h-line-2 {
    width: 150px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    top: 65%; right: 8%; transform: rotate(25deg);
    animation: linePulse 5s ease-in-out infinite 1s;
}
.h-line-3 {
    width: 100px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.12), transparent);
    bottom: 25%; left: 30%; transform: rotate(-8deg);
    animation: linePulse 3.5s ease-in-out infinite 0.5s;
}
.h-line-4 {
    width: 180px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
    top: 18%; left: 40%; transform: rotate(12deg);
    animation: linePulse 6s ease-in-out infinite 2s;
}
.h-dot-grid {
    width: 140px; height: 140px; top: 15%; right: 25%;
    background-image: radial-gradient(circle, rgba(201, 168, 76, 0.14) 1px, transparent 1px);
    background-size: 16px 16px;
    animation: shapeFloat2 22s ease-in-out infinite;
    opacity: 0.5;
}
.h-dot-grid-2 {
    width: 100px; height: 100px; bottom: 18%; left: 5%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 14px 14px;
    animation: shapeFloat1 20s ease-in-out infinite;
    opacity: 0.4;
}
.h-cross-1, .h-cross-2 {
    font-family: var(--font-display); color: rgba(201, 168, 76, 0.12);
    font-size: 2rem; font-weight: 300;
}
.h-cross-1 { top: 45%; left: 8%; animation: shapeSpin 20s linear infinite; }
.h-cross-2 { bottom: 20%; right: 12%; animation: shapeSpin 25s linear infinite reverse; }
.h-diamond {
    width: 20px; height: 20px; top: 30%; right: 10%;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transform: rotate(45deg);
    animation: shapeFloat3 12s ease-in-out infinite, shapeSpin 35s linear infinite;
}

@keyframes shapeFloat1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -30px); }
    50% { transform: translate(-10px, -50px); }
    75% { transform: translate(30px, -20px); }
}
@keyframes shapeFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 20px); }
    66% { transform: translate(20px, -30px); }
}
@keyframes shapeFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 30px) scale(1.1); }
}
@keyframes shapeSpin { 0% { rotate: 0deg; } 100% { rotate: 360deg; } }
@keyframes linePulse {
    0%, 100% { opacity: 0.3; width: 100px; }
    50% { opacity: 1; width: 200px; }
}

/* ── Progress label ── */
.hp-label {
    font-family: var(--font-mono); font-size: 10px;
    color: rgba(255,255,255,0.3); letter-spacing: 1px;
    text-align: center; margin-top: 4px;
}

/* ── Scroll hint mouse icon ── */
.scroll-hint-mouse {
    width: 22px; height: 34px; border-radius: 11px;
    border: 1.5px solid rgba(255,255,255,0.3);
    position: relative; margin-bottom: 6px;
}
.scroll-hint-wheel {
    width: 3px; height: 8px; border-radius: 3px;
    background: var(--gold);
    position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ── Hero Progress Indicator ── */
.hero-progress {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
    z-index: 12; display: flex; flex-direction: column; gap: 12px;
}
.hp-item {
    width: 3px; height: 24px; background: rgba(255,255,255,0.1);
    border-radius: 3px; position: relative; overflow: hidden; cursor: pointer;
    transition: height 0.3s ease;
}
.hp-item.active { height: 40px; }
.hp-item span {
    position: absolute; bottom: 0; left: 0; width: 100%;
    height: 0; background: var(--gold); border-radius: 3px;
    transition: height 0.3s ease;
}
.hp-item.active span { height: 100%; }

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: rgba(10, 17, 40, 0.3); transition: background 0.3s ease;
}
.hero-grain {
    position: absolute; inset: 0; z-index: 2; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.particle-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.8s ease;
}

/* (floating icons removed — replaced by geometric shapes) */

/* Scroll text */
.scroll-text-layer {
    position: absolute; bottom: 8vh; left: 0; width: 100%;
    z-index: 6; padding: 0 6vw; pointer-events: none;
    opacity: 0; transition: opacity 0.5s ease;
}
.scroll-text-layer.visible { opacity: 1; }
.scroll-text-phrase {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 0 6vw; opacity: 0; transition: opacity 0.3s ease;
}
.scroll-text-phrase.active { opacity: 1; }

.st-line {
    display: block; font-family: var(--font-display);
    font-size: clamp(36px, 6.5vw, 96px); font-weight: 700;
    color: var(--white); line-height: 1.1; letter-spacing: -2px;
}
.st-char {
    display: inline-block; opacity: 0.06;
    transition: opacity 0.12s ease; will-change: opacity;
}
.st-char.revealed { opacity: 1; }
.st-char.space { width: 0.28em; }

.scroll-text-phrase em { font-style: normal; color: var(--gold); }
.accent-dot { color: var(--gold); font-weight: 700; }

/* Hero progress — hidden initially */
.hero-progress { opacity: 0; transition: opacity 0.5s ease; }
.hero-progress.visible { opacity: 1; }

/* Hero side info — hidden initially */
.hero-side-info { opacity: 0 !important; transition: opacity 0.5s ease !important; }
.hero-side-info.visible { opacity: 1 !important; }

/* Hero frame — hidden initially */
.hero-frame { opacity: 0; transition: opacity 0.5s ease; }
.hero-frame.visible { opacity: 1; }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; flex-direction: column;
    align-items: center; gap: 8px; transition: opacity 0.4s ease;
}
.hero-scroll-hint > span {
    font-family: var(--font-mono); font-size: 10px;
    color: rgba(255,255,255,0.4); letter-spacing: 4px;
}
.scroll-hint-line {
    width: 1px; height: 50px; background: rgba(255,255,255,0.15);
    position: relative; overflow: hidden;
}
.scroll-hint-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 50%; background: var(--gold);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }

/* Hero final content — visible by default as landing screen */
.hero-final-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 7; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    padding: 0 40px; max-width: 1400px; margin: 0 auto; right: 0;
    opacity: 1; transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}
.hero-final-content.hidden { opacity: 0; transform: translateY(-30px); pointer-events: none; }
.hero-final-content.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(201, 168, 76, 0.1); border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 8px 20px; border-radius: 100px;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 20px;
}
.badge-dot {
    width: 6px; height: 6px; background: var(--gold);
    border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

.hero-logo-reveal { margin-bottom: 16px; }
.hero-logo-img {
    height: 70px; width: auto;
    filter: drop-shadow(0 4px 30px rgba(201, 168, 76, 0.2));
    animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero-final-title {
    font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 80px);
    font-weight: 700; color: var(--white); line-height: 1.1;
    letter-spacing: -2px; margin-bottom: 20px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text; -webkit-text-color: transparent;
    background-clip: text; color: transparent;
}

.hero-final-desc {
    font-size: 18px; color: var(--gray-4); line-height: 1.8;
    max-width: 550px; margin-bottom: 35px;
}
.hero-final-cta {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 50px; flex-wrap: wrap;
}

/* Stats */
.hero-stats { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.stat-number {
    font-family: var(--font-display); font-size: 42px; font-weight: 700;
    color: var(--white); line-height: 1;
}
.stat-suffix { font-family: var(--font-display); font-size: 28px; color: var(--gold); font-weight: 600; }
.stat-label {
    font-family: var(--font-mono); font-size: 11px; color: var(--gray-3);
    letter-spacing: 2px; text-transform: uppercase; margin-top: 4px;
}
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.08); }

.hero-section-number {
    position: absolute; right: 40px; bottom: 40px;
    font-family: var(--font-mono); font-size: 12px;
    color: rgba(255,255,255,0.15); letter-spacing: 4px;
}

/* Buttons */
.btn-primary-custom {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--gold); color: var(--navy-deep);
    font-size: 14px; font-weight: 600; padding: 14px 32px;
    border-radius: 100px; transition: var(--transition);
    position: relative; overflow: hidden; border: none; cursor: none;
}
.btn-primary-custom::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary-custom:hover::before { left: 100%; }
.btn-primary-custom:hover {
    background: var(--gold-light); transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.25);
    color: var(--navy-deep);
}
.btn-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(15, 26, 54, 0.15); display: flex;
    align-items: center; justify-content: center; font-size: 14px;
    transition: transform 0.3s ease;
}
.btn-primary-custom:hover .btn-icon { transform: translateX(4px); }

.btn-outline-custom {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--gray-4);
    font-size: 14px; font-weight: 500; padding: 14px 28px;
    border-radius: 100px; border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition); cursor: none;
}
.btn-outline-custom:hover {
    border-color: var(--gold); color: var(--gold);
    transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

/* ====== Marquee ====== */
.marquee-section {
    padding: 20px 0; background: var(--navy-deep);
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
    overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-content {
    display: flex; align-items: center; gap: 40px; padding: 0 20px;
    font-family: var(--font-display); font-size: 18px;
    font-weight: 600; color: var(--gray-3); white-space: nowrap;
    text-transform: uppercase; letter-spacing: 3px;
}
.marquee-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ====== Section Shared ====== */
.section-number {
    position: absolute; top: 40px; right: 40px;
    font-family: var(--font-mono); font-size: 80px; font-weight: 700;
    color: rgba(201, 168, 76, 0.04); letter-spacing: 4px; line-height: 1;
    pointer-events: none;
}
.section-label {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.label-line { width: 40px; height: 1px; background: var(--gold); }
.section-label span:not(.label-line) {
    font-family: var(--font-mono); font-size: 12px;
    color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px);
    font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -1px;
}
.section-text { font-size: 16px; color: var(--gray-4); line-height: 1.8; }

/* ====== About ====== */
.about-section { position: relative; background: var(--dark); }
.about-image-wrapper { position: relative; }
.about-image-main {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.about-image-main img {
    width: 100%; height: 400px; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.85);
}
.about-image-wrapper:hover .about-image-main img { transform: scale(1.05); filter: brightness(1); }
.about-image-accent {
    position: absolute; bottom: -30px; right: -30px; width: 200px;
    border-radius: 12px; overflow: hidden; border: 4px solid var(--dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.about-image-accent img {
    width: 100%; height: 160px; object-fit: cover;
}
.about-experience-badge {
    position: absolute; top: -20px; left: -20px;
    background: var(--gold); color: var(--navy-deep);
    padding: 20px; border-radius: 12px; text-align: center;
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.3);
}
.exp-number { font-family: var(--font-display); font-size: 36px; font-weight: 700; display: block; }
.exp-text { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.about-features { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.about-feature {
    display: flex; gap: 16px; padding: 16px;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.about-feature:hover { border-color: rgba(201, 168, 76, 0.2); transform: translateX(8px); }
.feature-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
    background: rgba(201, 168, 76, 0.1); display: flex;
    align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--gold);
}
.about-feature h4 {
    font-family: var(--font-display); font-size: 15px;
    font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.about-feature p { font-size: 13px; color: var(--gray-3); margin: 0; line-height: 1.5; }

/* ====== Quote ====== */
.quote-section {
    padding: 100px 0; position: relative;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark));
    overflow: hidden;
}
.quote-bg-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
}
.quote-content { text-align: center; position: relative; z-index: 1; }
.quote-mark {
    font-family: var(--font-serif); font-size: 120px; color: var(--gold);
    line-height: 0.8; margin-bottom: -10px; opacity: 0.3;
}
.quote-content blockquote {
    font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 32px);
    color: var(--gray-5); line-height: 1.6; max-width: 800px;
    margin: 0 auto 30px; font-style: italic;
}
.quote-author {
    display: flex; align-items: center; gap: 16px; justify-content: center;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
}
.author-line { width: 40px; height: 1px; background: var(--gold); }

/* ====== Classes ====== */
.classes-section { position: relative; background: var(--dark-2); }
.classes-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 16px; margin-top: 40px;
}
.class-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px; padding: 28px 20px; text-align: center;
    transition: var(--transition); position: relative; overflow: hidden;
}
.class-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), transparent);
    opacity: 0; transition: opacity 0.4s ease; border-radius: 16px;
}
.class-card:hover::before { opacity: 1; }
.class-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.class-num {
    position: absolute; top: 12px; right: 16px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--gold); opacity: 0.4; letter-spacing: 1px;
}
.class-icon {
    font-size: 1.8rem; color: var(--gold); margin-bottom: 14px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.class-card:hover .class-icon { transform: scale(1.2) rotate(-8deg); }
.class-card h3 {
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    color: var(--white); margin-bottom: 8px;
}
.class-card p { font-size: 0.8rem; color: var(--gray-3); line-height: 1.6; margin-bottom: 12px; }
.class-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.class-tags span {
    font-size: 0.6rem; font-weight: 600; color: var(--gold);
    background: rgba(201, 168, 76, 0.08); padding: 3px 8px;
    border-radius: 50px; letter-spacing: 0.5px; text-transform: uppercase;
}

/* ====== Founder ====== */
.founder-section { position: relative; background: var(--dark); overflow: hidden; }

/* ── Photo wrapper ── */
.founder-photo-wrapper { position: relative; display: flex; flex-direction: column; align-items: center; }

.founder-photo-frame {
    position: relative; width: 100%; max-width: 420px;
    border-radius: 20px; overflow: visible;
}
.founder-photo {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.founder-photo img {
    width: 100%; height: 520px; object-fit: cover; object-position: top center;
    filter: grayscale(100%) brightness(0.85) contrast(1.1);
    transition: filter 1s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
}

/* Color reveal on hover — image goes from B&W to full color */
.photo-color-reveal {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(27, 45, 91, 0.15));
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.founder-photo-frame:hover .founder-photo img {
    filter: grayscale(0%) brightness(1) contrast(1.05);
    transform: scale(1.03);
}
.founder-photo-frame:hover .photo-color-reveal {
    opacity: 0;
}

/* Corner decorations */
.founder-frame-corner {
    position: absolute; width: 50px; height: 50px;
    border: 2px solid var(--gold); z-index: 2;
    transition: var(--transition-slow);
}
.corner-tl {
    top: -12px; left: -12px;
    border-right: none; border-bottom: none;
    border-radius: 4px 0 0 0;
}
.corner-br {
    bottom: -12px; right: -12px;
    border-left: none; border-top: none;
    border-radius: 0 0 4px 0;
}
.founder-photo-frame:hover .corner-tl { top: -18px; left: -18px; width: 60px; height: 60px; }
.founder-photo-frame:hover .corner-br { bottom: -18px; right: -18px; width: 60px; height: 60px; }

/* Dot grid decoration */
.founder-dots {
    position: absolute; bottom: -30px; left: -30px;
    width: 80px; height: 80px;
    background-image: radial-gradient(circle, rgba(201, 168, 76, 0.2) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    z-index: -1;
    animation: shapeFloat2 18s ease-in-out infinite;
}

/* Accent line */
.founder-accent-line {
    position: absolute; top: 40px; right: -40px;
    width: 80px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    z-index: 2;
    animation: linePulse 4s ease-in-out infinite;
}

/* Name tag below photo */
.founder-name-tag {
    display: flex; align-items: center; gap: 12px;
    margin-top: 24px;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
}
.tag-line { width: 30px; height: 1px; background: var(--gold); }

/* ── Founder content (right side) ── */
.founder-content { position: relative; }

.founder-person-name {
    font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
    font-weight: 700; color: var(--white);
    margin-bottom: 24px; margin-top: 8px;
    letter-spacing: -0.5px;
}

.founder-quote {
    position: relative;
    padding: 24px 28px;
    background: rgba(201, 168, 76, 0.04);
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
    margin-bottom: 24px;
}
.fq-mark {
    font-family: var(--font-serif); font-size: 60px;
    color: var(--gold); line-height: 0; position: absolute;
    top: 32px; left: 12px; opacity: 0.3;
}
.founder-quote p {
    font-family: var(--font-serif); font-size: 16px;
    color: var(--gray-5); line-height: 1.8;
    font-style: italic; margin: 0;
    padding-left: 8px;
}

.founder-content .section-text {
    margin-bottom: 16px;
}

/* Highlights row */
.founder-highlights {
    display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap;
}
.founder-highlight {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    flex: 1; min-width: 180px;
}
.founder-highlight:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.fh-icon {
    width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
    background: rgba(201, 168, 76, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.founder-highlight:hover .fh-icon { transform: scale(1.15) rotate(-8deg); }
.founder-highlight strong {
    font-family: var(--font-display); font-size: 13px;
    font-weight: 600; color: var(--white); display: block;
}
.founder-highlight span {
    font-size: 11px; color: var(--gray-3); line-height: 1.3;
}

/* ====== Achievements ====== */
.achievements-section { position: relative; background: var(--dark-2); }
.achievements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.achievement-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px; padding: 28px 24px; transition: var(--transition);
}
.achievement-card:hover {
    border-color: rgba(201, 168, 76, 0.2); transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.ach-icon { font-size: 2rem; color: var(--gold); margin-bottom: 16px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.achievement-card:hover .ach-icon { transform: scale(1.2) rotate(-10deg); }
.achievement-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.achievement-card p { font-size: 0.85rem; color: var(--gray-3); line-height: 1.6; margin-bottom: 12px; }
.ach-year {
    font-family: var(--font-mono); font-size: 11px; color: var(--gold);
    background: rgba(201, 168, 76, 0.08); padding: 4px 12px;
    border-radius: 50px; letter-spacing: 1px;
}

/* ====== Gallery — Expand-on-Hover Accordion ====== */
.gallery-section { position: relative; background: var(--dark); }

.gallery-accordion {
    display: flex;
    gap: 10px;
    height: 520px;
    margin-top: 40px;
}

.gallery-panel {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-panel:hover,
.gallery-panel.active {
    flex: 5;
}
.gallery-accordion:hover .gallery-panel:not(:hover) {
    flex: 1;
}
.gallery-accordion:hover .gallery-panel.active:not(:hover) {
    flex: 1;
}

/* Background image */
.panel-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s ease;
    filter: brightness(0.55) saturate(1.1);
    transform: scale(1.08);
}
.gallery-panel:hover .panel-bg,
.gallery-panel.active .panel-bg {
    filter: brightness(0.45) saturate(1.2);
    transform: scale(1);
}
.gallery-accordion:hover .gallery-panel:not(:hover) .panel-bg {
    filter: brightness(0.35) saturate(0.8);
    transform: scale(1.05);
}

/* Overlay gradient */
.panel-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        transparent 20%,
        rgba(10, 17, 40, 0.4) 50%,
        rgba(10, 17, 40, 0.85) 100%);
    transition: opacity 0.6s ease;
    z-index: 1;
}

/* Panel number */
.panel-num {
    position: absolute; top: 20px; left: 20px; z-index: 3;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--gold); letter-spacing: 2px;
    opacity: 0.6; transition: opacity 0.4s ease;
}
.gallery-panel:hover .panel-num { opacity: 1; }

/* Vertical title (visible when collapsed) */
.panel-title-vertical {
    position: absolute;
    bottom: 24px; left: 50%; z-index: 3;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center center;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600;
    color: var(--white); letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s ease 0.1s;
    pointer-events: none;
}
.gallery-panel:hover .panel-title-vertical,
.gallery-panel.active .panel-title-vertical {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Content (visible when expanded) */
.panel-content {
    position: absolute;
    bottom: 0; left: 0; right: 0; z-index: 3;
    padding: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.gallery-panel:hover .panel-content,
.gallery-panel.active .panel-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.15s;
}

.panel-tag {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--gold); text-transform: uppercase;
    letter-spacing: 3px; display: block; margin-bottom: 8px;
}
.panel-content h3 {
    font-family: var(--font-display); font-size: 1.5rem;
    font-weight: 700; color: var(--white);
    margin-bottom: 10px; line-height: 1.2;
}
.panel-content p {
    font-size: 13px; color: var(--gray-4);
    line-height: 1.7; margin-bottom: 18px;
    max-width: 400px;
}
.panel-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
    color: var(--navy-deep); background: var(--gold);
    padding: 10px 22px; border-radius: 100px;
    transition: var(--transition);
}
.panel-link:hover {
    background: var(--gold-light); color: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}
.panel-link i { font-size: 12px; transition: transform 0.3s ease; }
.panel-link:hover i { transform: translateX(4px); }

/* Side glow line on active panel */
.gallery-panel::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: var(--gold);
    z-index: 4;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-panel:hover::before {
    transform: scaleY(1);
}

/* ====== Admission ====== */
.admission-section { position: relative; background: var(--dark-2); }

.admission-steps { display: flex; flex-direction: column; gap: 20px; }
.adm-step { display: flex; gap: 16px; align-items: flex-start; }
.adm-step-num {
    width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
    background: rgba(201, 168, 76, 0.1); border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--gold);
}
.adm-step h5 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.adm-step p { font-size: 13px; color: var(--gray-3); margin: 0; }

/* Form */
.form-wrapper {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 40px;
}
.form-title {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: var(--white); margin-bottom: 24px;
}
.form-progress-bar { display: flex; gap: 8px; margin-bottom: 32px; }
.fpb-step {
    flex: 1; text-align: center; padding: 10px; border-radius: 8px;
    font-size: 12px; font-weight: 600; color: var(--gray-3);
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
}
.fpb-step span {
    display: inline-flex; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(255,255,255,0.05); align-items: center; justify-content: center;
    font-size: 10px; margin-right: 6px; transition: var(--transition);
}
.fpb-step.active { color: var(--gold); border-color: rgba(201, 168, 76, 0.3); background: rgba(201, 168, 76, 0.05); }
.fpb-step.active span { background: var(--gold); color: var(--navy-deep); }
.fpb-step.completed { color: var(--white); border-color: rgba(255,255,255,0.1); }
.fpb-step.completed span { background: var(--white); color: var(--dark); }

.form-step { display: none; animation: formSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.form-step.active { display: block; }
@keyframes formSlide { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.form-group { margin-bottom: 0; }
.form-group label {
    font-family: var(--font-primary); font-size: 12px; font-weight: 600;
    color: var(--gray-4); text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 6px; display: block;
}
.form-control-custom {
    width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
    color: var(--white); font-size: 14px; font-family: var(--font-primary);
    transition: var(--transition); outline: none;
}
.form-control-custom::placeholder { color: var(--gray-2); }
.form-control-custom:focus {
    border-color: var(--gold); background: rgba(201, 168, 76, 0.04);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}
select.form-control-custom { appearance: none; cursor: pointer; }

.form-actions { margin-top: 24px; }
.form-actions-split { display: flex; justify-content: space-between; gap: 12px; }

.form-review {
    background: rgba(255,255,255,0.03); border-radius: 12px; padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}
.review-item {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px;
}
.review-item:last-child { border: none; }
.review-label { color: var(--gray-3); }
.review-value { color: var(--white); font-weight: 600; }

.form-success {
    display: none; text-align: center; padding: 40px 20px;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-success.visible { display: block; }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.success-icon { font-size: 4rem; color: #22c55e; margin-bottom: 20px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 10px; }
.form-success p { color: var(--gray-4); margin-bottom: 24px; }

/* ====== Contact ====== */
.contact-section { position: relative; background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-info-item {
    display: flex; gap: 20px; padding: 30px; border-radius: 16px;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.contact-info-item:hover {
    border-color: rgba(201, 168, 76, 0.2); transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.contact-icon {
    width: 50px; height: 50px; min-width: 50px; border-radius: 12px;
    background: rgba(201, 168, 76, 0.1); display: flex;
    align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-info-item:hover .contact-icon { transform: scale(1.15) rotate(-8deg); }
.contact-info-item h5 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.contact-info-item p { font-size: 14px; color: var(--gray-3); line-height: 1.7; margin: 0; }

/* ====== Footer ====== */
.footer-section { background: var(--navy-deep); padding: 80px 0 0; }
.footer-top { padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo-img { height: 50px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--gray-3); line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.05); display: flex;
    align-items: center; justify-content: center;
    font-size: 1rem; color: var(--gray-3); transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

.footer-title {
    font-family: var(--font-display); font-size: 15px; font-weight: 600;
    color: var(--white); margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--gray-3); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 8px; }
.footer-contact-list li { display: flex; gap: 10px; font-size: 14px; color: var(--gray-3); }
.footer-contact-list li i { color: var(--gold); margin-top: 3px; }

.footer-bottom {
    padding: 24px 0; margin-top: 0;
}
.footer-bottom p { font-size: 13px; color: var(--gray-2); margin: 0; }
.footer-bottom a { font-size: 13px; color: var(--gray-3); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ====== Back to Top ====== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold); color: var(--navy-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4); color: var(--navy-deep); }

/* ====== Responsive ====== */
@media (max-width: 991px) {
    .classes-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-accordion { height: 450px; gap: 6px; }
    .panel-content h3 { font-size: 1.2rem; }
    .panel-content p { font-size: 12px; }
    .panel-content { padding: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .section-number { font-size: 60px; top: 20px; right: 20px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .hero-scroll-wrapper { height: 400vh; }
    .hero-section { height: 100vh; height: 100dvh; }

    .scroll-text-layer { padding: 0 20px; bottom: 10vh; }
    .scroll-text-phrase { padding: 0 20px; }
    .st-line { font-size: clamp(26px, 8vw, 48px); letter-spacing: -1px; line-height: 1.15; }

    .hero-final-content { padding: 0 20px; justify-content: center; padding-top: 60px; }
    .hero-final-title { font-size: clamp(28px, 8vw, 48px); letter-spacing: -1px; margin-bottom: 14px; }
    .hero-final-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
    .hero-final-desc br { display: none; }
    .hero-final-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; width: 100%; }
    .hero-final-cta .btn-primary-custom, .hero-final-cta .btn-outline-custom { justify-content: center; width: 100%; }

    .hero-stats { gap: 0; justify-content: space-between; width: 100%; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.08); }
    .hero-stat { flex: 1; align-items: center; text-align: center; }
    .stat-number { font-size: 28px; }
    .stat-suffix { font-size: 18px; }
    .stat-label { font-size: 10px; letter-spacing: 0; }
    .stat-divider { height: 36px; }

    .hero-badge { font-size: 10px; padding: 6px 14px; letter-spacing: 1.5px; }
    .hero-logo-img { height: 50px; }
    .hero-scroll-hint { bottom: 20px; }
    .hero-scroll-hint span { font-size: 9px; letter-spacing: 3px; }
    .scroll-hint-line { height: 35px; }

    .hero-overlay { transition: none; }
    .hero-overlay::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
        background: linear-gradient(0deg, rgba(10,17,40,0.6) 0%, transparent 100%);
    }

    .hero-shapes { display: none; }
    .hero-frame { inset: 16px; }
    .frame-corner { width: 24px; height: 24px; }
    .hero-side-info { display: none; }
    .hero-glow-orb { width: 300px; height: 300px; }
    .hero-light-sweep { display: none; }
    .hero-intro-title { gap: 0; }
    .hit-letter { font-size: clamp(40px, 12vw, 80px); letter-spacing: 2px; }
    .hero-intro-sub { font-size: 14px; letter-spacing: 4px; }
    .hero-intro-tagline { font-size: 11px; letter-spacing: 3px; }
    .hero-progress { right: 16px; gap: 8px; }
    .hp-item { height: 16px; }
    .hp-item.active { height: 28px; }
    .hp-label { display: none; }
    .hero-section-number { display: none; }

    .classes-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .class-card { padding: 20px 14px; }
    .achievements-grid { grid-template-columns: 1fr; }

    /* Founder mobile */
    .founder-photo-frame { max-width: 320px; margin: 0 auto; }
    .founder-photo img { height: 380px; }
    .founder-frame-corner { width: 36px; height: 36px; }
    .corner-tl { top: -8px; left: -8px; }
    .corner-br { bottom: -8px; right: -8px; }
    .founder-dots { display: none; }
    .founder-accent-line { display: none; }
    .founder-person-name { font-size: 22px; margin-top: 20px; }
    .founder-quote { padding: 16px 20px; }
    .fq-mark { font-size: 40px; top: 24px; }
    .founder-quote p { font-size: 14px; }
    .founder-highlights { flex-direction: column; gap: 10px; }
    .founder-highlight { min-width: auto; }

    /* Gallery accordion — vertical stack on mobile */
    .gallery-accordion {
        flex-direction: column;
        height: auto;
        gap: 8px;
    }
    .gallery-panel {
        height: 80px;
        flex: none;
        transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .gallery-panel:hover,
    .gallery-panel.active {
        height: 340px;
        flex: none;
    }
    .gallery-accordion:hover .gallery-panel:not(:hover) {
        height: 80px;
        flex: none;
    }
    .gallery-accordion:hover .gallery-panel.active:not(:hover) {
        height: 80px;
        flex: none;
    }
    .panel-title-vertical {
        bottom: auto; top: 50%; left: auto; left: 24px;
        transform: translateY(-50%) rotate(0deg);
        font-size: 13px;
    }
    .gallery-panel::before {
        top: 0; left: 0; width: 100%; height: 3px;
        transform: scaleX(0);
        transform-origin: left;
    }
    .gallery-panel:hover::before {
        transform: scaleX(1);
    }
    .panel-content { padding: 20px 24px; }
    .panel-content h3 { font-size: 1.1rem; }
    .panel-content p { font-size: 12px; max-width: none; }

    .form-wrapper { padding: 24px; }
    .section-number { display: none; }
}

@media (max-width: 400px) {
    .hero-scroll-wrapper { height: 350vh; }
    .st-line { font-size: 24px; }
    .hero-final-content { padding: 0 16px; padding-top: 80px; }
    .hero-final-title { font-size: 26px; }
    .classes-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 0; }
    .stat-number { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ====== Mobile Blocker ====== */
.mobile-blocker {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-blocker {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999999;
        background: #1b2d5b;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .mobile-blocker-content {
        text-align: center;
        padding: 40px 30px;
        max-width: 360px;
    }

    .mobile-blocker-icon {
        font-size: 52px;
        color: #c9a84c;
        margin-bottom: 24px;
        animation: mbPulse 2s ease-in-out infinite;
    }

    @keyframes mbPulse {
        0%, 100% { transform: scale(1); opacity: 0.8; }
        50% { transform: scale(1.08); opacity: 1; }
    }

    .mobile-blocker h2 {
        font-family: 'Playfair Display', serif;
        font-size: 28px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
    }

    .mobile-blocker p {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        color: #8899bb;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .mobile-blocker-line {
        width: 40px;
        height: 2px;
        background: #c9a84c;
        margin: 0 auto 20px;
        border-radius: 2px;
    }

    .mobile-blocker-brand {
        font-family: 'Playfair Display', serif;
        font-size: 12px;
        color: #4a5a7a;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    /* Hide everything else on mobile */
    body > *:not(.mobile-blocker) {
        display: none !important;
    }
}

/* ====== Anti-Copy Protection ====== */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

input, textarea, select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

img, video, svg, canvas {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none;
}

a, button, input, textarea, select, .navbar, .nav-link, .btn, [role="button"], label, .mobile-menu-toggle, .admission-form {
    pointer-events: auto !important;
}

@media print {
    html, body { display: none !important; }
}
