/* ==========================================================
   jasonslittle.com — shared styles
   Colours live in :root. Change --accent to restyle the site.
   ========================================================== */

:root {
  --bg: #0b0c0e;
  --surface: #131418;
  --surface-2: #1a1c21;
  --line: #262931;
  --text: #ecedf0;
  --muted: #b0b5bf;
  --faint: #7d838e;
  --accent: #e5383b;
  --accent-soft: rgba(229, 56, 59, 0.14);
  --accent-ink: #f2484d;   /* accent for small text: 5:1 on cards */
  --accent-btn: #cf2c30;   /* button fill: white text 5.2:1 */

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(38px, 5.6vw, 70px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 640px;
}

.muted { color: var(--muted); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand span { color: var(--accent-ink); }
.nav ul {
  list-style: none;
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  margin: 0;
  padding: 0;
}
.nav a.link {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.nav a.link:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--faint); }
.btn.primary { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.btn.primary:hover { background: #b8262a; border-color: #b8262a; }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- sections ---------- */

section { padding: clamp(64px, 8vw, 104px) 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 + p { margin-top: 16px; }

/* ---------- home hero ---------- */

.hero {
  min-height: min(calc(100vh - 64px), 820px);
  min-height: min(calc(100svh - 64px), 820px);
  padding: 72px 0 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-art {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 25%, #000 60%), linear-gradient(0deg, transparent 0%, transparent 10%, #000 40%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 25%, #000 60%), linear-gradient(0deg, transparent 0%, transparent 10%, #000 40%);
  mask-composite: intersect;
  pointer-events: none;
}
.hero h1 span { color: var(--faint); }
.hero h1 { font-size: clamp(34px, 4.2vw, 56px); max-width: 1080px; text-wrap: balance; }
.hero .lede, .hero .interests { max-width: 640px; }
.hero .lede { margin-top: 28px; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.meta-row b { color: var(--text); font-weight: 500; }

.stats {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vh, 88px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- featured project ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
}
.feature:hover { border-color: var(--faint); }
.feature .media { position: relative; min-width: 0; min-height: 360px; overflow: hidden; background: #000; }
.feature .media img,
.feature .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.feature .body p { color: var(--muted); }
.feature .more {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 600;
  color: var(--accent-ink);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.feature:hover .more { gap: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.tags li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6fd08c;
  margin-bottom: 14px;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(111, 208, 140, 0.15);
}

/* ---------- project grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.card.empty {
  background: transparent;
  border-style: dashed;
  color: var(--faint);
  justify-content: center;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- about / skills ---------- */

/* heading on top, text below in a readable column (no half-empty left column) */
.split { display: grid; grid-template-columns: 1fr; gap: 28px; }
.split > div:last-child { max-width: 860px; }
.split > div:last-child > p:first-child { font-size: 19px; color: var(--text); }

.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px 48px; }
#about .split > div:last-child { max-width: none; }
#about .split > div:last-child > p { max-width: 860px; }
@media (max-width: 560px) { .skills { grid-template-columns: 1fr; } }
.skills h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
  font-weight: 500;
}
.skills p { margin: 0; }

/* ---------- case study ---------- */

.cs-hero { position: relative; padding: 0; border-bottom: 1px solid var(--line); }
.cs-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.cs-hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.35) 0%, var(--bg) 100%);
}
.cs-hero .wrap { position: relative; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(56px, 8vw, 90px); }
.cs-hero .logo { width: min(380px, 80%); margin-bottom: 28px; }
.back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 36px; }
.back:hover { color: var(--text); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.facts div { background: var(--surface); padding: 18px 20px; }
.facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.facts dd { margin: 0; font-weight: 500; font-size: 15px; }

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features .card { min-height: 0; }
.features .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); margin-bottom: 18px; }

.maps { display: grid; gap: 20px; }
.map {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.map:nth-child(even) img { order: 2; }
.map img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.map .body { padding: clamp(24px, 4vw, 40px); align-self: center; }
.map .body p { color: var(--muted); margin: 10px 0 0; }

.tech { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tech details { border-bottom: 1px solid var(--line); }
.tech summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.tech summary::-webkit-details-marker { display: none; }
.tech summary h3 { font-size: clamp(18px, 2.2vw, 22px); }
.tech summary .why { color: var(--muted); font-size: 15px; margin-top: 6px; }
.tech summary .plus {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: transform 0.2s;
}
.tech details[open] .plus { transform: rotate(45deg); color: var(--accent-ink); border-color: var(--accent); }
.tech .detail { padding: 0 0 28px; color: var(--muted); max-width: 760px; }
.tech .detail ul { margin: 0; padding-left: 20px; }
.tech .detail li { margin-bottom: 6px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { font-size: 14px; color: var(--faint); margin-top: 10px; }

.learned { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.learned .card { min-height: 0; }

.cta {
  text-align: center;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 65%);
}
.cta .btn-row { justify-content: center; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- reveal on scroll ---------- */

/* content is visible by default; only hidden-then-revealed when the script runs */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .feature, .map, .map:nth-child(even), .split { grid-template-columns: 1fr; }
  .map:nth-child(even) img { order: 0; }
  .features { grid-template-columns: 1fr !important; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery.three, .learned { grid-template-columns: 1fr; }
  .hero-art { width: 100%; opacity: 0.3; object-fit: cover; object-position: center; }
  .hero { min-height: 0; padding: 64px 0 40px; }
  .feature .media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .nav ul { gap: 14px; }
  .nav .hide-sm { display: none; }
  .grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Final pass additions (Nov 2026)
   ========================================================= */

/* accessibility */
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--accent-btn); color: #fff; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.feature:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* readable prose */
.prose { max-width: 760px; }
.prose p { color: var(--muted); }
.prose p.lead { color: var(--text); font-size: 19px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { color: var(--muted); padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 600; }

/* at a glance */
.glance {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.glance > div { background: var(--surface); padding: 22px 22px 24px; }
.glance h3 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 500; margin-bottom: 10px;
}
.glance p { margin: 0; font-size: 16px; color: var(--text); line-height: 1.55; }

/* status pills */
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); vertical-align: middle; white-space: nowrap;
}
.pill.done { color: #7fd99a; border-color: rgba(127, 217, 154, 0.35); }
.pill.planned { color: #e8b86a; border-color: rgba(232, 184, 106, 0.35); }
.pill.open { color: #9db7ff; border-color: rgba(157, 183, 255, 0.35); }

/* funnel chart */
.chart {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}
.chart-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.chart-head h3 { font-size: 18px; }
.chart-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.funnel li { display: grid; grid-template-columns: minmax(150px, 210px) 1fr 108px; gap: 16px; align-items: center; }
.funnel .name { font-size: 15px; }
.funnel .name small { display: block; color: var(--faint); font-size: 12px; }
.funnel .track { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.funnel .bar {
  display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: 999px;
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* animate from zero only when the script is running */
.js .chart:not(.in) .bar { width: 0; }
.funnel .bar.check { background: repeating-linear-gradient(135deg, var(--accent) 0 6px, #b72b2e 6px 12px); }
.funnel .val { text-align: right; font-family: var(--font-mono); font-size: 14px; }
.funnel .val b { font-weight: 500; color: var(--text); }
.funnel .val span { display: block; color: var(--faint); font-size: 12px; }
.chart-notes {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; display: grid; gap: 6px;
}
.chart-notes p { margin: 0; }

/* observation -> evaluation steps */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.steps > div { background: var(--surface); padding: 22px clamp(18px, 3vw, 28px); display: grid; grid-template-columns: 170px 1fr; gap: 20px; }
.steps h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; padding-top: 4px; }
.steps p, .steps li { color: var(--muted); font-size: 16px; }
.steps p:last-child { margin-bottom: 0; }
.steps ul { margin: 0; padding-left: 18px; }
.steps li { margin-bottom: 8px; }
.steps li:last-child { margin-bottom: 0; }
.steps strong { color: var(--text); font-weight: 600; }

/* two-column text blocks */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cols .card h3 { margin-bottom: 10px; }
.cols .card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.cols .card li { margin-bottom: 6px; }

/* before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.compare figure { margin: 0; }
.compare img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.compare figcaption { font-size: 14px; color: var(--faint); margin-top: 8px; }
.compare figcaption b { color: var(--text); font-weight: 500; }
.figure-single { margin: 0; }
.figure-single img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.figure-single figcaption { font-size: 14px; color: var(--faint); margin-top: 8px; }

/* case examples */
.example { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); }
.example + .example { margin-top: 20px; }
.example > .label { margin-bottom: 10px; }
.example h3 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 14px; }
.example .prose { max-width: 820px; }
.example .compare, .example .figure-single { margin-top: 22px; }

/* structured engineering details */
.tech .detail dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; }
.tech .detail dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.tech .detail dd { margin: 0; color: var(--muted); }
.tech summary:hover h3 { color: #fff; }

/* credits */
.credits { font-size: 15px; color: var(--muted); }
.credits ul { padding-left: 18px; margin: 8px 0 0; }
.credits li { margin-bottom: 6px; }
.credits a { color: var(--text); }

/* interests row on home */
.interests { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.interests li { font-family: var(--font-mono); font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: rgba(11, 12, 14, 0.6); }

/* responsive for new parts */
@media (max-width: 960px) {
  .glance { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .glance, .cols, .compare { grid-template-columns: 1fr; }
  .steps > div { grid-template-columns: 1fr; gap: 6px; }
  .funnel li { grid-template-columns: 1fr 76px; gap: 6px 12px; }
  .funnel .track { grid-column: 1 / -1; grid-row: 2; }
  .tech .detail dl { grid-template-columns: 1fr; gap: 2px 0; }
  .tech .detail dd { margin-bottom: 10px; }
}

/* calmer motion for people who ask for it */
@media (prefers-reduced-motion: reduce) {
  .funnel .bar { transition: none; }
}

/* ---- review fixes ---- */
/* phones: keep the text-art to the top of the hero, away from body text */
@media (max-width: 860px) {
  .hero-art {
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 55%);
    mask-image: linear-gradient(to bottom, #000 0, transparent 55%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
}
/* case study hero: plain heading, smaller logo badge */
.cs-hero .logo { width: min(240px, 60%); margin-bottom: 22px; }
.cs-hero h1.case-title { font-size: clamp(32px, 4.4vw, 54px); max-width: 900px; margin-bottom: 18px; }
/* maps as a compact three-up grid */
.maps.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.maps.three .map, .maps.three .map:nth-child(even) { grid-template-columns: 1fr; }
.maps.three .map img { order: 0; aspect-ratio: 16 / 9; height: auto; }
.maps.three .map .body { align-self: start; padding: 20px 22px 24px; }
@media (max-width: 860px) { .maps.three { grid-template-columns: 1fr; } }
/* funnel values: compact on phones */
.funnel .val span { color: var(--muted); }
.funnel .name small { color: var(--muted); }
@media (max-width: 760px) {
  .funnel li { grid-template-columns: 1fr auto; }
  .funnel .val { white-space: nowrap; }
  .funnel .val span { display: inline; margin-left: 6px; }
}
