/* Essay pages under /media/. Builds on the homepage tokens (--ink, --paper, --line, --thumb). */
.essay { --col: 680px; padding-block: 72px 40px; }
.essay-head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 440px); gap: 56px; align-items: stretch; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.essay-title { align-self: end; }
.essay-title h1 { margin: 0 0 22px; font-size: clamp(40px, 6vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
.dek { max-width: 34ch; margin: 0 0 26px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; }

/* The title image: a square, in a sketched ink frame, as tall as the title block beside it. */
.source-card { position: relative; display: block; align-self: center; width: 100%; height: auto; aspect-ratio: 1; padding: 12px; background: var(--paper); rotate: -1.2deg; transition: rotate 260ms cubic-bezier(.2,0,0,1), translate 260ms cubic-bezier(.2,0,0,1); }
@media (hover: hover) and (pointer: fine) { .source-card:hover { rotate: 0deg; translate: 0 -3px; } }
.sc-photo { position: absolute; inset: 12px; overflow: hidden; }
.sc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 30%); filter: saturate(.9) contrast(1.03); transition: scale 400ms cubic-bezier(.2,0,0,1); }
@media (hover: hover) and (pointer: fine) { .source-card:hover .sc-photo img { scale: 1.03; } }
.sc-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sc-frame path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sc-frame .sc-second { stroke-width: 1.1; opacity: .75; }
.sc-frame .sc-b { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .sc-frame .sc-a { animation: sc-boil 360ms steps(1) infinite; }
  .sc-frame .sc-b { animation: sc-boil 360ms steps(1) infinite reverse; }
}
@keyframes sc-boil { 0%, 49.9% { visibility: visible; } 50%, 100% { visibility: hidden; } }
.sc-tape { position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; translate: -50% 0; rotate: 3deg; background: #ffe866; opacity: .85; mix-blend-mode: multiply; clip-path: polygon(2% 8%, 98% 0, 100% 92%, 0 100%); }
.sc-label { position: absolute; left: 0; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; translate: -14px 0; rotate: 1.2deg; padding: 9px 13px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; box-shadow: 3px 3px 0 var(--ink); font: 500 12.5px/1 "JetBrains Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.sc-play { font-size: 10px; }
.source-card:hover .sc-label { background: #ffe866; }

.essay-body { padding-top: 24px; }
.essay-body section { margin-top: 64px; }
.essay-body h2 { max-width: var(--col); margin: 0 auto 22px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -.028em; }
.essay-body p, .essay-body ul { max-width: var(--col); margin: 0 auto 22px; font-size: 19px; line-height: 1.68; }
.essay-body ul { padding-left: 1.1em; }
.essay-body a:not(.stamp) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.essay-body strong { font-weight: 600; }

/* Hatched plates: wider than the text column, drawn in the page's own ink. */
.plate { max-width: 920px; margin: 0 auto 40px; padding: 28px 0 0; }
.plate svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.plate figcaption { max-width: var(--col); margin: 14px auto 0; font: 500 12px/1.5 "JetBrains Mono", monospace; letter-spacing: .05em; text-transform: uppercase; text-align: center; }
.plate figcaption:empty { display: none; }
.js .plate svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.22, 1, .36, 1); }
.js .plate.in svg { clip-path: inset(0 0 0 0); }

/* Pull quotes: a hatched bar stands in for the usual rule, echoing the plates. */
.pull { position: relative; max-width: 760px; margin: 48px auto; padding: 4px 0 4px 40px; }
.pull::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 12px; border: 1.3px solid var(--ink); background: repeating-linear-gradient(135deg, var(--ink) 0 1px, transparent 1px 4px); }
.pull p { max-width: none; margin: 0 0 14px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 500; line-height: 1.22; letter-spacing: -.022em; }
.pull footer { font: 500 12.5px/1 "JetBrains Mono", monospace; }

.stamp { display: inline-block; margin-right: 10px; font: 500 12.5px/1.6 "JetBrains Mono", monospace; letter-spacing: .04em; color: var(--ink); }
a.stamp { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.stamp::before { content: "▶ "; font-size: 9px; vertical-align: 1px; }

.moments { max-width: var(--col); margin: 72px auto 0 !important; padding-top: 40px; border-top: 1px solid var(--line); }
.moment-list { margin: 0; padding: 0; list-style: none; }
.moment-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.moment-list li:first-child { border-top: 0; }

.transcript { max-width: var(--col); margin: 56px auto 0; border: 1px solid var(--ink); }
.transcript summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font: 500 13px/1.3 "JetBrains Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; font-size: 18px; line-height: .8; }
.transcript[open] summary::after { content: "–"; }
.transcript[open] summary { border-bottom: 1px solid var(--ink); }
.transcript-body { max-height: 70vh; overflow-y: auto; padding: 10px 22px 22px; }
.turn { margin: 14px 0 0; font-size: 16.5px; line-height: 1.62; }
.turn strong { margin-right: 6px; font-weight: 600; }
.turn.alex strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

.note { max-width: var(--col); margin: 28px auto 0; font-size: 15px; line-height: 1.55; }
.back { max-width: var(--col); margin: 28px auto 0; font: 500 13px/1 "JetBrains Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }

@media (max-width: 860px) {
  .essay { padding-block: 40px 24px; }
  .essay-head { grid-template-columns: 1fr; gap: 28px; }
  .source-card { height: auto; width: min(calc(100% - 28px), 380px); min-height: 0; max-height: none; margin-inline: 14px; }
  .essay-body p, .essay-body ul { font-size: 18px; }
  .pull { padding-left: 28px; }
  .pull::before { width: 9px; }
  .moment-list li { grid-template-columns: 64px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .js .plate svg { clip-path: none; transition: none; }
}

/* Cards for the other appearances (end of each essay) and the /media/ index. */
.more { max-width: 1040px; margin: 88px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.more h2 { margin: 0 0 24px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.more-card { display: grid; gap: 8px; align-content: start; color: var(--ink); text-decoration: none; }
.more-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; transition: transform 200ms ease; }
@media (hover: hover) and (pointer: fine) { .more-card:hover img { transform: translateY(-2px); } }
.more-show { font-size: 14px; font-weight: 500; line-height: 1.4; }
.more-title { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.012em; }
.more-card:hover .more-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hub-head { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.hub-head h1 { margin: 0 0 18px; font-size: clamp(44px, 7vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.essay-tail { max-width: var(--col); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.essay-tail p { margin: 0 !important; font-size: 16px !important; line-height: 1.55 !important; }
.essay-tail .bio { font-weight: 500; }

/* Live interactive plates (anidoodle pieces drawn in the page's own ink). */
.plate-live ani-doodle { display: block; width: 100%; max-width: 880px; margin: 0 auto; aspect-ratio: 880 / 520; }

/* Reading furniture: progress bar, contents rail (wide screens), sticky contents bar (narrow). */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.essay-title h1, .essay-body h2, .more h2, .pull p { text-wrap: balance; }
.essay-body p, .moment-list li, .dek { text-wrap: pretty; }
.h1-sub { display: block; margin-top: .4em; font-size: .46em; font-weight: 400; line-height: 1.16; letter-spacing: -.018em; }
.essay-body > p:first-of-type { font-size: 22px; line-height: 1.55; letter-spacing: -.01em; }
.essay-body section, .moments, .transcript { scroll-margin-top: 28px; }

.progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .progress span { transform: none; animation: progress-grow linear both; animation-timeline: scroll(root); }
}
@keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.essay-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.essay-main { min-width: 0; }
.toc { position: sticky; top: 28px; max-height: calc(100dvh - 56px); overflow-y: auto; padding: 36px 4px 24px 0; overscroll-behavior: contain; }
.toc-head { margin: 0 0 14px; font: 500 12px/1.4 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.toc ol, .tocbar ol { margin: 0; padding: 0; list-style: none; }
.toc ol { border-left: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; margin-left: -1px; padding: 8px 10px 8px 13px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; color: var(--ink); font-size: 14.5px; line-height: 1.32; text-decoration: none; transition-property: background-color, border-color; transition-duration: 200ms; }
.toc-n { padding-top: 2px; font: 500 11px/1.4 "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--thumb); }
.toc a.is-active, .tocbar a.is-active { background: #fff1a0; font-weight: 600; }
.toc a.is-active { border-left-color: var(--ink); }
.toc a.is-read .toc-n { text-decoration: line-through; text-decoration-thickness: 1px; }
.toc a:focus-visible, .tocbar summary:focus-visible, .tocbar a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.toc-top { display: block; white-space: nowrap; margin-top: 18px; padding: 6px 0; font: 500 12px/1.4 "JetBrains Mono", monospace; letter-spacing: .05em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.tocbar { display: none; position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--line); }
.tocbar summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 0; cursor: pointer; list-style: none; font: 500 12.5px/1.35 "JetBrains Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.tocbar summary::-webkit-details-marker { display: none; }
.tocbar-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tocbar-count { flex: none; font-variant-numeric: tabular-nums; }
.tocbar-count::after { content: "+"; display: inline-block; width: 1em; margin-left: 10px; text-align: center; font-size: 17px; line-height: .8; }
.tocbar[open] .tocbar-count::after { content: "–"; }
.tocbar ol { max-height: 62dvh; overflow-y: auto; padding-bottom: 10px; }
.tocbar a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 11px 8px; border-top: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 16px; line-height: 1.35; text-decoration: none; }

@media (max-width: 1100px) {
  .essay-grid { display: block; }
  .toc { display: none; }
  .tocbar { display: block; margin-top: 8px; }
  .essay-body section, .moments, .transcript, .essay-body { scroll-margin-top: 64px; }
}
@media (max-width: 860px) {
  .essay-body > p:first-of-type { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress { display: none; }
}

/* Credit block: a face, who wrote it and where it came from in plain sentences, then a calm row of facts. */
.credit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; max-width: 52ch; margin-top: 8px; }
.credit-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.credit-text { min-width: 0; }
.credit-by { margin: 0 0 2px; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.credit-src { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.55; text-wrap: pretty; }
.facts { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); max-width: 52ch; }
.facts li { display: flex; align-items: center; font-size: 15px; font-weight: 400; line-height: 1.3; }
.facts li b { font-weight: 600; margin-right: 5px; font-variant-numeric: tabular-nums; }
.facts li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--ink); }

/* /media/ guide: one row per show, each a small ink TV like the homepage sets. */
.guide { list-style: none; margin: 0; padding: 0; }
.guide li + li { border-top: 1px solid var(--line); }
.guide-row { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px 0 40px; color: var(--ink); text-decoration: none; }
.guide-copy { display: grid; gap: 10px; align-content: center; max-width: 620px; }
.guide-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.guide-show { font-size: 15px; line-height: 1.45; }
.guide-dek { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.guide-read { margin-top: 4px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.guide-read .arrow { margin-left: 4px; }
.guide-row:hover .guide-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.guide-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 4px; }
.guide .tv { position: relative; display: flex; gap: 8px; padding: 10px; margin: 30px 4px 12px; border-radius: 16px; background: var(--paper); }
.guide .tv-screen { position: relative; flex: 1; min-width: 0; display: block; border-radius: 10% / 16%; overflow: hidden; }
.guide .tv-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.guide .tv-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 14px rgba(0,0,0,.28); background: radial-gradient(120% 90% at 22% 12%, rgba(255,255,255,.28), rgba(255,255,255,0) 42%); }
.guide .tv-panel { position: relative; flex: none; width: 15%; display: flex; flex-direction: column; justify-content: center; }
.guide .tv-panel-art { width: 100%; height: auto; max-height: 100%; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; }
.guide .tv-panel-art .tv-knob circle { fill: var(--paper); }
.guide .tv-panel-art .tv-lcd { fill: none; }
.guide .tv-panel-art .tv-lcd-n { fill: var(--ink); stroke: none; font: 500 9px "JetBrains Mono", monospace; }
.guide .tv-knob { transform-box: fill-box; transform-origin: center; transition: rotate 380ms cubic-bezier(.2,0,0,1); }
@media (hover: hover) and (pointer: fine) { .guide-row:hover .tv-knob-ch { rotate: 70deg; } }
.guide .sc-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.guide .sc-frame path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.guide .sc-frame .sc-second { stroke-width: 1; opacity: .7; }
.guide .sc-frame .sc-b { visibility: hidden; }
.guide svg.tv-top, .guide svg.tv-foot { position: absolute; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.guide svg.tv-top { width: 82px; height: 34px; left: 50%; top: -33px; translate: -50% 0; }
.guide svg.tv-top circle { fill: var(--paper); }
.guide svg.tv-top .sc-second { stroke-width: 1; opacity: .7; }
.guide svg.tv-foot { width: 20px; height: 12px; bottom: -12px; }
.guide .tv-foot-l { left: 12%; } .guide .tv-foot-r { right: 12%; }
.guide .tv-ant { transform-origin: 41px 32px; transition: rotate 300ms cubic-bezier(.2,0,0,1); }
@media (hover: hover) and (pointer: fine) { .guide-row:hover .tv-ant { rotate: -6deg; } }
.guide-row:hover svg.tv-top circle { fill: #ffe866; }
.guide .sc-frame .sc-a, .guide .sc-frame .sc-b { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .guide-row:hover .tv .sc-a { animation: sc-boil 360ms steps(1) infinite; }
  .guide-row:hover .tv .sc-b { animation: sc-boil 360ms steps(1) infinite reverse; }
}
@media (max-width: 760px) {
  .guide-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0 32px; }
  .guide .tv { max-width: 420px; }
}

/* Footer in the body face, like the homepage: no small mono capitals. */
.footer p { font: 400 15px/1.4 "Outfit", system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.footer-nav a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.credit-date { margin: 2px 0 0; font-size: 15px; line-height: 1.5; }

/* The guide header holds the ALEXVISION remote; tuning a channel scrolls to and lights up its row. */
.hub-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hub-remote-wrap { position: relative; display: grid; justify-items: center; padding-right: 8px; }
.hub-remote { align-self: auto; margin-bottom: 14px; rotate: -5deg; }
@media (hover: hover) and (pointer: fine) { .hub-remote:hover { rotate: -2deg; } }
.hub-osd { position: absolute; top: -34px; left: 50%; translate: -50% 0; margin: 0; padding: 5px 9px 4px; white-space: nowrap; background: #ffe866; border: 1.4px solid var(--ink); border-radius: 3px; font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .04em; opacity: 0; transition: opacity 200ms ease; }
.hub-osd.is-on { opacity: 1; transition: none; }
.guide-row { scroll-margin: 120px; }
.guide-row.is-tuned svg.tv-top circle { fill: #ffe866; }
.guide-row.is-tuned .tv-knob-ch { rotate: 70deg; }
.guide-row.is-tuned .tv-screen { box-shadow: 0 0 0 3px #ffe866; }
.guide.is-off .tv-screen img { filter: brightness(.12) grayscale(1); transition: filter 400ms ease; }
.guide .tv-screen img { transition: filter 400ms ease; }
@media (max-width: 760px) {
  .hub-head { grid-template-columns: 1fr; gap: 24px; }
  .hub-remote { rotate: 0deg; margin-bottom: 0; }
  .hub-remote:hover { rotate: 0deg; }
}

/* Footnote asterisks: the note opens in a small inked box on hover, keyboard focus or tap. */
.fn { position: relative; display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin: 0 1px; padding: 0 4px; vertical-align: 0.15em; font: 600 13px/1 "JetBrains Mono", monospace; color: var(--ink); background: var(--paper); border: 1.3px solid var(--ink); border-radius: 999px; cursor: pointer; }
.fn::after { content: ""; position: absolute; inset: -10px; }
.fn-pop { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 12px); width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 12px 14px; translate: -50% 4px; opacity: 0; visibility: hidden; pointer-events: none; text-align: left; font: 400 15px/1.45 Outfit, system-ui, sans-serif; letter-spacing: 0; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); transition: opacity 160ms cubic-bezier(.2,0,0,1), translate 160ms cubic-bezier(.2,0,0,1), visibility 0s 160ms; }
.fn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fn.open .fn-pop, .fn:focus-visible .fn-pop { opacity: 1; visibility: visible; translate: -50% 0; pointer-events: auto; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .fn:hover .fn-pop { opacity: 1; visibility: visible; translate: -50% 0; pointer-events: auto; transition-delay: 0s; } }
@media (max-width: 640px) { .fn-pop { position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; translate: 0 6px; } .fn.open .fn-pop, .fn:focus-visible .fn-pop { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .fn-pop { transition: none; } }

/* Essays not yet published: the row stays in the guide, unlinked, with a dashed "coming soon" tag. */
.guide-row.is-soon { cursor: default; }
.guide-soon { display: inline-block; width: max-content; padding: 6px 12px; text-decoration: none; border: 1.5px dashed var(--ink); border-radius: 999px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .guide-row.is-soon:hover .guide-title { text-decoration: none; } }

/* With the sticky menu (above 1100px) the contents rail sits below it; below 1100px the essay's own
   contents bar is the sticky one, so the menu scrolls away. */
.toc { top: 100px; max-height: calc(100dvh - 128px); }
@media (max-width: 1100px) { html:has(.tocbar) { scroll-padding-top: 0; } body:has(.tocbar) .nav { position: relative; } }
