/* aaronsawit.com
   Sober and dark. One accent (the lime from Versed, so the products and their maker still match),
   used for links, the primary button and one word of the headline. Everything else is type and thin lines.
   Geist for text, Geist Mono for labels and data. Credentials and numbers sit in the first screen. */
:root {
  color-scheme: dark;
  --bg: #0b0c10; --bg2: #101218; --card: #14161d; --card2: #1b1e27; --line: #262a35;
  --text: #eceef2; --muted: #9aa1b0; --dim: #626a7a;
  --lime: #c6ff3d; --pink: #ff4fa3; --cyan: #3df2ff; --amber: #ffb020; --violet: #8b7bff; --green: #3dff9a; --ink: #0e0d17;
  --pop: 4px 4px 0 var(--pink); --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Geist", system-ui, -apple-system, sans-serif;
  --body: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px; --pad: clamp(1rem, 4vw, 2.5rem); --s: 4;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink); padding: .6rem 1rem; z-index: 10; border-radius: 8px; }
.skip:focus { left: .5rem; top: .5rem; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--lime); }
.eyebrow { font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 0 1rem; }
.eyebrow a { color: inherit; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 42rem; margin: 1.2rem 0 0; color: var(--muted); }
code { font-family: var(--mono); }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; padding: 1.1rem 0; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.brand strong { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.brand strong::before { content: "AS"; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-right: .6rem; background: var(--lime); color: var(--ink); border-radius: 9px; font-size: .8rem; vertical-align: middle; }
.brand span { display: none; }
.top nav { display: flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .95rem; flex-wrap: nowrap; }
.top nav a { color: var(--muted); text-decoration: none; padding: .45rem .8rem; border-radius: 10px; white-space: nowrap; }
.top nav a:hover { color: var(--text); background: var(--card); }
.top nav a[aria-current="page"] { color: var(--text); background: var(--card2); }
.top .nav-cta { background: var(--lime); color: var(--ink); font-weight: 600; margin-left: .4rem; }
.top .nav-cta:hover { background: #d6ff6b; color: var(--ink); }
@media (max-width: 56rem) { .top nav .opt { display: none; } }
@media (max-width: 34rem) { .top nav a { padding: .4rem .5rem; font-size: .86rem; } .brand strong { font-size: 0; } .brand strong::before { font-size: .8rem; margin: 0; } }

/* ---------- buttons, chips ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .12s var(--ease), box-shadow .12s, background .15s, border-color .15s; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translate(2px, 2px); }
.btn-solid { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-solid:hover { background: #d6ff6b; border-color: #d6ff6b; }

.btn-cyan { background: var(--cyan); color: var(--ink); border-color: var(--cyan); box-shadow: 4px 4px 0 var(--violet); }
.btn-cyan:hover { background: #7cf6ff; border-color: #7cf6ff; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chips li { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem .5rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: .9rem; }
.chips li::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c, var(--lime)); flex: none; }
.chips li:nth-child(2) { --c: var(--cyan); } .chips li:nth-child(3) { --c: var(--pink); } .chips li:nth-child(4) { --c: var(--amber); }
.tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { font-size: .78rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; color: var(--muted); background: var(--bg2); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pill { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; color: var(--muted); margin: 0 0 1.4rem; }
.pill::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); margin-right: .6rem; vertical-align: .05rem; }
.hero h1 { max-width: 12ch; }
.proof { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.creds { margin: 0; }
.creds div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line); }
.creds dt { font-family: var(--mono); font-size: .74rem; color: var(--dim); padding-top: .2rem; }
.creds dd { margin: 0; font-weight: 500; line-height: 1.4; }
.nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nums li { padding: 1.1rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nums li:nth-child(2n) { border-right: 0; } .nums li:nth-last-child(-n+2) { border-bottom: 0; }
.nums strong { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--lime); }
.nums span { display: block; margin-top: .4rem; color: var(--muted); font-size: .9rem; line-height: 1.35; }
@media (max-width: 56rem) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 26rem) { .creds div { grid-template-columns: 1fr; gap: .1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.about-photo { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); margin: 0 0 1.4rem; }

/* ---------- bands ---------- */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band-alt { background: var(--bg2); }
.band-head { max-width: 46rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.band-head h2 small { display: block; font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: .7rem; }
.band-head p { margin: .9rem 0 0; color: var(--muted); font-size: 1.08rem; }
.more { margin: 1.6rem 0 0; font-weight: 700; }

/* cards ("doors" on versedapps.com) */
.quest, .lab-card, .rules li, .inventory section, .rule { --c: var(--lime); background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .18s; }
.quest:hover, .lab-card:hover { border-color: var(--lime); }
@media (prefers-reduced-motion: reduce) { .quest:hover, .lab-card:hover { transform: none; } }

.quests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.quest { overflow: hidden; }
.quest > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.quest .shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); border-bottom: 2px solid var(--line); }
.quest .shot img, .quest .shot svg { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.quest .body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.kind { font-family: var(--mono); font-weight: 700; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--c, var(--lime)); margin: 0; }
.quest h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; }
.quest p.sum { margin: 0; color: var(--muted); }
.loot { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .35rem; font-weight: 700; font-size: .96rem; }
.loot li { padding-left: 1.25rem; position: relative; }
.loot li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 3px; background: var(--c, var(--lime)); }
.go { margin-top: auto; padding-top: .7rem; font-weight: 700; color: var(--c, var(--lime)); text-decoration: none; }
.go::after { content: " \2192"; }
@media (max-width: 48rem) { .quests { grid-template-columns: 1fr; } }

.also { margin-top: 2.2rem; }
.also h3 { font-size: 1.05rem; color: var(--muted); margin-bottom: .8rem; }
.also ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .9rem; }
.also a { display: block; height: 100%; padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--text); }
.also a:hover { border-color: var(--violet); }
.also strong { display: block; margin-bottom: .25rem; }
.also span { color: var(--muted); font-size: .94rem; }

/* AI lab */
.lab { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.lab-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2rem; }
.lab-card { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.lab-card h3 { font-size: 1.2rem; font-weight: 700; }
.lab-card h3 a { color: var(--text); text-decoration: none; }
.lab-card .what { margin: 0; }
.lab-card .guard { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--muted); padding: .85rem 1rem; background: var(--bg2); border-radius: 14px; }
.lab-card .guard strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--lime)); margin-bottom: .3rem; }
.rules { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.rules li { padding: 1.3rem 1.4rem 1.4rem; }
.rules .n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; background: var(--lime); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: .9rem; }
.rules h3 { font-size: 1.05rem; margin: .8rem 0 .4rem; }
.rules p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
@media (max-width: 60rem) { .lab, .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .lab, .lab-wide, .rules { grid-template-columns: 1fr; } }

/* bug log */
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.cases a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: .6rem 1.6rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s var(--ease); }
.cases a:hover { border-color: var(--lime); }
.cases .said { color: var(--muted); font-size: 1rem; line-height: 1.4; padding-left: .9rem; border-left: 3px solid var(--pink); }
.cases .was { font-weight: 700; line-height: 1.35; padding-left: .9rem; border-left: 3px solid var(--lime); }
.slain { font-weight: 700; font-size: .7rem; letter-spacing: .08em; color: var(--ink); background: var(--lime); border-radius: 999px; padding: .25rem .6rem; white-space: nowrap; }
.cases-key { display: flex; gap: 1.4rem; flex-wrap: wrap; font-weight: 600; font-size: .82rem; color: var(--muted); margin: 0 0 1rem; }
.cases-key span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .45rem; vertical-align: -.05rem; }
.cases-key .k-said::before { background: var(--pink); } .cases-key .k-was::before { background: var(--lime); }
@media (max-width: 52rem) { .cases a { grid-template-columns: 1fr; } .slain { justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .cases a:hover { transform: none; } }

/* what I bring */
.inventory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.inventory section { padding: 1.5rem; }
.inventory h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }

.inventory p { margin: 0 0 .4rem; color: var(--muted); font-size: .98rem; }
@media (max-width: 56rem) { .inventory { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.about h2 { margin-bottom: 1.3rem; }
.about p { margin: 0 0 1.1rem; max-width: 40rem; color: var(--muted); }
.about p:first-of-type { color: var(--text); font-size: 1.12rem; }
.about aside h3 { font-size: 1rem; color: var(--muted); margin: 0 0 .8rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.facts li { padding: .85rem 1.1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.facts strong { display: block; }
.facts span { color: var(--muted); font-size: .93rem; }
@media (max-width: 52rem) { .about { grid-template-columns: 1fr; } }

/* contact */
.contact { padding: clamp(3rem, 7vw, 5rem) 0; }
.save { display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 3rem); flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.6rem, 4vw, 3rem); }
.save p { color: var(--muted); max-width: 34rem; margin: .9rem 0 0; }

.foot { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; padding: 1.5rem 0 3rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .88rem; color: var(--dim); border-top: 1px solid var(--line); }
.foot p { margin: 0; } .foot a { color: var(--muted); }

/* ---------- documents ---------- */
.doc-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); }
.doc-head h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); max-width: 22ch; }
.tagline { font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 0 1rem; }
.verdict-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.verdict-box div { padding: 1.1rem 1.3rem 1.2rem; border-radius: 18px; background: var(--card); border: 2px solid var(--pink); }
.verdict-box div:last-child { border-color: var(--lime); }
.verdict-box dt { font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.verdict-box dd { margin: 0; font-size: 1.05rem; line-height: 1.4; } .verdict-box div:last-child dd { font-weight: 700; }
@media (max-width: 44rem) { .verdict-box { grid-template-columns: 1fr; } }
.meta { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin: 2rem 0 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.meta dt { font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: .15rem 0 0; font-weight: 700; }
.meta-metrics { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; }
.meta-metrics li { font-weight: 700; font-size: .92rem; padding: .4rem .9rem; border-radius: 999px; background: var(--lime); color: var(--ink); }

.prose { padding-bottom: 3rem; }
.prose > * { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-top: 2.8rem; margin-bottom: .9rem; }
.prose h3 { font-size: 1.15rem; margin-top: 2rem; margin-bottom: .6rem; }
.prose p, .prose ul, .prose ol { margin-block: 0 1.15rem; }
.prose li { margin-bottom: .45rem; }
.prose code { font-size: .86em; background: var(--card); border: 1px solid var(--line); padding: .08em .4em; border-radius: 6px; overflow-wrap: anywhere; }
.prose pre { max-width: 52rem; background: var(--bg2); padding: 1.15rem 1.3rem; border-radius: 16px; overflow-x: auto; font-size: .82rem; line-height: 1.65; border: 1px solid var(--line); }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.prose blockquote { margin-inline: auto; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--lime); font-size: 1.12rem; }
.prose img { border-radius: 16px; border: 1px solid var(--line); }
.prose table { width: 100%; max-width: 52rem; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem 1rem .6rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line); }
.prose .diagram { max-width: 52rem; margin-block: 2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: .6rem; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; max-width: 60rem !important; margin-block: 2rem; }
@media (max-width: 36rem) { .shots { grid-template-columns: 1fr; } }

.list-head { font-size: 1.3rem; margin: 2.6rem 0 1rem; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.post-row a { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: .4rem 1.4rem; align-items: baseline; padding: .95rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--text); }
.post-row a:hover { border-color: var(--lime); }
.post-date, .post-tag { font-size: .8rem; font-weight: 600; color: var(--muted); }
.post-title { font-weight: 700; }
@media (max-width: 40rem) { .post-row a { grid-template-columns: 1fr; gap: .15rem; } }

.next { padding: 2rem 0 4rem; }
.next a { display: block; padding: 1.4rem 1.6rem; border-radius: 20px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--text); }
.next a:hover { border-color: var(--lime); }
.next span { display: block; font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.next strong { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }

/* detections */
.det { width: 100%; border-collapse: collapse; }
.det th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .7rem 1rem .7rem 0; border-bottom: 2px solid var(--line); }
.det td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.det td:first-child { font-weight: 700; }
.det td:first-child small { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.tech { font-family: var(--mono); font-size: .74rem; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; display: inline-block; margin: 0 .25rem .25rem 0; text-decoration: none; color: var(--text); background: var(--bg2); }
a.tech:hover { border-color: var(--lime); color: var(--lime); }
.pass { font-weight: 700; font-size: .82rem; white-space: nowrap; color: var(--green); }
.pass::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); margin-right: .45rem; }
.table-scroll { overflow-x: auto; }
@media (max-width: 44rem) { .det .opt { display: none; } }
.rule { max-width: 60rem; margin: 0 auto 2rem; overflow: hidden; }
.rule-head { padding: 1.4rem 1.5rem 1.2rem; border-bottom: 2px solid var(--line); }
.rule-head h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: .8rem; }
.rule-head p { margin: .7rem 0 0; color: var(--muted); }
.rule details { border-bottom: 1px solid var(--line); } .rule details:last-child { border-bottom: 0; }
.rule summary { cursor: pointer; padding: .85rem 1.5rem; font-weight: 700; font-size: .9rem; }
.rule summary:hover { background: var(--card2); }
.rule pre { margin: 0; padding: 1.1rem 1.5rem 1.4rem; overflow-x: auto; font-family: var(--mono); font-size: .8rem; line-height: 1.6; border-top: 1px solid var(--line); background: var(--bg2); }

/* diagrams */
.diagram { width: 100%; height: auto; display: block; }
.diagram text { font-family: var(--mono); font-size: 11px; fill: var(--text); }
.diagram .dim { fill: var(--muted); }
.diagram .box { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.diagram .box-key { fill: var(--card2); stroke: var(--lime); }
.diagram .on-key { fill: var(--text); }
.diagram .on-signal { fill: var(--ink); }
.diagram .wire { stroke: var(--muted); stroke-width: 1.5; fill: none; }
.diagram .bar { fill: var(--line); } .diagram .bar-key { fill: var(--lime); } .diagram .bar-signal { fill: var(--lime); }
.diagram .big { font-family: var(--body); font-size: 17px; font-weight: 700; }

/* ---------- CV ---------- */
.cv { max-width: 54rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.cv-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; border-bottom: 3px solid var(--lime); padding-bottom: 1.25rem; }
.cv-top h1 { font-size: clamp(2rem, 5vw, 3rem); }
.cv-top p { margin: .4rem 0 0; color: var(--muted); }
.cv-contact { list-style: none; margin: 0; padding: 0; font-size: .95rem; text-align: right; }
.cv h2 { font-size: 1.1rem; margin: 2.1rem 0 .8rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); color: var(--lime); }
.cv h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; line-height: 1.3; }
.cv-item { margin-bottom: 1.15rem; } .cv-item .sub { color: var(--muted); font-size: .95rem; margin: .1rem 0 0; }
.cv-item ul { margin: .4rem 0 0; padding-left: 1.1rem; } .cv-item li { margin-bottom: .2rem; }
.cv-skills { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .45rem 1rem; margin: 0; }
.cv-skills dt { font-weight: 700; } .cv-skills dd { margin: 0; color: var(--muted); }
.cv-summary { font-size: 1.1rem; margin: 1.4rem 0 0; }
@media (max-width: 36rem) { .cv-skills { grid-template-columns: 1fr; } .cv-contact { text-align: left; } }

@media print {
  :root { --bg: #fff; --bg2: #fff; --card: #fff; --text: #000; --muted: #333; --line: #bbb; --lime: #000; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.4; }
  .top, .foot, .skip, .no-print, .contact { display: none !important; }
  .cv { padding: 0; max-width: none; } .cv h2 { margin-top: 1.1rem; font-size: 12pt; color: #000; } .cv-top { border-color: #000; } .cv-top h1 { font-size: 24pt; }
  .cv-item { margin-bottom: .6rem; break-inside: avoid; } .cv-skills dd { color: #000; }
  a { text-decoration: none; color: #000; }
  @page { margin: 14mm 15mm; }
}

/* hero globe + proof strip */
.globe-wrap { justify-self: center; width: min(100%, 460px); aspect-ratio: 1; position: relative; }
.globe-wrap::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(198, 255, 61, .10), transparent 65%); }
#globe { width: 100%; height: 100%; display: block; position: relative; }
.hero .proof { margin-top: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.hero .creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 1px solid var(--line); }
.hero .creds div { grid-template-columns: 1fr; gap: .2rem; border-right: 1px solid var(--line); }
.hero .creds div:nth-child(2n) { border-right: 0; } .hero .creds div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 56rem) { .hero .proof { grid-template-columns: 1fr; } .hero .creds { border-right: 0; border-bottom: 1px solid var(--line); } .globe-wrap { width: min(80%, 320px); justify-self: center; margin: -1rem 0 -1.5rem; } }
@media (max-width: 30rem) { .hero .creds { grid-template-columns: 1fr; } .hero .creds div { border-right: 0; } .hero .creds div:nth-last-child(2) { border-bottom: 1px solid var(--line); } }
