/* Motion direction informed by the observed Motionlab experience. */
@font-face {
  font-family: "Geist";
  src: url("assets/geist-latin.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --sans: "Geist", "Segoe UI", Arial, sans-serif;
}
.main-nav {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgb(246 243 237 / 2%);
  gap: 3px;
}
.main-nav a {
  padding: 10px 15px;
  border-radius: 23px;
  transition:
    color 0.25s,
    background 0.25s;
}
.main-nav a.is-active {
  color: #0b1926;
  background: var(--blue);
}
.main-nav a:not(.is-active):hover {
  background: rgb(246 243 237 / 5%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgb(226 221 211 / 20%) 0.45px,
    transparent 0.55px
  );
  background-size: 4px 4px;
  opacity: 0.2;
  mask-image: linear-gradient(115deg, transparent 20%, #000 80%);
}
.hero h1 > .hero-line:first-child {
  color: var(--ink);
}
.hero-line {
  display: inline-block;
  perspective: 800px;
}
.hero-letter {
  display: inline-block;
  transform-origin: 50% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-letter {
    animation: letter-arrive 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--letter) * 26ms + 70ms);
  }
}
@keyframes letter-arrive {
  from {
    transform: translateY(85%) rotateX(-65deg);
    opacity: 0;
    filter: blur(5px);
  }
  to {
    transform: none;
    opacity: 1;
    filter: blur(0);
  }
}
.kinetic-brand {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 38px 4.5% 22px;
}
.wordmark-wrap {
  position: relative;
  aspect-ratio: 134 / 18;
  --brand-reveal: 100%;
}
.wordmark-wrap > svg {
  width: 100%;
  height: 100%;
}
.wordmark-outline {
  --logo-ink: transparent;
  stroke: var(--line-strong);
  stroke-width: 0.1;
}
.wordmark-fill {
  --logo-ink: var(--ink);
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--brand-reveal)) 0 0);
}
.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
  color: var(--soft);
  font: 9px/1.8 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  min-height: 32px;
}
.scroll-cue:hover {
  color: var(--blue);
}
.capability-universe {
  height: 185dvh;
  min-height: 1050px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 70% 45%, rgb(84 156 222 / 6%), transparent 60%),
    var(--bg);
}
.universe-sticky {
  position: sticky;
  top: 78px;
  height: calc(100dvh - 78px);
  min-height: 620px;
  max-height: 1100px;
  overflow: hidden;
  isolation: isolate;
}
.universe-heading {
  position: absolute;
  top: clamp(34px, 5vh, 58px);
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}
.universe-heading h2 {
  max-width: 650px;
  margin-top: 21px;
  font-size: clamp(35px, 3.5vw, 51px);
  line-height: 1.14;
}
.universe-heading h2 span {
  color: var(--soft);
}
.universe-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 31ch;
  margin-top: 23px;
}
.universe-composition {
  position: absolute;
  inset: 0;
  height: 100%;
}
#capability-field {
  position: absolute;
  left: 25%;
  right: -8%;
  top: -7%;
  bottom: 0;
  min-width: 0;
}
.universe-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.universe-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.universe-legend {
  position: absolute;
  left: 0;
  bottom: 105px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
  width: min(500px, 60%);
}
.universe-legend a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.universe-legend a span:last-child {
  color: var(--soft);
}
.universe-legend a:hover,
.universe-legend a:hover span:last-child {
  color: var(--blue);
}
.universe-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 4;
}
.shape-controls {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgb(11 11 10 / 60%);
  backdrop-filter: blur(10px);
}
.shape-controls button {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 20px;
  color: var(--soft);
  font: 10px var(--mono);
  background: transparent;
}
.shape-controls button[aria-pressed="true"] {
  color: #0b1926;
  background: var(--blue);
}
.shape-controls button:hover:not([aria-pressed="true"]) {
  color: var(--ink);
}
.universe-scroll-hint {
  color: var(--soft);
  font: 9px/1.6 var(--mono);
  display: flex;
  align-items: center;
  gap: 15px;
}
#universe-motion {
  min-height: 44px;
  padding-inline: 8px;
  background: transparent;
  color: var(--muted);
  font: 9px var(--mono);
}
#universe-motion:hover {
  color: var(--blue);
}
.feature-card {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  --px: 50%;
  --py: 50%;
}
.feature-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--px) var(--py),
    rgb(111 184 251 / 9%),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover::after {
  opacity: 1;
}
.card-art {
  perspective: 800px;
}
.card-art picture {
  display: block;
  width: 100%;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1.01);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn {
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.22s,
    box-shadow 0.22s;
}
@media (max-width: 1100px) {
  .main-nav a {
    padding-inline: 11px;
  }
  .universe-heading h2 {
    max-width: 540px;
  }
  .universe-legend {
    width: 460px;
    max-width: 60%;
    column-gap: 12px;
  }
  .universe-legend a {
    font-size: 9px;
  }
}
@media (max-width: 820px) {
  .main-nav a {
    padding-inline: 8px;
  }
  .universe-heading h2 {
    max-width: 480px;
  }
  #capability-field {
    left: 22%;
    right: -22%;
    top: 0;
  }
  .universe-legend {
    grid-template-columns: 1fr 1fr;
    width: 330px;
    max-width: 52%;
  }
  .universe-scroll-hint {
    display: none;
  }
}
@media (max-width: 640px) {
  .main-nav {
    border-radius: 0;
    border-inline: 0;
  }
  .main-nav a {
    border-radius: 5px;
    padding: 14px 12px;
  }
  .kinetic-brand {
    padding: 27px 20px 18px;
  }
  .scroll-cue {
    font-size: 8px;
    margin-top: 14px;
  }
  .capability-universe {
    height: 170dvh;
    min-height: 1150px;
  }
  .universe-sticky {
    top: 66px;
    height: calc(100dvh - 66px);
    min-height: 680px;
    max-height: 960px;
  }
  .universe-heading {
    top: 26px;
  }
  .universe-heading h2 {
    font-size: 30px;
    margin-top: 13px;
  }
  .universe-heading > p:last-child {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.8;
  }
  .universe-composition {
    width: calc(100% - 40px);
  }
  #capability-field {
    top: 135px;
    left: -5%;
    right: -5%;
    bottom: 190px;
  }
  .universe-legend {
    bottom: 88px;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: none;
    column-gap: 12px;
  }
  .universe-legend a {
    font-size: 8px;
    min-height: 31px;
    gap: 5px;
  }
  .universe-bottom {
    bottom: 17px;
    flex-wrap: wrap;
    gap: 7px;
  }
  .shape-controls {
    gap: 1px;
    padding: 3px;
  }
  .shape-controls button {
    font-size: 9px;
    padding-inline: 12px;
    min-height: 35px;
  }
  #universe-motion {
    font-size: 8px;
    max-width: 112px;
    line-height: 1.6;
    text-align: right;
    padding: 0;
  }
}
@media (max-height: 550px) {
  .capability-universe {
    height: auto;
    min-height: 0;
  }
  .universe-sticky {
    position: relative;
    top: 0;
    min-height: 650px;
    height: 650px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .capability-universe {
    min-height: 0;
    height: auto;
  }
  .universe-sticky {
    position: relative;
    top: 0;
    height: 720px;
  }
  .universe-scroll-hint {
    display: none;
  }
  .card-art picture {
    transform: none;
  }
  .wordmark-fill {
    clip-path: none;
  }
}
html:not(.has-script) .capability-universe {
  min-height: 0;
  height: auto;
}
html:not(.has-script) .universe-sticky {
  position: relative;
  top: 0;
  height: 720px;
}
html:not(.has-script) .shape-controls {
  display: none;
}
