/* ─────────────────────────────────────────────────────────────────────────────
   higgorleimig.com — commonplace book
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --paper:        #07070f;
  --paper-2:      #111023;
  --paper-3:      #181729;
  --rule:         rgba(232, 223, 208, 0.1);
  --rule-mid:     rgba(232, 223, 208, 0.22);
  --ink:          #e8dfd0;
  --ink-2:        #b5a898;
  --ink-3:        #6e6882;
  --accent:       #e83419;
  --accent-soft:  rgba(232, 52, 25, 0.35);
  --code-bg:      #0f0e1f;
  --selection:    rgba(232, 52, 25, 0.28);

  --font-serif:   'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', -apple-system, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --measure:      36rem;
  --measure-wide: 60rem;

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ── */
html { scroll-behavior: smooth; }

::selection { background: var(--selection); color: var(--ink); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "onum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── Film grain ── */
body::after {
  content: '';
  position: fixed;
  inset: -300px;
  pointer-events: none;
  z-index: 100;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain 0.45s steps(2) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-4%, 7%); }
  50%  { transform: translate(6%, -4%); }
  75%  { transform: translate(-7%, 4%); }
  100% { transform: translate(4%, -6%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s var(--ease), color 0.18s var(--ease);
}
a:hover { text-decoration-color: var(--accent); color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.wrap {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 1.75rem;
}

main { display: block; }

/* ── Header ── */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(7, 7, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1.5rem;
}

.site-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.site-mark .mark { letter-spacing: -0.03em; }
.site-mark .mark-dot { color: var(--accent); }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
}
.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--ink); }

/* ── Footer ── */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.footer-line {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.footer-line .sep { margin: 0 0.5rem; color: var(--rule-mid); }
.footer-meta a { text-decoration: none; color: var(--ink-2); }
.footer-meta a:hover { color: var(--accent); }

/* ── Home — Lede ── */
.lede {
  padding: 4.5rem 0 3rem;
  max-width: var(--measure);
  margin: 0 auto;
  animation: rise 0.9s var(--ease) both;
}
.lede-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.lede-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  text-shadow:
    0 0 60px rgba(232, 52, 25, 0.18),
    0 0 120px rgba(232, 52, 25, 0.08);
}
.lede-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 32rem;
}
.lede-sub a { color: var(--ink-2); }
.lede-sub a:hover { color: var(--accent); }
.lede-cta { margin-top: 1.5rem; }
.lede-cta .cta {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.18s var(--ease);
}
.lede-cta .cta:hover { color: var(--accent); }

/* ── Section title ── */
.section-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}
.section-title > span:first-child { color: var(--ink-2); }
.section-title .section-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  margin-left: auto;
  letter-spacing: 0.05em;
}
.section-title .section-more {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: none;
  color: var(--ink-2);
}
.section-title .section-more:hover { color: var(--accent); }

/* ── Recent sections on home ── */
.recent,
.notes-teaser { padding: 2.5rem 0; max-width: var(--measure); margin: 0 auto; }
.notes-teaser { animation: rise 0.9s 0.15s var(--ease) both; }
.recent       { animation: rise 0.9s 0.3s var(--ease) both; }
.notes-teaser-blurb {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 32rem;
}
.notes-teaser-blurb a { color: var(--ink-2); }
.notes-teaser-blurb a:hover { color: var(--accent); }

/* ── Page header ── */
.page-header {
  padding: 4.5rem 0 2rem;
  max-width: var(--measure);
  margin: 0 auto;
  animation: rise 0.9s var(--ease) both;
}
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.page-sub {
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.page-sub a { color: var(--ink); }
.page-sub a:hover { color: var(--accent); }

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

/* ── Tag cloud ── */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.tag-cloud::before {
  content: "tags ↪";
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  align-self: center;
  margin-right: 0.25rem;
}

/* ── Tag chip ── */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 2px 8px;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.tag:hover { color: var(--accent); border-color: var(--accent); background: rgba(232, 52, 25, 0.06); }

/* ── Post list ── */
.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.post-list-item { border-bottom: 1px solid var(--rule); }
.post-list-item:last-child { border-bottom: 0; }
.post-list-link {
  display: block;
  padding: 1.25rem 0;
  text-decoration: none;
  color: var(--ink);
  transition: padding 0.2s var(--ease);
}
.post-list-link:hover { padding-left: 0.4rem; color: var(--ink); }
.post-list-link:hover .post-list-title { color: var(--accent); }

.post-list-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.post-list-date .dot { margin: 0 0.5rem; color: var(--rule-mid); }
.post-list-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  transition: color 0.18s var(--ease);
}
.post-list-excerpt {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 32rem;
  margin-bottom: 0.5rem;
}
.post-list-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.post-list-tags .tag { font-size: 0.68rem; padding: 1px 6px; }

/* ── Notes list ── */
.note-cards {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.note-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem 1.75rem 1.4rem;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.note-card:hover {
  border-color: rgba(232, 52, 25, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(232, 52, 25, 0.08);
}

.note-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--rule);
}
.note-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.note-card-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.note-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
}
.note-card-link {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.2s var(--ease), color 0.18s var(--ease);
}
.note-card-link:hover {
  color: var(--accent);
  background-size: 100% 1px;
}

.note-card-body { font-size: 0.96rem; line-height: 1.65; color: var(--ink-2); }
.note-card-body > * + * { margin-top: 0.7em; }
.note-card-body p { font-size: 0.96rem; line-height: 1.65; }
.note-card-body h1,
.note-card-body h2,
.note-card-body h3 { display: none; }
.note-card-body ul { padding-left: 1.2rem; }
.note-card-body li { margin-top: 0.3em; }
.note-card-body pre { font-size: 0.78rem; padding: 0.7rem 0.85rem; margin: 0.9em 0; }

.note-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--rule);
}
.note-card-tags .tag { font-size: 0.68rem; padding: 1px 6px; }

/* ── Archive sections ── */
.archive { padding: 1.5rem 0 2rem; max-width: var(--measure); margin: 0 auto; }
.empty { color: var(--ink-3); font-style: italic; padding: 1rem 0; }

/* ── Article ── */
.post { max-width: var(--measure); margin: 0 auto; padding: 3rem 0 1rem; }

.post-header { margin-bottom: 2.5rem; animation: rise 0.9s var(--ease) both; }
.post-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.post-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.post-meta .sep { margin: 0 0.6rem; color: var(--rule-mid); }
.post-tags { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; }
.post-tags .tag { font-size: 0.68rem; padding: 1px 6px; }

.post-footer { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.post-footer .back {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-mid);
  padding-bottom: 1px;
}
.post-footer .back:hover { color: var(--accent); border-color: var(--accent); }

/* ── Prose ── */
.prose > * + * { margin-top: 1.1em; }
.prose p {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--ink);
  hyphens: auto;
  -webkit-hyphens: auto;
}
.prose strong { font-weight: 600; }
.prose em { font-style: italic; color: var(--ink-2); }
.prose a {
  color: var(--ink);
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.prose h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 2.5em;
  margin-bottom: 0.7em;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.18;
  letter-spacing: -0.008em;
  margin-top: 2.5em;
  margin-bottom: 0.7em;
  scroll-margin-top: 5rem;
}
.prose h2 a { text-decoration: none; color: inherit; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 0.6em;
  scroll-margin-top: 5rem;
}
.prose h3 a { text-decoration: none; color: inherit; }

.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-top: 0.45em; line-height: 1.7; }
.prose li::marker { color: var(--ink-3); }
.prose li > ul, .prose li > ol { margin-top: 0.45em; }

.prose blockquote {
  margin: 1.5em 0;
  padding: 0.4em 0 0.4em 1.25rem;
  border-left: 2px solid var(--accent);
  color: var(--ink-2);
  font-style: italic;
}
.prose blockquote p { color: var(--ink-2); }

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--code-bg);
  padding: 0.12em 0.36em;
  border-radius: 2px;
}
.prose pre {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  tab-size: 2;
}
.prose pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.prose pre { margin: 1.4em 0; }

.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5em 0;
}

.prose figure,
.prose p > img:only-child {
  display: block;
  margin: 1.6em auto;
  background: #ffffff;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  width: fit-content;
}
.prose p > img:only-child { height: auto; }
.prose p:has(> img:only-child) { margin: 0; }
.prose figcaption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 0.5rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  margin: 1.4em 0;
}
.prose th, .prose td {
  text-align: left;
  padding: 0.55em 0.75em;
  border-bottom: 1px solid var(--rule);
}
.prose th { font-weight: 600; color: var(--ink); }

.prose aside {
  margin: 1.7em 0;
  padding: 0.9em 1.1em;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  border-radius: 0 3px 3px 0;
}
.prose aside p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); margin: 0.5em 0 0; }
.prose aside p:first-child { margin-top: 0; }
.prose aside p:last-child { margin-bottom: 0; }
.prose aside strong { color: var(--ink); }

.prose pre.mermaid, .prose .mermaid {
  background: transparent;
  border: 0;
  padding: 1rem 0;
  text-align: center;
  box-shadow: none;
}
.prose pre.mermaid code, .prose .mermaid code { display: none; }

.prose .header-anchor {
  text-decoration: none;
  color: var(--ink-3);
  margin-right: 0.4rem;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
  font-weight: 400;
}
.prose h2:hover .header-anchor,
.prose h3:hover .header-anchor,
.prose h4:hover .header-anchor { opacity: 1; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  border: 1px solid transparent;
}
.btn-accent {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-accent:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--rule-mid);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); text-decoration: none; }

button.btn { cursor: pointer; font-family: inherit; }
button.copy-email { position: relative; }

/* ── Copy-tooltip ── */
.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.4rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--paper);
  background: var(--ink);
  padding: 0.32rem 0.7rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateX(-50%) translateY(3px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  pointer-events: none;
}
.copy-tooltip--show { opacity: 1; transform: translateX(-50%) translateY(0); }
.copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--ink);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.copy-tooltip--error { background: var(--accent); }

/* ── Resume ── */
.resume { padding: 1rem 0 2rem; max-width: var(--measure); margin: 0 auto; }

.job-list, .edu-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.job, .edu { position: relative; padding-left: 1.25rem; }
.job::before, .edu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: -1.5rem;
  width: 1px;
  background: var(--rule);
}
.job:last-child::before, .edu:last-child::before { display: none; }
.job-marker {
  position: absolute;
  left: -4px;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink-3);
}
.job:first-child .job-marker { background: var(--accent); border-color: var(--accent); }

.job-head, .edu-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.job-title, .edu-degree {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.job-period, .edu-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.job-company, .edu-school {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-bottom: 0.6rem;
}
.job-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.job-bullets li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 1rem;
  position: relative;
}
.job-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}

.edu-body { font-size: 0.95rem; line-height: 1.65; color: var(--ink-2); }

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.skill {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .site-header .wrap { height: 3.5rem; }
  .site-nav ul { gap: 1.1rem; }
  .site-nav a { font-size: 0.78rem; }
  .lede { padding: 3rem 0 2rem; }
  .lede-title { font-size: 2.4rem; }
  .post { padding: 2rem 0 1rem; }
  .post-header { margin-bottom: 2rem; }
  .note-card { padding: 1.2rem 1.25rem 1.1rem; }
  .note-card-title { font-size: 1.2rem; }
  .page-header { padding: 3rem 0 1.5rem; }
}
