/* klimentrobev.com — full one-page site (sample). Loaded after site.css, reuses its tokens. */

:root { --container: 1200px; --wrap: calc(var(--container) + 2 * var(--gutter)); }

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

.is-site { display: block; min-height: 0; }
.is-site main { position: relative; z-index: 2; }
.is-site .bar--top { position: sticky; top: 0; z-index: 30; height: var(--bar-h); }
.is-site .bar--bot { position: relative; z-index: 2; }
.is-site [data-section] { scroll-margin-top: var(--bar-h); }

/* Guides follow the content container, not the viewport */
.is-site .guides {
  inset: 0 auto; left: 50%; transform: translateX(-50%);
  width: min(var(--container), calc(100vw - 2 * var(--gutter)));
}

/* ---------- Section navigation (top bar) ---------- */
.secnav { display: flex; gap: clamp(16px, 2vw, 28px); }
.secnav a {
  position: relative; padding: 8px 0; text-decoration: none; color: var(--text-2);
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s var(--ease);
}
.secnav a span { margin-right: 7px; }
.secnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.secnav a:hover, .secnav a.is-active { color: var(--graphite); }
.secnav a.is-active span { color: var(--red); }
.secnav a:hover::after, .secnav a.is-active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.is-site .stage.hero {
  max-width: var(--wrap); margin: 0 auto;
  min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h));
}
.toc { max-width: 520px; margin-top: 6px; }
.toc__row {
  position: relative; display: grid; grid-template-columns: 52px 1fr 20px; align-items: baseline;
  padding: 12px 0; text-decoration: none; color: var(--graphite);
}
.toc__row::before, .rows__r::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--soft-gray); opacity: .45; transform: scaleX(var(--line, 1)); transform-origin: left;
}
.toc__row:last-child::after, .rows__r:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--soft-gray); opacity: .45; transform: scaleX(var(--line, 1)); transform-origin: left;
}
.toc__n { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--red); }
.toc__l { font: 550 16px/1.3 var(--f-sans); transition: color .2s var(--ease); }
.toc__a { color: var(--soft-gray); transition: transform .3s var(--ease), color .2s var(--ease); }
.toc__row:hover .toc__l, .toc__row:hover .toc__a { color: var(--red); }
.toc__row:hover .toc__a { transform: translateY(3px); }

/* ---------- Sections ---------- */
.sec {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(96px, 14vh, 168px) var(--gutter) clamp(72px, 10vh, 128px);
}
.sec::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--divider); }

.sec__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 7vh, 80px); }
.sec__idx { display: flex; align-items: center; gap: 14px; margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--red); }
.sec__idx i { display: block; width: clamp(40px, 6vw, 88px); height: 1px; background: var(--graphite); transform-origin: left; }
.sec__title {
  margin: 0; font-family: var(--f-cond); font-weight: 400;
  font-size: clamp(46px, 6.4vw, 104px); line-height: .94; letter-spacing: -.012em; color: var(--graphite);
}
.sec__title .char { display: inline-block; font-weight: var(--wg, 400); }
.sec__title.is-revealing { overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }

.sec__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 120px); align-items: start;
}

.prose { max-width: 700px; }
.prose p { margin: 0 0 1.15em; font: 400 17px/1.72 var(--f-sans); color: var(--graphite); }
.prose .prose__lead { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.5; font-weight: 450; margin-bottom: 1.2em; }
.prose__h { margin: 0 0 22px; font: 600 clamp(22px, 2vw, 28px)/1.25 var(--f-sans); color: var(--graphite); }
.quote { margin: 36px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--red); }
.quote p { margin: 0; font: 450 clamp(20px, 1.85vw, 26px)/1.45 var(--f-sans); color: var(--graphite); }

.side-photo { margin: 0; position: sticky; top: calc(var(--bar-h) + 40px); }
.side-photo picture { position: relative; display: block; overflow: hidden; background: var(--divider); }
.side-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.side-photo--square img { aspect-ratio: 1; }
.side-photo--small { max-width: 360px; justify-self: end; }
.side-photo--small img { aspect-ratio: 490 / 517; }

/* ---------- Fact sheets ---------- */
.sheets {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 96px) clamp(32px, 5vw, 96px);
  margin-top: clamp(72px, 10vh, 120px);
}
.sheet--wide { grid-column: 1 / -1; }
.sheet__title { margin: 0 0 18px; font: 600 clamp(20px, 1.6vw, 24px)/1.3 var(--f-sans); color: var(--graphite); }
.sheet__k { margin: 22px 0 8px; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.sheet__title + .sheet__k { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows__r { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px 0; }
.rows__main { display: grid; gap: 4px; font: 550 16px/1.4 var(--f-sans); color: var(--graphite); }
.rows__sub { font: 400 14px/1.45 var(--f-sans); color: var(--text-2); }
.rows__sub em { font-style: italic; }
.rows__aside { flex: none; padding-top: 3px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; color: var(--text-2); white-space: nowrap; }
.rows__r--pub { align-items: flex-end; }
.rows__link {
  flex: none; font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--graphite);
  text-decoration: underline; text-decoration-color: var(--soft-gray); text-underline-offset: 4px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.rows__link:hover { color: var(--red); text-decoration-color: var(--red); }
.diss { margin: 0; max-width: 62ch; font: 500 clamp(19px, 1.6vw, 23px)/1.45 var(--f-sans); color: var(--graphite); }

/* ---------- Selected work: accordion ---------- */
.work-block { margin-top: clamp(88px, 12vh, 140px); }
.acc { border-top: 1px solid var(--graphite); }
.acc__item { border-bottom: 1px solid var(--divider); }
.acc__h { margin: 0; }
.acc__btn {
  display: grid; grid-template-columns: 72px 1fr 28px; align-items: center; width: 100%;
  padding: 22px 0; margin: 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--graphite);
  font: 400 clamp(26px, 2.8vw, 40px)/1.05 var(--f-cond); letter-spacing: -.005em;
}
.acc__n { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--text-2); transition: color .2s var(--ease); }
.acc__label { transition: transform .35s var(--ease), color .2s var(--ease); }
.acc__btn:hover .acc__label { transform: translateX(6px); }
.acc__btn[aria-expanded="true"] .acc__n { color: var(--red); }
.acc__icon { position: relative; width: 16px; height: 16px; justify-self: end; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; background: var(--graphite);
  transition: transform .35s var(--ease), background-color .2s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }
.acc__btn:hover .acc__icon::before, .acc__btn:hover .acc__icon::after { background: var(--red); }

.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.js .acc__item:not(.is-open) .acc__panel { grid-template-rows: 0fr; }
.acc__inner { min-height: 0; overflow: hidden; }

.work { list-style: none; margin: 0; padding: 0 0 6px; }
.work__link {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 250px) 20px; gap: 24px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--divider); text-decoration: none; color: var(--graphite);
}
.work__item:first-child .work__link { border-top: 0; }
.work__date { font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--text-2); white-space: nowrap; }
.work__title { font: 550 17px/1.4 var(--f-sans); transition: color .2s var(--ease); }
.work__meta { font: 400 14px/1.4 var(--f-sans); color: var(--text-2); }
.work__arrow { color: var(--soft-gray); transition: transform .3s var(--ease), color .2s var(--ease); }
.work__link:hover .work__title, .work__link:hover .work__arrow { color: var(--red); }
.work__link:hover .work__arrow { transform: translate(3px, -3px); }
.js .work:not(.is-all) .work__item[data-more] { display: none; }
.work__more {
  margin: 4px 0 28px 136px; padding: 6px 0; background: none; border: 0; border-bottom: 1px solid var(--red); cursor: pointer;
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite);
}
.work__more:hover { color: var(--red); }
.no-js .work__more { display: none; }

/* ---------- Contact ---------- */
.sec--contact { padding-bottom: clamp(120px, 18vh, 220px); }
.contact-lead { max-width: 660px; margin: 0 0 44px; font: 400 clamp(20px, 1.8vw, 26px)/1.5 var(--f-sans); color: var(--graphite); }
.connect { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--divider); }
.connect li { display: grid; grid-template-columns: 136px 1fr; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--divider); }
.connect__k { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.connect__v {
  justify-self: start; font: 400 clamp(22px, 4.6vw, 68px)/1.1 var(--f-cond); letter-spacing: -.01em;
  color: var(--graphite); text-decoration: none; white-space: nowrap;   /* shrinks to fit rather than breaking the address */
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 2px;
  transition: background-size .5s var(--ease), color .25s var(--ease);
}
.connect__v:hover { background-size: 100% 2px; color: var(--red); }

/* ---------- Route: the red line follows reading progress ---------- */
.route { position: absolute; top: 0; left: 0; z-index: 3; width: 100%; pointer-events: none; overflow: visible; }
.route__track { fill: none; stroke: var(--soft-gray); stroke-opacity: .4; stroke-width: 1; stroke-dasharray: 2 6; }
.route__line { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.route-tip { position: absolute; top: 0; left: 0; z-index: 4; pointer-events: none; transform: translate(-200px, -200px); will-change: transform; }
.route-tip i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--red);
  transform: rotate(45deg); box-shadow: 0 0 0 4px var(--off-white);
}
.route-tip span {
  position: absolute; left: 14px; top: -8px; padding: 3px 6px; white-space: nowrap;
  background: var(--off-white); border: 1px solid var(--divider);
  font: 500 10px/1.1 var(--f-mono); letter-spacing: .1em; color: var(--graphite); font-variant-numeric: tabular-nums;
}
.route-tip.is-right span { left: auto; right: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .secnav a span { display: none; } }
@media (max-width: 980px) { .secnav { display: none; } }
@media (max-width: 899px) {
  .is-site .stage.hero { min-height: 0; }
  .is-site .hero .toc { order: 6; width: 100%; max-width: none; }   /* the index comes after the intro on phones, never above the name */
  .sec__grid, .sheets { grid-template-columns: 1fr; }
  .side-photo { position: relative; top: 0; max-width: 480px; }
  .side-photo--small { justify-self: start; max-width: 320px; }
  .work__link { grid-template-columns: 1fr 20px; gap: 4px 12px; }
  .work__date { grid-column: 1; }
  .work__arrow { grid-column: 2; grid-row: 1; }
  .work__title, .work__meta { grid-column: 1 / -1; }
  .work__more { margin-left: 0; }
  .acc__btn { grid-template-columns: 56px 1fr 24px; }
  .connect li { grid-template-columns: 1fr; gap: 6px; }
  .route-tip span { display: none; }
}
@media (max-width: 560px) {
  .rows__r { flex-direction: column; gap: 6px; }
  .rows__r--pub { align-items: flex-start; }
}

/* ---------- Illustrative figures ---------- */
.fig { margin: clamp(72px, 10vh, 120px) 0 0; }
.fig__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fig__n { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.fig__rule { flex: 1; height: 1px; background: var(--divider); }
.ch { display: block; width: 100%; height: auto; overflow: visible; background: var(--white); border: 1px solid var(--divider); }
.ch__grid { stroke: var(--divider); stroke-width: 1; }
.ch__axis { stroke: var(--soft-gray); stroke-width: 1; }
.ch__tick { font: 500 13px var(--f-mono); fill: var(--text-2); letter-spacing: .06em; }
.ch__tick--axis { text-transform: uppercase; font-size: 11px; letter-spacing: .14em; }
.ch__line { fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch__avg { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 6 6; }
.ch__buy { fill: var(--white); stroke: var(--red); stroke-width: 2; }
.ch__band--80 { fill: var(--soft-gray); fill-opacity: .14; }
.ch__band--50 { fill: var(--soft-gray); fill-opacity: .24; }
.ch__label { font: 550 15px var(--f-sans); fill: var(--graphite); }
.ch__label--red { fill: var(--red); }
.ch__label--soft { fill: var(--text-2); font-weight: 450; }
.ch__hit { fill: transparent; }
.ch__hover { opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.ch.is-hover .ch__hover { opacity: 1; }
.ch__guide { stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 2 4; }
.ch__dot { fill: var(--red); stroke: var(--white); stroke-width: 2; }
.ch__read rect { fill: var(--graphite); }
.ch__read text { font: 500 12px var(--f-mono); fill: var(--off-white); letter-spacing: .06em; }
.fig__cap { max-width: 760px; margin-top: 14px; font: 400 14px/1.55 var(--f-sans); color: var(--text-2); }
.fig__note { display: inline-block; color: var(--text-2); font-style: italic; }

/* =====================================================================
   Multi-page site components
   ===================================================================== */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 400; padding: 10px 14px;
  background: var(--graphite); color: var(--off-white); text-decoration: none; font: 500 13px var(--f-sans);
}
.skip:focus { top: 12px; }


/* ---------- Page heads ---------- */
.phead { padding-top: clamp(56px, 9vh, 112px); padding-bottom: clamp(36px, 6vh, 64px); }
.phead::before { display: none; }
.phead .sec__idx { margin-bottom: 18px; }
.phead__title { max-width: 18ch; }
.page-item .phead__title { max-width: 26ch; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; }
.phead__intro { max-width: 640px; margin: 22px 0 0; font: 400 clamp(18px, 1.6vw, 22px)/1.5 var(--f-sans); color: var(--text-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0 0 28px; padding: 0; }
.crumbs li { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--soft-gray); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--graphite); }
.sec--tight { padding-top: clamp(40px, 6vh, 72px); }
.sec__head--small { margin-bottom: 22px; }
.sheets--flush { margin-top: 0; }

.more { margin: 26px 0 0; }
.more--acc { margin: 6px 0 24px 136px; }
.more__link {
  display: inline-flex; gap: 10px; align-items: baseline; padding: 4px 0; text-decoration: none; color: var(--graphite);
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--red);
  transition: color .2s var(--ease), gap .3s var(--ease);
}
.more__link:hover { color: var(--red); gap: 14px; }

.side-list { min-width: 0; }

/* ---------- Work lists ---------- */
.work--list { border-top: 1px solid var(--graphite); }
.work--list .work__item:first-child .work__link { border-top: 0; }
.work--compact .work__link { grid-template-columns: 96px minmax(0, 1fr) 20px; }
.work--compact .work__meta { display: none; }
.work__tr { display: block; margin-top: 3px; font: 400 14px/1.4 var(--f-sans); color: var(--text-2); }
.work__tags { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.work__tags span { font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.work__tags span::before { content: "#"; color: var(--soft-gray); margin-right: 2px; }
.work__item[hidden] { display: none; }

/* ---------- Filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 26px;
  padding: 0 0 18px; margin-bottom: 4px;
}
.filters__group { display: flex; flex-wrap: wrap; gap: 6px; }
.filters__group button {
  padding: 9px 14px; background: var(--white); border: 1px solid var(--divider); cursor: pointer; color: var(--graphite);
  font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.filters__group button:hover { border-color: var(--graphite); }
.filters__group button[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--off-white); }
.filters__select { display: grid; gap: 6px; }
.filters__select span { font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.filters__select select {
  min-width: 190px; padding: 9px 32px 9px 12px; border: 1px solid var(--divider); border-radius: 0; cursor: pointer;
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23202326' stroke-width='1.2'/></svg>") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none; font: 450 15px/1.2 var(--f-sans); color: var(--graphite);
}
.filters__select select:hover { border-color: var(--graphite); }
.filters__count { margin: 0 0 0 auto; padding-bottom: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.filters__count--static { margin: 0 0 14px; padding: 0; }
.filters__empty { padding: 28px 0; color: var(--text-2); }

/* ---------- Topics ---------- */
.sec--topics { padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-block; padding: 10px 14px; background: var(--white); border: 1px solid var(--divider);
  text-decoration: none; color: var(--graphite); font: 500 15px/1.2 var(--f-sans);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--red); color: var(--red); }
.topic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--graphite); }
.topic-list li { position: relative; }
.topic-list__a {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 110px 20px; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--divider); text-decoration: none; color: var(--graphite);
}
.topic-list__name { font: 400 clamp(24px, 2.4vw, 34px)/1.1 var(--f-cond); transition: color .2s var(--ease); }
.topic-list__intro { font: 400 15px/1.5 var(--f-sans); color: var(--text-2); }
.topic-list__n { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.topic-list__arrow { color: var(--soft-gray); transition: transform .3s var(--ease), color .2s var(--ease); }
.topic-list__a:hover .topic-list__name, .topic-list__a:hover .topic-list__arrow { color: var(--red); }
.topic-list__a:hover .topic-list__arrow { transform: translateX(4px); }

/* ---------- Appearance / article page ---------- */
.item { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.item__meta { position: sticky; top: calc(var(--bar-h) + 32px); }
.item__meta dl { margin: 0; border-top: 1px solid var(--graphite); }
.item__meta dl > div { padding: 12px 0; border-bottom: 1px solid var(--divider); }
.item__meta dt { margin-bottom: 4px; font: 500 10px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.item__meta dd { margin: 0; font: 500 15px/1.4 var(--f-sans); color: var(--graphite); }
.item__tags { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.item__tags a { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--soft-gray); text-underline-offset: 4px; }
.item__tags a:hover { color: var(--red); text-decoration-color: var(--red); }
.item__source {
  display: block; margin-top: 20px; padding: 14px 16px; background: var(--graphite); color: var(--off-white); text-decoration: none;
  font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; transition: background-color .25s var(--ease);
}
.item__source:hover { background: var(--red); }
.item__body { max-width: 720px; }
.item__kicker { margin: 0 0 18px; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.item__body .prose__h { margin-top: 34px; font-size: clamp(19px, 1.6vw, 22px); }
.item__body .prose__h:first-of-type { margin-top: 0; }
.points { margin: 0 0 8px; padding: 0; list-style: none; counter-reset: pt; }
.points li {
  position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--divider);
  font: 400 17px/1.65 var(--f-sans); color: var(--graphite); counter-increment: pt;
}
.points li:last-child { border-bottom: 1px solid var(--divider); }
.points li::before {
  content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 16px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--red);
}
.item__disclaimer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--divider); font-size: 14px !important; color: var(--text-2) !important; }
.item__disclaimer a { color: var(--text-2); }

/* ---------- Press kit ---------- */
.press-bio { margin: 0; font: 400 17px/1.7 var(--f-sans); color: var(--graphite); max-width: 60ch; }
.press-photos { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.press-photos a { display: grid; gap: 10px; text-decoration: none; color: var(--graphite); }
.press-photos img { display: block; width: 180px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--divider); transition: opacity .25s var(--ease); }
.press-photos a:hover img { opacity: .85; }
.press-photos span { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.press-photos a:hover span { color: var(--red); }

/* ---------- Legal ---------- */
.prose--legal { max-width: 760px; }
.prose--legal .prose__h { margin-top: 36px; font-size: clamp(19px, 1.6vw, 22px); }
.prose--legal .prose__h:first-child { margin-top: 0; }
.legal__note { margin-top: 16px !important; color: var(--text-2) !important; }

/* ---------- Footer ---------- */
.site-foot { position: relative; z-index: 2; border-top: 1px solid var(--graphite); background: var(--off-white); }
.site-foot__in {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vh, 80px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px);
}
.site-foot__name { margin: 0 0 6px; font: 400 clamp(28px, 2.6vw, 38px)/1.05 var(--f-cond); color: var(--graphite); }
.site-foot__role { margin: 0 0 18px; color: var(--text-2); font-size: 15px; }
.site-foot__mail { margin: 4px 0 0; }
.site-foot__mail a, .site-foot__col a { color: var(--graphite); text-decoration: none; }
.site-foot__mail a:hover, .site-foot__col a:hover { color: var(--red); }
.site-foot__col { display: grid; align-content: start; gap: 10px; font-size: 15px; }
.site-foot__col a span { margin-right: 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--red); }
.site-foot__topics { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.bar__meta a { color: var(--text-2); text-decoration: none; }
.bar__meta a:hover { color: var(--red); }

/* ---------- Responsive (multi-page) ---------- */
@media (max-width: 980px) {
  .clock { display: none; }
}
@media (max-width: 899px) {
  .item { grid-template-columns: 1fr; }
  .item__meta { position: relative; top: 0; order: 2; }
  .topic-list__a { grid-template-columns: 1fr 20px; gap: 6px 12px; }
  .topic-list__name { grid-column: 1; }
  .topic-list__arrow { grid-column: 2; grid-row: 1; }
  .topic-list__intro, .topic-list__n { grid-column: 1 / -1; }
  .site-foot__in { grid-template-columns: 1fr; }
  .filters__count { margin-left: 0; width: 100%; padding-bottom: 0; }
  .filters__select select { min-width: 0; width: 100%; }
  .filters__select { flex: 1 1 160px; }
  .more--acc { margin-left: 0; }
  .work--compact .work__link { grid-template-columns: 1fr 20px; }
}

/* ---------- Buttons: red wipe from left to right (exits to the right) ---------- */
.chip, .filters__group button, .item__source, .more__link { position: relative; isolation: isolate; overflow: hidden; }
.chip::before, .filters__group button::before, .item__source::before, .more__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: scaleX(0); transform-origin: right center; transition: transform .5s cubic-bezier(.65, 0, .25, 1);
}
.chip:hover::before, .filters__group button:hover::before, .item__source:hover::before, .more__link:hover::before,
.chip:focus-visible::before, .filters__group button:focus-visible::before, .item__source:focus-visible::before, .more__link:focus-visible::before {
  transform: scaleX(1); transform-origin: left center;
}
.chip, .filters__group button, .item__source, .more__link { transition: color .3s ease .05s, border-color .3s ease, gap .3s var(--ease); }
.chip:hover, .filters__group button:hover, .more__link:hover, .chip:focus-visible, .more__link:focus-visible { color: var(--white); border-color: var(--red); }
.item__source:hover { background: var(--graphite); color: var(--white); }
.more__link { padding: 7px 10px; margin-left: -10px; }
.more__link:hover { gap: 14px; }

/* ---------- List rows: red hairline sweeping left to right under the row ---------- */
.work__link, .toc__row, .topic-list__a, .acc__btn {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 0 1px;
  transition: background-size .6s cubic-bezier(.65, 0, .25, 1), color .2s ease;
}
.work__link:hover, .toc__row:hover, .topic-list__a:hover, .acc__btn:hover,
.work__link:focus-visible, .toc__row:focus-visible, .topic-list__a:focus-visible {
  background-position: 0 100%;
  background-size: 100% 1px;
}

.motion-off .chip::before, .motion-off .filters__group button::before, .motion-off .item__source::before, .motion-off .more__link::before,
.motion-off .work__link, .motion-off .toc__row, .motion-off .topic-list__a, .motion-off .acc__btn { transition: none; }

/* =====================================================================
   Horizontal track: vertical → horizontal → vertical
   Pinned on desktop (≥1024 wide and ≥600 tall), native swipe below, stacked with reduced motion.
   ===================================================================== */
.sec--track { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(56px, 8vh, 96px); }
.track__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(20px, 3.5vh, 36px); flex-wrap: wrap; }
.track__title { font-size: clamp(40px, 5vw, 84px); }
.track__intro { max-width: 540px; margin: 12px 0 0; font: 400 clamp(16px, 1.3vw, 18px)/1.5 var(--f-sans); color: var(--text-2); }
.track__hud { display: grid; justify-items: end; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.track__count { color: var(--graphite); font-variant-numeric: tabular-nums; }
.track__count span { color: var(--red); }
.track__bar { position: relative; display: block; width: clamp(140px, 16vw, 220px); height: 1px; background: var(--divider); }
.track__bar b { position: absolute; left: 0; right: 0; top: -.5px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.track__hint b { display: inline-block; color: var(--red); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.track__viewport {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px;
}
.track__viewport::-webkit-scrollbar { display: none; }
.track__list { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; width: max-content; }
.track__panel { flex: 0 0 clamp(280px, 82vw, 420px); scroll-snap-align: start; }
.track__panel--wide { flex-basis: clamp(290px, 86vw, 520px); }

.track__card {
  position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%;
  min-height: clamp(340px, 54vh, 520px); padding: 22px 22px 18px;
  background: var(--white); border: 1px solid var(--divider); text-decoration: none; color: var(--graphite);
  transition: border-color .3s var(--ease);
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
.track__card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .6s cubic-bezier(.65, 0, .25, 1);
}
.track__card:hover { border-color: var(--graphite); }
.track__card:hover::before, .track__card:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.track__n { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.track__name { font: 400 clamp(26px, 2.3vw, 36px)/1.05 var(--f-cond); letter-spacing: -.005em; color: var(--graphite); text-wrap: balance; }
.track__name--sm { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12; }
.track__text { font: 400 15px/1.55 var(--f-sans); color: var(--text-2); }
.track__ep { font: 300 clamp(56px, 6vw, 92px)/.9 var(--f-cond); letter-spacing: -.02em; color: var(--graphite); }
.track__items { display: grid; gap: 0; border-top: 1px solid var(--divider); }
.track__items span {
  padding: 8px 0; border-bottom: 1px solid var(--divider); font: 450 13.5px/1.35 var(--f-sans); color: var(--graphite);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.track__tags { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.track__tags span { font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.track__tags span::before { content: "#"; color: var(--soft-gray); margin-right: 2px; }
.track__foot {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--divider);
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.track__foot b { color: var(--soft-gray); font-weight: 400; transition: transform .3s var(--ease), color .2s var(--ease); }
.track__card:hover .track__foot b { color: var(--red); transform: translateX(4px); }

/* topic timeline: real publication dates on a 2024–2026 axis */
.tl { display: block; width: 100%; height: auto; overflow: visible; }
.tl__axis { stroke: var(--soft-gray); stroke-width: 1; }
.tl__tick { stroke: var(--soft-gray); stroke-width: 1; }
.tl__y { font: 500 8.5px var(--f-mono); fill: var(--text-2); text-anchor: middle; letter-spacing: .08em; }
.tl__dot { fill: var(--red); stroke: var(--white); stroke-width: 1.5; }

/* Pinned (set by main.js on desktop) */
.is-track-pinned {
  min-height: calc(100vh - var(--bar-h)); min-height: calc(100dvh - var(--bar-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(20px, 4vh, 40px);
}
.is-track-pinned .track__viewport { overflow: hidden; scroll-snap-type: none; cursor: grab; }
.is-track-pinned .track__viewport.is-dragging { cursor: grabbing; }
.is-track-pinned .track__list { will-change: transform; }
.is-track-pinned .track__panel { flex-basis: clamp(320px, 27vw, 420px); }
.is-track-pinned .track__panel--wide { flex-basis: clamp(360px, 34vw, 520px); }
.is-track-pinned .track__card { height: clamp(300px, calc(100dvh - var(--bar-h) - 250px), 560px); min-height: 0; }
@media (max-height: 760px) { .is-track-pinned .track__items { display: none; } .is-track-pinned .track__intro { display: none; } }
@media (max-height: 680px) { .is-track-pinned .track__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

/* Reduced motion: no sideways movement — stack the scenes */
.motion-off .track__viewport { overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
.motion-off .track__list { width: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.motion-off .track__hud { display: none; }
.motion-off .track__hint b { animation: none; }

/* =====================================================================
   Whole-page horizontal run (home): stacked by default; pinned sideways on desktop (main.js adds .is-hrun)
   ===================================================================== */
.hrun { position: relative; }
.hrun__hud { display: none; }
.is-hrun { height: calc(100vh - var(--bar-h)); height: calc(100dvh - var(--bar-h)); overflow: hidden; }
/* clip sideways only, so the hero's rosette can rise under the top bar instead of being cut */
@supports (overflow: clip) { .is-hrun { overflow-x: clip; overflow-y: visible; } }
.is-hrun .hrun__row { display: flex; width: max-content; height: 100%; will-change: transform; }
.is-hrun .hrun__scene {
  flex: 0 0 100vw; width: 100vw; max-width: none; height: 100%; margin: 0; overflow: hidden;
  padding: clamp(20px, 5vh, 56px) max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.is-hrun .sec.hrun__scene { display: flex; flex-direction: column; justify-content: center; }
/* the hero is a full screen here too: beat ".is-site .stage.hero" (max-width: var(--wrap)) so it spans 100vw */
.is-site .is-hrun .stage.hero.hrun__scene { display: grid; align-items: center; min-height: 0; max-width: none; margin: 0; overflow: visible; }
/* the rosette may reach into the right margin, never past it (it would be cut by the screen edge) */
.is-hrun .hero .guilloche { right: max(-55%, calc(16px - max(var(--gutter), calc((100vw - var(--container)) / 2)))); }
.is-hrun .hero .portrait { width: min(100%, max(240px, calc((100dvh - var(--bar-h) - 2 * clamp(20px, 5vh, 56px) - 90px) * .8))); }
@media (max-height: 820px) {
  .is-hrun .hero .intro { gap: clamp(10px, 1.6vh, 18px); }
  .is-hrun .hero .toc__row { padding: 8px 0; }
}
.is-hrun .sec.hrun__scene::before { display: none; }
.is-hrun .hrun__scene + .hrun__scene { border-left: 1px solid var(--divider); }
.is-hrun .hrun__scene .sec__head { margin-bottom: clamp(16px, 3vh, 36px); }
.is-hrun .hrun__scene .sec__title { font-size: clamp(44px, min(5.6vw, 11vh), 96px); }
.is-hrun .hrun__scene .sec__grid { align-items: center; }
.is-hrun .hrun__scene .side-photo { position: relative; top: 0; justify-self: end; width: 100%; max-width: calc((100dvh - var(--bar-h) - 170px) * .8); }
.is-hrun .hrun__scene .prose .prose__lead { font-size: clamp(18px, min(1.6vw, 3vh), 24px); }
.is-hrun .hrun__scene .prose p { margin-bottom: .9em; }
.is-hrun .hrun__hud {
  position: absolute; z-index: 6; right: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: 42px;
  display: flex; align-items: baseline; gap: 14px; pointer-events: none;
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.hrun__label { color: var(--graphite); }
.hrun__count span { color: var(--red); }
.is-hrun.is-dragging { cursor: grabbing; }
/* the route runs along the foot of the stage while it travels sideways, so the run's own progress bar steps aside */
.is-hrun .hrun__hud .track__bar { display: none; }
@media (max-height: 720px) { .is-hrun .hrun__scene .prose p:not(.prose__lead):not(.more) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } }

/* ---------- Phones and tablets: the same down → right → down, every scene and track sized to one screen ----------
   svh (the screen with the browser bars showing) so nothing jumps when the address bar slides away. */
@media (max-width: 1023px) and (min-height: 480px) {
  .is-hrun { height: calc(100svh - var(--bar-h)); }
  .is-hrun .hrun__hud { bottom: 14px; }
  .is-track-pinned { min-height: calc(100svh - var(--bar-h)); padding-top: clamp(14px, 3svh, 28px); padding-bottom: clamp(14px, 3svh, 28px); }
  .is-track-pinned .track__head { margin-bottom: 14px; gap: 10px 20px; }
  .is-track-pinned .track__title { font-size: clamp(34px, 10vw, 56px); }
  .is-track-pinned .track__intro { display: none; }
  .is-track-pinned .track__panel { flex-basis: min(80vw, 380px); }
  .is-track-pinned .track__panel--wide { flex-basis: min(86vw, 440px); }
  .is-track-pinned .track__card { height: clamp(250px, calc(100svh - var(--bar-h) - 200px), 520px); overflow: hidden; }
  .is-track-pinned .track__viewport { touch-action: pan-y; cursor: auto; }   /* a vertical swipe moves the row sideways */
}
@media (max-width: 899px) and (min-height: 480px) {
  .is-hrun .hrun__scene { padding: clamp(14px, 3svh, 28px) var(--gutter) clamp(44px, 7svh, 60px); }
  .is-hrun .hrun__scene + .hrun__scene { border-left: 0; }
  .is-site .is-hrun .stage.hero.hrun__scene { grid-template-columns: 1fr; align-content: center; gap: clamp(8px, 1.6svh, 14px); }
  .is-hrun .hero .name { font-size: clamp(44px, 13vw, 80px); }
  .is-hrun .hero .portrait { width: min(82vw, calc((100svh - var(--bar-h) - 280px) * .8)); max-width: none; justify-self: start; margin: 4px 0; }
  .is-hrun .hero .lead { display: none; }
  .is-hrun .hero .toc { display: none; }   /* the index lives in the burger menu on phones */
  .is-hrun .hrun__scene .sec__head { margin-bottom: 14px; }
  .is-hrun .hrun__scene .sec__title { font-size: clamp(40px, 12vw, 64px); }
  .is-hrun .hrun__scene .sec__grid { gap: 18px; align-items: start; }
  .is-hrun .hrun__scene .side-photo { justify-self: start; width: min(80vw, calc((100svh - var(--bar-h) - 300px) * .8)); max-width: none; }
  .is-hrun #about .prose p:not(.prose__lead):not(.more) { display: none; }
  .is-hrun #about .prose .prose__lead { -webkit-line-clamp: 3; }
  .is-hrun #about .prose .more { margin-top: 8px; }
  .is-hrun .hrun__scene .prose .prose__lead { font-size: 18px; line-height: 1.45; }
  .is-hrun .hrun__scene .prose p:not(.more) { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
  .is-hrun .hrun__scene .prose p:not(.prose__lead):not(.more) { -webkit-line-clamp: 4; }
  .is-hrun #insights .quote { display: none; }
  .is-hrun #insights .work--compact li:nth-child(n + 3) { display: none; }
}
@media (max-width: 899px) and (min-height: 480px) and (max-height: 700px) {
  .is-hrun .hero .portrait__cap { display: none; }
  .is-hrun .hrun__scene .side-photo { width: min(72vw, calc((100svh - var(--bar-h) - 260px) * .8)); }
  .is-hrun #about .prose .prose__lead { -webkit-line-clamp: 2; }
  .is-hrun .hrun__scene .prose p:not(.more) { -webkit-line-clamp: 4; }
  .is-hrun .hrun__scene .prose p:not(.prose__lead):not(.more) { -webkit-line-clamp: 3; }
  .is-hrun #insights .prose p { display: none; }
}



/* =====================================================================
   Video summary pages: click-to-load player (nothing from YouTube until asked) and chapters
   ===================================================================== */
.item__basis { color: var(--text-2); }
.player { margin: 0 0 clamp(30px, 4.5vh, 48px); }
.player__stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: var(--graphite); color: var(--off-white);
  background-image: linear-gradient(to right, rgba(247, 247, 245, .07) 1px, transparent 1px); background-size: calc(100% / 6) 100%;
}
.player__head {
  position: absolute; left: 20px; right: 20px; top: 16px; display: flex; justify-content: space-between; gap: 16px; pointer-events: none;
  font: 500 10px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 247, 245, .72);
}
.player__title { position: absolute; left: 20px; right: 20px; bottom: 18px; max-width: 30ch; pointer-events: none; font: 400 clamp(20px, 2.3vw, 30px)/1.08 var(--f-cond); text-wrap: balance; }
.player__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
}
.player__icon {
  position: relative; width: 74px; height: 74px; border: 1px solid rgba(247, 247, 245, .55); border-radius: 50%;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.player__icon::after { content: ""; position: absolute; left: 30px; top: 25px; border-left: 19px solid var(--off-white); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.player__play:hover .player__icon, .player__play:focus-visible .player__icon { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.player__play:focus-visible { outline: 2px solid var(--red); outline-offset: -6px; }
.player__label { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.player__label span { color: rgba(247, 247, 245, .7); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__note { margin-top: 10px; font: 500 10px/1.5 var(--f-mono); letter-spacing: .08em; color: var(--text-2); }
.player__off { display: none; }
[data-consent="essential"] .player__on { display: none; }
[data-consent="essential"] .player__off { display: inline; }
.player__allow { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: var(--red); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 599px) {
  .player__title { display: none; }
  .player__icon { width: 58px; height: 58px; }
  .player__icon::after { left: 23px; top: 18px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
}
.chapters { list-style: none; margin: 0 0 8px; padding: 0; }
.item__body .chapters__a {
  display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: baseline; padding: 10px 0;
  border-top: 1px solid var(--divider); text-decoration: none; color: var(--graphite); transition: color .2s var(--ease);
}
.chapters li:last-child .chapters__a { border-bottom: 1px solid var(--divider); }
.chapters__t { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--red); font-variant-numeric: tabular-nums; }
.chapters__n { font: 450 16px/1.4 var(--f-sans); }
.item__body .chapters__a:hover { color: var(--red); }

/* Cookie page: what is stored, and the button that reopens the ticket */
.rows--store .rows__main code { font: 500 13px/1.3 var(--f-mono); color: var(--graphite); }
.rows__why { font: 400 14px/1.45 var(--f-sans); color: var(--graphite); }
.more__btn { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
@media (max-width: 599px) { .rows--store .rows__r { flex-direction: column; gap: 6px; } .rows--store .rows__aside { white-space: normal; } }

/* ---------- 404 / 410 inside the site ---------- */
.toc--wide { max-width: none; }
.sheet__title--gap { margin-top: 40px; }
.nf-topics { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.nf-topics a { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--soft-gray); text-underline-offset: 4px; }
.nf-topics a:hover { color: var(--red); text-decoration-color: var(--red); }

/* =====================================================================
   05 Approach: public record figures, numbered principles, process steps, regulatory note
   ===================================================================== */
.figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--divider); }
.figs li { border-bottom: 1px solid var(--divider); }
.figs a { display: grid; gap: 8px; padding: 18px 16px 16px 0; text-decoration: none; color: var(--graphite); }
.figs b { font: 300 clamp(48px, 4.8vw, 72px)/.88 var(--f-cond); letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
.figs span { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.figs a:hover b, .figs a:focus-visible b { color: var(--red); }
.rows--num .rows__r { justify-content: flex-start; gap: 20px; }
.rows__n { flex: none; width: 32px; padding-top: 4px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--red); }
.rows--num .rows__main { max-width: 760px; font-size: clamp(17px, 1.4vw, 20px); }
.rows--num .rows__sub { font-size: 15px; }
.track__card--step { cursor: default; }
.track__card--step .track__ep { color: var(--red); }
.reg-note { max-width: 760px; margin-top: clamp(36px, 6vh, 64px); padding-top: 18px; border-top: 1px solid var(--divider); }
.reg-note .sheet__k { margin-top: 0; }
.reg-note p:not(.sheet__k) { margin: 0 0 .8em; font: 400 14px/1.6 var(--f-sans); color: var(--text-2); }
.reg-note a { color: var(--graphite); }
.reg-note a:hover { color: var(--red); }
