   *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --font: "DM Sans", sans-serif;
            --blue: #1a56db;
            --blue-dark: #1340b0;
            --blue-mid: #2563eb;
            --blue-light: #dbeafe;
            --blue-xlight: #eff6ff;
            --green: #059669;
            --green-light: #d1fae5;
            --green-dark: #047857;
            --gold: #f59e0b;
            --gold-light: #fef3c7;
            --purple: #7c3aed;
            --purple-light: #ede9fe;
            --slate: #0f172a;
            --slate-700: #334155;
            --slate-500: #64748b;
            --slate-300: #cbd5e1;
            --slate-100: #f1f5f9;
            --white: #ffffff;
            --off: #f8fafc;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font);
            background: var(--white);
            color: var(--slate);
            overflow-x: hidden;
        }

        /* ── NAVBAR ── */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 999;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid rgba(203, 213, 225, 0.5);
            transition: box-shadow 0.3s;
        }

        .navbar.scrolled {
            box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
        }

        .nav-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .nav-logo-mark {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
        }

        .nav-logo-mark svg {
            width: 20px;
            height: 20px;
            color: white;
        }

        .nav-logo-text {
            font-family: var(--font);
            font-weight: 700;
            font-size: 1rem;
            color: var(--slate);
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .nav-logo-text span {
            display: block;
            font-weight: 400;
            font-size: 0.72rem;
            color: var(--slate-500);
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .nav-item {
            font-family: var(--font);
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--slate-700);
            text-decoration: none;
            padding: 8px 14px;
            border-radius: 8px;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .nav-item:hover {
            color: var(--blue);
            background: var(--blue-xlight);
        }

        .nav-item.active {
            color: var(--blue);
        }

        .nav-divider {
            width: 1px;
            height: 20px;
            background: var(--slate-300);
            margin: 0 6px;
        }

        .nav-login {
            font-family: var(--font);
            font-size: 0.875rem;
            font-weight: 600;
            background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
            color: white;
            padding: 9px 22px;
            border-radius: 10px;
            text-decoration: none;
            box-shadow: 0 2px 8px rgba(26, 86, 219, 0.28);
            transition: all 0.2s;
            white-space: nowrap;
        }

        .nav-login:hover {
            box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
            transform: translateY(-1px);
        }

        .nav-hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 6px;
            border: none;
            background: none;
        }

        .nav-hamburger span {
            width: 24px;
            height: 2px;
            background: var(--slate);
            border-radius: 2px;
            transition: all 0.3s;
            display: block;
        }

        .mobile-nav {
            display: none;
            position: fixed;
            top: 68px;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            z-index: 998;
            padding: 24px;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }

        .mobile-nav.open {
            display: flex;
        }

        .mobile-nav a {
            font-family: var(--font);
            font-size: 1rem;
            font-weight: 500;
            color: var(--slate);
            text-decoration: none;
            padding: 14px 16px;
            border-radius: 10px;
            transition: all 0.2s;
        }

        .mobile-nav a:hover {
            background: var(--blue-xlight);
            color: var(--blue);
        }

        .mobile-nav .mobile-login {
            background: var(--blue);
            color: white;
            text-align: center;
            margin-top: 12px;
            font-weight: 600;
        }

        /* ── HERO ── */
        .hero {
            padding-top: 68px;
            background: linear-gradient(150deg, #0f172a 0%, #1340b0 50%, #1a56db 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 70% 60% at 80% 20%, rgba(37, 99, 235, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 10% 80%, rgba(5, 150, 105, 0.15) 0%, transparent 60%);
        }

        .hero-grid-pattern {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 48px 48px;
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 32px 100px;
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 40px;
            align-items: center;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 100px;
            margin-bottom: 20px;
            backdrop-filter: blur(10px);
            letter-spacing: 0.03em;
        }

        .hero-badge-dot {
            width: 6px;
            height: 6px;
            background: #34d399;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1)
            }

            50% {
                opacity: .5;
                transform: scale(1.3)
            }
        }

        .hero-title {
            font-family: var(--font);
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
            font-weight: 700;
            color: white;
            letter-spacing: -0.035em;
            line-height: 1.15;
            margin-bottom: 12px;
        }

        .hero-title span {
            color: #93c5fd;
        }

        .hero-subtitle {
            font-family: var(--font);
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.7;
            max-width: 520px;
            margin-bottom: 32px;
        }

        .hero-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .hero-chip {
            font-family: var(--font);
            font-size: 0.78rem;
            font-weight: 500;
            padding: 5px 14px;
            border-radius: 100px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(8px);
        }

        /* School emblem/year card */
        .hero-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(16px);
            border-radius: 20px;
            padding: 28px 32px;
            text-align: center;
            flex-shrink: 0;
            animation: floatY 6s ease-in-out infinite;
        }

        @keyframes floatY {

            0%,
            100% {
                transform: translateY(0)
            }

            50% {
                transform: translateY(-10px)
            }
        }

        .hero-card-year {
            font-family: var(--font);
            font-size: 3rem;
            font-weight: 800;
            color: white;
            letter-spacing: -0.05em;
            line-height: 1;
        }

        .hero-card-label {
            font-family: var(--font);
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 4px;
            letter-spacing: 0.05em;
        }

        .hero-card-div {
            width: 40px;
            height: 2px;
            background: #60a5fa;
            border-radius: 2px;
            margin: 14px auto;
        }

        .hero-card-npsn {
            font-family: var(--font);
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.08em;
        }

        /* ── WAVE ── */
        .wave {
            display: block;
            margin-top: -2px;
        }

        /* ── SECTION COMMON ── */
        .section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 32px;
        }

        .section-label {
            font-family: var(--font);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--blue);
            margin-bottom: 12px;
        }

        .section-title {
            font-family: var(--font);
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 700;
            letter-spacing: -0.03em;
            color: var(--slate);
            line-height: 1.2;
            margin-bottom: 14px;
        }

        .section-desc {
            font-family: var(--font);
            font-size: 1rem;
            color: var(--slate-500);
            line-height: 1.75;
            max-width: 640px;
        }

        /* ── IDENTITY CARDS ── */
        .identity-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-top: 40px;
        }

        .id-card {
            background: white;
            border: 1.5px solid var(--slate-100);
            border-radius: 16px;
            padding: 24px 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
            transition: all 0.25s;
        }

        .id-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
            border-color: var(--blue-light);
        }

        .id-card-emoji {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .id-card-label {
            font-family: var(--font);
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--slate-500);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 6px;
        }

        .id-card-value {
            font-family: var(--font);
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--slate);
            line-height: 1.4;
        }

        /* ── SEJARAH ── */
        .sejarah-wrap {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 60px;
            align-items: start;
        }

        .sejarah-sticky {
            position: sticky;
            top: 88px;
        }

        .sejarah-body {
            font-family: var(--font);
            font-size: 0.975rem;
            color: var(--slate-700);
            line-height: 1.85;
        }

        .sejarah-body p {
            margin-bottom: 18px;
        }

        .sejarah-body p:last-child {
            margin-bottom: 0;
        }

        .sejarah-body strong {
            color: var(--slate);
        }

        /* Timeline */
        .timeline {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .tl-item {
            display: flex;
            gap: 16px;
            position: relative;
        }

        .tl-item:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 19px;
            top: 38px;
            bottom: -8px;
            width: 2px;
            background: linear-gradient(180deg, var(--blue-light), transparent);
        }

        .tl-dot {
            width: 38px;
            height: 38px;
            flex-shrink: 0;
            background: var(--blue-xlight);
            border: 2px solid var(--blue-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            margin-top: 2px;
            position: relative;
            z-index: 1;
            transition: all 0.2s;
        }

        .tl-item:hover .tl-dot {
            background: var(--blue);
            border-color: var(--blue);
            transform: scale(1.1);
        }

        .tl-content {
            padding-bottom: 24px;
        }

        .tl-year {
            font-family: var(--font);
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--blue);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 3px;
        }

        .tl-title {
            font-family: var(--font);
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--slate);
            margin-bottom: 3px;
        }

        .tl-desc {
            font-family: var(--font);
            font-size: 0.8rem;
            color: var(--slate-500);
            line-height: 1.55;
        }

        /* ── PRESTASI ── */
        .prestasi-section {
            background: linear-gradient(135deg, #f0f9ff 0%, var(--white) 60%, #f0fdf4 100%);
            padding: 80px 0;
        }

        .prestasi-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .prestasi-card {
            background: white;
            border-radius: 18px;
            padding: 28px 24px;
            border: 1.5px solid var(--slate-100);
            box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
            transition: all 0.25s;
            position: relative;
            overflow: hidden;
        }

        .prestasi-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .prestasi-card.blue-card::before {
            background: linear-gradient(90deg, var(--blue), #60a5fa);
        }

        .prestasi-card.gold-card::before {
            background: linear-gradient(90deg, var(--gold), #fbbf24);
        }

        .prestasi-card.green-card::before {
            background: linear-gradient(90deg, var(--green), #34d399);
        }

        .prestasi-card.purple-card::before {
            background: linear-gradient(90deg, var(--purple), #a78bfa);
        }

        .prestasi-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
            border-color: transparent;
        }

        .prestasi-card:hover::before {
            opacity: 1;
        }

        .prestasi-icon {
            font-size: 2rem;
            margin-bottom: 14px;
        }

        .prestasi-title {
            font-family: var(--font);
            font-size: 1rem;
            font-weight: 700;
            color: var(--slate);
            margin-bottom: 8px;
            letter-spacing: -0.02em;
        }

        .prestasi-desc {
            font-family: var(--font);
            font-size: 0.85rem;
            color: var(--slate-500);
            line-height: 1.65;
        }

        .prestasi-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-top: 14px;
            padding: 4px 11px;
            border-radius: 100px;
            font-family: var(--font);
            font-size: 0.72rem;
            font-weight: 600;
        }

        .badge-blue {
            background: var(--blue-xlight);
            color: var(--blue);
        }

        .badge-gold {
            background: var(--gold-light);
            color: #92400e;
        }

        .badge-green {
            background: var(--green-light);
            color: var(--green-dark);
        }

        .badge-purple {
            background: var(--purple-light);
            color: var(--purple);
        }

        /* ── PROGRAM ── */
        .program-section {
            padding: 80px 0;
            background: var(--off);
        }

        .program-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-top: 40px;
        }

        .prog-card {
            border-radius: 20px;
            padding: 36px 32px;
            position: relative;
            overflow: hidden;
            transition: transform 0.25s;
        }

        .prog-card:hover {
            transform: translateY(-4px);
        }

        .prog-card.adiwiyata {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1.5px solid #a7f3d0;
        }

        .prog-card.boarding {
            background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
            border: 1.5px solid #c4b5fd;
        }

        .prog-card-bg {
            position: absolute;
            right: -20px;
            bottom: -20px;
            font-size: 8rem;
            opacity: 0.07;
            pointer-events: none;
            line-height: 1;
        }

        .prog-tag {
            font-family: var(--font);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        .prog-tag.green {
            color: var(--green-dark);
        }

        .prog-tag.purple {
            color: var(--purple);
        }

        .prog-title {
            font-family: var(--font);
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--slate);
            letter-spacing: -0.03em;
            margin-bottom: 12px;
        }

        .prog-year {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: var(--font);
            font-size: 0.78rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 100px;
            margin-bottom: 16px;
        }

        .prog-year.green {
            background: var(--green-light);
            color: var(--green-dark);
        }

        .prog-year.purple {
            background: var(--purple-light);
            color: var(--purple);
        }

        .prog-desc {
            font-family: var(--font);
            font-size: 0.9rem;
            color: var(--slate-700);
            line-height: 1.7;
        }

        /* ── SK DOCS ── */
        .sk-section {
            padding: 64px 0;
            background: white;
        }

        .sk-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-top: 32px;
        }

        .sk-item {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            background: var(--off);
            border: 1.5px solid var(--slate-100);
            border-radius: 13px;
            padding: 18px 20px;
            transition: all 0.2s;
        }

        .sk-item:hover {
            border-color: var(--blue-light);
            background: var(--blue-xlight);
        }

        .sk-num {
            width: 36px;
            height: 36px;
            border-radius: 9px;
            flex-shrink: 0;
            background: var(--blue-xlight);
            border: 1.5px solid var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .sk-title {
            font-family: var(--font);
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--slate);
            margin-bottom: 3px;
        }

        .sk-number {
            font-family: var(--font);
            font-size: 0.75rem;
            color: var(--blue);
            font-weight: 500;
            margin-bottom: 3px;
        }

        .sk-year {
            font-family: var(--font);
            font-size: 0.72rem;
            color: var(--slate-500);
        }

        /* ── FOOTER ── */
        footer {
            background: var(--slate);
            padding: 56px 32px 28px;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 40px;
        }

        .footer-brand p {
            font-family: var(--font);
            font-size: 0.85rem;
            color: #94a3b8;
            line-height: 1.7;
            margin-top: 12px;
        }

        .footer-col h4 {
            font-family: var(--font);
            font-size: 0.82rem;
            font-weight: 700;
            color: white;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-col ul li a {
            font-family: var(--font);
            font-size: 0.875rem;
            color: #94a3b8;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: white;
        }

        .footer-col ul li span {
            font-family: var(--font);
            font-size: 0.875rem;
            color: #94a3b8;
        }

        .footer-bottom {
            border-top: 1px solid #1e293b;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-bottom p {
            font-family: var(--font);
            font-size: 0.8rem;
            color: #64748b;
        }

        /* ── REVEAL ── */
        .reveal {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .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;
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 1024px) {
            .identity-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .sejarah-wrap {
                grid-template-columns: 1fr;
            }

            .sejarah-sticky {
                position: static;
            }

            .prestasi-grid {
                grid-template-columns: 1fr 1fr;
            }

            .footer-top {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }

            .hero-inner {
                grid-template-columns: 1fr;
            }

            .hero-card {
                display: none;
            }
        }

        @media (max-width: 768px) {

            .nav-menu,
            .nav-divider,
            .nav-login {
                display: none;
            }

            .nav-hamburger {
                display: flex;
            }

            .section {
                padding: 56px 20px;
            }

            .prestasi-grid {
                grid-template-columns: 1fr;
            }

            .program-cards {
                grid-template-columns: 1fr;
            }

            .sk-list {
                grid-template-columns: 1fr;
            }

            .identity-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-top {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .hero-inner {
                padding: 60px 20px 80px;
            }

            .nav-inner {
                padding: 0 20px;
            }
        }