/* Geraldine Hutt — website styles
   Colours, type and motion follow the approved design (Website v2 on the canvas). */

@font-face { font-family: 'Albert Sans'; src: url('fonts/albert-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/newsreader-roman.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --bg: #0B0B0A;
  --ink: #EDEBE6;
  --white: #FFFFFF;
  --dim: rgba(255, 255, 255, 0.6);
  --soon: rgba(255, 255, 255, 0.3);
  --deck: #E6E3DC;
  --deck-player: #C9C6BF;
  --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --name: 'Albert Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --expo: cubic-bezier(0.76, 0, 0.24, 1);
  --zoom: 1.06;        /* hover zoom */
  --edge-x: 40px;
  --edge-b: 28px;
  color-scheme: dark;
}
@media (max-width: 1099px) { :root { --edge-x: 28px; --edge-b: 22px; } }

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }   /* the page keeps its width when About or the full view locks scrolling, so nothing jumps */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.is-locked, html.is-locked body { overflow: hidden; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.8); outline-offset: 3px; }

.skip {
  position: fixed; top: 14px; left: 50%; z-index: 96;
  transform: translate(-50%, -200%);
  padding: 12px 16px; border-radius: 6px;
  background: #141413; color: #F2F0EC;
  font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-decoration: none;
}
.skip:focus { transform: translate(-50%, 0); }

/* ---------- soft shading behind the header and the menu ---------- */
.scrim { position: fixed; z-index: 29; pointer-events: none; }
.scrim-top { top: 0; left: 0; right: 0; height: 150px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); }
.scrim-nav { left: 0; bottom: 0; width: 560px; height: 520px; max-width: 70vw; background: radial-gradient(100% 100% at 0% 100%, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0) 70%); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 40px;
  padding-top: max(30px, env(safe-area-inset-top, 0px));
  pointer-events: none;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.name {
  pointer-events: auto;
  padding: 12px 0; margin: -12px 0;
  font-family: var(--name); font-weight: 500; font-size: 21px; line-height: 1;
  letter-spacing: 0.32em; white-space: nowrap;
  color: var(--white); text-decoration: none;
}
.burger { display: none; }

/* ---------- menu (desktop and tablet: bottom left) ---------- */
.nav {
  position: fixed; left: var(--edge-x); bottom: var(--edge-b); z-index: 70;
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: 0.2em;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.nav-main {
  display: flex; align-items: center; min-height: 38px;
  margin: 0; padding: 0; border: 0; background: transparent;
  letter-spacing: inherit; text-align: left; cursor: pointer;
  color: var(--dim); transition: color 300ms ease;
}
.nav-main:hover, .nav-group.is-current > .nav-main, .nav-group.is-open > .nav-main { color: var(--white); }
.nav-group.is-soon > .nav-main { color: var(--soon); cursor: default; }
.nav-subs {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 520ms var(--expo) 220ms, visibility 0ms linear 760ms;
}
.nav-group.is-open > .nav-subs {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows 800ms var(--expo) 0ms, visibility 0ms linear 0ms;
}
.nav-subs-clip { overflow: hidden; min-height: 0; }
.nav-subs-list { position: relative; display: flex; flex-direction: column; padding: 2px 0 8px 20px; }
.nav-line {
  position: absolute; left: 3px; top: 8px; bottom: 12px; width: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: 50% 0; transform: scaleY(0);
  transition: transform 300ms var(--expo);
}
.nav.is-in .nav-group.is-open .nav-line { transform: scaleY(1); transition: transform 900ms var(--expo) 200ms; }
.nav-sub {
  display: flex; align-items: center; overflow: hidden; min-height: 30px;
  margin: 0; padding: 0; border: 0; background: transparent;
  text-align: left; cursor: pointer;
  color: var(--dim); transition: color 300ms ease;
}
.nav-sub:hover, .nav-sub[aria-current="true"] { color: var(--white); }
.nav-sub > span {
  display: inline-block;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.2;
  letter-spacing: 0.34em;
  transform-origin: 0 100%;
  transform: translate3d(-14px, 115%, 0) skewY(8deg);
  filter: blur(5px); opacity: 0;
  transition: transform 360ms var(--expo), filter 300ms ease, opacity 260ms ease, letter-spacing 360ms var(--smooth);
}
.nav.is-in .nav-group.is-open .nav-sub > span {
  letter-spacing: 0.01em;
  transform: translate3d(0, 0, 0) skewY(0deg);
  filter: blur(0); opacity: 1;
  transition: transform 1000ms var(--smooth) var(--d, 0ms), filter 800ms ease var(--d, 0ms), opacity 700ms ease var(--d, 0ms), letter-spacing 1200ms var(--smooth) var(--d, 0ms);
}
.nav-sub.is-parent { color: var(--white); }

/* third level: the single events under Events. The list opens on the page of each event, with the
   same motion as the sub-menus, a little smaller. Meanwhile Fashion and Events move left, under
   PHOTOGRAPHY, and their line folds away, so the events take the place of a first sub-menu. */
.nav-subs-list { transition: padding-left 700ms var(--expo); }
.nav-group.is-deep > .nav-subs > .nav-subs-clip > .nav-subs-list { padding-left: 0; }
.nav.is-in .nav-group.is-open.is-deep > .nav-subs > .nav-subs-clip > .nav-subs-list > .nav-line {
  transform: scaleY(0); transition: transform 400ms var(--expo);
}
.nav-deep-list { padding: 0 0 6px 20px; }
.nav-deep.is-open {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows 800ms var(--expo) 0ms, visibility 0ms linear 0ms;
}
.nav-event { min-height: 26px; }
.nav-event > span { font-size: 13px; }
.nav.is-in .nav-group.is-open .nav-deep:not(.is-open) .nav-line { transform: scaleY(0); transition: transform 300ms var(--expo); }
.nav.is-in .nav-group.is-open .nav-deep:not(.is-open) .nav-sub > span {
  letter-spacing: 0.34em;
  transform: translate3d(-14px, 115%, 0) skewY(8deg);
  filter: blur(5px); opacity: 0;
  transition: transform 360ms var(--expo), filter 300ms ease, opacity 260ms ease, letter-spacing 360ms var(--smooth);
}

/* ---------- film grid ---------- */
/* Rows: three vertical (9:16) or two horizontal (16:9) films side by side, no gaps.
   Vertical rows always fill the full width; if the window is short and wide, the tiles are
   trimmed a little at the top and bottom instead (never black bars at the sides).
   A horizontal row is never taller than the window. */
.grid { min-height: 100vh; overflow: hidden; }
.grid.is-out { opacity: 0; transition: opacity 320ms ease; }
.row { display: flex; justify-content: center; }
.row-vertical > .tile-wrap { flex: 0 0 auto; width: calc(100% / 3); }
.row-vertical .tile.is-vertical { max-height: 100vh; max-height: 100svh; }
.row-horizontal > .tile-wrap {
  flex: 0 0 auto; width: 50%;
  max-width: calc(100vh * 16 / 9);
  max-width: calc(100svh * 16 / 9);
}
.tile-wrap { opacity: 0; transform: translate3d(0, 56px, 0); }
.tile-wrap.is-in {
  opacity: 1; transform: translate3d(0, 0, 0);
  transition: opacity 900ms var(--smooth) var(--delay, 0ms), transform 1100ms var(--smooth) var(--delay, 0ms);
}
.tile {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: #0B0B0A; color: inherit; text-align: left; cursor: pointer;
  outline-offset: -3px;
}
.tile.is-vertical { aspect-ratio: 9 / 16; }
.tile-zoom { position: absolute; inset: 0; transform: scale(1); transition: transform 1100ms var(--smooth); will-change: transform; }
.tile.is-hover .tile-zoom { transform: scale(var(--zoom)); transition-duration: 1600ms; }
.tile-media, .tile-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-preview { opacity: 0; transition: opacity 450ms ease; pointer-events: none; }
.tile-preview.is-playing { opacity: 1; }
/* No dark layer on hover: the preview stays fully visible. The shade is only used on touch screens. */
.tile-shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
/* --lift keeps the title and progress line inside the visible part of a tile taller than the screen */
.tile-bar { position: absolute; left: 0; right: 0; bottom: var(--lift, 0px); height: 2px; z-index: 2; pointer-events: none; }
.tile-bar > span { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.85); transform-origin: 0 50%; transform: scaleX(0); }
.tile-title {
  position: absolute; left: 28px; right: 28px; bottom: calc(26px + var(--lift, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  text-align: right; color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translate3d(0, 12px, 0);
  transition: opacity 500ms ease, transform 700ms var(--smooth);
}
.tile.is-hover .tile-title { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 80ms; }
.tile-head { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; letter-spacing: -0.005em; margin-bottom: 2px; }
.artist { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.25; letter-spacing: 0.005em; }
.details { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--serif); font-style: italic; font-weight: 300; line-height: 1.3; }
.tile .details { justify-content: flex-end; font-size: 15px; font-weight: 400; color: var(--white); }
.x { width: 7px; height: 7px; flex: none; }
.tile .x { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)); }
.grid-empty { width: 100%; padding: 40vh 40px 0; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; color: var(--dim); }
.grid:focus { outline: none; }

/* ---------- photo grid ---------- */
/* Four photos per row (one on a phone), no gaps, all in the same upright frame (5:7, the shape of most
   of the photos); a wide photo takes two places. A row is never taller than the window. */
.photo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense;
  width: 100%; margin: 0 auto;
  max-width: calc(100vh * 20 / 7);
  max-width: calc(100svh * 20 / 7);
}
.photo-wrap.is-wide { grid-column: span 2; }
.tile.is-photo { aspect-ratio: 5 / 7; cursor: zoom-in; }
.tile.is-photo.is-wide { aspect-ratio: 10 / 7; }

/* Events: one series per event, joined without gaps. Each row fills the width and every photo keeps
   its whole frame (the shape of each photo is set on it). */
.series-row { display: flex; width: 100%; margin: 0 auto; }
.series-row > .tile-wrap { min-width: 0; }

/* ---------- full-screen player ---------- */
.player {
  position: fixed; inset: 0; z-index: 80;
  display: flex; overflow-y: auto; overscroll-behavior: contain;
  padding: 64px 48px 48px;
  cursor: zoom-out;
}
.player[hidden] { display: none; }
.player-backdrop { position: fixed; inset: 0; background: var(--bg); opacity: 0; transition: opacity 420ms ease; }
/* The × only shows for photos on a phone (there a tap shows the next photo). */
.player-close { display: none; }
@media (max-width: 719px) {
  .player.is-photo .player-close {
    display: flex; align-items: center; justify-content: center; position: fixed; z-index: 7;
    top: max(6px, env(safe-area-inset-top, 0px)); right: 6px; width: 44px; height: 44px;
    margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer;
    opacity: 0; transition: opacity 420ms ease;
  }
  .player.is-photo.is-in .player-close { opacity: 0.85; }
}
.player.is-in .player-backdrop { opacity: 1; }
.player-dialog {
  position: relative; margin: auto; width: 100%; max-width: 1200px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: scale(0.965);
  transition: opacity 450ms ease, transform 700ms var(--smooth);
  cursor: default; outline: none;
}
.player.is-in .player-dialog { opacity: 1; transform: scale(1); }
.player.is-vertical .player-dialog { max-width: calc(74vh * 0.5625); }
.player-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #151515; }
.player.is-vertical .player-frame { aspect-ratio: 9 / 16; }
.player-video, .player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-video { cursor: pointer; }
.player-frame:fullscreen { background: #000; }
.player-bar { position: relative; height: 15px; margin: -6px 0 -4px; cursor: pointer; touch-action: none; }
.player-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: rgba(255, 255, 255, 0.15); }
.player-bar-fill { position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: var(--white); transform-origin: 0 50%; transform: scaleX(0); }
.player-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 6px; }
.player-buttons { display: flex; gap: 4px; flex: none; margin: -6px -10px 0 0; }
.player-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  color: var(--dim); transition: color 300ms ease;
}
.player-icon:hover { color: var(--white); }
.player-icon[hidden] { display: none; }
.player.is-vimeo .player-bar, .player.is-vimeo .player-buttons { display: none; }
.player-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }

/* Work in progress: graded stills instead of a film. Text on top, then two 16:9 stills per row. */
.player.is-gallery .player-dialog { max-width: 1100px; gap: 22px; }
.player.is-gallery .player-frame, .player.is-gallery .player-bar, .player.is-gallery .player-buttons { display: none; }
.player.is-gallery .player-row { order: -1; margin-top: 0; }
.player-gallery { transition: opacity 200ms ease; }
.player-gallery.is-swapping { opacity: 0; }
.player-gallery[hidden], .gallery-grid[hidden], .gallery-single[hidden] { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  margin: 0; padding: 0; border: 0; background: #151515; cursor: zoom-in;
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity 700ms ease var(--d, 0ms), transform 900ms var(--smooth) var(--d, 0ms);
}
.player.is-in .gallery-thumb { opacity: 1; transform: translate3d(0, 0, 0); }
.gallery-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--smooth); }
.gallery-thumb:hover img { transform: scale(1.03); }
.gallery-single { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.gallery-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.gallery-image {
  display: block; width: 100%; max-width: calc(72vh * 16 / 9); aspect-ratio: 16 / 9; object-fit: contain;
  background: #151515; cursor: zoom-out; transition: opacity 300ms ease;
}
.gallery-image.is-loading { opacity: 0; }
.gallery-count { font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: 0.18em; color: var(--dim); font-variant-numeric: tabular-nums; }
.gallery-nav {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  color: var(--dim); transition: color 300ms ease;
}
.gallery-nav:hover { color: var(--white); }

/* Photo: full view. The photo is as large as the window allows; below it the title (if there is one)
   and the arrows with the count. */
.player.is-photo { padding: 36px 48px 22px; }
.player.is-photo .player-dialog { width: min-content; max-width: none; gap: 12px; }
.player.is-photo .player-frame, .player.is-photo .player-bar, .player.is-photo .player-buttons { display: none; }
.player-photo[hidden], .photo-nav[hidden], .player-text[hidden] { display: none; }
.player-photo { display: flex; justify-content: center; }
.photo-image {
  display: block; width: auto; height: auto;
  max-width: calc(100vw - 96px);
  max-height: calc(100vh - 116px);
  max-height: calc(100svh - 116px);
  cursor: zoom-out; transition: opacity 220ms ease;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.photo-image.is-loading { opacity: 0; }
.player.is-photo .player-row { margin-top: 0; align-items: center; min-height: 44px; }
.photo-nav { display: flex; align-items: center; gap: 2px; flex: none; margin: 0 -12px 0 auto; }
.photo-count { min-width: 60px; text-align: center; }
/* Fashion projects in the full view, set like a fashion magazine: the title in serif with the second
   line in small capitals, a hairline, the credits in two columns, and the arrows - all on one line
   under the photo. Every project photo is shown at the same size. */
.player-credits[hidden] { display: none; }
.player.is-editorial .player-row { flex-wrap: nowrap; align-items: center; margin-top: 4px; contain: inline-size; }
/* the caption starts at the photo's left edge; if the photo is narrow, only the arrows reach past its right edge */
.player.is-editorial.is-wide-caption .player-row { contain: none; }
.player.is-editorial .player-text { flex: none; justify-content: center; gap: 9px; white-space: nowrap; }
.player.is-editorial .player-head { font-size: 30px; line-height: 0.95; letter-spacing: 0.005em; margin: 0; white-space: normal; max-width: 6.6em; text-wrap: balance; }
.player.is-editorial .player-details:empty { display: none; }
.player.is-editorial .player-artist {
  font-family: var(--sans); font-weight: 500; font-size: 9.5px; line-height: 1.2; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.player-credits {
  display: grid; grid-template-columns: auto auto; column-gap: 14px; row-gap: 0; align-content: center;
  flex: none; align-self: stretch; margin-left: 18px; padding: 1px 0 1px 18px; border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--sans); font-weight: 500; font-size: 9.5px; line-height: 1.38; letter-spacing: 0.13em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.94); white-space: nowrap;
}
.credit { display: contents; }
.credit-label { color: rgba(255, 255, 255, 0.46); }
.credit-name.is-solo { grid-column: 1 / -1; }
/* a long list (a show): three credits, then ALL CREDITS opens the whole list over the photo */
.credit-more {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 9px;
  margin: 2px 0 0; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: uppercase; color: var(--white);
}
.credit-more::after { content: ''; width: 9px; height: 9px; background:
  linear-gradient(currentColor, currentColor) center / 9px 1px no-repeat,
  linear-gradient(currentColor, currentColor) center / 1px 9px no-repeat; transition: transform 300ms ease; }
.credit-more[aria-expanded="true"]::after { transform: rotate(45deg); }
.photo-box { position: relative; display: block; }
.photo-credits {
  position: absolute; inset: 0; z-index: 2; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(11, 11, 10, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 300ms ease; cursor: default;
}
.photo-credits[hidden] { display: none; }
.player.is-sheet .photo-credits { opacity: 1; }
.photo-credits-inner { box-sizing: border-box; min-height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 34px 32px; }
.photo-credits-inner > * { width: 100%; max-width: 620px; }
.pc-head { margin: 0 0 24px; font-family: var(--sans); font-weight: 600; font-size: 10px; line-height: 1; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.pc-cols { columns: 2; column-gap: 30px; }
.pc-credit { break-inside: avoid; display: flex; flex-direction: column; gap: 3px; margin: 0 0 14px; font-family: var(--sans); font-weight: 500; text-transform: uppercase; }
.pc-credit.is-group { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 14px; }
.pc-label { font-size: 9px; line-height: 1.4; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.5); }
.pc-name { font-size: 10.5px; line-height: 1.45; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.95); }
.pc-agency { color: rgba(255, 255, 255, 0.5); }
.player.is-editorial .photo-nav { flex: none; margin-left: auto; padding-left: 12px; }
.player.is-editorial .photo-nav .gallery-nav { width: 34px; }
.player.is-editorial .photo-count { min-width: 50px; }
.player.is-editorial .photo-image { max-height: calc(100vh - 74px - var(--caption-h, 80px)); max-height: calc(100svh - 74px - var(--caption-h, 80px)); }
/* Computer: the arrows and the count are anchored in the bottom right corner of the screen and never
   move, whatever the size of the photo. (On a phone they stay in the caption line.) */
.player.is-photo > .photo-nav {
  position: fixed; right: 36px; bottom: 18px; z-index: 6;
  margin: 0; padding: 0; opacity: 0; transition: opacity 450ms ease; cursor: default;
}
.player.is-photo.is-in > .photo-nav { opacity: 1; }
.player.is-photo > .photo-nav .gallery-nav { width: 44px; }
.player.is-photo > .photo-nav .photo-count { min-width: 60px; }

/* "STILLS" mark on a work-in-progress tile */
.tile-badge {
  position: absolute; right: 18px; top: 16px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; line-height: 1;
  color: var(--white); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  transition: opacity 300ms ease; pointer-events: none;
}
.tile.is-hover .tile-badge { opacity: 0; }
.player-head { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--white); margin-bottom: 2px; }
.player-artist { font-size: 16px; color: #DAD7D0; }
.player-artist[hidden] { display: none; }
.player .details { font-size: 14px; color: var(--deck-player); }

/* ---------- tablet ---------- */
@media (max-width: 1099px) {
  .site-header { padding: 26px 28px; padding-top: max(26px, env(safe-area-inset-top, 0px)); }
  .name { font-size: 19px; }
  .tile-head { font-size: 23px; }
  .tile .artist { font-size: 16px; }
  .tile .details { font-size: 14px; }
  .tile-title { left: 20px; right: 20px; bottom: calc(20px + var(--lift, 0px)); }
  .player { padding: 56px 32px 40px; }
}

/* ---------- touch screens: titles always visible ---------- */
html.touch .tile-shade { opacity: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 58%); }
html.touch .tile-title { opacity: 1; transform: none; }
/* a photo on a light background (light: true): the title in dark ink, without the shade */
.tile.is-light .tile-title, .tile.is-light .tile-title .artist, .tile.is-light .tile-title .details { color: var(--paper-ink, #141413); text-shadow: none; }
.tile.is-light .tile-shade, html.touch .tile.is-light .tile-shade { background: none; opacity: 0; }
html.touch .tile-bar { display: none; }

/* ---------- phone ---------- */
@media (max-width: 719px) {
  .scrim-top { height: 110px; }
  .scrim-nav { display: none; }
  .row-vertical > .tile-wrap, .row-horizontal > .tile-wrap { width: 100%; max-width: none; }   /* one film per row, always the full width */
  .row-vertical .tile.is-vertical { max-height: none; }   /* on a phone the whole 9:16 film is shown */
  .site-header { padding: 16px 20px; padding-top: max(16px, env(safe-area-inset-top, 0px)); }
  .name { font-size: clamp(15px, 4.9vw, 21px); letter-spacing: 0.26em; }
  .burger {
    display: block; position: relative; width: 44px; height: 44px; margin: -12px -11px -12px 0;
    padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; color: var(--white);
  }
  .burger span {
    position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; border-radius: 1px;
    background: currentColor; box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    transition: transform 500ms var(--smooth), opacity 300ms ease;
  }
  .burger span:nth-child(1) { transform: translate3d(0, -7px, 0); }
  .burger span:nth-child(3) { transform: translate3d(0, 7px, 0); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: scaleX(0.2); opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

  .nav {
    inset: 0; left: 0; bottom: 0; z-index: 65;
    justify-content: flex-end;
    padding: 100px 20px 44px;
    padding-bottom: max(44px, env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    font-size: 24px; letter-spacing: 0.16em; text-shadow: none;
    opacity: 0; visibility: hidden;
    transition: opacity 380ms ease, visibility 0ms linear 380ms;
  }
  .nav.is-menu-open { opacity: 1; visibility: visible; transition: opacity 380ms ease, visibility 0ms linear 0ms; }
  .nav-main { min-height: 56px; }
  .nav-subs-list { padding: 2px 0 10px 22px; }
  .nav-sub { min-height: 46px; }
  .nav-sub > span { font-size: 20px; }
  .nav-deep-list { padding: 0 0 8px 22px; }
  .nav-event { min-height: 38px; }
  .nav-event > span { font-size: 17px; }

  .tile-title { left: 18px; right: 18px; bottom: calc(18px + var(--lift, 0px)); gap: 5px; }
  .tile-head { font-size: 21px; }
  .tile .artist { font-size: 15px; }
  .tile .details { font-size: 13px; }
  .player { padding: 40px 16px 32px; }
  .player-head { font-size: 20px; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-single { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 4px; }
  .gallery-nav { width: 32px; }
  .tile-badge { display: none; }

  .photo-grid { grid-template-columns: minmax(0, 1fr); }   /* Fashion on a phone: one photo per row */
  .photo-wrap.is-wide { grid-column: auto; }
  .photo-grid { max-width: none; }   /* always the full width, no bars at the sides */
  .player.is-photo { padding: 56px 24px 24px; padding-top: max(56px, env(safe-area-inset-top, 0px)); padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
  .photo-image { max-width: calc(100vw - 48px); max-height: calc(100vh - 152px); max-height: calc(100svh - 152px); }
  .player.is-photo .gallery-nav { width: 44px; }
  .photo-nav { margin-right: -8px; }
  /* phone: the whole list covers the screen (a landscape photo is too small to hold it) */
  .photo-credits { position: fixed; inset: 0; z-index: 6; }
  .player.is-sheet .player-dialog { transform: none; transition: opacity 450ms ease; }
  .photo-credits-inner { padding: 64px 20px 40px; padding-top: max(64px, calc(env(safe-area-inset-top, 0px) + 44px)); }
  .pc-head { margin-bottom: 16px; }
  .pc-cols { column-gap: 16px; }
  .pc-credit { margin-bottom: 11px; }
  .pc-credit.is-group { padding-top: 11px; }
  .pc-label { font-size: 8px; letter-spacing: 0.12em; }
  .pc-name { font-size: 9.5px; letter-spacing: 0.08em; }
  /* phone: the arrows on top, then title | credits on one line */
  .player.is-editorial .player-row { flex-wrap: wrap; row-gap: 6px; }
  .player.is-editorial .photo-nav { order: -1; flex: 1 1 100%; justify-content: flex-end; padding-left: 0; }
  .player.is-editorial .player-head { font-size: 24px; }
  .player.is-editorial .player-artist { font-size: 9px; letter-spacing: 0.18em; }
  .player-credits { margin-left: 14px; padding-left: 14px; column-gap: 12px; font-size: 8.5px; letter-spacing: 0.12em; }
  .player.is-editorial .photo-image { max-height: calc(100vh - 96px - var(--caption-h, 80px)); max-height: calc(100svh - 96px - var(--caption-h, 80px)); }
}

/* ---------- less motion, if the visitor asks for it ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .tile-wrap { transform: none; }
  .tile.is-hover .tile-zoom { transform: none; }
}

/* ======================================================================
   ABOUT, IMPRESSUM, PRIVACY: a light, frosted layer over the work.
   Click anywhere (or Esc) to go back. Texts are in content/about.js.
   ====================================================================== */
:root { --paper-ink: #141413; --paper-muted: #46433E; --paper-rule: rgba(20, 20, 19, 0.16); --silk: cubic-bezier(0.65, 0, 0.35, 1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the header turns dark on the light layer, the menu steps aside */
.site-header, .name { transition: color 450ms ease, text-shadow 450ms ease; }
html.is-about .site-header { color: var(--paper-ink); text-shadow: none; }
html.is-about .name { color: var(--paper-ink); }
.nav { transition: opacity 300ms ease, visibility 0ms linear 0ms; }
@media (min-width: 720px) {
  html.is-about .nav { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 300ms ease, visibility 0ms linear 300ms; }
}
html.is-about .burger { opacity: 0; pointer-events: none; }
/* On a phone the menu button stays on the About, Impressum, privacy and terms pages, in dark ink. */
@media (max-width: 719px) {
  html.is-about .burger { opacity: 1; pointer-events: auto; color: var(--paper-ink); }
  html.is-about .burger span { box-shadow: none; }
}
html.is-about .scrim { opacity: 0; }
.scrim { transition: opacity 500ms ease; }

/* IMPRESSUM · PRIVACY links (styles; they sit under the menu) */
.corner-scrim { position: fixed; right: 0; bottom: 0; width: 360px; height: 200px; max-width: 50vw; z-index: 29; pointer-events: none; background: radial-gradient(100% 100% at 100% 100%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 70%); transition: opacity 500ms ease; }
.corner { position: fixed; right: var(--edge-x); bottom: var(--edge-b); z-index: 70; display: flex; gap: 20px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); transition: opacity 350ms ease, visibility 0ms linear 0ms; }
.corner button, .nav-legal button {
  min-height: 30px; display: flex; align-items: center; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: 0.18em; color: var(--dim); transition: color 300ms ease;
}
.corner button:hover, .nav-legal button:hover { color: var(--white); }
html.is-about .corner, html.is-about .corner-scrim, .corner.is-clash, .corner.is-clash + .corner-scrim { opacity: 0; visibility: hidden; transition: opacity 350ms ease, visibility 0ms linear 350ms; }
.corner-scrim.is-clash { opacity: 0; }
/* IMPRESSUM · PRIVACY sit under the menu, set apart from it */
.nav-legal { display: flex; gap: 20px; margin-top: 30px; }
.nav-legal button { min-height: 28px; }
.nav-about > .nav-main { color: var(--dim); }
.nav-about > .nav-main:hover, html.is-about .nav-about > .nav-main { color: var(--white); }

.about { position: fixed; inset: 0; z-index: 60; }
.about[hidden] { display: none; }
.about-bg {
  position: fixed; inset: 0; background: rgba(242, 240, 236, 0.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.15); backdrop-filter: blur(30px) saturate(1.15);
  opacity: 0; transition: opacity 500ms ease;
}
.about.is-in .about-bg { opacity: 1; }
.about-view {
  position: fixed; top: 82px; left: 0; right: 0; bottom: 0; z-index: 1;
  overflow-y: auto; overscroll-behavior: contain; color: var(--paper-ink); outline: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 28px); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 28px);
  opacity: 0; visibility: hidden;
  transition: opacity 230ms ease, visibility 0ms linear 230ms, right 820ms var(--silk);
}
.about.is-in .about-view.is-current { opacity: 1; visibility: visible; transition: opacity 500ms ease, visibility 0ms linear 0ms, right 1000ms var(--smooth); }
.about.is-half .about-view { right: 50vw; }
.about-fade { transition: opacity 600ms ease; }
.about.is-fading .about-fade { opacity: 0; transition: opacity 220ms ease; }

/* things rise in one after another */
.rise { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 700ms ease, transform 1000ms var(--smooth); }
.about.is-in .rise { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: var(--rd, 0ms); }

.ab-grid {
  display: grid; grid-template-columns: max(280px, min(400px, 30vw, calc((100vh - 400px) * 0.79))) minmax(0, 1fr);
  column-gap: 5vw; max-width: 1500px; margin: 0 auto; padding: 48px 8vw 140px;
}
.ab-left { position: sticky; top: 40px; align-self: start; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.ab-portrait { display: block; width: 100%; height: auto; }
.ab-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ab-item { display: flex; flex-direction: column; gap: 6px; }
.ab-label { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; line-height: 1.4; color: var(--paper-ink); }
.ab-serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; line-height: 1.25; color: var(--paper-ink); }
.ab-link {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; margin: -12px 0 -10px; padding: 0;
  background: transparent; border: 0; cursor: pointer; color: var(--paper-ink); text-align: left; text-decoration: none;
}
.ab-link .ab-serif { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ab-right { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.ab-lead { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 27px; line-height: 1.32; letter-spacing: -0.01em; color: var(--paper-ink); max-width: 32em; }
.ab-bio { column-count: 2; column-gap: 48px; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--paper-muted); }
.ab-bio p { margin: 0 0 1em; orphans: 3; widows: 3; }   /* a paragraph may continue in the next column, so both columns end level */
.ab-bio p:last-child { margin-bottom: 0; }
.ab-rule { height: 1px; background: var(--paper-rule); }
.ab-sec { display: flex; flex-direction: column; gap: 12px; }
.ab-clients { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.7; color: var(--paper-ink); max-width: 60em; }
.ab-pub { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 24px; align-items: baseline; padding: 6px 0; }
.ab-year { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; color: var(--paper-ink); }
.ab-pubtitle { font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--paper-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-legal { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 4px; }
.ab-legal button {
  min-height: 44px; display: inline-flex; align-items: center; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; color: var(--paper-muted);
}
.ab-legal button:hover { color: var(--paper-ink); }

/* while the contact form is open on a computer, the About text moves to the left half, in one column */
.about.is-compact .ab-grid { display: flex; flex-direction: column; gap: 40px; padding: 36px 48px 140px 8vw; }
.about.is-compact .ab-left { position: static; flex-direction: row; align-items: flex-start; }
.about.is-compact .ab-portrait { width: 180px; flex: none; }
.about.is-compact .ab-lead { font-size: 22px; }
.about.is-compact .ab-bio { column-count: 1; font-size: 15px; }
.about.is-compact .ab-clients, .about.is-compact .ab-pubtitle { font-size: 12px; }

/* Impressum and privacy policy */
.lg-wrap { box-sizing: border-box; max-width: 1100px; margin: 0 auto; padding: 48px 8vw 140px; display: flex; flex-direction: column; gap: 18px; }
.lg-lead { margin: 0 0 24px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--paper-ink); }
.lg-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 5vw; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--paper-rule); }
.lg-text { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.65; color: var(--paper-muted); max-width: 44em; }
.lg-langs { display: flex; gap: 22px; margin: -6px 0 6px; }
.lg-langs button { appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: 0.18em; color: var(--paper-muted); border-bottom: 1px solid transparent; transition: color 250ms ease, border-color 250ms ease; }
.lg-langs button:hover { color: var(--paper-ink); }
.lg-langs button[aria-pressed="true"] { color: var(--paper-ink); border-bottom-color: currentColor; }
.lg-lang { display: flex; flex-direction: column; gap: inherit; }
.lg-lang[hidden] { display: none; }
.lg-footer { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 28px; border-top: 1px solid var(--paper-rule); }

/* contact form: a dark panel that slides in from the right */
.contact {
  position: fixed; z-index: 75; top: 0; right: 0; bottom: 0; width: 50vw;
  background: var(--bg); color: #F2F0EC; overflow-y: auto; overscroll-behavior: contain;
  transform: translate3d(100%, 0, 0); transition: transform 820ms var(--silk);
}
.contact[hidden] { display: none; }
.contact.is-in { transform: translate3d(0, 0, 0); transition: transform 1000ms var(--smooth); }
.contact-inner {
  max-width: 560px; padding: 36px 64px 64px; display: flex; flex-direction: column; gap: 40px;
  opacity: 0; transition: opacity 240ms ease;
}
.contact.is-in .contact-inner { opacity: 1; transition: opacity 700ms ease 260ms; }
.contact-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.contact-label { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; color: #F2F0EC; }
.contact-close { width: 44px; height: 44px; margin-right: -12px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #EDEBE6; cursor: pointer; }
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.contact-intro { display: flex; flex-direction: column; gap: 10px; }
.contact-title { position: relative; margin: 0; min-height: 1.25em; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: #F2F0EC; }
.contact-caret { display: inline-block; width: 1px; height: 0.95em; margin-left: 3px; vertical-align: -0.12em; background: #F2F0EC; animation: caret-blink 0.9s step-end infinite; }
.contact.is-typed .contact-caret { display: none; }
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.contact-note { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 15px; line-height: 1.4; color: #B8B4AC; }
.contact-form .contact-note { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 600ms ease, transform 700ms var(--smooth); }
.contact.is-typed .contact-form .contact-note { opacity: 1; transform: none; }
.contact-field { display: flex; flex-direction: column; gap: 4px; }
.contact-field > span { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; color: rgba(242, 240, 236, 0.7); }
.contact-field input, .contact-field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0;
  padding: 10px 0 12px; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5; color: #F2F0EC; outline: none;
  transition: border-color 300ms ease;
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus, .contact-field textarea:focus { border-bottom-color: #F2F0EC; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-send { min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0; background: #F2F0EC; color: var(--bg); cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; }
.contact-error { font-family: var(--sans); font-weight: 400; font-size: 13px; color: #E8B4A8; }
.contact-error:empty { display: none; }
.contact-sent { display: flex; flex-direction: column; gap: 12px; }
.contact-sent[hidden] { display: none; }
.contact-sent .contact-label { color: rgba(242, 240, 236, 0.7); }

/* tablet: one column, portrait beside the details */
@media (max-width: 1099px) {
  .about-view { top: 72px; }
  .ab-grid { display: flex; flex-direction: column; gap: 40px; padding: 36px 28px 140px; }
  .ab-left { position: static; flex-direction: row; align-items: flex-start; }
  .ab-portrait { width: 320px; flex: none; }
  .ab-lead { font-size: 24px; }
  .ab-bio { column-count: 1; }
  .lg-wrap { padding: 36px 28px 120px; }
  .contact { width: 100%; }
  .contact-inner { padding: 28px 40px 56px; }
}

/* phone */
@media (max-width: 719px) {
  .corner, .corner-scrim { display: none; }
  .nav-legal { gap: 24px; margin-top: 26px; }
  .nav-legal button { min-height: 44px; font-size: 11px; }
  .about-view { top: 60px; -webkit-mask-image: none; mask-image: none; }
  .ab-grid { gap: 36px; padding: 0 20px 80px; }
  .ab-left { flex-direction: column; }
  .ab-portrait { width: calc(100% + 40px); max-width: none; margin: 0 -20px; height: calc(100svh - 60px); object-fit: cover; object-position: 50% 50%; }
  .ab-right { gap: 28px; }
  .ab-lead { font-size: 21px; }
  .ab-bio { font-size: 15px; }
  .ab-clients, .ab-pubtitle { font-size: 12px; }
  .ab-pubtitle { white-space: normal; }
  .lg-wrap { padding: 24px 20px 80px; gap: 14px; }
  .lg-lead { font-size: 20px; margin-bottom: 16px; }
  .lg-row { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; }
  .lg-text { font-size: 14px; }
  .contact-inner { padding: 20px 20px 48px; gap: 28px; }
  .contact-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { transform: none; }
  .contact-caret { animation: none; }
}
