/* ==========================================================================
   David Anderson: portfolio
   Mobile-first. One stylesheet, no framework, no web fonts.
   Concept: the "spec sheet": editorial serif headlines over a quiet grid,
   with monospace annotations the way a PM marks up a PRD.
   ========================================================================== */

:root {
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --ink: #16140f;
  --ink-2: #4b463d;
  --ink-3: #8a8377;
  --rule: #d9d2c6;
  --accent: #e4572e;          /* overridden per project */
  --accent-ink: #ffffff;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --pad: clamp(1.25rem, 5vw, 3rem);
  --max: 72rem;
  --read: 40rem;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12110e;
    --paper-2: #1c1a16;
    --ink: #f2ede4;
    --ink-2: #bdb5a7;
    --ink-3: #7f786c;
    --rule: #2f2b25;
  }
}

/* project accents */
[data-accent="pomodoro"] { --accent: #e4572e; }
[data-accent="vote"]     { --accent: #e8a317; --accent-ink: #16140f; }
[data-accent="questlog"] { --accent: #7b5cff; }
[data-accent="statline"] { --accent: #12a67a; }
[data-accent="coffee"]   { --accent: #a0673c; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: -999px; top: 0; padding: .5rem 1rem; background: var(--ink); color: var(--paper); z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.mono, .label { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; }
.label { text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 11vw, 6.5rem); }
h2 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
em.hl { font-style: italic; color: var(--accent); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.mark i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.nav { display: flex; gap: 1.1rem; font-family: var(--mono); font-size: .78rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .hide-sm { display: none; }
@media (min-width: 40rem) { .nav .hide-sm { display: inline; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 12vw, 8rem) clamp(2.5rem, 8vw, 5rem); }
.hero .label { display: block; margin-bottom: 1.5rem; }
.hero h1 .soft { color: var(--ink-3); }
.hero .lede { font-size: clamp(1.1rem, 3.2vw, 1.35rem); color: var(--ink-2); max-width: 36rem; margin-top: 1.75rem; }
.hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); max-width: 40rem; }
.hero-meta div { display: grid; gap: .2rem; }
.hero-meta b { font-weight: 500; font-size: .95rem; }
@media (min-width: 40rem) { .hero-meta { grid-template-columns: repeat(4, auto); } }

.pulse { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #2fbf71; margin-right: .4rem; vertical-align: middle; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(47,191,113,.5)} 70%{box-shadow:0 0 0 8px rgba(47,191,113,0)} 100%{box-shadow:0 0 0 0 rgba(47,191,113,0)} }

.role-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; max-width: 44rem; }
.role-list li { font-family: var(--mono); font-size: .75rem; padding: .4rem .75rem; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink-2); }
.role-list li:first-child { border-color: var(--accent); color: var(--ink); }

/* ---------- section heads ---------- */
.section { padding-block: clamp(3rem, 9vw, 6rem); border-top: 1px solid var(--rule); }
.sec-head { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.sec-head p { color: var(--ink-2); max-width: 34rem; margin: 0; }
@media (min-width: 56rem) {
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; }
}

/* ---------- project list ---------- */
.projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.card {
  position: relative; display: grid; gap: 1.25rem;
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--paper-2); text-decoration: none; color: inherit;
  border: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s, background .3s;
  overflow: hidden; isolation: isolate;
}
.card::after { /* accent wash on hover */
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
  opacity: 0; transition: opacity .5s; z-index: -1;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
.card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; }
.card-num { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.card .glyph { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.card .glyph svg { width: 62%; height: auto; }
.card h3 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
.card p { color: var(--ink-2); margin: .5rem 0 0; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: .7rem; padding: .25rem .55rem; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink-2); }
.card .go { font-family: var(--mono); font-size: .78rem; display: inline-flex; gap: .4rem; align-items: center; margin-top: 1.1rem; }
.card .go span { transition: transform .4s var(--ease); }
.card:hover .go span { transform: translateX(4px); }

@media (min-width: 48rem) {
  .projects { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
  .projects li { grid-column: span 3; }
  .projects li:nth-child(1) { grid-column: span 6; }
  .projects li:nth-child(1) .card { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 2rem; }
  .projects li > .card { height: 100%; align-content: start; }
}

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.process li { display: grid; grid-template-columns: 3rem 1fr; gap: .25rem 1rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.process li:last-child { border-bottom: 1px solid var(--rule); }
.process li::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .8rem; color: var(--accent); padding-top: .35rem; grid-row: span 2; }
.process h3 { font-size: 1.35rem; }
.process p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (min-width: 56rem) {
  .process { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .process li { grid-template-columns: 1fr; border: 0; border-top: 2px solid var(--ink); padding-top: 1rem; }
  .process li:last-child { border-bottom: 0; }
  .process li::before { grid-row: auto; padding: 0 0 .5rem; }
}

/* ---------- about / principles ---------- */
.split { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.big-quote { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; color: var(--ink-2); }
.ticks li::before { content: "→"; font-family: var(--mono); color: var(--accent); }
.ticks b { color: var(--ink); font-weight: 600; }

/* ---------- contact ---------- */
.contact { padding-block: clamp(4rem, 12vw, 8rem); border-top: 1px solid var(--rule); }
.contact h2 { font-size: clamp(2.4rem, 10vw, 5.5rem); }
.contact-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: 0 1.2rem;
  border-radius: 99px; border: 1px solid var(--ink); text-decoration: none; font-family: var(--mono); font-size: .82rem;
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.site-foot { padding-block: 2rem 3rem; border-top: 1px solid var(--rule); color: var(--ink-3); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ==========================================================================
   Case study
   ========================================================================== */
.cs-hero { padding-block: clamp(2.5rem, 10vw, 6rem) 2rem; }
.crumb { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); text-decoration: none; display: inline-flex; gap: .4rem; margin-bottom: 2rem; }
.crumb:hover { color: var(--ink); }
.cs-hero .tag { display: inline-flex; gap: .5rem; align-items: center; font-family: var(--mono); font-size: .75rem; color: var(--accent); margin-bottom: 1rem; }
.cs-hero .tag::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.cs-hero h1 { font-size: clamp(3rem, 13vw, 7.5rem); }
.cs-hero .lede { font-family: var(--serif); font-size: clamp(1.3rem, 4.2vw, 2rem); line-height: 1.3; color: var(--ink-2); margin-top: 1.25rem; max-width: 46rem; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--rule); }
.facts div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: .25rem; }
.facts dd { margin: 0; font-size: .95rem; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(4, 1fr); } }

.cs-visual { margin-block: 1rem 0; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; position: relative; }
.cs-visual svg { width: min(46%, 22rem); height: auto; }
.cs-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 2rem 2rem; opacity: .45; mask-image: radial-gradient(closest-side, #000, transparent); }
.cs-visual svg { position: relative; }

/* layout: sticky TOC on wide screens */
.cs-body { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 7vw, 5rem); }
.toc { display: none; }
@media (min-width: 64rem) {
  .cs-body { grid-template-columns: 13rem minmax(0, 1fr); gap: 4rem; }
  .toc { display: block; position: sticky; top: 5rem; align-self: start; }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-family: var(--mono); font-size: .76rem; }
  .toc a { text-decoration: none; color: var(--ink-3); display: flex; gap: .6rem; transition: color .2s; }
  .toc a:hover, .toc a.active { color: var(--ink); }
  .toc a.active span { color: var(--accent); }
}

.chapter { padding-block: 2rem 2.5rem; border-top: 1px solid var(--rule); scroll-margin-top: 4.5rem; }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter > .label { display: block; margin-bottom: .9rem; }
.chapter > .label b { color: var(--accent); font-weight: 400; }
.chapter h2 { margin-bottom: 1.25rem; max-width: 22ch; }
.prose { max-width: var(--read); color: var(--ink-2); }
.prose p strong, .prose li strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.1rem; margin: 0 0 1em; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--accent); }

/* pull quote / problem statement */
.statement { font-family: var(--serif); font-size: clamp(1.35rem, 4.2vw, 1.9rem); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 0 0 1.75rem; max-width: 38rem; }

/* role grid */
.roles { display: grid; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.roles li { padding: 1rem 1.1rem; background: var(--paper-2); border-radius: 12px; }
.roles .hat { display: inline-block; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 99px; padding: .1rem .5rem; margin-bottom: .55rem; }
.roles b { display: block; font-weight: 600; margin-bottom: .2rem; }
.roles span:not(.hat) { color: var(--ink-2); font-size: .97rem; }
@media (min-width: 40rem) { .roles { grid-template-columns: 1fr 1fr; } }

/* spec excerpt */
.spec { margin: 1.5rem 0 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; max-width: 44rem; }
.spec-head { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: var(--paper-2); font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.spec-head span:first-child { color: var(--ink); }
.spec ol { margin: 0; padding: 0; list-style: none; counter-reset: req; }
.spec li { counter-increment: req; display: grid; grid-template-columns: 3.4rem 1fr; gap: .75rem; padding: .85rem 1rem; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-2); }
.spec li::before { content: "R-" counter(req, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--accent); padding-top: .2rem; }
.spec li b { color: var(--ink); font-weight: 600; }

/* decision log */
.decisions { display: grid; gap: 1rem; margin-top: 1.5rem; }
.decision { padding: 1.1rem 1.2rem; border-radius: 12px; border: 1px solid var(--rule); }
.decision h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.decision p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.decision .why { margin-top: .6rem; font-size: .9rem; color: var(--ink-3); }
.decision .why b { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); font-weight: 400; margin-right: .4rem; }
@media (min-width: 48rem) { .decisions { grid-template-columns: 1fr 1fr; } }

/* comparison table: stacks on mobile */
.compare { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .95rem; }
.compare caption { text-align: left; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); padding-bottom: .6rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .85rem .75rem .85rem 0; border-top: 1px solid var(--rule); }
.compare thead th { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 400; }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td { color: var(--ink-2); }
.compare td.us { color: var(--ink); }
.compare td.us::before { content: "✓ "; color: var(--accent); font-weight: 700; }
@media (max-width: 40rem) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: grid; padding: .9rem 0; border-top: 1px solid var(--rule); }
  .compare th, .compare td { border: 0; padding: .15rem 0; }
  .compare tbody th { width: auto; margin-bottom: .35rem; }
  .compare td::before { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); display: block; }
  .compare td.them::before { content: "Typical alternative"; }
  .compare td.us::before { content: "This product"; color: var(--accent); font-weight: 400; margin-top: .4rem; }
}

/* stack */
.stack { display: grid; gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.stack div { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.stack dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.stack dd { margin: 0; color: var(--ink); }
@media (min-width: 40rem) { .stack div { grid-template-columns: 11rem 1fr; gap: 1rem; } }

.ai-note { margin-top: 1.75rem; padding: 1.25rem; border-radius: 12px; background: var(--ink); color: var(--paper); max-width: 44rem; }
.ai-note .label { color: color-mix(in srgb, var(--paper) 55%, transparent); display: block; margin-bottom: .6rem; }
.ai-note p { margin: 0 0 .75rem; font-size: .97rem; color: color-mix(in srgb, var(--paper) 85%, transparent); }
.ai-note p:last-child { margin: 0; }
.ai-note b { color: var(--paper); }
.split-bar { display: flex; height: .5rem; border-radius: 99px; overflow: hidden; margin: .25rem 0 .5rem; }
.split-bar i { display: block; }
.split-legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-family: var(--mono); font-size: .7rem; color: color-mix(in srgb, var(--paper) 65%, transparent); margin-bottom: 1rem; }
.split-legend span::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 2px; margin-right: .35rem; vertical-align: middle; background: var(--c); }

/* outcome stats */
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin-top: 1.5rem; }
.outcomes div { background: var(--paper); padding: 1.1rem; }
.outcomes b { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 400; line-height: 1.1; color: var(--ink); }
.outcomes span { font-size: .85rem; color: var(--ink-3); }
@media (min-width: 48rem) { .outcomes { grid-template-columns: repeat(4, 1fr); } }

/* next / prev */
.pager { display: grid; gap: 1rem; padding-block: 2rem 4rem; border-top: 1px solid var(--rule); }
.pager a { display: grid; gap: .3rem; padding: 1.25rem; border-radius: var(--radius); background: var(--paper-2); text-decoration: none; transition: transform .4s var(--ease); }
.pager a:hover { transform: translateY(-2px); }
.pager .label { display: block; }
.pager b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.pager a.next { text-align: right; }
@media (min-width: 48rem) { .pager { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll (only when JS has run) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- glyph animations ---------- */
.g-ring { transform-origin: 50% 50%; animation: ring 6s var(--ease) infinite; }
@keyframes ring { 0% { stroke-dashoffset: 251; } 70%, 100% { stroke-dashoffset: 0; } }
.g-bar { transform-box: fill-box; transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.g-bar:nth-of-type(2) { animation-delay: .15s; }
.g-bar:nth-of-type(3) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.g-line { stroke-dasharray: 400; animation: draw 3s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 400; } }
.g-tick { stroke-dasharray: 30; animation: draw-tick 4s var(--ease) infinite; }
.g-tick.t2 { animation-delay: .5s; } .g-tick.t3 { animation-delay: 1s; }
@keyframes draw-tick { 0% { stroke-dashoffset: 30; } 25%, 100% { stroke-dashoffset: 0; } }
.g-steam { animation: steam 3s ease-in-out infinite; }
.g-steam.s2 { animation-delay: .8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }

/* glyph paint helpers */
.gl { color: var(--ink); }
.gl .a { fill: var(--accent); }
.gl .sa { stroke: var(--accent); fill: none; }
.gl .si { stroke: currentColor; fill: none; }
.gl .sr { stroke: var(--rule); fill: none; }
.gl .fi { fill: currentColor; }
.gl .fp { fill: var(--paper-2); }
.gl text { font-family: var(--mono); fill: currentColor; }
