/* Content Index styles. Colors are tokens on :root; nothing else hard-codes a color. */
:root {
  --bg: #eceff3; --surface: #f8f9fb; --ink: #18202e; --muted: #5b6577; --line: #d2d8e0; --accent: #2e46c4; --accent-ink: #ffffff; --band: rgba(24, 32, 46, .035);
  --c-podcast: #7c52e0; --c-youtube: #d24434; --c-substack: #d97a12; --c-blog: #2b8a69; --c-facebook: #3a6fd6; --c-instagram: #c23d8a; --c-tool: #7f7d23; --c-skool: #5b6577; --c-other: #6b7280; --c-website: #5b6577; --c-tiktok: #1f2937; --c-linkedin: #0a66c2;
  --k-project: #0f7c8c; --k-client: #8a5a12; --k-event: #b0367a; --k-life: #6b7a8f;
  --e-bg: #171329; --e-line: #2b2450; --e-line2: #3d3570; --e-ink: #ece8ff; --e-muted: #b3aad8; --e-gold: #ffc66b; --e-gold-ink: #1b1300;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121722; --surface: #19202d; --ink: #e4e8ef; --muted: #97a1b3; --line: #2a3344; --accent: #93a5ff; --accent-ink: #0d1430; --band: rgba(228, 232, 239, .035);
    --c-podcast: #a58bff; --c-youtube: #ff7a66; --c-substack: #f2a24a; --c-blog: #5cc39b; --c-facebook: #7aa3ff; --c-instagram: #f07ab9; --c-tool: #c9c463; --c-skool: #a3adbf; --c-other: #a3adbf; --c-website: #a3adbf; --c-tiktok: #e5e7eb; --c-linkedin: #6aa8f0;
    --k-project: #4fc3d4; --k-client: #e0a95a; --k-event: #f08cc4; --k-life: #a9b6c9;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: max(18px, env(safe-area-inset-top)) 0 0; color: var(--muted); font-size: .9rem; }
.top a { text-decoration: none; color: var(--ink); font-weight: 700; }
.nav { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; margin: .9rem 0 0; font-size: .92rem; }
.nav a { color: var(--muted); text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current=page] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
.top a:hover { text-decoration: underline; }
.mock { border: 1px dashed var(--line); border-radius: 999px; padding: .1em .7em; font-size: .8rem; }
h1 { font: 700 clamp(2.4rem, 7vw, 4.6rem)/0.98 var(--display); letter-spacing: -0.03em; margin: 1.6rem 0 .8rem; max-width: 14ch; font-variation-settings: "wdth" 85; }
.lead { max-width: 58ch; color: var(--muted); margin: 0 0 1.6rem; font-size: 1.05rem; }

/* The field: every piece as a particle on a timeline */
.field { position: relative; height: clamp(190px, 28vw, 260px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 .4rem; overflow: hidden; }
.band { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.band:nth-child(even) { background: var(--band); }
.band span { position: absolute; left: 6px; bottom: 4px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.band.narrow span { display: none; }
.dot { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border: 0; padding: 0; border-radius: 50%; background: var(--c); cursor: pointer; transition: opacity .25s, transform .25s; }
.dot.audio { background: transparent; box-shadow: inset 0 0 0 3px var(--c); }
.dot.tool { border-radius: 2px; transform: rotate(45deg) scale(.82); }
.dot.upcoming { background: transparent; box-shadow: inset 0 0 0 2px var(--c); outline: 2px dashed var(--c); outline-offset: 3px; }
.dot.dim { opacity: .12; }
.dot:hover, .dot.hot { z-index: 3; filter: brightness(1.15) saturate(1.2); }
.field.drift .dot { transition: left 1.3s cubic-bezier(.2, .8, .2, 1), top 1.3s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.tip { position: absolute; z-index: 5; pointer-events: none; max-width: 240px; background: var(--ink); color: var(--bg); font-size: .82rem; line-height: 1.35; padding: .4em .6em; border-radius: 6px; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .12s; }
.tip.on { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .8rem; color: var(--muted); margin: 0 0 2rem; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: .4em; vertical-align: -1px; background: var(--muted); border-radius: 50%; }
.legend i.ring { background: transparent; box-shadow: inset 0 0 0 2px var(--muted); }
.legend i.diamond { border-radius: 1px; transform: rotate(45deg) scale(.85); }
.legend i.dash { background: transparent; outline: 1.5px dashed var(--muted); outline-offset: 1px; width: 8px; height: 8px; }

/* Controls */
.controls { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.search { position: relative; }
.search svg { position: absolute; left: .8rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
input[type=search], select { font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-height: 2.8rem; padding: .5em .8em; }
input[type=search] { width: 100%; padding-left: 2.4rem; }
select { padding-right: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.chip { font: inherit; font-size: .9rem; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .35em .85em; min-height: 2.3rem; cursor: pointer; display: inline-flex; align-items: center; gap: .45em; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); }
.chip small { color: var(--muted); font-size: .8em; font-variant-numeric: tabular-nums; }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed=true] small { color: inherit; opacity: .7; }

/* Collections */
.collections { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .8rem; margin: 2rem 0; }
.coll { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; min-height: 11rem; }
.coll h3 { font: 700 1.35rem/1.1 var(--display); margin: 0; letter-spacing: -0.01em; }
.coll .kind { color: var(--muted); font-size: .82rem; margin: 0; }
.coll p { margin: 0; font-size: .92rem; color: var(--muted); }
.coll .acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .6rem; }
.btn { font: inherit; font-size: .88rem; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: .35em .75em; min-height: 2.3rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn[aria-pressed=true] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.coll.entropy { background: var(--e-bg); border-color: var(--e-line); color: var(--e-ink); overflow: hidden; }
.coll.entropy .kind, .coll.entropy p { color: var(--e-muted); }
.coll.entropy .btn { border-color: var(--e-line2); color: var(--e-ink); }
.coll.entropy .btn.solid { background: var(--e-gold); border-color: var(--e-gold); color: var(--e-gold-ink); }
.coll.entropy canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.coll.entropy > :not(canvas) { position: relative; }

/* The list */
.status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .9rem; min-height: 2.4rem; border-bottom: 2px solid var(--ink); padding-bottom: .4rem; }
.year { display: grid; grid-template-columns: 6.5rem 1fr; border-bottom: 1px solid var(--line); }
.year h2 { font: 700 1.6rem/1 var(--display); margin: 0; padding: 1rem 0; position: sticky; top: 0; align-self: start; font-variant-numeric: tabular-nums; color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .2rem 1rem; padding: .95rem 0; border-top: 1px solid var(--line); scroll-margin-top: 4rem; }
.rows .row:first-child { border-top: 0; }
.row.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: color-mix(in srgb, var(--accent) 18%, transparent); } to { background: transparent; } }
.when { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; padding-top: .15rem; }
.what { min-width: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .7rem; font-size: .8rem; color: var(--muted); margin-bottom: .15rem; }
.plat { display: inline-flex; align-items: center; gap: .4em; color: var(--ink); font-weight: 700; }
.plat i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.tag { border: 1px solid var(--line); border-radius: 4px; padding: 0 .4em; font-size: .75rem; }
.tag.sample { border-style: dashed; }
.tag.soon { border-color: var(--c-podcast); color: var(--c-podcast); }
.row h3 { font: 600 1.12rem/1.3 var(--display); margin: 0; letter-spacing: -0.005em; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.row p { margin: .2rem 0 0; color: var(--muted); font-size: .93rem; max-width: 64ch; }
.len { color: var(--muted); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: .15rem; display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.out { text-decoration: none; border: 1px solid var(--line); border-radius: 6px; min-width: 2rem; min-height: 2rem; display: grid; place-items: center; color: var(--ink); }
.out:hover { border-color: var(--ink); }
.empty { padding: 3rem 0; text-align: left; color: var(--muted); }
.synced { display: inline-flex; align-items: center; gap: .45em; font-size: .8rem; color: var(--muted); }
.synced::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-blog); }
.empty strong { color: var(--ink); display: block; font: 700 1.3rem var(--display); margin-bottom: .3rem; }
footer { color: var(--muted); font-size: .85rem; padding: 2.5rem 0 max(2.5rem, env(safe-area-inset-bottom)); max-width: 64ch; }

@media (max-width: 760px) {
  .collections { grid-template-columns: 1fr; }
  .coll { min-height: 0; }
  .year { grid-template-columns: 1fr; }
  .year h2 { position: static; padding: 1.2rem 0 .2rem; }
  .row { grid-template-columns: 1fr auto; }
  .when { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 420px) {
  .controls { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Progress marks, shared by the Ingestion and Development pages. Same language as the field: filled is done, a ring is under way, dashed is coming next, faint is later. */
.mark { --m: var(--accent); display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; vertical-align: -2px; }
.mark.done { background: var(--m); }
.mark.active { box-shadow: inset 0 0 0 2.5px var(--m); background: radial-gradient(circle, var(--m) 0 3px, transparent 3.5px); }
.mark.next { box-shadow: inset 0 0 0 2px var(--m); }
.mark.planned { outline: 1.5px dashed var(--muted); outline-offset: -2px; }
.mark.idea { background: var(--line); transform: scale(.6); }
.mark.none { box-shadow: inset 0 0 0 1.5px var(--line); }
.keys { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .82rem; color: var(--muted); margin: 0 0 1.2rem; padding: 0; list-style: none; }
.keys li { display: inline-flex; align-items: center; gap: .45em; }
.page-h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); max-width: 18ch; }
.sum { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0 0 2rem; }
.sum div { min-width: 7rem; }
.sum b { display: block; font: 700 2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.sum span { color: var(--muted); font-size: .85rem; }

/* Spans of time (projects, client work, events, life phases) along the bottom of the field */
.span { position: absolute; height: 6px; border-radius: 3px; background: var(--c); opacity: .75; cursor: pointer; border: 0; padding: 0; min-width: 6px; transition: opacity .25s; }
.span.ongoing { background: linear-gradient(90deg, var(--c) 70%, transparent); }
.span.dim { opacity: .12; }
.span:hover, .span.hot { opacity: 1; z-index: 3; }
.legend i.bar { width: 18px; height: 5px; border-radius: 3px; vertical-align: 1px; }
.chips.kinds { margin-top: .5rem; }
.chips.kinds .chip { font-size: .85rem; min-height: 2.1rem; }

/* The source button at the top of an entry page */
.source { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--accent)); border-radius: 12px; padding: .9rem 1rem; margin: 0 0 1.8rem; }
.source .btn.solid { font-size: 1rem; min-height: 2.8rem; padding: .5em 1.1em; }
.source p { margin: 0; color: var(--muted); font-size: .92rem; }
.body { max-width: 66ch; font-size: 1.05rem; line-height: 1.7; }
.body p { margin: 0 0 1.1em; }

/* Hover cards */
.term { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted var(--accent) 2px; text-underline-offset: 4px; }
.term:hover, .term[aria-expanded=true] { text-decoration-style: solid; }
.lexchip small { color: var(--muted); }
.lexcard { position: absolute; z-index: 50; width: min(320px, calc(100vw - 16px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .95rem .85rem; box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--ink) 35%, transparent); }
.lexcard p { margin: 0; }
.lexkind { color: var(--muted); font-size: .78rem; }
.lexname { font: 700 1.15rem/1.2 var(--display); margin: .1rem 0 .35rem !important; }
.lexsum { font-size: .92rem; color: var(--muted); }
.lexacts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .6rem; font-size: .88rem; }
