:root {
  --bg: #07090d;
  --bg-elev: #0c1016;
  --bg-elev-2: #10151d;
  --fg: #e8edf5;
  --fg-dim: #9aa4b2;
  --fg-muted: #6b7280;
  --border: #ffffff18;
  --border-strong: #ffffff2b;
  --accent: #3bb4f5;
  --accent-2: #22d3ee;
  --accent-soft: #3bb4f524;
  --accent-glow: #3bb4f573;
  --gold: #f4bd50;
  --rose: #f97373;
  --radius: 8px;
  --page-gutter: clamp(24px, 3vw, 56px);
  --section-gutter: clamp(28px, 4vw, 72px);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

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

video {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 14px 44px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 74%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 760;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(59, 180, 245, 0.44);
  border-radius: 8px;
  background: rgba(59, 180, 245, 0.12);
  color: #80ddff;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(59, 180, 245, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--fg-dim);
  font-size: 0.94rem;
  font-weight: 720;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  outline: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #05070a;
}

.hero-media,
.hero-bg-video,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.03) brightness(0.76);
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.82) 36%, rgba(7, 9, 13, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.1) 0%, rgba(7, 9, 13, 0.86) 92%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 820px);
  align-content: end;
  align-items: end;
  min-height: 100svh;
  width: auto;
  margin: 0 var(--page-gutter);
  padding: 144px 0 40px;
}

.hero-copy {
  max-width: min(820px, 52vw);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #b8eaff;
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
}

.hero-kicker span {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-kicker span:first-child {
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 24px var(--accent-glow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(820px, 52vw);
  margin-bottom: 28px;
  color: #f5f9ff;
  font-size: clamp(6rem, 6.2vw, 8rem);
  line-height: 0.94;
  font-weight: 900;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  color: #f4f8ff;
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 1.12;
  font-weight: 860;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: #f3f7ff;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-lede {
  max-width: min(780px, 50vw);
  margin-bottom: 34px;
  color: rgba(232, 237, 245, 0.78);
  font-size: 1.5rem;
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 820;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  border: 1px solid rgba(128, 221, 255, 0.65);
  background: linear-gradient(90deg, #78d8ff 0%, #43dbe8 100%);
  color: #061019;
  box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.button-secondary {
  border: 1px solid var(--border-strong);
  background: rgba(12, 16, 22, 0.58);
  color: var(--fg);
  backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(128, 221, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: min(820px, 52vw);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-stats article {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  background: rgba(7, 9, 13, 0.26);
  backdrop-filter: blur(12px);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  color: #75d8ff;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(59, 180, 245, 0.32);
}

.hero-stats span {
  display: block;
  color: var(--fg-dim);
  font-size: 1.02rem;
  line-height: 1.4;
}

.scroll-cue {
  justify-self: start;
  margin-top: 24px;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.section {
  width: auto;
  max-width: 1520px;
  min-height: 82svh;
  margin: 0 var(--section-gutter);
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}

.intro-section,
.experience-section {
  display: grid;
  align-content: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(64px, 7vw, 132px);
  align-items: start;
}

.intro-grid p,
.timeline-item p,
.experience-card p,
.mission-copy p {
  color: var(--fg-dim);
}

.intro-grid p,
.mission-copy p {
  font-size: 1.28rem;
  line-height: 1.72;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.62fr) minmax(0, 1fr);
  gap: clamp(64px, 7vw, 132px);
}

.section-heading {
  align-self: start;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.timeline-item p:last-child,
.experience-card p {
  font-size: 1.08rem;
  line-height: 1.64;
}

.timeline-item > p:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(59, 180, 245, 0.42);
  border-radius: 50%;
  background: var(--accent-soft);
  color: #8be5ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline-item p:last-child {
  margin-bottom: 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.experience-card {
  min-height: 288px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.experience-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 56px;
  border-radius: 999px;
}

.accent-cyan::before {
  background: var(--accent);
  box-shadow: 0 0 22px rgba(59, 180, 245, 0.46);
}

.accent-blue::before {
  background: #7c9cff;
  box-shadow: 0 0 22px rgba(124, 156, 255, 0.38);
}

.accent-gold::before {
  background: var(--gold);
  box-shadow: 0 0 22px rgba(244, 189, 80, 0.36);
}

.accent-rose::before {
  background: var(--rose);
  box-shadow: 0 0 22px rgba(249, 115, 115, 0.32);
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.72fr);
  gap: clamp(64px, 7vw, 132px);
  width: auto;
  max-width: 1520px;
  min-height: 78svh;
  margin: 0 var(--section-gutter);
  padding: 92px 0;
}

.mission-copy {
  align-self: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  max-width: 1520px;
  margin: 0 var(--section-gutter);
  padding: 32px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--fg);
  font-weight: 800;
}

::selection {
  background: var(--accent);
  color: #031018;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(59, 180, 245, 0.42);
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

@media (max-width: 1040px) {
  .hero {
    min-height: 0;
    padding-top: min(66svh, 680px);
  }

  .hero-media,
  .hero-scrim {
    inset: 0 0 auto;
    height: min(66svh, 680px);
  }

  .hero-bg-video {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.18) 0%, rgba(7, 9, 13, 0.58) 100%),
      linear-gradient(90deg, rgba(7, 9, 13, 0.38), rgba(7, 9, 13, 0.1));
  }

  .hero-inner {
    min-height: 0;
    padding-top: 44px;
  }

  h1 {
    font-size: 5rem;
    max-width: none;
  }

  .hero-copy,
  .hero-lede,
  .hero-stats {
    max-width: none;
  }

  h2 {
    font-size: 2.1rem;
  }

  .intro-grid,
  .story-section,
  .mission-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 13px 20px;
  }

  .brand span:last-child {
    display: none;
  }

  nav {
    gap: 4px;
  }

  nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.66) 48%, rgba(7, 9, 13, 0.94) 100%),
      linear-gradient(90deg, rgba(7, 9, 13, 0.72), rgba(7, 9, 13, 0.48));
  }

  .hero-inner,
  .section,
  .mission-section,
  .site-footer {
    width: min(100% - 36px, 1120px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-inner {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .hero-kicker {
    margin-bottom: 20px;
  }

  .hero-kicker span:last-child {
    width: 28px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 13vw, 3.45rem);
    line-height: 1.02;
    text-wrap: wrap;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    margin-bottom: 34px;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    overflow-x: auto;
  }

  .hero-stats article {
    min-width: 118px;
    min-height: 98px;
    padding: 16px 14px;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }

  .hero-stats span {
    font-size: 0.78rem;
  }

  .section,
  .mission-section {
    padding: 66px 0;
  }

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

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

  .experience-card {
    min-height: 0;
  }

  .experience-card::before {
    margin-bottom: 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
