@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&family=Courier+Prime:wght@400;700&display=swap');

:root {
    --bg: #1b1410;
    --surface: #221a14;
    --text: #f3eadf;
    --muted: #d0bfae;
    --accent: #d88a3d;
    --accent-dim: rgba(216,138,61,0.13);
    --border: rgba(255,255,255,.08);
    --border-accent: rgba(216,138,61,0.45);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-mono: 'Courier Prime', 'Courier New', monospace;
    /* legacy aliases */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --max: 1100px;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(0,0,0,.35);
    --western-parchment: #f7eed9;
    --western-wood: #2f221b;
    --western-rust: #bd6e3e;
    --western-silver: #c0c7cf;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font-body); line-height: 1.6; }

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ===== HEADER / NAV ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(27,20,16,.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
}
.brand .title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .01em;
}
.brand .tag {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.menu a {
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .02em;
    border: 1px solid transparent;
    transition: color .18s, border-color .18s, background .18s;
}
.menu a:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    background: var(--accent-dim);
}
.menu a[aria-current="page"] {
    border-color: var(--border-accent);
    color: var(--accent);
    background: var(--accent-dim);
}

main { padding: 0 0 80px; }

/* ===== CARDS ===== */
.card {
    background: rgba(255,255,255,.033);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.pad { padding: 26px 28px; }

/* ===== TYPOGRAPHY ===== */
.h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 12px;
    letter-spacing: -.01em;
}
.h2 {
    font-family: var(--font-display);
    font-size: clamp(21px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -.005em;
}
.lede {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
}
.small {
    color: var(--muted);
    font-size: 13px;
    opacity: .8;
    line-height: 1.5;
}
.sub {
    color: var(--muted);
    font-size: 13px;
    font-family: var(--font-mono);
    letter-spacing: .04em;
    margin: 0 0 16px;
    text-transform: uppercase;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent);
    margin: 0 0 8px;
    display: block;
}

/* ===== BUTTONS ===== */
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row-center { justify-content: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.04);
    cursor: pointer;
    color: var(--text);
    font-size: 13.5px;
    font-family: var(--font-body);
    letter-spacing: .025em;
    transition: color .18s, border-color .18s, background .18s, transform .15s;
}
.btn:hover {
    border-color: var(--border-accent);
    color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-1px);
}
.btn.primary {
    background: var(--accent-dim);
    border-color: var(--border-accent);
    color: var(--accent);
}
.btn.primary:hover {
    background: rgba(216,138,61,.22);
    border-color: var(--accent);
}

/* ===== EMBED ===== */
.embed {
    aspect-ratio: 16/9;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0,0,0,.3);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    color: var(--muted);
    font-size: 13px;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-links .dot { color: rgba(255,255,255,.22); }
footer a:hover { color: var(--accent); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    padding: 56px 0 44px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 44px;
}
.page-hero .lede { max-width: 660px; margin-bottom: 0; }
.page-hero-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.page-hero-rule span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--accent);
    opacity: .85;
}
.page-hero-rule::before,
.page-hero-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-accent);
    opacity: .4;
    max-width: 40px;
}
.page-hero-rule::after { display: none; }
.page-hero-divider {
    width: 44px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 18px;
}

/* ===== SECTIONS ===== */
.section { margin-top: 44px; }
.section > .h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}

/* ===== GRID (cast / crew) ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ===== PROFILE CARDS ===== */
.card.profile {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card.profile img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--western-wood);
}
.card.profile .meta {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card.profile .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 3px;
    color: var(--text);
}
.card.profile .role {
    font-family: var(--font-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin: 0 0 10px;
}
.card.profile .bio {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    display: block;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ===== STILLS GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.gallery img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--western-wood);
    display: block;
    transition: transform .22s, filter .22s;
}
.gallery img:hover {
    transform: scale(1.025);
    filter: brightness(1.08);
}

/* ===== CONTACT FORM ===== */
.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-family: var(--font-mono);
}
.field input,
.field textarea {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 10px 14px;
    outline: none;
    transition: border-color .18s, background .18s;
    resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(243,234,223,.3); }
.field input:focus,
.field textarea:focus {
    border-color: var(--border-accent);
    background: rgba(216,138,61,.05);
}
.field textarea { min-height: 120px; }

/* ===== HOME: parallax hero ===== */
.intro {
    position: relative;
    height: calc(100vh - 52px);
    min-height: 620px;
    overflow: hidden;
}
.intro-bg {
    position: absolute;
    inset: -16% 0 -16% 0;
    background-size: cover;
    background-position: 30% 20%;
    transform: translateY(0px);
    will-change: transform;
}
.intro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.42) 50%, rgba(0,0,0,.82));
}
.intro-bars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}
.intro-bars .bar {
    width: clamp(16px, 3.5vw, 48px);
    background: rgba(0,0,0,.80);
}
.intro-center {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 0;
}
.intro-logo {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1400ms ease, transform 1400ms ease;
    text-align: center;
    max-width: 880px;
    padding: 0 28px;
}
.intro-logo.is-visible { opacity: 1; transform: translateY(0); }
.logo-eyebrow {
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--accent);
    margin: 0 0 18px;
    opacity: .9;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -.01em;
    font-size: clamp(40px, 6.5vw, 82px);
    line-height: 1.05;
    margin: 0 0 16px;
    text-shadow: 0 2px 28px rgba(0,0,0,.65);
}
.logo-sub {
    color: rgba(255,255,255,.68);
    font-size: 16px;
    font-style: italic;
    font-family: var(--font-display);
    letter-spacing: .01em;
    line-height: 1.4;
}

/* ===== HOME SECTIONS ===== */
.home-section { padding: 18px 0; }
.center { text-align: center; }

/* ===== SCROLL HEADER ===== */
.scroll-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 4px;
}
.scroll-header .h2 { margin-bottom: 0; }
.scroll-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    opacity: .65;
}

/* ===== INSTAGRAM SCROLL LOOPS ===== */
.ig-scroll-container {
    background: rgba(0,0,0,.20);
    border-radius: 18px;
    padding: 6px 0 2px;
    margin-top: 14px;
    overflow: hidden;
}
.ig-horizontal-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 14px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #221a14;
    cursor: grab;
}
.ig-horizontal-scroll:active { cursor: grabbing; }
.ig-horizontal-scroll::-webkit-scrollbar { height: 4px; }
.ig-horizontal-scroll::-webkit-scrollbar-track {
    background: #221a14;
    border-radius: 10px;
}
.ig-horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
.ig-card {
    flex: 0 0 255px;
    scroll-snap-align: start;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    border: 1px solid var(--border-accent);
    transition: transform .22s, filter .22s, border-color .22s;
    overflow: hidden;
}
.ig-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.06);
    border-color: var(--accent);
}
.ig-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--western-wood);
}
.ig-card-info { padding: 11px 13px 13px; }
.ig-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .93rem;
    margin: 0 0 3px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}
.ig-role {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .06em;
    flex-shrink: 0;
}
.ig-bio {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.stills-scroll .ig-card { flex: 0 0 225px; }
.stills-scroll .ig-card-img { aspect-ratio: 4 / 5; }

.loop-hint {
    font-size: 0.67rem;
    color: var(--muted);
    margin-top: 8px;
    margin-right: 14px;
    opacity: .55;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-family: var(--font-mono);
    letter-spacing: .04em;
    padding-bottom: 6px;
}
.loop-hint span {
    background: rgba(0,0,0,.3);
    padding: 2px 8px;
    border-radius: 40px;
}

/* ===== BULLETIN MODAL (Wanted Poster) ===== */
.bulletin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s .2s, opacity .3s ease;
    font-family: var(--font-body);
}
.bulletin-overlay.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s 0s, opacity .3s ease;
}
.bulletin-card {
    background: #fdf1df;
    background-image: repeating-linear-gradient(45deg,
        rgba(0,0,0,.016) 0px, rgba(0,0,0,.016) 2px,
        transparent 2px, transparent 10px);
    width: min(92%, 480px);
    padding: 2.2rem 2.2rem 2.4rem;
    border-radius: 4px 26px 4px 26px;
    box-shadow: 0 28px 60px rgba(0,0,0,.65), inset 0 1px 3px rgba(255,255,200,.4);
    border: 10px double #b87c4a;
    text-align: center;
    transform: scale(.92);
    transition: transform .28s cubic-bezier(.2,.9,.4,1.1);
}
.bulletin-overlay.active .bulletin-card { transform: scale(1); }
.wanted-stamp {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 8px;
    color: #ac3a2e;
    display: inline-block;
    padding: 0 8px;
    transform: rotate(-5deg);
    margin-bottom: .5rem;
    text-shadow: 1px 1px 0 rgba(0,0,0,.12);
}
.bulletin-card h2 {
    font-family: var(--font-display);
    font-size: 1.95rem;
    margin: .15rem 0 .5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #2c1a12;
    letter-spacing: .01em;
    line-height: 1.1;
}
.bulletin-deco {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 12px;
}
.bulletin-deco-line {
    flex: 1;
    height: 1px;
    background: #b87c4a;
    opacity: .45;
}
.bulletin-deco-star {
    font-family: var(--font-mono);
    color: #8b5a2b;
    font-size: 1rem;
    opacity: .7;
}
.bulletin-card p {
    color: #2c1e16;
    font-size: .93rem;
    margin: .65rem 0;
    line-height: 1.55;
    font-family: var(--font-body);
}
.bulletin-card p em {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
}
.bullet-divider {
    width: 44px;
    height: 2px;
    background: #b87c4a;
    margin: 8px auto;
    opacity: .6;
}
.close-bulletin {
    background: #8b5a2b;
    border: none;
    color: #faeec2;
    font-weight: 700;
    padding: 10px 30px;
    margin-top: 18px;
    border-radius: 40px;
    font-size: .88rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.close-bulletin:hover {
    background: #c16f2e;
    transform: scale(.97);
    color: #fff;
}

/* ===== TICKER / SPECIAL THANKS BANNER ===== */
.ticker-wrap {
    overflow: hidden;
    background: var(--accent);
    padding: 10px 0;
    white-space: nowrap;
    border-top: 1px solid rgba(0,0,0,.18);
    border-bottom: 1px solid rgba(0,0,0,.18);
    margin-top: 56px;
}
.ticker-track {
    display: inline-flex;
    animation: tickerScroll 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #15100c;
    padding: 0 2.4rem;
}
.ticker-sep {
    color: rgba(0,0,0,.30);
    padding: 0 .4rem;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FILM STRIP DIVIDER ===== */
.film-strip {
    width: 100%;
    height: 34px;
    background: #0a0806;
    border-top: 2px solid rgba(200,169,110,.16);
    border-bottom: 2px solid rgba(200,169,110,.16);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 44px 0;
    position: relative;
}
.film-strip::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 14px;
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0px, transparent 18px,
        rgba(200,169,110,.18) 18px, rgba(200,169,110,.18) 19px,
        transparent 19px, transparent 22px,
        rgba(200,169,110,.1) 22px, rgba(200,169,110,.1) 40px,
        transparent 40px, transparent 44px
    );
}
.film-strip-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .30em;
    color: rgba(200,169,110,.38);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
}

/* ===== EXTRAS NAME GRID ===== */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.extras-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}
.extras-card .name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 3px;
}
.extras-card .role {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin: 0;
    opacity: .7;
}

/* ===== VERTICAL REEL (media page) ===== */
.reel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.reel-viewport {
    width: min(340px, 88vw);
    height: 78vh;
    min-height: 500px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    border-radius: 22px;
    border: 1px solid var(--border-accent);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    overscroll-behavior: contain;
    scrollbar-width: none;
    position: relative;
}
.reel-viewport::-webkit-scrollbar { display: none; }
.reel-frame {
    width: 100%;
    height: 78vh;
    min-height: 500px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    background: var(--western-wood);
}
.reel-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reel-ui {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.68) 0%, transparent 52%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 16px;
    pointer-events: none;
}
.reel-caption {
    font-family: var(--font-display);
    font-size: 13px;
    font-style: italic;
    color: rgba(255,255,255,.82);
}
.reel-counter {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255,255,255,.45);
    letter-spacing: .08em;
    margin-top: 4px;
}
.reel-side-actions {
    position: absolute;
    right: 12px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    pointer-events: none;
}
.reel-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.reel-action-icon {
    font-size: 20px;
    color: rgba(255,255,255,.75);
}
.reel-action-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
}
.reel-hint {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    opacity: .55;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
    .ig-card { flex: 0 0 210px; }
    .stills-scroll .ig-card { flex: 0 0 185px; }
    .intro { min-height: 520px; }
    .pad { padding: 20px 18px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .page-hero { padding: 36px 0 28px; margin-bottom: 28px; }
    .nav { flex-wrap: wrap; }
}
