/* PIXELS — the site is an edit.
   Shots cut. Nothing eases. The frame never moves; the content changes inside it. */

@font-face{font-family:"Saol";src:url("fonts/SaolDisplay-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Saol";src:url("fonts/SaolDisplay-LightItalic.ttf") format("truetype");font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:"Switzer";src:url("fonts/Switzer-Regular.otf") format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:"Switzer";src:url("fonts/Switzer-Medium.otf") format("opentype");font-weight:500;font-display:swap}
@font-face{font-family:"Switzer";src:url("fonts/Switzer-Semibold.otf") format("opentype");font-weight:600;font-display:swap}
@font-face{font-family:"Plex";src:url("fonts/IBMPlexMono-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Plex";src:url("fonts/IBMPlexMono-Medium.ttf") format("truetype");font-weight:500;font-display:swap}

:root{
  --plaster:#F4F2EE; --charcoal:#0C0C0C; --screenoff:#050505;
  --gray18:#595959; --safelight:#3A1F1C; --rec:#C8392C;
  --hair:#DCD9D2;
  --pad:clamp(18px,4.4vw,74px);
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{
  background:var(--screenoff); color:var(--plaster);
  font-family:"Switzer",system-ui,sans-serif; font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; overscroll-behavior-y:none;
}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.skip{position:fixed;left:-9999px;top:14px;z-index:200;background:var(--plaster);color:var(--charcoal);padding:10px 16px;font-family:"Plex",monospace;font-size:12px}
.skip:focus{left:14px}
.eyebrow{font-family:"Plex",monospace;font-size:12px;letter-spacing:.16em;color:var(--gray18);margin:0 0 18px}

/* ── the ident: six courses cut in, then the site cuts on ── */
.ident{
  position:fixed;inset:0;z-index:300;background:var(--screenoff);
  display:grid;place-items:center;
}
.ident[hidden]{display:none}
.ident__mark{width:clamp(120px,16vw,240px);height:auto;fill:var(--plaster)}
.ident__mark rect{opacity:0}
.ident[data-course="1"] rect:nth-last-child(-n+1),
.ident[data-course="2"] rect:nth-last-child(-n+2),
.ident[data-course="3"] rect:nth-last-child(-n+3),
.ident[data-course="4"] rect:nth-last-child(-n+4),
.ident[data-course="5"] rect:nth-last-child(-n+5),
.ident[data-course="6"] rect:nth-last-child(-n+6){opacity:1}

/* ── the reel: native scroll-snap, browser physics, no jacking ── */
.reel{
  height:100dvh; overflow-y:scroll; scroll-snap-type:y mandatory;
  scrollbar-width:none;
}
.reel::-webkit-scrollbar{display:none}
.shot{
  position:relative; height:100dvh; scroll-snap-align:start; scroll-snap-stop:always;
  display:grid; place-items:center; place-items:safe center; overflow:hidden; contain:paint;
}

/* full-bleed plate shots */
.shot--plate .plate{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform:translateZ(0);
}
.shot__grade{
  position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 26%, rgba(0,0,0,.58) 100%),
    linear-gradient(to top, rgba(0,0,0,.74), transparent 52%);
}
/* the open shot carries type dead centre — it needs a real scrim under it */
/* the opening plate is high-key: the site starts in the plaster world and
   cuts to the cinema at the first scroll. Ink goes dark, scrim goes light. */
.shot__grade--open{
  background:
    linear-gradient(to top, rgba(244,242,238,.94) 0%, rgba(244,242,238,.55) 26%, transparent 54%),
    linear-gradient(to right, rgba(244,242,238,.5) 0%, transparent 42%);
}
.shot--open .shot__type{color:var(--charcoal)}
.shot--open .open__mark{color:var(--charcoal)}
.shot--open .wordmark{text-shadow:none}
.shot--open .open__line{color:#4a4a46}
.shot--open .cue{color:#6d6a65}
/* the HUD follows the shot it sits on */
body[data-ctx="light"] .hud{color:#57544f;text-shadow:none}
body[data-ctx="light"] .hud__mark{color:#0C0C0C}
body[data-ctx="light"] .rail button{border-right-color:rgba(60,58,54,.5)}
body[data-ctx="light"] .rail button[aria-current="true"]{border-right-color:var(--charcoal)}
@media (max-width:720px){
  body[data-ctx="light"] .rail button{border-top-color:rgba(60,58,54,.5)}
  body[data-ctx="light"] .rail button[aria-current="true"]{border-top-color:var(--charcoal)}
}
.shot__type{position:relative;z-index:2;text-align:center;padding:0 var(--pad)}
/* a portrait plate carries its subject off-centre, so the type takes the dark side */
.plate--hero{object-position:68% center}
.shot__type--left{text-align:left;justify-self:start;align-self:end;padding-bottom:clamp(70px,12vh,140px);max-width:min(760px,86vw)}
.shot__type--left .open__mark{margin-left:0}
@media (max-width:720px){
  .plate--hero{object-position:62% center}
  .shot__type--left{text-align:center;justify-self:center}
  .shot__type--left .open__mark{margin-left:auto}
}

.open__mark{width:clamp(46px,5vw,74px);height:auto;aspect-ratio:8.4/6.34;color:var(--plaster);margin:0 auto clamp(20px,3vh,34px);display:block}
.wordmark{
  font-family:"Saol",serif;font-weight:400;margin:0;
  font-size:clamp(56px,13vw,190px);line-height:.92;letter-spacing:-.045em;
  text-shadow:0 2px 40px rgba(0,0,0,.5);
}
.wordmark .x{font-weight:300;font-style:italic;margin:0 .02em}
.open__line{margin:clamp(16px,2.4vh,28px) auto 0;max-width:34ch;font-size:clamp(14px,1.5vw,20px);color:#D6D3CD}
.cue{
  position:absolute;bottom:calc(var(--pad) + 26px);left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:10px;
  font-family:"Plex",monospace;font-size:11px;letter-spacing:.24em;color:#9a9a96;margin:0;z-index:2;
}
.cue__mark{width:13px;height:10px;fill:currentColor}

/* card shots — the plaster context.
   The HUD owns the corners, so cards keep clear of it and scroll internally
   rather than clipping on short viewports. */
.shot--card{
  background:var(--plaster);color:var(--charcoal);
  align-content:center; align-content:safe center; overflow-y:auto;
  padding-block:calc(var(--pad) + 42px);
  scrollbar-width:none;
}
.shot--card::-webkit-scrollbar{display:none}
.card{width:min(1180px,100%);padding:0 var(--pad)}
.card--wide{width:min(1320px,100%)}
.statement{
  font-family:"Saol",serif;font-weight:400;letter-spacing:-.02em;line-height:1.03;
  font-size:clamp(34px,6.4vw,90px);margin:0 0 clamp(20px,3vh,34px);
}
.statement--sm{font-size:clamp(28px,4.4vw,58px)}
.card__body{font-size:clamp(15px,1.5vw,20px);max-width:58ch;color:#3a3a38;margin:0}

.roster{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:2px 26px;
  font-family:"Plex",monospace;font-size:clamp(12px,1.15vw,15px);line-height:2.1;color:var(--charcoal);
}
.roster li{border-bottom:1px solid var(--hair);padding-right:6px}

.pipeline{list-style:none;margin:0;padding:0;border-top:1px solid var(--hair)}
.pipeline li{border-bottom:1px solid var(--hair)}
.stage{
  display:grid;grid-template-columns:44px 150px 1fr;gap:14px;align-items:baseline;
  width:100%;text-align:left;padding:13px 0;
}
.stage:hover b,.stage[aria-expanded="true"] b{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.stage__n{font-family:"Plex",monospace;font-size:12px;color:var(--gray18)}
.stage b{font-weight:600;font-size:clamp(15px,1.5vw,19px)}
.stage i{font-style:normal;color:#5c5c58;font-size:clamp(13px,1.3vw,16px)}
.stage__more{
  margin:0 0 16px;padding:0 0 0 58px;max-width:74ch;
  font-size:clamp(13px,1.25vw,16px);color:#46443f;border-left:1px solid var(--hair);
}
.stage__more[hidden]{display:none}
@media (max-width:720px){
  .stage{grid-template-columns:34px 1fr}
  .stage i{grid-column:2}
  .stage__more{padding-left:34px}
}

/* work shots */
.shot--work .plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.work__title{
  position:relative;z-index:2;text-align:center;padding:0 var(--pad);
}
.work__title h2{
  font-family:"Saol",serif;font-weight:400;font-size:clamp(30px,5.6vw,76px);margin:0;letter-spacing:-.02em;
  text-shadow:0 2px 34px rgba(0,0,0,.55);
}
.work__meta{font-family:"Plex",monospace;font-size:12px;letter-spacing:.16em;color:#e6e3dd;margin:14px 0 26px;text-shadow:0 1px 14px rgba(0,0,0,.9)}
.enter{
  font-family:"Plex",monospace;font-size:12px;letter-spacing:.18em;
  border:1px solid rgba(244,242,238,.6);padding:13px 26px;color:var(--plaster);
  background:rgba(5,5,5,.28);backdrop-filter:blur(2px);
}
.enter:hover{background:var(--plaster);color:var(--charcoal);border-color:var(--plaster)}

/* the index — a call sheet, not a menu */
.index{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:clamp(18px,2.6vw,52px);margin-top:8px}
.index__g ul{list-style:none;margin:0;padding:0}
.index__h{font-family:"Plex",monospace;font-size:11px;letter-spacing:.18em;color:var(--gray18);margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid var(--hair)}
.index li{border-bottom:1px solid var(--hair)}
.index button{display:flex;justify-content:space-between;gap:6px 14px;align-items:baseline;flex-wrap:wrap;width:100%;text-align:left;padding:9px 0}
/* when a row is tight, the meta drops under the title instead of fighting it */
@media (max-width:1100px){
  .index__m{flex-basis:100%;white-space:normal}
}
.index__t{font-family:"Saol",serif;font-size:clamp(15px,1.35vw,19px)}
.index button:hover .index__t{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.index__m{font-family:"Plex",monospace;font-size:10px;letter-spacing:.12em;color:var(--gray18);white-space:nowrap}

/* what the house makes */
.services{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0 28px}
.services li{padding:9px 0;border-bottom:1px solid var(--hair);font-size:clamp(14px,1.3vw,17px)}

/* focus is visible, always — the site is operated by keyboard too */
:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid currentColor;outline-offset:3px;border-radius:1px;
}

/* ── HUD ─────────────────────────────────────────────── */
.hud{
  position:fixed;inset:0;z-index:50;pointer-events:none;
  font-family:"Plex",monospace;font-size:11px;letter-spacing:.18em;color:#b9b9b4;
  text-shadow:0 1px 12px rgba(0,0,0,.85);
}
.hud>div{position:absolute;display:flex;align-items:center;gap:12px}
.hud__tl{top:var(--pad);left:var(--pad)}
.hud__tr{top:var(--pad);right:var(--pad)}
.hud__bl{bottom:var(--pad);left:var(--pad)}
.hud__br{bottom:var(--pad);right:var(--pad)}
/* the monument builds as you walk the site — one course per fifth of the reel.
   Discrete states, no easing: the mark cuts, like everything else. */
.hud__mark{width:19px;height:15px;fill:currentColor}
.hud__mark rect{opacity:.22}
body[data-course="1"] .hud__mark rect:nth-last-child(-n+1),
body[data-course="2"] .hud__mark rect:nth-last-child(-n+2),
body[data-course="3"] .hud__mark rect:nth-last-child(-n+3),
body[data-course="4"] .hud__mark rect:nth-last-child(-n+4),
body[data-course="5"] .hud__mark rect:nth-last-child(-n+5),
body[data-course="6"] .hud__mark rect:nth-last-child(-n+6){opacity:1}
@media (max-width:720px){ .hud__br{display:none} }

/* ── timeline rail ───────────────────────────────────── */
.rail{position:fixed;z-index:55;right:calc(var(--pad) - 6px);top:50%;transform:translateY(-50%)}
.rail ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.rail button{
  display:block;width:22px;height:10px;position:relative;
  border-right:2px solid rgba(150,150,146,.55);
}
.rail button[aria-current="true"]{border-right-color:var(--plaster);border-right-width:3px}
.rail button span{
  position:absolute;right:26px;top:50%;transform:translateY(-50%);
  font-family:"Plex",monospace;font-size:10px;letter-spacing:.16em;color:var(--plaster);
  white-space:nowrap;opacity:0;background:rgba(5,5,5,.72);padding:4px 8px;
}
.rail button:hover span,.rail button:focus-visible span{opacity:1}
@media (max-width:720px){
  .rail{right:auto;left:0;top:auto;bottom:0;width:100%;transform:none;padding:0}
  .rail ol{flex-direction:row;gap:0}
  .rail button{width:100%;height:3px;border-right:0;border-top:2px solid rgba(150,150,146,.5)}
  .rail button[aria-current="true"]{border-top-color:var(--plaster)}
  .rail button span{display:none}
}

/* ── THE ROOM — the director's monitor ───────────────── */
.room{
  position:fixed;inset:0;z-index:120;background:var(--screenoff);color:var(--plaster);
  display:grid;grid-template-columns:1fr 340px;grid-template-rows:1fr;
}
.room[hidden]{display:none}
.room__grid{
  position:absolute;inset:0;pointer-events:none;
  background-image:repeating-linear-gradient(to right,
    rgba(89,89,89,.34) 0 1px, transparent 1px calc(100% / 12));
  background-size:calc(100% - 2 * var(--pad)) 100%;
  background-position:var(--pad) 0;background-repeat:no-repeat;
}
.room__close{
  position:absolute;top:var(--pad);right:var(--pad);z-index:3;
  font-family:"Plex",monospace;font-size:12px;letter-spacing:.16em;color:var(--plaster);
}
.room__stage{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:18px;padding:var(--pad);min-width:0}
.room video{display:block;width:auto;max-width:100%;max-height:70dvh;margin:0 auto;object-fit:contain;background:#000;border:1px solid #1e1e1e}
.transport{display:flex;align-items:center;gap:16px}
.rec{width:34px;height:34px;border:1px solid #333;display:grid;place-items:center}
.rec span{width:10px;height:10px;background:var(--safelight);display:block}
.rec.is-live span{background:var(--rec);animation:pulse 1s steps(2,end) infinite}
@keyframes pulse{0%,49%{opacity:1}50%,100%{opacity:.35}}
.scrub{flex:1;height:1px;background:#333;position:relative;cursor:pointer}
.scrub__fill{position:absolute;inset:0 auto 0 0;width:0;background:var(--plaster)}
.tc{font-family:"Plex",monospace;font-size:12px;letter-spacing:.1em;color:#9a9a96}
.room__data{
  position:relative;z-index:2;border-left:1px solid #1c1c1c;padding:var(--pad);
  overflow-y:auto;font-family:"Plex",monospace;font-size:12px;
}
.room__data dl{margin:0;line-height:1.9}
.room__data dt{color:#6f6f6b;letter-spacing:.14em;font-size:11px}
.room__data dd{margin:0 0 14px;color:var(--plaster)}
@media (max-width:900px){
  .room{grid-template-columns:1fr;grid-template-rows:1fr auto}
  .room__data{border-left:0;border-top:1px solid #1c1c1c;max-height:34dvh}
  .room video{max-height:42dvh}
}

/* ── contact ─────────────────────────────────────────── */
.form{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:820px;margin-top:8px}
@media (max-width:700px){ .form{grid-template-columns:1fr} }
.form label{display:block;font-family:"Plex",monospace;font-size:11px;letter-spacing:.14em;color:var(--gray18);text-transform:uppercase}
.form .wide{grid-column:1/-1}
.form input,.form select,.form textarea{
  display:block;width:100%;margin-top:7px;padding:11px 0;border:0;border-bottom:1px solid var(--hair);
  background:none;font-family:"Switzer",sans-serif;font-size:16px;color:var(--charcoal);border-radius:0;
}
.form :is(input,select,textarea):focus{outline:none;border-bottom-color:var(--charcoal)}
.send{grid-column:1/-1;justify-self:start;background:var(--charcoal);color:var(--plaster);padding:14px 32px;font-family:"Plex",monospace;font-size:12px;letter-spacing:.14em}
.direct{font-family:"Plex",monospace;font-size:12px;color:var(--gray18);margin:26px 0 0;letter-spacing:.08em}
.method{font-family:"Plex",monospace;font-size:10px;color:#b9b6b0;letter-spacing:.24em;margin:34px 0 0}

@media (prefers-reduced-motion:reduce){
  .reel{scroll-snap-type:none}
  .rec.is-live span{animation:none}
}
