/* rsefaaktas.com
   Palette: smoke (ground), well (deeper), bone (text), ash (secondary),
   tungsten (the warm light on set), tally (record light, used once). */
:root {
  --smoke: #25272b;
  --well: #1c1e21;
  --bone: #ece7dd;
  --ash: #a39e95;
  --line: rgba(236, 231, 221, .16);
  --tungsten: #e3a65b;
  --tally: #d8432e;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 62ch;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --r: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--smoke);
  color: var(--bone);
  font-family: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* a faint grain so the dark ground reads like a screen, not a flat fill */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 4px; }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter);
  background: rgba(37, 39, 43, .78);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.bar.on { opacity: 1; transform: none; pointer-events: auto; }
.bar a { text-decoration: none; font-size: 15px; }
.bar-name { font-weight: 500; }
.bar nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.bar nav a { color: var(--ash); transition: color .2s; }
.bar nav a:hover, .bar nav a:focus-visible { color: var(--bone); }

/* ---------- Opening ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
}
.hero-text { max-width: 1100px; }
.hero h1 {
  font-size: clamp(44px, 9.2vw, 132px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.035em;
}
.hero-role {
  margin-top: clamp(16px, 2.2vw, 28px);
  font-size: clamp(17px, 1.9vw, 24px);
  color: var(--ash);
}
/* viewfinder corners */
.corner {
  position: absolute; width: 26px; height: 26px;
  border: 0 solid var(--line);
}
.corner.tl { top: 22px; left: 22px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 22px; right: 22px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 22px; left: 22px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 22px; right: 22px; border-bottom-width: 1px; border-right-width: 1px; }
.hero-place, .hero-scroll {
  position: absolute; bottom: 44px;
  font-size: 14px; color: var(--ash);
}
.hero-place { left: var(--gutter); display: flex; align-items: center; gap: 10px; }
.tally { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); animation: tally 2.4s ease-in-out infinite; }
@keyframes tally { 50% { opacity: .25; } }
.hero-scroll { right: var(--gutter); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.hero-scroll span { width: 44px; height: 1px; background: var(--ash); transform-origin: left; animation: reach 2.6s var(--ease) infinite; }
@keyframes reach { 0% { transform: scaleX(0); } 55% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* the one orchestrated moment: the opening settles in */
.hero h1, .hero-role, .hero-place, .hero-scroll, .corner { opacity: 0; }
.ready .hero h1 { animation: settle 1.6s var(--ease) .15s forwards; }
.ready .hero-role { animation: rise 1.1s var(--ease) .9s forwards; }
.ready .hero-place, .ready .hero-scroll { animation: rise 1s var(--ease) 1.5s forwards; }
.ready .corner { animation: rise 1.2s var(--ease) 1.2s forwards; }
@keyframes settle {
  from { opacity: 0; filter: blur(14px); letter-spacing: .02em; }
  to { opacity: 1; filter: blur(0); letter-spacing: -.035em; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Two cameras ---------- */
.two { padding: clamp(72px, 12vw, 160px) var(--gutter) clamp(64px, 9vw, 120px); }
.statement {
  max-width: 18ch;
  font-size: clamp(32px, 5.4vw, 76px);
  font-weight: 300; line-height: 1.04; letter-spacing: -.028em;
}
.two-frames {
  display: flex; align-items: flex-end; gap: clamp(12px, 2.4vw, 32px);
  margin-top: clamp(40px, 6vw, 80px);
  max-width: 1400px;
}
.frame {
  position: relative; display: block; overflow: hidden;
  background: var(--well); min-width: 0; border-radius: var(--r);
}
.frame-wide { flex: 1.7778 1 0; aspect-ratio: 16 / 9; }
.frame-tall { flex: .5625 1 0; aspect-ratio: 9 / 16; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img, .frame:hover video { transform: scale(1.025); }
.frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none; border-radius: inherit;
}
.frame-tag {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 13px; padding: 3px 8px;
  background: rgba(28, 30, 33, .72); color: var(--bone); border-radius: 999px;
  backdrop-filter: blur(6px);
}
/* frames open like a shutter the first time they are seen */
.frame { clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1.3s var(--ease); }
.frame.in { clip-path: inset(0 round var(--r)); }
.frame-tall { transition-delay: .18s; }
.two-captions {
  display: flex; gap: clamp(12px, 2.4vw, 32px); margin-top: 14px; max-width: 1400px;
  font-size: 14px; color: var(--ash);
}
.two-captions p:first-child { flex: 1.7778 1 0; }
.two-captions p:last-child { flex: .5625 1 0; }

/* ---------- Chapters ---------- */
.chapter { padding: clamp(56px, 9vw, 130px) var(--gutter); border-top: 1px solid var(--line); }
.chapter-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter);
  align-items: end; margin-bottom: clamp(48px, 7vw, 96px);
}
.chapter-head h2 {
  font-size: clamp(44px, 8vw, 116px);
  font-weight: 300; line-height: .95; letter-spacing: -.035em;
}
.chapter-head p { max-width: 46ch; color: var(--ash); font-size: clamp(17px, 1.5vw, 20px); }

/* projects: text column, 16:9 picture */
.project {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 3vw, 48px) var(--gutter);
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.project-text h3, .trio h3 {
  font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em;
}
.project-text p { margin-top: 14px; max-width: 40ch; color: var(--ash); }
.project-text dl { margin-top: 24px; font-size: 15px; }
.project-text dl div { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.project-text dt { width: 96px; flex: none; color: var(--ash); }
figure img { width: 100%; background: var(--well); border-radius: var(--r); }
figcaption { margin-top: 8px; font-size: 14px; color: var(--ash); }

.strip {
  grid-column: 1 / -1;
  display: flex; gap: 14px; overflow-x: auto;
  margin: 8px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 14px;
  scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip figure { flex: none; scroll-snap-align: start; }
.strip img { height: clamp(170px, 22vw, 290px); width: auto; }

.trio {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--gutter);
  align-items: end;
  padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line);
}
.trio h3 { margin-top: 16px; font-size: clamp(19px, 1.7vw, 24px); }
.trio p { margin-top: 6px; color: var(--ash); font-size: 15px; }

.stills { padding-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.stills h3 { font-size: 17px; font-weight: 400; color: var(--ash); margin-bottom: 18px; }
.stills-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); }

/* ---------- AI films: two rails of 9:16 cards ---------- */
.rail { margin: 0 calc(var(--gutter) * -1); }
.rail + .rail { margin-top: clamp(40px, 6vw, 80px); }
.rail-head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: 18px; }
.rail-head h3 { font-size: 17px; font-weight: 400; color: var(--ash); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button {
  position: relative; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--line); transition: border-color .2s, opacity .2s;
}
.rail-nav button::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px;
  border: solid var(--bone); border-width: 1.5px 1.5px 0 0; transform: translate(-70%, -50%) rotate(45deg);
}
.rail-nav button[data-dir="-1"]::before { transform: translate(-30%, -50%) rotate(-135deg); }
.rail-nav button:hover { border-color: var(--bone); }
.rail-nav button:disabled { opacity: .3; cursor: default; }
.rail-track {
  display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto;
  padding: 6px var(--gutter) 10px; scroll-padding-left: var(--gutter);
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
@media (hover: hover) { .rail-track { perspective: 1400px; } }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track.flowing { scroll-snap-type: none; }   /* drifting on its own: see site.js */
.rail-track li { flex: none; scroll-snap-align: start; width: var(--card-w); transform-origin: 50% 60%; will-change: transform; }
.rail-lead { --card-w: clamp(210px, 21.5vw, 320px); }
.rail-more { --card-w: clamp(150px, 13.6vw, 200px); }

.card { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--well); cursor: pointer; border-radius: var(--r); }
.card video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) { .card:hover video { transform: scale(1.03); } }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s;
}
.card:hover::after, .card:focus-visible::after { box-shadow: inset 0 0 0 1px var(--tungsten); }
.rail h3 em { font-style: italic; }
/* Title on one line, then a two-line slot for the description, so every card in a rail ends at the same height. */
.rail-track h3 { margin-top: 14px; font-size: 19px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-track p {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 3px;
  font-size: 16px; line-height: 1.35; min-height: 2.7em; color: rgba(236, 231, 221, .78);
}
.rail-track p span { font-variant-numeric: tabular-nums; flex: none; font-size: 14px; line-height: 1.55; color: var(--ash); }
.rail-more .rail-track h3 { font-size: 16px; margin-top: 10px; }
.rail-more .rail-track p { font-size: 14.5px; }
.rail-more .rail-track p span { font-size: 13px; line-height: 1.5; }
.reel-note { margin-top: clamp(28px, 4vw, 48px); font-size: 15px; color: var(--ash); }

.card-play {
  position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(28, 30, 33, .72); backdrop-filter: blur(6px);
  transition: background .25s, transform .25s var(--ease);
}
.card-play::before {
  content: ""; position: absolute; left: 13px; top: 10px;
  border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--bone);
}
.card:hover .card-play, .card:focus-visible .card-play { background: var(--tungsten); transform: scale(1.08); }
.card:hover .card-play::before, .card:focus-visible .card-play::before { border-left-color: var(--well); }
.rail-more .card-play { width: 28px; height: 28px; left: 9px; bottom: 9px; }
.rail-more .card-play::before { left: 11px; top: 8px; border-width: 6px 0 6px 9px; }

/* ---------- Player: the card grows into the film, the page blurs behind it ---------- */
.player {
  position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; overflow: hidden; color: var(--bone);
  background: rgba(22, 23, 26, .55); backdrop-filter: blur(26px) saturate(1.25); -webkit-backdrop-filter: blur(26px) saturate(1.25);
  display: none; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 28px);
  perspective: 1600px;
  opacity: 0; transition: opacity .5s var(--ease);
}
.player[open] { display: flex; }
.player.lit { opacity: 1; }
.player::backdrop { background: transparent; }
/* the film's own colours, enlarged and blurred, light the room */
.player-glow {
  position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  filter: blur(70px) saturate(1.5) brightness(.55); opacity: .9;
  transition: background-image .7s var(--ease);
}
.player-scene {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform-style: preserve-3d;
}
.player-stage {
  height: min(80dvh, 1180px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px);
  border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(236, 231, 221, .1);
  transform-origin: center; will-change: transform, opacity;
}
.player-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.player-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; width: 100%; padding: 0 6px; transition: opacity .35s var(--ease); }
.player-title { font-style: italic; font-size: 18px; }
.player-kind { font-size: 14px; color: rgba(236, 231, 221, .7); text-align: right; }
.player-msg { color: var(--bone); font-size: 15px; text-align: center; max-width: 30ch; }
.player-close, .player-step {
  position: relative; z-index: 2; flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(236, 231, 221, .2); background: rgba(28, 30, 33, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .25s var(--ease), opacity .25s;
}
/* the arrows are glass: barely there until wanted */
.player-step {
  background: rgba(236, 231, 221, .07); border-color: rgba(236, 231, 221, .14);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .18);
  opacity: .78;
}
.player-step:hover, .player-step:focus-visible { opacity: 1; }
.player-close:hover, .player-step:hover { background: rgba(236, 231, 221, .16); border-color: var(--bone); transform: scale(1.06); }
.player-close { position: absolute; top: clamp(14px, 3vh, 28px); right: clamp(14px, 3vw, 32px); }
.player-close::before, .player-close::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 1.5px; background: var(--bone);
  transform: translate(-50%, -50%) rotate(45deg);
}
.player-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.player-step::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border: solid var(--bone); border-width: 1.5px 1.5px 0 0; transform: translate(-70%, -50%) rotate(45deg);
}
.player-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }

/* the departing frame during a turn between films or photos */
.ghost { position: fixed; z-index: 1; margin: 0; pointer-events: none; will-change: transform, opacity; box-shadow: 0 40px 120px rgba(0, 0, 0, .4); }
.player-scene, .viewer-scene { will-change: transform; }

/* ---------- Photo viewer: same room as the film player ---------- */
main figure img { cursor: zoom-in; }
.viewer-scene { margin: 0; max-width: calc(100vw - 48px); gap: 12px; }
.viewer-img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 86dvh;
  border-radius: 22px; background: var(--well); cursor: zoom-out;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(236, 231, 221, .1);
  will-change: transform, opacity;
}
/* the arrows float over the photo's edges so the photo can use the whole screen */
.viewer .player-step { position: absolute; top: 50%; margin-top: -23px; }
.viewer .player-prev { left: clamp(12px, 2.5vw, 36px); } .viewer .player-next { right: clamp(12px, 2.5vw, 36px); }
.viewer-cap { margin: 0; font-size: 15px; color: rgba(236, 231, 221, .8); text-align: center; }

/* ---------- Clients ---------- */
.clients { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); background: var(--well); overflow: hidden; }
.clients-pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.clients-group + .clients-group { margin-top: clamp(40px, 6vw, 72px); }
.clients h2 { font-size: 17px; font-weight: 400; color: var(--ash); margin-bottom: 28px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 26px clamp(36px, 5vw, 72px); }
.logos li, .flow-track li { flex: none; display: flex; align-items: center; }
/* each logo's height is set from its own shape (--h) so wide and square marks weigh the same */
.logos img, .flow-track img { height: calc(var(--h) * var(--logo-k, 1) * 1px); width: auto; max-width: none; opacity: .9; }
/* a soft, endless drift; it holds still under the pointer or a finger */
.flow {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.flow-track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(40px, 5vw, 76px); padding-right: clamp(40px, 5vw, 76px);
  animation: drift 70s linear infinite;
}
.flow-track img { opacity: .72; transition: opacity .3s; }
.flow-track li:hover img { opacity: 1; }
.flow.held .flow-track { animation-play-state: paused; }
@media (hover: hover) { .flow:hover .flow-track { animation-play-state: paused; } }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gutter);
  padding: clamp(64px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line);
  align-items: start;
}
.about-photo { max-width: 460px; }
.about h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 300; letter-spacing: -.03em; line-height: 1; margin-bottom: 28px; }
.about-text > p { max-width: var(--measure); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.about-text > p + p { margin-top: 1em; }
.avail { display: flex; align-items: baseline; gap: 12px; margin-top: 28px !important; color: var(--bone); }
.avail .tally { flex: none; transform: translateY(-2px); }
.facts { margin-top: 36px; max-width: 720px; font-size: 16px; }
.facts div { display: flex; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line); }
.facts dt { width: 110px; flex: none; color: var(--ash); }
.cv { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px !important; }
.button {
  display: inline-block; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-size: 16px; font-weight: 500;
  background: var(--bone); color: var(--well); border: 1px solid var(--bone);
  transition: background .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--tungsten); border-color: var(--tungsten); }
.button-quiet { background: transparent; color: var(--bone); border-color: var(--line); }
.button-quiet:hover { background: transparent; border-color: var(--bone); }

/* ---------- Contact ---------- */
.contact { padding: clamp(72px, 12vw, 170px) var(--gutter); border-top: 1px solid var(--line); }
.contact h2 { font-size: 17px; font-weight: 400; color: var(--ash); }
.mail {
  display: inline-block; margin-top: 18px; text-decoration: none;
  font-size: clamp(26px, 6.4vw, 92px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05;
  background: linear-gradient(var(--tungsten), var(--tungsten)) left bottom / 0 1px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
  overflow-wrap: anywhere;
}
.mail:hover, .mail:focus-visible { background-size: 100% 1px; color: var(--tungsten); }
.links { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 36px; }
.links a { color: var(--ash); text-underline-offset: 5px; text-decoration-color: var(--line); }
.links a:hover { color: var(--bone); text-decoration-color: var(--bone); }

.foot {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px var(--gutter) 32px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ash);
}
.foot a { text-underline-offset: 4px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .chapter-head, .project, .about { grid-template-columns: 1fr; }
  .chapter-head { align-items: start; gap: 20px; }
  .player-step { position: absolute; top: calc(50% - 40px); width: 40px; height: 40px; }
  .player-prev { left: 8px; } .player-next { right: 8px; }
  .player-stage { height: min(76dvh, 1180px); }
  .viewer-scene { max-width: calc(100vw - 20px); margin-bottom: 0; }
  .viewer-img { max-height: 80dvh; border-radius: 16px; }
  .viewer .player-step { top: calc(50% - 34px); margin-top: 0; }
  .viewer .player-prev { left: 8px; } .viewer .player-next { right: 8px; }
  .trio { grid-template-columns: 1fr 1fr; align-items: start; }
  .trio article:first-child { grid-column: 1 / -1; }
  .about-photo { max-width: 340px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar-name { display: none; }
  .bar { justify-content: flex-end; }
  .corner { width: 18px; height: 18px; }
  .corner.tl, .corner.tr { top: 14px; } .corner.bl, .corner.br { bottom: 14px; }
  .corner.tl, .corner.bl { left: 14px; } .corner.tr, .corner.br { right: 14px; }
  .hero-place, .hero-scroll { bottom: 34px; }
  .stills-row { grid-template-columns: 1fr; }
  .two-captions { flex-direction: column; gap: 4px; }
  :root { --logo-k: .74; --r: 12px; }
  body::before { mix-blend-mode: normal; opacity: .035; }
  .logos-large { --logo-k: .6; gap: 20px 28px; flex-wrap: nowrap; }
  .rail-lead { --card-w: 62vw; }
  .rail-more { --card-w: 40vw; }
  .rail-nav { display: none; }
  .strip img { height: 150px; }
  .strip { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .player-stage { border-radius: 20px; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dt { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero-role, .hero-place, .hero-scroll, .corner { opacity: 1; animation: none !important; }
  .frame { clip-path: none; transition: none; }
  .tally, .hero-scroll span { animation: none; }
  .frame img, .frame video { transition: none; }
  .player { transition: none; }
  .flow-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 26px; padding: 0 var(--gutter); }
  .flow-track li[aria-hidden] { display: none; }
  .flow { -webkit-mask-image: none; mask-image: none; }
  .card video { transition: none; }
}
