@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0a111c;
  --surface: #111c2a;
  --border: #2b394b;
  --text: #f7f3ec;
  --muted: #b4c0d0;
  --accent: #ffc17d;
  --accent-ink: #241509;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at top, #162436, transparent 37rem), var(--background);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.5;
}

.page {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
  padding-block: clamp(1rem, 7vh, 4.5rem) 1.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 1rem;
}

.logo {
  display: block;
  width: clamp(7.75rem, 21vw, 9.75rem);
  height: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 20rem;
  padding: clamp(1.25rem, 5vw, 3.25rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: linear-gradient(120deg, #111b28 30%, #152336 72%, #233044);
}

.hero-copy {
  position: relative;
  width: min(100%, 24rem);
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 9.3vw, 4.9rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.punchline {
  margin: 0.75rem 0 0;
  color: var(--accent);
  font-size: clamp(1rem, 3.1vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
}

.subtitle {
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 43%;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 15%, #d2e1f5 0.05rem, transparent 0.09rem),
    radial-gradient(circle at 60% 24%, #7a91af 0.06rem, transparent 0.11rem),
    radial-gradient(circle at 89% 43%, #9eafc4 0.05rem, transparent 0.1rem),
    radial-gradient(circle at 31% 26%, #677f9b 0.04rem, transparent 0.09rem),
    radial-gradient(ellipse at 54% 78%, #944c2b 0%, transparent 42%);
}

.hero-art::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 84%;
  aspect-ratio: 2.1;
  border: 1px solid rgb(154 180 211 / 26%);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-31deg);
  content: "";
}

.hero-art img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: auto;
  height: 84%;
  max-height: 22rem;
  filter: drop-shadow(0 0.75rem 1.6rem rgb(0 0 0 / 55%));
  transform: translate(-50%, -50%) rotate(23deg);
}

.team-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-block-start: 0.75rem;
}

.team-link {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.team-link:hover {
  border-color: #8296af;
  background: #1a293b;
}

.team-link-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.team-link-primary:hover {
  border-color: #ffdbb2;
  background: #ffdbb2;
}

.link-icon {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 0.45rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
}

.team-link-primary .link-icon {
  color: var(--accent-ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.25rem;
  margin-block-start: 0.8rem;
  font-size: 0.875rem;
}

.site-footer a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--muted);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid #f7f3ec;
  outline-offset: 4px;
}

.satellite-link {
  display: grid;
  width: 4.5rem;
  min-height: 3rem;
  place-items: center;
  border-radius: 0.6rem;
}

.satellite {
  display: flex;
  align-items: center;
  gap: 0.13rem;
  transform: rotate(-22deg);
}

.satellite-link:hover .satellite,
.satellite-link:focus-visible .satellite {
  filter: brightness(1.4);
}

.satellite-panel {
  width: 0.87rem;
  height: 0.62rem;
  border: 1px solid #9ab6db;
  background:
    repeating-linear-gradient(90deg, transparent 0 3px, #9ab6db 3px 4px),
    linear-gradient(#4c6c9d 48%, #9ab6db 48% 59%, #2a4472 59%);
}

.satellite-body {
  width: 0.88rem;
  height: 0.88rem;
  border: 1px solid #ffe0b8;
  border-right: 3px solid #815334;
  border-bottom: 3px solid #ad774f;
  background: linear-gradient(135deg, #ffe4be 15%, #c48b60 16% 43%, #ffd4a8 44% 54%, #ad774f 55%);
}

@media (prefers-reduced-motion: no-preference) {
  .satellite {
    animation: satellite-fly-in 4s ease-out;
  }

  @keyframes satellite-fly-in {
    0% { transform: translate(-0.85rem, 0.65rem) rotate(-13deg); }
    50% { transform: translate(0.35rem, -0.35rem) rotate(-29deg); }
    100% { transform: rotate(-22deg); }
  }
}

@media (max-width: 36rem) {
  .page {
    padding-block-start: 1rem;
  }

  .hero-art {
    inset-inline-start: 51%;
  }

  .hero-art img {
    height: 73%;
    transform: translate(-50%, -50%) rotate(14deg);
  }

  .team-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 23rem) {
  .hero {
    min-height: 17.5rem;
  }

  .hero-art img {
    height: 64%;
  }
}
