:root {
  color-scheme: light;
  --snow: #f4f7fb;
  --white: #ffffff;
  --ink: #141826;
  --graphite: #515a6c;
  --line: #cfd7e3;
  --mist: #dbe6f6;
  --blue: #4264f4;
  --violet: #8066df;
  --night: #171b35;
  --night-soft: #24294d;
  --focus: #1d4ed8;
  --page: min(1280px, calc(100vw - 64px));
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--snow);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgb(20 24 38 / 3%) 1px, transparent 1px);
  background-size: max(7.5vw, 92px) 100%;
  content: "";
  pointer-events: none;
}

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

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 26px max(32px, calc((100vw - 1280px) / 2));
  background: rgb(244 247 251 / 0%);
  transform: translateX(-50%);
  transition:
    padding 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 16px;
  background: rgb(244 247 251 / 88%);
  box-shadow: 0 1px 0 rgb(20 24 38 / 8%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 31px;
  height: 31px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.4;
}

.brand-mark circle {
  fill: var(--blue);
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}

nav a {
  position: relative;
}

nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 10px 16px;
  border: 1px solid rgb(20 24 38 / 20%);
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.nav-contact:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: 100svh;
  margin: 0 auto;
  padding: 152px 0 84px;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 20px;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 770px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--graphite);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgb(66 100 244 / 10%);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 28px 0 30px;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Segoe UI", sans-serif;
  font-size: clamp(64px, 7.2vw, 112px);
  font-stretch: condensed;
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.hero-intro {
  max-width: 640px;
  margin: 0;
  color: var(--graphite);
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 42px;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 36px rgb(20 24 38 / 16%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgb(20 24 38 / 22%);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
}

.text-link span,
.contact a span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.contact a:hover span {
  transform: translate(3px, -3px);
}

.constellation-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 0.92;
  max-height: 680px;
  align-self: center;
}

[data-constellation] {
  width: 100%;
  height: 100%;
}

.constellation-label {
  position: absolute;
  right: 8%;
  bottom: 8%;
  margin: 0;
  color: var(--graphite);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero-side-note {
  position: absolute;
  right: -10px;
  bottom: 72px;
  margin: 0;
  color: var(--graphite);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
  line-height: 1.65;
  text-align: right;
  text-transform: uppercase;
}

.continuity,
.point-of-view {
  width: var(--page);
  margin: 0 auto;
}

.continuity {
  display: grid;
  padding: 150px 0 170px;
  grid-template-columns: 1fr 2.4fr;
  gap: 40px;
}

.continuity-copy {
  max-width: 920px;
}

.continuity h2,
.point-of-view h2,
.contact h2 {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Segoe UI", sans-serif;
  font-size: clamp(42px, 5.25vw, 78px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.continuity-copy > p {
  max-width: 650px;
  margin: 38px 0 0 auto;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.65;
}

.work {
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 76px max(24px, calc((100vw - 1280px) / 2)) 30px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 76% 38%, rgb(126 102 223 / 25%), transparent 28%),
    radial-gradient(circle at 64% 72%, rgb(66 100 244 / 22%), transparent 32%),
    var(--night);
  color: var(--white);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.work .section-kicker {
  color: rgb(255 255 255 / 54%);
}

.section-heading h2 {
  margin: 13px 0 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  font-size: clamp(58px, 6.8vw, 100px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.light-link {
  color: rgb(255 255 255 / 82%);
}

.product-stage {
  display: grid;
  min-height: 580px;
  padding: 40px 0 26px;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 40px;
}

.product-copy {
  position: relative;
  z-index: 2;
}

.product-thesis {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  font-size: clamp(48px, 5.9vw, 86px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.product-description {
  max-width: 480px;
  margin: 34px 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: 17px;
  line-height: 1.65;
}

.aimo-orbit {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  margin-left: auto;
}

.aimo-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 36%;
  background: rgb(255 255 255 / 94%);
  box-shadow:
    0 30px 80px rgb(2 4 18 / 42%),
    inset 0 0 0 7px rgb(23 27 53 / 6%);
  place-items: center;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.aimo-badge img {
  width: 74%;
  color: var(--night);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 22px rgb(255 255 255 / 72%);
  content: "";
}

.orbit-one {
  width: 70%;
  height: 42%;
}

.orbit-one::before {
  top: 13%;
  left: 7%;
}

.orbit-one::after {
  right: 5%;
  bottom: 17%;
}

.orbit-two {
  width: 94%;
  height: 62%;
  transform: translate(-50%, -50%) rotate(38deg);
}

.orbit-two::before {
  top: 50%;
  left: -4px;
}

.orbit-two::after {
  top: 10%;
  right: 18%;
  background: #aa9af2;
}

.orbit-note {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(23 27 53 / 74%);
  color: rgb(255 255 255 / 58%);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.note-one {
  top: 19%;
  left: 8%;
}

.note-two {
  top: 12%;
  right: 12%;
}

.note-three {
  right: 3%;
  bottom: 19%;
}

.product-capabilities {
  display: grid;
  border-top: 1px solid rgb(255 255 255 / 14%);
  grid-template-columns: repeat(3, 1fr);
}

.product-capabilities p {
  margin: 0;
  padding: 26px 16px 8px;
  color: rgb(255 255 255 / 64%);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

.product-capabilities p + p {
  border-left: 1px solid rgb(255 255 255 / 14%);
}

.point-of-view {
  padding: 170px 0 150px;
}

.view-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: start;
  gap: 32px;
}

.view-intro > p:last-child {
  margin: 2px 0 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.65;
}

.beliefs {
  display: grid;
  margin-top: 110px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.beliefs article {
  min-height: 310px;
  padding: 32px 34px 24px 0;
}

.beliefs article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.beliefs svg {
  width: 44px;
  height: 44px;
  color: var(--blue);
}

.beliefs svg path,
.beliefs svg circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.beliefs h3 {
  margin: 62px 0 18px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.beliefs p {
  max-width: 340px;
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.65;
}

.contact {
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 110px max(24px, calc((100vw - 1280px) / 2)) 106px;
  border-radius: 32px;
  background: var(--mist);
}

.contact h2 {
  max-width: 890px;
  margin-top: 28px;
}

.contact a {
  display: inline-flex;
  margin-top: 64px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 18px;
  color: var(--blue);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

footer {
  display: grid;
  width: var(--page);
  margin: 0 auto;
  padding: 54px 0 48px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  color: var(--graphite);
  font-size: 11px;
}

.footer-brand {
  color: var(--ink);
}

footer p {
  margin: 0;
  text-align: center;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 980px) {
  :root {
    --page: calc(100vw - 44px);
  }

  .hero {
    min-height: auto;
    padding-top: 160px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .constellation-wrap {
    width: min(78vw, 610px);
    margin: -24px 0 -20px auto;
    aspect-ratio: 1.2;
  }

  .continuity {
    padding: 120px 0 130px;
    grid-template-columns: 1fr 2fr;
  }

  .product-stage {
    min-height: 520px;
    grid-template-columns: 1fr 1fr;
  }

  .view-intro {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .view-intro > p:last-child {
    margin-top: 28px;
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100vw - 32px);
  }

  .site-header {
    padding: 18px 16px;
  }

  .site-header.is-scrolled {
    padding-block: 12px;
  }

  nav {
    gap: 10px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 9px 14px;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 56px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(58px, 18vw, 78px);
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 34px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .constellation-wrap {
    width: 100%;
    margin: -8px 0 -10px auto;
  }

  .hero-side-note {
    display: none;
  }

  .continuity {
    padding: 94px 0 104px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .continuity-copy > p {
    margin-top: 28px;
  }

  .work,
  .contact {
    width: calc(100% - 16px);
    border-radius: 24px;
  }

  .work {
    padding: 58px 20px 22px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-stage {
    min-height: auto;
    padding-top: 72px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .aimo-orbit {
    width: 100%;
    margin: -12px 0 -16px;
  }

  .product-capabilities {
    grid-template-columns: 1fr;
  }

  .product-capabilities p {
    padding: 18px 8px;
    text-align: left;
  }

  .product-capabilities p + p {
    border-top: 1px solid rgb(255 255 255 / 14%);
    border-left: 0;
  }

  .point-of-view {
    padding: 106px 0 96px;
  }

  .view-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .view-intro > p:last-child {
    margin: 0;
    grid-column: auto;
  }

  .beliefs {
    margin-top: 74px;
    grid-template-columns: 1fr;
  }

  .beliefs article {
    min-height: auto;
    padding: 28px 4px 42px;
  }

  .beliefs article + article {
    padding-left: 4px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .beliefs h3 {
    margin-top: 36px;
  }

  .contact {
    padding: 76px 22px 74px;
  }

  .contact a {
    margin-top: 46px;
  }

  footer {
    padding: 40px 0;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  footer > p:nth-child(2) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
