:root {
  --bg: #0b1020;
  --surface: #151c33;
  --text: #e6ebff;
  --muted: #b2bddb;
  --accent: #6aa2ff;
  --accent-2: #7ce2ff;
  --border: #243050;
  --bg-gradient: radial-gradient(circle at top, #101936 0%, var(--bg) 42%);
}

[data-theme="light"] {
  --bg: #f4f6fc;
  --surface: #ffffff;
  --text: #1a2033;
  --muted: #5a6480;
  --accent: #2d6ae0;
  --accent-2: #1a58c8;
  --border: #cdd5eb;
  --bg-gradient: radial-gradient(circle at top, #d4e0f7 0%, var(--bg) 42%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg-gradient);
  color: var(--text);
  transition: background 300ms ease, color 300ms ease;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 0.5rem 0;
  outline: none;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1000px, 92%);
  margin-inline: auto;
}

.hero {
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-gradient);
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.nav-bar--scrolled {
  background: color-mix(in oklab, var(--bg) 75%, transparent 25%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

[data-theme="light"] .nav-bar--scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent 18%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand {
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 150ms ease;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--accent-2);
  text-decoration: none;
}

.menu-btn,
.theme-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 0.5rem;
  padding: 0.35rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
}

.menu-btn {
  display: none;
}

.menu-btn:hover,
.theme-btn:hover {
  background: color-mix(in oklab, var(--border) 60%, transparent 40%);
}

.theme-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

[data-theme="dark"] .theme-icon--moon,
[data-theme="light"] .theme-icon--sun {
  display: none;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.52rem;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.lang-btn.active {
  background: color-mix(in oklab, var(--accent) 30%, transparent 70%);
  color: var(--text);
}

.lang-btn:hover {
  color: var(--text);
}

.hero-content {
  padding: 4.5rem 0 3.5rem;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-avatar-wrap {
  flex-shrink: 0;
}

.hero-avatar {
  width: clamp(140px, 20vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--surface) 88%, black 12%);
}

.eyebrow {
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}

.hero-lastname {
  color: var(--muted);
  font-weight: 500;
}

.subtitle {
  font-size: 1.15rem;
  margin: 0.55rem 0;
  color: var(--muted);
}

.summary {
  max-width: 68ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.btn {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.58rem 0.95rem;
  border-radius: 0.65rem;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #4b83e6);
  border-color: transparent;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.card {
  background: color-mix(in oklab, var(--surface) 90%, black 10%);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem 1rem 0.75rem;
  margin-bottom: 1rem;
}

[data-theme="light"] .card {
  background: var(--surface);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.07);
}

.project-card {
  position: relative;
  overflow: hidden;
  background: color-mix(in oklab, var(--surface) 90%, black 10%);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 0.85rem;
  padding: 1.1rem 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-top-color 200ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--accent);
  box-shadow: 0 8px 28px color-mix(in oklab, var(--accent) 16%, transparent 84%),
              0 2px 8px color-mix(in oklab, black 20%, transparent 80%);
}

[data-theme="light"] .project-card {
  background: var(--surface);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.07);
}

[data-theme="light"] .project-card:hover {
  box-shadow: 0 8px 28px color-mix(in oklab, var(--accent) 20%, transparent 80%),
              0 2px 8px rgb(0 0 0 / 0.1);
}

.project-card-icon-wrap {
  margin-bottom: 0.85rem;
}

.project-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px color-mix(in oklab, black 24%, transparent 76%);
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.project-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.project-card-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.project-card-link:hover {
  color: var(--accent-2);
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent 90%);
  text-decoration: none;
}

.project-coming-soon-badge {
  position: absolute;
  top: 18px;
  right: -30px;
  width: 120px;
  text-align: center;
  transform: rotate(45deg);
  background: #f0a830;
  color: #1a1000;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0;
  pointer-events: none;
  user-select: none;
}

.project-card-body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.experience-date {
  color: var(--muted);
  font-size: 0.93rem;
}

.experience-type-badge {
  border: 1px solid color-mix(in oklab, var(--accent) 50%, var(--border) 50%);
  background: color-mix(in oklab, var(--accent) 12%, var(--surface) 88%);
  border-radius: 999px;
  padding: 0.14rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.experience-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.experience-link {
  color: var(--accent-2);
}

.experience-link-separator,
.experience-meta-separator {
  color: var(--muted);
}

.timeline {
  position: relative;
  margin-left: 0.75rem;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent) 0%,
    color-mix(in oklab, var(--accent) 40%, transparent 60%) 100%
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  background: color-mix(in oklab, var(--surface) 90%, black 10%);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 0.85rem;
  padding: 1.1rem 1.2rem 0.9rem;
  margin-bottom: 1.1rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-left-color 200ms ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  border-left-color: var(--accent);
  box-shadow: -4px 0 24px color-mix(in oklab, var(--accent) 18%, transparent 82%),
              0 4px 20px color-mix(in oklab, black 20%, transparent 80%);
}

[data-theme="light"] .timeline-item {
  background: var(--surface);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.07);
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  left: -2.47rem;
  top: 1.35rem;
  background: radial-gradient(circle at 35% 35%, var(--accent-2), var(--accent));
  border: 2px solid var(--bg);
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 8px color-mix(in oklab, var(--accent) 60%, transparent 40%);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.timeline-item:hover::before {
  transform: scale(1.2);
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 14px color-mix(in oklab, var(--accent) 80%, transparent 20%);
}

.timeline-header {
  margin-bottom: 0.65rem;
}

.timeline-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.timeline-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.timeline-bullets {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
}

.timeline-bullets li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
}

.timeline-bullets li:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pill-list li,
.project-tech-pill {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 85%, black 15%);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
  cursor: default;
}

.skills-group .pill-list li:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 14%, var(--surface) 86%);
  color: var(--accent-2);
  box-shadow: 0 4px 16px color-mix(in oklab, var(--accent) 30%, transparent 70%);
}

[data-theme="light"] .pill-list li,
[data-theme="light"] .project-tech-pill {
  background: color-mix(in oklab, var(--border) 30%, var(--surface) 70%);
}

.stack {
  color: var(--muted);
  font-size: 0.92rem;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.experience-skill-list {
  margin-top: 0.7rem;
}

.skills-groups {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.skills-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 5rem;
  align-items: stretch;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0;
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 0;
}

.contact-left h2 {
  margin-top: 0;
  margin-bottom: 1.6rem;
}

.contact-tagline {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.contact-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-invite {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.contact-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: color-mix(in oklab, var(--accent) 12%, transparent 88%);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent 60%);
  border-radius: 0.6rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.contact-email-btn:hover {
  background: color-mix(in oklab, var(--accent) 22%, transparent 78%);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-email-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.contact-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.contact-copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent 92%);
}

.contact-copy-btn.copied {
  color: #4caf50;
  border-color: #4caf50;
}

.contact-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-or::before,
.contact-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent 92%);
  transform: translateY(-2px);
}

.social-icon {
  width: 1rem;
  height: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.hero-avatar {
  animation: avatarFloat 5.8s ease-in-out infinite;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 1.5rem 0 2.5rem;
  text-align: center;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 90%, black 10%);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease, background 150ms ease,
              box-shadow 150ms ease, border-color 150ms ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: color-mix(in oklab, var(--accent) 16%, var(--surface) 84%);
  border-color: var(--accent);
  box-shadow: 0 4px 18px color-mix(in oklab, var(--accent) 30%, transparent 70%);
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0.3rem 0;
    border-top: 1px solid var(--border);
  }

  .nav.nav-open {
    flex-wrap: wrap;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .hero-layout {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.3rem;
  }

  .hero-avatar {
    width: clamp(120px, 34vw, 170px);
  }

  .timeline {
    margin-left: 0;
    padding-left: 1.5rem;
  }

  .timeline::before {
    left: 0.25rem;
  }

  .timeline-item::before {
    left: -1.62rem;
  }

  .timeline-item:hover {
    transform: none;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-left {
    border-right: none;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-avatar {
    animation: none;
  }

  .timeline-item {
    border-left-color: transparent !important;
    box-shadow: none !important;
    transition: none;
  }

  .timeline-item::before {
    box-shadow: 0 0 0 2px var(--accent);
    transition: none;
  }

  .project-card {
    transition: none;
    border-top-color: transparent !important;
  }

  .project-card-link {
    transition: none;
  }

  .nav-bar {
    transition: none;
  }

  .back-to-top {
    transition: opacity 250ms ease;
  }

  .social-link,
  .contact-email-btn,
  .contact-copy-btn,
  .btn,
  .theme-btn,
  .menu-btn,
  .lang-btn,
  .nav-links a,
  .pill-list li,
  .project-tech-pill,
  body {
    transition: none;
  }

  .skills-group .pill-list li:hover {
    transform: none;
  }
}

@media print {
  /* ── Page setup ── */
  @page {
    size: A4;
    margin: 1.4cm 1.8cm;
  }

  /* ── Color overrides ── */
  :root,
  [data-theme="light"],
  [data-theme="dark"] {
    --bg: #ffffff;
    --surface: #ffffff;
    --text: #111111;
    --muted: #555555;
    --accent: #1a4a99;
    --accent-2: #1a4a99;
    --border: #cccccc;
    --bg-gradient: none;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  body {
    background: white;
    color: #111;
    font-size: 9.5pt;
    line-height: 1.45;
  }

  /* ── Hide web-only chrome ── */
  .nav-bar,
  .skip-link,
  .back-to-top,
  .cta-row,
  .contact-copy-btn,
  .contact-or,
  .contact-blurb,
  .project-coming-soon-badge,
  footer {
    display: none !important;
  }

  /* ── Container: full width ── */
  .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  /* ── Hero: compact inline header ── */
  .hero {
    border-bottom: 2px solid #111;
    padding-bottom: 0.6rem;
    margin-bottom: 0;
  }

  .hero-content {
    padding: 0 0 0.4rem;
  }

  .hero-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }

  .hero-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .eyebrow {
    display: none;
  }

  .hero-text h1 {
    font-size: 19pt;
    margin: 0 0 0.1rem;
    line-height: 1.1;
  }

  .hero-lastname {
    color: var(--accent);
  }

  .subtitle {
    font-size: 10.5pt;
    margin: 0 0 0.3rem;
    color: #333;
  }

  .summary {
    font-size: 9pt;
    color: #444;
    margin: 0;
    max-width: 100%;
  }

  /* ── Section headings ── */
  .section {
    padding: 0.6rem 0 0;
  }

  .section h2 {
    font-size: 10pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #111;
    border-bottom: 1px solid #bbb;
    padding-bottom: 0.18rem;
    margin: 0 0 0.5rem;
  }

  /* ── About ── */
  #about p {
    font-size: 9pt;
    color: #333;
    margin: 0;
  }

  /* ── Timeline ── */
  .timeline {
    border: none;
    margin: 0;
    padding: 0;
  }

  .timeline::before,
  .timeline-item::before {
    display: none;
  }

  .timeline-item {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    padding: 0 0 0.45rem !important;
    margin: 0 0 0.35rem !important;
    break-inside: avoid;
    transform: none !important;
  }

  .timeline-item:last-child {
    border-bottom: none !important;
  }

  .timeline-header {
    margin-bottom: 0.1rem;
  }

  .timeline-title {
    font-size: 9.5pt;
    font-weight: 700;
  }

  .timeline-meta-row {
    font-size: 8pt;
    color: #555;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .timeline-meta-row .type-badge {
    background: none;
    border: 1px solid #bbb;
    color: #555;
    padding: 0 0.3rem;
    font-size: 7.5pt;
  }

  .timeline-bullets {
    font-size: 8.5pt;
    color: #333;
    margin: 0.2rem 0 0 0.9rem;
    padding: 0;
  }

  .timeline-bullets li {
    margin-bottom: 0.1rem;
  }

  /* hide experience skill-pill row to save space */
  .timeline-item .pill-list {
    display: none;
  }

  /* timeline links: suppress URL printout */
  .timeline-item a[href]::after {
    content: "";
  }

  /* ── Projects: 2-column grid ── */
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .project-card {
    border: 1px solid #ccc !important;
    border-top: none !important;
    border-radius: 0.25rem !important;
    padding: 0.4rem 0.55rem !important;
    background: white !important;
    break-inside: avoid;
  }

  .project-card-icon-wrap {
    display: none;
  }

  .project-card-title {
    font-size: 9pt;
    font-weight: 700;
  }

  .project-card-body {
    font-size: 8pt;
    color: #444;
  }

  .project-card-link[href]::after {
    content: "";
  }

  .project-tech-pill {
    font-size: 7.5pt;
    padding: 0.05rem 0.35rem;
    border: 1px solid #ccc;
    background: white;
  }

  /* ── Skills ── */
  .skills-groups {
    gap: 0.3rem;
  }

  .skills-group-label {
    font-size: 7.5pt;
    color: #555;
    margin-bottom: 0.2rem;
  }

  .pill-list {
    gap: 0.2rem;
  }

  .pill-list li {
    font-size: 8pt;
    padding: 0.08rem 0.45rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    background: white;
    color: #222;
  }

  /* ── Contact: plain inline row ── */
  .contact-split {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .contact-left,
  .contact-right {
    flex: 1;
    padding: 0;
  }

  .contact-right {
    align-items: flex-start;
  }

  .contact-left h2 {
    margin-bottom: 0.3rem;
  }

  /* email as plain text link */
  .contact-email-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 9pt;
    font-weight: normal;
    padding: 0;
    text-decoration: underline;
  }

  .contact-email-icon {
    display: none;
  }

  /* social links as plain text */
  .social-link {
    background: none;
    border: none;
    padding: 0;
    color: #333;
    font-size: 8.5pt;
  }

  .social-links {
    flex-direction: row;
    gap: 1.2rem;
    margin-top: 0.3rem;
  }

  /* show full URL for social links */
  a.social-link[href]::after {
    content: " — " attr(href);
    font-size: 8pt;
    color: #555;
  }

  /* ── Suppress URL printing for everything else ── */
  a[href]::after {
    content: "";
  }

  /* ── Misc ── */
  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-avatar-wrap {
    animation: none;
  }
}
