:root {
  --page-bg: #101010;
  --page-fg: #f4f1eb;
  --muted: rgba(244, 241, 235, 0.68);
  --line: rgba(244, 241, 235, 0.22);
  --content-bg: #1b100b;
  --content-fg: #f4eadc;
  --hero-pan-x: 0px;
  --hero-pan-y: 0px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
video {
  font: inherit;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.is-locked {
  overflow: hidden;
}

.site-content {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 900ms var(--ease-out);
}

body.is-unlocked .site-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background-color: var(--content-bg);
  background-image: url("resources/background.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--content-fg);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 500ms var(--ease-out),
    visibility 0s linear 500ms;
}

.password-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(8, 4, 2, 0.22);
}

.password-gate.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.password-gate__orbits {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.password-gate__orbit {
  position: absolute;
  display: block;
  width: clamp(520px, 68vw, 1180px);
  height: auto;
  opacity: 0.18;
  transform-origin: 50% 50%;
  user-select: none;
}

.password-gate__orbit--one {
  top: clamp(-300px, -15vw, -100px);
  left: clamp(-390px, -18vw, -120px);
  animation: orbit-rotate-clockwise 96s linear infinite;
}

.password-gate__orbit--two {
  right: clamp(-420px, -19vw, -140px);
  bottom: clamp(-340px, -16vw, -120px);
  width: clamp(500px, 58vw, 980px);
  opacity: 0.12;
  animation: orbit-rotate-counter 132s linear infinite;
}

.password-gate__form {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  text-align: center;
}

.password-gate__eyebrow {
  margin: 0 0 18px;
  color: rgba(244, 234, 220, 0.64);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.password-gate__title {
  margin: 0 0 34px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.password-gate__field-wrap {
  display: flex;
  width: 100%;
  padding: 6px;
  border: 1px solid rgba(244, 234, 220, 0.38);
  border-radius: 18px;
  background: rgba(12, 7, 4, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}

.password-gate__field-wrap:focus-within {
  border-color: rgba(244, 234, 220, 0.82);
  background: rgba(12, 7, 4, 0.54);
}

.password-gate__input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 13px;
  outline: 0;
  padding: 15px 16px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.password-gate__input::placeholder {
  color: rgba(244, 234, 220, 0.48);
}

.password-gate__submit {
  flex: 0 0 auto;
  border: 0;
  border-radius: 13px;
  padding: 0 20px;
  background: rgba(244, 234, 220, 0.12);
  color: var(--content-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 220ms ease;
}

.password-gate__submit:hover,
.password-gate__submit:focus-visible {
  background: rgba(244, 234, 220, 0.2);
}

.password-gate__submit:focus-visible,
.password-gate__input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.password-gate__error {
  min-height: 18px;
  margin: 12px 0 0;
  color: rgba(244, 234, 220, 0.76);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.password-gate__form.is-invalid {
  animation: password-shake 320ms ease;
}

@keyframes password-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.panorama-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.panorama-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.panorama-slide--current {
  transform: translateX(0%);
  z-index: 1;
}

.panorama-slide--incoming {
  transform: translateX(100%);
  z-index: 2;
}

.panorama-image {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  user-select: none;
  pointer-events: none;
  transform:
    translate3d(
      calc(-50% + var(--image-pan-x, 0px)),
      calc(-50% + var(--image-pan-y, 0px)),
      0
    );
  will-change: transform;
  backface-visibility: hidden;
}


.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 48%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 42%);
}

.hero-title-wrap {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 7vw, 112px);
  bottom: clamp(54px, 11vh, 132px);
  max-width: min(760px, calc(100vw - 120px));
  pointer-events: none;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.hero-title {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(46px, 8vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
  text-wrap: balance;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 480ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.hero-title.is-changing {
  opacity: 0;
  transform: translateY(22px);
}

.nav-arrow {
  position: absolute;
  z-index: 6;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  padding: 0;
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 1;
  transform: translateY(-50%) scale(1);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1) translateY(-45%);
}

.nav-arrow:focus-visible,
.audio-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.nav-arrow[hidden] {
  display: none;
}

.nav-arrow--left {
  left: clamp(18px, 2.6vw, 44px);
  top: 50%;
}

.nav-arrow--right {
  right: clamp(18px, 2.6vw, 44px);
  top: 50%;
}

.nav-arrow--down {
  right: clamp(18px, 2.6vw, 44px);
  top: 50%;
}

.nav-arrow span {
  display: block;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.audio-toggle {
  position: absolute;
  right: clamp(18px, 2.6vw, 44px);
  top: clamp(18px, 3vw, 42px);
  z-index: 6;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.content-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--content-bg);
  background-image: url("resources/background.svg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--content-fg);
  padding: clamp(76px, 11vw, 100px) 0 clamp(68px, 9vw, 128px);
}

.content-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 4, 2, 0.08) 0%,
    rgba(8, 4, 2, 0.18) 48%,
    rgba(8, 4, 2, 0.34) 100%
  );
}

.content-orbits {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.content-orbit {
  position: absolute;
  display: block;
  width: clamp(560px, 62vw, 1120px);
  height: auto;
  opacity: 0.16;
  transform-origin: 50% 50%;
  will-change: transform;
  user-select: none;
}

.content-orbit--one {
  top: clamp(-260px, -13vw, -100px);
  left: clamp(-360px, -17vw, -120px);
  animation: orbit-rotate-clockwise 96s linear infinite;
}

.content-orbit--two {
  right: clamp(-430px, -20vw, -150px);
  bottom: clamp(180px, 15vw, 360px);
  width: clamp(500px, 54vw, 960px);
  opacity: 0.11;
  animation: orbit-rotate-counter 132s linear infinite;
}

@keyframes orbit-rotate-clockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-rotate-counter {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.content-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-image-wrap {
  width: min(900px, 82%);
  margin: 0 auto clamp(76px, 10vw, 138px);
}

.feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.content-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: start;
  padding-bottom: clamp(44px, 6vw, 84px);
  border-bottom: 1px solid rgba(244, 234, 220, 0.24);
}

.eyebrow {
  color: rgba(244, 234, 220, 0.66);
  padding-top: 10px;
}

.content-heading h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(38px, 5.7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 82px);
  padding: clamp(48px, 7vw, 94px) 0 clamp(88px, 10vw, 150px);
}

.info-column {
  min-width: 0;
}

.info-index {
  display: block;
  margin-bottom: 42px;
  color: rgba(244, 234, 220, 0.46);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.info-column h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
}

.info-column p {
  margin: 0;
  color: rgba(244, 234, 220, 0.76);
  font-size: 15px;
  line-height: 1.7;
}

.video-wrap {
  width: 100%;
}

.feature-video {
  display: block;
  width: 100%;
  max-height: 88vh;
  background: #000;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(76px, 10vw, 150px) 0 0;
}

.side-logo {
  display: block;
  width: clamp(100px, 18vw, 180px);
  max-width: 70vw;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms var(--ease-out),
    transform 900ms var(--ease-out);
}

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

@media (max-width: 820px) {

  .content-heading{
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-title-wrap {
    left: 24px;
    bottom: 70px;
    max-width: calc(100vw - 96px);
  }

  .hero-title {
    max-width: 9ch;
  }

  .nav-arrow {
    width: 48px;
    height: 48px;
  }

  .content-shell {
    width: min(100% - 32px, 1240px);
  }

  .feature-image-wrap {
    width: 100%;
  }

  .content-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eyebrow {
    padding-top: 0;
  }

  .info-columns {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 2rem 5rem;
  }

  .info-index {
    margin-bottom: 18px;
  }

  .content-orbit--one {
    top: -120px;
    left: -280px;
  }

  .content-orbit--two {
    right: -300px;
    bottom: 220px;
  }
}


@media (max-width: 560px) {
  .password-gate {
    padding: 20px;
  }

  .password-gate__field-wrap {
    border-radius: 16px;
  }

  .password-gate__input {
    padding: 14px 12px;
  }

  .password-gate__submit {
    padding: 0 14px;
  }
}

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

  .hero-title,
  .nav-arrow,
  .reveal,
  .site-content,
  .password-gate {
    transition-duration: 0.01ms;
  }

  .content-orbit,
  .password-gate__orbit {
    animation: none;
  }

  .panorama-image {
    transform: translate3d(-50%, -50%, 0);
  }
}
