/* ==========================================================================
   ANTIHORIZN: Research
   Loaded after site.css and brand.css on research.html only. Tokens, faces
   and the type scale come from site.css; nothing here declares a font-family.

   R1  Head         the title, the lede, four figures, on night
   R2  Map          the pipeline as one line, 21 papers standing on it
   R3  Peek         the first page that lifts when a sheet is pointed at
   R4  List         the 21 entries as a plain list (the page without scripts)
   R5  Wall         the same list as a wall of first pages (html.js)
   R6  Bar          search, year, field, deal
   R7  Reader       the sheet that slides in with one paper's note
   R8  Responsive
   R9  Reduced motion

   Colour is ink, paper and one grey. Motion is transform and opacity.
   ========================================================================== */

/* --- R1. Head ------------------------------------------------------------ */

.rhead {
  padding-top: calc(var(--nav-h) + clamp(30px, 5.4vh, 64px));
  padding-bottom: clamp(28px, 4.4vh, 52px);
}
.rhead__row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}
.rhead__title {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(44px, 5.7vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.032em;
  color: var(--grey);
}
.rhead__title em { display: block; color: #FFFFFF; }
/* Without scripts nothing would ever raise the title, so it is simply there. */
html:not(.js) .rhead__title[data-rise] { clip-path: none; transform: none; }
/* Nor would anything turn the bar light once it is over the list, so it stays with the head. */
html:not(.js) .nav { position: absolute; }
.rhead__note .lede { max-width: 44ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.45; }

.rfigs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(18px, 2.6vh, 28px) 0 0;
  border-top: 1px solid var(--line-night-2);
}
.rfigs > div { padding-top: 12px; }
.rfigs > div + div { padding-left: 14px; border-left: 1px solid var(--line-night); }
.rfigs dd { margin: 0; }
.rfigs .stat { font-size: clamp(28px, 2.5vw, 38px); color: #FFFFFF; }
.rfigs dt { margin-top: 8px; color: var(--dim); }

/* --- R2. Map ------------------------------------------------------------- */
/* Two lanes and a line between them. A sheet in the upper lane is a 2026
   paper, one in the lower lane a 2025 paper. The five segments are the five
   fields, each as wide as its share of the papers. */

.rmap {
  --mk-w: clamp(34px, 3.05vw, 50px);
  --mk-h: calc(var(--mk-w) * 1.295);
  --stem: 14px;
  --lane: calc(var(--mk-h) + var(--stem) + 20px);
  position: relative;
  margin-top: clamp(30px, 5vh, 60px);
  padding-left: 58px;
}
.rmap__yr {
  position: absolute;
  left: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}
.rmap__yr--26 { top: calc(var(--lane) - var(--stem) - var(--mk-h) / 2 - 6px); }
.rmap__yr--25 { top: calc(var(--lane) + var(--stem) + var(--mk-h) / 2 - 6px); }

.rmap__track { position: relative; display: flex; }
/* The line. */
.rmap__track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: var(--lane);
  height: 1px;
  background: rgba(244, 244, 245, 0.62);
  transform-origin: left;
}
/* Its far end: the peak of the mark, lying on its side. */
.rmap__track::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(var(--lane) - 5px);
  width: 9px; height: 9px;
  border-top: 1.5px solid #FFFFFF;
  border-right: 1.5px solid #FFFFFF;
  transform: rotate(45deg);
}
/* A signal runs the line now and then, from the sentence to the board. */
.rmap__pulse {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--lane) - 1px);
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.8;
}
.rmap__pulse i {
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) calc(100% - 180px), #FFFFFF 100%);
  transform: translateX(-100%);
  animation: rmapPulse 7s linear 1.6s infinite;
}
@keyframes rmapPulse {
  0%   { transform: translateX(-100%); opacity: 1; }
  42%  { transform: translateX(0); opacity: 1; }
  48%  { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: 0; }
}

.rmap__seg {
  position: relative;
  flex: var(--w) 1 0;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line-night);
}
/* The station: a square on the line where a field begins. */
.rmap__seg::before {
  content: "";
  position: absolute;
  left: -5px;
  top: calc(var(--lane) - 4px);
  width: 9px; height: 9px;
  background: #FFFFFF;
}
.rmap__lane { display: flex; gap: 8px; height: var(--lane); }
.rmap__lane--26 { align-items: flex-end; padding-bottom: var(--stem); }
.rmap__lane--25 { align-items: flex-start; padding-top: var(--stem); }

/* A sheet: the paper's first page, very small, on a stem. */
.mk {
  position: relative;
  flex: none;
  display: block;
  width: var(--mk-w);
  height: var(--mk-h);
  background: #FFFFFF;
  transition: transform 360ms var(--ease-out), opacity 260ms var(--ease-out);
}
.mk img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); opacity: 0.86; transition: opacity 260ms var(--ease-out); }
.mk::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: var(--stem);
  background: rgba(244, 244, 245, 0.4);
}
.rmap__lane--26 .mk::after { top: 100%; }
.rmap__lane--25 .mk::after { bottom: 100%; }
.mk__n {
  position: absolute;
  left: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--dimmer);
  transition: opacity 200ms var(--ease-out);
}
.rmap__lane--26 .mk__n { bottom: calc(100% + 6px); }
.rmap__lane--25 .mk__n { top: calc(100% + 6px); }
.mk:focus-visible { outline: 1.5px solid #FFFFFF; outline-offset: 3px; }
.mk.is-on img, .mk:focus-visible img { opacity: 1; }
.rmap__lane--26 .mk.is-on, .rmap__lane--26 .mk:focus-visible { transform: translateY(-5px); }
.rmap__lane--25 .mk.is-on, .rmap__lane--25 .mk:focus-visible { transform: translateY(5px); }
.mk.is-on .mk__n { color: #FFFFFF; }
@media (hover: hover) and (pointer: fine) {
  .mk:hover img { opacity: 1; }
  .rmap__lane--26 .mk:hover { transform: translateY(-5px); }
  .rmap__lane--25 .mk:hover { transform: translateY(5px); }
  .mk:hover .mk__n { color: #FFFFFF; }
}
/* A sheet the current filter leaves out. */
.mk.is-off { opacity: 0.2; }

/* The station's caption: the stage, then the field it stands for. */
.rmap__st {
  display: block;
  padding: 16px 14px 0 0;
  color: var(--on-dark);
}
.rmap__st > span { display: block; }
.rmap__stn {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}
.rmap__stage {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(18px, 1.64vw, 24px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.014em;
  color: #FFFFFF;
  transition: opacity 240ms var(--ease-out);
}
.rmap__field {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.004em;
  color: var(--on-dark-soft);
}
.rmap__field b { font-weight: 400; color: var(--dim); white-space: nowrap; }
.rmap__field b::before { content: "· "; }
.rmap__blurb {
  margin-top: 6px;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.004em;
  color: var(--dim);
  text-wrap: pretty;
}
.rmap__st::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 14px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}
.rmap__st[aria-current="true"]::after { transform: scaleX(1); }
.rmap[data-field]:not([data-field="all"]) .rmap__st:not([aria-current="true"]) .rmap__stage { opacity: 0.45; }
@media (hover: hover) and (pointer: fine) {
  .rmap__st:hover::after { transform: scaleX(1); }
  .rmap[data-field]:not([data-field="all"]) .rmap__st:hover .rmap__stage { opacity: 1; }
}
.rmap__cap { margin-top: clamp(18px, 2.6vh, 28px); max-width: 78ch; }

/* The map assembles once: the line draws, the stations land, the sheets
   stand up in order. Only when scripts run; without them it is simply there. */
.js .rmap:not(.is-in) .rmap__track::before { transform: scaleX(0); }
.js .rmap:not(.is-in) .rmap__track::after { opacity: 0; }
.js .rmap:not(.is-in) .rmap__seg::before { opacity: 0; transform: translateY(8px); }
.js .rmap:not(.is-in) .mk { opacity: 0; }
.js .rmap:not(.is-in) .rmap__lane--26 .mk { transform: translateY(14px); }
.js .rmap:not(.is-in) .rmap__lane--25 .mk { transform: translateY(-14px); }
.js .rmap:not(.is-in) .rmap__st { opacity: 0; transform: translateY(10px); }
.js .rmap:not(.is-in) .rmap__pulse { opacity: 0; }
.rmap__track::before { transition: transform 1400ms var(--ease-out); }
.rmap__track::after { transition: opacity 400ms var(--ease-out) 1200ms; }
.rmap__seg::before { transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(200ms + var(--i) * 180ms); }
.rmap__st { transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(320ms + var(--i) * 180ms); }
.rmap.is-arriving .mk { transition-delay: calc(420ms + var(--k, 0) * 55ms); transition-duration: 700ms, 500ms; }

/* --- R3. Peek ------------------------------------------------------------ */
/* One card for the whole map. research.js moves it to the sheet in hand. */

.rpeek {
  position: absolute;
  left: 0; top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  width: 348px;
  padding: 12px;
  background: #FFFFFF;
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms var(--ease-out), transform 360ms var(--ease-out);
}
.rpeek[data-on="true"] { opacity: 1; }
.rpeek[data-jump="true"] { transition: opacity 180ms var(--ease-out); }
.rpeek img { width: 112px; height: 145px; object-fit: cover; object-position: top; border: 1px solid var(--rule); }
.rpeek__n {
  font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums; color: var(--ink-mute);
}
.rpeek__n b { color: var(--ink); font-weight: 600; }
.rpeek__title {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 15px; font-weight: 600; line-height: 1.22; letter-spacing: -0.012em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.rpeek__meta { margin-top: 8px; font-size: 12px; line-height: 1.35; color: var(--ink-mute); }
.rpeek__go { margin-top: 8px; font-size: 12px; font-weight: 600; line-height: 1.2; }

/* --- R4. List ------------------------------------------------------------ */
/* The page as it is without scripts: every paper, its text and its links. */

.rwall { padding-block: clamp(28px, 4vh, 48px) clamp(28px, 4vh, 48px); }
.wall { display: grid; grid-template-columns: minmax(0, 1fr); }
.pp {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
  padding-block: 26px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.pp[hidden] { display: none; }
.pp__cover {
  position: relative;
  display: block;
  align-self: start;
  aspect-ratio: 440 / 570;
  background: var(--paper-deep);
  outline: 1px solid var(--rule);
  outline-offset: -1px;
}
.pp__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pp__n {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  padding: 5px 7px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.pp__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; line-height: 1.35; color: var(--ink-mute); }
.pp__meta b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pp__field::before { content: "· "; }
.pp__title {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(20px, 1.64vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  max-width: 34ch;
  text-wrap: balance;
}
.pp__by { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-mute); }
.pp__what { margin-top: 12px; max-width: 62ch; color: var(--ink-soft); }
.pp__use { margin-top: 14px; max-width: 62ch; font-weight: 600; }
.pp__use .label { display: block; margin-bottom: 6px; }
.pp__links { display: flex; gap: 18px; margin-top: 14px; }
.rlink { font-size: 14px; font-weight: 600; line-height: 1.2; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

.rnote { max-width: 78ch; margin-top: clamp(36px, 6vh, 64px); color: var(--ink-mute); }
.rnote a { color: var(--ink); border-bottom: 1px solid currentColor; }

/* The bar and the empty line belong to the scripted page. */
.rbar, .wall__empty { display: none; }

/* --- R5. Wall ------------------------------------------------------------ */

.js .wall {
  position: relative;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(22px, 3.2vh, 34px) clamp(12px, 1.5vw, 24px);
  margin-top: clamp(22px, 3.4vh, 36px);
}
.js .pp { display: block; padding: 0; border: 0; min-width: 0; }
.js .pp[hidden] { display: none; }
.js .pp__by, .js .pp__more, .js .pp__field { display: none; }

.js .pp__cover {
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 520ms var(--ease-out);
  will-change: transform;
}
/* Two veils over the page. One takes the colour out, one is the ink frame
   that marks the sheet in hand. Both change by opacity alone. */
.js .pp__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #8A8A8F;
  mix-blend-mode: saturation;
  transition: opacity 360ms var(--ease-out);
}
.js .pp__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid var(--ink);
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}
.js .pp__cover img { opacity: 0.9; transition: opacity 360ms var(--ease-out); }
.js .pp__meta { margin-top: 12px; flex-wrap: nowrap; }
.js .pp__venue { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.js .pp__title {
  margin-top: 5px;
  font-size: clamp(13px, 1.02vw, 15px);
  line-height: 1.26;
  letter-spacing: -0.008em;
  max-width: none;
  text-wrap: pretty;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.js .pp.is-on .pp__cover::before, .js .pp__cover:focus-visible::before { opacity: 1; }
.js .pp__cover:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
.js .pp__cover:focus-visible::after { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .js .pp__cover:hover { --lift: -6px; transition-duration: 160ms; }
  .js .pp__cover:hover::after { opacity: 0; }
  .js .pp__cover:hover::before { opacity: 1; }
  .js .pp__cover:hover img { opacity: 1; }
  .js .pp__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; background-size: 0 1px; }
  .js .pp:hover .pp__title a { background-size: 100% 1px; }
}
/* Before the wall has been dealt the cards wait, unseen. */
.js .wall:not(.is-dealt) .pp { opacity: 0; }

.js .wall__empty:not([hidden]) {
  display: block;
  padding: clamp(40px, 8vh, 96px) 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--grey);
}
.wall__empty button { color: var(--ink); border-bottom: 2px solid currentColor; font-weight: 600; }

/* --- R6. Bar ------------------------------------------------------------- */

.js .rbar {
  display: block;
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  margin-inline: calc(var(--gutter) * -1);
  padding: 14px var(--gutter) 0;
  background: var(--paper);
}
.rbar__row { display: flex; align-items: center; gap: 12px; }
.rbar__row + .rbar__row { margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.rbar__search { position: relative; flex: 1 1 auto; max-width: 520px; }
.rbar__search input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 44px 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: -0.008em;
  -webkit-appearance: none;
  appearance: none;
}
.rbar__search input::placeholder { color: var(--ink-mute); }
.rbar__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rbar__search input:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.rbar__search kbd {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-mute);
  pointer-events: none;
}
.rbar__search input:focus + kbd { opacity: 0; }
.rbar__chips { display: flex; gap: 6px; }
.rbar__chips[aria-label="Year"] { margin-left: auto; }
.rbar__chips--fields { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.rchip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 140ms var(--ease-out);
}
.rchip b { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-mute); }
.rchip:active { transform: scale(0.97); }
.rchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.rchip[aria-pressed="true"] b { color: rgba(255, 255, 255, 0.62); }
@media (hover: hover) and (pointer: fine) {
  .rchip:not([aria-pressed="true"]):hover { border-color: var(--ink); color: var(--ink); }
}
.rbar__deal { flex: none; height: 44px; }
.rbar__status {
  flex: none;
  margin-left: auto;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rbar__status b { color: var(--ink); font-weight: 600; }

/* --- R7. Reader ---------------------------------------------------------- */

.reader {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  transition: visibility 0s linear 560ms;
}
.reader[data-open="true"] { visibility: visible; transition-delay: 0s; }
.reader__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 12, 0.6);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
.reader[data-open="true"] .reader__scrim { opacity: 1; }
.reader__sheet {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(1140px, 94vw);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 560ms var(--ease-out);
  outline: none;
}
.reader[data-open="true"] .reader__sheet { transform: none; }

.reader__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--nav-h);
  padding: 12px clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line-night);
}
.reader__pos { font-size: 14px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--dim); white-space: nowrap; }
.reader__pos b { color: #FFFFFF; font-weight: 600; }
.reader__where { color: var(--dim); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reader__tools { display: flex; gap: 8px; margin-left: auto; }
.reader__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border: 1.5px solid var(--line-night-2);
  font-size: 14px; font-weight: 600; line-height: 1;
  color: var(--on-dark);
  white-space: nowrap;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), transform 140ms var(--ease-out);
}
.reader__btn:active { transform: scale(0.97); }
.reader__btn kbd { font-size: 11px; opacity: 0.6; }
@media (hover: hover) and (pointer: fine) {
  .reader__btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
}

.reader__scroll { position: relative; overflow-y: auto; overscroll-behavior: contain; }
/* The paper's number, very large and hollow, behind the note. */
.reader__ghost {
  position: absolute;
  right: -0.03em;
  top: -0.1em;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(220px, 30vw, 460px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 244, 245, 0.11);
  pointer-events: none;
  user-select: none;
}
.reader__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
  padding: clamp(24px, 4.6vh, 52px) clamp(20px, 3vw, 44px) clamp(28px, 5vh, 56px);
}
.reader__cover { display: block; position: relative; background: #FFFFFF; }
.reader__cover img { width: 100%; height: auto; aspect-ratio: 440 / 570; object-fit: cover; object-position: top; }
.reader__cover span {
  position: absolute; left: 0; bottom: 0;
  padding: 8px 10px;
  background: var(--ink); color: #FFFFFF;
  font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.02em;
}
.reader__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; line-height: 1.35; color: var(--dim); }
.reader__meta b { color: #FFFFFF; font-weight: 600; font-variant-numeric: tabular-nums; }
.reader__title {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: #FFFFFF;
  text-wrap: balance;
}
.reader__by { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--dim); }
.reader__what { margin-top: clamp(20px, 3.2vh, 32px); }
.reader__what p { margin-top: 8px; max-width: 58ch; color: var(--on-dark-soft); }
/* The reason the page exists. */
.reader__use {
  margin-top: clamp(22px, 3.4vh, 36px);
  padding-top: 18px;
  border-top: 1px solid #FFFFFF;
}
.reader__use .label { color: #FFFFFF; }
.reader__use p {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.016em;
  color: #FFFFFF;
  text-wrap: pretty;
}
.reader__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.4vh, 36px); }
.reader__links .btn { border-color: var(--line-night-2); color: var(--on-dark); }
.reader__links .btn:first-child { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .reader__links .btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
  .reader__links .btn:first-child:hover { background: transparent; color: #FFFFFF; }
}

.reader__nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  border-top: 1px solid var(--line-night);
  background: var(--night);
}
.reader__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  padding: 14px clamp(20px, 3vw, 44px);
  text-align: left;
  color: var(--on-dark);
  transition: background-color 180ms var(--ease);
}
.reader__step--next { grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
.reader__step i { grid-row: span 2; font-style: normal; font-size: 22px; line-height: 1; transition: transform 320ms var(--ease-out); }
.reader__step--next i { grid-column: 2; grid-row: 1 / span 2; }
.reader__step .label { color: var(--dim); }
.reader__step b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; line-height: 1.3; }
.reader__step:focus-visible { outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .reader__step:hover { background: var(--night-3); }
  .reader__step--prev:hover i { transform: translateX(-4px); }
  .reader__step--next:hover i { transform: translateX(4px); }
}
.reader__count {
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0 clamp(14px, 2vw, 28px);
  border-inline: 1px solid var(--line-night);
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.reader__count b { color: #FFFFFF; font-weight: 600; }

/* --- R8. Responsive ------------------------------------------------------ */

@media (max-width: 1180px) {
  .js .wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rbar__chips[aria-label="Year"] { margin-left: 0; }
}

@media (max-width: 900px) {
  .rhead__row { grid-template-columns: minmax(0, 1fr); align-items: start; }

  /* The map stands up: the line runs down the left edge, a field per row. */
  .rmap { --mk-w: 40px; padding-left: 0; }
  .rmap__yr, .rmap__pulse, .rmap__track::before, .rmap__track::after { display: none; }
  .rmap__track { display: block; border-left: 1px solid rgba(244, 244, 245, 0.62); }
  .rmap__seg { display: grid; grid-template-columns: minmax(0, 1fr); border-left: 0; padding: 0 0 26px 18px; }
  .rmap__seg::before { top: 4px; }
  .rmap__st { order: -1; padding: 0 0 14px; }
  .rmap__st::after { display: none; }
  .rmap__lane { height: auto; flex-wrap: wrap; gap: 20px 8px; padding: 0; align-items: flex-start; }
  .rmap__lane:empty { display: none; }
  .rmap__lane--25 { margin-top: 26px; }
  .rmap__lane::before {
    flex: none; width: 38px; align-self: center;
    font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--dim);
  }
  .rmap__lane--26::before { content: "2026"; }
  .rmap__lane--25::before { content: "2025"; }
  .mk::after { display: none; }
  .rmap__lane .mk__n { top: calc(100% + 5px); bottom: auto; }
  .rmap__lane .mk, .rmap__lane .mk:hover, .rmap__lane .mk.is-on { transform: none; }
  .js .rmap:not(.is-in) .mk { transform: none; }
  .rpeek { display: none; }

  .js .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .js .rbar { position: static; }
  .rbar__row { flex-wrap: wrap; }
  .rbar__search { flex: 1 1 100%; max-width: none; }
  .rbar__search kbd { display: none; }
  .rbar__chips--fields { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .rbar__chips--fields::-webkit-scrollbar { display: none; }
  .rbar__status { flex: 1 1 100%; margin-left: 0; }
  .rbar__deal { margin-left: auto; }

  .reader__sheet { width: 100vw; }
  .reader__body { grid-template-columns: minmax(0, 1fr); }
  .reader__cover { width: min(46vw, 220px); }
  .reader__where, .reader__btn kbd { display: none; }
  .reader__step b { display: none; }
  .reader__ghost { font-size: 56vw; }
}

@media (max-width: 560px) {
  .js .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .pp__title { font-size: 14px; }
  .pp { grid-template-columns: 96px minmax(0, 1fr); }
  .rfigs .stat { font-size: 26px; }
  .rfigs > div + div { padding-left: 10px; }
  .reader__btn--deal { display: none; }
}

/* --- R9. Reduced motion -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .rmap__pulse { display: none; }
  .mk, .mk img, .rmap__track::before, .rmap__track::after, .rmap__seg::before, .rmap__st, .rmap__st::after,
  .rpeek, .pp__cover, .pp__cover::before, .pp__cover::after, .pp__cover img,
  .reader, .reader__scrim, .reader__sheet, .reader__step i, .rchip { transition: none !important; }
  .js .rmap:not(.is-in) .mk, .js .rmap:not(.is-in) .rmap__st, .js .rmap:not(.is-in) .rmap__seg::before,
  .js .rmap:not(.is-in) .rmap__track::before { opacity: 1; transform: none; }
  .mk:hover, .mk.is-on, .mk:focus-visible { transform: none !important; }
  .js .pp__cover { transform: none !important; }
  .js .wall:not(.is-dealt) .pp { opacity: 1; }
}
