/* A Combination of Words (Doug Geyer), version 2.
   Dark, photographic, lit like a desk at night. Literata for display and reading,
   Hanken Grotesk for interface text; both self-hosted (OFL). Long reading sits on paper. */

@font-face { font-family: Literata; src: url(../fonts/literata-normal-latin.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: Literata; src: url(../fonts/literata-italic-latin.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/hanken-normal-latin.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --night: #0c0a08;
  --umber: #17120d;
  --line: rgb(239 231 216 / 0.14);
  --bone: #efe7d8;
  --bone-2: rgb(239 231 216 / 0.68);
  --bone-3: rgb(239 231 216 / 0.44);
  --brass: #cda65a;
  --brass-2: #e6c987;
  --paper: #f3ede1;
  --ink: #1b1713;
  --ink-2: #5d544a;
  --rule: #d8cfbe;
  --serif: Literata, Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 82rem;
  --gutter: clamp(1.1rem, 4.4vw, 3.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.28s ease both vt-out; }
::view-transition-new(root) { animation: 0.5s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
::view-transition-group(title) { animation-duration: 0.55s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--brass-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.022em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--bone); color: var(--ink); padding: 0.55rem 1rem; border-radius: 0.4rem; }
.skip:focus { top: 1rem; }

/* film grain, used over the hero and photographic covers */
.grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- masthead ---------- */

.masthead { position: fixed; inset: 0 0 auto 0; z-index: 15; transition: background-color 0.35s ease, box-shadow 0.35s ease; }
.masthead.is-stuck, .no-js .masthead { background: rgb(12 10 8 / 0.9); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.masthead.is-stuck .masthead__in { padding-block: 0.85rem; }
.masthead__in { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem 1.4rem; padding-block: clamp(1.1rem, 2.4vw, 1.9rem); transition: padding 0.35s var(--ease); }
.masthead__brand { font: 500 clamp(1rem, 1.5vw, 1.3rem)/1.2 var(--serif); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; view-transition-name: brand; }
.masthead__nav { display: flex; gap: clamp(0.85rem, 2.6vw, 2.4rem); font-size: clamp(0.9rem, 0.86rem + 0.2vw, 0.98rem); white-space: nowrap; }
.masthead__nav a { text-decoration: none; padding-block: 0.25rem; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.masthead__nav a:hover { background-size: 100% 1px; }

/* ---------- buttons ---------- */

.btn { display: inline-flex; align-items: center; gap: 0.55em; font: 600 0.98rem/1 var(--sans); text-decoration: none; background: var(--bone); color: var(--ink); padding: 0.95em 1.45em; border: 0; border-radius: 999px; cursor: pointer; transition: background-color 0.25s, transform 0.35s var(--ease); }
.btn:hover { background: var(--brass-2); color: var(--ink); transform: translateY(-2px); }
.btn[hidden] { display: none; }

/* ---------- home hero ---------- */

.hero { position: relative; height: 100svh; min-height: 40rem; max-height: 72rem; overflow: hidden; background: #080604; isolation: isolate; }
.hero__bg { position: absolute; inset: -4%; z-index: -3; background: url(../img/hero-bokeh.webp) center 38% / cover; opacity: 0.9; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 80% at 50% 38%, rgb(8 6 4 / 0) 30%, rgb(8 6 4 / 0.72) 100%), linear-gradient(rgb(8 6 4 / 0.5), rgb(8 6 4 / 0) 22%, rgb(8 6 4 / 0) 62%, var(--night) 100%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.6s ease; }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero__hits { position: absolute; inset: 0; }
.lock-hit { position: absolute; cursor: grab; touch-action: pan-y; border-radius: 0.5rem; outline-offset: 0; -webkit-tap-highlight-color: transparent; }
.lock-hit.is-drag { cursor: grabbing; }
.hero__ui { position: absolute; inset: auto 0 clamp(1.4rem, 4.4vh, 3.4rem) 0; text-align: center; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.hero__h1 { font-size: clamp(2.6rem, 8vw, 6.4rem); margin-bottom: 1.2rem; }
.hero.is-3d .hero__h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.hero__line { font: italic 400 clamp(1.3rem, 2.5vw, 2.15rem)/1.3 var(--serif); letter-spacing: -0.012em; max-width: 36ch; margin: 0 auto 1.25rem; min-height: 2.6em; display: grid; align-items: end; text-wrap: balance; }
.hero__panel.is-swap .hero__line, .hero__panel.is-swap .hero__meta { animation: rise 0.7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.7rem); } }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 1.3rem; min-height: 3rem; margin: 0 0 1.5rem; color: var(--bone-2); font-size: 0.98rem; }
.hero__meta span:empty { display: none; }
.hero__hint { margin: 0; color: var(--bone-3); font-size: 0.92rem; }
.no-js .hero__hint, .hero.no-webgl .hero__hint { display: none; }
.hero__dial { background: none; border: 0; padding: 0; margin-left: 0.5em; cursor: pointer; color: var(--bone-2); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.22em; }
.hero__dial:hover { color: var(--brass-2); }

/* ---------- photographic covers on inner pages ---------- */

.cover { position: relative; min-height: min(66svh, 40rem); display: grid; align-items: end; padding: clamp(7rem, 16vh, 11rem) 0 clamp(2.2rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.cover__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: settle 9s var(--ease) both; }
@keyframes settle { from { transform: scale(1.09); } }
.cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--night) 1%, rgb(12 10 8 / 0.78) 34%, rgb(12 10 8 / 0.36) 66%, rgb(12 10 8 / 0.66)); }
.cover h1 { font-size: clamp(2.7rem, 7.6vw, 6.6rem); max-width: 15ch; view-transition-name: title; }
.piece .cover { min-height: min(56svh, 34rem); }
.piece .cover h1 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 20ch; }
.cover--paper::after { background: linear-gradient(to top, rgb(12 10 8 / 0.9) 0%, rgb(12 10 8 / 0.62) 40%, rgb(12 10 8 / 0.4) 70%, rgb(12 10 8 / 0.66)); }
.cover__from { margin: 1.3rem 0 0; color: var(--bone-2); }
.cover__from a { color: var(--bone); }

/* ---------- sections ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section + .section { padding-top: 0; }
.section__h { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section__head .section__h { margin: 0; }
.section__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-size: 0.98rem; color: var(--bone-2); }

/* the works list: big titles, a photograph follows the pointer */
.works { border-top: 1px solid var(--line); }
.works__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0.35rem 2rem; padding: clamp(1.15rem, 2.3vw, 1.9rem) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: opacity 0.35s; }
.works__title { font: 500 clamp(2rem, 5.4vw, 4.6rem)/1.04 var(--serif); letter-spacing: -0.028em; transition: transform 0.55s var(--ease), color 0.3s; }
.works__sum { grid-column: 1; color: var(--bone-2); font-size: 1rem; max-width: 52ch; transition: transform 0.55s var(--ease); }
.works__count { grid-row: 1; grid-column: 2; color: var(--bone-3); font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.works__thumb { display: none; }
@media (hover: hover) {
  .works:hover .works__row:not(:hover) { opacity: 0.38; }
  .works__row:hover .works__title, .works__row:hover .works__sum { transform: translateX(clamp(0.6rem, 1.6vw, 1.6rem)); }
  .works__row:hover { color: var(--bone); }
  .works__row:hover .works__title { color: var(--brass-2); }
}
.works--pieces .works__title { font-size: clamp(1.7rem, 3.6vw, 3rem); }
.works--pieces .works__sum { font: italic 400 1.08rem/1.5 var(--serif); max-width: 62ch; }
.works__float { position: fixed; left: 0; top: 0; z-index: 5; width: clamp(15rem, 25vw, 24rem); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0.3rem; pointer-events: none; opacity: 0; scale: 0.9; transition: opacity 0.35s, scale 0.6s var(--ease); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7); will-change: transform; }
.works__float.is-on { opacity: 1; scale: 1; }
.works__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s; }
.works__float img.is-on { opacity: 1; }
@media (hover: none), (max-width: 760px) {
  .works__float { display: none; }
  .works__row { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.2rem 1rem; align-items: center; }
  .works__thumb { display: block; grid-row: 1 / 3; width: 4.6rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0.2rem; }
  .works__title { grid-column: 2; }
  .works__sum { grid-column: 2; }
  .works__count { display: none; }
  .works--pieces .works__row { grid-template-columns: minmax(0, 1fr); }
  .works--pieces .works__title, .works--pieces .works__sum { grid-column: 1; }
}

/* the wall of spreads: two rows drifting past, tilted in space */
.wall { position: relative; overflow: hidden; padding-block: clamp(1rem, 3vw, 2.5rem) clamp(3rem, 7vw, 6rem); perspective: 1800px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.wall__plane { --rh: clamp(11rem, 21vw, 19rem); display: grid; gap: clamp(1rem, 2vw, 1.7rem); transform: rotateX(13deg) rotateY(-11deg) rotateZ(2.5deg) scale(1.1); transform-style: preserve-3d; transform-origin: 50% 40%; }
.wall__row { display: flex; gap: clamp(1rem, 2vw, 1.7rem); width: max-content; animation: drift 90s linear infinite; }
.wall__row--b { animation-direction: reverse; animation-duration: 110s; }
@keyframes drift { to { transform: translateX(-50%); } }
.wall:hover .wall__row, .wall:focus-within .wall__row { animation-play-state: paused; }
.wall .sheet { flex: none; height: var(--rh); width: calc(var(--rh) * var(--ar)); transition: transform 0.5s var(--ease), filter 0.4s; filter: brightness(0.82); }
.wall .sheet img { width: 100%; height: 100%; object-fit: cover; }
.wall .sheet:hover, .wall .sheet:focus-visible { transform: translateZ(60px) scale(1.04); filter: brightness(1.06); z-index: 2; }
.wall .sheet__cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem 0.9rem 0.75rem; background: linear-gradient(transparent, rgb(8 6 4 / 0.88)); font: 500 0.95rem/1.3 var(--sans); color: var(--bone); opacity: 0; transition: opacity 0.3s; }
.wall .sheet:hover .sheet__cap, .wall .sheet:focus-visible .sheet__cap { opacity: 1; }

/* spreads in a grid on collection pages */
.sheet { position: relative; display: block; text-decoration: none; color: inherit; }
.sheet img { width: 100%; background: #fff; border-radius: 2px; box-shadow: 0 22px 40px -22px rgb(0 0 0 / 0.85); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.sheets a.sheet:hover img { transform: translateY(-6px) scale(1.012); box-shadow: 0 34px 50px -24px rgb(0 0 0 / 0.9); }
.sheet__t { display: block; margin-top: 1rem; font: 500 1.3rem/1.2 var(--serif); letter-spacing: -0.012em; }
.sheet__d { display: block; font: italic 400 1.02rem/1.4 var(--serif); color: var(--bone-2); margin-top: 0.15rem; }
.sheet__m { display: block; color: var(--bone-3); font-size: 0.9rem; margin-top: 0.2rem; }
.sheet--text { margin: 0; align-self: end; }
.sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 23rem), 1fr)); gap: clamp(2.2rem, 4vw, 3.4rem) clamp(1.4rem, 2.6vw, 2.4rem); align-items: start; }
.sheets--tall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }

.quote { margin: 0; max-width: 54rem; }
.quote p { font: italic 400 clamp(1.35rem, 2.7vw, 2.1rem)/1.38 var(--serif); letter-spacing: -0.012em; margin-bottom: 1.1rem; }
.quote footer { color: var(--bone-2); font-size: 0.98rem; }

.links { border-top: 1px solid var(--line); columns: 2 26rem; column-gap: clamp(2rem, 5vw, 4.5rem); }
.links li { border-bottom: 1px solid var(--line); break-inside: avoid; }
.links a, .links--plain li { display: block; padding: 0.95rem 0; font: 400 1.18rem/1.35 var(--serif); text-decoration: none; }
.links a { transition: padding-left 0.4s var(--ease), color 0.25s; }
.links a:hover { padding-left: 0.7rem; }
.links span { color: var(--bone-3); font: 400 0.9rem var(--sans); margin-left: 0.5rem; }
.aside { margin: 2.2rem 0 0; color: var(--bone-2); }

.video { margin: 0 0 clamp(3rem, 6vw, 5rem); max-width: 62rem; }
.video__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.3rem; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.video__btn:hover img { transform: scale(1.03); }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 5rem; height: 5rem; border-radius: 50%; background: var(--bone); display: grid; place-items: center; transition: scale 0.3s var(--ease), background-color 0.25s; }
.video__btn:hover .video__play { scale: 1.08; background: var(--brass-2); }
.video__play svg { width: 2rem; height: 2rem; fill: var(--ink); translate: 0.12rem 0; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 0.3rem; }
.video figcaption { margin-top: 1rem; color: var(--bone-2); max-width: 44rem; }

/* the opening essay on the home page */
.essay { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem clamp(2.5rem, 7vw, 7rem); align-items: start; }
.essay__lead { position: sticky; top: 6rem; }
.essay__lead h2 { font: 400 0.98rem/1.4 var(--sans); letter-spacing: 0; color: var(--bone-2); margin-bottom: 1.4rem; }
.essay__lead p { font: italic 400 clamp(2.2rem, 4.8vw, 4.2rem)/1.08 var(--serif); letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.essay__text { font: 400 clamp(1.1rem, 1.02rem + 0.3vw, 1.25rem)/1.72 var(--serif); color: var(--bone); max-width: 38rem; }
.essay__text p { margin-bottom: 1.15em; }
.essay__sign { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.4rem; font-style: italic; }
.essay__sign img { width: 4.6rem; height: 4.6rem; object-fit: cover; object-position: 50% 30%; border-radius: 50%; }
.essay__sign a { display: block; font: 500 1.35rem/1.3 var(--serif); font-style: normal; text-decoration: none; }
@media (max-width: 860px) { .essay { grid-template-columns: minmax(0, 1fr); } .essay__lead { position: static; } }

/* ---------- reading on paper ---------- */

.paper { background: var(--paper); color: var(--ink); }
.paper a { text-decoration-color: var(--brass); }
.paper a:hover { color: #8a6418; }
.paper :focus-visible { outline-color: #8a6418; }
.reading { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.prose { max-width: 40rem; font-family: var(--serif); }
.prose h3 { font-size: 1.6rem; margin: 2.2em 0 0.8em; }
.prose--reading { margin-inline: auto; font-size: clamp(1.16rem, 1.06rem + 0.38vw, 1.32rem); line-height: 1.74; hanging-punctuation: first; }
.prose--reading > p:first-of-type::first-letter { font: 500 4.1em/0.78 var(--serif); float: left; padding: 0.08em 0.09em 0 0; color: #8a6418; }
.prose--story p { margin: 0; }
.prose--story p + p { text-indent: 1.6em; }
.prose--story h3 { text-align: center; margin: 2.4em 0 1.2em; }
.prose--story h3 + p { text-indent: 0; }
.prose--story .prose__coda { text-indent: 0; margin-top: 2.2em; font-style: italic; }
.prose--aloud { font-size: clamp(1.22rem, 1.12rem + 0.45vw, 1.42rem); line-height: 1.76; }
.prose--aloud p { margin-bottom: 0.95em; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 20; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }

.pager { border-top: 1px solid var(--rule); }
.pager__in { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: 2.6rem 3.6rem; }
.pager a { text-decoration: none; font: 500 clamp(1.3rem, 2.8vw, 2rem)/1.2 var(--serif); letter-spacing: -0.015em; }
.pager span { display: block; font: 400 0.92rem/1.4 var(--sans); color: var(--ink-2); margin-bottom: 0.35rem; letter-spacing: 0; }
.pager__next { text-align: right; grid-column: 2; }

.thoughts { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 40rem); gap: 2rem clamp(2rem, 8vw, 7rem); justify-content: center; align-items: start; padding-block: clamp(3rem, 8vw, 6rem); }
.thoughts__toc { position: sticky; top: 5.2rem; font-size: 0.98rem; line-height: 1.35; max-height: calc(100vh - 6.6rem); overflow: auto; }
.thoughts__toc li { border-bottom: 1px solid var(--rule); }
.thoughts__toc li:first-child { border-top: 1px solid var(--rule); }
.thoughts__toc a { display: block; padding: 0.55rem 0; text-decoration: none; transition: padding-left 0.35s var(--ease); }
.thoughts__toc a:hover { padding-left: 0.5rem; }
.thought { padding-bottom: clamp(2.6rem, 6vw, 4rem); margin-bottom: clamp(2.6rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 5.2rem; }
.thought:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.thought h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 1rem; }
.thought .prose { font-size: 1.2rem; line-height: 1.74; }
.thought .prose p:last-child { margin-bottom: 0; }
.thought:target h2 { color: #8a6418; }
@media (max-width: 860px) {
  .thoughts { grid-template-columns: minmax(0, 1fr); }
  .thoughts__toc { position: static; max-height: none; columns: 2; column-gap: 1.6rem; }
  .thoughts__toc li:first-child { border-top: 0; }
}

.why { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 21rem); gap: 2.8rem clamp(2rem, 8vw, 7rem); justify-content: center; align-items: start; padding-block: clamp(3rem, 8vw, 6rem); }
.why .prose { font-size: 1.2rem; line-height: 1.74; }
.why__h { font: italic 400 clamp(1.9rem, 4vw, 3rem)/1.1 var(--serif); letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.why .quote { margin: 0 0 2.2rem; padding-left: 1.4rem; border-left: 2px solid var(--brass); }
.why .quote p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.why .quote footer { color: var(--ink-2); font-family: var(--sans); }
.why__line { font: 500 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--serif); letter-spacing: -0.02em; margin: 2rem 0 1.1rem; }
.why__side img { width: 100%; margin-bottom: 1.5rem; border-radius: 0.2rem; }
.facts { border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.45; }
.facts li { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } .why__side img { max-width: 14rem; } }

/* ---------- contact and footer ---------- */

.outro { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 12vw, 10rem) clamp(3rem, 6vw, 5rem); }
.outro__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.outro::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--night), rgb(12 10 8 / 0.8) 30%, rgb(12 10 8 / 0.74) 70%, var(--night)); }
.outro__line { font: 400 clamp(2rem, 5vw, 4.2rem)/1.08 var(--serif); letter-spacing: -0.025em; max-width: 19ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); text-wrap: balance; }
.outro__mail { display: inline-block; font: italic 400 clamp(1.5rem, 4.4vw, 3.4rem)/1.1 var(--serif); letter-spacing: -0.02em; text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; padding-bottom: 0.12em; overflow-wrap: anywhere; }
.outro__rest { display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem; margin-top: 1.8rem; color: var(--bone-2); }
.outro__rest a { text-decoration: none; color: var(--bone); }
.outro__rest a:hover { color: var(--brass-2); }
.contact { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 7vw, 6rem); align-items: start; }
.contact > img { border-radius: 0.2rem; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact > img { max-width: 13rem; } }

.foot { border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--bone-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 6vw, 5rem); padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.foot__title { font: 500 1.3rem/1.2 var(--serif); color: var(--bone); margin-bottom: 0.5rem; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0.45rem 1.7rem; align-content: start; }
.foot__nav a { text-decoration: none; color: var(--bone); }
.foot__nav a:hover { color: var(--brass-2); }
.foot__credit { grid-column: 1 / -1; margin: 0; color: var(--bone-3); font-size: 0.86rem; }
.foot__made { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; }
.foot__made a { color: var(--bone-2); text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; padding-bottom: 0.1em; }
.foot__made a:hover { color: var(--brass-2); }
@media (max-width: 760px) { .foot__in { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .wall { perspective: none; overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .wall__plane { transform: none; }
  .wall__row { animation: none; }
  .wall__row [aria-hidden='true'] { display: none; }
  @view-transition { navigation: none; }
}

.lede { font: 400 clamp(1.2rem, 1.9vw, 1.5rem)/1.6 var(--serif); max-width: 46rem; margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.lede p:last-child { margin-bottom: 0; }
.hero__line { max-width: 46ch; }

@media (max-width: 859px) {
  .hero { min-height: 38rem; }
  .hero__line { font-size: clamp(1.12rem, 4.6vw, 1.5rem); min-height: 0; margin-bottom: 0.9rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .hero__meta { gap: 0.6rem 1rem; margin-bottom: 1rem; min-height: 0; }
  .hero__hint { font-size: 0.86rem; }
}
