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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--stone-800);
    background: var(--stone-50);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--plum-800);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-size: 0.875rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 250, 249, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--stone-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--stone-800);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--plum-700);
}

.nav.scrolled .nav-logo-icon {
    color: var(--plum-700);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--stone-600);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-menu a:hover {
    color: var(--plum-700);
}

.nav-cta {
    background: var(--plum-800) !important;
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 500 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--plum-700) !important;
    color: white !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.25rem;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--stone-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

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

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        var(--plum-900) 0%,
        var(--plum-700) 30%,
        var(--plum-600) 50%,
        var(--amber-600) 80%,
        var(--amber-400) 100%
    );
    padding: 8rem 1.5rem 4rem;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(107, 33, 168, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(217, 119, 6, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(147, 51, 234, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    color: white;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-200);
    margin-bottom: 1.5rem;
    padding: 0.375rem 1rem;
    border: 1px solid rgba(253, 230, 138, 0.3);
    border-radius: 100px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-200);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: white;
    color: var(--plum-800);
}

.btn-primary:hover {
    background: var(--amber-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.hero-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white;
    font-weight: 400;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ─── SECTIONS ─── */
section {
    padding: 7rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--stone-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.0625rem;
    color: var(--stone-500);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.lead {
    font-size: 1.0625rem;
    color: var(--stone-600);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* ─── ABOUT ─── */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 5/6;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content .section-label {
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--stone-700);
    font-weight: 400;
}

.about-feature svg {
    color: var(--plum-600);
    flex-shrink: 0;
}

/* ─── PROGRAMS ─── */
.programs {
    background: var(--stone-50);
}

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

.program-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--stone-200);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    opacity: 0;
    transition: opacity 0.4s;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(107, 33, 168, 0.08);
    border-color: var(--plum-200);
}

.program-card:hover::before {
    opacity: 1;
}

.program-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.program-card:hover .program-card-icon {
    background: var(--plum-100);
}

.program-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--stone-900);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.program-age {
    font-size: 0.8125rem;
    color: var(--plum-600);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.program-card p {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── APPROACH ─── */
.approach {
    background: white;
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-content .section-label {
    margin-bottom: 1rem;
}

.approach-points {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.approach-point {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.approach-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--plum-200);
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.approach-point h4 {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--stone-800);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.approach-point p {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.7;
    font-weight: 300;
}

.approach-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 7/8.5;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.approach-image:hover img {
    transform: scale(1.03);
}

/* ─── CAMPUS ─── */
.campus {
    background: var(--stone-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item--tall {
    grid-column: span 5;
    grid-row: span 2;
}

/* ─── ENROLL ─── */
.enroll {
    background: white;
}

.enroll-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.enroll-text .section-label {
    margin-bottom: 1rem;
}

.enroll-contact {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.enroll-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.enroll-contact-item svg {
    color: var(--plum-600);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.enroll-contact-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-800);
    margin-bottom: 0.125rem;
}

.enroll-contact-item span,
.enroll-contact-item a {
    font-size: 0.9375rem;
    color: var(--stone-500);
    font-weight: 300;
}

.enroll-contact-item a:hover {
    color: var(--plum-600);
}

.enroll-form-wrapper {
    background: var(--stone-50);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--stone-200);
}

.enroll-form h3,
.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--stone-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-600);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--stone-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--stone-400);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success svg {
    color: var(--plum-600);
    margin-bottom: 1rem;
}

.form-success h4 {
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 4rem 0 2rem;
}

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--plum-400);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-info h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: 1rem;
}

.footer-info address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-info a {
    color: var(--stone-400);
    transition: color 0.2s;
    font-weight: 300;
}

.footer-info a:hover {
    color: var(--plum-400);
}

.footer-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info ul li a {
    font-size: 0.875rem;
    font-weight: 300;
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--stone-600);
}

/* ─── ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ─── MOBILE ─── */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 1.125rem;
        color: var(--stone-700);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 101;
    }
    
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 98;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    
    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 767px) {
    section {
        padding: 5rem 0;
    }
    
    .hero {
        padding: 7rem 1.25rem 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .about-grid,
    .approach-layout,
    .enroll-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image {
        aspect-ratio: 4/3;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--large,
    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
    
    .enroll-form-wrapper {
        padding: 1.75rem;
    }
}

@media (max-width: 479px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}
