@import url('https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --paper: #f2e6cf;
    --ink: #171717;
    --red: #d83b32;
    --blue: #2f5da8;
    --yellow: #f0c84b;
    --green: #5f8f62;
    --purple: #75549a;

    --font-display: "Anton", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-tech: "IBM Plex Mono", monospace;
}

body {
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--font-body);

    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(40, 70, 90, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 70, 90, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(242, 230, 207, 0.88), rgba(242, 230, 207, 0.88)),
        url("assets/textures/paper-texture.png");
    background-size:
        32px 32px,
        32px 32px,
        cover,
        cover;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.025) 0,
            rgba(0, 0, 0, 0.025) 1px,
            transparent 1px,
            transparent 3px
        );
}

/* HEADER */

.site-header {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 28px 0 20px;

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

    border-bottom: 3px solid var(--ink);
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
    gap: 26px;
}

.main-nav a {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: -7px;
    height: 4px;
    background: var(--red);
    transform: scaleX(0) rotate(-2deg);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover {
    transform: translateY(-1px);
}

.main-nav a:hover::after {
    transform: scaleX(1) rotate(-2deg);
}

/* HERO */

.hero {
    width: min(1180px, 92%);
    margin: 30px auto 0;
    min-height: 520px;

    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1fr 1.2fr;
    gap: 45px;
    align-items: center;
}

.hero-title h1 {
    display: flex;
    flex-direction: column;

    font-family: var(--font-display);
    font-size: clamp(68px, 8vw, 112px);
    font-weight: 400;
    line-height: 0.83;
    letter-spacing: 0;
    text-transform: uppercase;
}

.make {
    color: var(--ink);
    transform: rotate(-1deg);
}

.build-wrap {
    position: relative;
    display: inline-block;
    width: fit-content;
}

.brush-red {
    position: absolute;
    left: -18px;
    top: 50%;
    width: 115%;
    height: 70%;
    object-fit: fill;
    opacity: 0.95;
    z-index: -1;
    transform: translateY(-45%) rotate(-2deg);
}

.build {
    position: relative;
    z-index: 1;
    color: var(--paper);
    transform: rotate(1deg);
}

.create {
    color: var(--blue);
    transform: rotate(-1deg);
}

.hero-intro {
    position: relative;
    padding: 30px 0;
}

.hero-intro::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 16px;
    width: 5px;
    height: 160px;
    background: var(--yellow);
    transform: rotate(2deg);
}

.hero-intro p {
    max-width: 420px;
    margin-bottom: 35px;

    font-family: var(--font-body);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.35;
}

.hero-button {
    display: inline-block;
    padding: 16px 27px;

    background: var(--red);
    color: white;
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);

    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;

    transform: rotate(-1deg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-button:hover {
    transform: translate(3px, 3px) rotate(-1deg);
    box-shadow: 2px 2px 0 var(--ink);
}

.hero-art {
    position: relative;
    min-height: 470px;

    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.comic-burst {
    position: absolute;
    width: 330px;
    height: 330px;
    background: var(--red);
    z-index: -3;
    transform: rotate(-5deg);

    clip-path: polygon(
        50% 0%, 57% 25%, 72% 5%, 72% 31%, 95% 17%, 79% 40%,
        100% 44%, 78% 53%, 97% 70%, 70% 67%, 76% 95%, 57% 73%,
        48% 100%, 42% 74%, 22% 96%, 29% 67%, 2% 78%, 22% 55%,
        0% 47%, 24% 39%, 6% 19%, 33% 30%
    );
}

.halftone-art {
    position: absolute;
    right: -10px;
    bottom: 20px;
    width: 280px;
    opacity: 0.45;
    z-index: -1;
    transform: rotate(8deg);
}

.hero-robot {
    position: relative;
    width: min(390px, 95%);
    max-height: 390px;
    object-fit: contain;
    z-index: 2;
    transform: rotate(-2deg);
    filter: drop-shadow(8px 9px 0 rgba(0, 0, 0, 0.18));
}

.comic-note {
    position: absolute;
    right: -15px;
    top: 20px;

    padding: 15px 19px;
    background: var(--yellow);
    border: 4px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);

    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;

    transform: rotate(6deg);
}

.hero-sketch-note,
.annotation {
    position: absolute;
    font-family: var(--font-tech);
    font-weight: 700;
    opacity: 0.65;
}

.hero-sketch-note {
    font-size: 11px;
    letter-spacing: 0.5px;
}

.annotation {
    font-size: 12px;
    opacity: 0.7;
}

.note-a {
    top: 18px;
    left: 5px;
    transform: rotate(-7deg);
}

.note-b {
    right: 20px;
    bottom: 6px;
    transform: rotate(3deg);
}

.annotation-1 {
    left: 10px;
    top: 35px;
    transform: rotate(-6deg);
}

.annotation-2 {
    right: 30px;
    bottom: 15px;
    transform: rotate(3deg);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--ink);
}

/* LAB AREAS */

.lab-areas {
    width: min(1180px, 92%);
    margin: 80px auto 90px;
}

.section-intro {
    position: relative;
    max-width: 680px;
    margin-bottom: 42px;
}

.section-number {
    display: inline-block;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--ink);

    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 700;
}

.section-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
}

.section-intro p {
    max-width: 550px;
    margin-top: 18px;

    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.area-card {
    position: relative;
    min-height: 390px;
    padding: 26px 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(248, 240, 222, 0.86);
    color: var(--ink);
    border: 4px solid var(--ink);
    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.area-card::before {
    content: "";
    position: absolute;
    inset: 4px -5px -4px 5px;
    border: 1.5px solid currentColor;
    opacity: 0.22;
    pointer-events: none;
}

.ideas-card {
    color: var(--blue);
    border-color: var(--blue);
    transform: rotate(-1deg);
}

.showcase-card {
    color: var(--green);
    border-color: var(--green);
    transform: rotate(0.6deg);
}

.vex-card {
    color: var(--red);
    border-color: var(--red);
    transform: rotate(-0.6deg);
}

.apps-card {
    color: var(--purple);
    border-color: var(--purple);
    transform: rotate(0.8deg);
}

.area-card .card-content {
    color: var(--ink);
}

.area-card:hover {
    transform: translateY(-9px) rotate(0deg);
    box-shadow: 8px 9px 0 var(--ink);
}

.card-number {
    position: absolute;
    right: 16px;
    top: 13px;

    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 700;
    opacity: 0.5;
}

.card-icon {
    height: 175px;
    margin: -18px -12px 12px;
}

.card-icon img {
    width: 110%;
    height: 110%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.ideas-card .card-icon img { transform: rotate(-3deg); }
.showcase-card .card-icon img { transform: rotate(2deg); }
.vex-card .card-icon img { transform: rotate(-2deg); }
.apps-card .card-icon img { transform: rotate(2deg); }

.ideas-card:hover .card-icon img {
    transform: scale(1.06) rotate(-1deg);
}

.showcase-card:hover .card-icon img,
.vex-card:hover .card-icon img,
.apps-card:hover .card-icon img {
    transform: scale(1.06) rotate(0deg);
}

.card-label {
    display: inline-block;
    margin-bottom: 9px;

    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 700;
}

.area-card h3 {
    margin-bottom: 18px;

    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
}

.area-card p {
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.45;
}

.card-link {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 3px solid currentColor;
    font-size: 11px;
    font-weight: 900;
}

.ideas-card .card-link { color: var(--blue); }
.showcase-card .card-link { color: var(--green); }
.vex-card .card-link { color: var(--red); }
.apps-card .card-link { color: var(--purple); }

.section-sketch-note {
    width: fit-content;
    margin: 20px 20px 0 auto;

    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    opacity: 0.55;

    transform: rotate(-2deg);
}

/* SELECTED WORK */

.selected-work {
    width: min(1180px, 92%);
    margin: 90px auto;
}

.section-tag {
    display: inline-block;
    margin-bottom: 32px;
    padding: 10px 20px;

    background: var(--ink);
    color: var(--paper);

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;

    transform: rotate(-1deg);
}

.selected-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 35px;
    align-items: start;
}

.featured-project {
    position: relative;
    background: rgba(248, 240, 222, 0.88);
    border: 4px solid var(--ink);
    overflow: hidden;
}

.game-project {
    transform: rotate(-0.5deg);
}

.game-project .project-info {
    padding-bottom: 26px;
}

.student-photo-wrap {
    position: relative;
    margin: 28px 28px 0;
    padding: 12px;

    background: #f7f0df;
    border: 2px solid rgba(0, 0, 0, 0.55);
    box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.12);

    overflow: visible;
    transform: rotate(-1.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.student-photo-frame {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--ink);
}

.student-photo {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
    border: none;

    transition: transform 0.45s ease, filter 0.35s ease;
}

.tape {
    position: absolute;
    width: 80px;
    height: 28px;
    background: rgba(228, 209, 159, 0.72);
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.tape-left {
    left: -22px;
    top: 10px;
    transform: rotate(-8deg);
}

.tape-right {
    right: -18px;
    top: 16px;
    transform: rotate(7deg);
}

.photo-note {
    position: absolute;
    right: 14px;
    bottom: -22px;

    padding: 6px 9px;
    background: var(--yellow);
    border: 2px solid var(--ink);

    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 700;

    transform: rotate(3deg);
}

.photo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 18px;

    background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.55));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.photo-overlay span {
    padding: 7px 10px;
    background: var(--yellow);
    color: var(--ink);
    border: 2px solid var(--ink);

    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 900;

    transform: rotate(-2deg);
}

.project-info {
    padding: 28px 30px 32px;
}

.project-type {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
}

.project-info h2 {
    margin-top: 10px;

    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0;
}

.project-info p {
    max-width: 550px;
    margin-top: 18px;

    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
}

.project-info a {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 2px;

    color: var(--ink);
    border-bottom: 3px solid var(--ink);
    text-decoration: none;

    font-size: 12px;
    font-weight: 900;
}

/* VEX FEATURE */

.vex-project {
    background: var(--red);
    color: white;
    border: 4px solid var(--ink);
    overflow: hidden;
    transform: rotate(0.6deg);
}

.vex-feature-art {
    position: relative;
    min-height: 330px;

    display: grid;
    place-items: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 221, 82, 0.95) 0,
            rgba(255, 221, 82, 0.95) 28%,
            transparent 29%
        );
}

.vex-burst {
    position: absolute;
    width: 330px;
    height: 330px;
    background: #f2c841;
    opacity: 0.92;
    transform: rotate(-7deg);

    clip-path: polygon(
        50% 0%, 58% 27%, 74% 6%, 72% 31%, 96% 18%, 79% 40%,
        100% 46%, 77% 54%, 96% 72%, 69% 66%, 75% 96%, 57% 73%,
        47% 100%, 41% 74%, 21% 95%, 28% 66%, 3% 78%, 23% 54%,
        0% 46%, 24% 39%, 7% 18%, 33% 30%
    );
}

.vex-feature-image {
    position: relative;
    width: 95%;
    max-width: 420px;
    object-fit: contain;
    z-index: 2;
    transform: rotate(-3deg);
    filter: drop-shadow(8px 9px 0 rgba(0, 0, 0, 0.22));
    transition: transform 0.25s ease;
}

.vex-small-label {
    position: absolute;
    top: 15px;
    left: 18px;
    z-index: 3;

    padding: 6px 9px;
    background: var(--ink);
    color: white;

    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;

    transform: rotate(-2deg);
}

.vex-stamp {
    position: absolute;
    right: 14px;
    bottom: 18px;
    z-index: 4;

    padding: 9px 12px;
    background: var(--paper);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);

    font-size: 12px;
    font-weight: 900;
    line-height: 1.05;

    transform: rotate(6deg);
}

.vex-project .project-info {
    position: relative;
    z-index: 5;
}

.vex-project .project-type {
    color: rgba(255, 255, 255, 0.75);
}

.vex-project .project-info a {
    color: white;
    border-color: white;
}

.vex-project:hover .vex-feature-image {
    transform: scale(1.04) rotate(-1deg);
}

/* CURRENTLY IN THE LAB */

.currently-lab {
    width: min(1180px, 92%);
    margin: 90px auto 70px;
}

.current-tag {
    background: var(--ink);
    color: var(--paper);
}

.current-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: start;
}

.current-card {
    position: relative;
    min-height: 280px;
    padding: 38px 25px 24px;

    background: #f8f0df;
    border: 2px solid rgba(0, 0, 0, 0.65);
    box-shadow: 5px 7px 0 rgba(0, 0, 0, 0.10);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.current-students {
    border-color: var(--green);
    border-bottom: 5px solid var(--green);
    transform: rotate(-0.7deg);
}

.current-vex {
    border-color: var(--red);
    border-bottom: 5px solid var(--red);
    transform: rotate(0.5deg);
}

.current-apps {
    border-color: var(--purple);
    border-bottom: 5px solid var(--purple);
    transform: rotate(-0.4deg);
}

.current-engineering {
    background: var(--yellow);
    border-bottom: 5px solid var(--ink);
    transform: rotate(0.8deg);
}

.current-tape {
    position: absolute;
    top: -11px;
    left: 48%;
    width: 72px;
    height: 24px;

    background: rgba(221, 200, 149, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.08);

    transform: translateX(-50%) rotate(-3deg);
}

.current-vex .current-tape {
    left: 52%;
    transform: translateX(-50%) rotate(4deg);
}

.current-apps .current-tape {
    left: 47%;
    transform: translateX(-50%) rotate(-6deg);
}

.current-engineering .current-tape {
    left: 51%;
}

.current-number {
    position: absolute;
    right: 15px;
    top: 13px;

    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    opacity: 0.45;
}

.current-doodle {
    margin-bottom: 20px;
    font-size: 38px;
    font-weight: 900;
}

.current-students .current-doodle { color: var(--green); }
.current-vex .current-doodle { color: var(--red); }
.current-apps .current-doodle { color: var(--purple); }
.current-engineering .current-doodle { color: var(--ink); }

.current-mini-label {
    display: inline-block;
    margin-bottom: 9px;

    font-family: var(--font-tech);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.current-card h3 {
    margin-bottom: 17px;

    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
}

.current-card p {
    max-width: 220px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
}

.current-arrow {
    position: absolute;
    right: 20px;
    bottom: 17px;

    font-size: 24px;
    font-weight: 900;
    opacity: 0.55;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 70px;

    padding: 55px 5%;

    background: #171717;
    color: var(--paper);

    border-top: 8px solid var(--red);
}


.footer-logo {
    margin-bottom: 15px;

    font-family: var(--font-display);
    font-size: 34px;
}


.footer-logo span {
    color: var(--red);
}


.footer-brand p {
    margin: 0;

    color: #cfc4b3;

    font-size: 14px;
    line-height: 1.6;
}


/* LINKS */

.footer-links {
    display: flex;
    gap: 55px;
}


.footer-links div {
    display: flex;
    flex-direction: column;
}


.footer-links span {
    margin-bottom: 13px;

    color: var(--yellow);

    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 800;
}


.footer-links a {
    margin: 4px 0;

    color: var(--paper);

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
}


.footer-links a:hover {
    color: var(--yellow);
}


/* ART */

.footer-art {
    display: flex;

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

    gap: 22px;
}


.footer-art span {
    font-family: var(--font-tech);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.55;

    transform: rotate(-4deg);
}


.footer-robot {
    width: 190px;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            5px 6px 3px rgba(0, 0,0,.25)
        );

    transform: rotate(-2deg);

    transition: transform .25s ease;
}


.footer-robot:hover {
    transform:
        rotate(1deg)
        scale(1.03);
}


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

@media (max-width: 850px) {

    .site-footer {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-art {
        justify-content: flex-start;
    }

}


@media (max-width: 600px) {

    .site-footer {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 25px;
    }

    .footer-links {
        gap: 45px;
    }

    .footer-art {
        justify-content: flex-start;
    }

}

/* RESPONSIVE */
@media (max-width: 900px) {

    /* HEADER */

    .site-header {
        align-items: flex-start;
        gap: 24px;
    }

    .logo {
        flex-shrink: 0;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 14px 20px;
    }


    /* HERO */

    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 25px 35px;

        padding-top: 30px;
        padding-bottom: 50px;
    }

    .hero-title {
        grid-column: 1;
    }

    .hero-title h1 {
        font-size: clamp(72px, 12vw, 100px);
    }

    .hero-intro {
        grid-column: 2;
    }

    .hero-intro::before {
        display: block;
    }

    .hero-art {
        grid-column: 1 / -1;

        min-height: 390px;

        margin-top: 10px;
    }

    .hero-robot {
        width: min(360px, 75%);
    }

    .comic-burst {
        width: 300px;
        height: 300px;
    }


    /* MAIN CARDS */

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


    /* SELECTED WORK */

    .selected-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }


    /* FOOTER */

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        gap: 60px;
    }
}
@media (max-width: 560px) {

    /* HEADER */

    .site-header {
        padding-top: 22px;

        flex-direction: column;
        gap: 18px;
    }

    .logo {
        font-size: 24px;
    }

    .main-nav {
        width: 100%;

        justify-content: flex-start;

        gap: 12px 18px;
    }

    .main-nav a {
        font-size: 11px;
    }


    /* HERO */

    .hero {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        margin-top: 15px;
        padding-top: 15px;
        padding-bottom: 45px;

        gap: 25px;
    }

    .hero-title h1 {
        font-size: clamp(72px, 22vw, 98px);
        line-height: 0.82;
    }

    .hero-intro {
        padding: 10px 0;
    }

    .hero-intro::before {
        display: none;
    }

    .hero-intro p {
        max-width: 100%;

        margin-bottom: 25px;

        font-size: 18px;
        line-height: 1.45;
    }

    .hero-button {
        padding: 14px 20px;
        font-size: 12px;
    }


    /* ROBOT */

    .hero-art {
        width: 100%;
        min-height: 340px;

        margin-top: 5px;
    }

    .hero-robot {
        width: min(330px, 90%);
        max-height: 330px;
    }

    .comic-burst {
        width: 260px;
        height: 260px;
    }

    .halftone-art {
        width: 210px;

        right: 0;
        bottom: 10px;
    }

    .comic-note {
        right: 5px;
        top: 5px;

        padding: 10px 12px;

        font-size: 13px;

        border-width: 3px;
    }

    .annotation {
        font-size: 9px;
    }


    /* SECTIONS */

    .lab-areas,
    .selected-work,
    .currently-lab {
        width: 90%;
    }

    .lab-areas {
        margin-top: 55px;
        margin-bottom: 70px;
    }

    .selected-work {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .currently-lab {
        margin-top: 70px;
        margin-bottom: 55px;
    }

    .section-intro {
        margin-bottom: 32px;
    }

    .section-intro h2 {
        font-size: clamp(44px, 15vw, 62px);
    }

    .section-intro p {
        font-size: 15px;
    }


    /* MAIN CARDS */

    .area-grid,
    .current-grid {
        grid-template-columns: 1fr;
    }

    .area-grid {
        gap: 28px;
    }

    .area-card {
        min-height: 350px;
    }

    .card-icon {
        height: 160px;
    }


    /* SELECTED WORK */

    .selected-grid {
        width: 100%;
        gap: 35px;
    }

    .student-photo-wrap {
        margin: 20px 18px 0;
        padding: 8px;
    }

    .student-photo {
        height: 230px;
    }

    .project-info {
        padding: 24px 20px;
    }

    .project-info h2 {
        font-size: 40px;
    }

    .vex-feature-art {
        min-height: 280px;
    }

    .vex-feature-image {
        max-width: 330px;
    }

    .vex-burst {
        width: 260px;
        height: 260px;
    }


    /* CURRENTLY IN THE LAB */

    .current-grid {
        gap: 28px;
    }

    .current-card {
        min-height: 245px;
    }


    /* FOOTER */

    .footer-top {
        padding: 45px 0 40px;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* HOVER ENHANCEMENTS */

@media (hover: hover) and (pointer: fine) {
    .student-photo-wrap:hover {
        transform: translateY(-7px) rotate(-0.3deg);
        box-shadow: 9px 13px 0 rgba(0, 0, 0, 0.15);
    }

    .student-photo-wrap:hover .student-photo {
        transform: scale(1.025);
        filter: contrast(1.04) saturate(1.06);
    }

    .student-photo-wrap:hover .photo-overlay {
        opacity: 1;
    }

    .current-card:hover {
        transform: translateY(-7px) rotate(0deg);
        box-shadow: 8px 11px 0 rgba(0, 0, 0, 0.14);
    }


}


/* ========================================
   INTERACTION POLISH
   ======================================== */

.area-card,
.current-card,
.featured-project,
.hero-button,
.project-info a,
.card-link,
.footer-column a {
    -webkit-tap-highlight-color: transparent;
}


/* Keyboard accessibility */

.area-card:focus-visible,
.hero-button:focus-visible,
.project-info a:focus-visible,
.footer-column a:focus-visible,
.main-nav a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {

    .area-card {
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;
    }

    .area-card:hover {
        transform:
            translateY(-8px)
            rotate(0deg);

        box-shadow:
            8px 10px 0 rgba(23, 23, 23, 0.14);
    }

    .area-card .card-icon img {
        transition:
            transform 0.3s ease,
            filter 0.3s ease;
    }

    .area-card:hover .card-icon img {
        filter:
            saturate(1.08)
            drop-shadow(4px 5px 0 rgba(0,0,0,0.10));
    }
}


.card-link {
    position: relative;

    transition:
        transform 0.2s ease,
        letter-spacing 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {

    .area-card:hover .card-link {
        transform: translateX(4px);
        letter-spacing: 0.3px;
    }
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button-arrow {
    display: inline-block;

    transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {

    .hero-button:hover .button-arrow {
        transform: translateX(5px);
    }
}

.project-info a {
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {

    .project-info a:hover {
        transform: translateX(4px);
    }
}

.current-doodle {
    transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

    .current-card:hover .current-doodle {
        transform:
            scale(1.08)
            rotate(-5deg);
    }
}

/* =========================================
   CLICKABLE CURRENT LAB CARDS
========================================= */

.current-card {
    position: relative;
    cursor: pointer;
}

.current-card-link {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: block;
    background: transparent;
    text-decoration: none;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: -4px;
    right: -4px;
    bottom: -9px;

    height: 4px;

    background: var(--red);

    transform: rotate(-1deg);
}