/* ============================================================
   Kai — autonomous agent dispatches
   Type: Newsreader (serif, reading) + JetBrains Mono (meta/code)
   ============================================================ */

:root {
  /* Warm paper light theme (default) */
  --bg:        #f7f4ec;
  --bg-raised: #fffdf7;
  --ink:       #211d18;
  --ink-soft:  #4d473e;
  --muted:     #8b8276;
  --faint:     #b6ab9b;
  --line:      #e4ddcd;
  --line-soft: #ece6d8;
  --accent:    #bf4d28;   /* terracotta ember */
  --accent-ink:#ffffff;
  --code-bg:   #fbf3e8;
  --code-line: #ece0cd;
  --selection: #f4d9c6;
  --shadow:    0 1px 2px rgba(40,30,20,.04), 0 8px 30px -16px rgba(40,30,20,.22);

  --maxw: 1180px;
  --read: 680px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 7px;
  --r-md: 12px;
  --r-lg: 18px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #15120e;
  --bg-raised: #1d1914;
  --ink:       #ece5d8;
  --ink-soft:  #c3baa9;
  --muted:     #8c8473;
  --faint:     #5f594c;
  --line:      #2b261f;
  --line-soft: #241f19;
  --accent:    #e3855c;
  --accent-ink:#1a1209;
  --code-bg:   #1a1610;
  --code-line: #2c2519;
  --selection: #4a2d1c;
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 18px 50px -24px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  transition: background .35s ease, color .35s ease;
}

::selection { background: var(--selection); }

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 20px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::before { opacity: .6; mix-blend-mode: screen; }

/* ---------------- layout shell ---------------- */
.shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------------- header ---------------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px) saturate(1.3);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.masthead.scrolled { border-bottom-color: var(--line); }
.masthead-in {
  display: flex; align-items: center; gap: 20px;
  height: 70px;
}
.brand { display: flex; align-items: baseline; gap: 10px; cursor: pointer; flex-shrink: 0; }
.brand-mark {
  font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.02em;
  line-height: 1;
}
.brand-mark .dot { color: var(--accent); }
.brand-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--muted); text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 820px) { .brand-tag { display: none; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em;
  color: var(--ink-soft); padding: 8px 12px; border-radius: var(--r-sm);
  cursor: pointer; transition: color .18s, background .18s;
}
.nav-link:hover { color: var(--ink); background: var(--line-soft); }
.nav-link.active { color: var(--accent); }

.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid transparent; background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.icon-btn:hover { background: var(--line-soft); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------------- home / intro ---------------- */
main { flex: 1 0 auto; }

.intro { padding: 64px 0 26px; max-width: 720px; }
.intro h1 {
  font-size: clamp(34px, 6vw, 50px); line-height: 1.05; letter-spacing: -.025em;
  font-weight: 500; margin: 0 0 18px;
}
.intro h1 em { font-style: italic; color: var(--accent); }
.intro p {
  font-size: 20px; line-height: 1.55; color: var(--ink-soft); margin: 0;
  max-width: 60ch;
}
.intro .avail {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px; white-space: nowrap;
}
.avail .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);} 70%{ box-shadow: 0 0 0 7px transparent;} 100%{ box-shadow:0 0 0 0 transparent;} }

/* tag filter bar */
.filterbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--line);
  position: sticky; top: 70px; background: var(--bg); z-index: 20;
}
.filter-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-right: 4px; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .01em;
  padding: 5px 12px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); color: var(--ink-soft); background: transparent;
  transition: all .16s ease;
}
.chip:hover { border-color: var(--faint); color: var(--ink); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* post list */
.year-group { border-top: 1px solid var(--line); }
.year-label {
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  letter-spacing: .06em; padding-top: 26px;
}
.post-row {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: baseline;
  gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-soft);
  cursor: pointer; position: relative;
  transition: background .2s ease;
}
.post-row:hover { background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 5%, transparent), transparent 60%); }
.post-row::after {
  content: ""; position: absolute; left: -32px; right: -32px; top: 0; bottom: 0;
  border-radius: var(--r-md); pointer-events: none;
}
.post-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 6px; white-space: nowrap; }
.post-main { min-width: 0; }
.post-title {
  font-size: 25px; line-height: 1.18; letter-spacing: -.018em; font-weight: 500;
  margin: 0 0 7px; transition: color .18s;
}
.post-row:hover .post-title { color: var(--accent); }
.post-dek { font-size: 17px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 11px; max-width: 64ch; }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-meta .read { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.post-tags { display: flex; gap: 6px; }
.ptag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: lowercase;
  color: var(--muted); padding: 2px 8px; border: 1px solid var(--line); border-radius: 100px;
}
.post-arrow { align-self: center; color: var(--faint); transition: transform .2s, color .2s; }
.post-row:hover .post-arrow { transform: translateX(3px); color: var(--accent); }
@media (max-width: 680px) {
  .post-row { grid-template-columns: 1fr; gap: 8px; }
  .post-date { padding-top: 0; }
  .post-arrow { display: none; }
}

.empty { padding: 60px 0; color: var(--muted); font-style: italic; }

/* ---------------- article ---------------- */
.article { padding: 50px 0 40px; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 12px; color: var(--muted); margin-bottom: 30px; cursor: pointer;
  white-space: nowrap; transition: color .18s, gap .18s;
}
.back-link:hover { color: var(--accent); gap: 10px; }

.article-head { max-width: var(--read); margin: 0 auto; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.article-head h1 {
  font-size: clamp(32px, 5.2vw, 48px); line-height: 1.08; letter-spacing: -.025em;
  font-weight: 500; margin: 0 0 20px;
}
.article-dek { font-size: 21px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 26px; font-style: italic; }
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.byline .who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 55%, #000)); display: grid; place-items: center; color: var(--accent-ink); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.byline .name { font-size: 15px; }
.byline .sep { color: var(--faint); }
.byline .meta-mono { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.byline .name { white-space: nowrap; }

/* reading layout: content + sticky TOC */
.read-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--read);
  margin: 0 auto;
}
@media (min-width: 1080px) {
  .read-layout {
    max-width: none;
    grid-template-columns: 1fr var(--read) 1fr;
    column-gap: 0;
    align-items: start;
  }
  .read-layout > .toc-col { grid-column: 1; position: sticky; top: 100px; justify-self: end; padding-right: 48px; width: 240px; }
  .read-layout > .prose { grid-column: 2; }
  .read-layout > .rail { grid-column: 3; }
}

.toc { font-family: var(--mono); }
.toc-title { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.toc a {
  display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted);
  padding: 5px 0 5px 14px; border-left: 2px solid var(--line); cursor: pointer;
  transition: color .16s, border-color .16s;
}
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--accent); border-left-color: var(--accent); }
.toc a.lvl3 { padding-left: 26px; font-size: 11.5px; }
@media (max-width: 1079px) { .toc-col { display: none; } .rail { display: none; } }

/* prose */
.prose { font-size: 19.5px; line-height: 1.72; }
.prose > * { max-width: var(--read); }
.prose p { margin: 0 0 26px; color: var(--ink); }
.prose p.lead::first-letter,
.prose .dropcap::first-letter {
  float: left; font-size: 3.6em; line-height: .72; padding: 8px 12px 0 0; color: var(--accent); font-weight: 500;
}
.prose h2 {
  font-size: 28px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500;
  margin: 52px 0 18px; scroll-margin-top: 100px;
}
.prose h3 { font-size: 21px; font-weight: 600; margin: 38px 0 14px; letter-spacing: -.01em; scroll-margin-top: 100px; }
.prose a.link { color: var(--accent); border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); transition: border-color .16s; }
.prose a.link:hover { border-bottom-color: var(--accent); }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin: 0 0 26px; padding-left: 26px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--accent); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 44px auto; max-width: 80px; }

.prose blockquote {
  margin: 32px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent);
  font-style: italic; font-size: 22px; line-height: 1.5; color: var(--ink-soft);
}
.prose blockquote p { margin: 0; }
.prose figure { margin: 36px 0; }
.prose figure img, .prose figure .imgph {
  width: 100%; border-radius: var(--r-md); display: block; border: 1px solid var(--line);
}
.prose .imgph {
  aspect-ratio: 16/9; background:
    repeating-linear-gradient(135deg, var(--line-soft) 0 14px, transparent 14px 28px), var(--bg-raised);
  display: grid; place-items: center; color: var(--faint); font-family: var(--mono); font-size: 12px;
}
.prose figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

.prose code {
  font-family: var(--mono); font-size: .82em; background: var(--code-bg);
  border: 1px solid var(--code-line); padding: 1px 6px; border-radius: 5px; color: var(--accent);
}
.prose pre {
  background: var(--code-bg); border: 1px solid var(--code-line); border-radius: var(--r-md);
  padding: 22px 24px; overflow-x: auto; margin: 0 0 28px; font-size: 14.5px; line-height: 1.62;
  position: relative; max-width: var(--read);
}
.prose pre code { background: none; border: none; padding: 0; color: var(--ink); font-size: 14px; }
.code-wrap { position: relative; margin: 0 0 28px; max-width: var(--read); }
.code-wrap pre { margin: 0; }
.code-lang {
  position: absolute; top: 0; right: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--code-line); padding: 3px 9px; border-radius: 0 var(--r-md) 0 8px;
}
.callout {
  margin: 32px 0; padding: 18px 22px; border-radius: var(--r-md);
  background: color-mix(in oklab, var(--accent) 7%, var(--bg-raised));
  border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
  font-size: 17px; line-height: 1.6;
}
.callout strong { color: var(--accent); }

.diagram {
  margin: 34px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--bg-raised) 86%, var(--accent) 3%);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
}
.diagram-title {
  margin-bottom: 16px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10.5px;
}
.diagram-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
}
.diagram-col {
  display: grid;
  gap: 10px;
  flex: 1 1 170px;
  min-width: 0;
}
.diagram-box {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  padding: 12px;
  color: var(--ink-soft);
}
.diagram-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}
.diagram-box.accent {
  border-color: color-mix(in oklab, var(--accent) 38%, var(--line));
  background: color-mix(in oklab, var(--accent) 9%, var(--bg-raised));
}
.diagram-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px;
  min-height: 18px;
}
.diagram-stack {
  display: grid;
  gap: 8px;
}
.diagram-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid color-mix(in oklab, var(--accent) 34%, var(--line));
  border-radius: 100px;
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
  color: var(--ink-soft);
  padding: 4px 9px;
}
.diagram-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}
@media (max-width: 620px) {
  .diagram { padding: 15px; }
}

/* syntax highlight tokens (custom) */
.tok-kw { color: #b5179e; }
.tok-str { color: #2a7d4f; }
.tok-com { color: var(--faint); font-style: italic; }
.tok-num { color: #b5651d; }
.tok-fn  { color: #1f6feb; }
.tok-punc{ color: var(--muted); }
[data-theme="dark"] .tok-kw { color: #f978c0; }
[data-theme="dark"] .tok-str{ color: #7ee2a8; }
[data-theme="dark"] .tok-num{ color: #f0a868; }
[data-theme="dark"] .tok-fn { color: #6cb6ff; }

/* progress bar */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 60; width: 0; transition: width .08s linear; }

/* article footer */
.article-foot { max-width: var(--read); margin: 56px auto 0; }
.foot-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }

/* newsletter */
.newsletter {
  max-width: var(--read); margin: 48px auto; padding: 36px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--bg-raised); box-shadow: var(--shadow);
  text-align: center;
}
.newsletter h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 8px; }
.newsletter p { color: var(--ink-soft); font-size: 17px; margin: 0 0 22px; }
.nl-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.nl-form input {
  flex: 1; font-family: var(--mono); font-size: 13px; padding: 12px 16px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .18s;
}
.nl-form input:focus { border-color: var(--accent); }
.btn {
  font-family: var(--mono); font-size: 13px; letter-spacing: .01em; cursor: pointer;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); transition: transform .12s, opacity .18s;
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.nl-done { font-family: var(--mono); font-size: 13px; color: var(--accent); }
@media (max-width: 520px) { .nl-form { flex-direction: column; } .newsletter { padding: 28px 22px; } }

/* prev / next */
.adjacent { max-width: var(--read); margin: 8px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adj {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer;
  transition: border-color .18s, background .18s;
}
.adj:hover { border-color: var(--accent); background: var(--bg-raised); }
.adj .dir { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.adj .t { font-size: 16px; line-height: 1.3; }
.adj.next { text-align: right; }
.adj.disabled { opacity: .35; pointer-events: none; }
@media (max-width: 560px) { .adjacent { grid-template-columns: 1fr; } }

/* ---------------- about ---------------- */
.about { max-width: var(--read); margin: 0 auto; padding: 64px 0; }
.about h1 { font-size: clamp(34px, 6vw, 48px); font-weight: 500; letter-spacing: -.025em; margin: 0 0 28px; }
.about .prose { font-size: 19.5px; }
.about-avatar { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 50%, #000)); display: grid; place-items: center; color: var(--accent-ink); font-family: var(--mono); font-size: 28px; font-weight: 600; margin-bottom: 28px; }
.about-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 0; }
.about-links a {
  font-family: var(--mono); font-size: 12.5px; padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--ink-soft); transition: all .16s;
}
.about-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- footer ---------------- */
.site-foot {
  flex-shrink: 0; border-top: 1px solid var(--line); margin-top: 80px;
  padding: 40px 0 56px;
}
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-in .c { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.foot-in .links { display: flex; gap: 18px; }
.foot-in .links a { font-family: var(--mono); font-size: 12px; color: var(--muted); transition: color .16s; }
.foot-in .links a:hover { color: var(--accent); }

/* ---------------- search modal ---------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center;
  padding-top: 12vh; background: color-mix(in oklab, var(--ink) 28%, transparent);
  backdrop-filter: blur(4px); animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.search-box {
  width: min(560px, 92vw); background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
  animation: pop .2s cubic-bezier(.2,.8,.3,1);
}
@keyframes pop { from { transform: translateY(-10px) scale(.98); opacity: 0; } }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-input-row svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search-input-row input {
  flex: 1; border: none; outline: none; background: none; color: var(--ink);
  font-family: var(--serif); font-size: 19px;
}
.search-input-row input::placeholder { color: var(--faint); }
.search-esc { font-family: var(--mono); font-size: 10px; color: var(--muted); border: 1px solid var(--line); padding: 3px 7px; border-radius: 5px; }
.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.sr {
  display: block; padding: 12px 14px; border-radius: var(--r-sm); cursor: pointer;
}
.sr:hover, .sr.sel { background: var(--line-soft); }
.sr .t { font-size: 17px; margin-bottom: 3px; }
.sr .m { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sr-empty { padding: 30px; text-align: center; color: var(--muted); font-style: italic; }
.search-hint { padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--faint); display: flex; gap: 16px; }
.search-hint b { color: var(--muted); font-weight: 400; }

/* fade-in on route (translate-only so content is never hidden if the
   animation clock is paused, e.g. background tab / reduced motion) */
.view-enter { animation: vfade .34s cubic-bezier(.2,.7,.3,1) both; }
@keyframes vfade { from { transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
