/* Mark Quibot · evergreen
   Palette: forest void, moss, fern, sage, lichen, bone, with brass reserved for honors. */
@property --scrim { syntax: "<number>"; inherits: true; initial-value: 0.82; }

:root {
  --void: #0b110d;
  --void-2: #0f1712;
  --panel: rgba(13, 21, 16, 0.78);
  --line: rgba(196, 207, 158, 0.14);
  --line-2: rgba(196, 207, 158, 0.28);
  --moss: #22332a;
  --fern: #4d6b55;
  --sage: #8fa894;
  --lichen: #c4cf9e;
  --bone: #ece9dc;
  --muted: #9aa797;
  --brass: #c8a35a;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font: 400 16px/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--lichen); color: var(--void); }
a { color: inherit; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lichen); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--lichen); color: var(--void); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ── stage ─────────────────────────────────────────────── */
#world {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100lvh; z-index: 0;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.ready #world { opacity: 1; }
.atmos {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(6, 10, 8, 0.75) 100%),
    linear-gradient(90deg, rgba(11, 17, 13, var(--scrim, 0.82)) 0%, rgba(11, 17, 13, 0) 62%);
  transition: --scrim 0.8s;
}
.atmos::after {
  content: ""; position: absolute; inset: -50%;
  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)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: overlay;
}
html[data-scene="trail"] .atmos { --scrim: 0.55; }
html[data-scene="contact"] .atmos { --scrim: 0.6; }
.no-webgl body {
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(77, 107, 85, 0.35), transparent 70%),
    repeating-radial-gradient(circle at 70% 40%, transparent 0 22px, rgba(143, 168, 148, 0.07) 22px 23px),
    var(--void);
  background-attachment: fixed;
}

main, .foot { position: relative; z-index: 2; }

/* ── header ───────────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--pad);
  background: linear-gradient(180deg, rgba(11, 17, 13, 0.9), rgba(11, 17, 13, 0));
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); font-weight: 600; letter-spacing: -0.01em; min-height: 44px; }
.mark svg { color: var(--lichen); transition: transform 0.6s var(--ease); }
.mark:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--lichen);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.nav a:hover, .nav a.on { color: var(--bone); }
.nav a.on::after, .nav a:hover::after { transform: scaleX(1); }
.bar-meta { display: flex; align-items: center; gap: 18px; font: 500 12px/1 var(--mono); color: var(--muted); }
.clock time { color: var(--bone); font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--lichen); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lichen); box-shadow: 0 0 0 0 rgba(196, 207, 158, 0.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(196, 207, 158, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(196, 207, 158, 0); } }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 21; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--fern), var(--lichen)); transform: scaleX(0); transform-origin: left; }

/* ── type ─────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 22px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lichen);
}
.eyebrow span span, .eyebrow > span:not(.hide-sm) { color: var(--fern); margin: 0 6px; }
.display, h2 {
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; letter-spacing: -0.035em; margin: 0;
}
.display { font-size: clamp(58px, 10.5vw, 176px); line-height: 0.88; max-width: 11ch; }
.display em, h2 em { font-style: italic; font-weight: 300; color: var(--lichen); }
h2 { font-size: clamp(40px, 6vw, 96px); line-height: 0.95; max-width: 15ch; }
h3, h4 { margin: 0; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(3deg); transition: transform 1.1s var(--ease) calc(var(--i) * 55ms); }
.js [data-split].in .w > span { transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* the hero plays on load with CSS alone, so first paint never waits for JavaScript */
.js .hero [data-split] .w > span { transform: none; transition: none; animation: word-in 1.2s var(--ease) calc(var(--i) * 80ms + 0.1s) both; }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: fade-up 1.1s var(--ease) calc(var(--d, 0) * 110ms + 0.45s) both; }
@keyframes word-in { from { transform: translateY(110%) rotate(3deg); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--bone);
  font-size: 15px; font-weight: 500; background: rgba(11, 17, 13, 0.45);
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover { border-color: var(--lichen); background: rgba(196, 207, 158, 0.08); }
.btn-solid { background: var(--lichen); color: var(--void); border-color: var(--lichen); }
.btn-solid:hover { background: var(--bone); border-color: var(--bone); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100svh; padding: calc(var(--bar-h) + 9vh) var(--pad) 72px;
  display: flex; flex-direction: column; justify-content: center; max-width: var(--max); margin: 0 auto;
}
.lede { max-width: 54ch; margin: 34px 0 0; font-size: clamp(17px, 1.45vw, 20px); color: #d5d6c8; line-height: 1.55; }
.facts { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 230px) minmax(0, 230px); gap: 28px; margin: 40px 0 0; }
.facts div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.facts dt { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bone); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ticker { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 44px 0 0; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.ticker b { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; }
.ticker-live b { color: var(--lichen); }

/* ── evolution ───────────────────────────────────────── */
.evolution { position: relative; height: 760vh; }
.evo-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center;
  padding: var(--bar-h) var(--pad) 24px; pointer-events: none;
}
.evo-panel {
  position: relative; pointer-events: auto; width: min(440px, 100%);
  padding: 26px 28px 24px 32px; background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 4px;
}
.evo-panel .eyebrow { margin-bottom: 8px; }
h2.evo-title { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; max-width: none; }
.evo-date { margin: 0 0 18px; font: 300 clamp(40px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -0.03em; color: var(--lichen); font-variant-numeric: tabular-nums; }
.evo-eras { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; list-style: none; margin: 0; padding: 0; overflow: clip; transition: height 0.6s var(--ease); }
.evo-era { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s; }
.evo-era.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.evo-span { margin: 0 0 6px; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.06em; }
.evo-span span { color: var(--lichen); margin-right: 6px; }
.evo-era h3 { font: 400 30px/1.1 var(--serif); letter-spacing: -0.02em; }
.evo-line { margin: 10px 0 16px; font-size: 14px; color: #cfd1c2; }
.evo-projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.evo-projects button {
  display: flex; gap: 12px; width: 100%; min-height: 30px; align-items: center; padding: 4px 0; text-align: left;
  font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); transition: color 0.3s, padding 0.4s var(--ease);
}
.evo-d { font: 400 11px/1 var(--mono); width: 62px; flex: none; color: var(--fern); }
.evo-projects button.passed { color: var(--bone); }
.evo-projects button.passed .evo-d { color: var(--sage); }
.evo-projects button.current { color: var(--lichen); padding-left: 10px; }
.evo-projects button:hover { color: var(--lichen); }
.evo-rail { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.evo-rail i { position: absolute; inset: 0; background: var(--lichen); transform: scaleY(0); transform-origin: top; }
.evo-rail b { position: absolute; left: -2px; top: calc(var(--i) * 20%); width: 6px; height: 1px; background: var(--lichen); }
.evo-hint { position: absolute; right: var(--pad); bottom: 26px; margin: 0; font: 400 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* labels that float over the 3D markers */
.labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.node-label {
  position: absolute; left: 0; top: 0; translate: -50% calc(-100% - 14px);
  display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.node-label.on { opacity: 1; }
.nl-date { font: 400 10px/1 var(--mono); color: var(--sage); letter-spacing: 0.06em; }
.nl-name { font: 500 12.5px/1.2 var(--sans); color: var(--bone); padding: 4px 8px; background: rgba(11, 17, 13, 0.72); border: 1px solid var(--line); border-radius: 3px; }
.node-label.current .nl-name { border-color: var(--lichen); color: var(--lichen); }

/* ── sections ─────────────────────────────────────────── */
.work, .index, .honors, .about { max-width: var(--max); margin: 0 auto; padding: 18vh var(--pad) 8vh; }
.section-head { margin-bottom: 64px; }
.section-lede { max-width: 56ch; margin: 26px 0 0; color: #cfd1c2; font-size: 17px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card {
  grid-column: span 5; position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), border-color 0.4s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card:nth-child(4n + 1), .card:nth-child(4n + 4) { grid-column: span 7; }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(196, 207, 158, 0.08), transparent 60%);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.specimen { position: relative; margin: 0; background: #0c140f; border-bottom: 1px solid var(--line); }
.specimen canvas { width: 100%; aspect-ratio: 16 / 9; }
.specimen figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font: 400 10.5px/1.2 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.specimen figcaption span { color: var(--lichen); margin-right: 6px; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0; font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.card h3 { font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); letter-spacing: -0.02em; }
.award { margin: 0; font: 500 12px/1 var(--mono); color: var(--brass); letter-spacing: 0.04em; }
.card-text { margin: 0; color: #d3d5c7; font-size: 15px; }
.metrics { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0; }
.metrics dt { font: 400 11px/1.2 var(--mono); color: var(--muted); }
.metrics dd { margin: 4px 0 0; font: 400 22px/1 var(--serif); color: var(--lichen); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font: 400 11.5px/1 var(--mono); padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #c8cbbd; }
.card-links { display: flex; gap: 18px; margin: auto 0 0; padding-top: 8px; font-size: 14px; }
.link { display: inline-flex; align-items: center; min-height: 32px; color: var(--lichen); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.link:hover { border-color: var(--lichen); }

/* index */
.index-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chip-btn span { font: 400 11px/1 var(--mono); margin-left: 4px; color: var(--sage); }
.chip-btn:hover { color: var(--bone); border-color: var(--sage); }
.chip-btn[aria-pressed="true"] { background: var(--lichen); color: var(--void); border-color: var(--lichen); }
.chip-btn[aria-pressed="true"] span { color: var(--moss); }
.search input {
  min-height: 42px; width: min(300px, 80vw); padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(11, 17, 13, 0.6); color: var(--bone); font: 400 14px var(--sans);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--lichen); }
.ledger-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger thead th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 16px 16px 12px; border-bottom: 1px solid var(--line-2); }
.ledger td, .ledger tbody th { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400; }
.ledger tbody tr { transition: background 0.25s; }
.ledger tbody tr:hover { background: rgba(196, 207, 158, 0.05); }
.ledger tbody tr:hover .row-name { color: var(--lichen); }
.col-date { font: 400 12px/1.6 var(--mono); color: var(--sage); white-space: nowrap; }
.row-name { display: block; font-weight: 500; color: var(--bone); transition: color 0.25s; }
.row-blurb { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; max-width: 62ch; }
.col-stack { color: #bfc3b3; font-size: 13px; }
.col-src { white-space: nowrap; }
.col-src a { display: inline-flex; min-height: 28px; align-items: center; color: var(--lichen); text-decoration: none; margin-right: 12px; }
.col-src a:hover { text-decoration: underline; text-underline-offset: 3px; }
.col-src .muted { font-size: 13px; }
.col-push { font: 400 12px/1.6 var(--mono); color: var(--muted); white-space: nowrap; }
.kind { font: 400 11px/1 var(--mono); padding: 4px 8px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--sage); }
.kind-civic { color: var(--lichen); border-color: rgba(196, 207, 158, 0.4); }
.kind-ml { color: #b9c9b0; }
.kind-milestone { color: var(--brass); border-color: rgba(200, 163, 90, 0.4); }
.ledger-empty { padding: 24px 16px; margin: 0; color: var(--muted); }

/* honors */
.honor-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.honor { padding: 26px; border: 1px solid var(--line); border-top: 2px solid var(--brass); background: var(--panel); border-radius: 4px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.honor-place { margin: 0 0 12px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.honor h3 { font: 400 26px/1.1 var(--serif); letter-spacing: -0.02em; }
.honor-note { color: #cfd1c2; font-size: 15px; margin: 12px 0 18px; }
.honor-meta { margin: 0; font: 400 12px/1 var(--mono); color: var(--muted); }

/* about */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
.col-title { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lichen); margin: 0 0 18px; }
.role { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.role-when { margin: 0; font: 400 12px/1.6 var(--mono); color: var(--sage); }
.role h4 { font: 400 22px/1.2 var(--serif); letter-spacing: -0.01em; }
.role-org { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
.role ul { margin: 0; padding-left: 18px; color: #d3d5c7; font-size: 15px; }
.about-side { display: flex; flex-direction: column; gap: 44px; }
.edu { margin: 0 0 16px; color: #d3d5c7; font-size: 15px; }
.edu b { color: var(--bone); font-weight: 500; }
.tool-row { padding: 14px 0; border-top: 1px solid var(--line); }
.tool-row p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }

/* contact */
.contact { min-height: 100vh; min-height: 100svh; max-width: var(--max); margin: 0 auto; padding: 16vh var(--pad) 12vh; display: flex; flex-direction: column; justify-content: center; }
.contact-title { font-size: clamp(46px, 7.6vw, 132px); max-width: 13ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 30px; list-style: none; margin: 34px 0 0; padding: 0; }
.contact-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color 0.3s, border-color 0.3s; }
.contact-links a:hover { color: var(--lichen); border-color: var(--lichen); }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 26px var(--pad) 34px;
  border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); color: var(--muted); background: rgba(11, 17, 13, 0.85);
}
.foot a { color: var(--bone); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.foot-render { color: var(--sage); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 30; translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 12px 18px; background: var(--lichen); color: var(--void); font-weight: 600; border-radius: 999px;
  transition: opacity 0.3s, translate 0.4s var(--ease);
}
.toast.on { opacity: 1; translate: -50% 0; }

/* trailing cursor ring (native cursor stays) */
.cursor { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; display: none; }
.custom-cursor .cursor { display: block; }
.cursor i {
  display: block; width: 28px; height: 28px; translate: -50% -50%; border: 1px solid rgba(196, 207, 158, 0.55); border-radius: 50%;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.cursor.big i { width: 58px; height: 58px; background: rgba(196, 207, 158, 0.07); border-color: var(--lichen); }
.over-marker, .over-marker body { cursor: pointer; }
.over-marker .cursor i { width: 40px; height: 40px; border-color: var(--bone); background: rgba(236, 233, 220, 0.06); }
.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 1px var(--lichen), 0 0 40px rgba(196, 207, 158, 0.25); background-color: rgba(196, 207, 158, 0.08); } 100% { box-shadow: 0 0 0 1px transparent; } }
.cursor.text i { width: 4px; height: 26px; border-radius: 2px; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .card, .card:nth-child(4n + 1), .card:nth-child(4n + 4) { grid-column: span 6; }
  .honor-list { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .col-stack { display: none; }
}
@media (max-width: 820px) {
  .bar-meta .clock { display: none; }
  .col-kind, .col-push { display: none; }
}
@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  .bar { gap: 8px; }
  .mark span, .bar-meta { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 0 8px; font-size: 13px; }
  .hero { padding-top: calc(var(--bar-h) + 6vh); }
  .facts { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; order: 4; }
  .facts dd { font-size: 13.5px; }
  .cta { order: 3; margin-top: 30px; }
  .ticker { order: 5; margin-top: 30px; }
  .lede { margin-top: 24px; }
  .hide-sm { display: none; }
  .card, .card:nth-child(4n + 1), .card:nth-child(4n + 4) { grid-column: 1 / -1; }
  .card { transform: none; }
  .atmos { background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(6, 10, 8, 0.8) 100%), linear-gradient(180deg, rgba(11, 17, 13, 0.25), rgba(11, 17, 13, 0.7)); }
  .evolution { height: 640vh; }
  .evo-sticky { align-items: flex-end; padding: var(--bar-h) 12px 14px; }
  .evo-panel { width: 100%; padding: 16px 16px 14px 20px; }
  .evo-date { font-size: 34px; margin-bottom: 8px; }
  .evo-era h3 { font-size: 22px; }
  .evo-line { display: none; }
  .evo-projects { display: flex; gap: 6px; overflow-x: auto; border: 0; margin-top: 10px; padding-bottom: 2px; scrollbar-width: none; }
  .evo-projects button { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; min-height: 36px; }
  .evo-projects button.current { padding-left: 12px; border-color: var(--lichen); }
  .evo-d { display: none; }
  .evo-hint { display: none; }
  .role { grid-template-columns: 1fr; gap: 6px; }
  .ledger td, .ledger tbody th { padding: 12px 12px; }
  .row-blurb { display: none; }
  .work, .index, .honors, .about { padding-top: 14vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-split] .w > span { opacity: 1; transform: none; }
}

@media print {
  #world, .atmos, .labels, .cursor, .bar, .progress, .evolution, .toast, .foot-render { display: none !important; }
  body { background: #fff; color: #111; }
  .js .reveal, .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
  .card, .honor, .ledger-wrap { background: none; border-color: #ccc; break-inside: avoid; }
}
