:root {
  --font-geist-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --night: #07090d;
  --night-raised: #0b0d13;
  --bone: #e8e4dc;
  --smoke: #8c8f96;
  --rule: rgba(232, 228, 220, 0.2);
  --copper: #a56a50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--bone);
  font-family: var(--font-geist-sans), "Helvetica Neue", Arial, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: #3b6871;
  color: #fff;
}

.site-shell {
  min-height: 100vh;
  background: var(--night);
}

.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.wordmark {
  position: relative;
  z-index: 3;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.42em;
  line-height: 1;
  transition: letter-spacing 320ms cubic-bezier(.22,1,.36,1), color 220ms ease;
}

.wordmark:hover,
.wordmark:focus-visible {
  letter-spacing: 0.48em;
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 62px;
  font-size: 14px;
  color: #c8c3b9;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms cubic-bezier(.22,1,.36,1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--bone);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  position: relative;
  z-index: 3;
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 7px 0;
  background: var(--bone);
  transition: transform 180ms ease;
}

.hero {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  min-height: 100svh;
  height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-atmosphere {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 73% 52%, rgba(39, 78, 90, .11), transparent 33%),
    radial-gradient(circle at 82% 72%, rgba(107, 73, 107, .08), transparent 30%),
    linear-gradient(110deg, #07090d 15%, #080a0f 58%, #0b0d13 100%);
}

.hero-monolith {
  position: absolute;
  z-index: -2;
  top: -4%;
  right: -2%;
  width: 63%;
  height: 110%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0;
  transform: translate3d(calc(var(--pointer-x) * -9px), calc(22px + var(--pointer-y) * -6px), 0) scale(1.035);
  filter: saturate(.83) contrast(1.04);
  animation: monolith-arrive 1600ms 180ms forwards cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,13,.99) 0%, rgba(7,9,13,.96) 28%, rgba(7,9,13,.5) 49%, rgba(7,9,13,.05) 74%),
    linear-gradient(0deg, rgba(7,9,13,.58), transparent 28%);
}

.hero-copy {
  position: absolute;
  z-index: 3;
  left: 6%;
  top: 50%;
  width: min(650px, 48vw);
  transform: translateY(-43%);
}

.hero-label {
  margin: 0 0 33px;
  color: #706f72;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--bone);
  font-size: clamp(50px, 4.3vw, 68px);
  font-weight: 390;
  line-height: 1.06;
  letter-spacing: -.046em;
}

.hero-intro {
  margin: 36px 0 0;
  color: #95928e;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 380;
  line-height: 1.58;
  letter-spacing: -.012em;
}

.enter-link {
  width: fit-content;
  margin-top: 43px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d8d3ca;
  font-size: 17px;
}

.enter-link i {
  display: block;
  width: 108px;
  height: 1px;
  background: rgba(232,228,220,.62);
  transition: width 380ms cubic-bezier(.22,1,.36,1), background 180ms ease;
}

.enter-link b {
  margin-left: -20px;
  font-size: 17px;
  font-weight: 300;
  transition: transform 380ms cubic-bezier(.22,1,.36,1);
}

.enter-link:hover i,
.enter-link:focus-visible i {
  width: 142px;
  background: var(--bone);
}

.enter-link:hover b,
.enter-link:focus-visible b {
  transform: translateX(7px);
}

.transmission {
  position: absolute;
  z-index: 4;
  left: 30px;
  bottom: 46px;
  margin: 0;
  color: #74757a;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.frame-index {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #696a70;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: .18em;
}

.frame-index span:last-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(232,228,220,.16);
  border-radius: 50%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: copy-arrive 800ms forwards cubic-bezier(.22,1,.36,1);
}

.label-reveal { animation-delay: 480ms; }
.title-reveal { animation-delay: 570ms; }
.intro-reveal { animation-delay: 700ms; }
.link-reveal { animation-delay: 810ms; }

@keyframes monolith-arrive {
  to {
    opacity: .97;
    transform: translate3d(calc(var(--pointer-x) * -9px), calc(var(--pointer-y) * -6px), 0) scale(1);
  }
}

@keyframes copy-arrive {
  to { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms cubic-bezier(.22,1,.36,1),
    transform 800ms cubic-bezier(.22,1,.36,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-kicker {
  margin: 0;
  color: var(--copper);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.section-rail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #77787c;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-rail span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(232,228,220,.14);
  border-radius: 50%;
}

.section-rail p {
  margin: 11px 0 0;
}

.about-section {
  position: relative;
  min-height: 930px;
  display: grid;
  grid-template-columns: minmax(160px, 18vw) 1fr;
  gap: 5vw;
  padding: 136px 6% 130px 30px;
  overflow: hidden;
  border-top: 1px solid rgba(232,228,220,.1);
  background: #0b0d12;
}

.about-content {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.about-content h2,
.signal-heading h2,
.closing-section h2 {
  margin: 30px 0 0;
  color: var(--bone);
  font-size: clamp(54px, 6.8vw, 104px);
  font-weight: 360;
  line-height: .99;
  letter-spacing: -.058em;
}

.about-detail {
  max-width: 890px;
  margin-top: 98px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  padding-top: 30px;
  border-top: 1px solid rgba(232,228,220,.14);
}

.about-detail p {
  max-width: 390px;
  margin: 0;
  color: #8f8f91;
  font-size: 15px;
  line-height: 1.75;
}

.about-detail p:first-child {
  color: #c5c1b9;
}

.about-mark {
  position: absolute;
  right: -7vw;
  bottom: -19vw;
  display: grid;
  place-items: center;
  width: 47vw;
  height: 47vw;
  border: 1px solid rgba(232,228,220,.045);
  border-radius: 50%;
}

.about-mark::before,
.about-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(232,228,220,.035);
  border-radius: 50%;
}

.about-mark::before { inset: 15%; }
.about-mark::after { inset: 34%; }

.about-mark span {
  color: rgba(232,228,220,.026);
  font-size: 25vw;
  font-weight: 650;
}

.interlude {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 6%;
  overflow: hidden;
  background: #08090c;
}

.interlude-image {
  position: absolute;
  inset: -15%;
  background-image: url("assets/monolith-hero.png");
  background-size: cover;
  background-position: 76% center;
  filter: saturate(.4) contrast(1.18);
  transform: scaleX(-1);
}

.interlude-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,13,.2), rgba(7,9,13,.78) 70%),
    linear-gradient(0deg, rgba(7,9,13,.96) 0%, rgba(7,9,13,.1) 72%);
}

.interlude > p {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0;
  font-size: clamp(62px, 9vw, 138px);
  font-weight: 350;
  line-height: .88;
  letter-spacing: -.067em;
}

.interlude > span {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  color: #858486;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.signal-section {
  position: relative;
  min-height: 1020px;
  padding: 140px 30px 150px;
  overflow: hidden;
  color: var(--bone);
  background:
    radial-gradient(circle at 80% 8%, rgba(39,78,90,.12), transparent 32%),
    radial-gradient(circle at 18% 88%, rgba(107,73,107,.06), transparent 28%),
    linear-gradient(180deg, #0c0e13 0%, #090b0f 100%);
}

.signal-section .section-kicker {
  color: #b87960;
}

.signal-section .section-rail {
  color: #73757b;
}

.signal-section .section-rail span {
  border-color: rgba(232,228,220,.14);
}

.signal-heading {
  display: grid;
  grid-template-columns: minmax(160px, 18vw) 1fr;
  gap: 5vw;
  padding-right: 6%;
  margin-bottom: 130px;
}

.signal-heading h2 {
  color: var(--bone);
}

.signal-lines {
  border-top: 1px solid rgba(232,228,220,.18);
}

.signal-lines article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(70px, 8vw) minmax(280px, 1.1fr) minmax(300px, 1fr) 80px;
  align-items: center;
  min-height: 172px;
  border-bottom: 1px solid rgba(232,228,220,.13);
  overflow: hidden;
}

.signal-lines article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(165,106,80,.09), transparent 36%),
    #12151a;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 450ms cubic-bezier(.22,1,.36,1);
}

.signal-lines article:hover::before {
  transform: scaleY(1);
}

.signal-lines article:hover {
  color: var(--bone);
}

.signal-number {
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: .16em;
}

.signal-lines h3 {
  margin: 0;
  font-size: clamp(26px, 2.7vw, 42px);
  font-weight: 430;
  letter-spacing: -.045em;
}

.signal-lines article > p {
  max-width: 440px;
  margin: 0;
  color: #808187;
  font-size: 14px;
  line-height: 1.68;
  transition: color 220ms ease;
}

.signal-lines article:hover > p {
  color: #b4b2ad;
}

.signal-lines article > i {
  justify-self: end;
  width: 11px;
  height: 11px;
  margin-right: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background 220ms ease, transform 400ms cubic-bezier(.22,1,.36,1);
}

.signal-lines article:hover > i {
  background: var(--copper);
  border-color: var(--copper);
  transform: scale(1.35);
}

.closing-section {
  position: relative;
  min-height: 870px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 6%;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 50%, rgba(39,78,90,.12), transparent 32%),
    #080a0e;
}

.closing-section h2 {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  font-size: clamp(82px, 12.5vw, 182px);
}

.closing-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 42px 0 0;
  color: #88898e;
  font-size: 16px;
  line-height: 1.72;
}

.closing-orbit {
  position: absolute;
  right: -9vw;
  top: 50%;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  border: 1px solid rgba(140,143,150,.15);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: orbit-breathe 9s infinite alternate ease-in-out;
}

.closing-orbit::before,
.closing-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(140,143,150,.1);
  border-radius: 50%;
}

.closing-orbit::before { inset: 17%; }
.closing-orbit::after { inset: 35%; }

.closing-orbit i {
  position: absolute;
  top: 18%;
  left: 10.5%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 40px rgba(165,106,80,.8);
}

footer {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  align-items: end;
  gap: 30px;
  padding: 48px 30px 38px;
  border-top: 1px solid rgba(232,228,220,.1);
  background: #050609;
}

.footer-wordmark {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 460;
  letter-spacing: .17em;
  line-height: .78;
}

footer p,
footer > span,
footer div {
  margin: 0;
  color: #68696d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

footer div {
  display: flex;
  gap: 22px;
}

footer a {
  transition: color 180ms ease;
}

footer div a:hover,
footer div a:focus-visible {
  color: var(--bone);
}

@keyframes orbit-breathe {
  from { transform: translateY(-50%) scale(.985); opacity: .72; }
  to { transform: translateY(-50%) scale(1.015); opacity: 1; }
}

@media (max-width: 900px) {
  .hero-monolith {
    right: -18%;
    width: 83%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7,9,13,.99) 0%, rgba(7,9,13,.88) 42%, rgba(7,9,13,.24) 80%),
      linear-gradient(0deg, rgba(7,9,13,.68), transparent 40%);
  }

  .hero-copy { width: 70vw; }

  .about-section {
    grid-template-columns: 120px 1fr;
    gap: 25px;
    padding-right: 35px;
  }

  .about-detail { gap: 45px; }
  .signal-heading { grid-template-columns: 120px 1fr; gap: 25px; padding-right: 0; }

  .signal-lines article {
    grid-template-columns: 55px 1fr 40px;
    padding: 32px 0;
  }

  .signal-lines article > p {
    grid-column: 2 / 4;
    margin-top: 18px;
    padding-right: 25px;
  }

  .signal-lines article > i { grid-column: 3; grid-row: 1; margin-right: 12px; }

  footer {
    grid-template-columns: 1fr 1fr;
    row-gap: 54px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 76px;
    padding: 0 20px;
  }

  .wordmark {
    font-size: 20px;
    letter-spacing: .34em;
  }

  .menu-button { display: block; }

  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 90px 28px 38px;
    background: #07090d;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(232,228,220,.13);
    font-size: 38px;
    font-weight: 360;
    letter-spacing: -.04em;
  }

  .hero {
    min-height: 730px;
    height: 100svh;
  }

  .hero-monolith {
    top: 3%;
    right: -36%;
    width: 132%;
    height: 104%;
    opacity: .76;
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7,9,13,.98) 0%, rgba(7,9,13,.72) 70%, rgba(7,9,13,.3) 100%),
      linear-gradient(0deg, rgba(7,9,13,.82) 0%, transparent 48%, rgba(7,9,13,.18) 100%);
  }

  .hero-copy {
    left: 20px;
    top: 48%;
    width: calc(100% - 40px);
    transform: translateY(-40%);
  }

  .hero-label { margin-bottom: 26px; }
  .hero h1 { font-size: clamp(43px, 12.5vw, 58px); line-height: 1.02; }
  .hero h1 br { display: none; }
  .hero-intro { max-width: 88%; margin-top: 28px; font-size: 15px; }
  .hero-intro br { display: none; }
  .enter-link { margin-top: 36px; }
  .transmission { left: 20px; bottom: 28px; letter-spacing: .22em; }
  .frame-index { right: 20px; bottom: 20px; }

  [data-reveal] {
    transform: translateY(16px);
  }

  .about-section {
    min-height: 0;
    display: block;
    padding: 88px 20px 100px;
  }

  .about-content { margin-top: 64px; }

  .about-content h2,
  .signal-heading h2 {
    margin-top: 24px;
    font-size: clamp(45px, 12vw, 62px);
  }

  .about-content h2 br { display: none; }

  .about-detail {
    margin-top: 64px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-mark { width: 100vw; height: 100vw; right: -53vw; bottom: -18vw; }

  .interlude {
    min-height: 650px;
    padding: 66px 20px;
  }

  .interlude-image { inset: -8% -65% -8% -5%; background-position: 70% center; }
  .interlude > p { font-size: clamp(62px, 18vw, 92px); }
  .interlude > span { max-width: 88%; font-size: 8px; line-height: 1.7; }

  .signal-section {
    min-height: 0;
    padding: 92px 20px 105px;
  }

  .signal-heading {
    display: block;
    margin-bottom: 72px;
  }

  .signal-heading > div:last-child { margin-top: 62px; }
  .signal-heading h2 br { display: none; }

  .signal-lines article {
    grid-template-columns: 32px 1fr 24px;
    gap: 8px;
    min-height: 0;
    padding: 31px 0;
  }

  .signal-lines h3 { font-size: 27px; }
  .signal-lines article > p { padding-right: 0; font-size: 13px; }
  .signal-lines article > i { margin-right: 0; }

  .closing-section {
    min-height: 710px;
    padding: 100px 20px;
  }

  .closing-section h2 { font-size: clamp(80px, 25vw, 124px); }
  .closing-copy { max-width: 88%; margin-top: 32px; font-size: 15px; }
  .closing-orbit { width: 110vw; right: -72vw; opacity: .55; }

  footer {
    min-height: 330px;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 52px 20px 30px;
  }

  .footer-wordmark { font-size: 48px; }
  footer div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-monolith { transform: none !important; opacity: .97; }
  .reveal { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .closing-orbit { animation: none; }
}
