:root {
  --bg: #eef4ff;
  --panel: #f7f9ff;
  --accent: #3d5afe;
  --accent-strong: #1a2b6b;
  --accent-soft: #b1c6ff;
  --signal: #2dd4bf;
  --ink: #101426;
  --slate: #3f4c6b;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(16, 20, 38, 0.12);
  --line: rgba(16, 20, 38, 0.12);
}

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

body {
  font-family: "Quicksand", "Trebuchet MS", sans-serif;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140' fill='none' stroke='%23101426' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M12 28h52v36h36'/%3E%3Cpath d='M28 96h36v24'/%3E%3Ccircle cx='64' cy='64' r='6'/%3E%3Ccircle cx='100' cy='64' r='6'/%3E%3Ccircle cx='64' cy='120' r='6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none' stroke='%23101426' stroke-opacity='0.07' stroke-width='2'%3E%3Ccircle cx='80' cy='80' r='30'/%3E%3Cpath d='M60 80c12-10 28-10 40 0'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%23101426' stroke-opacity='0.07' stroke-width='2'%3E%3Ccircle cx='70' cy='86' r='18'/%3E%3Ccircle cx='110' cy='86' r='18'/%3E%3Crect x='86' y='36' width='8' height='80'/%3E%3Cpath d='M90 30v-12'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150' fill='none' stroke='%23101426' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M24 40h20v20H24z'/%3E%3Cpath d='M70 36h16v28'/%3E%3Cpath d='M98 66h28'/%3E%3Cpath d='M92 96c8 12 20 12 28 0'/%3E%3C/svg%3E"),
    linear-gradient(0deg, transparent 24%, rgba(16, 20, 38, 0.04) 25%, rgba(16, 20, 38, 0.04) 26%, transparent 27%, transparent 74%, rgba(16, 20, 38, 0.04) 75%, rgba(16, 20, 38, 0.04) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(16, 20, 38, 0.04) 25%, rgba(16, 20, 38, 0.04) 26%, transparent 27%, transparent 74%, rgba(16, 20, 38, 0.04) 75%, rgba(16, 20, 38, 0.04) 76%, transparent 77%, transparent);
  background-size: 160px 160px, 200px 200px, 220px 220px, 180px 180px, 48px 48px, 48px 48px;
  background-position: 10px 20px, 80px 40px, 30px 120px, 120px 100px, 0 0, 0 0;
  color: var(--ink);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 24%;
  z-index: -1;
  filter: blur(0px);
  opacity: 0.3;
}

body::before {
  top: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.5), transparent 65%);
}

body::after {
  bottom: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.5), transparent 70%);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.top-nav {
  margin-bottom: 40px;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 244, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
}

.logo {
  font-family: "Quicksand", "Trebuchet MS", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.logo a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-content h1 {
  font-family: "Quicksand", "Trebuchet MS", sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  margin: 16px 0 16px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--slate);
}

.subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 24px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
  border: 2px solid var(--accent-strong);
}

.button.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--panel);
}

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

.hero-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
}

.hero-card-title {
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--slate);
  margin-bottom: 6px;
}

.section {
  margin-bottom: 72px;
}

.section-header {
  margin-bottom: 24px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 6px;
}

.section-header h2 {
  font-family: "Quicksand", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 820px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.projects-grid {
  grid-template-columns: 1fr;
}

.media-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
}

.media-card img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--line);
  background: #eff4ff;
}

.media-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.media-card p {
  color: var(--slate);
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(61, 90, 254, 0.12);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.experience-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
}

.experience-card img {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
  background: #eff4ff;
  border: 2px solid var(--line);
}

.experience-card h3 {
  margin-bottom: 6px;
}

.muted {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 8px;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: var(--accent-strong);
  color: var(--white);
  padding: 36px;
  border-radius: 22px;
  max-width: 760px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 12px 0 20px;
}

.blog-hero {
  background: var(--panel);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
  margin-bottom: 48px;
}

.blog-list {
  display: grid;
  gap: 20px;
}

.blog-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 22px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.blog-date {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--slate);
  margin-bottom: 8px;
}

.blog-card pre {
  background: #111a33;
  color: #e6efff;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
  margin-top: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.blog-card code {
  font-family: "Courier New", Courier, monospace;
}

.blog-image {
  width: 250px;
  height: auto;
  border-radius: 12px;
  margin: 14px auto;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    gap: 12px;
  }

  .media-card,
  .experience-card {
    grid-template-columns: 1fr;
  }

  .media-card img,
  .experience-card img {
    width: 100%;
    height: 180px;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
  }
}
