:root {
  /* Dark "data lab" palette — deep navy canvas, data-viz accents */
  --bg: #070b16;            /* page background */
  --bg-alt: #0b1120;        /* alternate sections */
  --surface: rgba(255, 255, 255, 0.035);  /* glass cards */
  --surface-2: rgba(255, 255, 255, 0.06);  /* tags / subtle fill */
  --border: rgba(148, 163, 184, 0.14);     /* hairline */
  --border-bright: rgba(148, 163, 184, 0.28);
  --text: #e8eefb;          /* primary ink */
  --text-dim: #93a1bd;      /* muted text */
  --cyan: #38bdf8;          /* primary accent */
  --cyan-deep: #0ea5e9;
  --violet: #a78bfa;        /* secondary accent */
  --emerald: #34d399;       /* positive / data */
  --amber: #fbbf24;         /* highlight */
  --grad: linear-gradient(120deg, #38bdf8 0%, #a78bfa 55%, #f472b6 100%);
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  --shadow-sm: 0 10px 30px rgba(2, 6, 23, 0.4);
  --glow-cyan: 0 0 40px rgba(56, 189, 248, 0.35);
  --radius: 18px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 600; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

h1, h2, h3, .nav__brand { font-family: "Sora", system-ui, sans-serif; }

/* ---------- BACKGROUND DECOR ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed; z-index: -2; pointer-events: none; border-radius: 50%;
  filter: blur(110px); opacity: 0.5;
}
.bg-glow--1 { top: -180px; right: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%); }
.bg-glow--2 { top: 30%; left: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(167, 139, 250, 0.4), transparent 70%); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-color: var(--border); background: rgba(7, 11, 22, 0.82); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__brand { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--text); }
.nav__brand span { color: var(--cyan); }
.nav__links { display: flex; gap: 1.5rem; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--text-dim); transition: color 0.2s var(--ease); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.78rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--cyan); color: #061018; box-shadow: var(--glow-cyan); font-weight: 700; }
.btn--primary:hover { background: var(--cyan-deep); transform: translateY(-2px); box-shadow: 0 0 50px rgba(56, 189, 248, 0.5); }
.btn--ghost { border-color: var(--border-bright); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero { padding: 5.5rem 0 5rem; position: relative; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.2rem; align-items: center; position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--cyan); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.2rem; font-family: "JetBrains Mono", monospace;
  padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
}
.hero__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.3rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; color: var(--text); }
.hero__title-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subtitle { color: var(--text-dim); font-size: 1.1rem; margin: 1.3rem 0 2rem; max-width: 46ch; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.chip { font-family: "JetBrains Mono", monospace; font-size: 0.76rem; color: var(--text-dim); padding: 0.35rem 0.8rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.chip b { color: var(--text); font-weight: 600; }
.hero__social { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.hero__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  transition: 0.2s var(--ease);
}
.hero__social a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--glow-cyan); }

.hero__media { display: flex; justify-content: center; position: relative; perspective: 900px; max-width: 100%; }
.hero__avatar {
  position: relative; z-index: 1;
  width: clamp(220px, 28vw, 320px); aspect-ratio: 1; border-radius: 50%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow:
    0 0 0 8px rgba(56, 189, 248, 0.06),
    0 0 60px rgba(56, 189, 248, 0.35),
    0 24px 60px rgba(2, 6, 23, 0.6);
}
.hero__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero__avatar::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(167, 139, 250, 0.4);
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__badge {
  position: absolute; z-index: 2;
  background: rgba(11, 17, 32, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-bright); border-radius: 14px;
  padding: 0.7rem 1rem; display: flex; flex-direction: column; gap: 0.1rem;
  box-shadow: var(--shadow-sm);
  animation: float 5s ease-in-out infinite;
}
.hero__badge--top { top: 4%; right: -14%; }
.hero__badge--bottom { bottom: 4%; left: -14%; animation-delay: 1.4s; }
.hero__badge-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.hero__badge-value { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--cyan); }
.hero__badge--bottom .hero__badge-value { color: var(--emerald); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__spark { position: absolute; bottom: -2%; right: 4%; width: 120px; height: 40px; z-index: 2; opacity: 0.9; }
.hero__spark svg { width: 100%; height: 100%; }
.hero__spark-line { stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6)); stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 2.2s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 1; width: 24px; height: 38px; border: 2px solid var(--border-bright); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--cyan); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- SECTIONS ---------- */
.section { padding: 5rem 0; position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(11, 17, 32, 0.6), rgba(11, 17, 32, 0.3)); }
.section__head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 2.6rem; }
.section__head--split { justify-content: space-between; align-items: center; }
.section__head-left { display: flex; align-items: baseline; gap: 0.9rem; }
.section__action {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.86rem; font-weight: 600; color: var(--text-dim);
  padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  transition: 0.2s var(--ease);
}
.section__action svg { transition: transform 0.2s var(--ease); }
.section__action:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.section__action:hover svg { transform: translate(2px, -2px); }
.section__index { color: var(--cyan); font-size: 0.95rem; font-weight: 700; font-family: "JetBrains Mono", monospace; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.55rem); letter-spacing: -0.02em; font-weight: 700; color: var(--text); }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.about { display: grid; gap: 1.2rem; font-size: 1.05rem; }
.about p { color: var(--text-dim); }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm); }
.about-card__title { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 1.1rem; }
.about-card__list { list-style: none; display: grid; gap: 0.85rem; }
.about-card__list li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
.about-card__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-card__list span { color: var(--text-dim); font-size: 0.88rem; }
.about-card__list b { color: var(--text); font-weight: 600; font-size: 0.92rem; text-align: right; }

/* ---------- METRICS ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; }
.metric {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; text-align: center; position: relative; overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.metric::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: 0.7; }
.metric:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.metric__value { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric__label { color: var(--text-dim); font-size: 0.82rem; margin-top: 0.6rem; }

/* ---------- TIMELINE ---------- */
.timeline { display: grid; gap: 1.2rem; }
.tl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-sm); position: relative;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tl-card::before { content: ""; position: absolute; left: 0; top: 1.8rem; bottom: 1.8rem; width: 3px; border-radius: 3px; background: var(--grad); opacity: 0.8; }
.tl-card:hover { transform: translateY(-3px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.tl-card__top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.tl-card__head { display: flex; gap: 1.1rem; align-items: center; }
.tl-card__logo { height: 54px; width: auto; flex-shrink: 0; }
.tl-card__title { font-size: 1.2rem; font-weight: 700; font-family: "Sora", sans-serif; }
.tl-card__org { color: var(--cyan); font-weight: 600; font-size: 0.98rem; }
.tl-card__meta {
  color: var(--text); font-size: 0.76rem; font-weight: 600; white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  background: var(--surface-2); padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--border);
}
.tl-card__sub { color: var(--text-dim); font-size: 0.86rem; margin-top: 0.2rem; }
.tl-card__list { margin: 1.1rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.55rem; }
.tl-card__list li { color: var(--text-dim); font-size: 0.95rem; }
.tl-card__list li::marker { color: var(--cyan); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag { font-family: "JetBrains Mono", monospace; font-size: 0.74rem; font-weight: 500; padding: 0.3rem 0.7rem; border-radius: 7px; background: var(--surface-2); color: var(--cyan); border: 1px solid var(--border); }

/* ---------- GRIDS ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid--skills { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid--certs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }

/* ---------- PROJECT CARD ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.25s var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::after { opacity: 0.8; }
.card__title { font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.6rem; font-family: "Sora", sans-serif; }
.card__meta { color: var(--cyan); font-weight: 600; font-size: 0.78rem; margin-bottom: 0.8rem; font-family: "JetBrains Mono", monospace; }
.card__desc { color: var(--text-dim); font-size: 0.92rem; flex: 1; }
.card__links { display: flex; gap: 1rem; margin-top: 1.3rem; flex-wrap: wrap; }
.card__links a { font-size: 0.84rem; font-weight: 600; color: var(--violet); display: inline-flex; align-items: center; gap: 0.35rem; transition: color 0.2s var(--ease); }
.card__links a:hover { color: var(--cyan); }

/* ---------- SKILL CARD ---------- */
.skill-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.skill-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.skill-card h3 { font-family: "JetBrains Mono", monospace; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cyan); margin-bottom: 1rem; }

/* ---------- CERT CARD ---------- */
.cert-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.7rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  box-shadow: var(--shadow-sm); position: relative;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cert-card:hover { transform: translateY(-3px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.cert-card__name { font-weight: 700; font-size: 1rem; font-family: "Sora", sans-serif; }
.cert-card__issuer { color: var(--text-dim); font-size: 0.86rem; }
.cert-card__link { margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--violet); transition: color 0.2s var(--ease); }
.cert-card__link:hover { color: var(--cyan); }

/* ---------- CONTACT ---------- */
.contact { text-align: center; }
.contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.contact__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(56, 189, 248, 0.16), transparent 70%); pointer-events: none; }
.contact__eyebrow { position: relative; font-family: "JetBrains Mono", monospace; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 0.8rem; }
.contact__title { position: relative; font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -0.02em; font-weight: 700; color: var(--text); }
.contact__text { position: relative; color: var(--text-dim); margin: 0.9rem 0 1.8rem; max-width: 46ch; }
.contact .btn--primary { position: relative; }
.contact .hero__social { position: relative; justify-content: center; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); padding: 1.8rem 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-dim); font-size: 0.82rem; }
.footer__note { font-family: "JetBrains Mono", monospace; opacity: 0.7; }

/* ---------- HERO ENTRANCE ANIMATION ---------- */
.hero__text > * { opacity: 0; animation: rise 0.7s var(--ease) forwards; }
.hero__eyebrow { animation-delay: 0.05s; }
.hero__title { animation-delay: 0.15s; }
.hero__subtitle { animation-delay: 0.25s; }
.hero__actions { animation-delay: 0.35s; }
.hero__chips { animation-delay: 0.45s; }
.hero__social { animation-delay: 0.55s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions, .hero__social, .hero__chips { justify-content: center; }
  /* Hug the media box to the avatar so the floating badges hang off its corners
     (hair / background / suit) instead of landing on the centred face. */
  .hero__media { order: -1; width: -moz-fit-content; width: fit-content; margin-inline: auto; }
  .hero__avatar { width: clamp(200px, 62vw, 280px); }
  .hero__badge--top { top: 4%; right: -12%; }
  .hero__badge--bottom { bottom: 4%; left: -12%; }
  .hero__scroll { display: none; }
  .nav__links {
    position: fixed; inset: 66px 0 auto 0;
    flex-direction: column; gap: 0; padding: 1rem 1.25rem;
    background: rgba(7, 11, 22, 0.96); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform 0.35s var(--ease); backdrop-filter: blur(14px);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 480px) {
  .container { width: min(100% - 1.75rem, var(--maxw)); }
  .section { padding: 3.5rem 0; }
  .hero__eyebrow { font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.35rem 0.75rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { gap: 0.6rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__badge { padding: 0.5rem 0.85rem; }
  .section__head { gap: 0.6rem; margin-bottom: 1.8rem; }
  .section__head--split { flex-wrap: wrap; gap: 0.8rem; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .metric { padding: 1.2rem 0.8rem; }
  .tl-card, .card, .skill-card, .cert-card, .about-card { padding: 1.4rem 1.3rem; }
  .tl-card__top { gap: 0.5rem; }
  .contact__inner { padding: 2.6rem 1.3rem; border-radius: 22px; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .hero__text > *, .hero__media { opacity: 1 !important; transform: none !important; }
  .hero__spark-line { stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
}
