/* =========================
   HOMEPAGE
========================= */

.landing {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    overflow: hidden;

    background: #171918;
}

.background-image {
    position: absolute;

    top: 0;
    left: 0;

    width: 55%;
    height: 100%;

    background-image:
        url("../images/webpage/background.jpg");

    background-size: cover;
    background-position: center;

    opacity: 0.65;

    -webkit-mask-image:
        linear-gradient(
            to right,
            black 0%,
            black 55%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            black 0%,
            black 65%,
            transparent 100%
        );

    -webkit-mask-composite: source-in;

    mask-image:
        linear-gradient(
            to right,
            black 0%,
            black 55%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            black 0%,
            black 65%,
            transparent 100%
        );

    mask-composite: intersect;

    pointer-events: none;
}

.landing-content {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 100px 5% 40px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.landing-text {
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing-text h1 {
    margin: 0;

    font-family: Georgia, serif;
    font-size: clamp(3rem, 5vw, 5.5rem);

    font-weight: 400;
    line-height: 0.95;

    letter-spacing: -0.04em;
}


/* =========================
   HOMEPAGE FILM STRIPS
========================= */

.film-options {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 1.5rem;

    max-width: 100%;
}

.film-card {
    width: 220px;

    display: flex;
    flex-direction: column;

    color: #f2f1eb;
    text-decoration: none;

    transition: transform 0.25s ease;
}

.film-edge {
    min-height: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 6px;
    padding: 0 3px;

    font-size: 0.42rem;
    letter-spacing: 0.05em;

    color: #9c9c97;

    white-space: nowrap;
    overflow: hidden;
}

.frame-number,
.brand {
    color: #f2f1eb;
}

.brand {
    font-weight: bold;
}

.film-body {
    height: 240px;

    display: flex;

    background: #0d0e0d;
    padding: 4px 0;
}

.film-image {
    position: relative;

    flex: 1;

    overflow: hidden;

    border: 1px solid #555;
    background: #111;
}

.film-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    filter:
        grayscale(35%)
        saturate(55%)
        brightness(0.78);

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.film-label {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 100%;

    text-align: center;

    font-size: 0.65rem;
    letter-spacing: 0.13em;

    color: #f2f1eb;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.9);
}

.sprockets {
    width: 16px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    padding: 3px;
}

.sprockets span {
    width: 100%;
    height: 20px;

    background: #171918;
    border-radius: 1px;
}

.film-card:hover {
    transform: scale(1.035);
}

.film-card:hover img {
    filter:
        grayscale(0%)
        saturate(100%)
        brightness(1);

    transform: scale(1.02);
}

.film-card:hover .film-label,
.film-card:hover .brand {
    color: #93a88d;
}