:root {
  color-scheme: dark;
  --navy-950: #050c1b;
  --navy-900: #07142d;
  --navy-800: #0c1d3d;
  --ice: #f4f7ff;
  --mist: #8c98b5;
  --cyan: #00dcff;
  --rule: rgba(151, 176, 222, 0.2);
  --display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Avenir Next", Avenir, Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --utility: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --page-x: clamp(1.5rem, 5vw, 5.5rem);
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ice);
  background:
    radial-gradient(circle at 50% -20%, rgba(15, 50, 102, 0.42), transparent 42rem),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--navy-950);
  background: var(--cyan);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem var(--page-x);
}

.brand-lockup {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.mini-orbit {
  position: relative;
  width: 1.45rem;
  aspect-ratio: 1;
  border: 2px solid var(--ice);
  border-radius: 50%;
}

.mini-orbit span {
  position: absolute;
  top: 50%;
  left: -0.35rem;
  width: calc(100% + 0.7rem);
  height: 1px;
  background: var(--cyan);
}

.language-switcher {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-family: var(--utility);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.language-switcher span {
  color: rgba(244, 247, 255, 0.28);
}

.language-switcher button {
  padding: 0.5rem 0.15rem;
  color: var(--mist);
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ice);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 7.5rem var(--page-x) 6.5rem;
  overflow: hidden;
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, var(--rule) 18%, var(--rule) 82%, transparent);
}

.hero::before {
  left: var(--page-x);
}

.hero::after {
  right: var(--page-x);
}

.hero-kicker {
  position: absolute;
  top: 50%;
  left: var(--page-x);
  margin: 0;
  color: var(--mist);
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.event-orbit {
  position: relative;
  width: clamp(11rem, 24vw, 18rem);
  aspect-ratio: 1;
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
  border: clamp(0.8rem, 1.5vw, 1.35rem) solid var(--ice);
  border-radius: 50%;
  box-shadow:
    0 0 4rem rgba(0, 220, 255, 0.055),
    inset 0 0 2rem rgba(0, 220, 255, 0.025);
}

.event-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 220, 255, 0.64);
  transform: translate(-50%, -50%) scaleX(0);
  transform-origin: left center;
  animation: horizon-arrival 1.8s 0.3s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.event-line::before,
.event-line::after {
  position: absolute;
  top: 50%;
  width: 1.1rem;
  height: 0.3rem;
  content: "";
  background: var(--cyan);
  border-radius: 50%;
  filter: blur(2px);
  transform: translateY(-50%);
}

.event-line::before {
  left: -0.5rem;
}

.event-line::after {
  right: -0.5rem;
}

.hero-copy {
  opacity: 0;
  animation: copy-arrival 0.9s 1.55s ease-out forwards;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.75rem);
  font-stretch: condensed;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 0.95;
  text-indent: 0.28em;
}

.hero-slogan {
  margin: 1.6rem 0 0;
  color: var(--ice);
  font-family: var(--utility);
  font-size: clamp(0.65rem, 1vw, 0.82rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

.hero-translation {
  margin: 1rem 0 0;
  color: var(--mist);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  letter-spacing: 0.12em;
}

.scroll-cue {
  position: absolute;
  right: var(--page-x);
  bottom: 2.4rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  color: var(--mist);
  font-family: var(--utility);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-line {
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-shell {
  width: min(100%, 88rem);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.section-index {
  display: flex;
  justify-content: space-between;
  padding-top: 1.2rem;
  color: var(--mist);
  border-top: 1px solid var(--rule);
  font-family: var(--utility);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.about {
  display: grid;
  grid-template-columns: minmax(11rem, 0.7fr) minmax(18rem, 2fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding-top: clamp(8rem, 15vw, 14rem);
  padding-bottom: clamp(9rem, 16vw, 15rem);
}

.about .section-index {
  grid-column: 1 / -1;
}

.about h2 {
  grid-column: 2;
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.about > p {
  grid-column: 2;
  max-width: 42rem;
  margin: 0;
  color: var(--mist);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.9;
}

.directions {
  padding-bottom: clamp(9rem, 13vw, 13rem);
}

.direction-list {
  margin-top: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--rule);
}

.direction-row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(16rem, 1.15fr) minmax(18rem, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding: clamp(2rem, 4vw, 3.6rem) 0;
  border-top: 1px solid var(--rule);
}

.direction-code {
  margin: 0;
  color: var(--cyan);
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.direction-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-weight: 480;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.direction-row > p:last-child {
  max-width: 31rem;
  margin: 0;
  color: var(--mist);
  line-height: 1.8;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2.2rem;
  color: var(--mist);
  border-top: 1px solid var(--rule);
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.site-footer p {
  margin: 0;
}

.domain-list {
  display: flex;
  gap: 0.55rem;
}

.site-footer a {
  justify-self: end;
  text-underline-offset: 0.28em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes horizon-arrival {
  0% {
    opacity: 0;
    transform: translate(-112%, -50%) scaleX(0.05);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1);
  }
}

@keyframes copy-arrival {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 1.1rem;
  }

  .brand-lockup {
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero::before,
  .hero::after,
  .hero-kicker {
    display: none;
  }

  .event-orbit {
    width: min(48vw, 12.5rem);
    border-width: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }

  .hero-slogan {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .scroll-cue {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .about {
    display: block;
  }

  .about h2 {
    margin-top: 4rem;
  }

  .about > p {
    margin-top: 2.5rem;
  }

  .direction-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .direction-row h3 {
    margin-top: 0.45rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
}
