/* EC Hustles | Work page opening film. Plays once per visit to portfolio.html, then the hero reveals as normal. */
html.wk-intro-on { overflow: hidden; }
/* hold the hero reveal until the film is finished, then it plays exactly as before */
html.wk-intro-on .wk-rise,
html.wk-intro-on .wk-hero__rule,
html.wk-intro-on .wk-hero__rule::after,
html.wk-intro-on .wk-cue__line::after { animation-play-state: paused !important; }

.wk-intro { position: fixed; inset: 0; z-index: 10000; background: #050505; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity .9s cubic-bezier(.22, 1, .36, 1); }
.wk-intro.is-out { opacity: 0; pointer-events: none; }
.wk-intro__v { width: 100%; height: 100%; object-fit: contain; background: #050505; display: block; }
.wk-intro__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: clamp(14px, 3vw, 28px); padding-bottom: max(clamp(14px, 3vw, 28px), env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(5, 5, 5, .7), transparent); }
.wk-intro__btn { font: 600 .72rem/1 var(--font-body, 'Montserrat', sans-serif); letter-spacing: .22em; text-transform: uppercase; color: #F5F1E8; background: rgba(5, 5, 5, .55); border: 1px solid rgba(198, 166, 103, .55); padding: 14px 20px; min-height: 44px; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .25s, color .25s, background .25s; }
.wk-intro__btn:hover, .wk-intro__btn:focus-visible { color: #C6A667; border-color: #C6A667; background: rgba(5, 5, 5, .8); }
.wk-intro__btn:focus-visible { outline: 2px solid #C6A667; outline-offset: 3px; }
.wk-intro__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: .85rem; padding: 18px 30px; }
.wk-intro__btn[hidden] { display: none; }
.wk-intro__prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #C6A667; transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .wk-intro { transition: none; } }
