:root {
    --ink: #080808;
    --paper: #f7f4ef;
    --white: #ffffff;
    --red: #ff3131;
    --blue: #7db8ff;
    --green: #1b8f63;
    --yellow: #f7c948;
    --muted: #706f69;
    --shadow: 0 24px 60px rgba(8, 8, 8, .18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--ink);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .045) 1px, transparent 1px),
        linear-gradient(rgba(8, 8, 8, .045) 1px, transparent 1px),
        var(--paper);
    background-size: 42px 42px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 14% 18%, rgba(255, 49, 49, .18), transparent 18rem),
        radial-gradient(circle at 86% 12%, rgba(125, 184, 255, .22), transparent 22rem),
        radial-gradient(circle at 72% 90%, rgba(27, 143, 99, .15), transparent 18rem);
    z-index: -1;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 18px;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: min(1180px, calc(100% - 36px));
    margin: 18px auto 0;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .76);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    backdrop-filter: blur(12px);
}

.logo {
    text-decoration: none;
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    font-weight: 900;
    letter-spacing: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a,
.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: var(--ink);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 900;
    border: 2px solid var(--ink);
    background: var(--white);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .2s ease, box-shadow .2s ease;
}

.social-nav a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.18rem;
    background: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--blue);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-links a:hover,
.social-nav a:hover,
.button:hover {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--ink);
}

.social-nav a:nth-child(1):hover {
    background: #e1306c;
}

.social-nav a:nth-child(2):hover {
    background: #171515;
}

.social-nav a:nth-child(3):hover {
    background: #0077b5;
}

.social-nav a:nth-child(4):hover {
    background: #ff0000;
}

main {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

section {
    scroll-margin-top: 24px;
}

.hero-section {
    min-height: clamp(620px, calc(88vh - 82px), 760px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: clamp(28px, 6vw, 76px);
    padding: 60px 0 74px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--green);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 780px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(5.6rem, 15vw, 13.6rem);
    line-height: .78;
    letter-spacing: 0;
}

.hero-copy {
    min-width: 0;
}

.hero-copy h1 span {
    display: inline-block;
    padding: 0 .08em;
    color: var(--white);
    background: var(--red);
    transform: rotate(-2deg);
    text-shadow: 5px 5px 0 var(--ink);
}

.intro {
    max-width: 660px;
    margin-top: 30px;
    color: #202020;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.intro a {
    color: var(--red);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button.primary {
    color: white;
    background: red;
    box-shadow: 4px 4px 0 black;
}

.button.ghost {
    background: rgba(255, 0, 149, 0.664);
    color: white;
}

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

.hero-visual::before {
    content: "";
    position: absolute;
    width: min(100%, 440px);
    aspect-ratio: 1;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 16px 16px 0 var(--blue);
    transform: rotate(6deg);
}

.avatar {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 28px 24px rgba(0, 0, 0, .2));
}

.floating-note {
    position: absolute;
    z-index: 3;
    padding: 10px 14px;
    color: var(--white);
    font-family: "Caveat", cursive;
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    font-weight: 700;
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
}

.note-one {
    top: 15%;
    left: 2%;
    background: var(--green);
    transform: rotate(-8deg);
}

.note-two {
    right: 0;
    top: 30%;
    background: var(--red);
    transform: rotate(8deg);
}

.note-three {
    left: 8%;
    bottom: 12%;
    color: var(--ink);
    background: var(--yellow);
    transform: rotate(5deg);
}

.gallery-section,
.films-section,
.contact-section {
    padding: clamp(56px, 8vw, 96px) 0;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 26px;
}

.gallery-heading h2,
.films-section h2,
.contact-section h2 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: .84;
    letter-spacing: 0;
}

.gallery-heading h2 span {
    display: block;
    font-family: "Caveat", cursive;
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 700;
    text-transform: none;
}

.gallery-board {
    position: relative;
    min-height: 760px;
    padding: 38px;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 14px 14px 0 var(--ink);
}

.gallery-board::before {
    content: "ART is EVERYWHERE";
    position: absolute;
    left: 50%;
    top: 43%;
    width: min-content;
    color: rgba(8, 8, 8, .93);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(5rem, 13vw, 12.5rem);
    line-height: .76;
    text-align: center;
    transform: translate(-50%, -50%) rotate(-2deg);
}

.photo-card {
    position: absolute;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 9px 9px 0 rgba(8, 8, 8, .9);
    transition: transform .25s ease, box-shadow .25s ease;
}

.photo-card:hover {
    z-index: 20;
    transform: rotate(0) scale(1.04);
    box-shadow: 14px 14px 0 var(--red);
}

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

.card-one {
    top: 72px;
    left: 8%;
    width: 270px;
    height: 155px;
    transform: rotate(-3deg);
}

.card-two {
    top: 150px;
    right: 7%;
    width: 390px;
    height: 220px;
    transform: rotate(2deg);
}

.card-three {
    left: 10%;
    bottom: 82px;
    width: 185px;
    height: 320px;
    transform: rotate(1deg);
}

.card-four {
    left: 33%;
    bottom: 118px;
    width: 430px;
    height: 242px;
    transform: rotate(-1deg);
}

.card-five {
    right: 9%;
    bottom: 206px;
    width: 270px;
    height: 150px;
    transform: rotate(3deg);
}

.mini-avatar {
    position: absolute;
    left: 50%;
    top: 34%;
    z-index: 5;
    width: 70px;
    transform: translate(-50%, -50%) rotate(-8deg);
    filter: drop-shadow(5px 8px 0 rgba(8, 8, 8, .22));
}

.films-section {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.film-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.film-strip article {
    background: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--red);
}

.film-strip img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.film-strip h3 {
    padding: 14px 16px 16px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;

}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    border-top: 3px solid var(--ink);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.socials a {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.35rem;
    background: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--blue);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.socials a:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--ink);
}

.socials a:nth-child(1):hover {
    background: #e1306c;
}

.socials a:nth-child(2):hover {
    background: #171515;
}

.socials a:nth-child(3):hover {
    background: #0077b5;
}

.socials a:nth-child(4):hover {
    background: #ff0000;
}

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

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

@media (max-width: 980px) {
    .hero-section,
    .films-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 46px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .gallery-board {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        min-height: 0;
        padding: 18px;
    }

    .gallery-board::before,
    .mini-avatar {
        display: none;
    }

    .photo-card,
    .card-one,
    .card-two,
    .card-three,
    .card-four,
    .card-five {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        transform: none;
    }

    .photo-card.tall {
        aspect-ratio: 4 / 5;
    }

    .film-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header {
        top: 12px;
        position: sticky;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 6px;
        width: min(1180px, calc(100% - 18px));
        margin-top: 12px;
        padding: 9px 9px;
        box-shadow: 6px 6px 0 var(--ink);
    }

    .logo {
        flex: 0 0 auto;
        font-size: clamp(.78rem, 3.4vw, .98rem);
    }

    .header-actions {
        width: max-content;
        min-width: 0;
        flex-shrink: 0;
        position: absolute;
        right: 9px;
        top: 50%;
        margin-left: 0;
        align-items: center;
        flex-direction: row;
        justify-content: flex-end;
        gap: 5px;
        transform: translateY(-50%) scale(.6);
        transform-origin: right center;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        width: auto;
        max-width: 100%;
        gap: 4px;
    }

    .nav-links a {
        min-height: 20px;
        min-width: 0;
        padding: 0 4px;
        font-size: .44rem;
        border: 1px solid var(--ink);
        background: var(--white);
        box-shadow: 2px 2px 0 var(--ink);
    }

    .social-nav {
        flex: 0 0 auto;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
    }

    .social-nav a {
        width: 19px;
        height: 19px;
        font-size: .52rem;
        border-width: 1px;
        box-shadow: 3px 3px 0 var(--blue);
    }

    main {
        width: min(1180px, calc(100% - 24px));
    }

    section {
        scroll-margin-top: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(4.2rem, 21vw, 6.4rem);
    }

    .hero-visual {
        min-height: 340px;
        width: 100%;
        overflow: hidden;
        margin-inline: auto;
    }

    .hero-visual::before {
        width: 78%;
        box-shadow: 9px 9px 0 var(--blue);
    }

    .avatar {
        width: min(88vw, 360px);
    }

    .floating-note {
        font-size: 1.35rem;
        box-shadow: 3px 3px 0 var(--ink);
    }

    .note-one {
        left: 7%;
    }

    .note-two {
        right: 7%;
    }

    .gallery-heading,
    .contact-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-board {
        position: relative;
        display: block;
        min-height: 610px;
        padding: 0;
        overflow: hidden;
        box-shadow: 8px 8px 0 var(--ink);
    }

    .gallery-board::before {
        display: block;
        top: 45%;
        width: 92%;
        font-size: clamp(3rem, 14vw, 4rem);
        line-height: .76;
        z-index: 6;
        pointer-events: none;
        text-shadow:
            3px 0 0 var(--white),
            -3px 0 0 var(--white),
            0 3px 0 var(--white),
            0 -3px 0 var(--white);
    }

    .photo-card,
    .card-one,
    .card-two,
    .card-three,
    .card-four,
    .card-five {
        position: absolute;
        width: auto;
        height: auto;
        border-width: 2px;
        box-shadow: 5px 5px 0 rgba(8, 8, 8, .9);
        transform-origin: center;
    }

    .photo-card:hover {
        transform: scale(1.02);
        box-shadow: 6px 6px 0 var(--red);
    }

    .photo-card img {
        height: 100%;
    }

    .card-one {
        top: 28px;
        left: 5%;
        width: 46%;
        aspect-ratio: 16 / 10;
        transform: rotate(-3deg);
        z-index: 2;
    }

    .card-two {
        top: 92px;
        right: 4%;
        width: 58%;
        aspect-ratio: 16 / 10;
        transform: rotate(2deg);
        z-index: 3;
    }

    .card-three {
        left: 5%;
        bottom: 34px;
        width: 34%;
        aspect-ratio: 4 / 5;
        transform: rotate(1deg);
        z-index: 3;
    }

    .card-four {
        left: 24%;
        bottom: 94px;
        width: 68%;
        aspect-ratio: 16 / 10;
        transform: rotate(-1deg);
        z-index: 4;
    }

    .card-five {
        right: 5%;
        bottom: 238px;
        width: 42%;
        aspect-ratio: 16 / 10;
        transform: rotate(4deg);
        z-index: 3;
    }

    .mini-avatar {
        display: block;
        left: 50%;
        top: 38%;
        width: 48px;
        z-index: 7;
    }

    .gallery-heading h2,
    .films-section h2,
    .contact-section h2 {
        font-size: clamp(3.6rem, 18vw, 5rem);
    }
}
