/* ===== Design tokens ===== */
:root {
  --navy-950: #060e1e;
  --navy-900: #0b1a33;
  --navy-800: #0f2340;
  --navy-700: #16305a;
  --navy-600: #1e3f74;
  --ink: #0b1a33;
  --paper: #f7f8fb;
  --paper-2: #eef1f7;
  --line: #e2e6ee;
  --text: #1b2333;
  --text-soft: #5a6478;
  --text-inverse: #eef2fb;
  --text-inverse-soft: #a9b6d4;
  --gold: #e2b13c;
  --gold-soft: #f4d68a;
  --teal: #2fb6a4;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 60px -20px rgba(6, 14, 30, 0.35);
  --shadow-sm: 0 10px 24px -12px rgba(6, 14, 30, 0.18);
  --ff-head: "Space Grotesk", "Inter", sans-serif;
  --ff-body: "Inter", sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--ff-head); margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Progress bar ===== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(6, 14, 30, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
}
.brand span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-inverse-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-inverse); }
.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--navy-950);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--gold-soft); color: var(--navy-950); }
.nav-export {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-inverse);
  background: transparent;
  border: 1.5px solid rgba(238, 242, 251, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-export::after { content: "↓"; font-size: 0.85em; }
.nav-export:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.btn:hover .btn-icon { transform: scale(1.15) rotate(-8deg); }
.btn-primary {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 14px 30px -12px rgba(226, 177, 60, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(226, 177, 60, 0.65); }
.btn-ghost {
  background: transparent;
  color: var(--text-inverse);
  border: 1.5px solid rgba(238, 242, 251, 0.35);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.contact-section .btn-ghost { color: var(--text); border-color: var(--line); }
.contact-section .btn-ghost:hover { color: var(--navy-900); border-color: var(--navy-700); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background: radial-gradient(circle at 80% 15%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238,242,251,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,242,251,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--text-inverse);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-desc {
  color: var(--text-inverse-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-desc strong { color: var(--text-inverse); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-value { display: inline-flex; align-items: baseline; }
.stat-num, .stat-suffix {
  font-family: var(--ff-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-inverse);
  display: inline;
}
.stat-suffix { color: var(--gold); }
.stat-label {
  font-size: 0.82rem;
  color: var(--text-inverse-soft);
  margin-top: 4px;
}

.hero-media { position: relative; justify-self: center; }
.photo-frame {
  width: min(100%, 380px);
  aspect-ratio: 4 / 4.6;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(238,242,251,0.12);
  background: var(--navy-800);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 15%;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,14,30,0.55) 100%);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  width: min(100%, 380px);
}
.badge-pill {
  background: rgba(11, 26, 51, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(238,242,251,0.15);
  color: var(--text-inverse);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(238,242,251,0.35);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--paper-2); }
.section-tag {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 46px;
  line-height: 1.6;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.about-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-soft);
}
.about-text strong { color: var(--ink); font-weight: 600; }
.about-cards {
  display: grid;
  gap: 18px;
}
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.mini-card h3 {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.mini-card p { color: var(--text-soft); font-size: 0.94rem; line-height: 1.6; }

/* Skills — masonry columns so short cards don't stretch into whitespace */
.skills-grid {
  column-count: 3;
  column-gap: 20px;
}
.skill-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  break-inside: avoid;
  margin-bottom: 20px;
}
.skill-card:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}
.skill-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.skill-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  color: var(--gold);
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.skill-card:hover .skill-icon { transform: scale(1.12) rotate(-6deg); }
.skill-head h3 { font-size: 1.02rem; color: var(--ink); }
.skill-count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  flex-shrink: 0;
}
.section-alt .skill-count { background: var(--paper); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper-2);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px) scale(0.94);
}
.section-alt .tag-row span { background: #fff; }
.tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
}
.tag-icon.tag-icon-fallback { opacity: 0.55; }
.skill-card.in-view .tag-row span {
  animation: tagPop 0.45s ease both;
}
.skill-card.in-view .tag-row span:nth-child(1) { animation-delay: 0.02s; }
.skill-card.in-view .tag-row span:nth-child(2) { animation-delay: 0.06s; }
.skill-card.in-view .tag-row span:nth-child(3) { animation-delay: 0.10s; }
.skill-card.in-view .tag-row span:nth-child(4) { animation-delay: 0.14s; }
.skill-card.in-view .tag-row span:nth-child(5) { animation-delay: 0.18s; }
.skill-card.in-view .tag-row span:nth-child(6) { animation-delay: 0.22s; }
.skill-card.in-view .tag-row span:nth-child(7) { animation-delay: 0.26s; }
.skill-card.in-view .tag-row span:nth-child(8) { animation-delay: 0.30s; }
.skill-card.in-view .tag-row span:nth-child(9) { animation-delay: 0.34s; }
.skill-card.in-view .tag-row span:nth-child(n+10) { animation-delay: 0.38s; }
@keyframes tagPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--line);
  --fill: 0%;
}
.timeline::after {
  content: "";
  position: absolute;
  left: -2px; top: 0;
  width: 2px;
  height: var(--fill);
  background: linear-gradient(180deg, var(--gold), var(--teal));
  transition: height 0.15s ease-out;
}
.tl-item { position: relative; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -39px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid var(--gold);
  transform: scale(0);
}
.tl-item.in-view .tl-dot {
  animation: dotPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.tl-item:first-child .tl-dot {
  animation: dotPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both, pulseRing 2.2s ease-in-out 0.8s infinite;
}
@keyframes dotPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 177, 60, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(226, 177, 60, 0); }
}
.tl-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tl-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pulse-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  animation: pulseDot 1.6s ease-out infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}
.tl-content h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.tl-org { color: var(--text-soft); font-size: 0.98rem; }

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.industry-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.project-card h3 {
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.project-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Education */
.edu-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.edu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.edu-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.edu-card h3 { font-size: 1.1rem; color: var(--ink); margin: 8px 0 6px; }
.edu-card p { color: var(--text-soft); font-size: 0.95rem; }

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  text-align: center;
}
.contact-section .section-tag,
.contact-section .section-title,
.contact-section .section-sub { display: block; margin-left: auto; margin-right: auto; }
.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.contact-actions .btn {
  opacity: 0;
  transform: translateY(10px) scale(0.94);
}
.contact-actions.in-view .btn {
  animation: tagPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.contact-actions.in-view .btn:nth-child(1) { animation-delay: 0.05s; }
.contact-actions.in-view .btn:nth-child(2) { animation-delay: 0.14s; }
.contact-actions.in-view .btn:nth-child(3) { animation-delay: 0.23s; }
.contact-actions.in-view .btn:nth-child(4) { animation-delay: 0.32s; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--text-inverse-soft);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}
.footer-sub { color: rgba(169,182,212,0.6); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold);
  border: 1px solid rgba(226, 177, 60, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  z-index: 500;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--navy-700);
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.05);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.tl-item.reveal { transform: translateX(-28px); }
.tl-item.reveal.in-view { transform: translateX(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-bottom: 20px; }
  .photo-frame { width: min(70%, 320px); margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { column-count: 2; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78%, 320px);
    background: var(--navy-950);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .skills-grid { column-count: 1; }
  .project-grid { grid-template-columns: 1fr; }
  .edu-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .section { padding: 80px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ===== Print / Export as PDF ===== */
@media print {
  @page { margin: 14mm 12mm; }

  * { animation: none !important; transition: none !important; box-shadow: none !important; }

  body { background: #fff; color: #1b2333; }

  .progress-bar,
  .site-header,
  .scroll-cue,
  .hero-bg,
  .nav-toggle,
  .back-to-top { display: none !important; }

  /* Force every reveal-on-scroll element visible regardless of scroll state */
  .reveal { opacity: 1 !important; transform: none !important; }
  .tag-row span { opacity: 1 !important; transform: none !important; }
  .contact-actions .btn { opacity: 1 !important; transform: none !important; }
  .tl-dot { transform: scale(1) !important; }
  .pulse-dot::after { display: none; }

  main { padding-top: 0; }

  .hero {
    min-height: 0;
    padding: 0 0 24px;
    background: #fff;
    color: #1b2333;
    page-break-after: avoid;
  }
  .eyebrow { color: var(--navy-800); }
  .hero h1 { color: #1b2333; }
  .hero-desc { color: #3a4256; max-width: none; }
  .hero-desc strong { color: #1b2333; }
  .hero-actions { display: none; }
  .hero-stats { gap: 30px; }
  .stat-num, .stat-suffix { color: #1b2333; font-size: 1.5rem; }
  .stat-label { color: #5a6478; }

  .hero-inner { grid-template-columns: 0.9fr auto; gap: 24px; align-items: start; }
  .hero-media { justify-self: end; }
  .photo-frame {
    width: 150px;
    aspect-ratio: 4 / 4.6;
    border: 1px solid var(--line);
    box-shadow: none;
  }
  .photo-frame::after { display: none; }
  .hero-badges { width: 150px; margin-top: 10px; }
  .badge-pill {
    background: #fff;
    border: 1px solid var(--line);
    color: #1b2333;
    box-shadow: none;
    font-size: 0.68rem;
    padding: 5px 10px;
  }

  .section { padding: 22px 0; page-break-inside: avoid; }
  .section-alt { background: #fff; }
  .section-sub { max-width: none; }

  .mini-card, .skill-card, .project-card, .edu-card, .tl-content {
    border: 1px solid var(--line);
    break-inside: avoid;
  }
  .skills-grid { column-count: 3; column-gap: 12px; }
  .skill-card { padding: 14px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-card { padding: 16px; }
  .project-card:hover { transform: none; border-color: var(--line); }

  .timeline { border-left-color: var(--line); }
  .timeline::after { height: 100% !important; }
  .tl-dot { background: var(--navy-800); }

  .contact-section { background: #fff; }
  .contact-actions .btn {
    background: none;
    color: #1b2333;
    border: 1px solid var(--line);
    box-shadow: none;
    padding: 8px 16px;
  }

  .site-footer { background: #fff; color: #5a6478; border-top: 1px solid var(--line); }
  .footer-sub { color: #8b93a6; }
}
