:root {
  --bg: #07131b;
  --bg-soft: #0c1d29;
  --panel: rgba(15, 28, 39, 0.85);
  --panel-strong: #102433;
  --card: #0d1f2c;
  --line: rgba(148, 163, 184, 0.18);
  --muted: #a6b7c8;
  --text: #ecf8ff;
  --heading: #f5fbff;
  --brand: #68e1fd;
  --brand-strong: #2cc1f3;
  --accent: #8a7dff;
  --success: #6ee7b7;
  --shadow: 0 24px 60px rgba(2, 10, 16, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(104, 225, 253, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(138, 125, 255, 0.12), transparent 25%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 7rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--heading);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(7, 19, 27, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #04151f;
  font-weight: 900;
}

.brand-text {
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.92rem 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #07131b;
  box-shadow: 0 24px 40px rgba(44, 193, 243, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.nav-cta {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.7rem 0.6rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.35rem 0;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.lead {
  max-width: 62ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 225, 253, 0.2);
  background: rgba(104, 225, 253, 0.06);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  color: var(--text);
  font-weight: 600;
}

.trust-list li {
  position: relative;
  padding-left: 1rem;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.profile-card {
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(15, 31, 41, 0.9), rgba(8, 20, 29, 0.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.profile-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(104, 225, 253, 0.2);
  background: linear-gradient(135deg, rgba(104, 225, 253, 0.1), rgba(138, 125, 255, 0.12));
  aspect-ratio: 1 / 1.15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.02);
}

.profile-copy {
  margin-top: 1.2rem;
}

.profile-topline {
  margin-bottom: 0.6rem;
}

.mini-status {
  display: inline-block;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.2);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-name {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--heading);
}

.profile-role {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(104, 225, 253, 0.4);
}

.social-links img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.youtube-badge {
  font-weight: 900;
  color: var(--heading);
  background: rgba(255, 0, 0, 0.08) !important;
  border-color: rgba(255, 0, 0, 0.18) !important;
}

.youtube-badge span {
  font-size: 1.2rem;
}

.blog-badge {
  font-weight: 900;
  color: var(--heading);
  background: rgba(104, 225, 253, 0.08) !important;
  border-color: rgba(104, 225, 253, 0.2) !important;
}

.blog-badge span {
  font-size: 1.1rem;
  letter-spacing: -0.06em;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.mini-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 0.6rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.mini-stats strong {
  color: var(--heading);
  font-size: 1.4rem;
  letter-spacing: -0.05em;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 18, 25, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem 0;
}

.stats-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.stats-grid strong {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.06em;
  color: var(--heading);
}

.stats-grid span {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: start;
  gap: 4rem;
}

.bio-copy h1 {
  max-width: 15ch;
}

.bio-copy p {
  max-width: 68ch;
}

.bio-photo {
  position: sticky;
  top: 110px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.75rem 0 2rem;
}

.bio-highlights span {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--brand);
  font-weight: 600;
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  background: linear-gradient(180deg, rgba(15, 31, 41, 0.85), rgba(8, 20, 29, 0.8));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.info-card.accent {
  transform: translateX(1.2rem);
}

.card-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-card,
.project-card {
  background: linear-gradient(180deg, rgba(15, 31, 41, 0.9), rgba(8, 20, 29, 0.9));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem 1.4rem;
  min-height: 100%;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  background: rgba(104, 225, 253, 0.1);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.project-badge {
  display: inline-flex;
  background: rgba(138, 125, 255, 0.12);
  color: #d6d3ff;
  border: 1px solid rgba(138, 125, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.project-card ul {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.project-card li + li {
  margin-top: 0.4rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  background: rgba(15, 31, 41, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}

.timeline-year {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(104, 225, 253, 0.08);
  border: 1px solid rgba(104, 225, 253, 0.12);
  color: var(--brand);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(7, 18, 25, 0.9);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .card-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .two-column,
  .bio-layout {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    position: static;
    width: min(420px, 100%);
  }

  .card-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(10, 17, 24, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.2rem;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 5rem 0;
  }

  .card-grid,
  .project-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-wrap,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 4.5rem;
  }
}
