@font-face {
    font-family: 'Vintage Warehouse';
    src: url('vintage-warehouse.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Rye&family=Space+Mono:wght@400;700&family=Work+Sans:wght@300;400;500&display=swap');

:root {
    --midnight: #030712;
    --deep-blue: #07162f;
    --campfire-dark: #1c0d07;
    --saloon-wood: #2a170d;
    --burnt-orange: #c65f22;
    --ember: #e07a2f;
    --paper: #efe2c8;
    --dust: #a58b6a;
    --muted-blue: #72829b;

    --font-western: 'Rye', 'Vintage Warehouse', serif;
    --font-body: 'Space Mono', monospace;
    --font-clean: 'Work Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 50% 100%, rgba(198,95,34,0.16), transparent 34%),
        radial-gradient(circle at 20% 15%, rgba(114,130,155,0.08), transparent 30%),
        linear-gradient(180deg, var(--midnight) 0%, #071226 48%, #160b06 100%);
    color: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}

/* BURNT ORANGE ASTERISK SKY */
body::before {
    content: "*   *  *   *     *    *    *  *   *    *   *     *     *   *     *     *\A
              *        *     *   *      *    *      *   *    *\A
        *    *      *   *     *     *     *      *    *      *   *   *\A
    *        *                  *          *  *      *          *\A
    *      *        *        *       *          *       *";
    white-space: pre;
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    color: rgba(198, 95, 34, 0.28);
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: 2.2rem;
    line-height: 7.5rem;
    transform: rotate(-2deg) scale(1.08);
    opacity: 0.65;
    text-shadow: 0 0 8px rgba(224,122,47,0.35);
}

/* SUBTLE FILM GRAIN */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* NAVBAR */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.2rem 3rem;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(5, 9, 18, 0.9);
    border-bottom: 1px solid rgba(198, 95, 34, 0.24);
    backdrop-filter: blur(8px);
}

.nav-left {
    justify-self: start;
}

.nav-right {
    justify-self: end;
}

.nav-logo {
    justify-self: center;
    color: var(--paper);
    text-decoration: none;
    font-family: var(--font-western);
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dropdown-btn,
.btn-nav-contact,
.nav-back-btn {
    background: rgba(42, 23, 13, 0.42);
    border: 1px solid rgba(198, 95, 34, 0.3);
    color: var(--dust);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dropdown-btn:hover,
.btn-nav-contact:hover,
.nav-back-btn:hover {
    color: var(--paper);
    border-color: rgba(224, 122, 47, 0.75);
    background: rgba(198, 95, 34, 0.16);
    box-shadow: 0 0 10px rgba(224, 122, 47, 0.14);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 0;
    left: 0;
    min-width: 220px;
    background: rgba(17, 14, 12, 0.97);
    border: 1px solid rgba(198, 95, 34, 0.28);
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}



.dropdown-content a {
    display: block;
    color: var(--dust);
    padding: 1rem 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    color: var(--paper);
    background: rgba(198, 95, 34, 0.13);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

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

.hero-video {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: saturate(0.72) contrast(1.08) brightness(0.68);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(3, 7, 18, 0.62), rgba(7, 18, 38, 0.42), rgba(28, 13, 7, 0.88)),
        linear-gradient(90deg, rgba(3, 7, 18, 0.78), transparent 35%, transparent 65%, rgba(3, 7, 18, 0.78));
}

.hero::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -14%;
    height: 40%;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(224, 122, 47, 0.28), rgba(198, 95, 34, 0.13) 38%, transparent 72%);
    filter: blur(10px);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 950px;
    padding: 6rem 2rem 2rem;
    overflow: visible;
}

.hero-label-top {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: -.4rem;
}

.hero h1 {
    font-family: var(--font-western);
    font-size: clamp(3rem, 8vw, 6.2rem);
    line-height: 1.3;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    margin: 0;
    padding: 0.1em 0 0.08em;
    overflow: visible;

    color: transparent;
    background-image:
        repeating-linear-gradient(
            178deg,
            rgba(239, 226, 200, 1) 0px,
            rgba(239, 226, 200, 1) 7px,
            rgba(198, 95, 34, 0.62) 8px,
            rgba(239, 226, 200, 1) 10px,
            rgba(239, 226, 200, 1) 18px
        );
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-quote {
    max-width: 650px;
    margin: -0.8rem auto 3rem;
    color: #d3bd9a;
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.04em;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 0.85rem 2.1rem;
    color: var(--paper);
    text-decoration: none;
    border: 1px solid rgba(198, 95, 34, 0.75);
    border-radius: 999px;
    background: rgba(42, 23, 13, 0.42);
    text-transform: uppercase;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    color: #160b06;
    background: var(--ember);
    border-color: var(--ember);
    box-shadow: 0 0 12px rgba(224, 122, 47, 0.18);
    transform: translateY(-2px);
}

/* SECTIONS */
.films,
.split-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.5rem 3rem;
    scroll-margin-top: 6rem;
}

.films h2,
.showcase-column h2,
.footer h2,
.subpage-header h1,
.contact-modal-box h2,
.about-text-box h1 {
    font-family: var(--font-western);
    color: var(--paper);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.films h2,
.showcase-column h2,
.footer h2 {
    color: transparent;
    background-image:
        repeating-linear-gradient(
            180deg,
            rgba(239, 226, 200, 1) 0px,
            rgba(239, 226, 200, 1) 8px,
            rgba(198, 95, 34, 0.38) 9px,
            rgba(239, 226, 200, 1) 11px,
            rgba(239, 226, 200, 1) 20px
        );
    -webkit-background-clip: text;
    background-clip: text;
}

.films h2 {
    font-size: 2.5rem;
    margin-bottom: 2.7rem;
}

/* SALOON SIGN DIVIDERS */
.split-showcase,
.footer {
    border-top: none !important;
    position: relative;
}

.subpage-header::before,
.split-showcase::before,
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 3rem;
    right: 3rem;
    height: 4px;
    border: 1px solid rgba(198, 95, 34, 0.42);
    border-left-width: 8px;
    border-right-width: 8px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(198, 95, 34, 0.12),
            transparent
        );
}

.film-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
}

/* CARDS */
.film-card,
.showcase-card,
.contact-card,
.card-details {
    background:
        linear-gradient(180deg, rgba(14, 22, 38, 0.9), rgba(38, 20, 11, 0.92));
    border: 1px solid rgba(198, 95, 34, 0.24);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
}

.film-card {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.film-card:hover,
.showcase-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(224, 122, 47, 0.58);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

.film-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-thumb,
.showcase-card img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
    filter: saturate(0.72) contrast(1.08);
}

.film-card:hover .card-thumb,
.showcase-card:hover img {
    transform: scale(1.045);
    filter: saturate(0.92) contrast(1.12);
}

.film-card h3 {
    padding: 1.15rem 1.2rem 0.25rem;
    font-size: 1rem;
    color: var(--paper);
}

.film-card p {
    padding: 0 1.2rem 1.25rem;
    font-size: 0.82rem;
    color: var(--dust);
}

.section-action {
    text-align: center;
    margin-top: 1rem;
}

/* SPLIT SHOWCASE */
.split-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.showcase-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase-column h2 {
    font-size: 2.25rem;
    margin-bottom: 2.4rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    width: 100%;
    margin-bottom: 2.4rem;
}

.showcase-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

/* PLAY OVERLAY */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 8, 7, 0.58);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 5;
    transition: opacity 0.25s ease;
}

.showcase-card:hover .play-overlay,
.film-thumbnail-wrapper:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    color: var(--paper);
    font-size: 2rem;
    transition: transform 0.25s ease;
}

.showcase-card:hover .play-icon,
.film-card:hover .play-icon {
    transform: scale(1.12);
}

/* MODALS */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at center, rgba(28, 13, 7, 0.56), rgba(3, 7, 18, 0.96));
    animation: fadeInModal 0.25s ease forwards;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 850px;
    padding: 3rem 2rem;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(10, 14, 24, 0.98), rgba(34, 18, 10, 0.96));
    border: 1px solid rgba(198, 95, 34, 0.32);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.82);
    animation: slideUpModal 0.25s ease forwards;
}

.modal-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    border: 1px solid rgba(198, 95, 34, 0.25);
}

.modal-video-container iframe {
    width: 100%;
    height: 100%;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--dust);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--ember);
}

.photo-lightbox-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 75% !important;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(198, 95, 34, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(239, 226, 200, 0.42);
    font-size: 3rem;
    cursor: pointer;
    padding: 2rem;
    user-select: none;
    z-index: 2200;
    transition: all 0.2s ease;
}

.modal-arrow:hover {
    color: var(--ember);
    transform: translateY(-50%) scale(1.06);
}

.prev-arrow {
    left: 1.5rem;
}

.next-arrow {
    right: 1.5rem;
}

/* CONTACT */
.contact-modal-box {
    max-width: 520px;
    text-align: center;
}

.contact-modal-box h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-modal-box p,
.footer p {
    color: var(--dust);
    font-size: 0.9rem;
}

.contact-methods,
.footer-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.footer-contact-methods {
    max-width: 520px;
    margin: 2.5rem auto 0;
}

.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.35rem;
    border-radius: 12px;
    color: var(--paper);
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-icon-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    color: var(--ember);
    text-transform: uppercase;
}

.contact-value {
    color: #d8c29f;
    font-size: 0.86rem;
}

/* FOOTER */
.footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 6rem 3rem;
    margin-top: 4rem;
    width: 100% !important;
    background:
        radial-gradient(circle at center top, rgba(198, 95, 34, 0.09), transparent 38%);
    scroll-margin-top: 6rem;
}

.footer h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* FLOATING SOCIALS */
.fixed-socials {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fixed-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(28, 13, 7, 0.56);
    border: 1px solid rgba(198, 95, 34, 0.28);
    transition: all 0.25s ease;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--dust);
    transition: all 0.25s ease;
}

.fixed-socials a:hover {
    border-color: rgba(224, 122, 47, 0.65);
    background: rgba(198, 95, 34, 0.14);
    transform: translateY(-3px);
}

.fixed-socials a:hover .social-icon {
    color: var(--ember);
}

/* SUBPAGES */
.subpage {
    padding-top: 8rem;
}

.subpage-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.subpage-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subpage-header p {
    color: var(--dust);
    font-size: 0.95rem;
}

.showroom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
}

.showcase-grid-extended {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.card-details {
    padding: 1.2rem;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.card-details h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.card-details p {
    font-size: 0.85rem;
    color: var(--dust);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 3rem 6rem;
    align-items: center;
}

.about-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(198, 95, 34, 0.28);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.about-text-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-tag {
    color: var(--ember);
    text-transform: uppercase;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    margin-bottom: 1rem;
}

.about-text-box h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-text-box p {
    color: #d0b894;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ANIMATIONS */
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal {
    from {
        transform: translateY(24px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .navbar {
        padding: 1rem 1.25rem;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    .split-showcase,
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .film-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    body::before {
        font-size: 0.9rem;
        letter-spacing: 1.5rem;
        line-height: 6.5rem;
    }
}

@media (max-width: 560px) {
    .navbar {
        grid-template-columns: auto auto auto;
        gap: 0.45rem;
        padding: 0.85rem 0.7rem;
    }

    .dropdown-btn,
    .btn-nav-contact {
        display: inline-block;
        padding: 0.45rem 0.62rem;
        font-size: 0.55rem;
        letter-spacing: 0.07em;
        white-space: nowrap;
    }

    .nav-logo {
        font-size: 0.82rem;
        letter-spacing: 0.03em;
    }

    .hero-content {
        padding-top: 5.5rem;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 17vw, 4.6rem);
        line-height: 1.2;
    }

    .hero-label-top {
        font-size: 0.62rem;
        letter-spacing: 0.24em;
        margin-bottom: 0.7rem;
    }

    .films,
    .split-showcase,
    .footer {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .film-grid,
    .showcase-grid,
    .showcase-grid-extended {
        grid-template-columns: 1fr !important;
    }

    .split-showcase::before,
    .footer::before {
        left: 1.4rem;
        right: 1.4rem;
        height: 11px;
    }

    .fixed-socials {
        right: 1rem;
        bottom: 1rem;
        flex-direction: row;
    }

    .modal-arrow {
        font-size: 2rem;
        padding: 0.75rem;
    }

    .prev-arrow {
        left: 0.25rem;
    }

    .next-arrow {
        right: 0.25rem;
    }

    .photo-lightbox-content {
        max-width: 88% !important;
    }

    body::before {
        font-size: 0.8rem;
        letter-spacing: 1rem;
        line-height: 5rem;
    }
}
/* FINAL FIX: remove stripes, change font, keep name one line */

/* Remove striped/scratched text effect everywhere */
.hero h1,
.films h2,
.showcase-column h2,
.footer h2,
.subpage-header h1,
.contact-modal-box h2,
.about-text-box h1 {
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: var(--paper) !important;
}

/* Main title fix */
.hero h1 {
    font-family: var(--font-western) !important;
    white-space: nowrap;
    font-size: clamp(2.6rem, 9vw, 6.2rem);
    line-height: 1.15;
    padding: 0.15em 0;
    letter-spacing: 0.04em;
}

/* Give title room so top doesn't crop */
.hero-content {
    padding: 5.5rem 1.5rem 2rem;
    overflow: visible;
}

/* Keep logo readable too */
.nav-logo {
    font-family: var(--font-western) !important;
    white-space: nowrap;
}

/* Mobile: keep Jack Engel on one line */
@media (max-width: 560px) {
    .hero h1 {
        font-size: clamp(2.3rem, 15vw, 4rem);
        white-space: nowrap;
        line-height: 1.2;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .nav-logo {
        font-size: 0.78rem;
    }
}