/* ============================================================
   plygrnd theme — dark primary, light alternate
   ============================================================ */

:root, [data-theme="dark"] {
  --bg: #18150F;
  --bg-elev: #23201A;
  --ink: #EDE5D0;
  --ink-soft: #9D9484;
  --ink-mute: #5C564B;
  --rule: rgba(237,229,208,0.13);
  --link: #B5F500;
  --link-hover: #C77DFF;
  --code-color: #B5F500;
  --grid-dot: rgba(237,229,208,0.04);
  --work-auth-bg: rgba(181,245,0,0.06);
}

[data-theme="light"] {
  --bg: #F5EFE0;
  --bg-elev: #ECE5D2;
  --ink: #18150F;
  --ink-soft: #5A554A;
  --ink-mute: #B0A99A;
  --rule: rgba(24,21,15,0.15);
  --link: #527500;
  --link-hover: #6B1FA8;
  --code-color: #527500;
  --grid-dot: rgba(24,21,15,0.06);
  --work-auth-bg: rgba(82,117,0,0.08);
}

/* Brand accents — same in both themes */
:root {
  --purple: #C77DFF;
  --green: #B5F500;
  --amber: #FFB13D;
  --coral: #FF6B4A;
  --ink-on-fill: #18150F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0);
  background-size: 28px 28px;
  min-height: 100vh;
  transition: background-color 0.2s, color 0.2s;
}

a { color: inherit; }
::selection { background: var(--green); color: var(--ink-on-fill); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   TOP BAR / NAV
   ============================================================ */

header.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 2px solid var(--ink);
  gap: 16px;
}

.wordmark {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.wordmark .accent { color: var(--green); }

.nav-group { display: flex; align-items: center; gap: 20px; }

nav {
  display: flex;
  gap: 28px;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 15px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 4px 2px;
  transition: color 0.15s;
}

nav a:hover { color: var(--link); }

nav a.active {
  background: linear-gradient(transparent 70%, var(--purple) 70%);
}

/* THEME TOGGLE */
.theme-toggle {
  background: transparent;
  border: 1.5px solid var(--ink-mute);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 5px 10px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, color 0.15s;
}

.theme-toggle:hover { border-color: var(--ink); color: var(--link); }

.theme-toggle .icon {
  font-size: 14px;
  line-height: 1;
}

[data-theme="dark"] .theme-toggle .icon::before { content: "☀"; }
[data-theme="light"] .theme-toggle .icon::before { content: "☾"; }

[data-theme="dark"] .theme-toggle .label::before { content: "light"; }
[data-theme="light"] .theme-toggle .label::before { content: "dark"; }

/* ============================================================
   PAGE HEADER (shared across pages)
   ============================================================ */

.page-header { padding: 70px 0 32px; }

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  background: var(--ink);
  color: var(--bg);
  padding: 6px 12px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.eyebrow::before { content: '~/ '; color: var(--coral); }

h1.page-title, h1.name-title {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: clamp(64px, 11vw, 144px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 12px;
}

h1.page-title .accent, h1.name-title .accent { color: var(--purple); }

.role-subtitle {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero { padding: 84px 0 48px; position: relative; }

.hero-title {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(96px, 18vw, 240px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-title .accent { color: var(--purple); }

.hero-tagline {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  line-height: 1.5;
  max-width: 600px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.hero-tagline em { color: var(--ink); font-style: italic; }

.stamp {
  position: absolute;
  top: 60px;
  right: -8px;
  transform: rotate(7deg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral);
  border: 2.5px solid var(--coral);
  padding: 8px 14px;
  text-transform: uppercase;
  background: rgba(255,107,74,0.08);
  white-space: nowrap;
}

.stamp .small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.06em;
  margin-top: 2px;
  color: var(--ink-soft);
}

.now {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.now-chip {
  background: var(--bg-elev);
  border: 1.5px solid var(--ink-mute);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, background 0.15s;
}

.now-chip:nth-child(2) { transform: rotate(-0.6deg); }
.now-chip:nth-child(4) { transform: rotate(0.5deg); }

.now-chip strong { font-weight: 700; color: var(--ink); }
.now-chip .lbl { color: var(--ink-soft); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 12px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  margin: 0 -32px;
}

.marquee-track {
  display: inline-block;
  animation: scroll 50s linear infinite;
  padding-left: 100%;
}

.marquee-track span { margin: 0 32px; }

.marquee-track .pill {
  color: var(--link);
  font-weight: 700;
  margin-right: 4px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============================================================
   POST LIST (home + blog index)
   ============================================================ */

.writing-section { padding: 60px 0 50px; }

.writing-section.bordered { border-top: 2px solid var(--ink); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

h2.section-title {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h2.section-title .accent { color: var(--purple); }

.section-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
}

.posts { display: flex; flex-direction: column; }

.post {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 28px;
  padding: 24px 12px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s, padding-left 0.15s;
}

.post:hover {
  padding-left: 24px;
  background: var(--bg-elev);
}

.post:hover .post-title { color: var(--link); }

.post-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.post-body { display: flex; flex-direction: column; gap: 6px; }

.post-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.post-excerpt {
  font-family: 'Newsreader', serif;
  font-size: 16px;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 60ch;
}

/* ============================================================
   TAGS — universal
   ============================================================ */

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1.5px solid var(--ink-on-fill);
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.tag-cvd { background: var(--coral); color: var(--ink-on-fill); transform: rotate(-1deg); }
.tag-life-update, .tag-life { background: var(--purple); color: var(--ink-on-fill); transform: rotate(1deg); }
.tag-ramblings, .tag-ramble { background: var(--green); color: var(--ink-on-fill); transform: rotate(-0.5deg); }
.tag-amazon { background: var(--amber); color: var(--ink-on-fill); }
.tag-off-topic, .tag-off { background: var(--green); color: var(--ink-on-fill); }

/* ============================================================
   HOME — ABOUT + ELSEWHERE COLUMNS
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  border-top: 2px solid var(--ink);
  padding: 60px 0;
}

.about-block h2 {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 0.95;
}

.about-block p {
  font-family: 'Newsreader', serif;
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 58ch;
  color: var(--ink);
}

.about-block .pull {
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 20px;
  font-style: italic;
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.about-block a.inline {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.elsewhere h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
  text-transform: uppercase;
  color: var(--ink);
}

.elsewhere ul { list-style: none; }
.elsewhere li { border-bottom: 1px solid var(--rule); }

.elsewhere a {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  transition: color 0.15s, padding-left 0.15s;
}

.elsewhere a:hover { color: var(--link); padding-left: 8px; }

.elsewhere .arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   HOME — CAT STATUS
   ============================================================ */

.cat-status {
  border-top: 2px solid var(--ink);
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  align-items: center;
}

.cat-status .label {
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cat-status .cat { color: var(--ink); font-weight: 500; }
.cat-status .cat .name { color: var(--link); }

/* ============================================================
   BLOG INDEX — TAG FILTER + YEAR GROUPS
   ============================================================ */

.tag-filter {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.tag-filter .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-right: 8px;
}

.tag-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1.5px solid var(--ink-mute);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}

.tag-pill .swatch {
  width: 8px;
  height: 8px;
  display: inline-block;
}

.tag-pill:hover { border-color: var(--ink); }

.tag-pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.tag-pill .count {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 11px;
}

.year-group { border-top: 2px solid var(--ink); padding: 32px 0 24px; }
.year-group:first-of-type { border-top: none; padding-top: 0; }

.year-label {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.bottom-note {
  border-top: 2px solid var(--ink);
  padding: 32px 0 16px;
  text-align: center;
  font-family: 'Newsreader', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
}

.bottom-note a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ============================================================
   SINGLE POST — HEADER, BODY, FOOTER
   ============================================================ */

.post-header { padding: 60px 0 40px; max-width: 760px; }

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
}

.post-meta-row .date strong { color: var(--ink); font-weight: 700; }

.post-meta-row .reading { display: flex; align-items: center; gap: 6px; }

.post-meta-row .reading::before {
  content: '·';
  margin-right: 8px;
  color: var(--ink-mute);
}

h1.post-title {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

h1.post-title .accent { color: var(--purple); }

.post-summary {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 60ch;
}

.post-body {
  max-width: 720px;
  padding: 40px 0 60px;
  border-top: 2px solid var(--ink);
}

.post-body p {
  margin-bottom: 1.4em;
  font-family: 'Newsreader', serif;
  font-size: 19px;
  line-height: 1.7;
}

.post-body p strong { font-weight: 600; }
.post-body p em { font-family: 'Newsreader', serif; font-style: italic; }

.post-body a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.post-body a:hover { color: var(--link-hover); }

.post-body h2 {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 2.2em 0 0.7em;
}

.post-body h3 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 1.8em 0 0.6em;
  color: var(--ink);
}

.post-body h3::before {
  content: '// ';
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
}

.post-body ol {
  list-style: none;
  counter-reset: item;
  margin: 1.6em 0;
}

.post-body ol > li {
  counter-increment: item;
  position: relative;
  padding: 18px 0 18px 64px;
  border-bottom: 1px solid var(--rule);
}

.post-body ol > li:first-child { border-top: 1px solid var(--rule); }

.post-body ol > li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--link);
  letter-spacing: 0.04em;
}

.post-body ul { list-style: none; margin: 1.4em 0; padding-left: 0; }

.post-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
}

.post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--coral);
}

.post-body blockquote {
  border-left: 4px solid var(--purple);
  padding: 8px 0 8px 24px;
  margin: 1.8em 0;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 21px;
  font-family: 'Newsreader', serif;
}

.post-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  color: var(--code-color);
}

.post-body pre {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 20px 24px;
  margin: 1.6em 0;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
  font-size: inherit;
}

.post-body hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 2.4em 0;
  position: relative;
}

.post-body hr::after {
  content: '·  ·  ·';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 16px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-mute);
  letter-spacing: 0.4em;
  font-size: 14px;
}

.post-footer {
  max-width: 720px;
  border-top: 2px solid var(--ink);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}

.post-tags .label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.post-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 16px;
  border: 1.5px solid var(--ink-mute);
  transition: border-color 0.15s, background 0.15s;
}

.post-nav a:hover { border-color: var(--link); background: var(--bg-elev); }

.post-nav .direction {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}

.post-nav .next-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.post-nav .next.disabled {
  opacity: 0.35;
  border-style: dashed;
  pointer-events: none;
}

/* ============================================================
   RESUME
   ============================================================ */

.contact-grid {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item { display: flex; flex-direction: column; gap: 6px; }

.contact-item .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral);
  text-transform: uppercase;
}

.contact-item .value {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.contact-item .value a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-mute);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.contact-item .value a:hover { color: var(--link); text-decoration-color: var(--link); }

.contact-item .value code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 3px 7px;
  color: var(--code-color);
  display: inline-block;
}

.work-auth {
  border: 2px solid var(--green);
  background: var(--work-auth-bg);
  padding: 18px 22px;
  margin-bottom: 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.work-auth .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--link);
  text-transform: uppercase;
  white-space: nowrap;
}

.work-auth .value {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.work-auth .value strong { color: var(--link); font-weight: 700; }

.section { border-top: 2px solid var(--ink); padding: 48px 0; }

.overview-text {
  font-family: 'Newsreader', serif;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 70ch;
}

.overview-text p { margin-bottom: 1em; }
.overview-text p:last-child { margin-bottom: 0; }
.overview-text strong { font-weight: 600; }

.company { border-top: 1px solid var(--rule); padding: 32px 0; }
.company:first-of-type { border-top: none; padding-top: 0; }

.company-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 24px;
}

.company-dates {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

.company-dates .current {
  display: inline-block;
  background: var(--green);
  color: var(--ink-on-fill);
  padding: 3px 10px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.company-name {
  font-family: 'Boldonse', 'Familjen Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.company-name .loc {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 12px;
  letter-spacing: 0;
  display: inline-block;
}

.role {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 16px 0 28px;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}

.role:first-of-type { border-top: none; }

.role-dates {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  padding-top: 4px;
}

.role-body h3 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.role-body h3::before {
  content: '// ';
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 14px;
}

.role-body ul { list-style: none; padding: 0; margin: 0; }

.role-body > ul > li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-family: 'Newsreader', serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 70ch;
}

.role-body > ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--green);
}

.role-body ul ul { margin-top: 6px; padding-left: 0; }

.role-body ul ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-family: 'Newsreader', serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 68ch;
}

.role-body ul ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.role-body strong { color: var(--ink); font-weight: 600; }

.role-body em {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 0.85em;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 1px 5px;
  color: var(--code-color);
}

.role-body a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.role-body a:hover { color: var(--link-hover); }

.skills-rated {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 14px 32px;
}

.skill-row {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.skill-row .skill-name {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.skill-row .skill-name small {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  margin-left: 6px;
}

.skill-meter { display: flex; gap: 3px; }

.skill-meter span {
  width: 11px;
  height: 14px;
  display: inline-block;
  background: var(--ink-mute);
  opacity: 0.4;
}

.skill-meter span.fill { background: var(--green); opacity: 1; }

.skill-row .skill-rating {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.skill-row .skill-rating .total { color: var(--ink-mute); font-weight: 400; }

.two-col-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.lang-block h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
  text-transform: uppercase;
  color: var(--coral);
}

.lang-block ul { list-style: none; }

.lang-block li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.lang-block .level {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.lang-block .level.native { color: var(--link); font-weight: 700; }

.download-cta {
  border-top: 2px solid var(--ink);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.download-cta .text {
  font-family: 'Newsreader', serif;
  font-size: 17px;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 50ch;
}

.download-cta .btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  background: var(--green);
  color: var(--ink-on-fill);
  text-decoration: none;
  border: 2px solid var(--green);
  transition: background 0.15s, color 0.15s;
}

.download-cta .btn:hover { background: transparent; color: var(--link); }

/* ============================================================
   FOOTER
   ============================================================ */

footer.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.color-tower { display: flex; gap: 4px; }
.color-tower span { width: 14px; height: 14px; display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  nav { gap: 16px; }
  nav a:nth-child(4) { display: none; }
  .nav-group { gap: 12px; }
  .post { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .post-title { font-size: 22px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-tagline { font-size: 19px; }
  .stamp { display: none; }
  .marquee { margin: 0 -20px; }
  h1.post-title { font-size: 36px; }
  .post-summary { font-size: 19px; }
  .post-body p { font-size: 18px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-body h2 { font-size: 28px; }
  .company-head { grid-template-columns: 1fr; gap: 8px; }
  .company-name { font-size: 28px; }
  .role { grid-template-columns: 1fr; gap: 8px; }
  .skills-rated { grid-template-columns: 1fr; }
  .two-col-block { grid-template-columns: 1fr; gap: 32px; }
  .year-label { font-size: 48px; }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { transition: none !important; }
}
