*{box-sizing:border-box}body{margin:0;background:var(--bg,#171715);color:#f5f4ee;font:15px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;padding:6px 0;cursor:pointer}a:hover,button:hover,[aria-pressed=true]{text-decoration:underline;text-underline-offset:5px}:focus-visible{outline:2px solid currentColor;outline-offset:4px}main:focus{outline:0}[hidden]{display:none!important}header{position:relative;z-index:4;padding:20px clamp(18px,3vw,52px);display:flex;justify-content:space-between;font-size:13px}nav{display:flex;gap:23px}.screen{position:fixed;inset:0;background:#25241f;z-index:-1}.screen :is(img,video){width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.screen:after{content:'';position:absolute;inset:0;background:linear-gradient(#0008,transparent 28%);pointer-events:none}body[data-page=work] .screen:after{background:#12120db0}body:has(.screen){isolation:isolate;min-height:100svh}body[data-page=studio]{background:#f4bfd4;color:#282020}.index{margin:clamp(70px,10vh,132px) auto 42px;width:min(91%,1120px)}.index-head{display:flex;justify-content:space-between;align-items:start;gap:12px;font-size:12px;margin-bottom:24px}.index-head button{margin-left:15px}.index-head div div{text-align:right}.index ol{list-style:none;margin:0;padding:0;border-top:1px solid #fff7}.index li{border-bottom:1px solid #fff7}.index li a{display:grid;grid-template-columns:1fr 22% 20px;gap:15px;align-items:baseline;padding:8px 0;font-size:clamp(30px,5.5vw,79px);line-height:1.01;letter-spacing:-.065em}.index small,.index i{font-size:13px;letter-spacing:0;font-style:normal}.film{width:min(87%,1220px);margin:55px auto}.film-head,.film-actions{display:flex;justify-content:space-between;align-items:end;gap:12px}.film h1{font-size:clamp(38px,8vw,112px);letter-spacing:-.08em;font-weight:500;line-height:.93;margin:4px 0 18px}.still{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.film-actions{padding:12px 0;border-bottom:1px solid #fff5}.hand{font:32px Caveat,cursive}.boards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.boards img{width:100%}.journal{width:min(91%,720px);margin:58px auto}.journal h1{font-size:25px;font-weight:500}.journal figure{margin:55px 0}.journal img{display:block;max-width:100%;width:auto;max-height:68svh;object-fit:contain}.journal figcaption{font-size:13px;margin-top:9px}.journal span{margin-left:9px;opacity:.75}@media(max-width:600px){.index{margin-top:49px}.index-head{display:block}.index-head button{margin:6px 12px 0 0}.index-head div div{text-align:left}.index li a{grid-template-columns:1fr 80px 11px;font-size:clamp(28px,8vw,44px);gap:7px;padding:11px 0}.index small{font-size:10px}.film{width:91%;margin-top:39px}.journal figure{margin:35px 0}.boards{grid-template-columns:1fr}}
body[data-page=studio]{background:#161615;color:#eeeae4}
.journal{width:min(calc(100% - 40px),540px);margin:65px auto 110px}
.journal figure{margin:80px 0 0}.journal img{max-width:min(100%,390px);max-height:49svh}
.journal figcaption{font-size:12px;line-height:1.4}.journal figcaption strong{font-weight:500}
body[data-page=home] .screen img,body[data-page=home] .screen video{object-position:42% center}
@media(max-width:600px){.journal{width:calc(100% - 46px);margin-top:46px}.journal figure{margin-top:53px}.journal img{max-width:84%}.journal figcaption span{margin-left:3px}}

/* Landing stack: one full screen film after another */
.stack{display:block}
.reel-film{position:relative;height:100vh;height:100svh;overflow:hidden;background:#000}
.reel-film img,.reel-film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel-film video{opacity:0;transition:opacity .4s linear}
.reel-film video.on{opacity:1}
.reel-cap{position:absolute;left:clamp(16px,2.6vw,40px);bottom:clamp(20px,4vh,44px);z-index:2;display:grid;gap:2px;color:#fff;text-decoration:none;text-shadow:0 1px 18px rgba(0,0,0,.35)}
.reel-count{font-size:12px;letter-spacing:.06em;opacity:.8;margin-bottom:10px}
.reel-client{font-size:13px;opacity:.85}
.reel-title{font-size:clamp(34px,5.4vw,84px);line-height:.98;letter-spacing:-.02em;font-weight:500}
.reel-type{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.75;margin-top:10px}
.reel-cap:hover .reel-title,.reel-cap:focus-visible .reel-title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.reel-scroll{position:absolute;right:clamp(16px,2.6vw,40px);bottom:clamp(20px,4vh,44px);z-index:2;color:#fff;font-size:12px;letter-spacing:.1em;text-transform:uppercase;opacity:.75}
body[data-page=home] header{position:fixed;top:0;left:0;right:0;color:#fff;text-shadow:0 1px 14px rgba(0,0,0,.35)}

/* Studio as one table of objects */
body[data-page=studio]{background:#141413;color:#eeeae4}
.studio-table{width:min(96%,1500px);margin:64px auto 90px}
.studio-bar{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px}
.studio-bar h1{font-size:13px;font-weight:500;margin:0;letter-spacing:.06em;text-transform:uppercase}
.studio-bar div{display:flex;gap:20px;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.table{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:118px;grid-auto-flow:dense;gap:26px 22px;padding:clamp(22px,3.4vw,52px);background:#4a3a2c linear-gradient(135deg,#55432f,#3e3024);border-radius:2px}
.obj{margin:0;grid-row:span 2;position:relative;display:flex;align-items:center;justify-content:center}
.obj.big{grid-column:span 2;grid-row:span 3}
.obj.wide{grid-column:span 2;grid-row:span 2}
.obj img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 10px 22px rgba(0,0,0,.38),0 2px 4px rgba(0,0,0,.3);transition:transform .25s ease,box-shadow .25s ease}
.obj:hover img{transform:translateY(-4px);box-shadow:0 18px 34px rgba(0,0,0,.45),0 3px 6px rgba(0,0,0,.3)}
.obj figcaption{position:absolute;left:50%;bottom:-22px;transform:translateX(-50%);white-space:nowrap;font-size:11px;opacity:0;transition:opacity .2s;color:#f5efe6}
.obj figcaption span{opacity:.6;margin-left:6px}
.obj:hover figcaption{opacity:1}
@media(max-width:600px){.studio-table{margin-top:56px}.studio-bar{display:block}.studio-bar div{margin-top:10px;flex-wrap:wrap;gap:12px}.table{grid-template-columns:repeat(2,1fr);grid-auto-rows:96px;gap:20px 14px;padding:18px}.obj figcaption{opacity:1;position:static;transform:none;white-space:normal;margin-top:6px}.obj{flex-direction:column}}


/* ---- Options build: shared by Studio, BTS layer and About ---- */
[aria-expanded=true]{text-decoration:underline;text-underline-offset:5px}
.film{position:relative}
.frame{position:relative;transition:width .45s cubic-bezier(.2,.7,.2,1),transform .45s cubic-bezier(.2,.7,.2,1);margin-inline:auto;width:100%}
.film-actions{position:relative;z-index:5}
.bts{position:absolute;inset:0;pointer-events:none;z-index:4}
.scrap{position:absolute;left:var(--x);top:var(--y);width:var(--w);transform:rotate(var(--r));pointer-events:auto;margin:0}
.scrap button{display:block;padding:0;width:100%;cursor:zoom-in}
.scrap img{display:block;width:100%}
.scrap.zoom{position:fixed;left:50%;top:50%;width:min(92vw,1100px,120svh);transform:translate(-50%,-50%);z-index:60;animation:none}
.scrap.zoom button{cursor:zoom-out}
.scrap.empty{aspect-ratio:4/3;display:grid;place-items:center;text-align:center;font-size:11px;letter-spacing:.04em;padding:10px}
@media(max-width:600px){.scrap{left:var(--mx);top:var(--my);width:var(--mw)}}
@media(prefers-reduced-motion:reduce){.frame,.scrap{transition:none!important;animation:none!important}}
@media(max-width:600px){
  .bts{inset:auto;left:0;right:0;top:calc(100% + 62px)}
  .scrap:not(.zoom){position:relative;left:auto;top:auto;margin-left:var(--mx);margin-top:-10px}
}

/* jameslees.com style menu: categories in the nav, Commercials opens its sub-categories */
header nav{gap:clamp(14px,2vw,30px)}
header nav a{position:relative;opacity:.72}
header nav a[aria-current]{opacity:1}
header nav a[aria-current]:after{content:'';position:absolute;left:50%;bottom:-9px;width:4px;height:4px;border-radius:50%;background:currentColor;transform:translateX(-50%)}
header nav a:hover{opacity:1;text-decoration:none}
.subnav{display:flex;flex-wrap:wrap;gap:6px clamp(18px,2.4vw,40px);margin:0 0 26px;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.subnav button{position:relative;padding:4px 0 8px;opacity:.72;text-decoration:none!important}
.subnav button sup{font-size:8px;letter-spacing:0;margin-left:4px;opacity:.7}
.subnav button[aria-pressed=true]{opacity:1}
.subnav button[aria-pressed=true]:after{content:'';position:absolute;left:0;right:12px;bottom:0;height:2px;background:#d4573a}
@media(max-width:600px){header{flex-wrap:wrap;gap:8px}header nav{flex-wrap:wrap;gap:8px 16px;font-size:12px}}
.subnav button{text-transform:inherit;letter-spacing:inherit}
@media(max-width:700px){header{display:block!important}header nav{display:flex;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:18px;margin-top:10px;padding-bottom:10px;scrollbar-width:none;font-size:13px}header nav::-webkit-scrollbar{display:none}header nav a[aria-current]:after{bottom:2px}}

.subnav-bar{position:fixed;z-index:5;left:clamp(16px,2.6vw,40px);top:72px;margin:0;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.4)}
body[data-page=work] header{position:fixed;top:0;left:0;right:0;color:#fff;text-shadow:0 1px 14px rgba(0,0,0,.35)}
@media(max-width:700px){.subnav-bar{top:96px}}

/* ==== NAV C: the current section is set big under the wordmark, the rest stays a quiet row; phone gets a Menu button and a tomato sheet ====
   (mix-blend-mode:difference was tried here and dropped: it goes muddy on mid-tone footage) */
header{align-items:baseline;font-size:18px;font-weight:500;padding-top:22px;padding-bottom:22px}
header>a{font-size:21px;font-weight:600;letter-spacing:-.015em}
header>a:hover{text-decoration:none}
header .menu{display:none}
header nav{gap:clamp(18px,2.3vw,36px)}
header nav a{position:static;opacity:1;padding:2px 0}
header nav a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
header nav a[aria-current]:after{content:none}
header nav a[aria-current]{text-decoration:underline;text-decoration-color:#d4573a;text-decoration-thickness:3px;text-underline-offset:8px}
header .section{display:none}
body:is([data-page=home],[data-page=work]) header .section{display:block;position:absolute;left:clamp(18px,3vw,52px);top:58px;font-size:clamp(34px,3.8vw,56px);line-height:1;letter-spacing:-.035em;font-weight:500;margin-left:-.04em;pointer-events:none}
header :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:5px}
body:is([data-page=home],[data-page=work]) header{color:#fff;text-shadow:0 0 1px rgba(0,0,0,.35),0 1px 18px rgba(0,0,0,.5);padding-bottom:22px}
body:is([data-page=home],[data-page=work]) header:before{content:'';position:absolute;z-index:-1;left:0;right:0;top:0;height:300px;pointer-events:none;background:radial-gradient(ellipse 760px 300px at 0 0,rgba(10,10,8,.6),rgba(10,10,8,.34) 45%,rgba(10,10,8,0) 100%),linear-gradient(rgba(10,10,8,.5),rgba(10,10,8,.28) 35%,rgba(10,10,8,.08) 75%,rgba(10,10,8,0))}
.subnav-bar{top:calc(58px + clamp(34px,3.8vw,56px) + 16px);left:clamp(18px,3vw,52px);color:#fff;text-shadow:0 0 1px rgba(0,0,0,.35),0 1px 14px rgba(0,0,0,.5);font-size:13px;font-weight:500;letter-spacing:.1em;gap:6px clamp(18px,2vw,32px)}
.subnav-bar button{opacity:1;padding:4px 0 8px}
.subnav-bar button:hover:after,.subnav-bar button[aria-pressed=true]:after{content:'';position:absolute;left:0;right:14px;bottom:0;height:2px;border-radius:2px;background:#d4573a}
.subnav-bar button:hover:not([aria-pressed=true]):after{opacity:.5}
.subnav-bar button:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:700px){
  header{display:flex!important;flex-wrap:nowrap;padding:16px 18px;font-size:17px}
  header>a{font-size:19px}
  header nav{flex:none;width:0}
  header .menu{display:block;margin-left:auto;position:relative;z-index:2;font-size:17px;font-weight:500;padding:0;text-decoration:none!important}
  header .menu:before{content:'';position:absolute;inset:-14px -18px}
  header>a{position:relative;z-index:2}
  header nav{display:block;margin:0;padding:0;overflow:visible;white-space:normal;font-size:17px}
  header:not(.open) nav a{display:none}
  body:is([data-page=home],[data-page=work]) header .section{left:18px;top:50px;font-size:34px}
  header.open .section{display:none!important}
  .subnav-bar{top:100px;left:18px;font-size:12px}
  /* open: a tomato sheet with the whole list set big */
  header.open{color:#fff!important;text-shadow:none!important;z-index:50}
  header.open nav{position:fixed;inset:0;width:auto;z-index:1;background:#d4573a;padding:104px 18px 40px;display:flex;flex-direction:column;gap:6px;overflow-y:auto;animation:menu-in .3s cubic-bezier(.2,.7,.2,1)}
  header.open nav a,body header.open nav a[aria-current]{display:block;position:static;text-decoration:none;margin:0;font-size:clamp(38px,11.5vw,52px);line-height:1.08;letter-spacing:-.035em;font-weight:500;color:#fff;padding:2px 0}
  header.open nav a:not([aria-current]){color:#2a110b}
  body:has(header.open){overflow:hidden}
  body:has(header.open) .subnav-bar{visibility:hidden}
}
@keyframes menu-in{from{opacity:0;transform:translateY(-12px)}}
@media(prefers-reduced-motion:reduce){header.open nav{animation:none}}

/* ==== Nov 13, Eva's notes: no big section label, categories drop under Commercials, play triangle, black theatre ==== */
header .has-sub{position:relative;display:inline-block}
header .drop{position:absolute;left:0;top:calc(100% + 12px);display:flex;flex-direction:column;align-items:flex-start;gap:7px}
header .drop:empty{display:none}
header .drop button{padding:2px 0;white-space:nowrap;text-decoration:none;letter-spacing:inherit;text-transform:inherit}
header .drop button:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
header .drop button[aria-pressed=true]{text-decoration:underline;text-decoration-color:#d4573a;text-decoration-thickness:3px;text-underline-offset:8px}
/* commercials' own link stays underlined while a category is picked */
.reel-scroll{right:auto;left:50%;transform:translateX(-50%)}
.reel-play{position:absolute;right:clamp(16px,2.6vw,40px);bottom:clamp(20px,4vh,44px);z-index:3;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:rgba(12,12,10,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .2s ease,background .2s ease}
.reel-play:before{content:'';width:0;height:0;margin-left:5px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #fff;filter:drop-shadow(0 1px 6px rgba(0,0,0,.35))}
.reel-play:hover,.reel-play:focus-visible{transform:scale(1.1);background:#d4573a}
@media(hover:hover){.reel-film .reel-play{opacity:0;transform:scale(.85);transition:opacity .25s,transform .25s,background .2s}.reel-film:hover .reel-play,.reel-play:focus-visible{opacity:1;transform:none}.reel-film .reel-play:hover{transform:scale(1.1)}}
/* theatre: all black, the frame and its play button, the title sits where Play film was */
body[data-page=film]{background:#000}
body[data-page=film] .film{width:min(92%,1500px);margin:clamp(24px,5vh,56px) auto 60px}
.frame-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:92px;height:92px;border-radius:50%;background:rgba(0,0,0,.32);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:0;transition:background .2s,transform .2s}
.frame-play:before{content:'';margin-left:7px;border-style:solid;border-width:17px 0 17px 28px;border-color:transparent transparent transparent #fff}
.frame-play:hover,.frame-play:focus-visible{background:#d4573a;transform:translate(-50%,-50%) scale(1.06)}
.film.bts-on .frame-play{opacity:0;pointer-events:none}
.frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:5;background:#000}
.frame.playing .frame-play{display:none}
body[data-page=film] .film-actions{border-bottom:0;align-items:baseline;padding-top:16px}
body[data-page=film] .film-actions>span{display:flex;gap:26px;align-items:baseline}
.film-name{display:grid;gap:3px;text-align:left;padding:0;text-decoration:none!important}
.film-name small{font-size:13px;opacity:.7}
.film-name span{font-size:clamp(22px,2.2vw,32px);line-height:1.05}
.film-name:hover span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
/* work as a grid (dev switch) */
body[data-page=work] main:has(.wgrid){padding:clamp(150px,22vh,220px) clamp(18px,3vw,52px) 80px}
.wgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:40px 22px}
.wcell{display:grid;gap:3px;color:#fff}
.wthumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#000;margin-bottom:10px}
.wthumb :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wthumb video{opacity:0;transition:opacity .3s}.wthumb video.on{opacity:1}
.wthumb .reel-play{right:14px;bottom:14px;width:46px;height:46px}
.wcell .reel-title{font-size:clamp(26px,2.4vw,38px)}
.wcell:hover .reel-title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
@media(max-width:700px){
  header:not(.open) .drop{position:fixed;left:18px;right:18px;top:54px;flex-direction:row;flex-wrap:wrap;gap:6px 18px;font-size:15px}
  header.open .has-sub{display:block}
  header.open .drop{position:static;flex-direction:row;flex-wrap:wrap;gap:4px 20px;margin:4px 0 12px;font-size:20px;color:#2a110b}
  header.open .drop button[aria-pressed=true]{color:#fff;text-decoration-color:#fff}
  .reel-play{width:50px;height:50px}
  .frame-play{width:68px;height:68px}
  .frame-play:before{border-width:13px 0 13px 21px;margin-left:5px}
  body[data-page=film] .film-actions{flex-direction:column;align-items:flex-start;gap:14px}
  body[data-page=work] main:has(.wgrid){padding-top:120px}
}

/* ==== jameslees.com behaviours, in Eva's design ==== */
/* the whole frame opens the film */
.reel-hit{position:absolute;inset:0;z-index:1;cursor:pointer}
.reel-cap{z-index:2}
.reel-scroll{display:none}
/* dots on the right jump between films, the current one in tomato */
.reel-rail{position:fixed;right:clamp(14px,2vw,30px);top:50%;transform:translateY(-50%);z-index:4;display:flex;flex-direction:column;gap:4px}
.reel-rail button{width:22px;height:22px;padding:0;display:grid;place-items:center;text-decoration:none!important}
.reel-rail button:before{content:'';width:6px;height:6px;border-radius:50%;background:#fff;opacity:.55;box-shadow:0 0 6px rgba(0,0,0,.45);transition:transform .2s,opacity .2s,background .2s}
.reel-rail button:hover:before{opacity:1;transform:scale(1.3)}
.reel-rail button[aria-current]:before{opacity:1;background:#d4573a;transform:scale(1.5)}
/* next film arrow, bottom centre */
.reel-next{position:fixed;left:50%;bottom:clamp(18px,3.4vh,36px);transform:translateX(-50%);z-index:4;width:46px;height:46px;padding:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(12,12,10,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s,transform .2s}
.reel-next svg{width:22px;height:22px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.4))}
.reel-next:hover,.reel-next:focus-visible{background:#d4573a;text-decoration:none}
@media(prefers-reduced-motion:no-preference){.reel-next:not(:hover) svg{animation:nudge 2.4s ease-in-out infinite}}
@keyframes nudge{0%,100%{transform:none}50%{transform:translateY(3px)}}
body:has(header.open) :is(.reel-rail,.reel-next){visibility:hidden}
/* theatre: click anywhere on the frame to play; coming soon note; player and its controls */
.frame-hit{position:absolute;inset:0;z-index:2;padding:0;cursor:pointer}
.frame.playing .frame-hit{display:none}
.film.bts-on .frame-hit{pointer-events:none}
.frame-note{position:absolute;left:50%;top:calc(50% + 70px);transform:translateX(-50%);z-index:3;margin:0;font-size:14px;letter-spacing:.02em;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.6);opacity:0;pointer-events:none}
.frame-note.show{animation:note 2.6s ease both}
@keyframes note{0%{opacity:0;transform:translate(-50%,6px)}12%,75%{opacity:1;transform:translateX(-50%)}100%{opacity:0}}
.player{position:absolute;inset:0;z-index:5;background:#000}
.player video{width:100%;height:100%;display:block;object-fit:contain;cursor:pointer}
.vc{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:14px;padding:26px 18px 14px;font-size:12px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.6));opacity:0;transition:opacity .25s}
.player:hover .vc,.player:focus-within .vc,.frame.paused .vc{opacity:1}
.vc button{padding:4px 0;white-space:nowrap}
.vc [data-vc-play]{width:20px;height:20px;padding:0;display:grid;place-items:center}
.vc svg{width:13px;height:13px;fill:#fff}
.vc .i-play,.frame.paused .vc .i-pause{display:none}.frame.paused .vc .i-play{display:block}
.vc input{flex:1;accent-color:#d4573a;height:3px;cursor:pointer}
.vc span{font-variant-numeric:tabular-nums;opacity:.85}
.frame:fullscreen{width:100%;background:#000;display:grid;place-items:center}
.frame:fullscreen .still{object-fit:contain;height:100%}
.film-end{position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;gap:clamp(24px,4vw,56px);background:rgba(0,0,0,.78);font-size:clamp(16px,1.6vw,22px)}
.film-end[hidden]{display:none}
.film-end span{opacity:.7;margin:0 .3em}
.film-end :is(a,button):hover{text-decoration:underline;text-decoration-color:#d4573a;text-decoration-thickness:2px;text-underline-offset:6px}
@media(max-width:700px){
  .reel-rail{display:none}
  .reel-next{display:none}
  .vc{opacity:1;gap:10px;padding:18px 10px 8px}
  .vc [data-vc-time],.vc [data-vc-dur]{display:none}
  .film-end{flex-direction:column;gap:14px}
}

/* dots hidden for now (Emile, Nov 14): Eva removed the 01/03 counter to see if she misses it */
.reel-rail{display:none!important}

/* ==== Theatre, jameslees.com layout (Nov 14): back + full screen on top, film centred, title | BTS | next along the bottom ==== */
body[data-page=film] header{display:none!important}
body[data-page=film] .film.theatre{width:100%;margin:0;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto}
.theatre-top{display:flex;justify-content:space-between;align-items:center;padding:16px clamp(18px,2.6vw,40px);background:#0b0b0a;font-size:14px;position:relative;z-index:6}
.theatre-top button{display:flex;align-items:center;gap:12px;padding:6px 0;text-decoration:none!important;opacity:.85}
.theatre-top button:hover{opacity:1}
.theatre-top svg{width:22px;height:22px}
.stage{display:grid;place-items:center;padding:clamp(16px,3vh,40px) clamp(18px,2.6vw,40px);min-height:0}
body[data-page=film] .theatre .frame{width:min(100%,calc((100svh - 190px) * 16 / 9))}
body[data-page=film] .theatre .film-actions{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:18px clamp(18px,2.6vw,40px);background:#0b0b0a;border:0;position:relative;z-index:6}
.theatre .film-name{display:flex;align-items:baseline;gap:.5em;flex-wrap:wrap}
.theatre .film-name .fn-client{font-size:clamp(26px,2.6vw,42px);line-height:1}
.theatre .film-name em{font-size:clamp(18px,1.7vw,26px);opacity:.75;font-style:italic;line-height:1}
.theatre .film-name:hover .fn-client{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.t-bts{justify-self:center;border:0;padding:6px 2px;font-size:15px;letter-spacing:.14em;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:7px!important}
.t-bts:hover{text-decoration-thickness:2px!important}
.t-bts[aria-expanded=true]{text-decoration-color:#d4573a!important;text-decoration-thickness:3px!important}
.t-next{justify-self:end;font-size:14px;white-space:nowrap}
@media(max-width:700px){
  .theatre-top{padding:12px 16px}
  .stage{padding:12px 0}
  body[data-page=film] .theatre .frame{width:100%}
  body[data-page=film] .theatre .film-actions{grid-template-columns:1fr auto;gap:14px 16px;padding:16px}
  .theatre .film-name{grid-column:1/-1}
  .t-bts{justify-self:start}
}

/* theatre (Nov 14, 2): the film sits flush between the two bars, filling the height, like jameslees.com */
body[data-page=film]{--tt:64px;--tb:96px}
body[data-page=film] .theatre-top{height:var(--tt);padding-top:0;padding-bottom:0}
body[data-page=film] .stage{padding:0;background:#000}
body[data-page=film] .theatre .frame{width:min(100%,calc((100svh - var(--tt) - var(--tb)) * 16 / 9))}
body[data-page=film] .theatre .film-actions{min-height:var(--tb);padding-top:0;padding-bottom:0}
body[data-page=film] .frame-play{background:rgba(0,0,0,.25)}
@media(max-width:700px){body[data-page=film]{--tt:52px}body[data-page=film] .theatre .film-actions{padding:16px}}

/* Instagram: hand-drawn icon (ChatGPT "Marker"); lens tilts and the dot turns tomato on hover */
header nav a.ig{display:inline-flex;align-items:center;padding:0 2px;text-decoration:none!important}
.ig-icon{display:block;width:21px;height:21px;overflow:visible;filter:drop-shadow(0 1px 6px rgba(0,0,0,.25))}
.ig-icon .ig-lens{transition:transform .22s cubic-bezier(.2,.8,.2,1),stroke .22s;transform-origin:12px 12px}
.ig-icon .ig-dot{transition:fill .18s}
a:is(:hover,:focus-visible) .ig-icon .ig-lens{transform:scale(.9) rotate(-8deg);stroke:#d4573a}
a:is(:hover,:focus-visible) .ig-icon .ig-dot{fill:#d4573a}
body[data-page=about] .ig-icon,body[data-page=studio] .ig-icon{filter:none}
.about-links a.ig-text{display:inline-flex;align-items:center;gap:8px}
.about-links a.ig-text .ig-icon{width:19px;height:19px}
@media(max-width:700px){header.open nav a.ig{display:block;margin-top:14px}header.open .ig-icon{width:34px;height:34px;filter:none}}
@media(prefers-reduced-motion:reduce){.ig-icon *{transition:none!important}}

/* play: a pixel-stepped glyph, no circle (ChatGPT "Pixel Step"); turns tomato and steps right on hover */
:root{--play:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2H8V4H11V6H14V8H17V10H20V11H22V13H20V14H17V16H14V18H11V20H8V22H4Z'/%3E%3C/svg%3E")}
.reel-play,.frame-play{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0;color:#fff;filter:drop-shadow(0 2px 5px rgba(0,0,0,.45))}
.reel-play:before,.frame-play:before{content:'';border:0!important;margin:0!important;width:62%;height:62%;background:currentColor;-webkit-mask:var(--play) center/contain no-repeat;mask:var(--play) center/contain no-repeat;transition:transform .18s steps(3,end),background-color .12s steps(1,end)}
.reel-play:is(:hover,:focus-visible),.frame-play:is(:hover,:focus-visible){background:none!important}
.reel-play:is(:hover,:focus-visible):before,.frame-play:is(:hover,:focus-visible):before,.frame-hit:hover~.frame-play:before{background-color:#d4573a;transform:translateX(8%)}
.reel-film:hover .reel-play:before{background-color:#fff}
.reel-film .reel-play:hover:before{background-color:#d4573a}
.frame-play:hover,.frame-play:focus-visible{transform:translate(-50%,-50%)!important}
@media(prefers-reduced-motion:reduce){.reel-play:before,.frame-play:before{transition:none}}

@media(max-width:700px){header:not(.open) nav a.ig{display:none}}

/* Nov 17, Eva: "Director" under her name, small caps like jameslees.com */
header>a{display:inline-grid;line-height:1}
header>a small{display:block;margin-top:7px;font:500 10px/1 'Instrument Sans','DM Sans',sans-serif;letter-spacing:.22em;text-transform:uppercase;opacity:.85}
/* Music videos on cream (Studio and About have their own colours) */
body[data-cat=music-videos][data-grid=g3]{--cream:var(--mv-bg,#f1ebdf);background:var(--cream);color:#1d1412}
body[data-cat=music-videos][data-grid=g3] main,body[data-cat=music-videos][data-grid=g3] .g3{background:var(--cream)}
body[data-cat=music-videos][data-grid=g3] header{color:#1d1412;text-shadow:none}
body[data-cat=music-videos][data-grid=g3] header:before{display:none}
body[data-cat=music-videos][data-grid=g3] .g3-t{color:#1d1412}
body[data-cat=music-videos][data-grid=g3] .g3-client{color:rgba(29,20,18,.8)}
body[data-cat=music-videos][data-grid=g3] .g3-cap .g3-play{background:#1d1412}
body[data-cat=music-videos][data-grid=g3] header nav a[aria-current]{text-decoration-color:#d4573a}
/* theatre: her name top left beside Back, like jameslees.com's player */
.theatre-top .t-name{margin-right:auto;margin-left:clamp(20px,2.4vw,36px);font:500 11px/1 'Instrument Sans','DM Sans',sans-serif;letter-spacing:.2em;text-transform:uppercase;opacity:.6;text-decoration:none!important}
.theatre-top .t-name:hover{opacity:1}
@media(max-width:700px){.theatre-top .t-name{margin-left:16px;font-size:10px;letter-spacing:.14em}}

/* theatre (Nov 17): the film fills the window like jameslees.com; the bars sit over it on gradients */
body[data-page=film] .film.theatre{height:100svh;min-height:100svh;display:block;position:relative;overflow:visible}
body[data-page=film] .theatre .stage{position:absolute;inset:0;display:grid;place-items:center;background:#000}
body[data-page=film] .theatre .frame{width:min(100vw,calc(100svh * 16 / 9))}
body[data-page=film] .theatre-top{position:fixed;left:0;right:0;top:0;height:auto;padding:18px clamp(18px,2.6vw,40px) 40px;background:linear-gradient(rgba(0,0,0,.6),transparent);z-index:8;transition:opacity .4s}
body[data-page=film] .theatre .film-actions{position:fixed;left:0;right:0;bottom:0;min-height:0;padding:44px clamp(18px,2.6vw,40px) 22px;background:linear-gradient(transparent,rgba(0,0,0,.7));z-index:8;transition:opacity .4s}
body.idle[data-page=film] :is(.theatre-top,.theatre .film-actions){opacity:0;pointer-events:none}
body.idle[data-page=film]{cursor:none}
@media(max-width:700px){
  body[data-page=film] .theatre .stage{position:relative;inset:auto;min-height:100svh}
  body[data-page=film] .theatre .frame{width:100vw}
  body[data-page=film] .theatre .film-actions{padding:30px 16px 16px}
}
/* while a film plays its own controls sit at the bottom, so the title bar steps aside */
body[data-page=film]:has(.frame.playing) .theatre .film-actions{opacity:0;pointer-events:none}

/* BTS (Nov 18): Eva's dissection. An orchid panel over the theatre; each photo black and white,
   numbered pins with a line out to their note on the right, a title and caption under the notes */
body[data-page=film] .theatre .bts{position:fixed;inset:0;z-index:30;pointer-events:auto;overflow-y:auto;overscroll-behavior:contain;background:var(--accent,#D48BDB);color:#151111;padding:0 clamp(18px,3vw,48px) 80px;animation:btsIn .35s ease both;--gap:clamp(22px,2.6vw,40px)}
@keyframes btsIn{from{opacity:0}to{opacity:1}}
body.bts-open{overflow:hidden}
body.idle .bts{cursor:auto}
.bts-head{position:sticky;top:0;z-index:2;display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:20px 0 18px;background:var(--accent,#D48BDB);max-width:1500px;margin:0 auto 10px}
.bts-name{margin:0;font-size:13px;letter-spacing:.04em}
.bts-name span{text-transform:uppercase;letter-spacing:.14em;font-size:11px;margin-right:8px}
.bts-close{border:0;background:none;color:inherit;padding:6px 2px;font-size:15px;letter-spacing:.14em;text-transform:uppercase;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px;cursor:pointer}
.bts-close:hover{text-decoration-thickness:2px}
.plate{display:grid;grid-template-columns:minmax(0,3fr) minmax(190px,1fr);gap:var(--gap);max-width:1500px;margin:0 auto 90px}
.plate-pic{position:relative;align-self:start}
.plate-pic img{display:block;width:100%;max-height:calc(100svh - 120px);object-fit:cover;filter:grayscale(1) contrast(1.06)}
.plate .pin{position:absolute;left:var(--x);top:var(--y);width:13px;height:13px;margin:-6.5px 0 0 -6.5px;border-radius:50%;background:#151111;box-shadow:0 0 0 2px #fff}
.plate .pin i{display:none}
.plate .ln{position:absolute;left:var(--x);right:calc(-1 * var(--gap));top:var(--y);height:1px;background:#151111;box-shadow:0 1px 0 rgba(255,255,255,.35)}
.plate figcaption{position:relative;font-size:12px;line-height:1.45;min-height:100%}
.plate .tag{position:absolute;left:0;right:0;top:var(--y);transform:translateY(-.75em);margin:0;display:flex;gap:10px;align-items:flex-start}
.plate .tag b,.plate-cap b{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font:500 10px/1 ui-monospace,'SF Mono',Menlo,monospace}
.plate-cap{position:absolute;left:0;right:0;bottom:0;margin:0}
.plate-cap strong{display:block;font-weight:500;font-size:clamp(16px,1.4vw,21px);line-height:1.15;margin-bottom:6px}
@media(max-width:700px){
  .plate{grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:60px}
  .plate .ln{display:none}
  .plate .pin{display:grid;place-items:center;width:20px;height:20px;margin:-10px 0 0 -10px}
  .plate .pin i{display:block;font:500 10px/1 ui-monospace,'SF Mono',Menlo,monospace;color:#fff;font-style:normal}
  .plate figcaption{min-height:0;display:grid;gap:10px}
  .plate .tag,.plate-cap{position:static;transform:none}
  .plate-cap{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){body[data-page=film] .theatre .bts{animation:none}}
/* the floating picture (float.js): over everything but the film theatre and the Studio viewer */
.floater{position:fixed;left:0;top:0;z-index:60;width:clamp(110px,13vw,260px);height:auto;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 14px 22px rgba(0,0,0,.28));will-change:transform}
.floater.held{cursor:grabbing}
body[data-page=film] .floater,body.sv-open .floater{display:none}

/* DFA 1979 top (Nov 26): Eva's blurb, then the book pages and stills, loose like a cork board */
.dfa-top{padding:clamp(24px,5vh,64px) clamp(18px,3vw,52px) clamp(20px,4vh,48px)}
.dfa-blurb{max-width:46em;font-size:clamp(16px,1.25vw,21px);line-height:1.45}.dfa-blurb p{margin:0 0 .9em}
.dfa-board{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(10px,2vw,28px) 0;margin-top:clamp(18px,3vh,36px)}
.dfa-pic{all:unset;cursor:zoom-in;margin:0 clamp(-14px,-1vw,-6px);transform:rotate(var(--r));transition:transform .25s;position:relative}
.dfa-pic:hover,.dfa-pic:focus-visible{transform:rotate(0) scale(1.04);z-index:2}
.dfa-pic img{display:block;height:clamp(150px,22vw,330px);width:auto;max-width:70vw;box-shadow:0 6px 18px rgba(0,0,0,.28)}
.dfa-big{position:fixed;inset:0;z-index:70;background:rgba(10,10,9,.92);display:grid;place-items:center;cursor:zoom-out;padding:3vw}
.dfa-big img{max-width:100%;max-height:100%;object-fit:contain}
@media(max-width:600px){.dfa-pic img{height:42vw}}
.floater.linked{cursor:pointer}
/* Dec 1 (Eva): the DFA words on a coloured sticker in the corner, with the rent and buy links */
.dfa-top{position:relative}
.dfa-sticker{position:absolute;top:clamp(8px,2vh,22px);right:clamp(12px,2.5vw,40px);z-index:5;max-width:min(340px,40vw);background:var(--accent,#D48BDB);color:#1d1412;padding:18px 20px 16px;transform:rotate(3deg);box-shadow:0 8px 18px rgba(0,0,0,.28);font-size:14px;line-height:1.4;border-radius:3px}
.dfa-sticker p{margin:0 0 .75em}.dfa-sticker p:last-child{margin:0}
.dfa-links{display:flex;flex-wrap:wrap;gap:6px 16px;padding-top:2px}.dfa-links a{color:inherit;border-bottom:1.5px solid;font-weight:600;text-decoration:none}.dfa-links a:hover{opacity:.7}
.dfa-top:not(:has(.dfa-board)) .dfa-sticker{position:relative;top:auto;right:auto;margin:0 0 0 auto;display:block}
@media(max-width:600px){.dfa-sticker,.dfa-top:not(:has(.dfa-board)) .dfa-sticker{position:relative;top:auto;right:auto;max-width:none;margin:0 4px 22px;transform:rotate(-1.5deg)}}
/* Dec 1 (Eva): a few photos on About, one at a time with dots, like James Lees' site */
.about-eva.photos{width:auto;max-width:100%;cursor:pointer}
.about-eva.photos img{width:auto;max-width:100%;height:min(calc(100svh - 230px),640px);aspect-ratio:auto;object-fit:contain}
.about-eva.photos img[hidden]{display:none}
.about-dots{display:flex;gap:9px;justify-content:center;margin-top:30px;transform:rotate(1.5deg)}
.about-dots button{all:unset;width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.25;cursor:pointer}
.about-dots button[aria-current]{opacity:.85}
@media(max-width:600px){.about-eva.photos img{height:auto;width:100%}}
header [data-nav][hidden]{display:none!important}
/* Dec 1 (Eva): the DFA book pages and stills as a slideshow; the sticker sits on its corner */
.dfa-show{position:relative;display:grid;justify-items:center;margin-top:clamp(6px,2vh,20px)}
.dfa-slides{cursor:pointer;display:grid;place-items:center}
.dfa-slides img{display:block;height:min(72svh,760px);width:auto;max-width:min(100%,1300px);object-fit:contain;box-shadow:0 8px 22px rgba(0,0,0,.3)}
.dfa-arrow{all:unset;position:absolute;top:calc(min(72svh,760px)/2);transform:translateY(-50%);font-size:clamp(22px,2vw,34px);padding:10px 14px;cursor:pointer;opacity:.75}
.dfa-arrow:hover{opacity:1}.dfa-arrow.prev{left:0}.dfa-arrow.next{right:0}
.dfa-dots{display:flex;gap:9px;justify-content:center;margin:22px 0 0}
.dfa-dots button{all:unset;width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.3;cursor:pointer}.dfa-dots button[aria-current]{opacity:.9}
.dfa-top:has(.dfa-show) .dfa-sticker{top:clamp(14px,3vh,36px)}
@media(max-width:600px){.dfa-slides img{height:auto;width:100%}.dfa-arrow{display:none}}
/* Dec 1 (Eva): the DFA sticker on the About page, in the top corner */
.about .dfa-sticker{position:absolute;top:clamp(10px,3vh,34px);right:clamp(14px,3vw,52px);z-index:6}
@media(max-width:900px){.about .dfa-sticker{position:relative;top:auto;right:auto;max-width:none;margin:0 4px 30px;transform:rotate(-1.5deg)}}
