:root {
  --bg: #07111f;
  --bg-soft: #101b2d;
  --surface: rgba(17, 25, 42, 0.85);
  --surface-strong: #13233d;
  --surface-light: rgba(145, 168, 188, 0.14);
  --line: rgba(168, 191, 216, 0.18);
  --text: #ecf4ff;
  --muted: #bfd0ea;
  --secondary: #8ae7da;
  --secondary-strong: #52c7ba;
  --accent: #87a8ff;
  --accent-strong: #5f7fe8;
  --shadow: rgba(4, 8, 18, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(98, 126, 255, 0.2), transparent 35%),
    radial-gradient(circle at bottom right, rgba(82, 199, 186, 0.16), transparent 25%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.75);
  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.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(82, 199, 186, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.6rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 999px;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--secondary);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.lead {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #07111f;
  box-shadow: 0 14px 30px rgba(87, 145, 255, 0.35);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-meta li {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-shell {
  position: relative;
  width: min(100%, 440px);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(19, 35, 61, 0.88), rgba(11, 18, 31, 0.7));
  box-shadow: 0 28px 70px var(--shadow);
}

.visual-shell::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(138, 231, 218, 0.18);
  pointer-events: none;
}

.visual-shell img {
  border-radius: 1.5rem;
}

.section {
  padding: 4rem 0;
}

.muted-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.panel {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.accent-panel {
  background: linear-gradient(180deg, rgba(95, 127, 232, 0.12), rgba(82, 199, 186, 0.08));
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text);
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  padding-left: 1.25rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: rgba(168, 191, 216, 0.18);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 1.2rem;
  align-items: start;
}

.timeline-dot {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 0 0 6px rgba(138, 231, 218, 0.1);
  margin-top: 0.55rem;
}

.timeline-content {
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.timeline-year {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.timeline-content p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(17, 25, 42, 0.85), rgba(11, 18, 31, 0.6));
}

.feature-card {
  border-color: rgba(138, 231, 218, 0.4);
  background: linear-gradient(180deg, rgba(82, 199, 186, 0.08), rgba(17, 25, 42, 0.88));
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.pillar-tag,
.year-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar-tag {
  background: rgba(138, 231, 218, 0.1);
  color: var(--secondary);
}

.year-tag {
  background: rgba(135, 168, 255, 0.12);
  color: var(--accent);
}

.project-card h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  display: grid;
  gap: 0.4rem;
}

.contact-section {
  padding-bottom: 5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(95, 127, 232, 0.16), rgba(82, 199, 186, 0.08));
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  color: var(--muted);
}

@media (max-width: 840px) {
  .hero-grid,
  .about-grid,
  .project-grid,
  .contact-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .contact-card {
    display: grid;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 0;
    text-align: center;
  }
}
