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


/* =========================================
   PROJECT IDEAS — DESIGN SYSTEM
========================================= */

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


/* =========================================
   PAGE BASE
========================================= */

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


/* Remove old page background effects */

body::before {
    display: none;
}
/* =========================================
   MORALES/LAB — PROJECT IDEAS
========================================= */

.ideas-hero,
.project-notebook,
.current-idea,
.development-log,
.ideas-message {
    width: min(92%, 1280px);
    margin-left: auto;
    margin-right: auto;
}


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

.ideas-hero {
    min-height: 500px;
    padding: 55px 0 60px;

    display: grid;
    grid-template-columns: 1fr .82fr;
    align-items: center;
    gap: 55px;

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

.ideas-section-number {
    display: inline-block;
    margin-bottom: 20px;

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

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

.ideas-hero h1 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(74px, 8vw, 118px);
    font-weight: 400;
    line-height: .84;
    letter-spacing: -1px;

    text-transform: uppercase;
}

.ideas-hero h1 span {
    display: block;
    color: var(--blue);
}

.ideas-hero h2 {
    display: inline-block;
    position: relative;

    margin: 30px 0 18px;

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

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

    position: absolute;
    left: -4px;
    right: -10px;
    bottom: -7px;

    height: 5px;

    background: var(--yellow);

    transform: rotate(-1deg);

    z-index: -1;
}

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

    margin: 0 0 28px;

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


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

.ideas-hero-art {
    position: relative;

    min-height: 390px;

    display: grid;
    place-items: center;
}

.idea-burst {
    position: absolute;

    width: 310px;
    height: 310px;

    background: var(--yellow);

    transform: rotate(8deg);

    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%
    );

    z-index: 0;
}

.idea-sketch-card {
    position: relative;
    z-index: 2;

    width: min(380px, 90%);

    padding: 55px 38px 40px;

    background: var(--paper-light, #f7efdf);

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

    box-shadow:
        9px 10px 0 rgba(0,0,0,.15);

    transform: rotate(-3deg);
}

.sketch-tape {
    position: absolute;

    width: 95px;
    height: 28px;

    top: -15px;
    left: 50%;

    background: rgba(220, 198, 145, .8);

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

.sketch-symbol {
    margin-bottom: 20px;

    color: var(--blue);

    font-size: 66px;
    line-height: 1;
}

.idea-sketch-card strong {
    display: block;

    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.05;
}

.sketch-note {
    display: block;

    margin-top: 28px;

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

    transform: rotate(-2deg);
}


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

.project-notebook,
.current-idea,
.development-log {
    padding: 55px 0;
}

.ideas-section-heading {
    margin-bottom: 35px;
}

.ideas-label {
    display: inline-block;

    padding: 11px 18px;

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

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

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

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

    transform: rotate(-1deg);
}

.ideas-hand-note {
    display: inline-block;

    margin-left: 22px;

    color: var(--ink);

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

    opacity: .75;

    transform: rotate(-2deg);
}


/* =========================================
   PROJECT NOTEBOOK
========================================= */

.project-tabs {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.project-tab {
    position: relative;

    min-height: 190px;

    padding: 28px 24px 38px;

    display: flex;
    flex-direction: column;

    background: rgba(248, 240, 222, .92);

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

    color: var(--ink);
    text-decoration: none;

    box-shadow:
        6px 7px 0 rgba(0,0,0,.10);

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

.project-tab::before {
    content: "";

    position: absolute;

    top: -11px;
    left: 50%;

    width: 65px;
    height: 20px;

    background: rgba(224, 203, 150, .72);

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

.project-tab:nth-child(odd) {
    transform: rotate(-.7deg);
}

.project-tab:nth-child(even) {
    transform: rotate(.7deg);
}

.project-tab.active {
    border-color: var(--blue);

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

.project-tab:hover {
    transform:
        translateY(-6px)
        rotate(0deg);

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

.project-tab-number {
    margin-bottom: 22px;

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

    opacity: .55;
}

.project-tab strong {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    line-height: .95;
}

.project-tab small {
    margin-top: 12px;

    font-family: var(--font-tech);
    font-size: 10px;
    line-height: 1.4;
}

.project-tab-arrow {
    position: absolute;

    right: 20px;
    bottom: 17px;

    color: var(--blue);

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


/* =========================================
   CURRENT PROJECT
========================================= */

.current-idea-board {
    position: relative;

    padding: 42px;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 55px;
    align-items: center;

    background: rgba(248, 240, 222, .94);

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

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

    transform: rotate(-.2deg);
}

.current-idea-board::before {
    content: "";

    position: absolute;

    top: -15px;
    left: 50%;

    width: 110px;
    height: 28px;

    background: rgba(221, 199, 145, .75);

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

.current-idea-visual {
    position: relative;
}

.idea-image-link {
    display: block;
}

.idea-main-image {
    width: 100%;
    max-height: 470px;

    object-fit: cover;

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

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

    transform: rotate(-1.2deg);
}

.idea-image-placeholder {
    min-height: 360px;

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

    gap: 18px;

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

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

.idea-image-placeholder span {
    font-size: 12px;
    font-weight: 700;
}

.idea-image-placeholder strong {
    display: block;

    color: var(--blue);

    font-size: 70px;
}

.photo-tape {
    position: absolute;

    width: 90px;
    height: 26px;

    background: rgba(220,198,145,.8);

    z-index: 4;
}

.photo-tape-left {
    top: -10px;
    left: -20px;

    transform: rotate(-8deg);
}

.photo-tape-right {
    top: -7px;
    right: -17px;

    transform: rotate(7deg);
}

.image-annotation {
    position: absolute;

    right: 10px;
    bottom: -28px;

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

    transform: rotate(2deg);
}

.current-idea-copy {
    position: relative;
}

.project-small-label {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 800;
}

.current-idea-copy h2 {
    margin: 12px 0 20px;

    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 70px);
    font-weight: 400;
    line-height: .9;

    text-transform: uppercase;
}


/* =========================================
   TAGS
========================================= */

.idea-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 25px;
}

.idea-tags span {
    padding: 6px 10px;

    background: var(--yellow);

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

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

    transform: rotate(-1deg);
}

.idea-tags span:nth-child(even) {
    transform: rotate(1deg);
}


/* =========================================
   DESCRIPTION
========================================= */

.idea-description {
    max-width: 560px;

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


/* =========================================
   BUTTONS
========================================= */

.lab-button {
    display: inline-block;

    padding: 13px 20px;

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

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

    text-decoration: none;

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

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

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

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

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

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

.editor-tools {
    margin-top: 35px;
}

.editor-label {
    display: block;

    margin-bottom: 12px;

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

    opacity: .55;
}


/* =========================================
   DEVELOPMENT LOG
========================================= */

.timeline {
    position: relative;

    max-width: 950px;

    margin: 15px auto 0;
}

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 31px;

    width: 3px;

    background: var(--ink);
}

.timeline-entry {
    position: relative;

    display: grid;
    grid-template-columns: 65px 1fr;

    gap: 28px;

    margin-bottom: 38px;
}

.timeline-marker {
    position: relative;
    z-index: 2;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    background: var(--yellow);

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

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

.timeline-card {
    padding: 28px 30px;

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

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

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

.timeline-entry:nth-child(even) .timeline-card {
    transform: rotate(.25deg);
}

.timeline-entry:nth-child(odd) .timeline-card {
    transform: rotate(-.25deg);
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 20px;
}

.log-stamp {
    display: inline-block;

    padding: 6px 10px;

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

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

.log-idea {
    background: var(--yellow);
}

.log-progress {
    background: var(--blue);
    color: white;
}

.log-fix {
    background: var(--red);
    color: white;
}

.log-note {
    background: var(--green);
    color: white;
}

.timeline-meta time {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
}

.timeline-message {
    font-size: 15px;
    line-height: 1.65;
}

.timeline-image {
    display: block;

    margin-top: 22px;

    width: fit-content;
}

.timeline-image img {
    max-width: 500px;
    width: 100%;

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

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

    transform: rotate(-.5deg);
}


/* =========================================
   EMPTY STATE
========================================= */

.ideas-empty {
    padding: 45px;

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

    font-family: var(--font-tech);
    text-align: center;
}

.ideas-empty strong {
    font-size: 14px;
}

.ideas-empty p {
    margin: 10px 0 0;

    font-size: 12px;
}


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

.ideas-message {
    margin-top: 30px;
    margin-bottom: 80px;

    padding: 25px 32px;

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

    gap: 30px;

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

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

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

.ideas-message strong {
    padding: 12px 18px;

    background: var(--yellow);

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

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

    transform: rotate(1deg);
}


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

@media (max-width: 900px) {

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

        gap: 35px;
    }

    .ideas-hero h1 {
        font-size:
            clamp(68px, 9vw, 100px);
    }

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

    .current-idea-board {
        gap: 35px;

        padding: 35px;
    }

    .current-idea-copy h2 {
        font-size:
            clamp(42px, 6vw, 60px);
    }
}


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

@media (max-width: 620px) {

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

        min-height: auto;

        padding: 50px 0;
    }

    .ideas-hero h1 {
        font-size:
            clamp(70px, 22vw, 105px);
    }

    .ideas-hero h2 {
        font-size: 20px;
    }

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

    .ideas-hero-art {
        min-height: 340px;
    }

    .idea-sketch-card {
        width: min(330px, 92%);

        padding: 48px 30px 35px;
    }

    .idea-sketch-card strong {
        font-size: 31px;
    }

    .project-notebook,
    .current-idea,
    .development-log {
        padding: 45px 0;
    }

    .project-tabs {
        grid-template-columns: 1fr;
    }

    .current-idea-board {
        grid-template-columns: 1fr;

        padding: 25px;

        gap: 55px;
    }

    .current-idea-copy h2 {
        font-size:
            clamp(42px, 16vw, 64px);
    }

    .timeline-entry {
        grid-template-columns: 48px 1fr;

        gap: 15px;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
    }

    .timeline::before {
        left: 23px;
    }

    .timeline-card {
        padding: 22px 20px;
    }

    .timeline-meta {
        align-items: flex-start;
        flex-direction: column;

        gap: 10px;
    }

    .ideas-hand-note {
        display: block;

        margin: 18px 0 0;
    }

    .ideas-message {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================
   PROJECT NOTEBOOK — FINAL POLISH
========================================= */

.project-tab {
    background: rgba(247, 239, 223, .94);
}

.project-tab::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 6px;

    background: var(--ink);

    opacity: .12;
}

.project-tab.active {
    border-color: var(--blue);

    box-shadow:
        8px 9px 0 rgba(40, 95, 184, .35);
}

.project-tab.active::after {
    background: var(--blue);
    opacity: 1;
}

.project-tab.active .project-tab-number,
.project-tab.active .project-tab-arrow {
    color: var(--blue);
    opacity: 1;
}

.project-tab:hover {
    border-color: var(--blue);
}

.project-tab:hover .project-tab-arrow {
    transform: translateX(4px);
}

.project-tab-arrow {
    transition: transform .2s ease;
}

/* =========================================================
   CURRENT PROJECT — POLISH
========================================================= */

.current-idea {
    padding-top: 55px;
}

.current-idea-board {
    position: relative;

    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 60px;

    padding: 48px;

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

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

    box-shadow:
        10px 11px 0 rgba(23, 23, 23, .12);

    transform: rotate(-.15deg);
}


/* central tape */

.current-idea-board::before {
    content: "";

    position: absolute;

    top: -17px;
    left: 50%;

    width: 120px;
    height: 30px;

    background: rgba(221, 199, 145, .78);

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

    z-index: 5;
}


/* image side */

.current-idea-visual {
    position: relative;
}

.idea-image-link {
    display: block;
}

.idea-main-image {
    display: block;

    width: 100%;
    height: auto;
    max-height: 480px;

    object-fit: cover;

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

    box-shadow:
        8px 9px 0 rgba(23, 23, 23, .15);

    transform: rotate(-1deg);

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

.idea-main-image:hover {
    transform:
        rotate(0deg)
        scale(1.012);

    box-shadow:
        10px 11px 0 rgba(23, 23, 23, .17);
}


/* tape on image */

.photo-tape {
    position: absolute;

    width: 100px;
    height: 27px;

    background: rgba(221, 199, 145, .76);

    z-index: 4;
}

.photo-tape-left {
    top: -10px;
    left: -20px;

    transform: rotate(-7deg);
}

.photo-tape-right {
    top: -8px;
    right: -20px;

    transform: rotate(7deg);
}


/* handwritten image note */

.image-annotation {
    position: absolute;

    right: 8px;
    bottom: -30px;

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

    opacity: .7;

    transform: rotate(2deg);
}


/* project information */

.current-idea-copy {
    position: relative;

    padding: 10px 10px 10px 0;
}

.project-small-label {
    display: inline-block;

    padding-bottom: 4px;

    border-bottom: 3px solid var(--blue);

    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.current-idea-copy h2 {
    max-width: 580px;

    margin: 16px 0 24px;

    font-family: var(--font-display);
    font-size: clamp(50px, 5.5vw, 82px);
    font-weight: 400;
    line-height: .88;

    text-transform: uppercase;
}


/* tags */

.idea-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0 0 26px;
}

.idea-tags span {
    padding: 7px 11px;

    background: var(--yellow);

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

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

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

.idea-tags span:nth-child(odd) {
    transform: rotate(-1deg);
}

.idea-tags span:nth-child(even) {
    transform: rotate(1deg);
}


/* description */

.idea-description {
    max-width: 570px;

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


/* editor tools */

.editor-tools {
    margin-top: 34px;

    padding-top: 18px;

    border-top: 2px dashed rgba(23, 23, 23, .35);
}

.editor-label {
    display: block;

    margin-bottom: 12px;

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

    opacity: .55;
}


/* =========================================================
   DEVELOPMENT LOG
========================================================= */

.development-log {
    padding-top: 55px;
    padding-bottom: 70px;
}

.timeline {
    position: relative;

    width: min(100%, 980px);

    margin: 10px auto 0;
}


/* vertical engineering line */

.timeline::before {
    content: "";

    position: absolute;

    top: 10px;
    bottom: 10px;
    left: 31px;

    width: 3px;

    background: var(--ink);
}


/* one entry */

.timeline-entry {
    position: relative;

    display: grid;
    grid-template-columns: 65px 1fr;

    gap: 30px;

    margin-bottom: 42px;
}


/* numbered marker */

.timeline-marker {
    position: relative;
    z-index: 2;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    background: var(--yellow);

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

    border-radius: 50%;

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

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


/* note card */

.timeline-card {
    position: relative;

    padding: 30px 32px;

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

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

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

.timeline-entry:nth-child(odd) .timeline-card {
    transform: rotate(-.25deg);
}

.timeline-entry:nth-child(even) .timeline-card {
    transform: rotate(.25deg);
}


/* little tape */

.timeline-card::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 44px;

    width: 62px;
    height: 20px;

    background: rgba(221, 199, 145, .72);

    transform: rotate(-3deg);
}


/* log metadata */

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 20px;
}

.timeline-meta time {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;

    opacity: .65;
}


/* log type stamps */

.log-stamp {
    display: inline-block;

    padding: 7px 11px;

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

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

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

.log-idea {
    background: var(--yellow);
    color: var(--ink);
}

.log-progress {
    background: var(--blue);
    color: white;
}

.log-fix {
    background: var(--red);
    color: white;
}

.log-note {
    background: var(--green);
    color: white;
}


/* log text */

.timeline-message {
    max-width: 760px;

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


/* log image */

.timeline-image {
    display: block;

    width: fit-content;
    max-width: 100%;

    margin-top: 24px;

    text-decoration: none;
}

.timeline-image img {
    display: block;

    width: min(100%, 520px);

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

    box-shadow:
        6px 7px 0 rgba(23, 23, 23, .10);

    transform: rotate(-.6deg);
}


/* =========================================================
   EMPTY DEVELOPMENT LOG
========================================================= */

.development-log .ideas-empty {
    max-width: 780px;

    margin: 0 auto;

    padding: 48px 35px;

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

    border: 3px dashed rgba(23, 23, 23, .55);

    text-align: center;
}

.development-log .ideas-empty strong {
    display: block;

    margin-bottom: 10px;

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

.development-log .ideas-empty p {
    margin: 0;

    font-family: var(--font-tech);
    font-size: 11px;
    line-height: 1.6;

    opacity: .7;
}


/* =========================================================
   RESPONSIVE CURRENT PROJECT + LOG
========================================================= */

@media (max-width: 900px) {

    .current-idea-board {
        gap: 38px;

        padding: 36px;
    }

    .current-idea-copy h2 {
        font-size:
            clamp(44px, 6vw, 65px);
    }

}


@media (max-width: 620px) {

    .current-idea-board {
        grid-template-columns: 1fr;

        gap: 55px;

        padding: 26px;
    }

    .current-idea-copy {
        padding: 0;
    }

    .current-idea-copy h2 {
        font-size:
            clamp(46px, 16vw, 68px);
    }

    .timeline-entry {
        grid-template-columns: 48px 1fr;

        gap: 16px;
    }

    .timeline::before {
        left: 23px;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
    }

    .timeline-card {
        padding: 24px 20px;
    }

    .timeline-meta {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;
    }

}

/* =========================================
   LOGIN
========================================= */

.login-page {
    width: min(92%, 700px);
    margin: 80px auto 120px;
}

.login-card {
    padding: 45px;

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

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

    box-shadow:
        10px 11px 0 rgba(23,23,23,.12);

    transform: rotate(-.3deg);
}

.login-card h1 {
    margin: 24px 0 10px;

    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 400;
    line-height: .9;
}

.login-card p {
    margin-bottom: 30px;
}

.login-card form {
    display: grid;
    gap: 14px;
}

.login-card label {
    margin-top: 10px;

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

.login-card input {
    padding: 14px 16px;

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

    background: var(--paper-light);

    font-family: var(--font-body);
    font-size: 16px;
}

.login-card button {
    width: fit-content;
    margin-top: 12px;
}

.login-error {
    margin-bottom: 20px;
    padding: 12px 15px;

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

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

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

/* =========================================================
   ADD PROJECT / EDITOR FORMS
========================================================= */

.editor-page {
    width: min(92%, 980px);

    margin: 0 auto;

    padding: 65px 0 100px;
}


.editor-page-heading {
    max-width: 760px;

    margin-bottom: 45px;
}


.editor-page-heading h1 {
    margin: 18px 0 20px;

    font-family: var(--font-display);
    font-size: clamp(72px, 9vw, 120px);
    font-weight: 400;
    line-height: .84;

    text-transform: uppercase;
}


.editor-page-heading h1 span {
    display: block;

    color: var(--blue);
}


.editor-page-heading p {
    max-width: 620px;

    margin: 0;

    font-size: 17px;
    line-height: 1.55;
}


/* FORM BOARD */

.editor-board {
    position: relative;

    padding: 48px;

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

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

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


.editor-tape {
    position: absolute;

    top: -16px;
    left: 50%;

    width: 110px;
    height: 28px;

    background: rgba(221, 199, 145, .78);

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


/* FORM */

.project-form {
    display: grid;

    gap: 30px;
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}


.form-field {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.form-field label {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 800;
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 14px 15px;

    background: var(--paper-light);

    color: var(--ink);

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

    font-family: var(--font-body);
    font-size: 15px;

    outline: none;

    transition:
        box-shadow .18s ease,
        transform .18s ease,
        border-color .18s ease;
}


.form-field textarea {
    resize: vertical;

    min-height: 170px;

    line-height: 1.55;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue);

    box-shadow:
        4px 4px 0 var(--blue);

    transform: translate(-1px, -1px);
}


.form-field small {
    font-family: var(--font-tech);
    font-size: 10px;
    line-height: 1.45;

    opacity: .65;
}


/* IMAGE SECTION */

.form-image-section {
    padding: 28px;

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

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


.form-image-heading {
    margin-bottom: 24px;
}


.form-image-heading strong {
    display: block;

    margin-bottom: 6px;

    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
}


.form-image-heading span {
    font-family: var(--font-tech);
    font-size: 10px;

    opacity: .65;
}


/* ERRORS */

.form-errors {
    margin-bottom: 32px;

    padding: 20px 22px;

    background:
        rgba(220, 59, 48, .14);

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

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


.form-errors strong {
    display: block;

    margin-bottom: 10px;

    color: var(--red);
}


.form-errors ul {
    margin: 0;

    padding-left: 20px;
}


/* ACTIONS */

.form-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 16px;

    padding-top: 6px;
}


/* MOBILE */

@media (max-width: 620px) {

    .editor-page {
        width: 90%;

        padding:
            45px 0
            70px;
    }


    .editor-page-heading h1 {
        font-size:
            clamp(
                65px,
                21vw,
                95px
            );
    }


    .editor-board {
        padding:
            34px 24px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    .form-image-section {
        padding: 22px 18px;
    }

}

/* =========================================================
   EDITOR FORM — FORCE FINAL STYLES
========================================================= */

body .editor-page {
    width: min(92%, 980px);
    margin: 0 auto;
    padding: 65px 0 100px;
}

body .editor-page .editor-page-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

body .editor-page .editor-page-heading h1 {
    margin: 18px 0 20px;

    font-family: var(--font-display);
    font-size: clamp(72px, 9vw, 120px);
    font-weight: 400;
    line-height: .84;

    text-transform: uppercase;
}

body .editor-page .editor-page-heading h1 span {
    display: block;
    color: var(--blue);
}

body .editor-page .editor-board {
    position: relative;

    padding: 48px;

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

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

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

body .editor-page .editor-tape {
    position: absolute;

    top: -16px;
    left: 50%;

    width: 110px;
    height: 28px;

    background: rgba(221, 199, 145, .78);

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

body .editor-page .project-form {
    display: grid;
    gap: 30px;
}

body .editor-page .form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}

body .editor-page .form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

body .editor-page .form-field label {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 800;
}

body .editor-page .form-field input,
body .editor-page .form-field select,
body .editor-page .form-field textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    background: var(--paper-light);

    color: var(--ink);

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

    font-family: var(--font-body);
    font-size: 15px;

    outline: none;

    border-radius: 0;
}

body .editor-page .form-field textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.55;
}

body .editor-page .form-field input:focus,
body .editor-page .form-field select:focus,
body .editor-page .form-field textarea:focus {
    border-color: var(--blue);

    box-shadow:
        4px 4px 0 var(--blue);
}

body .editor-page .form-field small {
    font-family: var(--font-tech);
    font-size: 10px;
    line-height: 1.45;

    opacity: .65;
}

body .editor-page .form-image-section {
    padding: 28px;

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

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

body .editor-page .form-image-heading {
    margin-bottom: 24px;
}

body .editor-page .form-image-heading strong {
    display: block;

    margin-bottom: 6px;

    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
}

body .editor-page .form-image-heading span {
    font-family: var(--font-tech);
    font-size: 10px;

    opacity: .65;
}

body .editor-page .form-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;

    padding-top: 6px;
}

@media (max-width: 620px) {

    body .editor-page .form-row {
        grid-template-columns: 1fr;
    }

    body .editor-page .editor-board {
        padding: 34px 24px;
    }
}