/* ==========================================================================
   Degu Visuals — boutique video production
   Plain CSS, no framework. Colour themes switch per section via html[data-theme].
   Type: Archivo (variable: weight 100–900, width 62–125%), self-hosted, SIL Open Font License.
   ========================================================================== */

@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0c0b0a;
  --paper: #efece6;
  --yellow: #ffd213;
  --bg: var(--paper);
  --fg: var(--ink);
  --line: color-mix(in srgb, currentColor 18%, transparent);
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 2.4vw, 40px);
  --gap: clamp(12px, 1.6vw, 28px);
  --bezel: clamp(4px, 0.45vw, 8px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --hd-h: 76px;
  --tbar-h: 46px;
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-label: 0.6875rem;
  --fs-display: clamp(4.2rem, 1rem + 13vw, 17rem);
  color-scheme: light;
}
html[data-theme="dark"] { --bg: var(--ink); --fg: var(--paper); color-scheme: dark; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.9s var(--ease-io), color 0.9s var(--ease-io);
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.skip { position: fixed; left: var(--gutter); top: -100px; z-index: 600; padding: 10px 16px; background: var(--yellow); color: var(--ink); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type: one family, played on its two axes ---------- */
.label {
  font-size: var(--fs-label); font-weight: 500; font-stretch: 125%;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.6;
}
.muted { opacity: 0.55; }
.h-display {
  font-size: var(--fs-display); font-weight: 900; font-stretch: 62%;
  line-height: 0.8; letter-spacing: -0.005em; text-transform: uppercase;
}
.h-display--md { text-wrap: balance; font-size: clamp(2.8rem, 1rem + 6.2vw, 8.4rem); line-height: 0.86; max-width: 15ch; }
.lt { font-weight: 140; }
.link-line { position: relative; display: inline-block; }
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.1em; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease);
}
.link-line:hover::after, .link-line[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.8em;
  font-size: var(--fs-label); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase;
}
.arrow-link i { display: inline-block; width: 2.8em; height: 1px; background: currentColor; position: relative; transition: width 0.6s var(--ease); }
.arrow-link i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.arrow-link:hover i { width: 4.6em; }
.rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 0.9em; vertical-align: 0.1em; animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.15; } }
.tc { font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px var(--gap); flex-wrap: wrap; padding-inline: var(--gutter); margin-bottom: clamp(40px, 7vh, 90px); }
.sec-head__note { max-width: 26ch; font-size: var(--fs-small); opacity: 0.7; }

/* ---------- Header (logo + CTA) and the transport bar (navigation) — difference blend ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--hd-h); padding-inline: var(--gutter);
  color: var(--paper); mix-blend-mode: difference; pointer-events: none;
  transition: transform 0.7s var(--ease);
  view-transition-name: hd;
}
.hd a { pointer-events: auto; }
.hd.is-hidden { transform: translateY(-100%); }
.hd__logo { display: block; }
.hd__logo .logo { height: clamp(24px, 2.2vw, 32px); width: auto; transform-origin: 50% 100%; transition: transform 0.7s var(--ease); }
.hd__logo:hover .logo { transform: scaleY(1.18); }
.hd__cta { font-size: var(--fs-label); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }

.tbar {
  position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: clamp(16px, 2vw, 30px);
  height: var(--tbar-h); padding: 0 24px;
  border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); border-radius: 999px;
  color: var(--paper); mix-blend-mode: difference; white-space: nowrap;
  font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase;
  view-transition-name: tbar;
}
.tbar a { position: relative; opacity: 0.62; transition: opacity 0.4s; padding-block: 12px; }
.tbar a:hover, .tbar a[aria-current] { opacity: 1; }
.tbar a[aria-current]::before { content: ""; position: absolute; left: 50%; top: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.tbar__tc { display: inline-flex; align-items: center; padding-right: clamp(16px, 2vw, 30px); border-right: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); }
.tbar__tc i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 0.9em; animation: rec 1.6s steps(1) infinite; }
.tbar__tc span { font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
@media (max-width: 620px) {
  .tbar { left: 12px; right: 12px; transform: none; justify-content: space-around; padding: 0 10px; gap: 6px; letter-spacing: 0.12em; }
  .tbar__tc { display: none; }
}
::view-transition-group(hd), ::view-transition-group(tbar) { mix-blend-mode: difference; }

/* ---------- Custom cursor (difference) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity 0.3s; }
.cursor.is-visible { opacity: 1; }
.cursor__dot {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper);
  transform: translate(-50%, -50%); transition: width 0.5s var(--ease), height 0.5s var(--ease);
}
.cursor.is-link .cursor__dot { width: 44px; height: 44px; }
.cursor.is-label .cursor__dot { width: 96px; height: 96px; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); color: #000;
  font-size: 0.68rem; font-weight: 700; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity 0.3s;
}
.cursor.is-label .cursor__label { opacity: 1; transition-delay: 0.12s; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }

/* ---------- Media boxes (blur-up placeholder → sharp; preview loops fade in when playing) ---------- */
.m { position: relative; overflow: hidden; aspect-ratio: var(--ar, 1.5); background: color-mix(in srgb, currentColor 6%, transparent); isolation: isolate; }
.m::before {
  content: ""; position: absolute; inset: -20px; z-index: -1;
  background: var(--lqip) center / cover no-repeat; filter: blur(18px); transform: scale(1.08);
}
.m > img, .m > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .m > img { opacity: 0; transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); }
.js .m.is-loaded > img { opacity: 1; }
.m__vid { opacity: 0; transition: opacity 0.6s var(--ease), transform 1.4s var(--ease); }
.m.is-playing .m__vid { opacity: 1; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 6vh, 0); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-m .m { clip-path: inset(10% 8% 10% 8%); transition: clip-path 1.5s var(--ease); }
.js .reveal-m .m > img { transform: scale(1.18); }
.js .reveal-m.is-in .m { clip-path: inset(0 0 0 0); }
.js .reveal-m.is-in .m > img { transform: none; }
/* Line masks: generous padding so descenders and accents are never clipped */
.split .ln { display: block; overflow: hidden; padding: 0.06em 0 0.14em; margin: -0.06em 0 -0.14em; }
.split .ln__in { display: inline-block; }
.split .chw { display: inline-block; white-space: nowrap; }
.js .split .ch { display: inline-block; transform: translate3d(0, 130%, 0) rotate(6deg); transform-origin: 0 100%; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 32ms + var(--d, 0ms)); }
.js .split.is-in .ch { transform: none; }
.js .words .wd { display: inline-block; opacity: 0; transform: translate3d(0, 0.5em, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.js .words.is-in .wd { opacity: 1; transform: none; }

/* ==========================================================================
   Home
   ========================================================================== */

/* ---------- Showreel ---------- */
.reel { position: relative; height: 100svh; min-height: 560px; color: var(--paper); background: #000; overflow: hidden; }
.reel__media { position: absolute; inset: 0; }
.reel__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.03 + var(--p, 0) * 0.12)); }
.reel__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.38)); }
/* Letterbox: the frame closes into cinemascope as you scroll */
.reel__bars i { position: absolute; left: 0; right: 0; z-index: 2; height: calc(var(--p, 0) * 15%); background: var(--ink); }
.reel__bars i:first-child { top: 0; }
.reel__bars i:last-child { bottom: 0; }
/* Opening: two shutters split from a centre line (first visit per session) */
.shutter { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.shutter i { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.5s var(--ease-io); }
.shutter i:first-child { top: 0; }
.shutter i:last-child { bottom: 0; }
.shutter::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px; background: var(--paper); transform: scaleX(0); animation: line 1.1s var(--ease-io) 0.15s forwards; z-index: 2; transition: opacity 0.4s; }
.shutter.is-open i:first-child { transform: translateY(-101%); }
.shutter.is-open i:last-child { transform: translateY(101%); }
.shutter.is-open::after { opacity: 0; }
@keyframes line { to { transform: scaleX(1); } }
.no-js .shutter, .intro-seen .shutter { display: none; }

.reel__content {
  position: absolute; z-index: 3; inset: calc(var(--hd-h) + 2vh) var(--gutter) calc(var(--tbar-h) + max(14px, env(safe-area-inset-bottom)) + 3vh);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  color: var(--paper); mix-blend-mode: difference;
}
.reel__side { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px; }
.reel__facts { text-align: center; opacity: 0.85; }
.reel__ctrl { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.reel__title { display: grid; gap: 0.6vw; }
.reel__quiet { font-size: clamp(1rem, 0.6rem + 1.6vw, 2.4rem); font-weight: 140; font-stretch: 125%; letter-spacing: 0.32em; text-transform: uppercase; line-height: 1.1; }
.reel__loud { font-size: 22.6vw; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.76; letter-spacing: -0.01em; white-space: nowrap; }
.reel__loud .ln__in, .fit .ln__in { white-space: nowrap; }
.reel__brk { display: none; }
@media (max-aspect-ratio: 4/5) { .reel__brk { display: block; } .reel__loud { line-height: 0.8; } }
/* Sound on/off for the showreel (only when it has audio) */
.sound-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 60%, transparent); transition: transform 0.7s var(--ease), background 0.4s, color 0.4s; }
.sound-btn svg, .player__btn svg { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn:hover { transform: scale(1.1); background: var(--paper); color: #000; }
.snd-wave { opacity: 0; transition: opacity 0.4s; }
.snd-x { transition: opacity 0.4s; }
[aria-pressed="true"] > svg .snd-wave { opacity: 1; }
[aria-pressed="true"] > svg .snd-wave--2 { animation: snd-wave 1.8s ease-in-out infinite; }
[aria-pressed="true"] > svg .snd-x { opacity: 0; }
@keyframes snd-wave { 50% { opacity: 0.25; } }
.reel-btn { display: inline-flex; align-items: center; gap: 14px; font-size: var(--fs-label); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.reel-btn__icon { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 60%, transparent); transition: transform 0.7s var(--ease), background 0.4s; }
.reel-btn__icon::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: border-color 0.4s; }
.reel-btn:hover .reel-btn__icon { transform: scale(1.1); background: var(--paper); }
.reel-btn:hover .reel-btn__icon::after { border-left-color: #000; }
.no-js .sound-btn { display: none; }
@media (max-width: 760px) {
  .reel__side { grid-template-columns: 1fr; gap: 14px; }
  .reel__facts { text-align: left; }
  .reel__ctrl { justify-content: flex-start; }
  .reel__ctrl .sound-btn { display: none; }
}

/* ---------- Statement: words go from quiet to loud as you scroll ---------- */
.intro { padding: clamp(120px, 22vh, 260px) var(--gutter); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); }
.intro__label { grid-column: 1 / span 2; padding-top: 1.1em; }
.intro__text { grid-column: 3 / -1; font-size: clamp(2rem, 0.7rem + 4.1vw, 5.6rem); line-height: 1.04; letter-spacing: -0.025em; }
/* Each word reserves the width of its heaviest weight, so nothing reflows while the weight changes */
.wt { display: inline-grid; }
.wt > span, .wt::after { grid-area: 1 / 1; }
.wt::after { content: attr(data-w); font-weight: 800; visibility: hidden; }
.wt > span { justify-self: center; font-weight: var(--w, 800); opacity: var(--o, 1); }
.intro__foot { grid-column: 3 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-top: clamp(56px, 10vh, 120px); padding-top: 20px; border-top: 1px solid var(--line); }
.intro__head { text-wrap: balance; max-width: 30ch; font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem); font-weight: 600; line-height: 1.25; }
@media (max-width: 860px) {
  .intro__label { grid-column: 1 / -1; margin-bottom: 24px; padding: 0; }
  .intro__text, .intro__foot { grid-column: 1 / -1; }
}

/* ---------- Video wall (selected work, work page) ---------- */
.sel { padding: clamp(110px, 18vh, 220px) 0 clamp(80px, 12vh, 140px); }
.sel .h-display, .svc .h-display { font-size: clamp(3.6rem, 1rem + 10vw, 13rem); }
.wall { display: grid; gap: var(--bezel); padding-inline: var(--bezel); }
.wall__row { display: flex; gap: var(--bezel); }
.tile { position: relative; flex: var(--g, 1.7778) 1 0; min-width: 0; display: block; overflow: hidden; background: #000; color: var(--paper); transition: opacity 0.6s var(--ease); container-type: inline-size; }
@container (max-width: 300px) {
  .tile__sub { display: none; }
  .tile__title { font-size: clamp(1.25rem, 13cqi, 2rem); }
  .tile__top { left: 12px; right: 12px; }
  .tile__cap { left: 12px; right: 12px; bottom: 12px; }
}
.tile .m > img, .tile .m > video { transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.tile:hover .m > img, .tile:hover .m > video { transform: scale(1.045); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 42%), linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 22%); }
.tile__top { position: absolute; z-index: 2; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; opacity: 0.85; }
.tile__cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 8px; }
.tile__title { font-size: clamp(1.7rem, 0.8rem + 2.6vw, 4rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.84; transition: font-stretch 0.8s var(--ease), font-weight 0.8s var(--ease); }
.tile--V .tile__title, .tile--S .tile__title { font-size: clamp(1.4rem, 0.8rem + 1.4vw, 2.6rem); }
.tile:hover .tile__title { font-stretch: 88%; font-weight: 760; }
.tile__sub { font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.tile__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: var(--yellow); transform-origin: left; transform: scaleX(var(--prog, 0)); opacity: 0; transition: opacity 0.4s; }
.tile:has(.m.is-playing) .tile__bar, .next:has(.m.is-playing) .tile__bar { opacity: 1; }
@media (hover: hover) { .wall:hover .tile:not(:hover) { opacity: 0.42; } }
@media (max-width: 700px) {
  .wall { grid-template-columns: 1fr; }
  .wall__row { display: contents; }
  .tile--V .m { aspect-ratio: 4 / 5; }
}

/* ---------- Services: five strips, the hovered one opens and plays ---------- */
.svc { padding: clamp(110px, 18vh, 220px) 0; }
.svc__list { display: flex; height: min(80svh, 820px); margin-inline: var(--gutter); border-block: 1px solid var(--line); }
.svc__item { flex: 1 1 0; min-width: 0; border-left: 1px solid var(--line); transition: flex-grow 0.9s var(--ease), opacity 0.6s var(--ease); }
.svc__item:first-child { border-left: 0; }
.svc__strip { position: relative; display: block; height: 100%; overflow: hidden; padding: 20px; transition: color 0.5s var(--ease); }
.svc__media { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; transition: opacity 0.8s var(--ease); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.svc__num { position: relative; z-index: 2; font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; }
.svc__title {
  position: absolute; z-index: 2; left: 14px; bottom: 18px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: clamp(2.6rem, 1rem + 3.4vw, 5.6rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.84; white-space: nowrap;
  transition: font-stretch 0.9s var(--ease), font-weight 0.9s var(--ease);
}
.svc__body { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: calc(14px + 1.15em + 3.2vw); display: grid; gap: 18px; justify-items: start; opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.svc__subs { display: grid; gap: 2px; font-size: clamp(1rem, 0.8rem + 0.5vw, 1.4rem); font-weight: 500; line-height: 1.3; }
.svc__count .arr { font-style: normal; display: inline-block; transition: transform 0.6s var(--ease); }
@media (hover: hover) and (min-width: 901px) {
  .svc__list:hover .svc__item { opacity: 0.55; }
  .svc__list:hover .svc__item:hover, .svc__item:focus-within { flex-grow: 3.4; opacity: 1; }
  .svc__strip:not(.is-empty):hover, .svc__strip:not(.is-empty):focus-visible { color: var(--paper); }
  .svc__strip:hover .svc__media, .svc__strip:focus-visible .svc__media { opacity: 1; }
  .svc__strip:hover .svc__title, .svc__strip:focus-visible .svc__title { font-stretch: 78%; font-weight: 800; }
  .svc__strip:hover .svc__body, .svc__strip:focus-visible .svc__body { opacity: 1; transform: none; transition-delay: 0.18s; }
  .svc__strip:hover .arr { transform: translateX(6px); }
}
@media (max-width: 900px), (hover: none) {
  .svc__list { flex-direction: column; height: auto; border-bottom: 0; }
  .svc__item { border-left: 0; border-bottom: 1px solid var(--line); }
  .svc__strip { display: grid; grid-template-columns: 2.6em 1fr; gap: 6px 12px; padding: 22px 0; }
  .svc__media { display: none; }
  .svc__num { padding-top: 0.7em; }
  .svc__title { position: static; writing-mode: horizontal-tb; transform: none; font-size: clamp(2.4rem, 1rem + 6vw, 4rem); }
  .svc__body { position: static; grid-column: 2; opacity: 1; transform: none; gap: 14px; }
  .svc__subs { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: var(--fs-small); opacity: 0.75; }
}

/* ---------- Testimonials ---------- */
.quotes { padding: clamp(110px, 18vh, 220px) var(--gutter); display: grid; gap: clamp(70px, 12vh, 140px); }
.quote { display: grid; gap: 22px; max-width: 30ch; margin-inline: auto; text-align: center; font-size: clamp(1.5rem, 0.8rem + 2.2vw, 3rem); line-height: 1.15; font-weight: 300; letter-spacing: -0.015em; }
.quote:nth-child(even) { font-stretch: 85%; font-weight: 600; }

/* ---------- Footer: end credits ---------- */
.credits { padding: clamp(110px, 20vh, 240px) var(--gutter) calc(var(--tbar-h) + 44px); text-align: center; overflow: hidden; }
.credits__cta { display: grid; justify-items: center; gap: clamp(20px, 3.4vh, 36px); }
.credits__mail { display: block; max-width: 100%; font-size: clamp(1.7rem, 0.4rem + 6vw, 7.8rem); line-height: 1; font-weight: 160; font-stretch: 75%; letter-spacing: -0.02em; overflow-wrap: anywhere; transition: font-weight 0.8s var(--ease); }
.credits__mail:hover { font-weight: 860; }
.credits__roll { display: grid; justify-items: center; gap: clamp(64px, 11vh, 130px); margin-top: clamp(110px, 20vh, 240px); }
.credits__logo .logo { width: clamp(150px, 20vw, 300px); height: auto; }
.credits__list { display: grid; gap: clamp(28px, 4.4vh, 44px); width: min(660px, 100%); }
.credits__list div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(18px, 3vw, 40px); text-align: left; }
.credits__list dt { text-align: right; padding-top: 0.45em; font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; }
.credits__list dd { font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem); font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.credits__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: clamp(90px, 15vh, 160px); font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }

/* ==========================================================================
   Work
   ========================================================================== */
.work-head { padding: calc(var(--hd-h) + clamp(50px, 12vh, 150px)) var(--gutter) clamp(30px, 5vh, 60px); }
.work-head sup { font-size: 0.14em; font-weight: 500; font-stretch: 125%; letter-spacing: 0.12em; vertical-align: top; position: relative; top: 0.7em; margin-left: 0.4em; }
.work-head__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; margin-top: clamp(30px, 6vh, 64px); padding-top: 18px; border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, .chips span {
  display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.filters button:hover, .chips span:hover { border-color: currentColor; }
.filters button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.filters button[aria-pressed="true"] .muted { opacity: 0.6; }
.no-js .filters, .no-js .view-toggle { display: none; }
.view-toggle { display: flex; gap: 18px; font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.view-toggle button { opacity: 0.45; transition: opacity 0.3s; padding: 8px 0; }
.view-toggle button[aria-pressed="true"] { opacity: 1; font-weight: 700; }
.work { padding-bottom: clamp(60px, 10vh, 120px); }
.work[data-mode="index"] .wall, .work[data-mode="wall"] .index { display: none; }
.work__empty { padding-block: 14vh; text-align: center; opacity: 0.55; }

.index { margin-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.index__row { display: grid; grid-template-columns: 3em 2fr 1.2fr 1.6fr 0.5fr; gap: var(--gap); align-items: baseline; padding-block: clamp(12px, 2vh, 22px); border-top: 1px solid var(--line); transition: opacity 0.4s, padding 0.6s var(--ease); }
.index__row > span:not(.index__title) { font-size: var(--fs-small); }
.index__no { font-variant-numeric: tabular-nums; opacity: 0.5; }
.index__title { font-size: clamp(1.8rem, 1rem + 2.6vw, 3.8rem); font-weight: 160; font-stretch: 62%; text-transform: uppercase; line-height: 0.9; transition: font-weight 0.6s var(--ease); }
.index__row:hover .index__title { font-weight: 900; }
@media (hover: hover) { .index:hover .index__row { opacity: 0.3; } .index:hover .index__row:hover { opacity: 1; padding-left: 12px; } }
@media (max-width: 700px) {
  .work-head__bar { display: grid; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
}
@media (max-width: 760px) {
  .index__row { grid-template-columns: 2.4em 1fr; }
  .index__row > span:nth-child(n + 3) { display: none; }
}
.float-media {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(260px, 26vw, 440px); aspect-ratio: 16 / 10;
  pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.6); overflow: hidden; background: #000;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.float-media.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.float-media img, .float-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .float-media { display: none; } }

/* ==========================================================================
   Project page: the screening room
   ========================================================================== */
.ph { padding: calc(var(--hd-h) + clamp(36px, 8vh, 110px)) var(--gutter) clamp(26px, 4.5vh, 52px); text-align: center; }
.ph__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2em 1em; }
.ph__meta i { font-style: normal; opacity: 0.4; }
.ph__title { margin-top: clamp(14px, 2.4vh, 26px); font-size: clamp(3.6rem, 1rem + 11vw, 15rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.8; }
.ph__headline { margin: clamp(16px, 2.6vh, 28px) auto 0; max-width: 36ch; font-size: clamp(1.05rem, 0.85rem + 0.8vw, 1.8rem); font-weight: 200; font-stretch: 125%; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }

.screen { position: relative; isolation: isolate; overflow: clip; display: grid; justify-items: center; padding: clamp(8px, 2vh, 30px) var(--gutter) clamp(80px, 14vh, 170px); }
/* Ambient glow from the poster behind the player */
.screen::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 0; height: min(90%, 100svh); background: var(--glow) center / cover no-repeat; filter: blur(80px) saturate(1.5); opacity: 0.38; transform: scale(1.05); pointer-events: none; -webkit-mask-image: linear-gradient(#000 45%, transparent 85%); mask-image: linear-gradient(#000 45%, transparent 85%); }

.player { position: relative; width: min(100%, calc((100svh - var(--hd-h) - var(--tbar-h) - 80px) * var(--ar))); background: #000; color: #fff; transform: scale(var(--s, 1)); transform-origin: 50% 0; }
.player__frame { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: #000; }
.player__frame .m { position: absolute; inset: 0; aspect-ratio: auto; transition: opacity 0.5s; }
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; opacity: 0; transition: opacity 0.5s var(--ease); }
.player.is-on .player__video { opacity: 1; }
.player__start { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), transparent); transition: opacity 0.5s var(--ease); }
.player__icon { display: grid; place-items: center; width: clamp(66px, 7vw, 104px); aspect-ratio: 1; margin-bottom: 6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform 0.7s var(--ease), background 0.4s, color 0.4s; }
.player__icon svg { width: 30%; height: auto; fill: currentColor; margin-left: 6%; }
.player__start:hover .player__icon { transform: scale(1.12); background: #fff; color: #000; }
.i-pause { display: none; }
.player.is-on .player__start { opacity: 0; pointer-events: none; }
.player__ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: clamp(8px, 1.2vw, 18px);
  padding: 46px clamp(10px, 1.4vw, 20px) 10px; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); pointer-events: none;
}
.player.is-on.is-ui .player__ui, .player.is-on.is-paused .player__ui { opacity: 1; transform: none; pointer-events: auto; }
.player.is-on:not(.is-ui):not(.is-paused) { cursor: none; }
.player__btn { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; transition: background 0.3s; }
.player__btn:hover { background: rgba(255, 255, 255, 0.14); }
.player__btn[data-act="play"] svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.player.is-playing [data-act="play"] .i-play { display: none; }
.player.is-playing [data-act="play"] .i-pause { display: block; }
.player__time { flex: none; font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.player__track { position: relative; flex: 1; height: 26px; cursor: pointer; touch-action: none; }
.player__track::before, .player__buf, .player__prog { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; transform-origin: left; transition: height 0.25s, margin 0.25s; }
.player__track::before { background: rgba(255, 255, 255, 0.25); }
.player__buf { background: rgba(255, 255, 255, 0.4); transform: scaleX(var(--buf, 0)); }
.player__prog { background: var(--yellow); transform: scaleX(var(--prog, 0)); }
.player__track:hover::before, .player__track:hover .player__buf, .player__track:hover .player__prog { height: 4px; margin-top: -2px; }
.player:fullscreen { width: 100%; height: 100%; transform: none; display: grid; align-items: center; }
.player:fullscreen .player__frame { aspect-ratio: auto; height: 100%; }
.player:fullscreen .player__frame .m { display: none; }
.player--still { cursor: default; }

/* More cuts: load into the same player */
.cuts { display: flex; align-items: flex-start; gap: 18px 28px; width: min(100%, 1500px); margin-top: clamp(22px, 4vh, 44px); }
.cuts__label { flex: none; padding-top: 2px; opacity: 0.7; }
.cuts__list { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.cuts__list::-webkit-scrollbar { display: none; }
.cut { flex: none; display: grid; gap: 8px; text-align: left; opacity: 0.5; transition: opacity 0.4s var(--ease); }
.cut .m { height: clamp(84px, 11vh, 132px); width: auto; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.4s; }
.cut:hover, .cut.is-active { opacity: 1; }
.cut.is-active .m { outline-color: var(--yellow); }
.cut__cap { font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 700px) { .cuts { flex-direction: column; } .screen { padding-bottom: 56px; } .pinfo { padding-top: 72px; } }

/* Text + credit sheet */
.pinfo { padding: clamp(100px, 16vh, 200px) var(--gutter); }
.pinfo__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px var(--gutter); align-items: start; }
.pinfo__text { text-wrap: pretty; grid-column: 1 / span 7; font-size: clamp(1.6rem, 0.8rem + 2.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 300; }
.sheet { grid-column: 9 / span 4; }
.sheet div { display: grid; grid-template-columns: 8.5em 1fr; gap: var(--gap); padding-block: 11px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.sheet dt { font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.5; padding-top: 0.25em; }
.sheet dd { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 900px) { .pinfo__text, .sheet { grid-column: 1 / -1; } }

/* Stills & BTS: a sideways film strip */
.strip { padding-bottom: clamp(100px, 16vh, 200px); }
.strip__head { display: flex; justify-content: space-between; gap: 20px; padding: 0 var(--gutter) 18px; }
.strip__track { display: flex; gap: 12px; overflow-x: auto; padding-inline: var(--gutter); scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip__track::-webkit-scrollbar { display: none; }
.strip__track.is-drag { scroll-snap-type: none; }
.strip__track.is-drag a { pointer-events: none; }
.strip__item { flex: none; height: clamp(240px, 52vh, 580px); aspect-ratio: var(--ar); scroll-snap-align: start; }
.strip__item .m { width: 100%; height: 100%; aspect-ratio: auto; }
@media (max-width: 700px) { .strip__item { height: 46vh; } .strip__hint { display: none; } }

/* Up next */
.next { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px var(--gutter); padding: clamp(100px, 16vh, 200px) var(--gutter); }
.next__text { display: grid; gap: 16px; justify-items: start; }
.next__title { font-size: clamp(3.2rem, 1rem + 8vw, 11rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.8; transition: font-weight 0.9s var(--ease); }
.next:hover .next__title { font-weight: 200; }
.next__media { position: relative; overflow: hidden; background: #000; }
.next__media .m > img, .next__media .m > video { transition: transform 1.6s var(--ease), opacity 0.8s var(--ease); }
.next:hover .next__media .m > img, .next:hover .next__media .m > video { transform: scale(1.06); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* ==========================================================================
   About, contact, privacy, 404
   ========================================================================== */
.ab-head { padding: calc(var(--hd-h) + clamp(50px, 12vh, 150px)) var(--gutter) clamp(50px, 9vh, 110px); }
.ab-head .h-display { margin-top: 18px; }
.ab { padding: 0 var(--gutter) clamp(100px, 16vh, 200px); }
.ab__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px var(--gutter); align-items: start; }
.ab__facts { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd-h) + 10px); }
.ab__body { grid-column: 6 / span 7; display: grid; gap: 1.3em; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.45rem); line-height: 1.5; }
.ab__body p:first-child { font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.6rem); line-height: 1.18; font-weight: 500; letter-spacing: -0.015em; }
.ab__photo { margin: clamp(80px, 14vh, 160px) auto 0; max-width: 1200px; }
@media (max-width: 900px) { .ab__facts, .ab__body { grid-column: 1 / -1; position: static; } }
.svc-table { padding: clamp(100px, 16vh, 200px) 0; }
.svc-table__list { margin-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.svc-table__list a { display: grid; grid-template-columns: 3em 1.3fr 2fr 1.5em; align-items: baseline; gap: var(--gap); padding-block: clamp(16px, 2.8vh, 32px); border-top: 1px solid var(--line); transition: opacity 0.4s; }
.svc-table__title { font-size: clamp(2.2rem, 1rem + 3.6vw, 5.4rem); font-weight: 160; font-stretch: 62%; text-transform: uppercase; line-height: 0.9; transition: font-weight 0.6s var(--ease); }
.svc-table__list a:hover .svc-table__title { font-weight: 900; }
.svc-table__subs { font-size: var(--fs-small); opacity: 0.7; }
.arr { transition: transform 0.6s var(--ease); }
.svc-table__list a:hover .arr { transform: translateX(6px); }
@media (hover: hover) { .svc-table__list:hover li:not(:hover) a { opacity: 0.32; } }
@media (max-width: 760px) { .svc-table__list a { grid-template-columns: 2.4em 1fr; } .svc-table__subs { grid-column: 2; } .svc-table__list .arr { display: none; } }

.ct { padding: calc(var(--hd-h) + clamp(50px, 12vh, 150px)) var(--gutter) clamp(100px, 16vh, 200px); }
.ct .h-display { margin-top: 18px; }
.ct__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px var(--gutter); align-items: start; margin-top: clamp(56px, 10vh, 120px); }
.cform { grid-column: 1 / span 7; display: grid; gap: clamp(26px, 4.6vh, 42px); }
.ct__info { grid-column: 9 / span 4; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 14px; opacity: 0.6; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { cursor: pointer; }
.chips input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4.6vh, 42px) var(--gutter); }
.field { display: grid; gap: 8px; }
.field > .label { opacity: 0.6; }
.field i { font-style: normal; text-transform: none; letter-spacing: 0.02em; }
.field input, .field textarea {
  width: 100%; padding: 6px 0 12px; border: 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 0;
  background: transparent; color: inherit; font: inherit; font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.6rem); line-height: 1.35;
  -webkit-appearance: none; appearance: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 6.5em; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: currentColor; box-shadow: 0 2px 0 var(--yellow); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--fg); -webkit-box-shadow: 0 0 0 100px var(--bg) inset; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.cform__send { padding-block: 10px; }
.cform__send[disabled] { opacity: 0.4; cursor: progress; }
.cform__status { font-size: var(--fs-small); }
.cform__status[data-kind="ok"], .cform__note { font-weight: 700; }
.cform__status a, .cform__note a { border-bottom: 1px solid currentColor; }
.cform__note { display: none; font-size: var(--fs-body); }
.cform__note:target { display: block; }
@media (max-width: 900px) { .cform, .ct__info { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cform__row { grid-template-columns: 1fr; } }

.prose-page { padding: calc(var(--hd-h) + clamp(50px, 10vh, 120px)) var(--gutter) clamp(90px, 14vh, 170px); }
.prose { max-width: 68ch; margin-inline: auto; display: grid; gap: clamp(70px, 12vh, 130px); }
.prose section { display: grid; gap: 1em; }
.prose h2 { font-size: clamp(2.6rem, 1rem + 5vw, 6rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.85; margin-bottom: 0.3em; }
.prose h3 { margin-top: 1em; font-size: var(--fs-label); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose a { border-bottom: 1px solid currentColor; }

.nf { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 28px; padding: var(--hd-h) var(--gutter); }

/* ---------- Lightbox (stills) ---------- */
.lb { position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--paper); opacity: 0; transition: opacity 0.5s var(--ease); touch-action: pan-y; }
.lb.is-open { opacity: 1; }
.lb__stage { position: absolute; inset: 72px var(--gutter) 72px; display: grid; place-items: center; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transform: scale(0.97); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); user-select: none; -webkit-user-drag: none; }
.lb__img.is-ready { opacity: 1; transform: none; }
.lb__bar, .lb__foot, .cine__bar { position: absolute; left: var(--gutter); right: var(--gutter); height: 72px; display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-label); font-weight: 500; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.lb__bar, .cine__bar { top: 0; }
.lb__foot { bottom: 0; }
.lb__count { font-variant-numeric: tabular-nums; }
.lb__count b { font-weight: 700; }
.lb__close, .lb__arrows button, .cine__close { font-weight: 700; padding: 10px 0; }
.lb__nav { position: absolute; top: 72px; bottom: 72px; width: 30%; z-index: 2; }
.lb__nav--prev { left: 0; cursor: w-resize; }
.lb__nav--next { right: 0; cursor: e-resize; }
.lb__arrows { display: flex; gap: 28px; }

/* ---------- Cinema (full showreel in the same player) ---------- */
.cine { position: fixed; inset: 0; z-index: 320; display: grid; place-items: center; padding: 72px var(--gutter) 40px; background: #000; color: #fff; opacity: 0; transition: opacity 0.5s var(--ease); }
.cine.is-open { opacity: 1; }
.cine__stage { width: 100%; display: grid; justify-items: center; }
.cine .player { width: min(100%, calc((100svh - 130px) * var(--ar))); }
body.is-locked { overflow: hidden; }

/* ---------- Page transitions: the old page sinks, the new one opens like a letterbox ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.6s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 1s var(--ease-io) 0.05s both; }
@keyframes vt-out { to { opacity: 0.2; transform: scale(0.94); } }
@keyframes vt-in { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
/* A tile grows into the project's player */
::view-transition-group(film) { animation-duration: 1s; animation-timing-function: var(--ease-io); }
::view-transition-old(film), ::view-transition-new(film) { height: 100%; object-fit: cover; animation-duration: 1s; }
.no-vt body { animation: page-in 0.9s var(--ease) both; }
.no-vt.is-leaving body { opacity: 0; transform: translate3d(0, -2vh, 0); transition: opacity 0.4s var(--ease-io), transform 0.4s var(--ease-io); }
@keyframes page-in { from { opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split .ch, .js .words .wd { opacity: 1; transform: none; }
  .js .reveal-m .m { clip-path: none; }
  .shutter { display: none; }
  @view-transition { navigation: none; }
}
