* {
  box-sizing: border-box;
}

:root {
  --ink: #f7f5f1;
  --soft: rgba(247, 245, 241, 0.8);
  --faint: rgba(247, 245, 241, 0.58);
  --line: rgba(247, 245, 241, 0.28);
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #09090d;
}

body {
  overflow: hidden;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      180deg,
      rgba(2, 3, 5, 0.04),
      rgba(2, 3, 5, 0.02) 40%,
      rgba(2, 3, 5, 0.16)
    ),
    url("../assets/background-scene.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 49% 44%,
      rgba(255, 255, 255, 0.025),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(3, 4, 7, 0.10),
      rgba(3, 4, 7, 0.05) 45%,
      rgba(3, 4, 7, 0.24)
    ),
    linear-gradient(
      90deg,
      rgba(2, 3, 5, 0.17),
      transparent 16%,
      transparent 84%,
      rgba(2, 3, 5, 0.17)
    );
}

.brand,
.corner,
.launch {
  position: absolute;
  z-index: 2;
}

.brand {
  top: clamp(30px, 5.7vh, 62px);
  left: 50%;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.brand__name {
  padding-left: 0.34em;
  color: var(--ink);
  font-size: clamp(27px, 3.15vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.34em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.brand__tagline {
  margin-top: 14px;
  padding-left: 0.38em;
  color: rgba(247, 245, 241, 0.88);
  font-size: clamp(7px, 0.71vw, 11px);
  font-weight: 600;
  letter-spacing: 0.38em;
}

.corner {
  top: 24px;

  width: 118px;
  min-height: 118px;

  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(7px, 0.63vw, 10px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.38em;
}

.corner--left {
  left: 24px;
}

.corner--right {
  right: 24px;
}

.corner__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;

  width: max-content;
  max-width: 100%;
  margin: 20px auto 0;
  text-align: left;
}

.corner__text span {
  white-space: nowrap;
}

.corner__text i {
  width: 28px;
  height: 1px;
  margin-top: 10px;
  background: var(--line);
}

.corner__text--left {
  transform: translateX(1px);
}

.corner__text--right {
  transform: translateX(1px);
}

.launch {
  top: 50.2%;
  left: 50%;
  width: min(1120px, 84vw);
  text-align: center;
  transform: translate(-50%, -50%);
}

.launch__eyebrow {
  margin: 0 0 clamp(12px, 1.45vh, 18px);
  padding-left: 0.51em;
  color: rgba(247, 245, 241, 0.88);
  font-size: clamp(8px, 0.72vw, 12px);
  font-weight: 700;
  letter-spacing: 0.51em;
}

.warp-title {
  position: relative;
  width: min(1060px, 85vw);
  height: clamp(124px, 11.2vw, 178px);
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
}

.warp-title__fallback,
.warp-title canvas {
  position: absolute;
  inset: 0;
}

.warp-title__fallback {
  z-index: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--ink);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(68px, 7.45vw, 128px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.055em;
  white-space: nowrap;
  transition: opacity 120ms ease;
}

.warp-title canvas {
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.warp-title.is-webgl-ready .warp-title__fallback {
  opacity: 0;
}

.launch__copy {
  margin: clamp(1px, 0.5vh, 15px) auto 0;
  color: var(--soft);
  font-size: clamp(15px, 0.72vw, 12px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.018em;
}

.launch__rule {
  width: 150px;
  height: 1px;
  margin: 28px auto 0;
  background: var(--line);
}

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

@media (max-width: 760px) {
  .hero {
    background-position: 48% center;
  }

  .brand {
    top: max(27px, env(safe-area-inset-top));
  }

  .brand__name {
    padding-left: 0.29em;
    font-size: 29px;
    letter-spacing: 0.29em;
  }

  .brand__tagline {
    margin-top: 10px;
    padding-left: 0.29em;
    font-size: 6.5px;
    letter-spacing: 0.29em;
  }

  .corner {
    display: none;
  }

  .launch {
    top: 50%;
    width: 94vw;
  }

  .launch__eyebrow {
    margin-bottom: 10px;
    padding-left: 0.34em;
    font-size: 7.5px;
    letter-spacing: 0.34em;
  }

  .warp-title {
    width: 94vw;
    height: clamp(108px, 26vw, 144px);
  }

  .launch__copy {
    width: 84vw;
    margin-top: 32px;
    font-size: 9.5px;
    line-height: 1.55;
  }
}



/* Contact */
.contact-trigger {
  position: relative;
  z-index: 3;

  margin-top: 18px;
  padding: 12px 23px;

  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: clamp(8px, 0.68vw, 10px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.24em;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.10),
      rgba(255, 255, 255, 0.025)
    );

  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 10px 28px rgba(0, 0, 0, 0.18);

  cursor: pointer;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.contact-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.30);
  background-color: rgba(255, 255, 255, 0.045);
}

.contact-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 50;

  display: grid;
  place-items: center;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  padding: 0;

  border: 0;

  background: rgba(3, 4, 7, 0);
  opacity: 0;

  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);

  cursor: default;

  transition:
    background-color 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-open .contact-modal__backdrop {
  background: rgba(3, 4, 7, 0.56);
  opacity: 1;

  backdrop-filter: blur(13px) saturate(82%);
  -webkit-backdrop-filter: blur(13px) saturate(82%);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;

  width: min(520px, calc(100vw - 36px));
  padding: 40px 42px 36px;

  color: var(--ink);
  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025) 58%,
      rgba(255, 255, 255, 0.04)
    );

  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 30px 80px rgba(0, 0, 0, 0.40);

  opacity: 0;
  transform: translateY(16px) scale(0.975);

  transition:
    opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-open .contact-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);

  transition-delay: 70ms;
}

.contact-modal__close {
  position: absolute;
  top: 14px;
  right: 15px;

  width: 34px;
  height: 34px;
  padding: 0;

  color: rgba(255, 255, 255, 0.74);
  font-size: 24px;
  line-height: 30px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.04);

  cursor: pointer;
}

.contact-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-modal__eyebrow {
  margin: 0 0 12px;

  color: rgba(255, 255, 255, 0.53);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.contact-modal__title {
  margin: 0;

  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
}

.contact-modal__message {
  max-width: 340px;
  margin: 18px auto 26px;

  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.contact-modal__details {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;

  width: 100%;
  margin-top: 4px;
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-detail {
  min-width: 0;
}

.contact-detail__label {
  display: block;
  margin-bottom: 9px;

  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.contact-detail__value {
  margin: 0;

  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;

  overflow-wrap: anywhere;
}

.contact-detail__divider {
  width: 1px;
  height: 44px;
  margin-top: 2px;

  background: rgba(255, 255, 255, 0.10);
}

body.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .contact-trigger {
    margin-top: 16px;
    padding: 11px 18px;
    font-size: 8px;
  }

  .contact-modal__panel {
    padding: 34px 22px 28px;
    border-radius: 16px;
  }

  .contact-modal__details {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .contact-detail__divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
}


@media (prefers-reduced-motion: reduce) {
  .contact-modal,
  .contact-modal__backdrop,
  .contact-modal__panel {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
