/* Homepage only. All interactive sections belong to the optional Home Films plugin. */
.pshf-reel, .pshf-films {box-sizing:border-box; min-width:0}
.pshf-reel *, .pshf-films * {box-sizing:border-box}
.pshf-reel [hidden], .pshf-films [hidden] {display:none!important}
.pshf-sr {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.story-hero:has(.pshf-reel) .brand-intro {
    background-color:var(--ps-midnight,#171f48);
    background-image:linear-gradient(125deg,rgba(21,29,66,.98) 3%,rgba(21,29,66,.92) 48%,rgba(21,29,66,.76)),url('../media/waterfront.webp');
    background-size:cover; background-position:center bottom;
}
/* The brush preserves this photograph. Keep the type on it in its original ink. */
@media screen and (forced-colors: none) {
    html.pskb-painted .story-hero:has(.pshf-reel) .brand-intro :is([data-pskb-role="copy"], [data-pskb-role="link"]) {
        color:var(--pskb-native-ink,#fff)!important;
        -webkit-text-fill-color:currentColor!important;
        background-image:none!important;
        text-decoration-color:currentColor;
    }
}
.pshf-reel {
    --control-bg:rgba(12,22,39,.90);
    position:relative; isolation:isolate; overflow:hidden; display:grid;
    min-height:clamp(23rem,33vw,36rem); color:white; background:#162734;
}
.pshf-frames {display:grid; position:absolute; inset:0; touch-action:pan-y pinch-zoom}
.pshf-slide {grid-area:1 / 1; position:relative; margin:0; min-width:0; min-height:0; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .55s ease,visibility 0s linear .55s}
.pshf-slide[data-current] {opacity:1; visibility:visible; pointer-events:auto; z-index:1; transition-delay:0s}
.pshf-slide > img {display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:50% 45%}
.pshf-slide::after {content:""; position:absolute; pointer-events:none; inset:0; background:linear-gradient(0deg,rgba(6,12,22,.88) 0%,rgba(6,12,22,.58) 25%,transparent 57%)}
.pshf-slide figcaption {position:absolute; inset:auto 1.2rem 4.7rem clamp(1.15rem,3vw,3rem); z-index:2; max-width:42rem}
.pshf-slide figcaption a {color:white; text-decoration:none; font:400 clamp(1.8rem,3.6vw,3.8rem)/1.04 var(--serif,Georgia,serif); letter-spacing:-.035em; text-wrap:balance}
.pshf-slide figcaption a:hover {text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.15em}
.pshf-slide figcaption p {color:#fff; margin:.4rem 0 0; line-height:1.4; font-size:clamp(.92rem,1.2vw,1.1rem); max-width:40ch}
.pshf-controls {position:absolute; inset:auto auto .85rem clamp(1.15rem,3vw,3rem); z-index:3; display:flex; align-items:center; gap:.15rem; padding:2px 4px; border:1px solid #ffffff59; border-radius:999px; background:var(--control-bg); font:600 .875rem/1.2 var(--sans,system-ui,sans-serif)}
.pshf-controls button,.pshf-film-link {appearance:none; border:0; cursor:pointer; font:inherit; color:white; background:transparent; transition:background-color .18s}
.pshf-controls button {border-radius:999px; min-width:44px; min-height:44px; padding:0 .5rem; display:inline-flex; align-items:center; justify-content:center; gap:.45rem}
.pshf-controls [data-rotate] {padding-inline:.75rem; margin-right:.1rem}
.pshf-play-mark {display:inline-block; flex:none; width:.7rem; height:.78rem; background:currentColor; clip-path:polygon(7% 0,100% 50%,7% 100%)}
.pshf-controls .pshf-play-mark,.pshf-film-link .pshf-play-mark {color:#fad79c}
.pshf-controls [data-running="true"] .pshf-play-mark {clip-path:none; background:linear-gradient(to right,currentColor 0 32%,transparent 32% 66%,currentColor 66% 100%)}
.pshf-arrow {display:block; width:.65rem; height:.65rem; border:solid currentColor; border-width:2px 2px 0 0; transform:rotate(45deg)}
.pshf-controls [data-step="-1"] .pshf-arrow {transform:rotate(-135deg)}
.pshf-pick .pshf-play-mark {width:.55rem; height:.62rem}
.pshf-controls [data-step] {font:400 1.65rem/1 system-ui,sans-serif}
.pshf-controls [data-count] {font-variant-numeric:tabular-nums; color:#eee; white-space:nowrap}
.pshf-film-link {touch-action:manipulation; position:absolute; inset:.9rem .9rem auto auto; z-index:3; background:var(--control-bg); min-height:44px; display:inline-flex; align-items:center; gap:.55rem; padding:.5rem .95rem; border:1px solid #ffffff59; border-radius:999px; color:white; font:650 .875rem/1.2 var(--sans,system-ui,sans-serif); text-decoration:none}
.pshf-film-link:hover,.pshf-controls button:hover {color:white; background:#263a4c}
.pshf-reel :focus-visible {outline:2px solid white; outline-offset:2px}
.pshf-films {display:grid; gap:clamp(1.4rem,3.5vw,4rem); align-items:center; margin-block:clamp(2rem,4.4vw,5rem)}
.pshf-films h2 {font:400 clamp(2rem,3.4vw,3.75rem)/1.04 var(--serif,Georgia,serif); letter-spacing:-.045em; color:var(--ps-midnight,#171f48); margin:0; text-wrap:balance}
.pshf-film-desc {line-height:1.55; max-width:48ch; margin:.9rem 0 1.2rem}
.pshf-detail-link {color:var(--ps-midnight,#171f48); text-underline-offset:.22em; font-size:.94rem; font-weight:620; display:inline-flex; align-items:center; min-height:44px}
.pshf-cta {display:inline-flex; align-items:center; min-height:46px; text-decoration:none; text-align:center}
.pshf-films {grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); border-block:1px solid #ded7c9; padding-block:clamp(1.5rem,3.4vw,3.75rem); scroll-margin-top:6rem}
.pshf-film-copy {min-width:0}
.pshf-films h2 {font-size:clamp(1.95rem,2.6vw,2.9rem); margin-bottom:1.25rem}
.pshf-player {background:#121a24; border-radius:var(--ps-radius,12px); overflow:hidden; position:relative; align-self:center}
.pshf-player video {display:block; width:100%; aspect-ratio:16/9; max-height:76vh; background:#121a24; object-fit:contain}
.pshf-player video:focus-visible {outline:3px solid #ecc288; outline-offset:-4px}
.pshf-player[data-ratio="portrait"] video {aspect-ratio:4/5; max-height:min(76vh,37rem)}
.pshf-picks {display:grid; border-top:1px solid #c6c1b7}
.pshf-pick {display:grid; grid-template-columns:1.7rem 1fr auto; align-items:center; gap:.5rem; padding:.65rem .25rem; border-bottom:1px solid #c6c1b7; color:#222d3b; text-decoration:none; font-weight:600; min-height:47px}
.pshf-pick small {font-size:.8rem; font-weight:500; color:#4a5763; white-space:nowrap}
.pshf-pick .pshf-film-icon {height:1.6rem; width:1.6rem; display:grid; place-items:center; border:1px solid #afb6ba; border-radius:100%; font-size:.66rem; padding-left:1px}
.pshf-pick[aria-current="true"] .pshf-film-icon,.pshf-pick:hover .pshf-film-icon {background:var(--ps-midnight,#171f48); color:white; border-color:transparent}
.pshf-pick[aria-current="true"]>span:nth-child(2) {text-decoration:underline; text-underline-offset:.2em; text-decoration-color:#a7793b}
.pshf-film-desc {font-size:.95rem; margin:.9rem 0 .3rem}
.pshf-details {font-size:.875rem; color:#344252; margin-bottom:.85rem}
.pshf-details summary {cursor:pointer; width:fit-content; padding-block:.35rem; font-weight:600}
.pshf-details p {white-space:pre-line; margin:.45rem 0 0; line-height:1.6}
.pshf-film-actions {display:flex; flex-wrap:wrap; gap:.35rem 1rem; align-items:center}
.pshf-error {padding:1rem; margin:0; color:white}
.pshf-error a {color:white; text-decoration:underline}
@media(max-width:800px) {
    .pshf-films {gap:1.3rem}
}
@media(max-width:740px) {
    .pshf-reel {min-height:clamp(18rem,73vw,28rem)}
    .pshf-slide figcaption {inset:auto 1.05rem 4.65rem}
    .pshf-controls {left:1rem; bottom:.8rem}
    .pshf-film-link {inset:.7rem .7rem auto auto}
    .pshf-films {grid-template-columns:1fr; padding-block:.7rem 1.5rem}
    .pshf-films {padding-top:1.5rem}
    .pshf-player[data-ratio="portrait"] video {max-height:70vh}
}
@media(prefers-reduced-motion:reduce) {
    .pshf-slide,.pshf-controls button,.pshf-film-link {transition:none}
}
@media print {
    .pshf-controls,.pshf-film-link,.pshf-films {display:none!important}
}
