:root {
  --midnight: #0b1830;
  --deep: #0d203d;
  --teal: #11a99a;
  --mint: #6fe3c5;
  --white: #fff;
  --muted: #9aabc0;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Helvetica, Arial, sans-serif;
}

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

html {
  min-width: 320px;
  background: var(--midnight);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--midnight);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--midnight);
  background: var(--mint);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 46%, rgba(17, 169, 154, 0.1), transparent 25rem),
    linear-gradient(135deg, var(--midnight), #09162c 72%);
  grid-template-rows: auto 1fr auto;
}

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-position: center;
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent 3%, #000 42%, #000 100%);
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ambient-one {
  top: 8%;
  right: 8%;
  width: 250px;
  height: 250px;
  background: rgba(111, 227, 197, 0.07);
}

.ambient-two {
  bottom: -12%;
  left: -8%;
  width: 400px;
  height: 400px;
  background: rgba(17, 169, 154, 0.08);
}

.site-header,
.site-footer,
.hero {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, 1360px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  height: 96px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 194px;
  height: auto;
}

.header-link {
  display: flex;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-items: center;
  gap: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-link svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: var(--mint);
  color: var(--midnight);
  background: var(--mint);
}

main {
  position: relative;
  z-index: 2;
  display: grid;
}

.hero {
  display: grid;
  min-height: 680px;
  padding: 70px 0;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.hero-copy {
  animation: arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  margin: 0 0 2rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(111, 227, 197, 0.09), 0 0 18px var(--teal);
  animation: pulse 2.8s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 7.5vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

h1 em {
  color: var(--mint);
  font-weight: 400;
}

.intro {
  max-width: 570px;
  margin: 2.6rem 0 2.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.75;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.arrow {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(111, 227, 197, 0.55);
  border-radius: 50%;
  place-items: center;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.arrow svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link:hover .arrow,
.contact-link:focus-visible .arrow {
  color: var(--midnight);
  background: var(--mint);
  transform: translateX(0.25rem);
}

.signal {
  position: relative;
  width: min(42vw, 570px);
  aspect-ratio: 1;
  justify-self: end;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: appear 1.2s 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(111, 227, 197, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-ring::after {
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.ring-one {
  width: 94%;
  height: 94%;
  animation: spin 34s linear infinite;
}

.ring-two {
  width: 67%;
  height: 67%;
  animation: spin-reverse 27s linear infinite;
}

.ring-three {
  width: 40%;
  height: 40%;
  animation: spin 19s linear infinite;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--midnight);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(111, 227, 197, 0.08), 0 0 24px var(--teal);
}

.node-one {
  top: 7%;
  left: 27%;
}

.node-two {
  right: 0;
  bottom: 33%;
}

.node-three {
  top: 9%;
  right: 19%;
}

.node-four {
  bottom: 10%;
  left: 18%;
}

.node-five {
  top: 49%;
  right: -3%;
}

.node-six {
  bottom: 2%;
  left: 43%;
}

.signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 29%;
  height: 29%;
  border: 1px solid rgba(111, 227, 197, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(111, 227, 197, 0.17), transparent 34%),
    rgba(11, 24, 48, 0.76);
  box-shadow:
    0 0 0 22px rgba(17, 169, 154, 0.035),
    0 0 70px rgba(17, 169, 154, 0.12);
  place-items: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.signal-core img {
  width: 52%;
}

.signal-note {
  position: absolute;
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-note-one {
  right: 0;
  bottom: 14%;
}

.signal-note-two {
  top: 18%;
  left: 3%;
}

.site-footer {
  display: flex;
  min-height: 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 10px rgba(111, 227, 197, 0), 0 0 24px var(--teal);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .hero {
    width: calc(100% - 40px);
  }

  .hero {
    min-height: 850px;
    padding: 90px 0 60px;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy {
    position: relative;
    z-index: 3;
  }

  .signal {
    width: min(80vw, 520px);
    margin-top: -2.5rem;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 82px;
  }

  .brand img {
    width: 160px;
  }

  .header-link {
    min-height: 40px;
    padding: 0 0.85rem;
  }

  .header-link svg {
    display: none;
  }

  .hero {
    min-height: 800px;
    padding-top: 68px;
  }

  .eyebrow {
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 5.6rem);
  }

  .intro {
    max-width: 94%;
    margin-top: 2rem;
    font-size: 0.94rem;
  }

  .signal {
    width: 94vw;
    margin-right: -11vw;
    margin-bottom: -18vw;
  }

  .site-footer {
    min-height: 90px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
