/* Epic hero — film (hover clips or scroll-scrubbed) with her photo fallback. */
.hf { position: relative; background: var(--bgc, #001219); color: var(--ink, #EAE2B7); }
.hf--hover { height: max(560px, 100svh); }
.hf--scroll { height: var(--len, 340vh); }   /* the scroll distance is the camera move */
.hf-sticky { position: sticky; top: 0; height: max(560px, 100svh); overflow: hidden; isolation: isolate; }
.hf-stage { position: absolute; inset: 0; }
.hf-poster, .hf-photo, .hf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hf-video { opacity: 0; transition: opacity .55s ease; }
.hf-video.is-on { opacity: 1; }
/* in scroll mode the scroll itself moves each frame — no timers, no easing */
.hf-photo { opacity: 0; transition: opacity 1.6s ease, transform 8s linear; transform: scale(1.06); }
.hf-photo.is-on { opacity: 1; transform: scale(1.14); }
.hf--scroll .hf-photo { transition: none; will-change: opacity, transform; }
/* the letterbox opens as the film starts */
.hf-bar { position: absolute; z-index: 5; left: 0; right: 0; height: var(--bar, 0px); background: var(--bgc, #001219); pointer-events: none; }
.hf-bar.top { top: 0; } .hf-bar.bottom { bottom: 0; }
/* the design walks in over the last frames */
.hf-cut { position: absolute; z-index: 5; right: clamp(16px, 6vw, 90px); bottom: 0; height: 78%; opacity: 0;
  transform: translateY(40px); pointer-events: none; }
.hf-cut img { height: 100%; width: auto; max-width: 42vw; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,18,25,.55)); }
.hf-frame { position: absolute; z-index: 6; left: clamp(20px, 6vw, 92px); top: clamp(80px, 12vh, 130px);
  font: 600 10px var(--mono); letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.hf--scroll .hf-copy { will-change: transform, opacity; }
.hf--photos .hf-poster { opacity: 0; }
.hf-sun { position: absolute; z-index: 2; width: min(38vmin, 460px); aspect-ratio: 1; border-radius: 50%; right: 8%; top: 8%; mix-blend-mode: multiply; opacity: .75;
  box-shadow: 0 0 160px 30px rgba(174,32,18,.45); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.hf-vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,18,25,.55) 0%, transparent 28%, transparent 40%, rgba(0,18,25,calc(var(--overlay) * 2)) 100%),
    linear-gradient(90deg, rgba(0,18,25,.72), rgba(0,18,25,.25) 46%, transparent 68%); }
.hf-grain { position: absolute; inset: -50%; z-index: 4; pointer-events: none; opacity: var(--grain); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  animation: hfGrain 1.1s steps(3) infinite; }
@keyframes hfGrain { 0% { transform: translate(0,0); } 33% { transform: translate(-4%,3%); } 66% { transform: translate(3%,-3%); } }
.hf-copy { position: absolute; z-index: 6; left: clamp(20px, 6vw, 92px); right: clamp(20px, 6vw, 92px); bottom: clamp(60px, 14vh, 150px); max-width: 1100px; }
.hf-eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; opacity: .85; margin: 0 0 22px; animation: hfUp .9s .2s both; }
.hf-title { font: 700 clamp(52px, 9.5vw, 170px)/.88 var(--display); letter-spacing: -.01em; margin: 0 0 20px; text-wrap: balance; }
.hf-title span { display: inline-block; animation: hfWord 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
@keyframes hfWord { from { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(8px); } }
@keyframes hfUp { from { opacity: 0; transform: translateY(14px); } }
.hf-sub { font: 500 clamp(17px, 1.8vw, 23px)/1.5 var(--body); max-width: 46ch; margin: 0 0 30px; animation: hfUp 1s .5s both; }
.hf-ctas { display: flex; gap: 12px; flex-wrap: wrap; animation: hfUp 1s .7s both; }
.hf-btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 34px; border-radius: 999px; background: var(--ac, #AE2012); color: #fff; text-decoration: none;
  font: 700 15px var(--body); letter-spacing: .12em; text-transform: uppercase; transition: transform .25s, background .25s; }
.hf-btn:hover { transform: translateY(-2px); background: var(--wine, #9B2226); }
.hf-btn.ghost { background: rgba(0,18,25,.25); border: 2px solid rgba(234,226,183,.65); color: var(--cream, #EAE2B7); backdrop-filter: blur(6px); }
.hf-btn.ghost:hover { background: var(--cream, #EAE2B7); color: #001219; }
.hf-cue { position: absolute; z-index: 6; right: clamp(20px, 5vw, 60px); bottom: clamp(40px, 9vh, 90px); display: flex; align-items: center; gap: 12px;
  font: 600 11px var(--mono); letter-spacing: .28em; text-transform: uppercase; opacity: .8; }
.hf-cue svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.2; animation: hfSpin 16s linear infinite; }
.hf-line { display: block; width: 1px; height: 56px; background: currentColor; transform-origin: top; animation: hfDrop 1.8s ease-in-out infinite; }
@keyframes hfSpin { to { transform: rotate(360deg); } }
@keyframes hfDrop { 0%, 100% { transform: scaleY(.2); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.hf.moving .hf-cue { opacity: 0; transition: opacity .4s; }
.hf-progress { position: absolute; z-index: 7; left: 0; bottom: 0; height: 3px; background: var(--ac, #EE9B00); width: 0; }
.hf-ticks { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 3px; display: flex; pointer-events: none; }
.hf-ticks i { flex: 1; border-right: 1px solid color-mix(in srgb, var(--ink, #EAE2B7) 30%, transparent); }
@media (prefers-reduced-motion: reduce) { .hf * { animation: none !important; } .hf--scroll { height: 100svh; } }
@media (max-width: 760px) { .hf-cue { display: none; } .hf-sun { width: 62vw; right: -8vw; } }

/* ---- The reel in a frame: her photos at their own size, never stretched ---- */
.hf--framed { background: var(--bgc, #001219); }
.hf--framed .hf-sticky { display: grid; grid-template-columns: 1.05fr auto; align-items: center;
  gap: clamp(24px, 5vw, 70px); padding: clamp(30px, 6vh, 70px) clamp(20px, 6vw, 90px); overflow: visible; }
.hf--framed .hf-stage { position: relative; inset: auto; width: min(var(--stage), 46vw); aspect-ratio: 4 / 5;
  border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -34px rgba(0,18,25,.8); justify-self: end; }
.hf--framed .hf-poster, .hf--framed .hf-photo, .hf--framed .hf-video { object-position: 50% 12%; }
.hf--framed .hf-copy { position: relative; left: auto; right: auto; bottom: auto; max-width: 46ch; }
.hf--framed .hf-title { font-size: clamp(38px, 5.4vw, 92px); }
.hf--framed .hf-sub { font-size: clamp(16px, 1.4vw, 20px); }
.hf--framed .hf-bar { display: none; }
.hf--framed .hf-vignette { background: linear-gradient(180deg, rgba(0,18,25,.35), transparent 34%, transparent 62%, rgba(0,18,25,.5)); }
.hf--framed .hf-grain { inset: -20%; opacity: calc(var(--grain) * .7); }
.hf--framed .hf-cut { left: auto; right: clamp(12px, 4vw, 60px); bottom: 0; height: 68%; z-index: 7; }   /* she steps in beside the words */
.hf--framed .hf-cut img { max-width: 30vw; }
.hf--framed .hf-frame { top: clamp(24px, 4vh, 40px); }
.hf--framed .hf-progress, .hf--framed .hf-ticks { left: clamp(20px, 6vw, 90px); right: clamp(20px, 6vw, 90px); bottom: clamp(18px, 3vh, 30px); }
.hf--framed .hf-progress { width: 0; max-width: calc(100% - 2 * clamp(20px, 6vw, 90px)); }
.hf--framed .hf-cue { right: clamp(20px, 6vw, 90px); bottom: clamp(36px, 6vh, 60px); }
@media (max-width: 900px) {
  .hf--framed .hf-sticky { grid-template-columns: 1fr; align-content: center; gap: 22px; }
  .hf--framed .hf-stage { width: min(var(--stage), 86vw); justify-self: center; aspect-ratio: 4 / 5; }
  .hf--framed .hf-cut { display: none; }
}
