:root {
  --night: #090b11;
  --paper: #edf0f7;
  --signal: #9cabff;
  --muted: #afb8cb;
  --edge: clamp(1.35rem, 5vw, 5rem);
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: var(--night);
  color: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
:is(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
p, h1, h2 { margin: 0; }
.wrap { width: min(100% - 2 * var(--edge), 86rem); margin-inline: auto; }

.hero {
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: radial-gradient(ellipse at 73% 48%, #10172b, transparent 57%), var(--night);
}

.topbar, .footer-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  justify-content: flex-end;
  gap: .8rem;
  min-height: 5rem;
  border-bottom: 1px solid #cbd8ff24;
}

.nav-link, .footer a { font-size: .94rem; }
.nav-link { color: var(--muted); }
.nav-link:hover { color: white; }

.motion-toggle:not([hidden]) {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.motion-toggle:hover { background: #cbd8ff14; color: white; }
.motion-toggle::before {
  content: "";
  width: .55rem;
  height: .7rem;
  border-inline: 2px solid currentColor;
}

.motion-toggle[data-paused="true"]::before {
  width: 0;
  height: 0;
  margin-inline-start: .15rem;
  border: .34rem solid transparent;
  border-inline-start: .54rem solid currentColor;
  border-inline-end: 0;
}

.hero-layout {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: clamp(.55rem, 1.6vw, 1.25rem);
  padding-block: 2rem;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  display: flex;
  gap: .7rem;
  align-items: center;
  color: var(--signal);
  font: 500 .875rem/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 1px;
  flex: none;
  background: currentColor;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.17rem, 2vw, 1.63rem);
  line-height: 1.46;
  letter-spacing: -.025em;
}

.visual {
  --photo: 1;
  position: relative;
  width: min(100%, 115svh, 64rem);
  aspect-ratio: 2.9;
}

.visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(#8d9bd8, #8d9bd8) top left / 14px 1px,
    linear-gradient(#8d9bd8, #8d9bd8) top left / 1px 14px,
    linear-gradient(#8d9bd8, #8d9bd8) bottom right / 14px 1px,
    linear-gradient(#8d9bd8, #8d9bd8) bottom right / 1px 14px;
  background-repeat: no-repeat;
  opacity: .65;
}

.art, .dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.art {
  object-fit: cover;
  opacity: var(--photo);
  mix-blend-mode: lighten;
  mask-image: linear-gradient(to right, transparent, black 3% 97%, transparent),
    linear-gradient(to bottom, transparent, black 6% 94%, transparent);
  mask-composite: intersect;
}
.dots { pointer-events: none; }

.about { background: #e8ecf7; color: #171e31; }
.about-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-block: clamp(4.5rem, 11vw, 10rem); }
.about .eyebrow { color: #425493; align-self: start; margin-top: .4rem; }

h2 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: .99;
  font-weight: 695;
  letter-spacing: -.067em;
}

h2 span { color: #4659ab; }
.about-layout div > p { margin-top: 1.65rem; max-width: 42ch; font-size: clamp(1.05rem, 1.8vw, 1.26rem); line-height: 1.65; color: #3f4962; }
.footer { background: #e8ecf7; color: #2e3852; }
.footer-layout { border-top: 1px solid #b9c3da; min-height: 5rem; font-size: .94rem; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 44rem) {
  .topbar { min-height: 3.8rem; }
  .hero-layout { gap: .8rem; padding-block: 1.8rem; }
  .lede { font-size: 1.12rem; }
  .visual { width: 100%; }
  .about-layout { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-height: 550px) {
  .topbar { min-height: 3rem; }
  .hero-layout { padding-block: 1rem; gap: .45rem; }
  .visual { width: min(100%, 100svh); }
}
