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

:root {
    /* Warm village palette */
    --sky-top: #2e6b8a;
    --sky-mid: #4a9fc4;
    --sky-lite: #8fcfe8;
    --grass: #5aad4e;
    --grass-dk: #3d8a33;
    --grass-lite: #7dcf6a;
    --amber: #e8a020;
    --amber-lt: #f5c842;
    --amber-dk: #b07010;
    --earth: #8b5e2e;
    --earth-dk: #5c3a18;
    --earth-lite: #b07f44;
    --wood: #c8915a;
    --wood-lt: #e8b57a;
    --cream: #fef3dc;
    --cream-dk: #e8d9b0;
    --red-roof: #c94040;
    --blue-roof: #3a78c4;
    --text-dark: #2a1a08;
    --text-body: #3d2b10;
    --text-light: #fef3dc;
    --text-muted: #8b7050;
    --card-bg: #fdf0d5;
    --card-border: #d4a85a;
    --card-shadow: #b07030;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--sky-top);
    color: var(--text-dark);
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Sky gradient BG ─── */
.sky-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        #1a3d52 0%,
        #2e6b8a 25%,
        #5a9fbf 50%,
        #7ec8a0 75%,
        #5aad4e 100%
    );
}

/* Pixel clouds */
.clouds {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    image-rendering: pixelated;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 0;
    animation: driftCloud var(--cdur, 40s) linear var(--cdelay, 0s) infinite;
}

/* Pixel-style clouds using box-shadow */
.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: inherit;
}

.cloud-a {
    width: 48px;
    height: 16px;
    top: 12%;
    left: -80px;
    --cdur: 55s;
    --cdelay: 0s;
}

.cloud-a::before {
    width: 32px;
    height: 16px;
    top: -12px;
    left: 8px;
}

.cloud-a::after {
    width: 20px;
    height: 12px;
    top: -20px;
    left: 16px;
}

.cloud-b {
    width: 64px;
    height: 20px;
    top: 8%;
    left: -100px;
    --cdur: 70s;
    --cdelay: -20s;
    opacity: 0.7;
}

.cloud-b::before {
    width: 40px;
    height: 20px;
    top: -14px;
    left: 12px;
}

.cloud-b::after {
    width: 24px;
    height: 14px;
    top: -24px;
    left: 20px;
}

.cloud-c {
    width: 36px;
    height: 12px;
    top: 20%;
    left: -60px;
    --cdur: 45s;
    --cdelay: -10s;
    opacity: 0.85;
}

.cloud-c::before {
    width: 28px;
    height: 14px;
    top: -10px;
    left: 4px;
}

.cloud-d {
    width: 56px;
    height: 18px;
    top: 5%;
    left: -90px;
    --cdur: 62s;
    --cdelay: -35s;
    opacity: 0.6;
}

.cloud-d::before {
    width: 36px;
    height: 18px;
    top: -12px;
    left: 10px;
}

@keyframes driftCloud {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(100vw + 200px));
    }
}

/* Pixel fireflies / sparkles */
.firefly {
    position: fixed;
    width: 4px;
    height: 4px;
    image-rendering: pixelated;
    background: var(--amber-lt);
    box-shadow: 0 0 6px 2px rgba(245, 200, 66, 0.6);
    animation: fireflyFloat var(--fdur, 8s) ease-in-out var(--fdelay, 0s)
        infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes fireflyFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        transform: translate(var(--fdx, 20px), var(--fdy, -30px));
        opacity: 0.2;
    }
}

/* ─── Ground strip at bottom of hero ─── */
.hero-ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: repeating-linear-gradient(
        90deg,
        var(--grass-dk) 0px,
        var(--grass-dk) 16px,
        var(--grass) 16px,
        var(--grass) 32px
    );
    image-rendering: pixelated;
}

.hero-ground::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--grass-lite);
    image-rendering: pixelated;
}

/* ─── Layout ─── */
.page-wrap {
    position: relative;
    z-index: 1;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    background: rgba(58, 90, 30, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--amber-dk);
    box-shadow: 0 4px 0 var(--grass-dk);
}

.nav-brand {
    font-family: "Press Start 2P", monospace;
    font-size: 11px;
    color: var(--amber-lt);
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 var(--earth-dk);
    text-decoration: none;
}

.nav-badge {
    font-size: 10px;
    color: var(--cream);
    font-family: "Press Start 2P", monospace;
    text-align: right;
    line-height: 1.8;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.nav-badge b {
    color: var(--amber-lt);
}

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url("respark-hero.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Dark overlay so text stays readable */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 40, 20, 0.45) 0%,
        rgba(10, 25, 10, 0.6) 60%,
        rgba(30, 60, 20, 0.8) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-hint {
    z-index: 2;
}

.hero-logo {
    width: min(400px, 88vw);
    image-rendering: pixelated;
    filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.35))
        drop-shadow(0 0 30px rgba(245, 200, 66, 0.3));
    animation: logoBob 3s ease-in-out infinite;
    margin-bottom: 28px;
}

@keyframes logoBob {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-tagline {
    font-family: "Press Start 2P", monospace;
    font-size: clamp(8px, 1.8vw, 12px);
    color: var(--cream);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -150px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    background: rgba(58, 90, 30, 0.7);
    padding: 10px 20px;
    border: 2px solid var(--amber-dk);
}

.hero-sub {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--cream);
    margin-bottom: 36px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.35);
    padding: 16px 24px;
    border-radius: 0;
    border-left: 4px solid var(--amber);
}

.hero-sub strong {
    color: var(--amber-lt);
}

/* ─── CTA Buttons ─── */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    padding: 14px 24px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition:
        transform 0.12s,
        box-shadow 0.12s;
    letter-spacing: 1px;
    position: relative;
}

.btn:active {
    transform: translateY(3px) !important;
}

.btn-primary {
    background: var(--amber);
    color: var(--text-dark);
    border-top: 3px solid var(--amber-lt);
    border-left: 3px solid var(--amber-lt);
    border-bottom: 3px solid var(--amber-dk);
    border-right: 3px solid var(--amber-dk);
    box-shadow: 4px 4px 0 var(--earth-dk);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 6px 7px 0 var(--earth-dk);
}

.btn-secondary {
    background: var(--grass);
    color: var(--cream);
    border-top: 3px solid var(--grass-lite);
    border-left: 3px solid var(--grass-lite);
    border-bottom: 3px solid var(--grass-dk);
    border-right: 3px solid var(--grass-dk);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.4);
}

.scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Press Start 2P", monospace;
    font-size: 7px;
    color: var(--cream);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-hint::after {
    content: "▼";
    font-size: 10px;
    color: var(--amber-lt);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* ─── Section base ─── */
section {
    scroll-margin-top: 60px;
}

.section-wrap {
    max-width: 960px;
    margin: 0 auto;
}

/* ─── Grass divider ─── */
.grass-divider {
    height: 32px;
    background: repeating-linear-gradient(
        90deg,
        var(--grass-dk) 0,
        var(--grass-dk) 16px,
        var(--grass) 16px,
        var(--grass) 32px
    );
    image-rendering: pixelated;
    position: relative;
}

.grass-divider::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--grass-lite);
}

.grass-divider::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--earth);
}

/* ─── Section backgrounds ─── */
.section-light {
    background: var(--cream);
}

.section-warm {
    background: #f0e6c4;
}

.section-earth {
    background: #e8d5a8;
}

/* ─── Section header ─── */
.section-title {
    font-family: "Press Start 2P", monospace;
    font-size: clamp(11px, 2.2vw, 16px);
    color: var(--earth-dk);
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.section-title .accent {
    color: var(--amber-dk);
}

.section-title .green {
    color: var(--grass-dk);
}

.section-desc {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ─── Wood label divider ─── */
.wood-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    max-width: 600px;
    margin: 0 auto;
}

.wood-divider::before,
.wood-divider::after {
    content: "";
    flex: 1;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--earth) 0,
        var(--earth) 8px,
        var(--earth-lite) 8px,
        var(--earth-lite) 12px
    );
    image-rendering: pixelated;
}

.wood-divider span {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    color: var(--earth);
    white-space: nowrap;
    background: var(--cream-dk);
    padding: 6px 14px;
    border: 2px solid var(--earth);
}

/* ─── MAP SECTION ─── */
#map {
    padding: 64px 24px 72px;
}

.map-frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-top: 6px solid var(--wood);
    border-left: 6px solid var(--wood-lt);
    border-bottom: 6px solid var(--earth);
    border-right: 6px solid var(--earth-dk);
    box-shadow:
        8px 8px 0 var(--earth-dk),
        0 20px 60px rgba(88, 50, 12, 0.25);
    image-rendering: pixelated;
    overflow: hidden;
}

.map-frame img {
    width: 100%;
    display: block;
    image-rendering: pixelated;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(88, 50, 12, 0.55) 100%
    );
    pointer-events: none;
}

.map-label {
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
    color: var(--cream);
    background: rgba(58, 35, 10, 0.85);
    padding: 10px 14px;
    border: 2px solid var(--amber-dk);
    line-height: 2;
    image-rendering: pixelated;
}

/* ─── ABOUT — CARDS ─── */
#about {
    padding: 64px 24px 72px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border-top: 4px solid var(--wood-lt);
    border-left: 4px solid var(--wood-lt);
    border-bottom: 4px solid var(--earth);
    border-right: 4px solid var(--earth);
    box-shadow: 5px 5px 0 var(--card-shadow);
    padding: 24px 22px;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 10px 0 var(--card-shadow);
}

.card-icon {
    font-size: 30px;
    margin-bottom: 12px;
    display: block;
}

.card h3 {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    color: var(--earth-dk);
    margin-bottom: 10px;
    line-height: 1.7;
}

.card p {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ─── THEMES / TEAM ─── */
#themes {
    padding: 64px 24px 72px;
}

.themes-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.theme-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border-top: 3px solid var(--wood-lt);
    border-left: 3px solid var(--wood-lt);
    border-bottom: 3px solid var(--earth);
    border-right: 3px solid var(--earth);
    box-shadow: 4px 4px 0 var(--card-shadow);
    padding: 14px 16px;
    transition: transform 0.12s;
    cursor: default;
}

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

.theme-chip-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.theme-chip-text {
    font-family: "Press Start 2P", monospace;
    font-size: 7px;
    color: var(--earth-dk);
    line-height: 1.8;
}

/* ─── GRADE GROUPS & STUDENT CARDS ─── */
.grade-group {
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.grade-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.grade-header::before,
.grade-header::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--earth);
    opacity: 0.25;
}

.grade-badge {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    color: var(--cream);
    background: var(--earth-dk);
    padding: 8px 18px;
    border-top: 2px solid var(--earth-lite);
    border-left: 2px solid var(--earth-lite);
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    border-right: 2px solid rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

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

.student-card {
    background: var(--card-bg);
    border-top: 2px solid var(--wood-lt);
    border-left: 2px solid var(--wood-lt);
    border-bottom: 2px solid var(--earth);
    border-right: 2px solid var(--earth);
    box-shadow: 3px 3px 0 var(--card-shadow);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.12s;
}

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

.student-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.45;
}

.student-topic {
    font-size: 10px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.3;
}

.role-tag {
    font-family: "Press Start 2P", monospace;
    font-size: 6px;
    padding: 4px 8px;
    display: inline-block;
    width: fit-content;
    line-height: 1.7;
    margin-top: 2px;
}

/* 🎥 Videography — purple */
.role-video {
    background: #ede8f8;
    color: #5a3a8a;
    border: 1px solid #c4aae8;
}

/* 🗺️ Map Maker — green */
.role-map {
    background: #d8f0d8;
    color: #245a24;
    border: 1px solid #8ac88a;
}

/* 🎙️ Sound Engineer — blue */
.role-sound {
    background: #d8ecf8;
    color: #1a4870;
    border: 1px solid #80b8e0;
}

/* 🎨 Merchandise — amber */
.role-merch {
    background: #fdf0d5;
    color: var(--amber-dk);
    border: 1px solid var(--amber);
}

/* 🏫 Teachers — deep teal */
.role-teacher {
    background: #d8f0ec;
    color: #1a5a50;
    border: 1px solid #6ab8b0;
}

/* ⭐ Alumni — gold */
.role-alumni {
    background: #fdf5d0;
    color: #7a5800;
    border: 1px solid #d4b800;
}

/* ─── SPECIAL CONTRIBUTORS ROW ─── */
.contributors-row {
    display: flex;
    gap: 20px;
    max-width: 960px;
    margin: 8px auto 0;
    padding: 0 24px 48px;
    flex-wrap: wrap;
}

.contrib-card {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--card-bg);
    border-top: 3px solid var(--wood-lt);
    border-left: 3px solid var(--wood-lt);
    border-bottom: 3px solid var(--earth);
    border-right: 3px solid var(--earth);
    box-shadow: 4px 4px 0 var(--card-shadow);
    padding: 20px 22px;
    transition: transform 0.12s;
}

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

.contrib-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}

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

.contrib-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.contrib-note {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
}

/* ─── TEASER / COUNTDOWN ─── */
#teaser-banner {
    padding: 64px 24px 72px;
}

.teaser-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--cream);
    border-top: 6px solid var(--wood-lt);
    border-left: 6px solid var(--wood-lt);
    border-bottom: 6px solid var(--earth-dk);
    border-right: 6px solid var(--earth-dk);
    box-shadow: 8px 8px 0 var(--earth-dk);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Wood grain overlay */
.teaser-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 15px,
        rgba(176, 112, 52, 0.05) 15px,
        rgba(176, 112, 52, 0.05) 16px
    );
    pointer-events: none;
}

.teaser-label {
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
    color: var(--grass-dk);
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: inline-block;
    border: 2px solid var(--grass-dk);
    padding: 6px 14px;
}

.teaser-headline {
    font-family: "Press Start 2P", monospace;
    font-size: clamp(12px, 2.5vw, 18px);
    color: var(--earth-dk);
    line-height: 1.7;
    margin-bottom: 16px;
}

.teaser-headline .accent {
    color: var(--amber-dk);
}

.teaser-text {
    font-size: 15px;
    color: var(--text-body);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.teaser-text strong {
    color: var(--grass-dk);
}

/* ─── Countdown ─── */
#countdown {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.count-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.count-value {
    font-family: "Press Start 2P", monospace;
    font-size: clamp(20px, 4.5vw, 32px);
    color: var(--earth-dk);
    background: var(--wood-lt);
    border-top: 4px solid #f0d0a0;
    border-left: 4px solid #f0d0a0;
    border-bottom: 4px solid var(--earth);
    border-right: 4px solid var(--earth);
    box-shadow: 4px 4px 0 var(--earth-dk);
    padding: 16px 18px;
    min-width: 76px;
    text-align: center;
}

.count-label {
    font-family: "Press Start 2P", monospace;
    font-size: 6px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.count-sep {
    font-family: "Press Start 2P", monospace;
    font-size: 28px;
    color: var(--amber-dk);
    align-self: flex-start;
    padding-top: 20px;
}

/* ─── Notify form ─── */
.notify-form {
    display: flex;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.notify-form input {
    flex: 1;
    min-width: 210px;
    padding: 12px 16px;
    background: #fff;
    border-top: 3px solid #d0c0a0;
    border-left: 3px solid #d0c0a0;
    border-bottom: 3px solid var(--earth);
    border-right: 3px solid var(--earth);
    color: var(--text-dark);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    outline: none;
}

.notify-form input:focus {
    border-color: var(--grass-dk);
}

.notify-form input::placeholder {
    color: var(--text-muted);
}

.notify-form button {
    padding: 12px 20px;
    background: var(--grass);
    color: var(--cream);
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
    border-top: 3px solid var(--grass-lite);
    border-left: 3px solid var(--grass-lite);
    border-bottom: 3px solid var(--grass-dk);
    border-right: 3px solid var(--grass-dk);
    cursor: pointer;
    transition: transform 0.12s;
    letter-spacing: 1px;
}

.notify-form button:hover {
    transform: translateY(-2px);
}

#notify-msg {
    display: none;
    margin-top: 16px;
    font-family: "Press Start 2P", monospace;
    font-size: 8px;
    color: var(--grass-dk);
}

/* ─── TEAM / IMPACT ─── */
#team {
    padding: 64px 24px 72px;
    text-align: center;
}

.school-badge {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border-top: 4px solid var(--wood-lt);
    border-left: 4px solid var(--wood-lt);
    border-bottom: 4px solid var(--earth);
    border-right: 4px solid var(--earth);
    box-shadow: 6px 6px 0 var(--card-shadow);
    padding: 24px 32px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.school-icon {
    font-size: 44px;
}

.school-info {
    text-align: left;
}

.school-info h3 {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    color: var(--earth-dk);
    margin-bottom: 8px;
    line-height: 1.7;
}

.school-info p {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.7;
}

.student-note {
    max-width: 560px;
    margin: 24px auto 0;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    border-left: 4px solid var(--amber-dk);
    padding-left: 20px;
    text-align: left;
    font-style: italic;
}

.student-note strong {
    color: var(--earth-dk);
    font-style: normal;
}

/* ─── FOOTER ─── */
footer {
    background: var(--earth-dk);
    padding: 28px 24px;
    text-align: center;
    border-top: 4px solid var(--earth);
}

footer p {
    font-family: "Press Start 2P", monospace;
    font-size: 7px;
    color: var(--cream-dk);
    line-height: 2.8;
}

footer a {
    color: var(--amber-lt);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    nav {
        padding: 10px 16px;
    }

    .nav-badge {
        display: none;
    }

    #hero {
        padding: 90px 16px 90px;
    }

    .teaser-box {
        padding: 32px 16px;
    }

    .count-sep {
        display: none;
    }

    .wood-divider {
        display: none;
    }

    .grade-group {
        padding: 0 12px;
    }

    .student-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .student-card {
        padding: 10px;
        gap: 4px;
    }

    .student-name {
        font-size: 11px;
    }

    .role-tag {
        font-size: 5px;
        padding: 3px 6px;
    }
}
