/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pairing on a contrast axis: a Didone display against a neutral
       grotesque body, rather than two sans faces that read as one. */
    --font-display: 'Bodoni Moda', 'Didot', Georgia, serif;
    --font-body: 'Barlow', system-ui, -apple-system, sans-serif;
    --primary-color: #8b0000;
    --secondary-color: #1a1a1a;
    --accent-color: #ff4444;

    /* Surfaces climb in real steps rather than sitting within a few percent
       of each other: ground, section, card, raised. A flat near-black gives
       the eye nothing to hold on to and reads as one murky field.
       Neutrals carry a trace of the brand red so the dark is the festival's
       dark, not a generic charcoal. */
    --bg-dark: #0a0809;
    --bg-section: #141011;
    --bg-card: #1e1719;
    --bg-raised: #291f22;
    --border-color: #3d2f33;
    --border-strong: #564247;

    /* Off-white, not #fff: pure white on near-black glares and flattens the
       type at display sizes. */
    --text-primary: #f4efef;
    --text-secondary: #c6bcbd;
    --text-muted: #94898b;
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-red: linear-gradient(135deg, #8b0000 0%, #ff4444 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
    /* Tells the browser to render scrollbars and form controls dark. */
    color-scheme: dark;
}

/* Removes the 300ms double-tap zoom delay on touch devices. */
a,
button,
.btn {
    touch-action: manipulation;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Display face carries the festival's voice: a high-contrast Didone reads
   as elegantly sinister rather than as a jump scare, which matches the
   programme (horror, thriller, black comedy) better than a novelty face. */
h1,
h2,
h3,
.hero-title,
.section-title {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    /* scaleX instead of width: width forces layout on every frame,
       transform is composited. */
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease-out;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-img.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    /* Solid, not a gradient clipped to text: the gradient washed the middle
       of the wordmark out against the hero photo and reads as a template
       flourish. One committed red carries the same intent. */
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.hero-date {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: drift 2.4s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-secondary);
    margin: 10px auto 0;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
}

@keyframes drift {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Main Description */
.main-description {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.description-content p {
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2rem !important;
}

/* For Creators Section */

.creator-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Genres Section */

.genre-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.95) 100%);
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.genre-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.cta-box {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Event Highlights */
.event-highlights {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s;
    user-select: none;
    z-index: 10000;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent-color);
}

/* Quick Info */

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 8px 16px;
    background: var(--bg-dark);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.social-links a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        padding: 2rem;
        border-top: 1px solid var(--border-color);
        transition: left 0.3s ease-in-out;
        gap: 1rem;
        z-index: 1000;
        height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 60px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Program & Winners Styles */
.program-section {
    padding: 80px 0;
}

.winners-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.film-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.film-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.film-poster-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.film-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.film-card:hover .film-poster {
    transform: scale(1.05);
}

.film-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.film-meta {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.film-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.film-director {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.film-details {
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
}

/* Premium Winner Styling */
.winner-card {
    border-color: var(--accent-color);
}

.winner-card.gold-tier {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.winner-card.gold-tier .film-meta {
    color: #ffd700;
}

.winner-card.gold-tier:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

/* RSVP Form Styles */
.rsvp-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.rsvp-form input:focus-visible,
.rsvp-form select:focus-visible {
    outline: none;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .rsvp-container {
        grid-template-columns: 1fr !important;
    }

    .event-info-side {
        padding: 2rem !important;
        text-align: center;
    }

    .rsvp-form-side {
        padding: 2rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* Event Gallery 2026 Styles */
.gallery-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, var(--bg-dark) 100%);
}

.gallery-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.media-section {
    padding: 40px 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Video specific grid - maybe larger items */
.video-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.media-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.media-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.media-item video {
    height: 300px;
    /* Videos might need more height */
}

.btn-load-more {
    display: block;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--accent-color);
    color: var(--text-primary);
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    text-transform: uppercase;
}

.btn-load-more:hover {
    background: var(--accent-color);
    color: white;
}

.hidden {
    display: none;
}
/* Respect the OS "reduce motion" setting: vestibular disorders, migraine
   triggers, and low-power devices all depend on it. Animations still run,
   but collapse to near-instant so nothing is gated behind a transition. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link: hidden until focused, so keyboard users can jump past the nav
   without it occupying space for everyone else. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1100;
    padding: 12px 20px;
    background: var(--accent-color);
    color: var(--bg-dark);
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus-visible {
    left: 0;
}

/* Heading anchors clear the fixed navbar when linked to. */
:target {
    scroll-margin-top: 90px;
}

/* Hero facts: deadline, price and reply date sit with the submit button
   because that is where the decision is actually made. Plain definition
   list, no card chrome: the facts carry the weight, not the container. */
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin-top: 2rem;
}

.hero-facts dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.hero-facts dd {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .hero-facts {
        gap: 1rem 1.75rem;
    }

    .hero-facts dd {
        font-size: 1rem;
    }
}

/* ---- Genres: three bands sharing one space ------------------------------ */

.genres {
    padding: 80px 0 0;
}

.genres-lede {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.genre-bands {
    display: grid;
}

.genre-band {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 44vh;
    overflow: hidden;
    isolation: isolate;
}

.genre-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Scrim, not a flat overlay: keeps the image legible at the top of the band
   and guarantees contrast where the text actually sits. */
.genre-band::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top,
            rgba(6, 6, 6, 0.94) 0%,
            rgba(6, 6, 6, 0.72) 34%,
            rgba(6, 6, 6, 0.28) 100%);
}

.genre-band__text {
    padding: 2.5rem clamp(20px, 6vw, 5rem) 2.75rem;
    max-width: 46ch;
}

.genre-band h3 {
    font-family: var(--font-display);
    line-height: 0.95;
    margin-bottom: 0.5rem;
}

.genre-band p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Each band follows its own rules: different scale, different side, different
   weight. Read together they still sit in one column. */
.genre-band--thriller h3 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 400;
}

.genre-band--comedy {
    justify-items: end;
    text-align: right;
}

.genre-band--comedy h3 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-style: italic;
    font-weight: 600;
}

.genre-band--horror {
    align-items: center;
    justify-items: center;
    text-align: center;
    min-height: 52vh;
}

.genre-band--horror h3 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent-color);
}

.genres-close {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    padding: 3.5rem 20px;
    background: var(--bg-dark);
}

@media (max-width: 640px) {
    .genre-band {
        min-height: 38vh;
    }

    .genre-band--horror {
        min-height: 42vh;
    }

    .genre-band__text {
        max-width: none;
    }
}

/* ---- For creators: a stated position, set as a ledger ------------------- */

.creators-lede {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    max-width: 20ch;
    margin-bottom: 3rem;
    text-wrap: balance;
}

.creators-ledger > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.creators-ledger > div:last-child {
    border-bottom: 1px solid var(--border-color);
}

.creators-ledger dt {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.1;
}

.creators-ledger dd {
    color: var(--text-secondary);
    max-width: 52ch;
}

@media (min-width: 768px) {
    .creators-ledger > div {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        align-items: baseline;
        gap: 2.5rem;
    }

    .creators-ledger dd {
        justify-self: start;
    }
}

/* ---- What awaits you: editorial spread ---------------------------------- */

.highlights-spread {
    display: grid;
    gap: 2.5rem;
}

.highlights-aside h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.highlights-aside p {
    color: var(--text-secondary);
    max-width: 42ch;
}

.highlights-entries article + article {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.highlights-entries h3 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    margin-bottom: 0.6rem;
    text-wrap: balance;
}

.highlights-entries p {
    color: var(--text-secondary);
    max-width: 68ch;
}

@media (min-width: 900px) {
    .highlights-spread {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: 4rem;
        align-items: start;
    }

    .highlights-aside {
        position: sticky;
        top: 110px;
    }
}

/* ---- Restored: still used by about.html and films.html ------------------
   The homepage moved these sections to the ledger / bands / spread patterns,
   but the inner pages still render the original card grids. Removing the
   rules broke those pages; they come back until those pages are migrated. */
/* For Creators Section */

/* Single column on narrow screens. This rule was extracted from a media
   query and must stay inside one: unwrapped, it collapsed every grid to one
   column at all widths. */
@media (max-width: 768px) {

}

/* ---- Section rhythm ----------------------------------------------------
   Alternating grounds so the page reads as a sequence of rooms rather than
   one continuous dark field. The step is small enough to stay atmospheric
   and large enough to register. */

.main-description,
.event-highlights,
.quick-info {
    background: var(--bg-section);
}

.for-creators,
.gallery-section {
    background: var(--bg-dark);
}

/* Browser surfaces still carry the design: selection, caret and scrollbar
   ship with defaults that belong to no design system. */
::selection {
    background: var(--primary-color);
    color: var(--text-primary);
}

html {
    scrollbar-color: var(--border-strong) var(--bg-dark);
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* ---- Awards page --------------------------------------------------------
   Rebuilt on classes. The page previously carried 52 inline style attributes,
   which put its whole visual system outside the stylesheet: nothing could be
   themed, and the palette change below would have skipped it entirely. */

.awards-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.awards-section--alt {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
}

.winners-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.winner-card {
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* The jury prize is the one card that outranks the others, so it is the one
   card allowed a different border. */
.winner-card--jury {
    border-color: var(--accent-color);
    background: var(--bg-raised);
}

.winner-card__award {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.85rem;
}

.winner-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.winner-card__dir {
    color: var(--text-secondary);
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .winners-grid,

}

/* ---- Mission: commitments, not cards ------------------------------------ */

.mission-list {
    list-style: none;
    display: grid;
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.mission-list li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mission-list img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.mission-list h3 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.mission-list p {
    color: var(--text-secondary);
    max-width: 46ch;
    margin: 0;
}

@media (min-width: 860px) {
    .mission-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
    }

    /* Two per row means no orphan: four items fill the field exactly. */
    .mission-list li:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

/* ---- What makes us different: alternating rows -------------------------- */

.differences {
    margin-top: 3rem;
    display: grid;
    gap: 3.5rem;
}

.difference {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.difference figure {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.difference img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 10;
}

.difference h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.difference p {
    color: var(--text-secondary);
    max-width: 58ch;
}

@media (min-width: 860px) {
    .difference {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }

    /* Alternate the side so the eye is not led down one rail. Two in a row
       would read as a pattern; three alternating reads as rhythm. */
    .difference:nth-child(even) figure {
        order: 2;
    }
}

/* ---- Festival facts -----------------------------------------------------
   A specification band, not a card row. Labels stay small and quiet; the
   values carry the weight, because the value is what a visitor came for. */

.festival-facts {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.festival-facts > div {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.festival-facts > div:last-child {
    border-bottom: 0;
}

.festival-facts dt {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.festival-facts dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.35;
    color: var(--text-primary);
}

@media (min-width: 820px) {
    .festival-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .festival-facts > div {
        padding: 2.5rem 2.5rem 2.5rem 0;
        border-bottom: 0;
        border-right: 1px solid var(--border-color);
    }

    .festival-facts > div:last-child {
        border-right: 0;
        padding-right: 0;
    }
}

/* ---- Award categories ---------------------------------------------------
   Seven peer categories: a list, not a card grid. Seven items never divide
   evenly into three columns, and a lone card stranded in an empty row reads
   as broken. A lone list row simply reads as the end of the list. */

.award-list {
    list-style: none;
    display: grid;
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.award-list li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.award-list img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.award-list h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.award-list p {
    color: var(--text-secondary);
    max-width: 58ch;
    margin: 0;
}

@media (min-width: 900px) {
    .award-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
    }
}

/* Four winners fill a 2x2 field exactly; three columns left one stranded. */
@media (min-width: 720px) {
    .winners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .winners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Hover lives in CSS. It used to be assigned through inline styles from a
   script, which put the interaction outside the stylesheet entirely. */
.winner-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}
