* { box-sizing: border-box; }
:root {
  --bg: #07111d;
  --bg-soft: #0b1725;
  --panel: #101e2e;
  --panel-hover: #14263a;
  --line: #1a3046;
  --line-bright: rgba(56, 189, 248, .28);
  --text: #f3f7fc;
  --muted: #a9bcd0;
  --blue: #078cff;
  --blue2: #20a5ff;
  --cyan: #38bdf8;
  --emerald: #10b981;
  --display: "Outfit", system-ui, -apple-system, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.88); }
}

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

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 14% 0%, rgba(7, 140, 255, .11), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(56, 189, 248, .08), transparent 38%),
    radial-gradient(circle at 50% 85%, rgba(7, 140, 255, .06), transparent 45%);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.ambient-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Navigation */
.site-header {
  height: 76px;
  background: rgba(6, 15, 26, .84);
  border-bottom: 1px solid rgba(126, 164, 199, .12);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(5, 13, 23, .95);
  border-bottom-color: rgba(56, 189, 248, .18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-mark {
  font-family: var(--mono);
  color: var(--blue2);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1.5px;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(7, 140, 255, .1);
  border: 1px solid rgba(32, 165, 255, .22);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.nav a {
  color: #cdd9e6;
  font-size: 14px;
  font-weight: 500;
  padding: 26px 0 24px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
  border-color: var(--blue2);
}

.social-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-top a {
  border: 1px solid #294057;
  background: rgba(16, 30, 46, .65);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #dbe7f3;
  transition: .2s ease;
}

.social-top a:hover {
  border-color: var(--blue2);
  color: #ffffff;
  background: rgba(7, 140, 255, .18);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  color: white;
  background: rgba(16, 30, 46, .7);
  border: 1px solid #294057;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 20px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #071220 0%, #081524 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 165, 210, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 165, 210, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 75% at 60% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 60% 50%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 50%, rgba(7, 140, 255, .18), rgba(32, 165, 255, .05) 36%, transparent 65%),
    linear-gradient(90deg, #07111d 0%, rgba(7, 17, 29, .55) 45%, rgba(7, 17, 29, .15) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 72px);
}

.hero-text {
  flex: 1;
  min-width: 0;
  animation: revealUp .65s cubic-bezier(.22, 1, .36, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(7, 140, 255, .1);
  border: 1px solid rgba(56, 189, 248, .22);
  margin: 0 0 18px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.intro {
  color: #c2d1e0;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 600;
  margin: 0;
}

h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 4px 0 16px;
}

h1 span {
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: #cbd8e6;
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 530px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #0570d6 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, .35);
  box-shadow: 0 8px 24px rgba(7, 140, 255, .24);
}

.button-primary:hover {
  background: linear-gradient(135deg, #1b99ff 0%, var(--blue) 100%);
  box-shadow: 0 12px 28px rgba(7, 140, 255, .34);
  transform: translateY(-2px);
}

.button-outline {
  border: 1px solid rgba(56, 189, 248, .4);
  background: rgba(11, 23, 37, .72);
  color: #e6f0fa;
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  border-color: var(--cyan);
  background: rgba(7, 140, 255, .15);
  transform: translateY(-2px);
}

/* Harmonized Circular Profile Avatar */
.hero-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: revealUp .75s .12s cubic-bezier(.22, 1, .36, 1) both;
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 140, 255, .24) 0%, rgba(250, 126, 30, .06) 48%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.avatar-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, .26);
  pointer-events: none;
  animation: spinSlow 42s linear infinite;
}

.avatar-orbit-inner {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid rgba(7, 140, 255, .16);
  border-top-color: rgba(56, 189, 248, .55);
  border-bottom-color: rgba(250, 126, 30, .25);
  pointer-events: none;
  animation: spinSlow 28s linear infinite reverse;
}

.avatar-ring {
  position: relative;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #078cff 38%, #0d2744 72%, #20a5ff 100%);
  box-shadow:
    0 18px 42px rgba(2, 8, 16, .68),
    0 0 28px rgba(7, 140, 255, .24);
  display: inline-flex;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}

.hero-avatar-wrap:hover .avatar-ring {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 22px 48px rgba(2, 8, 16, .78),
    0 0 36px rgba(32, 165, 255, .36);
}

.avatar-frame {
  position: relative;
  border-radius: 50%;
  padding: 5px;
  background: #07111d;
  overflow: hidden;
  display: flex;
}

/* Harmonizes warm portrait lighting with the dark navy/cyan theme */
.avatar-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, transparent 54%, rgba(7, 17, 29, .54) 100%),
    linear-gradient(145deg, rgba(56, 189, 248, .13) 0%, transparent 45%, rgba(7, 17, 29, .38) 100%);
  box-shadow:
    inset 0 0 18px rgba(7, 17, 29, .55),
    inset 0 0 0 1px rgba(56, 189, 248, .22);
  pointer-events: none;
}

.avatar-img {
  width: clamp(176px, 20vw, 224px);
  height: clamp(176px, 20vw, 224px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  filter: contrast(1.05) saturate(.88) brightness(.96);
  transition: filter .3s ease, transform .35s ease;
}

.hero-avatar-wrap:hover .avatar-img {
  filter: contrast(1.06) saturate(.94) brightness(1);
}

.avatar-badge {
  position: relative;
  z-index: 2;
  margin-top: -16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(11, 23, 37, .94);
  border: 1px solid rgba(56, 189, 248, .32);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #e3eef9;
  backdrop-filter: blur(10px);
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}

.avatar-badge:hover {
  border-color: var(--cyan);
  color: #ffffff;
  transform: translateY(-1px);
}

.avatar-badge svg {
  color: var(--cyan);
}

.avatar-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.avatar-badge-code {
  font-family: var(--mono);
  color: var(--cyan);
  font-weight: 700;
  font-size: 11px;
}

/* Highlights Strip */
.highlights {
  position: relative;
  z-index: 2;
  background: rgba(9, 21, 34, .92);
  border-top: 1px solid rgba(120, 159, 195, .12);
  border-bottom: 1px solid rgba(120, 159, 195, .12);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 26px;
  padding-bottom: 26px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 6px 22px;
  border-right: 1px solid #16293d;
  transition: transform .2s ease;
}

.highlight:hover {
  transform: translateY(-2px);
}

.highlight:first-child { padding-left: 0; }
.highlight:last-child { border-right: 0; padding-right: 0; }

.highlight-icon {
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(7, 140, 255, .16), rgba(7, 140, 255, .05));
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.highlight h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 3px;
}

.highlight p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* Section Headers */
.section-header {
  margin-bottom: 20px;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--blue2);
  margin-bottom: 5px;
}

h2 {
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.025em;
  padding-left: 13px;
  border-left: 4px solid var(--blue);
}

/* Main Content Grid */
.content-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.3fr;
  gap: clamp(36px, 6vw, 72px);
  padding-top: 56px;
  padding-bottom: 44px;
  align-items: start;
}

.about {
  background: linear-gradient(155deg, rgba(16, 31, 48, .8), rgba(10, 21, 34, .9));
  border: 1px solid rgba(120, 159, 195, .14);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), transparent);
}

.about > p {
  color: #cddae7;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 22px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  color: #dce6f0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border-radius: 9px;
  background: rgba(7, 17, 29, .5);
  border: 1px solid rgba(120, 159, 195, .08);
  transition: border-color .2s ease, transform .2s ease;
}

.check-list li:hover {
  border-color: rgba(56, 189, 248, .24);
  transform: translateX(3px);
}

.check-list li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(7, 140, 255, .16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-telemetry {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(120, 159, 195, .12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.telemetry-item {
  background: rgba(7, 15, 25, .6);
  border: 1px solid rgba(56, 189, 248, .12);
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cyan);
}

.telemetry-value {
  font-size: 12.5px;
  font-weight: 600;
  color: #e4eef8;
}

/* Tech Stack Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tech {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #101f30, #0c1826);
  border: 1px solid rgba(112, 151, 190, .13);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.tech:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, .38);
  background: linear-gradient(135deg, #14273c, #0e1d2e);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.tech b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #07111d;
  background: #e9c928;
  flex-shrink: 0;
}

.tech .tech-ts { background: #168bd5; color: white; }
.tech .tech-node { background: #80c94b; font-size: 13px; }
.tech .tech-next { background: #fff; border-radius: 50%; width: 26px; }
.tech .tech-docker { background: #27b5e8; font-size: 13px; }
.tech .tech-db { background: rgba(56, 189, 248, .15); color: var(--cyan); border: 1px solid rgba(56, 189, 248, .28); }
.tech .tech-redis { background: #d94337; color: white; }
.tech .tech-linux { background: rgba(255, 255, 255, .1); color: #f3f7fc; border: 1px solid rgba(255, 255, 255, .18); }
.tech .tech-git { background: #f06d43; color: white; font-size: 13px; }
.tech .tech-py { background: #4a78b8; color: white; }

/* Projects Section */
.projects-section { margin-top: 38px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 174px;
  padding: 20px;
  border-radius: 13px;
  background: linear-gradient(150deg, #101f30, #0a1623);
  border: 1px solid #1e344b;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .45;
  transition: opacity .22s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .34);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-icon {
  color: var(--cyan);
  background: rgba(7, 140, 255, .12);
  border: 1px solid rgba(56, 189, 248, .22);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.project-index {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #6b85a0;
  letter-spacing: .06em;
}

.project-card h3 {
  font-family: var(--display);
  font-size: 16px;
  margin: 0 0 7px;
}

.project-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.section-note {
  color: var(--muted);
  font-size: 13px;
  margin: 16px 0 0;
}

.section-note a {
  color: var(--cyan);
  font-weight: 600;
}

.section-note a:hover {
  text-decoration: underline;
}

/* Contact CTA Banner */
.contact-banner {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 50%, rgba(7, 140, 255, .16), transparent 55%),
    linear-gradient(135deg, rgba(16, 31, 48, .9), rgba(9, 20, 33, .95));
  border: 1px solid rgba(56, 189, 248, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.contact-text p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  background: #06101b;
  border-top: 1px solid #17283b;
}

.footer-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-content .brand { font-size: 16px; }
.footer-content .brand-mark { font-size: 16px; padding: 3px 7px; }
.footer-content p { color: #a9bcd0; font-size: 13px; }
.footer-content p span { color: var(--blue2); padding: 0 7px; }

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
}

.footer-links a:hover { color: var(--cyan); }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .highlight { padding: 4px 12px; gap: 11px; }
  .content-section { grid-template-columns: 1fr; gap: 38px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 560px); }
  .site-header { height: 66px; }
  .brand { font-size: 17px; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .social-top { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 12px 22px 18px;
    background: rgba(7, 17, 29, .98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(120, 159, 195, .08); }
  .nav a:last-child { border-bottom: 0; }
  .hero { min-height: auto; }
  .hero-content {
    padding-top: 34px;
    padding-bottom: 42px;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions { justify-content: center; }
  .avatar-img { width: 156px; height: 156px; }
  .intro { font-size: 20px; }
  h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; max-width: 420px; }
  .button { font-size: 13px; padding: 11px 16px; }
  .highlight-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; column-gap: 12px; }
  .highlight { border: 0; padding: 0; }
  .content-section { padding-top: 38px; padding-bottom: 36px; }
  .about { padding: 22px; }
  .about-telemetry { grid-template-columns: 1fr; }
  h2 { font-size: 22px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: auto; }
  .contact-card { padding: 22px; }
  .footer-content {
    padding-top: 22px;
    padding-bottom: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-content p { margin: 0; font-size: 12px; }
}
