:root {
  color-scheme: dark;
  --bg: #050a12;
  --panel: rgba(11, 23, 39, .72);
  --line: rgba(142, 176, 211, .18);
  --text: #eef5fb;
  --muted: #9cb0c4;
  --blue: #6ec7ff;
  --gold: #e6bd72;
  --max: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 18%, rgba(28, 94, 145, .14), transparent 28rem),
    radial-gradient(circle at 12% 70%, rgba(181, 131, 53, .08), transparent 30rem),
    linear-gradient(180deg, #07111f 0, var(--bg) 34rem);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .08;
  pointer-events: none;
  z-index: -1;
}
.ambient-one { background: var(--blue); top: -12rem; right: -10rem; }
.ambient-two { background: var(--gold); bottom: -16rem; left: -16rem; }

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}

.brand img, footer img { filter: drop-shadow(0 0 18px rgba(110, 199, 255, .18)); }

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: .92rem;
}

nav a:hover { color: var(--text); }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 80px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-number {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .72rem;
  font-weight: 700;
}

h1 {
  margin: 16px 0 24px;
  max-width: 800px;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 650;
}

h1 em {
  color: var(--blue);
  font-style: normal;
  font-weight: 500;
}

.lede {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary {
  background: rgba(110, 199, 255, .11);
  border-color: rgba(110, 199, 255, .34);
}
.button.secondary { color: var(--muted); }

.hero-mark {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
}

.hero-mark::before,
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(110, 199, 255, .18);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(.38);
}

.hero-mark::after {
  border-color: rgba(230, 189, 114, .14);
  transform: rotate(48deg) scaleY(.52);
}

.hero-mark > img {
  width: 62%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 50px rgba(110, 199, 255, .15));
}

.orbit-label {
  position: absolute;
  color: #71879b;
  font: 600 .64rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.label-one { top: 12%; left: 43%; }
.label-two { right: 2%; top: 48%; }
.label-three { bottom: 13%; left: 37%; }
.label-four { left: -1%; top: 49%; }

.statement,
.principles,
.boundary {
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: 80px;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.statement h2,
.section-heading h2,
.boundary h2 {
  margin: 0 0 24px;
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.statement p:not(.section-number),
.boundary > p {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.12rem;
}

.equation {
  margin-top: 42px;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.equation strong { color: var(--gold); }

.work {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cards article {
  min-height: 260px;
  padding: 34px;
  background: rgba(5, 10, 18, .9);
}

.card-index {
  color: var(--gold);
  font: 600 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.cards h3 {
  margin: 44px 0 12px;
  font-size: 1.55rem;
  letter-spacing: -.02em;
}

.cards p { margin: 0; color: var(--muted); }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

blockquote {
  margin: 0;
  min-height: 180px;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 1.25rem;
  line-height: 1.35;
}

.boundary { align-items: start; }

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  color: var(--muted);
  font-size: .86rem;
}

footer > div { display: flex; align-items: center; gap: 10px; color: var(--text); }
footer > p { text-align: center; }
footer > a { justify-self: end; }

@media (max-width: 850px) {
  nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 80px 0;
  }
  .hero-mark {
    width: 300px;
    justify-self: center;
  }
  .statement,
  .principles,
  .boundary,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cards,
  .principle-grid { grid-template-columns: 1fr; }
  footer {
    padding: 40px 0;
    grid-template-columns: 1fr;
  }
  footer > p { text-align: left; }
  footer > a { justify-self: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark::before { animation: drift 18s linear infinite; }
  .hero-mark::after { animation: drift2 26s linear infinite; }
  @keyframes drift {
    from { transform: rotate(-18deg) scaleY(.38); }
    to { transform: rotate(342deg) scaleY(.38); }
  }
  @keyframes drift2 {
    from { transform: rotate(48deg) scaleY(.52); }
    to { transform: rotate(-312deg) scaleY(.52); }
  }
}
