:root {
  --bg: #060708;
  --bg-deep: #030405;
  --ink: #f3f3f0;
  --muted: rgba(243, 243, 240, 0.56);
  --faint: rgba(243, 243, 240, 0.22);
  --hairline: rgba(255, 255, 255, 0.09);
  --glow: rgba(179, 197, 255, 0.16);
  --glow-soft: rgba(141, 162, 230, 0.08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(24, 28, 38, 0.82) 0, rgba(9, 11, 14, 0.52) 26%, rgba(3, 4, 5, 0.98) 72%),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection {
  background: rgba(190, 204, 255, 0.18);
  color: #fff;
}

.stage {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: -22%;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at center, #000 0, rgba(0,0,0,.55) 32%, transparent 69%);
  transform: perspective(650px) rotateX(66deg) translateY(26%);
  transform-origin: center;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.52;
  will-change: transform;
}

.halo-a {
  width: 44vw;
  height: 44vw;
  min-width: 380px;
  min-height: 380px;
  left: 42%;
  top: 17%;
  background: radial-gradient(circle, var(--glow) 0, transparent 68%);
  animation: drift-a 18s var(--ease) infinite alternate;
}

.halo-b {
  width: 32vw;
  height: 32vw;
  min-width: 300px;
  min-height: 300px;
  left: 20%;
  top: 48%;
  background: radial-gradient(circle, var(--glow-soft) 0, transparent 70%);
  animation: drift-b 23s var(--ease) infinite alternate;
}

.signal {
  position: absolute;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

.signal-ring,
.signal-core {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-ring {
  border: 1px solid rgba(224, 231, 255, 0.10);
  box-shadow:
    0 0 60px rgba(163, 182, 246, 0.035),
    inset 0 0 60px rgba(163, 182, 246, 0.025);
}

.signal-ring-a {
  width: 69%;
  aspect-ratio: 1;
  animation: pulse-a 8s ease-in-out infinite;
}

.signal-ring-b {
  width: 97%;
  aspect-ratio: 1;
  opacity: 0.52;
  animation: pulse-b 11s ease-in-out infinite;
}

.signal-core {
  width: 5px;
  height: 5px;
  background: rgba(239, 243, 255, 0.8);
  box-shadow:
    0 0 18px 4px rgba(197, 211, 255, 0.18),
    0 0 90px 18px rgba(153, 174, 245, 0.09);
  animation: breathe 6s ease-in-out infinite;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  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='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.shell {
  width: min(1240px, calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 24px;
}

.brand {
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,.93);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.38);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(213, 223, 255, .76);
  box-shadow: 0 0 12px rgba(183, 202, 255, .42);
  animation: breathe 5s ease-in-out infinite;
}

.copy {
  align-self: center;
  width: min(930px, 100%);
  margin: 42px auto;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.06fr) 1px minmax(0, .84fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.fa-copy {
  grid-column: 1;
  justify-self: start;
  width: min(470px, 100%);
  direction: rtl;
  text-align: right;
}

.fa-copy p,
.en-copy p {
  margin: 0;
}

.lead {
  font-size: clamp(1.62rem, 3.1vw, 3.22rem);
  line-height: 1.72;
  font-weight: 300;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.secondary {
  margin-top: clamp(28px, 4vh, 48px) !important;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.36rem);
  line-height: 2.05;
  font-weight: 300;
}

.arrival {
  margin-top: 34px !important;
  color: rgba(255,255,255,.90);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.divider {
  grid-column: 2;
  align-self: stretch;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.divider span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,.05) 16%,
    rgba(255,255,255,.17) 50%,
    rgba(255,255,255,.05) 84%,
    transparent
  );
}

.en-copy {
  grid-column: 3;
  justify-self: end;
  width: min(360px, 100%);
  direction: ltr;
  text-align: left;
  color: rgba(255,255,255,.46);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(.84rem, 1vw, 1rem);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: .015em;
}

.en-copy p + p {
  margin-top: 24px;
}

.arrival-en {
  color: rgba(255,255,255,.76);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255,255,255,.22);
  font-size: .56rem;
  letter-spacing: .2em;
}

.footer-line {
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.brand-row,
.copy,
.footer {
  opacity: 0;
  transform: translateY(10px);
}

.is-ready .brand-row {
  animation: reveal 1.2s var(--ease) forwards .05s;
}

.is-ready .copy {
  animation: reveal 1.35s var(--ease) forwards .22s;
}

.is-ready .footer {
  animation: reveal 1.2s var(--ease) forwards .48s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%, 100% { opacity: .42; transform: translate(-50%, -50%) scale(.86); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.16); }
}

@keyframes pulse-a {
  0%, 100% { transform: translate(-50%, -50%) scale(.94); opacity: .30; }
  50% { transform: translate(-50%, -50%) scale(1.02); opacity: .64; }
}

@keyframes pulse-b {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .20; }
  50% { transform: translate(-50%, -50%) scale(.96); opacity: .42; }
}

@keyframes drift-a {
  from { transform: translate3d(-4%, -3%, 0) scale(.96); }
  to { transform: translate3d(6%, 5%, 0) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate3d(5%, 4%, 0) scale(1.08); }
  to { transform: translate3d(-5%, -5%, 0) scale(.94); }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 36px, 650px);
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .status {
    font-size: .52rem;
    letter-spacing: .16em;
  }

  .copy {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 50px auto 42px;
  }

  .fa-copy,
  .en-copy {
    grid-column: auto;
    width: 100%;
  }

  .divider {
    grid-column: auto;
  }

  .lead {
    font-size: clamp(1.86rem, 8.5vw, 3rem);
    line-height: 1.62;
  }

  .secondary {
    font-size: 1rem;
    line-height: 2;
  }

  .divider {
    min-height: 1px;
    height: 1px;
    width: 100%;
  }

  .divider span {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      to left,
      transparent,
      rgba(255,255,255,.15),
      transparent
    );
  }

  .en-copy {
    max-width: 430px;
    color: rgba(255,255,255,.40);
    font-size: .82rem;
  }

  .signal {
    width: 92vw;
    top: 43%;
  }

  .grid {
    background-size: 58px 58px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: .78rem;
    letter-spacing: .34em;
  }

  .status {
    max-width: 90px;
    line-height: 1.4;
  }

  .lead {
    letter-spacing: -0.04em;
  }

  .footer {
    font-size: .48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .brand-row,
  .copy,
  .footer {
    opacity: 1;
    transform: none;
  }
}
