/* Black and white, white ground, one modern sans with a mono for small facts.
   Layout idea: the photo is the door; the article sits inside it. */
:root {
  --white: #ffffff;
  --black: #000000;
  --grey: #6b6b6b;
  --line: #e6e6e6;
  --sans: "Geist", "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  --mono: "Newsreader", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--black); }
body { font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, canvas { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }

/* Top bar, shared */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; pointer-events: none; }
.bar > * { pointer-events: auto; }
.logo { font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.btn {
  font: 500 12px/1 var(--sans); letter-spacing: .01em; color: var(--black); text-decoration: none;
  background: var(--btn, #f0f0f0); border: 0; border-radius: 4px; padding: 7px 11px; cursor: pointer;
}
.btn:hover, .btn[aria-expanded="true"] { background: var(--black); color: var(--white); }
.btns { display: flex; gap: 6px; }

/* Universe */
body.universe { height: 100%; overflow: hidden; }
html:has(body.universe) { height: 100%; }
#stage { position: fixed; inset: 0; }
#stage canvas { width: 100%; height: 100%; cursor: grab; touch-action: none; }
#stage canvas:active { cursor: grabbing; }
body.leaving #stage { opacity: 0; transition: opacity .25s ease; }
.tip {
  position: fixed; left: 0; top: 0; z-index: 11; pointer-events: none; white-space: nowrap;
  background: var(--black); color: var(--white); padding: 6px 9px; border-radius: 3px;
  font: 500 12px/1.2 var(--sans);
}
.tip-no { font-family: var(--mono); opacity: .55; margin-right: 8px; }
.hint { position: fixed; left: 20px; right: 20px; bottom: 16px; z-index: 10; display: flex; justify-content: space-between; gap: 12px; color: var(--grey); pointer-events: none; }
@media (max-width: 560px) { .hint .how { display: none; } }
.about {
  position: fixed; top: 56px; right: 20px; z-index: 12; width: min(360px, calc(100vw - 40px));
  background: var(--white); border: 1px solid var(--black); padding: 18px 20px; font-size: 15px; line-height: 1.55;
}
.about p { margin: 0 0 10px; }
.about p:last-child { margin: 0; color: var(--grey); }
.visually-hidden, .fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fallback ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
body.no-webgl { overflow: auto; }
body.no-webgl #stage, body.no-webgl .hint { display: none; }
body.no-webgl .fallback { position: static; width: auto; height: auto; clip: auto; white-space: normal; max-width: 720px; margin: 110px auto; padding: 0 20px; }
body.no-webgl .fallback a { font-size: 28px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }

/* Article: a classic page on a wide grid.
   Display serif for the name and quotes, a reading serif for the text, and
   small mono labels for facts. The text column is generous; photos run wider. */
:root {
  --serif-display: "Instrument Serif", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --serif: "Newsreader", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --page: 1240px; --col: 760px;
}
.article { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .article { animation: none; } }

.hero { margin: 0 auto; max-width: var(--page); padding: 72px 32px 0; }
.hero-frame { position: relative; overflow: hidden; }
.hero-frame canvas, .hero-frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); background: #eee; display: block; transform-origin: 50% 0; }
@media (min-width: 900px) { .hero-frame canvas, .hero-frame img { aspect-ratio: auto; height: min(70vh, 54vw); } }
.hero figcaption { display: none; }

/* Name across the page, details in an even row beneath */
.head { max-width: var(--page); margin: 0 auto; padding: 48px 32px 0; display: flex; flex-direction: column; }
.title { order: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.title h1 { margin: 0; font-family: var(--serif-display); font-weight: 400; font-size: clamp(56px, 10.5vw, 156px); line-height: .9; letter-spacing: -.02em; text-wrap: balance; }
.title .role { margin: 0 0 .6em; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--grey); }
.meta {
  order: 2; margin: 36px 0 0; padding: 14px 0 0; border-top: 1px solid var(--black);
  display: grid; grid-template-columns: .6fr 1.1fr 1.1fr 1.3fr .9fr; gap: 16px 24px;
}
.meta div { display: grid; gap: 6px; align-content: start; }
.meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.meta dd { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.35; color: var(--black); text-transform: none; letter-spacing: 0; }
@media (max-width: 760px) { .meta { grid-template-columns: 1fr 1fr; } .title .role { margin: 4px 0 0; } }

/* Text */
.body { max-width: var(--col); margin: 0 auto; padding: 96px 32px 0; font-family: var(--serif); }
.label { margin: 0 0 12px; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--grey); letter-spacing: .08em; text-transform: uppercase; }
.intro .label { display: none; }
.intro { margin-bottom: 72px; }
.lede { font-size: 25px; line-height: 1.5; margin: 0 0 20px; text-wrap: pretty; color: #111; }
.intro .lede:first-child::first-letter {
  font-family: var(--serif-display); float: left; font-size: 5.1em; line-height: .78; padding: .06em .08em 0 0; color: var(--black);
}

.turn { margin: 0 0 40px; }
.turn .q { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; color: #6a6a6a; }
.turn .a { margin: 0 0 14px; font-size: 21px; line-height: 1.62; color: #141414; text-wrap: pretty; }
.turn .a:last-child { margin-bottom: 0; }

.pull {
  margin: 96px 0; padding: 0; text-align: center;
  font-family: var(--serif-display); font-weight: 400; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance;
}
.pull::before, .pull::after { content: ""; display: block; width: 40px; height: 1px; background: var(--black); margin: 0 auto 36px; }
.pull::after { margin: 36px auto 0; }

.inset { margin: 88px 0; }
.inset.wide { margin-left: calc((var(--col) - 64px - min(var(--page) - 64px, 100vw - 64px)) / 2); margin-right: calc((var(--col) - 64px - min(var(--page) - 64px, 100vw - 64px)) / 2); }
.inset:not(.wide) { width: 72%; margin-left: auto; margin-right: auto; }
@media (max-width: 800px) { .inset.wide { margin-left: 0; margin-right: 0; } .inset:not(.wide) { width: 100%; } }
.inset canvas, .inset img { width: 100%; height: auto; filter: grayscale(1); background: #eee; display: block; }
.inset figcaption { display: none; }

/* Closing notes, side by side */
.codas { margin-top: 96px; padding-top: 16px; border-top: 1px solid var(--black); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.coda { margin: 0; padding: 0; border: 0; }
.coda p { margin: 0; font-size: 17px; line-height: 1.6; color: #444; }
@media (max-width: 640px) { .codas { grid-template-columns: 1fr; } }

.next { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: var(--page); margin: 140px auto 0; padding: 18px 32px 56px; text-decoration: none; border-top: 0; position: relative; }
.next::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 1px; background: var(--black); }
.next .mono { color: var(--grey); font-size: 10px; letter-spacing: .08em; order: 2; }
.next .t { font-family: var(--serif-display); font-size: clamp(44px, 7vw, 104px); font-weight: 400; letter-spacing: -.015em; line-height: .95; }
.next .t::after { content: " \2192"; display: inline-block; font-family: var(--sans); font-size: .45em; vertical-align: .35em; transition: transform .45s cubic-bezier(.25,.8,.25,1); }
.next:hover .t::after { transform: translateX(.25em); }
.foot { max-width: var(--page); margin: 0 auto; padding: 0 32px 28px; display: flex; justify-content: space-between; color: var(--grey); gap: 12px; flex-wrap: wrap; font-size: 10px; letter-spacing: .08em; }

/* Title in the top bar once the name has scrolled away */
.bar-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); opacity: 0; pointer-events: none; font-family: var(--serif-display); font-size: 20px; font-weight: 400; letter-spacing: 0; white-space: nowrap; transition: opacity .35s ease, transform .45s cubic-bezier(.25,.8,.25,1); }
.bar-title .mono { color: var(--grey); margin-right: 8px; font-size: 11px; }
.scrolled .bar-title { opacity: 1; transform: translate(-50%, -50%); }
body:has(.article) .bar { background: linear-gradient(var(--white) 60%, rgba(255,255,255,0)); }
@media (max-width: 560px) { .bar-title { display: none; } }

/* Gentle fade up as each part is reached */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16,1,.3,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }
.sample { color: var(--grey); }

@media print { .bar, .next { display: none; } }

/* Index, set like a dictionary */
.dict-main { max-width: 640px; margin: 0 auto; padding: 96px 20px 80px; }
.dict-main h1 { font-size: 15px; font-weight: 600; margin: 0 0 18px; }
.az { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-bottom: 14px; border-bottom: 1px solid var(--black); }
.az span { color: #c8c8c8; }
.az a { text-decoration: none; }
.az a:hover { text-decoration: underline; }
.letter { display: grid; grid-template-columns: 48px 1fr; gap: 0 12px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.letter h2 { margin: 0; font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.letter ul { list-style: none; margin: 0; padding: 4px 0 0; display: grid; gap: 8px; }
.letter li { font-size: 16px; line-height: 1.5; }
.letter li a { text-decoration: none; }
.letter li a:hover b { text-decoration: underline; }
.letter li b { font-weight: 600; }
.letter li i { font-style: italic; color: #333; }
.letter li .mono { color: var(--grey); margin-left: 4px; }
.dict-foot { margin-top: 24px; color: var(--grey); }
body.universe > .bar .logo, body.universe .hint span { background: var(--white); padding: 4px 7px; border-radius: 3px; }
body.universe > .bar .logo { margin-left: -7px; }
body.universe .hint { left: 13px; right: 13px; }

/* Index by date */
.chron { grid-template-columns: 72px 1fr; }
.chron li a { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: baseline; }
.chron .d { color: var(--grey); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chron .n i { color: #333; }
.chron .no { color: var(--grey); }
.chron li a:hover b { text-decoration: underline; }
@media (max-width: 560px) { .chron { grid-template-columns: 1fr; } .chron h2 { margin-bottom: 8px; } .chron li a { grid-template-columns: 56px 1fr auto; } }

/* Reading progress line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--black); transform: scaleX(0); transform-origin: 0 50%; z-index: 30; pointer-events: none; }
@media print { .progress { display: none; } }

/* ---------- Details ---------- */

/* Film grain over everything, very faint, shifting like projected film */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* Cursor */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .2s ease;
}
.cursor.on { opacity: 1; }
.cursor::before {
  content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--black);
  transition: width .45s cubic-bezier(.25,.8,.25,1), height .45s cubic-bezier(.25,.8,.25,1), margin .45s cubic-bezier(.25,.8,.25,1), background .3s ease, border-color .3s ease;
  border: 1px solid transparent;
}
.cursor.link::before { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: transparent; border-color: var(--black); }
.cursor.word::before { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--black); }
.cursor.down::before { transform: scale(.9); }
.cursor.hide::before { width: 0; height: 0; margin: 0; }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font: 500 11px/1 var(--sans); letter-spacing: .02em; color: var(--white); white-space: nowrap;
  transition: opacity .25s ease, transform .45s cubic-bezier(.25,.8,.25,1);
}
.cursor.word .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Name rises letter by letter */
.title h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.title h1 .ch { display: inline-block; transform: translateY(105%); animation: chUp .9s cubic-bezier(.2,.85,.2,1) both; animation-delay: calc(var(--d) + .15s); }
@keyframes chUp { to { transform: none; } }



/* Index: floating portrait and rows that rise in */
.peek {
  position: fixed; left: 0; top: 0; z-index: 25; width: 160px; height: 200px; pointer-events: none;
  overflow: hidden; background: #eee; opacity: 0; scale: .85;
  transition: opacity .25s ease, scale .4s cubic-bezier(.2,.9,.25,1.15);
}
.peek.on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chron li { animation: rowIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.chron li a { position: relative; transition: padding-left .35s cubic-bezier(.2,.8,.2,1); }
.chron li a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 0; height: 1px; background: var(--black); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.chron li a:hover { padding-left: 18px; }
.chron li a:hover::before { width: 12px; }
@media (prefers-reduced-motion: reduce) {
  .chron li, .title h1 .ch { animation: none; transform: none; }
  .peek, .cursor::before { transition: none; }
}

/* Frames page background: a fine dot field that drifts with the view,
   a faint centre mark, and a live position readout */
#field {
  position: fixed; inset: 0; pointer-events: none;
  --fx: 0px; --fy: 0px; --fs: 26px;
  /* a soft light falling from above, so the white has depth too */
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #ffffff 0%, #f6f6f5 70%, #efefee 100%);
}
#field .cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: .35; }
#field .cross::before, #field .cross::after { content: ""; position: absolute; background: var(--black); }
#field .cross::before { left: 50%; top: 0; width: 1px; height: 100%; }
#field .cross::after { top: 50%; left: 0; height: 1px; width: 100%; }
.readout { color: #9a9a9a; font-variant-numeric: tabular-nums; white-space: pre; }
@media (max-width: 760px) { .readout { display: none; } }

/* Frames page: while flying into a photo, everything else steps back */
body.universe #field, body.universe > .bar, body.universe .hint { transition: opacity .6s ease; }
body.flying #field, body.flying > .bar, body.flying .hint { opacity: 0; }

/* Cross-document fade where the browser supports it, so there is no white flash */

/* ---------- Reader: the interview opens over the frames ---------- */
.reader {
  position: fixed; inset: 0; z-index: 15; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background: rgba(255,255,255,0); outline: none;
  transition: background-color .7s cubic-bezier(.4,0,.2,1);
}
.reader.in { background: rgba(255,255,255,1); }
.reader .article { animation: none; }
.reader .article > :not(.hero), .reader .hero figcaption { opacity: 0; transform: translateY(28px); transition: opacity .8s ease .45s, transform 1.2s cubic-bezier(.16,1,.3,1) .4s; }
.reader.in .article > :not(.hero), .reader.in .hero figcaption { opacity: 1; transform: none; }
.reader.entering .hero-frame canvas { visibility: hidden; }
.reader .hero { opacity: 1; }
.reader.leaving { background: rgba(255,255,255,0); transition: background-color .7s cubic-bezier(.4,0,.2,1) .15s; }
.reader.leaving .article > :not(.hero), .reader.leaving .hero figcaption { opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .5s ease; }
.reader.swapping .article { opacity: 0; transform: translateY(-12px); transition: opacity .35s ease, transform .4s ease; }
.reader .bar { position: fixed; top: 0; left: 0; right: 0; }
.reader .bar { opacity: 0; transition: opacity .5s ease .5s; }
.reader.in .bar { opacity: 1; }
.reader.leaving .bar { opacity: 0; transition: opacity .25s ease; }
html.reading body.universe > .bar { visibility: hidden; }
#stage { transition: transform 1.2s cubic-bezier(.16,1,.3,1), filter 1s ease; }
html.reading #stage { transform: scale(.94); filter: blur(4px); }
.fly { position: fixed; z-index: 32; overflow: hidden; pointer-events: none; background: #eee; will-change: left, top, width, height; }
.fly img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Article refinements ---------- */
@media (max-width: 860px) { .hero figcaption { width: auto; flex-direction: row; } }
.hero-frame { overflow: hidden; }
.hero-frame canvas { transform-origin: 50% 0; will-change: transform; }

/* Letters wait until the article starts */
.fx .title h1 .ch { animation-play-state: paused; }
.fx.started .title h1 .ch { animation-play-state: running; }





@media (prefers-reduced-motion: reduce) {
  .reader, .reader .article, #stage { transition: none; }
}


/* Sky switch */
.hint .moods { display: inline-flex; align-items: center; gap: 2px; pointer-events: auto; padding: 2px 3px 2px 8px !important; }
.hint .moods .moods-l { background: none !important; padding: 0 6px 0 0 !important; color: var(--grey); }
.moods button { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--grey); padding: 3px 7px; border-radius: 3px; transition: color .25s ease, background-color .25s ease; }
.moods button:hover { color: var(--black); }
.moods button[aria-pressed="true"] { color: var(--white); background: var(--black); }
.moods button:focus-visible { outline: 1px solid var(--black); outline-offset: 1px; }
@media (max-width: 760px) { .hint .moods .moods-l { display: none; } }

/* Dark skies: the interface turns light on dark */
body.universe[data-tone="dark"] { --white: #111111; --black: #f2f2f2; --grey: #8f8f8f; --line: #2c2c2c; --btn: rgba(255,255,255,.12); }
body.universe .logo, body.universe .hint > span, body.universe .btn, .about { transition: background-color .6s ease, color .6s ease; }
body.universe[data-tone="dark"] .hint > span, body.universe[data-tone="dark"] > .bar .logo { background: rgba(17,17,17,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.universe[data-tone="dark"] .readout { color: #8f8f8f; }
/* The reader always stays black on white, and so does the cursor over it */
.reader { --white: #ffffff; --black: #000000; --grey: #6b6b6b; --line: #e6e6e6; --btn: #f0f0f0; color: var(--black); }
html.reading .cursor { --white: #ffffff; --black: #000000; }
@media (max-width: 1180px) { .hint .how { display: none; } }
@media (max-width: 900px) { .readout { display: none; } }
@media (max-width: 560px) { .hint .sample { display: none; } .hint { justify-content: center; } }

/* White: nothing but the frames */
body.bare #field { background: #fff; }
body.bare #field .cross, body.bare .readout { opacity: 0; }
#field .cross, .readout { transition: opacity .6s ease; }

/* ---------- Magazine and novel details ---------- */
/* Paper: a faint warm tone for reading */
body:has(> main.article), .reader.in { background: #fbfaf6; }
.reader.in { background: rgba(251,250,246,1); }
body:has(> main.article) .bar { background: linear-gradient(#fbfaf6 60%, rgba(251,250,246,0)); }
.reader .bar { background: linear-gradient(#fbfaf6 60%, rgba(251,250,246,0)); }

/* Opener: kicker, name, deck, byline */
.title { display: block; }
.kicker { margin: 0 0 18px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.title .role { display: block; margin: 18px 0 0; max-width: 34ch; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: #3a3a3a; }
.byline { margin: 14px 0 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.meta { margin-top: 44px; }

/* Novel setting: justified, hyphenated, indented follow-on paragraphs */
.turn .a { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hanging-punctuation: first; }
.lede, .coda p { hyphens: auto; -webkit-hyphens: auto; hanging-punctuation: first; }
.lede + .lede { text-indent: 1.6em; margin-top: -20px; }
.turn .a + .a { text-indent: 1.6em; margin-top: -14px; }
.intro .lede:first-child::first-line { font-variant-caps: all-small-caps; letter-spacing: .04em; }

/* Ornament between the introduction and the conversation */
.intro::after { content: "\2042"; display: block; text-align: center; font-family: var(--serif); font-size: 22px; color: #9a9a9a; margin-top: 56px; }

/* Speakers in the margin, like a printed interview */
.turn .q, .turn .a { position: relative; }
.turn .q::before, .turn .ans .a:first-child::before {
  content: attr(data-who); position: absolute; left: -96px; top: .5em; width: 72px; text-align: right;
  font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .1em; color: #a3a3a3; text-indent: 0;
}
.turn .ans .a:first-child::before { color: var(--black); }
@media (max-width: 1000px) {
  .turn .q::before, .turn .ans .a:first-child::before { position: static; display: inline-block; width: auto; margin-right: 10px; vertical-align: .15em; }
}

/* Captions, set small in italic under a plate number */
.inset figcaption { display: flex; gap: 14px; align-items: baseline; padding-top: 12px; }
.inset figcaption .pl { font-size: 10px; letter-spacing: .1em; color: var(--grey); }
.inset figcaption .cap { font-family: var(--serif); font-style: italic; font-size: 15px; color: #555; }
.inset.wide figcaption { padding-left: 0; }

/* Pull quote in italic display, with hanging marks */
.pull { font-style: italic; }
.pull::before, .pull::after { width: 28px; }

/* End mark after the last answer */
.turn:last-of-type .ans .a:last-child::after { content: ""; display: inline-block; width: .5em; height: .5em; background: var(--black); margin-left: .45em; vertical-align: .05em; }

/* Closing notes as a colophon */
.codas .label { letter-spacing: .14em; }
.coda p { font-size: 16px; }

/* Article adjustments */
.hero-frame canvas, .hero-frame img { transform-origin: 50% 0; }
.hero figcaption { display: block; margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 15px; color: #6a6a6a; text-align: right; }
.meta dt { display: none; }
.meta { grid-template-columns: auto auto auto auto auto; justify-content: start; gap: 8px 36px; padding-top: 16px; }
.meta dd { font-size: 16px; color: #333; }
.next { justify-content: flex-start; }

/* Drop capital set into the paragraph, three lines deep */
.intro .lede:first-child::first-line { font-variant-caps: normal; letter-spacing: 0; }
.intro .lede:first-child::first-letter { float: left; font-family: var(--serif-display); font-size: 4.35em; line-height: .8; padding: .08em .1em 0 0; margin: 0; }
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .intro .lede:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; margin-right: .1em;
    -webkit-initial-letter: 3; initial-letter: 3; }
}
.lede + .lede { text-indent: 1.6em; margin-top: 0; }

/* ======================================================================
   Frames page: the interface in the same serif voice as the articles
   ====================================================================== */
body.universe .logo { font-family: var(--serif-display); font-weight: 400; font-size: 26px; letter-spacing: 0; }
body.universe .btn, .reader .btn, body:has(> main.article) .btn, body.dict .btn {
  background: none; padding: 4px 2px; margin-left: 14px; border-radius: 0;
  font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--black);
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .45s cubic-bezier(.25,.8,.25,1);
}
body.universe .btn:hover, .reader .btn:hover, body:has(> main.article) .btn:hover, body.dict .btn:hover, body.universe .btn[aria-expanded="true"] { background-color: transparent; color: var(--black); background-size: 100% 1px; }
.reader .logo, body:has(> main.article) .logo, body.dict .logo { font-family: var(--serif-display); font-weight: 400; font-size: 26px; }
body.universe .hint { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 15px; }
body.universe .hint .sample { font-style: italic; }
.hint .moods { gap: 10px; padding: 4px 10px !important; }
.hint .moods .moods-l { display: none; }
.moods button { padding: 0 0 1px; border-radius: 0; font-style: italic; font-size: 15px; color: var(--grey); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: color .3s ease, background-size .45s cubic-bezier(.25,.8,.25,1); }
.moods button[aria-pressed="true"] { color: var(--black); background-color: transparent; background-size: 100% 1px; }
.about { font-family: var(--serif); font-size: 17px; }
body.universe .readout { font-family: var(--mono); }

/* ======================================================================
   Index: a page from a dictionary
   ====================================================================== */
body.dict { background: #fbfaf6; }
body.dict .bar { background: linear-gradient(#fbfaf6 60%, rgba(251,250,246,0)); }
.dict-main { max-width: 1080px; margin: 0 auto; padding: 120px 40px 96px; font-family: var(--serif); }
.dict-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--black); padding-bottom: 14px; }
.dict-head h1 { margin: 0; font-family: var(--serif-display); font-weight: 400; font-size: clamp(56px, 8vw, 112px); line-height: .9; letter-spacing: -.01em; text-align: center; }
.dict-head .guide { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 17px; color: var(--grey); }
.dict-head .guide:last-child { text-align: right; }
.dict-sub { margin: 14px 0 0; text-align: center; font-style: italic; font-size: 17px; color: #555; }
.dict-main .az { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin: 28px 0 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 17px; }
.dict-main .az span { color: #c9c6bf; }
.dict-main .az a { text-decoration: none; color: var(--black); }
.dict-main .az a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dict-cols { columns: 2; column-gap: 72px; column-rule: 1px solid var(--line); margin-top: 40px; }
.dict-cols .letter { display: block; padding: 0; border: 0; break-inside: avoid; margin: 0 0 36px; scroll-margin-top: 90px; }
.dict-cols .letter h2 { margin: 0 0 12px; font-family: var(--serif-display); font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: 0; }
.entry { margin: 0 0 14px; padding-left: 1.4em; text-indent: -1.4em; font-size: 18px; line-height: 1.5; color: #2a2a2a; text-align: justify; hyphens: auto; -webkit-hyphens: auto;
  animation: rowIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.entry a { text-decoration: none; color: var(--black); }
.entry a b { font-weight: 600; }
.entry a:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry .pos { color: #777; margin: 0 .15em; }
.entry .src { color: #777; font-style: italic; }
.entry .no { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--grey); margin-left: .3em; letter-spacing: 0; }
.dict-foot { margin: 48px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; color: var(--grey); }
@media (max-width: 760px) { .dict-cols { columns: 1; } .dict-head { grid-template-columns: 1fr; text-align: center; } .dict-head .guide { display: none; } .dict-main { padding: 100px 20px 72px; } }
@media (prefers-reduced-motion: reduce) { .entry { animation: none; } }

/* Small labels: set in the serif as spaced capitals, not a typewriter face */
.mono, .label, .kicker, .meta dd, .readout, .foot { font-family: var(--serif); }
.mono, .label, .kicker { font-size: 12px; letter-spacing: .12em; }
.readout { font-variant-numeric: lining-nums tabular-nums; letter-spacing: .04em; }

/* Navigation and the sky switch in a typewriter face */
:root { --type: "Courier Prime", "Courier New", Courier, monospace; }
body.universe .btn, .reader .btn, body:has(> main.article) .btn, body.dict .btn, .moods button {
  font-family: var(--type); font-style: normal; font-weight: 400; font-size: 15px; letter-spacing: 0;
}
.moods { gap: 14px !important; }

/* Article text aligned to the left edge of the page, under the name */
.body { max-width: var(--page); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.body > * { max-width: 720px; }
.body > .inset.wide { max-width: none; margin-left: 0; margin-right: 0; }
.body > .inset:not(.wide) { width: 56%; max-width: none; margin-left: 0; margin-right: 0; }
@media (max-width: 800px) { .body > .inset:not(.wide) { width: 100%; } }
.body > .pull { max-width: 860px; text-align: left; }
.body > .pull::before, .body > .pull::after { margin-left: 0; }
.intro::after { text-align: left; padding-left: 4px; }
.codas { max-width: 720px; }
.next { max-width: var(--page); padding-left: 32px; padding-right: 32px; }
.next::before { left: 32px; right: 32px; }
.foot { max-width: var(--page); padding-left: 32px; padding-right: 32px; }
/* Speaker initials sit at the start of the line, inside the column */
.turn .q::before, .turn .ans .a:first-child::before { position: static; display: inline-block; width: auto; margin-right: 12px; vertical-align: .12em; text-align: left; }

/* ======================================================================
   Night: interview pages and the index turn black with light text
   ====================================================================== */
html[data-night="1"] .reader,
html[data-night="1"] body:has(> main.article),
html[data-night="1"] body.dict {
  --white: #0e0e0e; --black: #ece9e3; --grey: #8c8a86; --line: #2a2928; --btn: transparent;
  color: var(--black);
}
html[data-night="1"] body:has(> main.article), html[data-night="1"] body.dict { background: #0e0e0e; }
html[data-night="1"] .reader.in { background: rgba(14,14,14,1); }
html[data-night="1"] .reader.leaving { background: rgba(14,14,14,0); }
html[data-night="1"] .reader .bar,
html[data-night="1"] body:has(> main.article) .bar,
html[data-night="1"] body.dict .bar { background: linear-gradient(#0e0e0e 60%, rgba(14,14,14,0)); }
html[data-night="1"] .reader .logo, html[data-night="1"] .reader .btn,
html[data-night="1"] body:has(> main.article) .logo, html[data-night="1"] body.dict .logo { color: var(--black); background-color: transparent; }
html[data-night="1"] .lede { color: #e6e3dd; }
html[data-night="1"] .turn .a { color: #e2dfd9; }
html[data-night="1"] .turn .q { color: #8f8c87; }
html[data-night="1"] .title .role, html[data-night="1"] .meta dd { color: #b5b2ac; }
html[data-night="1"] .coda p, html[data-night="1"] .inset figcaption .cap, html[data-night="1"] .hero figcaption { color: #9a9792; }
html[data-night="1"] .turn .q::before { color: #6f6c68; }
html[data-night="1"] .intro::after { color: #6f6c68; }
html[data-night="1"] .hero-frame canvas, html[data-night="1"] .inset canvas { background: #1a1a1a; }
html[data-night="1"] .entry { color: #cfccc6; }
html[data-night="1"] .entry .pos, html[data-night="1"] .entry .src { color: #8c8a86; }
html[data-night="1"] .dict-main .az span { color: #3e3d3b; }
html[data-night="1"] .peek { background: #1a1a1a; }
html[data-night="1"].reading .cursor { --white: #0e0e0e; --black: #ece9e3; }
html[data-night="1"] body:has(> main.article) .cursor, html[data-night="1"] body.dict .cursor { --white: #0e0e0e; --black: #ece9e3; }
html[data-night="1"] body::after { opacity: .08; }

/* ======================================================================
   Index as a table: hover lights the row and brings the photo beside it
   ====================================================================== */
.ix-main { max-width: 1240px; margin: 0 auto; padding: 120px 32px 96px; font-family: var(--serif); }
.ix-title { margin: 0 0 48px; font-family: var(--serif-display); font-weight: 400; font-size: clamp(56px, 8vw, 112px); line-height: .9; letter-spacing: -.01em; }
.ix { position: relative; }
.ix-row {
  display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1.7fr) minmax(0, 1fr) 84px 48px; column-gap: 14px;
  text-decoration: none; color: var(--black);
  animation: rowIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s);
}
.ix-row .c {
  display: block; padding: 7px 8px 6px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .25s ease;
}
.ix-row .nm { font-weight: 500; }
.ix-row .rl { font-style: italic; color: #444; }
.ix-row .pl { color: #444; }
.ix-row .dt, .ix-row .no { color: var(--grey); font-variant-numeric: lining-nums tabular-nums; }
.ix-row .no { text-align: right; }
.ix-row.hot .c { background: #ecebe6; transition-duration: .08s; }
.ix-headrow { animation: none; }
.ix-headrow .c { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); border-bottom-color: var(--black); padding-bottom: 8px; }
.ix-headrow .c:last-child { text-align: right; }
.ix-group { margin-top: 28px; }
.ix-group:first-of-type { margin-top: 10px; }
.ix-foot { margin: 40px 0 0; font-size: 15px; color: var(--grey); }

.ix-preview {
  position: absolute; left: 0; top: 0; width: 128px; height: 176px; z-index: 3; pointer-events: none;
  opacity: 0; transition: transform .5s cubic-bezier(.25,.8,.25,1), opacity .25s ease;
}
.ix-preview.on { opacity: 1; }
.ix-preview.instant { transition: none; }
.ix-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: clip-path .6s cubic-bezier(.76,0,.24,1); }

@media (max-width: 860px) {
  .ix-row { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 40px; }
  .ix-row .pl, .ix-row .dt { display: none; }
  .ix-preview { display: none; }
  .ix-main { padding: 100px 16px 72px; }
}
@media (prefers-reduced-motion: reduce) { .ix-row { animation: none; } .ix-preview, .ix-img { transition: none; } }

html[data-night="1"] .ix-row .rl, html[data-night="1"] .ix-row .pl { color: #b5b2ac; }
html[data-night="1"] .ix-row.hot .c { background: #1f1e1d; }

/* ======================================================================
   People, not interviews: a person appears once, every conversation with
   them below, each with the work they were doing at the time.
   ====================================================================== */
/* Index entries */
.person { margin: 0 0 26px; animation: rowIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); break-inside: avoid; }
.person .hw { margin: 0 0 6px; font-size: 20px; line-height: 1.35; color: var(--black); }
.person .hw b { font-weight: 600; }
.person .met { font-style: italic; font-size: 16px; color: var(--grey); margin-left: .2em; }
.senses { margin: 0; padding: 0 0 0 1.4em; list-style: none; counter-reset: sense; }
.senses li { counter-increment: sense; position: relative; margin: 0 0 4px; font-size: 17px; line-height: 1.5; }
.senses li::before { content: counter(sense) "."; position: absolute; left: -1.4em; top: 0; font-weight: 600; color: var(--black); }
.senses a { text-decoration: none; color: #2a2a2a; }
.senses a:hover i { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.senses .yr { font-variant-numeric: lining-nums; color: var(--black); }
.senses .src { color: var(--grey); font-style: italic; }
html[data-night="1"] .senses a { color: #cfccc6; }
@media (prefers-reduced-motion: reduce) { .person { animation: none; } }
.peek {
  position: fixed; left: 0; top: 0; z-index: 25; width: 150px; height: 188px; pointer-events: none;
  overflow: hidden; background: #eee; opacity: 0; scale: .9;
  transition: opacity .25s ease, scale .4s cubic-bezier(.25,.8,.25,1);
}
.peek.on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* On a conversation page: all conversations with this person */
.series { margin: 96px 0 0; padding-top: 16px; border-top: 1px solid var(--black); }
.series ol { list-style: none; margin: 8px 0 0; padding: 0; }
.series li { border-bottom: 1px solid var(--line); }
.series li > a, .series li.here { display: grid; grid-template-columns: 56px 150px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; text-decoration: none; color: var(--black); font-size: 17px; }
.series .s-no { color: var(--grey); font-variant-numeric: lining-nums tabular-nums; }
.series .s-dt { color: #555; }
.series .s-rl { font-style: italic; }
.series .s-here { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.series li > a::after { content: "\2192"; color: var(--grey); transition: transform .4s cubic-bezier(.25,.8,.25,1); }
.series li > a:hover::after { transform: translateX(4px); color: var(--black); }
.series li > a:hover .s-rl { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.series + .codas { margin-top: 56px; }
html[data-night="1"] .series .s-dt { color: #a8a5a0; }
@media (max-width: 640px) { .series li > a, .series li.here { grid-template-columns: 40px 1fr auto; } .series .s-dt { display: none; } }

/* Light / dark switch: a small half-filled circle */
.btns { align-items: center; }
.tone-btn { all: unset; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 6px; cursor: pointer; color: var(--black); border-radius: 50%; transition: background-color .25s ease; }
.tone-btn:hover { background-color: rgba(127,127,127,.12); }
.tone-btn:focus-visible { outline: 1px solid var(--black); outline-offset: 2px; }
.tone-btn svg { transition: transform .7s cubic-bezier(.25,.8,.25,1); }
html[data-night="1"] .tone-btn svg { transform: rotate(180deg); }
.tone-btn + .btn { margin-left: 14px; }
/* Smooth change between light and dark on reading pages */
body:has(> main.article), body.dict, .reader.in, .lede, .turn .a, .turn .q, .entry, .senses a { transition: background-color .5s ease, color .5s ease; }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Top bar on reading pages: no fade behind it. The name and buttons sit on
   the page and invert against whatever passes underneath. */
.reader .bar, body:has(> main.article) .bar, body.dict .bar,
html[data-night="1"] .reader .bar, html[data-night="1"] body:has(> main.article) .bar, html[data-night="1"] body.dict .bar {
  background: none; mix-blend-mode: difference; color: #fff;
}
.reader .bar .logo, .reader .bar .btn, .reader .bar .tone-btn, .reader .bar .bar-title,
body:has(> main.article) .bar .logo, body:has(> main.article) .bar .btn, body:has(> main.article) .bar .tone-btn, body:has(> main.article) .bar .bar-title,
body.dict .bar .logo, body.dict .bar .btn, body.dict .bar .tone-btn,
html[data-night="1"] .reader .bar .logo, html[data-night="1"] .reader .bar .btn,
html[data-night="1"] body:has(> main.article) .bar .logo, html[data-night="1"] body.dict .bar .logo { color: #fff; background-color: transparent; }
.reader .bar .btn:hover, body:has(> main.article) .bar .btn:hover, body.dict .bar .btn:hover { color: #fff; }
.reader .bar .tone-btn:hover, body:has(> main.article) .bar .tone-btn:hover, body.dict .bar .tone-btn:hover { background-color: rgba(255,255,255,.14); }
.reader .bar, body:has(.article) .bar, body.dict .bar { background: none !important; }
body.universe > .bar { mix-blend-mode: normal; }

/* ======================================================================
   Index: pure black and white
   ====================================================================== */
body.dict { background: #ffffff; }
html[data-night="1"] body.dict { background: #000000; }
body.dict .dict-main { color: #000; }
body.dict .entry, body.dict .senses a, body.dict .person .hw { color: #000; }
body.dict .senses .src, body.dict .person .met, body.dict .dict-head .guide, body.dict .dict-foot { color: #6b6b6b; }
body.dict .dict-main .az span { color: #c8c8c8; }
html[data-night="1"] body.dict .dict-main, html[data-night="1"] body.dict .senses a, html[data-night="1"] body.dict .person .hw { color: #fff; }
html[data-night="1"] body.dict .senses .src, html[data-night="1"] body.dict .person .met, html[data-night="1"] body.dict .dict-head .guide { color: #8a8a8a; }
html[data-night="1"] body.dict .dict-main .az span { color: #3a3a3a; }
body.dict .peek { background: #ddd; }
body.dict .peek img { filter: grayscale(1) contrast(1.05); }



/* ===== Magazine layout (main.article.mag) =====
   Opener: full-bleed photo with the name set over it, then the opening
   paragraph beside the details. Below: the conversation in two justified
   columns, questions in bold, quotes and wide photos across both. */
.mag .hero { max-width: none; padding: 0; margin: 0; }
.mag .hero-frame { position: relative; overflow: hidden; height: min(92vh, 980px); min-height: 520px; background: #dcdcdc; }
html[data-night="1"] .mag .hero-frame { background: #1a1a1a; }
.mag .hero-frame canvas { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.mag .hero-over {
  position: absolute; inset: auto 0 0 0; padding: 160px 32px 40px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); color: #fff; pointer-events: none;
}
.mag .hero-over > * { max-width: calc(var(--page) - 64px); margin-left: auto; margin-right: auto; }
.mag .kicker { margin: 0 auto 14px; font-family: var(--type); font-size: 14px; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.9); }
.mag .title { display: block; }
.mag .title h1 { color: #fff; font-size: clamp(64px, 11vw, 168px); line-height: .85; letter-spacing: -.02em; max-width: 9ch; text-wrap: balance; }

.mag .deck {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px;
  max-width: var(--page); margin: 0 auto; padding: 44px 32px 40px; position: relative;
}
.mag .deck::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; height: 1px; background: var(--black); }
.mag .deck-lede { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 27px); line-height: 1.42; color: var(--black); text-wrap: pretty; }
.mag .meta { order: 0; margin: 4px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 22px; align-content: start; }
.mag .meta div { display: contents; }
.mag .meta dt { display: block; font-family: var(--type); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--grey); padding-top: 2px; }
.mag .meta dd { font-family: var(--serif); font-size: 17px; color: var(--black); }

/* Body: two columns of running text */
.mag .body {
  max-width: var(--page); margin: 0 auto; padding: 48px 32px 0;
  columns: 2; column-gap: 56px; column-rule: 1px solid var(--line);
}
.mag .body > * { max-width: none; }
.mag .intro { margin: 0 0 30px; }
.mag .intro::after { display: none; }
.mag .lede, .mag .turn .a {
  font-size: 18px; line-height: 1.62; color: #151515; text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: wrap;
}
.mag .lede { margin: 0; }
.mag .lede + .lede { text-indent: 1.5em; margin-top: 0; }
.mag .intro .lede:first-child::first-letter {
  float: left; font-family: var(--serif-display); font-size: 5.2em; line-height: .76; padding: .07em .09em 0 0; margin: 0; color: var(--black);
}
.mag .turn { margin: 0 0 20px; }
.mag .turn .q {
  margin: 0 0 6px; font-family: var(--serif); font-style: normal; font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--black); break-after: avoid;
}
.mag .turn .a { margin: 0; }
.mag .turn .a + .a { text-indent: 1.5em; margin-top: 0; }
.mag .turn .q::before, .mag .turn .ans .a:first-child::before { content: none; display: none; }

/* Quotes and wide photos cross both columns */
.mag .pull {
  column-span: all; max-width: 18em; margin: 44px auto 48px; padding: 0; text-align: center; font-style: normal;
  font-family: var(--serif-display); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05;
}
.mag .pull::before, .mag .pull::after { display: none; }
.mag .inset { break-inside: avoid; }
.mag .inset.wide { column-span: all; width: auto; margin: 56px 0 0; }
.mag .inset.wide canvas { aspect-ratio: 2 / 1; object-fit: cover; }
.mag .inset:not(.wide) { width: 100%; margin: 8px 0 26px; }
.mag .inset:not(.wide) canvas { aspect-ratio: 4 / 3; object-fit: cover; }
.mag .inset figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 10px; }
.mag .inset figcaption .pl { font-family: var(--type); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--grey); }
.mag .inset figcaption .cap { font-size: 14px; }
.mag .turn:last-of-type .ans .a:last-child::after { content: ""; display: inline-block; width: .45em; height: .45em; background: var(--black); margin-left: .4em; vertical-align: .05em; }

/* After the conversation: full width again */
.mag .series, .mag .codas { column-span: all; max-width: none; }
.mag .series { margin-top: 64px; }
.mag .codas { margin-top: 56px; }
.mag .label { font-family: var(--type); font-size: 13px; letter-spacing: 0; text-transform: none; }
.mag ~ .foot, .mag .foot { font-family: var(--type); }

@media (max-width: 860px) {
  .mag .hero-frame { height: 78vh; min-height: 420px; }
  .mag .hero-over { padding: 120px 20px 28px; }
  .mag .deck { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
  .mag .deck::after { left: 20px; right: 20px; }
  .mag .body { columns: 1; padding: 36px 20px 0; }
  .mag .pull { margin: 32px 0; text-align: left; }
  .mag .codas { grid-template-columns: 1fr; }
}

/* Night */
html[data-night="1"] .mag .deck::after { background: #ece9e3; }
html[data-night="1"] .mag .deck-lede, html[data-night="1"] .mag .meta dd, html[data-night="1"] .mag .turn .q { color: #ece9e3; }
html[data-night="1"] .mag .lede, html[data-night="1"] .mag .turn .a { color: #dcd9d3; }
html[data-night="1"] .mag .meta dt { color: #8f8c87; }
html[data-night="1"] .mag .body { column-rule-color: #2a2a2a; }
html[data-night="1"] .mag .intro .lede:first-child::first-letter { color: #ece9e3; }
html[data-night="1"] .mag .turn:last-of-type .ans .a:last-child::after { background: #ece9e3; }

/* ===== Text-first article: no photos inside the conversation ===== */
.mag .intro .lede + .lede { margin-top: 0; }
.mag .pull { margin: 40px auto 44px; }

/* Plates: every photograph from the conversation, at the end. Add as many as you like. */
.mag .plates { column-span: all; margin-top: 64px; padding-top: 14px; border-top: 1px solid var(--black); }
.mag .plate-grid { columns: 3; column-gap: 24px; margin-top: 22px; }
.mag .plate { margin: 0 0 26px; break-inside: avoid; }
.mag .plate canvas, .mag .plate img { width: 100%; height: auto; display: block; filter: grayscale(1); background: #eee; }
.mag .plate figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 9px; }
.mag .plate .pl { font-family: var(--type); font-size: 12px; color: var(--grey); white-space: nowrap; }
.mag .plate .cap { font-family: var(--serif); font-style: italic; font-size: 14px; color: #555; }
@media (max-width: 860px) { .mag .plate-grid { columns: 2; column-gap: 14px; } }

/* Back to the frames */
.return { max-width: var(--page); margin: 56px auto 40px; padding: 0 32px; }
.return-link { display: block; text-decoration: none; color: inherit; }
.r-label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--type); font-size: 13px; color: var(--grey); }
.r-t { color: var(--black); transition: letter-spacing .6s cubic-bezier(.2,.8,.2,1); }
.r-t::after { content: "\2197"; display: inline-block; margin-left: .5em; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.return-link:hover .r-t::after { transform: translate(.2em, -.2em); }
.r-strip {
  display: block; overflow: hidden; margin-top: 14px; height: 92px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.r-track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.r-th { position: relative; flex: none; height: 92px; overflow: hidden; background: #eee; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.r-th canvas, .r-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-th canvas { filter: grayscale(1); }
.r-col { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--i) * 25ms); }
.return-link:hover .r-col { opacity: 1; }
.return-link:hover .r-th { transform: translateY(-4px); }
.going .r-col { opacity: 0 !important; }
.fly .fly-to { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-veil { position: fixed; inset: 0; z-index: 31; opacity: 0; pointer-events: none; }
html[data-night="1"] .r-th, html[data-night="1"] .mag .plate canvas { background: #1a1a1a; }
html[data-night="1"] .mag .plates { border-top-color: #ece9e3; }
html[data-night="1"] .mag .plate .cap { color: #9a9792; }
.mag ~ .foot, .foot { text-transform: none; letter-spacing: 0; }
.mag .next { margin-top: 96px; }
.r-k { transition: color .4s ease; }
.return-link:hover .r-k { color: var(--black); }

/* Back to the frames: the move */
.dive { position: fixed; left: 0; top: 0; z-index: 40; overflow: hidden; pointer-events: none; will-change: transform, width, height, opacity; }
.dive img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.dive-cover { position: fixed; inset: 0; z-index: 39; pointer-events: none; }
.reader.diving { background: var(--white); transition: none; overflow: hidden; }
.reader.diving .bar, .reader.diving ~ .progress, .reader.diving .progress, .reader.diving .bar-title { opacity: 0; transition: opacity .25s ease; }
html[data-night="1"] .reader.diving { background: #0e0e0e; }

/* Index: the photograph that follows the pointer */
.peek2 { position: fixed; left: 0; top: 0; z-index: 25; width: 220px; pointer-events: none; will-change: transform; }
.pk-frame { position: relative; width: 220px; height: 280px; overflow: hidden; transform-origin: 50% 100%; }
.pk-layer { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); background: #ddd; }
.pk-layer img { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.pk-cap { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; font-family: var(--type); font-size: 12px; color: #000; opacity: 0; overflow: hidden; white-space: nowrap; }
.pk-cap .pk-wh { color: #6b6b6b; overflow: hidden; text-overflow: ellipsis; }
.peek2:not(.on) .pk-cap { opacity: 0 !important; transition: opacity .25s ease; }
html[data-night="1"] .pk-cap { color: #fff; }
html[data-night="1"] .pk-layer { background: #1a1a1a; }
/* the rest of the page steps back while one conversation is in view */
body.dict .dict-cols .person, body.dict .senses li { transition: opacity .45s ease; }
body.dict.peeking .dict-cols .person:not(:has(a:hover)) { opacity: .18; }
body.dict.peeking .senses li:not(:has(a:hover)) { opacity: .35; }

/* ===== End of an article: other conversations (dock) and back to the frames (small cloud) ===== */
.others { max-width: var(--page); margin: 96px auto 0; padding: 0 32px; }
.o-lbl { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--black); font-family: var(--type); font-size: 13px; }
.o-lbl .g, .r-hint, .r-k { color: var(--grey); }
.dock { position: relative; display: block; height: 230px; overflow: hidden; margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dk-track { position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-end; gap: 8px; will-change: transform; }
.dk { position: relative; flex: none; display: block; height: 72px; overflow: hidden; background: #ddd; }
.dk canvas, .dk .co { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dk canvas { filter: grayscale(1); }
.dk .co { opacity: 0; transition: opacity .35s ease; }
.dk.hot .co { opacity: 1; }
.dk:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.dk .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dk-cap { position: absolute; top: 0; left: 0; font-family: var(--type); font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s ease; }

.return { max-width: var(--page); margin: 80px auto 24px; padding: 0 32px; }
.return-link { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 420px; padding-top: 14px; border-top: 1px solid var(--black); text-decoration: none; color: inherit; }
.r-text { display: flex; flex-direction: column; gap: 16px; font-family: var(--type); font-size: 13px; }
.return .r-t { font-family: var(--serif-display); font-size: clamp(48px, 6.2vw, 92px); line-height: .92; letter-spacing: -.015em; color: var(--black); }
.return .r-t::after { content: none; }
.r-cloud { position: relative; display: block; height: 420px; }
.cf { position: absolute; left: 50%; top: 50%; overflow: hidden; background: #ddd; will-change: transform, opacity; }
.cf canvas, .cf .co { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cf canvas { filter: grayscale(1); }
.cf .co { opacity: 0; }
html[data-night="1"] .dk, html[data-night="1"] .cf { background: #1a1a1a; }
html[data-night="1"] .o-lbl, html[data-night="1"] .return-link { border-top-color: #ece9e3; }
@media (max-width: 760px) {
  .return-link { grid-template-columns: 1fr; min-height: 0; }
  .r-cloud { height: 300px; }
  .dock { height: 190px; }
}

/* ===== The finale: back to the frames, on black ===== */
.return { max-width: none; margin: 180px 0 0; padding: 0; background: #000; color: #fff; }
.return-link { max-width: var(--page); margin: 0 auto; padding: 120px 32px 110px; min-height: min(100vh, 900px); border-top: 0; grid-template-columns: 1fr 1.25fr; color: #fff; }
.return .r-t { color: #fff; font-size: clamp(56px, 8vw, 132px); line-height: .9; }
.return .r-k, .return .r-hint { color: #8a8a8a; }
.return .r-cloud { height: min(62vh, 600px); }
.return .cf { background: #161616; }
.return + .foot { max-width: none; margin: 0; background: #000; color: #8a8a8a; padding: 0 max(32px, calc((100vw - var(--page)) / 2 + 32px)) 32px; }
html[data-night="1"] .return-link { border-top: 0; }
@media (max-width: 760px) { .return-link { padding: 80px 20px 64px; min-height: 0; } .return .r-cloud { height: 340px; } }
/* the exit */
.warp { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.warp-bg { position: absolute; inset: 0; background: #000; }
.warp .r-cloud { display: block; z-index: 1; transform-origin: 50% 50%; }
.warp .cf { background: #161616; }
html.warp-in, html.warp-in body { background: #000 !important; }
html.warp-in .bar, html.warp-in .hint, html.warp-in .moods { opacity: 0; }
.universe .bar, .universe .hint, .universe .moods { transition: opacity 1.2s ease .6s; }
html.warping body.universe > .bar, html.warping .hint, html.warping .moods, html.warping .readout, html.warping .glass-lens { opacity: 0 !important; transition: opacity .3s ease !important; }
body.universe > .bar, body.universe .hint, body.universe .moods { transition: opacity 1s ease .2s; }

/* Logo: letters fold into a tiny turning cloud */
.bar .logo { position: relative; display: inline-block; }
.lg-t { display: inline-block; white-space: pre; }
.lg-t span { display: inline-block; transition: opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1), filter .35s ease; transition-delay: calc(var(--i) * 18ms); }
.logo.lg-on .lg-t span { opacity: 0; transform: translateY(-.35em) scale(.6); filter: blur(2px); }
.lg-c { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.lg-c i { position: absolute; left: 0; top: 0; margin: -3px 0 0 -3px; background: currentColor; opacity: 0; will-change: transform, opacity; }
.lg-c i.o { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }

/* Finale G: the name made of frames */
.return-link { position: relative; display: block; min-height: 0; height: min(88vh, 820px); padding: 0; max-width: none; }
.return .r-name { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.return .r-k, .return .r-hint { position: absolute; bottom: 30px; font-family: var(--type); font-size: 12px; color: #8a8a8a; }
.return .r-k { left: max(32px, calc((100vw - var(--page)) / 2 + 32px)); }
.return .r-hint { right: max(32px, calc((100vw - var(--page)) / 2 + 32px)); }
.return-link:hover .r-k { color: #fff; }
@media (max-width: 760px) { .return-link { height: 70vh; padding: 0; } }
.return-link { height: min(72vh, 680px); }

/* ===== Frames page: people ===== */
.callout { position: fixed; left: 0; top: 0; z-index: 12; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.callout.on { opacity: 1; }
.co-line { position: absolute; left: 0; top: 0; overflow: visible; width: 1px; height: 1px; }
.co-line line { stroke: currentColor; stroke-width: 1; }
.co-line circle { fill: currentColor; }
.co-card { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; padding: 2px 0; }
.co-no { font-family: var(--type); font-size: 11px; color: var(--grey); }
.co-name { font-family: var(--serif-display); font-size: 30px; line-height: 1; margin: 2px 0 4px; }
.co-work, .co-date { font-family: var(--serif); font-size: 14px; color: #444; }
.co-date { font-style: italic; }
.callout { color: #000; }
html[data-night="1"] .callout { color: #fff; }
html[data-night="1"] .co-work, html[data-night="1"] .co-date { color: #bdbdbd; }
.callout.on .co-card { animation: coIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes coIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.ghost-name { position: fixed; left: 0; right: 0; bottom: 6vh; z-index: 2; text-align: center; pointer-events: none; font-family: var(--serif-display); font-size: clamp(80px, 15vw, 260px); line-height: .9; letter-spacing: -.02em; white-space: nowrap; color: #000; opacity: 0; mix-blend-mode: multiply; transition: opacity .6s ease, transform 1s cubic-bezier(.2,.8,.2,1); transform: translateY(20px); }
.ghost-name.on { opacity: .07; transform: none; }
html[data-night="1"] .ghost-name { color: #fff; mix-blend-mode: screen; }
html[data-night="1"] .ghost-name.on { opacity: .12; }
html.reading .ghost-name, html.reading .callout { opacity: 0 !important; }

.people { display: inline-flex; gap: 18px; align-items: baseline; }
.people button { font: inherit; font-family: var(--serif); font-size: 15px; background: none; border: 0; padding: 2px 0; color: inherit; cursor: pointer; opacity: .55; transition: opacity .3s ease; border-bottom: 1px solid transparent; }
.people button:hover, .people button.on, .people button:focus-visible { opacity: 1; border-bottom-color: currentColor; outline: none; }
.people sup { font-family: var(--type); font-size: 9px; margin-left: 2px; }
.people { pointer-events: auto; }
.co-card { background: rgba(255,255,255,.9); padding: 8px 12px 9px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-night="1"] .co-card { background: rgba(0,0,0,.72); }

/* The end of an article: the page sinks into black, then only the finale remains */
.blackout { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }
.return { position: relative; z-index: 6; margin-top: 90vh; }
.return-link { height: 100vh; }
.return + .foot { display: none; }
.reader .blackout { position: fixed; }
body > main.article, .reader main.article { transform: none !important; }

/* ===== Frames page: Sheet / Cloud ===== */
.views { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 4px; pointer-events: auto; font-family: var(--type); font-size: 13px; }
.views button { font: inherit; background: none; border: 0; padding: 3px 10px 5px; cursor: pointer; color: var(--grey); border-bottom: 1px solid transparent; transition: color .3s ease, border-color .3s ease; }
.views button[aria-pressed="true"] { color: var(--black); border-bottom-color: currentColor; }
html[data-night="1"] .views button[aria-pressed="true"] { color: #fff; }
.hint .people { margin-left: 28px; margin-right: auto; }
.hint .readout { display: none; }
/* Sheet: the archive as a ledger, sortable by its column heads */
.ledger { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; visibility: hidden; color: #000; --ln: #dcdcdc; --soft: #6b6b6b; }
html[data-night="1"] .ledger { color: #ece9e3; --ln: rgba(255,255,255,.16); --soft: #9a968f; }
.ld-head, .ld-row { position: absolute; left: var(--m); right: var(--m); top: 0; display: grid; grid-template-columns: 56px minmax(0, 2.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) var(--strip); column-gap: 22px; }
.ld-head { top: calc(var(--top) - 34px); height: 34px; align-items: end; padding-bottom: 9px; border-bottom: 1px solid currentColor; }
.ld-head .ld-c { font-family: var(--type); font-size: 12px; text-align: left; color: var(--soft); background: none; border: 0; padding: 0; margin: 0; white-space: nowrap; }
.ld-head button { cursor: pointer; transition: color .25s ease; }
.ld-head button:hover, .ld-head button.on { color: inherit; }
.ld-head .ld-arr { font-family: var(--serif); }
.ledger.live .ld-head button { pointer-events: auto; }
.ld-row { height: var(--rh); padding-top: 20px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--ln); transition: opacity .35s ease; will-change: transform; }
.ld-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; right: calc(var(--strip) + 22px); }
.ledger.live .ld-row::before { pointer-events: auto; cursor: pointer; }
.ld-row.dim { opacity: .28; }
.ld-row .ld-c { font-family: var(--serif); font-size: 15px; line-height: 1.4; min-width: 0; }
.ld-row .ld-no { font-family: var(--type); font-size: 12px; padding-top: 7px; color: var(--soft); }
.ld-row .ld-name b { display: block; font-family: var(--serif-display); font-weight: 400; font-size: 30px; line-height: 1; margin-bottom: 7px; }
.ld-row .ld-name i { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 14px; line-height: 1.45; color: var(--soft); max-width: 46ch; }
.ld-row .ld-work, .ld-row .ld-place, .ld-row .ld-date { padding-top: 6px; }
.ld-row:hover .ld-name b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ledger.narrow .ld-head { display: flex; gap: 16px; }
.ledger.narrow .ld-head .ld-ph { display: none; }
.ledger.narrow .ld-row { grid-template-columns: 34px minmax(0, 1fr); padding-top: 16px; }
.ledger.narrow .ld-row::before { right: 0; bottom: auto; height: 92px; }
.ledger.narrow .ld-work, .ledger.narrow .ld-place, .ledger.narrow .ld-date { display: none; }
.ledger.narrow .ld-name b { font-size: 25px; }
.ledger.narrow .ld-name i { -webkit-line-clamp: 2; font-size: 13px; }
body.sheet-view .hint .sample, body.sheet-view .hint .readout { visibility: hidden; }
@media (max-width: 760px) { .hint .people { display: none; } }

/* ===== Small squares: the site's own particles ===== */
.cursor::before { border-radius: 0; transition: width .45s cubic-bezier(.25,.8,.25,1), height .45s cubic-bezier(.25,.8,.25,1), margin .45s cubic-bezier(.25,.8,.25,1), background .3s ease, border-color .3s ease, transform .45s cubic-bezier(.25,.8,.25,1); }
.cursor.link::before { transform: rotate(45deg) scale(.82); }
.cursor.word .cursor-label { font-family: var(--type); font-weight: 400; }
.px { position: fixed; inset: 0; z-index: 9998; pointer-events: none; width: 100%; height: 100%; display: block; }
html.px-in::after { content: ""; position: fixed; inset: 0; z-index: 9997; background: var(--px, #fff); }
html[data-night="1"].px-in::after { --px: #0e0e0e; }
.reader.bursting { opacity: 0; transition: opacity 1.4s cubic-bezier(.5,0,.3,1) 1s; pointer-events: none; }
.reader.bursting .bar { opacity: 0; transition: opacity .3s ease; }
/* a long soft edge above the finale, so it never meets the page in a line */
.return::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 85vh; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.8) 70%, #000 100%); }

/* Cursor: a small drop of liquid glass, the same on every page */
.drop { position: fixed; left: 0; top: 0; z-index: 10000; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .25s ease; will-change: transform, width, height; }
.drop.on { opacity: 1; }
.drop-g { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(.6px) saturate(1.5) brightness(1.05); backdrop-filter: blur(.6px) saturate(1.5) brightness(1.05);
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,.95), inset 0 -1.5px 3px rgba(0,0,0,.18), inset 0 0 0 .75px rgba(0,0,0,.3), inset 2px 3px 6px -3px rgba(255,255,255,.9), 0 3px 8px -3px rgba(0,0,0,.35);
  transition: box-shadow .3s ease, background-color .3s ease; }
.drop.dark .drop-g { background: rgba(255,255,255,.08); box-shadow: inset 0 1px 1.5px rgba(255,255,255,.75), inset 0 -2px 4px rgba(0,0,0,.5), inset 0 0 0 .75px rgba(255,255,255,.4), inset 2px 3px 6px -3px rgba(255,255,255,.5), 0 4px 10px -3px rgba(0,0,0,.7); }
.drop-w { position: absolute; inset: 0; display: grid; place-items: center; font: 400 10px/1 var(--type); letter-spacing: .02em; color: #000; opacity: 0; transform: scale(.7); transition: opacity .2s ease, transform .3s cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.drop.dark .drop-w { color: #fff; }
.drop.say .drop-w { opacity: 1; transform: none; }
html:not(.reading) body.flying .drop { opacity: 0; }
.cursor { display: none !important; }
.drop.say .drop-g { background: rgba(255,255,255,.42); }
.drop.dark.say .drop-g { background: rgba(0,0,0,.32); }

/* Other conversations: a proper heading */
.o-lbl h2 { margin: 0; font-family: var(--serif-display); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.01em; color: var(--black); }
.o-lbl { padding-top: 22px; }
html[data-night="1"] .o-lbl h2 { color: #ece9e3; }
.hint .moods { margin-left: auto; }

/* Map view: pins, stems and labels over the squares */
.mapui { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; visibility: hidden; color: #000; --soft: #6b6b6b; }
html[data-night="1"] .mapui { color: #ece9e3; --soft: #9a968f; }
.map-cap { position: absolute; left: 48px; top: 84px; font-family: var(--type); font-size: 12px; color: var(--soft); }
.map-cap b { font-weight: 400; color: #000; }
html[data-night="1"] .map-cap b { color: #ece9e3; }
.map-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: opacity .35s ease; }
.map-pin.dim { opacity: .25; }
.mp-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: currentColor; }
.mp-dot::after { content: ""; position: absolute; inset: -6px; border: 1px solid currentColor; opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.map-pin:hover .mp-dot::after { opacity: .6; transform: none; }
.mp-stem { position: absolute; left: -.5px; bottom: 4px; width: 1px; height: var(--stem, 26px); background: currentColor; opacity: .7; }
.mp-lbl { position: absolute; left: 14px; top: -8px; display: flex; flex-direction: column; gap: 3px; white-space: nowrap; pointer-events: none; }
.mp-lbl b { font-family: var(--serif-display); font-weight: 400; font-size: 22px; line-height: 1; }
.mp-lbl i { font-style: normal; font-family: var(--type); font-size: 11px; }
.mp-lbl s { text-decoration: none; font-family: var(--type); font-size: 11px; color: var(--soft); }
.mapui.live .map-pin { pointer-events: auto; }
.map-pin::before { content: ""; position: absolute; left: -10px; top: -14px; width: 150px; height: 64px; }
.mapui.live .map-pin::before { pointer-events: auto; }
body.map-view .hint .sample { visibility: hidden; }
@media (max-width: 760px) { .map-cap { left: 16px; right: 16px; top: 76px; white-space: normal; } .mp-lbl b { font-size: 18px; } .mp-lbl s { display: none; } }
.mp-lbl b, .mp-lbl i, .mp-lbl s { align-self: flex-start; background: #fff; padding: 1px 4px; margin-left: -4px; box-shadow: 0 0 0 2px #fff; }
html[data-night="1"] .mp-lbl b, html[data-night="1"] .mp-lbl i, html[data-night="1"] .mp-lbl s { background: #0a0a0a; box-shadow: 0 0 0 2px #0a0a0a; }
.map-cap { background: #fff; padding: 2px 6px; margin-left: -6px; }
html[data-night="1"] .map-cap { background: #0a0a0a; }
.map-pin.left .mp-lbl { left: auto; right: 14px; align-items: flex-end; }
.map-pin.left .mp-lbl b, .map-pin.left .mp-lbl i, .map-pin.left .mp-lbl s { align-self: flex-end; margin-left: 0; margin-right: -4px; }
@media (max-width: 760px) { .mp-lbl i { display: none; } }
@media (max-width: 560px) { .views { bottom: 34px; } }

/* About: a quiet page under the top bar */
.ab { position: fixed; inset: 0; z-index: 9; background: #fff; color: #000; display: flex; align-items: center;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.76,0,.24,1); }
html[data-night="1"] .ab { background: #0a0a0a; color: #ece9e3; }
.ab.open { clip-path: inset(0 0 0 0); }
.ab[hidden] { display: none; }
.ab-in { padding: 0 20px; max-width: 900px; opacity: 0; transform: translateY(14px); transition: opacity .6s ease .25s, transform .9s cubic-bezier(.16,1,.3,1) .25s; }
.ab.open .ab-in { opacity: 1; transform: none; }
.ab-l { margin: 0; font-family: var(--serif-display); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.015em; }
.ab-by { margin: 22px 0 0; font-family: var(--type); font-size: 13px; color: #6b6b6b; }
.ab-c { margin: 8px 0 0; font-family: var(--type); font-size: 13px; color: #6b6b6b; display: flex; gap: 14px; }
.ab-c a { color: inherit; text-decoration: none; }
.ab-c a[href^="mailto"] { color: #000; text-decoration: underline; text-underline-offset: 3px; }
html[data-night="1"] .ab-c a[href^="mailto"] { color: #ece9e3; }
html.ab-open .hint, html.ab-open .callout, html.ab-open .ledger, html.ab-open .mapui { visibility: hidden !important; }
@media (prefers-reduced-motion: reduce) { .ab, .ab-in { transition: none; } }

/* Map: place names on the globe */
.glui { position: fixed; inset: 0; z-index: 8; pointer-events: none; visibility: hidden; color: #000; }
html[data-night="1"] .glui { color: #ece9e3; }
.gl-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: opacity .2s linear; }
.gl-pin i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: currentColor; }
.gl-pin span { position: absolute; left: 10px; top: -9px; white-space: nowrap; font-family: var(--type); font-size: 12px; background: #fff; padding: 1px 4px; }
html[data-night="1"] .gl-pin span { background: #070707; }
.gl-pin::before { content: ""; position: absolute; left: -10px; top: -12px; width: 140px; height: 24px; }
.hint { -webkit-user-select: none; user-select: none; }

/* About: a short paragraph and a larger byline */
.ab-t { margin: 26px 0 0; max-width: 34ch; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; }
.ab-by { margin-top: 30px; font-size: 16px; }
.ab-c { margin-top: 10px; font-size: 16px; }

/* Sheet: a list on the left, one person on the right */
.sh { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; visibility: hidden; color: #000; --soft: #8a8a8a; --ln: #e4e4e4;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); column-gap: 4vw; padding: 92px 20px 64px; }
html[data-night="1"] .sh { color: #ece9e3; --soft: #8f8c87; --ln: rgba(255,255,255,.14); }
.sh.live .sh-list, .sh.live .sh-det { pointer-events: auto; }
.sh-list { min-height: 0; display: flex; flex-direction: column; }
.sh-head, .sh-row { display: grid; grid-template-columns: 52px minmax(0, 1.25fr) minmax(0, 1fr) 128px; column-gap: 14px; align-items: baseline; }
.sh-head { padding: 0 0 9px; border-bottom: 1px solid currentColor; }
.sh-head button { all: unset; font-family: var(--type); font-size: 11px; color: var(--soft); cursor: pointer; transition: color .2s ease; }
.sh-head button:hover, .sh-head button.on { color: inherit; }
.sh-head button i { font-style: normal; }
.sh-rows { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.sh-rows::-webkit-scrollbar { display: none; }
.sh-row { padding: 9px 0 8px; border-bottom: 1px solid var(--ln); cursor: pointer; outline: none; transition: color .25s ease, opacity .25s ease; }
.sh-row > span { font-family: var(--serif); font-size: 15px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-row .sh-no, .sh-row .sh-date { font-family: var(--type); font-size: 12px; }
.sh-rows:hover .sh-row { opacity: .45; }
.sh-rows .sh-row:hover, .sh-row:focus-visible { opacity: 1; }
.sh-row.sel { color: var(--soft); }
.sh-row:focus-visible { box-shadow: inset 2px 0 0 currentColor; }
.sh-det { min-height: 0; overflow-y: auto; scrollbar-width: none; }
.sh-det::-webkit-scrollbar { display: none; }
.sh-in { transition: opacity .26s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.sh-in.out { opacity: 0; transform: translateY(8px); transition-duration: .22s, .22s; }
.sh-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 28px; align-items: start; }
.sh-big { grid-row: span 2; margin: -6px 0 0; font-family: var(--serif-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 68px); line-height: .95; letter-spacing: -.015em; }
.sh-lede { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.5; }
.sh-meta { margin: 14px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: 26px; }
.sh-meta dt { font-family: var(--type); font-size: 11px; color: var(--soft); }
.sh-meta dd { margin: 3px 0 0; font-family: var(--serif); font-size: 14px; }
.sh-ph { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sh-f { all: unset; display: block; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; background: #eee; }
.sh-f img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter .5s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.sh-f:hover img { filter: grayscale(0); transform: scale(1.025); }
.sh-in:not(.out) .sh-f { animation: sh-rise .9s cubic-bezier(.16,1,.3,1) both; }
.sh-in:not(.out) .sh-f + .sh-f { animation-delay: .07s; }
@keyframes sh-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.sh-read { all: unset; margin-top: 16px; display: inline-block; font-family: var(--type); font-size: 12px; cursor: pointer; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sh-peek { position: fixed; left: 0; top: 0; z-index: 9; width: 120px; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-999px,0,0); transition: opacity .2s ease; }
.sh-peek.on { opacity: 1; }
.sh-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.sheet-view .hint .readout { visibility: hidden; }
@media (max-width: 860px) {
  .sh { grid-template-columns: 1fr; padding-top: 84px; }
  .sh-det, .sh-peek { display: none; }
  .sh-head, .sh-row { grid-template-columns: 40px minmax(0, 1fr) 96px; }
  .sh-head .sh-work, .sh-row .sh-work { display: none; }
}

/* Cursor: a solid dot, a little behind the pointer */
.drop-g { background: #000 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transition: background-color .3s ease; }
.drop.dark .drop-g { background: #ece9e3 !important; }
.drop.say .drop-g { background: #000 !important; }
.drop.dark.say .drop-g { background: #ece9e3 !important; }
.drop-w { color: #fff !important; font-size: 11px; }
.drop.dark .drop-w { color: #0a0a0a !important; }
.gl-pin span { opacity: 0; transition: opacity .25s ease; }
.gl-pin:hover span, .gl-pin.hot span { opacity: 1; }
.sample-note { font-family: var(--type); font-size: 13px; color: var(--grey); max-width: 52ch; }

/* Opening: the finale's squares, before the frames */
.intro-page { position: fixed; inset: 0; z-index: 60; background: #000; color: #fff; outline: none; transition: background-color 1.5s cubic-bezier(.4,0,.2,1) .35s; }
.intro-page canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-page.going { background-color: rgba(0,0,0,0); pointer-events: none; }
.in-line { position: absolute; left: 0; right: 0; margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(15px, 1.4vw, 19px); opacity: 0; transform: translateY(8px); transition: opacity .8s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.in-line.on { opacity: .85; transform: none; }
.in-count { position: absolute; left: 20px; bottom: 18px; margin: 0; font-family: var(--type); font-size: 12px; opacity: .55; transition: opacity .4s ease; }
.in-hint { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-family: var(--type); font-size: 12px; opacity: 0; transition: opacity .8s ease; }
.in-hint.on { opacity: .55; animation: in-breathe 2.4s ease-in-out infinite 1s; }
@keyframes in-breathe { 50% { opacity: .25; } }
.intro-page.going .in-line, .intro-page.going .in-count, .intro-page.going .in-hint { opacity: 0; transition-duration: .3s; animation: none; }
html.intro body.universe .bar, html.intro body.universe .hint { opacity: 0; }
body.universe .bar, body.universe .hint { transition: opacity 1s ease; }
/* the list scrolls in its own column, gliding to a stop, softened at both ends */
.sh-list { position: relative; }
.sh-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 56px, #000 calc(100% - 72px), transparent 100%); }
.sh-scroll.at-top { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 72px), transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 72px), transparent 100%); }
.sh-scroll.at-end { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 56px, #000 100%); }
.sh-scroll::-webkit-scrollbar { display: none; }
.sh-rows { overflow: visible; }
.sh-pos { position: absolute; right: -14px; top: 30px; bottom: 0; width: 1px; background: var(--ln); transition: opacity .3s ease; }
.sh-pos i { position: absolute; left: 0; top: 0; width: 1px; background: currentColor; will-change: transform; }

/* Finale edge: plain black and white. No grey wash, the black section simply rises with a clean edge. */
.return::before { display: none; }
.blackout { display: none; }
.return { margin-top: 28vh; }

/* Top bar on reading pages: clear over the photograph and over the black
   finale, solid page colour in between so the text slides under it. */
.scrolled:not(.at-end) .bar,
html[data-night="1"] .scrolled:not(.at-end) .bar { background: #fbfaf6 !important; mix-blend-mode: normal !important; color: #000; transition: background-color .3s ease; }
.scrolled:not(.at-end) .bar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; pointer-events: none; background: linear-gradient(#fbfaf6, rgba(251,250,246,0)); }
.scrolled:not(.at-end) .bar .logo, .scrolled:not(.at-end) .bar .btn, .scrolled:not(.at-end) .bar .tone-btn, .scrolled:not(.at-end) .bar .bar-title { color: #000 !important; }
.scrolled:not(.at-end) .bar .btn:hover { color: #000 !important; opacity: .6; }
.scrolled:not(.at-end) .bar .tone-btn:hover { background-color: rgba(0,0,0,.06) !important; }
html[data-night="1"] .scrolled:not(.at-end) .bar { background: #0e0e0e !important; color: #ece9e3; }
html[data-night="1"] .scrolled:not(.at-end) .bar::after { background: linear-gradient(#0e0e0e, rgba(14,14,14,0)); }
html[data-night="1"] .scrolled:not(.at-end) .bar .logo, html[data-night="1"] .scrolled:not(.at-end) .bar .btn,
html[data-night="1"] .scrolled:not(.at-end) .bar .tone-btn, html[data-night="1"] .scrolled:not(.at-end) .bar .bar-title { color: #ece9e3 !important; }
html[data-night="1"] .scrolled:not(.at-end) .bar .btn:hover { color: #ece9e3 !important; }
html[data-night="1"] .scrolled:not(.at-end) .bar .tone-btn:hover { background-color: rgba(255,255,255,.1) !important; }

/* Letters */
.ltr .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lt-k { margin: 0 0 10px; font-family: var(--type); font-size: 12px; color: #6b6b6b; }
.lt-t { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; max-width: 34ch; }
.lt-f { display: flex; align-items: stretch; margin-top: 18px; max-width: 460px; border-bottom: 1px solid currentColor; }
.lt-f input { flex: 1; min-width: 0; font: 17px/1.3 var(--serif); color: inherit; background: none; border: 0; padding: 10px 0; outline: none; border-radius: 0; }
.lt-f input::placeholder { color: #9a9a9a; }
.lt-f button { font: 13px/1 var(--type); color: inherit; background: none; border: 0; padding: 10px 0 10px 18px; cursor: pointer; }
.lt-f button:hover { text-decoration: underline; text-underline-offset: 3px; }
.lt-f button:disabled { opacity: .4; }
.lt-m { margin: 10px 0 0; font-family: var(--type); font-size: 12px; color: #6b6b6b; min-height: 1.4em; }
.lt-m a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ltr.done .lt-f { opacity: .35; pointer-events: none; }
html[data-night="1"] .lt-k, html[data-night="1"] .lt-m { color: #9a968f; }
/* at the end of a conversation */
.ltr-art { max-width: var(--page); margin: 120px auto 0; padding: 0 32px; }
.ltr-art .lt-in { border-top: 1px solid currentColor; padding-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 32px; }
.ltr-art .lt-k { grid-row: 1 / span 3; }
.ltr-art .lt-f, .ltr-art .lt-m, .ltr-art .lt-t { grid-column: 2; }
@media (max-width: 760px) { .ltr-art { margin-top: 80px; } .ltr-art .lt-in { grid-template-columns: 1fr; } .ltr-art .lt-k { grid-row: auto; } .ltr-art .lt-f, .ltr-art .lt-m, .ltr-art .lt-t { grid-column: 1; } }
/* in About */
.ltr-ab { margin-top: 44px; }
.ltr-ab .lt-t { font-size: 17px; }

/* Section labels in a conversation (Afterword, How we met, Plates, Letters): a little larger */
.mag .label, .ltr .lt-k { font-size: 16px; margin-bottom: 16px; }
/* Section titles in Instrument Serif, like the names and "Other conversations" */
.mag .label, .ltr .lt-k { font-family: var(--serif-display); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: -.005em; text-transform: none; color: #000; margin: 0 0 14px; }
html[data-night="1"] .mag .label, html[data-night="1"] .ltr .lt-k { color: #ece9e3; }
@media (max-width: 760px) { .mag .label, .ltr .lt-k { font-size: 28px; } }

/* ===== Time: the archive as one line through a life ===== */
.tl { position: fixed; inset: 0; z-index: 8; opacity: 0; visibility: hidden; pointer-events: none; color: #000; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; }
html[data-night="1"] .tl { color: #ece9e3; }
.tl.live { pointer-events: auto; cursor: grab; }
.tl.drag { cursor: grabbing; }
.tl-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tl-head { position: absolute; left: 20px; top: clamp(74px, 13vh, 130px); pointer-events: none; }
.tl-year { margin: 0; font-family: var(--serif-display); font-weight: 400; font-size: clamp(84px, 13vw, 200px); line-height: .82; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tl-sub { margin: 16px 0 0 4px; font-family: var(--type); font-size: 13px; color: #6b6b6b; }
html[data-night="1"] .tl-sub { color: #9a968f; }
.tl-items { position: absolute; inset: 0; pointer-events: none; }
.tl-it { all: unset; position: absolute; left: 0; top: 0; width: 88px; height: 110px; transform-origin: 0 0; will-change: transform; overflow: hidden; background: #e9e9e9; cursor: pointer; pointer-events: none; }
html[data-night="1"] .tl-it { background: #1b1b1b; }
.tl.live .tl-it { pointer-events: auto; }
.tl-it img { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1); transition: filter .5s ease; pointer-events: none; }
.tl-it.cur img, .tl-it:focus-visible img { filter: grayscale(0); }
.tl-it:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.tl-label { position: absolute; left: 0; top: 0; z-index: 10001; display: flex; flex-direction: column; gap: 5px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .25s ease; padding: 7px 11px 8px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-night="1"] .tl-label { background: rgba(14,14,14,.82); }
.tl-label.on { opacity: 1; }
.tl-label b { font-family: var(--serif-display); font-weight: 400; font-size: 30px; line-height: 1; }
.tl-label span { font-family: var(--type); font-size: 12px; color: #6b6b6b; white-space: pre; }
html[data-night="1"] .tl-label span { color: #9a968f; }
.tl-tip { position: absolute; left: 0; right: 0; bottom: 58px; margin: 0; text-align: center; font-family: var(--type); font-size: 12px; color: #8a8a8a; transition: opacity .8s ease; pointer-events: none; }
.tl-tip.off { opacity: 0; }
html.ab-open .tl, html.fd-open .tl { visibility: hidden !important; }
@media (max-width: 700px) { .tl-head { left: 14px; } .tl-label b { font-size: 24px; } .tl-label span { font-size: 11px; } .tl-tip { bottom: 64px; } }

/* ===== Find ===== */
.fd { position: fixed; inset: 0; z-index: 9; background: #fff; color: #000; overflow: auto; clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.76,0,.24,1); }
html[data-night="1"] .fd { background: #0a0a0a; color: #ece9e3; }
.fd.open { clip-path: inset(0 0 0 0); }
.fd[hidden] { display: none; }
.fd-in { padding: clamp(104px, 19vh, 190px) 20px 80px; max-width: 1180px; opacity: 0; transform: translateY(14px); transition: opacity .6s ease .25s, transform .9s cubic-bezier(.16,1,.3,1) .25s; }
.fd.open .fd-in { opacity: 1; transform: none; }
.fd-k { display: block; margin: 0 0 12px 3px; font-family: var(--type); font-size: 13px; color: #6b6b6b; }
.fd-q { display: block; width: 100%; margin: 0; padding: 0 0 10px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; outline: none; background: none; color: inherit;
  font-family: var(--serif-display); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1.05; letter-spacing: -.015em; caret-color: currentColor; }
.fd-q::placeholder { color: #c4c4c4; opacity: 1; }
html[data-night="1"] .fd-q::placeholder { color: #4a4a4a; }
.fd-list { list-style: none; margin: 18px 0 0; padding: 0; }
.fd-row { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 62px minmax(0, 1.15fr) minmax(0, 1.4fr) auto; column-gap: 20px; align-items: baseline; width: 100%; padding: 13px 3px 12px; border-bottom: 1px solid #e4e4e4; cursor: pointer; color: #9a9a9a; transition: color .2s ease;
  animation: fdIn .5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes fdIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html[data-night="1"] .fd-row { border-bottom-color: rgba(255,255,255,.14); color: #6f6c68; }
.fd-list li.on .fd-row { color: #000; }
html[data-night="1"] .fd-list li.on .fd-row { color: #ece9e3; }
.fd-no { font-family: var(--type); font-size: 12px; }
.fd-name { font-family: var(--serif-display); font-size: 32px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-name u { text-decoration: none; box-shadow: inset 0 -1px 0 currentColor; }
.fd-what, .fd-date { font-family: var(--serif); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-date { font-style: italic; }
.fd-note { margin: 16px 0 0 3px; min-height: 1.4em; font-family: var(--type); font-size: 13px; color: #6b6b6b; }
.fd-places { margin-top: 44px; transition: opacity .3s ease; }
.fd.has-q .fd-places { display: none; }
.fd-pl { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; max-width: 900px; }
.fd-pl button { all: unset; cursor: pointer; font-family: var(--serif-display); font-size: 28px; line-height: 1.25; color: #9a9a9a; transition: color .2s ease; }
.fd-pl button:hover, .fd-pl button:focus-visible { color: #000; }
html[data-night="1"] .fd-pl button { color: #6f6c68; }
html[data-night="1"] .fd-pl button:hover, html[data-night="1"] .fd-pl button:focus-visible { color: #ece9e3; }
.fd-pl sup { font-family: var(--type); font-size: 10px; margin-left: 3px; }
html[data-night="1"] .fd-k, html[data-night="1"] .fd-note { color: #9a968f; }
html.fd-open .hint, html.fd-open .callout, html.fd-open .cl-tip { visibility: hidden !important; }
#find-btn + .tone-btn { margin-left: 8px; }
@media (max-width: 760px) { .fd-row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; } .fd-what { grid-column: 2; } .fd-date { display: none; } .fd-name { font-size: 27px; } .fd-pl button { font-size: 23px; } }
@media (prefers-reduced-motion: reduce) { .fd, .fd-in { transition: none; } .fd-row { animation: none; } }

/* ===== The line at the foot of the frames page ===== */
.hint .il { font-family: var(--type); font-size: 12px; line-height: 1.2; color: var(--grey); pointer-events: auto; white-space: nowrap; }
.hint button.il { border: 0; cursor: pointer; background: var(--white); padding: 4px 7px; border-radius: 3px; transition: color .25s ease; }
.hint button.il:hover { color: var(--black); }
.hint .il i { font-style: normal; margin-right: 10px; }
.hint .il i::after { content: ""; display: inline-block; width: 5px; height: 5px; background: currentColor; margin-left: 10px; vertical-align: 2px; }
body.universe[data-tone="dark"] .hint button.il { background: rgba(17,17,17,.72); }
html[data-night="1"] .hint button.il:hover { color: #fff; }
body.sheet-view .hint .il, body.time-view .hint .il { opacity: 0; pointer-events: none; }
.hint .il { transition: opacity .5s ease, color .25s ease; }
@media (max-width: 820px) { .hint .il { display: none; } }
@media (max-width: 560px) { .views { bottom: 6px; } }

/* one line the first time someone sees the cloud */
.cl-tip { position: fixed; left: 50%; bottom: 56px; z-index: 9; margin: 0; transform: translateX(-50%); white-space: nowrap; background: var(--white); padding: 4px 8px; border-radius: 3px; font-family: var(--type); font-size: 12px; color: #6b6b6b; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.cl-tip.on { opacity: 1; }
html[data-night="1"] .cl-tip { color: #a6a29b; }
body:not([data-view="cloud"])[data-view] .cl-tip, html.reading .cl-tip, html.ab-open .cl-tip { opacity: 0; }

/* read marks in the Sheet */
.sh-row .sh-no::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; vertical-align: 1px; box-shadow: inset 0 0 0 1px currentColor; opacity: .55; }
.sh-row.read .sh-no::after { background: currentColor; opacity: 1; }

/* continue where you stopped */
.resume { position: fixed; left: 50%; bottom: 26px; z-index: 12; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; font: 13px/1 var(--type); color: #fff; background: #000; border: 0; border-radius: 999px; padding: 11px 16px 10px; cursor: pointer; transition: opacity .5s ease, transform .7s cubic-bezier(.16,1,.3,1); white-space: nowrap; }
.resume.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
html[data-night="1"] .resume { background: #ece9e3; color: #000; }
body.universe[data-tone="dark"] .cl-tip { background: rgba(17,17,17,.72); }

/* ===== Holding page, shown at the address until the first conversation ===== */
body.holding { margin: 0; background: #000; color: #ece9e3; min-height: 100vh; }
.hd { position: relative; min-height: 100vh; }
.hd-cv { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; display: block; }   /* scrolls away with the page, so the text never runs into the name */
.hd-text { position: relative; z-index: 1; margin: 0 auto; padding: calc(var(--hd-top, 42vh) + 26px) 20px 64px; max-width: 520px; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity 1.4s ease, transform 1.8s cubic-bezier(.16,1,.3,1); }
body.settled .hd-text { opacity: 1; transform: none; }
.hd-line { margin: 0; font-family: var(--type); font-size: 13px; color: #9a968f; }
.hd-soon { margin: 10px 0 0; font-family: var(--serif-display); font-size: 28px; line-height: 1.15; text-wrap: balance; }
.hd-about { margin: 34px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: #c9c5be; text-wrap: pretty; }
.hd-by { margin: 10px 0 0; font-family: var(--type); font-size: 12px; color: #8f8c87; }
.ltr-hd { margin: 38px auto 0; text-align: left; max-width: 420px; }
.ltr-hd .lt-k { color: #ece9e3; font-size: 26px; }
.ltr-hd .lt-t { font-size: 16px; color: #c9c5be; }
.ltr-hd .lt-m, .ltr-hd .lt-f input::placeholder { color: #8f8c87; }
.hd-foot { margin: 40px 0 0; font-family: var(--type); font-size: 12px; color: #8f8c87; }
.hd-foot a { color: inherit; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hd-text { transition: none; opacity: 1; transform: none; } }

/* ===== Preview label, only on the preview address ===== */
.pv-flag { position: fixed; left: 50%; top: 52px; transform: translateX(-50%); z-index: 50; margin: 0; padding: 4px 9px; border-radius: 3px; background: #000; color: #fff; font: 11px/1 var(--type); pointer-events: none; opacity: .85; }
html[data-night="1"] .pv-flag { background: #ece9e3; color: #000; }

/* ===== Conversation page additions ===== */
.hero-over .native { margin: 6px 0 0; font-family: var(--serif); font-size: 18px; opacity: .85; }
.inline-plate { margin: 28px 0 32px; break-inside: avoid; }
.withdrawn-page { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 120px 20px; }
.withdrawn { font-family: var(--serif-display); font-size: 34px; margin: 0; }
.withdrawn-back { font-family: var(--type); font-size: 13px; margin: 16px 0 0; }
.withdrawn-back a { color: inherit; }
.ab-pv a { color: inherit; }

/* ===== Plain pages (privacy, not found) ===== */
body.plain { background: #fbfaf6; color: #000; }
.plain-main { max-width: 640px; margin: 0 auto; padding: 130px 20px 100px; font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.plain-main h1 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(40px, 7vw, 64px); line-height: 1; margin: 0 0 30px; }
.plain-main h2 { font-family: var(--serif-display); font-weight: 400; font-size: 28px; margin: 40px 0 8px; }
.plain-main p { margin: 0 0 14px; }
.plain-main a { color: inherit; text-underline-offset: 3px; }
html[data-night="1"] body.plain { background: #0e0e0e; color: #ece9e3; }
