:root {
  color-scheme: dark;
  --background: #0a0a14;
  --text: #e8eaf6;
  --secondary: #9a9ec0;
  --blue: #4ba5e1;
  --gradient: linear-gradient(135deg, #2d2d87, #6a5acd, #4ba5e1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 38%, #4ba5e10a, transparent 48%), radial-gradient(ellipse at 50% 80%, #6a5acd08, transparent 55%);
}
a { -webkit-tap-highlight-color: transparent; }
.page { max-width: 1600px; margin: auto; padding: 0 6.25%; }
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  border-bottom: 1px solid #ffffff0e;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--text);
}
.wordmark span { background: var(--gradient); background-clip: text; color: transparent; }
.header-note, .eyebrow, .site-footer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
}
.header-note { color: var(--secondary); text-transform: uppercase; }
main {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 191px);
  padding: 110px 0 130px;
  isolation: isolate;
}
.hero { width: 100%; max-width: 940px; animation: arrive .8s ease both; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  text-transform: uppercase;
  color: var(--secondary);
  font-size: 11px;
  letter-spacing: .14em;
}
.eyebrow span { width: 32px; height: 1px; background: var(--gradient); }
h1 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(54px, 7.4vw, 100px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
h1 em {
  background: linear-gradient(110deg, #8790e8, #4ba5e1);
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.subtitle { margin: 25px 0 0; color: var(--secondary); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; }
.destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 64px; max-width: 840px; }
.destination-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 20px 25px;
  border: 1px solid #ffffff26;
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: transform .2s, background .2s, border-color .2s;
}
.advisory { background: var(--gradient); border-color: transparent; }
.labs { background: linear-gradient(135deg, #0891b2, #22d3ee); border-color: transparent; color: #0a0a14; }
.destination-link svg { width: 19px; height: 19px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
.destination-link:hover { transform: translateY(-3px); border-color: #9a9ec0; }
.labs:hover { background: linear-gradient(135deg, #06a1c4, #67e8f9); }
.destination-link:hover svg { transform: translate(2px, -2px); }
.destination-link:active { transform: translateY(0); }
a:focus-visible { outline: 2px solid #8acbfa; outline-offset: 6px; }
.destination p { margin: 18px 0 0; max-width: 350px; color: var(--secondary); font-size: 14px; line-height: 1.8; }
.orbit {
  position: absolute;
  right: -2%;
  top: 8%;
  width: 370px;
  height: 370px;
  z-index: -1;
  opacity: .4;
  pointer-events: none;
  mask-image: linear-gradient(160deg, #000, transparent 80%);
}
.orbit div { position: absolute; inset: 0; border: 1px solid #6a5acd50; border-radius: 50%; }
.orbit div:nth-child(2) { inset: 35px; }
.orbit div:nth-child(3) { inset: 70px; }
.orbit div:nth-child(4) { inset: 105px; }
.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 83px;
  border-top: 1px solid #ffffff0e;
  color: var(--secondary);
  font-size: 10px;
  letter-spacing: .04em;
}
.site-footer span:last-child { text-transform: uppercase; letter-spacing: .12em; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { main { min-height: calc(100svh - 191px); } }
@media (max-width: 640px) {
  .page { padding: 0 7%; }
  .site-header { min-height: 84px; }
  .wordmark { font-size: 20px; }
  .header-note { display: none; }
  main { padding: 76px 0 80px; min-height: calc(100svh - 167px); }
  .eyebrow { font-size: 9px; gap: 10px; letter-spacing: .1em; margin-bottom: 25px; }
  .eyebrow span { width: 22px; }
  h1 { font-size: clamp(46px, 10vw, 64px); }
  .subtitle { max-width: 290px; margin-top: 22px; }
  .destinations { grid-template-columns: 1fr; gap: 32px; margin-top: 42px; }
  .destination-link { min-height: 66px; padding: 19px 21px; font-size: 15px; }
  .destination p { margin-top: 12px; font-size: 13px; max-width: 100%; }
  .orbit { width: 240px; height: 240px; top: 20px; right: -5%; opacity: .25; }
  .site-footer { font-size: 9px; letter-spacing: 0; }
  .site-footer span:last-child { font-size: 8px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
