/* ═══════════════════════════════════════════════════════════
   AMELAND FILMS INC. — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
    --ink: #0d0c0b;
    --paper: #f0ebe2;
    --cream: #e8e0d0;
    --gold: #b8913a;
    --gold-lt: #d4a84b;
    --dim: #6b6258;
    --rule: rgba(184, 145, 58, 0.35);
    --ff-display: "Cormorant Garamond", Georgia, serif;
    --ff-mono: "Courier Prime", "Courier New", monospace;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

/* ─── GRAIN OVERLAY ─────────────────────────────────────────── */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.55;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--ff-display);
    font-size: 18px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ─── UTILITIES ─────────────────────────────────────────────── */
.mono {
    font-family: var(--ff-mono);
}
.gold {
    color: var(--gold);
}
.dim {
    color: var(--dim);
}
.rule {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 3rem 0;
}
.section {
    padding: 6rem 2rem;
    max-width: 1060px;
    margin: 0 auto;
}
.section-border {
    border-top: 1px solid var(--rule);
}

/* ─── FADE-IN ANIMATION ─────────────────────────────────────── */
.fade {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.fade.visible {
    opacity: 1;
    transform: none;
}

/* ════════════════════════════════════════════════════════════
   HEADER / HERO
   ════════════════════════════════════════════════════════════ */
header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 2rem 5rem;
    overflow: hidden;
}

/* CSS-only cinematic background — diagonal film-light sweep */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
    /* subtle diagonal light sweep */
        linear-gradient(127deg, rgba(184, 145, 58, 0.04) 0%, transparent 55%),
        /* vignette */ radial-gradient(ellipse at 30% 40%, rgba(40, 32, 18, 0) 0%, rgba(13, 12, 11, 0.85) 70%),
        /* base */ #0d0c0b;
}

/* animated slow-moving film-light beam */
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        127deg,
        transparent 0%,
        rgba(184, 145, 58, 0.055) 38%,
        rgba(212, 168, 75, 0.03) 50%,
        transparent 62%
    );
    animation: beam 14s ease-in-out infinite alternate;
}

@keyframes beam {
    from {
        transform: translateX(-8%) skewX(-3deg);
        opacity: 0.6;
    }
    to {
        transform: translateX(8%) skewX(-3deg);
        opacity: 1;
    }
}

/* Cinematic letter-box bars */
.hero-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 7vh;
    background: var(--ink);
    box-shadow: 0 calc(100vh - 7vh) 0 0 var(--ink);
    pointer-events: none;
}

/* sprocket holes */
.sprockets {
    position: absolute;
    top: 7vh;
    bottom: 7vh;
    left: 0;
    width: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
}
.sprockets span {
    display: block;
    width: 10px;
    height: 10px;
    border: 1.5px solid rgba(184, 145, 58, 0.45);
    border-radius: 2px;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
}

.hero-label {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}
h1 em {
    font-style: italic;
    color: var(--gold-lt);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--cream);
    max-width: 540px;
    margin-top: 1.2rem;
}

.hero-location {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 2.5rem;
}

/* ════════════════════════════════════════════════════════════
   SECTION TITLES
   ════════════════════════════════════════════════════════════ */
.section-head {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}
.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.02em;
}
.section-head .num {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   DEVELOPMENT BANNER
   ════════════════════════════════════════════════════════════ */
.dev-banner {
    background: linear-gradient(135deg, #1a1510 0%, #231e15 100%);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--gold);
    padding: 2.8rem 3rem;
}
.dev-banner .label {
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}
.dev-banner h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.6rem;
}
.dev-banner p {
    color: var(--cream);
    font-size: 1.05rem;
    max-width: 560px;
}
.dev-banner .cta {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition:
        color 0.25s,
        border-color 0.25s;
}
.dev-banner .cta:hover {
    color: var(--gold-lt);
    border-color: var(--gold-lt);
}

/* ════════════════════════════════════════════════════════════
   FEATURE FILMS GRID
   ════════════════════════════════════════════════════════════ */
.films-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.film-card {
    position: relative;
    /*aspect-ratio: 16/10;*/
    overflow: hidden;
    background: #1a1510;
    cursor: pointer;
}
.film-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(40%) contrast(1.1);
    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}
.film-card:hover img {
    transform: scale(1.04);
    filter: grayscale(10%) contrast(1.05);
}

.film-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 12, 11, 0.92) 0%, rgba(13, 12, 11, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.4s;
}

.film-card-title {
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}
.film-card-meta {
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}
.film-card-cast {
    font-size: 0.9rem;
    color: var(--cream);
    margin-top: 0.4rem;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}
.film-card:hover .film-card-cast {
    opacity: 1;
    transform: none;
}

.film-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.4s ease 0.05s,
        transform 0.4s ease 0.05s;
}
.film-card:hover .film-links {
    opacity: 1;
    transform: none;
}
.film-links a {
    font-family: var(--ff-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-lt);
    text-decoration: none;
    border: 1px solid rgba(184, 145, 58, 0.4);
    padding: 0.3rem 0.6rem;
    transition:
        border-color 0.2s,
        color 0.2s;
}
.film-links a:hover {
    border-color: var(--gold-lt);
    color: #fff;
}

/* ════════════════════════════════════════════════════════════
   SHORT FILMS & EVENTS
   ════════════════════════════════════════════════════════════ */

/* Celluloid Social Club feature image */
.csc-feature {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
}
.csc-feature img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(30%) contrast(1.08);
    display: block;
    transition: filter 0.6s ease;
}
.csc-feature:hover img {
    filter: grayscale(10%) contrast(1.05);
}
.csc-feature-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(13, 12, 11, 0.88) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}
.csc-feature-caption h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    font-style: italic;
}
.csc-feature-caption a {
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        color 0.2s,
        border-color 0.2s;
}
.csc-feature-caption a:hover {
    color: var(--gold-lt);
    border-color: var(--gold-lt);
}

/* Hot Shot Shorts subsection */
.hotshot-block {
    margin-bottom: 3rem;
}
.hotshot-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}
.hotshot-header img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(50%) contrast(1.1) brightness(0.75);
    display: block;
}
.hotshot-header-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(90deg, rgba(13, 12, 11, 0.78) 0%, rgba(13, 12, 11, 0.2) 100%);
}
.hotshot-header-label .eyebrow {
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.hotshot-header-label h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.2;
}
.hotshot-header-label .years {
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--dim);
    margin-top: 0.4rem;
}

/* Shorts list */
.shorts-list {
    list-style: none;
    border-top: 1px solid var(--rule);
}
.shorts-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
}
.short-num {
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    padding-top: 0.1rem;
    align-self: start;
    padding-top: 0.25rem;
}
.short-title {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 0.2rem;
}
.short-info {
    font-size: 0.9rem;
    color: var(--cream);
}

/* Thumbnail for Anxious Oswald Greene */
.short-thumb {
    width: 100px;
    height: 68px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(40%) contrast(1.1);
    flex-shrink: 0;
    transition: filter 0.4s;
}
.shorts-list li:hover .short-thumb {
    filter: grayscale(10%);
}

/* ════════════════════════════════════════════════════════════
   COMMERCIAL CLIENTS
   ════════════════════════════════════════════════════════════ */
.clients-intro {
    font-size: 1.1rem;
    color: var(--cream);
    max-width: 560px;
    margin-bottom: 3rem;
    font-style: italic;
    line-height: 1.8;
}
.clients-marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 2rem 0;
}
.clients-marquee {
    display: flex;
    gap: 5rem;
    animation: marquee 22s linear infinite;
    white-space: nowrap;
}
.clients-marquee span {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dim);
    flex-shrink: 0;
    transition: color 0.3s;
}
.clients-marquee span:hover {
    color: var(--gold);
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ════════════════════════════════════════════════════════════
   PRODUCER PROFILE
   ════════════════════════════════════════════════════════════ */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    align-items: start;
}
.profile-photo {
    position: relative;
}
.profile-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    display: block;
}
.profile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--rule);
    pointer-events: none;
}
/* film-strip accent */
.profile-photo::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    width: 14px;
    background: repeating-linear-gradient(to bottom, #0d0c0b 0px, #0d0c0b 8px, #1a1510 8px, #1a1510 18px);
    border: 1px solid rgba(184, 145, 58, 0.2);
}

.profile-name {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
}
.profile-title {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}
.profile-bio {
    font-size: 1.02rem;
    color: var(--cream);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.profile-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}
.stat-num {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}
.stat-label {
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 0.35rem;
}

.affiliations {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}
.affiliations .aff-label {
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.aff-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.aff-list span {
    font-size: 0.85rem;
    color: var(--cream);
    border: 1px solid var(--rule);
    padding: 0.3rem 0.85rem;
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact-section {
    background: linear-gradient(135deg, #141210 0%, #1a1710 100%);
    border-top: 1px solid var(--rule);
}
.contact-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
}
.contact-heading em {
    font-style: italic;
    color: var(--gold-lt);
}
.contact-body {
    color: var(--cream);
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.8;
}

.contact-details {
    padding-top: 0.5rem;
}
.contact-line {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--rule);
}
.contact-key {
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 60px;
    flex-shrink: 0;
}
.contact-val {
    font-size: 1rem;
    color: var(--paper);
}
.contact-val a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    transition:
        color 0.2s,
        border-color 0.2s;
}
.contact-val a:hover {
    color: var(--gold-lt);
    border-color: var(--gold-lt);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--rule);
}
footer p {
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .films-grid {
        grid-template-columns: 1fr;
    }
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .profile-photo::before {
        display: none;
    }
    .contact-inner {
        grid-template-columns: 1fr;
    }
    .profile-stats {
        gap: 2rem;
    }
    .shorts-list li {
        grid-template-columns: auto 1fr;
    }
    .short-thumb {
        display: none;
    }
    .csc-feature-caption {
        flex-direction: column;
        align-items: flex-start;
    }
    .film-links a {
        border-color: var(--gold-lt);
        color: #fff;
    }
    .film-card .film-card-cast {
        opacity: 1;
        transform: none;
    }
    .film-card .film-links {
        opacity: 1;
        transform: none;
    }
    .film-card img {
        transform: scale(1.04);
        filter: grayscale(10%) contrast(1.05);
    }
}
