/* Anton (display, single heavy condensed weight) and Inter (variable 400–700), both OFL, self-hosted. */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

/* Local stand-in while Anton loads, scaled so the wordmark keeps roughly its width (no overflow flash). */
@font-face {
  font-family: "Anton Fallback";
  src: local("Impact"), local("Haettenschweiler"), local("Arial Narrow Bold");
  size-adjust: 88%;
}

/* Bruno Thevenin — white page, black condensed display type (Anton), small uppercase
   sans (Inter) for navigation and metadata. Photographs keep their full frame at
   deliberately different scales. The only accent is a red stroke for focus/current frame. */

:root {
  --white: #fff;
  --black: #000;
  --grey: #6f6f6f; /* 5.0:1 on white */
  --rule-light: #e2e2e2;
  --ph-light: #f2f2f2;
  --grey-night: #9a9a9a; /* 7.5:1 on black */
  --rule-night: #2c2c2c;
  --ph-night: #151515;
  --mark: #d93a22;

  --display: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(5rem, 12vw, 11rem);
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --bg: var(--white);
  --fg: var(--black);
  --fg-2: var(--grey);
  --rule: var(--rule-light);
  --ph: var(--ph-light);
  color-scheme: light;
}

.theme-night {
  --bg: var(--black);
  --fg: var(--white);
  --fg-2: var(--grey-night);
  --rule: var(--rule-night);
  --ph: var(--ph-night);
  color-scheme: dark;
}

.theme-paper {
  --bg: var(--white);
  --fg: var(--black);
  --fg-2: var(--grey);
  --rule: var(--rule-light);
  --ph: var(--ph-light);
  color-scheme: light;
}

.theme-night,
.theme-paper {
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

html:has(dialog[open]),
html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ol,
ul,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 400;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--fg);
  color: var(--bg);
}

/* `hidden` always wins over component display rules. */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  z-index: 100;
  left: var(--m);
  top: 8px;
  padding: 0.7rem 1rem;
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.ph {
  background: var(--ph);
}

/* ---------- Type ---------- */

/* Small uppercase sans: navigation, metadata, captions' furniture. */
.label,
.meta {
  font-family: var(--sans);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.meta {
  color: var(--fg-2);
}

.label a,
a.label,
.meta a {
  text-decoration: none;
}

.label a:hover,
a.label:hover,
.meta a:hover {
  text-decoration: underline;
}

.num,
.code {
  font-variant-numeric: tabular-nums;
}

.dateline {
  font-size: 0.8125em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-xl,
.display-l,
.section-title,
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  text-box: trim-both cap alphabetic;
}

.display-xl {
  font-size: clamp(4.25rem, 17vw, 19rem);
  line-height: 0.84;
}

.display-xl span {
  display: block;
}

.display-l {
  font-size: clamp(3rem, 9vw, 9.5rem);
  line-height: 0.86;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.9;
}

/* Text buttons used for filters: grey when off, black and underlined when on. */
.toggle {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  min-height: 44px;
  padding: 0.85rem 0.15rem;
  background: none;
  border: 0;
  color: var(--fg-2);
  cursor: pointer;
}

.toggle:hover,
.toggle[aria-pressed="true"] {
  color: var(--fg);
}

.toggle[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.toggle .num {
  font-size: 0.85em;
  color: var(--fg-2);
}

/* Framed buttons (viewer). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.btn:hover {
  border-color: var(--fg);
}

.btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---------- Header ---------- */

.masthead {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px var(--m);
}

.brand {
  position: relative;
  z-index: 31;
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  /* Match the home wordmark's line spacing, including its reveal masks. */
  line-height: 0.96;
  text-transform: uppercase;
  text-decoration: none;
}

.brand span {
  display: block;
}

.masthead__info {
  display: none;
}

.menu-toggle {
  display: none;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav li:not(:last-child)::after {
  content: "," / "";
  margin-right: 0.35em;
  color: var(--fg-2);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1.125rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--fg-2);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fg);
}

@media (min-width: 900px) {
  .masthead {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    padding-top: 22px;
  }

  .brand {
    grid-column: 1 / span 2;
    font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  }

  .masthead__info {
    display: block;
    grid-column: 4 / span 2;
    padding-top: 0.75rem;
  }

  .masthead__award {
    grid-column: 6 / span 2;
  }

  .nav {
    grid-column: 8 / -1;
    justify-self: end;
  }

  /* Home: the masthead floats beside the wordmark; the navigation stays fixed in the
     top right corner on a white ground so it reads over the photographs scrolling by. */
  .masthead--home {
    position: absolute;
    inset: 0 0 auto;
  }

  .masthead--home .nav {
    position: fixed;
    top: 12px;
    right: var(--m);
    z-index: 40;
    max-width: min(42vw, 46rem);
    padding: 0 0.6rem;
    background: var(--white);
  }

  .masthead--home .masthead__info {
    grid-column: 8 / span 2;
    grid-row: 1;
    margin-top: clamp(7rem, 8vw, 8rem);
    padding-top: 0;
  }

  .masthead--home .masthead__award {
    grid-column: 10 / span 3;
  }
}

@media (max-width: 899px) {
  .masthead {
    align-items: center;
  }

  /* Home on small screens: only the menu button sits beside the name. */
  .js .masthead--home {
    position: absolute;
    inset: 0 0 auto;
  }

  .js .menu-toggle {
    position: relative;
    z-index: 31;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 0 0.25rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
  }

  .js .nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    padding: 96px var(--m) clamp(2rem, 6vh, 3.5rem);
    overflow-y: auto;
    background: var(--bg);
  }

  .js .nav[data-open] {
    display: flex;
  }

  .js .nav ul {
    flex-direction: column;
    justify-content: flex-start;
  }

  .js .nav li::after {
    content: none;
  }

  .js .nav a {
    font-family: var(--display);
    font-size: clamp(2.75rem, 13vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--fg);
  }

}

/* ---------- Footer ---------- */

.footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2rem;
  padding: var(--section) var(--m) 20px;
}

.footer__label,
.footer__email,
.footer__list,
.footer__legal {
  grid-column: 1 / -1;
}

.footer__label {
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--fg-2);
}

.footer__email {
  font-family: var(--display);
  font-size: clamp(2.25rem, 9vw, 9.5rem);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.footer__email a {
  text-decoration: none;
}

.footer__email a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.08em;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

.footer__list a:hover {
  text-decoration: underline;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* ---------- Home: hero ---------- */

/* Name top left, two full-frame photographs at opposite scales visible in the first
   viewport. With motion, the name stays fixed and shrinks into the brand (motion.ts). */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1rem;
  padding: 16px var(--m) 0;
}

.hero__mark {
  grid-column: 1 / -1;
  grid-row: 1;
}

.wordmark {
  font-size: 17vw;
  line-height: 0.82;
  transform-origin: left top;
}

.wordmark span {
  display: block;
  white-space: nowrap;
}

.wordmark span + span {
  margin-top: 0.06em;
}

.wordmark-pin {
  position: relative;
  z-index: 15;
  pointer-events: none;
}

/* Fixed state: inverts over photographs and dark bands so it stays legible. */
.wordmark.is-floating {
  position: relative;
  z-index: 15;
  color: var(--white);
  pointer-events: none;
}

/* ScrollTrigger's positioned spacer is the stacking context: blend that whole
   context with the page, otherwise the white name disappears on white sections. */
.hero__mark > .pin-spacer {
  mix-blend-mode: difference;
}

/* Once compact, a solid ground separates the brand from text passing underneath. */
.hero__mark:has(.is-compact) > .pin-spacer {
  mix-blend-mode: normal;
}

.wordmark.is-compact {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 28px var(--white);
}

.hero__large {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0.5rem calc(var(--m) * -1) 0;
}

.hero__large figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--m) 0;
}

.hero__small {
  grid-column: 2;
  grid-row: 3;
}

.hero__note {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
}

.hero figcaption a {
  text-decoration: none;
}

.hero__small figcaption {
  padding-top: 0.5rem;
}

.hero figcaption a:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    row-gap: 0;
    padding-top: 44px;
  }

  .hero__mark {
    grid-column: 1 / span 6;
  }

  .wordmark {
    font-size: min(12.5vw, 15rem);
  }

  .hero__large {
    grid-column: 7 / -1;
    grid-row: 1 / span 2;
    /* Clears the fixed navigation and the two info blocks beside the name. */
    margin: clamp(11rem, 14vw, 13.5rem) 0 0;
  }

  .hero__large figcaption {
    padding: 0.6rem 0 0;
  }

  .hero__small,
  .hero__note {
    grid-row: 2;
    align-self: start;
    margin-top: clamp(2rem, 3.5vw, 3.5rem);
  }

  .hero__small {
    grid-column: 1 / span 3;
  }

  .hero__note {
    grid-column: 4 / span 3;
  }
}

/* ---------- Home: press band ---------- */

.press {
  margin-top: var(--section);
  padding: var(--section) var(--m);
}

.press__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.press__head h2 {
  grid-column: 1 / -1;
}

.press__lede,
.press__all {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .press__head h2 { grid-column: 1 / span 7; }
  .press__lede { grid-column: 8 / span 3; }
  .press__all { grid-column: 11 / -1; justify-self: end; }
}

.press__all,
.press__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.outlets {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.3em;
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 6.25rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.outlets li:not(:last-child)::after {
  content: "," / "";
  color: var(--fg-2);
}

.outlets a {
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.outlets:hover a,
.outlets:focus-within a {
  color: var(--fg-2);
}

.outlets a:hover,
.outlets a:focus-visible {
  color: var(--fg);
}

.clips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--gap);
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

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

@media (min-width: 1100px) {
  .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.clips li {
  border-top: 1px solid var(--rule);
}

.clips a {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 0 2.25rem;
  text-decoration: none;
}

.clips__outlet {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.clips__title {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
}

.clips__meta {
  color: var(--fg-2);
}

.clips a:hover .clips__title {
  text-decoration: underline;
}

.press__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2rem;
  align-items: end;
  margin-top: clamp(4rem, 9vw, 8rem);
}

.quote {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
}

.quote blockquote {
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.press__more {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .quote { grid-column: 1 / span 8; }
  .press__more { grid-column: 9 / -1; justify-self: end; }
}

/* ---------- Home: statement ---------- */

.statement {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.75rem;
  padding: var(--section) var(--m);
}

.statement > * {
  grid-column: 1 / -1;
}

.statement__text {
  font-size: clamp(1.5rem, 2.9vw, 2.875rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.statement__award {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-block: 1px solid var(--rule);
}

.statement__award-name {
  justify-self: start;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.statement__award-name:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
}

.statement__more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 1024px) {
  .statement__label { grid-column: 1 / span 2; padding-top: 0.6rem; }
  .statement__text, .statement__more { grid-column: 3 / span 9; }
  .statement__award { grid-column: 3 / span 6; }
}

/* ---------- Section heads ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 0 var(--m);
  margin-bottom: clamp(2.5rem, 6vw, 5.5rem);
}

.section-head > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Home: selected stories (staggered scales) ---------- */

.selected {
  padding-block: var(--section);
}

.sel {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 9vw, 8rem);
  padding: 0 var(--m);
}

.sel__link {
  display: grid;
  gap: 0.9rem;
  text-decoration: none;
}

.sel__text {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.sel__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 3.75rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.sel__link:hover .sel__title {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.08em;
}

.sel__link:focus-visible {
  outline-offset: 8px;
}

@media (min-width: 900px) {
  .sel {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: clamp(6rem, 12vw, 11rem);
  }

  .sel > li {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
  }

  .sel__link {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    column-gap: var(--gap);
    align-items: end;
  }

  /* 1: large, left */
  .sel > li:nth-child(3n + 1) .sel__fig { grid-column: 1 / span 8; }
  .sel > li:nth-child(3n + 1) .sel__text { grid-column: 9 / -1; }

  /* 2: small, far right, title waiting on its left */
  .sel > li:nth-child(3n + 2) .sel__fig { grid-column: 9 / -1; grid-row: 1; }
  .sel > li:nth-child(3n + 2) .sel__text { grid-column: 5 / span 4; grid-row: 1; }

  /* 3: right half, text hangs top left */
  .sel > li:nth-child(3n + 3) .sel__fig { grid-column: 7 / -1; grid-row: 1; }
  .sel > li:nth-child(3n + 3) .sel__text { grid-column: 3 / span 4; grid-row: 1; align-self: start; }
}

/* ---------- Home: story entrances ---------- */

/* Static stories remain in document order; motion layers them into one shared stage. */
.entrances {
  padding-bottom: var(--section);
}

/* Adjacent black sections share an edge; the press band keeps its inner spacing. */
.entrances:has(+ .press) {
  padding-bottom: 0;
}

.entrances + .press {
  margin-top: 0;
}

.entrance + .entrance {
  margin-top: clamp(1rem, 3vw, 2rem);
}

.entrances__stack.is-stacked {
  position: relative;
  /* ScrollTrigger's inline pin offset can retain a subpixel gap above the viewport. */
  top: 0 !important;
  height: 100svh;
}

.is-stacked > .entrance {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.is-stacked .entrance__stage {
  height: 100%;
  min-height: 0;
  pointer-events: auto;
  clip-path: var(--story-mask, inset(0));
}

.is-stacked .entrance__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.is-stacked .entrance__photo img {
  height: 100%;
  object-fit: contain;
}

.entrance__stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  --fg-2: var(--grey-night);
}

.entrance__stage:focus-visible {
  outline-offset: -6px;
}

.entrance__photo {
  display: block;
}

.entrance__photo img {
  width: 100%;
  background: none;
}

.entrance__text {
  display: grid;
  gap: 0.6rem;
  padding: 1rem var(--m) 1.5rem;
}

.entrance__count,
.entrance__meta {
  color: var(--fg-2);
}

.entrance__title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 8vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.entrance__cta {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--white);
}

.entrance__stage:hover .entrance__cta {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .entrance__stage {
    height: 100svh;
    min-height: 34rem;
  }

  .entrance__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: clamp(1rem, 2.5vw, 2.5rem) var(--m) 0;
  }

  .entrance__photo img {
    height: 100%;
    object-fit: contain;
  }

  .entrance__text {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
    padding: 1.25rem var(--m) 1.6rem;
  }

  .entrance__count { grid-column: 1 / span 2; }
  .entrance__title { grid-column: 3 / span 7; }
  .entrance__meta { grid-column: 10 / -1; }
}

/* ---------- Contact sheet ---------- */

.sheet-teaser {
  padding-bottom: 0;
}

.sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(30%, 9rem), 1fr));
  gap: 14px 6px;
}

.sheet a {
  display: grid;
  gap: 5px;
  text-decoration: none;
}

.sheet img {
  width: 100%;
  aspect-ratio: var(--ar, 3 / 2);
  object-fit: contain;
}

.sheet a:hover img,
.sheet a:focus-visible img {
  outline: 2px solid var(--mark);
  outline-offset: 2px;
}

.sheet a:focus-visible {
  outline: none;
}

.sheet__n {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}

.sheet--small {
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
}

.strip {
  padding: 0 var(--m);
}

.strip .sheet {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(8.5rem, 1fr);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
}

@media (min-width: 1024px) {
  .strip .sheet {
    grid-auto-flow: row;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow-x: visible;
  }
}

/* ---------- Index pages (Work, Archive, Press, Motion, About) ---------- */

.index-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.25rem;
  align-items: end;
  padding: clamp(3rem, 12vw, 12rem) var(--m) clamp(2.5rem, 6vw, 5rem);
}

.index-head h1,
.index-head__meta {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .index-head h1 { grid-column: 1 / span 9; }
  .index-head__meta { grid-column: 10 / -1; }
}

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 2rem;
  padding: 0 var(--m);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.controls__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
}

/* ---------- Work ---------- */

/* Lateral explorer: an index of all stories grouped by subject, and one rail per subject
   whose panel opens sideways onto a photograph. Without JS (or below 1024px) the rails
   stack as an accordion that is fully open. */
.explorer {
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 10vw, 8rem) var(--m) clamp(3rem, 6vw, 5rem);
}

.explorer__side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.explorer__views {
  display: flex;
  gap: 0 1.1rem;
}

.explorer__index {
  display: none;
}

.exp-group {
  display: grid;
  gap: 0.35rem;
  transition: color 0.3s var(--ease);
}

.exp-group__name {
  color: var(--fg-2);
}

.exp-group ol {
  display: grid;
}

.exp-group a {
  display: block;
  padding: 0.18rem 0;
}

.exp-group a:hover,
.exp-group a:focus-visible {
  text-decoration: underline;
}

.exp-group a[aria-current="true"] {
  text-decoration: underline;
}

.explorer__rails {
  border-top: 1px solid var(--rule);
}

.rail {
  border-bottom: 1px solid var(--rule);
}

.rail__heading {
  margin: 0;
}

.rail__tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 1rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
}

.rail__n,
.rail__count {
  color: var(--fg-2);
}

.rail__name {
  font-family: var(--display);
  font-size: clamp(2.25rem, 9vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.js .rail__tab::after {
  content: "+" / "";
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 1.5rem;
  line-height: 1;
}

.js .rail__tab[aria-expanded="true"]::after {
  content: "−" / "";
}

.js .rail__count {
  margin-right: 2rem;
}

.js .explorer.is-enhanced .rail:not(.is-open) .rail__panel {
  display: none;
}

.rail__panel {
  padding-bottom: 1.5rem;
}

.rail__feature {
  display: grid;
  gap: 0.5rem;
  text-decoration: none;
}

.rail__photo img {
  width: 100%;
}

.rail__photo {
  touch-action: pan-y pinch-zoom;
  overflow: hidden;
}

.rail__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.rail__controls button {
  min-width: 48px;
  min-height: 48px;
  border: 0;
  background: none;
  font-size: 1.75rem;
  cursor: pointer;
}

.rail__controls button:hover {
  background: var(--fg);
  color: var(--bg);
}

.rail__title {
  margin-top: 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 6vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.rail__meta {
  color: var(--fg-2);
}

.rail__feature:hover .rail__title {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
}

.rail__list {
  display: grid;
  margin-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.rail__list a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  min-height: 44px;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.rail__list .num {
  color: var(--fg-2);
}

.rail__list a:hover {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  /* Index on the left, rails on the right, filling the viewport below the masthead. */
  .js .explorer.is-enhanced:not(.is-grid) {
    grid-template-columns: minmax(16rem, 26%) minmax(0, 1fr);
    column-gap: var(--gap);
    min-height: calc(100svh - 7.5rem);
    padding-top: 1rem;
  }

  .js .explorer.is-enhanced:not(.is-grid) .explorer__side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 0.25rem;
  }

  .js .explorer.is-enhanced .explorer__index {
    display: grid;
    gap: 1.4rem;
    margin-top: auto;
    order: 1;
  }

  .js .explorer.is-enhanced .explorer__title { order: 3; font-size: clamp(3.5rem, 7vw, 8rem); }
  .js .explorer.is-enhanced .explorer__meta { order: 4; }
  .js .explorer.is-enhanced .explorer__views { order: 0; }

  .js .explorer.is-enhanced .exp-group:not(.is-active) {
    color: var(--fg-2);
  }

  .js .explorer.is-enhanced .explorer__rails {
    --tab: clamp(4rem, 5vw, 4.75rem);
    display: flex;
    border-top: 0;
    border-left: 1px solid var(--rule);
    align-self: start;
    position: sticky;
    top: 6rem;
    height: calc(100svh - 11rem);
    min-height: 26rem;
  }

  /* Closed rails are exactly one tab wide; the open one grows sideways over the rest. */
  .js .explorer.is-enhanced .rail {
    display: flex;
    flex: 0 0 calc(var(--tab) + 1px);
    overflow: hidden;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
    transition: flex-grow 0.8s var(--ease);
  }

  .js .explorer.is-enhanced .rail.is-open {
    flex-grow: 1;
  }

  .js .explorer.is-enhanced .rail__heading {
    display: flex;
  }

  /* Vertical subject labels reading upwards, number on top. */
  .js .explorer.is-enhanced .rail__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    width: var(--tab);
    height: 100%;
    padding: 1.25rem 0;
    color: var(--fg-2);
  }

  .js .explorer.is-enhanced .rail__tab::after {
    content: none;
  }

  .js .explorer.is-enhanced .rail__count {
    display: none;
  }

  .js .explorer.is-enhanced .rail__name {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: clamp(2.25rem, 3.3vw, 3.5rem);
  }

  .js .explorer.is-enhanced .rail__tab:hover,
  .js .explorer.is-enhanced .rail.is-open .rail__tab {
    color: var(--fg);
  }

  .js .explorer.is-enhanced .rail__panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }

  .js .explorer.is-enhanced .rail__feature {
    width: var(--panel-w, 40vw);
    flex: 1;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto auto;
    padding: 1.25rem 1.25rem 1.25rem 0.25rem;
  }

  .js .explorer.is-enhanced .rail__photo {
    display: flex;
    align-items: flex-end;
    min-height: 0;
  }

  .js .explorer.is-enhanced .rail__photo img {
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
    background: none;
  }

  .js .explorer.is-enhanced .rail__title {
    font-size: clamp(2.5rem, 4.2vw, 4.75rem);
  }

  .js .explorer.is-enhanced .rail__list {
    display: none;
  }

  .js .explorer.is-enhanced .rail__controls {
    flex: 0 0 auto;
    width: var(--panel-w, 40vw);
    margin-top: 0;
    padding: 0 1.25rem 0.5rem 0.25rem;
  }
}

/* Grid alternative (?view=grid). */
.works {
  padding: 0 var(--m);
}

.works a {
  text-decoration: none;
}

.work__title {
  font-family: var(--display);
  text-transform: uppercase;
}

/* Grid view: contact-sheet-like grid with titles under each frame. */
.works[data-view="grid"] {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem) var(--gap);
}

@media (min-width: 640px) {
  .works[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .works[data-view="grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.works[data-view="grid"] a {
  display: grid;
  gap: 0.5rem;
}

.works[data-view="grid"] img {
  order: -1;
  width: 100%;
  margin-bottom: 0.35rem;
}

.works[data-view="grid"] .work__index,
.works[data-view="grid"] .work__meta {
  color: var(--fg-2);
}

.works[data-view="grid"] .work__title {
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  line-height: 0.95;
}

.works[data-view="grid"] a:hover .work__title {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
}

/* ---------- Archive ---------- */

.rolls-index {
  padding: 0 var(--m);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.rolls-index ol {
  columns: 1;
  column-gap: var(--gap);
}

@media (min-width: 640px) { .rolls-index ol { columns: 2; } }
@media (min-width: 1024px) { .rolls-index ol { columns: 3; } }

.rolls-index a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  min-height: 44px;
  padding: 0.5rem 0;
  break-inside: avoid;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

.rolls-index a:hover span:last-child {
  text-decoration: underline;
}

.roll {
  padding: 0 var(--m);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  scroll-margin-top: 1rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.roll__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.25rem;
  margin-bottom: 1rem;
}

.roll__head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.roll__head h2 a {
  text-decoration: none;
}

.roll__head h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
}

/* ---------- Story ---------- */

.story__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.5rem;
  padding: clamp(3rem, 10vw, 10rem) var(--m) clamp(2.5rem, 5vw, 4.5rem);
}

.story__crumb,
.story__title,
.story__facts {
  grid-column: 1 / -1;
}

.story__crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.story__title {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 11rem);
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.story__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}

.story__facts div {
  display: grid;
  gap: 0.15rem;
}

.story__facts dd {
  color: var(--fg);
}

.story__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding: 0 var(--m) clamp(4rem, 8vw, 7rem);
}

.story__intro .prose {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .story__intro .prose { grid-column: 4 / span 6; }
}

.prose {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.6;
  max-width: 66ch;
}

.prose :is(h2, h3) {
  margin: 1.6em 0 0.6em;
  font-family: var(--display);
  font-size: 1.9em;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.prose :is(h2, h3):first-child {
  margin-top: 0;
}

.prose :is(h2, h3):has(> br:only-child),
.prose > div > article > hr:first-child {
  display: none;
}

.prose b,
.prose strong {
  font-weight: 600;
}

.prose ul {
  list-style: disc;
  padding-left: 1.2em;
  margin: 1em 0;
}

.prose li + li {
  margin-top: 0.6em;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2em 0;
}

.prose img {
  width: 100%;
  margin: 1.5rem 0 0.75rem;
}

.prose a {
  overflow-wrap: anywhere;
}

/* Source bodies end with a link card to the original publication. */
.prose a:has(img) {
  display: block;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.prose a:has(img) b {
  font-size: 1.2em;
}

.prose a:has(img):hover b {
  text-decoration: underline;
}

.story__sheet {
  padding: 0 var(--m);
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.story__sheet h2 {
  margin-bottom: 0.75rem;
}

.frames {
  display: grid;
  gap: clamp(4rem, 10vw, 9rem);
  padding: 0 var(--m);
}

.frames--opener {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.frame {
  display: grid;
  gap: 0.9rem;
  scroll-margin-top: 1.5rem;
}

.frame__open {
  display: block;
  cursor: zoom-in;
}

.frame__open img {
  width: 100%;
}

.frame__open:focus-visible {
  outline-offset: 4px;
}

.frame__cap {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  max-width: 60ch;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.frame__cap .code {
  color: var(--fg-2);
}

@media (max-width: 719px) {
  .frame__open {
    margin-inline: calc(var(--m) * -1);
  }
}

@media (min-width: 1024px) {
  .frame {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }

  .frame__open img {
    max-height: 88svh;
    width: auto;
  }

  .frame__cap {
    position: sticky;
    top: 1.5rem;
  }

  /* Opener and odd frames: large, left; caption on the right. */
  .frame__open { grid-column: 1 / span 9; }
  .frame__cap { grid-column: 10 / -1; }

  /* Even frames: shifted right, caption on the left. */
  .frames > li:nth-child(even) .frame__open { grid-column: 4 / -1; grid-row: 1; }
  .frames > li:nth-child(even) .frame__open img { margin-left: auto; }
  .frames > li:nth-child(even) .frame__cap { grid-column: 1 / span 3; grid-row: 1; }

  /* Every third frame: smaller, to change the reading pace. */
  .frames > li:nth-child(3n) .frame__open { grid-column: 3 / span 6; }
  .frames > li:nth-child(3n) .frame__cap { grid-column: 9 / span 3; }
}

.frame:target .frame__open img {
  outline: 2px solid var(--mark);
  outline-offset: 6px;
}

.story__licence {
  padding: clamp(4rem, 8vw, 7rem) var(--m) 0;
}

.story__end {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding: 3rem var(--m) 0;
}

.story__end a {
  display: grid;
  gap: 0.75rem;
  text-decoration: none;
}

.story__end .work__title {
  font-size: clamp(1.75rem, 3.6vw, 3.5rem);
  line-height: 0.92;
}

.story__end a:hover .work__title {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
}

.story__end .next {
  text-align: right;
  justify-items: end;
}

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

  .story__end img {
    max-width: 22rem;
  }
}

/* ---------- Viewer ---------- */

.viewer {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--black);
  color: var(--white);
  color-scheme: dark;
  --fg: var(--white);
  --fg-2: var(--grey-night);
  --rule: #444;
}

.viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.viewer::backdrop {
  background: var(--black);
}

.viewer__bar,
.viewer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px var(--m);
}

.viewer__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 var(--m);
  touch-action: pan-y;
}

.viewer__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.viewer__foot {
  align-items: flex-start;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}

.viewer__cap {
  flex: 1;
  max-width: 70ch;
  max-height: 24svh;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.viewer__cap .code {
  display: none;
}

.viewer__cap > :is(span, a) {
  display: block;
}

@media (max-width: 719px) {
  .viewer__foot {
    flex-wrap: wrap;
  }

  .viewer__cap {
    order: -1;
    flex-basis: 100%;
  }

  .viewer__foot .btn {
    flex: 1;
  }
}

/* ---------- Press page ---------- */

.press-section {
  padding: 0 var(--m);
  margin-bottom: var(--section);
  scroll-margin-top: 1rem;
}

.press-section > h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.credits li {
  border-top: 1px solid var(--rule);
}

.credits li:last-child {
  border-bottom: 1px solid var(--rule);
}

.credits a {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 0 1.25rem;
  text-decoration: none;
}

.credits__outlet {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.credits__title {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.25;
}

.credits a:hover .credits__title {
  text-decoration: underline;
}

.credits__body {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 900px) {
  .credits a {
    grid-template-columns: 8rem 18rem minmax(0, 1fr);
    column-gap: var(--gap);
    align-items: baseline;
  }
}

.press-quote {
  margin-bottom: 2.5rem;
  max-width: 56rem;
}

.press-quote blockquote {
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tearsheets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) var(--gap);
}

.ts__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 7%;
  background: var(--ph-light);
  cursor: zoom-in;
}

.ts__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.ts__frame:hover img,
.ts__frame:focus-visible img {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}

.ts__frame:focus-visible {
  outline: none;
}

.ts figcaption {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.75rem;
}

.ts__outlet {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.ts figcaption a.meta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  justify-self: start;
}

/* ---------- Motion ---------- */

.films {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem) var(--gap);
  padding: 0 var(--m);
}

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

.film {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.film__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film__play {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}

.film__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.film__cta {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1rem 0.6rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.film__cta svg {
  width: 0.6em;
  height: 0.6em;
  fill: currentColor;
}

.film__play:hover .film__cta {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

.film__play:focus-visible {
  outline-offset: -4px;
}

.film__title {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.25;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(3rem, 7vw, 5rem);
  padding: 0 var(--m) var(--section);
}

.about > * {
  grid-column: 1 / -1;
}

.about__portrait img {
  width: 100%;
  max-width: 400px;
}

.about__text {
  display: grid;
  gap: 1.1em;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  max-width: 62ch;
}

.about__text p:first-child {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about__contact {
  scroll-margin-top: 1rem;
}

.about__contact h2 {
  margin-bottom: 1.5rem;
}

.contact-list div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}

.contact-list div:last-child {
  border-bottom: 1px solid var(--rule);
}

.contact-list dd {
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.contact-list .note {
  display: block;
  margin-top: 0.3rem;
}

.contact-list dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.contact-list dd a:hover {
  text-decoration: underline;
}

.about__recognition-image {
  max-width: 960px;
  margin: 0 auto;
}

.about__recognition-image figcaption {
  margin-top: 0.75rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .about__portrait { grid-column: 1 / span 4; grid-row: 1 / span 3; align-self: start; position: sticky; top: 1.5rem; }
  .about__text,
  .about__contact { grid-column: 6 / -1; }
  .about__recognition-image { grid-column: 1 / -1; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: no-preference) {

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Motion masks stay local to display headings; photographic frames are never cropped. */
.motion-mask { overflow: hidden; padding-block: .08em; margin-block: -.08em; }
.motion-line { display: block; }
.project-cursor { position: fixed; left: 0; top: 0; z-index: 25; pointer-events: none;
  padding: .65rem .9rem; background: #fff; color: #000; font: 500 12px/1 var(--sans);
  text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.project-cursor.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .nav-window { display: block; overflow: hidden; height: 1.1em; line-height: 1.1; }
  .nav-label { display: block; position: relative; transition: transform .5s cubic-bezier(.165,.84,.44,1); }
  .nav-label::after { content: attr(data-label) / ""; position: absolute; top: 100%; left: 0; }
  .nav a:hover .nav-label, .nav a:focus-visible .nav-label { transform: translateY(-100%); }
  .js .nav[data-open] { animation: menu-enter .65s cubic-bezier(.165,.84,.44,1); }
  @keyframes menu-enter { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
}

.page-curtain { position: fixed; inset: 0; z-index: 100; background: #fff; pointer-events: none; transform: translateY(100%); }

/* WordPress canvas: preserve the reference layout without an extra wrapper or block margins. */
.wp-site-blocks,.wp-block-template-part{display:contents}body .wp-site-blocks>*,main.wp-block-group{margin-block:0;padding:0}main.wp-block-group{flex:1}:root{--white:var(--wp--preset--color--paper,#fff);--black:var(--wp--preset--color--ink,#000);--mark:var(--wp--preset--color--mark,#d93a22)}

html.lenis,html.lenis body{height:auto}.lenis:not(.lenis-autoToggle).lenis-stopped{overflow:clip}.lenis [data-lenis-prevent],.lenis [data-lenis-prevent-wheel],.lenis [data-lenis-prevent-touch],.lenis [data-lenis-prevent-vertical],.lenis [data-lenis-prevent-horizontal]{overscroll-behavior:contain}.lenis.lenis-smooth iframe{pointer-events:none}.lenis.lenis-autoToggle{transition-property:overflow;transition-duration:1ms;transition-behavior:allow-discrete}
