:root {
    color-scheme: dark;
    --black: #130e0d;
    --panel: #201614;
    --red: #641e28;
    --gold: #d8ab60;
    --cream: #f4e1bd;
    --muted: #c5b39c;
    --line: #826138;
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--black);
    color: var(--cream);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

.wrap {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.masthead {
    background: radial-gradient(ellipse at top, #332018, #110d0c 68%);
    border-bottom: 1px solid var(--gold);
    padding: 36px 0 24px;
}

.masthead-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.brand {
    display: block;
    width: min(100%, 620px);
    text-decoration: none;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.mast-note {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    color: var(--gold);
    margin: 0;
}

.mast-note br {
    display: none;
}

.navigation {
    background: linear-gradient(180deg, #772a32, #421219);
    border-bottom: 3px double var(--gold);
}

.nav-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 48px;
    padding-block: 14px;
}

.navigation a,
.eyebrow,
.film-date,
.run-dates,
.section-heading,
.button {
    font-family: system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 650;
}

.navigation a {
    text-decoration: none;
    font-size: .86rem;
}

.navigation a:hover,
footer a:hover {
    color: var(--gold);
}

.stage {
    position: relative;
    background: linear-gradient(90deg, #40131b 0, #1a1010 5%, #130e0d 17%, #130e0d 83%, #1a1010 95%, #40131b 100%);
    border-bottom: 1px solid var(--line);
}

.feature {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    padding-block: 52px;
}

.poster {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-align: center;
    aspect-ratio: 2 / 3;
    background: radial-gradient(ellipse at 50% 25%, #64412b, #2f1b1c 60%, #140d0e);
    border: 4px double var(--gold);
    padding: 18px;
    box-shadow: 0 12px 30px #0007;
    overflow: hidden;
}

.poster:has(img) {
    padding: 0;
    background: #171111;
}

.poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.poster-kicker,
.poster-year {
    font: 600 .7rem/1.5 system-ui, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

.poster-title {
    font-size: clamp(1.25rem, 2.4vw, 2.2rem);
    line-height: 1.12;
    overflow-wrap: break-word;
}

.feature-poster .poster-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
}

.eyebrow {
    color: var(--gold);
    font-size: .9rem;
    margin: 0 0 14px;
}

.feature h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.08;
    margin: 0 0 22px;
}

.feature h1 small {
    font-size: .42em;
    white-space: nowrap;
}

.synopsis {
    max-width: 640px;
    font-size: 1.2rem;
}

.run-dates {
    color: var(--gold);
    margin: 26px 0 8px;
}

.showtime-note {
    color: var(--muted);
}

.button {
    display: inline-block;
    background: linear-gradient(#722630, #48151e);
    border: 3px double var(--gold);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: .85rem;
}

.button:hover {
    background: #82303b;
}

.coming {
    padding-block: 36px 56px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--gold);
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin: 0 0 30px;
}

.section-heading::before,
.section-heading::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--line);
}

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

.film-date {
    color: var(--gold);
    font-size: .78rem;
    text-align: center;
}

.film h3,
.special h3 {
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 15px 0 0;
}

.film-year {
    color: var(--muted);
    margin: 4px 0;
}

.specials-heading {
    margin-top: 48px;
}

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

.special {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 20px 24px;
}

.special .film-date {
    text-align: left;
    margin: 0;
}

.about {
    background: #251719;
    border-block: 3px double var(--line);
    padding-block: 48px;
}

.about-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 48px;
}

.about h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.address {
    border-left: 1px solid var(--line);
    padding-left: 32px;
}

.address h3 {
    color: var(--gold);
    font-weight: 400;
}

footer {
    text-align: center;
    padding-block: 24px;
    color: var(--muted);
    font: .82rem/1.6 system-ui, sans-serif;
}

footer p {
    margin: 4px 0;
}

@media (max-width: 760px) {
    .masthead-inner {
        justify-content: center;
    }

    .mast-note {
        font-size: 1.05rem;
    }

    .feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-block: 32px;
    }

    .feature-poster {
        width: min(100%, 300px);
        margin-inline: auto;
    }

    .film-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .address {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .specials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .nav-inner {
        gap: 12px 20px;
    }

    .navigation a {
        font-size: .72rem;
    }

    .film-grid {
        gap: 14px;
    }

    .poster {
        padding: 10px;
    }

    .specials {
        grid-template-columns: 1fr;
    }
}

/* Database-driven programming */
.current-program {
    padding-block: 44px;
}

.program-dates,
.program-message {
    text-align: center;
    margin: 12px 0 24px;
}

.current-films {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 860px;
    margin-inline: auto;
    align-items: stretch;
}

.current-film {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 20px;
    gap: 20px;
}

.current-film > .poster {
    width: 100%;
}

.current-film .feature-copy {
    text-align: center;
}

.current-film .film-meta {
    margin: 8px 0 14px;
}

.current-film h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.4rem);
    font-weight: 400;
    line-height: 1.12;
    margin: 0;
}

.current-film .synopsis {
    font-size: 1rem;
    text-align: left;
    margin: 0;
}

.film-meta {
    color: var(--gold);
    font: .82rem/1.5 system-ui, sans-serif;
}

.showtimes {
    margin-top: 40px;
}

.schedule-list {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--panel);
}

.schedule-table {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid #82613866;
    overflow-wrap: anywhere;
}

.schedule-table tr > :first-child {
    width: 15%;
}

.schedule-table tr > :last-child {
    border-right: 0;
}

.schedule-table thead th {
    background: #421b20;
    color: var(--gold);
    font: 650 .76rem/1.5 system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.schedule-table tbody th {
    color: var(--gold);
    font-size: 1rem;
}

.schedule-table tbody tr:last-child > * {
    border-bottom: 0;
}

.schedule-table .is-today {
    background: #421b20;
}

.today-label {
    display: block;
    font: .72rem/1.5 system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.screening + .screening {
    margin-top: 12px;
}

.screening strong,
.screening span,
.screening small {
    display: block;
}

.screening strong {
    color: var(--gold);
    font: 650 .85rem/1.5 system-ui, sans-serif;
}

.screening small {
    color: var(--muted);
}

.upcoming-programs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.upcoming-program {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 18px;
}

.upcoming-program > h3 {
    margin: 0 0 12px;
}

.upcoming-films {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.upcoming-films .film {
    text-align: center;
    min-width: 0;
}

.upcoming-films .film .film-meta {
    text-align: center;
    margin: 3px 0 0;
}

.upcoming-films .film h4 {
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 400;
    text-align: center;
    margin: 8px 0 0;
}

.special-with-poster {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 20px;
    padding: 20px;
}

.special-with-poster > .poster {
    width: 100%;
}

.special-with-poster .film-date {
    text-align: center;
    margin: 4px 0 8px;
}

.special-with-poster h3 {
    font-size: clamp(1.45rem, 2.5vw, 2.4rem);
    font-weight: 400;
    line-height: 1.12;
    text-align: center;
    margin: 0;
}

.special-with-poster .film-meta {
    text-align: center;
    margin: 8px 0 14px;
}

.special-with-poster .special-discussion {
    background: #421b20;
    border: 1px solid var(--gold);
    color: var(--cream);
    font-size: 1rem;
    text-align: center;
    padding: 14px 16px;
    margin: 16px 0 0;
}

@media (max-width: 850px) {
    .current-films {
        gap: 20px;
    }

    .current-film {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .upcoming-programs {
        grid-template-columns: 1fr;
    }

    .current-films {
        grid-template-columns: minmax(0, 1fr);
        max-width: 400px;
    }

    .current-film {
        gap: 14px;
    }
}

/* Movie hotline */
.nav-inner {
    align-items: center;
}

.hotline-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cream);
    font: 650 .86rem/1.6 system-ui, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
}

.hotline-nav:hover,
.hotline-nav[aria-pressed="true"] {
    color: var(--gold);
}

.hotline-nav:focus-visible,
.hotline-hangup:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

.hotline-nav svg {
    display: block;
    width: 17px;
    height: 17px;
    color: var(--gold);
}

.hotline-nav .hotline-stop-icon,
.hotline-nav[aria-pressed="true"] .hotline-phone-icon {
    display: none;
}

.hotline-nav[aria-pressed="true"] .hotline-stop-icon {
    display: inline-flex;
}

.hotline-panel[hidden] {
    display: none;
}

.hotline-panel {
    position: fixed;
    z-index: 100;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    width: min(310px, calc(100% - 40px));
    padding: 20px;
    background: linear-gradient(180deg, #641e28, #421219);
    border: 3px double var(--gold);
    border-radius: 4px;
    box-shadow: 0 8px 32px #0009;
    text-align: center;
}

.hotline-panel h2 {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}

.hotline-panel p {
    color: var(--cream);
    font-size: .95rem;
    font-style: italic;
    margin: 8px 0 14px;
}

.hotline-hangup {
    width: 100%;
    color: var(--cream);
    cursor: pointer;
    margin: 0;
}

@media (max-width: 420px) {
    .hotline-nav {
        font-size: .72rem;
    }

    .hotline-panel {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: min(310px, calc(100% - 24px));
    }
}
