:root {
  color-scheme: dark;
  --display-font: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --void: #05070a;
  --graphite: #101418;
  --line: rgba(217, 222, 226, 0.14);
  --text: #d9dee2;
  --muted: #8d969e;
  --blue: #7fa7b8;
  --amber: #c69a4a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--void);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--void);
  color: var(--text);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  line-height: 1.5;
  letter-spacing: 0;
}

body::selection {
  background: rgba(127, 167, 184, 0.32);
  color: #ffffff;
}

.cinema-scroll {
  position: relative;
  min-height: 430svh;
  background: #000000;
}

.cinema-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #000000;
}

.portal-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

.portal-video.is-visible {
  opacity: 1;
}

.quiet-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(127, 167, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 167, 184, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000000 18%,
    #000000 78%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000000 18%,
    #000000 78%,
    transparent
  );
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(127, 167, 184, 0.03), transparent 34rem),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 28%, rgba(0, 0, 0, 0.64)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.76));
}

.blackout {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: #000000;
  opacity: 0;
  will-change: opacity;
}

.portal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: min(86vw, 64rem);
  opacity: 0;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.975);
  transform-origin: center;
  will-change: opacity, transform;
}

.hero-copy {
  position: absolute;
  top: 44%;
  left: 51%;
  z-index: 5;
  width: min(68vw, 34rem);
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: opacity, transform;
}

.hero-kicker,
.section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0.25rem 0 0;
  color: #eef2f3;
  font-family: var(--display-font);
  font-size: 1.55rem;
  font-weight: 100;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 0 1.1rem rgba(127, 167, 184, 0.22),
    0 1.4rem 4rem rgba(0, 0, 0, 0.8);
}

.portal-content h2 {
  margin: 1rem auto 0;
  color: #e7ebed;
  font-family: "Cormorant Garamond", "Iowan Old Style", Cambria, Georgia, serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 1.4rem 4.5rem rgba(0, 0, 0, 0.78);
}

.hero-subtitle {
  margin: 0.55rem 0 0;
  color: rgba(127, 167, 184, 0.82);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.scroll-mark {
  position: absolute;
  bottom: 4svh;
  left: 50%;
  z-index: 5;
  width: 1px;
  height: 3.4rem;
  overflow: hidden;
  background: rgba(217, 222, 226, 0.18);
  opacity: 0.7;
  transform: translateX(-50%);
  will-change: opacity;
}

.scroll-mark span {
  display: block;
  width: 100%;
  height: 38%;
  background: var(--blue);
  animation: descend 1.9s ease-in-out infinite;
}

.content {
  position: relative;
  z-index: 8;
  background: var(--void);
}

.opening-section {
  min-height: 94svh;
  padding: 16svh 2rem 14svh;
  border-top: 1px solid rgba(217, 222, 226, 0.08);
  background:
    linear-gradient(to bottom, #000000 0, var(--void) 18rem),
    var(--void);
}

.concept-lines {
  width: min(100%, 76rem);
  margin: 0 auto;
}

.opening-copy {
  max-width: 46rem;
  margin: 2rem auto 0;
  color: rgba(217, 222, 226, 0.76);
  font-size: 1.18rem;
}

.concept-lines {
  border-top: 1px solid var(--line);
}

.concept-line {
  display: grid;
  grid-template-columns: 4rem minmax(14rem, 0.82fr) minmax(18rem, 1.3fr);
  gap: 2rem;
  align-items: baseline;
  min-height: 5.7rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.concept-index {
  color: rgba(127, 167, 184, 0.86);
  font-variant-numeric: tabular-nums;
}

.concept-title {
  color: #eef2f3;
  font-family: "Cormorant Garamond", "Iowan Old Style", Cambria, Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.concept-body {
  color: var(--muted);
}

@keyframes descend {
  0% {
    transform: translateY(-110%);
  }

  48%,
  100% {
    transform: translateY(270%);
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    width: min(42vw, 35rem);
  }
}

@media (max-width: 900px) {
  .hero-shade {
    background:
      radial-gradient(circle at 50% 38%, rgba(127, 167, 184, 0.04), transparent 23rem),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 28%, rgba(0, 0, 0, 0.72)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 36%, transparent 64%, rgba(0, 0, 0, 0.58));
  }

  .hero-copy {
    top: 48%;
    width: min(78vw, 32rem);
  }

  .portal-content h2 {
    font-size: 3.05rem;
  }

  .concept-line {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.45rem 1rem;
  }

  .concept-body {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .cinema-scroll {
    min-height: 420svh;
  }

  .quiet-grid {
    background-size: 54px 54px;
  }

  .hero-kicker,
  .section-kicker {
    font-size: 0.9rem;
  }

  .hero-copy {
    top: 44%;
    width: min(82vw, 24rem);
  }

  .hero-subtitle {
    font-size: 0.64rem;
  }

  .opening-section {
    padding: 12svh 1.25rem 10svh;
  }

  .portal-content {
    width: min(90vw, 34rem);
  }

  .portal-content h2 {
    font-size: 2.42rem;
  }

  .opening-copy {
    font-size: 1.04rem;
  }

  .concept-lines {
    margin-top: 5rem;
  }

  .concept-line {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.35rem;
    padding: 1.15rem 0;
  }

  .concept-body {
    grid-column: auto;
  }
}
