:root {
  --night: #08080b;
  --ink: #f2f0e9;
  --muted: #96939f;
  --line: rgba(255, 255, 255, 0.14);
  --violet: #a795ff;
  --amber: #d9a96f;
  --cyan: #74c8d4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.stars {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(167, 149, 255, 0.13), transparent 24%),
    radial-gradient(circle at 83% 12%, rgba(116, 200, 212, 0.07), transparent 20%),
    radial-gradient(circle at 50% 120%, rgba(128, 89, 191, 0.12), transparent 42%),
    #08080b;
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 0.6px, transparent 0.8px),
    radial-gradient(circle, rgba(167, 149, 255, 0.75) 0 0.7px, transparent 0.9px);
  background-position: 0 0, 47px 83px;
  background-size: 173px 151px, 229px 211px;
  animation: star-drift 54.14s linear infinite, star-pulse 4.89s ease-in-out infinite alternate;
}

.stars::after {
  opacity: 0.22;
  transform: rotate(16deg) scale(1.25);
  background-size: 97px 137px, 191px 163px;
  animation: star-drift 78.2s linear infinite reverse, star-pulse-faint 6.77s ease-in-out infinite alternate-reverse;
}

@keyframes star-drift {
  to {
    background-position: 173px 151px, -182px 294px;
  }
}

@keyframes star-pulse {
  from {
    opacity: 0.38;
  }

  to {
    opacity: 0.58;
  }
}

@keyframes star-pulse-faint {
  from {
    opacity: 0.14;
  }

  to {
    opacity: 0.28;
  }
}

.star {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 calc(var(--size) * 4) rgba(198, 190, 255, 0.7);
  animation:
    individual-drift var(--duration) ease-in-out var(--delay) infinite alternate,
    individual-pulse var(--pulse-duration) ease-in-out var(--delay) infinite alternate;
  will-change: transform, opacity;
}

@keyframes individual-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--drift-x), var(--drift-y), 0);
  }
}

@keyframes individual-pulse {
  from {
    opacity: var(--minimum-light);
  }

  to {
    opacity: var(--maximum-light);
  }
}

.shooting-star {
  position: absolute;
  top: var(--shoot-y);
  left: var(--shoot-x);
  width: var(--shoot-length);
  height: 1px;
  border-radius: 50%;
  opacity: 0;
  transform: rotate(var(--shoot-angle)) translateX(0);
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(206, 199, 255, 0.45), #fff);
  filter: drop-shadow(0 0 4px rgba(189, 179, 255, 0.8));
  animation: shoot-across var(--shoot-duration) ease-out forwards;
  will-change: transform, opacity;
}

.shooting-star::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}

@keyframes shoot-across {
  0% {
    opacity: 0;
    transform: rotate(var(--shoot-angle)) translateX(0);
  }

  12% {
    opacity: 0.95;
  }

  72% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: rotate(var(--shoot-angle)) translateX(var(--shoot-distance));
  }
}

.site-header {
  position: relative;
  z-index: 5;
  min-height: 86px;
  padding: 0 4.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: -1px;
  left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.header-note,
.kicker,
.venture-number,
.coordinates,
.coming {
  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.signal {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #d8d5dd;
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, background 180ms ease;
}

.signal:hover,
.signal:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.home-intro {
  min-height: calc(100vh - 86px);
  padding: 12vh 7vw 9vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 9px;
}

.kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 10px 1px 0;
  display: inline-block;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

.home-intro h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(68px, 11vw, 158px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.085em;
}

.home-intro h1 em {
  color: var(--violet);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lede {
  max-width: 490px;
  margin: 40px 0 0 42%;
  color: #aaa6b1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.65;
}

.downlink {
  margin-top: auto;
  padding-top: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #bbb7c1;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 44px;
  text-transform: uppercase;
}

.downlink span {
  font-size: 15px;
}

.constellation {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.venture {
  position: relative;
  min-height: 720px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid var(--line);
  transition: background 300ms ease;
}

.venture:last-child {
  border-right: 0;
}

.venture:hover,
.venture:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.035);
}

.venture-number {
  position: relative;
  z-index: 2;
  color: #77747f;
  font-size: 8px;
}

.orbit {
  position: absolute;
  top: 19%;
  left: 50%;
  width: min(25vw, 350px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1), border-color 300ms ease;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: 9%;
  left: 24%;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 13px currentColor;
}

.orbit-ai {
  color: var(--violet);
  transform: translateX(-50%) rotate(-18deg);
  border-color: rgba(167, 149, 255, 0.3);
}

.orbit-ai::before {
  background: radial-gradient(circle at 35% 28%, #c9c0ff, #6951b3 45%, #171326 72%);
  box-shadow: 0 0 70px rgba(121, 95, 218, 0.24);
}

.orbit-data {
  color: var(--amber);
  border-color: rgba(217, 169, 111, 0.28);
  transform: translateX(-50%) scaleX(0.72) rotate(28deg);
}

.orbit-data::before {
  inset: 20%;
  background: radial-gradient(circle at 35% 30%, #dac4a4, #6f5136 46%, #17120f 74%);
  box-shadow: 0 0 65px rgba(202, 147, 82, 0.2);
}

.orbit-carpool {
  color: var(--cyan);
  border-color: rgba(116, 200, 212, 0.3);
  transform: translateX(-50%) rotate(8deg);
}

.orbit-carpool::before {
  inset: 24%;
  background: radial-gradient(circle at 35% 28%, #b7e7e7, #34747b 44%, #0d2023 73%);
  box-shadow: 0 0 65px rgba(76, 167, 181, 0.23);
}

.venture:hover .orbit-ai,
.venture:focus-visible .orbit-ai {
  transform: translateX(-50%) rotate(4deg) scale(1.04);
}

.venture:hover .orbit-data,
.venture:focus-visible .orbit-data {
  transform: translateX(-50%) scaleX(0.76) rotate(8deg);
}

.venture:hover .orbit-carpool,
.venture:focus-visible .orbit-carpool {
  transform: translateX(-50%) rotate(-10deg) scale(1.04);
}

.venture-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venture-copy strong {
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.venture-copy small {
  max-width: 270px;
  color: #94909b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.5;
}

.arrow {
  position: absolute;
  right: 32px;
  bottom: 34px;
  color: #77747f;
  font-size: 18px;
}

.site-footer {
  min-height: 100px;
  padding: 0 4.5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #77747f;
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Venture pages */

.detail {
  min-height: 100vh;
  overflow-x: hidden;
}

.detail-ai {
  --accent: var(--violet);
  --glow: rgba(132, 103, 231, 0.24);
}

.detail-data {
  --accent: var(--amber);
  --glow: rgba(199, 142, 77, 0.2);
}

.detail-carpool {
  --accent: var(--cyan);
  --glow: rgba(70, 165, 180, 0.22);
}

.detail-main {
  min-height: calc(100vh - 86px);
}

.detail-hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.detail-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34vw, 510px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 120px var(--glow);
}

.planet::before,
.planet::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 50%;
}

.planet::before {
  inset: -16%;
}

.planet::after {
  inset: -38%;
  opacity: 0.45;
}

.planet-ai {
  background:
    radial-gradient(circle at 34% 27%, #d4ccff 0, #927cdb 14%, #41336f 44%, #12101b 72%);
}

.planet-data {
  background:
    radial-gradient(circle at 35% 28%, #e7d6bc 0, #b08355 15%, #523a27 45%, #14100d 72%);
}

.planet-carpool {
  background:
    radial-gradient(circle at 35% 28%, #d0eeee 0, #65aeb6 16%, #28555b 45%, #0d1719 72%);
}

.axis {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-18deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 45%, transparent), transparent);
}

.detail-data .axis {
  transform: translate(-50%, -50%) rotate(22deg);
}

.detail-carpool .axis {
  transform: translate(-50%, -50%) rotate(-6deg);
}

.detail-copy {
  padding: 8vh 7vw 7vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(70px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.09em;
}

.detail-copy h1 span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.detail-statement {
  max-width: 540px;
  margin: 44px 0 38px;
  color: #aaa6b1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.65;
}

.coordinates {
  max-width: 540px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #77747f;
  font-size: 8px;
}

.text-link {
  margin-top: 38px;
  width: fit-content;
  color: #d8d4dc;
  font-size: 11px;
}

.text-link span {
  margin-left: 18px;
  color: var(--accent);
}

.coming {
  margin: 34px 0 0;
  color: #77747f;
  font-size: 8px;
  line-height: 1.7;
}

.ai-offers {
  padding: 13vh 4.5vw;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(132, 103, 231, 0.09), transparent 34%),
    rgba(4, 4, 7, 0.35);
}

.offers-heading {
  max-width: 1320px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 8vw;
}

.offers-heading h2 {
  margin: 0;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.offers-heading h2 em {
  color: var(--violet);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.offers-heading > p {
  margin: 0 0 4px;
  color: #8f8b96;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.7;
}

.offer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-card {
  min-height: 620px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.offer-card:last-child {
  border-right: 0;
}

.offer-number {
  margin: 0;
  color: #77747f;
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offer-card h3 {
  margin: 62px 0 18px;
  font-size: clamp(37px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.065em;
}

.offer-summary {
  min-height: 76px;
  margin: 0;
  color: #9995a0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.65;
}

.offer-price {
  margin: 30px 0 26px;
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #ded9e5;
  font-size: 28px;
}

.offer-price span {
  color: #706c77;
  font-family: "Courier New", Courier, monospace;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-card ul {
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.offer-card li {
  padding-left: 16px;
  color: #8c8893;
  font-size: 11px;
  line-height: 1.5;
}

.offer-card li::before {
  content: "·";
  margin-left: -16px;
  margin-right: 10px;
  color: var(--violet);
}

.offer-card > a {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #b7b2be;
  font-size: 10px;
}

.offer-card > a span {
  color: var(--violet);
}

.detail-nav {
  min-height: 78px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #8e8a95;
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-nav a:last-child span {
  margin-left: 15px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-note {
    display: none;
  }

  .constellation {
    grid-template-columns: 1fr;
  }

  .venture {
    min-height: 540px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .orbit {
    top: 10%;
    width: min(55vw, 300px);
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-visual {
    min-height: 55vh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .planet {
    width: min(54vw, 420px);
  }

  .detail-copy {
    min-height: 600px;
  }

  .offers-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .offers-heading > p {
    max-width: 520px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 570px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-card:last-child {
    border-bottom: 0;
  }

  .offer-summary {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .brand {
    font-size: 11px;
  }

  .signal {
    padding: 9px 11px;
    font-size: 8px;
  }

  .home-intro {
    min-height: calc(100svh - 72px);
    padding: 11vh 22px 5vh;
  }

  .home-intro h1 {
    font-size: clamp(59px, 19vw, 90px);
  }

  .lede {
    margin: 34px 0 0 17%;
    font-size: 16px;
  }

  .venture {
    min-height: 500px;
    padding: 24px 22px;
  }

  .venture-copy strong {
    font-size: 42px;
  }

  .arrow {
    right: 22px;
    bottom: 26px;
  }

  .site-footer {
    min-height: 120px;
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
  }

  .detail-main,
  .detail-hero {
    min-height: auto;
  }

  .detail-visual {
    min-height: 48vh;
  }

  .planet {
    width: 62vw;
  }

  .detail-copy {
    min-height: 520px;
    padding: 64px 24px;
  }

  .detail-copy h1 {
    font-size: clamp(65px, 22vw, 100px);
  }

  .detail-statement {
    margin: 32px 0;
    font-size: 17px;
  }

  .coordinates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .ai-offers {
    padding: 90px 22px;
  }

  .offers-heading {
    margin-bottom: 50px;
  }

  .offers-heading h2 {
    font-size: 56px;
  }

  .offer-card {
    min-height: 550px;
    padding: 26px 0;
  }

  .offer-card h3 {
    margin-top: 48px;
    font-size: 44px;
  }

  .detail-nav {
    padding: 0 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
