/* =========================================
   CODE FOR ME — SUMMER 2026
   ========================================= */
/* ========================================= WE WANT TO HEAR FROM YOU ========================================= */ .feedback-section { position: relative; overflow: hidden; padding-top: 130px !important; padding-bottom: 120px !important; background: #f3f0e8 !important; } .feedback-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-top: 45px; margin-bottom: 65px; } .feedback-kicker { display: inline-block; margin-bottom: 20px; font-size: 10px; font-weight: 900; letter-spacing: .18em; color: #168c80; } .feedback-heading h2 { margin: 0; font-size: clamp(52px, 7vw, 105px); line-height: .88; letter-spacing: -.065em; color: #07131f; } .feedback-heading h2 em { font-family: Georgia, serif; font-weight: 400; } .feedback-heading > p { max-width: 480px; margin: 0 0 5px; font-size: 17px; line-height: 1.75; color: #52606a; } .feedback-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(7,19,31,.12); border: 1px solid rgba(7,19,31,.12); } .feedback-card { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 25px; min-height: 220px; padding: 35px; background: #f3f0e8; transition: background .3s ease, transform .3s ease; } .feedback-card:hover { background: #fff; transform: translateY(-3px); z-index: 2; } .feedback-number { font-size: 11px; font-weight: 900; letter-spacing: .1em; color: #168c80; } .feedback-card h3 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.03em; color: #07131f; } .feedback-card p { max-width: 390px; margin: 0; font-size: 14px; line-height: 1.7; color: #68737b; } .feedback-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 2px; padding: 38px 35px; background: #07131f; color: #fff; } .feedback-bottom .small-label { color: #5ee6d0; } .feedback-bottom h3 { margin: 8px 0 0; font-size: 24px; letter-spacing: -.025em; } .feedback-bottom .button-dark { background: #fff; color: #07131f; white-space: nowrap; } .feedback-bottom .button-dark:hover { background: #5ee6d0; } @media (max-width: 800px) { .feedback-heading { grid-template-columns: 1fr; gap: 30px; } .feedback-grid { grid-template-columns: 1fr; } .feedback-bottom { flex-direction: column; align-items: flex-start; } } @media (max-width: 550px) { .feedback-section { padding-top: 90px !important; padding-bottom: 80px !important; } .feedback-card { grid-template-columns: 35px 1fr; padding: 28px 22px; } }
/* =========================================
   WE WANT TO HEAR FROM YOU
========================================= */

.feedback-section {
    position: relative;
    overflow: hidden;
    padding-top: 130px !important;
    padding-bottom: 125px !important;
    background: #f3f0e8 !important;
}

.feedback-heading {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: end;
    margin-top: 45px;
    margin-bottom: 65px;
}

.feedback-kicker {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    color: #168c80;
}

.feedback-heading h2 {
    margin: 0;
    font-size: clamp(52px, 7vw, 105px);
    line-height: .88;
    letter-spacing: -.065em;
    color: #07131f;
}

.feedback-heading h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
}

.feedback-heading > p {
    max-width: 480px;
    margin: 0 0 5px;
    font-size: 17px;
    line-height: 1.75;
    color: #52606a;
}


/* FORM */

.feedback-form {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px;
    background: #07131f;
    color: #fff;
    box-shadow: 0 30px 80px rgba(7,19,31,.15);
}


/* FIELDS */

.feedback-field {
    margin-bottom: 28px;
}

.feedback-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    color: rgba(255,255,255,.48);
}

.feedback-field label span {
    margin-left: 8px;
    color: rgba(255,255,255,.25);
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 0;
    background: rgba(255,255,255,.045);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color .25s ease,
        background .25s ease;
}

.feedback-field input,
.feedback-field select {
    height: 58px;
    padding: 0 18px;
}

.feedback-field textarea {
    min-height: 170px;
    padding: 18px;
    resize: vertical;
    line-height: 1.6;
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
    color: rgba(255,255,255,.28);
}

.feedback-field select {
    cursor: pointer;
}

.feedback-field select option {
    background: #07131f;
    color: #fff;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
    border-color: #5ee6d0;
    background: rgba(94,230,208,.05);
}


/* TWO COLUMNS */

.feedback-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}


/* SUBMIT */

.feedback-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 12px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.feedback-submit-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feedback-submit-copy strong {
    font-size: 15px;
}

.feedback-submit-copy span {
    font-size: 12px;
    color: rgba(255,255,255,.42);
}

.feedback-submit {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 17px 23px;
    border: 0;
    background: #5ee6d0;
    color: #07131f;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    cursor: pointer;
    transition:
        transform .25s ease,
        background .25s ease;
}

.feedback-submit strong {
    font-size: 19px;
    font-weight: 400;
}

.feedback-submit:hover {
    transform: translateY(-3px);
    background: #fff;
}

.feedback-submit:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}


/* SUCCESS / ERROR */

.feedback-message {
    display: none;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 18px 20px;
    font-size: 13px;
}

.feedback-message strong {
    display: block;
    margin-bottom: 3px;
}

.feedback-message p {
    margin: 0;
    color: rgba(255,255,255,.55);
}

.feedback-success {
    border: 1px solid rgba(94,230,208,.25);
    background: rgba(94,230,208,.06);
}

.feedback-success > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #5ee6d0;
    color: #07131f;
    font-weight: 900;
}

.feedback-error {
    border: 1px solid rgba(255,100,100,.25);
    background: rgba(255,100,100,.06);
    color: #ffaaaa;
}


/* HIDDEN SPAM FIELD */

.feedback-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}


/* MOBILE */

@media (max-width: 800px) {

    .feedback-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feedback-form {
        padding: 30px 22px;
    }

    .feedback-two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feedback-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .feedback-submit {
        width: 100%;
        justify-content: space-between;
    }

}

@media (max-width: 550px) {

    .feedback-section {
        padding-top: 90px !important;
        padding-bottom: 90px !important;
    }

    .feedback-heading h2 {
        font-size: 52px;
    }

}
/* =========================================
   INTERACTIVE TEACHER NETWORK
========================================== */

.teacher-network {
    position: relative !important;
    width: 100% !important;
    max-width: 600px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border-radius: 30px !important;
    background:
        radial-gradient(
            circle at center,
            rgba(40, 190, 180, 0.12),
            transparent 42%
        ),
        rgba(10, 25, 30, 0.96) !important;
    border: 1px solid rgba(100, 220, 210, 0.18) !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25),
        inset 0 0 80px rgba(50, 200, 190, 0.04) !important;
}
/* =========================================
   NEWSLETTER CODE SECTION
========================================= */

.newsletter-code {
    margin: 70px auto 45px;
    padding: 42px 35px;
    max-width: 760px;
    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}


.newsletter-code-label {
    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.55;
}


.newsletter-code h3 {
    margin: 0 auto 12px;

    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}


.newsletter-code p {
    max-width: 550px;
    margin: 0 auto 25px;

    font-size: 15px;
    line-height: 1.7;

    opacity: 0.7;
}


.newsletter-code .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}


/* =========================================
   COPYRIGHT
========================================= */

.copyright {
    margin-top: 30px;

    font-size: 12px;
    letter-spacing: 0.02em;

    opacity: 0.55;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .newsletter-code {
        margin: 50px 15px 35px;
        padding: 32px 22px;
    }

    .newsletter-code h3 {
        font-size: 27px;
    }

    .newsletter-code p {
        font-size: 14px;
    }

}

/* =========================================
   ORBITS
========================================== */

.network-orbit {
    position: absolute !important;
    border: 1px solid rgba(100, 220, 210, 0.10) !important;
    border-radius: 50% !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
}

.orbit-one {
    width: 42% !important;
    height: 42% !important;
}

.orbit-two {
    width: 68% !important;
    height: 68% !important;
}

.orbit-three {
    width: 91% !important;
    height: 91% !important;
}


/* =========================================
   CONNECTION LINES
========================================== */

.network-lines {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    pointer-events: none !important;
}

.network-lines line {
    stroke: rgba(80, 210, 200, 0.18) !important;
    stroke-width: 1.5 !important;
    stroke-dasharray: 7 9 !important;
    animation: networkFlow 3s linear infinite !important;
    transform-origin: center !important;
}

@keyframes networkFlow {
    to {
        stroke-dashoffset: -32;
    }
}


/* =========================================
   CENTER NODE
========================================== */

.network-center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 125px !important;
    height: 125px !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.center-core {
    position: relative !important;
    width: 72px !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #102b30 !important;
    border: 2px solid #62d8cf !important;
    color: #62d8cf !important;
    font-family: monospace !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    box-shadow:
        0 0 25px rgba(98, 216, 207, 0.3),
        0 0 70px rgba(98, 216, 207, 0.12) !important;
}

.network-center span {
    margin-top: 10px !important;
    color: rgba(255,255,255,0.55) !important;
    font-family: monospace !important;
    font-size: 8px !important;
    letter-spacing: 2px !important;
}

.center-pulse {
    position: absolute !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    border: 1px solid #62d8cf !important;
    animation: centerPulse 2.5s ease-out infinite !important;
}

@keyframes centerPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}


/* =========================================
   TEACHER NODES
========================================== */

.teacher-node {
    position: absolute !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #18363a !important;
    border: 1px solid rgba(98, 216, 207, 0.55) !important;
    color: #8de5df !important;
    font-family: monospace !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease !important;
}

.teacher-node:hover,
.teacher-node.active {
    background: #62d8cf !important;
    color: #102b30 !important;
    transform: scale(1.3) !important;
    box-shadow:
        0 0 20px rgba(98, 216, 207, 0.6),
        0 0 50px rgba(98, 216, 207, 0.2) !important;
}


/* =========================================
   NODE POSITIONS
========================================== */

.node-1  { left: calc(50% - 21px); top: 5%; }
.node-2  { left: 70%; top: 12%; }
.node-3  { right: 7%; top: 32%; }
.node-4  { right: 5%; top: 57%; }
.node-5  { left: 73%; bottom: 9%; }
.node-6  { left: calc(50% - 21px); bottom: 3%; }
.node-7  { left: 23%; bottom: 9%; }
.node-8  { left: 5%; top: 57%; }
.node-9  { left: 7%; top: 32%; }
.node-10 { left: 28%; top: 12%; }


/* =========================================
   COUNTER
========================================== */

.network-counter {
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    white-space: nowrap !important;
    z-index: 20 !important;
}

.network-counter strong {
    color: #62d8cf !important;
    font-family: monospace !important;
    font-size: 24px !important;
}

.network-counter span {
    color: rgba(255,255,255,0.4) !important;
    font-family: monospace !important;
    font-size: 8px !important;
    letter-spacing: 1.5px !important;
}


/* =========================================
   TOOLTIP
========================================== */

.teacher-tooltip {
    position: absolute !important;
    top: 18px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-5px) !important;
    padding: 7px 12px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.55) !important;
    font-family: monospace !important;
    font-size: 8px !important;
    letter-spacing: 1px !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
    pointer-events: none !important;
}

.teacher-tooltip.visible {
    opacity: 1 !important;
}

.teacher-tooltip strong {
    color: #62d8cf !important;
}
:root {
    --navy: #172b3a;
    --navy-dark: #0d1c28;

    --cream: #f8f4ec;
    --paper: #fffdf8;

    --coral: #df756f;
    --coral-light: #f3aaa3;

    --teal: #58b7b2;
    --teal-dark: #328c89;

    --yellow: #f2bd32;

    --blue: #4c82a5;

    --text: #243642;
    --muted: #708087;

    --border: rgba(23, 43, 58, 0.13);

    --shadow:
        0 25px 70px rgba(23, 43, 58, 0.10);

    --radius: 24px;
}


/* =========================================
   RESET
   ========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);

    font-family:
        "DM Sans",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

body.dark {
    --cream: #101b23;
    --paper: #172731;

    --text: #eef5f4;
    --muted: #a8b8bd;

    --border: rgba(255,255,255,.12);
}

img {
    display: block;
    width: 100%;
}

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

button {
    font: inherit;
}


/* =========================================
   SCROLL BAR
   ========================================= */

.scroll-progress {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: transparent;

    z-index: 9999;
}

#progressBar {
    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--coral),
            var(--yellow),
            var(--teal)
        );
}


/* =========================================
   NAV
   ========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 18px 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(248,244,236,.82);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

.dark .navbar {
    background: rgba(16,27,35,.84);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background: var(--navy);
    color: white;

    font-family: "DM Mono", monospace;

    font-size: 13px;
}

.brand strong {
    display: block;

    font-family: "Playfair Display", serif;

    font-size: 18px;
}

.brand small {
    display: block;

    color: var(--muted);

    font-size: 10px;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.navbar nav {
    display: flex;
    gap: 27px;
}

.navbar nav a {
    font-size: 13px;
    font-weight: 600;

    transition: .25s ease;
}

.navbar nav a:hover {
    color: var(--coral);
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.theme-toggle,
.menu-toggle {
    border: 1px solid var(--border);

    background: var(--paper);

    width: 40px;
    height: 40px;

    border-radius: 12px;

    cursor: pointer;
}

.menu-toggle {
    display: none;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: grid;
    place-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(88,183,178,.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 25%,
            rgba(242,189,50,.25),
            transparent 28%
        ),
        var(--cream);
}

.hero-grid,
.closing-grid {
    position: absolute;

    inset: 0;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(23,43,58,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23,43,58,.06) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black,
            transparent 70%
        );
}

.hero-content {
    width: min(900px, 90%);

    text-align: center;

    position: relative;

    z-index: 2;

    padding-top: 80px;
}

.eyebrow {
    display: inline-block;

    font-family: "DM Mono", monospace;

    font-size: 11px;

    letter-spacing: .18em;

    color: var(--teal-dark);

    margin-bottom: 22px;
}

.hero h1 {
    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(62px, 10vw, 140px);

    line-height: .92;

    letter-spacing: -.05em;
}

.hero h1 span {
    color: var(--coral);
}

.hero-description {
    max-width: 650px;

    margin: 30px auto;

    font-size:
        clamp(17px, 2vw, 21px);

    color: var(--muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 14px 21px;

    border-radius: 100px;

    border: 0;

    cursor: pointer;

    font-weight: 700;

    font-size: 13px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

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

    box-shadow:
        0 12px 30px rgba(23,43,58,.14);
}

.button-primary {
    background: var(--coral);
    color: white;
}

.button-secondary {
    background: var(--paper);
    color: var(--text);

    border: 1px solid var(--border);
}

.button-dark {
    background: var(--navy);
    color: white;
}

.button-light {
    background: white;
    color: var(--navy);
}

.button-outline {
    color: white;

    border: 1px solid rgba(255,255,255,.4);
}

.hero-code {
    width: min(450px, 90%);

    margin: 50px auto 0;

    padding: 22px 26px;

    border-radius: 18px;

    text-align: left;

    background: var(--navy-dark);

    box-shadow:
        0 30px 80px rgba(13,28,40,.22);

    font-family: "DM Mono", monospace;

    font-size: 12px;

    color: #d7e5e8;
}

.code-line {
    display: block;
}

.indent {
    padding-left: 25px;
}

.pink {
    color: #f19b9b;
}

.yellow {
    color: #f4c95d;
}

.blue {
    color: #72c7d0;
}

.hero-floating-card {
    position: absolute;

    z-index: 3;

    background: var(--paper);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    padding: 16px 18px;

    border-radius: 17px;

    display: flex;

    flex-direction: column;

    animation:
        floating 5s ease-in-out infinite;
}

.hero-floating-card span {
    font-family: "DM Mono", monospace;
    color: var(--coral);
}

.hero-floating-card strong {
    font-size: 15px;
}

.hero-floating-card small {
    color: var(--muted);
}

.card-one {
    left: 7%;
    top: 35%;
}

.card-two {
    right: 7%;
    bottom: 22%;

    animation-delay: -2s;
}

@keyframes floating {
    0%,100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(2deg);
    }
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
    width: min(1180px, 90%);

    margin: 0 auto;

    padding: 130px 0;
}

.section-label {
    font-family: "DM Mono", monospace;

    color: var(--coral);

    font-size: 11px;

    letter-spacing: .18em;

    margin-bottom: 25px;
}

h2 {
    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(42px, 6vw, 76px);

    line-height: 1.03;

    letter-spacing: -.04em;
}

h2 em {
    color: var(--coral);
    font-style: normal;
}

h3 {
    font-family:
        "Playfair Display",
        serif;

    font-size: 30px;

    line-height: 1.1;
}

p {
    color: var(--muted);
}

.large-text {
    font-size: 20px;

    line-height: 1.65;
}

.small-label {
    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: .14em;

    color: var(--muted);

    display: block;

    margin-bottom: 10px;
}


/* =========================================
   INTRO
   ========================================= */

.intro-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;
}

.intro-grid p + p {
    margin-top: 18px;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 70px;
}

.stat-card {
    background: var(--paper);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 30px;

    transition: .3s ease;
}

.stat-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.stat-number {
    display: block;

    font-family: "Playfair Display", serif;

    font-size: 52px;

    color: var(--navy);
}

.dark .stat-number {
    color: white;
}

.stat-label {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================
   SECTION HEADINGS
   ========================================= */

.section-heading,
.codecourse-heading {
    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 55px;
}


/* =========================================
   PHOTOS
   ========================================= */

.photo-feature {
    display: grid;

    grid-template-columns:
        1.4fr .6fr;

    gap: 16px;
}

.large-photo,
.photo-stack img {
    border-radius: var(--radius);

    overflow: hidden;

    position: relative;
}

.large-photo {
    min-height: 570px;
}

.large-photo img {
    height: 100%;
    object-fit: cover;
}

.photo-stack {
    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 16px;
}

.photo-stack img {
    height: 100%;

    object-fit: cover;
}

.photo-caption {
    position: absolute;

    bottom: 20px;
    left: 20px;
    right: 20px;

    padding: 17px 20px;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(10px);

    border-radius: 15px;
}

.photo-caption span {
    display: block;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    color: var(--coral);
}

.photo-caption strong {
    font-family: "Playfair Display", serif;

    font-size: 20px;
}

.gallery-image {
    cursor: zoom-in;

    transition:
        transform .5s ease,
        filter .5s ease;
}

.gallery-image:hover {
    transform: scale(1.04);

    filter: brightness(.9);
}

.camp-story {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 25px;

    max-width: 850px;

    margin-top: 55px;
}

.story-number {
    font-family: "DM Mono", monospace;

    font-size: 42px;

    color: var(--coral);
}

.camp-story p {
    max-width: 750px;

    margin-top: 15px;
}

.tag-row,
.skills {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.tag-row span,
.skills span {
    padding: 7px 11px;

    background: var(--paper);

    border: 1px solid var(--border);

    border-radius: 100px;

    font-size: 11px;

    color: var(--muted);
}


/* =========================================
   TEACHERS
   ========================================= */

.teacher-section {
    width: 100%;

    padding-left: 5%;
    padding-right: 5%;

    background:
        linear-gradient(
            135deg,
            rgba(88,183,178,.13),
            transparent
        );
}

.teacher-layout {
    max-width: 1180px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}

.pill {
    display: inline-block;

    border-radius: 100px;

    padding: 7px 12px;

    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: .12em;

    margin-bottom: 20px;
}

.pill.teal {
    background: rgba(88,183,178,.18);

    color: var(--teal-dark);
}

.pill.coral {
    background: rgba(223,117,111,.15);

    color: var(--coral);
}

.pill.yellow {
    background: rgba(242,189,50,.2);

    color: #a57700;
}

.teacher-layout p {
    margin-top: 18px;
}

.teacher-card {
    background: var(--paper);

    border: 1px solid var(--border);

    border-radius: 28px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.teacher-image {
    height: 340px;
    overflow: hidden;
}

.teacher-image img {
    height: 100%;

    object-fit: cover;
}

.teacher-card-content {
    padding: 30px;
}

.teacher-card-content p {
    margin-top: 10px;
}

.teacher-callout {
    max-width: 1180px;

    margin: 90px auto 0;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 25px;

    padding: 30px;

    background: #f8e9c9);

    border-radius: var(--radius);
}

.callout-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    background: rgba(255,255,255,.5);

    border-radius: 18px;

    font-size: 27px;
}

.teacher-callout h3 {
    font-size: 23px;
}

.teacher-callout p {
    color: rgba(23,43,58,.7);

    max-width: 700px;

    margin-top: 4px;
}


/* =========================================
   CODECOURSE
   ========================================= */

.codecourse-section {
    padding-top: 150px;
}

.codecourse-heading p {
    font-size: 17px;
}

.course-interface {
    display: grid;

    grid-template-columns: 280px 1fr;

    min-height: 590px;

    border-radius: 28px;

    overflow: hidden;

    background: var(--navy-dark);

    box-shadow:
        0 35px 90px rgba(13,28,40,.2);

    color: white;
}

.course-sidebar {
    padding: 25px;

    background: #142936;

    border-right: 1px solid rgba(255,255,255,.08);
}

.course-logo {
    display: flex;

    gap: 10px;

    align-items: center;

    margin-bottom: 35px;
}

.course-logo span {
    color: var(--coral);

    font-family: "DM Mono", monospace;
}

.course-progress {
    margin-bottom: 30px;
}

.progress-top {
    display: flex;

    justify-content: space-between;

    font-size: 10px;

    color: #91a5ac;

    margin-bottom: 9px;
}

.progress-top strong {
    color: white;
}

.progress-bar {
    height: 5px;

    background: rgba(255,255,255,.1);

    border-radius: 100px;

    overflow: hidden;
}

#courseProgress {
    height: 100%;

    background: var(--teal);

    transition: width .4s ease;
}

.lesson-list {
    display: grid;

    gap: 7px;
}

.lesson {
    width: 100%;

    display: grid;

    grid-template-columns: 35px 1fr;

    text-align: left;

    gap: 8px;

    border: 0;

    padding: 12px;

    border-radius: 13px;

    cursor: pointer;

    color: #8fa3aa;

    background: transparent;

    transition: .25s ease;
}

.lesson:hover {
    background: rgba(255,255,255,.06);
}

.lesson.active {
    background: rgba(223,117,111,.13);

    color: white;
}

.lesson > span {
    font-family: "DM Mono", monospace;

    font-size: 10px;

    color: var(--coral);
}

.lesson strong,
.lesson small {
    display: block;
}

.lesson strong {
    font-size: 11px;
}

.lesson small {
    font-size: 9px;

    opacity: .65;

    margin-top: 2px;
}

.course-main {
    padding: 25px 35px;

    display: flex;

    flex-direction: column;
}

.course-topbar {
    display: flex;

    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255,255,255,.08);

    font-family: "DM Mono", monospace;

    font-size: 9px;

    color: #80959d;
}

.online-dot {
    color: var(--teal);
}

.course-content {
    flex: 1;

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 50px;

    align-items: center;
}

.course-content h3 {
    font-size: 40px;

    color: white;
}

.course-content p {
    margin-top: 15px;

    max-width: 420px;

    color: #91a5ac;
}

.code-editor {
    background: #091820;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0,0,0,.25);
}

.editor-top {
    height: 38px;

    padding: 0 13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,.06);
}

.editor-dots {
    display: flex;

    gap: 5px;
}

.editor-dots i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #54676e;
}

.copy-button {
    border: 0;

    background: transparent;

    color: #7e959d;

    cursor: pointer;

    font-size: 10px;
}

pre {
    padding: 28px;

    min-height: 130px;

    overflow-x: auto;
}

code {
    font-family: "DM Mono", monospace;

    font-size: 13px;

    color: #c9e3e4;
}

.editor-output {
    padding: 14px 20px;

    border-top: 1px solid rgba(255,255,255,.06);

    background: rgba(255,255,255,.025);
}

.editor-output span {
    display: block;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    color: #668087;
}

.editor-output strong {
    font-family: "DM Mono", monospace;

    font-size: 11px;

    color: var(--teal);
}

.course-button {
    align-self: flex-start;

    padding: 12px 18px;

    border-radius: 100px;

    background: var(--coral);

    font-size: 12px;

    font-weight: 700;
}


/* =========================================
   CAMPS
   ========================================= */

.camp-tabs {
    display: flex;

    gap: 8px;

    border-bottom: 1px solid var(--border);

    margin-bottom: 30px;
}

.camp-tab {
    border: 0;

    background: transparent;

    color: var(--muted);

    padding: 13px 17px;

    cursor: pointer;

    font-weight: 700;

    border-bottom: 3px solid transparent;
}

.camp-tab.active {
    color: var(--coral);

    border-bottom-color: var(--coral);
}

.camp-panel {
    display: none;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}

.camp-panel.active {
    display: grid;
}

.camp-panel-image {
    position: relative;

    height: 500px;

    overflow: hidden;

    border-radius: var(--radius);
}

.camp-panel-image img {
    height: 100%;

    object-fit: cover;
}

.floating-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    padding: 9px 13px;

    border-radius: 100px;

    background: white;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    color: var(--navy);
}

.camp-panel-content p {
    margin-top: 18px;

    font-size: 17px;
}


/* =========================================
   BROWN
   ========================================= */

.brown-section {
    width: 100%;

    padding-left: 5%;
    padding-right: 5%;

    background: var(--navy);

    color: white;
}

.brown-section .section-label {
    color: var(--yellow);
}

.brown-grid {
    max-width: 1180px;

    margin: auto;

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 100px;

    align-items: center;
}

.brown-copy p {
    margin-top: 18px;

    color: #a7b9bf;
}

.brown-copy .large-text {
    color: #e3ebed;
}

.quote-card {
    margin-top: 30px;

    padding: 25px;

    border-left: 3px solid var(--coral);

    background: rgba(255,255,255,.04);
}

.quote-card span {
    font-family: "Playfair Display", serif;

    font-size: 45px;

    color: var(--coral);

    line-height: .5;
}

.quote-card p {
    color: white;

    margin-top: 8px;
}

.research-visual {
    position: relative;

    height: 550px;

    border-radius: 30px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(88,183,178,.13),
            transparent 35%
        ),
        #091720;

    border: 1px solid rgba(255,255,255,.08);
}

.star-field {
    position: absolute;

    inset: 0;
}

.star {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: white;

    opacity: .6;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(88,183,178,.25);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%,-50%);
}

.orbit-one {
    width: 280px;
    height: 130px;

    transform:
        translate(-50%,-50%)
        rotate(20deg);
}

.orbit-two {
    width: 400px;
    height: 190px;

    transform:
        translate(-50%,-50%)
        rotate(-25deg);
}

.planet {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 55px;
    height: 55px;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 30%,
            #f4c95d,
            #df756f
        );

    box-shadow:
        0 0 60px rgba(223,117,111,.4);
}

.research-label {
    position: absolute;

    padding: 7px 10px;

    border-radius: 7px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.1);

    font-family: "DM Mono", monospace;

    font-size: 9px;

    color: #a9c8cc;
}

.label-one {
    top: 25%;
    left: 20%;
}

.label-two {
    top: 30%;
    right: 15%;
}

.label-three {
    bottom: 28%;
    left: 17%;
}

.research-button {
    position: absolute;

    bottom: 22px;
    left: 50%;

    transform:
        translateX(-50%);

    border: 0;

    background: var(--teal);

    color: var(--navy);

    padding: 12px 18px;

    border-radius: 100px;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;
}


/* =========================================
   FEATURE
   ========================================= */

.feature-card {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    background: var(--paper);

    border: 1px solid var(--border);

    border-radius: 30px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.feature-image {
    min-height: 450px;

    position: relative;
}

.feature-image img {
    height: 100%;

    object-fit: cover;
}

.feature-stamp {
    position: absolute;

    top: 20px;
    left: 20px;

    padding: 10px 14px;

    background: var(--yellow);

    border-radius: 100px;

    font-family: "DM Mono", monospace;

    font-size: 9px;
}

.feature-content {
    padding: 65px;
}

.feature-content h2 {
    font-size: 50px;
}

.feature-content p {
    margin: 20px 0 30px;

    font-size: 16px;
}

.link-note {
    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 12px;
}


/* =========================================
   GALLERY
   ========================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        1.2fr .8fr .8fr;

    grid-auto-rows: 240px;

    gap: 14px;
}

.gallery-item {
    border-radius: 20px;

    overflow: hidden;
}

.gallery-item img {
    height: 100%;

    object-fit: cover;
}

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

.gallery-item.wide {
    grid-column: span 2;
}


/* =========================================
   CLOSING
   ========================================= */

.closing {
    position: relative;

    min-height: 650px;

    display: grid;

    place-items: center;

    text-align: center;

    overflow: hidden;

    background: var(--navy-dark);

    color: white;
}

.closing-content {
    position: relative;

    z-index: 2;

    width: min(800px, 90%);
}

.closing .eyebrow {
    color: var(--yellow);
}

.closing h2 {
    font-size:
        clamp(55px, 8vw, 100px);
}

.closing h2 span {
    color: var(--coral);
}

.closing p {
    max-width: 600px;

    margin: 25px auto;

    color: #aabdc3;

    font-size: 18px;
}

.closing-buttons {
    display: flex;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 30px;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 35px 5%;

    background: #091720;

    color: white;

    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 25px;

    align-items: center;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-brand span {
    display: block;

    color: #7e959d;

    font-size: 11px;
}

.footer-links {
    display: flex;

    gap: 20px;

    font-size: 11px;

    color: #a8b9be;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    grid-column: 1 / -1;

    color: #5e737b;

    font-size: 9px;

    font-family: "DM Mono", monospace;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
    position: fixed;

    inset: 0;

    background: rgba(5,13,18,.92);

    backdrop-filter: blur(15px);

    z-index: 3000;

    display: none;

    place-items: center;

    padding: 30px;
}

.lightbox.active {
    display: grid;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;

    width: auto;

    border-radius: 15px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.5);
}

.lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    border: 0;

    background: white;

    color: var(--navy);

    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 25px;

    cursor: pointer;
}


/* =========================================
   REVEAL ANIMATION
   ========================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .navbar {
        padding: 14px 5%;
    }

    .navbar nav {
        display: none;

        position: absolute;

        top: 75px;
        left: 5%;
        right: 5%;

        padding: 18px;

        background: var(--paper);

        border: 1px solid var(--border);

        border-radius: 20px;

        box-shadow: var(--shadow);

        flex-direction: column;

        gap: 15px;
    }

    .navbar nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-floating-card {
        display: none;
    }

    .intro-grid,
    .section-heading,
    .codecourse-heading,
    .teacher-layout,
    .brown-grid,
    .feature-card {
        grid-template-columns: 1fr;
    }

    .intro-grid,
    .section-heading,
    .codecourse-heading {
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-feature {
        grid-template-columns: 1fr;
    }

    .large-photo {
        min-height: 430px;
    }

    .photo-stack {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px;
    }

    .teacher-callout {
        grid-template-columns: auto 1fr;
    }

    .teacher-callout .button {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .course-interface {
        grid-template-columns: 1fr;
    }

    .course-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .lesson-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .lesson {
        grid-template-columns: 1fr;
    }

    .lesson small {
        display: none;
    }

    .course-content {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 35px 0;
    }

    .camp-panel {
        grid-template-columns: 1fr;
    }

    .camp-panel-image {
        height: 400px;
    }

    .research-visual {
        height: 450px;
    }

    .feature-image {
        min-height: 350px;
    }

    .feature-content {
        padding: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}


@media (max-width: 600px) {

    .section {
        padding: 85px 0;
    }

    .hero {
        min-height: 850px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-code {
        font-size: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .photo-stack {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 220px;
    }

    .camp-story {
        grid-template-columns: 45px 1fr;
    }

    .story-number {
        font-size: 25px;
    }

    .teacher-callout {
        padding: 22px;

        grid-template-columns: 1fr;
    }

    .callout-icon {
        width: 50px;
        height: 50px;
    }

    .course-sidebar {
        padding: 17px;
    }

    .lesson-list {
        grid-template-columns: 1fr 1fr;
    }

    .course-main {
        padding: 20px;
    }

    .course-content h3 {
        font-size: 32px;
    }

    .camp-tabs {
        overflow-x: auto;
    }

    .camp-tab {
        white-space: nowrap;
    }

    .camp-panel-image {
        height: 320px;
    }

    .brown-grid {
        gap: 45px;
    }

    .research-visual {
        height: 380px;
    }

    .feature-content {
        padding: 30px;
    }

    .feature-content h2 {
        font-size: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .gallery-item.wide {
        grid-column: auto;
    }

    .closing {
        min-height: 600px;
    }

    .closing h2 {
        font-size: 56px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

}

/* =========================================================
   TEXTBOOK — UPGRADED
========================================================= */

.textbook-feature {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 70px;
    align-items: center;
    margin-top: 90px;
    padding: 70px;
    border-radius: 32px;
    background: linear-gradient(
        135deg,
        #f7f1e9 0%,
        #ffffff 100%
    );
    border: 1px solid rgba(30, 43, 55, 0.08);
    overflow: hidden;
}


.textbook-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}


.book-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(224, 117, 102, 0.14);
    filter: blur(35px);
}


.book-card {
    position: relative;
    width: min(290px, 80%);
    transform: rotate(-6deg);
    transition: transform 0.5s ease;
    z-index: 2;
}


.book-card:hover {
    transform: rotate(-2deg) translateY(-12px);
}


.book-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow:
        0 35px 60px rgba(22, 32, 42, 0.22),
        0 8px 20px rgba(22, 32, 42, 0.14);
}


.book-shadow {
    position: absolute;
    bottom: 35px;
    width: 230px;
    height: 30px;
    background: rgba(25, 35, 45, 0.16);
    filter: blur(18px);
    border-radius: 50%;
}


.textbook-content h3 {
    margin: 12px 0 20px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
}


.textbook-content h3 em {
    display: block;
}


.textbook-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 650px;
}


.textbook-points {
    margin: 35px 0;
    display: grid;
    gap: 18px;
}


.textbook-point {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(30, 43, 55, 0.1);
}


.textbook-point > span {
    font-family: "DM Mono", monospace;
    font-size: 0.75rem;
    padding-top: 4px;
    opacity: 0.55;
}


.textbook-point strong {
    display: block;
    margin-bottom: 5px;
}


.textbook-point p {
    margin: 0;
    line-height: 1.55;
    opacity: 0.7;
}


.textbook-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}


/* =========================================================
   MAINE PUBLIC RADIO
========================================================= */

.radio-feature {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    padding: 70px;
    border-radius: 32px;
    background: #f4efe8;
    overflow: hidden;
}


.radio-visual {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 25px;
    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,0.16),
            transparent 45%
        ),
        #20323c;
}


.radio-center {
    position: relative;
    z-index: 3;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: #f4efe8;
    color: #20323c;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}


.radio-center span {
    font-family: "DM Mono", monospace;
    font-size: 0.75rem;
}


.radio-center strong {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    line-height: 0.9;
}


.radio-wave {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: radioPulse 3s ease-out infinite;
}


.wave-two {
    animation-delay: 1s;
}


.wave-three {
    animation-delay: 2s;
}


.radio-label {
    position: absolute;
    bottom: 25px;
    left: 25px;
    padding: 8px 13px;
    border-radius: 30px;
    background: rgba(255,255,255,0.12);
    color: white;
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}


@keyframes radioPulse {

    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.3);
        opacity: 0;
    }

}


.radio-feature .feature-content h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
}


/* =========================================================
   BROWN RESEARCH VISUAL
========================================================= */

.research-visual {
    position: relative;
    min-height: 700px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(77, 130, 173, 0.18),
            transparent 30%
        ),
        #07111c;
    box-shadow:
        inset 0 0 100px rgba(0,0,0,0.5),
        0 25px 70px rgba(10, 20, 30, 0.18);
}


.star-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
}


.generated-star {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: white;
    opacity: 0.75;
    animation: starTwinkle 3s ease-in-out infinite;
}


@keyframes starTwinkle {

    0%, 100% {
        opacity: 0.25;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.35);
    }

}


.research-header {
    position: absolute;
    top: 30px;
    left: 32px;
    z-index: 5;
    color: white;
}


.research-header span {
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    opacity: 0.55;
    margin-bottom: 7px;
}


.research-header strong {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
}


.quasar-target {
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    z-index: 3;
}


.quasar-core {
    position: relative;
    z-index: 3;
    color: white;
    font-size: 2rem;
    animation: quasarPulse 2s ease-in-out infinite;
}


.quasar-glow {
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    filter: blur(15px);
}


.quasar-target > span {
    position: absolute;
    top: 85px;
    white-space: nowrap;
    color: rgba(255,255,255,0.5);
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
}


@keyframes quasarPulse {

    0%, 100% {
        transform: scale(0.9);
        text-shadow: 0 0 10px rgba(255,255,255,0.3);
    }

    50% {
        transform: scale(1.2);
        text-shadow:
            0 0 20px rgba(255,255,255,0.8),
            0 0 40px rgba(115,190,255,0.5);
    }

}


.research-computers {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 110px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: end;
}


.research-computer {
    position: relative;
    text-align: center;
    transition: transform 0.5s ease;
}


.research-computer:hover {
    transform: translateY(-8px);
}


.monitor {
    width: 100%;
    max-width: 280px;
    margin: auto;
    padding: 10px;
    border-radius: 14px;
    background: #202c36;
    box-shadow:
        0 20px 30px rgba(0,0,0,0.35),
        inset 0 1px rgba(255,255,255,0.08);
}


.monitor-screen {
    min-height: 210px;
    padding: 18px;
    border-radius: 8px;
    background: #07100d;
    border: 1px solid rgba(80,255,170,0.2);
    color: #a9ffd2;
    text-align: left;
    box-shadow: inset 0 0 30px rgba(30,255,150,0.05);
}


.screen-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    opacity: 0.7;
}


.screen-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #67e8a2;
    box-shadow: 0 0 10px #67e8a2;
}


.terminal-lines {
    margin-top: 25px;
    display: grid;
    gap: 9px;
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    line-height: 1.4;
}


.terminal-lines span {
    color: #67e8a2;
}


.terminal-status {
    opacity: 0.5;
}


.computer-result {
    margin-top: 18px;
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    border: 1px solid rgba(103,232,162,0.18);
    color: rgba(169,255,210,0.7);
}


.monitor-stand {
    width: 35px;
    height: 28px;
    margin: auto;
    background: #202c36;
}


.monitor-base {
    width: 95px;
    height: 8px;
    margin: auto;
    border-radius: 10px;
    background: #2c3b46;
}


.computer-label {
    margin-top: 14px;
    color: white;
}


.computer-label span {
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    opacity: 0.4;
    margin-bottom: 5px;
}


.computer-label strong {
    font-size: 0.85rem;
}


.research-computer.computing {
    animation: computerThinking 0.7s ease-in-out infinite alternate;
}


.research-computer.computing .monitor-screen {
    box-shadow:
        inset 0 0 35px rgba(70,255,170,0.15),
        0 0 30px rgba(70,255,170,0.1);
}


@keyframes computerThinking {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }

}


.research-computer.success .computer-result {
    color: #ffffff;
    background: rgba(65, 190, 120, 0.16);
    border-color: rgba(100,255,170,0.4);
    box-shadow: 0 0 20px rgba(100,255,170,0.12);
}


.research-button {
    position: absolute;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    z-index: 10;
    border: 0;
    border-radius: 100px;
    padding: 15px 24px;
    background: white;
    color: #07111c;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}


.research-button:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.4);
}


.research-button:disabled {
    opacity: 0.65;
    cursor: wait;
}


.button-play {
    margin-right: 7px;
}


.research-result {
    position: absolute;
    right: 30px;
    bottom: 40px;
    color: rgba(255,255,255,0.45);
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
}


.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9de7ff;
    box-shadow: 0 0 10px #9de7ff;
    pointer-events: none;
    z-index: 4;
}


.data-particle.flying {
    animation: dataFly 1.2s ease-in forwards;
}


@keyframes dataFly {

    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform:
            translate(
                var(--target-x),
                var(--target-y)
            )
            scale(1.4);
    }

}


/* =========================================================
   CONFETTI
========================================================= */

.confetti-piece {
    position: fixed;
    top: -30px;
    z-index: 99999;
    pointer-events: none;
    font-family: "DM Mono", monospace;
    font-weight: 700;
    animation: confettiFall 2.8s cubic-bezier(.2,.7,.2,1) forwards;
}


@keyframes confettiFall {

    0% {
        transform:
            translateY(0)
            rotate(0deg)
            scale(0.8);
        opacity: 1;
    }

    100% {
        transform:
            translateY(110vh)
            rotate(720deg)
            scale(1.2);
        opacity: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .textbook-feature,
    .radio-feature {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        gap: 35px;
    }


    .textbook-visual {
        min-height: 320px;
    }


    .research-visual {
        min-height: 760px;
    }


    .research-computers {
        grid-template-columns: 1fr;
        bottom: 105px;
        gap: 22px;
    }


    .monitor {
        max-width: 240px;
    }


    .monitor-screen {
        min-height: 165px;
    }


    .computer-label strong {
        font-size: 0.72rem;
    }


    .research-result {
        left: 50%;
        right: auto;
        bottom: 15px;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
    }


    .research-button {
        bottom: 42px;
    }

}


@media (max-width: 500px) {

    .textbook-feature,
    .radio-feature {
        border-radius: 22px;
        padding: 25px 20px;
    }


    .textbook-content h3 {
        font-size: 2.3rem;
    }


    .radio-visual {
        min-height: 300px;
    }


    .research-visual {
        min-height: 780px;
        border-radius: 22px;
    }


    .research-header {
        left: 20px;
        top: 20px;
    }


    .research-computers {
        left: 15px;
        right: 15px;
    }


    .monitor {
        max-width: 210px;
    }

}

/* =========================================
   SUMMER PHOTO GALLERY
========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 0;
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* Make the fourth photo sit in the bottom-right */
.gallery-grid .gallery-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / span 2;
}


/* Mobile */
@media (max-width: 700px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .gallery-grid .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

}

/* =========================================
   SUMMER PHOTO GALLERY
========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 0;
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* Make the fourth photo sit in the bottom-right */
.gallery-grid .gallery-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / span 2;
}


/* Mobile */
@media (max-width: 700px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .gallery-grid .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

}
.gallery-item.long {
    grid-column: span 2;
    height: 180px;
}

.gallery-item.long .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   SUMMER PHOTO GALLERY
========================================= */

section.gallery-section {
    width: 100% !important;
    max-width: 100% !important;
}

section.gallery-section .section-heading {
    width: 100% !important;
    margin-bottom: 45px !important;
}

section.gallery-section .gallery-grid {
    width: 100% !important;
    display: grid !important;

    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;

    gap: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: start !important;
}

section.gallery-section .gallery-item {
    width: 100% !important;
    height: auto !important;

    overflow: hidden !important;
    border-radius: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}

section.gallery-section .gallery-item img.gallery-image {
    width: 100% !important;
    height: auto !important;

    display: block !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 18px !important;

    transition: transform 0.35s ease !important;
}

section.gallery-section .gallery-item:hover img.gallery-image {
    transform: scale(1.02) !important;
}


/* =========================================
   INDIVIDUAL PHOTO PLACEMENT
========================================= */

section.gallery-section .gallery-item:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
}

section.gallery-section .gallery-item:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

section.gallery-section .gallery-item:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

section.gallery-section .gallery-item:nth-child(4) {
    grid-column: 1 / 3 !important;
    grid-row: 3 !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    section.gallery-section .gallery-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    section.gallery-section .gallery-item,
    section.gallery-section .gallery-item:nth-child(1),
    section.gallery-section .gallery-item:nth-child(2),
    section.gallery-section .gallery-item:nth-child(3),
    section.gallery-section .gallery-item:nth-child(4) {
        width: 100% !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

}

/* =========================================
   BROWN UNIVERSITY — SIDE BY SIDE
========================================= */

.brown-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    gap: 70px !important;
    align-items: center !important;
    width: 100% !important;
}

.brown-copy {
    min-width: 0 !important;
    width: 100% !important;
}

.research-visual {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Keep the two computers inside the visual side by side */
.research-computers {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.research-computer {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

/* Prevent the research visual from becoming too wide */
.research-visual {
    max-width: 100% !important;
}

/* Stack everything on smaller screens */
@media (max-width: 900px) {
    .brown-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }

    .research-computers {
        flex-direction: row !important;
    }
}

@media (max-width: 600px) {
    .research-computers {
        flex-direction: column !important;
        align-items: center !important;
    }

    .research-computer {
        width: 100% !important;
    }
}
/* =========================================
   CODE FOR ME TEACHER NETWORK
========================================== */

.teacher-network {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    max-width: 600px !important;
    height: 600px !important;

    margin: 0 auto !important;

    overflow: hidden !important;

    border-radius: 32px !important;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(63, 210, 198, 0.16) 0%,
            rgba(63, 210, 198, 0.05) 25%,
            transparent 60%
        ),
        #07191d !important;

    border: 1px solid rgba(98, 216, 207, 0.25) !important;

    box-shadow:
        inset 0 0 100px rgba(98, 216, 207, 0.05),
        0 30px 80px rgba(0, 0, 0, 0.25) !important;
}


/* =========================================
   BACKGROUND GRID
========================================== */

.teacher-network::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    background-image:
        linear-gradient(
            rgba(98, 216, 207, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(98, 216, 207, 0.04) 1px,
            transparent 1px
        ) !important;

    background-size: 40px 40px !important;

    opacity: 0.5 !important;

    pointer-events: none !important;
}


/* =========================================
   TITLE
========================================== */

.network-title {
    position: absolute !important;

    top: 25px !important;
    left: 30px !important;

    z-index: 20 !important;

    color: #ffffff !important;

    font-family: monospace !important;
    font-size: 12px !important;
    font-weight: 800 !important;

    letter-spacing: 2px !important;
}

.network-title span {
    display: block !important;

    margin-top: 5px !important;

    color: rgba(255,255,255,0.35) !important;

    font-size: 8px !important;
    letter-spacing: 2px !important;
}


/* =========================================
   CENTER
========================================== */

.network-center {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 110px !important;
    height: 110px !important;

    transform: translate(-50%, -50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 10 !important;
}

.center-core {
    position: relative !important;

    width: 75px !important;
    height: 75px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #0d292d !important;

    border: 2px solid #62d8cf !important;

    color: #62d8cf !important;

    font-family: monospace !important;
    font-size: 18px !important;
    font-weight: 900 !important;

    box-shadow:
        0 0 25px rgba(98,216,207,0.5),
        0 0 70px rgba(98,216,207,0.2) !important;
}

.center-ring {
    position: absolute !important;

    width: 100px !important;
    height: 100px !important;

    border: 1px solid rgba(98,216,207,0.35) !important;

    border-radius: 50% !important;

    animation: teacherRing 3s linear infinite !important;
}

@keyframes teacherRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   TEACHER NODES
========================================== */

.teacher-node {
    position: absolute !important;

    width: 52px !important;
    height: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #102e32 !important;

    border: 2px solid rgba(98,216,207,0.65) !important;

    color: #62d8cf !important;

    font-family: monospace !important;

    font-size: 11px !important;
    font-weight: 800 !important;

    z-index: 15 !important;

    cursor: pointer !important;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease !important;
}

.teacher-node::after {
    content: "" !important;

    position: absolute !important;

    width: 8px !important;
    height: 8px !important;

    right: -2px !important;
    bottom: -2px !important;

    border-radius: 50% !important;

    background: #62d8cf !important;

    box-shadow: 0 0 12px #62d8cf !important;
}

.teacher-node:hover {
    transform: scale(1.35) !important;

    background: #62d8cf !important;

    color: #07191d !important;

    box-shadow:
        0 0 25px rgba(98,216,207,0.7),
        0 0 60px rgba(98,216,207,0.25) !important;
}


/* =========================================
   POSITIONS
========================================== */

.teacher-1 {
    top: 110px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.teacher-2 {
    top: 145px !important;
    right: 130px !important;
}

.teacher-3 {
    top: 245px !important;
    right: 55px !important;
}

.teacher-4 {
    top: 365px !important;
    right: 80px !important;
}

.teacher-5 {
    bottom: 105px !important;
    right: 155px !important;
}

.teacher-6 {
    bottom: 65px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.teacher-7 {
    bottom: 105px !important;
    left: 155px !important;
}

.teacher-8 {
    top: 365px !important;
    left: 80px !important;
}

.teacher-9 {
    top: 245px !important;
    left: 55px !important;
}

.teacher-10 {
    top: 145px !important;
    left: 130px !important;
}


/* =========================================
   CONNECTION LINES USING CSS
========================================== */

.teacher-node {
    --line-angle: 0deg;
}

.teacher-node::before {
    content: "" !important;

    position: absolute !important;

    width: 100px !important;
    height: 1px !important;

    background: rgba(98,216,207,0.2) !important;

    right: 50% !important;
    top: 50% !important;

    transform-origin: right center !important;

    pointer-events: none !important;

    z-index: -1 !important;
}


/* =========================================
   STATUS
========================================== */

.network-status {
    position: absolute !important;

    bottom: 25px !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;

    z-index: 20 !important;

    white-space: nowrap !important;
}

.network-status strong {
    color: #62d8cf !important;

    font-family: monospace !important;

    font-size: 25px !important;
}

.network-status span {
    color: rgba(255,255,255,0.35) !important;

    font-family: monospace !important;

    font-size: 8px !important;

    letter-spacing: 1.5px !important;
}


/* =========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .teacher-network {
        height: 500px !important;
    }

    .teacher-2 {
        right: 90px !important;
    }

    .teacher-3 {
        right: 25px !important;
    }

    .teacher-4 {
        right: 40px !important;
    }

    .teacher-5 {
        right: 100px !important;
    }

    .teacher-7 {
        left: 100px !important;
    }

    .teacher-8 {
        left: 40px !important;
    }

    .teacher-9 {
        left: 25px !important;
    }

    .teacher-10 {
        left: 90px !important;
    }
}
/* ========================================= CODE CREDIT ========================================= */ .code-credit { width: 100%; padding: 70px 6vw 45px !important; background: #07131f !important; color: #fff !important; border-top: 1px solid rgba(255,255,255,.1) !important; } .code-credit-inner { max-width: 1200px; margin: 0 auto; } .code-credit-label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 10px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.45); } .code-credit-label span { width: 7px; height: 7px; border-radius: 50%; background: #5ee6d0; box-shadow: 0 0 12px rgba(94,230,208,.55); } .code-credit-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 38px; } .code-credit-main h3 { margin: 0 0 10px; max-width: 650px; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -.035em; color: #fff; } .code-credit-main h3 em { font-family: Georgia, serif; font-weight: 400; } .code-credit-main p { margin: 0; max-width: 560px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); } .code-credit-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease, border-color .25s ease, transform .25s ease; } .code-credit-link strong { font-size: 17px; font-weight: 400; } .code-credit-link:hover { background: #fff; color: #07131f; border-color: #fff; transform: translateY(-2px); } .code-credit-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 9px; font-weight: 800; letter-spacing: .14em; color: rgba(255,255,255,.3); } @media (max-width: 700px) { .code-credit { padding: 55px 6vw 35px !important; } .code-credit-main { flex-direction: column; align-items: flex-start; } .code-credit-link { margin-top: 5px; } .code-credit-footer { flex-wrap: wrap; } }
