:root {
  --black: #030303;
  --charcoal: #0a0a0a;
  --charcoal-2: #11100f;
  --paper: #eee8dc;
  --muted: #a69f94;
  --dim: #6f695f;
  --red: #7f0e0e;
  --red-deep: #3e0707;
  --gold: #a6814b;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 5vw, 70px);
  color: var(--paper);
  mix-blend-mode: difference;
}
.mark { letter-spacing: .18em; font-size: 13px; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 38px); }
.site-nav a,
.menu-button,
.scroll-cue,
.eyebrow,
.roles {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11px;
}
.site-nav a { color: rgba(238,232,220,.72); transition: color .3s ease; }
.site-nav a:hover { color: var(--paper); }
.menu-button { display: none; background: none; border: 0; color: var(--paper); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 6vw, 92px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 50%, transparent 0%, rgba(0,0,0,.28) 36%, rgba(0,0,0,.76) 80%),
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2) 54%, rgba(0,0,0,.78));
  z-index: 2;
}
.hero-slideshow span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 35s infinite;
}
.hero-slideshow span:nth-child(2) { animation-delay: 7s; }
.hero-slideshow span:nth-child(3) { animation-delay: 14s; }
.hero-slideshow span:nth-child(4) { animation-delay: 21s; }
.hero-slideshow span:nth-child(5) { animation-delay: 28s; }
@keyframes heroFade {
  0%, 100% { opacity: 0; transform: scale(1.04); }
  8%, 20% { opacity: .72; }
  32% { opacity: 0; transform: scale(1.09); }
}
.film-grain {
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  opacity: .13;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.1) 0 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
}
.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 830px;
}
.eyebrow { color: var(--muted); margin: 0 0 18px; }
h1, h2, h3 {
  font-family: Cormorant Garamond, Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: .96;
  margin: 0;
}
h1 {
  font-size: clamp(54px, 9vw, 132px);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.roles { color: rgba(238,232,220,.72); margin-top: 24px; }
.statement {
  max-width: 640px;
  margin-top: 34px;
  color: rgba(238,232,220,.82);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
}
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 6vw, 92px);
  bottom: 36px;
  color: var(--dim);
}

.section { padding: clamp(86px, 10vw, 150px) clamp(24px, 6vw, 92px); }
.section-heading { max-width: var(--max); margin: 0 auto 82px; }
.section-heading.centered { text-align: center; }
h2 { font-size: clamp(42px, 7vw, 86px); }
.selected-films { background: linear-gradient(#070707, #0d0b0a 48%, #050505); }
.film-card {
  max-width: var(--max);
  margin: 0 auto clamp(90px, 12vw, 170px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}
.film-card.reverse { grid-template-columns: minmax(320px, .72fr) minmax(0, .95fr); }
.reverse .film-copy { order: 2; }
.reverse .poster-frame { order: 1; }
.film-copy h3 { font-size: clamp(44px, 6vw, 82px); margin-bottom: 14px; }
.genre { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; }
.film-copy p:not(.eyebrow):not(.genre) { color: var(--muted); font-size: 17px; max-width: 630px; }
.credit-line { color: var(--dim) !important; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.badges span {
  border: 1px solid rgba(238,232,220,.18);
  padding: 10px 14px;
  color: rgba(238,232,220,.76);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.actions { margin-top: 28px; }
.actions a, .button-link {
  display: inline-flex;
  border-bottom: 1px solid var(--red);
  padding-bottom: 8px;
  color: var(--paper);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
}
.poster-frame {
  position: relative;
  margin: 0;
  background: #111;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 42%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: clamp(520px, 72vw, 760px);
  object-fit: cover;
  transition: transform .9s ease, filter .9s ease;
}
.poster-frame:hover img { transform: scale(1.025); }

.frame-archive { background: #030303; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  max-width: 1480px;
  margin: 0 auto;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(.84) contrast(1.05);
  opacity: .88;
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}
.gallery-grid img:hover { opacity: 1; transform: scale(1.012); filter: saturate(1) contrast(1.08); }
.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(6),
.gallery-grid img:nth-child(9) { grid-column: span 7; }
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(7),
.gallery-grid img:nth-child(8),
.gallery-grid img:nth-child(10) { grid-column: span 5; }

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1fr);
  gap: clamp(46px, 8vw, 118px);
  align-items: center;
  background: linear-gradient(180deg, #090807, #020202);
}
.about-image-stack {
  position: relative;
  min-height: 720px;
}
.portrait-main, .portrait-secondary {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 36px 90px rgba(0,0,0,.48);
}
.portrait-main {
  inset: 0 auto auto 0;
  width: 72%;
  height: 620px;
}
.portrait-secondary {
  right: 0;
  bottom: 0;
  width: 54%;
  height: 420px;
  filter: saturate(.8);
}
.about-copy h2 { margin-bottom: 34px; }
.about-copy > p { color: var(--muted); font-size: 18px; }
.experience-card {
  border-left: 1px solid var(--red);
  margin: 36px 0;
  padding: 8px 0 8px 24px;
}
.experience-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}
.experience-card p:last-child { color: var(--dim); }
.quote-section {
  min-height: 44vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.86)),
    url('assets/pt-still-stilllife.png') center/cover fixed;
}
.quote-section p {
  font-family: Cormorant Garamond, Georgia, serif;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1;
  max-width: 900px;
}
.site-footer {
  padding: 90px clamp(24px, 6vw, 92px);
  background: #050505;
  border-top: 1px solid rgba(238,232,220,.08);
}
.site-footer h2 { font-size: clamp(42px, 7vw, 88px); margin-bottom: 30px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 18px 34px; max-width: 980px; }
.contact-links a { color: var(--muted); font-size: clamp(16px, 2vw, 22px); }
.contact-links a:hover { color: var(--paper); }
.footer-note { color: var(--dim); margin-top: 60px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav {
    position: fixed;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    padding: 22px;
    background: rgba(3,3,3,.92);
    border: 1px solid rgba(238,232,220,.12);
  }
  .site-nav.open { display: flex; }
  .film-card, .film-card.reverse, .about-section { grid-template-columns: 1fr; }
  .reverse .film-copy, .reverse .poster-frame { order: initial; }
  .poster-frame img { height: auto; max-height: 720px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { grid-column: auto !important; min-height: 230px; }
  .about-image-stack { min-height: auto; display: grid; gap: 18px; }
  .portrait-main, .portrait-secondary { position: static; width: 100%; height: auto; }
  h1 { letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-slideshow span:first-child { opacity: .7; }
}




/* Smooth crimson fade for Pomegranate Tree */
.selected-films {
  position: relative;
  isolation: isolate;
  background: linear-gradient(#070707, #0d0b0a 48%, #050505);
  --crimson-opacity: 0;
}
.selected-films::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--crimson-opacity);
  transition: opacity 120ms linear;
  background:
    radial-gradient(circle at 24% 34%, rgba(127,14,14,.54), transparent 42%),
    radial-gradient(circle at 75% 55%, rgba(62,7,7,.48), transparent 46%),
    linear-gradient(180deg, #130202 0%, #3e0707 45%, #080101 100%);
}
.selected-films > * {
  position: relative;
  z-index: 1;
}

.contact-links a {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(13px, 1.6vw, 18px);
}
.festival-card.compact {
  grid-template-columns: 1fr;
}
.festival-card.compact h3 {
  font-size: clamp(24px, 3vw, 38px);
}

/* Clickable image archive */
.gallery-item {
  position: relative;
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  cursor: pointer;
  background: #080808;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(.84) contrast(1.05);
  opacity: .88;
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}
.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.012);
  filter: saturate(1) contrast(1.08);
}
.gallery-item figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 9px;
  background: rgba(3,3,3,.45);
  color: rgba(238,232,220,.82);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.gallery-grid .gallery-item:nth-child(1),
.gallery-grid .gallery-item:nth-child(4),
.gallery-grid .gallery-item:nth-child(6),
.gallery-grid .gallery-item:nth-child(9),
.gallery-grid .gallery-item:nth-child(11) { grid-column: span 7; }
.gallery-grid .gallery-item:nth-child(2),
.gallery-grid .gallery-item:nth-child(3),
.gallery-grid .gallery-item:nth-child(5),
.gallery-grid .gallery-item:nth-child(7),
.gallery-grid .gallery-item:nth-child(8),
.gallery-grid .gallery-item:nth-child(10),
.gallery-grid .gallery-item:nth-child(12) { grid-column: span 5; }

/* Override older gallery img-only rules for the new figure layout */


.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(0,0,0,.9);
}
.lightbox.open { display: flex; }
.lightbox-frame {
  margin: 0;
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  display: grid;
  place-items: center;
}
.lightbox-frame img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0,0,0,.7);
}
.lightbox-frame figcaption {
  margin-top: 14px;
  color: rgba(238,232,220,.76);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  border: 1px solid rgba(238,232,220,.18);
  background: rgba(3,3,3,.46);
  color: var(--paper);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.lightbox-close {
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 32px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  font-size: 46px;
  line-height: 1;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 900px) {
  .gallery-grid .gallery-item { grid-column: auto !important; min-height: 230px; }
  .gallery-item img { min-height: 230px; }
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 26px;
    transform: none;
    width: 48px;
    height: 54px;
    font-size: 36px;
  }
}


/* Enhanced poster interaction */
.poster-frame {
  transition: transform .55s ease, box-shadow .55s ease;
}
.poster-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 60px 140px rgba(0,0,0,.7);
}
.poster-frame:hover img {
  transform: scale(1.03);
  filter: contrast(1.04) saturate(1.04);
}

/* Film metadata */
.film-meta {
  margin-top: 10px;
  color: rgba(238,232,220,.58);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Festivals */
.festival-section {
  background: linear-gradient(180deg, #050505 0%, #120303 100%);
}
.festival-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}
.festival-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(238,232,220,.08);
  background: rgba(255,255,255,.015);
}
.festival-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.festival-card h3 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 10px;
}
.festival-card p {
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
}
.festival-card.muted {
  opacity: .72;
}

@media (max-width: 900px) {
  .festival-card {
    grid-template-columns: 1fr;
  }
}

/* Sleeker contact typography while preserving paragraph readability */
.contact-links a {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(12px, 1.3vw, 16px);
}




/* DEFINITIVE FIXES */
/* Crimson is now a reliable background on the Pomegranate Tree card itself, with no JS dependency. */
.pomegranate-card {
  position: relative;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 2px;
  background:
    radial-gradient(circle at 24% 28%, rgba(127, 14, 14, .72), transparent 42%),
    linear-gradient(135deg, rgba(62, 7, 7, .92), rgba(7, 7, 7, .72) 58%, rgba(3,3,3,.94));
  box-shadow: 0 50px 140px rgba(62, 7, 7, .18);
}

/* Selected Frames grid */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  max-width: 1480px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  display: block;
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  cursor: pointer;
  background: #080808;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(.84) contrast(1.05);
  opacity: .9;
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}
.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.012);
  filter: saturate(1) contrast(1.08);
}
.gallery-item figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 9px;
  background: rgba(3,3,3,.45);
  color: rgba(238,232,220,.82);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.gallery-grid .gallery-item:nth-child(1),
.gallery-grid .gallery-item:nth-child(4),
.gallery-grid .gallery-item:nth-child(6),
.gallery-grid .gallery-item:nth-child(9),
.gallery-grid .gallery-item:nth-child(11) { grid-column: span 7; }
.gallery-grid .gallery-item:nth-child(2),
.gallery-grid .gallery-item:nth-child(3),
.gallery-grid .gallery-item:nth-child(5),
.gallery-grid .gallery-item:nth-child(7),
.gallery-grid .gallery-item:nth-child(8),
.gallery-grid .gallery-item:nth-child(10),
.gallery-grid .gallery-item:nth-child(12) { grid-column: span 5; }

/* Lightbox remains only for Selected Frames, not posters */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(0,0,0,.9);
}
.lightbox.open { display: flex; }
.lightbox-frame {
  margin: 0;
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  display: grid;
  place-items: center;
}
.lightbox-frame img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-frame figcaption {
  margin-top: 14px;
  color: rgba(238,232,220,.76);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  border: 1px solid rgba(238,232,220,.18);
  background: rgba(3,3,3,.46);
  color: var(--paper);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.lightbox-close {
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 32px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  font-size: 46px;
  line-height: 1;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Poster hover without poster lightbox/overlay */
.poster-frame {
  cursor: default !important;
}
.poster-frame::before {
  display: none !important;
}
.poster-frame::after {
  background: linear-gradient(to top, rgba(0,0,0,.16), transparent 34%) !important;
}
.poster-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 60px 140px rgba(0,0,0,.7);
}
.poster-frame:hover img {
  transform: scale(1.03);
  filter: contrast(1.04) saturate(1.04);
}

/* Recognition section */
.festival-section {
  display: block !important;
  background: linear-gradient(180deg, #050505 0%, #120303 100%);
}
.festival-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}
.festival-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(238,232,220,.08);
  background: rgba(255,255,255,.015);
}
.festival-card:not(:has(img)) {
  grid-template-columns: 1fr;
}
.festival-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.festival-card h3 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 10px;
}
.festival-card p {
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
}
.festival-card.muted {
  opacity: .72;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item { grid-column: auto !important; min-height: 230px; }
  .gallery-item img { min-height: 230px; }
  .festival-card { grid-template-columns: 1fr; }
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 26px;
    transform: none;
    width: 48px;
    height: 54px;
    font-size: 36px;
  }
}


/* Final crimson fade */
.selected-films {
  position: relative;
  background:
    radial-gradient(circle at 28% 32%, rgba(127,14,14,.38), transparent 42%),
    linear-gradient(180deg, #120202 0%, #3e0707 45%, #090202 100%) !important;
}
