:root {
  --bg: #06121f;
  --bg-2: #0b1c30;
  --surface: #0f2540;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e6f1ff;
  --muted: #9bb0c9;
  --primary: #00e0a4; /* emerald */
  --accent: #22d3ff; /* cyan  */
  --grad: linear-gradient(135deg, #22d3ff 0%, #00e0a4 100%);
  --shadow: 0 20px 60px rgba(0, 224, 164, 0.18);
  --radius: 18px;
  --container: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
.display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1,
.h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
}
p {
  color: var(--muted);
  line-height: 1.7;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--primary);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 18, 31, 0.55);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
.nav.scrolled {
  background: rgba(6, 18, 31, 0.85);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  margin-right: 50px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}
.brand img {
  height: 38px;
  width: 38px;
}
.brand b {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--grad);
  color: #022;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #022;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 18, 31, 0.55) 0%,
      rgba(6, 18, 31, 0.85) 60%,
      var(--bg) 100%
    ),
    url("../img/hero.jpg") center/cover no-repeat;
  z-index: -1;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.5rem;
}
.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 1.5rem 0 2.5rem;
  color: #cbd9ec;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat .lbl {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* === SECTIONS === */
section.block {
  padding: 6rem 0;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head .kicker {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.section-head h2 {
  margin-top: 0.75rem;
}
.bg-alt {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--bg-2) 50%,
    var(--bg) 100%
  );
}

/* page header (subpages) */
.page-head {
  padding: 11rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(34, 211, 255, 0.18), transparent 60%),
    var(--bg);
}
.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.page-head p {
  max-width: 640px;
  margin: 1rem auto 0;
}

/* === CARDS === */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: 0.35s;
  border-radius: inherit;
}
.card::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--surface);
  border-radius: calc(var(--radius) - 1px);
  z-index: 0;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 255, 0.12);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}
.card p {
  font-size: 0.95rem;
  margin: 0;
}
.card .num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}

/* image card */
.imgcard {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: 0.35s;
}
.imgcard:hover {
  transform: translateY(-6px);
}
.imgcard .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.imgcard .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.imgcard:hover .thumb img {
  transform: scale(1.06);
}
.imgcard .body {
  padding: 1.5rem;
}
.imgcard .tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split.reverse > div:first-child {
  order: 2;
}

/* === LIST === */
.feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.feat .dot {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  color: #022;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.feat h4 {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 1.05rem;
}
.feat p {
  margin: 0;
  font-size: 0.95rem;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad);
  justify-self: center;
  box-shadow: 0 0 0 6px rgba(0, 224, 164, 0.15);
}
.tl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
}
.tl-year {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}
.tl-item:nth-child(even) .tl-card {
  grid-column: 3;
}
.tl-item:nth-child(odd) .tl-card {
  grid-column: 1;
  text-align: right;
}

/* === CTA banner === */
.cta-banner {
  background: var(--grad);
  border-radius: var(--radius);
  padding: 4rem 3rem;
  text-align: center;
  color: #022;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  color: #022;
}
.cta-banner p {
  color: #024;
}
.cta-banner .btn-ghost {
  color: #022;
  border-color: rgba(0, 40, 40, 0.3);
}
.cta-banner .btn-ghost:hover {
  background: #022;
  color: var(--accent);
}

/* === FOOTER === */
footer {
  background: #03101e;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}
footer .grid-4 {
  gap: 3rem;
}
footer h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  margin-bottom: 0.6rem;
}
footer a {
  color: var(--muted);
  font-size: 0.95rem;
}
footer a:hover {
  color: var(--accent);
}
.copyright {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* === FORM === */
.form {
  display: grid;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: 0.2s;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 255, 0.12);
}
.form textarea {
  min-height: 160px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split.reverse > div:first-child {
    order: 0;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .timeline::before {
    left: 20px;
  }
  .tl-item {
    grid-template-columns: 40px 1fr;
  }
  .tl-dot {
    grid-column: 1;
  }
  .tl-item .tl-card,
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card {
    grid-column: 2;
    text-align: left;
  }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    align-items: flex-start;
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle {
    display: block;
  }
  .grid-3,
  .grid-4,
  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }
  section.block {
    padding: 4rem 0;
  }
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
}

/* === SOCIALS === */
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.25s;
}
.social i {
  font-size: 1.15rem;
  color: var(--accent);
  transition: 0.25s;
}
.social:hover {
  background: var(--grad);
  color: #022;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.social:hover i {
  color: #022;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.25s;
}
.footer-socials a:hover {
  background: var(--grad);
  color: #022;
  border-color: transparent;
  transform: translateY(-2px);
}
