:root {
  --ink: #0b0f1d;
  --night: #0f1424;
  --glow: #f6c453;
  --mint: #5be7a9;
  --blush: #f28fb4;
  --ice: #e8f1ff;
  --stone: #cad2e3;
  --canvas: #f4f6fb;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 60px rgba(16, 23, 44, 0.18);
  --radius: 28px;
  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at top, #fef4df 0%, #f9f2ff 35%, #eef2ff 70%, #f4f6fb 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.bg-orbit {
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, rgba(242, 143, 180, 0.3), rgba(246, 196, 83, 0.2), rgba(91, 231, 169, 0.18), rgba(242, 143, 180, 0.3));
  top: -400px;
  right: -280px;
  filter: blur(2px);
  z-index: -2;
  animation: orbit 18s linear infinite;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(15, 20, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 20, 36, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.25;
  z-index: -3;
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateY(0px);
  }
  100% {
    transform: rotate(360deg) translateY(0px);
  }
}

.hero {
  padding: 48px 8vw 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 32px rgba(15, 20, 36, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--ink);
  color: #fff;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: rgba(11, 15, 29, 0.75);
}

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

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

.nav-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
}

.nav-sticky {
  position: sticky;
  top: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 40px rgba(15, 20, 36, 0.12);
  transform: translateY(0);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: rgba(11, 15, 29, 0.55);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: rgba(11, 15, 29, 0.75);
  margin-bottom: 26px;
  max-width: 520px;
}

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

.button {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 20, 36, 0.2);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 15, 29, 0.1);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(11, 15, 29, 0.08);
}

.hero-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(246, 196, 83, 0.45), transparent 70%);
  bottom: -60px;
  right: -40px;
}

.hero-card-inner {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(11, 15, 29, 0.6);
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(91, 231, 169, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 231, 169, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(91, 231, 169, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 231, 169, 0);
  }
}

.hero-card h3 {
  font-size: 1.4rem;
}

.hero-card p {
  color: rgba(11, 15, 29, 0.7);
  line-height: 1.5;
}

.hero-card-stats {
  display: flex;
  gap: 16px;
}

.stat {
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(11, 15, 29, 0.6);
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 15, 29, 0.1);
}

.hero-card-footer a {
  color: var(--ink);
  font-weight: 600;
}

.section {
  padding: 72px 8vw 32px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  color: rgba(11, 15, 29, 0.7);
  max-width: 520px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 22px 26px;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(15, 20, 36, 0.1);
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(11, 15, 29, 0.55);
  margin-bottom: 10px;
}

.timeline-card h3 {
  margin-bottom: 12px;
}

.timeline-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: rgba(11, 15, 29, 0.75);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.project-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 20, 36, 0.1);
  display: grid;
}

.project-thumb {
  background: linear-gradient(135deg, rgba(15, 20, 36, 0.9), rgba(91, 231, 169, 0.6));
  color: #fff;
  height: 180px;
  display: grid;
  place-items: center;
  font-weight: 500;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.project-body p {
  color: rgba(11, 15, 29, 0.7);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(11, 15, 29, 0.08);
}

.project-link {
  font-weight: 600;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.interest-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px 22px;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(15, 20, 36, 0.08);
}

.contact-card {
  background: #fff;
  color: var(--ink);
  padding: 28px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  box-shadow: 0 20px 40px rgba(15, 20, 36, 0.1);
}

.contact-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(11, 15, 29, 0.08);
  border: 1px solid rgba(11, 15, 29, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
}

.contact-icon:hover {
  transform: translateY(-2px);
  background: rgba(11, 15, 29, 0.14);
}

.contact-card p {
  color: rgba(11, 15, 29, 0.7);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer {
  padding: 32px 8vw 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: rgba(11, 15, 29, 0.6);
}

.footer a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    border-radius: 24px;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 6vw 12px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
  }

  .hero-card-stats {
    flex-direction: column;
  }

  .timeline-meta {
    flex-direction: column;
    gap: 6px;
  }
}
