:root {
  --paper: #f2efe8;
  --paper-2: #e9e5db;
  --card: #f7f5f0;
  --ink: #161513;
  --ink-2: #57534b;
  --ink-3: #8a857a;
  --rule: #d5cfc1;
  --accent: #e2552a;
  --accent-soft: rgba(226, 85, 42, .12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #11110f; --paper-2: #191917; --card: #1a1a18;
    --ink: #ece8df; --ink-2: #a8a397; --ink-3: #6f6b62;
    --rule: #2c2b27; --accent: #ff6b3d; --accent-soft: rgba(255, 107, 61, .14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #11110f; --paper-2: #191917; --card: #1a1a18;
  --ink: #ece8df; --ink-2: #a8a397; --ink-3: #6f6b62;
  --rule: #2c2b27; --accent: #ff6b3d; --accent-soft: rgba(255, 107, 61, .14);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* type */
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(44px, 7.4vw, 112px); line-height: .98;
}
.display em, .h2 em { font-style: italic; color: var(--ink-2); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.01em; max-width: 17ch; }
.label, .eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; will-change: transform; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background-color .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; border-color: var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.mark svg { width: 34px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 0; }
.mark:hover svg { animation: draw 1.1s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; font-size: 14px; color: var(--ink-2); position: relative; transition: color .3s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; cursor: pointer; display: grid; place-items: center; }
.theme span { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); border: 1.5px solid var(--ink); transition: transform .6s var(--ease); }
.theme:hover span { transform: rotate(180deg); }

/* buttons */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease), background-color .3s, color .3s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.text-link { font-size: 15px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 90px; overflow: hidden; }
#terrain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 38%, #000 72%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 38%, #000 72%); }
@media (max-width: 900px) {
  #terrain { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 62%, #000 88%); mask-image: linear-gradient(to bottom, transparent 0%, transparent 62%, #000 88%); }
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero .display { max-width: 15ch; margin: 22px 0 28px; }
.lede { max-width: 54ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.readout {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 72px; width: 252px;
  background: color-mix(in srgb, var(--card) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; font-family: var(--mono); font-size: 12px;
}
.readout-top { display: flex; align-items: center; gap: 8px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-soft); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.readout-state { font-family: var(--serif); font-size: 26px; margin: 8px 0 10px; line-height: 1.1; color: var(--ink); }
.readout-bar { height: 4px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.readout-bar span { display: block; height: 100%; width: 4%; background: var(--accent); border-radius: 4px; transition: width .25s linear; }
.readout-meta { display: flex; justify-content: space-between; margin-top: 8px; color: var(--ink-2); }
.readout-note { margin-top: 10px; color: var(--ink-3); font-size: 11px; line-height: 1.5; font-family: var(--sans); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid var(--rule); border-radius: 12px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; background: var(--ink-2); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* numbers */
.numbers { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.num { padding: 26px 22px 10px 0; border-right: 1px solid var(--rule); margin-right: 22px; }
.num:last-child { border-right: 0; margin-right: 0; }
.num b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; }
.num b small { font-size: .45em; color: var(--ink-3); }
.num p { margin-top: 12px; font-size: 14px; color: var(--ink-2); max-width: 26ch; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gutter) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-sub { max-width: 52ch; color: var(--ink-2); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 26px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--rule); text-decoration: none;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
  overflow: hidden;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); box-shadow: 0 30px 60px -30px rgba(0,0,0,.28); }
.card-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx) var(--gy), var(--accent-soft), transparent 60%); }
.card:hover .card-glow { opacity: 1; }
.card-no { font-family: var(--mono); font-size: 12px; color: var(--ink-3); transform: translateZ(30px); }
.card-tag { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; transform: translateZ(30px); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.2vw, 60px); line-height: 1; margin-top: auto; padding-top: 70px; transform: translateZ(50px); }
.card p { color: var(--ink-2); font-size: 15px; margin-top: 14px; transform: translateZ(30px); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; transform: translateZ(20px); }
.arrow { display: inline-block; transition: transform .45s var(--ease); color: var(--accent); }
.card:hover .arrow { transform: translateX(6px); }

/* notes */
.note { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(50px, 7vw, 90px) 0; border-top: 1px solid var(--rule); }
.note-meta { position: sticky; top: 100px; align-self: start; }
.note-no { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.note-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.8vw, 72px); line-height: 1; margin: 10px 0 8px; }
.note-kicker { color: var(--ink-2); font-size: 15px; }
.note-meta dl { margin-top: 26px; display: grid; grid-template-columns: 56px 1fr; gap: 10px 14px; font-size: 13px; }
.note-meta dt { font-family: var(--mono); color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.note-meta dd { color: var(--ink-2); }
.meta-links { display: flex; flex-direction: column; gap: 4px; }
.meta-links a { text-decoration: none; color: var(--ink); width: fit-content; border-bottom: 1px solid var(--rule); transition: color .3s, border-color .3s; }
.meta-links a:hover { color: var(--accent); border-color: var(--accent); }
.note-body { max-width: 68ch; }
.note-body p { margin-bottom: 1.15em; color: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.note-body p a, .oss p a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--ease), color .3s; }
.note-body p a:hover, .oss p a:hover { color: var(--accent); }
.note-body h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 1.6em 0 .55em; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.3em; line-height: .82; padding: .06em .1em 0 0; color: var(--accent); }

.fig { margin: 2.2em 0; padding: 22px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.fig figcaption { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.fig figcaption i { color: var(--ink-3); }
.bar-row { display: grid; grid-template-columns: 130px 1fr 60px; align-items: center; gap: 14px; margin: 12px 0; font-size: 14px; }
.bar-name i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.bar { height: 12px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; }
.bar-muted span { background: var(--ink-3); }
.bar-val { font-family: var(--mono); font-size: 13px; text-align: right; }
.fig-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.fig-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.fig-stats span { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 6px; }
#wave { width: 100%; height: 150px; display: block; }
.wave-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.sw { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 8px; }
.sw-a { background: var(--ink-3); }
.sw-b { background: var(--accent); }
.fig-flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow-nodes rect { fill: var(--paper); stroke: var(--rule); stroke-width: 1.2; }
.flow-nodes rect.accent { stroke: var(--accent); fill: var(--accent-soft); }
.flow-nodes text { font-family: var(--sans); font-size: 14px; fill: var(--ink); text-anchor: middle; font-weight: 500; }
.flow-nodes text.sub { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-3); font-weight: 400; }
.flow-lines path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; }
.flow-lines path.loop { stroke: var(--ink-3); stroke-dasharray: 3 7; animation-duration: 2.4s; }
@keyframes flow { to { stroke-dashoffset: -20; } }

.table { margin: 1.8em 0; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.tr { display: grid; grid-template-columns: 1fr 100px 100px; padding: 12px 18px; border-top: 1px solid var(--rule); }
.tr:first-child { border-top: 0; }
.th { background: var(--paper-2); font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.tr span:not(:first-child) { text-align: right; font-family: var(--mono); }
.tr .hi { color: var(--accent); }
.callout { margin: 2em 0; padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }
.callout p { margin: 8px 0 0; font-size: 15.5px; }

/* open source */
.oss { list-style: none; border-top: 1px solid var(--rule); }
.oss li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.oss h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.oss h3 a { text-decoration: none; transition: color .3s; }
.oss h3 a:hover { color: var(--accent); }
.oss p { color: var(--ink-2); margin-top: 8px; max-width: 70ch; }
.pill { align-self: start; justify-self: start; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); }
.pill-ok { border-color: var(--accent); color: var(--accent); }
.pill-muted { color: var(--ink-3); }

/* earlier */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 80px 280px 1fr 200px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); transition: padding .5s var(--ease); }
.row:hover { padding-left: 12px; }
.row-year, .row-stack { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.row-stack { text-align: right; }
.row h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.row p { color: var(--ink-2); font-size: 15px; }

/* certificates */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1000px; }
.cert {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; padding: 22px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card);
  display: flex; flex-direction: column; min-height: 220px;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), border-color .4s;
  background-image: radial-gradient(300px circle at var(--gx) var(--gy), var(--accent-soft), transparent 60%);
  background-size: 0 0; background-repeat: no-repeat;
}
.cert:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); background-size: 100% 100%; }
.cert-issuer { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.cert h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 14px 0 8px; }
.cert p { font-size: 13.5px; color: var(--ink-2); }
.cert-links { margin-top: auto; padding-top: 18px; display: flex; gap: 14px; font-size: 13.5px; }
.cert-links a { text-decoration: none; border-bottom: 1px solid var(--rule); transition: color .3s, border-color .3s; }
.cert-links a:hover { color: var(--accent); border-color: var(--accent); }
.edu { margin-top: 48px; border-top: 1px solid var(--rule); }
.edu-row { display: grid; grid-template-columns: 160px 320px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.edu-row span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.edu-row h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.edu-row p { color: var(--ink-2); font-size: 15px; }

/* contact */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 14vw, 190px) var(--gutter) 80px; }
.contact-title { max-width: 18ch; margin: 22px 0 36px; font-size: clamp(40px, 6vw, 92px); }
.mail { display: inline-block; font-family: var(--serif); font-size: clamp(26px, 4.2vw, 58px); text-decoration: none; position: relative; color: var(--accent); word-break: break-all; }
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.mail:hover::after { transform: scaleX(1); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; }
.contact-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; transition: color .3s; }
.contact-links a:hover { color: var(--ink); }
.foot { max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter) 34px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* reveal defaults (JS sets them; no-JS stays visible) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }

/* responsive */
@media (max-width: 1080px) {
  .certs { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 70px 1fr; }
  .row p { grid-column: 2; }
  .row-stack { grid-column: 2; text-align: left; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .card h3 { padding-top: 40px; }
  .note { grid-template-columns: 1fr; }
  .note-meta { position: static; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(2) { border-right: 0; margin-right: 0; }
  .readout { position: relative; right: auto; bottom: auto; margin: 40px 0 0; z-index: 3; }
  .hero { padding-bottom: 80px; }
  .edu-row { grid-template-columns: 1fr; gap: 4px; }
  .oss li { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .certs { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .num { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 22px; }
  .fig-stats { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 96px 1fr 50px; }
  .tr { grid-template-columns: 1fr 70px 70px; padding: 12px; }
  .fig { padding: 16px; }
  .mark span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
