/* ==========================================================================
   Variant "B Elevated"
   B's dark room, taken further. A projector gate opens on arrival, first to true scope (2.39:1),
   then to the whole screen. In the film view each film sits in scope between black bands that
   carry the type, like a title sequence; on phones the film fills the screen there too.
   Type: Noto Serif Display (light, italic for the surname and the ampersand) over Geist for UI.
   Shape rule: frames are square like film; controls are pills and circles.
   ========================================================================== */
:root {
  --bg: #0B0B0A;
  --bg-2: #141413;
  --ink: #F3F0EA;
  --ink-2: rgba(243, 240, 234, .72);
  --muted: rgba(243, 240, 234, .46);
  --line: rgba(243, 240, 234, .12);
  --line-2: rgba(243, 240, 234, .28);
  --focus: #F3F0EA;
  --danger: #F2A48E;

  --serif: "OB Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "OB Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: 500 11px/1 var(--sans);
  --track: .16em;

  --gutter: clamp(18px, 2.6vw, 44px);
  --maxw: 1680px;

  /* the scope frame: as wide as the screen, never taller than the screen minus two bands */
  --scope: 2.39;
  --bar: max(118px, 15svh);
  --fh: min(calc(100vw / var(--scope)), calc(100svh - 2 * var(--bar)));
  --fw: min(100vw, calc(var(--fh) * var(--scope)));
  --band: calc((100svh - var(--fh)) / 2);
  --side: max(var(--gutter), calc((100vw - var(--fw)) / 2));

  /* tokens read by the shared parts (sheet, form, player controls, curtain) */
  --sheet-bg: #070706; --sheet-ink: var(--ink); --sheet-ink-2: var(--ink-2); --sheet-muted: var(--muted); --sheet-line: var(--line-2);
  --sheet-title-font: 300 clamp(26px, 2.6vw, 42px)/1 var(--serif);
  --sheet-nav-font: 400 clamp(18px, 1.7vw, 26px)/1.05 var(--serif);
  --ambient: .26; --player-bg: #000; --player-radius: 0;
  --field-line: var(--line-2); --btn-bg: var(--ink); --btn-ink: var(--bg); --scheme: dark;
  --done-font: 300 clamp(40px, 4vw, 64px)/1 var(--serif);
  --pill-bg: var(--ink); --pill-ink: var(--bg);
  --curtain: #141413;
  color-scheme: dark;
}
/* phones and portrait screens: the film fills the screen, the type sits over it */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  :root { --fh: 100svh; --fw: 100vw; --band: 0px; --side: var(--gutter); }
}

main:focus { outline: none; }
.ob-cursor { display: none; }
.ob-amp { font-style: italic; font-weight: 200; }
em { font-style: italic; }
.e-kicker { font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.e-lead { max-width: 36ch; font: 400 clamp(16px, 1.15vw, 19px)/1.55 var(--sans); color: var(--ink-2); text-wrap: pretty; }
.e-link { display: inline-flex; gap: 8px; padding-bottom: 5px; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .7s var(--ease); }
.e-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.e-display { display: flex; align-items: flex-start; font: 300 clamp(72px, 11vw, 210px)/.86 var(--serif); letter-spacing: -.035em; }
.e-display > span { display: block; padding-bottom: .08em; }
.e-sup { margin: .62em 0 0 .55em; font: var(--ui); letter-spacing: .12em; color: var(--muted); }

/* film grain over everything, very quiet */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none;
  background: url("../img/grain.png") 0 0 / 180px 180px repeat; opacity: .07; mix-blend-mode: overlay;
}
@media (prefers-reduced-transparency: reduce) { body::after { display: none; } }

/* ---------- Pills ---------- */
.e-pill {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
  font: var(--ui); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.e-pill:hover, .e-pill--ink { background: var(--ink); color: var(--bg); box-shadow: none; }
.e-pill--ink:hover { background: rgba(243, 240, 234, .84); }
.e-menubtn { display: none; }

/* ---------- Header (after the hero) ---------- */
.e-head {
  position: fixed; left: 0; right: 0; top: 0; z-index: var(--z-header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 var(--gutter);
  background: rgba(11, 11, 10, .74); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  transform: translateY(-100%); visibility: hidden; transition: transform .9s var(--ease), visibility 0s .9s;
}
.e-head.is-on { transform: none; visibility: visible; transition: transform .9s var(--ease), visibility 0s; }
.e-head__brand, .e-mark { justify-self: start; font: 300 22px/1 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.e-head__brand em, .e-mark em { font-weight: 300; }
.e-head__nav, .e-top__nav { display: flex; gap: 32px; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; }
.e-head__nav a, .e-top__nav a { position: relative; padding: 8px 0; color: var(--ink-2); transition: color .3s; }
.e-head__nav a::after, .e-top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--ease); }
.e-head__nav a:hover, .e-head__nav a.is-active, .e-top__nav a:hover { color: var(--ink); }
.e-head__nav a:hover::after, .e-head__nav a.is-active::after, .e-top__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.e-head__end, .e-top__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
@media (prefers-reduced-transparency: reduce) { .e-head { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 899px) {
  .e-head { grid-template-columns: 1fr auto; height: 58px; }
  .e-head__nav, .e-head .e-pill:not(.e-menubtn) { display: none; }
  .e-menubtn { display: inline-flex; }
  .e-head__brand { font-size: 20px; }
}

/* ---------- Hero: the film fills the screen, the type sits over it ---------- */
.e-hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--bg); color: var(--ink); }
.e-frame { position: absolute; inset: 0; overflow: hidden; background: #000; isolation: isolate; touch-action: pan-y; transform-origin: 50% 40%; }
.e-scene { position: absolute; left: 0; right: 0; top: -5%; bottom: -5%; cursor: pointer; }
.e-slides, .e-slide { position: absolute; inset: 0; margin: 0; }
.e-slide { overflow: hidden; opacity: 0; visibility: hidden; }
.e-slide.is-active { opacity: 1; visibility: visible; }
.e-slide img, .e-flip img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--fx, 50%) 50%; transform-origin: var(--fx, 50%) 50%; }
/* the film's own clip: under the WebGL canvas (the canvas draws it); shown itself where there is no WebGL
   for it (is-domclip: a page opened from the disk) */
.e-clips { position: absolute; inset: 0; overflow: hidden; transform-origin: var(--fx, 50%) 50%; }
.e-hero:not(.is-gl) .e-clips, .e-hero.is-domclip .e-clips { z-index: 1; opacity: 0; transition: opacity .45s var(--ease); }
.e-hero.is-clip:not(.is-gl) .e-clips, .e-hero.is-clip.is-domclip .e-clips { opacity: 1; }
.e-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; visibility: hidden; }
.e-hero.is-gl .e-gl { visibility: visible; }
.e-hero.is-gl .e-slides, .e-hero.is-gl .e-slide { visibility: hidden !important; }
.e-pv { position: absolute; left: 0; right: 0; top: 5%; bottom: 5%; overflow: hidden; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
.e-pv.is-on { opacity: 1; }
.e-pv iframe, .e-peek__pv iframe { position: absolute; border: 0; pointer-events: none; }
.e-flip { position: absolute; inset: 0; pointer-events: none; }
.e-flip img { opacity: 0; }
.e-flip img.is-on { opacity: 1; }
.e-frame__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, .56) 0%, rgba(8, 8, 7, .16) 15%, rgba(8, 8, 7, 0) 27%),
    linear-gradient(0deg, rgba(8, 8, 7, .84) 0%, rgba(8, 8, 7, .46) 22%, rgba(8, 8, 7, .12) 40%, rgba(8, 8, 7, 0) 52%); }

.e-top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: max(26px, env(safe-area-inset-top)) var(--gutter) 0; }
.e-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: clamp(24px, 4.2svh, 46px); padding: 0 var(--gutter) max(clamp(22px, 3.6svh, 36px), env(safe-area-inset-bottom)); }
.e-top a, .e-top button, .e-bottom a, .e-bottom button { pointer-events: auto; }
.e-hero.is-faded .e-top a, .e-hero.is-faded .e-top button, .e-hero.is-faded .e-bottom button { pointer-events: none; }

.e-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "count ." "title watch" "meta watch"; align-items: end; column-gap: clamp(24px, 4vw, 64px); row-gap: 16px; }
.e-count { display: flex; align-items: baseline; gap: 7px; font: var(--ui); letter-spacing: .1em; }
.e-feature .e-count { grid-area: count; }
.e-count__no { display: inline-block; }
.e-count__of { color: var(--muted); }
.e-titles { grid-area: title; display: grid; min-width: 0; }
.e-htitle { grid-area: 1 / 1; font: 300 clamp(52px, min(7vw, 12.5svh), 136px)/.94 var(--serif); letter-spacing: -.028em; white-space: nowrap; visibility: hidden; padding-bottom: .06em; text-shadow: 0 1px 30px rgba(8, 8, 7, .18); }
.e-htitle.is-active { visibility: visible; }
.ob-js .e-htitle { visibility: hidden; }
.ob-js .e-htitle.is-active { visibility: visible; }
.e-hmetas { grid-area: meta; display: grid; }
.e-hmeta { grid-area: 1 / 1; display: flex; gap: 20px; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; color: var(--ink-2); visibility: hidden; }
.e-hmeta.is-active { visibility: visible; }
.e-watch { grid-area: watch; align-self: end; display: inline-flex; align-items: center; gap: 14px; padding-bottom: .2em; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; }
.e-watch__dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(243, 240, 234, .42); transition: background-color .45s var(--ease), box-shadow .45s, transform .6s var(--ease); }
.e-watch__dot i { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent var(--ink); transition: border-color .45s; }
.e-watch:hover .e-watch__dot, .e-hero.is-hover .e-watch__dot { background: var(--ink); box-shadow: none; transform: scale(1.06); }
.e-watch:hover .e-watch__dot i, .e-hero.is-hover .e-watch__dot i { border-left-color: var(--bg); }

.e-index { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.e-index ol { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 28px); min-width: 0; }
.e-index__btn { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 12px; width: 100%; padding: 0 0 4px; text-align: left; color: var(--ink-2); transition: color .4s; }
.e-index__btn:hover, .e-index__btn.is-active { color: var(--ink); }
.e-index__bar { grid-column: 1 / -1; position: relative; display: block; height: 1px; margin-bottom: 11px; background: rgba(243, 240, 234, .3); overflow: hidden; }
.e-index__bar b { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.e-index__no { font: 500 10px/1 var(--sans); letter-spacing: .08em; }
/* small serif: a heavier cut, the light one loses its hairlines at this size */
.e-index__name { overflow: hidden; font: 450 15px/1.2 var(--serif); white-space: nowrap; text-overflow: ellipsis; }
.e-pause { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(243, 240, 234, .42); transition: background-color .3s; }
.e-pause:hover { background: rgba(243, 240, 234, .14); }
.e-pause i { position: absolute; top: 12px; width: 2px; height: 10px; background: var(--ink); border-radius: 1px; }
.e-pause i:first-child { left: 13px; }
.e-pause i:last-child { right: 13px; }
.e-pause[aria-pressed="true"] i:first-child { left: 14px; top: 11px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--ink); border-radius: 0; }
.e-pause[aria-pressed="true"] i:last-child { opacity: 0; }
.ob-no-js .e-pause { display: none; }

@media (max-width: 1199px) and (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .e-top__nav { gap: 22px; }
  .e-index__name { display: none; }
}
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .e-top { padding: max(18px, env(safe-area-inset-top)) var(--gutter) 0; grid-template-columns: 1fr auto; }
  .e-top__nav, .e-top .e-pill:not(.e-menubtn) { display: none; }
  .e-mark { font-size: 20px; }
  .e-bottom { gap: 22px; padding: 0 var(--gutter) max(22px, env(safe-area-inset-bottom)); }
  .e-feature { grid-template-areas: "count count" "title title" "meta watch"; row-gap: 14px; column-gap: 16px; }
  .e-htitle { font-size: clamp(44px, 12.6vw, 80px); line-height: 1; white-space: normal; }
  .e-htitle .e-n--2, .e-fv__title .e-n--2 { display: block; }
  .e-hmetas { align-self: center; }
  .e-hmeta { gap: 14px; font-size: 10px; }
  .e-watch { align-self: center; padding: 0; }
  .e-watch__dot { width: 40px; height: 40px; }
  .e-index { gap: 14px; }
  .e-index ol { column-gap: 8px; }
  .e-index__btn { display: block; padding: 12px 0; }
  .e-index__bar { margin: 0; height: 2px; }
  .e-index__no, .e-index__name { display: none; }
  .e-pause { width: 32px; height: 32px; }
  .e-pause i { top: 11px; }
  .e-pause i:first-child { left: 12px; }
  .e-pause i:last-child { right: 12px; }
  .e-pause[aria-pressed="true"] i:first-child { left: 13px; top: 10px; }
}

/* ---------- Intro: the gate opens ---------- */
.e-intro { position: fixed; inset: 0; z-index: calc(var(--z-sheet) + 2); display: none; pointer-events: none; color: var(--ink); }
.ob-js.ob-intro .e-intro { display: block; }
.e-intro__name { position: absolute; left: 0; right: 0; top: calc(var(--cy, 50%) - var(--slit, 64px) / 2 - 1.5em); text-align: center; font: 300 clamp(30px, 3.4vw, 60px)/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.e-intro__name span { display: inline-block; }
.e-intro__tag { position: absolute; left: 0; right: 0; top: calc(var(--cy, 50%) + var(--slit, 64px) / 2 + 26px); text-align: center; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.e-intro__edge { position: absolute; left: var(--el, 0px); top: var(--cy, 50%); width: var(--ew, 100vw); height: 1px; background: rgba(243, 240, 234, .6); transform: scaleX(0); }
.ob-js .e-intro__name, .ob-js .e-intro__tag { opacity: 0; }
.ob-js.ob-intro .e-frame { clip-path: inset(50% 0% 50% 0%); }
.ob-js.ob-intro .e-top > *, .ob-js.ob-intro .e-bottom > * { opacity: 0; }
.ob-failsafe.ob-intro .e-frame { clip-path: none !important; }
.ob-failsafe.ob-intro .e-top > *, .ob-failsafe.ob-intro .e-bottom > * { opacity: 1 !important; visibility: visible !important; }
.ob-failsafe.ob-intro .e-intro { display: none !important; }
html.e-from-hero .e-hero .e-top, html.e-from-hero .e-hero .e-bottom { visibility: hidden; }

/* ---------- Statement ---------- */
.e-statement { max-width: var(--maxw); margin: 0 auto; padding: clamp(120px, 22vh, 260px) var(--gutter) clamp(110px, 20vh, 240px); text-align: center; }
.e-statement__title { max-width: 14ch; margin: 0 auto; font: 300 clamp(48px, 7.4vw, 140px)/1 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.e-statement__title em { font-weight: 200; }
.e-statement__text { max-width: 44ch; margin: 42px auto 0; font: 400 clamp(16px, 1.2vw, 19px)/1.6 var(--sans); color: var(--ink-2); text-wrap: pretty; }

/* ---------- Films: the programme ---------- */
.e-films { position: relative; z-index: 0; max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 8vh, 100px) var(--gutter) clamp(100px, 16vh, 200px); }
.e-films__head, .e-films__more { position: relative; z-index: 2; }
.e-films__head, .e-reels__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 32px 64px; padding-bottom: clamp(40px, 7vh, 80px); }
.e-films__side { display: grid; gap: 28px; padding-bottom: .5em; }
.e-filters { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.e-filters button { position: relative; padding: 6px 0; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); transition: color .3s; }
.e-filters button sup { margin-left: 4px; font-size: 9px; letter-spacing: .04em; }
.e-filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--ease); }
.e-filters button:hover, .e-filters button[aria-pressed="true"] { color: var(--ink); }
.e-filters button[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }

.e-list { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.e-row { border-bottom: 1px solid var(--line); }
.e-row__link { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; column-gap: clamp(16px, 2vw, 32px); padding: clamp(20px, 3.4vh, 34px) 0; transition: opacity .6s var(--ease); }
.e-list.is-hovering .e-row__link { opacity: .3; }
.e-list.is-hovering .e-row__link.is-hot { opacity: 1; }
.e-row__media { display: none; }
.e-row__no { font: var(--ui); letter-spacing: .08em; color: var(--muted); }
.e-row__name { font: 300 clamp(36px, 4.8vw, 88px)/1 var(--serif); letter-spacing: -.025em; padding-bottom: .06em; transition: translate 1s var(--ease); }
.e-row__note { font-style: italic; font-weight: 200; font-size: .5em; color: var(--muted); letter-spacing: 0; }
/* the hover shift uses translate, so it never fights the reveal (a GSAP transform) */
.e-row__link.is-hot .e-row__name { translate: clamp(10px, 1.2vw, 20px) 0; }
.e-row__meta { display: grid; grid-template-columns: 112px 48px 48px; column-gap: 20px; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); text-align: right; white-space: nowrap; }
.e-films__more { margin-top: clamp(56px, 9vh, 100px); text-align: center; }

.e-peek { position: fixed; left: 0; top: 0; z-index: 1; width: clamp(320px, 30vw, 520px); aspect-ratio: 2.39; overflow: hidden; pointer-events: none; visibility: hidden; opacity: 0; background: #000; }
.e-peek__img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.e-peek__img.is-on { opacity: 1; }
.e-peek__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; filter: brightness(.82); }
.e-peek__pv { position: absolute; inset: 0; overflow: hidden; opacity: 0; filter: brightness(.82); transition: opacity 1.1s var(--ease); }
.e-peek__pv.is-on { opacity: 1; }

@media (max-width: 1023px) {
  .e-films__head, .e-reels__head { grid-template-columns: 1fr; }
  .e-row__meta { grid-template-columns: auto auto; }
  .e-row__meta span:last-child { display: none; }
}
@media (max-width: 899px) {
  .e-list { border-top: 0; }
  .e-row { border-bottom: 0; }
  .e-row + .e-row { margin-top: 44px; }
  .e-row__link { grid-template-columns: auto minmax(0, 1fr); row-gap: 14px; padding: 0; }
  .e-list.is-hovering .e-row__link { opacity: 1; }
  .e-row__media { grid-column: 1 / -1; display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
  .e-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; }
  .e-row__no { align-self: center; }
  .e-row__name { font-size: clamp(34px, 9.6vw, 52px); }
  .e-row__meta { grid-column: 2; display: flex; gap: 14px; text-align: left; font-size: 10px; }
  .e-row__meta span:last-child { display: inline; }
  .e-row__link.is-hot .e-row__name { translate: none; }
  .e-peek { display: none; }
}

/* ---------- Reels ---------- */
.e-reels { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(110px, 18vh, 220px); border-top: 1px solid var(--line); }
.e-reels__head { padding-bottom: 0; }
.e-reels__head .e-lead { padding-bottom: .5em; }
.e-reels__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 56px); margin-top: clamp(56px, 10vh, 120px); padding: 0 clamp(0px, 7vw, 150px); }
.e-reel:nth-child(3n + 2) { margin-top: clamp(60px, 14vh, 170px); }
.e-reel__link { display: block; }
.e-reel__media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); }
.e-reel__media img, .e-reel__media .ob-clip { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), opacity .5s; }
.e-reel__media .ob-clip { opacity: 0; }
.e-reel__media.is-on .ob-clip { opacity: 1; }
.e-reel__link:hover .e-reel__media img, .e-reel__link:hover .e-reel__media .ob-clip { transform: scale(1.04); }
.e-reel__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); transition: color .4s; }
.e-reel__link:hover .e-reel__cap { color: var(--ink); }
@media (max-width: 899px) {
  .e-reels { padding-bottom: clamp(90px, 14vh, 140px); }
  .e-reels__track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68vw; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 44px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scrollbar-width: none; }
  .e-reels__track::-webkit-scrollbar { display: none; }
  .e-reel { scroll-snap-align: start; }
  .e-reel:nth-child(3n + 2) { margin-top: 0; }
}

/* ---------- About ---------- */
.e-about { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 15vh, 190px) var(--gutter) clamp(90px, 14vh, 170px); border-top: 1px solid var(--line); }
.e-about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 44px; }
.e-about__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 120px; }
.e-about__tag { max-width: 17ch; margin-top: 30px; font: italic 300 clamp(22px, 1.9vw, 32px)/1.22 var(--serif); color: var(--ink-2); text-wrap: balance; }
.e-about__story { grid-column: 7 / span 6; display: grid; gap: 26px; padding-top: .7em; }
.e-about__lede { margin-bottom: 14px; font: 300 clamp(27px, 2.6vw, 44px)/1.16 var(--serif); letter-spacing: -.012em; text-wrap: pretty; }
.e-about__p { max-width: 52ch; font: 400 clamp(16px, 1.15vw, 18px)/1.72 var(--sans); color: var(--ink-2); text-wrap: pretty; }
.e-credits { margin-top: clamp(110px, 18vh, 220px); text-align: center; }
.e-credits__title { margin-bottom: clamp(40px, 7vh, 72px); }
.e-credits__list { display: grid; gap: clamp(18px, 2.8vh, 30px); max-width: 1000px; margin: 0 auto; }
.e-credits__row { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: clamp(18px, 2.6vw, 44px); }
.e-credits dt { text-align: right; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.e-credits dd { text-align: left; font: 300 clamp(22px, 2vw, 32px)/1.15 var(--serif); letter-spacing: -.008em; text-wrap: balance; }
.e-credits__links { display: flex; flex-wrap: wrap; gap: 4px 20px; font: 400 16px/1.6 var(--sans); letter-spacing: 0; }
.e-credits__links a, .e-foot a, .e-menu__social a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.e-credits__links a:hover, .e-foot a:hover, .e-menu__social a:hover { background-size: 100% 1px; }
.e-services { margin-top: clamp(110px, 16vh, 200px); padding-top: 22px; border-top: 1px solid var(--line); }
.e-services__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(16px, 3vw, 48px); margin-top: clamp(28px, 5vh, 48px); }
.e-service__name { font: 300 clamp(34px, 3.2vw, 56px)/1 var(--serif); letter-spacing: -.02em; padding-bottom: .05em; }
.e-service__text { max-width: 30ch; margin-top: 14px; color: var(--ink-2); }
@media (max-width: 899px) {
  .e-about__head, .e-about__story { grid-column: 1 / -1; position: static; }
  .e-about__story { padding-top: 0; }
  .e-credits__row { grid-template-columns: 1fr; gap: 6px; }
  .e-credits dt, .e-credits dd { text-align: center; }
  .e-credits__links { justify-content: center; }
  .e-services__list { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.e-contact { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 14vh, 170px) var(--gutter) clamp(100px, 16vh, 190px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px clamp(40px, 7vw, 150px); border-top: 1px solid var(--line); }
.e-contact__title { margin-top: 22px; font: 300 clamp(58px, 7.8vw, 148px)/.92 var(--serif); letter-spacing: -.03em; }
.e-contact__title em { font-weight: 200; }
.e-contact__sub { max-width: 34ch; margin-top: 28px; font: 400 clamp(16px, 1.2vw, 18px)/1.55 var(--sans); color: var(--ink-2); }
.e-contact__direct { max-width: 420px; margin-top: clamp(36px, 7vh, 64px); }
.e-contact__direct ul { margin-top: 12px; box-shadow: inset 0 1px 0 var(--line); }
.e-contact .ob-form { padding-top: 8px; }
.e-contact .ob-form__submit { height: 58px; font: var(--ui); letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 1023px) { .e-contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.e-foot { overflow: hidden; padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); }
.e-wordmark { margin: 0; padding: clamp(24px, 6vh, 70px) 0 calc(var(--fit, 12vw) * .12); font: 300 var(--fit, 12vw)/.9 var(--serif); letter-spacing: -.035em; text-align: center; white-space: nowrap; user-select: none; }
.e-wordmark span { display: inline-block; }
.e-wordmark em { font-weight: 200; }
.e-foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.e-foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- Menu (small screens) ---------- */
.e-menu { position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column; padding: max(18px, env(safe-area-inset-top)) var(--gutter) max(22px, env(safe-area-inset-bottom)); background: var(--bg); }
.e-menu__top { display: flex; align-items: center; justify-content: space-between; }
.e-menu__brand { font: 300 20px/1 var(--serif); }
.e-menu nav { margin: auto 0; }
.e-menu__list a { display: block; padding: 2px 0; font: 300 clamp(54px, 15vw, 96px)/1.04 var(--serif); letter-spacing: -.025em; }
.e-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.e-menu__social { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); }

/* ---------- Film view: the same frame, the film takes over ---------- */
.e-fv { position: fixed; inset: 0; z-index: var(--z-sheet); overflow: hidden; color: var(--ink); background: transparent;
  --sheet-ink: var(--ink); --sheet-ink-2: var(--ink-2); --sheet-muted: var(--muted); --sheet-line: var(--line-2); }
.e-fv__frame { position: absolute; left: 50%; top: var(--band); width: min(100vw, var(--fw)); height: var(--fh); margin-left: calc(min(100vw, var(--fw)) / -2); overflow: hidden; background: #000; }
.e-fv__poster, .e-fv__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.e-fv__poster img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--fx, 50%) 50%; }
.e-fv__gl { display: block; visibility: hidden; }
.e-fv.is-gl .e-fv__gl { visibility: visible; }
.e-fv.is-gl .e-fv__poster { visibility: hidden; }
/* the film's clip: under the canvas, which draws it; on its own where there is no WebGL for it */
.e-fv__clip { position: absolute; inset: 0; overflow: hidden; transform-origin: var(--fx, 50%) 50%; }
.e-fv:not(.is-gl) .e-fv__clip, .e-fv.is-domclip .e-fv__clip { z-index: 1; opacity: 0; transition: opacity .45s var(--ease); }
.e-fv.is-clip:not(.is-gl) .e-fv__clip, .e-fv.is-clip.is-domclip .e-fv__clip { opacity: 1; }
.e-fv__shade { position: absolute; inset: 0; display: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 7, .5) 0%, rgba(8, 8, 7, 0) 22%), linear-gradient(0deg, rgba(8, 8, 7, .8) 0%, rgba(8, 8, 7, .3) 36%, rgba(8, 8, 7, 0) 58%); }
.e-fv__top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: max(76px, var(--band)); padding: 0 var(--side); }
.e-fv__top .e-count { padding: 0; }
.e-fv__brand { font: 300 20px/1 var(--serif); }
.e-fv__top .e-pill { justify-self: end; }
.e-fv__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: max(120px, var(--band)); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; column-gap: 40px; row-gap: clamp(10px, 1.8svh, 18px); padding: 0 var(--side); }
.e-fv__info { grid-column: 1; grid-row: 1 / span 2; display: grid; align-content: center; gap: clamp(10px, 1.6svh, 16px); min-width: 0; }
.e-fv__title { font: 300 clamp(34px, min(4.4vw, 6.8svh), 84px)/.98 var(--serif); letter-spacing: -.022em; white-space: nowrap; padding-bottom: .06em; }
.e-fv__meta { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.e-fv__meta div { display: flex; gap: 10px; align-items: baseline; }
.e-fv__meta dt { font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.e-fv__meta dd { margin: 0; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.e-fv__play { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 14px; font: var(--ui); letter-spacing: var(--track); text-transform: uppercase; }
.e-fv__play .e-watch__dot { width: 56px; height: 56px; box-shadow: none; }
.e-fv__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .7; transform: rotate(-90deg); }
.e-fv__play:hover .e-watch__dot { background: var(--ink); transform: scale(1.06); }
.e-fv__play:hover .e-watch__dot i { border-left-color: var(--bg); }
.e-fv__nav { grid-column: 2; grid-row: 2; display: flex; justify-content: flex-end; gap: clamp(24px, 3vw, 48px); }
.e-fv__navbtn { display: grid; gap: 7px; justify-items: start; text-align: left; }
.e-fv__navbtn--next { justify-items: end; text-align: right; }
.e-fv__navlabel { font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.e-fv__navname { font: 400 clamp(16px, 1.25vw, 20px)/1.1 var(--serif); white-space: nowrap; transition: opacity .3s; }
.e-fv__navbtn:hover .e-fv__navname { opacity: .6; }
.e-fv__player { position: absolute; left: 50%; top: calc(var(--band) + var(--fh) / 2); z-index: 2; width: var(--pw, 80vw); height: var(--ph, 45vw); margin: calc(var(--ph, 45vw) / -2) 0 0 calc(var(--pw, 80vw) / -2); visibility: hidden; opacity: 0; cursor: pointer; }
.e-fv__embed { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.e-fv__player.is-live .e-fv__embed { opacity: 1; }
.e-fv__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.e-fv__msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; font: 500 12px/1.4 var(--sans); letter-spacing: .04em; color: var(--ink); background: rgba(0, 0, 0, .66); text-align: center; }
.e-fv__msg:empty { display: none; }
.e-fv__msg a { text-decoration: underline; text-underline-offset: 3px; }
.e-fv__controls { position: absolute; left: var(--side); right: var(--side); bottom: max(22px, calc(var(--band) / 2 - 20px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: clamp(14px, 2vw, 28px); visibility: hidden; opacity: 0; }
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .e-fv__frame { left: 0; top: 0; width: 100%; height: 100%; margin: 0; }
  .e-fv__shade { display: block; }
  .e-fv__top { height: auto; grid-template-columns: 1fr auto; padding: max(18px, env(safe-area-inset-top)) var(--gutter) 0; }
  .e-fv__brand { display: none; }
  .e-fv__bottom { height: auto; display: block; padding: 0 var(--gutter) max(20px, env(safe-area-inset-bottom)); }
  .e-fv__info { margin-bottom: 26px; }
  .e-fv__title { font-size: clamp(46px, 13vw, 82px); line-height: 1; white-space: normal; }
  .e-fv__meta { gap: 10px 22px; }
  .e-fv__play { margin-bottom: 30px; }
  .e-fv__nav { justify-content: space-between; }
  .e-fv__navname { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; font-size: 17px; }
  .e-fv__player { top: 50%; margin-top: calc(var(--ph, 45vw) / -2 - 30px); }
  .e-fv__controls { left: var(--gutter); right: var(--gutter); bottom: max(20px, env(safe-area-inset-bottom)); grid-template-columns: auto minmax(0, 1fr) auto; }
  .e-fv__controls [data-ctl="fs"] { display: none; }
}

/* ---------- Reel sheet (shared player) on this palette ---------- */
.ob-sheet__title { font-weight: 300; }

/* ---------- Cursor (a circle that names the action; the native cursor stays) ---------- */
.e-cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; }
.e-cursor span { position: absolute; left: -44px; top: -44px; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: rgba(243, 240, 234, .94); color: var(--bg); font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transform: scale(0); transition: transform .55s var(--ease); }
.e-cursor.is-on span { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .e-cursor { display: none; } }

/* ---------- Ghost frame for the flight into the film view ---------- */
.e-ghost { position: fixed; z-index: calc(var(--z-sheet) + 1); overflow: hidden; pointer-events: none; margin: 0; background: #000; }
.e-ghost img, .e-ghost canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.e-ch { will-change: transform; }
