:root {
  --split: 32vw;
  --line-y: 44vh;
  /* the reference's page and text colours */
  --bg: #F8F8F8;
  --ink: #26262E;            /* rgb(38, 38, 46): names over the glass */
  --text: #333333;
  --mute: #8a8a90;
  --mark: rgb(78, 88, 230);  /* the reticles */
  --serif: "Geist Serif", "Noto Serif SC Site", "Songti SC", "STSong", serif; /* Latin in Geist Serif, Chinese in Noto Serif SC (cut to the characters used) */
  --mono: "Geist Mono", "Noto Serif SC Site", ui-monospace, Menlo, monospace;
  --faint: rgba(0, 0, 0, .14);
  /* glass: a pale, slightly milky pane with a bright edge */
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .95);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 24px rgba(0, 0, 0, .06);
  --move: .9s cubic-bezier(.2, .7, .2, 1);
}

@font-face { /* Instrument Sans (OFL), for the interface: latin, then accented latin */
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-latin.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Serif SC Site";
  src: url("fonts/NotoSerifSC-sub.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Serif";
  src: url("fonts/GeistSerifVF.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
html, body { margin: 0; background: var(--bg); color: var(--text); }
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none; }
#scene.on { opacity: 1; }
#murmur { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none; }
#murmur.on { opacity: 1; }
body { font-family: var(--serif); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.mark {
  position: fixed; top: 22px; left: 28px; z-index: 60;
  font-size: 17px; line-height: 1; color: var(--ink);
  text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg);
}
.mark .mark-zh { letter-spacing: .08em; }
.lang {
  position: fixed; top: 22px; right: 28px; z-index: 60;
  display: flex; gap: 6px; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--mute);
  text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg);
}
.lang button { color: var(--mute); letter-spacing: .14em; }
.lang button.on { color: var(--ink); }
.lang button:not(.on):hover { color: var(--ink); }

.layout { position: relative; z-index: 1; display: flex; align-items: flex-start; }

/* ---- passage stream: a tall pane of glass ---- */
.text {
  flex: 0 0 var(--split);
  width: var(--split);
  box-sizing: border-box;
  padding: 0 28px 0 32px;
  position: relative;
  z-index: 1;
  transition: opacity .5s;
  background: rgba(248, 248, 247, .72);
  border-right: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
}
.head { position: sticky; top: 0; z-index: 3; padding: 66px 0 14px; background: linear-gradient(rgba(248, 248, 247, .96) 80%, rgba(248, 248, 247, 0)); }
.head h2 { margin: 0 0 8px; font-size: 17px; font-weight: 400; line-height: 1.5; }
.player { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.play { width: 14px; font-size: 12px; color: var(--ink); text-align: left; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ink)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); margin-right: 6px; vertical-align: 1px; flex: none; }

.passage { margin: 0 0 26px; }
.passage .who { font-size: 11px; color: var(--mute); letter-spacing: .03em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.passage p { margin: 0; font-size: 15px; line-height: 1.9; font-weight: 300; color: #2b2b2b; }
.passage.host p { color: #6b6b6b; }
.passage + .passage.cont { margin-top: -16px; }
.passage.cont .who { display: none; }
.s { cursor: pointer; transition: background-color .25s, color .25s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.s:hover { background: rgba(0, 0, 0, .04); }
.s.on { background: rgba(0, 0, 0, .085); color: #000; padding: .22em 0; }

/* ---- the floor: seats on concentric arcs ---- */
.map { position: sticky; top: 0; flex: 1 1 auto; height: 100vh; overflow: hidden; }
.floor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.floor .aisle { fill: none; stroke: rgba(0, 0, 0, .2); stroke-width: 1; stroke-dasharray: 3 5; }
.floor .trail { fill: none; stroke: var(--ink); stroke-width: 1; }
.floor .walker { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.floor .share { stroke: rgba(0, 0, 0, .12); stroke-width: 1; transition: stroke .3s; }
.floor .share.lit { stroke: rgba(0, 0, 0, .45); }
.floor .bench { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 26; stroke-linecap: round; filter: blur(3px); }

.q, .seat {
  position: absolute;
  transform: translate(-50%, -50%);
  width: max-content;
  box-sizing: border-box;
  transition: left var(--move), top var(--move), opacity .5s, background-color .3s, color .3s, border-color .3s;
  user-select: none;
  cursor: pointer;
}

/* questions and seats: small panes of glass (no backdrop blur on these — there are many, and the
   scene behind them moves every frame) */
.q {
  max-width: 132px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  font-size: 14px;
  line-height: 1.45;
  z-index: 2;
}
.q:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.q.is-active { max-width: 240px; padding: 10px 15px; font-size: 18px; background: var(--ink); border-color: var(--ink); color: #fff; z-index: 4; cursor: default; }
.q.near { max-width: 128px; padding: 5px 9px; font-size: 13px; color: #3a3a3a; }
.q.far { max-width: 96px; padding: 3px 7px; font-size: 11px; border-radius: 8px; background: var(--glass); box-shadow: none; color: #6b6b6b; }
.q.far:hover { background: var(--ink); color: #fff; }
.q.dim { opacity: .3; }
.q.off { opacity: 0; pointer-events: none; }
.q.jump { transition: none; }

/* home: threads between questions that share a claim, labelled with the claim */
.floor .thread { fill: none; stroke: rgba(0, 0, 0, .38); stroke-width: 1; stroke-dasharray: 2 5; animation: appear .9s ease both, flow 5s linear infinite; transition: stroke .3s, opacity .3s; }
.floor .thread.onward { stroke: rgba(0, 0, 0, .22); }
@keyframes flow { to { stroke-dashoffset: -70; } }
.floor .thread.lit { stroke: var(--ink); }
.floor .thread.dim { opacity: .25; }
.clue {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; align-items: center;
  max-width: 150px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  font-size: 11px; line-height: 1.4; color: #4a4a4a;
  white-space: nowrap;
  z-index: 1;
  animation: appear .9s ease both;
  transition: opacity .3s, background-color .3s, color .3s;
}
.clue .dot { width: 6px; height: 6px; margin-right: 5px; }
.clue.lit { background: var(--ink); border-color: var(--ink); color: #fff; z-index: 3; }
.clue.dim { opacity: .3; }
@keyframes appear { from { opacity: 0; } }

.pager { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 10px; transition: opacity .5s; }
.pager button { width: 8px; height: 8px; border-radius: 50%; background: var(--glass-strong); border: 1px solid rgba(0, 0, 0, .25); }
.pager button.on { background: var(--ink); border-color: var(--ink); }

.seat {
  display: flex;
  align-items: center;
  max-width: 190px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  font-size: 12.5px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.seat.shown { opacity: 1; pointer-events: auto; }
.seat.focus { background: var(--ink); border-color: var(--ink); color: #fff; }
.seat.focus .dot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }
.seat.answers { border-color: var(--ink); }

/* the claim on the runway, in full: the one pane that blurs what is behind it */
.stage {
  position: absolute;
  transform: translate(-50%, 0);
  width: min(320px, 40%);
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.stage.shown { opacity: 1; }
.stage .who { font-size: 11px; color: var(--mute); margin-bottom: 4px; }
.stage .rel { font-size: 11px; color: var(--mute); margin-top: 6px; }

/* ---- draggable guides (question view only) ---- */
.guide { position: fixed; z-index: 50; touch-action: none; }
.guide--v {
  top: 0; bottom: 0; left: var(--split); width: 8px; margin-left: -4px; cursor: col-resize;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .22) 0 10px, transparent 10px 18px) center / 1px 100% no-repeat;
}
.guide--h {
  left: 0; width: var(--split); top: var(--line-y); height: 10px; margin-top: -5px; cursor: row-resize;
  background: repeating-linear-gradient(to right, rgba(0, 0, 0, .22) 0 10px, transparent 10px 18px) center / 100% 1px no-repeat;
}
.guide--h.is-on { background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.guide.is-dragging { opacity: .6; }

/* ---- home: only the questions ---- */
body.home .text { flex-basis: 0; width: 0; padding: 0; opacity: 0; overflow: hidden; height: 0; border: 0; }
body.home .guide { display: none; }

/* ---- narrow screens: floor on top, passages below ---- */
@media (max-width: 880px) {
  :root { --line-y: 74dvh; }
  .mark { top: 10px; left: 12px; font-size: 15px; }
  .layout { display: block; }
  .map { position: fixed; top: 0; left: 0; right: 0; height: 50dvh; border-bottom: 1px solid var(--glass-edge); z-index: 20; }
  body.home .map { height: 100dvh; border: 0; }
  .text { width: 100%; padding: 50dvh 18px 40dvh; border-right: 0; }
  .head { top: 50dvh; padding-top: 14px; }
  .guide--v { display: none; }
  .guide--h { width: 100%; pointer-events: none; }
  .q { font-size: 12px; max-width: 110px; }
  .q.is-active { font-size: 14px; max-width: 170px; }
  .q.far { font-size: 10px; max-width: 80px; }
  .seat { font-size: 11px; max-width: 130px; }
  .stage { font-size: 12px; width: 60%; }
}

/* ---- home: a question is something being said, not a box ---- */
.q .say, .q .voice { display: block; }
.q .voice { display: none; }
body.home .q {
  max-width: 190px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 0 0 2px var(--bg), 0 0 6px var(--bg), 0 0 12px var(--bg), 0 0 22px var(--bg);
}
body.home .q .voice {
  display: flex;
  align-items: center;
  margin-top: 5px;
  font-size: 11.5px;
  color: #5a5a5a;
  white-space: nowrap;
  min-height: 1.4em;
}
body.home .q .voice .dot { width: 6px; height: 6px; margin-right: 6px; }
body.home .q:hover { background: none; color: #000; }
body.home .q:hover .say { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

body.home .clue { background: none; border: 0; padding: 0; color: #5a5a5a; text-shadow: 0 0 3px var(--bg), 0 0 8px var(--bg); }
body.home .clue.lit { background: none; color: #000; }
.clue.onward { cursor: pointer; max-width: 220px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: #777; pointer-events: auto; }
.clue.onward:hover { color: #000; }

/* ---- question view: who answers whom ---- */
.floor .answer { fill: none; stroke: rgba(0, 0, 0, .35); stroke-width: 1; stroke-dasharray: 3 4; transition: stroke .3s; }
.floor .answer.lit { stroke: var(--ink); stroke-dasharray: none; }
.clue.answer-tag { padding: 1px 7px; font-size: 10.5px; color: #555; background: var(--glass-strong); }
.clue.answer-tag.lit { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- question view: the comparison column ---- */
.unit { margin: 0 0 34px; }
.unit.thread { padding-left: 12px; border-left: 1px solid rgba(0, 0, 0, .16); }
.relation { margin: 2px 0 12px; font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.relation::before { content: '↳ '; }
.claim-block { margin: 0 0 14px; }
.claim-block .who { font-size: 11px; color: var(--mute); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.claim-text { font-size: 15px; line-height: 1.7; color: #111; cursor: pointer; margin-bottom: 6px; }
.claim-text:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.claim-block .passage { margin: 0 0 6px; }
.claim-block .passage p { font-size: 13.5px; line-height: 1.85; color: #6b6b6b; }
.claim-block .passage .who { margin: 6px 0 2px; }
.claim-block:not(.open) .s.more, .claim-block:not(.open) .passage.extra { display: none; }
.more-btn { font-size: 13px; color: var(--mute); padding: 0 4px; letter-spacing: .1em; }
.more-btn:hover { color: var(--ink); }
.claim-block.open .more-btn { transform: rotate(90deg); }

/* ---- home: what each person on the glass is carrying ---- */
#carriers { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
body:not(.home) #carriers { display: none; }
.carrier {
  --app: rgb(78, 88, 230);
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  max-width: 240px;
  pointer-events: auto;
  cursor: pointer;
  color: var(--ink);
  text-shadow: 0 0 2px var(--bg), 0 0 6px var(--bg), 0 0 12px var(--bg);
  transition: opacity .6s;
  will-change: transform;
  outline: none;
}
/* the reference and the speaker, in the mono of the reticles */
.carrier .cmeta { display: flex; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 2.4px; line-height: 1; }
.carrier .cref { color: var(--app); }
.carrier .cname { color: rgba(38, 38, 46, .6); }
.carrier .line { font-family: var(--serif); font-size: 16px; line-height: 1.4; }
.carrier.claim .line { font-size: 14px; line-height: 1.5; color: #3a3a42; }
.carrier .more { display: none; }

/* hovered: a pane of light frosted glass, corner brackets in the item's colour, the answer typing itself out */
.carrier.open {
  z-index: 2;
  width: 256px; max-width: none;
  padding: 14px 16px;
  color: var(--ink);
  text-shadow: none;
  background: radial-gradient(circle, rgba(38, 38, 46, .06) .7px, transparent 1px) 0 0 / 11px 11px, rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 32px rgba(10, 10, 20, .08), 0 2px 6px rgba(10, 10, 20, .05);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.carrier.open::before {
  content: ""; position: absolute; inset: -7px;
  border: 1px solid var(--app); border-radius: 17px;
  -webkit-mask: linear-gradient(#000 0 0) top left / 16px 16px no-repeat, linear-gradient(#000 0 0) top right / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom left / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom right / 16px 16px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 16px 16px no-repeat, linear-gradient(#000 0 0) top right / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom left / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom right / 16px 16px no-repeat;
  pointer-events: none;
}
.carrier.open .cmeta { font-size: 11px; letter-spacing: 2px; width: 100%; }
.carrier.open .cmeta::after { content: ""; flex: 1; align-self: center; height: 1px; background: repeating-linear-gradient(90deg, rgba(38, 38, 46, .22) 0 2px, transparent 2px 5px); }
.carrier.open .cname { color: rgba(38, 38, 46, .6); }
.carrier.open .line { color: var(--ink); }
.carrier.open .more { display: block; margin-top: 6px; font-family: var(--serif); font-size: 13px; line-height: 1.55; color: rgba(38, 38, 46, .62); }

/* ---- question view: the map of the text (after decay.connie.surf) ---- */
/* --acc is the open question's colour; the sentence being read, the reading line and the open branch share it */
:root { --acc: 78, 88, 230; }
.s.on { background: rgba(var(--acc), .16); color: #000; }
.guide--h.is-on { background: linear-gradient(rgba(var(--acc), .9), rgba(var(--acc), .9)) center / 100% 1.5px no-repeat; }
.claim-block { transition: box-shadow .3s; }
.claim-block.active { box-shadow: -14px 0 0 -13px rgba(var(--acc), .9); }

.floor line.tree { stroke: rgba(38, 38, 46, .28); stroke-width: 1; transition: stroke .3s, opacity .3s; }
.floor line.rel { stroke: rgba(38, 38, 46, .3); stroke-width: 1; stroke-dasharray: 3 4; }
.floor line.on { stroke: rgba(var(--acc), .85); }
.floor line.grey { opacity: .35; }
.floor text { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; fill: rgba(38, 38, 46, .55); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.floor text.on { fill: rgb(var(--acc)); }

.gnode {
  position: absolute;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 220px;
  box-sizing: border-box;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 250, 250, .94); /* opaque enough that lines pass behind, not through */
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  opacity: 0;
  transition: opacity .4s, background-color .3s, border-color .3s, color .3s, filter .3s;
  z-index: 2;
}
.gnode.shown { opacity: 1; }
.gnode.leaving { opacity: 0; pointer-events: none; transition: opacity .4s, left .45s ease-in, top .45s ease-in; }
.gnode.q {
  max-width: 280px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .35);
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink);
  cursor: default;
  z-index: 3;
}
/* the question in the middle wears the same reticle as on the home floor, in its own colour */
.gnode.q::before {
  content: ""; position: absolute; inset: -6px;
  border: 1px solid rgba(var(--acc), .85); border-radius: 18px;
  -webkit-mask: linear-gradient(#000 0 0) top left / 16px 16px no-repeat, linear-gradient(#000 0 0) top right / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom left / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom right / 16px 16px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 16px 16px no-repeat, linear-gradient(#000 0 0) top right / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom left / 16px 16px no-repeat, linear-gradient(#000 0 0) bottom right / 16px 16px no-repeat;
  pointer-events: none;
}
.gnode.q::after {
  content: attr(data-ref); position: absolute; left: 18px; top: -18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; color: rgb(var(--acc));
}
.gnode.c { display: flex; align-items: center; }
.gnode.c .dot { width: 7px; height: 7px; }
/* on the map the speakers' dots are hollow rings; in the text on the left they stay solid */
.gnode .dot { background: transparent; box-shadow: none; border: 1px solid var(--c, var(--ink)); box-sizing: border-box; }
.gnode .dot.light { border-color: rgba(38, 38, 46, .4); }
.gnode.src, .gnode.rel { max-width: 196px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; color: #3a3a42; }
.gnode .gtime, .gnode .gref { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; color: rgba(38, 38, 46, .55); margin-bottom: 2px; }
.gnode.on .gtime, .gnode.on .gref { color: var(--ink); } /* a lit card's label is plain ink, never coloured */
.gnode.on { background: linear-gradient(rgba(var(--acc), .16), rgba(var(--acc), .16)), rgba(250, 250, 250, .96); border-color: rgba(var(--acc), .45); border-width: .5px; box-shadow: 0 6px 18px rgba(var(--acc), .12); }
.gnode.c.on { background: linear-gradient(rgba(var(--acc), .22), rgba(var(--acc), .22)), rgba(250, 250, 250, .96); }
.gnode.grey { opacity: .5; filter: grayscale(1); }
.gnode.grey:hover { opacity: .85; filter: none; }
.gnode:not(.q):hover { border-color: rgba(var(--acc), .6); }
body.home .gnode { display: none; }
.claim-text.on { background: rgba(var(--acc), .16); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---- Index and About: links on the home floor, pages that open over it ---- */
/* Index sits in the bottom-left corner, About in the bottom-right */
.pages {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg);
}
.pages a { position: fixed; bottom: 22px; z-index: 60; color: var(--mute); text-decoration: none; }
.pages a[data-page="index"] { left: 28px; }
.pages a[data-page="about"] { right: 28px; }
.pages a:hover, .pages a.on { color: var(--ink); }
body:not(.home) .pages { display: none; }

.page {
  position: fixed; inset: 64px 28px 56px; z-index: 55;
  padding: 40px 44px;
  border-radius: 16px;
  background: rgba(248, 248, 248, .72);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(var(--from, 40px));
  transition: opacity .35s, transform .35s, visibility .35s;
  overflow: auto;
}
body.paged .page { opacity: 1; visibility: visible; transform: none; }
.page h1 { margin: 0; font-weight: 400; font-size: 28px; color: var(--ink); }
body.paged #carriers { visibility: hidden; }
@media (max-width: 880px) {
  .pages { font-size: 11px; }
  .pages a { bottom: 12px; }
  .pages a[data-page="index"] { left: 12px; }
  .pages a[data-page="about"] { right: 12px; }
  .page { inset: 48px 10px 10px; padding: 24px; }
}

/* ---- the project, in a sentence, under the mark (home only) ---- */
.introbox {
  position: fixed; top: 50px; left: 28px; z-index: 60; max-width: 260px;
  font-size: 13px; line-height: 1.55; color: rgba(38, 38, 46, .6);
}
.intro {
  margin: 0;
  font-size: 13px; line-height: 1.55; letter-spacing: 0; color: rgba(38, 38, 46, .6);
  text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg);
}
body:not(.home) .introbox, body.paged .introbox { display: none; }
@media (max-width: 880px) { .introbox { top: 34px; left: 12px; max-width: 220px; font-size: 12px; } }
html[lang="en"] .introbox { max-width: 340px; } /* English sits on three lines */

/* ---- the credit line, bottom centre, between Index and About ---- */
.credit {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60;
  margin: 0; white-space: nowrap;
  font-family: var(--serif); font-size: 12px; line-height: 1; letter-spacing: 0; color: rgba(38, 38, 46, .5);
  text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg);
}
body:not(.home) .credit { display: none; }
@media (max-width: 880px) { .credit { bottom: 12px; font-size: 11px; } }

/* ---- second-level pages: the whole page, the edges stay where they are ---- */
.page {
  inset: 0 !important;
  padding: 120px 28px 96px !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: rgba(248, 248, 248, .9) !important;
  -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important;
  z-index: 50 !important;
}
.page h1 { display: none; }
body.paged .intro { display: none; }

/* the breadcrumb in the mark's place */
.mark .crumb-sep { color: var(--mute); }
.mark .crumb-here { font: inherit; color: var(--ink); } /* same size and face as the title it follows */

/* ---- Index: one table, questions down and conversations across ---- */
.book { max-width: 1100px; }
.ix {
  display: grid;
  grid-template-columns: 36px minmax(220px, 1fr) repeat(var(--eps), minmax(150px, 220px));
  column-gap: 32px;
  font-size: 13px; line-height: 1.5; color: var(--ink);
}
.ix > div { padding: 9px 0; border-top: 1px solid rgba(38, 38, 46, .1); }
.ix-hn, .ix-h, .ix-ep { border-top: 0 !important; padding-bottom: 18px !important; align-self: end; }
.ix-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ix-ep-no { font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-right: 8px; }
.ix-ep-name { font-size: 14px; }
.ix-ep-meta { margin: 4px 0 0; font-family: var(--mono); font-size: 10px; line-height: 1.6; color: var(--mute); }
.ix-ep-kw { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ix-n { font-family: var(--mono); font-size: 10.5px; color: var(--mute); padding-top: 11px !important; }
.ix-cell { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.ix-t { font-family: var(--mono); font-size: 10.5px; color: #4a4a52; }
.ix-t.ix-host { color: var(--mute); }
.ix-t.ix-host::before { content: "W "; }
.ix-none { color: rgba(38, 38, 46, .25); }
.bk-link { color: inherit; text-decoration: none; }
.bk-link:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 880px) {
  .page { padding: 84px 16px 72px !important; }
  .ix { grid-template-columns: 28px 1fr repeat(var(--eps), 64px); column-gap: 12px; }
  .ix-ep-meta { display: none; }
}
/* the page's text fades out under the fixed edges instead of running into them */
.page {
  -webkit-mask-image: linear-gradient(transparent 0, transparent 56px, #000 104px, #000 calc(100% - 76px), transparent calc(100% - 44px));
  mask-image: linear-gradient(transparent 0, transparent 56px, #000 104px, #000 calc(100% - 76px), transparent calc(100% - 44px));
}

/* ---- Index by conversation: number, who, and the questions it holds ---- */
.ixe { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 56px 64px; max-width: 1200px; }
.ixe-no { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.ixe-who { margin: 0 0 8px; font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink); }
.ixe-with { font-size: 14px; color: var(--mute); }
.ixe-meta { margin: 0 0 2px; font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: var(--mute); }
.ixe-kw { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ixe-qs { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid rgba(38, 38, 46, .14); }
.ixe-q { display: grid; grid-template-columns: 40px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(38, 38, 46, .08); }
.ixe-qn { font-family: var(--mono); font-size: 10.5px; color: var(--mute); padding-top: 2px; }
.ixe-qt { display: block; font-size: 14px; line-height: 1.45; color: var(--ink); }
.ixe-times { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 4px 0 0; }
.ixe-also { font-family: var(--mono); font-size: 10px; color: var(--mute); border-left: 1px solid rgba(38, 38, 46, .2); padding-left: 10px; }

/* ---- Index: each conversation a line in time ---- */
.ixl { position: relative; max-width: 1180px; }
.ixl-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.ixl-thread path { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 4; }
.ixl-row { display: grid; grid-template-columns: 300px 1fr; column-gap: 40px; align-items: center; padding: 22px 0; border-top: 1px solid rgba(38, 38, 46, .12); transition: opacity .3s; }
.ixl-row:last-of-type { border-bottom: 1px solid rgba(38, 38, 46, .12); }
.ixl-head { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; text-align: left; cursor: pointer; }
.ixl-no { grid-row: span 2; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); padding-top: 6px; }
.ixl-name { font-size: 22px; line-height: 1.2; color: var(--ink); }
.ixl-head:hover .ixl-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ixl-with { font-size: 13px; color: var(--mute); }
.ixl-meta { font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-top: 4px; }
.ixl-line { position: relative; height: 28px; }
.ixl-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(38, 38, 46, .3); }
.ixl-mark {
  position: absolute; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--bg); border: 1px solid rgba(38, 38, 46, .7); box-sizing: border-box;
  transition: transform .2s, opacity .2s, background-color .2s; z-index: 3;
}
.ixl-mark.host { border-color: rgba(38, 38, 46, .35); }
.ixl-mark.seen { background: var(--ink); border-color: var(--ink); }
.ixl-mark.seen.host { background: rgba(38, 38, 46, .4); border-color: transparent; }
.ixl.focusing .ixl-mark:not(.hit) { opacity: .25; }
.ixl-mark.hit { transform: scale(1.5); background: var(--ink); border-color: var(--ink); }
.ixl-t0, .ixl-t1 { position: absolute; top: calc(50% + 8px); font-family: var(--mono); font-size: 9.5px; color: var(--mute); }
.ixl-t0 { left: 0; } .ixl-t1 { right: 0; }
.ixl-tip {
  position: absolute; z-index: 4; width: 260px; padding: 10px 12px; transform: translateY(-100%);
  border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.ixl-tip.on { opacity: 1; }
.ixl-tip-q { display: block; font-size: 13px; line-height: 1.45; color: var(--ink); }
.ixl-tip-c { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; line-height: 1.6; color: var(--mute); }
.ixl-detail { grid-column: 1 / -1; margin-top: 18px; }
.ix-t.seen { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 880px) { .ixl-row { grid-template-columns: 1fr; row-gap: 12px; } }

/* the questions, set as one passage under the rows */
.ixl-qs { margin: 56px 0 40px; max-width: 1080px; font-size: 19px; line-height: 1.9; color: var(--mute); }
.ixl-q { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
.ixl-q.shared { color: var(--ink); }
.ixl-qn { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; vertical-align: .55em; margin-right: .35em; color: var(--mute); }
.ixl-sep { color: rgba(38, 38, 46, .22); transition: opacity .2s; }
.ixl.focusing .ixl-sep { opacity: .3; }
.ixl-q.seen .ixl-qn::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: .4em; vertical-align: .1em; }
.ixl-q.seen .ixl-qn { color: var(--ink); }
.ixl.focusing .ixl-q:not(.hit) { opacity: .28; }
.ixl-q.hit { color: var(--ink); }
.ixl-q.hit .ixl-qt { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--ink); }

/* where a question leads */
.coda { margin: 72px 0 0; padding: 28px 0 70vh; border-top: 1px solid rgba(38, 38, 46, .14); }
.coda.has-next { padding-bottom: 0; }
.coda-ahead { margin-top: 56px; }
.coda-trail { white-space: pre-wrap; line-height: 1.9; margin: 0 0 30px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--mute); }
.coda-arrow { color: rgba(38, 38, 46, .3); }
.coda-here { color: var(--ink); }
.coda-step { color: var(--mute); }
.coda-next { color: var(--ink); }
.coda-qn { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--mute); margin-bottom: 8px; }
.coda-qt { display: block; font-size: 30px; line-height: 1.3; max-width: 22em; }
.coda-via { margin: 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.coda-c { font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: var(--mute); }
.coda-others { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.coda-other { color: var(--mute); text-decoration: none; transition: color .2s; }
.coda-other:hover { color: var(--ink); }
.coda-other .coda-qn { margin-bottom: 4px; }
.coda-ot { font-size: 16px; line-height: 1.45; }
.head h2.swap { animation: qswap .5s ease-out; }
@keyframes qswap { from { opacity: 0; transform: translateY(6px); } }

/* ---- subscribing: an email field that waits on a line ---- */

/* Index: the next conversation, an empty row */
.ixl-next .ixl-head { cursor: default; align-items: baseline; }
.ixl-line--next::before { border-top-style: dashed; border-top-color: rgba(38, 38, 46, .32); }

/* end of the walk */

/* the send arrow appears once something is typed */

/* under the intro: the sentence goes on into an email line, in the same voice */

/* ---- About: the author's page at the back of the book ---- */
/* the portrait as on the glass: grey, dotted, soft, fading at the bottom; a little clearer when pointed at */
.ab-photo { margin: 0 0 28px; width: 220px; }
.ab-photo img {
  display: block; width: 100%; height: auto;
  filter: grayscale(1) contrast(1.08) blur(2.2px); opacity: .9;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 96%), radial-gradient(circle, #000 1.15px, transparent 1.75px);
  -webkit-mask-size: 100% 100%, 4px 4px;
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(#000 62%, transparent 96%), radial-gradient(circle, #000 1.15px, transparent 1.75px);
  mask-size: 100% 100%, 4px 4px;
  mask-composite: intersect;
  transition: filter .6s, opacity .6s;
}
.ab-photo:hover img { filter: grayscale(1) contrast(1.08) blur(.6px); opacity: 1; }
.ab-intro { margin: 0 0 22px; font-size: 15px; line-height: 1.75; color: var(--ink); }
.ab-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.ab-contact a { color: var(--mute); text-decoration: none; }
.ab-contact a:hover { color: var(--ink); }
.ab-contact a.empty { opacity: .45; } /* local preview only: no link yet */

.ab-sec { margin-bottom: 56px; }
.ab-label { margin: 0 0 6px; font-weight: 400; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ab-row {
  display: grid; grid-template-columns: 56px auto 1fr auto 20px; column-gap: 18px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid rgba(38, 38, 46, .12);
}
.ab-sec .ab-row:last-child { border-bottom: 1px solid rgba(38, 38, 46, .12); }
.ab-year { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mute); }
.ab-title { font-size: 21px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.ab-title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ab-where { font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: var(--mute); }
.ab-qs { display: flex; gap: 10px; }
.ab-q { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--mute); }
.ab-q:hover { color: var(--ink); }
.ab-go { font-family: var(--mono); font-size: 12px; color: var(--mute); text-decoration: none; justify-self: end; }
.ab-row:hover .ab-go { color: var(--ink); }
.ab-sum {
  grid-column: 2 / -1; margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  font-size: 14px; line-height: 1.6; color: rgba(38, 38, 46, .7);
  transition: max-height .35s ease, opacity .3s, margin .35s;
}
.ab-row:hover .ab-sum { max-height: 6em; opacity: 1; margin-top: 8px; }
.ab-prev {
  position: fixed; z-index: 70; width: 240px; aspect-ratio: 4 / 3; pointer-events: none;
  border-radius: 12px; border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  background: var(--glass-strong) center / cover no-repeat;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.ab-prev.on { opacity: 1; transform: none; }
.ab-exp { margin: 0 0 28px; }
.ab-exp-row { display: grid; grid-template-columns: 92px 1fr; column-gap: 12px; padding: 9px 0; border-top: 1px solid rgba(38, 38, 46, .1); }
.ab-exp-row:last-child { border-bottom: 1px solid rgba(38, 38, 46, .1); }
.ab-exp-row .ab-year { grid-row: span 2; padding-top: 3px; }
.ab-role { font-size: 14px; line-height: 1.45; color: var(--ink); }
.ab-org { font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: var(--mute); }

/* where to find me: top right on every page, the same small capitals as CN / EN */
.social { display: inline-flex; gap: 14px; margin-right: 22px; }
.social a { color: var(--mute); text-decoration: none; text-transform: uppercase; letter-spacing: .14em; }
.social a:hover { color: var(--ink); }
.social a.empty { opacity: .5; } /* local preview only: no link yet */
.social:empty { display: none; }
@media (max-width: 880px) { /* narrow screens: the accounts go on a line of their own, under CN / EN */
  .lang { flex-wrap: wrap; justify-content: flex-end; max-width: 200px; row-gap: 8px; }
  .social { order: 2; flex-basis: 100%; justify-content: flex-end; gap: 12px; margin-right: 0; }
}

/* ---- About: the author and the work, read top to bottom ---- */
.ab { display: grid; grid-template-columns: 280px 1fr; column-gap: 80px; max-width: 1180px; padding-right: 36px; } /* clear of the dots on the right */
.ab-side { position: sticky; top: 0; align-self: start; }
@media (max-width: 880px) {
  .ab { grid-template-columns: 1fr; row-gap: 40px; padding-right: 0; }
  .ab-side { position: static; }
  .ab-row { grid-template-columns: 44px 1fr 20px; }
  .ab-where, .ab-qs { grid-column: 2 / -1; }
}

/* =====================================================================================
   Visual pass: pure white and true black; the interface in a modern sans, the content
   (questions, claims, passages, titles) stays in the serif. Nothing here moves anything.
   ===================================================================================== */
:root {
  --bg: #FFFFFF;
  --ink: #000000;
  --text: #111111;
  --mute: rgba(0, 0, 0, .48);
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: var(--sans); /* small labels, numbers and times: the same sans, figures kept in columns */
}
body { background: #fff; font-variant-numeric: tabular-nums; }

/* no more small spaced capitals: labels are sentence case, set tight */
.pages, .lang, .lang button, .social a, .ix-h, .ab-contact, .ab-label, .bk-meta, .ixe-no, .ixl-no, .ixl-qn,
.coda-trail, .coda-qn, .ab-year, .ab-q, .bk-no, .bk-thumb span, .bk-folio, .mark .crumb-here, .relation, .more-btn,
.gnode .gtime, .gnode .gref, .floor text, .ixl-meta, .ixl-t0, .ixl-t1, .ab-where, .ab-org, .ab-exp-row .ab-year, .ab-book-y {
  text-transform: none !important; letter-spacing: -0.01em !important;
}

/* the edges: title in the serif, the rest in the sans, larger, medium weight, black */
.mark { font-size: 20px; letter-spacing: -0.03em; }
.mark .mark-zh { letter-spacing: 0; }
.mark .crumb-sep { color: var(--mute); }
.pages, .lang { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.pages a, .lang button.on, .social a { color: var(--ink); }
.lang button:not(.on) { color: var(--mute); }
.social { gap: 16px; margin-right: 26px; }
.credit { font-family: var(--sans); font-size: 12px; letter-spacing: -0.01em; color: var(--mute); }

/* text over the floor inverts against what's under it, instead of a glow around it */
.mark, .introbox, .credit, .pages, .lang { text-shadow: none !important; mix-blend-mode: difference; }
.mark, .mark .crumb-here { color: #fff; }
.mark .crumb-sep { color: rgba(255, 255, 255, .5); }
.introbox, .intro { color: rgba(255, 255, 255, .62); text-shadow: none !important; }
.pages a, .lang button.on, .social a, .lang span { color: #fff; }
.lang button:not(.on), .credit { color: rgba(255, 255, 255, .5); }

/* panes become white paper rather than grey glass */
.page { background: rgba(255, 255, 255, .92) !important; }
.text { background: rgba(255, 255, 255, .78); }
.head { background: linear-gradient(rgba(255, 255, 255, .97) 80%, rgba(255, 255, 255, 0)); }
.gnode { background: rgba(255, 255, 255, .96); }

/* labels: small, medium, black at half strength */
.ab-label, .ix-h { font-size: 12px; font-weight: 500; color: var(--mute); }
.ab-year, .ixl-no, .ixe-no, .bk-no, .bk-folio, .bk-meta, .coda-qn, .coda-trail { font-size: 12px; }
.ixl-meta, .ab-where, .ab-org, .gnode .gtime, .gnode .gref { font-size: 12px; }
.bk-title, .ab-title, .ixl-name { letter-spacing: -0.02em; }

/* the people's labels on the floor keep their colour, so they keep a soft white edge, but finer */
.carrier { text-shadow: 0 0 2px #fff, 0 0 6px #fff; }
.carrier .cmeta, .carrier.open .cmeta { font-size: 12px; font-weight: 500; letter-spacing: -0.01em; }
.carrier .cname { color: var(--mute); }
/* inverted edge text: "black" is written as white, the blend turns it black on paper */
.pages a:hover, .pages a.on, .lang button:not(.on):hover, .social a:hover { color: #fff; }
.pages a:not(.on):not(:hover) { color: rgba(255, 255, 255, .82); }

/* frosted glass, soft rather than cold: the floor shows through as diffuse light */
.page { background: rgba(255, 255, 255, .58) !important; -webkit-backdrop-filter: blur(38px) saturate(1.15) !important; backdrop-filter: blur(38px) saturate(1.15) !important; }
.text { background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(30px) saturate(1.15); backdrop-filter: blur(30px) saturate(1.15); border-right-color: rgba(255, 255, 255, .9); }
.head { background: linear-gradient(rgba(255, 255, 255, .97) 80%, rgba(255, 255, 255, 0)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* the About portrait like the ones on the floor: soft and grey, no dot screen */
.ab-photo img { -webkit-mask-image: linear-gradient(#000 62%, transparent 96%); mask-image: linear-gradient(#000 62%, transparent 96%); filter: grayscale(1) contrast(.9) blur(2px); opacity: .6; }
.ab-photo:hover img { filter: grayscale(1) contrast(.95) blur(.6px); opacity: .85; }

/* the question's colour on the reading page as light, the way it falls on the floor: a core of the
   colour easing into its lighter neighbour, translucent, with no hard edge */
:root { --acc2: 150, 160, 255; }
.s.on, .claim-text.on {
  color: #000; border-radius: 4px;
  background: linear-gradient(100deg, rgba(var(--acc), .2), rgba(var(--acc2), .16) 70%, rgba(var(--acc2), .06));
  box-shadow: 0 0 14px 2px rgba(var(--acc2), .18);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.guide--h.is-on {
  background:
    linear-gradient(90deg, rgba(var(--acc), 0), rgba(var(--acc), .85) 12%, rgba(var(--acc2), .85) 70%, rgba(var(--acc2), 0)) center / 100% 1.5px no-repeat,
    linear-gradient(90deg, rgba(var(--acc), 0), rgba(var(--acc), .12) 15%, rgba(var(--acc2), .12) 75%, rgba(var(--acc2), 0)) center / 100% 12px no-repeat;
}
.claim-block.active { box-shadow: -14px 0 0 -13px rgba(var(--acc), .85), -14px 0 12px -9px rgba(var(--acc2), .45); }
.gnode.on, .gnode.c.on {
  background:
    radial-gradient(130% 160% at 18% 25%, rgba(var(--acc), .2), rgba(var(--acc2), .12) 55%, rgba(var(--acc2), .03) 100%),
    rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .95); border-width: 1px;
  box-shadow: 0 1px 0 #fff inset, 0 10px 30px rgba(var(--acc2), .22), 0 2px 8px rgba(var(--acc), .08);
}
.floor line.on { stroke: rgba(var(--acc), .7); filter: drop-shadow(0 0 3px rgba(var(--acc2), .6)); }
.gnode.q::before { border-color: rgba(var(--acc), .7); filter: drop-shadow(0 0 4px rgba(var(--acc2), .5)); }

/* =====================================================================================
   The map without boxes: each thing is text on a soft blur, as on the reference — a small
   label above, the words below in the sans, set tight. The one being read sits on a blur of
   the question's colour; the rest on a white haze that only keeps the lines from crossing them.
   ===================================================================================== */
.gnode, .gnode.on, .gnode.c.on, .gnode.src, .gnode.rel, .gnode.c {
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  padding: 6px 4px !important;
}
.gnode { font-family: var(--sans); font-size: 14.5px; font-weight: 450; line-height: 1.02; letter-spacing: -0.015em; color: rgba(0, 0, 0, .55); }
.gnode.src, .gnode.rel { font-size: 13.5px; line-height: 1.08; color: rgba(0, 0, 0, .55); max-width: 190px; }
.gnode .dot { display: none; }
.gnode .gtime, .gnode .gref { font-family: var(--sans); font-size: 10.5px !important; font-weight: 450; line-height: 1.3; letter-spacing: 0 !important; color: rgba(0, 0, 0, .45); margin-bottom: 3px; }
.gnode.on, .gnode.on .gtime, .gnode.on .gref { color: #000; }
.gnode::before {
  content: ""; position: absolute; inset: -26px -30px; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, 0));
}
.gnode:not(.q).on::before {
  inset: -34px -38px;
  background: radial-gradient(closest-side, rgba(var(--acc), .42), rgba(var(--acc2), .28) 50%, rgba(var(--acc2), 0));
  filter: blur(10px); animation: none;
}
.gnode.grey { opacity: .55; filter: none; }
/* the question itself: no pane, just the words over a white haze, with its corner marks */
.gnode.q { background: radial-gradient(closest-side, rgba(255, 255, 255, .96), rgba(255, 255, 255, .8) 60%, rgba(255, 255, 255, 0)) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.gnode.q::before { inset: -6px; background: none; }
.gnode.q::after { color: rgb(var(--acc)); }

/* ---- the map, clear again: one light, room between, lines that stop at the words ---- */
/* every piece of text keeps a white haze under it, so a line ends where the words begin */
.gnode::before {
  content: ""; position: absolute; inset: -14px -18px; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1), rgba(255, 255, 255, .92) 60%, rgba(255, 255, 255, 0));
  filter: none;
}
.gnode:not(.q).on::before { inset: -14px -18px; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .92) 60%, rgba(255, 255, 255, 0)); filter: none; }
/* only the claim being read sits on the question's colour: a light with a clear middle */
.gnode.c.focus::after {
  content: ""; position: absolute; inset: -40px -48px; z-index: -2; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--acc), .38), rgba(var(--acc2), .24) 55%, rgba(var(--acc2), 0));
  filter: blur(8px);
}
.gnode.c.focus::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, 0)); }
/* sizes: the question, the claim being read, its sources, everything else */
.gnode.q { font-size: 24px; line-height: 1.12; letter-spacing: -0.025em; color: #000; }
.gnode.c { font-size: 13.5px; color: rgba(0, 0, 0, .42); }
.gnode.c.focus { font-size: 17px; font-weight: 500; line-height: 1.1; color: #000; }
.gnode.src, .gnode.rel { font-size: 12.5px; line-height: 1.15; max-width: 180px; }
.gnode.src.on, .gnode.rel.on { color: #000; }
.gnode.on .gtime, .gnode.on .gref { color: rgb(var(--acc)); } /* the sources of the claim being read are marked by its colour */
.gnode.grey { opacity: .5; }
/* lines: hairlines in light grey; only those to the claim being read take the colour */
.floor line.tree { stroke: rgba(0, 0, 0, .14); }
.floor line.rel { stroke: rgba(0, 0, 0, .18); }
.floor line.on { stroke: rgba(var(--acc), .75); stroke-width: 1; filter: none; }
.floor line.grey { opacity: .5; }

/* =====================================================================================
   Subtraction. One screen, two things: the words on the left, the claims on the right.
   ===================================================================================== */
/* no decorative lines: the divider and the resting reading line are invisible (still draggable);
   the reading line shows only while it reads */
.guide--v, .guide--h { background: none !important; }
.guide--h.is-on {
  background: linear-gradient(90deg, rgba(var(--acc), 0), rgba(var(--acc), .8) 12%, rgba(var(--acc2), .8) 70%, rgba(var(--acc2), 0)) center / 100% 1px no-repeat !important;
}
.text { border-right: 0; }
.unit.thread { border-left: 0; padding-left: 0; }
.claim-block.active { box-shadow: none; }
/* the map: no corner marks, no words on the lines, no dashed lines; one hairline */
.gnode.q::before { display: none; }
.floor text { display: none; }
.floor line.rel { display: none; }
.floor line.tree { stroke: rgba(0, 0, 0, .1); }
.floor line.on { stroke: rgba(var(--acc), .55); }
/* the question's number sits above it, a small label as on the reference */
.gnode.q::after { position: static; display: block; order: -1; margin-bottom: 6px; font-family: var(--sans); font-size: 11px; letter-spacing: 0 !important; }
.gnode.q { display: flex; flex-direction: column; align-items: flex-start; }
/* two greys only: black, and one grey */
.gnode, .gnode.c, .gnode.src, .gnode.rel { color: rgba(0, 0, 0, .45); }
.gnode.on, .gnode.c.focus, .gnode.rel.on { color: #000; }
.gnode.grey { opacity: 1; }
.gnode .gtime, .gnode .gref { color: rgba(0, 0, 0, .45); }
.passage p, .claim-block .passage p, .passage.host p { color: rgba(0, 0, 0, .45); font-weight: 400; }
.claim-text { color: #000; }
/* the left side is for reading: all of it in the serif */
.text .who, .text .relation, .text .more-btn, .player, #clock, .coda-trail, .coda-qn, .coda-c {
  font-family: var(--serif) !important; letter-spacing: 0 !important; font-size: 12px;
}
.text .who, .text .relation { color: rgba(0, 0, 0, .45); }
.text .dot { display: none; }
/* the divider between reading and the map: back, but quiet — a faint hairline fading at both ends */
.guide--v { background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .12) 0 4px, transparent 4px 10px) center / 1px 100% no-repeat !important; } /* a faint dashed divider */
body.home .guide--v { background: none !important; }

/* ---- home, pared back: the colour is in the blur; the words are plain, as on the reference ---- */
.carrier { text-shadow: none !important; max-width: 220px; gap: 3px; }
.carrier .cmeta, .carrier.open .cmeta { font-family: var(--sans); font-size: 11px; font-weight: 450; letter-spacing: 0 !important; gap: 6px; }
.carrier .cref, .carrier .cname { color: rgba(0, 0, 0, .45); }
.carrier .line, .carrier.claim .line {
  font-family: var(--sans); font-size: 15px; font-weight: 450; line-height: 1.08; letter-spacing: -0.015em; color: rgba(0, 0, 0, .82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.carrier.open .line { -webkit-line-clamp: unset; display: block; }
.carrier.open::before { display: none; }

/* =====================================================================================
   The question page in the floor's colour: the question's palette in its three tones
   (--acc-d dark, --acc mid, --acc-l light), clean rather than tinted.
   ===================================================================================== */
:root { --acc-d: 40, 42, 46; --acc-l: 222, 224, 228; }
/* the words being read: set on the palette's light tone, like a proof marked by hand */
.s.on, .claim-text.on {
  color: #000; border-radius: 2px; box-shadow: none;
  background: rgba(var(--acc-l), .78);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.guide--h.is-on { background: linear-gradient(90deg, rgba(var(--acc), 0), rgba(var(--acc), .75) 12%, rgba(var(--acc), .75) 85%, rgba(var(--acc), 0)) center / 100% 1px no-repeat !important; }
/* the claim being read sits on a blur like a person on the floor: a dark core, the mid, a light edge,
   set a little below and to the right of the words so they rest on its light side */
.gnode.c.focus::after {
  inset: -30px -58px -46px -36px;
  background: radial-gradient(ellipse 60% 55% at 58% 62%, rgba(var(--acc-d), .62) 0%, rgba(var(--acc), .5) 32%, rgba(var(--acc-l), .42) 62%, rgba(var(--acc-l), 0) 100%);
  filter: blur(12px);
}
.gnode.c.focus::before { inset: -6px -10px; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.gnode.on .gtime, .gnode.on .gref, .gnode.q::after { color: rgb(var(--acc-d)); }
.floor line.on { stroke: rgba(var(--acc), .7); }

/* the words being read: no block behind them — they turn black and a soft band of the palette's
   light sits under the line, feathered at every edge, like light falling on the page */
.s.on, .claim-text.on {
  color: #000; border-radius: 0;
  background: linear-gradient(rgba(var(--acc-l), 0) 8%, rgba(var(--acc-l), .62) 46%, rgba(var(--acc-l), .62) 62%, rgba(var(--acc-l), 0) 96%);
  box-shadow: 0 0 14px 4px rgba(var(--acc-l), .28);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* cleaner still: nothing behind the words — the sentence being read is simply set in the palette's dark tone */
.s.on, .claim-text.on { background: none !important; box-shadow: none !important; color: rgb(var(--acc-d)) !important; transition: color .3s; }

/* brighter: the question page leans to the light side of its palette, as the floor does */
:root { --acc-t: 80, 80, 86; }
.s.on, .claim-text.on { color: rgb(var(--acc-t)) !important; }
.gnode.on .gtime, .gnode.on .gref, .gnode.q::after { color: rgb(var(--acc-t)); }
.guide--h.is-on { background: linear-gradient(90deg, rgba(var(--acc), 0), rgba(var(--acc), .55) 12%, rgba(var(--acc-l), .9) 85%, rgba(var(--acc-l), 0)) center / 100% 1px no-repeat !important; }
.floor line.on { stroke: rgba(var(--acc), .5); }
.gnode.c.focus::after {
  background: radial-gradient(ellipse 60% 55% at 58% 62%, rgba(var(--acc-d), .38) 0%, rgba(var(--acc), .42) 18%, rgba(var(--acc-l), .5) 45%, rgba(var(--acc-l), .22) 70%, rgba(var(--acc-l), 0) 100%);
}
/* the divider runs only along the reading, from the question's title to the last line on screen — not edge to edge */
.guide--v { top: 66px; bottom: 56px; } /* starts level with the question title */

/* ---- the top-left corner, lighter: one voice (the sans, like the rest of the edges), more air ---- */
.introbox { top: 58px; max-width: 300px; }
html[lang="en"] .introbox { max-width: 300px; }
.intro { font-family: var(--sans); font-size: 13px; line-height: 1.35; letter-spacing: -0.005em; color: rgba(255, 255, 255, .5); }

/* the intro in two lines; the subscribe line says what it is: "Subscribe", the field, an arrow */
.introbox, html[lang="en"] .introbox { max-width: 340px; }

/* subscribe: the field, then one plain button that says Subscribe */
/* quieter: no filled pill, just the word on a fine outline */

/* no button, but the way to send is shown: a small arrow at the end of the line, faint until there is
   something to send, then black; click it or press Enter */

/* the accounts move to the bottom right corner; About moves up beside CN / EN */
.social {
  position: fixed; right: 28px; bottom: 22px; z-index: 60; margin: 0 !important;
  display: flex; gap: 16px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.02em;
  mix-blend-mode: difference;
}
.pages a[data-page="about"] { bottom: auto; top: 22px; right: calc(28px + var(--lang-w, 70px) + 28px); }
body:not(.home) .pages a[data-page="about"], body.paged .pages a[data-page="about"] { top: 22px; }
@media (max-width: 880px) {
  .lang { max-width: none; }
  .social { right: 12px; bottom: 12px; gap: 10px; font-size: 13px; }
  .pages a[data-page="about"] { top: 22px; right: calc(12px + var(--lang-w, 60px) + 18px); }
}
/* quieter language switch, closer to About; the accounts set closer together */
.lang { font-size: 15px; font-weight: 500; gap: 2px; } /* same size as About; quieted by colour, not by size */
.lang button.on { color: rgba(255, 255, 255, .78); } /* the current language clearly darker than the other */
.lang button:not(.on), .lang span { color: rgba(255, 255, 255, .3); }
.pages a[data-page="about"] { right: calc(28px + var(--lang-w, 50px) + 16px); }
.social { gap: 10px; }
.lang { top: 22px; }
.intro { text-wrap: balance; } /* the slogan breaks into even lines, never one word left over */

/* ---- the top-left block in the site's own type, not a form ----
   the slogan is set like the words people carry on the floor (15px, tight);
   subscribe reads like the edge links (15px, medium), quieter in grey, the arrow right after the words;
   a fine line appears only while typing */
.introbox, html[lang="en"] .introbox { top: 58px; max-width: 320px; }
.intro { font-size: 15px; font-weight: 450; line-height: 1.12; letter-spacing: -0.015em; color: rgba(255, 255, 255, .82); }
.ab-where, .ab-q { white-space: nowrap; }

/* an article, read on the site */
.rd { max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.85; color: #111; }
.rd-back { font-family: var(--sans); font-size: 13px; color: var(--mute); }
.rd-meta { margin: 28px 0 8px; font-family: var(--sans); font-size: 12px; color: var(--mute); }
.rd-title { margin: 0 0 6px; font-weight: 400; font-size: 30px; line-height: 1.3; letter-spacing: -0.01em; }
.rd-en { margin: 0 0 32px; font-family: var(--sans); font-size: 14px; color: var(--mute); }
.rd h3 { margin: 40px 0 10px; font-weight: 500; font-size: 20px; line-height: 1.4; }
.rd h4 { margin: 24px 0 6px; font-weight: 500; font-size: 16px; }
.rd p { margin: 0 0 12px; }
.rd ol, .rd ul { margin: 0 0 16px; padding-left: 1.4em; }
.rd blockquote { margin: 20px 0; padding-left: 16px; border-left: 1px solid rgba(0, 0, 0, .2); color: #444; }
.rd code { font-family: var(--mono); font-size: .88em; }
.rd a { color: inherit; }
.rd hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .12); margin: 32px 0; }
.rd-orig { display: inline-block; margin-top: 36px; font-family: var(--sans); font-size: 13px; color: var(--mute) !important; text-decoration: none; }

/* About in one column: writing and projects only */
.ab { grid-template-columns: 1fr; max-width: 860px; }
.rd p, .rd li, .rd h3, .rd h4 { color: #111; } .rd .rd-meta, .rd .rd-en { color: var(--mute); }
.pages a[data-page="index"].on { visibility: hidden; } /* on the Index itself, its link steps aside */

/* About, as an archive: the intro on top, then sections — a picture left, a list right */
.ab { display: block; max-width: 980px; }
.ab-intro { max-width: 680px; margin: 8px 0 80px; font-family: var(--serif); font-size: 26px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.ab-issue { margin-bottom: 88px; }
.ab-h { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.25; letter-spacing: -0.01em; }
.ab-h-a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(0, 0, 0, .35); }
a.ab-h-a:hover { text-decoration-color: currentColor; }
.ab-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.ab-list { list-style: none; margin: 0; padding: 0; }
.ab-li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr); align-items: center; column-gap: 18px; padding: 9px 0; font-family: var(--serif); font-size: 16px; line-height: 1.4; }
.ab-t { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(0, 0, 0, .3); text-wrap: balance; }
.ab-li.on .ab-t, .ab-t:hover { text-decoration-color: currentColor; }
.ab-dot { font-size: 10px; color: var(--ink); }
.ab-right { justify-self: end; text-align: right; font-family: var(--sans); font-size: 13px; color: var(--mute); }
.ab-li.on .ab-right { color: var(--ink); }

/* the plugin, drawn (behind the stairs) */
.fg-frame { position: absolute; left: 9%; top: 16%; width: 30%; height: 56%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.fg-frame.fg-b { left: 32%; top: 30%; width: 22%; height: 40%; background: rgba(103, 132, 216, .16); box-shadow: inset 0 0 0 1px rgba(103, 132, 216, .7); }
.fg-panel { position: absolute; right: 5%; top: 9%; bottom: 9%; width: 36%; padding: 8px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .07); display: flex; flex-direction: column; gap: 4px; font-family: ui-monospace, Menlo, monospace; font-size: 7px; line-height: 1.35; color: rgba(0, 0, 0, .7); }
.fg-panel b { font-family: var(--sans); font-weight: 500; font-size: 8px; color: #000; margin-bottom: 3px; }
.fg-panel em { font-style: normal; } .fg-panel .ok { color: rgb(37, 140, 110); }
@media (max-width: 720px) {
  .ab-intro { font-size: 20px; margin-bottom: 56px; }
  .ab-h { font-size: 22px; }
  .ab-cols { grid-template-columns: 1fr; gap: 20px; }
  .ab-li { grid-template-columns: minmax(0, 1fr) auto auto; font-size: 15px; }
  .ab-issue { margin-bottom: 64px; }
}

/* About: a first screen of text; a second, empty, where a work appears wherever the pointer rests */
.isl { position: relative; }
.isl-first { min-height: calc(100svh - 150px); display: flex; align-items: flex-start; }
.isl-intro { max-width: 760px; margin: 8px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.isl-stage { position: relative; height: max(480px, calc(100svh - 150px)); }
.isl-field { position: absolute; inset: 0 0 44px; }
.isle { position: absolute; left: 0; top: 0; display: block; text-decoration: none; cursor: pointer;
  opacity: 0; scale: .97; filter: blur(30px) saturate(1.2); pointer-events: none;
  transition: opacity .9s ease, filter 1.3s cubic-bezier(.3, .6, .2, 1), scale 1.4s cubic-bezier(.2, .7, .2, 1); } /* it drifts in out of a dream */
.isle.on { opacity: 1; scale: 1; filter: blur(0); pointer-events: auto; } /* it clears, as a portrait does when its speaker talks */
/* the frame: a rounded rectangle in the work's own orientation — landscape for a screen, portrait for a phone */
.isle { --rad: 36px; }
.isle.is-tall { --rad: 36px; }
.isle-body { position: absolute; inset: 0; border-radius: var(--rad); }
/* the rounded frame, but dreamlike: a wide, eased fade at every edge melts it into the haze, so there is
   no line where the work stops */
.isle-look { position: absolute; inset: 0; overflow: hidden; border-radius: var(--rad);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.3) 17%, rgba(0,0,0,.66) 25%, rgba(0,0,0,.92) 32%, #000 36%, #000 64%, rgba(0,0,0,.92) 68%, rgba(0,0,0,.66) 75%, rgba(0,0,0,.3) 83%, rgba(0,0,0,.08) 90%, transparent 96%), linear-gradient(transparent 4%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.3) 17%, rgba(0,0,0,.66) 25%, rgba(0,0,0,.92) 32%, #000 36%, #000 64%, rgba(0,0,0,.92) 68%, rgba(0,0,0,.66) 75%, rgba(0,0,0,.3) 83%, rgba(0,0,0,.08) 90%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.3) 17%, rgba(0,0,0,.66) 25%, rgba(0,0,0,.92) 32%, #000 36%, #000 64%, rgba(0,0,0,.92) 68%, rgba(0,0,0,.66) 75%, rgba(0,0,0,.3) 83%, rgba(0,0,0,.08) 90%, transparent 96%), linear-gradient(transparent 4%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.3) 17%, rgba(0,0,0,.66) 25%, rgba(0,0,0,.92) 32%, #000 36%, #000 64%, rgba(0,0,0,.92) 68%, rgba(0,0,0,.66) 75%, rgba(0,0,0,.3) 83%, rgba(0,0,0,.08) 90%, transparent 96%);
  mask-composite: intersect; }
.isle-look video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.isle-look iframe { position: absolute; left: 50%; top: 50%; border: 0; transform-origin: 50% 50%; pointer-events: none; visibility: hidden; }
.isle-look.loaded.running iframe { visibility: visible; } /* laid out (so it finishes loading) but not drawn until shown */
.isle-light { display: none; }
/* behind it, the faintest wash of its colour, as on the floor: its light tone, then nothing */
.isle-halo { position: absolute; inset: -16%; pointer-events: none; border-radius: 50%; /* a close, clear haze of its own colour, strongest where the work fades so the two meet */
  background: radial-gradient(closest-side, rgba(var(--c, 190, 190, 196), .34), rgba(var(--c, 190, 190, 196), .26) 55%, rgba(var(--cl, 226, 226, 230), .3) 75%, rgba(var(--cl, 226, 226, 230), 0));
  animation: isle-haze 9s ease-in-out infinite alternate; }
@keyframes isle-haze { from { transform: scale(.97); opacity: .85; } to { transform: scale(1.04); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .isle-halo { animation: none; } }
.isl-cap { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 3px; white-space: nowrap; font-family: var(--sans); color: var(--mute);
  opacity: 0; transform: translateY(-4px); transition: opacity .5s ease .25s, transform .7s cubic-bezier(.2, .7, .2, 1) .25s; pointer-events: none; } /* under the work, after it has surfaced */
.isl-cap.on { opacity: 1; transform: none; }
.isl-meta { display: flex; gap: 6px; font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; color: rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; }
.isl-name { font-size: 12px; font-weight: 400; line-height: 1.2; letter-spacing: .01em; color: rgba(0, 0, 0, .42); } /* quiet, but there */
@media (max-width: 720px) {
  .isl-first { min-height: 60svh; }
  .isl-intro { font-size: 20px; }
  .isl-cap { flex-wrap: wrap; padding: 0 8px; }
}

/* the faces: Sentient for what is read (Chinese in Noto Serif SC), Switzer for the interface */
:root {
  --serif: "Sentient Site", "Noto Serif SC Site", "Songti SC", "STSong", serif;
  --sans: "Switzer Site", -apple-system, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: var(--sans); /* small labels, numbers and times: the same sans, figures kept in columns */
}
body { font-feature-settings: "tnum" 0; }

/* the weight Sentient is drawn at: one variable number, inherited (see fonts/sentient.css) */
html { --w: 360; }
* { font-variation-settings: "wght" var(--w); }
b, strong { --w: 420; }
.passage p { --w: 300; }
.ab-label, .ix-h, .carrier .cmeta, .carrier.open .cmeta, .fg-panel b, .gnode.c.focus, .lang, .pages, .lang, .rd h3, .rd h4, .social { --w: 420; }

/* Switzer's type scale. Switzer comes in 400 and 500 only, so 450 would land on Medium and read heavy:
   text sits at 400, only what is pointed at or is a label gets 500. Lines open up a little (Switzer
   is set tighter than Instrument Sans was), and tracking stays near zero.
     11 / 500  labels: Q numbers, times, names over a line
     14 / 400  text: claims on the map, lines carried on the floor, the intro
     17 / 500  the claim being read
     26 / 400  the question at the centre of the map                                              */
.gnode { font-size: 14px; font-weight: 400; line-height: 1.28; letter-spacing: -0.005em; }
.gnode.c { font-size: 14px; color: rgba(0, 0, 0, .46); }
.gnode.c.focus { font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: #000; }
.gnode.src, .gnode.rel { font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: 0; max-width: 220px; }
.gnode.q { font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.gnode .gtime, .gnode .gref, .gnode.q::after { font-size: 11px !important; font-weight: 500; line-height: 1.3; letter-spacing: .01em !important; font-variant-numeric: tabular-nums; }
.gnode.q::after { margin-bottom: 8px; }
.carrier .cmeta, .carrier.open .cmeta { font-size: 11px; font-weight: 500; letter-spacing: .01em !important; font-variant-numeric: tabular-nums; }
.carrier .line, .carrier.claim .line { font-weight: 400; line-height: 1.25; letter-spacing: -0.005em; }
.intro { font-weight: 400; line-height: 1.3; letter-spacing: -0.005em; }

/* no glass filters over the floor: a backdrop blur re-reads everything behind it every frame and halved the
   frame rate. The floor blurs itself under a page instead (scene.js, glass), and the panels are plain white */
.page { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(255, 255, 255, .6) !important; }
.text { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .68); } /* the same pane as the map, with a thin extra white under the words */
.head { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* the name inside the picture, low on the left where the fade has cleared: small, light, and drawn as a
   difference so it reads over a white screen or a dark one, as the site's edge text does */
.isle-name { position: absolute; left: 11%; bottom: 9%; z-index: 1; font-family: var(--sans); font-size: 12px; line-height: 1.2; letter-spacing: .01em;
  color: #fff; mix-blend-mode: difference; opacity: 0; transition: opacity .6s ease .5s; pointer-events: none; white-space: nowrap; }
.isle.on .isle-name { opacity: .72; }
.isle.is-tall .isle-name { left: 14%; right: 14%; bottom: 15%; white-space: normal; mix-blend-mode: normal; text-shadow: 0 0 10px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .4); } /* over the dark canvas, above the phone's own date and slider */
.isle.is-tall.on .isle-name { opacity: .85; }

/* the edge fade is a blurred rounded rectangle set per size in app.js (so the corners read round); the
   straight-edge gradients above are only the fallback */
.isle:not(.is-live) .isle-look { -webkit-mask-composite: source-over; mask-composite: add; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* a live site is a separate browser layer: an SVG mask doesn't reach it, but plain CSS gradients do. So it
   keeps the straight-edge gradient fade, widened, and its corners are rounded off by a clip that sits
   inside the already-faded corners, so no hard edge shows */
/* the forest is cut by one rounded, gently uneven shape (two overlapping ellipses, a pebble rather than a
   frame or a circle). Plain CSS gradients, the one mask a live site takes */
.isle.is-live .isle-look { clip-path: none; border-radius: 0;
  -webkit-mask-image: radial-gradient(48% 47% at 46% 54%, #000 64%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.14) 93%, transparent 100%), radial-gradient(38% 42% at 60% 45%, #000 64%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.14) 93%, transparent 100%);
  mask-image: radial-gradient(48% 47% at 46% 54%, #000 64%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.14) 93%, transparent 100%), radial-gradient(38% 42% at 60% 45%, #000 64%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.14) 93%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add; }
.isle.is-live .isle-name { left: 24%; bottom: 20%; }

/* an essay on the map: one of Wren's claims, written rather than said — the same as a claim, in italic */
.gnode.w { font-size: 14px; color: rgba(0, 0, 0, .46); font-style: italic; cursor: pointer; max-width: 220px; line-height: 1.28; }
.gnode.w:hover { color: #000; }
.unit.writing .claim-text { cursor: pointer; font-style: italic; }
.unit.writing .rd-open { display: inline-block; margin-top: 6px; font-family: var(--sans); font-size: 12px; color: var(--mute); }
.unit.writing .rd-open:hover { color: var(--ink); }

/* no haze of colour round a work: just the picture, its edges feathered into the white */
.isle-halo { display: none; }

/* along the top of the map: every question as its number, this one lit in its colour */
.qrail { position: absolute; top: 62px; left: 24px; right: 24px; z-index: 3; display: flex; justify-content: space-between; align-items: center; transition: opacity .5s; }
body.home .qrail, body.home .qrail-tip { display: none; }
.qrail .qr { position: relative; padding: 6px 2px; font-family: var(--sans); font-size: 10.5px; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  color: rgba(0, 0, 0, .22); background: none; border: 0; cursor: pointer; transition: color .3s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.qrail .qr.read { color: rgba(0, 0, 0, .5); }
.qrail .qr:hover { color: #000; }
.qrail .qr.here { color: rgb(var(--acc-t, var(--acc))); font-weight: 500; }
.qrail .qr.here::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgb(var(--acc)); }
.qrail-tip { position: absolute; top: 88px; z-index: 4; max-width: 240px; transform: translateX(calc(-50% + var(--shift, 0px))); padding: 6px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, .96); font-family: var(--sans); font-size: 12.5px; line-height: 1.25; color: #000; pointer-events: none; opacity: 0; transition: opacity .2s; }
.qrail-tip.on { opacity: 1; }

/* scrolled in: only the row at first, this question's number lit, then its map unfolds */
.map .floor { transition: opacity .7s ease .1s; }
.map.arriving .gnode, .map.arriving .floor { opacity: 0 !important; transition: none !important; }
.map.arriving .qrail .qr.here { transform: scale(1.5); }

/* a question is read over the floor, as the Index is: the people keep crossing, blurred behind the glass.
   One even pane, as on the Index, a little whiter under the words; the people carry no questions here */
body:not(.home) .map { background: rgba(255, 255, 255, .6); } /* one pane over the whole page, as on the Index */
body:not(.home) #carriers { display: none; }
/* the header that holds the question title runs the full width of the column, edge to edge, so it reads as
   the pane thickening at the top rather than a white card sitting on it */
@media (min-width: 881px) { .head { margin: 0 -28px 0 -32px; padding-left: 32px; padding-right: 28px; } }

/* ---- fitting smaller screens ---- */
@media (max-width: 880px) {
  .lang, .pages a[data-page="about"] { top: 13px !important; } /* level with the mark */
  body:not(.home) .social { display: none; } /* a question reads to the bottom of the screen: nothing sits on its words */
}
@media (min-width: 601px) and (max-width: 880px) { /* a tablet: the passages keep a reading measure, centred */
  .text { padding-left: max(24px, calc(50% - 290px)); padding-right: max(24px, calc(50% - 290px)); }
}
@media (max-width: 600px) {
  .credit { display: none; }            /* a phone's bottom row holds Index and the accounts; the credit would sit on them */
  .pager { right: 6px; gap: 8px; }
  .pager button { width: 6px; height: 6px; }
  .gnode.q { font-size: 18px; max-width: 200px; padding: 8px 10px; }
  .gnode { font-size: 12px; }
  .gnode.src, .gnode.rel { font-size: 11.5px; max-width: 150px; }
  .qrail { left: 12px; right: 12px; top: 44px; }
  .qrail .qr { font-size: 9px; padding: 6px 0; }
}
@media (max-width: 880px) { body:not(.home) .map { background: #fff; } } /* the map lies over the scrolling text here: the words must not show through */
