:root {
  --bg: #0d0c0a;
  --text: #eee7dc;
  --muted: rgba(238, 231, 220, 0.58);
  --muted-soft: rgba(238, 231, 220, 0.34);

  --line-strong: rgba(238, 231, 220, 0.52);
  --line: rgba(238, 231, 220, 0.36);
  --line-soft: rgba(238, 231, 220, 0.25);
  --line-faint: rgba(238, 231, 220, 0.17);
  --highlight: rgba(238, 231, 220, 0.82);

  --warm: rgba(206, 174, 128, 0.13);

  --x: 50%;
  --y: 50%;
  --glow-opacity: 0.48;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Arial Narrow",
    "Helvetica Neue Condensed",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

.landing {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  cursor: default;
}

.landing::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -5;
  background:
    radial-gradient(circle at var(--x) var(--y), rgba(238, 231, 220, 0.05), transparent 16%),
    radial-gradient(circle at 50% 50%, var(--warm), transparent 34%),
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.025), transparent 28%),
    radial-gradient(circle at 82% 80%, rgba(255, 255, 255, 0.02), transparent 30%),
    linear-gradient(135deg, #0d0c0a 0%, #17130f 52%, #0d0c0a 100%);
  animation: ambientShift 28s ease-in-out infinite alternate;
}

.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.022), transparent 58%);
  opacity: 0.44;
  pointer-events: none;
}

.cursor-glow {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(238, 231, 220, 0.06), transparent 70%);
  opacity: var(--glow-opacity);
  z-index: -3;
  pointer-events: none;
}

/* Fixed shell: mouse does not move the rings anymore */
.orbits-shell {
  position: absolute;
  width: min(94vw, 980px);
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
}

/* Long, independent zoom-in movement */
.orbits-zoom {
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: slowZoom 180s linear forwards;
  will-change: transform;
}

/* Stronger collective breathing movement */
.orbits-breath {
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: breathe 18s ease-in-out infinite;
  will-change: transform;
}

.orbits {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-group {
  transform-origin: 500px 500px;
  transform-box: view-box;
  will-change: transform;
}

.base,
.motion {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.base {
  stroke: var(--line);
  stroke-width: 3.8;
}

.base-strong {
  stroke: var(--line-strong);
  stroke-width: 4.4;
}

.base-soft {
  stroke: var(--line-soft);
}

.base-faint {
  stroke: var(--line-faint);
}

.motion {
  stroke: var(--highlight);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 82 918;
  opacity: 0.7;
  animation: travel 7s linear infinite;
}

/* Each oval orbits independently */
.orbit-1 {
  animation: orbit1 23s linear infinite;
}

.orbit-2 {
  animation: orbit2 31s linear infinite reverse;
}

.orbit-3 {
  animation: orbit3 37s linear infinite;
}

.orbit-4 {
  animation: orbit4 42s linear infinite reverse;
}

.orbit-5 {
  animation: orbit5 28s linear infinite;
}

.orbit-6 {
  animation: orbit6 35s linear infinite reverse;
}

.orbit-7 {
  animation: orbit7 47s linear infinite;
}

.orbit-8 {
  animation: orbit8 39s linear infinite reverse;
}

.orbit-9 {
  animation: orbit9 26s linear infinite;
}

.orbit-10 {
  animation: orbit10 33s linear infinite reverse;
}

.orbit-11 {
  animation: orbit11 44s linear infinite;
}

.orbit-12 {
  animation: orbit12 52s linear infinite reverse;
}

/* Different internal line speeds */
.motion-1 { animation-duration: 6.2s; }
.motion-2 { animation-duration: 8s; animation-direction: reverse; }
.motion-3 { animation-duration: 7.4s; }
.motion-4 { animation-duration: 9.2s; animation-direction: reverse; }
.motion-5 { animation-duration: 6.8s; }
.motion-6 { animation-duration: 8.7s; animation-direction: reverse; }
.motion-7 { animation-duration: 10.2s; }
.motion-8 { animation-duration: 7.9s; animation-direction: reverse; }
.motion-9 { animation-duration: 6.5s; }
.motion-10 { animation-duration: 8.4s; animation-direction: reverse; }
.motion-11 { animation-duration: 9.8s; }
.motion-12 { animation-duration: 7.1s; animation-direction: reverse; }

.content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 24px;
  width: min(88vw, 720px);
  transform: translateY(4vh);
  animation: contentAppear 1.8s ease forwards;
}

.label,
h1,
.footer {
  font-family:
    "Arial Narrow",
    "Helvetica Neue Condensed",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

.label {
  margin-bottom: 18px;
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--muted);
  font-weight: 700;
}

h1 {
  font-size: clamp(1rem, 1.65vw, 1.38rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: rgba(238, 231, 220, 0.82);
  font-weight: 700;
  text-transform: none;
}

.footer {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-soft);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Independent orbit rotations */
@keyframes orbit1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit2 {
  from { transform: rotate(24deg); }
  to { transform: rotate(384deg); }
}

@keyframes orbit3 {
  from { transform: rotate(58deg); }
  to { transform: rotate(418deg); }
}

@keyframes orbit4 {
  from { transform: rotate(86deg); }
  to { transform: rotate(446deg); }
}

@keyframes orbit5 {
  from { transform: rotate(118deg); }
  to { transform: rotate(478deg); }
}

@keyframes orbit6 {
  from { transform: rotate(148deg); }
  to { transform: rotate(508deg); }
}

@keyframes orbit7 {
  from { transform: rotate(196deg); }
  to { transform: rotate(556deg); }
}

@keyframes orbit8 {
  from { transform: rotate(232deg); }
  to { transform: rotate(592deg); }
}

@keyframes orbit9 {
  from { transform: rotate(274deg); }
  to { transform: rotate(634deg); }
}

@keyframes orbit10 {
  from { transform: rotate(314deg); }
  to { transform: rotate(674deg); }
}

@keyframes orbit11 {
  from { transform: rotate(42deg); }
  to { transform: rotate(402deg); }
}

@keyframes orbit12 {
  from { transform: rotate(156deg); }
  to { transform: rotate(516deg); }
}

/* Moving internal highlight inside each complete oval */
@keyframes travel {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -1000;
  }
}

/* More visible group breathing */
@keyframes breathe {
  0% {
    transform: scale(0.955);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.085);
    opacity: 1;
  }

  100% {
    transform: scale(0.955);
    opacity: 0.9;
  }
}

/* Slow zoom-in, independent from breathing */
@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.42);
  }
}

@keyframes ambientShift {
  from {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }

  to {
    transform: scale(1.035) rotate(1.5deg);
    filter: brightness(1.06);
  }
}

@keyframes contentAppear {
  from {
    opacity: 0;
    transform: translateY(5vh);
  }

  to {
    opacity: 1;
    transform: translateY(4vh);
  }
}

@media (max-width: 760px) {
  .orbits-shell {
    width: 134vw;
  }

  .base {
    stroke-width: 3;
  }

  .base-strong {
    stroke-width: 3.6;
  }

  .motion {
    stroke-width: 1.8;
  }

  h1 {
    font-size: clamp(1rem, 4.8vw, 1.3rem);
  }

  .label {
    font-size: 0.56rem;
    letter-spacing: 0.3em;
  }

  .footer {
    left: 22px;
    right: 22px;
    bottom: 22px;
    font-size: 0.54rem;
    letter-spacing: 0.13em;
  }
}

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