/* AI PROPERTY FILMS — scroll-scrubbed cinematic showcase */
#property-films {
  position: relative;
  height: 320vh;              /* scroll runway: 100vh visible + 220vh of scrub */
  background: #070503;
}
.pf-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pfVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
}
.pf-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,5,3,0.88) 0%, rgba(7,5,3,0.25) 22%, rgba(7,5,3,0.0) 45%, rgba(7,5,3,0.35) 80%, rgba(7,5,3,0.92) 100%),
    linear-gradient(90deg, rgba(7,5,3,0.55) 0%, transparent 40%);
  pointer-events: none;
}
.pf-copy {
  position: absolute;
  left: clamp(24px, 6vw, 90px);
  bottom: clamp(60px, 12vh, 130px);
  max-width: 560px;
  z-index: 2;
}
.pf-tag {
  font: 600 12px/1 'Space Grotesk', monospace;
  letter-spacing: 3px;
  color: #ffd277;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pf-tag::before { content: '— '; color: #ff7a3d; }
.pf-copy h2 {
  font: 700 clamp(30px, 4.4vw, 56px)/1.05 'Space Grotesk', sans-serif;
  color: #f0f0f0;
  margin: 0 0 14px;
}
.pf-copy h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffd277, #ff7a3d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pf-copy p {
  font: 400 15px/1.65 'Inter', sans-serif;
  color: rgba(240, 240, 240, 0.82);
  margin: 0 0 24px;
}
.pf-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font: 600 13px/1 'Space Grotesk', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.pf-btn-primary {
  background: linear-gradient(135deg, #ffd277, #ff7a3d);
  color: #12100c;
  border: none;
  box-shadow: 0 6px 28px rgba(255, 150, 60, 0.35);
}
.pf-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(255, 150, 60, 0.5); }
.pf-btn-ghost {
  background: rgba(20, 12, 6, 0.5);
  color: #ffd277;
  border: 1px solid rgba(255, 210, 119, 0.4);
  backdrop-filter: blur(6px);
  text-decoration: none;
}
.pf-btn-ghost:hover { border-color: #ffd277; }
.pf-scrub-hint {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(30px, 7vh, 70px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 11px/1 'Space Grotesk', monospace;
  letter-spacing: 2.5px;
  color: rgba(255, 210, 119, 0.75);
  text-transform: uppercase;
}
.pf-progress {
  width: 120px;
  height: 2px;
  background: rgba(255, 210, 119, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.pf-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd277, #ff7a3d);
  transition: width .15s linear;
}

/* ── lightbox ── */
#pfLightbox {
  position: fixed;
  inset: 0;
  z-index: 99900;
  background: rgba(4, 2, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 60px);
  backdrop-filter: blur(14px);
}
#pfLightbox.on { display: flex; }
#pfLightbox video {
  max-width: min(1400px, 100%);
  max-height: 100%;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 210, 119, 0.15);
  outline: none;
}
.pf-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 119, 0.4);
  background: rgba(20, 12, 6, 0.7);
  color: #ffd277;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.pf-close:hover { border-color: #ffd277; transform: rotate(90deg); }

@media (max-width: 720px) {
  #property-films { height: 260vh; }
  .pf-copy { bottom: 90px; max-width: calc(100vw - 48px); }
  .pf-copy p { font-size: 14px; }
  .pf-scrub-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #property-films { height: auto; }
  .pf-sticky { position: relative; height: 72vh; }
}
