@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');

:root {
    --paper: #f2e6cf;
    --paper-light: #f7efdf;
    --ink: #171717;

    --red: #dc3b30;
    --blue: #285fb8;
    --green: #559166;
    --purple: #7753a4;
    --yellow: #f3c84b;

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

    --max-width: 1280px;
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--ink);
    font-family: var(--font-body);

    background-color: var(--paper);

    background-image:
        linear-gradient(rgba(40, 70, 90, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 70, 90, .045) 1px, transparent 1px);

    background-size: 32px 32px;
}

a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}


/* ==============================
   HEADER
============================== */

.site-header {
    width: min(92%, var(--max-width));
    margin: 0 auto;

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

    padding: 28px 0 22px;

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

.logo {
    text-decoration: none;

    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: .3px;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;

    text-decoration: none;

    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;

    transition:
        transform .2s ease,
        color .2s ease;
}

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

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

    position: absolute;

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

    height: 4px;

    background: var(--red);

    transform: rotate(-1deg);
}


/* ==============================
   MAIN
============================== */

main {
    width: 100%;
}


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

.showcase-hero {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;

    gap: 60px;

    min-height: 620px;

    padding: 60px 0 70px;
}

.hero-copy {
    position: relative;
}

.section-number {
    display: inline-block;

    margin-bottom: 18px;

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

    border-bottom: 2px solid var(--ink);

    transform: rotate(-1deg);
}

.hero-copy h1 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(90px, 10vw, 150px);
    line-height: .82;
    letter-spacing: -2px;
}

.hero-copy h1 span {
    display: block;
}

.hero-copy h1 .blue {
    color: var(--blue);
}

.hero-copy h2 {
    display: inline-block;

    position: relative;

    margin: 28px 0 16px;

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

.hero-copy h2::after {
    content: "";

    position: absolute;

    left: -2px;
    right: -8px;
    bottom: -7px;

    height: 4px;

    background: var(--yellow);

    transform: rotate(-1deg);
}

.hero-copy p {
    max-width: 520px;

    margin: 0;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}


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

.hero-art {
    position: relative;

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

    min-height: 500px;
}

.showcase-hero-image {
    width: min(100%, 720px);
    height: auto;

    object-fit: contain;

    filter: drop-shadow(7px 10px 5px rgba(0, 0, 0, .10));

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

.showcase-hero-image:hover {
    transform: rotate(.5deg) scale(1.015);

    filter:
        drop-shadow(9px 13px 6px rgba(0, 0, 0, .13));
}

.hero-note {
    position: absolute;

    right: -5px;
    top: 45px;

    padding: 12px 15px;

    background: var(--yellow);

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

    box-shadow: 5px 5px 0 var(--ink);

    font-family: var(--font-tech);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;

    transform: rotate(-5deg);
}


/* ==============================
   CURRENT PROJECTS
============================== */

.current-projects {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    padding: 20px 0 90px;
}

.section-label {
    display: inline-block;

    padding: 12px 18px;

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

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

    transform: rotate(-1deg);

    box-shadow: 4px 4px 0 rgba(0, 0, 0, .12);
}

.hand-note {
    display: inline-block;

    margin: 0 0 25px 24px;

    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 600;

    transform: rotate(-2deg);
}


/* ==============================
   YEAR GRID
============================== */

.year-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 36px;
}


/* ==============================
   YEAR CARDS
============================== */

.year-card {
    position: relative;

    min-height: 350px;

    padding: 34px 32px;

    background: rgba(248, 241, 225, .95);

    border: 3px solid currentColor;

    box-shadow: 8px 10px 0 rgba(0, 0, 0, .08);

    text-decoration: none;

    overflow: hidden;

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


/* YEAR COLOURS */

.year10 {
    color: var(--green);

    transform: rotate(.25deg);
}

.year11 {
    color: var(--blue);

    transform: rotate(-.2deg);
}

.year12 {
    color: var(--purple);

    transform: rotate(.2deg);
}

.year13 {
    color: var(--red);

    transform: rotate(-.25deg);
}


/* YEAR LABEL */

.year-card .year {
    position: absolute;

    top: 22px;
    left: 26px;

    z-index: 5;

    padding: 6px 12px;

    background: currentColor;
    color: white;

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

    transform: rotate(-2deg);

    box-shadow: 3px 3px 0 rgba(0, 0, 0, .10);
}


/* CARD LAYOUT */

.year-card-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .85fr 1.15fr;

    align-items: center;

    gap: 22px;

    min-height: 280px;

    padding-top: 34px;
}


/* COPY */

.year-card-copy {
    position: relative;
    z-index: 3;
}

.year-card h2 {
    margin: 0 0 18px;

    color: var(--ink);

    font-family: var(--font-display);

    font-size: clamp(46px, 4vw, 58px);

    line-height: .9;
}

.year-card p {
    max-width: 300px;

    margin: 0 0 26px;

    color: var(--ink);

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

.year-link {
    display: inline-block;

    padding-bottom: 4px;

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

    border-bottom: 3px solid currentColor;

    transition: transform .2s ease;
}


/* YEAR ART */

.year-art {
    width: 100%;
    max-width: 440px;
    max-height: 265px;

    justify-self: end;

    object-fit: contain;

    filter: drop-shadow(5px 7px 4px rgba(0, 0, 0, .10));

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

.year10 .year-art {
    transform: rotate(-1deg);
}

.year11 .year-art {
    transform: rotate(1deg);
}

.year12 .year-art {
    transform: rotate(-.8deg);
}

.year13 .year-art {
    transform: rotate(.8deg);
}


/* YEAR CARD HOVER */

.year-card:hover {
    transform: translateY(-7px) rotate(0deg);

    box-shadow:
        12px 14px 0 rgba(0, 0, 0, .11);
}

.year-card:hover .year-art {
    transform: rotate(0deg) scale(1.04);

    filter:
        drop-shadow(7px 9px 5px rgba(0, 0, 0, .14));
}

.year-card:hover .year-link {
    transform: translateX(5px);
}


/* ==============================
   PORTFOLIO BOTTOM
============================== */

.portfolio-bottom {
    width: min(92%, var(--max-width));
    margin: 0 auto 90px;

    display: grid;

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

    gap: 60px;
}

.archive,
.selected {
    min-width: 0;
    position: relative;
}

.archive .hand-note,
.selected .hand-note {
    margin-top: 12px;
    margin-left: 18px;
}


/* ==============================
   ARCHIVE + SELECTED WORK
============================== */

.portfolio-bottom {
    width: min(92%, var(--max-width));
    margin: 0 auto 95px;

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

    gap: 60px;
}


/* ==============================
   ARCHIVE
============================== */

.archive {
    position: relative;
}

.archive .hand-note {
    margin: 14px 0 26px 22px;
}

.archive-year {
    position: relative;

    margin-top: 24px;

    padding: 48px 28px 30px;

    background: rgba(247, 239, 223, .75);

    border: 2px solid rgba(23, 23, 23, .65);

    box-shadow: 7px 8px 0 rgba(0, 0, 0, .07);
}

.archive-year-label {
    position: absolute;

    top: -20px;
    left: -12px;

    padding: 9px 18px;

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

    border: 2px solid var(--ink);

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

    transform: rotate(-2deg);

    box-shadow: 4px 4px 0 rgba(0, 0, 0, .10);
}

.archive-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.archive-group {
    position: relative;

    padding: 30px 26px 28px;

    background: var(--paper-light);

    border: 2px solid rgba(23, 23, 23, .55);

    box-shadow: 5px 6px 0 rgba(0, 0, 0, .08);
}

.archive-group:nth-child(1) {
    transform: rotate(-.5deg);
}

.archive-group:nth-child(2) {
    transform: rotate(.5deg);
}

.archive-group::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 50%;

    width: 18px;
    height: 18px;

    background: var(--blue);

    border: 2px solid var(--ink);
    border-radius: 50%;

    transform: translateX(-50%);
}

.archive-group h3 {
    margin: 0 0 20px;

    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
}

.archive-group a {
    display: block;

    width: fit-content;

    margin: 12px 0;

    text-decoration: none;

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

    transition: transform .2s ease;
}

.archive-group a:hover {
    transform: translateX(5px);
}


/* YEAR LINK COLOURS */

.archive-group a:nth-of-type(1) {
    color: var(--green);
}

.archive-group a:nth-of-type(2) {
    color: var(--blue);
}

.archive-group a:nth-of-type(3) {
    color: var(--purple);
}

.archive-group a:nth-of-type(4) {
    color: var(--red);
}


/* PREVIOUS YEARS */

.archive-future {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 22px;

    font-family: var(--font-tech);
    font-size: 13px;
}

.archive-future span:first-child {
    padding: 8px 14px;

    background: #d8d0c0;

    border: 2px solid var(--ink);

    font-weight: 800;

    transform: rotate(-2deg);
}

.archive-future span:last-child {
    position: relative;
}

.archive-future span:last-child::after {
    content: "→";

    margin-left: 10px;

    font-weight: 800;
}
/* ==============================
   SELECTED WORK
============================== */

.selected {
    position: relative;
}

.selected .hand-note {
    margin: 14px 0 26px 22px;
}

.selected-board {
    position: relative;

    margin-top: 24px;

    padding: 34px 30px 32px;

    background: rgba(247, 239, 223, .92);

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

    box-shadow: 8px 9px 0 rgba(0, 0, 0, .09);
}

.selected-board::before {
    content: "★";

    position: absolute;

    top: -18px;
    right: 18px;

    font-size: 38px;
    color: var(--yellow);

    text-shadow:
        -2px -2px 0 var(--ink),
         2px -2px 0 var(--ink),
        -2px  2px 0 var(--ink),
         2px  2px 0 var(--ink);

    transform: rotate(8deg);
}

.selected-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin-bottom: 32px;
}

.preview-box {
    position: relative;

    aspect-ratio: 1 / .78;

    background: #ddd4c1;

    border: 2px solid var(--ink);

    box-shadow: 4px 5px 0 rgba(0, 0, 0, .07);
}

.preview-box:nth-child(1) {
    transform: rotate(-2deg);
}

.preview-box:nth-child(2) {
    transform: rotate(1deg);
}

.preview-box:nth-child(3) {
    transform: rotate(-1deg);
}

.preview-box::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 50%;

    width: 55px;
    height: 18px;

    background: rgba(222, 200, 143, .72);

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

.selected-button {
    display: inline-flex;

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

    padding: 15px 24px;

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

    text-decoration: none;

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

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

    box-shadow: 5px 5px 0 var(--ink);

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

.selected-button:hover {
    transform: translate(-2px, -2px);

    box-shadow: 8px 8px 0 var(--ink);
}

/* ==============================
   BOTTOM MESSAGE
============================== */

.showcase-message {
    width: min(92%, var(--max-width));
    margin: 0 auto 70px;

    display: flex;

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

    gap: 30px;

    padding: 24px 34px;

    background:
        rgba(40, 95, 184, .16);

    border-top: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
}

.showcase-message p {
    margin: 0;

    font-family: var(--font-tech);
    font-size: 15px;
    font-weight: 600;

    line-height: 1.5;

    transform: rotate(-1deg);
}

.showcase-message strong {
    display: inline-block;

    padding: 14px 24px;

    background: var(--yellow);

    border: 2px solid var(--ink);

    font-family: var(--font-tech);
    font-size: 18px;

    transform: rotate(1.5deg);

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


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

.site-footer {
    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr;

    gap: 70px;

    padding:
        55px
        max(4%, calc((100vw - var(--max-width)) / 2));

    background: #171717;

    color: var(--paper-light);

    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;
}

.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-light);

    text-decoration: none;

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

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

.footer-art {
    display: flex;

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

    gap: 22px;
}


/* PLACEHOLDER FOR NOW */

.robot-placeholder {
    display: flex;

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

    width: 100px;
    height: 90px;

    border: 2px dashed var(--paper-light);

    font-size: 40px;
}

.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);
}

/* ==============================
   TABLET
============================== */

@media (max-width: 750px) {

    .site-header {
        align-items: flex-start;

        gap: 25px;
    }

    .main-nav {
        flex-wrap: wrap;

        justify-content: flex-end;

        gap: 14px 20px;
    }


    /* HERO */

    .showcase-hero {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-top: 45px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-art {
        min-height: 430px;
    }


    /* YEAR CARDS */

    .year-card-content {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .year-card-copy {
        order: 2;
    }

    .year-art {
        order: 1;

        justify-self: center;

        width: 90%;

        max-width: 520px;
        max-height: 260px;
    }

    .year-card p {
        max-width: 100%;
    }


    /* LOWER PORTFOLIO */

    .portfolio-bottom {
        grid-template-columns: 1.1fr .9fr;

        gap: 35px;
    }


    /* FOOTER */

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

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


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

@media (max-width: 620px) {

    /* HEADER */

    .site-header {
        width: 90%;

        flex-direction: column;

        padding-top: 22px;

        gap: 18px;
    }

    .logo {
        font-size: 25px;
    }

    .main-nav {
        width: 100%;

        justify-content: flex-start;

        gap: 12px 17px;
    }

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


    /* HERO */

    .showcase-hero {
        width: 90%;

        min-height: auto;

        padding: 45px 0 60px;
    }

    .section-number {
        font-size: 13px;
    }

    .hero-copy h1 {
        font-size:
            clamp(72px, 21vw, 105px);
    }

    .hero-copy h2 {
        margin-top: 25px;

        font-size: 20px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-art {
        min-height: auto;

        margin-top: 10px;

        padding: 10px 0 25px;
    }

    .showcase-hero-image {
        width: 100%;
    }

    .portfolio-bottom {
    grid-template-columns: 1fr;
    gap: 50px;
    }

    .hero-note {
        right: 0;
        top: 5px;

        padding: 9px 11px;

        font-size: 10px;

        border-width: 2px;

        box-shadow:
            3px 3px 0 var(--ink);
    }


    /* CURRENT PROJECTS */

    .current-projects {
        width: 90%;

        padding-bottom: 70px;
    }

    .section-label {
        font-size: 12px;
    }

    .hand-note {
        display: block;

        margin: 18px 0 28px;

        font-size: 12px;
    }


    /* YEAR GRID */

    .year-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    /* YEAR CARDS */

    .year-card {
        min-height: auto;

        padding: 30px 24px 28px;
    }

    .year-card .year {
        top: 18px;
        left: 20px;

        font-size: 11px;
    }

    .year-card-content {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 12px;

        padding-top: 35px;
    }

    .year-art {
        order: 1;

        width: 100%;

        max-width: 430px;
        max-height: 240px;

        justify-self: center;
    }

    .year-card-copy {
        order: 2;
    }

    .year-card h2 {
        font-size: 46px;
    }

    .year-card p {
        max-width: 100%;

        font-size: 15px;
    }


    /* LOWER PORTFOLIO */

    .portfolio-bottom {
        width: 90%;

        margin-bottom: 70px;
    }


    /* ARCHIVE */

    .archive-board {
        grid-template-columns: 1fr;
    }

    .archive-year {
        padding: 38px 18px 20px;
    }


    /* SELECTED */

    .selected-board {
        padding: 24px 18px;
    }

    .selected-preview {
        gap: 8px;
    }

    .selected-button {
        width: 100%;

        justify-content: center;

        font-size: 12px;
    }


    /* MESSAGE */

    .showcase-message {
        width: 90%;

        flex-direction: column;

        align-items: flex-start;

        margin-bottom: 55px;

        padding: 22px;
    }

    .showcase-message p {
        font-size: 13px;
    }

    .showcase-message strong {
        font-size: 15px;
    }


    /* FOOTER */

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

        gap: 42px;

        padding: 45px 7%;
    }

    .footer-links {
        flex-direction: column;

        gap: 32px;
    }

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


    .footer-robot {
        width: 160px;
    }

}

.archive-years {
    margin-top: 28px;

    display: flex;
    flex-direction: column;

    gap: 18px;
}


.archive-year-card {

    display: grid;

    grid-template-columns:
        110px 1fr;

    align-items: stretch;

    border: 2px solid var(--ink);

    background:
        rgba(255, 250, 235, 0.65);

    box-shadow:
        7px 7px 0 rgba(0, 0, 0, 0.12);

    transform: rotate(-0.25deg);
}


.archive-year-number {

    display: flex;

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

    padding: 25px 15px;

    background: var(--yellow);

    border-right:
        2px solid var(--ink);

    font-family:
        var(--font-display);

    font-size: 34px;

    letter-spacing: 1px;
}


.archive-year-content {

    padding: 22px 28px;
}


.archive-small-label {

    display: block;

    margin-bottom: 14px;

    font-family:
        var(--font-tech);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


.archive-level-links {

    display: flex;

    flex-wrap: wrap;

    gap: 14px 22px;
}


.archive-level-links a {

    font-family:
        var(--font-tech);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    border-bottom:
        2px solid currentColor;

    padding-bottom: 3px;

    transition:
        transform 0.15s ease;
}


.archive-level-links a:hover {

    transform:
        translateY(-2px);
}


.archive-y10 {
    color: var(--green);
}


.archive-y11 {
    color: var(--blue);
}


.archive-y12 {
    color: var(--purple);
}


.archive-y13 {
    color: var(--red);
}


.archive-empty {

    padding: 30px;

    border:
        2px dashed var(--ink);

    font-family:
        var(--font-tech);

    font-size: 13px;

    text-align: center;
}

/* =========================================
   ARCHIVE + SELECTED WORK — STACKED LAYOUT
========================================= */

.portfolio-bottom {
    width: min(92%, var(--max-width));
    margin: 0 auto 95px;

    display: flex;
    flex-direction: column;
    gap: 55px;
}


/* PROJECT ARCHIVE */

.archive-centered {
    width: 100%;
}

.archive-centered .section-label,
.archive-centered .hand-note {
    text-align: center;
}

.archive-centered .section-label {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.archive-centered .archive-years {
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
}


/* SELECTED WORK */

.selected-wide {
    width: 100%;
}

.selected-wide .section-label,
.selected-wide .hand-note {
    text-align: center;
}

.selected-wide .section-label {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


.selected-board {
    margin-top: 30px;
    padding: 34px 38px 24px;

    border: 2px solid var(--ink);
    background: rgba(255, 250, 235, 0.75);

    box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.12);
}


/* CAROUSEL */

.selected-carousel {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 55px;
    align-items: center;
    gap: 20px;
}


.selected-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* PROJECT CARDS */

.selected-card {
    min-width: 0;

    padding: 16px;

    border: 2px solid var(--ink);
    background: var(--paper);

    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.10);

    transform: rotate(-0.5deg);
}

.selected-card:nth-child(2) {
    transform: rotate(0.4deg);
}

.selected-card:nth-child(3) {
    transform: rotate(-0.2deg);
}


.selected-image {
    width: 100%;
    aspect-ratio: 16 / 10;

    margin-bottom: 16px;

    border: 2px solid var(--ink);

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.03)
        ),
        #ddd4bf;
}


.selected-meta {
    display: block;
    margin-bottom: 8px;

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


.selected-card h3 {
    margin: 0 0 7px;

    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
}


.selected-card p {
    margin: 0;

    font-family: var(--font-tech);
    font-size: 13px;
}


/* ARROWS */

.carousel-arrow {
    width: 48px;
    height: 48px;

    border: 2px solid var(--ink);

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

    font-family: var(--font-display);
    font-size: 26px;

    cursor: pointer;

    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);

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


.carousel-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
}


.carousel-arrow:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}


/* CAROUSEL STATUS */

.carousel-status {
    margin-top: 20px;

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

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


/* TABLET */

@media (max-width: 900px) {

    .selected-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }



}


/* MOBILE */

@media (max-width: 620px) {

    .portfolio-bottom {
        gap: 45px;
    }

    .selected-board {
        padding: 24px 16px 18px;
    }

    .selected-carousel {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 10px;
    }

    .selected-track {
        grid-template-columns: 1fr;
    }



    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

}

.selected-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid var(--ink);
    background: #ddd4bf;
}


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


.selected-card {
    color: var(--ink);
    text-decoration: none;
}


.selected-card:hover {
    transform: translateY(-4px) rotate(-0.3deg);
}


.selected-empty {
    grid-column: 1 / -1;

    padding: 45px 20px;

    border: 2px dashed var(--ink);

    text-align: center;

    font-family: var(--font-tech);
    font-size: 13px;
}


.carousel-arrow:disabled {
    opacity: 0.25;
    cursor: default;
    transform: none;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
}

.carousel-arrow:disabled:hover {
    transform: none;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
}