:root {

    --bg: #050506;
    --card: #0b0b0d;

    --pink: #f0185b;
    --pink-light: #ff3d78;

    --cream: #f3ede4;

    --text: #c9c1bb;
    --muted: #8f8783;

    --border: rgba(240, 24, 91, 0.18);

    --display:
        "Cormorant Garamond",
        Georgia,
        serif;

    --body:
        "Montserrat",
        Arial,
        sans-serif;

    --logo:
        "UnifrakturCook",
        "Old English Text MT",
        cursive;

    --header: 96px;

    --max: 1500px;
}


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

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


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family: var(--body);

    overflow-x: hidden;
}


body.no-scroll {
    overflow: hidden;
}


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


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


button {

    font: inherit;

    border: 0;

    background: none;

    cursor: pointer;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: #050506;
}


::-webkit-scrollbar-thumb {
    background: var(--pink);
}


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

.site-header {

    height: 66px;

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 50;

    display: flex;

    align-items: center;

    padding:
        0
        max(
            24px,
            calc(
                (100vw - 1500px) / 2
            )
        );

    background:
        rgba(5, 1, 8, .88);

    border-bottom:
        1px solid
        rgba(232, 54, 93, .17);

    backdrop-filter:
        blur(12px);
}


/* ============================================================
   LOGO
============================================================ */

.brand,
.hero-logo,
.footer-brand {

    font-family:
        "Old English Text MT",
        "UnifrakturCook",
        serif;

    font-weight: 700;
}


.brand {

    font-size: 30px;

    color: var(--rose);

    line-height: 1;

    text-decoration: none;
}


/* ============================================================
   NAVIGATION
============================================================ */

.main-nav {

    display: flex;

    gap: 32px;

    margin: auto;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.nav-link {

    padding: 24px 0;

    color: #b18f99;

    text-decoration: none;

    transition: .2s;
}


.nav-link:hover,
.nav-link.active {

    color: var(--rose);
}


/* ============================================================
   SUPPORT BUTTON
============================================================ */

.header-support {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 12px;

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

    padding:
        6px 13px;

    color: inherit;

    text-decoration: none;

    transition: .2s;
}


.header-support:hover {

    background:
        var(--rose);

    color: white;
}
/* ============================================================
   MOBILE BUTTON
============================================================ */

.menu-toggle {

    display: none;

    flex-direction: column;

    gap: 5px;

    width: 34px;

    padding: 7px 0;

    margin-left: auto;
}


.menu-toggle span {

    height: 1px;

    width: 100%;

    background:
        var(--cream);

    transition: .25s;
}


.menu-toggle.open span:nth-child(1) {

    transform:
        translateY(6px)
        rotate(45deg);
}


.menu-toggle.open span:nth-child(2) {

    opacity: 0;
}


.menu-toggle.open span:nth-child(3) {

    transform:
        translateY(-6px)
        rotate(-45deg);
}

/* =========================================================
   MAGIC PARTICLES
========================================================= */

.magic-particles {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}


.magic-particles::before,
.magic-particles::after {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        radial-gradient(
            circle,
            rgba(240, 24, 91, 0.75) 0 2px,
            transparent 3px
        ),

        radial-gradient(
            circle,
            rgba(255, 61, 120, 0.48) 0 1px,
            transparent 2px
        ),

        radial-gradient(
            circle,
            rgba(240, 24, 91, 0.55) 0 1.5px,
            transparent 2.5px
        );

    background-size:
        230px 280px,
        170px 210px,
        310px 340px;

    animation:
        particlesUp 18s linear infinite;

    opacity: 0.55;
}


.magic-particles::after {

    background-size:
        330px 360px,
        250px 280px,
        190px 230px;

    animation-duration: 25s;

    animation-delay: -8s;

    opacity: 0.35;
}


@keyframes particlesUp {

    from {
        transform: translateY(35%);
    }

    to {
        transform: translateY(-35%);
    }
}


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

.gallery-hero {

    position: relative;
    
    padding-top:140px;

    min-height:
        calc(100vh - var(--header));

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:

        radial-gradient(
            ellipse at center 45%,
            rgba(83, 5, 32, 0.19),
            rgba(20, 3, 11, 0.09) 32%,
            transparent 67%
        ),

        #050506;
}


.gallery-hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 35%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--bg)
        );

    pointer-events: none;
}


.hero-content {

    position: relative;

    z-index: 2;

    width: min(1100px, 90%);

    text-align: center;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1.2rem;

    color: var(--pink);

    font-size: 0.75rem;

    font-weight: 500;

    letter-spacing: 0.48em;
}


.eyebrow span {

    display: block;

    width: 38px;

    height: 1px;

    background: var(--pink);
}


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

.hero-content h1 {

    margin-top: 2.5rem;

    font-family: var(--display);

    font-weight: 700;

    line-height: 0.72;

    text-transform: uppercase;
}


.hero-content h1 span,
.hero-content h1 strong {

    display: block;
}


.hero-content h1 span {

    color: var(--cream);

    font-size:
        clamp(5rem, 10vw, 9rem);
}


.hero-content h1 strong {

    color: var(--pink);

    font-size:
        clamp(6rem, 12vw, 11rem);

    text-shadow:
        0 0 40px
        rgba(240, 24, 91, 0.14);
}


.hero-content p {

    max-width: 700px;

    margin: 3rem auto 0;

    color: #aaa19d;

    font-size: 0.95rem;

    line-height: 1.9;
}


/* =========================================================
   SCROLL CUE
========================================================= */

.scroll-cue {

    display: inline-flex;

    flex-direction: column;

    align-items: center;

    gap: 0.7rem;

    margin-top: 2rem;

    color: #77706c;

    font-size: 0.58rem;

    letter-spacing: 0.35em;

    transition: 0.25s;
}


.scroll-cue:hover {
    color: var(--pink);
}


.scroll-cue i {

    display: block;

    width: 1px;

    height: 35px;

    background: var(--pink);

    animation:
        scrollLine 1.8s
        ease-in-out infinite;
}


@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(0.5);
        transform-origin: top;
        opacity: 0.4;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
}


/* =========================================================
   COLLECTION
========================================================= */

.collection-section {

    width: min(var(--max), 90%);

    margin: auto;

    padding: 4rem 0 8rem;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    display: flex;

    align-items: center;

    gap: 1.8rem;

    margin-bottom: 3.4rem;
}


.ornament-line {

    flex: 1;

    height: 1px;

    background:
        rgba(240, 24, 91, 0.35);
}


.section-title {

    display: flex;

    gap: 1rem;

    align-items: center;

    white-space: nowrap;

    color: #a9a19d;

    font-family: var(--display);

    font-size: 0.9rem;

    letter-spacing: 0.42em;
}


.section-title span {
    color: var(--pink);
}


/* =========================================================
   FILTERS
========================================================= */

.gallery-filters {

    display: flex;

    justify-content: center;

    gap: 0.35rem;

    margin-bottom: 5rem;
}


.filter-button {

    min-width: 145px;

    padding: 0.9rem 1.5rem;

    border:
        1px solid
        rgba(243, 237, 228, 0.12);

    color: #968e8a;

    font-family: var(--display);

    font-size: 0.9rem;

    letter-spacing: 0.18em;

    transition: 0.25s;
}


.filter-button:hover {

    color: var(--pink);

    border-color:
        rgba(240, 24, 91, 0.55);
}


.filter-button.active {

    color: #fff;

    background: var(--pink);

    border-color: var(--pink);

    box-shadow:
        0 0 30px
        rgba(240, 24, 91, 0.2);
}


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

.gallery-grid {

    display: grid;

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

    grid-auto-flow: dense;

    gap: 1.1rem;
}


.gallery-card {

    min-width: 0;

    background: var(--card);

    border:
        1px solid
        rgba(243, 237, 228, 0.08);

    overflow: hidden;

    transition:
        0.35s;
}


.gallery-card:hover {

    border-color:
        rgba(240, 24, 91, 0.4);

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, 0.4);
}


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


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


/* =========================================================
   IMAGE
========================================================= */
.gallery-image {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #0c0b0d;
}


.gallery-image img {

    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;

    filter:
        brightness(0.72)
        saturate(0.82);

    transition: 0.7s;
}


.gallery-card:hover img {

    transform: scale(1.045);

    filter:
        brightness(0.82)
        saturate(1);
}


/* =========================================================
   IMAGE TAG
========================================================= */

.image-tag {

    position: absolute;

    top: 1rem;

    right: 1rem;

    z-index: 2;

    padding:
        0.45rem
        0.8rem;

    background: var(--pink);

    color: #fff;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.16em;
}


.image-tag--original {

    background:
        rgba(10, 9, 11, 0.88);

    border:
        1px solid
        rgba(240, 24, 91, 0.28);

    color: var(--pink);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.image-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(4, 3, 5, 0.68);

    opacity: 0;

    transition: 0.35s;
}


.gallery-card:hover .image-overlay {
    opacity: 1;
}


.image-overlay span {

    padding:
        0.8rem
        1.2rem;

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

    color: var(--pink);

    font-size: 0.65rem;

    letter-spacing: 0.2em;

    transform:
        translateY(8px);

    transition: 0.35s;
}


.gallery-card:hover
.image-overlay span {

    transform: none;
}


/* =========================================================
   CAPTION
========================================================= */

.gallery-caption {

    padding:
        1.2rem
        1.2rem
        1.4rem;
}


.gallery-caption > span {

    color: var(--pink);

    font-size: 0.58rem;

    font-weight: 600;

    letter-spacing: 0.18em;
}


.gallery-caption h2 {

    margin-top: 0.45rem;

    color: var(--cream);

    font-family: var(--display);

    font-size: 1.35rem;

    font-weight: 600;

    line-height: 1.05;
}


/* =========================================================
   SUBMISSION
========================================================= */

.submission-section {

    border-top:
        1px solid
        rgba(240, 24, 91, 0.12);

    border-bottom:
        1px solid
        rgba(240, 24, 91, 0.12);

    padding: 8rem 1.5rem;

    background:

        radial-gradient(
            ellipse at center,
            rgba(79, 5, 30, 0.13),
            transparent 63%
        ),

        #050506;
}


.submission-inner {

    max-width: 700px;

    margin: auto;

    text-align: center;
}


.submission-inner .eyebrow {

    display: block;

    font-family: var(--display);

    font-size: 0.95rem;

    letter-spacing: 0.35em;
}


.submission-inner h2 {

    margin-top: 2rem;

    color: var(--cream);

    font-family: var(--display);

    font-size:
        clamp(3.2rem, 6vw, 5rem);

    font-style: italic;
}


.submission-inner p {

    margin:
        1.5rem auto 0;

    color: #aaa19d;

    font-size: 0.95rem;

    line-height: 1.9;
}


.pink-link {
    color: var(--pink);
}


.pink-link:hover {

    color: var(--pink-light);

    text-shadow:
        0 0 12px
        rgba(240, 24, 91, 0.35);
}


.submission-button {

    display: inline-block;

    margin-top: 3rem;

    padding:
        1.15rem
        2.8rem;

    border:
        1px solid
        rgba(240, 24, 91, 0.55);

    color: var(--cream);

    font-family: var(--display);

    font-size: 0.95rem;

    letter-spacing: 0.2em;

    transition: 0.25s;
}


.submission-button:hover {

    color: #fff;

    background: var(--pink);

    border-color: var(--pink);

    box-shadow:
        0 0 30px
        rgba(240, 24, 91, 0.18);
}


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

.site-footer {

    border-top:
        1px solid
        rgba(240, 24, 91, 0.1);

    background:

        radial-gradient(
            ellipse at center bottom,
            rgba(76, 5, 30, 0.12),
            transparent 58%
        ),

        #050506;
}


.footer-inner {

    padding:
        3.8rem
        1.5rem
        3.2rem;

    text-align: center;
}


.footer-brand {
    font-size: 2rem;
}


.footer-tagline {

    margin-top: 0.75rem;

    color: #77706c;

    font-size: 0.62rem;

    letter-spacing: 0.25em;
}


.footer-nav {

    display: flex;

    justify-content: center;

    gap: 2rem;

    margin-top: 1.8rem;
}


.footer-nav a {

    color: #77706c;

    font-size: 0.62rem;

    letter-spacing: 0.22em;

    transition: 0.25s;
}


.footer-nav a:hover {
    color: var(--pink);
}


.copyright {

    margin-top: 1.8rem;

    color: #55504d;

    font-size: 0.58rem;

    letter-spacing: 0.14em;
}


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

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 4rem;

    background:
        rgba(2, 2, 3, 0.96);

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}


.lightbox.open {

    opacity: 1;

    visibility: visible;
}


.lightbox-content {

    max-width:
        min(1100px, 85vw);

    max-height: 85vh;

    text-align: center;
}


.lightbox-content img {

    width: auto;

    max-width: 100%;

    max-height: 76vh;

    object-fit: contain;

    border:
        1px solid
        rgba(240, 24, 91, 0.25);
}


.lightbox-content figcaption {

    margin-top: 1rem;

    color: var(--cream);

    font-family: var(--display);

    font-size: 1.2rem;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {

    position: absolute;

    color: var(--cream);

    font-family: var(--display);

    font-size: 2.5rem;

    transition: 0.2s;
}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {

    color: var(--pink);
}


.lightbox-close {

    top: 1.5rem;

    right: 2rem;
}


.lightbox-prev {
    left: 2rem;
}


.lightbox-next {
    right: 2rem;
}


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

.reveal {

    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity 0.8s,
        transform 0.8s;
}


.reveal.visible {

    opacity: 1;

    transform: none;
}


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

@media (max-width: 1100px) {

    .main-nav {

        gap: 1.25rem;

        margin-right: 1.5rem;
    }


    .header-support {
        min-width: 115px;
    }


    .gallery-grid {

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


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

@media (max-width: 800px) {

    :root {
        --header: 76px;
    }


    .site-header {
        padding: 0 1.2rem;
    }


    .brand {
        font-size: 1.9rem;
    }


    .main-nav {

        position: absolute;

        top: 100%;

        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        gap: 0;

        margin: 0;

        padding:
            0.7rem
            1.2rem
            1.2rem;

        background:
            rgba(5, 5, 6, 0.98);

        border-bottom:
            1px solid
            rgba(240, 24, 91, 0.15);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition: 0.25s;
    }


    .main-nav.open {

        opacity: 1;

        visibility: visible;

        transform: none;
    }


    .main-nav a {
        padding: 0.9rem 0.5rem;
    }


    .header-support {
        display: none;
    }


    .menu-toggle {

        display: flex;

        flex-direction: column;

        gap: 5px;

        width: 34px;

        padding: 7px 0;
    }


    .menu-toggle span {

        height: 1px;

        width: 100%;

        background: var(--cream);

        transition: 0.25s;
    }


    .menu-toggle.open
    span:nth-child(1) {

        transform:
            translateY(6px)
            rotate(45deg);
    }


    .menu-toggle.open
    span:nth-child(2) {

        opacity: 0;
    }


    .menu-toggle.open
    span:nth-child(3) {

        transform:
            translateY(-6px)
            rotate(-45deg);
    }


    .hero-content h1 span {

        font-size:
            clamp(
                4.8rem,
                18vw,
                7rem
            );
    }


    .hero-content h1 strong {

        font-size:
            clamp(
                5.5rem,
                21vw,
                8rem
            );
    }


    .hero-content p {

        font-size: 0.84rem;

        padding: 0 1rem;
    }


    .collection-section {

        width: 94%;

        padding-top: 2.5rem;
    }


    .section-heading {

        gap: 0.8rem;
    }


    .section-title {

        gap: 0.5rem;

        font-size: 0.72rem;

        letter-spacing: 0.25em;
    }


    .gallery-filters {

        margin-bottom: 3rem;

        flex-wrap: wrap;
    }


    .filter-button {

        min-width: 0;

        flex: 1;

        padding: 0.8rem 0.7rem;

        font-size: 0.76rem;
    }


    .gallery-grid {

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

        gap: 0.7rem;
    }


    .gallery-card--wide {

        grid-column: span 2;
    }


    .gallery-card--tall {

        grid-row: span 1;
    }


    .gallery-card--tall
    .gallery-image,
    .gallery-card--wide
    .gallery-image,
    .gallery-image {

        aspect-ratio: 1 / 1;
    }


    .gallery-caption {
        padding: 0.8rem;
    }


    .gallery-caption h2 {
        font-size: 1.08rem;
    }


    .image-tag {

        top: 0.6rem;

        right: 0.6rem;

        padding:
            0.35rem
            0.55rem;
    }


    .submission-section {
        padding: 6rem 1.2rem;
    }


    .footer-nav {

        gap: 1.1rem;

        flex-wrap: wrap;
    }


    .lightbox {
        padding: 1.5rem;
    }


    .lightbox-prev {
        left: 0.5rem;
    }


    .lightbox-next {
        right: 0.5rem;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}

/* ============================================================
   FANART CREDIT
============================================================ */

.art-credit {

    margin-top: 10px;

    font-size: 12px;

    letter-spacing: 1.5px;

    color: #8f737d;

    text-transform: uppercase;

}


.art-credit a {

    color: var(--pink);

    text-decoration: none;

    transition:
        color .25s ease,
        text-shadow .25s ease;

}


.art-credit a:hover {

    color: var(--pink-light);

    text-shadow:
        0 0 12px
        rgba(242, 56, 98, .45);

}