/* ============================================================
   SOUND & FURY — Project theme overrides for 9LE base
   Deep navy with electric-cyan duotone and warm cream type —
   echoing the cyan/teal photographic treatment and the cream
   wordmark of the pitch deck.
   ============================================================ */

:root {
    /* ---- Color palette ---- */
    --color-bg-page:        #0d1733;             /* deep navy */
    --color-bg-card:        rgba(255, 255, 255, 0.04);
    --color-bg-card-soft:   rgba(255, 255, 255, 0.07);
    --color-text:           #f0e1b5;             /* warm cream — main type */
    --color-text-muted:     rgba(240, 225, 181, 0.62);
    --color-accent:         #5dc8d8;             /* electric cyan */
    --color-accent-glow:    rgba(93, 200, 216, 0.55);
    --color-accent-warm:    #f0c46c;             /* warm gold */
    --color-accent-red:     #e07e4d;             /* rust orange */
    --color-accent-cobalt:  #6a9bd8;             /* royal blue */
    --color-divider:        rgba(255, 255, 255, 0.10);

    /* ---- Typography stack ---- */
    --font-display:         'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-hero:            'Anton', 'Bebas Neue', 'Outfit', system-ui, sans-serif;
    --font-body:            'Inter', system-ui, -apple-system, sans-serif;

    /* ---- Spacing & layout ---- */
    --container-max:        1100px;
    --card-radius:          12px;
    --card-shadow:          0 10px 36px rgba(0, 0, 0, 0.55);
}

/* ---- Page background ---- */
body {
    background: var(--color-bg-page);
    font-family: var(--font-body);
    color: var(--color-text);
    /* subtle vignette to echo the deck's grainy duotone backgrounds */
    background-image:
        radial-gradient(ellipse at top, rgba(93, 200, 216, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(13, 23, 51, 0.6), transparent 70%);
}

/* ---- Headings ---- */
h1, h2, h3, h4 {
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.4rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.4rem, 1.55rem); }
h4 { font-size: clamp(1rem, 0.8vw + 0.3rem, 1.2rem); font-weight: 700; }

/* ---- Hero wordmark ---- */
.wordmark {
    font-family: var(--font-hero);
    font-weight: 400;
    letter-spacing: 0.015em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-text);
}
.wordmark--xl  { font-size: clamp(3.2rem, 8.5vw, 7rem); }
.wordmark--lg  { font-size: clamp(2.4rem, 5vw, 4.4rem); }

.eyebrow {
    font-family: var(--font-display);
    font-size: clamp(0.78rem, 0.4vw + 0.7rem, 0.92rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    font-weight: 600;
}

/* ---- Container ---- */
main.snf-pitch {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: clamp(1.2rem, 3vw, 2.4rem);
}

/* ---- Generic card ---- */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-divider);
    border-radius: var(--card-radius);
    padding: clamp(1.4rem, 3.5vw, 2.6rem);
    box-shadow: var(--card-shadow);
}
.card + .card { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ============================================================
   COVER — uses the deck's title artwork as a full poster image
   ============================================================ */
.snf-cover {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    display: block;
}
.snf-cover__poster {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 9LE logo top-left (white, glows on hover — same pattern as the other 9LE projects) */
.hero-9le {
    position: absolute;
    top: clamp(1rem, 2.5vw, 1.75rem);
    left: clamp(1rem, 2.5vw, 1.75rem);
    z-index: 4;
    width: clamp(72px, 7vw, 100px);
    height: auto;
    line-height: 0;
}
.hero-9le img {
    width: 100%; height: auto; display: block;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transition: filter .25s ease;
}
.hero-9le:hover img,
.hero-9le:focus-visible img {
    filter:
        brightness(0) invert(1)
        drop-shadow(0 0 18px rgba(93,200,216,0.85))
        drop-shadow(0 0 8px rgba(93,200,216,0.55))
        drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
@media (max-width: 720px) { .hero-9le { width: clamp(64px, 14vw, 88px); } }

/* ============================================================
   POSTER SPREAD — image-only sections (deck title pages)
   The image already contains the headline + S&F wordmark;
   we just frame it. No overlay, no extra text.
   ============================================================ */
.snf-poster {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    aspect-ratio: 16 / 9;
    background: #000;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.snf-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================================
   CONTENT SPREAD — full-bleed bg image with overlaid text.
   Text sits in a left-anchored column; the right side stays
   visible so the baked-in "Sound & Fury" wordmark in each
   image's bottom-right corner remains uncovered.
   ============================================================ */
.snf-spread {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: #000;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    min-height: clamp(380px, 52vw, 580px);
    display: flex;
    align-items: center;
    isolation: isolate;
}
.snf-spread__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;  /* anchor right side so bottom-right wordmark stays visible */
    display: block;
    z-index: 0;
}
.snf-spread__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(13, 23, 51, 0.94) 0%,
        rgba(13, 23, 51, 0.82) 28%,
        rgba(13, 23, 51, 0.40) 52%,
        rgba(13, 23, 51, 0.05) 72%,
        transparent 90%
    );
    z-index: 1;
    pointer-events: none;
}
.snf-spread__content {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 5vw, 3.5rem);
    width: 100%;
}
.snf-spread__inner {
    max-width: 60ch;
    width: min(62%, 60ch);
}
.snf-spread__inner h2 { color: var(--color-text); }
.snf-spread__inner .eyebrow { color: var(--color-accent); }

/* Variant: text vertically anchored to top */
.snf-spread--top { align-items: flex-start; }
.snf-spread--top .snf-spread__content { padding-top: clamp(2.5rem, 6vw, 4rem); }

/* Mobile: image becomes a background backdrop, text takes full width */
@media (max-width: 720px) {
    .snf-spread {
        min-height: clamp(560px, 110vw, 760px);
    }
    .snf-spread__img { object-position: 70% center; }
    .snf-spread__overlay {
        background: linear-gradient(
            180deg,
            rgba(13, 23, 51, 0.55) 0%,
            rgba(13, 23, 51, 0.78) 35%,
            rgba(13, 23, 51, 0.92) 65%,
            rgba(13, 23, 51, 0.96) 100%
        );
    }
    .snf-spread__inner { max-width: 100%; width: 100%; }
    .snf-spread { align-items: flex-end; }
}

/* ============================================================
   GENERIC SECTION TYPES
   ============================================================ */
.snf-section__head { margin-bottom: clamp(1rem, 2vw, 1.6rem); }
.snf-section__head h2 { color: var(--color-text); }

.snf-lede {
    font-size: clamp(1rem, 0.6vw + 0.8rem, 1.18rem);
    line-height: 1.65;
    color: var(--color-text);
    max-width: 80ch;
}
p { line-height: 1.7; color: var(--color-text); }
p + p { margin-top: 0.85rem; }

/* hero strip image (top of card) */
.snf-hero-strip {
    width: 100%;
    aspect-ratio: 21 / 7;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}
.snf-hero-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* split layout: image left, text right */
.snf-split {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 1.4fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.snf-split--reverse { grid-template-columns: 1.4fr minmax(220px, 1fr); }
.snf-split__image img {
    width: 100%; border-radius: 8px;
    box-shadow: 0 12px 38px rgba(0,0,0,0.55);
}
@media (max-width: 760px) {
    .snf-split, .snf-split--reverse { grid-template-columns: 1fr; }
    .snf-split--reverse .snf-split__image { order: -1; }
}

/* ============================================================
   PULL QUOTE BANNER — large display lines like deck title pages
   ============================================================ */
.snf-banner {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    aspect-ratio: 16 / 6;
    min-height: 240px;
    display: grid;
    place-items: center;
    text-align: center;
    background-position: center;
    background-size: cover;
    box-shadow: var(--card-shadow);
}
.snf-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,23,51,0.55) 0%, rgba(13,23,51,0.7) 100%);
}
.snf-banner__text {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-text);
    line-height: 1.05;
    letter-spacing: -0.01em;
    font-size: clamp(1.6rem, 4vw + 0.5rem, 3.2rem);
    padding: 1rem clamp(1rem, 4vw, 2.4rem);
    max-width: 22ch;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.snf-grid { display: grid; gap: clamp(0.9rem, 2vw, 1.4rem); margin-top: 1.2rem; }
.snf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.snf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.snf-grid--4 { grid-template-columns: repeat(2, 1fr); }
.snf-grid--5 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 980px) { .snf-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .snf-grid--2, .snf-grid--3, .snf-grid--4, .snf-grid--5 { grid-template-columns: 1fr; }
}

.snf-card {
    padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2.2vw, 1.8rem);
    background: var(--color-bg-card-soft);
    border: 1px solid var(--color-divider);
    border-radius: 10px;
    transition: border-color .2s, transform .2s;
}
.snf-card h3, .snf-card h4 {
    color: var(--color-accent);
    margin-bottom: 0.55rem;
}
.snf-card h4 { font-size: 1.1rem; }
.snf-card p { color: var(--color-text); line-height: 1.6; font-size: 0.95rem; }
.snf-card--accent-red h3,    .snf-card--accent-red h4    { color: var(--color-accent-red); }
.snf-card--accent-cobalt h3, .snf-card--accent-cobalt h4 { color: var(--color-accent-cobalt); }
.snf-card--accent-warm h3,   .snf-card--accent-warm h4   { color: var(--color-accent-warm); }

/* "thin top bar" treatment */
.snf-card--barred {
    position: relative;
    padding-top: clamp(1.5rem, 2.6vw, 2rem);
}
.snf-card--barred::before {
    content: '';
    position: absolute;
    top: 0; left: 1.2rem; right: 1.2rem;
    height: 4px;
    background: var(--color-accent);
    border-radius: 0 0 4px 4px;
}
.snf-card--barred.snf-card--accent-red::before    { background: var(--color-accent-red); }
.snf-card--barred.snf-card--accent-cobalt::before { background: var(--color-accent-cobalt); }
.snf-card--barred.snf-card--accent-warm::before   { background: var(--color-accent-warm); }

/* ============================================================
   CAST GRID (3 cols, image-on-top cards with portrait headshots)
   ============================================================ */
.snf-cast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-top: 1.2rem;
}
@media (max-width: 980px) { .snf-cast { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .snf-cast { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto;} }
.snf-cast__photo {
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    margin-bottom: 0.85rem;
}
.snf-cast__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snf-cast h3 {
    color: var(--color-accent);
    margin-bottom: 0.15rem;
    font-size: 1.18rem;
}
.snf-cast .role {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.7rem;
    font-weight: 600;
}
.snf-cast p { font-size: 0.92rem; color: var(--color-text); line-height: 1.55; }

/* ============================================================
   TEAM ROWS (Director + Producer bios)
   ============================================================ */
.snf-team-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 1.8fr;
    gap: clamp(1.3rem, 3vw, 2.4rem);
    align-items: start;
}
.snf-team-row--reverse { grid-template-columns: 1.8fr minmax(180px, 1fr); }
.snf-team-row__photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}
.snf-team-row h3 { color: var(--color-accent); margin-bottom: .15rem; }
.snf-team-row .role {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
    font-weight: 600;
}
@media (max-width: 760px) {
    .snf-team-row, .snf-team-row--reverse { grid-template-columns: 1fr; }
    .snf-team-row--reverse .snf-team-row__photo { order: -1; }
}

/* ============================================================
   BULLET LIST
   ============================================================ */
.snf-bullets { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.snf-bullets li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.6rem;
    line-height: 1.55;
}
.snf-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 1.05rem;
    width: 8px; height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent-glow);
}
.snf-bullets strong { color: var(--color-accent); font-weight: 700; }

/* ============================================================
   PULL-QUOTE
   ============================================================ */
.snf-quote {
    border-left: 3px solid var(--color-accent);
    padding: 0.6rem 0 0.6rem 1.4rem;
    font-style: italic;
    color: var(--color-text);
    margin-top: 1.2rem;
    font-size: 1.04rem;
    line-height: 1.65;
}
.snf-quote cite {
    display: block;
    margin-top: 0.7rem;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================================================
   CONTACT BLOCK
   ============================================================ */
.snf-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 1.2rem;
}
@media (max-width: 600px) { .snf-contact { grid-template-columns: 1fr; } }
.snf-contact__card {
    padding: 1.2rem 1.4rem;
    background: var(--color-bg-card-soft);
    border: 1px solid var(--color-divider);
    border-radius: 10px;
}
.snf-contact__card .role {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.snf-contact__card .name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.snf-contact__card a {
    color: var(--color-text);
    border-bottom: 1px dashed var(--color-accent-glow);
}
.snf-contact__card a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.snf-footer {
    text-align: center;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 2rem 0 1.4rem;
    opacity: 0.7;
    font-weight: 500;
}
.snf-footer a { color: inherit; border-bottom: 1px dashed rgba(240,225,181,0.25); }
.snf-footer a:hover { color: var(--color-accent); }
