@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #08090d;
    --surface: #11131a;
    --surface-glass: rgba(17, 19, 26, 0.72);
    --surface-hover: #161922;
    --text: #f5f2ea;
    --muted: #a8a6ad;
    --line: rgba(255, 255, 255, .1);
    --line-light: rgba(255, 255, 255, .16);
    --purple: #9b82ff;
    --teal: #72e3d0;
    --purple-glow: rgba(155, 130, 255, 0.28);
    --teal-glow: rgba(114, 227, 208, 0.28);
    --max: 1180px;
    --header-h: 76px;
    --radius-pill: 999px;
    --radius-card: 28px;
    --radius-sm: 14px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(155, 130, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 100% 40%, rgba(114, 227, 208, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 0% 70%, rgba(155, 130, 255, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Modern Floating Navigation Bar
   ========================================================================== */
.site-header {
    width: min(var(--max), calc(100% - 36px));
    margin: 16px auto 0;
    min-height: 64px;
    padding: 8px 18px 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 14px;
    z-index: 1000;
    background: rgba(13, 15, 22, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    box-shadow: 
        0 16px 36px -8px rgba(0, 0, 0, 0.65),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    aspect-ratio: 1 / 1;
    filter: drop-shadow(0 2px 8px rgba(114, 227, 208, 0.3));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-logo {
    transform: scale(1.08) rotate(4deg);
}

.footer-brand .brand-logo {
    width: 32px;
    height: 32px;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b9b7bf;
    font-size: 14px;
    font-weight: 500;
}

nav a:not(.nav-button) {
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: #c4c2cb;
    transition: all 0.25s ease;
    white-space: nowrap;
}

nav a:not(.nav-button):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

nav a.nav-active:not(.nav-button) {
    color: #ffffff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 10px rgba(0, 0, 0, 0.25);
}

nav a.nav-active:not(.nav-button)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--purple), var(--teal));
    box-shadow: 0 0 8px var(--teal);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin-left: 6px;
    border: 1px solid rgba(114, 227, 208, 0.45);
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(155, 130, 255, 0.22) 0%, rgba(114, 227, 208, 0.24) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: -0.01em;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 18px -2px rgba(114, 227, 208, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.nav-button:hover {
    background: linear-gradient(135deg, rgba(155, 130, 255, 0.35) 0%, rgba(114, 227, 208, 0.38) 100%);
    border-color: rgba(114, 227, 208, 0.8);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px -4px rgba(114, 227, 208, 0.45),
        0 0 20px rgba(155, 130, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.nav-button:active {
    transform: translateY(0) scale(0.98);
}

.nav-button span {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.nav-button:hover span {
    transform: translateX(3px);
}

.hero {
    width: min(var(--max), calc(100% - 40px));
    min-height: 680px;
    margin: 20px auto 40px;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: 30px;
    position: relative;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin: 0 0 20px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(114, 227, 208, 0.08);
    border: 1px solid rgba(114, 227, 208, 0.2);
    box-shadow: 0 0 20px rgba(114, 227, 208, 0.12);
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(52px, 7vw, 92px);
    line-height: .96;
    letter-spacing: -.07em;
    margin-bottom: 28px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 span,
h1 span,
h2 span,
em {
    font-style: normal;
    background: linear-gradient(100deg, var(--purple), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 25px rgba(155, 130, 255, 0.3));
}

.hero-text {
    max-width: 550px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin: 34px 0 22px;
    flex-wrap: wrap;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(-1px);
}

.primary {
    background: #ffffff;
    color: #08090d;
    border-color: #ffffff;
    box-shadow: 
        0 10px 30px -6px rgba(255, 255, 255, 0.3),
        0 0 25px rgba(114, 227, 208, 0.25);
}

.primary:hover {
    box-shadow: 
        0 14px 40px -4px rgba(255, 255, 255, 0.45),
        0 0 35px rgba(114, 227, 208, 0.45);
    background: #ffffff;
    color: #08090d;
}

.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-note {
    color: #8c8a94;
    font-size: 12px;
    display: flex;
    gap: 9px;
    align-items: center;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 16px 2px var(--teal);
    animation: breathingPulse 2.4s infinite ease-in-out;
}

@keyframes breathingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 22px 5px var(--teal);
    }
}

.hero-art {
    min-height: 540px;
    position: relative;
    display: grid;
    place-items: center;
}

.art-card {
    position: absolute;
    width: min(430px, 80vw);
    height: 500px;
    border-radius: 34px;
    transform: rotate(6deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.art-card-back {
    background: linear-gradient(145deg, #262334, #12151d);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.art-card-main {
    overflow: hidden;
    transform: rotate(-4deg);
    background: #dfd1b8;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, .55),
        0 0 40px rgba(155, 130, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-art:hover .art-card-main {
    transform: rotate(-2deg) translateY(-8px) scale(1.02);
}

.hero-art:hover .art-card-back {
    transform: rotate(7deg) translateY(4px);
}

.canvas-art {
    height: 77%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(#d8d7ce 0 53%, #9db7ad 53%);
}

.sun {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #f5ba78;
    top: 55px;
    right: 60px;
}

.mountain {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 170px solid transparent;
    border-right: 170px solid transparent;
    border-bottom: 230px solid #6f7e82;
}

.m1 {
    left: -40px;
}

.m2 {
    right: -90px;
    border-bottom-color: #4d6669;
}

.hill {
    position: absolute;
    width: 120%;
    height: 130px;
    bottom: -35px;
    left: -10%;
    border-radius: 50%;
    background: #45635d;
}

.tree {
    position: absolute;
    bottom: 35px;
    width: 35px;
    height: 120px;
    background: #263e3a;
    border-radius: 50% 50% 12% 12%;
}

.t1 {
    left: 22%;
    transform: rotate(-4deg);
}

.t2 {
    right: 19%;
    height: 90px;
}

.art-caption {
    height: 23%;
    padding: 18px 22px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.art-caption span {
    margin-right: auto;
    color: #777;
}

.art-caption strong {
    font-size: 12px;
}

.floating-chip {
    position: absolute;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(17, 19, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
    z-index: 5;
}

.floating-chip:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.35);
}

.chip-top {
    top: 65px;
    right: 10px;
    color: var(--teal);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(114, 227, 208, 0.25);
}

.chip-bottom {
    bottom: 75px;
    left: 5px;
    color: #f3ead8;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(155, 130, 255, 0.2);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .32;
    pointer-events: none;
    animation: glowFloat 10s ease-in-out infinite alternate;
}

@keyframes glowFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(25px, -15px) scale(1.15);
    }
}

.glow-one {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    top: 20px;
    right: 25%;
}

.glow-two {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
    bottom: 0;
    left: 25%;
}

.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    white-space: nowrap;
    padding: 19px 0;
    color: #8a8894;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(10px);
}

.marquee div {
    display: inline-block;
    animation: marquee 24s linear infinite;
}

.marquee span {
    color: var(--teal);
    margin: 0 25px;
}

@keyframes marquee {
    to {
        transform: translateX(-30%);
    }
}

.section {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
    padding: 120px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 50px;
}

.section-heading h2,
.split-copy h2 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -.06em;
    margin: 0;
}

.section-heading>p {
    max-width: 380px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
    font-size: 15.5px;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.class-card {
    min-height: 310px;
    border-radius: var(--radius-card);
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.class-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.class-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(114, 227, 208, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.class-card.large {
    min-height: 400px;
    background: radial-gradient(circle at 85% 15%, rgba(155, 130, 255, .25), transparent 50%), var(--surface);
}

.class-card.warm {
    background: radial-gradient(circle at 85% 15%, rgba(255, 173, 114, .25), transparent 50%), var(--surface);
}

.class-card.cool {
    background: radial-gradient(circle at 85% 15%, rgba(114, 227, 208, .22), transparent 50%), var(--surface);
}

.class-card.dark {
    background: #0d0e13;
}

.card-number {
    color: #6a6874;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.class-icon {
    font-size: 40px;
    margin: 45px 0 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.class-card:hover .class-icon {
    transform: scale(1.15) rotate(6deg);
}

.class-card h3 {
    font-size: 32px;
    letter-spacing: -.04em;
    margin: 0 0 12px;
}

.class-card p {
    color: var(--muted);
    max-width: 400px;
    line-height: 1.65;
    font-size: 15px;
}

.card-arrow {
    position: absolute;
    right: 28px;
    bottom: 25px;
    font-size: 24px;
    color: #777;
    transition: all 0.3s ease;
}

.class-card:hover .card-arrow {
    color: var(--teal);
    transform: translateX(4px) translateY(-4px);
}

.split-section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.split-image {
    min-height: 560px;
    display: grid;
    place-items: center;
    background: #111217;
    border: 1px solid var(--line);
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.paper {
    width: 62%;
    height: 74%;
    background: #e5dccb;
    transform: rotate(-5deg);
    position: relative;
    box-shadow: 25px 30px 80px rgba(0, 0, 0, .45);
    color: #28251f;
    transition: transform 0.5s ease;
}

.split-image:hover .paper {
    transform: rotate(-3deg) scale(1.02);
}

.paper-label {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 9px;
    letter-spacing: .15em;
    font-weight: 800
}

.sketch-circle {
    width: 210px;
    height: 210px;
    border: 3px solid #49443b;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.sketch-line {
    width: 260px;
    height: 2px;
    background: #49443b;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(35deg)
}

.sketch-dot {
    width: 9px;
    height: 9px;
    background: #49443b;
    border-radius: 50%;
    position: absolute
}

.d1 {
    top: 38%;
    left: 35%
}

.d2 {
    top: 61%;
    right: 28%
}

.d3 {
    bottom: 25%;
    left: 28%
}

.paper-sign {
    position: absolute;
    bottom: 22px;
    right: 25px;
    font-family: "Playfair Display";
    font-size: 24px
}

.split-copy>p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 520px;
    font-size: 16px;
}

.mini-stats {
    display: flex;
    gap: 55px;
    margin-top: 40px;
}

.mini-stats div {
    display: grid;
    gap: 6px;
}

.mini-stats strong {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 40%, var(--teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mini-stats span {
    color: #8c8a94;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.steps {
    border-top: 1px solid var(--line);
}

.step {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.02);
}

.step>span {
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
}

.cta {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 110px;
    padding: 70px 65px;
    border-radius: 36px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(155, 130, 255, 0.2), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(114, 227, 208, 0.2), transparent 45%),
        linear-gradient(135deg, #151322, #0d1a19);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin: 0;
}

.light {
    background: #ffffff;
    color: #090a0e;
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.light:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.45);
    background: #ffffff;
    color: #090a0e;
}

footer {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
    border-top: 1px solid var(--line);
    padding: 32px 0 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8c8a94;
    font-size: 13px;
}

.footer-brand {
    color: #fff;
    font-weight: 700;
}

.register-page {
    background: 
        radial-gradient(circle at 15% 15%, rgba(155, 130, 255, .15), transparent 32%),
        radial-gradient(circle at 85% 85%, rgba(114, 227, 208, .12), transparent 35%),
        var(--bg);
}

.back-link {
    color: #aaa8b0;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

.register-main {
    width: min(1050px, calc(100% - 40px));
    margin: 40px auto 100px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.register-intro {
    padding-top: 55px;
}

.register-intro h1 {
    font-size: clamp(48px, 6vw, 75px);
    line-height: .97;
    letter-spacing: -.07em;
    margin-bottom: 25px;
}

.register-intro>p {
    color: var(--muted);
    line-height: 1.75;
    max-width: 440px;
    font-size: 16px;
}

.privacy-note {
    display: flex;
    gap: 14px;
    margin-top: 35px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #a09ea8;
    font-size: 12px;
    line-height: 1.65;
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.privacy-note strong {
    color: #eee;
}

.registration-card {
    background: rgba(17, 19, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    padding: 38px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.form-top {
    display: flex;
    justify-content: space-between;
    color: #77757d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 35px;
}

.form-step {
    color: var(--teal);
    font-weight: 800;
}

.field {
    margin-bottom: 24px;
}

.two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #d1cfd6;
    margin-bottom: 9px;
    letter-spacing: 0.02em;
}

.field label span {
    color: var(--teal);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    outline: none;
    background: rgba(12, 14, 19, 0.85);
    color: #fff;
    border-radius: 14px;
    padding: 15px 18px;
    font: inherit;
    font-size: 14.5px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    resize: vertical;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(114, 227, 208, .85);
    background: rgba(12, 14, 19, 0.98);
    box-shadow: 
        0 0 0 4px rgba(114, 227, 208, .12),
        0 0 24px rgba(114, 227, 208, 0.2);
}

select option {
    background: #0c0e13;
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #616069;
}

.character-count {
    text-align: right;
    color: #6b6973;
    font-size: 10px;
    margin-top: 6px;
}

.submit-button {
    width: 100%;
    margin-top: 6px;
    min-height: 56px;
}

.form-message {
    min-height: 20px;
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
}

.form-message.error {
    color: #ff9d9d;
}

@media(max-width:850px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 50px
    }

    .hero-art {
        min-height: 510px
    }

    .section-heading,
    .cta {
        align-items: flex-start;
        flex-direction: column
    }

    .split-section,
    .register-main {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .register-intro {
        padding-top: 10px
    }
}

/* Gallery modal - works on all screen sizes */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gallery-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    width: min(650px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.gallery-header h3 {
    font-size: 22px;
    margin: 0;
    letter-spacing: -.03em;
}

.close-modal {
    background: rgba(255, 255, 255, .1);
    border: 1px solid var(--line);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .2s;
}

.close-modal:hover {
    background: rgba(255, 255, 255, .2);
}

.single-image-container {
    border-radius: 16px;
    overflow: hidden;
    background: #0c0e13;
    border: 1px solid var(--line);
    width: 100%;
    display: grid;
    place-items: center;
}

.single-image-container img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

@media(max-width:600px) {
    .site-header {
        width: min(calc(100% - 28px), var(--max))
    }

    .hero,
    .section,
    .split-section,
    .cta,
    footer,
    .register-main {
        width: min(calc(100% - 28px), var(--max))
    }

    .hero {
        min-height: auto;
        padding: 55px 0 25px
    }

    .hero h1 {
        font-size: 54px
    }

    .hero-art {
        min-height: 440px
    }

    .art-card {
        height: 420px
    }

    .class-grid,
    .two-fields {
        grid-template-columns: 1fr
    }

    .class-card,
    .class-card.large {
        min-height: 270px
    }

    .split-image {
        min-height: 430px
    }

    .paper {
        height: 75%;
        width: 70%
    }

    .cta {
        padding: 38px 28px;
        margin-bottom: 60px
    }

    footer {
        flex-wrap: wrap;
        gap: 15px
    }

    .gallery-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .8);
        backdrop-filter: blur(8px);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        padding: 20px
    }

    .gallery-content {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 24px;
        width: min(650px, 100%);
        max-height: 90vh;
        overflow-y: auto;
        padding: 24px;
        box-shadow: 0 30px 90px rgba(0, 0, 0, .5)
    }

    .gallery-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 18px
    }

    .gallery-header h3 {
        font-size: 22px;
        margin: 0;
        letter-spacing: -.03em
    }

    .close-modal {
        background: rgba(255, 255, 255, .1);
        border: 1px solid var(--line);
        color: #fff;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        font-size: 16px;
        cursor: pointer;
        display: grid;
        place-items: center;
        transition: .2s
    }

    .close-modal:hover {
        background: rgba(255, 255, 255, .2)
    }

    .single-image-container {
        border-radius: 16px;
        overflow: hidden;
        background: #0c0e13;
        border: 1px solid var(--line);
        width: 100%;
        display: grid;
        place-items: center
    }

    .single-image-container img {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
        display: block
    }
}

/* ==========================================================================
   Kalānkura Art Materials Page Styles
   ========================================================================== */

.materials-hero {
    width: min(var(--max), calc(100% - 40px));
    margin: 40px auto 60px;
    text-align: center;
    position: relative;
}

.materials-hero-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(155, 130, 255, 0.28) 0%, rgba(114, 227, 208, 0.18) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 12s ease-in-out infinite alternate;
}

.materials-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.materials-hero h1 {
    font-size: clamp(40px, 6.2vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.06em;
    margin: 0 0 20px;
}

.materials-hero-subtitle {
    color: var(--muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 36px;
}

/* Category Quick Jump Pill Bar */
.category-nav-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 15, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 
        0 14px 34px -4px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.category-nav-bar::-webkit-scrollbar {
    height: 4px;
}

.category-nav-bar::-webkit-scrollbar-track {
    background: transparent;
}

.category-nav-bar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #cfccd6;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.category-pill.active {
    background: linear-gradient(135deg, rgba(155, 130, 255, 0.4), rgba(114, 227, 208, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(114, 227, 208, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

/* Materials Container */
.materials-wrapper {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 80px;
    display: flex;
    flex-direction: column;
    gap: 90px;
}

/* Category Section Header */
.category-header {
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--teal);
    text-transform: uppercase;
}

.category-title {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.05em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.category-desc {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
    max-width: 680px;
    line-height: 1.6;
}

.category-brands {
    margin-top: 6px;
    font-size: 12px;
    color: #8c8a94;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.category-brands strong {
    color: var(--text);
    font-weight: 600;
}

.brand-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    color: #d1ced9;
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 22px;
}

/* Individual Product Card */
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    position: relative;
    box-shadow: 
        0 14px 34px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(114, 227, 208, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.88;
    background: #0d0f16;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.product-image-wrap.contain-wrap {
    background: #0d0f16;
    padding: 18px;
}

.product-image-wrap.contain-wrap img {
    object-fit: contain;
    max-height: 100%;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrap.contain-wrap img {
    transform: scale(1.06);
}

.badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 17, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.product-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
}

.product-store {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #92909a;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--text);
}

.product-specs {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.product-price-box {
    display: flex;
    flex-direction: column;
}

.product-price-label {
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #797782;
}

.product-price {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.product-price-approx {
    font-size: 11px;
    color: #8c8a94;
    font-weight: 500;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    color: #0b0c12;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.buy-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(114, 227, 208, 0.25);
}

.buy-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.buy-btn:hover svg {
    transform: translateX(2px) translateY(-2px);
}

/* Colour Pencil Sets Subheadings */
.category-subheading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 36px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.category-subheading:first-of-type {
    margin-top: 10px;
}

.subheading-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.subheading-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(155, 130, 255, 0.15);
    color: var(--purple, #a78bfa);
    border: 1px solid rgba(155, 130, 255, 0.25);
    box-shadow: 0 0 12px rgba(155, 130, 255, 0.15);
}

.product-shade-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--teal, #72e3d0);
    letter-spacing: 0.02em;
}

/* Callout / Disclaimer Banner */
.materials-disclaimer {
    background: 
        radial-gradient(circle at 10% 20%, rgba(155, 130, 255, 0.12), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(114, 227, 208, 0.12), transparent 45%),
        var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.disclaimer-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(114, 227, 208, 0.12);
    border: 1px solid rgba(114, 227, 208, 0.25);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-size: 26px;
    flex-shrink: 0;
}

.disclaimer-content h3 {
    font-size: 20px;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.disclaimer-content p {
    color: #b7b5be;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px;
}

.disclaimer-note {
    font-size: 12px;
    color: #7b7885;
    font-style: italic;
    margin: 0;
}

/* Active navigation state for Art Materials */
nav a.nav-active {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

nav a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--teal));
    border-radius: 2px;
}

/* Responsive adjustments for Art Materials */
@media (max-width: 850px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .materials-hero {
        margin: 25px auto 45px;
    }

    .materials-disclaimer {
        padding: 28px 24px;
        flex-direction: column;
        gap: 18px;
    }

    .category-nav-bar {
        width: calc(100% + 20px);
        margin: 0 -10px;
        justify-content: flex-start;
        padding: 8px 12px;
        border-radius: 20px;
    }

    .category-pill {
        padding: 9px 16px;
        font-size: 13px;
    }
}

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

    .materials-hero h1 {
        font-size: 40px;
    }

    .category-title {
        font-size: 28px;
    }

    .product-footer {
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================================================
   Global Responsive Mobile Menu & Dedicated Pages Architecture
   ========================================================================== */

/* Header Mobile Menu Toggle */
/* Header Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    color: #fff;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
}

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

.mobile-drawer-backdrop {
    display: none;
}

@media(max-width: 850px) {
    .mobile-menu-btn {
        display: flex;
    }

    .site-header nav {
        display: none;
    }

    /* Mobile Drawer Overlay */
    .mobile-nav-drawer {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #0d0f16;
        border-left: 1px solid var(--line);
        padding: 24px 24px 36px;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
        z-index: 10001;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .mobile-nav-drawer.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 18px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        font-size: 16px;
        color: #fff;
    }

    .mobile-drawer-brand img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        border-radius: 8px;
    }

    .mobile-drawer-close {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #fff;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-drawer-close:hover,
    .mobile-drawer-close:active {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.28);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .mobile-nav-drawer a {
        display: block;
        padding: 15px 0;
        font-size: 17px;
        font-weight: 600;
        color: #cfccd6;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition: color 0.2s ease, transform 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-drawer a:hover,
    .mobile-nav-drawer a:active,
    .mobile-nav-drawer a.nav-active {
        color: #fff;
        transform: translateX(4px);
    }

    .mobile-nav-drawer a.nav-active {
        color: #72e3d0;
    }

    .mobile-nav-drawer .nav-button {
        margin-top: 24px;
        padding: 14px 20px;
        text-align: center;
        background: #fff;
        color: #090a0e;
        border-color: #fff;
        font-weight: 700;
        border-radius: 999px;
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
    }

    .mobile-nav-drawer .nav-button:hover,
    .mobile-nav-drawer .nav-button:active {
        transform: none;
        background: #eceaf3;
        color: #090a0e;
    }

    .mobile-drawer-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 10000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-drawer-backdrop.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* Dedicated Page Hero Banner */
.page-hero {
    width: min(var(--max), calc(100% - 40px));
    margin: 50px auto 40px;
    position: relative;
    text-align: center;
}

.page-hero-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(155, 130, 255, 0.26) 0%, rgba(114, 227, 208, 0.16) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 11s ease-in-out infinite alternate;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    margin: 0 0 18px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
    color: var(--muted);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 30px;
}

/* Badge and Meta Strips */
.hero-badges-strip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 19, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: #dfdce7;
    font-weight: 600;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.hero-pill-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Medium Card Details */
.medium-specs-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.medium-specs-list li {
    font-size: 13px;
    color: #b3b1ba;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.5;
}

.medium-specs-list li::before {
    content: '✦';
    color: var(--teal);
    font-size: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Class Info Bar */
.class-info-card {
    background: 
        radial-gradient(circle at 10% 20%, rgba(155, 130, 255, 0.08), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(114, 227, 208, 0.08), transparent 45%),
        rgba(17, 19, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 38px 45px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 50px 0 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 800;
}

.info-item-value {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.info-item-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
}

/* Timeline Components for Journey */
.timeline-container {
    position: relative;
    max-width: 860px;
    margin: 50px auto 90px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple), var(--teal), rgba(255, 255, 255, 0.1));
}

.timeline-milestone {
    position: relative;
    margin-bottom: 50px;
    padding-left: 75px;
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d0f16;
    border: 2px solid var(--teal);
    box-shadow: 0 0 18px rgba(114, 227, 208, 0.6);
    display: grid;
    place-items: center;
}

.timeline-dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.timeline-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 34px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.timeline-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(155, 130, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.milestone-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.milestone-date {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--teal);
    text-transform: uppercase;
}

.milestone-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #dfdce7;
}

.milestone-title {
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -0.03em;
}

.milestone-desc {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

/* About Page Specific Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 90px;
}

.founder-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.founder-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 130, 255, 0.3), transparent 70%);
    top: -60px;
    right: -60px;
    filter: blur(60px);
}

.founder-title {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.04em;
}

.founder-role {
    font-size: 13px;
    color: var(--teal);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin: 40px 0 90px;
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(114, 227, 208, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.value-icon {
    font-size: 34px;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.value-card h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -0.02em;
}

.value-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

/* Home Page Specific Features Preview Grid */
.home-preview-section {
    width: min(var(--max), calc(100% - 40px));
    margin: 100px auto;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.preview-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.preview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(114, 227, 208, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.preview-card h3 {
    font-size: 23px;
    margin: 16px 0 12px;
    letter-spacing: -0.03em;
}

.preview-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    transition: all 0.25s ease;
}

.preview-card:hover .preview-link {
    color: var(--teal);
    transform: translateX(6px);
}

@media (max-width: 850px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .timeline-milestone {
        padding-left: 55px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 9px;
    }
}


/* ==========================================================================
   MOBILE NAVIGATION FIX — appended override
   Keeps the existing desktop styling and page styles intact.
   ========================================================================== */

@media screen and (max-width: 850px) {
    .site-header {
        width: calc(100% - 28px);
        margin: 12px auto 0;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 14px 8px 18px;
        position: sticky;
        top: 10px;
        border-radius: var(--radius-pill);
    }

    .site-header>.brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .site-header>.brand img,
    .site-header .brand-logo {
        width: 34px;
        height: 34px;
        max-width: 34px;
        max-height: 34px;
        object-fit: contain;
        flex: 0 0 34px;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex: 0 0 42px;
        position: relative;
        z-index: 10003;
        border-radius: var(--radius-pill);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .site-header nav {
        display: none !important;
    }

    .mobile-nav-drawer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(340px, 86vw) !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 24px 22px 32px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: rgba(13, 15, 22, 0.94) !important;
        backdrop-filter: blur(28px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75) !important;
        z-index: 10002 !important;
        transform: translate3d(100%, 0, 0) !important;
        visibility: hidden !important;
        opacity: 1 !important;
        pointer-events: none !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease !important;
    }

    .mobile-nav-drawer.open {
        transform: translate3d(0, 0, 0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-drawer-header {
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 0 16px !important;
        padding: 0 0 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-drawer-brand {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        letter-spacing: -0.02em !important;
        color: #fff !important;
    }

    .mobile-nav-drawer img,
    .mobile-drawer-brand img {
        display: block !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        object-fit: contain !important;
        flex: 0 0 28px !important;
    }

    .mobile-drawer-close {
        display: flex !important;
        flex: 0 0 38px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: var(--radius-pill) !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    .mobile-nav-links {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 2px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .mobile-nav-drawer .mobile-nav-links a,
    .mobile-nav-drawer>a:not(.nav-button) {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 14px 12px !important;
        border-radius: 12px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: left !important;
        font-size: 16.5px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: #cfccd6 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        transform: none !important;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
    }

    .mobile-nav-drawer .mobile-nav-links a:hover,
    .mobile-nav-drawer .mobile-nav-links a:active {
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
        padding-left: 16px !important;
    }

    .mobile-nav-drawer .mobile-nav-links a.nav-active,
    .mobile-nav-drawer>a.nav-active {
        color: var(--teal) !important;
        background: rgba(114, 227, 208, 0.08) !important;
        font-weight: 700 !important;
    }

    .mobile-nav-drawer .nav-button,
    .mobile-nav-drawer a.nav-button {
        display: flex !important;
        position: static !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 50px !important;
        box-sizing: border-box !important;
        margin: 24px 0 0 !important;
        padding: 13px 18px !important;
        white-space: normal !important;
        text-align: center !important;
        background: #fff !important;
        color: #090a0e !important;
        border: 1px solid #fff !important;
        border-radius: var(--radius-pill) !important;
        font-weight: 800 !important;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25) !important;
        transform: none !important;
    }

    .mobile-drawer-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10001 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    .mobile-drawer-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.mobile-menu-open {
        overflow: hidden !important;
        touch-action: none !important;
    }
}

@media screen and (max-width: 380px) {
    .mobile-nav-drawer {
        width: 90vw !important;
        padding: 18px 18px 24px !important;
    }

    .mobile-nav-drawer .mobile-nav-links a,
    .mobile-nav-drawer>a:not(.nav-button) {
        font-size: 16px !important;
        padding: 13px 0 !important;
    }
}

/* ==========================================================================
   Student Creations Gallery Styles
   ========================================================================== */

.creations-section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 100px;
}

.creations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.creation-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 
        0 14px 34px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.creation-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(114, 227, 208, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.creation-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #08090d;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--line);
}

.creation-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creation-card:hover .creation-image-wrap img {
    transform: scale(1.04);
}

.creation-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(13, 15, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--teal);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.creation-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(13, 15, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.creation-card:hover .creation-zoom-hint {
    opacity: 1;
    transform: scale(1);
}

.creation-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.creation-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: #ffffff;
}

.creation-medium {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.creation-medium-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    display: inline-block;
    flex-shrink: 0;
}

/* Elegant Empty State for Awaiting Artwork */
.creation-empty-card {
    cursor: default;
    background: 
        radial-gradient(circle at 50% 30%, rgba(155, 130, 255, 0.06), transparent 70%),
        var(--surface);
    border: 1px dashed rgba(255, 255, 255, 0.18);
}

.creation-empty-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.creation-empty-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(13, 15, 22, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.creation-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--teal);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.creation-empty-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.creation-empty-note {
    font-size: 11.5px;
    color: #797782;
    line-height: 1.5;
    max-width: 200px;
    margin: 0;
}

/* Lightbox Modal for Artworks */
.creation-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 11, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10010;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.creation-lightbox.open,
.creation-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-dialog {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    max-width: 860px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(114, 227, 208, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxPop {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 15, 22, 0.6);
}

.lightbox-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lightbox-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--teal);
    text-transform: uppercase;
}

.lightbox-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.lightbox-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.08);
}

.lightbox-image-container {
    background: #08090d;
    padding: 20px;
    display: grid;
    place-items: center;
    overflow: auto;
    max-height: 68vh;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 64vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    background: rgba(13, 15, 22, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lightbox-medium {
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Grid for Gallery */
@media screen and (max-width: 900px) {
    .creations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .creations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .creation-card {
        border-radius: 20px;
    }

    .creation-body {
        padding: 14px 14px 16px;
    }

    .creation-title {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .creation-medium {
        font-size: 11.5px;
    }

    .creation-tag {
        font-size: 9px;
        padding: 3px 8px;
        top: 10px;
        left: 10px;
    }

    .creation-empty-wrap {
        padding: 16px 10px;
    }

    .creation-empty-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .creation-empty-note {
        display: none;
    }

    .lightbox-dialog {
        border-radius: 20px;
    }

    .lightbox-header {
        padding: 14px 18px;
    }

    .lightbox-title {
        font-size: 17px;
    }

    .lightbox-image-container {
        padding: 12px;
    }
}

/* ==========================================================================
   Homepage Students' Work Horizontal Scrolling Gallery
   ========================================================================== */

.home-students-work {
    width: 100%;
    margin: 80px auto 100px;
    position: relative;
    overflow: hidden;
}

.home-students-work .section-heading {
    width: min(var(--max), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.students-work-ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 15px 0 25px;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.students-work-ticker-container::-webkit-scrollbar {
    display: none;
}

.students-work-track {
    display: flex;
    gap: 22px;
    width: max-content;
    will-change: transform;
    animation: scrollRightToLeft 42s linear infinite;
}

.home-students-work:hover .students-work-track,
.students-work-ticker-container:hover .students-work-track,
.students-work-track:hover,
.students-work-track.ticker-paused {
    animation-play-state: paused !important;
}

@media (hover: none) and (pointer: coarse) {
    .home-students-work:hover .students-work-track:not(.ticker-paused),
    .students-work-ticker-container:hover .students-work-track:not(.ticker-paused),
    .students-work-track:hover:not(.ticker-paused) {
        animation-play-state: running !important;
    }
}

@keyframes scrollRightToLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker-item {
    width: 290px;
    flex-shrink: 0;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .ticker-item {
        width: 230px;
    }

    .students-work-track {
        gap: 16px;
        animation-duration: 32s;
    }

    .home-students-work {
        margin: 50px auto 70px;
    }

    .students-work-ticker-container {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ==========================================================================
   KALĀNKURA ACADEMY CORE COMPONENTS (Aasuri Quality Standard)
   ========================================================================== */

/* Headings font inheritance */
h1, h2, .playfair-heading {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}

/* Text-Focused Editorial Hero */
.hero.hero-editorial {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: calc(86vh - var(--header-h));
    padding: 70px 20px 60px;
    margin: 20px auto 40px;
    max-width: 960px;
    position: relative;
    justify-content: center;
}

.hero-editorial .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
}

.hero-editorial .eyebrow {
    margin-bottom: 24px;
}

.hero-editorial h1 {
    max-width: 840px;
    font-size: clamp(48px, 6.8vw, 84px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 26px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-editorial .hero-text {
    max-width: 620px;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
    color: var(--muted);
    margin: 0 auto 32px;
}

.hero-editorial .hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 0 32px;
}

.hero-highlights-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    background: rgba(17, 19, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e4e2eb;
    letter-spacing: 0.01em;
}

.hero-highlight-item span.highlight-accent {
    color: var(--teal);
    font-weight: 700;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    color: #7b7887;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: gentleBounce 2.5s infinite ease-in-out;
}

.hero-scroll-indicator svg {
    stroke: var(--teal);
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* Academy Pillars (Introduction to Kalankura) */
.academy-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.academy-pillar-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.academy-pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(114, 227, 208, 0.1);
}

.academy-pillar-number {
    font-size: 11px;
    font-weight: 800;
    color: var(--teal);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.academy-pillar-card h3 {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    margin: 0 0 14px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.academy-pillar-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

/* Learning Experience Methodology Steps */
.academy-experience-section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 120px;
}

.academy-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.academy-step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px 24px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.academy-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.academy-step-num {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(114, 227, 208, 0.1);
    border: 1px solid rgba(114, 227, 208, 0.3);
    color: var(--teal);
    font-weight: 800;
    font-size: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.academy-step-card h4 {
    font-size: 19px;
    margin: 0 0 10px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.academy-step-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

@media screen and (max-width: 900px) {
    .academy-pillars-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .academy-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero.hero-editorial {
        min-height: auto;
        padding: 50px 10px 40px;
    }
    .hero-highlights-strip {
        padding: 12px 18px;
        gap: 10px 18px;
        border-radius: 20px;
    }
    .hero-highlight-item {
        font-size: 12px;
    }
    .hero-scroll-indicator {
        margin-top: 36px;
    }
}

@media screen and (max-width: 550px) {
    .academy-steps-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   FOUNDER ARTWORK SHOWCASE & REGISTRATION CURATION STYLES
   ========================================================================== */

/* Mentor / Personal Artwork Gallery Card Component */
.mentor-art-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.mentor-art-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(114, 227, 208, 0.15);
}

.mentor-art-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #08090d;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--line);
}

.mentor-art-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mentor-art-card:hover .mentor-art-image-wrap img {
    transform: scale(1.04);
}

.mentor-art-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(13, 15, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--teal);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.mentor-art-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
}

.mentor-art-title {
    font-size: 19px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
    color: #ffffff;
}

.mentor-art-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* Curated Mentor Art Grid */
.mentor-art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media screen and (max-width: 900px) {
    .mentor-art-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .mentor-art-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Premium Registration Page Curation Experience
   -------------------------------------------------------------------------- */
.register-curation-layout {
    width: min(var(--max), calc(100% - 40px));
    margin: 40px auto 100px;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 50px;
    align-items: start;
}

.register-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.register-featured-artwork {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s ease, border-color 0.3s ease;
    cursor: pointer;
}

.register-featured-artwork:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.register-featured-artwork-inner {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #08090d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--line);
}

.register-featured-artwork-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.75));
    transition: transform 0.4s ease;
}

.register-featured-artwork:hover .register-featured-artwork-inner img {
    transform: scale(1.03);
}

.register-featured-caption {
    padding: 22px 24px;
}

.register-featured-title {
    font-size: 21px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
}

.register-featured-sub {
    font-size: 13px;
    color: var(--teal);
    font-weight: 600;
    margin: 0;
}

.register-thumbnails-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.register-thumb-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.register-thumb-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
}

.register-thumb-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #08090d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--line);
}

.register-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.register-thumb-label {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 900px) {
    .register-curation-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   MASTER STUDENT ARTWORK VISIBILITY (CSS Level Rule)
   When .hide-student-art is set on <html>, hide all student artwork immediately
   ========================================================================== */
html.hide-student-art .home-students-work,
html.hide-student-art #studentsTicker,
html.hide-student-art .students-work-ticker-container,
html.hide-student-art a[href="creations"],
html.hide-student-art a[href="creations.html"],
html.hide-student-art a[href="/creations"],
html.hide-student-art .creations-section .creation-card:not(.founder-card),
html.hide-student-art .creations-section .creations-grid:first-of-type {
    display: none !important;
}

html.hide-student-art .creations-section .section-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}




/* ==========================================================================
   KALANKURA PRIVATE CLASSROOM & LOGIN PORTAL
   ========================================================================== */

.portal-main {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 80px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-card);
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(155, 130, 255, 0.12);
    border: 1px solid rgba(155, 130, 255, 0.28);
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.login-card h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.35rem);
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text);
}

.login-card p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 32px;
}

.google-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-light);
    background: var(--text);
    color: #08090d;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.google-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(155, 130, 255, 0.22);
}

.google-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-status {
    margin-top: 18px;
    font-size: 0.9rem;
    min-height: 22px;
    color: var(--muted);
}

.auth-status.error {
    color: #ff8a8a;
}

.login-footnote {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

.login-footnote a {
    color: var(--teal);
    text-decoration: none;
}

.login-footnote a:hover {
    text-decoration: underline;
}

.classroom-main,
.recordings-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 48px 24px 96px;
    min-height: calc(100vh - var(--header-h));
}

.classroom-loading,
.recordings-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    color: var(--muted);
    font-size: 1rem;
}

.classroom-shell,
.recordings-shell {
    display: none;
}

.classroom-shell.ready,
.recordings-shell.ready {
    display: block;
}

.classroom-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-card);
    margin-bottom: 32px;
}

.user-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line-light);
    background: var(--surface);
}

.user-meta h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--text);
}

.user-email {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.topbar-actions,
.header-actions,
.row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.role-pill.teacher,
.role-pill.approved {
    background: rgba(114, 227, 208, 0.14);
    border: 1px solid rgba(114, 227, 208, 0.35);
    color: var(--teal);
}

.role-pill.pending {
    background: rgba(155, 130, 255, 0.14);
    border: 1px solid rgba(155, 130, 255, 0.35);
    color: var(--purple);
}

.role-pill.rejected {
    background: rgba(255, 138, 138, 0.14);
    border: 1px solid rgba(255, 138, 138, 0.35);
    color: #ff8a8a;
}

.btn-outline,
.btn-primary,
.btn-danger,
.btn-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-outline {
    border: 1px solid var(--line-light);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover:not(:disabled) {
    background: var(--surface-hover);
    border-color: var(--purple);
}

.btn-primary {
    border: 1px solid rgba(155, 130, 255, 0.45);
    background: linear-gradient(135deg, rgba(155, 130, 255, 0.25), rgba(114, 227, 208, 0.18));
    color: var(--text);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: var(--teal);
}

.btn-teal {
    border: 1px solid rgba(114, 227, 208, 0.4);
    background: rgba(114, 227, 208, 0.14);
    color: var(--teal);
}

.btn-teal:hover:not(:disabled) {
    background: rgba(114, 227, 208, 0.24);
}

.btn-danger {
    border: 1px solid rgba(255, 138, 138, 0.35);
    background: rgba(255, 138, 138, 0.1);
    color: #ff8a8a;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(255, 138, 138, 0.2);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.82rem;
}

.teacher-sections {
    display: grid;
    gap: 28px;
}

.portal-card {
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 32px;
}

.portal-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.portal-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.portal-subtitle {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 4px 0 0;
}

.student-list,
.recording-list {
    display: grid;
    gap: 14px;
}

.student-row,
.recording-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.student-row-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}

.student-row-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-light);
}

.student-row-name {
    font-weight: 600;
    color: var(--text);
    margin: 0 0 2px;
}

.student-row-email {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 0;
}

.recording-form {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-light);
    background: rgba(8, 9, 13, 0.7);
    color: var(--text);
    font-family: inherit;
    font-size: 0.94rem;
}

.field-input:focus,
.field-textarea:focus {
    outline: none;
    border-color: var(--purple);
}

.student-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.student-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    font-size: 0.88rem;
}

.form-status {
    font-size: 0.9rem;
    color: var(--teal);
    min-height: 20px;
}

.form-status.error {
    color: #ff8a8a;
}

.status-panel,
.denied-panel {
    background: var(--surface-glass);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-card);
    padding: 40px 32px;
    max-width: 640px;
}

.status-panel h2,
.denied-panel h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    margin: 0 0 12px;
    color: var(--text);
}

.status-panel p,
.denied-panel p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 24px;
}

.empty-note {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.recordings-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.recordings-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin: 0 0 6px;
    color: var(--text);
}

.recordings-header p {
    color: var(--muted);
    margin: 0;
}

.recordings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.recording-card {
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: var(--transition-smooth);
}

.recording-card:hover {
    border-color: var(--line-light);
    transform: translateY(-2px);
}

.recording-body {
    display: grid;
    gap: 10px;
}

.recording-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recording-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    margin: 0;
    color: var(--text);
}

.recording-body p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

.recording-actions {
    display: grid;
    gap: 10px;
}

.watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(155, 130, 255, 0.45);
    background: linear-gradient(135deg, rgba(155, 130, 255, 0.25), rgba(114, 227, 208, 0.18));
    color: var(--text);
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.watch-btn:hover {
    transform: translateY(-1px);
    border-color: var(--teal);
    box-shadow: 0 10px 24px rgba(155, 130, 255, 0.18);
}

.watch-note {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 640px) {
    .login-card {
        padding: 36px 24px;
    }

    .classroom-topbar,
    .portal-card {
        padding: 22px 20px;
    }
}

/* Classroom Enhancements: Stats, Search & Media Thumbnails */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 22px 24px;
    display: grid;
    gap: 6px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.stat-card.accent-purple {
    border-color: rgba(155, 130, 255, 0.3);
}

.stat-card.accent-teal {
    border-color: rgba(114, 227, 208, 0.3);
}

.portal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    max-width: 340px;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-light);
    background: rgba(8, 9, 13, 0.72);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--teal);
}

.recording-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(155, 130, 255, 0.16), rgba(114, 227, 208, 0.12));
    border: 1px solid var(--line);
}

.recording-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recording-play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 9, 13, 0.35);
    transition: var(--transition-smooth);
}

.recording-card:hover .recording-play-badge {
    background: rgba(8, 9, 13, 0.18);
}

.play-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(17, 19, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.1rem;
    padding-left: 3px;
}

/* Ensure HTML hidden attribute is never overridden by display: grid/flex */
[hidden] {
    display: none !important;
}
