/* Kabo Studio. Sizes are in rem, and 1rem scales with the viewport (1px at 1440 on desktop, at 375 on phones). */

:root {
  --red: #e55364;
  --ink: #111110;
  --bone: #eeece6;
  --white: #ffffff;
  --fg: var(--bone);
  --bg: var(--ink);

  --grot: 'League Spartan', 'Arial Black', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --hand: 'Covered By Your Grace', 'Comic Sans MS', cursive;

  --ease-panel: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-player: cubic-bezier(0.49, 0.34, 0.01, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-panel: 1.05s;

  --pad: 20rem;
  --gap: 12rem;
  --hdr: 64rem;
}

html { font-size: min(calc(100vw / 375), 1.35px); }
@media (min-width: 1000px) { html { font-size: calc(100vw / 1440); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-weight: 300;
  font-size: max(18rem, 15px);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
body[data-theme='light'] { --fg: var(--ink); --bg: var(--bone); }
body[data-theme='dark'] { --fg: var(--bone); --bg: var(--ink); }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--red); color: var(--ink); }
:focus-visible { outline: 1px dashed var(--red); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 900; padding: 10px 14px; background: var(--red); color: var(--ink); font: 700 13px/1 var(--grot); text-transform: uppercase; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */

.grot { font-family: var(--grot); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.88; }
.serif-up { font-family: var(--serif); font-weight: 200; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.9; }
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0.01em; line-height: 1; }
.red { color: var(--red); }
.label { font-size: max(16rem, 13px); }

/* 1px dashed rules, drawn as stripes so the rhythm is even everywhere. */
.dash-x { height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.dash-y { width: 1px; background-image: linear-gradient(180deg, currentColor 50%, transparent 0); background-size: 1px 10rem; opacity: 0.55; }

.temp { display: inline-block; margin-left: 8rem; padding: 1px 6px; border: 1px dashed currentColor; border-radius: 99px; font: 400 max(12rem, 11px)/1.2 var(--hand); opacity: 0.8; vertical-align: middle; }

/* ---------- header ---------- */

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  color: var(--fg);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hdr > * { pointer-events: auto; }
.hdr__logo { width: 92rem; min-width: 64px; }
.hdr__logo svg { width: 100%; height: auto; }
.hdr__menu { display: inline-flex; align-items: center; gap: 8rem; font: 300 max(16rem, 13px)/1 var(--serif); text-transform: uppercase; letter-spacing: -0.01em; }
.hdr__menu .plus { font-size: 1.25em; line-height: 0.8; transition: transform 0.5s var(--ease-out); }
.hdr__menu:hover .plus { transform: rotate(90deg); }
html.menu-open .hdr { opacity: 0; }

/* ---------- menu ---------- */

.menu {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.62s cubic-bezier(0.65, 0, 0.2, 1), visibility 0s linear 0.62s;
}
html.menu-open .menu { transform: none; visibility: visible; transition: transform 0.62s cubic-bezier(0.65, 0, 0.2, 1), visibility 0s; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--hdr); padding: 0 var(--pad); }
.menu__close { font: 300 max(16rem, 13px)/1 var(--serif); text-transform: uppercase; display: inline-flex; gap: 8rem; align-items: center; }
.menu__close .x { font-family: var(--hand); font-size: 1.2em; }
.menu__logo { align-self: center; width: 250rem; margin: 40rem 0 64rem; }
.menu__logo svg { width: 100%; height: auto; }
.menu__rows { position: relative; margin: 0 var(--pad); }
.menu__rows::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.menu__row {
  position: relative; display: flex; align-items: center;
  height: 88rem;
  padding-left: calc(var(--x) * 1rem);
  overflow: hidden;
}
.menu__row::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.menu__row::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.38s var(--ease-out);
}
.menu__row:hover::before, .menu__row:focus-visible::before { transform: scaleY(1); }
.menu__word {
  position: relative; display: inline-flex; align-items: flex-start;
  font: 200 88rem/0.9 var(--serif); text-transform: uppercase; letter-spacing: -0.035em;
  transition: color 0.3s ease;
}
.menu__row:hover .menu__word { color: var(--ink); }
.menu__word sup { font: 400 22rem/1 var(--hand); letter-spacing: 0; margin-left: 6rem; margin-top: 4rem; }
.menu__here { position: relative; margin-left: 22rem; font-size: 20rem; color: var(--red); transform: rotate(-4deg); }
.menu__row:hover .menu__here { color: var(--ink); }
.menu__bottom {
  margin-top: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding: 0 var(--pad) 18rem; font-size: max(13rem, 11px);
}
.menu__bottom > :last-child { text-align: right; }
.menu__bottom .hand { display: block; font-size: max(16rem, 13px); margin-bottom: 4rem; }
.menu__bottom b { font: 700 max(13rem, 11px)/1 var(--grot); text-transform: uppercase; letter-spacing: 0; }

/* staggered blur-in of the menu content */
.menu [data-stagger] { opacity: 0; filter: blur(15px); transition: opacity 0.6s ease-out, filter 0.6s ease-out; }
html.menu-open .menu [data-stagger] { opacity: 1; filter: none; transition-delay: calc(0.3s + var(--i, 0) * 0.04s); }

/* ---------- page transition panel + first-visit loader ---------- */

.tp, .pre {
  position: fixed; inset: 0; z-index: 800;
  background: var(--red); color: var(--ink);
  display: grid; place-items: center;
  pointer-events: none;
  transform: translateX(100%);
  clip-path: inset(0 0 0 100%);
}
.tp__mark { width: 46rem; min-width: 30px; transition: transform 1.2s var(--ease-out); }
.tp__mark svg { width: 100%; height: auto; }
html.tp-arrive .tp, .tp.is-in { transform: none; clip-path: inset(0 0 0 0); }
.tp.is-in { animation: tp-in var(--t-panel) var(--ease-panel) both; pointer-events: auto; }
.tp.is-in .tp__mark { transform: rotate(60deg); }
.tp.is-out { animation: tp-out var(--t-panel) var(--ease-panel) both; }
@keyframes tp-in { from { transform: translateX(100%); clip-path: inset(0 0 0 100%); } to { transform: none; clip-path: inset(0 0 0 0); } }
@keyframes tp-out { from { transform: none; clip-path: inset(0 0 0 0); } to { transform: translateX(-20%); clip-path: inset(0 100% 0 0); } }

.pre { display: none; z-index: 850; }
html.is-first .pre { display: grid; transform: none; clip-path: inset(0 0 0 0); }
.pre.is-out { animation: tp-out 0.935s var(--ease-panel) both; }
.pre__box { display: flex; flex-direction: column; align-items: center; gap: 22rem; }
.pre__logo { width: 300rem; }
.pre__logo svg { width: 100%; height: auto; }
.pre__flip { position: relative; width: 240rem; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.pre__flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.pre__flip img.is-on { visibility: visible; }
.pre__tag { font-size: max(18rem, 14px); }
.pre__count { position: absolute; right: var(--pad); bottom: 18rem; font: 400 max(16rem, 13px)/1 var(--hand); }

/* ---------- cursor: a handwritten word that rides above the pointer ---------- */

.cur { position: fixed; left: 0; top: 0; z-index: 700; pointer-events: none; }
.cur__word {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -40rem);
  font: 400 22rem/1 var(--hand); white-space: nowrap;
  color: var(--cur-color, var(--bone));
  opacity: 0; transition: opacity 0.2s ease;
}
.cur.is-on .cur__word { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* scribble: a red pen line over whatever the pointer can click (drawn by main.js) */
.scr { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 690; pointer-events: none; overflow: visible; }
.scr path { fill: none; stroke: var(--red); stroke-width: max(2.4rem, 2px); stroke-linecap: round; stroke-linejoin: round; }
@media (hover: none), (pointer: coarse) { .scr { display: none; } }

/* ---------- reveals: opacity + blur, never a slide ---------- */

html.js [data-reveal] { opacity: 0; filter: blur(22px); transition: opacity 1s ease-out, filter 1s ease-out; transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; filter: none; }

/* ---------- home + work: the reel (after siena.film's portfolio; drawn by reel.js) ---------- */

.page-home, .page-work { overflow: hidden; overscroll-behavior: none; }
.reel {
  position: fixed; inset: 0; overflow: hidden;
  background: var(--ink); color: var(--bone);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.reel.is-drag { cursor: grabbing; }
.reel__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.8s ease 0.1s; }
.reel.is-gl .reel__gl { opacity: 1; }
.reel__track { position: absolute; inset: 0; }
.rc, .wc { visibility: hidden; will-change: transform; }
.rc.is-vis, .wc.is-vis { visibility: visible; }
.reel.is-gl .rc__pic, .reel.is-gl .wc__pic img { visibility: hidden; }

/* small type shared by both pages */
.rc__eyebrow { font: 400 max(9.6rem, 9px)/1 var(--serif); text-transform: uppercase; letter-spacing: 0.3em; }
/* facts under a title: our project-page facts as rows, red hand labels, serif values, dashed rules */
.tbl div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 16rem; padding: 7rem 2rem 6rem; background: linear-gradient(90deg, rgba(238, 236, 230, 0.55) 50%, transparent 0) 0 100% / 10rem 1px repeat-x; }
.tbl div:first-child { background: linear-gradient(90deg, rgba(238, 236, 230, 0.55) 50%, transparent 0) 0 0 / 10rem 1px repeat-x, linear-gradient(90deg, rgba(238, 236, 230, 0.55) 50%, transparent 0) 0 100% / 10rem 1px repeat-x; }
.tbl dt { margin: 0; font: 400 max(17rem, 14px)/1 var(--hand); color: var(--red); text-align: left; }
.tbl dd { margin: 0; font: 300 max(16rem, 13px)/1 var(--serif); text-transform: uppercase; letter-spacing: 0.02em; text-align: right; white-space: nowrap; }
.rc__n { margin-left: 8rem; font-size: 26rem; line-height: 1; color: var(--red); letter-spacing: 0; text-transform: none; vertical-align: top; }

/* the title, letter by letter: two copies of each letter in a one-letter window (reel.js spins them) */
.slot__w { display: inline-block; white-space: nowrap; }
.slot__c { display: inline-flex; flex-direction: column; height: 0.84em; overflow: hidden; vertical-align: top; margin-top: -0.02em; }
.slot__c > span { display: block; height: 0.84em; line-height: 0.92em; }

/* the explore button: a ticket with a torn seam */
.xbtn {
  position: absolute; display: inline-flex; height: 44rem; min-height: 38px;
  color: var(--bone); font: 600 max(12rem, 11px)/1 var(--grot); letter-spacing: 0.15em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle 4rem at 121rem 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 4rem at 121rem 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 4rem at 121rem 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 4rem at 121rem 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  transition: color 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.xbtn > span { position: relative; overflow: hidden; display: grid; place-items: center; transition: background-color 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.xbtn__l { width: 121rem; border: 1px solid currentColor; border-right: 1px dashed currentColor; border-radius: 6rem 0 0 6rem; }
.xbtn__a { width: 44rem; border: 1px solid currentColor; border-left: 0; border-radius: 0 6rem 6rem 0; }
/* each copy fills the whole cell, so moving it by 100 % takes it fully out of view */
.xbtn__l > span, .xbtn__a > span { grid-area: 1 / 1; align-self: stretch; justify-self: stretch; display: grid; place-items: center; transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.xbtn__l > span:last-child { transform: translateY(100%); }
.xbtn__a > span:last-child { transform: translateX(-100%); }
.xbtn__a svg { width: 15rem; min-width: 12px; }
.xbtn:hover > span, .xbtn:focus-visible > span { background: var(--red); }
.xbtn:hover .xbtn__l > span:first-child { transform: translateY(-100%); }
.xbtn:hover .xbtn__l > span:last-child { transform: none; transition-delay: 0.1s; }
.xbtn:hover .xbtn__a > span:first-child { transform: translateX(100%); }
.xbtn:hover .xbtn__a > span:last-child { transform: none; transition-delay: 0.1s; }

/* home: one project per screen */
.rc { position: absolute; left: 0; right: 0; top: 50%; height: var(--card-h, 85vh); margin-top: calc(var(--card-h, 85vh) / -2); }
.rc__pic, .rc__in { position: absolute; left: 61rem; right: 61rem; top: 48rem; bottom: 48rem; }
.rc__pic { border-radius: 34rem; overflow: hidden; background: #000; }
.rc__pic img, .rc__pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.55)), radial-gradient(circle at 10% 8%, rgba(0, 0, 0, 0.6), transparent 34%), radial-gradient(circle at 90% 92%, rgba(0, 0, 0, 0.6), transparent 34%); }
.rc__in { pointer-events: none; text-shadow: 0 0 18px rgba(0, 0, 0, 0.25); }
.rc__in a, .rc__in button { pointer-events: auto; }
.rc__award { position: absolute; left: 48rem; top: 48rem; width: 150rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rc__award b:first-child { font: 600 30rem/1 var(--grot); letter-spacing: -0.02em; }
.rc__award span { margin: 8rem 0 6rem; font-size: max(20rem, 15px); color: var(--red); }
.rc__client { font: 600 16rem/0.95 var(--grot); text-transform: uppercase; letter-spacing: -0.01em; }
.rc__main { position: absolute; left: 48rem; bottom: 64rem; width: 395rem; text-align: center; }
.rc__main .rc__eyebrow { margin-bottom: 18rem; }
.rc__title { margin-bottom: 26rem; font: 600 89.6rem/0.8 var(--grot); text-transform: uppercase; letter-spacing: -0.03em; }
.rc__title a { display: block; }
.rc__title--long { font-size: 64rem; }
.rc__notes { position: absolute; right: 48rem; top: 48rem; width: 236rem; display: flex; flex-direction: column; gap: 36rem; text-align: center; }
.rc__notes li { display: flex; flex-direction: column; align-items: center; }
.rc__tc { min-height: 13rem; font: 300 max(14rem, 12px)/1 var(--serif); letter-spacing: 0.02em; opacity: 0.75; }
.rc__label { margin: 10rem 0 8rem; font-size: max(20rem, 15px); color: var(--red); }
.rc__note { font: 600 25.6rem/0.9 var(--grot); text-transform: uppercase; letter-spacing: -0.02em; }
.rc .xbtn { right: 84rem; bottom: 17rem; }
.reel__band { position: absolute; left: 0; right: 0; height: 108rem; z-index: 2; }
.reel__band--prev { top: 0; }
.reel__band--next { bottom: 0; }

/* ticket: "now showing", top right, opens the list of all work */
.tk { position: fixed; top: 14rem; right: 112rem; z-index: 310; width: 268rem; color: var(--bone); font-family: var(--grot); }
.tk__now, .tk__meta, .tk__list { background: var(--red); }
.tk__now {
  display: flex; align-items: center; gap: 12rem; width: 100%; height: 62rem; padding: 0 16rem 0 12rem;
  border-radius: 6rem 6rem 0 0; text-align: left;
  -webkit-mask: radial-gradient(circle 5rem at 0 100%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5rem at 100% 100%, transparent 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 5rem at 0 100%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5rem at 100% 100%, transparent 96%, #000) right / 51% 100% no-repeat;
}
.tk__thumb { flex: none; width: 38rem; height: 38rem; border-radius: 4rem; overflow: hidden; background: var(--ink); }
.tk__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk__name { flex: 1; font: 600 17rem/0.92 var(--grot); text-transform: uppercase; letter-spacing: -0.02em; }
.tk__chev { width: 12rem; transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
.tk.is-open .tk__chev { transform: rotate(180deg); }
.tk__meta {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; height: 26rem;
  border-top: 1px dashed rgba(238, 236, 230, 0.7); border-radius: 0 0 6rem 6rem;
  font: 600 max(8.5rem, 8px)/1 var(--grot); letter-spacing: 0.2em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle 5rem at 0 0, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5rem at 100% 0, transparent 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 5rem at 0 0, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5rem at 100% 0, transparent 96%, #000) right / 51% 100% no-repeat;
}
.tk__meta span { display: grid; place-items: center; white-space: nowrap; }
.tk__meta span + span { border-left: 1px solid rgba(238, 236, 230, 0.3); }
.tk__name, .tk__meta span, .tk__now .tk__thumb { transition: opacity 0.4s ease; }
.tk.is-swap .tk__name, .tk.is-swap .tk__meta span, .tk.is-swap .tk__now .tk__thumb { opacity: 0; }
.tk__list {
  position: absolute; top: calc(100% - 6rem); left: 0; right: 0; z-index: -1;
  max-height: 0; overflow: hidden; border-radius: 0 0 6rem 6rem; padding-top: 6rem;
  transition: max-height 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.tk.is-open .tk__list { max-height: min(72vh, 640rem); overflow-y: auto; overscroll-behavior: contain; }
.tk__list button { display: flex; align-items: center; gap: 10rem; width: 100%; padding: 7rem 14rem; border-top: 1px solid rgba(238, 236, 230, 0.2); text-align: left; font: 600 12rem/1 var(--grot); text-transform: uppercase; letter-spacing: -0.01em; }
.tk__list .tk__thumb { width: 24rem; height: 24rem; border-radius: 3rem; }
.tk__list i { margin-left: auto; flex: none; width: 5rem; height: 5rem; border-radius: 50%; background: var(--bone); opacity: 0; }
.tk__list [aria-current] i { opacity: 1; }
.tk__list button:hover .tk__item { color: var(--ink); }

/* work: a row of posters */
.reel--work { --cw: 416rem; }
.wc { position: absolute; left: 50%; top: 0; bottom: 0; width: var(--cw); }
.wc__pic { position: absolute; left: calc((var(--cw) - var(--w-pw, 390rem)) / 2); width: var(--w-pw, 390rem); top: var(--w-top, 17.6vh); height: var(--w-ph, 56.7vh); border-radius: 18rem; overflow: hidden; }
.wc__pic img { width: 100%; height: 100%; object-fit: cover; }
.reel.is-css .wc__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.92) 88%); }
.wc__txt { position: absolute; left: 0; right: 0; bottom: var(--w-tb, 19.5vh); text-align: center; pointer-events: none; will-change: opacity, filter, transform; }
.wc__txt a { pointer-events: auto; }
.wc__txt .rc__eyebrow { margin-bottom: 14rem; }
.wc__title { margin-bottom: 18rem; font: 600 48rem/0.8 var(--grot); text-transform: uppercase; letter-spacing: -0.03em; }
.wc__title a { display: block; }
.wc .tbl { width: 270rem; margin: 0 auto; }
.wc__title .rc__n { font-size: 20rem; margin-left: 6rem; }
.reel__hair { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(238, 236, 230, 0.16); pointer-events: none; }
.reel__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--ink) 0, rgba(17, 17, 16, 0) 144rem, rgba(17, 17, 16, 0) calc(100% - 144rem), var(--ink) 100%); }
.reel--work .xbtn--fixed { right: 48rem; bottom: 44rem; z-index: 3; }
.mode { position: absolute; left: 50%; top: 22rem; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10rem; }
.mode__btns { display: flex; gap: 5rem; padding: 5rem; border-radius: 9rem; background: rgba(238, 236, 230, 0.1); }
.mode__i { display: grid; place-items: center; width: 50rem; height: 50rem; border-radius: 6rem; color: rgba(238, 236, 230, 0.5); transition: background-color 0.6s cubic-bezier(0.23, 1, 0.32, 1), color 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.mode__i svg { width: 24rem; min-width: 18px; }
.mode[aria-pressed='false'] .mode__i--footage, .mode[aria-pressed='true'] .mode__i--poster { background: #000; color: var(--red); }
.mode__lbl { font-size: max(19rem, 15px); color: var(--red); white-space: nowrap; }
.reel.is-css .mode { display: none; }
.ruler { position: absolute; left: 50%; bottom: 46rem; z-index: 3; width: 300rem; height: 24rem; transform: translateX(-50%); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.ruler__track { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 3rem; height: 16rem; margin-top: -8rem; will-change: transform; }
.ruler__track i { flex: none; width: 1px; height: 7rem; background: var(--bone); opacity: 0.7; }
.ruler__track i.is-c { height: 14rem; opacity: 1; }
.ruler__track i + i { margin-left: 0; }
.ruler__pill { position: absolute; left: 50%; top: 50%; width: 22rem; height: 13rem; border: 1px solid var(--red); border-radius: 4rem; background: var(--ink); transform: translate(-50%, -50%); }
.dock { position: absolute; left: 48rem; bottom: 40rem; z-index: 3; display: flex; align-items: flex-end; gap: 14rem; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.reel.is-footage .dock { opacity: 1; visibility: visible; transition: opacity 0.6s ease 0.15s, visibility 0s; }
.dock__thumb { width: 50rem; height: 70rem; border-radius: 5rem; overflow: hidden; flex: none; }
.dock__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dock__txt { display: flex; flex-direction: column; gap: 8rem; transform-origin: 0 100%; }
.dock__txt b { font: 600 30rem/0.82 var(--grot); text-transform: uppercase; letter-spacing: -0.03em; max-width: 360rem; }
.reel.is-footage .wc { pointer-events: none; }
.reel.is-footage .ruler { opacity: 0; }
.ruler { transition: opacity 0.5s ease; }

/* ---------- project ---------- */

.proj { padding-top: 120rem; }
.proj__head { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 0 var(--pad); }
.proj__client { font-size: 60rem; letter-spacing: -0.03em; }
.proj__title { font-size: 74rem; margin-top: 4rem; max-width: 1100rem; }
.proj__by { margin-top: 18rem; font-size: max(20rem, 15px); }

.pv { position: relative; margin: 46rem auto 0; width: var(--pv-w, 458rem); aspect-ratio: var(--ratio); background: #000; overflow: hidden; }
.pv--tall { --pv-w: 300rem; }
.pv--square { --pv-w: 360rem; }
.pv video, .pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv__play { position: absolute; left: 50%; top: 50%; width: 22rem; height: 22rem; min-width: 16px; min-height: 16px; transform: translate(-50%, -50%); pointer-events: none; }
.pv__play svg { width: 100%; height: 100%; }
.pv__btn { position: absolute; inset: 0; width: 100%; }

.proj__ov { max-width: 470rem; margin: 46rem auto 0; padding: 0 var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22rem; }
.proj__ov .hand { font-size: max(19rem, 15px); }
.proj__text { font-size: max(20rem, 15px); line-height: 1.25; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6rem 26rem; margin-top: 4rem; }
.facts div { display: flex; align-items: baseline; gap: 6rem; }
.facts dt { font: 400 max(15rem, 12px)/1 var(--hand); color: var(--red); }
.facts dd { font: 300 max(16rem, 13px)/1 var(--serif); text-transform: uppercase; }

/* "look closer": technique blocks next to the frame that shows them */
.look { margin: 130rem var(--pad) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14rem; }
.sec-head .hand { font-size: max(19rem, 15px); }
.sec-head .count { color: var(--red); }
.tech { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: 40rem 0; }
.tech::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.tech__media { grid-column: 1 / span 6; position: relative; }
.tech__text { grid-column: 8 / span 4; display: flex; flex-direction: column; gap: 14rem; }
.tech--flip .tech__media { grid-column: 7 / span 6; grid-row: 1; }
.tech--flip .tech__text { grid-column: 2 / span 4; grid-row: 1; }
.tech--tall .tech__media { grid-column: 2 / span 4; }
.tech--tall.tech--flip .tech__media { grid-column: 8 / span 4; }
.tech--tall .tech__text { grid-column: 7 / span 5; }
.tech--tall.tech--flip .tech__text { grid-column: 2 / span 5; }
.tech__label { display: flex; align-items: baseline; gap: 12rem; }
.tech__label .hand { font-size: max(20rem, 15px); color: var(--red); }
.tech__label .tc { font: 300 max(14rem, 12px)/1 var(--serif); letter-spacing: 0.02em; opacity: 0.7; }
.tech__title { font-size: 40rem; }
.tech__body { font-size: max(19rem, 15px); line-height: 1.28; max-width: 440rem; }
.frame { position: relative; aspect-ratio: var(--ratio, 1.7778); background: #000; overflow: hidden; }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6rem; }
.strip__cap { margin-top: 10rem; font: 400 max(15rem, 12px)/1 var(--hand); opacity: 0.75; }
.strip { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); row-gap: 14rem; }
.strip__cell { margin: 0; display: flex; flex-direction: column; gap: 6rem; }
.strip__tc { font: 300 max(12rem, 11px)/1 var(--serif); letter-spacing: 0.04em; opacity: 0.6; font-variant-numeric: tabular-nums; }
.tech .pv--in { margin: 0 auto; }
/* Height cap for the media block: tall and square loops shrink in width instead of filling the screen. */
.tech { --hmax: min(52vh, 480rem); }
.tech__media > .frame, .tech__media > .pv, .tech__media > .strip, .tech__media > .strip__cap { width: min(100%, calc(var(--hmax) * var(--ar, 9))); margin-inline: auto; }
.tech--pano .tech__media { grid-column: 1 / span 8; }
.tech--pano .tech__text { grid-column: 9 / span 4; }
/* A chapter inside "look closer": one product, one colour world. */
.chap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 90rem 0 30rem; }
.chap > .hand { grid-column: 1 / span 2; font-size: max(20rem, 15px); }
.chap__name { grid-column: 3 / span 6; font-size: 70rem; line-height: 0.9; }
.chap__sub { grid-column: 9 / span 4; font-size: max(19rem, 15px); line-height: 1.28; }

/* frames: the stills of the project */
.frames { margin: 110rem var(--pad) 0; }
.frames__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: var(--gap); align-items: start; }
.frames__row--1 > :first-child { grid-column: 2 / span 10; }
.frames__row--2 > :nth-child(1) { grid-column: 1 / span 6; }
.frames__row--2 > :nth-child(2) { grid-column: 7 / span 6; }
.frames__row--2b > :nth-child(1) { grid-column: 1 / span 7; }
.frames__row--2b > :nth-child(2) { grid-column: 9 / span 4; margin-top: 18%; }
.frames__row--3 > :nth-child(1) { grid-column: 1 / span 4; }
.frames__row--3 > :nth-child(2) { grid-column: 5 / span 4; }
.frames__row--3 > :nth-child(3) { grid-column: 9 / span 4; }
.frames__row--4 > :nth-child(1) { grid-column: 1 / span 3; }
.frames__row--4 > :nth-child(2) { grid-column: 4 / span 3; }
.frames__row--4 > :nth-child(3) { grid-column: 7 / span 3; }
.frames__row--4 > :nth-child(4) { grid-column: 10 / span 3; }
/* Rows of tall frames keep their height under --fh: the row narrows and centres instead of growing taller. */
.frames { --fh: 64vh; }
.frames__row--3, .frames__row--4 { max-width: calc(var(--fh) * var(--ar) + (var(--n) - 1) * var(--gap)); margin-inline: auto; }

.next { display: block; margin: 150rem var(--pad) 0; padding: 36rem 0 120rem; position: relative; text-align: center; }
.next::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.next .hand { font-size: max(19rem, 15px); color: var(--red); }
.next__client { display: block; margin-top: 22rem; font-size: 46rem; }
.next__title { display: block; margin-top: 4rem; font-size: 60rem; transition: letter-spacing 0.5s var(--ease-out); }
.next:hover .next__title { letter-spacing: 0; }

/* full-screen player that grows out of the inline video */
.player { position: fixed; inset: 0; z-index: 600; pointer-events: none; }
.player__veil { position: absolute; inset: 0; background: rgba(17, 17, 16, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background-color 0.8s ease, backdrop-filter 1s ease, -webkit-backdrop-filter 1s ease; }
.player.is-open { pointer-events: auto; }
.player.is-open .player__veil { background: rgba(17, 17, 16, 1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.player:not(.is-live) .player__box { visibility: hidden; }
.player__box { position: fixed; background: #000; overflow: hidden; transition: left 0.8s var(--ease-player), top 0.8s var(--ease-player), width 0.8s var(--ease-player), height 0.8s var(--ease-player); }
.player__box video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__ui { position: absolute; inset: 0; color: var(--bone); opacity: 0; filter: blur(20px); transition: opacity 0.3s ease, filter 0.3s ease; pointer-events: none; }
.player.is-ui .player__ui { opacity: 1; filter: none; transition: opacity 1s ease, filter 1s ease; }
.player.is-ui .player__ui > * { pointer-events: auto; }
.player__title { position: absolute; left: var(--pad); top: 22rem; font: 800 max(14rem, 12px)/1 var(--grot); text-transform: uppercase; letter-spacing: -0.01em; }
.player__title span { font: 200 max(18rem, 14px)/1 var(--serif); margin-left: 8rem; }
.player__close { position: absolute; right: var(--pad); top: 18rem; font: 300 max(16rem, 13px)/1 var(--serif); text-transform: uppercase; display: inline-flex; gap: 8rem; }
.player__close .x { font-family: var(--hand); }
.player__bottom { position: absolute; left: var(--pad); right: var(--pad); bottom: 18rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22rem; font: 300 max(14rem, 12px)/1 var(--serif); }
.player__bar { position: relative; height: 22rem; min-height: 18px; cursor: pointer; }
.player__bar i, .player__bar b { position: absolute; left: 0; top: 50%; height: 1px; }
.player__bar i { right: 0; background: rgba(238, 236, 230, 0.35); }
.player__bar b { width: 100%; background: var(--bone); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.player__bar em { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red); }
.player__mute { font: 300 max(14rem, 12px)/1 var(--serif); text-transform: uppercase; }
.player__hit { position: absolute; inset: 64rem 0 64rem 0; }

/* ---------- red footer ---------- */

.foot { position: relative; min-height: 100vh; min-height: 100svh; background: var(--red); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.foot__inner { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 110rem var(--pad) 40rem; will-change: transform; }
.foot__small { display: flex; flex-direction: column; align-items: center; gap: 8rem; }
.foot__small svg { width: 56rem; height: auto; }
.foot__small .hand { font-size: max(16rem, 13px); }
.foot__big { display: block; width: 1000rem; max-width: 100%; margin: 56rem 0 40rem; }
.foot__big svg { width: 100%; height: auto; }
.foot__line { max-width: 640rem; font-size: max(22rem, 16px); line-height: 1.22; }
.foot__mail { display: inline-flex; align-items: center; gap: 14rem; margin-top: 30rem; padding-bottom: 6rem; font: 400 max(24rem, 17px)/1 var(--hand); position: relative; }
.foot__mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4rem; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-0.8deg); }
.foot__mail .arr { transition: transform 0.4s var(--ease-out); }
.foot__mail:hover .arr { transform: translateX(8rem); }
.foot__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 0 var(--pad) 18rem; font-size: max(13rem, 11px); }
.foot__bottom > :last-child { text-align: right; }
.foot__bottom .hand { display: block; font-size: max(16rem, 13px); margin-bottom: 4rem; }
.foot__bottom b { font: 800 max(13rem, 11px)/1 var(--grot); text-transform: uppercase; letter-spacing: 0; }
.foot__bottom a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about: a director page for the founder, then the studio ---------- */

.about { padding-top: 112rem; }
.about__mark { width: 40rem; color: var(--red); }
.dh { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--pad); }
.dh__sup { font-size: max(20rem, 15px); }
.dh__sup span { opacity: 0; transition: opacity 0.05s linear calc(0.35s + var(--k) * 0.09s); }
.dh__sup.is-in span { opacity: 1; }
.dh__name { display: flex; flex-direction: column; align-items: center; margin-top: 22rem; }
.dh__first { font-size: 146rem; line-height: 0.84; letter-spacing: -0.035em; }
.dh__last { font-size: 214rem; line-height: 0.84; margin-top: 6rem; }
.dh__intro { max-width: 470rem; margin-top: 26rem; font: 300 max(21rem, 15px)/1.22 var(--serif); }
.dh__img { position: relative; width: 224rem; aspect-ratio: 4 / 5; margin: 44rem 0 0; }
.dh__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.dh__frame { position: absolute; left: -3%; top: -4%; width: 108%; height: 107%; overflow: visible; pointer-events: none; }
.dh__frame path { fill: none; stroke: var(--red); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.55s var(--ease-out) calc(0.7s + var(--k) * 0.18s); }
.dh__img.is-in .dh__frame path { stroke-dashoffset: 0; }
.about__rule { margin: 74rem var(--pad) 0; }

.statement { font-size: 80rem; line-height: 0.96; max-width: 1240rem; margin: 30rem auto 0; padding: 0 var(--pad); text-align: center; }
.statement .strike { position: relative; display: inline-block; }
.statement .strike svg { position: absolute; left: -4%; top: 38%; width: 108%; height: 30%; overflow: visible; }
.statement .strike svg path { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s var(--ease-out) 0.4s; }
.statement.is-in .strike svg path { stroke-dashoffset: 0; }
.statement .fix { position: absolute; right: -6%; top: 100%; font: 400 max(30rem, 20px)/1 var(--hand); color: var(--red); text-transform: none; letter-spacing: 0; white-space: nowrap; transform: rotate(-5deg); opacity: 0; transition: opacity 0.4s ease 1.1s; }
.statement.is-in .fix { opacity: 1; }
.about__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin: 64rem var(--pad) 0; font-size: max(15rem, 13px); line-height: 1.32; }
.about__cols > :nth-child(1) { grid-column: 1 / span 5; }
.about__cols > :nth-child(2) { grid-column: 7 / span 5; }
.about__cols .hand { font-size: 1.15em; margin-right: 6rem; }

.dark { background: var(--ink); color: var(--bone); }

/* every work as a row: number, five frames, the preview (plays on hover), names, the story, the kind of work */
.wl { margin-top: 110rem; padding: 80rem var(--pad) 70rem; }
.wl__head { display: flex; flex-direction: column; align-items: center; gap: 4rem; margin-bottom: 44rem; }
.wl__head .hand { font-size: max(20rem, 15px); }
.wl__head h2 { font: 300 max(20rem, 15px)/1 var(--serif); }
.wl__row { position: relative; display: grid; grid-template-columns: 117rem 105rem 130rem 576rem minmax(0, 1fr) auto; align-items: start; padding: 12rem 0 56rem; color: inherit; }
.wl__row[hidden] { display: none; }
.wl__row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.wl__idx { font-size: max(18rem, 14px); padding-top: 4rem; }
.wl__thumbs { display: flex; flex-direction: column; gap: 8rem; }
.wl__th { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #222; }
.wl__th img { width: 100%; height: 100%; object-fit: cover; }
.wl__media { grid-column: 4; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.wl__media img, .wl__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl__media video { opacity: 0; transition: opacity 0.4s ease; }
.wl__row.is-on .wl__media video { opacity: 1; }
.wl__view { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: max(20rem, 15px); color: var(--bone); opacity: 0; transition: opacity 0.3s ease; }
.wl__row:hover .wl__view, .wl__row:focus-visible .wl__view { opacity: 1; }
.wl__txt { grid-column: 5; align-self: stretch; display: flex; flex-direction: column; padding-left: 13rem; max-width: 360rem; }
.wl__name { display: flex; flex-direction: column; }
.wl__client { font-size: max(16rem, 13px); line-height: 1; letter-spacing: -0.01em; }
.wl__title { font-size: max(22rem, 16px); line-height: 1; margin-top: 3rem; }
.wl__explore { margin-top: 10rem; font-size: max(16rem, 13px); color: var(--red); }
.wl__desc { margin-top: auto; padding-top: 16rem; font: 300 max(16rem, 13px)/1.25 var(--serif); opacity: 0.85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wl__cat { grid-column: 6; max-width: 120rem; padding-top: 4rem; font-size: max(17rem, 13px); line-height: 0.9; text-align: right; }
.wl__more { display: block; margin: 30rem auto 0; padding: 10rem 16rem; font-size: max(20rem, 15px); color: var(--bone); }

/* the studio after the founder: what we do, who for */
.studio { margin-top: 130rem; }
.studio__sub { max-width: 470rem; margin: 46rem auto 0; padding: 0 var(--pad); text-align: center; font: 300 max(19rem, 15px)/1.25 var(--serif); }
.services { margin: 90rem var(--pad) 0; }
.svc { position: relative; display: grid; grid-template-columns: 120rem 1fr 470rem; gap: 24rem; align-items: baseline; padding: 26rem 0; }
.svc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.svc .hand { color: var(--red); font-size: max(19rem, 15px); }
.svc h4 { font-size: 56rem; }
.svc p { font-size: max(18rem, 15px); line-height: 1.28; }
.crow { position: relative; margin: 90rem var(--pad) 0; padding: 22rem 0; text-align: center; }
.crow::before, .crow::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background-image: linear-gradient(90deg, currentColor 50%, transparent 0); background-size: 10rem 1px; opacity: 0.55; }
.crow::before { top: 0; }
.crow::after { bottom: 0; }
.crow__label { font-size: max(19rem, 15px); color: var(--red); }
.crow ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 18rem 64rem; margin-top: 18rem; }
.crow li { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.crow b { font-size: max(16rem, 13px); line-height: 1; letter-spacing: -0.01em; }
.crow span { font-size: max(20rem, 15px); line-height: 1; margin-top: 3rem; }
.explore { display: flex; justify-content: center; margin: 120rem 0 140rem; }
.explore a { position: relative; font: 400 max(28rem, 19px)/1 var(--hand); color: var(--red); padding: 18rem 30rem; }
.explore a::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--red); border-radius: 50% 44% 52% 46% / 58% 46% 54% 42%; transform: rotate(-3deg); transition: transform 0.5s var(--ease-out); }
.explore a:hover::after { transform: rotate(3deg) scale(1.04); }

/* ---------- contact ---------- */

.contact { min-height: 100vh; padding: 150rem var(--pad) 120rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact > .hand { font-size: max(20rem, 15px); color: var(--red); }
.contact__title { font-size: 92rem; margin-top: 20rem; max-width: 1100rem; }
.contact__list { margin-top: 70rem; display: flex; flex-direction: column; gap: 30rem; align-items: center; }
.contact__list .hand { display: block; font-size: max(17rem, 14px); color: var(--red); margin-bottom: 8rem; }
.contact__list b { display: block; font: 800 max(18rem, 14px)/1 var(--grot); text-transform: uppercase; letter-spacing: -0.01em; }
.contact__list span, .contact__list a { font: 300 max(22rem, 16px)/1.2 var(--serif); }
.contact__list a { border-bottom: 1px dashed currentColor; }

/* ---------- 404 ---------- */

.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12rem; padding: 0 var(--pad); background: var(--red); color: var(--ink); }
.nf__big { font-size: 300rem; line-height: 0.8; }
.nf .hand { font-size: max(24rem, 17px); }
.nf a { margin-top: 26rem; font: 400 max(24rem, 17px)/1 var(--hand); border-bottom: 2px solid currentColor; }

/* ---------- small screens: 4-column logic, everything stacks on the centre ---------- */

@media (max-width: 999.98px) {
  :root { --pad: 12rem; --hdr: 56rem; }
  .hdr__logo { width: 74rem; }
  .menu__logo { width: 200rem; margin: 30rem 0 48rem; }
  .menu__row { height: 66rem; padding-left: calc(var(--xm) * 1rem); }
  .menu__word { font-size: 46rem; }
  .menu__word sup { font-size: 16rem; }
  .menu__here { font-size: 16rem; margin-left: 12rem; }
  .menu__bottom { grid-template-columns: 1fr 1fr; row-gap: 14rem; }
  .menu__bottom > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: center; }

  .proj { padding-top: 96rem; }
  .proj__client { font-size: 42rem; }
  .proj__title { font-size: 50rem; }
  .pv { --pv-w: 100%; width: var(--pv-w); }
  .pv--tall { --pv-w: 72%; }
  .pv--square { --pv-w: 86%; }
  .proj__ov { max-width: none; }
  .look { margin-top: 90rem; }
  .tech, .tech--flip, .tech--tall { display: flex; flex-direction: column; align-items: stretch; gap: 18rem; padding: 26rem 0 30rem; }
  .tech--tall .tech__media { width: 72%; align-self: center; }
  .tech { --hmax: 44vh; }
  .tech__title { font-size: 32rem; }
  .tech--pano .tech__media { width: auto; }
  .chap { display: flex; flex-direction: column; gap: 10rem; padding: 60rem 0 10rem; }
  .chap__name { font-size: 46rem; }
  /* stretch: the frames hold only absolutely placed media, so a start-aligned column would shrink them to zero width */
  .frames__row { display: flex; flex-direction: column; align-items: stretch; gap: var(--gap); }
  .frames__row--3, .frames__row--4 { display: grid; grid-template-columns: 1fr 1fr; }
  .frames__row > * { grid-column: auto !important; margin-top: 0 !important; }
  .frames__row--3 > :first-child { grid-column: 1 / -1 !important; }
  /* phones: three tall frames side by side instead of one full-width frame and two halves */
  .frames__row--3:not(.frames__row--sq) { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .frames__row--3:not(.frames__row--sq) > :first-child { grid-column: auto !important; }
  .frames__row--4 { max-width: none; }
  .next__client { font-size: 30rem; }
  .next__title { font-size: 40rem; }

  .foot__inner { padding-top: 90rem; }
  .foot__big { width: 100%; }
  .foot__bottom { grid-template-columns: 1fr 1fr; row-gap: 14rem; }
  .foot__bottom > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: center; }

  .statement { font-size: 38rem; }
  .statement .fix { font-size: 22rem; right: 0; }
  .about__cols { display: flex; flex-direction: column; gap: 18rem; }
  .about { padding-top: 96rem; }
  .dh__first { font-size: 54rem; }
  .dh__last { font-size: 78rem; }
  .dh__intro { margin-top: 18rem; }
  .dh__img { width: 196rem; margin-top: 34rem; }
  .about__rule { margin-top: 54rem; }
  .wl { margin-top: 80rem; padding: 56rem var(--pad) 50rem; }
  .wl__row { grid-template-columns: minmax(0, 1fr) auto; gap: 12rem 10rem; padding: 12rem 0 36rem; }
  .wl__idx { grid-column: 1; grid-row: 1; }
  .wl__cat { grid-column: 2; grid-row: 1; max-width: 150rem; }
  .wl__media { grid-column: 1 / -1; grid-row: 2; }
  .wl__thumbs { grid-column: 1 / -1; grid-row: 3; flex-direction: row; gap: 6rem; }
  .wl__th { flex: 1 1 0; }
  .wl__txt { grid-column: 1 / -1; grid-row: 4; padding-left: 0; max-width: none; }
  .wl__desc { padding-top: 10rem; }
  .wl__view { display: none; }
  .studio { margin-top: 90rem; }
  .services { margin-top: 60rem; }
  .svc { grid-template-columns: 1fr; gap: 8rem; }
  .svc h4 { font-size: 36rem; }
  .crow ul { gap: 16rem 30rem; }
  .contact { padding-top: 120rem; }
  .contact__title { font-size: 48rem; }
  .nf__big { font-size: 150rem; }
  .player__title span { display: block; margin: 4rem 0 0; }
}

/* ---------- phones: the reel ---------- */

@media (max-width: 767.98px) {
  .tk, .reel__band { display: none; }
  .rc__pic, .rc__in { left: 16rem; right: 16rem; top: 8rem; bottom: 8rem; }
  .rc__pic { border-radius: 22rem; }
  .rc__award { display: none; }
  .rc__notes { top: 50rem; left: 16rem; right: 16rem; width: auto; flex-direction: row; justify-content: center; gap: 14rem; }
  .rc__notes li { flex: 1 1 0; }
  .rc__notes li:nth-child(3) { display: none; }
  .rc__label { margin: 6rem 0 5rem; }
  .rc__note { font-size: 17rem; }
  .rc__main { left: 14rem; right: 14rem; width: auto; bottom: 104rem; }
  .rc__main .rc__eyebrow { margin-bottom: 12rem; }
  .rc__title { margin-bottom: 16rem; font-size: 48rem; }
  .rc__title--long { font-size: 38rem; }
  .tbl div { padding: 6rem 2rem 5rem; }
  .rc .tbl { width: 290rem; margin: 0 auto; }
  .rc .xbtn { right: auto; left: calc(50% - 82rem); bottom: 36rem; }
  .mode { top: 7rem; gap: 6rem; }
  .mode__btns { padding: 4rem; gap: 4rem; }
  .mode__i { width: 38rem; height: 38rem; }
  .mode__lbl { display: none; }
  .wc__title { font-size: 40rem; }
  .wc .tbl { width: 250rem; }
  .reel--work .xbtn--fixed { right: auto; left: calc(50% - 82rem); bottom: 62rem; }
  .ruler { bottom: 24rem; }
  .dock { left: 16rem; bottom: 118rem; }
  .dock__txt b { font-size: 26rem; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { filter: none; transition: opacity 0.4s ease; }
  .tp.is-in, .tp.is-out, .pre.is-out { animation-duration: 0.01s; }
  .menu, html.menu-open .menu { transition-duration: 0.01s; }
  .menu [data-stagger] { filter: none; }
  .player__box { transition-duration: 0.01s; }
}
