/* ============================================================
   ZIADFILMING — Core Design Tokens
   Cinematic, high-contrast, black-first portfolio system
   ============================================================ */

/* Google Fonts: Inter (body) + Syne (display). Substitution for
   any local font files that weren't shipped with the codebase.  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Syne:wght@700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* -------- Color: neutrals -------- */
  /* The product is essentially black with zinc ramps. */
  --black:        #000000;
  --zinc-950:     #09090b;
  --zinc-900:     #18181b;   /* card surfaces, input bg            */
  --zinc-800:     #27272a;   /* borders on dark surfaces           */
  --zinc-700:     #3f3f46;
  --zinc-600:     #52525b;   /* tertiary text / eyebrow on light   */
  --zinc-500:     #71717a;   /* body-muted text                    */
  --zinc-400:     #a1a1aa;   /* secondary text                     */
  --zinc-300:     #d4d4d8;
  --zinc-200:     #e4e4e7;
  --zinc-100:     #f4f4f5;
  --white:        #ffffff;

  /* -------- Surfaces -------- */
  --bg:           var(--black);           /* page background        */
  --bg-elev:      rgba(9, 9, 11, 0.3);    /* zinc-950/30 strip bg   */
  --surface:      var(--zinc-900);
  --surface-hi:   var(--zinc-800);

  /* -------- Foreground / text -------- */
  --fg:           var(--white);
  --fg-1:         var(--zinc-100);        /* main body text         */
  --fg-2:         var(--zinc-400);        /* secondary              */
  --fg-3:         var(--zinc-500);        /* muted/meta             */
  --fg-4:         var(--zinc-600);        /* eyebrow/tertiary       */

  /* -------- Borders -------- */
  --border:       var(--zinc-900);        /* hairlines on bg        */
  --border-hi:    var(--zinc-800);        /* visible borders        */
  --border-soft:  rgba(255,255,255,0.1);  /* on imagery             */

  /* -------- Actions -------- */
  --btn-primary-bg:       var(--white);
  --btn-primary-fg:       var(--black);
  --btn-primary-bg-hover: var(--zinc-200);
  --btn-secondary-bg:     var(--zinc-900);
  --btn-secondary-fg:     var(--white);
  --btn-secondary-bg-hover: var(--zinc-800);
  --btn-ghost-border:     rgba(255,255,255,0.2);
  --btn-ghost-bg-hover:   rgba(255,255,255,0.1);

  /* -------- Selection & focus -------- */
  --selection-bg: var(--white);
  --selection-fg: var(--black);
  --ring:         rgba(255,255,255,0.35);

  /* -------- Accent (used sparingly) -------- */
  --destructive:  #d4183d;

  /* -------- Radii -------- */
  --radius-xs:    2px;        /* film-still corners (barely)        */
  --radius-sm:    8px;
  --radius-md:    10px;       /* default "md" from shadcn base      */
  --radius-lg:    16px;       /* cards (contact CTAs)               */
  --radius-xl:    24px;
  --radius-pill:  9999px;     /* ALL cta buttons are fully rounded  */

  /* -------- Spacing scale -------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;     /* mobile gutter                            */
  --space-8:  32px;
  --space-10: 40px;     /* button pad-x                             */
  --space-12: 48px;     /* desktop gutter                           */
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;     /* section pad-y                            */
  --space-32: 128px;    /* xl section pad-y                         */
  --space-40: 160px;    /* hero breathing room                      */

  /* -------- Shadows (almost unused — this is a flat, dark UI) */
  --shadow-none:  none;
  --shadow-image: 0 40px 80px -20px rgba(0,0,0,0.6);

  /* -------- Overlays & gradients -------- */
  --overlay-hero-top:    linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 50%, #000000);
  --overlay-hover-up:    linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  --overlay-detail-btm:  linear-gradient(to top, #000000, transparent);
  --image-dim-hero:      brightness(0.4);   /* homepage hero            */
  --image-dim-detail:    brightness(0.5);   /* project detail header    */

  /* -------- Motion -------- */
  --ease-standard:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:        cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:        200ms;
  --dur-base:        300ms;
  --dur-slow:        500ms;
  --dur-image:       700ms;    /* image zoom on hover                  */
  --dur-still:       1000ms;   /* gallery still scale                  */

  /* ============================================================
     TYPOGRAPHY
     ------------------------------------------------------------ */
  --font-sans:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* weights */
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;
  --fw-black:   800;

  /* tracking — a signature of the brand */
  --tracking-tightest: -0.04em;
  --tracking-tighter:  -0.025em;
  --tracking-tight:    -0.015em;
  --tracking-normal:   0;
  --tracking-wide:     0.025em;
  --tracking-widest:   0.1em;     /* uppercase meta                     */
  --tracking-display:  0.2em;     /* 'START A PROJECT' CTAs             */
  --tracking-hero:     0.3em;     /* 'QATAR BASED FILMMAKER' kicker     */
  --tracking-letstalk: 0.5em;     /* 'START A CONVERSATION'             */

  /* leading */
  --lh-hero:    0.9;
  --lh-tight:   1.1;
  --lh-snug:    1.3;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;

  /* raw sizes — used by the semantic tokens below */
  --text-xs:    12px;
  --text-sm:    14px;
  --text-base:  16px;
  --text-lg:    18px;
  --text-xl:    20px;
  --text-2xl:   24px;
  --text-3xl:   30px;
  --text-4xl:   36px;
  --text-5xl:   48px;
  --text-6xl:   60px;
  --text-7xl:   72px;
  --text-8xl:   96px;
  --text-9xl:   128px;

  /* ----- Semantic type tokens ----- */
  /* Display / editorial — Syne, ultra-bold, uppercase, tight */
  --type-hero-size:       clamp(56px, 10vw, 144px);
  --type-hero-weight:     var(--fw-black);
  --type-hero-tracking:   var(--tracking-tightest);
  --type-hero-leading:    var(--lh-hero);

  --type-h1-size:         clamp(48px, 7vw, 96px);
  --type-h1-weight:       var(--fw-bold);
  --type-h1-tracking:     var(--tracking-tighter);
  --type-h1-leading:      var(--lh-tight);

  --type-h2-size:         clamp(36px, 5vw, 60px);
  --type-h2-weight:       var(--fw-bold);
  --type-h2-tracking:     var(--tracking-tighter);
  --type-h2-leading:      var(--lh-tight);

  --type-h3-size:         clamp(30px, 3.5vw, 48px);
  --type-h3-weight:       var(--fw-light);   /* lighter editorial pull */
  --type-h3-tracking:     var(--tracking-tight);
  --type-h3-leading:      var(--lh-snug);

  --type-card-size:       var(--text-base);
  --type-card-weight:     var(--fw-bold);
  --type-card-tracking:   var(--tracking-tight);

  /* Body / UI — Inter */
  --type-body-size:       var(--text-base);
  --type-body-weight:     var(--fw-regular);
  --type-body-leading:    var(--lh-relaxed);

  --type-lead-size:       var(--text-xl);
  --type-lead-weight:     var(--fw-light);
  --type-lead-leading:    var(--lh-relaxed);

  --type-meta-size:       var(--text-xs);
  --type-meta-weight:     var(--fw-medium);
  --type-meta-tracking:   var(--tracking-widest);

  --type-kicker-size:     var(--text-xs);
  --type-kicker-weight:   var(--fw-regular);
  --type-kicker-tracking: var(--tracking-hero);

  --type-button-size:     var(--text-sm);
  --type-button-weight:   var(--fw-bold);
  --type-button-tracking: var(--tracking-widest);

  --type-mono-size:       var(--text-sm);
}

/* ---------------- Base element styles ---------------- */

html, body { background: var(--bg); color: var(--fg-1); }

body {
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--selection-bg); color: var(--selection-fg); }

h1, .h1 {
  font-family: var(--font-display);
  font-weight: var(--type-h1-weight);
  font-size: var(--type-h1-size);
  letter-spacing: var(--type-h1-tracking);
  line-height: var(--type-h1-leading);
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: var(--type-h2-weight);
  font-size: var(--type-h2-size);
  letter-spacing: var(--type-h2-tracking);
  line-height: var(--type-h2-leading);
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
}

h3, .h3 {
  font-family: var(--font-sans);
  font-weight: var(--type-h3-weight);
  font-size: var(--type-h3-size);
  letter-spacing: var(--type-h3-tracking);
  line-height: var(--type-h3-leading);
  color: var(--fg-1);
  margin: 0;
}

p { margin: 0; }

.eyebrow, .kicker {
  font-family: var(--font-sans);
  font-size: var(--type-kicker-size);
  letter-spacing: var(--type-kicker-tracking);
  text-transform: uppercase;
  color: var(--fg-4);
}

.meta {
  font-family: var(--font-sans);
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
  letter-spacing: var(--type-meta-tracking);
  text-transform: uppercase;
  color: var(--fg-3);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--type-mono-size);
  color: var(--fg-4);
}

.lead {
  font-size: var(--type-lead-size);
  font-weight: var(--type-lead-weight);
  line-height: var(--type-lead-leading);
  color: var(--fg-2);
}

.display {
  font-family: var(--font-display);
  font-weight: var(--type-hero-weight);
  letter-spacing: var(--type-hero-tracking);
  line-height: var(--type-hero-leading);
  text-transform: uppercase;
  color: var(--fg);
}

/* ============================================================
   HERO IMAGE — clarity & rendering
   Replaces the old `filter: brightness(0.4)` crush with a
   gentler dim + layered gradient so detail survives, and adds
   perceptual sharpening tuned for the 4K source.
   ============================================================ */
.zf-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Slightly lift brightness and add micro-contrast/saturation
     so the image reads crisp instead of muddy. Gradient overlay
     above still protects text legibility. */
  filter: brightness(0.58) contrast(1.06) saturate(1.08);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: scale(1.03);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

/* Dedicated readability scrim behind hero text — keeps center
   content legible without dimming the whole frame. */
.zf-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgba(0,0,0,0.45) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 35%, transparent 65%, #000 100%);
}

/* Sharper, more legible hero title without looking over-processed. */
.zf-hero-name,
.zf-hero-sub {
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

/* ============================================================
   RESPONSIVE LAYOUT
   Mobile-first overrides for 320–430px phones, tablets, and
   small laptops. Uses !important to override the project's
   inline React styles (intentional; prototype pattern).
   ============================================================ */

/* ---------- Tablet & down (≤900px) ---------- */
@media (max-width: 900px) {
  .zf-section-inner {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .zf-about-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .zf-work-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 24px !important;
    row-gap: 48px !important;
  }
  .zf-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .zf-footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 48px !important;
  }
  .zf-footer-right {
    align-items: flex-start !important;
    text-align: left !important;
  }
}

/* ---------- Phones (≤640px) ---------- */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }

  /* Global gutters */
  .zf-section-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Navbar */
  .zf-nav {
    padding: 14px 0 !important;
  }
  .zf-nav-inner {
    padding: 0 20px !important;
  }
  .zf-nav-links-desktop { display: none !important; }
  .zf-nav-mobile-btn { display: inline-flex !important; }
  .zf-nav-logo { font-size: 17px !important; }

  /* Hero */
  .zf-hero {
    min-height: 560px !important;
    height: 100svh !important;
  }
  .zf-hero-inner {
    padding: 0 20px !important;
  }
  .zf-hero-kicker {
    font-size: 10px !important;
    letter-spacing: 0.25em !important;
  }
  .zf-hero-kicker::before,
  .zf-hero-kicker::after {
    width: 20px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
  }
  .zf-hero-name {
    font-size: clamp(40px, 13vw, 64px) !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 20px !important;
  }
  .zf-hero-sub {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 28px !important;
    padding: 0 4px;
  }
  .zf-hero-ctas {
    gap: 12px !important;
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .zf-hero-ctas > * {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    font-size: 12px !important;
  }
  /* Hide the decorative scroll indicator on small screens — it
     clashes with the stacked CTAs and collapsed hero height. */
  .zf-hero-scroll-hint { display: none !important; }

  /* Tune hero bg for mobile: less aggressive Ken Burns so detail
     stays sharp on small screens, a touch brighter than desktop. */
  .zf-hero-bg-img {
    filter: brightness(0.6) contrast(1.05) saturate(1.08) !important;
    animation-duration: 18s !important;
  }

  /* Featured cards strip */
  .zf-featured-card {
    width: 78vw !important;
    max-width: 320px !important;
    height: 440px !important;
  }
  .zf-cards-track { gap: 14px !important; }
  .zf-featured-head {
    padding: 0 20px 36px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .zf-featured-range { display: none !important; }

  /* Section headings on mobile */
  .zf-section-pad {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .zf-about-section {
    padding: 80px 0 !important;
  }
  .zf-about-h3 {
    font-size: clamp(22px, 6vw, 30px) !important;
  }
  .zf-about-p {
    font-size: 15px !important;
    margin-bottom: 28px !important;
  }
  .zf-cta-section {
    padding: 112px 0 !important;
  }
  .zf-cta-h2 {
    font-size: clamp(44px, 14vw, 72px) !important;
    margin-bottom: 32px !important;
  }
  .zf-portrait-wrap {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  /* Stats */

  /* Work */
  .zf-work-wrap {
    padding: 96px 0 80px !important;
  }
  .zf-work-grid {
    grid-template-columns: 1fr !important;
    row-gap: 40px !important;
  }
  .zf-work-h1 {
    font-size: clamp(44px, 14vw, 72px) !important;
    margin-bottom: 32px !important;
  }
  .zf-work-tabs {
    gap: 24px !important;
  }

  /* Contact */
  .zf-contact-wrap {
    padding: 112px 0 80px !important;
  }
  .zf-contact-h1 {
    font-size: clamp(48px, 16vw, 80px) !important;
    margin-bottom: 40px !important;
  }
  .zf-contact-lead {
    font-size: 17px !important;
  }
  .zf-contact-card {
    padding: 28px !important;
    height: auto !important;
    min-height: 200px !important;
    gap: 40px;
  }
  .zf-contact-outro {
    padding-top: 64px !important;
  }

  /* Project detail */

  /* Footer */
  .zf-footer-wrap {
    padding: 64px 0 !important;
  }
  .zf-footer-inner {
    padding: 0 20px !important;
  }
  .zf-footer-h2 {
    font-size: 32px !important;
  }

  /* Marquee — smaller on phones */
  .zf-marquee {
    padding: 18px 0 !important;
  }
  .zf-marquee-group span {
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
  }
  .zf-marquee-group {
    gap: 20px !important;
    padding-right: 20px !important;
  }

  /* Cards list — generic */
  .zf-card-imgwrap { border-radius: 4px; }
}

/* ---------- Very small phones (≤380px) ---------- */
@media (max-width: 380px) {
  .zf-hero-name {
    font-size: clamp(36px, 14vw, 56px) !important;
  }
  .zf-hero-sub { font-size: 14px !important; }
  .zf-section-inner,
  .zf-nav-inner,
  .zf-hero-inner,
  .zf-footer-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .zf-featured-card {
    width: 82vw !important;
    height: 400px !important;
  }
}

/* Mobile nav button — hidden on desktop by default */
.zf-nav-mobile-btn { display: none; }

/* Shared navigation and keyboard access */
.zf-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 50; padding: 28px 0; transition: padding 250ms, background 250ms; }
.zf-nav.is-scrolled { padding: 14px 0; background: rgba(0,0,0,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.zf-nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.zf-nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.zf-nav-links-desktop { display: flex; align-items: center; gap: 40px; }
.zf-nav-link { color: #a1a1aa; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; transition: color 200ms; }
.zf-nav-link:hover, .zf-nav-link[aria-current="page"] { color: #fff; }
.zf-nav-link[aria-current="page"] { border-color: #fff; }
.zf-nav-whatsapp { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border-radius: 9999px; background: #fff; color: #000; text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; transition: background 200ms; }
.zf-nav-whatsapp:hover { background: #e4e4e7; }
.zf-nav-mobile-btn { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #3f3f46; border-radius: 50%; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .zf-nav { padding: 18px 0; }
  .zf-nav-inner { padding-left: 32px; padding-right: 32px; }
  .zf-nav-links-desktop { display: none !important; }
  .zf-nav-mobile-btn { display: inline-flex !important; }
}
.zf-skip-link { position: fixed; top: 12px; left: 16px; z-index: 1000; transform: translateY(-200%); background: #fff; color: #000; padding: 12px 20px; border-radius: 4px; font-size: 14px; }
.zf-skip-link:focus { transform: translateY(0); }
:where(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
#main-content:focus { outline: none; }

/* Real film imagery stays readable in the featured strip. */
.zf-featured-meta { line-height: 1.5; }
.zf-featured-card { scroll-snap-align: start; }
@media (max-width: 640px) {
  .zf-featured-section { padding-top: 80px !important; }
  .zf-cards-overflow { overflow-x: auto !important; scroll-snap-type: x mandatory; scroll-padding: 20px; padding: 0 20px 16px; }
  .zf-cards-track { animation: none !important; }
  .zf-featured-duplicate { display: none; }
}

/* Mobile menu overlay */
.zf-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 80px 28px 40px;
  animation: zfFadeIn 250ms ease-out;
}
.zf-mobile-menu a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid #18181b;
}
.zf-mobile-menu a[data-active="true"] { color: #fff; }
.zf-mobile-menu a[data-active="false"] { color: #a1a1aa; }
.zf-mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid #27272a;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Touch targets — bump interactive paddings on coarse pointers */
@media (pointer: coarse) {
  button, a[role="button"], .zf-touch {
    min-height: 44px;
  }
}

/* Vimeo film collection */
.zf-film-header, .zf-film-info, .zf-film-nav, .zf-film-missing { padding-left: 48px; padding-right: 48px; }
.zf-film-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #09090b; cursor: pointer; color: #fff; }
.zf-film-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter 400ms; }
.zf-film-poster:hover img { filter: brightness(.8); }
.zf-film-poster-action { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-sans); font-size: 12px; text-shadow: 0 2px 8px #000; background: linear-gradient(transparent, rgba(0,0,0,.25)); }
.zf-film-poster-action > svg { box-sizing: content-box; padding: 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(0,0,0,.35); }
.zf-film-poster:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.zf-film-card { display: block; text-decoration: none; color: #fff; }
.zf-film-card-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #09090b; }
.zf-film-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-standard), filter 700ms; }
.zf-film-card:hover img, .zf-film-card:focus-visible img { transform: scale(1.04); filter: brightness(.8); }
.zf-film-card-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); transition: background 250ms; }
.zf-film-card:hover .zf-film-card-play { background: rgba(0,0,0,.7); }
.zf-film-card-duration { position: absolute; bottom: 16px; right: 16px; padding: 4px 8px; background: rgba(0,0,0,.75); font-size: 12px; }
.zf-film-card-meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 20px; }
.zf-film-card-meta h2 { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.zf-film-card-meta p { margin-top: 8px; font-size: 11px; color: #a1a1aa; text-transform: uppercase; letter-spacing: .1em; }
.zf-film-card-meta > svg { flex-shrink: 0; margin-top: 5px; }
.zf-work-item { animation: zfFadeUp 500ms var(--ease-out) both; }
.zf-film-card:focus-visible, .zf-featured-card:focus-visible, .zf-film-page a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.zf-film-header { max-width: 1440px; margin: 0 auto; padding-top: 152px; padding-bottom: 48px; }
.zf-film-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 32px; text-decoration: none; color: #a1a1aa; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.zf-film-title { font-size: clamp(40px, 6.5vw, 104px); overflow-wrap: break-word; margin-top: 16px; animation: zfFadeUp 600ms var(--ease-out) both; }
.zf-vimeo-stage { width: 100%; padding: 0 48px; background: #050505; border-top: 1px solid #18181b; border-bottom: 1px solid #18181b; }
.zf-vimeo-player { position: relative; width: 100%; max-width: 1344px; margin: 0 auto; background: #000; }
.zf-vimeo-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zf-vimeo-stage.is-portrait { padding-top: 32px; padding-bottom: 32px; }
.zf-vimeo-stage.is-portrait .zf-vimeo-player { max-width: min(480px, calc(80svh * 9 / 16)); }
.zf-film-info { max-width: 1440px; margin: 0 auto; padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 2fr 1fr; gap: 80px; }
.zf-film-description { font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; line-height: 1.6; margin-top: 24px; }
.zf-film-tagline { color: #a1a1aa; margin-top: 24px; font-size: 15px; line-height: 1.8; }
.zf-film-actions { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }
.zf-film-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; text-decoration: none; border-bottom: 1px solid #52525b; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; transition: border-color 200ms; }
.zf-film-link:hover { border-color: #fff; }
.zf-film-facts { border-left: 1px solid #27272a; padding-left: 32px; margin: 0; }
.zf-film-facts > div + div { margin-top: 32px; }
.zf-film-facts dt { color: #71717a; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; margin-bottom: 10px; }
.zf-film-facts dd { color: #f4f4f5; font-size: 17px; margin: 0; }
.zf-film-nav { max-width: 1440px; margin: 0 auto; padding-top: 56px; padding-bottom: 80px; border-top: 1px solid #18181b; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.zf-film-nav a { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.zf-film-nav a:last-child { text-align: right; }
.zf-film-nav-title { font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 36px); line-height: 1.2; text-transform: uppercase; color: #fff; transition: color 200ms; }
.zf-film-nav a:hover .zf-film-nav-title { color: #a1a1aa; }
.zf-film-missing { max-width: 1440px; margin: 0 auto; padding-top: 180px; padding-bottom: 120px; }
.zf-film-missing h1 { margin: 24px 0 40px; }
@media (max-width: 900px) {
  .zf-film-info { grid-template-columns: 1fr; gap: 48px; }
  .zf-film-facts { border-left: 0; padding-left: 0; padding-top: 32px; border-top: 1px solid #27272a; }
  .zf-vimeo-stage { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 640px) {
  .zf-film-header { padding-top: 104px; padding-bottom: 32px; }
  .zf-film-back { margin-bottom: 20px; }
  .zf-film-title { font-size: clamp(26px, 7.8vw, 48px); }
  .zf-vimeo-stage { padding-left: 0; padding-right: 0; }
  .zf-vimeo-stage.is-portrait { padding: 20px; }
  .zf-film-info { padding-top: 48px; padding-bottom: 48px; }
  .zf-film-nav { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
  .zf-film-nav-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .zf-cards-overflow { overflow-x: auto; padding-bottom: 16px; }
  .zf-featured-duplicate { display: none; }
  .zf-work-item, .zf-film-title, .zf-cards-track, .zf-marquee-track { animation: none !important; }
  .zf-film-card-image img, .zf-film-poster img, .zf-featured-card img { transition: none !important; }
}
