:root {
  --bg: #0e0d0b;
  --bg-2: #15130f;
  --surface: #1a1814;
  --surface-2: #221f19;
  --line: #2c2820;
  --text: #f1ece2;
  --muted: #a39b8b;
  --accent: #ffb454;
  --accent-ink: #1a1203;
  --good: #7bd88f;
  --warn: #ffb454;
  --bad: #ff7a6b;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --nav-h: 64px;
}
[data-theme="light"] {
  --bg: #faf6ee;
  --bg-2: #f3ede0;
  --surface: #ffffff;
  --surface-2: #f6f0e3;
  --line: #e4dccb;
  --text: #1d1a14;
  --muted: #6d6556;
  --accent: #b45309;
  --accent-ink: #ffffff;
  --good: #1f7a3a;
  --warn: #b45309;
  --bad: #b3261e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
  pointer-events: none;
}
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
kbd {
  font-family: var(--mono); font-size: 0.72rem;
  border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px; color: var(--muted); background: var(--surface);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--mono); font-weight: 500; font-size: 1.15rem; text-decoration: none; color: var(--accent); }
.cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav-links { display: flex; gap: 22px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-tools { display: flex; gap: 10px; align-items: center; }
.kbd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 0.85rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 6px 10px; cursor: pointer;
}
.kbd-btn:hover { color: var(--text); border-color: var(--accent); }
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="dark"] .i-sun, [data-theme="light"] .i-moon { display: none; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: inherit; font-weight: 500; font-size: 0.95rem;
  padding: 11px 18px; border-radius: 12px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  transition: transform .15s, border-color .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 12px; font-size: 0.85rem; }

/* HERO */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; background: var(--surface); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 var(--good); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; margin-top: 22px; }
.h1-name { display: block; font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
.h1-line { display: block; font-size: clamp(1.5rem, 3.4vw, 2.4rem); color: var(--muted); font-weight: 400; margin-top: 10px; min-height: 1.3em; }
.rotator { color: var(--accent); font-style: italic; }
.caret { display: inline-block; width: 3px; height: 0.95em; background: var(--accent); margin-left: 4px; vertical-align: -0.1em; animation: blink 1s steps(1) infinite; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; margin: 22px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 26px; font-size: 0.82rem; color: var(--muted); }
.hero-meta .sep { margin: 0 8px; opacity: .5; }
#availability { color: var(--good); }

.feed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.feed-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); background: var(--surface-2); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.feed-body { height: 262px; padding: 14px; font-size: 0.74rem; line-height: 1.7; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.feed-line { display: flex; gap: 10px; animation: slidein .4s ease; white-space: nowrap; overflow: hidden; }
.feed-line .msg { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.feed-line .ts, .feed-line .lvl, .feed-line .src { flex: none; }
.feed-line .src { width: 5.6em; }
@keyframes slidein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.feed-line .ts { color: var(--muted); opacity: .7; }
.feed-line .lvl { width: 3.2em; font-weight: 500; }
.lvl.info { color: #7db4ff; } .lvl.warn { color: var(--warn); } .lvl.ok { color: var(--good); }
.feed-line .src { color: var(--muted); }
.feed-note { margin: 0; padding: 9px 14px; font-size: 0.75rem; color: var(--muted); border-top: 1px solid var(--line); }

/* STATS */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--accent); font-weight: 600; line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 10px; max-width: 24ch; }

/* SECTIONS */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.sec-title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.num { font-size: 0.85rem; color: var(--accent); font-weight: 400; }
.sec-sub { color: var(--muted); margin-bottom: 32px; max-width: 60ch; }
.body-lg { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.about-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.now-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.now-h { color: var(--accent); font-size: 0.95rem; margin-bottom: 14px; font-weight: 500; }
.now-card li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 0.98rem; }
.now-card li::before { content: ">"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

/* LENS BAR */
.lens-zone { position: relative; }
.lensbar { position: sticky; top: var(--nav-h); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.lensbar-in { display: flex; align-items: center; gap: 14px; padding-block: 10px; flex-wrap: wrap; }
.lens-label { font-size: 0.78rem; color: var(--muted); }
.lens-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font: inherit; font-size: 0.88rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .15s; }
.pill:hover { color: var(--text); border-color: var(--accent); }
.pill.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.lens-hint { margin-left: auto; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, border-color .2s, box-shadow .2s, opacity .3s; position: relative; }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--accent) 60%, transparent); }
.card.featured { grid-column: span 1; }
.card h3 { font-family: var(--serif); font-size: 1.35rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.arrow { color: var(--muted); transition: transform .2s, color .2s; }
.card:hover .arrow { transform: translate(3px, -3px); color: var(--accent); }
.card.hide { display: none; }
.status { font-family: var(--mono); font-size: 0.72rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); display: inline-block; }
.s-live { color: var(--good); border-color: color-mix(in srgb, var(--good) 50%, var(--line)); }
.s-in-progress, .s-building, .s-tinkering { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--mono); font-size: 0.74rem; padding: 3px 9px; border-radius: 8px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.chips.big li { font-size: 0.82rem; padding: 5px 11px; color: var(--text); }
.empty { text-align: center; padding: 40px 0; }

/* DIALOG (project) */
dialog { color: var(--text); }
.pdialog { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.pdialog::backdrop, .palette::backdrop { background: rgba(8,7,5,.65); backdrop-filter: blur(4px); }
.pd-box { padding: 28px; position: relative; }
.pd-box h3 { font-family: var(--serif); font-size: 1.8rem; margin: 14px 0 12px; }
.pd-box p { color: var(--muted); }
.pd-close { position: absolute; right: 16px; top: 16px; }

/* TRIAGE */
.triage-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.triage { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 32px); }
.triage-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; }
.steps { display: flex; gap: 8px; }
.step { width: 34px; height: 6px; border-radius: 4px; background: var(--line); transition: background .3s; }
.step.cur { background: var(--accent); }
.step.best { background: var(--good); } .step.ok { background: var(--warn); } .step.bad { background: var(--bad); }
.score { font-size: 0.85rem; color: var(--muted); } .score b { color: var(--accent); font-size: 1.05rem; }
.triage-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.alert-box { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 12px; padding: 20px; }
.alert-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; }
.sev { padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); }
.sev.High { color: var(--bad); border-color: var(--bad); } .sev.Medium { color: var(--warn); border-color: var(--warn); } .sev.Low { color: var(--good); border-color: var(--good); }
.alert-box h3 { font-family: var(--serif); font-size: 1.5rem; }
.alert-box p { color: var(--muted); margin: 8px 0 16px; }
.small-h { font-size: 0.75rem; color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.clues li { font-size: 0.93rem; padding: 7px 0 7px 18px; border-bottom: 1px dashed var(--line); position: relative; }
.clues li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.alert-box .btn { margin-top: 16px; }
.hint { margin: 14px 0 0 !important; font-size: 0.9rem; padding: 12px 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 10px; color: var(--text) !important; }
.opt { display: block; width: 100%; text-align: left; font: inherit; font-size: 0.97rem; padding: 13px 16px; margin-bottom: 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--text); cursor: pointer; transition: all .15s; }
.opt:hover:not(:disabled) { border-color: var(--accent); transform: translateX(3px); }
.opt:disabled { cursor: default; opacity: .6; }
.opt.chosen { opacity: 1; }
.opt.best.chosen, .opt.best.reveal-best { border-color: var(--good); background: color-mix(in srgb, var(--good) 10%, var(--bg)); opacity: 1; }
.opt.ok.chosen { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--bg)); }
.opt.bad.chosen { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--bg)); }
.feedback { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin: 6px 0 14px; font-size: 0.95rem; }
.feedback b { display: block; margin-bottom: 4px; }
.triage-end { text-align: center; padding: 30px 10px; }
.triage-end h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 10px; }
.triage-end p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }

/* TIMELINE */
.timeline { position: relative; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 0 0 34px 34px; position: relative; transition: opacity .3s; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl-when { font-size: 0.82rem; color: var(--muted); padding-top: 4px; }
.tl-body h3 { font-family: var(--serif); font-size: 1.4rem; }
.at { font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--muted); }
.tl-body ul { margin-top: 10px; }
.tl-body li { color: var(--muted); padding-left: 18px; position: relative; margin-bottom: 6px; font-size: 0.98rem; }
.tl-body li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 2px; background: var(--accent); }
.dim { opacity: .3; }

/* SKILLS */
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.skill-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: opacity .3s; }
.skill-group h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 14px; }

/* EDU */
.edu-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 5vw, 70px); }
.edu-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.edu-when { font-size: 0.8rem; color: var(--muted); padding-top: 3px; }
.mini-h { margin: 32px 0 12px; font-size: 0.8rem; color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.plain li { padding: 6px 0 6px 18px; position: relative; color: var(--muted); font-size: 0.96rem; }
.plain li::before { content: "/"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.next-certs { margin-top: 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.chip-accent { font-family: var(--mono); font-size: 0.8rem; border: 1px dashed var(--accent); color: var(--accent); padding: 4px 12px; border-radius: 999px; }
.badges { display: grid; gap: 12px; margin-top: 10px; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; }

/* CONTACT */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.links { margin-top: 24px; display: grid; gap: 8px; font-family: var(--mono); font-size: 0.95rem; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 16px; }
.form label, .form legend { font-size: 0.85rem; color: var(--muted); display: grid; gap: 6px; }
.form input[type="text"], .form input[type="email"], .form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.form textarea { resize: vertical; }
fieldset.topic { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.topic legend { margin-bottom: 8px; padding: 0; }
.radio { display: inline-block !important; position: relative; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.88rem; background: var(--bg); transition: all .15s; }
.radio input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.92rem; }
.form-status.ok { color: var(--good); } .form-status.err { color: var(--bad); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 0.88rem; color: var(--muted); }
.footer-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* PALETTE */
.palette { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 0; width: min(580px, calc(100% - 28px)); margin-top: 14vh; box-shadow: 0 40px 90px -20px rgba(0,0,0,.7); }
.palette-box input { width: 100%; font: inherit; font-size: 1.05rem; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; outline: none; }
#palette-list { max-height: 340px; overflow: auto; padding: 8px; }
#palette-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 0.96rem; }
#palette-list li small { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; align-self: center; }
#palette-list li.sel { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.palette-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: all .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* REVEAL */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero-grid, .about-grid, .edu-grid, .contact-grid, .triage-main { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .nav-links { display: none; }
  .lens-hint { margin-left: 0; width: 100%; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .skill-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .edu-list li { grid-template-columns: 1fr; gap: 2px; }
  .kbd-btn kbd { display: none; }
  .feed-body { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* RESUME + PRINT */
.resume-page { background: #fff; color: #111; }
.resume-page::before { display: none; }
.resume { width: min(820px, 100% - 32px); margin: 32px auto 60px; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.resume h1 { font-family: var(--serif); font-size: 2.2rem; margin: 0; color: #111; }
.resume .role { color: #555; margin: 2px 0 8px; }
.resume .contactline { font-family: var(--mono); font-size: 12px; color: #444; }
.resume h2 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid #ccc; padding-bottom: 4px; margin: 22px 0 10px; color: #8a4b00; }
.resume .row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.resume .row span:last-child { font-weight: 400; color: #555; font-family: var(--mono); font-size: 12px; }
.resume ul.pts { margin: 4px 0 12px 18px; list-style: disc; }
.resume ul.pts li { margin-bottom: 2px; }
.resume .tools { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.resume .btn { color: #111; border-color: #bbb; background: #fff; }
.resume .two { columns: 2; column-gap: 28px; }
@media print {
  .no-print { display: none !important; }
  .resume { margin: 0; width: 100%; }
  body { background: #fff; }
}
