/* DUDES DONE WRONG — 2026 */

/* ==========================================================
   DESIGN SYSTEM
========================================================== */

:root {
    /* Layout */
    --container-width: 920px;
    --content-width: 100%;

    /* Colors */
    --color-bg: #000000;
    --color-light: #d3d3d3;
    --color-mid: #7b7b7b;
    --color-dark: #5d5d5d;
    --color-darker: #3f3f3f;
    --color-darkest: #1e1e1e;

    /* Spreadsheet */
    --row-light: #1e1e1e;
    --row-dark: #181818;
    --row-hover: #242424;

    /* Borders */
    --border: #414141;
    --grid: #000000;

    /* Typography */
    --font-book: 400;
    --font-medium: 500;
    --font-bold: 700;

    --body-size: 16px;
    --body-line-height: 1.7;

    --section-title-size: 20px;
    --section-text-size: 16px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 18px;
    --space-lg: 28px;
    --space-xl: 42px;
    --space-xxl: 60px;

    /* Radius */
    --radius: 2px;
    --poster-radius: 3px;

    /* Transition */
    --transition: .15s ease;

    /* Shared striped texture */
    --stripe-bg: linear-gradient(
        45deg,
        #141414 25%,
        #1e1e1e 25%,
        #1e1e1e 50%,
        #141414 50%,
        #141414 75%,
        #1e1e1e 75%,
        #1e1e1e 100%
    );

    --stripe-size: 5px 5px;
}


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

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

html {
    scroll-behavior: smooth;
}


/* ==========================================================
   BODY
========================================================== */

body {
    background: var(--color-bg);
    color: var(--color-light);

    font-family:
        "Gotham SSm A",
        "Gotham SSm B",
        sans-serif;

    font-size: var(--body-size);
    font-weight: var(--font-book);
    line-height: var(--body-line-height);
}

a {
    color: var(--color-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--color-mid);
    padding-bottom: 1px;

    transition:
        color var(--transition),
        border-color var(--transition);
}

a:hover {
    color: var(--color-light);
    border-bottom-color: var(--color-light);
}


/* ==========================================================
   WRAPPER
========================================================== */

.wrapper {
    width: min(var(--container-width), 92vw);
    margin: 20px auto;
}


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

.logo {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 30px 0 50px;
}


/* ==========================================================
   MANIFESTO
========================================================== */

.manifesto {
    position: relative;

    width: 75%;
    max-width: 836px;

    margin: 0 auto 55px;
    padding: 38px 42px;

    background: var(--color-bg);

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

    text-align: center;

    font-family:
        "Gotham SSm A",
        "Gotham SSm B",
        sans-serif;

    font-weight: var(--font-book);
}


/* Right shadow */

.manifesto::before {
    content: "";

    position: absolute;

    top: 2px;
    bottom: -6px;
    right: -6px;

    width: 6px;

    background-image: var(--stripe-bg);
    background-size: var(--stripe-size);

    border-radius: 0 var(--radius) var(--radius) 0;

    z-index: -1;
}


/* Bottom shadow */

.manifesto::after {
    content: "";

    position: absolute;

    left: 2px;
    right: -6px;
    bottom: -6px;

    height: 6px;

    background-image: var(--stripe-bg);
    background-size: var(--stripe-size);

    border-radius: 0 0 var(--radius) var(--radius);

    z-index: -1;
}


.manifesto p {
    color: var(--color-light);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
}

.manifesto p + p {
    margin-top: 1.1rem;
}

.manifesto strong {
    font-weight: var(--font-medium);
}


.manifesto-icon {
    position: absolute;

    top: -12px;
    left: 50%;

    transform: translateX(-50%);

    padding: 0 10px;

    background: var(--color-bg);

    z-index: 2;
}

.manifesto-icon img {
    display: block;

    width: 20px;
    height: 20px;

    image-rendering: pixelated;
    image-rendering: crisp-edges;

    -ms-interpolation-mode: nearest-neighbor;
}


/* Manifesto navigation */

.manifesto-nav {
    margin-top: 1.25rem;

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

    gap: 10px;

    font-size: .82rem;
    font-weight: var(--font-bold);
}

.manifesto-nav span {
    color: var(--color-dark);
}


/* ==========================================================
   UNIVERSAL CONTENT SECTIONS
========================================================== */

.content-section {
    margin-bottom: 70px;
}


/* All section titles use one universal style */

.content-section h2 {
    padding-bottom: 7px;

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

    color: var(--color-light);

    font-size: var(--section-title-size);
    font-weight: var(--font-bold);

    letter-spacing: .02em;
}


/* All ordinary section text uses one universal style */

.content-section p {
    font-size: var(--section-text-size);
    font-weight: var(--font-book);
    line-height: var(--body-line-height);
}


/* ==========================================================
   UPCOMING
========================================================== */

.upcoming-card {
    display: grid;

    grid-template-columns: 300px 1fr;
    gap: 30px;

    margin-top: 20px;
}


/*
   Prevent the poster column from stretching vertically
   when the text beside it becomes taller than the poster.
*/

.poster-wrap {
    align-self: start;

    border: 3px solid #141414;
    border-radius: var(--poster-radius);

    line-height: 0;
    overflow: hidden;
}

.poster-wrap img {
    display: block;

    width: 100%;
    height: auto;
}



.upcoming-info h3 {
    font-family:
        "Gotham SSm A",
        "Gotham SSm B",
        sans-serif;

    font-size: 1.2rem;
    font-weight: var(--font-bold);

    text-transform: uppercase;
}

.film-year {
    color: var(--color-mid);
}


.director {
    margin-top: 4px;

    font-size: 1rem;
    font-weight: var(--font-book);

    color: var(--color-mid);
}


/*
   Description and SHOWING intentionally share the
   universal section-text treatment.
*/

.description,
.showing {
    margin-top: 18px;

    font-size: var(--section-text-size);
    font-weight: var(--font-book);
    line-height: var(--body-line-height);
}


/* ==========================================================
   TEXT CONTENT
========================================================== */

.text-content p {
    margin-top: 14px;

    font-size: var(--section-text-size);
    font-weight: var(--font-book);
    line-height: var(--body-line-height);
}


/* ==========================================================
   VIDEO
========================================================== */

.video {
    width: 100%;

    margin: 28px auto 0;

    border: 3px solid #141414;

    line-height: 0;
}

.video iframe {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;
}


/* ==========================================================
   FILMS INTRO
========================================================== */

.films-intro {
    margin: 14px 0 16px;

    font-size: var(--section-text-size);
    font-weight: var(--font-book);
    line-height: var(--body-line-height);
}


/* ==========================================================
   FILMS TABLE
========================================================== */

.films {
    width: 100%;

    border-collapse: separate;
    border-spacing: 2px;

    background: var(--color-bg);
}

.films th,
.films td {
    border: none;
}


/* Header */

.films th {
    padding: 14px;

    background-image: var(--stripe-bg);
    background-size: var(--stripe-size);

    color: var(--color-light);

    text-align: left;
    text-transform: uppercase;

    font-size: .8rem;
    font-weight: var(--font-bold);

    letter-spacing: .05em;
}


/* Cells */

.films td {
    padding: 14px;

    background: var(--row-dark);

    color: var(--color-light);

    text-align: left;
    vertical-align: middle;

    font-family:
        "Gotham SSm A",
        "Gotham SSm B",
        sans-serif;

    font-size: .82rem;
    font-weight: var(--font-book);
}


/* Alternating rows */

.films tbody tr:nth-child(odd) td {
    background: var(--row-dark);
}

.films tbody tr:nth-child(even) td {
    background: var(--row-light);
}

.films tbody tr:hover td {
    background: var(--row-hover);
}


/* Film titles */

.films td:first-child {
    text-transform: uppercase;
}

.films .film-year {
    color: var(--color-mid);
}


/* Column widths */

.films th:nth-child(1),
.films td:nth-child(1) {
    width: 60%;
}

.films th:nth-child(2),
.films td:nth-child(2) {
    width: 25%;
}

.films th:nth-child(3),
.films td:nth-child(3) {
    width: 15%;
    white-space: nowrap;
}


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

footer {
    margin: 70px 0;

    text-align: center;

    color: var(--color-mid);

    font-size: 14px;

    font-family:
        "Gotham SSm A",
        "Gotham SSm B",
        sans-serif;

    font-weight: var(--font-book);
}

footer img {
    display: block;

    width: 100px;

    margin: 0 auto;
}

footer p {
    display: inline-block;

    padding: 12px 26px;

    line-height: 1.8;
}

footer a {
    color: var(--color-mid);

    text-decoration: none;

    border-bottom: 1px solid var(--color-mid);

    padding-bottom: 1px;

    transition:
        color var(--transition),
        border-color var(--transition);
}

footer a:hover {
    color: var(--color-light);
    border-bottom-color: var(--color-light);
}


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

@media (max-width: 900px) {

    .wrapper {
        width: min(95vw, 760px);
    }

    .manifesto {
        width: 82%;
    }
}


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

@media (max-width: 700px) {

    .wrapper {
        width: min(94vw, 560px);
        margin: 18px auto;
    }

    .logo {
        padding: 10px 0 34px;
    }


    /* ---------- MANIFESTO ---------- */

    .manifesto {
        width: 100%;

        margin-bottom: 42px;
        padding: 26px;
    }

    .manifesto p {
        font-size: 14px;
        line-height: 1.75;
    }

    .manifesto-nav {
        flex-wrap: wrap;
        font-size: 12px;
    }


    /* ---------- SECTIONS ---------- */

    .content-section {
        margin-bottom: 52px;
    }

    .content-section h2 {
        font-size: 18px;
    }

    .content-section p {
        font-size: 16px;
        line-height: 1.6;
    }


    /* ---------- UPCOMING ---------- */

    .upcoming-card {
        display: block;
        margin-top: 16px;
    }

    .poster-wrap {
        width: 100%;

        border: 3px solid #141414;
        border-radius: var(--poster-radius);

        overflow: hidden;
    }

    .poster-wrap img {
        width: 100%;
        height: auto;
    }

    .upcoming-info {
        padding-top: 14px;
    }

    .upcoming-info h3 {
        font-size: 18px;
    }

    .director {
        font-size: 16px;
    }

    .description,
    .showing,
    .text-content p,
    .films-intro {
        font-size: 16px;
        line-height: 1.6;
    }


    /* ---------- FILMS ---------- */

    .films {
        display: block;
        border-spacing: 0;
    }

    .films thead {
        display: none;
    }

    .films,
    .films tbody {
        display: block;
    }

    .films tr {
        display: block;

        padding: 20px 16px;

        border-bottom: 2px solid var(--color-bg);
    }

    .films tbody tr:nth-child(odd) {
        background: var(--row-dark);
    }

    .films tbody tr:nth-child(even) {
        background: var(--row-light);
    }

    .films tbody tr:last-child {
        border-bottom: none;
    }

    .films td {
        display: block;

        width: 100% !important;

        padding: 0;
        margin: 0;

        background: inherit !important;

        text-align: left;

        font-size: 14px;
    }

    .films td:nth-child(1) {
        color: var(--color-light);

        font-size: 14px;
        font-weight: 600;

        line-height: 1.45;

        text-transform: uppercase;

        margin-bottom: 2px;
    }

    .films td:nth-child(2) {
        color: var(--color-light);

        font-size: 14px;
        font-weight: var(--font-book);

        line-height: 1.45;

        margin-bottom: 2px;
    }

    .films td:nth-child(3) {
        color: var(--color-mid);

        font-size: 14px;
        font-weight: var(--font-book);

        line-height: 1.45;
    }

    .films tbody tr:hover {
        background: var(--row-hover);
    }


    /* ---------- FOOTER ---------- */

    footer {
        margin: 55px 0;
    }

    footer p {
        padding: 16px 18px;

        font-size: .9rem;
        line-height: 1.7;
    }
}
