/* ─────────────────── tokens ─────────────────── */
:root {
  --bg: #F1EEE6;
  --paper: #FBF9F4;
  --paper-rgb: 251, 249, 244;
  --ink: #14110D;
  --ink-2: #5B5448;
  --ink-3: #8E8675;
  --line: rgba(20, 17, 13, 0.10);
  --line-2: rgba(20, 17, 13, 0.18);
  --accent: #FF4D24;
  --accent-ink: #14110D;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-italic: "Instrument Serif", "Times New Roman", serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (pointer: fine) {
  body.custom-cursor, body.custom-cursor * { cursor: none !important; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ─────────────────── layout helpers ─────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hairline { height: 1px; background: var(--line); width: 100%; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-2);
}
.section-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 600; }

p { line-height: 1.55; color: var(--ink); }

/* ─────────────────── chrome ─────────────────── */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  pointer-events: none;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-location {
  pointer-events: auto;
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  background: rgba(var(--paper-rgb), 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 0.5px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.nav-pill {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  background: rgba(var(--paper-rgb), 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 0.5px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
}
.nav-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1FB36B;
  box-shadow: 0 0 0 3px rgba(31, 179, 107, 0.18);
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31, 179, 107, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(31, 179, 107, 0.05); }
}
.nav-right {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
}
.nav-links {
  display: flex; gap: 4px;
  padding: 6px;
  background: rgba(var(--paper-rgb), 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  border: 0.5px solid var(--line-2);
  border-radius: 999px;
}
.lang-pill {
  display: inline-flex; align-items: center;
  background: rgba(var(--paper-rgb), 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  border: 0.5px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
}
.lang-pill button {
  background: transparent; border: none;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11.5px;
  color: var(--ink-3);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: default;
  letter-spacing: 0.04em;
  transition: color .15s, background .15s;
}
.lang-pill button:hover { color: var(--ink); }
.lang-pill button.active {
  background: var(--ink); color: var(--paper);
}
.lang-pill .sep { width: 1px; height: 12px; background: var(--line-2); margin: 0 2px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(20,17,13,0.05); }
.nav-links a.active { color: var(--accent-ink); background: var(--accent); }

/* ─────────────────── buttons ─────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  background: var(--ink); color: var(--paper);
  transition: transform .12s ease;
  will-change: transform;
}
.btn.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn.btn-ghost  { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ─────────────────── hero ─────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1fr 360px; gap: 64px; }
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 192px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.05em;
  margin: 0;
}
.hero-name .lastname { display: block; }
.hero-name em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.hero-role {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.role-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: rgba(255,255,255,0.4);
}
.role-chip.primary {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.role-rotator {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.role-rotator .swap {
  color: var(--ink); font-weight: 500;
  display: inline-block;
  animation: fade-up .4s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  margin-top: 32px;
  max-width: 540px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
}
.hero-tagline strong { color: var(--ink); font-weight: 500; }
.hero-actions {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* portrait photo */
.avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  max-width: 360px;
  border-radius: 28px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(20,17,13,0.35), 0 0 0 1px var(--line);
  transition: box-shadow .35s ease;
  transform-origin: center center;
  will-change: transform;
}
.avatar:hover {
  box-shadow: 0 36px 80px -28px rgba(20,17,13,0.5), 0 0 0 1px var(--line-2);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  border-radius: inherit;
}
.avatar-face {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.eyes {
  display: flex; gap: 26px;
  margin-top: -8%;
}
.eye {
  width: 36px; height: 50px;
  border-radius: 50%;
  background: #FFFEFA;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -2px 4px rgba(20,17,13,0.08);
}
.pupil {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .08s linear;
}
.smile {
  margin-top: 16%;
  width: 50px; height: 22px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border: 3px solid var(--ink);
  border-top: 0;
}
.avatar-tag {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono); font-size: 10px;
  padding: 5px 8px; border-radius: 999px;
  background: rgba(20,17,13,0.78); color: var(--paper);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ─────────────────── sections ─────────────────── */
section { position: relative; padding: 120px 0; }
@media (max-width: 760px) { section { padding: 80px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 56px;
  align-items: end;
}
@media (min-width: 760px) { .section-head { grid-template-columns: 200px 1fr; gap: 40px; } }
.section-title {
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.section-title em {
  font-family: var(--font-italic);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}

/* ─────────────────── about ─────────────────── */
.about-prose {
  max-width: 62ch;
  margin: 0 auto;
}
.about-prose .lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.about-prose .lede em { color: var(--accent); }
.about-body p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 1.1em;
}
.about-body p:last-child { margin-bottom: 0; }

.stat-stack { display: flex; flex-direction: column; gap: 18px; }
.stat-card {
  position: relative;
  padding: 22px 22px;
  border-radius: var(--radius-m);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 600;
  line-height: 1; letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 6px;
}
.stat-card .num small {
  font-size: 22px;
  color: var(--ink-3);
}
.stat-card .lbl {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.stat-card .accent-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
}

/* ─────────────────── now ─────────────────── */
.now-card {
  position: relative;
  border-radius: var(--radius-l);
  padding: 36px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.now-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 90% 0%, rgba(255, 77, 36, 0.45), transparent 60%),
    radial-gradient(50% 80% at 10% 100%, rgba(255, 77, 36, 0.18), transparent 60%);
  pointer-events: none;
}
.now-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 760px) { .now-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.now-item .lbl {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(var(--paper-rgb), 0.55);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.now-item .lbl .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: live-pulse 2.4s ease-in-out infinite;
}
.now-item .val {
  font-size: 20px; line-height: 1.4;
  color: var(--paper);
  font-weight: 500;
}
.now-item .val em {
  font-family: var(--font-italic); font-style: italic;
  font-weight: 400; color: var(--accent);
}
.now-meta {
  position: relative;
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(var(--paper-rgb), 0.45);
}

/* ─────────────────── timeline ─────────────────── */
.timeline-stage {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 0 24px;
  overflow: hidden;
}
.timeline-controls {
  display: flex; align-items: center;
  gap: 18px;
  margin: 60px 36px 28px;
}
.tl-arrow {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono); font-size: 18px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  cursor: default;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.tl-arrow:hover:not(:disabled) {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  transform: translateY(-1px);
}
.tl-arrow:disabled { opacity: 0.3; }
.timeline-track {
  position: relative;
  flex: 1;
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.timeline-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--ink);
  border-radius: 999px;
  width: 0%;
  transition: width .25s cubic-bezier(.2,.7,.2,1);
}
.timeline-ticks {
  position: absolute; inset: 0;
}
.timeline-tick {
  position: absolute; top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-2);
  transform: translate(-50%, -50%);
  padding: 0;
  cursor: default;
  transition: border-color .15s, transform .15s;
}
.timeline-tick:hover { border-color: var(--ink); transform: translate(-50%, -50%) scale(1.15); }
.timeline-tick.active { border-color: var(--ink); background: var(--ink); }
.timeline-tick .tick-yr {
  position: absolute; top: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
  pointer-events: none;
}
.timeline-tick.active .tick-yr { color: var(--ink); font-weight: 600; }
.timeline-knob {
  position: absolute; top: 50%; left: 0%;
  width: 38px; height: 38px;
  background: var(--accent);
  border: 4px solid var(--paper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 22px -4px rgba(20,17,13,0.35), 0 0 0 1px var(--line);
  cursor: grab;
  transition: left .25s cubic-bezier(.2,.7,.2,1), transform .12s;
  z-index: 2;
}
.timeline-knob:hover { transform: translate(-50%, -50%) scale(1.08); }
.timeline-knob:active { cursor: grabbing; }
.timeline-knob::after {
  content: "⇿";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.timeline-knob .yr {
  position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px;
  background: var(--ink); color: var(--paper);
  padding: 5px 10px; border-radius: 8px;
  white-space: nowrap;
  font-weight: 600;
}
.timeline-knob .yr::after {
  content: ""; position: absolute;
  left: 50%; bottom: -4px;
  width: 8px; height: 8px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
.timeline-knob .pulse-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: knob-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes knob-pulse {
  0%   { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.7);  opacity: 0; }
}

.timeline-stage-grid {
  display: grid; grid-template-columns: 1fr;
  margin-top: 42px;
  padding: 0 56px 12px;
}
.timeline-card {
  display: grid; grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
@media (min-width: 760px) {
  .timeline-card { grid-template-columns: 220px 1fr; gap: 40px; }
}
.timeline-card .role-meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-3);
}
.timeline-card .role-meta .yr {
  color: var(--ink); font-size: 26px;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.02em;
  display: block; line-height: 1; margin-bottom: 6px;
}
.timeline-card .role-meta .dur { display: block; margin-top: 6px; }
.timeline-card .role-detail h3 {
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.1;
}
.timeline-card .role-detail .co {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.timeline-card .role-detail p {
  margin-top: 14px;
  color: var(--ink-2);
  max-width: 56ch;
}
.timeline-card .role-tags {
  margin-top: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.role-tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(20,17,13,0.04);
  color: var(--ink-2);
}

.timeline-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3);
  padding: 12px 0 0;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
}
.timeline-hint .kbd {
  font-family: var(--font-mono);
  font-size: 10px; padding: 3px 6px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ─────────────────── experience list (expandable) ─────────────────── */
.exp-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.exp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color .2s, box-shadow .25s, background .2s;
}
.exp-card.top {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.exp-card.top .exp-role { color: var(--paper); }
.exp-card.top .exp-co,
.exp-card.top .exp-dur { color: rgba(var(--paper-rgb), 0.65); }
.exp-card.top .exp-year { color: var(--accent); }
.exp-card.top .exp-chev { color: var(--paper); border-color: rgba(var(--paper-rgb), 0.25); }
.exp-card.top .exp-body p { color: rgba(var(--paper-rgb), 0.82); }
.exp-card.top .role-tag { background: rgba(var(--paper-rgb), 0.10); color: rgba(var(--paper-rgb), 0.85); }
.exp-card.open { box-shadow: 0 18px 40px -22px rgba(20,17,13,0.32); }
.exp-card:hover:not(.open) { border-color: var(--line-2); }

.exp-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: default;
}
.exp-along {
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-weight: 400;
  margin-right: 2px;
}
.exp-card.top .exp-along { color: rgba(var(--paper-rgb), 0.65); }
.exp-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.exp-kind {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20,17,13,0.05);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.exp-card.top .exp-kind {
  background: rgba(var(--paper-rgb), 0.10);
  color: rgba(var(--paper-rgb), 0.85);
  border-color: rgba(var(--paper-rgb), 0.18);
}
.exp-kind.kind-solo       { color: var(--accent); border-color: rgba(255,77,36,0.35); background: rgba(255,77,36,0.06); }
.exp-kind.kind-advisor    { color: #2D5BFF; border-color: rgba(45,91,255,0.32); background: rgba(45,91,255,0.06); }
.exp-kind.kind-consulting { color: #1F8A5B; border-color: rgba(31,138,91,0.32); background: rgba(31,138,91,0.06); }
.exp-along-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: lowercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px dashed var(--line-2);
}
@media (max-width: 760px) {
  .exp-head { grid-template-columns: 1fr auto; padding: 18px 16px; gap: 14px; }
  .exp-head .exp-tags { grid-column: 1 / 3; justify-content: flex-start; margin-top: 4px; }
}
.exp-year {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.exp-titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.exp-role {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.exp-co {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.exp-dot { opacity: 0.5; }
.exp-dur { color: var(--ink-3); }

.exp-now-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
}
.exp-now-pill::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  animation: live-pulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(255, 77, 36, 0.22);
}
.exp-card.top .exp-now-pill {
  background: var(--paper); color: var(--ink);
}

/* NDA badge + company link */
.exp-nda {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.06);
  color: var(--ink-2);
  border: 1px dashed var(--line-2);
}
.exp-card.top .exp-nda {
  background: rgba(var(--paper-rgb), 0.10);
  color: rgba(var(--paper-rgb), 0.85);
  border-color: rgba(var(--paper-rgb), 0.25);
}
.exp-co-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line-2);
  transition: color .15s, border-color .15s;
}
.exp-co-link:hover { color: var(--accent); border-color: var(--accent); }
.exp-co-link .ext {
  font-size: 9px; opacity: 0.65; transition: transform .15s, opacity .15s;
}
.exp-co-link:hover .ext { opacity: 1; transform: translate(2px, -2px); }
.exp-card.top .exp-co-link { color: rgba(var(--paper-rgb), 0.78); border-color: rgba(var(--paper-rgb), 0.22); }
.exp-card.top .exp-co-link:hover { color: var(--accent); border-color: var(--accent); }

.exp-chev {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 18px; font-weight: 400;
  color: var(--ink-2);
  transition: background .15s, color .15s, transform .25s;
}
.exp-card.open .exp-chev { transform: rotate(180deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.exp-card.top.open .exp-chev { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.exp-head:hover .exp-chev { background: rgba(20,17,13,0.05); }
.exp-card.top .exp-head:hover .exp-chev { background: rgba(var(--paper-rgb), 0.08); }

.exp-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1);
}
.exp-card.open .exp-body { grid-template-rows: 1fr; }
.exp-body-inner {
  overflow: hidden;
  padding: 0 24px;
}
.exp-card.open .exp-body-inner { padding: 4px 24px 24px 24px; }
@media (max-width: 640px) {
  .exp-card.open .exp-body-inner { padding: 4px 16px 20px 16px; }
}
.exp-body p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 70ch;
  line-height: 1.55;
}
.exp-card.open .role-tags {
  margin-top: 16px;
  display: flex; gap: 6px; flex-wrap: wrap;
}

/* nested projects inside expanded experience cards */
.exp-projects {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column;
  gap: 18px;
}
.exp-proj {
  display: flex; flex-direction: column;
  gap: 6px;
}
.ep-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.exp-body .ep-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 70ch;
}
.ep-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}
.ep-link .ext { font-size: 0.85em; margin-left: 2px; }
.ep-link:hover { text-decoration: underline; }
.ep-meta {
  margin-top: 2px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.ep-tag, .ep-impact-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(20,17,13,0.04);
  color: var(--ink-2);
}
.ep-impact-pill {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.ep-impact-pill strong {
  color: var(--accent);
  margin-right: 4px;
  font-weight: 600;
}

/* parallel (alongside) experience cards */
.exp-card.parallel {
  margin-left: 36px;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.exp-card.parallel::before {
  content: ""; position: absolute;
  left: -22px; top: 30px;
  width: 14px; height: 2px;
  background: var(--line-2);
}
.exp-card.parallel::after {
  content: ""; position: absolute;
  left: -22px; top: -12px; bottom: 30px;
  width: 2px;
  background: var(--line-2);
}
.exp-card.parallel .exp-head { padding: 18px 22px; grid-template-columns: 1fr auto auto; }
.exp-card.parallel .exp-role { font-size: 17px; color: var(--ink); }
@media (max-width: 760px) {
  .exp-card.parallel { margin-left: 20px; }
  .exp-card.parallel::before { left: -14px; width: 10px; }
  .exp-card.parallel::after { left: -14px; }
}

/* ─────────────────── domains ─────────────────── */
.domains-block {
  margin-bottom: 32px;
}
.domains-label, .stack-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.domains-label::before, .stack-label::before {
  content: ""; height: 1px; flex: 0 0 24px; background: var(--line-2);
}
.stack-label { margin-top: 12px; margin-bottom: 18px; }
.domains-row {
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.domain-chip {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.domain-chip:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* static stack grid */
.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.stack-group {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 760px) {
  .stack-group { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
}
.stack-group-meta {
  display: flex; flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  color: var(--ink-2);
  font-size: 12px;
  position: sticky; top: 80px;
}
.stack-group-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-3);
  line-height: 1;
}
.stack-group-label {
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.stack-group-count {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.stack-group-count::before { content: "/ "; }

.stack-chips {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}
.stack-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 13px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0;
  transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.stack-chip:hover { transform: translateY(-1px); border-color: var(--line-2); }

/* category accents */
.stack-group.group-leadership .stack-group-num { color: var(--ink); }
.stack-group.group-leadership .stack-chip { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.stack-group.group-ai .stack-group-num { color: var(--accent); }
.stack-group.group-ai .stack-chip {
  background: rgba(255, 77, 36, 0.06);
  border-color: rgba(255, 77, 36, 0.32);
  color: var(--ink);
}
.stack-group.group-ai .stack-chip:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.stack-group.group-lang .stack-chip { font-weight: 500; }
.stack-group.group-infra .stack-chip { color: var(--ink-2); }
/* ─────────────────── skills ─────────────────── */
.skills-cluster {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(70% 100% at 50% 50%, rgba(255,77,36,0.08), transparent 70%),
    var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  overflow: hidden;
}
.skill-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, color .2s;
  cursor: default;
  user-select: none;
}
.skill-chip.cat-core { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.skill-chip.cat-ai   { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.skill-chip:hover {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1.12);
  box-shadow: 0 10px 30px -10px rgba(20,17,13,0.3);
  z-index: 5;
}

/* ─────────────────── testimonials ─────────────────── */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 24px;
  animation: marquee-scroll 50s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.quote-card {
  width: 420px;
  flex-shrink: 0;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.quote-card p {
  font-family: var(--font-italic);
  font-size: 22px; line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote-card .who {
  margin-top: 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
}
.quote-card .who .pic {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-ink); font-weight: 600; font-size: 11px;
  font-family: var(--font-display);
}
.quote-card .who .name { color: var(--ink); font-weight: 500; }
.quote-card .who .role { color: var(--ink-3); }

/* ─────────────────── education ─────────────────── */
.ed-list {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.ed-row {
  display: grid; grid-template-columns: 120px 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.ed-row:hover { padding-left: 14px; }
.ed-row .ed-yr {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-3);
}
.ed-row .ed-deg {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
}
.ed-row .ed-school {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--ink-2);
  text-align: right;
}

/* ─────────────────── awards ─────────────────── */
.awards-list {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.award-row {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.award-row:hover { padding-left: 14px; }
.award-row .aw-yr {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-3);
}
.award-row .aw-content { min-width: 0; }
.award-row .aw-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.award-row .aw-body {
  margin-top: 6px;
  font-size: 14px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 64ch;
}
@media (max-width: 640px) {
  .award-row { grid-template-columns: 80px 1fr; gap: 8px 14px; padding: 18px 4px; }
  .award-row .aw-title { font-size: 16px; }
  .award-row .aw-body { font-size: 13px; }
}

/* ─────────────────── talks ─────────────────── */
.talks-list {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.talk-row {
  display: grid; grid-template-columns: 80px 1fr max-content;
  gap: 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: padding .2s, background .2s;
}
.talk-row:hover { padding-left: 12px; background: rgba(255,77,36,0.03); }
.talk-row .t-yr {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--ink-3);
}
.talk-row .t-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
}
.talk-row .t-title em {
  font-family: var(--font-italic); font-style: italic;
  color: var(--accent); margin-left: 6px;
  font-weight: 400; font-size: 17px;
}
.talk-row .t-venue {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-2);
  text-align: right;
}
.talk-row .t-title a {
  color: inherit;
  border-bottom: 1px dashed var(--line-2);
  transition: color .15s, border-color .15s;
}
.talk-row .t-title a:hover { color: var(--accent); border-color: var(--accent); }
.talk-row .t-cta {
  display: inline-flex; align-items: baseline; gap: 4px;
  margin-left: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color .15s;
}
.talk-row .t-cta .arrow {
  font-size: 12.5px;
  transition: transform .2s;
}
.talk-row .t-cta:hover { color: var(--accent); }
.talk-row .t-cta:hover .arrow { transform: translate(2px, -2px); }

/* ─────────────────── hobbies ─────────────────── */
.hobby-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) { .hobby-grid { grid-template-columns: repeat(3, 1fr); } }
.hobby-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-m);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hobby-card .h-title {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.hobby-card .h-title em { font-family: var(--font-italic); font-style: italic; color: var(--accent); }
.hobby-card .h-blurb {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.hobby-card .h-meta {
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3);
  display: flex; gap: 12px;
}

/* ─────────────────── contact ─────────────────── */
.contact {
  position: relative;
  padding: 160px 0;
}
.contact-card {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-l);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.contact-card .big {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.contact-card .big em {
  font-family: var(--font-italic); font-style: italic; font-weight: 400;
  color: var(--accent);
}
.contact-card .sub {
  margin-top: 20px;
  font-size: 18px; line-height: 1.5;
  color: rgba(var(--paper-rgb), 0.72);
  max-width: 48ch;
}
.contact-actions {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.contact-card .btn.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(var(--paper-rgb), 0.25); }
.contact-card .btn { background: var(--paper); color: var(--ink); }
.contact-card .btn.btn-accent { background: var(--accent); color: var(--accent-ink); }

/* ─────────────────── footer ─────────────────── */
.footer {
  padding: 40px 0 80px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-3);
}
.footer .legal { display: flex; gap: 18px; }

/* ─────────────────── cursor ─────────────────── */
.cur {
  position: fixed; top: 0; left: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: rgba(255, 254, 250, 0.4);
  -webkit-backdrop-filter: invert(1) grayscale(1);
  backdrop-filter: invert(0.85) grayscale(0.4);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 0 1.5px rgba(255, 254, 250, 0.85), 0 2px 8px rgba(0,0,0,0.18);
  transition: width .18s ease, height .18s ease, background .18s ease;
}
.cur::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0.22);
  transition: transform .18s ease;
  box-shadow: 0 0 0 2px rgba(255,254,250,0.8);
}
.cur.hover { width: 52px; height: 52px; background: transparent; }
.cur.hover::after { transform: scale(0); }
.cur.click::after { transform: scale(0.48); }
.cur-label {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(20px, 20px);
  font-family: var(--font-mono); font-size: 10px;
  background: var(--ink); color: var(--paper);
  padding: 4px 7px; border-radius: 6px;
  opacity: 0;
  transition: opacity .15s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cur-label.show { opacity: 1; }
@media (pointer: coarse) { .cur, .cur-label { display: none; } }

body.boss-mode .cur {
  border-color: var(--accent);
  background: rgba(14,14,14,0.4);
  box-shadow: 0 0 0 1.5px rgba(14,14,14,0.85), 0 2px 8px rgba(0,255,171,0.25);
}
body.boss-mode .cur::after { background: var(--accent); box-shadow: 0 0 0 2px rgba(14,14,14,0.8); }

/* ─────────────────── ai buddy ─────────────────── */
.buddy {
  position: fixed; right: 24px; bottom: 24px; z-index: 1000;
  width: 56px; height: 56px;
  background: var(--ink); color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(20,17,13,0.4);
  cursor: pointer;
  transition: transform .2s;
  border: none;
}
.buddy:hover { transform: scale(1.06); }
.buddy svg { width: 26px; height: 26px; }
.buddy-bubble {
  position: fixed; right: 92px; bottom: 30px; z-index: 1000;
  max-width: 280px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 16px 16px 4px 16px;
  font-family: var(--font-mono); font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 12px 28px -10px rgba(20,17,13,0.25);
  opacity: 0; transform: translateY(6px) scale(0.96);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.buddy-bubble.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.buddy-bubble .close {
  position: absolute; top: 6px; right: 8px;
  background: transparent; border: none; color: var(--ink-3);
  font-size: 16px; line-height: 1; padding: 4px; cursor: default;
}
.buddy-bubble strong { color: var(--accent); font-weight: 600; }

/* ─────────────────── konami / boss mode ─────────────────── */
body.boss-mode {
  --accent: #00FFAB;
  --bg: #0E0E0E;
  --paper: #1A1A1A;
  --paper-rgb: 26, 26, 26;
  --ink: #F1EEE6;
  --ink-2: #B9B0A0;
  --ink-3: #888076;
  --line: rgba(241, 238, 230, 0.10);
  --line-2: rgba(241, 238, 230, 0.18);
}
body.boss-mode .avatar {
  background:
    radial-gradient(circle at 30% 25%, #00FFAB 0%, #00B380 40%, transparent 60%),
    linear-gradient(140deg, #0E0E0E, #1A1A1A);
}
body.boss-mode .avatar-tag { background: var(--accent); color: var(--ink); }
.boss-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 12px;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.04em;
  animation: boss-slide .3s ease-out;
}
@keyframes boss-slide {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ─────────────────── reveal on scroll ─────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─────────────────── focus ─────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-links a:focus-visible, .lang-pill button:focus-visible {
  outline-offset: 4px;
}

/* ─────────────────── skip link ─────────────────── */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 10px 14px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 12px;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ─────────────────── boot / loading ─────────────────── */
.boot {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.boot-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  animation: live-pulse 1.4s ease-in-out infinite;
}
.boot-error {
  padding: 0 24px; text-align: center; max-width: 540px;
  margin: 0 auto; color: var(--ink-2); text-transform: none;
  letter-spacing: 0; font-size: 14px; line-height: 1.5;
}
.boot-error code {
  background: rgba(20,17,13,0.06); padding: 2px 6px; border-radius: 4px;
  font-size: 13px;
}

/* ─────────────────── footer layout ─────────────────── */
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 640px) {
  .footer { padding: 32px 0 56px; font-size: 11px; }
  .footer .legal { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* ─────────────────── responsive: hero & nav ─────────────────── */
@media (max-width: 760px) {
  .hero { padding: 110px 0 56px; min-height: auto; }
  .hero-name { font-size: clamp(52px, 16vw, 96px); }
  .hero-tagline { font-size: 17px; }
  .nav-links { display: none; }
  .nav-pill { font-size: 10.5px; padding: 7px 10px; gap: 8px; }
}
@media (max-width: 480px) {
  .nav-pill > span:last-child { display: none; }
}

/* ─────────────────── responsive: contact ─────────────────── */
@media (max-width: 640px) {
  .contact { padding: 88px 0; }
  .contact-card { padding: 40px 24px; }
  .contact-actions .btn { font-size: 14px; padding: 12px 16px; }
}

/* ─────────────────── responsive: education / talks ─────────────────── */
@media (max-width: 640px) {
  .ed-row { grid-template-columns: 80px 1fr; gap: 8px 14px; padding: 18px 4px; }
  .ed-row .ed-school { grid-column: 2; text-align: left; color: var(--ink-3); font-size: 11.5px; }
  .talk-row { grid-template-columns: 60px 1fr; gap: 10px; padding: 16px 4px; }
  .talk-row .t-venue { display: none; }
  .talk-row .t-title { font-size: 15px; }
  .talk-row .t-cta { display: inline-flex; }
}

/* ─────────────────── reduced motion ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* utility */
.mono { font-family: var(--font-mono); }
.italic { font-family: var(--font-italic); font-style: italic; }
.accent { color: var(--accent); }
