/* duncanbone.com
   White page, black Helvetica, one red. Sizes are taken from the Wix site at
   1706px wide and expressed in vw so the proportions hold at any width. */

:root {
  --red: #f00;
  --ink: #000;
  --paper: #fff;
  --soft: #000;
  --gut: clamp(16px, 2.35vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);      /* fast start, long settle */
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --display: -0.05em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ── menu: five red icons that float, no bar ───────────────────────── */
.nav {
  position: fixed; z-index: 40; left: 0; right: 0;
  top: calc(env(safe-area-inset-top, 0px) + clamp(18px, 2.4vw, 40px));
  display: flex; justify-content: center; gap: clamp(20px, 4.7vw, 80px);
  pointer-events: none;
  transition: transform 0.7s var(--ease);
  view-transition-name: nav;
}
.nav a {
  pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--red); transition: transform 0.45s var(--ease);
}
.nav svg { width: 26px; height: 26px; fill: currentColor; overflow: visible; }
.nav a:hover { transform: translateY(-3px) scale(1.12); }
.nav a:active { transform: scale(0.94); transition-duration: 0.1s; }
.nav--away { transform: translateY(calc(-100% - 80px)); }
/* back: top left, red like the menu, always there */
.back { position: fixed; z-index: 41; left: calc(var(--gut) - 10px); top: calc(env(safe-area-inset-top, 0px) + clamp(18px, 2.4vw, 40px)); width: 44px; height: 44px; display: grid; place-items: center; color: var(--red); transition: transform 0.45s var(--ease); }
.back svg { width: 40px; height: 40px; }
.back { width: 56px; height: 56px; left: calc(var(--gut) - 14px); }
/* over a full-screen film or picture the menu and the back arrow are white; past it, red again */
.on-dark .nav a, .on-dark .back { color: #fff; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35)); }
.nav a, .back { transition: color 0.3s ease, transform 0.45s var(--ease); }
.back:hover { transform: translateX(-4px); }

/* ── home: name, two lines, the list ───────────────────────────────── */
.top { text-align: center; padding-top: clamp(120px, 9.4vw, 160px); }
.name {
  margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4;
  letter-spacing: 0.52em; text-indent: 0.52em; text-transform: uppercase;
}
.name a { text-decoration: none; }
.lede { margin: 34px 0 0; font-size: 18px; font-weight: 400; line-height: 1.45; }

.names {
  margin: clamp(20px, 1.9vw, 32px) auto 0; padding: 0 var(--gut);
  max-width: 64vw; text-align: center;
  font-weight: 700; font-size: clamp(3.25rem, 8.67vw, 12rem); line-height: 1;
  letter-spacing: var(--display);
}
.nm { display: inline-block; transition: opacity 0.35s ease; }
.names a {
  text-decoration: underline; text-decoration-thickness: 0.062em; text-underline-offset: 0.05em;
  transition: color 0.2s ease;
}

/* the picture that follows the pointer along the list */
.pv {
  position: fixed; z-index: 30; left: 0; top: 0; width: clamp(220px, 22vw, 380px);
  pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0);
  transition: opacity 0.3s ease; will-change: transform;
}
.pv img { width: 100%; height: auto; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); }
.pv.on { opacity: 1; }
.pv { overflow: hidden; }
.pv img { height: 100%; object-fit: cover; }
.pv .pv__cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; box-shadow: none; }
.pv .pv__cut.on { opacity: 1; }
.pv .pv__cut.slow { transition: opacity 0.7s ease; }

/* ── home: the work, three columns ─────────────────────────────────── */
.grid {
  display: flex; align-items: flex-start; gap: 7.3vw;
  padding: clamp(72px, 8.6vw, 150px) var(--gut) 0;
}
.grid__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 7.3vw; will-change: transform; }
.tile a { display: block; position: relative; text-decoration: none; }
.tile__frame { display: block; overflow: hidden; position: relative; background: #f4f4f4; }
.tile__frame img, .tile__frame video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.tile__frame video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.tile__frame video.on { opacity: 1; }
.tile__frame .tile__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; transform: scale(1.06); transition: opacity 0.7s ease, transform 2.4s var(--ease); }
.tile__frame .tile__alt.on { opacity: 1; transform: scale(1); }
.tile__frame .tile__cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; background: #f4f4f4; }
.tile__frame .tile__cut.on { opacity: 1; }
.tile__cap {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: 12px;
  font-size: 13px; line-height: 1.35; color: var(--soft);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.5s var(--ease);
}
.tile__cap b { color: var(--ink); font-weight: 700; margin-right: 0.5em; }
@media (hover: hover) {
  .tile a:hover img { transform: scale(1.045); }
  .tile a:hover .tile__cap, .tile a:focus-visible .tile__cap { opacity: 1; transform: none; }
}
.tile a:active .tile__frame { transform: scale(0.985); transition: transform 0.12s ease-out; }

.foot { text-align: center; font-size: 12px; font-weight: 300; padding: clamp(40px, 4vw, 64px) var(--gut) calc(40px + env(safe-area-inset-bottom, 0px)); }

/* ── inner pages ───────────────────────────────────────────────────── */
.col { width: min(1360px, 100% - 2 * var(--gut)); margin-inline: auto; }
.body.col { width: min(980px, 100% - 2 * var(--gut)); }
.name--rule { padding: clamp(120px, 9.4vw, 160px) 0 14px; text-align: center; border-bottom: 3px solid var(--ink); }
.title {
  margin: clamp(40px, 4.2vw, 72px) 0 clamp(36px, 3.6vw, 60px);
  font-weight: 700; font-size: clamp(2.75rem, 6.45vw, 6.9rem); line-height: 1;
  letter-spacing: var(--display); text-wrap: balance;
}
.facts { display: flex; flex-wrap: wrap; margin: 0 0 clamp(40px, 4vw, 64px); font-size: 11px; line-height: 1.3; text-transform: uppercase; }
.facts div { flex: 0 0 auto; min-width: 118px; padding-right: 40px; }
.facts div:last-child { flex: 1 1 auto; }
.facts dt { font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.facts dd { margin: 0; padding-top: 8px; }

.body > p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }
.body > p.list { margin: 1.6em 0; line-height: 1.6; }
.body > p.cap { margin: -0.4em 0 2.4em; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.body > h2 {
  margin: clamp(56px, 6vw, 104px) 0 0.5em; font-weight: 700;
  font-size: clamp(1.75rem, 3.1vw, 3.25rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance;
}
.body a { text-decoration-thickness: from-font; text-underline-offset: 0.15em; }
.body a:hover { text-decoration-thickness: 2px; }

.pic { margin: clamp(28px, 3vw, 48px) 0; overflow: hidden; }
.pic img { width: 100%; height: auto; }
.pic--small img { width: auto; max-width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.pair .pic { margin: clamp(14px, 1.5vw, 24px) 0; }

/* ── films ─────────────────────────────────────────────────────────── */
.film { position: relative; margin: clamp(28px, 3vw, 48px) 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; }
.film__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.film--ambient { cursor: default; aspect-ratio: auto; background: none; }
.film--ambient .film__loop { position: static; height: auto; }
.film__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  appearance: none; border: 0; background: none; color: #fff; cursor: pointer;
  font: 400 clamp(1.125rem, 1.7vw, 1.6rem)/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.01em;
  padding: 16px 20px; transition: transform 0.5s var(--ease);
}
.film__play span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.film__play::before { content: ""; display: inline-block; width: 0.62em; height: 0.72em; margin-right: 0.3em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.film:hover .film__loop { transform: scale(1.03); }
.film:hover .film__play { transform: scale(1.06); }
.film:active .film__play { transform: scale(0.97); transition-duration: 0.1s; }

/* a film project opens on the film itself, the whole screen */
.hero {
  margin: 0; aspect-ratio: auto; height: 100vh; height: 100lvh; width: 100%;
  view-transition-name: hero;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 46%), linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 26%); pointer-events: none; }
.name--over { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(120px, 9.4vw, 160px); text-align: center; color: #fff; }
.hero__foot {
  position: absolute; z-index: 2; left: var(--gut); right: var(--gut);
  bottom: calc(var(--gut) + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; color: #fff;
}
.hero__title {
  margin: 0; font-weight: 700; font-size: clamp(2.75rem, 6.45vw, 6.9rem); line-height: 1;
  letter-spacing: var(--display); text-wrap: balance; max-width: 14ch;
}
.hero__play { position: static; translate: none; padding: 0 0 0.08em; white-space: nowrap; }
.has-film .hero + .col { padding-top: clamp(28px, 3vw, 48px); }

/* a project that opens on a picture instead of a film */
.hero--pic { position: relative; overflow: hidden; }
.hero--pic::after { display: none; }
.hero--pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 15vh 9vw 11vh; }
.name--ink { color: var(--ink); }
.hero--fill::after { display: block; }
.hero--fill .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap--light { color: #fff; }
.hero__cap { position: absolute; left: var(--gut); bottom: calc(var(--gut) + env(safe-area-inset-bottom, 0px)); margin: 0; font-size: 12px; }

/* the film, full screen, with sound */
.theatre { position: fixed; inset: 0; z-index: 60; background: #000; display: grid; place-items: center; }
.theatre iframe, .theatre video { width: 100vw; height: 100vh; height: 100dvh; border: 0; background: #000; }
.theatre__close {
  position: absolute; z-index: 2; right: var(--gut); top: calc(var(--gut) + env(safe-area-inset-top, 0px));
  appearance: none; border: 0; background: none; color: #fff; cursor: pointer; width: 44px; height: 44px; padding: 0;
  transition: transform 0.45s var(--ease);
}
.theatre__close::before, .theatre__close::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: currentColor;
}
.theatre__close::before { transform: rotate(45deg); }
.theatre__close::after { transform: rotate(-45deg); }
.theatre__close:hover { transform: rotate(90deg); }
.theatre__close:focus, .theatre__close:focus-visible { outline: none; }
body.locked { overflow: hidden; }
.theatre__video { width: 100vw; height: 100vh; height: 100dvh; object-fit: contain; background: #000; cursor: pointer; }
.theatre__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; cursor: pointer; }
.theatre__bar i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.theatre__bar:hover i { height: 4px; }
.theatre.is-paused::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 40px; margin: -20px 0 0 -14px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); pointer-events: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }

/* ── the measured project layout (desktop) ─────────────────────────── */
.sheet-wrap { display: none; margin-top: clamp(28px, 3vw, 48px); }
.sheet { position: relative; width: 980px; margin-inline: auto; }
.cv { position: absolute; margin: 0; }
.cv-t { color: var(--ink); }
.cv-intro { font-weight: 700; letter-spacing: -0.01em; }
.cv-t a { text-underline-offset: 0.15em; }
.cv-slab { font-family: "Museo Slab", "Roboto Slab", Rockwell, Georgia, serif; }
.cv.pic img { width: 100%; height: 100%; object-fit: cover; }
.cv-film .film { margin: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.cv-film .film__play { font-size: clamp(1rem, 2vw, 1.75rem); }
.cv-rule { border: 0; border-top: 1px solid var(--ink); height: 0; }
@media (min-width: 761px) {
  .sheet-wrap { display: block; }
  .has-sheet .flow { display: none; }
}

/* ── the gallery layout ────────────────────────────────────────────── */
.gallery { padding-top: clamp(24px, 3vw, 48px); }
.g-intro p {
  margin: 0 0 clamp(56px, 6vw, 96px); max-width: 30ch;
  font-weight: 700; font-size: clamp(1.375rem, 2.1vw, 2rem); line-height: 1.22; letter-spacing: -0.02em; text-wrap: pretty;
}
.g-intro--line p { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch; }
.g-intro a { text-decoration: none; }
.g-text a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.g-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34em); column-gap: clamp(32px, 6vw, 120px); align-items: start; margin: 0 0 clamp(56px, 6vw, 96px); }
.g-opening .g-intro p { margin-bottom: 0; }
.g-opening .g-section--beside { display: block; margin: 0.4em 0 0; }
.g-section { display: grid; grid-template-columns: 1fr minmax(0, 34em) 1fr; column-gap: 32px; margin: 0 0 clamp(56px, 6vw, 96px); }
.g-label { margin: 0.35em 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.g-text { grid-column: 2; font-size: 18px; line-height: 1.6; }
.g-awards { margin-top: 40px; }
.g-awards h3 { margin: 0 0 20px; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; }
.g-awards__cols { columns: 2; column-gap: 32px; }
.g-award { break-inside: avoid; margin: 0 0 24px; }
.g-award h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.g-award ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.55; }
@media (max-width: 760px) { .g-awards__cols { columns: 1; } }
.g-phone-only { display: none; }
@media (max-width: 760px) { .g-phone-only { display: block; } }
/* a picture in versions: the frame holds still while the versions cross-fade on scroll */
.g-fade { height: calc(var(--n) * 55vh + 40vh); margin-block: clamp(40px, 5vw, 80px); }
.g-fade__frame { position: sticky; top: 12vh; width: 100%; max-height: 76vh; }
.g-fade__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.6s ease; }
.g-fade__frame img.on { opacity: 1; }
@media (max-width: 760px) { .g-fade { height: auto; } .g-fade__frame { position: relative; top: 0; } }
.g-kicker { margin: 0 0 24px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.g-text p { margin: 0 0 1.1em; text-wrap: pretty; }
.g-list { font-size: 15px; line-height: 1.55; columns: 2; column-gap: 32px; }
.g-cap { font-size: 13px; }
.g-head { margin: clamp(48px, 6vw, 96px) 0 clamp(20px, 2vw, 32px); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.g-pic { margin: 0; position: relative; }
.g-pic img { width: 100%; height: auto; display: block; }
.g-pic figcaption { margin-top: 12px; font-size: 13px; line-height: 1.45; max-width: 36em; }
.g-row { margin: 0 0 clamp(56px, 7vw, 120px); }
.g-one.is-wide .g-pic { width: 100%; }
.g-one.is-left .g-pic { width: 50%; margin-inline: auto; }
.g-one.is-right .g-pic { width: 50%; margin-inline: auto; }
.g-overlap { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.g-overlap .g-big { grid-column: 1 / span 8; grid-row: 1; z-index: 1; }
.g-overlap .g-small { grid-column: 7 / span 5; grid-row: 1; margin-top: 18%; z-index: 2; }
.g-overlap.is-flip .g-big { grid-column: 5 / span 8; }
.g-overlap.is-flip .g-small { grid-column: 2 / span 5; }
.g-stack { position: relative; width: 100%; }
.g-stack .g-pic { position: absolute; will-change: translate; }
.g-stack .g-pic figcaption { position: absolute; top: 100%; }
/* floating photos: three columns, each drifting as one on scroll */
.g-float { position: relative; width: 100%; margin-block: clamp(40px, 6vw, 100px); }
.g-float__col { position: absolute; top: 0; bottom: 0; will-change: translate; }
.g-float .g-pic { position: absolute; left: 0; width: 100%; margin: 0; }
.g-collage + .g-collage { margin-top: clamp(60px, 8vw, 140px); }
.g-mark { display: flex; justify-content: center; margin-block: clamp(120px, 12vw, 200px) clamp(48px, 6vw, 96px); }
.g-mark .g-pic { width: min(340px, 50%); margin: 0; }
@media (max-width: 760px) {
  .g-float { aspect-ratio: auto !important; display: flex; flex-direction: column; gap: 16px; }
  .g-float__col { position: static; display: contents; }
  .g-float .g-pic { position: static; }
}
.g-even { display: flex; gap: 20px; align-items: flex-start; }
.g-film { margin: 0 0 clamp(56px, 7vw, 120px); }
.g-film .film { margin: 0; }
.g-filmcap { margin: 12px 0 0; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.g-strip { margin: 0 calc(-1 * max(var(--gut), (100vw - 100%) / 2)) clamp(56px, 7vw, 120px); overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: none; outline: none; }
.g-strip::-webkit-scrollbar { display: none; }
.g-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.g-strip__track { display: flex; gap: 20px; padding: 0 max(var(--gut), calc((100vw - 1360px) / 2)); width: max-content; }
.g-strip .g-pic { height: min(62vh, 640px); width: auto; flex: none; scroll-snap-align: start; }
.g-strip .g-pic img { height: 100%; width: auto; user-select: none; -webkit-user-drag: none; }
@media (max-width: 760px) {
  .g-intro p { max-width: none; }
  .g-section { display: block; }
  .g-opening { display: block; }
  .g-opening .g-intro p { margin-bottom: 32px; }
  .g-label { margin-bottom: 14px; }
  .g-text { font-size: 17px; }
  .g-one .g-pic, .g-one.is-left .g-pic, .g-one.is-right .g-pic { width: 100%; }
  .g-overlap { display: block; }
  .g-overlap .g-small { width: 70%; margin: -12% 0 0 auto; }
  .g-even { flex-direction: column; }
  .g-stack { aspect-ratio: auto !important; display: flex; flex-direction: column; gap: 16px; }
  .g-stack .g-pic { position: static; width: 100% !important; }
  .g-even .g-pic { flex: none !important; width: 100%; }
  .g-strip .g-pic { height: 52vh; }
  .g-list { columns: 1; }
}

/* ── the play mark, and the small one that follows the pointer ─────── */
.film__play { width: clamp(64px, 7vw, 112px); height: clamp(64px, 7vw, 112px); padding: 0; }
.film__play::before { width: 100%; height: 100%; margin: 0; display: block; clip-path: polygon(14% 0, 100% 50%, 14% 100%); }
.hero__play { width: clamp(72px, 8vw, 128px); height: clamp(72px, 8vw, 128px); }
.film[data-kind], .hero[data-kind] { cursor: none; }
.film-cursor {
  position: fixed; left: 0; top: 0; z-index: 50; width: 30px; height: 34px; margin: -17px 0 0 -12px; pointer-events: none;
  background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0; transform: translate3d(-200px, -200px, 0);
  transition: opacity 0.2s ease; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.film-cursor.on { opacity: 1; }
/* one mark only: with a pointer the small white play mark follows it; on a touch screen a small one sits still */
@media (hover: hover) and (pointer: fine) { .film__play { opacity: 0; } }
.film__play { width: 30px; height: 34px; }
.hero__play { width: 30px; height: 34px; }
@media (hover: none) { .film-cursor { display: none; } .film[data-kind], .hero[data-kind] { cursor: pointer; } }

/* ── next / previous ───────────────────────────────────────────────── */
.next { display: flex; justify-content: space-between; gap: var(--gut); margin-top: clamp(80px, 9vw, 160px); padding-top: 18px; border-top: 3px solid var(--ink); }
.next a {
  flex: 0 1 46%; text-decoration: none; font-weight: 700; font-size: 20px;
  line-height: 1.2; letter-spacing: -0.03em; text-wrap: balance; transition: color 0.2s ease;
}
.next a span { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.next__next { text-align: right; }
.next a:hover { text-decoration: underline; text-decoration-thickness: 0.062em; text-underline-offset: 0.08em; }
.next a:hover span { text-decoration: none; display: block; }

/* ── menu pages (Garage, Google) ───────────────────────────────────── */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.menu__item { text-decoration: none; }
.menu__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.menu__item:hover img { transform: scale(1.045); }
.menu__name { display: block; margin-top: 14px; font-weight: 700; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.05; letter-spacing: -0.04em; }
.menu__item:hover .menu__name { text-decoration: underline; text-decoration-thickness: 0.062em; text-underline-offset: 0.08em; }

/* ── about, contact: as on the Wix site ────────────────────────────── */
.about-title { font-size: clamp(2.75rem, 6.1vw, 5.5rem); margin-bottom: clamp(40px, 4.8vw, 69px); }
.body.about { columns: 3; column-gap: clamp(32px, 4.8vw, 69px); }
.body.about > p { font-size: 15px; line-height: 27px; margin: 0 0 27px; max-width: none; break-inside: auto; }
.js .body.about > p.reveal { opacity: 1; transform: none; }
/* About: the quotes as big editorial pull quotes, stepping in from the left */
.quotes { margin-top: clamp(96px, 10vw, 180px); display: grid; gap: clamp(88px, 10vw, 160px); }
.quote { margin: 0; max-width: 26em; font-size: clamp(1.5rem, 2.6vw, 2.5rem); }
.quote:nth-child(even) { justify-self: end; }
.quote blockquote {
  margin: 0; color: rgb(0, 13, 255); font-weight: 700; font-size: 1em; line-height: 1.14;
  letter-spacing: -0.025em; text-wrap: pretty;
}
.quote figcaption { margin-top: 28px; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: 0.04em; text-transform: uppercase; }
.quote figcaption a { text-decoration: none; }
.quote figcaption span { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact .name--rule { border-bottom: 0; }
.names--contact {
  max-width: none; margin-top: clamp(40px, 6.4vw, 92px);
  font-size: clamp(3.25rem, 6.94vw, 6.25rem); line-height: 1.62;
}
.names--contact a { text-decoration-thickness: 0.1em; text-underline-offset: 0.09em; }
@media (max-width: 760px) { .body.about { columns: 1; } }

/* ── movement ──────────────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 0.42em, 0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -14px, 0); } }

.js .nav a { animation: drop 0.9s var(--ease) both; }
.js .nav a:nth-child(2) { animation-delay: 60ms; }
.js .nav a:nth-child(3) { animation-delay: 120ms; }
.js .nav a:nth-child(4) { animation-delay: 180ms; }
.js .nav a:nth-child(5) { animation-delay: 240ms; }
.js .top .name, .js .lede { animation: fade 1s ease 0.15s both; }
.js .names .nm { animation: rise 1.05s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 42ms); }
.js .title, .js .hero__title { animation: rise 1.05s var(--ease) 0.1s both; }
.js .facts, .js .hero__play { animation: fade 0.9s ease 0.45s both; }

/* things that arrive as you reach them */
.js .reveal { opacity: 0; transform: translate3d(0, 56px, 0); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
/* pictures on a project roll open rather than float up */
.js .pic.reveal, .js .film.reveal { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.js .pic.reveal img, .js .film.reveal .film__loop { transform: scale(1.14); }
.js .pic.reveal.in, .js .film.reveal.in { clip-path: inset(0); transition: clip-path 1.3s var(--ease); }
.js .pic.reveal.in img, .js .film.reveal.in .film__loop { transform: none; transition: transform 1.7s var(--ease); }

/* one page hands over to the next */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translate3d(0, -18px, 0); } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in 0.7s var(--ease) 0.12s both; }
::view-transition-group(hero) { animation-duration: 0.75s; animation-timing-function: var(--ease); z-index: 5; }
::view-transition-old(hero), ::view-transition-new(hero) { height: 100%; object-fit: cover; }
::view-transition-group(nav) { z-index: 10; }

/* ── phone ─────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .names { max-width: none; font-size: clamp(3rem, 14.5vw, 5.5rem); }
  .lede { font-size: 16px; }
  .grid { flex-direction: column; gap: 14vw; padding-top: 22vw; }
  .grid__col { display: contents; }
  .tile { width: 100%; }
  .tile__cap { position: static; opacity: 1; transform: none; }
  .facts div { min-width: 0; padding-right: 24px; }
  .pair, .menu { grid-template-columns: 1fr; }
  .next { flex-direction: column; gap: 32px; }
  .next__next { text-align: left; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .name { font-size: 13px; }
}

/* ── calm for those who ask for it ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.2s !important; }
  .js .reveal, .js .pic.reveal, .js .film.reveal { opacity: 1; transform: none; clip-path: none; }
  .js .pic.reveal img, .js .film.reveal .film__loop { transform: none; }
  .grid__col, .hero__media { transform: none !important; }
  @view-transition { navigation: none; }
}
.g-strip--auto .g-pic { height: min(62vh, 640px); }
.g-strip--small .g-pic { height: min(30vh, 300px); }
/* a pinned strip that ends the page sits close to the Previous / Next line (Duncan, 25 Nov) */
.g-pin > .g-strip { margin-bottom: 0; }
.gallery:has(> .g-pin:last-child) + .next { margin-top: clamp(40px, 4vw, 64px); }
/* a film cut for full screen: fills the screen edge to edge (FLY, Duncan 25 Nov) */
.theatre__video.is-fill { object-fit: cover; }
/* the second picture tucks behind the first, only its edge overlapped (Chromeo record, Duncan 25 Nov) */
.g-overlap.is-under .g-big { z-index: 2; }
.g-overlap.is-under .g-small { grid-column: 8 / span 5; z-index: 1; }
/* a tile that is always moving: the film plays in place of the picture (SON DVD menu, Duncan 26 Nov) */
.tile__frame { position: relative; }
.tile__motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* phones: no play button under the title; tapping the film still plays it (Duncan, 26 Nov) */
@media (max-width: 760px) { .hero__play { display: none; } }
