/* Horizon pitch site — values taken from the six approved slides. */

:root {
  --navy: #0A121C;
  --navy-2: #0C1723;
  --panel: #101A26;
  --line: #1F2B3A;
  --line-2: #2A3A4D;
  --gold: #F0C14B;
  --cream: #F7F4EE;
  --mute: #9BA6B4;
  --mute-2: #6E7B8B;
  --star: #FFF4D6;
  --header-h: 104px;
  --stage-w: 1440;
  --stage-h: 900;
  --stage-scale: 1;
}

html {
  background: var(--navy);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--navy);
  color: var(--cream);
  font-family: "Geist", system-ui, sans-serif;
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--cream);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  padding: 0 80px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.site-wordmark {
  display: block;
  line-height: 0;
}

.site-wordmark img {
  height: 26px;
  width: auto;
}

.header-join {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}

.header-join:hover {
  color: var(--cream);
}

.header-join-short {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Motion — visible without JS; .js defers rise/starrise until in view        */
/* -------------------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0.001;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes starrise {
  from {
    transform: translateY(90px);
    opacity: 0.2;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes idaturn {
  from {
    transform: rotate(0deg) scale(0.85);
  }
  to {
    transform: rotate(360deg) scale(0.85);
  }
}

@keyframes rock {
  from {
    transform: rotate(-20deg);
  }
  to {
    transform: rotate(16deg);
  }
}

@keyframes orbit {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}

@keyframes occult {
  0%,
  11% {
    opacity: 0.95;
  }
  17%,
  33% {
    opacity: 0;
  }
  39%,
  100% {
    opacity: 0.95;
  }
}

.idaspin {
  animation: idaturn 60s linear infinite;
  transform-origin: 50% 50%;
}


.slide:not(.is-active) .idaspin,
.slide:not(.is-active) .starrise {
  animation-play-state: paused;
}

.js .rise,
.js .rise2,
.js .rise3 {
  opacity: 0.001;
  transform: translateY(12px);
}

.js .starrise {
  transform: translateY(90px);
  opacity: 0.2;
}

.js .slide.is-inview .rise {
  animation: rise 0.7s ease-out both;
}

.js .slide.is-inview .rise2 {
  animation: rise 0.7s 0.15s ease-out both;
}

.js .slide.is-inview .rise3 {
  animation: rise 0.7s 0.3s ease-out both;
}

.js .slide.is-inview .starrise {
  animation: starrise 6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .rise2,
  .rise3,
  .starrise,
  .idaspin {
    animation: none;
  }

  .js .rise,
  .js .rise2,
  .js .rise3,
  .js .starrise {
    opacity: 1;
    transform: none;
  }

  .motion {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Shared type                                                                 */
/* -------------------------------------------------------------------------- */

.eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}

.lead {
  margin: 0;
  color: var(--mute);
}

.btn-gold {
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  background: var(--gold);
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 2px;
}

.btn-gold:hover {
  color: var(--navy);
}

/* -------------------------------------------------------------------------- */
/* Stacked layout (phone and any viewport that is not desktop)                 */
/* -------------------------------------------------------------------------- */

.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--navy);
  box-sizing: border-box;
  padding: 96px 24px 180px;
}

/* The horizon scales with slide height; slide 3 is the tallest stacked slide, so give its last line clearance. */
.slide-3 {
  padding-bottom: 240px;
}

.slide-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.slide-bg .horizon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg-stage {
  position: absolute;
  inset: 0;
}

.slide-stage {
  position: relative;
  z-index: 1;
  width: 100%;
}

.slide-6 .stars circle:nth-child(even),
.slide-5 .stars circle:nth-child(even),
.slide-4 .stars circle:nth-child(even),
.slide-3 .stars circle:nth-child(even),
.slide-2 .stars circle:nth-child(even),
.slide-1 .stars circle:nth-child(even) {
  display: none;
}

.copy-1,
.copy-2,
.copy-3,
.copy-4,
.copy-5,
.copy-6,
.steps,
.orbits,
.form-panel,
.phi,
.credits {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  max-width: none !important;
}

.copy-1,
.copy-2,
.copy-3,
.copy-4,
.copy-5,
.copy-6,
.steps,
.phi {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.copy-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.copy-2,
.copy-3,
.copy-4,
.copy-6 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.copy-5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.copy-1 h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 500;
  font-size: clamp(28px, 8.2vw, 40px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.copy-2 h2,
.copy-3 h2,
.copy-4 h2,
.copy-6 h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 500;
  font-size: 30px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.copy-3 h2 {
  font-size: 34px !important;
}

.copy-3 h2 .br-wide {
  display: none;
}

.copy-1 p,
.copy-2 p,
.copy-3 p,
.copy-6 p,
.steps p {
  margin: 0;
  font-size: 17px !important;
  line-height: 26px !important;
  color: var(--mute);
}

.copy-1 .eyebrow,
.copy-2 .eyebrow,
.copy-3 .eyebrow,
.copy-4 .eyebrow,
.copy-5 .eyebrow,
.copy-6 .eyebrow,
.copy-1 > div:first-child,
.copy-2 > div:first-child,
.copy-3 > div:first-child,
.copy-4 > div:first-child,
.copy-5 > div:first-child,
.copy-6 > div:first-child {
  font-family: "Geist Mono", monospace;
  font-size: 11px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.copy-1 .btn-gold,
.copy-1 a[href="#join"] {
  margin-top: 6px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.orbits {
  display: block;
  width: 100% !important;
  max-width: 360px !important;
  height: auto !important;
  margin: 28px auto 0;
}

.ida-system {
  position: relative;
  width: 70%;
  margin: 0 auto 28px;
  aspect-ratio: 400 / 295;
}

.ida-system-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: scale(var(--ida-scale, 0.7));
}

.ida-system .idaspin {
  position: absolute;
  left: -200px;
  top: -147px;
  width: 400px;
  height: 295px;
  max-width: none;
  opacity: 0.88;
}


.steps {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-top: 28px;
  border-top: 0 !important;
  padding-top: 0 !important;
}

.steps > div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 28px 28px;
}

.steps > div:last-child {
  padding-bottom: 0;
}

.steps > div::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.steps > div:last-child::before {
  display: none;
}

.steps > div > div:nth-child(1) {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.steps > div > div:nth-child(2) {
  position: absolute;
  left: 0;
  top: 22px;
}

.steps > div > div:nth-child(3) {
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 500;
  font-size: 18px;
  line-height: 25px;
  color: var(--cream);
}

.photo-moon,
.photo-trails {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  margin: 0 0 24px;
  opacity: 0.8;
}

.photo-moon {
  -webkit-mask-image: radial-gradient(ellipse 56% 58% at 52% 44%, #000 42%, transparent 100%);
  mask-image: radial-gradient(ellipse 56% 58% at 52% 44%, #000 42%, transparent 100%);
}

.photo-trails {
  -webkit-mask-image: radial-gradient(ellipse 58% 80% at 50% 36%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 80% at 50% 36%, #000 45%, transparent 100%);
}

.copy-5 .rise2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 400;
  font-size: 24px !important;
  line-height: 1.4 !important;
  color: var(--cream);
  max-width: none !important;
}

.form-panel {
  width: 100% !important;
  box-sizing: border-box;
  margin-top: 28px;
  padding: 12px !important;
  background: var(--panel);
  border: 1px solid var(--line);
  height: auto;
  overflow: visible;
}

.form-panel .hs-form-frame,
.form-panel iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  border: 0;
}

.phi {
  margin: 16px 0 0;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.credits {
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  top: auto !important;
  bottom: 20px;
  z-index: 2;
  margin: 0;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.02em;
  color: #9BA6B4;
  text-align: center;
  max-width: none;
}

.photo-nebula {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 42%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

/* Header — compact on stacked viewports */
.site-header {
  padding: 0 24px;
  height: 72px;
}

.site-wordmark img {
  height: 20px;
}

.header-join {
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.header-join-full {
  display: none;
}

.header-join-short {
  display: inline;
}

.site-header.is-scrolled {
  background: rgba(10, 18, 28, 0.85);
  border-bottom: 1px solid var(--line);
}

/* -------------------------------------------------------------------------- */
/* Desktop and landscape laptop: 1440×900 stage, uniformly scaled              */
/* -------------------------------------------------------------------------- */

@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  html {
    scroll-snap-type: y proximity;
  }

  .site-header {
    height: var(--header-h);
    padding: 0 80px;
    background: transparent;
    border-bottom: 0;
  }

  .site-header.is-scrolled {
    background: transparent;
    border-bottom: 0;
  }

  .site-wordmark img {
    height: 26px;
  }

  .header-join {
    min-height: 0;
    padding: 12px 18px;
  }

  .header-join-full {
    display: inline;
  }

  .header-join-short {
    display: none;
  }

  .slide {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-align: start;
  }

  .slide-1 .stars circle:nth-child(even),
  .slide-2 .stars circle:nth-child(even),
  .slide-3 .stars circle:nth-child(even),
  .slide-4 .stars circle:nth-child(even),
  .slide-5 .stars circle:nth-child(even),
  .slide-6 .stars circle:nth-child(even) {
    display: revert;
  }

  .bg-stage {
    position: absolute;
    inset: auto;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 900px;
    margin-left: -720px;
    transform: scale(var(--stage-scale));
    transform-origin: top center;
  }

  .slide-4,
  .slide-5 {
    padding-top: 0;
  }

  .slide-4 .slide-stage,
  .slide-5 .slide-stage {
    padding-top: 0;
  }

  .slide-4 .bg-stage,
  .slide-5 .bg-stage {
    margin-top: 0;
  }

  .slide-stage {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 900px;
    margin-left: -720px;
    transform: scale(var(--stage-scale));
    transform-origin: top center;
  }

  .copy-1,
  .copy-2,
  .copy-3,
  .copy-4,
  .copy-5,
  .copy-6,
  .steps {
    position: absolute !important;
    width: auto !important;
  }

  .copy-1 {
    left: 0 !important;
    right: 0 !important;
    top: 200px !important;
  }

  .copy-2 {
    left: 80px !important;
    top: 210px !important;
    width: 660px !important;
  }

  .copy-3 {
    left: 80px !important;
    top: 180px !important;
    width: 1200px !important;
  }

  .copy-4 {
    left: 80px !important;
    top: 200px !important;
    width: 1200px !important;
  }

  .copy-5 {
    left: 0 !important;
    right: 0 !important;
    top: 330px !important;
  }

  .copy-6 {
    left: 80px !important;
    top: 190px !important;
    width: 560px !important;
  }

  .steps {
    left: 80px !important;
    right: 80px !important;
    top: 440px !important;
  }

  .steps-old {
    top: 480px !important;
  }

  .copy-1 h1 {
    font-size: 80px !important;
    line-height: 1.02 !important;
    letter-spacing: 0.02em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .copy-2 h2 {
    font-size: 52px !important;
  }

  .copy-3 h2 {
    font-size: 52px !important;
  }

  .copy-3 h2 .br-wide {
    display: inline;
  }

  .copy-4 h2 {
    font-size: 36px !important;
  }

  .copy-6 h2 {
    font-size: 60px !important;
  }

  .copy-1 > div:first-child,
  .copy-2 > div:first-child,
  .copy-3 > div:first-child,
  .copy-4 > div:first-child,
  .copy-5 > div:first-child,
  .copy-6 > div:first-child {
    font-size: 12px !important;
  }

  .copy-1 p {
    font-size: 24px !important;
    line-height: 34px !important;
  }

  .copy-2 p,
  .copy-3 p,
  .copy-6 p {
    font-size: 19px !important;
    line-height: 29px !important;
  }

  .copy-5 .rise2 {
    font-size: 38px !important;
    line-height: 1.34 !important;
    max-width: 1020px !important;
  }

  .steps p {
    font-size: 17px !important;
    line-height: 26px !important;
  }

  .orbits {
    position: absolute !important;
    right: 60px !important;
    top: 170px !important;
    left: auto !important;
    width: 620px !important;
    height: 480px;
    max-width: none;
    margin: 0;
  }

  .ida-system {
    position: absolute;
    left: 1085px;
    top: 262px;
    width: 0;
    height: 0;
    margin: 0;
    aspect-ratio: auto;
  }

  .ida-system-inner {
    position: absolute;
    left: 0;
    top: 0;
    transform: none;
  }

  .steps {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px !important;
    margin-top: 0;
    border-top: 1px solid var(--line) !important;
    padding-top: 32px !important;
  }

  .steps > div {
    padding: 0;
    gap: 18px;
  }

  .steps > div::before {
    display: none;
  }

  .steps > div > div:nth-child(1) {
    font-size: 12px;
  }

  .steps > div > div:nth-child(2) {
    position: static;
  }

  .steps > div > div:nth-child(3) {
    font-size: 19px;
    line-height: 27px;
  }

  .steps p {
    font-size: 17px;
    line-height: 26px;
  }

  .photo-moon {
    position: absolute !important;
    left: 900px !important;
    top: 56px !important;
    width: 560px !important;
    height: 392px !important;
    max-height: none;
    margin: 0;
    opacity: 0.8;
    object-fit: fill;
  }

  .photo-trails {
    position: absolute !important;
    left: 120px !important;
    top: 60px !important;
    width: 1200px !important;
    height: 388px !important;
    max-height: none;
    margin: 0;
    opacity: 0.8;
    object-fit: fill;
  }

  .photo-nebula {
    position: absolute !important;
    left: 0 !important;
    top: 250px !important;
    right: auto !important;
    bottom: auto !important;
    width: 1440px !important;
    height: 833px !important;
    opacity: 0.5;
    object-fit: fill;
  }

  .slide-6 {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .slide-6 .slide-stage {
    overflow: visible;
    height: auto;
    min-height: 900px;
  }

  .form-panel {
    position: absolute !important;
    right: 80px !important;
    top: 150px !important;
    left: auto !important;
    width: 520px !important;
    height: auto;
    margin-top: 0;
    padding: 32px !important;
    box-sizing: border-box;
    overflow: visible;
    z-index: 3;
  }

  .form-panel .hs-form-frame,
  .form-panel iframe {
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .form-panel .phi {
    position: static !important;
    width: auto !important;
    margin: 16px 0 0;
  }

  .credits {
    position: absolute !important;
    left: 80px !important;
    right: 80px !important;
    top: auto !important;
    bottom: 18px;
    margin: 0;
    font-size: 11px;
    line-height: 16px;
    max-width: none;
    color: #9BA6B4;
    text-align: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Thank-you page                                                              */
/* -------------------------------------------------------------------------- */

.thanks {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  box-sizing: border-box;
}

.thanks h1 {
  margin: 0 0 20px;
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}

.thanks p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 26px;
  color: var(--mute);
}

.thanks a.back {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .thanks h1 {
    font-size: 60px;
  }

  .thanks p {
    font-size: 19px;
    line-height: 29px;
  }
}
