/* Windows keeps its local Bahnschrift typography; other platforms load the
   closely related OFL-licensed DINish variable font instead of generic Arial. */
@font-face {
  font-family: "DINish web";
  src: local("DINish"),
       url("https://cdn.jsdelivr.net/gh/playbeing/dinish@v4.007/fonts/woff2/variable/DINish%5Bslnt%2Cwdth%2Cwght%5D.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
:root {
  --background: #222222;
  --foreground: #aaaaaa;
  --dim: #666666;
  --strong: #eeeeee;
  --milestone: #88b9d2;
  --hover: #e1e1e1;
  --left-column: clamp(176px, 13.86vw, 275px);
  --site-left: clamp(29px, 4.10vw, 80px);
  --header-height: 158px;
  --bar-width: 20px;
  --copy-font-size: clamp(16px, 1.055vw, 18px);
  --summary-gap-tight: 14px;
  color:var(--foreground);
  background:var(--background);
  font-family:"Bahnschrift", "Bahnschrift Light", "DINish web", "Segoe UI", Arial, sans-serif;
  font-weight:300;
  font-synthesis: none;
}
*,*:before,*:after {box-sizing:border-box}
body {margin:0;min-width:320px;letter-spacing: .007em;overflow:hidden;height:100dvh}
button {font:inherit;cursor:pointer}
a {color:inherit;text-decoration:none}
a:hover {color:var(--strong)}
button:focus-visible,a:focus-visible {outline:2px solid var(--milestone);outline-offset:4px}
/* Geometry is measured from the window, not from a centered page wrapper. */
.site-shell {width:100%;max-width:none;padding:0;margin:0}
.site-header {position:fixed;z-index:25;top:0;left:0;right:0;height:var(--header-height);background:var(--background)}
/* Enlarged invisible hover target. The three visible bars retain their original
   viewport coordinates: left=--site-left and top=82px on desktop. */
.filter-control {position:absolute;left:calc(var(--site-left) - 14px);width:54px;height:56px;z-index:30}
.menu-button {position:absolute;left:14px;top:14px;width:var(--bar-width);height:28px;padding:2px 0;border:none;background:none;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px}
.menu-button span {display:block;width:var(--bar-width);height:2px;background:#626262;border-radius:1px;transition:background .15s}
.menu-button:hover span {background:#c1c1c1}
.primary-nav {position:absolute;left:var(--left-column);top:80px;display:flex;gap:28px;align-items:center;white-space:nowrap;font-size:clamp(24px,1.94vw,31px);line-height:1.3;font-weight:350;letter-spacing:.015em}
.primary-nav a {color:#646464;transition:color .15s}
.primary-nav a.active,.primary-nav a:hover {color:var(--strong)}
.primary-nav [data-nav="d1"] {margin-left:65px}
/* Only this region scrolls. The header never moves. */
main {position:fixed;top:var(--header-height);bottom:0;left:0;right:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;min-height:0;scrollbar-color:#505050 #222222;scrollbar-width:thin;}
/* One shared left edge: header menu, overview marker, and collapsed event bars.
   The bars are always the same width. Category changes ONLY thickness and color. */
.timeline {position:relative;padding:24px 0 70px;min-height:max(580px,calc(100dvh - var(--header-height)))}
.entry {display:grid;grid-template-columns:var(--left-column) minmax(0,1fr);min-height:24px;position:relative}
.entry.collapsed:not(.pinned) {position:relative;display:grid;min-height:12px;width:auto;height:12px;left:auto;bottom:auto}
.node-cell {display:flex;align-items:flex-start;justify-content:flex-start;padding:0 0 0 var(--site-left)}
.node {display:block;position:relative;margin:0;border:0;padding:0;width:var(--bar-width);height:20px;flex:0 0 var(--bar-width);background:transparent}
.node::before {content:"";display:block;position:absolute;left:0;top:9px;width:var(--bar-width);height:2px;background:#666;border-radius:1px;transition:background .15s}
.node:hover::before,.node:focus-visible::before {background:#ddd}
.entry.pinned .node::before {background:#eeeeee;height:3px}
.entry.milestone .node::before {background:#88b9d2;height:3px;top:7px}
.entry.story .node::before {background:#777;height:2px}
.entry.note .node::before {background:#545454;height:2px}
.entry.expanded:not(.pinned) .node::before {filter:brightness(1.3)}
.entry-content {min-width:0;padding:0}
.entry-content[hidden] {display:none}
.entry.pinned .entry-content {padding-bottom:0}
/* Each entry bar retains its location when the card opens or closes.
   Only expanded entries reserve height below; collapsed rows form a 12px stack. */
.entry:not(.pinned) {margin:0}
.entry.expanded:not(.pinned) {margin-bottom:23px}
.entry.collapsed:not(.pinned) .node-cell {height:12px}
.entry.collapsed:not(.pinned) .node {height:12px}
.entry.expanded:not(.pinned) .entry-content {padding-bottom:5px}
/* Collapsed entries keep their bar in document order. */
/* The copyright/Impressum control is independent of the moving journal entries. */
.legal-control {position:absolute;left:calc(var(--site-left) - 14px);bottom:calc(var(--bottom-marker-gutter) - 6px);width:54px;height:42px;z-index:12}
.legal-button {position:absolute;left:14px;top:4px;width:var(--bar-width);height:34px;padding:0;border:0;background:none;color:#666;font-family:inherit;font-size:0;font-weight:300;line-height:1;display:flex;align-items:center;justify-content:center}
.legal-button::before {content:"C";width:var(--bar-width);height:var(--bar-width);border:1.3px solid currentColor;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-family:inherit;font-weight:350;line-height:1}
.legal-button:hover,.legal-button:focus-visible {color:#ddd}
/* Exactly the filter menu's color, border, shadow and compact type system. */
.legal-menu {position:absolute;bottom:100%;left:0;z-index:30;background:#292929;min-width:240px;max-width:min(320px,calc(100vw - 32px));border:1px solid #3d3d3d;box-shadow:0 12px 32px #0007;padding:19px 21px 15px;color:#aaa;font-size:13px;line-height:1.5}
.legal-menu[hidden] {display:none}
.legal-menu .legal-heading {font-size:11px;letter-spacing:.12em;color:#999;margin-bottom:10px}
.legal-menu .legal-copy {margin:0 0 13px;color:#ddd}
.legal-menu .legal-lines {margin:0;color:#999}
.legal-menu .legal-pending {color:#777}
/* Pinned overviews always retain a compact, readable teaser instead of
   collapsing to an empty marker. Only the continuation folds away. */
.entry.pinned.collapsed {position:relative;left:auto;bottom:auto;display:grid;grid-template-columns:var(--left-column) minmax(0,1fr);width:auto;min-height:20px;height:auto}
.entry.pinned.collapsed .node-cell {height:20px}
.entry.pinned.collapsed .node {height:20px}
.entry.pinned.collapsed .node::before {top:9px}
.summary-details[hidden] {display:none}
/* The short introduction has no trailing empty space when folded.
   Once expanded, the continuation gets a normal full paragraph gap. */
.entry.pinned.collapsed .summary-preview > :last-child {margin-bottom:0}
.entry.pinned.expanded .summary-preview > p:last-child {margin-bottom:28px}
.summary-toggle {color:#777;background:transparent;border:0;padding:0;font-size:inherit;white-space:nowrap;letter-spacing:inherit;font-weight:350;line-height:1.3}
.summary-preview > p .summary-toggle {margin-left:23px; vertical-align:baseline}
.summary-toggle:hover,.summary-toggle:focus-visible {color:#ddd}
.summary-control-row {margin:0 0 22px}
.entry.pinned.collapsed .summary-control-row {margin-bottom:0}

.entry-body {font-size:var(--copy-font-size);line-height:1.26;max-width:min(1300px,calc(100vw - var(--left-column) - 5vw));color:#aaa}
.entry-body .lead {font-size:inherit}
.entry-body p {margin:0 0 23px}
.entry-body p:last-child {margin-bottom:0}
/* One visual beat per line: statement / original diagram / conclusion.
   Preserve full-height spacing rather than relying on literal CR/LF in HTML. */
.entry-body .sketch-row {display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin:30px 0 40px}
/* Transparent PNG based on approved diagram, provided on 30 Nov 2026. */
/* Preserve the approved 408 px desktop display width. */
.entry-body .sketch-row .artwork-image {display:block;width:408px;max-width:100%;height:auto;flex:none;object-fit:contain;user-select:none}
.entry-body .sketch-row .aside {font-size:inherit}
.entry-body .labeled {display:grid;grid-template-columns:50px minmax(0,1fr);gap:0;margin:0 0 17px}
.entry-body .labeled .item-label {color:#ddd}
.entry-body .labeled p {margin:0}
.entry-body .block-gap {height:23px}
.entry-body .last-line {margin-top:25px}
.entry-body a.inline-link {text-decoration:none;color:inherit}
.entry-body a.inline-link:hover {text-decoration:underline;text-underline-offset:3px;color:#e1e1e1}
.entry-title {font-size:19px;font-weight:350;color:#eee;margin:0 0 12px}
.entry-date {font-size:12px;color:#818181;letter-spacing:.04em;margin-bottom:8px}
.event-tag {text-transform:uppercase;font-size:10px;letter-spacing:.09em;color:var(--milestone);margin-bottom:5px}
.event-tag.story {color:#9b9b9b}
.event-tag.note {color:#777}
.entry-details {max-width:760px;line-height:1.52;font-size:var(--copy-font-size);color:#aaa}
.entry-details p {margin:0 0 15px}
.media-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 16px;max-width:940px}
.media-slot {background:#292929;border:1px solid #414141;padding:18px;min-height:160px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}
.media-slot strong {font-weight:350;color:#c3c3c3}
.media-slot small {color:#818181;line-height:1.45}
.media-slot .play {color:#999;font-size:25px}
/* More compact screens keep the same two-coordinate system. */
@media (max-width:1050px) {
  :root {--left-column: 140px;--site-left: 27px}
  .primary-nav{gap:17px;font-size:23px}
  .primary-nav [data-nav="d1"] {margin-left:18px}
  :root {--copy-font-size:16px}
  .entry-body {max-width:calc(100vw - var(--left-column) - 24px)}
}
@media (max-width:750px) {
  :root {--left-column: 64px;--site-left: 18px;--header-height: 118px;--bottom-marker-gutter: 11px;--motion-boundary: calc(var(--left-column) - 20px)}
  .filter-control{top:10px}
  .primary-nav{top:18px;right:13px;flex-wrap:wrap;white-space:normal;font-size:19px;gap:5px 13px}
  .primary-nav [data-nav="d1"]{margin-left:0}
  :root {--copy-font-size:15.5px}
  .entry-body {line-height:1.35;max-width:calc(100vw - var(--left-column) - 16px)}
  .entry-body .sketch-row {gap:12px;margin:24px 0 32px}
  .entry-body .sketch-row .artwork-image {width:min(408px,100%)}
  .entry-body .labeled {grid-template-columns:38px minmax(0,1fr)}
  .media-grid {grid-template-columns:1fr}
  .timeline {padding-top:18px}
  .page-intro{margin:14px 0 12px var(--left-column)}
}
@media(prefers-reduced-motion: reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}



/* V0.18: the three red-marked hard paragraph breaks were removed from content.js,
   not merely disguised using CSS. The first two paragraphs and "Essentially"
   now form one flowing paragraph; the text following the diagram is one paragraph. */
.entry.pinned .summary-preview > p.lead {margin-bottom:0;}
.entry.pinned .summary-preview .sketch-row {margin:20px 0 21px;gap:0;}
.entry.pinned.collapsed .summary-preview > p:last-child {margin-bottom:0;}
.entry.pinned.expanded .summary-preview > p:last-child {margin-bottom:28px;}


/* V0.19 — horizontal card-deck navigation. Fixed header remains motionless.
   Only the section beneath the navigation slides; no animation on initial load,
   while folding, or when changing the global filters. */
main.route-in-motion { overflow-y:hidden; }
.timeline.route-entering, .timeline.route-leaving {
  background:var(--background);
  width:100%;
  will-change:transform;
}
.timeline.route-entering { position:relative; z-index:2; }
.timeline.route-leaving {
  position:absolute;
  left:0;
  right:0;
  z-index:1;
  pointer-events:none;
}
.timeline.route-entering.from-right { animation:ps-card-from-right 500ms var(--slide-ease) both; }
.timeline.route-entering.from-left  { animation:ps-card-from-left 500ms var(--slide-ease) both; }
.timeline.route-leaving.to-left     { animation:ps-card-to-left 500ms var(--slide-ease) both; }
.timeline.route-leaving.to-right    { animation:ps-card-to-right 500ms var(--slide-ease) both; }
@keyframes ps-card-from-right { from {transform:translate3d(100vw,0,0)} to {transform:translate3d(0,0,0)} }
@keyframes ps-card-from-left  { from {transform:translate3d(-100vw,0,0)} to {transform:translate3d(0,0,0)} }
@keyframes ps-card-to-left    { from {transform:translate3d(0,0,0)} to {transform:translate3d(-100vw,0,0)} }
@keyframes ps-card-to-right   { from {transform:translate3d(0,0,0)} to {transform:translate3d(100vw,0,0)} }
/* Local prototype: slide animation intentionally visible even when Windows
   has disabled system animation effects; add an explicit motion toggle for launch. */


/* Horizontal card-deck motion easing. Only navigation and the legal control are fixed. */
:root { --slide-ease: linear(0.00000 0%, 0.00616 5%, 0.02447 10%, 0.05450 15%, 0.09549 20%, 0.14645 25%, 0.20611 30%, 0.27300 35%, 0.34549 40%, 0.42178 45%, 0.50000 50%, 0.57822 55%, 0.65451 60%, 0.72700 65%, 0.79389 70%, 0.85355 75%, 0.90451 80%, 0.94550 85%, 0.97553 90%, 0.99384 95%, 1.00000 100%); }
.legal-host {position:fixed;inset:0;z-index:20;pointer-events:none;}
.legal-host .legal-control,.legal-host .legal-menu {pointer-events:auto;}

/* V0.27 — one-line editorial card, optional separate media entry.
   The screenshot places the copy in a narrow left column; the tiny mark remains
   fixed at the upper-right, outside the animated card region. */
:root { --copy-font-size: clamp(14px, .91vw, 16px); }
.entry-body {max-width:min(702px, calc(100vw - var(--left-column) - 36px));line-height:1.26;}
.entry-body .lead {font-weight:300;}
.entry-body p {margin:0 0 13px;}
.entry-body .labeled {grid-template-columns:45px minmax(0,1fr);margin:0 0 12px;}
.entry-body .block-gap {height:0;}
.entry-body .last-line {margin-top:12px;}
.entry.pinned.expanded .summary-preview > p:last-child {margin-bottom:13px;}
.entry.pinned.collapsed .summary-preview > p:last-child {margin-bottom:0;}
.entry.pinned .summary-preview > p.lead {margin:0 0 0;}
.summary-toggle {color:#868686;font-size:inherit;font-weight:300;}
.summary-preview > p .summary-toggle {margin-left:24px;}
.summary-details[hidden] {display:none;}
.entry-title {font-size:var(--copy-font-size);font-weight:350;margin:0 0 6px;}
.entry-details {max-width:702px;font-size:var(--copy-font-size);line-height:1.35;}
.event-tag {font-size:10px;}
.journal-media {margin:10px 0 0;max-width:408px;}
.journal-media img {display:block;width:100%;height:auto;object-fit:contain;}
.journal-media figcaption {color:#777;font-size:12px;margin:9px 0 0;}
.journal-media-pending {border-top:1px solid #383838;max-width:560px;min-height:145px;display:flex;align-items:center;gap:15px;color:#777;font-size:13px;line-height:1.4;padding:18px 0;}
.journal-media-mark {font-size:30px;color:#888;flex:none;}
.header-illustration {position:absolute;right:4.7vw;top:69px;width:94px;height:auto;opacity:.72;pointer-events:none;user-select:none;}
@media (max-width:1050px) {
  .entry-body {max-width:min(702px,calc(100vw - var(--left-column) - 24px));}
  .header-illustration {right:22px;width:77px;}
}
@media (max-width:900px) { .header-illustration {display:none;} }
@media(max-width:750px) {
  :root {--copy-font-size:15px}
  .entry-body {max-width:calc(100vw - var(--left-column) - 18px);}
  .entry-body .labeled {grid-template-columns:34px minmax(0,1fr)}
  .summary-preview > p .summary-toggle {margin-left:28px;}
}
/* The navigation and journal entries share a single horizontal anchor.
   Keep the marker/type gap independently compact. */
:root {
  --left-column:clamp(176px,12vw,240px);
  --entry-gutter-gap:14px;
  --site-left:clamp(29px,2.85vw,58px);
  --header-height:145px;
}
.primary-nav {top:61px;gap:20px}
.primary-nav [data-nav="d1"] {margin-left:90px}
.timeline {padding-top:14px}
@media (max-width:1050px) {
  :root {--left-column:140px;--site-left:27px;--nav-type-size:23px}
  .primary-nav {gap:16px}
  .primary-nav [data-nav="d1"] {margin-left:18px}
}
@media (max-width:750px) {
  :root {--left-column:64px;--site-left:18px;--header-height:118px;--nav-type-size:19px}
  .primary-nav {top:18px;gap:5px 13px}
  .primary-nav [data-nav="d1"] {margin-left:0}
  .timeline {padding-top:18px}
}


/* V0.28: only the requested refinements to the minimal journal view. */
/* The filter trigger and navigation share the same vertical anchor below. */
/* Give the one-sentence lead enough room to hold its action on the same line
   on desktop without widening the longer technical explanation. */
.entry.pinned .entry-body {max-width:min(920px, calc(100vw - var(--left-column) - 36px));}
.entry.pinned .summary-details {max-width:702px;}
.summary-preview > p .summary-toggle {margin-left:28px;}
/* 1.5 × the previously approved upper-right mark; vertical center near nav. */
.header-illustration {width:141px;top:51px;}
/* One quiet 16:9 image placeholder inside the expanded second entry. */
/* Real media uses the same footprint as the placeholder, without its frame.
   The original transparent artwork retains its proportions on the dark background. */
.journal-media-artwork {margin:2px 0 0;width:min(440px,100%);aspect-ratio:440 / 248;display:flex;align-items:center;justify-content:center}
.journal-media-artwork img {display:block;width:100%;height:100%;object-fit:contain}

.journal-media-placeholder {margin:2px 0 0;width:min(440px,100%);}
.journal-media-placeholder img {display:block;width:100%;height:auto;}
.journal-media-placeholder figcaption {margin:8px 0 0;font-size:12px;color:#777;}
@media (max-width:1050px) {
  .header-illustration {width:116px;top:53px;}
}
@media (max-width:900px) {
  .header-illustration {display:none;}
}
@media (max-width:750px) {
  .entry.pinned .entry-body {max-width:calc(100vw - var(--left-column) - 18px);}
  .entry.pinned .summary-details {max-width:100%;}
  .summary-preview > p .summary-toggle {margin-left:12px;}
}

/* Media entries have no visible metadata or heading: the image is the entry. */
.media-only {max-width:440px;}


/* Headline is the first line of an expanded entry. */
/* Keep the first media entry's top inset unchanged in both states. */
.entry.pinned + .entry.media-entry {margin-top:14px}
.entry.media-entry.expanded {margin-bottom:19px}
.entry-title {margin:0 0 5px;line-height:1.26;}
.entry-details p {margin:0 0 9px;}
.media-only .media-caption {font-size:12px;line-height:1.35;color:#777;margin:8px 0 0;}
.mobile-entry-meta {display:none;}
@media (max-width:900px) {
  /* There's not enough left gutter on compact screens: put one quiet
     metadata label beside the heading rather than allowing overlaps. */
  .mobile-entry-meta {display:inline;color:#777;font-size:11px;font-weight:300;margin-left:10px;white-space:normal;}
}


/* v0.30: three-mode click-cycle filter, no hover menu. */
.filter-control {width:54px;height:56px;}
.menu-button {cursor:pointer;}
.menu-button span {transition:background .16s ease, height .16s ease;}
.menu-button[data-mode="overview"] span {background:#777;}
.menu-button[data-mode="milestones"] span {background:#88b9d2;}
.menu-button[data-mode="all"] span {background:#e2e2e2;}
.menu-button:hover span, .menu-button:focus-visible span {filter:brightness(1.25);}


/* Every entry owns its marker, metadata and content in the same CSS grid.
   Collapsed entries remain in document flow, keeping the bar at its original
   position while later entries slide vertically. */
main {clip-path:inset(0 0 0 var(--site-left));}
.entry .node-cell {position:relative;display:flex;align-items:flex-start;gap:var(--entry-gutter-gap);}
.entry .node {flex:none;}
.entry .entry-gutter-meta {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  width:calc(var(--left-column) - var(--site-left) - var(--bar-width) - var(--entry-gutter-gap) - 8px);
  min-width:0;
  margin-top:3px; /* journal type label calibrated against bar and headline */
  line-height:1;
  pointer-events:none;
  white-space:nowrap;
  text-align:left;
}
/* Type/date opacity is animated only when newly introduced by app.js.
   Rebuilding an already-visible label must never restart the fade. */
.entry .entry-gutter-kind {
  color:#a0a0a0;
  font-size:11px;
  line-height:14px;
  text-transform:uppercase;
  letter-spacing:.075em;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.entry .entry-gutter-kind.milestone {color:var(--milestone);}
.entry .entry-gutter-kind.note {color:#707070;}
.entry .entry-gutter-date {
  color:#737373;
  font-size:12px;
  line-height:14px;
  margin-top:2px;
  letter-spacing:.015em;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
/* The © symbol is a fixed corner control, independent of the animated deck. */
.legal-control {
  position:fixed;
  left:auto;
  right:calc(var(--site-left) - 14px);
  bottom:54px;
  pointer-events:auto;
}
.legal-menu {left:auto;right:0;bottom:100%;}
@media (max-width:900px) {
  .entry .entry-gutter-meta {display:none!important;}
}
@media (max-width:750px) {
  .entry .node-cell {gap:8px;}
  .legal-control {right:calc(var(--site-left) - 14px);bottom:14px;}
}
/* Historical style retained for compatibility; pinned summary shows no type label. */
.entry.pinned .entry-gutter-kind {color:#b5b5b5;}

/* The scroll viewport is a programmatic focus target, not a control.
   Suppress its native focus ring without affecting keyboard focus on controls. */
main#app:focus,
main#app:focus-visible {outline:none;}


/* Equal optical margins on all four corners.
   One viewport-responsive edge margin controls the four corner landmarks.
   The stack-to-sphere image has transparent pixels: compensate for its intrinsic
   whitespace so the visible artwork also follows the shared inset. */
:root { --edge-margin: clamp(24px, 2.85vw, 58px); --site-left: var(--edge-margin); --nav-type-size: clamp(23px, 1.7vw, 28px); }
/* Align the geometric centers of the three bars and the navigation line box. */
.filter-control { left:calc(var(--edge-margin) - 14px); top:calc(var(--edge-margin) + var(--nav-type-size) * 0.65 - 28px); }
.primary-nav { top:var(--edge-margin); font-size:var(--nav-type-size); }
.header-illustration { top:calc(var(--edge-margin) - 11px); right:calc(var(--edge-margin) - 15px); }
.legal-control {
  right:calc(var(--edge-margin) - 14px);
  bottom:calc(var(--edge-margin) - 14px);
  width:48px;
  height:48px;
}
.legal-button {left:14px;top:14px;width:var(--bar-width);height:var(--bar-width);}
@media (min-width:751px) and (max-width:1050px) {
  .header-illustration { top:calc(var(--edge-margin) - 9px);right:calc(var(--edge-margin) - 12px); }
}
@media (max-width:750px) {
  :root { --edge-margin:20px; --site-left:var(--edge-margin); }
  .primary-nav {top:var(--edge-margin);}
  .legal-control {right:calc(var(--edge-margin) - 14px);bottom:calc(var(--edge-margin) - 14px);}
}

/* Entry label offset is defined once in .entry:not(.pinned) .entry-gutter-meta above. */

/* V0.36: animated vertical journal cards and smooth card reordering. */
.timeline {overflow-anchor:none;}
.vertical-card-ghost {position:absolute;z-index:5;pointer-events:none;color:var(--foreground);}
.vertical-card-ghost .entry-content {min-width:0;}

/* No rectangular menu focus frame. Keyboard focus remains visible through the lit bars. */
.menu-button:focus,.menu-button:focus-visible {outline:none;box-shadow:none;}

/* Alignment invariant for the development site:
   JOIN and the first line of every entry begin at exactly the same x coordinate.
   This rule is deliberately explicit so later layout refinements cannot
   independently shift the fixed navigation or the animated journal grid. */
.primary-nav { left:var(--left-column); }
.entry, .entry.pinned.collapsed { grid-template-columns:var(--left-column) minmax(0,1fr); }

/* V0.49 — optically align the visible stack-to-sphere artwork with the
   journal text edge; the image itself contains about 48px of left whitespace. */
.entry[data-id="packed-space-media"] .journal-media-artwork img {
  transform:translate(-48px, -28px);
}
@media (max-width:750px) {
  .entry[data-id="packed-space-media"] .journal-media-artwork img {
    transform:translate(clamp(-48px, -10.9vw, -20px), -28px);
  }
}

/* V0.50 — raise the artwork so its visible top aligns with its journal bar.
   Reclaim the shifted space below without changing the bar's position. */
.entry[data-id="packed-space-media"] .journal-media-artwork {
  margin-bottom:-55px;
}

/* V0.51 — shift D1–D100 as a group to align D100's right edge
   with the summary read/less control, without moving JOIN or PACKED SPACE. */
@media (min-width:1051px) {
  .primary-nav [data-nav="d1"] { margin-left:213px; }
}

/* V0.52 — headline, contextual type metadata and bottom deck for folded cards. */
.entry.pinned .summary-preview > p.lead {
  color:var(--strong);
  font-weight:350;
}
.entry .entry-gutter-kind.intro,
.entry .entry-gutter-kind.diagram {color:#a0a0a0;}
/* The folded items are placed last by the renderer. The first folded row
   absorbs unused vertical space, so the stack rests near the bottom edge.
   FLIP animation handles the movement in either direction. */
.timeline {display:flex;flex-direction:column;}
.timeline > .entry {flex-shrink:0;}
.timeline > .entry.expanded + .entry.collapsed:not(.pinned),
.timeline > .entry.pinned + .entry.collapsed:not(.pinned) {margin-top:auto;}
/* All following collapsed bars form a tight, readable 12px-high stack. */
.timeline > .entry.collapsed:not(.pinned) + .entry.collapsed:not(.pinned) {margin-top:0;}

/* V0.53 — align DIAGRAM card hyphen and type with the visible artwork top.
   Keep the image, its optical left alignment and the content unchanged. */
.entry[data-id="packed-space-media"].expanded > .node-cell {
  transform:translateY(22px);
}

/* V0.54 — optically center entry markers against the rendered type-label glyphs.
   Applies consistently to INTRO, DIAGRAM, STORY and MILESTONE without
   moving the entry row, text or label. */
.entry .node::before { transform:translateY(-2px); }

/* V0.55 — uniform marker thickness, highlighted INTRO label. */
.entry.pinned .node::before {height:2px;}
.entry .entry-gutter-kind.intro {color:var(--strong);}

/* V0.56 — one geometry for all journal markers and the view-mode bars.
   Both are exactly 20px wide and 2px high. Correct the shared text baseline
   rather than introducing type-specific marker offsets. */
:root { --bar-width:20px; --marker-thickness:2px; }
.menu-button span { width:var(--bar-width); height:var(--marker-thickness); }
.entry .node::before,
.entry.pinned .node::before,
.entry.milestone .node::before,
.entry.story .node::before,
.entry.note .node::before {
  width:var(--bar-width);
  height:var(--marker-thickness);
  top:9px;
  transform:translateY(-2px);
}
.entry.pinned.collapsed .node::before { top:9px; }
.entry > .entry-content { position:relative; top:-2px; }

/* V0.57 — one-pixel optical correction across the full journal.
   Marker + type/date metadata move as one unit; all marker colors share
   an exact 2px rectangle without rounded-end visual thickening. */
.entry > .node-cell { transform:translateY(-1px); }
.entry[data-id="packed-space-media"].expanded > .node-cell { transform:translateY(35px); }
.entry .node::before,
.entry.pinned .node::before,
.entry.milestone .node::before,
.entry.story .node::before,
.entry.note .node::before {
  height:2px;
  min-height:2px;
  max-height:2px;
  border:0;
  border-radius:0;
}

/* V0.60 — quiet deployment identifier immediately left of copyright. */
.legal-control .site-version {
  position:absolute;
  right:49px;
  top:16px;
  color:var(--dim);
  font-size:11px;
  font-weight:300;
  line-height:16px;
  white-space:nowrap;
  pointer-events:none;
}

/* V0.63 — footer-aligned collapsed-marker deck.
   The copyright glyph ends exactly --edge-margin above the viewport bottom.
   Each collapsed marker ends 4px above its 12px row bottom, so subtract
   those 4px from the deck's bottom padding to match the footer baseline. */
.timeline { padding-bottom:calc(var(--edge-margin) - 4px); }

/* V0.64 — reserve a fixed non-scrolling footer strip. It matches the
   bottom inset of the version/© control even when the journal overflows. */
main#app { bottom:var(--edge-margin); }
.timeline {
  min-height:max(580px, calc(100dvh - var(--header-height) - var(--edge-margin)));
  padding-bottom:0;
}

/* V0.81 — show only the content type on folded cards in modes 2 and 3.
   Expanded entries keep their dates; mode 1 retains the compact marker stack. */
.timeline[data-mode="milestones"] > .entry.collapsed:not(.pinned),
.timeline[data-mode="all"] > .entry.collapsed:not(.pinned) {
  height:20px;
  min-height:20px;
}
.timeline[data-mode="milestones"] > .entry.collapsed:not(.pinned) > .node-cell,
.timeline[data-mode="all"] > .entry.collapsed:not(.pinned) > .node-cell {height:20px;}

/* Outgoing metadata is an independent visual snapshot, not an interactive card.
   Retain the same type/date styling while fading alongside its moving marker. */
.metadata-exit-ghost {position:absolute;z-index:6;pointer-events:none;display:block;}
.metadata-exit-ghost .entry-gutter-meta {
  display:flex;
  flex-direction:column;
  gap:1px;
  white-space:nowrap;
  line-height:1;
  font-weight:300;
  letter-spacing:.007em;
}
.metadata-exit-ghost .entry-gutter-kind {
  color:#a0a0a0;
  font-size:11px;
  line-height:14px;
  text-transform:uppercase;
  letter-spacing:.075em;
}
.metadata-exit-ghost .entry-gutter-kind.intro {color:var(--strong);}
.metadata-exit-ghost .entry-gutter-kind.milestone {color:var(--milestone);}
.metadata-exit-ghost .entry-gutter-kind.note {color:#707070;}
.metadata-exit-ghost .entry-gutter-date {
  color:#737373;
  font-size:12px;
  line-height:14px;
  margin-top:2px;
  letter-spacing:.015em;
}

/* V0.66 — desktop-only D-series navigation alignment with the opening
   read control. Compact-device navigation retains its existing layout. */
@media (min-width:1051px) {
  .primary-nav [data-nav="d1"] { margin-left:142px; }
}

/* V0.76 — discreet update alert replaces the separate dot.
   The version blinks abruptly orange/gray only while a newer release exists. */
.legal-control .site-version {
  padding:0;
  border:0;
  background:transparent;
  font-family:inherit;
  text-align:right;
  cursor:default;
}
.legal-control .site-version.has-update {
  pointer-events:auto;
  cursor:pointer;
  animation:ps-version-alert 1.6s steps(1,end) infinite;
}
@keyframes ps-version-alert {
  0%, 49.999% {color:var(--strong);}
  50%, 100% {color:#777777;}
}
.legal-control .site-version.has-update:hover,
.legal-control .site-version.has-update:focus-visible {
  animation-play-state:paused;
  color:var(--strong);
}
/* Keep the C fixed on the version-number baseline. The ring is independent. */
.legal-button::before {
  border:0;
  border-radius:0;
  transform:none;
  text-indent:0;
}
.legal-button::after {
  content:"";
  position:absolute;
  left:-0.25px;
  top:-0.25px;
  width:calc(var(--bar-width) + 0.5px);
  height:calc(var(--bar-width) + 0.5px);
  box-sizing:border-box;
  border:1.3px solid currentColor;
  border-radius:50%;
  transform:translate(0px,-1px);
  pointer-events:none;
}

/* V0.74 — desktop experiment: move the entire journal deck 100px below
   its previous position; the fixed top navigation remains unchanged.
   Preserve the bottom non-scrolling footer and the folded-card anchoring. */
@media (min-width:1051px) {
  main#app { top:calc(var(--header-height) + 50px); }
  .timeline {
    min-height:max(0px,calc(100dvh - var(--header-height) - var(--edge-margin) - 50px));
  }
}

/* V0.82 — type/date labels act exactly like their neighboring card markers.
   Preserve existing typography, alignment and card animation. */
.entry .entry-gutter-meta,
.metadata-exit-ghost .entry-gutter-meta {
  padding:0;
  border:0;
  background:transparent;
  font:inherit;
  color:inherit;
  cursor:pointer;
  pointer-events:auto;
}
.entry .entry-gutter-meta:hover .entry-gutter-kind,
.entry .entry-gutter-meta:focus-visible .entry-gutter-kind {
  filter:brightness(1.35);
}
.metadata-exit-ghost .entry-gutter-meta {pointer-events:none;}

/* The three filter bars now indicate the currently selected view mode. */
.menu-button[data-mode="overview"] span,
.menu-button[data-mode="milestones"] span {background:#777;}
.menu-button[data-mode="overview"] span:nth-child(1) {background:var(--strong);}
.menu-button[data-mode="milestones"] span:nth-child(1) {background:var(--strong);}
.menu-button[data-mode="milestones"] span:nth-child(2) {background:var(--milestone);}
.menu-button[data-mode="all"] span {background:var(--strong);}

/* V0.84 — desktop footer becomes a continuation of the journal gutter:
   © beneath its marker column; version beneath the type-label column.
   Keep the exact, approved custom C/ring geometry and footer elevation. */
@media (min-width:1051px) {
  .legal-control {
    left:calc(var(--site-left) - 14px);
    right:auto;
  }
  .legal-control .site-version {
    left:calc(14px + var(--bar-width) + var(--entry-gutter-gap));
    right:auto;
    text-align:left;
  }
  .legal-menu {left:0;right:auto;}
  /* Folded cards rest higher, leaving a deliberate quiet interval above ©. */
  .timeline {padding-bottom:32px;}
  /* Align the selector's three-bar visual center with the navigation glyphs.
     The V0.87 screenshot measured bar center at y=114 and text center at y=103.5. */
  .filter-control {
    top:calc(var(--edge-margin) + var(--nav-type-size) * 0.65 - 29px);
  }
}

/* V0.85 — the fixed left footer needs its own protected vertical strip.
   Clip scrolling journal content above that strip and lift the folded deck.
   Do not alter the C/version positions or the navigation. */
@media (min-width:1051px) {
  main#app {bottom:calc(var(--edge-margin) + 32px);}
  .timeline {
    min-height:max(0px,calc(100dvh - var(--header-height) - var(--edge-margin) - 82px));
    /* Folded markers use more of the safe viewport; fixed footer remains protected. */
    padding-bottom:12px;
  }
}

/* V0.98 — two-level monochrome text hierarchy.
   Match all resting body copy, secondary labels and inactive navigation to
   the existing JOIN gray; keep emphasis off-white and milestones blue. */
:root {--foreground:#707070;--dim:#646464;--quiet-text:#707070;}
.primary-nav a:not(.active) {color:var(--quiet-text);}
.entry-body,
.entry-details,
.entry-body .labeled .item-label,
.entry-body .labeled p,
.entry-body .summary-details,
.entry-body .summary-preview > p:not(.lead),
.entry-body a.inline-link,
.entry-date,
.summary-toggle,
.entry .entry-gutter-kind,
.entry .entry-gutter-kind.note,
.entry .entry-gutter-kind.diagram,
.entry .entry-gutter-date,
.entry.pinned .entry-gutter-kind,
.metadata-exit-ghost .entry-gutter-kind,
.metadata-exit-ghost .entry-gutter-kind.note,
.metadata-exit-ghost .entry-gutter-date,
.media-only .media-caption,
.mobile-entry-meta,
.event-tag.story,
.event-tag.note {color:var(--quiet-text);}
.entry.pinned .summary-preview > p.lead,
.entry .entry-gutter-kind.intro,
.metadata-exit-ghost .entry-gutter-kind.intro,
.entry-title {color:var(--strong);}
.entry .entry-gutter-kind.milestone,
.metadata-exit-ghost .entry-gutter-kind.milestone,
.event-tag {color:var(--milestone);}

/* V0.102 — all neutral gray markers use the normal text gray.
   Off-white intro/selected filter bars and blue milestones keep their meaning. */
.node::before,
.entry.story .node::before,
.entry.note .node::before {background:var(--quiet-text);}
.entry.expanded:not(.pinned) .node::before {filter:none;}
.menu-button[data-mode="overview"] span,
.menu-button[data-mode="milestones"] span {background:var(--quiet-text);}
/* V0.103 — only in-paragraph D-series references are links.
   A distinct medium gray signals them, off-white on hover/focus; no underline. */
.entry-body a.inline-link,
.entry-body a.inline-link:visited {
  color:#909090;
  text-decoration:none;
}
.entry-body a.inline-link:hover,
.entry-body a.inline-link:focus-visible {
  color:var(--strong);
  text-decoration:none;
}

/* V0.106 — custom browser text selection palette. */
::selection { background:#404040; color:#707070; }
::-moz-selection { background:#404040; color:#707070; }

/* V0.115 — two-tone opening goal: restrained setup, off-white objective. */
.entry.pinned .summary-preview > p.lead.packed-goal {color:var(--quiet-text);}
.entry.pinned .summary-preview > p.lead.packed-goal .goal-emphasis {color:var(--strong);}

/* V0.116 — keep the continuation control close to the opening sentence. */
.summary-preview > p .summary-toggle {margin-left:12px;}

/* V0.128 — reclaim the 96px gap above the diagram on PACKS only.
   Footer and folded markers retain their previous lower alignment. */
@media (min-width:1051px) {
  main#app.packs-diagram-first {top:calc(var(--header-height) - 41px);}
  main#app.packs-diagram-first .timeline {
    min-height:max(0px,calc(100dvh - var(--header-height) - var(--edge-margin) + 9px));
  }
}

/* V0.130 — keep the leading diagram visibly identifiable as a journal card. */
.entry[data-id="packed-space-media"] .node::before {
  background:#909090;
  opacity:1;
}

/* V0.138 — consistent spacing after INTRO before any expanded journal card. */
main#app.packs-diagram-first .timeline > .entry.pinned + .entry.expanded:not(.media-entry) {margin-top:36px;}

/* V0.137 — with the first diagram folded, place the INTRO below the
   fixed header rather than allowing its marker and copy to slip beneath it. */
@media (min-width:1051px) {
  main#app.packs-diagram-folded .timeline {padding-top:69px;}
}

/* V0.139 — INTRO can now fold into the bottom stack like every other card.
   Retain its own marker/type label, but never leave a visible teaser behind. */
.timeline > .entry.pinned.intro-hidden {
  height:12px;
  min-height:12px;
  margin-bottom:0;
}
.timeline > .entry.pinned.intro-hidden > .entry-content {display:none;}
.timeline > .entry.pinned.intro-hidden > .node-cell,
.timeline > .entry.pinned.intro-hidden .node {height:12px;}
.timeline > .entry.expanded + .entry.pinned.intro-hidden,
.timeline > .entry.pinned.intro-hidden:first-child {margin-top:auto;}
.timeline > .entry.pinned.intro-hidden + .entry.collapsed:not(.pinned) {margin-top:0;}
@media (min-width:1051px) {
  .timeline[data-mode="milestones"] > .entry.pinned.intro-hidden,
  .timeline[data-mode="all"] > .entry.pinned.intro-hidden {height:20px;min-height:20px;}
  .timeline[data-mode="milestones"] > .entry.pinned.intro-hidden > .node-cell,
  .timeline[data-mode="all"] > .entry.pinned.intro-hidden > .node-cell {height:20px;}
}

/* V0.142 — anchor an entirely folded deck to the bottom-left footer area.
   When there are no open cards, the first collapsed card must absorb the
   available height just as the first folded card after an expanded entry does. */
.timeline > .entry.collapsed:first-child {margin-top:auto;}

/* V0.143 — quiet, non-interactive mode caption beside the three-bar selector.
   Keep the selector and the fixed navigation exactly where they are. */
.filter-control .mode-label {
  position:absolute;
  left:calc(14px + var(--bar-width) + var(--entry-gutter-gap));
  top:20px;
  font-size:11px;
  line-height:14px;
  font-weight:350;
  letter-spacing:.075em;
  color:var(--strong);
  white-space:nowrap;
  pointer-events:none;
  user-select:none;
}
.filter-control .mode-label[data-mode="milestones"] {color:var(--milestone);}
.filter-control .mode-label[data-mode="all"] {color:var(--strong);}
.filter-control .mode-label.is-preview {color:var(--quiet-text);}

/* V0.149 — consistent muted mode text and one-pixel marker-only adjustment. */
.filter-control .mode-label,
.filter-control .mode-label[data-mode="milestones"],
.filter-control .mode-label[data-mode="all"],
.filter-control .mode-label.is-preview {color:#707070;}
.filter-control .menu-button {top:12px;}

/* V0.150 — while previewing the next mode, show its exact three-bar palette. */
.menu-button[data-preview="overview"] span,
.menu-button[data-preview="milestones"] span {background:var(--quiet-text);}
.menu-button[data-preview="overview"] span:nth-child(1),
.menu-button[data-preview="milestones"] span:nth-child(1) {background:var(--strong);}
.menu-button[data-preview="milestones"] span:nth-child(2) {background:var(--milestone);}
.filter-control .menu-button[data-preview="all"] span {background:var(--strong);}
.menu-button[data-preview]:not([data-preview=""]) span {filter:none;}

/* V0.154 — extend the desktop gutter by 15px, keeping marker/type navigation fixed.
   Shift the central card content and its aligned top navigation together. */
@media (min-width:1051px) {
  .primary-nav {left:calc(var(--left-column) + 35px);}
  .entry, .entry.pinned.collapsed {
    grid-template-columns:calc(var(--left-column) + 35px) minmax(0,1fr);
  }
}

/* V0.156 — the mode type text is an accessible companion control. */
.filter-control .mode-label {
  display:block;
  padding:0;
  border:0;
  background:transparent;
  font-family:inherit;
  text-align:left;
  cursor:pointer;
  pointer-events:auto;
}
.filter-control .mode-label:focus-visible {outline:none;text-decoration:underline;text-underline-offset:3px;}

/* V0.166 — footer follows the fixed marker gutter on ChromeOS/tablet widths too.
   Previously this alignment existed only above 1050px. */
.legal-control {
  left:calc(var(--site-left) - 14px);
  right:auto;
}
.legal-control .site-version {
  left:calc(14px + var(--bar-width) + var(--entry-gutter-gap));
  right:auto;
  text-align:left;
}
.legal-menu {left:0;right:auto;}


/* V0.171 — reserve a protected footer strip at Chromebook/tablet widths.
   The 580px minimum and the smaller bottom inset previously allowed folded
   markers to overlap the fixed © / version row. Desktop remains unchanged. */
@media (max-width:1050px) {
  main#app {bottom:calc(var(--edge-margin) + 32px);}
  main#app .timeline {
    min-height:max(0px, calc(100dvh - var(--header-height) - var(--edge-margin) - 32px));
    padding-bottom:12px;
  }
}

/* V0.172 — Chromebook/tablet layouts retain the full journal gutter.
   Earlier <=900px rules hid type/date labels; the 140px gutter also cramped
   the view-mode caption. Keep the compact phone layout separate. */
@media (min-width:751px) and (max-width:1050px) {
  :root {--left-column:205px;}
  .primary-nav {left:calc(var(--left-column) + 35px);}
  .entry, .entry.pinned.collapsed {
    grid-template-columns:calc(var(--left-column) + 35px) minmax(0,1fr);
  }
  .entry .entry-gutter-meta {display:flex!important;}
}

/* V0.173 — match the desktop's raised opening diagram on Chromebook.
   Preserve the responsive footer clearance and leave phones unchanged. */
@media (min-width:751px) and (max-width:1050px) {
  main#app.packs-diagram-first {top:calc(var(--header-height) - 41px);}
  main#app.packs-diagram-first .timeline {
    min-height:max(0px, calc(100dvh - var(--header-height) - var(--edge-margin) + 9px));
  }
}

/* V0.175 — exact geometry for the PACKED SPACE identity on all platforms. */
.primary-nav a.brand-link {display:flex;align-items:center;min-height:1.3em;}
.primary-nav .brand-wordmark {display:block;width:auto;height:.94em;flex:none;}
.primary-nav a.brand-link:not(.active) .brand-wordmark {opacity:.42;}
.primary-nav a.brand-link:hover .brand-wordmark {opacity:1;}

/* V0.178 — uniform Rhino outline navigation: same source letter height for every label.
   Preserve existing spacing, positioning, active state and link hit targets. */
.primary-nav a {display:flex;align-items:center;min-height:1.3em;}
.primary-nav img.nav-wordmark {
  display:block;
  width:auto;
  height:.752em;
  max-width:none;
  flex:none;
  user-select:none;
}
.primary-nav a:not(.active) img.nav-wordmark {opacity:.42;}
.primary-nav a.active img.nav-wordmark,
.primary-nav a:hover img.nav-wordmark {opacity:1;}
