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

:root {
  --bg: #0B1221;
  --bg2: #0F172A;
  --surface: rgba(255,255,255,0.035);
  --surface-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(148,163,184,0.15);
  --blue: #1D4ED8;
  --blue-light: #3B82F6;
  --cyan: #0891B2;
  --cyan-light: #22D3EE;
  --gold: #C4A55A;
  --text: #F1F5F9;
  --text-muted: #8898AA;
  --text-dim: #475569;
  --radius: 14px;
  --radius-sm: 9px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ─────────────────────────────── */
#cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--cyan-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, background .15s;
}
#cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(8,145,178,0.055) 0%, transparent 70%);
  transform: translate(-50%, -50%);
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 6vw;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(11,18,33,0.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--cyan-light); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color .2s;
  cursor: none;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid rgba(59,130,246,0.45);
  color: var(--blue-light);
  padding: 0.42rem 1.15rem;
  border-radius: 7px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background .2s, border-color .2s, color .2s;
  cursor: none;
}
.nav-cta:hover {
  background: rgba(59,130,246,0.1);
  border-color: var(--blue-light);
  color: #fff;
}

/* ── HERO ────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 120px 6vw 80px;
}
.hero-blobs {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: blobFloat 16s ease-in-out infinite alternate;
}
.blob-1 {
  width: 560px; height: 560px;
  background: #1E3A8A;
  opacity: 0.14;
  top: -160px; left: -120px;
  animation-duration: 18s;
}
.blob-2 {
  width: 440px; height: 440px;
  background: #0C4A6E;
  opacity: 0.12;
  bottom: -80px; right: -60px;
  animation-duration: 13s;
  animation-delay: -6s;
}
.blob-3 {
  width: 300px; height: 300px;
  background: #312E81;
  opacity: 0.08;
  top: 45%; left: 52%;
  animation-duration: 20s;
  animation-delay: -9s;
}
@keyframes blobFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(25px, 35px) scale(1.06); }
}

#particles { position: absolute; inset: 0; z-index: 0; }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(196,165,90,0.08);
  border: 1px solid rgba(196,165,90,0.22);
  color: var(--gold);
  padding: .32rem 1rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}
.hero-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}
.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
  color: var(--text);
}
.hero-h1 .grad {
  background: linear-gradient(135deg, #E2E8F0 0%, var(--cyan-light) 55%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
}
.hero-sub strong { color: #CBD5E1; font-weight: 500; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: .72rem 1.8rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29,78,216,0.38);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-accent);
  color: #CBD5E1;
  padding: .72rem 1.8rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── SECTIONS SHARED ─────────────────────── */
section { padding: 110px 6vw; }
.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 1rem;
  opacity: 0.8;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 1rem;
  max-width: 620px;
  color: var(--text);
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
}
.container { max-width: 1080px; margin: 0 auto; }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ABOUT ───────────────────────────────── */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: start;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.stat-card:hover {
  background: var(--surface-hover);
  border-color: rgba(34,211,238,0.15);
  transform: translateY(-2px);
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, #E2E8F0, var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .755rem; color: var(--text-muted); margin-top: .25rem; line-height: 1.4; }

/* About visual — clean stacked column, zero overlap */
.about-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
}
.about-card-main {
  background: linear-gradient(160deg, rgba(29,78,216,0.09), rgba(8,145,178,0.05));
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: 18px;
  padding: 2.2rem 1.8rem 2rem;
  text-align: center;
}
.about-avatar {
  width: 88px; height: 88px;
  min-width: 88px; min-height: 88px;
  max-width: 88px; max-height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.about-avatar img {
  position: absolute;
  top: 0; left: 0;
  width: 88px;
  height: 88px;
  min-width: 88px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}
.avatar-fallback {
  position: relative;
  z-index: 1;
}
.about-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1rem;
  margin-bottom: .2rem;
  color: var(--text);
}
.about-card-role {
  font-size: .78rem;
  color: var(--cyan-light);
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.about-tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.tag {
  font-size: .68rem; font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: .2rem .62rem;
  border-radius: 100px;
  color: var(--text-muted);
}

/* Info chips — stacked cleanly below the card, no absolute positioning */
.about-floating {
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(148,163,184,0.11);
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .775rem;
  color: var(--text-muted);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
}
.about-floating .fi { color: var(--cyan-light); font-weight: 600; margin-right: .5rem; }

/* ── TIMELINE ────────────────────────────── */
#experience { background: linear-gradient(180deg, var(--bg) 0%, #080F1D 100%); }
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 8%, var(--border) 92%, transparent);
}
.tl-item {
  display: flex; gap: 2rem;
  margin-bottom: 2.2rem;
  position: relative;
}
.tl-dot-wrap {
  flex-shrink: 0;
  width: 48px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 4px;
}
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-accent);
  position: relative; z-index: 1;
  flex-shrink: 0; margin-top: 6px;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.tl-item.visible .tl-dot {
  border-color: var(--cyan-light);
  background: rgba(8,145,178,0.15);
  box-shadow: 0 0 10px rgba(8,145,178,0.3);
}
.tl-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.tl-card:hover {
  background: var(--surface-hover);
  border-color: rgba(148,163,184,0.16);
  transform: translateX(3px);
}
.tl-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap;
}
.tl-title { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); }
.tl-company { color: var(--cyan-light); font-size: .8rem; font-weight: 500; margin-top: .15rem; opacity: 0.85; }
.tl-period {
  font-size: .7rem; font-weight: 600;
  background: rgba(148,163,184,0.07);
  border: 1px solid rgba(148,163,184,0.15);
  color: var(--text-muted);
  padding: .22rem .7rem;
  border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.03em;
}
.tl-current {
  background: rgba(29,78,216,0.12);
  border-color: rgba(59,130,246,0.25);
  color: #93C5FD;
}
.tl-list {
  list-style: none;
  margin-top: .75rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.tl-list li {
  font-size: .845rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.6;
}
.tl-list li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.55;
}

/* ── PROJECTS ────────────────────────────── */
#projects { background: var(--bg); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.4), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.project-card:hover {
  background: var(--surface-hover);
  border-color: rgba(148,163,184,0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}
.project-card:hover::after { opacity: 1; }
.project-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(29,78,216,0.12);
  border: 1px solid rgba(59,130,246,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .96rem; font-weight: 600;
  margin-bottom: .45rem;
  color: var(--text);
}
.project-desc { font-size: .845rem; color: var(--text-muted); line-height: 1.65; }
.project-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.1rem; }
.project-tag {
  font-size: .66rem; font-weight: 600;
  padding: .18rem .6rem;
  border-radius: 100px;
  background: rgba(29,78,216,0.1);
  border: 1px solid rgba(59,130,246,0.18);
  color: #93C5FD;
  letter-spacing: 0.03em;
}

/* ── SKILLS ─────────────────────────────── */
#skills { background: linear-gradient(180deg, var(--bg) 0%, #080F1D 100%); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: .85rem;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.3rem;
  display: flex; align-items: center; gap: .9rem;
  transition: background .2s, border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.skill-card:hover {
  background: var(--surface-hover);
  border-color: rgba(148,163,184,0.14);
  transform: translateY(-2px);
}
.skill-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(29,78,216,0.12);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.skill-name { font-size: .845rem; font-weight: 500; color: var(--text); }
.skill-cat { font-size: .69rem; color: var(--text-dim); margin-top: .1rem; }

/* ── CONTACT ─────────────────────────────── */
#contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, border-color .2s, transform .2s;
  cursor: none;
}
.contact-item:hover {
  background: var(--surface-hover);
  border-color: rgba(148,163,184,0.16);
  transform: translateX(3px);
}
.contact-item-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(29,78,216,0.1);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item-label { font-size: .69rem; color: var(--text-dim); margin-bottom: .1rem; letter-spacing: 0.03em; }
.contact-item-val { font-size: .875rem; font-weight: 500; color: var(--text); }
.contact-cta-box {
  background: linear-gradient(160deg, rgba(29,78,216,0.09), rgba(8,145,178,0.04));
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: 18px;
  padding: 2.4rem 2rem;
}
.contact-cta-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: .7rem;
  color: var(--text);
}
.contact-cta-box p { color: var(--text-muted); font-size: .875rem; line-height: 1.75; margin-bottom: 1.5rem; }
.contact-cta-box .btn-primary { display: inline-block; cursor: none; }
.lang-chips { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.5rem; }
.lang-chip {
  font-size: .75rem; font-weight: 500;
  padding: .3rem .85rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.lang-chip span { color: var(--cyan-light); font-weight: 600; }

/* ── FOOTER ─────────────────────────────── */
footer {
  padding: 2.2rem 6vw;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .78rem; color: var(--text-dim); }
.footer-copy strong { color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: .78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
  cursor: none;
}
.footer-links a:hover { color: var(--text-muted); }

/* ── DIVIDER ─────────────────────────────── */
.grad-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── RESPONSIVE ──────────────────────────── */

/* Large tablet — 1100px */
@media (max-width: 1100px) {
  .about-grid { gap: 3rem; }
  .contact-grid { gap: 2.5rem; }
}

/* Tablet — 900px */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid   { grid-template-columns: repeat(3, 1fr); }
  .about-grid    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  section { padding: 80px 5vw; }
}

/* Mobile — 768px */
@media (max-width: 768px) {

  /* hide custom cursor — useless on touch */
  #cursor, #cursor-glow { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
  .btn-primary, .btn-ghost,
  .nav-cta, .contact-item,
  .footer-links a, .nav-links a { cursor: pointer; }

  /* ── NAV ── */
  nav { padding: 0 5vw; height: 60px; }
  nav .nav-links { display: none; }
  .nav-cta { font-size: .78rem; padding: .36rem .9rem; }

  /* ── HERO ── */
  #hero { padding: 96px 5vw 64px; min-height: 100svh; align-items: center; }
  .hero-inner { max-width: 100%; }
  .hero-badge { font-size: .66rem; padding: .26rem .85rem; margin-bottom: 1.4rem; letter-spacing: .07em; }
  .hero-h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); line-height: 1.12; margin-bottom: 1.1rem; letter-spacing: -.02em; }
  .hero-sub { font-size: .92rem; margin-bottom: 2rem; padding: 0 .5rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: .75rem; }
  .btn-primary,
  .btn-ghost  { width: 100%; max-width: 300px; text-align: center; padding: .78rem 1rem; font-size: .88rem; }
  .hero-scroll { display: none; }
  .blob-1 { width: 280px; height: 280px; top: -80px; left: -60px; }
  .blob-2 { width: 220px; height: 220px; }
  .blob-3 { display: none; }

  /* ── SECTIONS ── */
  section { padding: 60px 5vw; }
  .section-title { font-size: clamp(1.5rem, 6.5vw, 2rem); max-width: 100%; }
  .section-sub   { font-size: .88rem; max-width: 100%; margin-bottom: 2rem; }

  /* ── ABOUT ── */
  .about-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { flex-direction: column; align-items: stretch; gap: .6rem; }
  .about-card-main { padding: 1.8rem 1.3rem 1.5rem; }
  .about-avatar {
    width: 100px !important; height: 100px !important;
    min-width: 100px !important; min-height: 100px !important;
    max-width: 100px !important; max-height: 100px !important;
    font-size: 1.4rem;
  }
  .about-avatar img {
    width: 100px !important; height: 100px !important;
    min-width: 100px !important;
  }
  .about-stats  { grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1.8rem; }
  .stat-num     { font-size: 1.5rem; }
  .stat-label   { font-size: .7rem; }
  .about-floating { font-size: .72rem; padding: .6rem .9rem; white-space: normal; }

  /* ── TIMELINE ── */
  .timeline::before { left: 14px; }
  .tl-dot-wrap { width: 30px; }
  .tl-item  { gap: .9rem; margin-bottom: 1.6rem; }
  .tl-card  { padding: 1.1rem 1.1rem; }
  .tl-header { flex-direction: column; gap: .35rem; }
  .tl-period { align-self: flex-start; }
  .tl-title  { font-size: .93rem; }
  .tl-company { font-size: .77rem; }
  .tl-list li { font-size: .81rem; line-height: 1.55; }

  /* ── PROJECTS / COMPETENCIES ── */
  .projects-grid { grid-template-columns: 1fr; gap: .9rem; }
  .project-card  { padding: 1.3rem; }
  .project-title { font-size: .9rem; }
  .project-desc  { font-size: .82rem; }

  /* ── SKILLS ── */
  .skills-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .skill-card  { padding: .95rem 1rem; gap: .65rem; }
  .skill-icon  { width: 32px; height: 32px; font-size: .9rem; }
  .skill-name  { font-size: .79rem; }
  .skill-cat   { font-size: .64rem; }

  /* ── CONTACT ── */
  .contact-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .contact-item    { padding: .85rem 1rem; }
  .contact-item-val { font-size: .82rem; }
  .contact-item-icon { width: 34px; height: 34px; font-size: .92rem; }
  .contact-cta-box { padding: 1.7rem 1.3rem; }
  .contact-cta-box h3 { font-size: 1.1rem; }
  .lang-chips { gap: .4rem; margin-top: 1.2rem; }
  .lang-chip  { font-size: .7rem; padding: .25rem .7rem; }

  /* ── FOOTER ── */
  footer { flex-direction: column; align-items: flex-start; padding: 1.6rem 5vw; gap: .8rem; }
  .footer-links { gap: 1.1rem; }
}

/* Small phones — 480px */
@media (max-width: 480px) {
  nav { height: 56px; }
  #hero { padding: 88px 4.5vw 56px; }
  .hero-h1 { font-size: clamp(1.7rem, 9vw, 2rem); }
  .hero-sub { font-size: .88rem; }
  section { padding: 50px 4.5vw; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .tl-item  { gap: .7rem; }
  .tl-card  { padding: 1rem .95rem; }
  .tl-list li { font-size: .79rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-item-val { font-size: .79rem; }
  .contact-cta-box { padding: 1.4rem 1.1rem; }
  .stat-num { font-size: 1.35rem; }
}

/* Very small phones — 360px */
@media (max-width: 360px) {
  .hero-h1 { font-size: 1.6rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .btn-primary, .btn-ghost { max-width: 100%; }
}

/* ── SELECTION / DRAG PREVENTION ─────────── */
* { user-select: none; -webkit-user-select: none; }
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
