/* ============================================================
   DESKURA PHOTOGRAPHY — cinematic / film-noir portfolio
   ============================================================ */

:root {
    --black:      #0B0A08;
    --charcoal:   #17140F;
    --charcoal-2: #201C15;
    --paper:      #EFE9DC;
    --paper-dim:  #C9C2B2;
    --grey:       #948C7D;
    --safelight:  #C23B3B;
    --safelight-dim: #7A2626;
    --amber:      #D9A94E;
    --line:       rgba(239, 233, 220, 0.14);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Inter', -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    background: var(--black);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--safelight); color: var(--paper); }

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

.section-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--safelight);
    margin: 0 0 10px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    margin: 0;
    color: var(--paper);
}

h1 em, h2 em { font-style: italic; font-weight: 500; }

h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }

p { color: var(--paper-dim); }

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--safelight);
    color: var(--paper);
}
.btn-primary:hover { background: #a92f2f; }

.btn-outline {
    border-color: var(--line);
    color: var(--paper);
}
.btn-outline:hover { border-color: var(--paper); }


/* ---------- FRAME COUNTER (fixed corner chrome) ---------- */

.frame-counter {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 40;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--grey);
    background: rgba(11, 10, 8, 0.6);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.fc-label { letter-spacing: 0.1em; }
.fc-num { color: var(--paper); font-size: 13px; }

@media (max-width: 640px) {
    .frame-counter { display: none; }
}


/* ---------- HEADER / NAV ---------- */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    height: var(--header-h);
    background: linear-gradient(to bottom, rgba(11,10,8,0.85), rgba(11,10,8,0));
    transition: background 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(11, 10, 8, 0.92);
    border-color: var(--line);
    backdrop-filter: blur(8px);
}

.navbar {
    max-width: 1180px;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brandmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brandmark-word {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.02em;
    color: var(--paper);
}
.brandmark-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--safelight);
    margin-top: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-size: 14px;
    color: var(--paper-dim);
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--paper); }
.nav-cta {
    padding: 10px 18px;
    border: 1px solid var(--safelight);
    color: var(--paper) !important;
}
.nav-cta:hover { background: var(--safelight); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    height: 1px;
    background: var(--paper);
    width: 100%;
}

@media (max-width: 880px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--charcoal);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.is-open { max-height: 400px; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 16px 32px;
        border-bottom: 1px solid var(--line);
    }
    .nav-cta { border: none; padding: 16px 32px; }
}


/* ---------- HERO SLIDESHOW ---------- */

.hero {
    position: relative;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    background: var(--black);
}

.sprocket-strip {
    position: absolute;
    left: 0; right: 0;
    height: 14px;
    z-index: 5;
    background-color: var(--black);
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent 10px,
        var(--charcoal-2) 10px,
        var(--charcoal-2) 22px
    );
}
.sprocket-top { top: 0; }
.sprocket-bottom { bottom: 0; }

@media (max-width: 640px) {
    .sprocket-strip { height: 9px; }
}

.hero-slides {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(11,10,8,0.15) 0%, rgba(11,10,8,0.75) 100%),
        linear-gradient(to top, rgba(11,10,8,0.95) 0%, rgba(11,10,8,0.25) 45%, rgba(11,10,8,0.55) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 32px 96px;
    text-align: center;
}

.exposure-line {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--amber);
    margin: 0 0 18px;
}

.hero h1 {
    font-size: clamp(38px, 6.5vw, 68px);
    line-height: 1.08;
    color: var(--paper);
}

.hero-copy {
    max-width: 480px;
    margin: 20px auto 0;
    color: var(--paper-dim);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(11,10,8,0.4);
    color: var(--paper);
    font-size: 22px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-nav:hover { border-color: var(--paper); background: rgba(11,10,8,0.7); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

@media (max-width: 640px) {
    .hero-nav { display: none; }
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grey);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, width 0.2s ease;
}
.hero-dot.is-active {
    background: var(--safelight);
    width: 18px;
    border-radius: 3px;
}


/* ---------- SECTION HEADING (shared) ---------- */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.roll-count {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--grey);
    text-align: right;
}
.roll-count strong {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--paper);
    font-weight: 500;
    margin-top: 4px;
}


/* ---------- FEATURED FILMSTRIP ---------- */

.reel-section {
    padding: 100px 0 90px;
    border-top: 1px solid var(--line);
}
.reel-section .section-container { margin-bottom: 0; }
.reel-hint {
    font-size: 13px;
    color: var(--grey);
    margin: 0 0 4px;
}

.filmstrip-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
}

.filmstrip {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 14px 0 22px;
    background: var(--charcoal);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
    scrollbar-color: var(--safelight-dim) var(--charcoal);
}
.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--safelight-dim); }

.film-frame {
    position: relative;
    flex: 0 0 auto;
    width: 260px;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
    background: var(--charcoal-2);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--line);
}
.film-frame img, .film-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: saturate(0.85) contrast(1.05);
}
.film-frame:hover img,
.film-frame:hover video {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.1);
}
.film-frame-num {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--paper);
    background: rgba(11,10,8,0.55);
    padding: 3px 7px;
}

.strip-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--paper);
    font-size: 20px;
    cursor: pointer;
}
.strip-nav:hover { border-color: var(--paper); }

@media (max-width: 640px) {
    .filmstrip-wrap { padding: 0 12px; }
    .film-frame { width: 200px; }
    .strip-nav { width: 32px; height: 32px; font-size: 16px; }
}


/* ---------- FULL PORTFOLIO / CONTACT SHEET ---------- */

.portfolio-section {
    padding: 100px 0;
    border-top: 1px solid var(--line);
}

.contact-sheet {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--line);
}
@media (max-width: 900px) { .contact-sheet { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .contact-sheet { grid-template-columns: repeat(2, 1fr); } }

.sheet-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--charcoal);
    overflow: hidden;
    cursor: pointer;
}
.sheet-frame img, .sheet-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05) brightness(0.92);
    transition: transform 0.5s ease, filter 0.4s ease;
}
.sheet-frame:hover img,
.sheet-frame:hover video {
    transform: scale(1.05);
    filter: saturate(1) contrast(1.1) brightness(1);
}
.sheet-frame-num {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--grey);
}

.gallery-empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: var(--grey);
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--charcoal);
}


/* ---------- PRICING ---------- */

.pricing-section {
    padding: 100px 0;
    border-top: 1px solid var(--line);
    background: var(--charcoal);
}

.rate-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line);
}

.rate-card {
    background: var(--charcoal);
    padding: 28px 22px;
    position: relative;
}
.rate-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--safelight);
}
.rate-card-duration {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--paper);
    margin: 14px 0 6px;
}
.rate-card-price {
    font-size: 26px;
    font-weight: 500;
    color: var(--paper);
    margin: 0 0 6px;
}
.rate-card-note {
    font-size: 13px;
    color: var(--grey);
    margin: 0;
}

.rate-card-footnote {
    margin-top: 28px;
    font-size: 14px;
    color: var(--grey);
    max-width: 480px;
}


/* ---------- WHY HIRE US ---------- */

.hire-section {
    padding: 110px 0;
    border-top: 1px solid var(--line);
}

.hire-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 880px) {
    .hire-grid { grid-template-columns: 1fr; }
}

.hire-section h2 {
    max-width: 520px;
    margin-bottom: 20px;
}
.hire-section > .hire-grid > div:first-child > p {
    max-width: 480px;
}

.hire-points {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hire-point {
    padding-left: 20px;
    border-left: 2px solid var(--safelight-dim);
}
.hire-point p {
    margin: 0;
    color: var(--paper-dim);
    font-size: 15px;
}

.proof-slip {
    background: var(--charcoal);
    border: 1px solid var(--line);
    padding: 40px 36px;
}
.proof-slip-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--safelight);
    margin: 0 0 14px;
}
.proof-slip h3 {
    font-size: 26px;
    margin-bottom: 14px;
}
.proof-slip-text {
    font-size: 14px;
    margin-bottom: 26px;
}
.proof-slip-btn { width: 100%; text-align: center; }


/* ---------- FOOTER ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 32px 0;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--grey);
}


/* ---------- LIGHTBOX ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(11, 10, 8, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}
.lightbox.is-open { display: flex; }

.lightbox img, .lightbox video {
    max-width: 90vw;
    max-height: 80vh;
    display: none;
    border: 1px solid var(--line);
}
.lightbox img.is-visible, .lightbox video.is-visible { display: block; }

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: var(--paper);
    font-size: 22px;
    cursor: pointer;
}

.lightbox-counter {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--grey);
}
