/* ==========================================================================
   Matthew Snyder — resume site
   Dark by default, light via [data-theme="light"]. No frameworks.
   ========================================================================== */

:root {
  --bg: #0b0f17;
  --bg-soft: #0e1420;
  --surface: #111927;
  --surface-2: #182238;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.3);
  --text: #e7ecf5;
  --text-dim: #9aa8c0;
  --text-faint: #64748f;
  --accent: #5b8cff;
  --accent-2: #22d3ee;
  --grad: linear-gradient(120deg, #6366f1, #5b8cff 45%, #22d3ee);
  --shadow: 0 10px 30px rgba(2, 6, 16, 0.45);
  --nav-bg: rgba(11, 15, 23, 0.78);
  --glow-1: rgba(99, 102, 241, 0.16);
  --glow-2: rgba(34, 211, 238, 0.1);
  --dot: rgba(148, 163, 184, 0.14);
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[data-theme="light"] {
  --bg: #f7f8fb;
  --bg-soft: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.22);
  --text: #101827;
  --text-dim: #46536b;
  --text-faint: #7b879c;
  --accent: #3b6fe0;
  --accent-2: #0891b2;
  --grad: linear-gradient(120deg, #4f46e5, #3b6fe0 45%, #0891b2);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(247, 248, 251, 0.82);
  --glow-1: rgba(99, 102, 241, 0.1);
  --glow-2: rgba(8, 145, 178, 0.08);
  --dot: rgba(15, 23, 42, 0.08);
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.no-print { print: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 15px; font-size: 0.85rem; border-radius: 10px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent);
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }

/* Theme toggle: show the icon for the current *choice* (system/light/dark),
   not the effective theme. data-theme-pref is set by js/theme.js and the
   toggle in js/main.js; data-theme (the effective theme) drives the colors. */
.theme-toggle .icon-system,
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme-pref="system"] .theme-toggle .icon-system { display: block; }
[data-theme-pref="light"] .theme-toggle .icon-sun { display: block; }
[data-theme-pref="dark"] .theme-toggle .icon-moon { display: block; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text-dim);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 12% -8%, var(--glow-1), transparent 70%),
    radial-gradient(560px 420px at 92% 18%, var(--glow-2), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(640px 480px at 78% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(640px 480px at 78% 30%, black, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.13rem;
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-faint);
  font-size: 0.92rem;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; flex: none; }

.hero-avatar { justify-self: center; }

.avatar {
  position: relative;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 30%, transparent);
}
.avatar-inner {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.avatar-mono {
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.avatar img {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

/* ---------- sections ---------- */

.section { padding: 78px 0; }
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { margin-bottom: 40px; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 700;
}
.section-lead {
  color: var(--text-dim);
  max-width: 60ch;
  margin-top: 12px;
}

.prose { max-width: 74ch; }
.prose p { color: var(--text-dim); font-size: 1.02rem; }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent-2) 50%, transparent));
  opacity: 0.5;
}

.t-item {
  position: relative;
  margin-bottom: 34px;
}
.t-item:last-child { margin-bottom: 0; }
.t-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.t-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.t-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.t-card.featured {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 42%),
    var(--surface);
}

.t-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.t-role { font-size: 1.28rem; font-weight: 700; margin-bottom: 3px; }
.t-org { color: var(--accent); font-weight: 600; font-size: 0.98rem; }
.t-org-note { color: var(--text-dim); font-weight: 400; }

.t-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.t-dates {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-current {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.9; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.t-loc {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-faint);
  font-size: 0.88rem;
  margin: 14px 0 12px;
}
.t-loc svg { width: 15px; height: 15px; flex: none; }

.t-desc { color: var(--text-dim); margin-bottom: 14px; }

.bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.t-card:hover .tag { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }

/* ---------- skills ---------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.skill-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.skill-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.skill-card h3 svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

/* ---------- education ---------- */

.edu-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 28px;
  max-width: 560px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.edu-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.edu-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}
.edu-icon svg { width: 26px; height: 26px; }
.edu-degree { font-size: 1.15rem; font-weight: 700; margin-bottom: 2px; }
.edu-school { color: var(--text-dim); font-size: 0.95rem; }
.edu-year { color: var(--text-faint); font-size: 0.88rem; margin-top: 2px; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
a.contact-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-body { display: flex; flex-direction: column; min-width: 0; }
.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-value {
  font-weight: 500;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.contact-card:hover .contact-value { color: var(--accent); }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 38px;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.88rem;
}
.footer p { margin: 0; }
.footer-note { font-size: 0.82rem; }

/* ---------- reveal animations ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse::after { animation: none; }
  .btn, .t-card, .skill-card, .edu-card, .contact-card { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-avatar { order: -1; }
  .avatar { width: 168px; }
  .avatar-mono { font-size: 3.4rem; }
  .hero { padding: 64px 0 60px; }
}

@media (max-width: 820px) {
  .nav-inner { gap: 14px; }
  .logo-text { display: none; }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 20px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 8px; border-radius: 10px; font-size: 1rem; }
  .nav-links a.active { background: var(--surface-2); }
  .nav-links a.active::after { display: none; }
  .burger { display: flex; }
}

@media (max-width: 520px) {
  #pdf-btn { display: none; }
  .section { padding: 58px 0; }
  .t-card { padding: 22px 20px; }
  .t-side { align-items: flex-start; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   PRINT — clean resume layout for "Download PDF" (window.print)
   ========================================================================== */

@media print {
  @page { margin: 13mm; }

  :root, [data-theme="dark"], [data-theme="light"] {
    --bg: #ffffff;
    --bg-soft: #ffffff;
    --surface: #ffffff;
    --surface-2: #f3f4f6;
    --border: #d6dae2;
    --border-strong: #9aa2b1;
    --text: #111827;
    --text-dim: #374151;
    --text-faint: #6b7280;
    --accent: #2554c7;
    --accent-2: #0e7490;
    --grad: linear-gradient(120deg, #4f46e5, #2554c7 45%, #0e7490);
    --shadow: none;
  }

  html { scroll-behavior: auto; }

  body {
    background: #fff;
    color: #111827;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  .no-print, .nav, .footer, .skip-link, .hero-cta, .hero-meta, .hero-avatar,
  .section-lead, .theme-toggle, .burger { display: none !important; }

  html.js .reveal { opacity: 1 !important; transform: none !important; }

  .hero {
    padding: 0 0 14pt;
    border-bottom: 2px solid var(--accent);
  }
  .hero::before, .hero::after { display: none; }
  .hero-grid { display: block; }
  .eyebrow { display: none; }
  .hero h1 { font-size: 26pt; margin-bottom: 4pt; }
  .hero-sub { font-size: 10.5pt; color: var(--text-dim); margin-bottom: 0; }

  .section { padding: 16pt 0 4pt; }
  .section-alt { background: #fff; border: none; }
  .section-head { margin-bottom: 10pt; }
  .section-eyebrow {
    font-size: 8pt;
    color: var(--accent);
    margin-bottom: 2pt;
    letter-spacing: 0.16em;
  }
  .section-head h2 { font-size: 14pt; }

  .prose { max-width: none; }
  .prose p { font-size: 10.5pt; margin-bottom: 6pt; }

  .timeline { padding-left: 0; }
  .timeline::before { display: none; }
  .t-item { margin-bottom: 12pt; break-inside: avoid; }
  .t-item::before { display: none; }
  .t-card {
    border: none;
    border-left: 2.5pt solid var(--accent);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    padding: 0 0 0 12pt;
  }
  .t-card.featured { background: #fff; }
  .t-role { font-size: 12pt; }
  .t-org { font-size: 10.5pt; }
  .t-dates { font-size: 9pt; }
  .badge {
    border: none;
    background: none;
    padding: 0;
    color: var(--text-faint);
    font-size: 8.5pt;
  }
  .badge-current { color: var(--accent); }
  .pulse, .pulse::after { display: none; }
  .t-loc { margin: 3pt 0 6pt; font-size: 9pt; }
  .t-desc { font-size: 10pt; margin-bottom: 5pt; }
  .bullets { margin-bottom: 6pt; gap: 3pt; }
  .bullets li { font-size: 10pt; }
  .tags { gap: 4pt; }
  .tag {
    font-size: 8pt;
    padding: 1.5pt 7pt;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-dim);
  }

  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 8pt; }
  .skill-card {
    border: 1px solid var(--border);
    border-radius: 6pt;
    padding: 8pt 10pt;
    box-shadow: none;
    break-inside: avoid;
  }
  .skill-card h3 { font-size: 10pt; margin-bottom: 5pt; }
  .skill-card h3 svg { width: 12pt; height: 12pt; }

  .edu-card {
    border: 1px solid var(--border);
    border-radius: 6pt;
    box-shadow: none;
    padding: 10pt 12pt;
    max-width: none;
    break-inside: avoid;
  }
  .edu-icon { width: 30pt; height: 30pt; }
  .edu-icon svg { width: 15pt; height: 15pt; }
  .edu-degree { font-size: 11pt; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 6pt; margin-top: 8pt; }
  .contact-card {
    border: 1px solid var(--border);
    border-radius: 6pt;
    box-shadow: none;
    padding: 7pt 10pt;
    break-inside: avoid;
  }
  .contact-icon { width: 24pt; height: 24pt; border-radius: 5pt; }
  .contact-icon svg { width: 12pt; height: 12pt; }
  .contact-label { font-size: 7pt; }
  .contact-value { font-size: 9.5pt; white-space: normal; }

  a { color: var(--text); }
}
