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

/* Bartolozzi — one stylesheet for the whole site.
   Tokens come straight from design/design-system/tokens.json. */

:root {
  --black: #000000;
  --ink: #ffffff;
  --text-soft: #d6d6d6;
  --text-muted: #bdbdbd;
  --text-dim: #9a9a9a;
  --text-caption: #8a8a8a;
  --surface-900: #0d0d0d;
  --surface-800: #111111;
  --mat: #141414;
  --line: #2a2a2a;
  --line-strong: #5a5a5a;
  --line-buy: #8a8a8a;
  --scrim: rgba(0, 0, 0, 0.35);

  /* The one accent. The homepage still changes it per photo; every other page
     is red and stays red. It used to carry over from whichever homepage photo
     you arrived from, but two of those colours fail on a black page: cream is
     indistinguishable from the white text, navy is too dark to see. */
  --accent: #d3202e;
  --on-accent: #ffffff;

  --gutter: 20px;
  /* How wide the content column gets. One place to change it. */
  --page: 1800px;
  /* The top row. Shrinks a little on a short window, where every fixed band of
     pixels is a bigger share of the screen (James, Nov 11 2026). The film
     viewer sizes its player from this, and follows automatically. */
  --bar: clamp(44px, 6.2vh, 56px);
  /* The air above EVERY big page title — the gallery headers and a model's
     name (James, Nov 11 2026: the category titles sat lower than the model
     names). One value, used by .bigtitle and .storyhead, so the two cannot
     drift apart again. It still shrinks with the window's height: on a short
     laptop a fixed band of pixels is a bigger share of the screen. */
  --head-top: clamp(14px, 3vh, 24px);
  /* ...and the air BELOW the Previous/Next row, then below the line itself
     (James, Nov 11 2026: "way too much space between the previous button and
     the actual gallery"). The row sits ON the line — it already carries 13px
     of its own below the text, from the 44px tap target. One pair of values
     for every page, so Models cannot end up with 40px under the line while
     Commercial has none. */
  --head-bottom: 8px;
  /* The empty air UNDER the letters inside a 44px tap target: the 12px caps are
     centred in it, so the box ends 13px below the ink. The row is pulled down
     by exactly that, so `--head-bottom` is measured from the LETTERS and they
     sit on the line like a ledger line (James, Nov 11 2026). Measured on the
     page, not guessed. The target keeps its full 44px and simply overhangs the
     line — nothing below it is clickable for another 25px, and shrinking it
     would make the link harder to hit on a phone. */
  --row-overhang: 14px;
  --head-gap: clamp(20px, 2.8vh, 28px);
  /* The air between a big title and the Previous/Next row under it. ONE value
     for both headers (James, Nov 11 2026: a model's gallery had more room
     between her name and the Back link than a category page had — 24px
     against 14). .bigtitle and .storyhead both use it, so they cannot drift. */
  --head-rowgap: clamp(8px, 1.6vh, 14px);
  --radius-box: 5px;
  --radius-button: 10px;

  --fade: 1.2s;
  /* The push-in has to outlast the time a slide is on screen (hold + fade out),
     or it finishes early and sits still. */
  --zoom: 7s;
  /* ...and it may only snap back to normal size once the slide is invisible. */
  --zoom-reset: 1.5s;
}

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
    --head-top: clamp(16px, 2.7vh, 24px);
    --fade: 1.4s;
    --zoom-reset: 1.7s;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

/* The width/height attributes on every <img> would otherwise be used as a real
   CSS height, so a 200px-wide box renders a 2400px-tall photo. Layouts set the
   height they want; this keeps the attributes to their real job, which is
   reserving the right space before the photo loads. */
img {
  max-width: 100%;
  /* A photo still downloading draws its alt text in the frame. Hide it; screen
     readers still read it. */
  color: transparent;
}

/* Phones flash a grey box over whatever is tapped. On the half-screen tap
   zones (homepage, viewer) that read as a black box over the photo. */
html {
  -webkit-tap-highlight-color: transparent;
}

/* Several things here set their own display, which would otherwise beat
   [hidden]. Make hidden mean hidden. */
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- homepage */

.home {
  overflow: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

.deck {
  position: absolute;
  inset: 0;
}

.deck--desktop {
  display: none;
}

@media (min-width: 900px) {
  .deck--desktop {
    display: block;
  }
  .deck--phone {
    display: none;
  }
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity var(--fade) ease;
}

.slide.is-on {
  opacity: 1;
}

/* No fade until the page has drawn once. Some browsers paint every slide at
   full opacity before the stylesheet hides them, then FADE the extras out —
   so the last slide (on top) showed first and dissolved to the first
   (James, Nov 17 2026). The name, Book a shoot and the ticks did the same,
   fading in from black. home.js adds .is-ready to the body after the first
   frame. */
.home:not(.is-ready) .slide,
.home:not(.is-ready) .namemark,
.home:not(.is-ready) .btn--accent,
.home:not(.is-ready) .ticks i {
  transition: none;
}

.frame {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--surface-900);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slow push-in. Going OFF, the scale resets with no transition but only after
   the crossfade has finished, so the jump back happens while the slide is
   already invisible instead of snapping in front of you. */
.frame img {
  transform: scale(1);
  transition: transform 0s linear var(--zoom-reset);
  will-change: transform;
}

.slide.is-zooming .frame img {
  transform: scale(1.07);
  transition: transform var(--zoom) linear 0s;
}

/* Top row: SEO line left, Menu right. No "Bartolozzi" — the big name says it. */
/* On the homepage it is plain white over a soft shadow that fades out below it.
   `difference` (used on the black pages' cousins) turns white into mid-grey
   over mid-tones — hair, skin, a tan wall — and the line vanished there. */
.home .toprow {
  mix-blend-mode: normal;
  color: #fff;
}
.home .toprow::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--bar) * 2.2);
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: -1;
}
.toprow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  mix-blend-mode: difference;
  z-index: 3;
}

@media (min-width: 900px) {
  .toprow {
    font-size: 13px;
    letter-spacing: 0.22em;
  }
}

.toprow p {
  margin: 0;
}

.toprow .seo-long {
  display: none;
}

@media (min-width: 900px) {
  .toprow .seo-long {
    display: inline;
  }
  .toprow .seo-short {
    display: none;
  }
}

.toprow a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  text-decoration: none;
  white-space: nowrap;
}

/* Film crop marks in the four corners (desktop). */
.cropmarks {
  display: none;
}

@media (min-width: 900px) {
  .cropmarks {
    display: block;
  }
}

.cropmarks i {
  position: fixed;
  width: 18px;
  height: 18px;
  mix-blend-mode: difference;
  z-index: 2;
}

.cropmarks i:nth-child(1) {
  left: 24px;
  top: 72px;
  border-left: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}

.cropmarks i:nth-child(2) {
  right: 24px;
  top: 72px;
  border-right: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}

.cropmarks i:nth-child(3) {
  left: 24px;
  bottom: 24px;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.cropmarks i:nth-child(4) {
  right: 24px;
  bottom: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* Progress ticks (phone). */
.ticks {
  position: fixed;
  top: var(--bar);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  gap: 6px;
  z-index: 3;
}

@media (min-width: 900px) {
  .ticks {
    display: none;
  }
}

.ticks i {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s ease;
}

.ticks i.is-on {
  background: var(--ink);
}

/* Tap halves (phone): left goes back, right goes forward. */
.tap {
  position: fixed;
  top: var(--bar);
  bottom: 220px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.tap--prev {
  left: 0;
  width: 40%;
}

.tap--next {
  right: 0;
  width: 60%;
}

@media (min-width: 900px) {
  .tap {
    display: none;
  }
}

/* Name, label, controls and Book a shoot. */
.hud {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}

@media (min-width: 900px) {
  .hud {
    bottom: 36px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
}

.namemark {
  margin: 0;
  font-weight: 700;
  font-size: min(60px, 15.4vw);
  line-height: 0.86;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--accent);
  transition: color var(--fade) ease;
}

@media (min-width: 900px) {
  .namemark {
    font-size: clamp(96px, 11.67vw, 196px);
    line-height: 0.84;
  }
}

.hud__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .hud__right {
    align-items: flex-end;
    gap: 16px;
    padding-bottom: 4px;
  }
}

.film-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

@media (min-width: 900px) {
  .film-label {
    font-size: 12px;
    text-shadow: none;
    mix-blend-mode: difference;
  }
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav,
.counter {
  display: none;
}

@media (min-width: 900px) {
  .nav,
  .counter {
    display: flex;
  }
}

.nav {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--scrim);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-box);
  color: var(--ink);
  cursor: pointer;
}

.counter {
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 44px;
  padding: 0 8px;
  background: var(--scrim);
  border-radius: var(--radius-box);
  font-size: 12px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-button);
}

.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
  transition:
    background var(--fade) ease,
    color var(--fade) ease;
}

/* Phone: the button runs the full width. Desktop: it sits beside the arrows. */
.controls .btn {
  flex: 1 1 auto;
}

@media (min-width: 900px) {
  .controls .btn {
    flex: 0 0 auto;
    height: 44px;
    margin-left: 8px;
  }
}

/* Reduced motion: no push-in, no crossfade, no auto-advance (set in JS). */
@media (prefers-reduced-motion: reduce) {
  .slide,
  .namemark,
  .btn--accent,
  .ticks i {
    transition: none;
  }
  .frame img,
  .slide.is-zooming .frame img {
    transform: none;
    transition: none;
  }
}

/* ============================================================ inner pages */

.page {
  min-height: 100%;
}

.page.is-locked {
  overflow: hidden;
}

.page__main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Top row on every page but the homepage. */
.toprow--inner {
  position: static;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  mix-blend-mode: normal;
  color: var(--ink);
}

.toprow--inner .brand {
  font-weight: 500;
  text-decoration: none;
}

.toprow--inner a {
  text-decoration: none;
}

.toprow__clock {
  display: none;
  font-weight: 300;
}

@media (min-width: 900px) {
  .toprow__clock {
    display: inline;
  }
}

/* --- headings ------------------------------------------------------- */

.page-title {
  margin: 0;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .page-title {
    font-size: 72px;
  }
}

.page-title--m {
  font-size: 44px;
}

.page-title--l {
  font-size: 72px;
  line-height: 0.85;
}

.page-title--xl {
  /* A touch smaller than it was, 96→84 / 200→180 (James, Nov 11 2026). Used by
     EVERY gallery page now — Models, Bodies, Commercial, Selects and Shop —
     so the headers match.
     On a phone the size is capped by the LONGEST title: Oswald bold
     "COMMERCIAL" is 5.46em wide, so at 84px it ran off a 375px screen (it did
     at 96px too — this was already broken). Dividing the room by that width
     makes the longest word fit exactly, whatever the phone. */
  font-size: min(84px, calc((100vw - 2 * var(--gutter)) / 5.46));
  line-height: 0.85;
}

/* "JAMES BARTOLOZZI" and "LET'S MAKE THE NEXT ONE" — sized so the longest
   word always fits its column. Oswald bold "BARTOLOZZI" is 4.92em wide. */
.page-title--xxl {
  font-size: min(64px, calc(19vw - 8px));
  line-height: 0.86;
}

@media (min-width: 900px) {
  .page-title--m {
    font-size: 72px;
  }
  .page-title--l {
    /* Sized by the SHORTER side of the window, like every gallery title
       (James, Nov 11 2026). At a flat 12vw the 13" (1440x900) got 173px while
       the galleries on that same screen were 112px — the story page was the
       only one still sized by width alone. Now 112px on the 13", 176px on the
       27". */
    font-size: clamp(72px, min(12vw, 12.5vh), 176px);
  }
  .page-title--xl {
    /* Sized by the SHORTER of the window's width and height (James, Nov 11
       2026: on a 1440x900 13" the title ate a third of the page). 12.5vh means
       the 27" (1440 tall) keeps its 180px, while the 13" (900 tall) gets
       112px — the same share of the screen on both, instead of the same number
       of pixels. */
    font-size: clamp(84px, min(12.5vw, 12.5vh), 180px);
  }
  .page-title--xxl {
    font-size: 144px;
  }
}

/* In the About hero the name shares the row with the self-portrait, so it is
   sized against half the page rather than all of it — and by the window's
   HEIGHT too, like the gallery titles, or a 13" gets the same 128px as a 27"
   and the name alone fills the screen (James, Nov 11 2026). */
@media (min-width: 900px) {
  .hero .page-title--xxl {
    font-size: clamp(56px, min(calc(10.1vw - 15px), 11vh), 120px);
  }
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.count {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.seo-note {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.lede {
  margin: 0;
  max-width: 440px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* Bigger beside a big title, and free to run wider than the 440px measure a
   lede has in a column (James, Nov 11 2026: "bump the font size up"). 15 -> 20
   on a desktop, 17 on a phone. */
.lede--head {
  max-width: 34em;
  font-size: 17px;
}

@media (min-width: 900px) {
  .lede--head {
    font-size: 20px;
  }
}


.body {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text-soft);
}

/* Slim title: photos lead. */
.slimtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 24px 0 28px;
}

@media (min-width: 900px) {
  .slimtitle {
    padding-top: 32px;
  }
}

.slimtitle__left {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

/* The gallery header: eyebrow, big name, then a row under it with "‹ BACK" on
   the left and the line about the page on the right (James, Nov 11 2026). */
.bigtitle {
  display: flex;
  flex-direction: column;
  gap: var(--head-rowgap);
  /* Tighter under the top row than it was (James, Nov 11 2026: too much room
     above the big headers), and the space now SHRINKS WITH THE WINDOW'S
     HEIGHT, like the title does — on a short laptop screen (1280x720) fixed
     padding was most of what kept the header at a third of the page. */
  padding: var(--head-top) 0 var(--head-bottom);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--head-gap);
}

/* The title and the line about the page share the TOP ROW, the line to the
   right of the title and sitting on its baseline (James, Nov 11 2026 — it used
   to be under the title, sharing a row with BACK). The old `.bigtitle__stack`
   went with it: its whole job was to make that line end level with the title's
   last letter, and the line is no longer under the title.
   On a phone the line drops under the title and stays left. */
.bigtitle__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  /* NOT space-between: on the 27" that threw the line 803px clear of the title,
     hard against the right edge of the 1800px column, where it read as a
     separate thing. It sits a fixed 48px after the last letter instead, so it
     stays BESIDE the title at every width. (Same trap the menu fell into when
     its photo column was 1fr.) */
  justify-content: flex-start;
  gap: var(--head-rowgap) 48px;
}

/* Under the title: BACK on the left, "Next: <the next gallery>" right —
   the same row a story page has, so the two headers match. */
.bigtitle__under {
  display: flex;
  /* Allowed to wrap: on a 375 phone the longest pair, "Previous: Motion" and
     "Next: About / Book", fits on one row with 24px to spare, so anything
     narrower than about 350 would have overflowed. Next drops to its own line
     there instead, still right.
     Selects has no Previous (the chain does not loop), so galleryHead prints an
     empty <span> in its place — `space-between` then still holds Next hard
     right. NOT `margin-left: auto` on Next: an auto margin eats all the free
     space on the line, which with wrapping turned on forced the pair onto two
     rows at 375 even though it fits. */
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: calc(-1 * var(--row-overhang));
}

/* The Previous / Next pair under the title. Same size and colour as the old
   "‹ Back" it replaced, so nothing else in the header changed weight. */
.headstep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

/* On a phone only the gallery's NAME is left — the words "Previous:" and
   "Next:" are dropped, the same way a story page drops "Next story:". The
   longest pair, "Previous: Motion" and "Next: About / Book" on Shop, filled a
   375px row to the last pixel and tipped onto two rows; the arrows already say
   which way each one goes. */
@media (max-width: 899px) {
  .headstep__label {
    display: none;
  }
}

.headstep:hover,
.headstep:focus-visible {
  color: var(--accent);
}


.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.filter {
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter.is-on {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* --- grids ----------------------------------------------------------- */
/* Even and calm. Nothing is cropped: a tall photo takes one cell, a wide one
   takes two, so the rows always line up. */

.grid {
  display: grid;
  gap: 8px;
  align-items: start;
}

@media (min-width: 900px) {
  .grid {
    gap: 24px;
  }
}

.grid--selected {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
}

@media (min-width: 900px) {
  .grid--selected {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.grid--story {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px 8px;
}

@media (min-width: 900px) {
  .grid--story {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

/* EVERY PHOTO ON THE SITE HAS 2px ROUNDED CORNERS (James, Nov 14 2026), except
   full-screen ones (homepage, viewer) and the About portrait (10px, his pick).
   In a gallery cell the photo is sized to ITSELF, not object-fit: contain, so
   the corners land on the picture even when its shape isn't the cell's. --r is
   the photo's own shape, printed on the cell by the page, so the size is known
   before the photo loads (lazy loading needs a box to watch). */
.cell {
  display: grid;
  place-items: center;
  container-type: size;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

/* A wide photo takes two cells; one with nothing to pair with takes the whole
   row, so no black gap is left beside it. On phones the grid is two across,
   where a wide photo always fills the row anyway. */
.cell--span2,
.cellwrap--span2,
.cell--span3,
.cellwrap--span3,
.cell--span4,
.cellwrap--span4 {
  grid-column: span 2;
}

@media (min-width: 900px) {
  .cell--span3,
  .cellwrap--span3 {
    grid-column: span 3;
  }
  .cell--span4 {
    grid-column: span 4;
  }
}

.cell--span2,
.cell--span3,
.cell--span4,
.cellwrap--span2 .cell,
.cellwrap--span3 .cell,
.cellwrap--span4 .cell {
  aspect-ratio: 3 / 2;
}

.cell picture {
  display: contents;
}

.cell img {
  display: block;
  width: min(100cqw, 100cqh * (var(--r)));
  height: auto;
  aspect-ratio: var(--r);
  border-radius: 2px;
}

.cellwrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

/* Work cards */
.grid--work {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}

@media (min-width: 900px) {
  .grid--work {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.card__shot {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px; /* matches the model-gallery photos */
  background: var(--surface-800);
}

.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.card__name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .card__name {
    font-size: 20px;
  }
}

.card__year,
.card__credit {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.card__credit {
  margin-top: -8px;
}

/* --- end of page ----------------------------------------------------- */

.end {
  margin-top: 64px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

@media (min-width: 900px) {
  .end {
    margin-top: 96px;
  }
}

.end__words {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.end__line {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .end__line {
    font-size: 88px;
  }
}

.end__note {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.end__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

@media (min-width: 900px) {
  .end__buttons {
    width: auto;
  }
}

.end__buttons .btn {
  flex: 1 1 auto;
  padding: 0 28px;
}

.btn--outline {
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--buy {
  height: 44px;
  padding: 0 22px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line-buy);
}

.sitefoot {
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.sitefoot a {
  color: inherit;
  text-decoration: none;
}

.footnote {
  margin: 32px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* ==================================================================== menu */

.page--menu {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.cropmarks--plain i {
  mix-blend-mode: normal;
}

.toprow--menu {
  display: flex;
}

.menu__close {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu {
  flex: 1;
  max-width: var(--page);
  width: 100%;
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (min-width: 1100px) {
  /* The names column hugs the words and the gap is fixed, so the photo never
     drifts away from the menu as the screen grows — the photo takes the extra
     room instead. */
  .menu {
    /* Both columns hug their content and the PAIR is centred in the window
       (James, Nov 11 2026). The second column used to be `1fr`, which ate all
       the leftover room and parked it to the right of the photo: on the 27"
       the 1800px cap hid that, but on a 1440 laptop the whole menu sat hard
       left with a band of black down the right-hand side. */
    grid-template-columns: max-content max-content;
    justify-content: center;
    gap: clamp(56px, 5vw, 96px);
    padding-top: 56px;
    /* The height the photo gets. Declared HERE, not on the frame, because the
       names are sized and spread to match it — see .menu__list. */
    --frame-h: min(1000px, calc(100dvh - 300px));
    /* The name size, shared, so the ink nudge below can be worked out from it.
       An `em` on .menu__list would resolve against the LIST's 16px, not this. */
    --name-size: clamp(64px, min(7vw, calc(var(--frame-h) / 6.6)), 120px);
    /* How far a grouped name steps right, and how wide the number column is. */
    --name-indent: clamp(20px, calc(var(--name-size) * 0.26), 42px);
    /* The number column: the "01" is 28px wide and the item gap is 18px, so a
       name starts 46px in. Measured on the page — the group label lines up
       with the names it covers, not with the numbers. */
    --num-col: 46px;
  }
}

.menu__list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1100px) {
  .menu__list {
    /* Line the LETTERS up with the photo, not the text boxes. Oswald leaves
       about 0.21em of air above its capitals and a similar drop below the
       baseline, so the column is grown by that much at each end and pulled up
       by it — otherwise the first name reads lower than the photo's top edge
       (James, Nov 11 2026, on the 13"). Measured, not guessed: with the boxes
       flush the capitals sat 19px low at a 91px font. */
    /* Oswald's own metrics, measured on the page: the capitals start 0.13em
       below the top of a line box, and the last baseline sits 0.035em above
       the bottom of one. The two ends differ, so they are set separately —
       one shared number left the names 8px high and 16px long. */
    --ink-top: calc(var(--name-size) * 0.13);
    --ink-bottom: calc(var(--name-size) * 0.035);
    /* The names sit a little BELOW the top of the photo, not flush with it
       (James, Nov 11 2026 — it read better in the earlier versions, where the
       capitals started 0.21em down). Measured from the capitals, so the drop
       looks the same at every size. Set to 0 for flush. */
    --name-drop: calc(var(--name-size) * 0.21);
    /* TIGHTER, NOT SPREAD (James, Nov 11 2026). The list grows to meet the
       photo, but a row never gets more than 1.22 name-heights of space — past
       that the names drift apart and the menu stops reading as one block. So
       on a tall screen the column ends above the photo's bottom edge instead
       of being stretched to it. `--rows` is printed on the element by the page,
       since only it knows how many rows there are. */
    --row-step: 1.22;
    min-height: min(
      calc(var(--frame-h) + var(--ink-top) + var(--ink-bottom)),
      calc(var(--name-size) * var(--row-step) * var(--rows, 6))
    );
    margin-top: calc(var(--name-drop) - var(--ink-top));
    justify-content: space-between;
  }
}

/* A row is one number plus what it labels: either a name on its own, or WORK
   with its three galleries on a small line below (James, Nov 11 2026). */
.menu__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 64px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.menu__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.4s ease;
}

.menu__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* The Models · Bodies · Commercial line. Real links, printed, not folded away. */
/* MODELS starts under the W's BOTTOM-LEFT foot. Oswald's W splays, so the
   letter's top-left corner is at 0 but its left foot lands 0.12em in — that
   foot is what the sub-line lines up with (James, Nov 11 2026). Measured off
   the glyph's own ink, not guessed. */
.menu__sub {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: calc(var(--name-size, 52px) * 0.12);
  padding-bottom: 4px;
}

.menu__sublink {
  /* Small enough that MODELS · BODIES · COMMERCIAL stays on ONE line on a
     375px phone once the indent is taken off (James, Nov 11 2026 — it wrapped
     at 15px). Desktop sizes it from the name below. */
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.menu__sublink.is-on,
.menu__sublink:focus-visible {
  color: var(--accent);
}

.menu__dot {
  color: var(--text-dim);
  font-size: 12.5px;
}

/* WORK is printed in three pieces — W · OR · K — one per gallery under it, and
   each piece IS that gallery's link (James, Nov 11 2026): the W goes to Models,
   the OR to Bodies, the K to Commercial. Hovering either the piece or its name
   below lights both, and brings up that gallery's photo. */
.menu__wpart {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

.menu__wpart.is-on {
  color: var(--accent);
}

@media (min-width: 1100px) {
  .menu__row {
    gap: 18px;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
  }

  .menu__item {
    gap: 18px;
  }

  /* No :hover here — site.js lights a name only while the mouse is on its
     letters (James, Nov 13 2026: the boxes overlapped and two lit at once). */
  .menu__item.is-on,
  .menu__item:focus-visible {
    color: var(--accent);
  }

  .menu__stack {
    gap: calc(var(--name-size) * 0.06);
  }

  .menu__sub {
    gap: clamp(10px, calc(var(--name-size) * 0.12), 20px);
    padding-bottom: 0;
  }

  .menu__sublink,
  .menu__dot {
    /* A touch bigger (James, Nov 11 2026). */
    font-size: clamp(16px, calc(var(--name-size) * 0.21), 27px);
  }
}

.menu__num {
  width: 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

@media (min-width: 1100px) {
  .menu__num {
    width: 28px;
    font-size: 13px;
    color: var(--text-dim);
  }
}

.menu__hint {
  display: none;
}

.menu__name {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  /* The names fill the photo's height instead of stopping short of it (James,
     Nov 11 2026: six items left the list bunched at the top of a 27"). The
     size is the free height shared between the items, so the column grows and
     shrinks with the photo and the two always end level. */
  .menu__name {
    font-size: var(--name-size);
    line-height: 0.98;
  }

  /* The hint sits beside the name and takes NO width, so the longest hidden
     one cannot push the photo away. */
  .menu__hint {
    display: inline;
    flex: 0 0 0;
    width: 0;
    overflow: visible;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .menu__item.is-on .menu__hint,
  .menu__item:focus-visible .menu__hint {
    opacity: 1;
  }

  /* ABOUT / BOOK is long enough that its hint would run under the photo, so
     that ONE hint drops to the line below. It must be matched on the last ROW,
     not the last .menu__item — every item is the last child of its own row, so
     `.menu__item:last-child` caught all of them and pushed every hint under
     its name (James spotted it, Nov 11 2026). */
  .menu__row:last-child .menu__item {
    position: relative;
  }

  .menu__row:last-child .menu__hint {
    position: absolute;
    /* Ends where the name ends, so it still trails the line like the others.
       ABOUT / BOOK is the longest item, so the row's right edge is its own. */
    right: 0;
    top: 100%;
    margin-top: 10px;
    width: auto;
  }
}

/* The small grey word over a run of items that belong together (WORK). A
   heading, not a link: nothing to hover, nothing to open, so the phone needs no
   second design. The indent below it does the grouping work; the label just
   names it. */
.menu__group {
  margin: 18px 0 6px;
  padding-left: 34px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.menu__item--in {
  padding-left: 22px;
}

@media (min-width: 1100px) {
  .menu__group {
    /* Sits in the names column, lined up with the names, not the numbers. */
    margin: calc(var(--name-size) * 0.12) 0 calc(var(--name-size) * 0.04);
    padding-left: calc(var(--num-col) + var(--name-indent));
    font-size: 13px;
  }

  .menu__item--in {
    padding-left: var(--name-indent);
  }
}

.menu__frame {
  display: none;
}

@media (min-width: 1100px) {
  .menu__frame {
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* Don't stretch to the column, or the aspect ratio below is ignored. */
    justify-self: start;
    align-self: start;
  }
}

.menu__frames {
  position: relative;
  --frame-h: min(1000px, calc(100dvh - 300px));
  /* Keeps its 5:6 portrait shape and grows with the window — sized by the
     height that is actually free, so the menu always fits on one screen.
     The width is WORKED OUT, not left to aspect-ratio: the frame's children
     are all absolutely positioned, so it has no content width of its own and
     Safari collapses it to a thin strip if asked to infer one. */
  height: var(--frame-h);
  width: calc(var(--frame-h) * 5 / 6);
  max-width: 100%;
  overflow: hidden;
  background: var(--surface-800);
  border-radius: 2px; /* a photo: 2px like every photo */
}

.menu__preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.menu__preview.is-on {
  opacity: 1;
}

.menu__preview img,
.menu__preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.menu__foot {
  max-width: var(--page);
  width: 100%;
  margin: 0 auto;
  padding: 32px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1100px) {
  .menu__foot {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 40px;
  }
}

.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

@media (min-width: 1100px) {
  .menu__contact {
    flex-direction: row;
    gap: 56px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }
}

.menu__contact div {
  display: flex;
  flex-direction: column;
}

.menu__contact a {
  color: inherit;
  text-decoration: none;
}

.menu__contact .is-bright {
  color: var(--ink);
}

/* ================================================================== story */

/* The story header matches the gallery headers (James, Nov 11 2026): the name,
   then ONE row under it carrying "‹ Models" at the left and "Next story →"
   right-justified, both sitting on the divider line. Back used to be ABOVE the
   name with a "Story 16 / 50 · Models · 29 frames" eyebrow under it — about
   100px of black before the name, on the only page that still had it. The
   eyebrow went for the same reason it went from the galleries: the name says
   it. Frame counts still show in the full-screen viewer. */
.storyhead {
  display: flex;
  flex-direction: column;
  gap: var(--head-rowgap);
  padding: var(--head-top) 0 var(--head-bottom);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--head-gap);
}

.storyhead__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  min-width: 0;
}

/* CENTRED, not baseline-aligned: "‹ Models" is itself a flex box with a
   44px tap target, so its baseline is its bottom edge and "Next story" rode
   ~25px high on a phone. */
.storyhead__under {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: calc(-1 * var(--row-overhang));
}

/* The second "Next story" on the page — the big card with the cover photo is
   still at the bottom. This one is the skip-ahead; that one is the hand-off
   once you have finished. James was told there would be two and kept both. */
.storyhead__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

/* The link names the model (James, Nov 11 2026). On a phone the words
   "Next story:" are dropped and only the name is left — the longest pair,
   "‹ MODELS" plus "NEXT STORY: KANYKEI KUDAIAROVA", does not fit a 375px
   screen on one row, and the arrow already says where it goes. */
@media (max-width: 899px) {
  .storyhead__nextlabel {
    display: none;
  }
}

.storyhead__next:hover,
.storyhead__next:focus-visible {
  color: var(--accent);
}

/* A model's own sentence, beside her name, the same size as a gallery's line.
   THE CREDITS BOX IS GONE (James, Nov 11 2026). It held Model / Agency /
   Location; the name became the heading, agencies came off the whole site, and
   Location was filled in on 1 of 51 pages — so 50 pages printed an empty 440px
   box. On the longest name, Niki Christine Larson, it could not fit beside her
   and dropped to a second flex line, and the 32px row gap showed up as dead
   space. Nothing takes a fixed width here now, so an empty one cannot push
   anything about. */
.storyhead__note {
  max-width: 34em;
}

.bigtitle .backlink {
  min-height: 0;
  margin-bottom: -2px;
}

.backlink {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.end--story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 0;
}

@media (min-width: 900px) {
  .end--story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.end--story .end__words {
  gap: 20px;
}

.end--story .btn {
  align-self: stretch;
}

@media (min-width: 900px) {
  .end--story .btn {
    align-self: flex-start;
    padding: 0 28px;
  }
}

.nextstory {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  text-decoration: none;
  color: var(--ink);
}

@media (min-width: 900px) {
  .nextstory {
    justify-self: end;
  }
}

.nextstory__shot {
  flex: 0 0 auto;
  width: 120px;
}

@media (min-width: 900px) {
  .nextstory__shot {
    width: 200px;
  }
}

.nextstory__shot img {
  border-radius: 2px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.nextstory__words {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nextstory__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 40px;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .nextstory__name {
    font-size: 64px;
  }
}

.nextstory__meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ================================================================= motion */

.film {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.film--hero {
  gap: 14px;
}

.film__shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface-800);
}

.film__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playbtn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ink);
}

.playbtn svg {
  width: 40%;
  height: 40%;
  margin-left: 8%;
}

.film--hero .playbtn {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}

@media (min-width: 900px) {
  .film--hero .playbtn {
    width: 112px;
    height: 112px;
    margin: -56px 0 0 -56px;
  }
}

.film__num {
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
  mix-blend-mode: difference;
}

.film__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.film__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.film--hero .film__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 900px) {
  .film__title {
    font-size: 22px;
  }
  .film--hero .film__title {
    font-size: 48px;
  }
}

.film__meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.grid--motion {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 40px;
}

@media (min-width: 900px) {
  .grid--motion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
    padding-top: 56px;
  }
}

/* =================================================================== shop */

.series {
  padding-top: 40px;
}

/* No heading above the first series, so its prints start right under the
   page header's line, like every gallery grid. */
.series:first-of-type {
  padding-top: 0;
}

@media (min-width: 900px) {
  .series:not(:first-of-type) {
    padding-top: 56px;
  }
}

.series__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.series__name {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .series__name {
    font-size: 28px;
  }
}

.series__note {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.grid--shop {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 900px) {
  .grid--shop {
    /* Three across: each series is three prints, so one row each (Nov 13 2026). */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 24px;
  }
}

.print {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* The same dark mat behind every print, so the row stays even. */
.mat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: var(--mat-ratio, 0.8);
  padding: 5%;
  background: var(--mat);
  border: 0;
  border-radius: var(--radius-box);
  cursor: zoom-in;
}

.mat {
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 2px;
}

.mat--empty {
  cursor: default;
}

/* The mat lifts a touch on hover, like a print being picked up. */
@media (hover: hover) {
  a.mat img {
    transition: transform 0.5s ease;
  }
  a.mat:hover img {
    transform: scale(1.03);
  }
}

.print__name a {
  color: inherit;
  text-decoration: none;
}

.print__name a:hover {
  color: var(--accent);
}

/* ------------------------------------------------- one print's own page */

.printhero {
  margin-bottom: 28px;
}

.printhero .mat--hero {
  display: flex;
  /* Sized by the window's HEIGHT as well as its width, so a portrait print
     doesn't run off a 13" screen (same rule as the About hero). */
  width: 100%;
  max-width: calc(72vh * var(--mat-ratio, 0.8));
  margin: 0 auto;
  aspect-ratio: var(--mat-ratio, 0.8);
  padding: 4%;
  cursor: default;
}

.printbuy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

/* The picture FILLS the mat. It used to be width/height:auto, which lets an
   image shrink but never grow — so every print rendered at its file size and
   floated in a big black box (James, Nov 11 2026: "very small, very sparse"). */
.mat img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.mat__missing,
.portrait__slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

.mat__missing small,
.portrait__slot small {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-caption);
}

.print__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.print__words {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.print__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.print__price {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ================================================================== about */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  padding-top: 24px;
}

@media (min-width: 900px) {
  /* The photo's column is as wide as the PHOTO, not half the page (James,
     Nov 11 2026). Once the portrait was capped by window height it no longer
     filled a half-page column, and the leftover sat as a block of black
     between the picture and the name. */
  .hero {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    padding-top: clamp(16px, 3vh, 40px);
    /* Set in from the left edge, so the portrait sits ON the page rather than
       against its edge (James, Nov 11 2026). The sections below stay flush,
       which is what makes the inset read as deliberate. */
    padding-left: clamp(24px, 4vw, 80px);
  }
}

.portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  /* Rounded like the Book a shoot button (James, Nov 13 2026). */
  border-radius: 10px;
}

/* The self-portrait is sized by the WINDOW'S HEIGHT, not by its column (James,
   Nov 11 2026: it dominated the page on both the 13" and the 27"). Half the
   content column is 648px wide, and a 2:3 portrait at that width is 972px
   tall — taller than a 13" screen. Capped at 60% of the window, 720px at most,
   with the width following the picture's own shape. */
@media (min-width: 900px) {
  .portrait {
    align-items: flex-start;
  }

  .portrait img,
  .portrait__slot {
    max-height: min(62vh, 880px);
    width: auto;
    max-width: 100%;
  }

  .portrait__slot {
    height: min(62vh, 880px);
    aspect-ratio: 4 / 5;
  }
}

.portrait__slot {
  aspect-ratio: 4 / 5;
  background: var(--surface-900);
  border-radius: var(--radius-box);
}

.portrait figcaption {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-caption);
}

.hero__words {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 28px;
}

/* On a wide screen the bio may run wider than the usual 560px measure, so the
   hero fills the page instead of leaving a field of black to its right
   (James, Nov 11 2026). Still capped — 40em is about as wide as a line of
   text can get and stay readable. */
@media (min-width: 1600px) {
  .hero__words .body {
    max-width: 40em;
  }
}

.hero__role {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__words .btn {
  align-self: stretch;
}

@media (min-width: 900px) {
  .hero__words .btn {
    align-self: flex-start;
    padding: 0 28px;
  }
}

.lists {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 900px) {
  .lists {
    margin-top: 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.listhead {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.listline {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .listline {
    font-size: 26px;
  }
}

.booking {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 900px) {
  .booking {
    margin-top: 96px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }
}

.booking__words {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.booking__contact a {
  color: inherit;
  text-decoration: none;
  min-height: 28px;
}

.bookform {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-content: start;
}

@media (min-width: 900px) {
  .bookform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bookform label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bookform .wide,
.bookform__error,
.bookform__send {
  grid-column: 1 / -1;
}

.bookform input,
.bookform textarea {
  padding: 12px 14px;
  background: var(--surface-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-box);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.bookform input {
  height: 48px;
  padding: 0 14px;
}

.bookform textarea {
  resize: vertical;
}

.bookform__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--accent);
}

.bookform__send {
  justify-self: stretch;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

@media (min-width: 900px) {
  .bookform__send {
    justify-self: start;
    padding: 0 36px;
  }
}

.thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 360px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-box);
}

.thanks__big {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.thanks__note {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-soft);
}

/* Last screen: a slowly drifting strip of portraits. */
.last {
  margin-top: 64px;
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .last {
    margin-top: 96px;
  }
}

.last__strip {
  overflow: hidden;
  width: 100%;
}

.strip {
  display: flex;
  /* The 8px is a RIGHT MARGIN on each photo, not a flex gap (James, Nov 11
     2026). The row is the photo list printed twice and slid left by half its
     width; with a gap there is one fewer gap than photos, so half the width
     was 4px short of one full copy and the strip snapped back 4px every
     70 seconds. A margin on every photo makes the two halves identical. */
  width: max-content;
  /* Safari drew this 4700px row as one big tile and, on a refresh, didn't
     paint it until the window was switched away and back — the animation
     clock had meanwhile run on, so it came back blank and already far left
     (James, Nov 11 2026). Two things stop it: say up front that this is a
     moving layer, so Safari gives it its own composited surface; and don't
     start the slide until site.js has loaded the photos and added
     .strip--go, so it always begins from zero instead of catching up. */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.strip--go {
  animation: drift 70s linear infinite;
}

.strip img {
  border-radius: 2px;
  margin-right: 8px;
  height: 180px;
  width: auto;
  display: block;
}

@media (min-width: 900px) {
  .strip img {
    height: 300px;
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip,
  .strip--go {
    animation: none;
  }
}

.last__row,
.last__legal {
  max-width: var(--page);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.last__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.last__clock {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 900px) {
  .last__clock {
    text-align: right;
  }
}

.last__clock time {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 900px) {
  .last__clock time {
    font-size: 56px;
  }
}

.last__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* ================================================= full-screen viewer */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--black);
  display: flex;
  flex-direction: column;
  animation: viewer-in 0.45s ease;
}

.viewer__window {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Films open as a window floating over the page, with the page dimmed behind
   it. Clicking the dimmed page puts you back on Motion. Photos keep the
   approved full-screen black viewer. */
/* Plain dim, no backdrop-filter. Blurring behind a layer that also holds an
   iframe makes the browser build and tear down a backdrop root, and the seam
   that leaves flickers around the window. The dim alone does the job. */
.viewer[data-kind='film'] {
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.viewer[data-kind='film'] .viewer__window {
  flex: 0 1 auto;
  width: fit-content;
  min-width: min(420px, 92vw);
  max-width: 92vw;
  max-height: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius-box);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  cursor: auto;
  /* No clipping of the player: an iframe cut by a rounded corner leaves a seam
     that comes and goes as compositing layers settle. */
  isolation: isolate;
}

.viewer[data-kind='film'] .viewer__bar,
.viewer[data-kind='film'] .viewer__foot {
  flex: 0 0 auto;
}

.viewer[data-kind='film'] .viewer__stage {
  flex: 0 0 auto;
  padding: 0;
}

@keyframes viewer-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .viewer {
    animation: none;
  }
}

.viewer__bar,
.viewer__foot {
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.viewer__bar {
  height: var(--bar);
  justify-content: space-between;
}

.viewer__label {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewer:focus {
  outline: none;
}

.viewer__close {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.viewer__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 8px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer__stage picture,
.viewer__stage img {
  width: 100%;
  height: 100%;
  display: block;
}

.viewer__stage img {
  object-fit: contain;
}

/* While the sharp photo downloads, the small grid copy (already on the device)
   stands in exactly where it will land, so a step never shows a black screen. */
.viewer__stage .viewer__ghost {
  position: absolute;
  top: 8px;
  left: var(--gutter);
  width: calc(100% - 2 * var(--gutter));
  height: calc(100% - 16px);
}
.viewer__stage picture {
  position: relative;
}
#viewer-img.is-loading {
  opacity: 0;
}

/* THREE ZONES, full height (James, Nov 11 2026). Stepping is what you do most,
   so left and right take 46% each and the way OUT is a narrow strip, 8%, down
   the middle of the picture. Each has its own cursor, so the arrow under the
   pointer always says what the click will do. It went top band → even thirds →
   this: James wanted it in the middle, but left/right heavy. */
.viewer__half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46%;
  padding: 0;
  background: transparent;
  border: 0;
}

.viewer__half--prev {
  left: 0;
  cursor: w-resize;
}

.viewer__half--next {
  right: 0;
  cursor: e-resize;
}

.viewer__up {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46%;
  right: 46%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: n-resize;
}

.playbtn--viewer {
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-color: var(--ink);
  background: var(--scrim);
  cursor: pointer;
  z-index: 1;
}

/* The whole window — bar, player, footer, padding — has to fit the screen, so
   the player is sized from what is left after the rest.
   IT GROWS WITH THE SCREEN (James, Nov 11 2026): it used to stop at 1100px, so
   a 27" showed exactly the same size player as a 13". The 1.53 multiplier is
   picked to keep the 13" where it is — on a 1440x900 the room is 718px, and
   718 x 1.53 is the 1100 it had — while a 1440-tall screen gets 1800. */
.viewer__film {
  --room: calc(100dvh - var(--bar) - 76px - 50px);
  width: min(92vw, calc(var(--room) * 1.53), 1800px);
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Valerie was shot vertical. Same idea: bounded by the room, free to grow. */
.viewer__film--tall {
  width: min(92vw, calc(var(--room) * 9 / 16), 900px);
  aspect-ratio: 9 / 16;
}

.viewer__foot {
  height: 76px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

/* Films get their arrows down here instead of as halves over the picture —
   nothing may sit on the player, or Vimeo's control bar never appears.
   Plain arrows either side of the count, no boxes. */
.viewer__foot--film {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.filmnav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease;
}

.filmnav:hover,
.filmnav:focus-visible {
  color: var(--ink);
}

.viewer__foot--film .viewer__counter {
  min-width: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}

.viewer__counter {
  text-align: center;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.viewer__action {
  justify-self: end;
}

.viewer__link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}

/* With a mouse, only the letters are clickable: the black space between names
   is plain page (site.js). */
@media (hover: hover) and (pointer: fine) {
  .menu__list a { cursor: default; }
  .menu__list.is-pointing a { cursor: pointer; }
}

/* ---- right-click copyright note (layout.js) ---- */
img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.is-guarded { opacity: 0.45; transition: opacity 0.2s; }
.guard-note {
  position: fixed; z-index: 9999; max-width: 26em;
  padding: 12px 16px; border-radius: 5px;
  background: #fff; color: #000;
  font: 15px/1.35 system-ui, sans-serif;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
