/* ==========================================================================
   Nastasja Sho, portfolio
   Layout concept: a quiet near-white page. The homepage opens on a
   golden-ratio grid of photographs, then one large print, a portrait pair,
   About and contact. Typewriter captions under a bold grotesk wordmark.
   ========================================================================== */

:root {
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --type: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 52px);
  --masthead-h: 76px;
  --rail-h: 46px;
  --seq-gap: clamp(3.5rem, 10vh, 7.5rem);
  --stream-gap: clamp(7rem, 17vw, 16rem);

  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --ease-inout: cubic-bezier(.7, 0, .2, 1);
  --t-fast: 180ms;
  --t-mid: 420ms;

  --fs-type: 14px;
  --fs-type-s: 13px;

  /* Light: paper. Values are also the fallback for no data-theme. */
  color-scheme: light;
  --bg: #f7f7f4;
  --bg-raise: #efeee9;
  --ink: #111111;
  --ink-2: #474743;
  --ink-3: #6a6963;
  --line: rgba(17, 17, 17, .13);
  --line-strong: rgba(17, 17, 17, .55);
  --accent: #8a4b1c;
  --plate: #ebeae5;
  --print-edge: transparent;
  --select: #d9cdb4;
  --dim: .22;
  --veil-strong: rgba(247, 247, 244, .80);
  --veil-weak: rgba(247, 247, 244, .30);
  --paper: #ecebe4;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-o: .24;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111210;
    --bg-raise: #191a18;
    --ink: #eceae4;
    --ink-2: #b4b2a9;
    --ink-3: #8f8d83;
    --line: rgba(236, 234, 228, .13);
    --line-strong: rgba(236, 234, 228, .5);
    --accent: #d3a265;
    --plate: #1c1d1b;
    --print-edge: rgba(236, 234, 228, .10);
    --select: #4e4130;
    --dim: .2;
    --veil-strong: rgba(17, 18, 16, .82);
    --veil-weak: rgba(17, 18, 16, .40);
    --paper: #1b1c19;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --grain-o: .14;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111210;
  --bg-raise: #191a18;
  --ink: #eceae4;
  --ink-2: #b4b2a9;
  --ink-3: #8f8d83;
  --line: rgba(236, 234, 228, .13);
  --line-strong: rgba(236, 234, 228, .5);
  --accent: #d3a265;
  --plate: #1c1d1b;
  --print-edge: rgba(236, 234, 228, .10);
  --select: #4e4130;
  --dim: .2;
  --veil-strong: rgba(17, 18, 16, .82);
  --veil-weak: rgba(17, 18, 16, .40);
  --paper: #1b1c19;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-o: .14;
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--select); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

.type {
  font-family: var(--type);
  font-size: var(--fs-type);
  line-height: 1.4;
  letter-spacing: 0;
}

.skip-link {
  position: fixed; left: var(--gutter); top: 8px; z-index: 100;
  padding: 8px 12px; background: var(--ink); color: var(--bg);
  font: 400 13px/1 var(--type);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

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

.tbc { color: var(--ink-3); text-decoration: underline dashed var(--accent) 1px; text-underline-offset: 4px; }

/* ---------- Masthead ---------- */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: calc(var(--masthead-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  transition: transform var(--t-mid) var(--ease-out), background-color var(--t-mid);
}
.masthead.is-hidden { transform: translateY(-100%); }
.masthead.is-hidden:focus-within { transform: none; }

.masthead__name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -.035em;
  text-transform: uppercase;
  line-height: 1;
}

.logo { width: clamp(30px, 2.6vw, 38px); height: auto; flex: none; color: var(--ink); }
.masthead__nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop__list {
  position: absolute; top: calc(100% + 10px); right: -16px;
  min-width: 230px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--bg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-mid), transform var(--t-mid) var(--ease-out), visibility 0s linear var(--t-mid);
}
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-drop:hover .nav-drop__list, .nav-drop:has(:focus-visible) .nav-drop__list {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
/* After a click the list closes even under the cursor; the next hover opens it again. */
.nav-drop.is-dismissed .nav-drop__list {
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-mid), transform var(--t-mid) var(--ease-out), visibility 0s linear var(--t-mid);
}
.nav-drop__list a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 16px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.nav-drop__list a:hover { background: var(--bg-raise); }
.nav-drop__list .type { font-weight: 400; color: var(--ink-3); font-size: 12.5px; }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: -.01em;
  padding: 6px 0;
}
.theme-toggle__dot {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transition: transform var(--t-mid) var(--ease-out);
}
:root[data-theme="dark"] .theme-toggle__dot { transform: rotate(180deg); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink);
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Views and transitions ---------- */

main { min-height: 100vh; }
.view { padding-top: var(--masthead-h); }

.view-enter > [data-stagger] { opacity: 0; transform: translateY(16px); }
.view-enter.is-in > [data-stagger] {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.view-leave { opacity: 0; transition: opacity 260ms ease; }

.morph {
  position: fixed; z-index: 60; margin: 0; overflow: hidden; pointer-events: none;
  background: var(--plate);
}
.morph > img, .morph > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.is-morph-target { visibility: hidden; }

/* ---------- Frames (all photographs) ---------- */

.frame {
  position: relative;
  overflow: hidden;
  background-color: var(--plate);
  background-size: cover;
  background-position: center;
  max-width: 100%;
  box-shadow: 0 0 0 1px var(--print-edge);
}
.frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease, transform 1400ms var(--ease-out);
}
.frame img.is-loaded { opacity: 1; }

/* Reveal: the print fades in while settling from a slight enlargement. The two
   slices scale around the same centre, so the split never shows. */
.frame--strips { background: transparent; box-shadow: none; }
.frame--strips img { background-color: var(--c, var(--plate)); }
.frame--strips .s1 { clip-path: inset(0 0 calc(50% - .5px) 0); }
.frame--strips .s2 { clip-path: inset(50% 0 0 0); }
.js-reveal .frame--strips { opacity: 0; transition: opacity 1100ms ease; }
.js-reveal .frame--strips.is-revealed { opacity: 1; }
.js-reveal .frame--strips img { transform: scale(1.035); transition: opacity 600ms ease, transform 1800ms var(--ease-out); }
.js-reveal .frame--strips.is-revealed img { transform: none; }
/* A photograph that has just been expanded into place is already on screen: no second reveal. */
.frame--strips.is-instant, .frame--strips.is-instant img { transition: none !important; }

/* Placeholder plate */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 16px; text-align: center;
  background: var(--plate);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ph__title {
  font-family: var(--sans); font-weight: 500; letter-spacing: -.02em;
  font-size: clamp(15px, 1.7vw, 26px); color: var(--ink-2); line-height: 1.1;
}
.ph__label { font: 400 var(--fs-type-s)/1.3 var(--type); color: var(--accent); letter-spacing: .04em; }
.ph--compact .ph__title { font-size: 14px; }

/* ---------- Home: four square frames (sketch 1) ---------- */

.squares { padding: clamp(12px, 2.4vw, 32px) var(--gutter) 0; }
.squares__inner {
  position: relative;
  width: 100%;
  max-width: max(560px, calc((100vh - var(--masthead-h) - 110px) / .66));
  margin-inline: auto;
  aspect-ratio: 1 / .66;
}
.sq { position: absolute; animation: gg-in 1100ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
@keyframes gg-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* Arrangement from the supplied homepage mockup: back left, centre front,
   wide frame top right, portrait bottom right. Natural proportions. */
.sq--1 { left: 0;     top: 0;    width: 29.6%; z-index: 1; }
.sq--2 { left: 27%;   top: 24%;  width: 29.5%; z-index: 3; }
.sq--3 { left: 45.3%; top: .6%;  width: 45.7%; z-index: 2; }
.sq--4 { left: 72.7%; top: 41%;  width: 27.3%; z-index: 4; }
.sq:hover, .sq:focus-within { z-index: 10; }
.sq__link { position: relative; display: block; }
.sq .frame {
  width: 100%;
  box-shadow: none;
  transition: transform 700ms var(--ease-out);
}
.sq__link:hover .frame { transform: translateY(-6px); }
.sq__label {
  position: absolute; left: 0; bottom: 0;
  padding: 6px 10px 5px; background: var(--bg); color: var(--ink);
  font-size: var(--fs-type-s);
  opacity: 0; transform: translateY(100%);
  transition: opacity var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.sq__link:hover .sq__label, .sq__link:focus-visible .sq__label { opacity: 1; transform: none; }
.squares__cap {
  max-width: max(560px, calc((100vh - var(--masthead-h) - 120px) / .66));
  margin: 18px auto 0;
}

.cap-title { font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.squares__cap a, .ov__cap a { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.squares__cap .count, .ov__cap .count { color: var(--ink-3); }
.squares__cap .arrow { transition: transform var(--t-mid) var(--ease-out); }
.squares__cap a:hover .arrow { transform: translateX(8px); }

/* ---------- Home: feature ---------- */

.feature { margin-top: var(--stream-gap); }
.feature .frame { width: 100%; aspect-ratio: 2.2 !important; }
.feature a { position: relative; display: block; }
.feature__title {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(18px, 3.4vw, 52px);
  z-index: 2;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 11rem);
  line-height: .85;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.feature__cap, .pair-home__cap {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline;
  margin: 16px 0 0;
}
.feature__cap { padding-inline: var(--gutter); }
.feature__cap .count, .pair-home__cap .count { color: var(--ink-3); }
.feature__cap .arrow, .pair-home__cap .arrow { transition: transform var(--t-mid) var(--ease-out); }
.feature a:hover .arrow, .pair-home a:hover .arrow { transform: translateX(8px); }
.feature a:hover .frame--strips.is-revealed img,
.pair-home a:hover .frame--strips.is-revealed img,
.overlap a:hover .frame--strips.is-revealed img { transform: scale(1.02); }

/* ---------- Home: two identical frames (sketch 2) ---------- */

.pair-home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, min(44vw, 700px)));
  justify-content: center;
  column-gap: clamp(20px, 4vw, 72px);
  padding: 0 var(--gutter);
  margin-top: var(--stream-gap);
}
.pair-home__item a { display: flex; flex-direction: column; }
.pair-home .frame { width: 100%; aspect-ratio: 2 / 3 !important; }
.pair-home__cap { min-height: 3.4em; margin: 0; padding: 14px 0; align-content: flex-start; }
.pair-home__item--right .pair-home__cap { align-content: flex-end; }

/* ---------- Home: about over a full-width photograph ---------- */

.about {
  position: relative;
  overflow: hidden;
  margin-top: var(--stream-gap);
  min-height: min(100vh, 980px);
  display: flex;
  align-items: center;
  scroll-margin-top: var(--masthead-h);
  isolation: isolate;
}
.about__bg {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54%; height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  z-index: -1;
}
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--veil-strong);
}
.about__body {
  width: 100%;
  padding: clamp(64px, 10vw, 140px) var(--gutter);
  padding-left: max(var(--gutter), 8vw);
}
.about__title {
  margin: 0 0 clamp(20px, 3vw, 40px);
  font-weight: 400; font-size: clamp(3rem, 8vw, 8rem); line-height: .95; letter-spacing: -.04em;
  color: var(--ink);
}
.about__text { max-width: min(64ch, 38vw); }
.about__text p { margin: 0 0 1em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--ink); }
.about__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(32px, 5vw, 64px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  height: 44px; min-width: 0; padding: 0 22px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: .01em; line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: opacity var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.btn:hover { border-color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- Home: three overlapping photographs ---------- */

.overlap { margin-top: var(--stream-gap); padding: 0 calc(var(--gutter) + 36px); }
.overlap__inner { position: relative; width: 100%; aspect-ratio: 1 / .78; }
.ov { position: absolute; }
.ov a { display: block; }
.ov--land { left: 19%; top: 0; width: 62%; z-index: 1; }
.ov--land .frame { width: 100%; aspect-ratio: 1.5 !important; }
.ov--port { left: 0; top: 26.9%; width: 30%; z-index: 2; }
.ov--third { left: 70%; top: 39.7%; width: 30%; z-index: 2; }
.ov--port .frame, .ov--third .frame { width: 100%; aspect-ratio: 2 / 3 !important; }
.ov__cap { position: absolute; margin: 0; }
.ov__cap--land { left: 31.5%; top: 55.5%; }
.ov__cap--v { height: 57.7%; writing-mode: vertical-rl; display: flex; align-items: flex-start; }
.ov__cap--v a { flex-wrap: nowrap; gap: 14px; }
.ov__cap--port { right: 100%; margin-right: 10px; top: 26.9%; transform: rotate(180deg); }
.ov__cap--third { left: 100%; margin-left: 10px; top: 39.7%; }

/* ---------- Home: contact and inquiry form ---------- */

.reach {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  margin-top: var(--stream-gap);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--masthead-h);
}
.reach__info { grid-column: 1 / 6; min-width: 0; }
.reach__kicker { color: var(--ink-3); margin: 0 0 14px; font-weight: 400; }
.reach__title {
  margin: 0 0 clamp(14px, 2vw, 24px);
  font-weight: 700; font-size: clamp(3.2rem, 9vw, 9rem); line-height: .9; letter-spacing: -.045em;
}
.reach__email {
  display: inline-block;
  font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em;
  overflow-wrap: anywhere; user-select: text;
}
.reach__copy { display: flex; width: fit-content; margin-top: 18px; }
.reach__list { margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 560px; }
.reach__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.reach__row dt { font-weight: 500; }
.reach__row dd { margin: 0; color: var(--ink-2); }
.reach__row a { border-bottom: 1px solid var(--line-strong); }
.reach__row a:hover { border-color: var(--ink); }

/* The inquiry form is a numbered sheet laid on the page. */
.inquiry {
  grid-column: 6 / 13; min-width: 0; position: relative; isolation: isolate;
  margin-top: 0;
  align-self: start;
  padding: clamp(24px, 3.4vw, 54px) clamp(22px, 3.8vw, 62px) clamp(26px, 3.4vw, 50px);
  background: var(--paper);
}
.inquiry::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 180px 180px; opacity: var(--grain-o);
}
.inquiry__head { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: start; gap: 0 12px; margin-bottom: clamp(14px, 2vw, 22px); }
.inquiry__no { font: 400 13px/1.3 var(--type); color: var(--ink-3); padding-top: 3px; }
.inquiry__title { margin: 0; font-weight: 500; font-size: clamp(1.2rem, 1.9vw, 1.75rem); line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; max-width: 11em; }
.inquiry__mark .logo { display: block; width: clamp(34px, 3.6vw, 58px); height: auto; color: var(--ink); margin-top: -6px; }
.inquiry__note { margin: 0 0 clamp(22px, 3.4vw, 40px) calc(3.2em + 12px); color: var(--ink-2); font-size: 14.5px; line-height: 1.45; max-width: 30em; }
.field { display: grid; grid-template-columns: 3.2em 1fr; gap: 0 12px; margin-bottom: clamp(20px, 2.8vw, 32px); }
.field__no { font: 400 13px/1 var(--type); color: var(--ink-3); padding-top: 2px; }
.field__body { position: relative; display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__body--group { display: block; }
.field__label { display: block; padding: 0; font-weight: 400; font-size: 14px; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 8px 0 9px;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field[data-invalid] input, .field[data-invalid] textarea { border-bottom-color: var(--accent); }
/* Error messages sit in the gap below a field, so showing or clearing one
   never shifts the form under the pointer. */
.field__error { position: absolute; left: 0; top: calc(100% + 4px); color: var(--accent); font-size: var(--fs-type-s); line-height: 1.2; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr)); gap: 12px 24px; padding-top: 12px; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice__box { flex: none; width: 11px; height: 11px; background: var(--ink-3); opacity: .55; transition: background-color var(--t-fast), opacity var(--t-fast), box-shadow var(--t-fast); }
.choice:hover .choice__box { opacity: .9; }
.choice input:checked + .choice__box { background: var(--ink); opacity: 1; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.choice input:focus-visible + .choice__box { outline: 1.5px solid var(--ink); outline-offset: 5px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__foot { display: grid; grid-template-columns: 3.2em 1fr; gap: 0 12px; margin-top: clamp(4px, 1vw, 10px); }
.inquiry__send { grid-column: 2; justify-self: start; min-width: 0; padding-inline: 26px; }
.inquiry__status { grid-column: 2; margin: 14px 0 0; color: var(--ink-2); }
.inquiry__status:empty { display: none; }
.inquiry__status[data-state="ok"] { color: var(--ink); }
.inquiry__status[data-state="error"] { color: var(--accent); }
.inquiry__status a { border-bottom: 1px solid var(--line-strong); }

/* ---------- Portfolio page ---------- */

.portfolio { padding: clamp(48px, 9vh, 110px) var(--gutter) 0; }
.portfolio__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: clamp(36px, 6vw, 80px); }
.portfolio__title { margin: 0; font-weight: 500; font-size: clamp(2.8rem, 7vw, 7rem); line-height: .95; letter-spacing: -.05em; }
.portfolio__count { color: var(--ink-3); }
.pf-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 6vw, 110px); align-items: start; }
.pf-col { display: flex; flex-direction: column; gap: clamp(64px, 10vw, 160px); min-width: 0; }
.pf-col:nth-child(2) { padding-top: clamp(80px, 16vw, 260px); }
.pf-item a { display: block; }
.pf-item .frame { width: 100%; }
.pf-item__cap { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; margin-top: 14px; }
.pf-item__title { font-family: var(--sans); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -.04em; line-height: 1; flex-basis: 100%; margin-bottom: 6px; }
.pf-item__cap .count { color: var(--ink-3); }
.pf-item a:hover .frame--strips.is-revealed img { transform: scale(1.02); }
.pf-item a:hover .pf-item__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }

/* ---------- Series ---------- */

.series { padding-bottom: calc(var(--rail-h) + 40px); }

.series-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: clamp(48px, 9vh, 110px) var(--gutter) clamp(36px, 6vh, 64px);
}
.series-head__kicker { grid-column: 1 / -1; display: flex; gap: 20px; color: var(--ink-3); margin-bottom: 18px; }
.series-head__kicker a:hover { color: var(--ink); }
.series-head__title {
  grid-column: 1 / 10;
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.series-head__note { display: block; margin-top: 14px; font-weight: 400; letter-spacing: 0; }
.series-head__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px var(--gutter);
  margin: clamp(28px, 5vh, 48px) 0 0;
}
.series-head__meta div { min-width: 0; }
.series-head__meta dt { font-weight: 500; font-size: 16px; letter-spacing: -.01em; margin-bottom: 4px; }
.series-head__meta dd { margin: 0; color: var(--ink-2); }

.lead {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  padding: 0 var(--gutter);
}
.lead__fig { grid-column: 1 / -1; margin: 0; }
.lead--portrait .lead__fig { grid-column: 3 / 11; }
.lead--portrait .lead__fig .frame, .lead--portrait .lead__fig .shot__cap { margin-inline: auto; }
.lead__text { grid-column: 8 / 12; margin: 0; max-width: 38ch; color: var(--ink-2); padding-bottom: 10px; }
.lead--landscape .lead__text { grid-column: 7 / 12; margin-top: 28px; }
.lead--spread, .lead--pair { display: block; }

.seq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--seq-gap);
  padding: var(--seq-gap) var(--gutter) 0;
}
.shot { margin: 0; position: relative; min-width: 0; }
.shot--full { grid-column: 1 / -1; margin-inline: calc(var(--gutter) * -1); }
.shot--wide { grid-column: 2 / 12; }
.shot--left.is-portrait { grid-column: 1 / 6; }
.shot--left.is-landscape { grid-column: 1 / 9; }
.shot--right.is-portrait { grid-column: 8 / 13; }
.shot--right.is-landscape { grid-column: 5 / 13; }
.shot--center.is-portrait { grid-column: 5 / 9; }
.shot--center.is-landscape { grid-column: 4 / 10; }
.pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
/* Pairs sit close to each other around the centre line, the second
   photograph a step lower. */
.pair > .shot:first-child { grid-column: 1 / 7; }
.pair > .shot:last-child { grid-column: 7 / 13; margin-top: clamp(2.5rem, 12vh, 9rem); }
.pair > .shot:first-child .frame, .pair > .shot:first-child .shot__cap { margin-left: auto; }
.lead--pair .pair > .shot:last-child { margin-top: clamp(2rem, 9vh, 6rem); }

/* Three photographs in a row, the middle one raised. */
.trio {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.trio > .shot:nth-child(odd) { margin-top: clamp(2rem, 9vh, 6.5rem); }
.trio .frame, .trio .shot__cap { margin-inline: auto; }

.shot--right .frame, .shot--right .shot__cap { margin-left: auto; }
.shot--center .frame, .shot--center .shot__cap,
.shot--wide .frame, .shot--wide .shot__cap { margin-inline: auto; }

/* A photograph with its text beside it. */
.spread {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 112px);
}
.spread--media-right { flex-direction: row-reverse; }
.spread__media { margin: 0; flex: 0 1 auto; width: min(58%, calc(max(88vh, 460px) * var(--ar, .8))); min-width: 0; }
.spread.is-landscape .spread__media { width: min(62%, calc(max(88vh, 460px) * var(--ar, 1.5))); }
.spread__media .frame { width: 100%; }
.spread__text { flex: 1 1 20em; max-width: 33em; min-width: 0; }
.spread--long { align-items: flex-start; }
.spread--long .spread__media { position: sticky; top: calc(var(--masthead-h) + 12px); }

.essay + .essay { margin-top: 2.4em; padding-top: 2em; border-top: 1px solid var(--line); }
.essay__label { margin: 0 0 16px; color: var(--ink-3); }
.essay__p { margin: 0 0 .95em; font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.58; color: var(--ink); text-wrap: pretty; }
.essay__p:last-child { margin-bottom: 0; }
.essay__credit { margin: 1.3em 0 0; color: var(--ink-3); }

.shot__btn { display: block; width: 100%; cursor: zoom-in; text-align: left; }
.shot__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--ink-3); font-size: var(--fs-type-s); }
.shot--full .shot__cap { padding-inline: var(--gutter); }
.shot__cap .view-hint { opacity: 0; transition: opacity var(--t-mid); color: var(--ink-2); }
.shot:hover .view-hint, .shot__btn:focus-visible + .shot__cap .view-hint { opacity: 1; }

.series-end {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: calc(var(--seq-gap) * 1.2);
  padding: clamp(28px, 5vh, 56px) var(--gutter) 0;
  border-top: 1px solid var(--line);
}
.series-end__label { grid-column: 1 / -1; color: var(--ink-3); margin-bottom: 18px; }
.next-link {
  grid-column: 1 / 9; justify-self: start; align-self: end;
  display: grid; grid-template-columns: auto auto; align-items: end; gap: 22px;
}
.next-link__title {
  font-weight: 500; font-size: clamp(2.4rem, 5.6vw, 5.6rem);
  line-height: 1; letter-spacing: -.045em;
  transition: transform var(--t-mid) var(--ease-out);
}
.next-link:hover .next-link__title { transform: translateX(.06em); }
.next-link__arrow { font-family: var(--type); font-size: 24px; transition: transform var(--t-mid) var(--ease-out); }
.next-link:hover .next-link__arrow { transform: translateX(8px); }
.next-plate-wrap { grid-column: 10 / 13; align-self: end; container-type: inline-size; }
.next-plate { display: block; }
.next-plate .frame { width: min(100cqi, calc(max(42vh, 240px) * var(--ar, .8))); aspect-ratio: var(--ar, .8); }
.series-end__all {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin: clamp(40px, 8vh, 80px) 0 0; padding: 0; list-style: none; color: var(--ink-3);
}
.series-end__all a:hover, .series-end__all a[aria-current="page"] { color: var(--ink); }
.series-end__all a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.rail {
  position: fixed; inset: auto 0 0 0; z-index: 35;
  height: calc(var(--rail-h) + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: 1fr minmax(80px, 2fr) 1fr; align-items: center; gap: 18px;
  padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
  background: var(--bg); border-top: 1px solid var(--line); color: var(--ink-2);
  font-size: var(--fs-type-s);
  transform: translateY(100%); transition: transform var(--t-mid) var(--ease-out);
}
.rail.is-visible { transform: none; }
.rail a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail a:hover { color: var(--ink); }
.rail__track { position: relative; height: 1px; background: var(--line); }
.rail__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.rail__next { text-align: right; }

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

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding: 28px var(--gutter) 34px;
  margin-top: clamp(80px, 14vw, 200px);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a, .foot button { color: var(--ink-2); font: inherit; }
.foot a:hover, .foot button:hover { color: var(--ink); }

/* ---------- Menu ---------- */

.menu {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: env(safe-area-inset-top, 0px) var(--gutter) env(safe-area-inset-bottom, 0px);
  border: 0; background: var(--bg); color: var(--ink); overflow: hidden;
}
.menu::backdrop { background: var(--bg); }
.menu[open] { display: grid; grid-template-rows: var(--masthead-h) 1fr auto; animation: menu-in 380ms var(--ease-out); }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.menu__head { display: flex; align-items: center; justify-content: space-between; }
.menu__head .burger { display: block; }
.menu__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); gap: var(--gutter);
  align-items: start; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent);
}
/* Auto margins centre the list when it fits and fall back to top alignment when it does not,
   so a long list scrolls inside the body instead of running into the footer. */
.menu__col, .menu__preview { margin-block: auto; }
.menu__label { color: var(--ink-3); margin: 0 0 14px; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__item { overflow: hidden; }
.menu__link {
  display: inline-block;
  font-weight: 500; font-size: clamp(2.3rem, min(6.4vw, 8vh), 6rem); line-height: 1.04; letter-spacing: -.045em;
  transition: opacity var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.menu[open] .menu__link { animation: menu-item 600ms var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
@keyframes menu-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.menu--site .menu__preview { visibility: hidden; }
.menu__list.has-hover .menu__link { opacity: var(--dim); }
.menu__list.has-hover .menu__link.is-hover { opacity: 1; }
.menu__count { display: inline-block; margin-left: 14px; font: 400 var(--fs-type-s)/1 var(--type); letter-spacing: .01em; color: var(--ink-3); vertical-align: baseline; white-space: nowrap; }
.menu__link[aria-current="page"] .menu__count::after { content: " · current"; }
.menu__preview { margin: 0; justify-self: end; width: min(100%, 30vw); }
.menu__preview .frame { width: 100%; aspect-ratio: var(--ar, .8); max-height: 62vh; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0 26px; border-top: 1px solid var(--line); color: var(--ink-2); background: var(--bg); position: relative; z-index: 1; }
.menu__foot a:hover { color: var(--ink); }
.menu__foot .theme-toggle { font: inherit; padding: 0; }

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

.viewer {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); overflow: hidden;
}
.viewer::backdrop { background: var(--bg); }
.viewer[open] { display: grid; grid-template-rows: 1fr auto; animation: menu-in 360ms var(--ease-out); }
.viewer__stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vh, 48px) var(--gutter) 0; min-height: 0; touch-action: pan-y;
}
.viewer__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: viewer-img 500ms var(--ease-out); }
@keyframes viewer-img { from { opacity: 0; transform: translateX(var(--from, 0)); } to { opacity: 1; transform: none; } }
.viewer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom));
  font: 400 var(--fs-type)/1 var(--type); color: var(--ink-2);
}
.viewer__controls { display: flex; gap: 6px; }
.viewer__controls button { padding: 10px 14px; border: 1px solid var(--line-strong); font: inherit; color: var(--ink); transition: border-color var(--t-fast), background-color var(--t-fast); }
.viewer__controls button:hover { border-color: var(--ink); background: var(--bg-raise); }

/* Previous and next sit on either side of the photograph, centred on the stage
   (the viewer minus the bottom bar). On wide screens the stage is inset so the
   arrows stay clear of the print; on phones they sit over it on a veil. */
.viewer { --vbar: 68px; --arrow: 52px; }
.viewer__stage { padding-inline: calc(var(--gutter) + var(--arrow) + 16px); }
.viewer__arrow {
  position: absolute; z-index: 1;
  top: calc((100% - var(--vbar)) / 2 + clamp(16px, 4vh, 48px) / 2);
  display: grid; place-items: center;
  width: var(--arrow); height: var(--arrow); margin-top: calc(var(--arrow) / -2);
  border: 1px solid var(--line); background: var(--veil-strong); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-mid) var(--ease-out);
}
.viewer__arrow--prev { left: var(--gutter); }
.viewer__arrow--next { right: var(--gutter); }
.viewer__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.viewer__arrow:hover { border-color: var(--line-strong); background: var(--bg); }
.viewer__arrow--prev:hover { transform: translateX(-3px); }
.viewer__arrow--next:hover { transform: translateX(3px); }
.viewer__arrow:active { transform: scale(.94); }

.noscript { padding: 120px var(--gutter); font-family: var(--type); }

.theme-fade, .theme-fade * {
  transition: background-color 500ms ease, color 500ms ease, border-color 500ms ease, box-shadow 500ms ease !important;
}
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Captions with photograph titles ---------- */

.shot__cap-left { display: flex; gap: 14px; min-width: 0; }
.shot__title { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Article page: staggered caption and photograph columns ---------- */

/* The essay sits centred under the header, like the series pages, instead of
   hugging the left edge on wide screens. */
.article__body { padding: 0 var(--gutter); }
@media (min-width: 1001px) {
  .article__body { max-width: calc(min(1280px, 80vw) + 2 * var(--gutter)); margin-inline: auto; }
}
.article__intro {
  max-width: 34em;
  margin: 0 0 clamp(1.8rem, 4.5vh, 3rem);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
}
/* Two columns, the first slightly wider, as in the reference page. */
.article__duo {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: clamp(14px, 1.9vw, 30px);
  align-items: start;
}
.article__duo + .article__duo { margin-top: var(--seq-gap); }
.article__col { margin: 0; display: flex; flex-direction: column; gap: clamp(8px, .9vw, 14px); min-width: 0; }
.article__panel { background: var(--bg-raise); }
.article__media { padding: clamp(6px, .55vw, 9px); }
.article__media .shot__btn { display: block; width: 100%; }
.article__media .frame { width: 100%; }
.article__caption {
  margin: 0;
  padding: clamp(16px, 1.7vw, 26px) clamp(16px, 1.9vw, 28px) clamp(18px, 2vw, 30px);
  color: var(--ink-2);
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.62;
}
.article__caption p { margin: 0 0 .8em; }
.article__caption p:last-child { margin-bottom: 0; }
.article__caption-title { color: var(--ink); font-weight: 600; margin-bottom: 1em !important; }

/* ---------- Language toggle ---------- */

.lang-toggle { display: inline-flex; align-items: center; gap: 5px; font: 400 13.5px/1 var(--type); letter-spacing: .04em; color: var(--ink-3); }
.lang-toggle button { padding: 6px 1px; color: var(--ink-3); transition: color var(--t-fast); }
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.menu__foot .lang-toggle { font: inherit; }

/* ---------- Viewer: way back to the gallery ---------- */

.viewer__meta { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); min-width: 0; }
.viewer__back { color: var(--ink); white-space: nowrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.viewer__back:hover { border-color: var(--ink); }
.viewer__title { margin-left: 14px; color: var(--ink-3); }
.viewer__count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .about { flex-direction: column; align-items: stretch; min-height: 0; }
  .about__bg {
    position: relative; top: auto; right: auto; bottom: auto;
    width: 100%; height: auto; aspect-ratio: 4 / 3;
    object-position: 62% 25%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .about__body { padding-top: clamp(8px, 3vw, 32px); }
  .about__text { max-width: 64ch; }
  .lead__text { grid-column: 8 / 13; }
  .reach__info { grid-column: 1 / -1; }
  .inquiry { grid-column: 1 / -1; margin-top: 56px; }
  .spread__text { flex-basis: 16em; }
}

@media (max-width: 760px) {
  :root { --masthead-h: 68px; --seq-gap: clamp(3.4rem, 10vh, 6rem); --stream-gap: clamp(5rem, 22vw, 8rem); }

  .masthead__nav .nav-link, .masthead__nav .theme-toggle { display: none; }
  .burger { display: block; }

  .masthead__nav .nav-drop { display: none; }
  .squares__inner, .squares__cap { max-width: none; }
  .sq__label { display: none; }
  .feature .frame { aspect-ratio: 1.4 !important; }
  .feature__cap, .pair-home__cap { flex-direction: column; gap: 2px; }
  .feature__cap .arrow, .pair-home__cap .arrow { display: none; }
  .pair-home { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .pair-home__cap { min-height: 5.2em; }
  .cap-title { font-size: 15px; }
  .about { min-height: 0; }
  .about::before { background: var(--veil-strong); }
  .about__body { padding-left: var(--gutter); }
  .overlap { padding: 0 calc(var(--gutter) + 18px); }
  .overlap__inner { aspect-ratio: 1 / 1.3; margin-top: 30px; }
  .ov--land { left: 8%; width: 84%; }
  .ov--port { left: 0; top: 33%; width: 47%; }
  .ov--third { left: 53%; top: 41%; width: 47%; }
  .ov__cap--land { left: 8%; top: auto; bottom: 100%; margin-bottom: 8px; }
  .ov__cap--port, .ov__cap--third { top: auto; height: auto; }
  .ov__cap--port { top: 33%; height: 55%; }
  .ov__cap--third { top: 41%; height: 55%; }
  .ov__cap--v .count { display: none; }
  .feature__title { font-size: clamp(2.2rem, 12vw, 4rem); }
  .about__links .btn { flex: 0 0 auto; }
  .inquiry { max-width: none; justify-self: stretch; }
  .reach__title { font-size: clamp(3rem, 16vw, 5rem); }

  .reach { display: block; }
  .reach__row { grid-template-columns: 1fr; gap: 2px; }
  .inquiry { margin-top: 56px; }

  .pf-cols { column-gap: 14px; }
  .pf-col { gap: 56px; }
  .pf-col:nth-child(2) { padding-top: 90px; }

  .series-head__title { grid-column: 1 / -1; }
  .series-head__meta { grid-template-columns: 1fr 1fr; }
  .lead { display: block; }
  .lead__text { margin-top: 24px; }
  .seq { display: flex; flex-direction: column; }
  .spread, .spread--media-right { flex-direction: column; align-items: stretch; gap: 28px; }
  .spread__media, .spread.is-landscape .spread__media { width: 100%; position: static !important; }
  .spread.is-portrait .spread__media { width: 88%; }
  .spread--media-right.is-portrait .spread__media { align-self: flex-end; }
  .spread__text { max-width: none; flex: none; }
  .trio { display: flex; flex-direction: column; align-items: stretch; gap: var(--seq-gap); }
  .trio > .shot:nth-child(odd) { margin-top: 0; }
  .trio > .shot:nth-child(1) { margin-right: 14%; }
  .trio > .shot:nth-child(2) { margin-left: 14%; }
  .trio > .shot:nth-child(3) { margin-inline: 7%; }
  .lead--portrait .lead__fig { grid-column: 1 / -1; }
  .article__duo { grid-template-columns: 1fr; gap: 44px; }
  .article__col--text-first .article__caption { order: 2; }
  .inquiry { padding: 24px 18px 26px; }
  .field, .inquiry__foot { grid-template-columns: 2.4em 1fr; }
  .inquiry__head { grid-template-columns: 2.4em 1fr auto; }
  .inquiry__note { margin-left: calc(2.4em + 12px); }
  .viewer__series, .viewer__title { display: none; }
  .viewer { --arrow: 42px; }
  .viewer__stage { padding-inline: var(--gutter); }
  .viewer__arrow--prev { left: 8px; }
  .viewer__arrow--next { right: 8px; }
  .viewer__arrow svg { width: 19px; height: 19px; }
  /* On phones photographs take the column width. The height cap used on larger screens
     depends on the viewport height, which embedded browsers can report far too small. */
  .seq .frame, .seq .shot__cap, .lead .frame, .lead .shot__cap { max-width: 100% !important; }
  .shot--left { margin-right: 8%; }
  .shot--right { margin-left: 8%; }
  .shot--center { margin-inline: 4%; }
  .pair { display: flex; flex-direction: column; align-items: stretch; gap: var(--seq-gap); }
  .pair > .shot:first-child { margin-right: 8%; }
  .pair > .shot:last-child { margin: 0 0 0 8%; }
  .series-end { display: block; }
  .next-plate-wrap { margin-top: 24px; width: 60%; }
  .rail { grid-template-columns: auto 1fr auto; gap: 12px; }
  .rail__label-long { display: none; }

  .menu__body { grid-template-columns: 1fr; padding-top: 3vh; }
  .menu__col { margin-block: 0; }
  .menu__preview { display: none; }
  .menu__link { font-size: clamp(2rem, 9.6vw, 3.2rem); }
  .menu__count { display: block; margin: 2px 0 10px 2px; }
  .menu__foot { gap: 8px 22px; padding: 16px 0 20px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .frame--strips img { transform: none; }
  .js-reveal .frame--strips { opacity: 1; }
  .view-enter > [data-stagger] { opacity: 1; transform: none; }
}
