/* Cinematic hero: one full-frame film still */
.hf { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #040607; }
.hf-view { position: absolute; inset: 0; overflow: hidden; }
.hf-still {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 62% 0;
  transform-origin: 63% 0;
  opacity: 0; transform: scale(1.12);
  will-change: transform;
}
.hf.on .hf-still { animation: hfOpen 3.4s cubic-bezier(.16,1,.3,1) both; }
.hf-haze {
  position: absolute; inset: -10%; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background:
    radial-gradient(38% 30% at 42% 36%, rgba(150,180,190,.16), transparent 70%),
    radial-gradient(30% 24% at 74% 62%, rgba(120,170,160,.12), transparent 70%);
  animation: hfHaze 16s ease-in-out infinite alternate;
}
.hf-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, #0a0a0a 0, rgba(10,10,10,.5) 10%, transparent 30%),
    linear-gradient(180deg, rgba(3,5,6,.6) 0, transparent 18%),
    linear-gradient(90deg, rgba(3,5,6,.86) 0, rgba(3,5,6,.5) 26%, transparent 50%);
}
.hf-bar { position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 3; pointer-events: none; }
.hf-bar-t { top: 0; transform-origin: 50% 0; }
.hf-bar-b { bottom: 0; transform-origin: 50% 100%; }
.hf.on .hf-bar { animation: hfBars 1.5s cubic-bezier(.76,0,.18,1) both; }

.hf-copy { position: absolute; z-index: 2; left: clamp(24px, 4.4vw, 110px); bottom: clamp(48px, 10vh, 120px); }
.hf-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: rgba(255,255,255,.8); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.hf-kicker i { width: 26px; height: 1px; background: var(--green); }
.hf-title { margin: 0; font: 900 min(7.2vw, 15vh)/.86 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.hf-title span { display: block; overflow: hidden; padding: .04em 0 .02em; }
.hf-title b { display: block; font-weight: 900; transform: translateY(108%); }
.hf-title .g { color: var(--green); }
.hf.on .hf-title b { animation: hfRise 1.1s cubic-bezier(.16,1,.3,1) both; }
.hf.on .hf-title span:nth-child(1) b { animation-delay: 1.05s; }
.hf.on .hf-title span:nth-child(2) b { animation-delay: 1.17s; }
.hf.on .hf-title span:nth-child(3) b { animation-delay: 1.29s; }
.hf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hf-kicker, .hf-actions { opacity: 0; }
.hf.on .hf-kicker, .hf.on .hf-actions { animation: hfFade .9s 1.7s ease both; }

@keyframes hfOpen { 0% { opacity: 0; transform: scale(1.12); } 22% { opacity: 1; } 100% { opacity: 1; transform: scale(1.03); } }
@keyframes hfBars { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes hfHaze { from { transform: translate3d(-3%, 1%, 0); } to { transform: translate3d(4%, -2%, 0) scale(1.08); } }
@keyframes hfRise { to { transform: none; } }
@keyframes hfFade { to { opacity: 1; } }

@media (max-width: 980px) {
  .hf { background: #0a0a0a; }
  .hf-view { bottom: auto; height: 72%; }
  .hf-still { object-position: 66.5% 0; transform-origin: 50% 0; }
  .hf-shade { background: linear-gradient(0deg, #0a0a0a 0, rgba(10,10,10,.72) 16%, transparent 46%), linear-gradient(180deg, rgba(3,5,6,.55) 0, transparent 20%); }
  .hf-copy { right: 24px; bottom: 34px; }
  .hf-title { font-size: min(14.6vw, 11.5vh); }
  .hf-kicker { margin-bottom: 12px; font-size: .76rem; gap: 8px; }
  .hf-kicker i { width: 16px; }
  .hf-actions { margin-top: 18px; gap: 10px; }
}
@media (max-width: 680px) {
  .hf-actions { flex-wrap: nowrap; }
  .hf-actions a { flex: 1; min-height: 50px; padding: 0 10px; font-size: .74rem; letter-spacing: .06em; white-space: nowrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hf * { animation-duration: .01s !important; animation-delay: 0s !important; }
}
.hf-view { top: -12px; }
.hf-shade { inset: -2px; }
@media (min-width: 981px) and (max-height: 760px) {
  .hf-still { top: 44px; -webkit-mask: linear-gradient(transparent 0, #000 90px); mask: linear-gradient(transparent 0, #000 90px); }
}
