:root {
  --ink: #07090c;
  --ink-soft: #0d1115;
  --parchment: #e8e0d2;
  --muted: #9c9a96;
  --neyra: #c4aa76;
  --neyra-bright: #ead9a6;
  --vordun: #738999;
  --vordun-bright: #b6cad5;
  --line: rgba(232, 224, 210, 0.16);
  --panel: rgba(13, 17, 21, 0.7);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--parchment);
  background:
    radial-gradient(circle at 72% 30%, rgba(85, 108, 122, 0.11), transparent 28rem),
    radial-gradient(circle at 15% 55%, rgba(145, 111, 53, 0.07), transparent 30rem),
    linear-gradient(135deg, #080b0e 0%, #06080a 48%, #090b0e 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neyra);
  color: var(--ink);
  background: var(--neyra-bright);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.world {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.world::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.world__glow {
  position: absolute;
  width: 38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.08;
}

.world__glow--neyra {
  top: -18rem;
  right: 12%;
  background: var(--neyra);
}

.world__glow--vordun {
  bottom: -25rem;
  left: -10rem;
  background: var(--vordun);
}

.world__mist {
  position: absolute;
  width: 70vw;
  height: 12rem;
  border-radius: 50%;
  background: rgba(170, 183, 189, 0.035);
  filter: blur(50px);
  transform: rotate(-8deg);
  animation: drift 18s ease-in-out infinite alternate;
}

.world__mist--one {
  top: 40%;
  left: -18%;
}

.world__mist--two {
  right: -20%;
  bottom: 8%;
  animation-delay: -7s;
  animation-duration: 23s;
}

.world__stars {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(circle, rgba(234, 217, 166, 0.75) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(182, 202, 213, 0.5) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 0 0.8px, transparent 1.1px);
  background-position: 8% 13%, 67% 19%, 83% 61%;
  background-size: 173px 181px, 239px 223px, 137px 149px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 1320px);
  min-height: 100vh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand__sigil {
  display: grid;
  width: 2.3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(196, 170, 118, 0.48);
  color: var(--neyra-bright);
  font-family: var(--serif);
  font-size: 1rem;
  transform: rotate(45deg);
}

.brand__sigil {
  line-height: 1;
}

.brand__sigil-character {
  transform: rotate(-45deg);
}

.brand__name {
  color: #d8d0c3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(8, 11, 14, 0.54);
  backdrop-filter: blur(10px);
}

.no-js .language-switch {
  display: none;
}

.language-switch__button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.25rem;
  border: 0;
  color: #97948f;
  background: transparent;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 160ms ease;
}

.language-switch__button:hover,
.language-switch__button[aria-pressed="true"] {
  color: var(--neyra-bright);
}

.language-switch__button:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--neyra-bright);
  outline-offset: 5px;
}

.language-switch__divider {
  width: 1px;
  height: 0.85rem;
  background: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  min-height: min(780px, calc(100vh - 6rem));
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.hero__content {
  max-width: 44rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  color: var(--neyra);
  font-size: clamp(0.64rem, 1vw, 0.73rem);
  font-weight: 700;
  letter-spacing: 0.3em;
}

.eyebrow__line {
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neyra));
}

.hero__title {
  margin: 0;
  color: var(--parchment);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8.1vw, 7.65rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.055em;
  text-shadow: 0 0 40px rgba(232, 224, 210, 0.08);
}

.hero__title > span {
  display: block;
}

.hero__title-accent {
  margin-top: 0.3em;
  padding-left: 0.72em;
  color: transparent;
  font-size: 0.68em;
  letter-spacing: 0.32em;
  -webkit-text-stroke: 1px rgba(196, 170, 118, 0.6);
}

.hero__tagline {
  margin: 2.5rem 0 0;
  color: #d6cfc3;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
}

.hero__copy {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.91rem, 1.2vw, 1.02rem);
  line-height: 1.85;
}

.arrival {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: 38rem;
  margin-top: 2.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.arrival__status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.25rem;
  color: #807e7a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.arrival__pulse {
  width: 0.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--neyra);
  box-shadow: 0 0 0 0 rgba(196, 170, 118, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

.arrival__message {
  color: var(--neyra-bright);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.hero__visual {
  display: grid;
  min-height: 34rem;
  place-items: center;
}

.eclipse {
  position: relative;
  display: grid;
  width: min(33vw, 29rem);
  min-width: 22rem;
  aspect-ratio: 1;
  place-items: center;
}

.eclipse::before,
.eclipse::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.eclipse::before {
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 170, 118, 0.22);
  box-shadow:
    0 0 55px rgba(196, 170, 118, 0.06),
    inset 0 0 45px rgba(115, 137, 153, 0.04);
}

.eclipse::after {
  width: 56%;
  aspect-ratio: 1;
  border: 1px dotted rgba(182, 202, 213, 0.2);
  animation: spin 48s linear infinite;
}

.eclipse__orbit {
  position: absolute;
  border-radius: 50%;
}

.eclipse__orbit--outer {
  inset: 5%;
  border: 1px solid rgba(115, 137, 153, 0.12);
  clip-path: polygon(0 0, 48% 0, 48% 100%, 0 100%);
  transform: rotate(-18deg);
}

.eclipse__orbit--inner {
  inset: 25%;
  border: 1px solid rgba(196, 170, 118, 0.33);
}

.eclipse__axis {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(232, 224, 210, 0.12), transparent);
}

.eclipse__axis--horizontal {
  width: 100%;
  height: 1px;
}

.eclipse__axis--vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(232, 224, 210, 0.12), transparent);
}

.eclipse__moon {
  position: relative;
  display: grid;
  width: 37%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(234, 217, 166, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(234, 217, 166, 0.18), transparent 4%),
    radial-gradient(circle at 62% 61%, rgba(234, 217, 166, 0.08), transparent 8%),
    linear-gradient(135deg, #1a1c1c 0%, #090b0d 58%, #111921 100%);
  box-shadow:
    0 0 0 0.55rem rgba(196, 170, 118, 0.03),
    0 0 75px rgba(196, 170, 118, 0.16),
    inset -1.2rem -0.8rem 2.6rem rgba(0, 0, 0, 0.68);
}

.eclipse__moon::before {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(232, 224, 210, 0.09);
  border-radius: 50%;
  content: "";
}

.eclipse__monogram {
  color: rgba(234, 217, 166, 0.62);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  text-shadow: 0 0 28px rgba(234, 217, 166, 0.28);
}

.eclipse__star,
.eclipse__realm {
  position: absolute;
}

.eclipse__star {
  color: var(--neyra-bright);
  text-shadow: 0 0 16px currentColor;
}

.eclipse__star--one {
  top: 11%;
  right: 23%;
  font-size: 0.8rem;
}

.eclipse__star--two {
  bottom: 17%;
  left: 19%;
  color: var(--vordun-bright);
  font-size: 0.55rem;
}

.eclipse__star--three {
  top: 28%;
  left: 11%;
  font-size: 1rem;
}

.eclipse__realm {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  writing-mode: vertical-rl;
}

.eclipse__realm--neyra {
  top: 15%;
  right: 8%;
  color: rgba(234, 217, 166, 0.56);
}

.eclipse__realm--vordun {
  bottom: 15%;
  left: 8%;
  color: rgba(182, 202, 213, 0.5);
  transform: rotate(180deg);
}

.realms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.realm-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.3rem, 3vw, 2.4rem);
  min-height: 15rem;
  padding: clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
  background: rgba(8, 11, 14, 0.86);
}

.realm-card::after {
  position: absolute;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  filter: blur(55px);
  opacity: 0.07;
}

.realm-card--neyra::after {
  top: -6rem;
  right: -4rem;
  background: var(--neyra);
}

.realm-card--vordun::after {
  right: -4rem;
  bottom: -6rem;
  background: var(--vordun);
}

.realm-card__number {
  color: rgba(232, 224, 210, 0.22);
  font-family: var(--serif);
  font-size: 0.78rem;
}

.realm-card__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.realm-card--neyra .realm-card__kicker {
  color: var(--neyra);
}

.realm-card--vordun .realm-card__kicker {
  color: var(--vordun-bright);
}

.realm-card h2 {
  margin: 0;
  color: #dcd5c9;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
}

.realm-card p:last-child {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: #858582;
  font-size: 0.9rem;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 8rem;
  color: #8d8b86;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.site-footer__rule {
  height: 1px;
  background: var(--line);
}

.site-footer__coordinates {
  color: #4e5356;
  font-family: var(--serif);
  letter-spacing: 0.2em;
}

@keyframes drift {
  from {
    transform: translate3d(-4%, -5%, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(7%, 8%, 0) rotate(-5deg);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.5rem rgba(196, 170, 118, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(196, 170, 118, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-block: 5rem 4rem;
  }

  .hero__content {
    max-width: 46rem;
  }

  .hero__visual {
    min-height: auto;
    margin-top: 3rem;
  }

  .eclipse {
    width: min(76vw, 29rem);
  }

  .realms {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 2rem, 1320px);
  }

  .site-header {
    min-height: 5rem;
  }

  .brand__name {
    display: none;
  }

  .hero {
    padding-block: 4.2rem 3.5rem;
  }

  .eyebrow__line {
    width: 1.6rem;
  }

  .hero__title {
    font-size: clamp(3.15rem, 18vw, 5.1rem);
  }

  .hero__title-accent {
    padding-left: 0.25em;
    letter-spacing: 0.22em;
  }

  .hero__tagline {
    margin-top: 2rem;
  }

  .arrival {
    display: grid;
    gap: 0.8rem;
  }

  .arrival__message {
    order: -1;
  }

  .eclipse {
    min-width: 18rem;
  }

  .realm-card {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 2rem 1fr;
    min-height: 9rem;
    line-height: 1.6;
  }

  .site-footer__coordinates {
    display: none;
  }
}

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

@media (forced-colors: active) {
  .hero__title-accent {
    color: CanvasText;
    -webkit-text-stroke: 0;
  }
}
