/* Kit Moynihan portfolio. The work carries the colour; the frame stays black and quiet. */
:root{--bg:#000;--panel:#0e0e0e;--ink:#f2f0eb;--muted:#9a968f;--line:rgba(242,240,235,.14);--accent:#f2f0eb;--gap:6px;--pad:clamp(16px,3vw,40px);color-scheme:dark;font-family:"Tinos","Times New Roman",Times,serif;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
::selection{background:var(--ink);color:#000}
img{max-width:100%}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:fixed;top:-100px;left:16px;padding:12px 16px;background:var(--ink);color:#000;z-index:20}.skip:focus{top:12px}

/* Header: one quiet line. */
.header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:96px;padding:0 var(--pad)}
.brand{font-size:clamp(1.875rem,3vw,2.75rem);font-weight:600;letter-spacing:-.015em;white-space:nowrap;display:inline-flex;align-items:baseline;gap:12px;padding:10px 0}
.brand span{font-weight:400;font-size:.42em;color:var(--muted)}
nav{display:flex;gap:30px}
nav a{display:inline-flex;align-items:center;min-height:44px;font-size:clamp(1rem,1.15vw,1.125rem);color:var(--muted);transition:color .2s}
nav a:hover,nav a[aria-current]{color:var(--ink)}

/* Home, direction 1 (after oscarhudson.com): the featured film as a framed poster, then one even grid. */
.feature-wrap{padding:0 var(--pad)}
.feature>a{display:block;position:relative;color:var(--ink)}
.feature .art{position:relative;width:100%;height:min(calc((100vw - 2 * var(--pad)) / 2),calc(100svh - 150px));min-height:360px;overflow:hidden;background:var(--panel);container-type:size}
.feature .art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 32%;transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.feature>a::before,.feature>a::after{content:"";position:absolute;left:0;right:0;pointer-events:none;z-index:1}
.feature>a::before{top:0;height:38%;background:linear-gradient(to top,transparent,rgba(0,0,0,.55))}
.feature>a::after{bottom:0;height:42%;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.7))}
.poster-top{position:absolute;top:0;left:0;right:0;z-index:2;padding:clamp(16px,2.4vw,36px) var(--pad) 0}
.poster-title{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 var(--pad) clamp(20px,2.8vw,40px);text-align:center;text-shadow:0 1px 14px rgba(0,0,0,.4)}
.poster-title h2{margin:0;font-size:clamp(2.25rem,4.6vw,4.5rem);font-weight:500;letter-spacing:-.04em;line-height:1}
.poster-title p{margin:8px 0 0;font-size:clamp(.875rem,1.05vw,1rem);color:rgba(242,240,235,.82)}
.title-card-img{margin:0 auto;line-height:0}
.title-card-img img{--tch:clamp(150px,17vw,250px);display:block;height:auto;width:min(100%,var(--tch) * var(--tca,1),clamp(280px,46vw,760px));margin:0 auto;filter:drop-shadow(0 2px 16px rgba(0,0,0,.6))}
.detail-head .title-card-img{margin-bottom:18px}
.title-card-loop video{--tch:clamp(170px,20vw,300px);display:block;height:auto;width:min(100%,var(--tch) * var(--tca,1),clamp(280px,46vw,760px));margin:0 auto;background:#000}
@media(prefers-reduced-motion:reduce){.title-card-loop video{animation:none}}
.detail-head .title-card-img img{--tch:clamp(170px,20vw,300px)}
@media(hover:hover){.feature:hover .art img{transform:scale(1.02)}}

/* Laurels: one centred row; DWF, Audience Choice and Reading larger, in the middle. */
.laurels{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px clamp(14px,1.8vw,30px);margin:0;padding:0}
.laurels img{display:block;width:auto;filter:drop-shadow(0 1px 8px rgba(0,0,0,.45))}
.laurels .tier-1 img{height:clamp(52px,5.2vw,88px)}
.laurels .tier-2 img{height:clamp(36px,3.5vw,58px);opacity:.88}
.laurels .tier-1 img[src*="dances-with-films"]{height:clamp(42px,4.2vw,70px)}
@media(min-width:1024px){.laurels{flex-wrap:nowrap}}
.detail-laurels{margin-top:30px}
.detail-laurels img{filter:none}
.detail-head{text-align:center}

/* The grid: every piece the same size, credit-style caption underneath. */
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,2.8vw,40px) clamp(12px,1.3vw,20px);padding:clamp(12px,1.3vw,20px) var(--pad) clamp(56px,7vw,104px)}
.tile{position:relative;min-width:0}
.tile>a{display:block;color:var(--ink)}
.tile .art{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--panel);container-type:size}
.tile .art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
/* Kit 23 Nov 2026: caption overlaid in the thumbnail's bottom-left corner */
.tile .art::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 0% 100%,rgba(0,0,0,.6),rgba(0,0,0,.25) 55%,transparent 80%)}
.tile .art .tile-caption{position:absolute;left:0;bottom:0;z-index:3;max-width:72%;padding:0 0 clamp(10px,4.6cqh,22px) clamp(12px,3.2cqw,24px);text-align:left;pointer-events:none;color:var(--ink);text-shadow:0 1px 10px rgba(0,0,0,.6),0 0 2px rgba(0,0,0,.45)}
.tile-caption h2{margin:0;font-size:1rem;font-weight:500;letter-spacing:-.005em;line-height:1.25}
.tile-caption p{margin:2px 0 0;font-size:.875rem;line-height:1.3;color:rgba(242,240,235,.82)}
/* Short films: their own title card over the frame (Kit, 21 Nov 2026), like Mimi's poster. */
.tile-title{position:absolute;inset:auto 0 0 0;z-index:2;display:flex;justify-content:center;align-items:flex-end;padding:0 6% 3.5%;height:40%;pointer-events:none;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.55))}
.tile .art .tile-title img,.tile .art .tile-title video{object-fit:contain;display:block;height:auto;width:calc(min(44%,15cqh * var(--tca,1)) * var(--tcs,1));filter:drop-shadow(0 2px 12px rgba(0,0,0,.6))}
.tile .art .tile-title video.tile-title-loop{max-width:none}
.tile .art .tile-title video.tile-title-loop:not(.alpha){mix-blend-mode:screen;filter:none}
.title-card-loop video[data-hevc]{background:transparent}
/* Kit 22 Nov 2026: gold glow around the HB title (alpha loop), tile + film page. Tight halo + wide bloom. */
.tile .art .tile-title video.tile-title-loop.alpha,.title-card-loop video[data-hevc]{filter:drop-shadow(0 0 3px rgba(255,196,70,.5)) drop-shadow(0 0 12px rgba(255,170,40,.35)) drop-shadow(0 0 30px rgba(255,140,20,.2))}
.title-card{height:100%;display:grid;place-items:center;background:#111}
.title-card span{font-size:clamp(1.5rem,2.6vw,2.5rem);font-weight:500;letter-spacing:-.04em;line-height:1;color:rgba(242,240,235,.8)}
@media(hover:hover){.tile:hover .art img{transform:scale(1.03)}}

/* Hover previews: the item's own trailer or video, muted, scaled to cover the frame. */
.trailer-preview{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.trailer-preview iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0;pointer-events:none;background:#000;
  width:calc(max(100cqw,100cqh * var(--r,1.778)) * var(--z,1));height:calc(max(100cqh,100cqw / var(--r,1.778)) * var(--z,1));
  animation:preview-in .5s ease .9s both}
@keyframes preview-in{from{opacity:0}to{opacity:1}}
.preview-toggle{position:absolute;top:12px;right:12px;z-index:3;min-height:44px;padding:0 16px;border-radius:22px;border:1px solid rgba(242,240,235,.35);background:rgba(0,0,0,.55);color:var(--ink);font:inherit;font-size:.8125rem;cursor:pointer;transition:opacity .25s,background .2s}
.preview-toggle:hover{background:rgba(0,0,0,.8)}
@media(hover:hover){.preview-toggle{opacity:0}.tile:hover .preview-toggle,.tile:focus-within .preview-toggle{opacity:1}}
.feature .preview-toggle{top:auto;bottom:16px;right:16px}

/* Text sections */
.page-head{padding:48px var(--pad) 28px}
.page-head h1{margin:0;font-size:clamp(2.25rem,5vw,4rem);font-weight:500;letter-spacing:-.035em;line-height:1.05}
.statement{padding:clamp(64px,10vw,128px) var(--pad);display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 48px}
.statement p{margin:0;max-width:30ch;font-size:clamp(1.5rem,2.8vw,2.5rem);line-height:1.22;letter-spacing:-.025em}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;text-decoration:underline;text-decoration-color:var(--muted);text-decoration-thickness:1px;text-underline-offset:6px;transition:text-decoration-color .2s}
.text-link:hover{text-decoration-color:var(--ink)}
.honours{padding:0 var(--pad) clamp(64px,8vw,104px)}
.honours h2,.film-assets h2,.contact h2{margin:0 0 14px;font-size:.9375rem;font-weight:400;color:var(--muted)}
.honours ul{list-style:none;margin:0;padding:0}
.honours li{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:4px 0;border-top:1px solid var(--line);font-size:1.0625rem}
.honours li a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);white-space:nowrap;transition:color .2s}.honours li a:hover{color:var(--ink)}

/* Project pages: the film or video first. */
.detail-head{padding:48px var(--pad) 28px}
.detail-head h1{margin:0 0 10px;font-size:clamp(2.5rem,6vw,5.5rem);font-weight:500;letter-spacing:-.04em;line-height:1}
.detail-meta{margin:0;color:var(--muted);font-size:clamp(1.125rem,1.45vw,1.375rem);line-height:1.4}
.player,.detail-still{width:min(calc(100% - 2 * var(--gap)),calc(86svh * var(--r,1.778)));aspect-ratio:var(--r,1.778);margin:0 auto;background:#000}
.player iframe{display:block;width:100%;height:100%;border:0}
.detail-still img{display:block;width:100%;height:100%;object-fit:cover}
.project-info{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(32px,7vw,120px);padding:clamp(48px,6vw,88px) var(--pad)}
.synopsis{margin:0 0 18px;max-width:58ch;font-size:clamp(1.125rem,1.6vw,1.375rem);line-height:1.55}
.project-info dl{margin:0}
.project-info dl>div{border-top:1px solid var(--line);padding:14px 0 22px}
.project-info dt{color:var(--muted);font-size:.875rem;margin-bottom:6px}
.project-info dd{margin:0;line-height:1.6}
.project-info dd ul{list-style:none;margin:0;padding:0}.project-info dd li+li{margin-top:8px}
.film-assets{padding:0 var(--pad) clamp(48px,6vw,80px)}
.stills-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.film-assets img{display:block;width:100%;height:auto}
.film-poster{width:min(100%,560px);margin:0 auto}
.next{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin:0 var(--pad);padding:28px 0 56px;border-top:1px solid var(--line)}
.next span:first-child{color:var(--muted);font-size:.9375rem}
.next span:last-child{font-size:clamp(1.75rem,3.5vw,3rem);letter-spacing:-.03em;transition:opacity .2s}
.next:hover span:last-child{opacity:.7}
.bio{padding:0 var(--pad) clamp(48px,6vw,80px)}
.bio p{margin:0 0 20px;max-width:56ch;font-size:clamp(1.125rem,1.7vw,1.4375rem);line-height:1.55}

/* Footer: one quiet line on every page. */
.contact{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 28px;padding:20px var(--pad) 24px;border-top:1px solid var(--line)}
.contact-links{list-style:none;display:flex;flex-wrap:wrap;gap:0 24px;margin:0;padding:0}
.contact-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;color:var(--ink);transition:color .2s}.contact-links a:hover{color:var(--muted)}
.contact-meta{display:flex;gap:24px;margin:0;color:var(--muted);font-size:.8125rem}

@media(max-width:1000px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .header{flex-wrap:wrap;gap:0 24px;padding-top:8px;padding-bottom:4px}
  nav{gap:20px;width:100%}
  .grid{grid-template-columns:1fr}
  /* Phone: the whole frame, then the title, then the laurels (big three on one line). */
  .feature>a{display:flex;flex-direction:column}
  .feature>a::before,.feature>a::after{display:none}
  .feature .art{height:auto;min-height:0;aspect-ratio:4/3}
  .poster-title{position:static;order:2;padding:20px 0 0;text-shadow:none}
  .poster-title h2{font-size:2.5rem}
  .title-card-img img{--tch:170px}.detail-head .title-card-img img{--tch:190px}
  .poster-top{position:static;order:3;padding:20px 0 4px}
  .laurels{gap:10px 16px}
  .laurels .tier-1{order:0}.laurels::after{content:"";order:1;flex-basis:100%;height:0}.laurels .tier-2{order:2}
  .laurels .tier-1 img{height:56px}.laurels .tier-1 img[src*="dances-with-films"]{height:38px}
  .laurels .tier-2 img{height:38px}
  .project-info{grid-template-columns:1fr}
  .stills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .honours li{flex-direction:column;gap:2px}
  .contact{flex-direction:column;align-items:flex-start}
  .contact-meta{flex-direction:column;gap:2px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Image viewer (kept from the original build). */
.image-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:inherit}
.image-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:72px 76px;border:0;background:rgba(0,0,0,.92);color:var(--ink);overflow:hidden}
.image-viewer[open]{display:flex;align-items:center;justify-content:center}
.image-viewer::backdrop{background:rgba(0,0,0,.5)}
.image-viewer-photo{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;touch-action:pan-y pinch-zoom}
.image-close{position:absolute;top:16px;right:24px;min-height:44px;padding:0 16px;border:1px solid rgba(242,240,235,.35);border-radius:22px;background:#111;color:var(--ink);font:inherit;cursor:pointer;z-index:1}
html.image-viewer-open{overflow:hidden}
.image-prev,.image-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid rgba(242,240,235,.35);border-radius:50%;background:#111;color:var(--ink);font:28px/1 Arial,sans-serif;cursor:pointer}
.image-prev{left:16px}.image-next{right:16px}
.image-counter{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);font-size:.875rem;color:#ddd}
@media(max-width:600px){.image-viewer{padding:76px 16px 88px}.image-close{right:12px}.image-prev,.image-next{top:auto;bottom:14px;transform:none}.image-counter{bottom:29px}}

/* Type (Kit chose option 3, 15 Nov): Fraunces serif for names and titles, Archivo for everything else. */
.brand,.title-card span,.tile-caption h2,.poster-title h2,.page-head h1,.detail-head h1,.next span:last-child,.film-assets h2,.honours h2{font-family:"Tinos","Times New Roman",Times,serif;font-optical-sizing:auto}
.brand{font-weight:500;letter-spacing:-.02em}
.brand span{font-family:"Tinos","Times New Roman",Times,serif;letter-spacing:0}
.tile-caption h2{font-weight:500;font-size:1.0625rem;letter-spacing:-.005em}
.page-head h1,.detail-head h1{font-weight:400;letter-spacing:-.025em}
.next span:last-child{font-weight:400;letter-spacing:-.02em}
.film-assets h2,.honours h2{font-size:1.125rem;color:var(--ink)}
/* "Trailer" heading sits on the player's left edge. */
.media-block{width:min(calc(100% - 2 * var(--gap)),calc(86svh * var(--r,1.778)));margin:0 auto}
.media-block .player{width:100%}
.media-block h2{margin:0 0 14px;font-family:"Tinos","Times New Roman",Times,serif;font-weight:500;font-size:clamp(1.375rem,2vw,1.875rem);letter-spacing:-.02em}
@media(max-width:760px){.media-block{padding:0 var(--pad)}.media-block h2{font-size:1.375rem}}
/* Phone (Kit, 15 Nov): composite the title card onto the Mimi frame, as on desktop. */
@media(max-width:760px){
  .feature .art::after{content:"";position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.75));pointer-events:none;z-index:1}
  .feature .poster-title{position:absolute;top:0;left:0;right:0;order:0;aspect-ratio:4/3;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:0 12px 14px;z-index:2;text-shadow:0 1px 10px rgba(0,0,0,.5)}
  .feature .title-card-img img{height:clamp(92px,30vw,130px)}
  .feature .poster-title p{margin-top:4px;font-size:.8125rem}
}
/* Phone, round 2 (Kit, 15 Nov): same composition as desktop, scaled down.
   Laurels across the top of the frame, title card + tagline at the bottom, all on the still. */
@media(max-width:760px){
  .feature>a{display:block}
  .feature>a::before{display:block;height:40%}
  .feature .art::after{height:45%}
  .feature .art{aspect-ratio:1/1;height:auto;min-height:0}
  .feature .art img{object-position:50% 40%}
  .feature .poster-top{position:absolute;top:0;left:0;right:0;order:0;padding:12px 10px 0;z-index:2}
  .feature .poster-title{aspect-ratio:1/1;padding:0 12px 12px}
  .feature .laurels{gap:6px 10px}
  .feature .laurels .tier-1 img{height:40px}
  .feature .laurels .tier-1 img[src*="dances-with-films"]{height:28px}
  .feature .laurels .tier-2 img{height:26px}
  .feature .title-card-img img{height:clamp(64px,21vw,88px)}
  .feature .poster-title p{font-size:.75rem;margin-top:2px}
}
@media(max-width:760px){.feature .title-card-img img{height:clamp(64px,20.7vw,89px)}}
/* Phone: "Dark comedy short film" sits on the bottom edge of the still, title just above it. */
@media(max-width:760px){.feature .poster-title{padding-bottom:6px}.feature .poster-title p{margin-top:8px;line-height:1.2}}
/* Phone, Safari-proof: pin the title block to the still's bottom edge directly
   (square frame, so its bottom = frame width) instead of relying on aspect-ratio + flex. */
@media(max-width:760px){
  .feature .poster-title{top:calc(100vw - 2 * var(--pad));bottom:auto;aspect-ratio:auto;height:auto;display:block;transform:translateY(-100%);padding:0 12px 6px}
}
/* Phone only (Kit, 15 Nov): all laurels on one line, shrinking away from DWF at the centre.
   DOM order: outer, inner, Audience Choice, DWF, Reading, inner, outer. */
@media(max-width:760px){
  .feature .poster-top{padding:12px 6px 0}
  .feature .laurels{flex-wrap:nowrap;gap:0 1.1vw}
  .feature .laurels::after{display:none}
  .feature .laurels li{order:0;flex:none}
  .feature .laurels li:nth-child(4) img{height:7.4vw}
  .feature .laurels li:nth-child(3) img,.feature .laurels li:nth-child(5) img{height:8.6vw}
  .feature .laurels li:nth-child(2) img,.feature .laurels li:nth-child(6) img{height:6vw;opacity:.9}
  .feature .laurels li:nth-child(1) img,.feature .laurels li:nth-child(7) img{height:4.8vw;opacity:.85}
}
/* Home grid (Kit, 17 Nov): two films across the top, three music videos below. */
.grid-home{grid-template-columns:repeat(6,minmax(0,1fr))}
.grid-home>*{grid-column:span 2}
.grid-home>:nth-child(-n+2){grid-column:span 3}
@media(max-width:1000px){.grid-home{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-home>*,.grid-home>:nth-child(-n+2){grid-column:span 1}.grid-home>:nth-child(5){grid-column:1/-1}}
@media(max-width:760px){.grid-home{grid-template-columns:1fr}.grid-home>:nth-child(5){grid-column:auto}}
/* Five menu items (Commercial added 17 Nov): keep them on one line on small phones. */
@media(max-width:430px){nav{gap:0;justify-content:space-between}nav a{font-size:.9375rem}}
/* Vertical social ads (Ella Funt): four across, two on phones. */
.reels{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:clamp(12px,1.3vw,20px);padding:0 var(--pad);max-width:1400px;margin:0 auto}
.reel{margin:0}
.reel video{display:block;width:100%;height:auto;aspect-ratio:9/16;background:#000;object-fit:cover}
.reel figcaption{margin-top:10px;font-size:.9375rem;color:var(--muted)}
@media(max-width:760px){.reels{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Kit 22 Nov: Ella Funt in two sets (ASMR / music), each with its own heading and note. */
.reel-set+.reel-set{margin-top:clamp(56px,7vw,96px)}
.reel-set-head{padding:0 var(--pad);max-width:1400px;margin:0 auto 18px}
.reel-set-head h2{margin:0 0 6px;font-family:"Tinos","Times New Roman",Times,serif;font-weight:500;font-size:clamp(1.375rem,2vw,1.875rem);letter-spacing:-.02em}
.reel-set-head p{margin:0;color:var(--muted);max-width:60ch}

/* Self-hosted preview loops (e.g. To Me, My Love from 07:12). */
.trailer-preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;background:#000;animation:preview-in .5s ease .3s both}
/* One scrolling home page (Kit, 22 Nov): Films, Music videos, Commercial, About; the nav jumps to each. */
.home-section{scroll-margin-top:8px}
.grid-films,.grid-com{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-mv{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.grid-mv{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-mv>:nth-child(3):last-child{grid-column:1/-1}}
@media(max-width:760px){.grid-films,.grid-com,.grid-mv{grid-template-columns:1fr}.grid-mv>:nth-child(3):last-child{grid-column:auto}}
.section-label{margin:0;padding:0 var(--pad) 4px;font-family:"Tinos","Times New Roman",Times,serif;font-optical-sizing:auto;font-size:1.125rem;font-weight:400;color:var(--ink)}
#about .bio{padding-top:14px}
/* lift the film's title card so the bottom-left subheading sits below it, not on it */
.tile.has-title-card .art .tile-title{padding-bottom:calc(min(4.6cqh,22px) + 1.9rem)}

/* Kit 23 Nov 2026: high-res cover in place of the Vimeo player until clicked */
.player-cover{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:#000;cursor:pointer}
.player-cover img{display:block;width:100%;height:100%;object-fit:cover}
.player-play{position:absolute;left:50%;top:50%;width:clamp(64px,7vw,96px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:rgba(0,0,0,.55);border:1px solid rgba(242,240,235,.5);transition:background .2s ease,transform .2s ease}
.player-play::after{content:"";position:absolute;left:54%;top:50%;transform:translate(-50%,-50%);border-style:solid;border-width:clamp(11px,1.2vw,16px) 0 clamp(11px,1.2vw,16px) clamp(18px,2vw,27px);border-color:transparent transparent transparent var(--ink)}
.player-cover:hover .player-play,.player-cover:focus-visible .player-play{background:rgba(0,0,0,.8);transform:translate(-50%,-50%) scale(1.06)}
/* Phone (Kit, 23 Nov): Deep Pockets title a little lower on the home tile */
@media(max-width:760px){.tile .art .tile-title img[src*="deep-pockets-title"]{transform:translateY(10px)}}
/* Type (Kit chose option B, 23 Nov): Inter Tight capitals for the name and titles, Inter for everything else.
   Was Fraunces + Archivo (git e8f468e). */
.brand,.title-card span,.tile-caption h2,.poster-title h2,.page-head h1,.detail-head h1,.next span:last-child,.film-assets h2,.honours h2,.media-block h2,.reel-set-head h2,.section-label{font-optical-sizing:auto;text-transform:uppercase;letter-spacing:.06em;font-weight:600}
.brand span{text-transform:none;letter-spacing:0;font-weight:400}
.section-label,.tile-caption h2,.film-assets h2,.honours h2{letter-spacing:.08em;font-size:.9375rem}
/* Phones: capitals run wider than the old serif, so keep name + "Writer · Director · Editor" on one line. */
@media(max-width:430px){.brand{font-size:clamp(1.5rem,7.2vw,1.875rem);letter-spacing:.03em;gap:9px}}
/* Nav labels never wrap (Kit, 23 Nov: "Music videos" broke onto two lines on his iPhone, ~440px wide). */
nav a{white-space:nowrap}
@media(max-width:480px){nav{gap:0;justify-content:space-between}nav a{font-size:.9375rem}}
@media(max-width:380px){nav a{font-size:.8125rem}}
/* Touch screens (Kit, 23 Nov): no pill; the label fades in, centred on the thumbnail of the tile in the middle of the screen. */
@media(hover:none){
  .preview-toggle,.feature .preview-toggle{top:var(--art-mid,50%);left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%) scale(.96);
    background:transparent;border:0;padding:0 18px;font-size:.9375rem;font-weight:500;letter-spacing:.04em;
    text-shadow:0 1px 3px rgba(0,0,0,.7),0 0 18px rgba(0,0,0,.55);
    opacity:0;pointer-events:none;transition:opacity .55s cubic-bezier(.22,.61,.36,1),transform .55s cubic-bezier(.22,.61,.36,1)}
  .preview-toggle:hover{background:transparent}
  .project-card.is-centred .preview-toggle{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
}
@media(hover:none) and (prefers-reduced-motion:reduce){.preview-toggle,.feature .preview-toggle{transition:opacity .2s}}
/* Touch (Kit, 23 Nov): sleeker all-caps label; while a preview plays the stop control stays tappable but is invisible. */
@media(hover:none){
  .preview-toggle,.feature .preview-toggle{font-family:"Tinos","Times New Roman",Times,serif;font-weight:500;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase}
  .project-card.is-centred.is-playing .preview-toggle{opacity:0;pointer-events:auto}
}
/* Touch home tiles (Kit, 23 Nov): captions hidden until their tile is centred on screen, then glide in from the side
   like the Play preview label. Title-card tiles (Heroine Beige, Deep Pockets) centre their line under the title. */
@media(hover:none){
  .tile .art .tile-caption{opacity:0;transform:translateX(-14px);transition:opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1)}
  .project-card.is-centred .tile-caption{opacity:1;transform:none}
  .tile.has-title-card .art .tile-caption{left:0;right:0;max-width:none;padding-left:12px;padding-right:12px;text-align:center;transform:translateY(8px)}
  .tile.has-title-card.is-centred .art .tile-caption{transform:none}
}
@media(hover:none) and (prefers-reduced-motion:reduce){.tile .art .tile-caption{transform:none!important;transition:opacity .2s}}
@media(hover:none){
  .feature .poster-title p{opacity:0;transform:translateY(8px);transition:opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1)}
  .feature.is-centred .poster-title p{opacity:1;transform:none}
}
/* Touch home (Kit, 23 Nov): the film title art (Mimi, Heroine Beige, Deep Pockets) and Mimi's laurels glide in with the
   caption on the centred tile. Uses `translate` (not transform) so Deep Pockets' phone nudge (translateY 10px) still applies. */
@media(hover:none){
  .tile .art .tile-title img,.tile .art .tile-title video,.feature .poster-title .title-card-img{
    opacity:0;translate:0 10px;transition:opacity .7s cubic-bezier(.22,.61,.36,1),translate .7s cubic-bezier(.22,.61,.36,1)}
  .project-card.is-centred .tile-title img,.project-card.is-centred .tile-title video,.feature.is-centred .poster-title .title-card-img{opacity:1;translate:none}
}
@media(hover:none) and (prefers-reduced-motion:reduce){.tile .art .tile-title img,.tile .art .tile-title video,.feature .poster-title .title-card-img{translate:none!important;transition:opacity .3s}}
/* Touch (Kit, 23 Nov): Mimi's laurels appear centre-first, then outwards to the sides. previews.js sets --ld on each
   laurel = its distance (in places) from the middle of its row. Hiding them only when the feature is centred. */
@media(hover:none){
  .feature .poster-top .laurels li{opacity:0;scale:.86;transition:opacity .5s cubic-bezier(.22,.61,.36,1),scale .5s cubic-bezier(.22,.61,.36,1);transition-delay:0s}
  .feature.is-centred .poster-top .laurels li{opacity:1;scale:1;transition-delay:calc(var(--ld,0) * 110ms)}
}
@media(hover:none) and (prefers-reduced-motion:reduce){.feature .poster-top .laurels li{scale:none!important;transition-delay:0s!important}}
/* Phones (Kit, 23 Nov): no Films / Music videos / ... index on the home page header. */
@media(max-width:600px){body:has(.feature-wrap) .header nav{display:none}}
/* Bio (Kit, 23 Nov): sleeker type, Inter Tight Light with a little air. */
.bio p{font-family:"Tinos","Times New Roman",Times,serif;font-weight:300;letter-spacing:.005em;line-height:1.6;color:rgba(242,240,235,.92)}
.bio p .text-link{font-weight:500;letter-spacing:.12em;text-transform:uppercase;font-size:.8125rem}
/* Touch: bio paragraphs glide up into place as they scroll into view (previews.js sets .is-in), Email link just after. */
@media(hover:none){
  .bio p{opacity:0;translate:0 14px;transition:opacity .8s cubic-bezier(.22,.61,.36,1),translate .8s cubic-bezier(.22,.61,.36,1)}
  .bio p.is-in{opacity:1;translate:none}
  .bio p + p.is-in{transition-delay:.25s}
}
@media(hover:none) and (prefers-reduced-motion:reduce){.bio p{translate:none!important;transition:opacity .3s}}
/* Touch (Kit, 23 Nov): section headings (Music videos, Commercial, About, Festivals and awards) stay on the left and glide
   up into place like the bio as they scroll into view. */
@media(hover:none){
  .home-section .section-label,.honours h2{opacity:0;translate:0 12px;transition:opacity .8s cubic-bezier(.22,.61,.36,1),translate .8s cubic-bezier(.22,.61,.36,1)}
  .home-section .section-label.is-in,.honours h2.is-in{opacity:1;translate:none}
}
@media(hover:none) and (prefers-reduced-motion:reduce){.home-section .section-label,.honours h2{translate:none!important;transition:opacity .3s}}
/* Scroll-linked reveal on touch (Kit, 23 Nov: smoother, matching the pace of the scroll). previews.js adds
   html.scroll-link and writes --vis (tiles), --lv (laurels) and --tv (headings, bio lines) on every scroll frame;
   these rules override the earlier timed transitions. */
@media(hover:none){
  html.scroll-link .tile .art .tile-caption,html.scroll-link .project-card.is-centred .tile-caption{transition:none;opacity:var(--vis,1);transform:translateX(calc((1 - var(--vis,1)) * -16px))}
  html.scroll-link .tile.has-title-card .art .tile-caption,html.scroll-link .tile.has-title-card.is-centred .art .tile-caption{transform:translateY(calc((1 - var(--vis,1)) * 10px))}
  html.scroll-link .tile .art .tile-title img,html.scroll-link .tile .art .tile-title video,html.scroll-link .feature .poster-title .title-card-img,html.scroll-link .feature .poster-title p,
  html.scroll-link .project-card.is-centred .tile-title img,html.scroll-link .project-card.is-centred .tile-title video,html.scroll-link .feature.is-centred .poster-title .title-card-img,html.scroll-link .feature.is-centred .poster-title p{
    transition:none;opacity:var(--vis,1);translate:0 calc((1 - var(--vis,1)) * 12px);transform:none}
  html.scroll-link .tile .art .tile-title img[src*="deep-pockets-title"]{transform:translateY(10px)}
  html.scroll-link .feature .poster-top .laurels li,html.scroll-link .feature.is-centred .poster-top .laurels li{transition:none;opacity:var(--lv,1);scale:calc(.86 + .14 * var(--lv,1))}
  html.scroll-link .preview-toggle,html.scroll-link .feature .preview-toggle,html.scroll-link .project-card.is-centred .preview-toggle{transition:none;opacity:var(--vis,0);transform:translate(-50%,-50%) scale(calc(.96 + .04 * var(--vis,0)))}
  html.scroll-link .project-card.is-centred.is-playing .preview-toggle,html.scroll-link .project-card.is-playing .preview-toggle{opacity:0;transition:opacity .25s}
  html.scroll-link .home-section .section-label,html.scroll-link .honours h2,html.scroll-link .home-section .section-label.is-in,html.scroll-link .honours h2.is-in{transition:none;opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 14px)}
  html.scroll-link .bio p,html.scroll-link .bio p.is-in{transition:none;opacity:1;translate:none}
  html.scroll-link .bio .w{display:inline-block;opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 10px)}
}
@media(hover:none) and (prefers-reduced-motion:reduce){html.scroll-link *{translate:none!important;scale:none!important}}
/* Touch: each "Festivals and awards" entry rises in with the scroll, one by one, like the bio lines (Kit, 23 Nov). */
@media(hover:none){html.scroll-link .honours li{opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 12px)}}
/* Phones (Kit, 23 Nov): Mimi's title was squashed (fixed 136px width + a shorter height). Keep its real 4:5 shape:
   width follows the height, sized to roughly the same visual weight as before. */
@media(max-width:760px){.feature .title-card-img img{width:auto;max-width:none;height:clamp(100px,28vw,124px)}}
/* Deep Pockets title: no dark drop-shadow halo behind the lettering (Kit, 23 Nov: "a slight black background"). */
.tile .art .tile-title img[src*="deep-pockets-title"]{filter:none}
.tile:has(.tile-title img[src*="deep-pockets-title"]) .tile-title{background:none}
/* Touch (Kit, 23 Nov): Mimi's laurels play their centre-out entrance on page load too (at the top of the page the
   scroll-linked value is already 1, so without this they'd just sit there). html.laurel-intro is removed by previews.js
   when the intro ends; after that the scroll drives them. */
@keyframes laurel-in{from{opacity:0;scale:.86}to{opacity:1;scale:1}}
@media(hover:none){
  html.scroll-link.laurel-intro .feature .poster-top .laurels li{animation:laurel-in .6s cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(.25s + var(--ld,0) * 130ms)}
}
@media(hover:none) and (prefers-reduced-motion:reduce){html.laurel-intro .feature .poster-top .laurels li{animation:none!important}}
/* iOS home tile: Heroine Beige title loop with the glow baked in (1552x466 = 1200x114 + 176 px glow margin each side).
   Scale it so the letters land exactly where the CSS-glow version's do, and drop the CSS filter. */
.tile .art .tile-title video.tile-title-loop.glow-baked{filter:none;
  width:calc(min(44%,15cqh * var(--tca,1)) * var(--tcs,1) * 1552 / 1200);
  margin-bottom:calc(min(44%,15cqh * var(--tca,1)) * var(--tcs,1) * -176 / 1200)}
/* Touch home: the name and role line at the top follow the scroll (Kit, 23 Nov). */
@media(hover:none){
  html.scroll-link body:has(.feature-wrap) .header .brand{opacity:var(--bv,1);translate:0 calc((1 - var(--bv,1)) * -10px)}
  html.scroll-link body:has(.feature-wrap) .header .brand span{opacity:var(--bv2,1)}
}
/* Site-wide scroll-linked reveal on touch (reveal.js; Kit, 23 Nov). */
@media(hover:none){
  html.scroll-link .rv{opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 14px)}
  html.scroll-link .player.rv,html.scroll-link .detail-still.rv,html.scroll-link .reel.rv,html.scroll-link .stills-grid > .rv,html.scroll-link .film-poster.rv{translate:0 calc((1 - var(--tv,1)) * 10px);scale:calc(.98 + .02 * var(--tv,1))}
  html.scroll-link .project-info .synopsis .w{display:inline-block;opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 10px)}
  html.scroll-link .detail-laurels li{opacity:var(--lv,1);scale:calc(.86 + .14 * var(--lv,1))}
  html.scroll-link .header .brand{opacity:var(--bv,1);translate:0 calc((1 - var(--bv,1)) * -10px)}
  html.scroll-link .header .brand span{opacity:var(--bv2,1)}
  @keyframes rv-in{from{opacity:0;translate:0 14px}to{opacity:1;translate:none}}
  html.scroll-link.reveal-intro .detail-head .rv{animation:rv-in .8s cubic-bezier(.22,.61,.36,1) both}
  html.scroll-link.reveal-intro .detail-head .detail-meta{animation-delay:.18s}
  html.scroll-link.reveal-intro .detail-laurels li{animation:laurel-in .6s cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(.35s + var(--ld,0) * 130ms)}
}
@media(hover:none) and (prefers-reduced-motion:reduce){html.scroll-link .rv,html.scroll-link .w,html.scroll-link .detail-laurels li{translate:none!important;scale:none!important;animation:none!important}}
/* Small copy site-wide in the bio's type (Kit, 23 Nov): Inter Tight Light. Labels (dt) stay a touch heavier. */
.synopsis,.detail-meta,.project-info dd,.tile-caption p,.poster-title p,.honours li,.contact-meta,.contact-links,.reel-set-head p{font-family:"Tinos","Times New Roman",Times,serif;font-weight:300;letter-spacing:.005em}
.synopsis{line-height:1.6;color:rgba(242,240,235,.92)}
.project-info dt{font-family:"Tinos","Times New Roman",Times,serif;font-weight:400;letter-spacing:.04em}
/* Stills larger on phones (Kit, 23 Nov): one full-width still per row, each gliding in with the scroll. */
@media(max-width:760px){.stills-grid{grid-template-columns:1fr;gap:10px}}
/* Touch home: thumbnails glide in/out with the scroll (--av from previews.js), same feel as the stills on project pages. */
@media(hover:none){
  html.scroll-link .project-card.tile .art{opacity:var(--av,1);translate:0 calc((1 - var(--av,1)) * 12px);scale:calc(.98 + .02 * var(--av,1))}
  html.scroll-link .project-card.tile .preview-toggle{translate:0 calc((1 - var(--av,1)) * 12px)}
}
@media(hover:none) and (prefers-reduced-motion:reduce){html.scroll-link .project-card.tile .art{translate:none!important;scale:none!important}}
/* Touch perf (Kit, 24 Nov: Safari lagged): the few heavier things that fade every frame (filters/video) get their own
   compositor layer, so opacity changes don't repaint the drop-shadows. Kept to a handful of elements on purpose. */
@media(hover:none){html.scroll-link .project-card.tile .art,html.scroll-link .tile-title img,html.scroll-link .tile-title video,html.scroll-link .feature .title-card-img,html.scroll-link .laurels li,html.scroll-link .title-card-img img{will-change:opacity,translate}}
/* Type (Kit chose option P, 24 Nov): Tinos = Times New Roman for the web, everywhere. Names and headings stay in spaced
   capitals but at regular weight (Times has no light/semibold; 500-600 would fake a bold), role line in italic.
   Revert: git tag fonts-inter-tight-before-tinos. */
body *:not(strong):not(b){font-weight:400!important}
.brand,.title-card span,.tile-caption h2,.poster-title h2,.page-head h1,.detail-head h1,.next span:last-child,.film-assets h2,.honours h2,.media-block h2,.reel-set-head h2,.section-label{letter-spacing:.08em}
.brand span{font-style:italic;letter-spacing:.01em}
/* iOS glow-baked HB title: give the box the glow file's own shape up front. Safari kept the 1200x114 attribute ratio
   until the video loaded, so the -176px margin dragged the letters down onto "Upcoming mockumentary short" (Kit, 24 Nov). */
.tile .art .tile-title video.tile-title-loop.glow-baked{aspect-ratio:1552/466;height:auto;object-fit:fill}
/* iOS (Kit, 24 Nov): never show Safari's native play button on the muted title loops (Low Power Mode blocks autoplay). */
.tile-title video::-webkit-media-controls,.tile-title video::-webkit-media-controls-start-playback-button,
.title-card-loop video::-webkit-media-controls,.title-card-loop video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none;opacity:0}
/* iPhone landscape, Mimi (Kit, 24 Nov: "cluttered"): laurels in one small row at the top, smaller title and caption. */
@media(hover:none) and (orientation:landscape) and (max-height:500px){
  .feature .poster-top{padding-top:10px}
  .feature .laurels{flex-wrap:nowrap;gap:0 12px}
  .feature .laurels::after{display:none}
  .feature .laurels .tier-1 img{height:30px}.feature .laurels .tier-1 img[src*="dances-with-films"]{height:21px}
  .feature .laurels .tier-2 img{height:24px}
  .feature .title-card-img img{width:auto;max-width:none;height:clamp(72px,24svh,104px)}
  .feature .poster-title p{font-size:.875rem}
}
/* ...and when that swap to an <img> happens, keep the glow-baked size/position. */
.tile .art .tile-title img.glow-baked{filter:none;aspect-ratio:1552/466;height:auto;
  width:calc(min(44%,15cqh * var(--tca,1)) * var(--tcs,1) * 1552 / 1200);
  margin-bottom:calc(min(44%,15cqh * var(--tca,1)) * var(--tcs,1) * -176 / 1200)}
/* DESKTOP too (Kit, 24 Nov: "apply the same smooth effects to the desktop version site wide"). The scroll-linked
   reveal now runs on every device: these rules mirror the touch ones for thumbnails, headings, bio/synopsis lines,
   festival entries, laurels, name, project-page blocks and the arrival intro. Touch-only extras stay in their
   hover:none blocks (captions/title art/Play preview only on the centred tile); desktop keeps hover captions + pill. */
html.scroll-link .project-card.tile .art{opacity:var(--av,1);translate:0 calc((1 - var(--av,1)) * 14px);scale:calc(.985 + .015 * var(--av,1))}
html.scroll-link .home-section .section-label,html.scroll-link .honours h2,html.scroll-link .honours li{opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 14px)}
html.scroll-link .bio .w,html.scroll-link .project-info .synopsis .w{display:inline-block;opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 10px)}
html.scroll-link .feature .poster-top .laurels li{opacity:var(--lv,1);scale:calc(.86 + .14 * var(--lv,1))}
html.scroll-link .detail-laurels li{opacity:var(--lv,1);scale:calc(.86 + .14 * var(--lv,1))}
html.scroll-link .header .brand{opacity:var(--bv,1);translate:0 calc((1 - var(--bv,1)) * -10px)}
html.scroll-link .header .brand span{opacity:var(--bv2,1)}
html.scroll-link .rv{opacity:var(--tv,1);translate:0 calc((1 - var(--tv,1)) * 14px)}
html.scroll-link .player.rv,html.scroll-link .detail-still.rv,html.scroll-link .reel.rv,html.scroll-link .stills-grid > .rv,html.scroll-link .film-poster.rv{translate:0 calc((1 - var(--tv,1)) * 10px);scale:calc(.98 + .02 * var(--tv,1))}
html.scroll-link.laurel-intro .feature .poster-top .laurels li{animation:laurel-in .6s cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(.25s + var(--ld,0) * 130ms)}
html.scroll-link.reveal-intro .detail-head .rv{animation:rv-in .8s cubic-bezier(.22,.61,.36,1) both}
html.scroll-link.reveal-intro .detail-head .detail-meta{animation-delay:.18s}
html.scroll-link.reveal-intro .detail-laurels li{animation:laurel-in .6s cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(.35s + var(--ld,0) * 130ms)}
@keyframes rv-in{from{opacity:0;translate:0 14px}to{opacity:1;translate:none}}
html.scroll-link .project-card.tile .art,html.scroll-link .laurels li{will-change:opacity,translate}
@media(prefers-reduced-motion:reduce){html.scroll-link *{translate:none!important;scale:none!important;animation:none!important}}
/* Desktop (Kit, 24 Nov): no Play preview button; hovering a tile plays its preview. */
@media(hover:hover){.preview-toggle{display:none!important}}
/* Desktop (Kit, 24 Nov): film titles and captions get their own scroll reveal (--ttv), rising in just after the
   thumbnail; Mimi's laurels sit higher in the frame. */
@media(hover:hover){
  html.scroll-link .tile .art .tile-title img,html.scroll-link .tile .art .tile-title video,html.scroll-link .feature .poster-title .title-card-img,
  html.scroll-link .tile .art .tile-caption,html.scroll-link .feature .poster-title p{opacity:var(--ttv,1);translate:0 calc((1 - var(--ttv,1)) * 14px)}
}
@media(min-width:1024px){.feature .poster-top{padding-top:clamp(8px,1vw,16px)}}
/* Desktop (Kit, 24 Nov): a bright line showed under Mimi's frame after scrolling: the scaled, GPU-composited frame let
   a row of the (hover-zoomed) still leak past its edge. Thumbnails now only fade + glide (no scale) and clip hard. */
html.scroll-link .project-card.tile .art{scale:none;clip-path:inset(0)}
/* Mimi feature (Kit, 24 Nov, bright line under Mimi while scrolling): the scroll glide moved the frame (.art) down while
   its shading (the link's ::before/::after) stayed put, so the frame's bottom rows slid out from under the shading.
   Glide the whole link (frame + shading + title together); the frame itself only fades. */
html.scroll-link .feature.project-card.tile .art{translate:none;scale:none}
html.scroll-link .feature.project-card.tile>a{translate:0 calc((1 - var(--av,1)) * 14px)}
