/* built by build.py: tokens.css (from style-guide/tokens.json) + style-guide bundle.css + core/css/site.css */
@font-face{font-family:"Barlow";src:url("fonts/barlow-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url("fonts/barlow-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
:root,[data-theme="z17"]{--ground:#131619;--surface:#1b1f23;--hairline:#30363b;--text:#e4e1dc;--text-hover:#f2f0ec;--muted:#969b9d;--mark:#c4473f;--scrim:rgba(19, 22, 25, 0.9);--tone-shadow:#0c0708;--tone-mid:#84272a;--tone-highlight:#e6b9ac;}
[data-theme="don"]{--ground:#0b0f17;--surface:#121826;--hairline:#263042;--text:#e6e3dc;--text-hover:#f2f0ec;--muted:#93a0b4;--mark:#ff7a3d;--scrim:rgba(11, 15, 23, 0.9);--tone-shadow:#0c0708;--tone-mid:#84272a;--tone-highlight:#e6b9ac;}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px;--radius-none:0;--radius-portrait:4px;--radius-control:6px;--radius-pass:10px;--radius-round:50%;--page-max:1440px;--tap-min:44px;--poster-min:240px;--bar-min:64px;--rule:1px;--dot:8px;--aspect-poster:3 / 4;--aspect-still:16 / 9;--aspect-upright:9 / 16;--font-display:"Barlow Condensed", "Arial Narrow", sans-serif;--font-sans:Barlow, system-ui, sans-serif;--font-mono:"IBM Plex Mono", ui-monospace, monospace;}
.title-hero{font-family:var(--font-display);font-size:112px;line-height:0.95;font-weight:600}
.title-film{font-family:var(--font-display);font-size:96px;line-height:0.95;font-weight:600}
.title-feature{font-family:var(--font-display);font-size:76px;line-height:0.95;font-weight:600}
.title-section{font-family:var(--font-display);font-size:34px;line-height:1;font-weight:600}
.title-card{font-family:var(--font-display);font-size:28px;line-height:1.05;font-weight:600}
.title-item{font-family:var(--font-display);font-size:24px;line-height:1.1;font-weight:600}
.copy-lead{font-family:var(--font-sans);font-size:19px;line-height:1.55;font-weight:400}
.copy-body{font-family:var(--font-sans);font-size:16px;line-height:1.55;font-weight:400}
.copy-small{font-family:var(--font-sans);font-size:15px;line-height:1.5;font-weight:400}
.copy-nav{font-family:var(--font-sans);font-size:17px;line-height:1.3;font-weight:500}
.copy-link{font-family:var(--font-sans);font-size:15px;line-height:1.3;font-weight:500}
.copy-button{font-family:var(--font-sans);font-size:16px;line-height:1.3;font-weight:500}
.copy-label{font-family:var(--font-sans);font-size:14px;line-height:1.5;font-weight:400}
.copy-note{font-family:var(--font-sans);font-size:13px;line-height:1.4;font-weight:400}
.data-number{font-family:var(--font-mono);font-size:20px;line-height:1;font-weight:500}
.data-value{font-family:var(--font-mono);font-size:15px;line-height:1.6;font-weight:400}
.data-time{font-family:var(--font-mono);font-size:13px;line-height:1.5;font-weight:400}
.data-meta{font-family:var(--font-mono);font-size:12px;line-height:1.5;font-weight:400}
/* z17 components. Every colour, step, radius and font comes from tokens.css; type sizes come from its style classes.
   Phone rules (up to 640px wide) are at the end. */
body{margin:0;background:var(--ground);color:var(--text);font-family:var(--font-sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:var(--text);text-underline-offset:4px}
a:hover{color:var(--text-hover)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--mark);outline-offset:3px}
h1,h2,h3,p,dl,dd{margin:0}
img,video{display:block}


/* page frame */
.z-page{min-height:100vh;display:flex;flex-direction:column}
.z-main{width:100%;max-width:var(--page-max);box-sizing:border-box;margin:0 auto;padding:var(--space-12) var(--space-12) var(--space-24);display:flex;flex-direction:column;gap:var(--space-16)}
.z-section{display:flex;flex-direction:column;gap:var(--space-6);scroll-margin-top:80px}

/* RecordDot */
.z-dot{display:inline-block;flex-shrink:0;width:var(--dot);height:var(--dot);border-radius:var(--radius-round);background:var(--mark)}
.z-marked{display:flex;align-items:center;gap:var(--space-2)}
.z-marked--muted{color:var(--muted)}

/* IconLink */
.z-icon{display:block;flex-shrink:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.z-icon--sm{width:16px;height:16px;stroke-width:1.6}
.z-icon--lg{width:24px;height:24px}
.z-icon-link{display:flex;align-items:center;justify-content:center;width:var(--tap-min);height:var(--tap-min);padding:0;background:none;border:0;color:var(--text);cursor:pointer}
.z-icon-link--muted{color:var(--muted)}
.z-icon-row{display:flex;align-items:center;gap:2px}
.z-who{display:flex;align-items:center;gap:var(--space-1)}
.z-who__label{padding-right:var(--space-1);color:var(--muted)}

/* TextLink */
.z-link{display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--tap-min);color:var(--text);text-decoration:underline;text-decoration-color:var(--muted)}
.z-more summary{list-style:none;cursor:pointer}
.z-more summary::-webkit-details-marker{display:none}
.z-more[open] .z-more__open,.z-more:not([open]) .z-more__close{display:none}
.z-more__text{margin-top:var(--space-2);max-width:54ch}

/* ContactButton */
.z-button{display:inline-flex;align-items:center;gap:var(--space-3);min-height:56px;box-sizing:border-box;padding:0 var(--space-6) 0 var(--space-4);background:var(--surface);border:var(--rule) solid var(--muted);border-radius:var(--radius-control);color:var(--text);text-decoration:none}

/* SectionHeading */
.z-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--space-2) var(--space-6);padding-bottom:var(--space-3);border-bottom:var(--rule) solid var(--hairline)}

/* SiteHeader */
.z-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-8);padding:var(--space-4) var(--space-12);border-bottom:var(--rule) solid var(--hairline)}
.z-header__logo img{height:48px;width:auto}
.z-nav{display:flex;gap:var(--space-8)}
.z-nav a{display:flex;align-items:center;gap:var(--space-2);min-height:var(--tap-min);text-decoration:none}

/* PageBar */
.z-pagebar{position:sticky;top:0;z-index:5;background:var(--ground);border-bottom:var(--rule) solid var(--hairline)}
.z-pagebar__inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 var(--space-8);width:100%;max-width:var(--page-max);min-height:var(--bar-min);box-sizing:border-box;margin:0 auto;padding:var(--space-2) var(--space-12)}
.z-pagebar__trail{display:flex;align-items:center;flex-wrap:wrap;gap:0 var(--space-3);color:var(--muted)}
.z-pagebar__trail a{display:flex;align-items:center;min-height:var(--tap-min);color:var(--muted);text-decoration:none}
.z-pagebar__trail [aria-current]{color:var(--text)}
.z-pagebar__sep{color:var(--hairline)}
.z-pagebar__nav{display:flex;flex-wrap:wrap;gap:0 var(--space-6)}
.z-pagebar__nav a{display:flex;align-items:center;gap:var(--space-2);min-height:var(--tap-min);color:var(--muted);text-decoration:none}
.z-pagebar__nav a[aria-current]{color:var(--text)}

/* StartScreen: header, clip, bar. One screen, no scroll. 141px = header (81) + bar (60). */
.z-start{height:100vh;min-height:480px;display:flex;flex-direction:column}
.z-start__clip{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.z-start__clip img,.z-start__clip video{width:min(100%,calc((100vh - 141px) * 16 / 9));aspect-ratio:var(--aspect-still);object-fit:cover}
.z-startbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-1) var(--space-6);min-height:60px;box-sizing:border-box;padding:var(--space-2) 36px var(--space-2) var(--space-12);border-top:var(--rule) solid var(--hairline)}
.z-startbar__right{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1) var(--space-6)}

/* SiteFooter */
.z-footer{margin-top:auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-12);padding:var(--space-4) var(--space-12);border-top:var(--rule) solid var(--hairline)}
.z-footer__quote{max-width:60ch}
.z-footer__author{padding-left:var(--space-2);color:var(--muted)}
.z-footer__links{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1) var(--space-6)}
.z-footer__privacy{display:flex;align-items:center;min-height:var(--tap-min);color:var(--muted)}

/* PosterCard */
.z-poster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(var(--poster-min),100%),1fr));gap:var(--space-8) var(--space-6)}
.z-poster{display:flex;flex-direction:column;gap:var(--space-3);min-width:0;text-decoration:none;color:var(--text)}
.z-poster__image{width:100%;aspect-ratio:var(--aspect-poster);object-fit:cover;box-sizing:border-box;border:var(--rule) solid var(--hairline)}
.z-poster__text{display:flex;flex-direction:column;gap:var(--space-1)}
.z-poster__meta{display:flex;justify-content:space-between;gap:var(--space-2);color:var(--muted)}
.z-poster__missing{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:var(--aspect-poster);box-sizing:border-box;padding:var(--space-4);border:var(--rule) dashed var(--muted);color:var(--muted);text-align:center}

/* FeatureFilm */
.z-feature{display:flex;flex-wrap:wrap;gap:var(--space-6) var(--space-12);align-items:flex-end;scroll-margin-top:80px}
.z-feature__still{flex:3 1 560px;min-width:0}
.z-feature__still img{width:100%;aspect-ratio:var(--aspect-still);object-fit:cover;box-sizing:border-box;border:var(--rule) solid var(--hairline)}
.z-feature__text{flex:2 1 320px;min-width:0;display:flex;flex-direction:column;gap:var(--space-4)}
.z-feature__text h2 a{text-decoration:none}
.z-feature__text p{max-width:44ch}
.z-feature__meta{display:flex;flex-wrap:wrap;gap:var(--space-1) var(--space-6);color:var(--muted)}

/* SeriesTile */
.z-tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:var(--space-6)}
.z-tile{position:relative;display:block;height:240px;overflow:hidden;box-sizing:border-box;background:var(--surface);border:var(--rule) solid var(--hairline);text-decoration:none;color:var(--text)}
.z-tile__image{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.z-tile__label{position:absolute;left:0;bottom:0;display:flex;align-items:baseline;gap:var(--space-3);padding:var(--space-2) var(--space-4) var(--space-3);background:var(--ground);border-top:var(--rule) solid var(--hairline);border-right:var(--rule) solid var(--hairline)}
.z-tile__kind{color:var(--muted)}

/* SeriesBanner */
.z-banner{position:relative;display:flex;align-items:flex-end;min-height:440px;overflow:hidden;background:var(--surface);border-bottom:var(--rule) solid var(--hairline)}
.z-banner__image{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.z-banner__fade{position:absolute;left:0;right:0;bottom:0;height:70%;background:linear-gradient(transparent,var(--scrim))}
.z-banner__text{position:relative;display:flex;flex-direction:column;gap:var(--space-2);width:100%;max-width:var(--page-max);box-sizing:border-box;margin:0 auto;padding:var(--space-12) var(--space-12) var(--space-8)}

/* Player */
.z-player-wrap{display:flex;flex-direction:column;gap:var(--space-2)}
.z-player{position:relative;width:100%;aspect-ratio:var(--aspect-still);overflow:hidden;box-sizing:border-box;background:var(--surface);border:var(--rule) solid var(--hairline)}
.z-player__image{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.z-player__play{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:96px;height:96px;margin:-48px 0 0 -48px;padding:0;box-sizing:border-box;border-radius:var(--radius-round);background:var(--scrim);border:var(--rule) solid var(--text);color:var(--text);cursor:pointer}
.z-player__play .z-icon{width:40px;height:40px;stroke-width:1.2}
.z-player__tag{position:absolute;bottom:0;display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:var(--ground);border-top:var(--rule) solid var(--hairline);color:var(--muted)}
.z-player__tag--left{left:0;border-right:var(--rule) solid var(--hairline)}
.z-player__tag--right{right:0;border-left:var(--rule) solid var(--hairline)}
.z-player__note{display:none;color:var(--muted)}

/* FilmData */
.z-data{display:grid;grid-template-columns:120px 1fr;gap:var(--space-2) 0;padding-top:var(--space-4);border-top:var(--rule) solid var(--hairline)}
.z-data dt{color:var(--muted);line-height:24px}
.z-data dd{line-height:24px}
.z-data a{text-decoration-color:var(--muted)}

/* FactSheet */
.z-bio{display:flex;flex-wrap:wrap;gap:var(--space-6) var(--space-8);align-items:flex-start}
.z-bio__text{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:var(--space-2)}
.z-bio__text p{max-width:54ch}
.z-facts{flex:0 1 290px;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:96px minmax(0,1fr);gap:var(--space-2) 0;padding:var(--space-1) 0 var(--space-1) var(--space-8);border-left:var(--rule) solid var(--hairline)}
.z-facts dt{color:var(--muted);line-height:24px}
.z-facts dd{line-height:24px}

/* PrevNext */
.z-prevnext{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--space-4) var(--space-8);padding-top:var(--space-6);border-top:var(--rule) solid var(--hairline)}
.z-prevnext a{display:flex;align-items:center;gap:var(--space-3);min-height:64px;text-decoration:none;color:var(--text)}
.z-prevnext__text{display:flex;flex-direction:column;gap:2px}
.z-prevnext__text--right{text-align:right}
.z-prevnext__label{color:var(--muted)}

/* TonedPortrait */
.z-tone{position:relative;display:block;width:100%;aspect-ratio:var(--aspect-poster);overflow:hidden;border-radius:var(--radius-portrait);background:var(--tone-shadow)}
.z-tone img,.z-tone video{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.z-tone__toned{transition:opacity .25s ease}
.z-tone:hover .z-tone__toned,a:hover .z-tone__toned,a:focus-visible .z-tone__toned,.z-tone--colour .z-tone__toned{opacity:0}
@media (prefers-reduced-motion:reduce){.z-tone__toned{transition:none}}

/* MemberMark */
.z-member{display:flex;align-items:center;gap:var(--space-2);color:var(--muted)}
.z-member__no{display:flex;align-items:center;gap:var(--space-2);color:var(--text)}

/* MemberPass */
.z-pass-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:var(--space-6)}
.z-pass{display:flex;flex-direction:column;gap:var(--space-3);min-width:0;height:372px;box-sizing:border-box;padding:var(--space-3);background:var(--surface);border:var(--rule) solid var(--hairline);border-radius:var(--radius-pass);color:var(--text);text-decoration:none}
.z-pass__slot{align-self:center;flex-shrink:0;width:52px;height:10px;box-sizing:border-box;border-radius:5px;background:var(--ground);border:var(--rule) solid var(--hairline)}
.z-pass__head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}
.z-pass__head img{height:46px;width:auto}
.z-pass .z-tone{flex:1;min-height:0;aspect-ratio:auto}
.z-pass__name{display:flex;flex-direction:column;gap:var(--space-1);flex-shrink:0}
.z-pass__origin{color:var(--muted)}

/* Callout */
.z-callout{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-3) var(--space-12);padding:var(--space-6);background:var(--surface);border:var(--rule) solid var(--hairline)}
.z-callout__text{display:flex;flex-direction:column;gap:var(--space-1)}
.z-callout__sub{color:var(--muted)}

/* ---------------------------------------------------------------- phone: up to 640px wide */
@media (max-width:640px){
.title-hero{font-size:64px}.title-film{font-size:52px}.title-feature{font-size:48px}.title-section{font-size:28px}.title-card{font-size:24px}.title-item{font-size:20px}
.copy-lead{font-size:17px}.copy-nav{font-size:16px}.data-number{font-size:18px}
.z-main{padding:var(--space-6) var(--space-6) var(--space-16);gap:var(--space-12)}
.z-header{padding:var(--space-2) var(--space-6)}
.z-header__logo img{height:36px}
.z-nav{gap:20px}
.z-pagebar__inner{min-height:52px;padding:2px var(--space-6);gap:0 var(--space-4)}
.z-pagebar__nav{gap:0 var(--space-4)}
.z-pagebar__nav.copy-link{font-size:14px}
.z-start{min-height:560px}
.z-start__clip img,.z-start__clip video{width:min(100%,calc((100vh - 150px) * 9 / 16));aspect-ratio:var(--aspect-upright)}
.z-startbar{flex-direction:column;align-items:stretch;gap:0;padding:var(--space-2) var(--space-3) var(--space-1) var(--space-6)}
.z-startbar__right{justify-content:space-between;flex-wrap:nowrap;gap:var(--space-2)}
.z-footer{flex-direction:column;align-items:flex-start;padding:20px var(--space-6) var(--space-4)}
.z-footer__links{gap:0 var(--space-6)}
.z-poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6) var(--space-4)}
.z-tile{height:180px}
.z-banner{min-height:300px}
.z-banner__text{padding:var(--space-8) var(--space-6) var(--space-6)}
.z-player__play{width:64px;height:64px;margin:-32px 0 0 -32px}
.z-player__play .z-icon{width:28px;height:28px;stroke-width:1.3}
.z-player__tag--right{display:none}
.z-player__note{display:block}
.z-data{grid-template-columns:104px 1fr}
.z-facts{flex:1 1 100%;padding:var(--space-4) 0 0;border-left:0;border-top:var(--rule) solid var(--hairline)}
.z-pass-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.z-pass{height:auto;gap:var(--space-2);padding:10px}
.z-pass__slot{width:44px;height:8px}
.z-pass__head img{height:34px}
.z-pass .z-tone{flex:none;aspect-ratio:4 / 5}
.z-pass .z-member__word{display:none}
.z-callout{padding:var(--space-4)}
}

/* ---------------------------------------------------------------- site layer
   Loads after tokens.css and the style-guide bundle.css. Only what the pages need beyond the components:
   page layouts that the boards draw (film head, gallery), the loaded player, Work rows. Token names only. */

picture{display:contents}
picture > source{display:none}

/* Header and page bar stay at the top together (z17, 14 Nov: the menu must stay reachable) */
.z-top{position:sticky;top:0;z-index:6;background:var(--ground)}
.z-top .z-pagebar{position:static}
.z-section,.z-feature,.z-yesod,.z-section .z-lead{scroll-margin-top:160px}

/* Player: after the press the YouTube frame fills the box */
.z-player iframe{position:absolute;left:0;top:0;width:100%;height:100%;border:0}
.z-player video{position:absolute;left:0;top:0;width:100%;height:100%;border:0;background:#131619;object-fit:contain}
.z-player--playing .z-player__tag,.z-player--playing .z-player__play,.z-player--playing .z-player__image,
.z-player-wrap--playing .z-player__note{display:none}
/* Film / Trailer tabs, top left, in the style of the time tag; they stay above the video so the visitor can switch while it plays */
.z-player__tabs{position:absolute;top:0;left:0;z-index:2;display:flex;background:var(--ground);border-bottom:var(--rule) solid var(--hairline);border-right:var(--rule) solid var(--hairline)}
.z-player__tab{display:flex;align-items:center;gap:var(--space-2);margin:0;padding:var(--space-2) var(--space-3);background:none;border:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:var(--muted);cursor:pointer}
.z-player__tab + .z-player__tab{border-left:var(--rule) solid var(--hairline)}
.z-player__tab[aria-pressed="true"]{color:var(--text)}
.z-player__tab[aria-pressed="false"] .z-dot{display:none}
.z-player__tab:hover,.z-player__tab:focus-visible{color:var(--text)}
.z-player__tablen{color:var(--muted)}

/* Film page: title + synopsis left, film data right (board "Film: Second Billing") */
.z-filmhead{display:flex;flex-wrap:wrap;gap:var(--space-8) var(--space-16);align-items:flex-start}
.z-filmhead__text{flex:2 1 420px;min-width:0;display:flex;flex-direction:column;gap:var(--space-6)}
.z-filmhead__text p{max-width:52ch}
.z-filmhead__data{flex:1 1 320px;min-width:0}
.z-data a{color:var(--text);text-decoration:underline;text-decoration-color:var(--muted)}
.z-data a:hover{color:var(--text-hover)}

/* Film page: poster beside a grid of stills */
.z-gallery{display:flex;flex-wrap:wrap;gap:var(--space-6);align-items:flex-start}
.z-gallery__poster{flex:1 1 380px;max-width:416px;min-width:0;width:100%;height:auto;aspect-ratio:var(--aspect-poster);object-fit:cover;box-sizing:border-box;border:var(--rule) solid var(--hairline)}
.z-gallery__stills{flex:999 1 480px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6)}
.z-still{width:100%;height:auto;aspect-ratio:var(--aspect-still);object-fit:cover;box-sizing:border-box;border:var(--rule) solid var(--hairline)}
/* Gallery with poster (z17, 1 Dec 2026): four stills in a 2x2 grid beside the poster, top and bottom flush with it.
   The poster sets the height; the column split 27:64 keeps the stills close to 16:9, object-fit trims the rest. */
@media (min-width:641px){
.z-gallery--paired{display:grid;grid-template-columns:minmax(0,27fr) minmax(0,64fr);align-items:stretch}
.z-gallery--paired .z-gallery__poster{max-width:none}
.z-gallery--paired .z-gallery__stills{contain:size;grid-template-rows:repeat(2,minmax(0,1fr))}
.z-gallery--paired .z-still{height:100%;aspect-ratio:auto}
}

/* Images placed by the build carry width and height; the boxes come from the components */
.z-poster__image,.z-feature__still img{height:auto}
.z-feature__still{display:block}

/* Work: a section shows one row of posters (four films at phone width) */
.z-poster-grid--row{grid-template-rows:auto;grid-auto-rows:0;row-gap:0;overflow:hidden}
.z-prevnext > span:empty{display:none}
.z-prevnext > a:only-child:not(:first-child),.z-prevnext > span:empty + a{margin-left:auto}


/* A still that is not there yet: named in brackets, like a missing poster */
.z-still-missing{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:flex-start;padding:var(--space-4);color:var(--muted);border:var(--rule) dashed var(--muted)}
.z-feature__still{position:relative;aspect-ratio:var(--aspect-still)}
.z-feature__still .z-still-missing{box-sizing:border-box}
.z-heading__note{color:var(--muted)}

/* Start: the clip fills the space between header and start bar (z17, 14 Nov: cropped, no black bars) */
.z-start__clip{position:relative}
.z-start__clip img,.z-start__clip video{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}

/* Series page: intro line and the link out */
.z-intro{display:flex;flex-wrap:wrap;gap:var(--space-6) var(--space-16);align-items:flex-start;justify-content:space-between}
.z-intro p{flex:2 1 420px;max-width:58ch}

/* Cast: intro, Demeter large, the Yesod block */
.z-cast-intro{max-width:56ch}
.z-lead{display:flex;flex-wrap:wrap;gap:var(--space-8) var(--space-16);align-items:stretch}
.z-lead__portrait{flex:1 1 320px;max-width:460px;min-width:0;display:block;align-self:flex-start}
.z-lead__text{flex:2 1 420px;min-width:0;display:flex;flex-direction:column;gap:var(--space-4)}
.z-lead .z-bio{flex:1;align-items:stretch}
.z-lead .z-bio__text{display:flex;flex-direction:column}
.z-lead .z-facts{align-self:flex-start}
.z-lead__text p{max-width:54ch}
.z-lead__links{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1) var(--space-6)}
.z-lead__images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);width:100%;max-width:520px;margin-top:auto;padding-top:var(--space-2)}
.z-lead__image{width:100%;height:auto;aspect-ratio:var(--aspect-poster);object-fit:cover;box-sizing:border-box;border:var(--rule) solid var(--hairline)}
.z-yesod{display:flex;flex-wrap:wrap;align-items:stretch;background:var(--surface);border:var(--rule) solid var(--hairline)}
.z-yesod__image{flex:3 1 420px;min-width:0;min-height:300px;max-height:440px;width:100%;height:auto;object-fit:cover}
.z-yesod__text{flex:2 1 320px;min-width:0;box-sizing:border-box;padding:var(--space-8) var(--space-8);display:flex;flex-direction:column;justify-content:center;gap:var(--space-6)}
.z-yesod__text img{width:190px;height:auto}
.z-yesod__text p{max-width:44ch}
.z-pass__head img{width:auto}
.z-tile-grid--three{grid-template-columns:repeat(auto-fill,minmax(min(400px,100%),1fr))}
.z-member-line{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-4)}
.z-role{color:var(--muted)}
.z-facts__links{display:flex;flex-wrap:wrap;gap:0 var(--space-4)}
.z-facts a{color:var(--text);text-decoration:underline;text-decoration-color:var(--muted)}
.z-facts a:hover{color:var(--text-hover)}
.z-lead h2 a{text-decoration:none}
.z-lead .z-bio__text{gap:var(--space-4)}
.z-socials{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 var(--space-1)}
.z-socials .z-icon-link{color:var(--text)}
.z-socials__label{color:var(--muted)}
.z-lead__links{display:flex;align-items:center;flex-wrap:wrap;gap:0 var(--space-8)}
.z-lead__top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 var(--space-6)}
.z-lead + .z-pass-row{margin-top:var(--space-6)}

/* Actor page */
.z-actor{display:flex;flex-wrap:wrap;gap:var(--space-8) var(--space-16);align-items:flex-start}
.z-actor__portrait{flex:1 1 300px;max-width:420px;min-width:0}
.z-actor__text{flex:2 1 420px;min-width:0;display:flex;flex-direction:column;gap:var(--space-4)}
.z-actor__mark{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-3)}
.z-actor__mark img{height:52px;width:auto}
.z-actor .z-bio{padding-top:var(--space-2)}

/* Text pages: About, Privacy */
.z-text{display:flex;flex-direction:column;gap:var(--space-6);max-width:60ch}
.z-text h2{margin-top:var(--space-4)}
.z-text h2 + p{margin-top:calc(var(--space-6) * -1 + var(--space-2))}
.z-section > .z-button{align-self:flex-start}

/* ---------------------------------------------------------------- phone: up to 640px wide */
@media (max-width:640px){
.z-filmhead{flex-direction:column;gap:var(--space-4)}
.z-filmhead__text{flex:none;gap:var(--space-4)}
.z-filmhead__data{flex:none;width:100%}
.z-gallery{flex-direction:column;gap:var(--space-4)}
.z-gallery__poster{flex:none;max-width:none}
.z-gallery__stills{flex:none;width:100%;gap:var(--space-4)}
.z-poster-grid--row{grid-auto-rows:auto;row-gap:var(--space-6);overflow:visible}
.z-poster-grid--row > :nth-child(n+5){display:none}
.z-intro{gap:var(--space-4)}
.z-intro p{flex:1 1 100%;min-width:0}
.z-lead,.z-actor{flex-direction:column;gap:var(--space-4)}
.z-lead__portrait,.z-actor__portrait{flex:none;width:100%;max-width:none}
.z-lead__text,.z-actor__text{flex:none;width:100%}
.z-lead__images{gap:10px;max-width:none}
.z-yesod{flex-direction:column}
.z-yesod__image{flex:none;min-height:0;height:200px;max-height:none}
.z-yesod__text{flex:none;padding:20px;gap:var(--space-4)}
.z-yesod__text img{width:150px}
.z-actor__mark img{height:44px}
.z-text{gap:var(--space-4)}
.z-section,.z-feature,.z-yesod,.z-section .z-lead{scroll-margin-top:124px}
.z-lead__images{margin-top:0;max-width:none}
}

/* Start fills the screen exactly and does not scroll or bounce (phone browsers) */
html:has(.z-start),html:has(.z-start) body{height:100%;overflow:hidden;overscroll-behavior:none}
.z-start{height:100vh;height:100dvh;min-height:0}
/* Work: the newest film plays in place */
.z-feature__still.z-player img{border:0;height:100%}
.z-player__cover{position:absolute;inset:0;display:block;cursor:pointer}
.z-player__cover .z-player__play{pointer-events:none}
.z-player--playing .z-player__cover{display:none}
@media (max-width:640px){.z-start{min-height:0}}
.z-footer__copy{color:var(--muted)}

/* Legals link after the copyright; on phones the copyright line comes last */
.z-legal-link{color:var(--muted);text-decoration:underline;text-underline-offset:3px;margin-left:var(--space-2);white-space:nowrap}
.z-legal-link:hover{color:var(--text)}
.z-startbar__copy{color:var(--muted)}
.z-pass[hidden],.z-lead[hidden]{display:none}
@media (max-width:640px){
.z-startbar__copy{order:2;padding-top:var(--space-1)}
.z-footer__copy{order:2}
}
@media (max-width:640px){.z-legal-link{display:table;margin:var(--space-1) 0 0}}
/* About: text left, a film still right */
.z-about{display:flex;flex-wrap:wrap;gap:var(--space-8) var(--space-16);align-items:flex-start}
.z-about .z-text{flex:1 1 420px}
.z-about__still{flex:1 1 420px;margin:0;display:flex;flex-direction:column;gap:var(--space-2)}
.z-about__still img{width:100%;height:auto;aspect-ratio:var(--aspect-still);object-fit:cover;box-sizing:border-box;border:var(--rule) solid var(--hairline)}
.z-about__still figcaption{color:var(--muted)}
.z-facts--about{flex:none;max-width:720px;grid-template-columns:120px minmax(0,1fr);padding-left:0;border-left:0}
.z-text a,.z-facts a{color:var(--text)}
@media (max-width:640px){.z-facts--about{border-top:0;padding-top:0;grid-template-columns:96px minmax(0,1fr)}}
