/* METRIDIUM v2 — Hero */

.scene {
  position: relative;
  min-height: min(110vh, 1200px);
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vh, 3.5rem);
  opacity: 0.08;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.8s ease,
    transform 1s var(--ease-out-expo),
    filter 1s ease;
  filter: blur(6px);
}

.scene.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  z-index: 2;
}

.scene--hero {
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 3rem);
}

.scene--hero::before {
  content: '';
  position: absolute;
  inset: -25% -10%;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25), rgba(33, 78, 110, 0.15) 50%, transparent 75%);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}

.scene--hero .eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.45em;
  font-size: 0.75rem;
  color: var(--primary);
}

.scene--mission {
  align-items: center;
  gap: clamp(2rem, 4vh, 3rem);
}

.scene--about {
  flex-direction: column;
  gap: 2rem;
}

.scene--seafloor {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(2rem, 4vh, 3.5rem);
  padding: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(2, 6, 14, 0.4) 15%,
    rgba(1, 4, 10, 0.8) 40%,
    rgba(0, 2, 8, 0.95) 70%,
    #000206 100%);
}

#heroTitle {
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  animation: drift 8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

#heroTitle span {
  position: relative;
  display: inline-flex;
  padding: 0.08em 0.15em;
  color: transparent;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.95) 0%, rgba(212, 244, 238, 0.85) 35%, rgba(132, 188, 221, 0.55) 65%, rgba(24, 60, 94, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.02em;
}

#heroTitle span:nth-child(2) {
  transform: translateY(2px);
}

#heroTitle span:nth-child(3) {
  transform: translateY(4px);
}

.hero-title-dots {
  position: absolute;
  left: 54%;
  top: 0;
  transform: translate(-50%, -62%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-title-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(180, 255, 245, 0.75) 35%, rgba(0, 255, 200, 0.55) 60%, rgba(0, 200, 255, 0.28) 80%, rgba(0, 0, 0, 0) 100%);
  filter: blur(0.1px);
  box-shadow:
    0 0 14px rgba(0, 255, 200, 0.55),
    0 0 28px rgba(0, 200, 255, 0.25);
  opacity: 0.95;
  animation:
    heroDotFloat 2.9s ease-in-out infinite,
    heroDotPulse 1.9s ease-in-out infinite;
}

.hero-title-dot--a {
  transform: translate(-50%, -50%);
}

.hero-title-dot--b {
  width: 9px;
  height: 9px;
  transform: translate(calc(-50% + 14px), calc(-50% - 3px));
  opacity: 0.75;
  animation-delay: 0.35s, 0.55s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes heroDotFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes heroDotPulse {
  0%,
  100% {
    transform: scale(1);
    filter: blur(0.1px);
  }
  50% {
    transform: scale(1.12);
    filter: blur(0.3px);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.scene--hero .lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.scope-rotator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 720px;
  min-height: 4.8em;
  margin: 0.6rem auto 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--white-06);
}

.scope-line {
  flex: 1;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-style: italic;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.55;
  text-align: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.scope-line--out {
  opacity: 0;
  transform: translateY(6px);
}

.scope-fineprint {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
  margin: 0.3rem 0 0;
  max-width: 720px;
  text-align: center;
}

.scope-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.18s ease;
}

.scope-arrow:hover {
  opacity: 1;
}

.scope-arrow:active {
  transform: scale(0.9);
}

.scope-arrow-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.scope-arrow:hover .scope-arrow-img {
  opacity: 1;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-mono);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.9rem 2.5rem;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(111, 183, 216, 0.65), rgba(39, 78, 115, 0.85));
  color: #010104;
  box-shadow:
    0 12px 25px rgba(3, 5, 9, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--muted);
}

.mission-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--white-08);
  background:
    linear-gradient(135deg, rgba(4, 8, 18, 0.85), rgba(8, 14, 28, 0.7));
  box-shadow:
    inset 0 0 40px rgba(148, 226, 255, 0.03),
    0 20px 50px rgba(0, 0, 0, 0.35);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.mission-block:hover {
  border-color: rgba(148, 226, 255, 0.18);
  transform: translateY(-3px);
}

.mission-marker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--secondary);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(148, 226, 255, 0.15);
  border-radius: var(--radius-pill);
  background: rgba(148, 226, 255, 0.04);
  height: fit-content;
  white-space: nowrap;
}

.mission-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mission-content h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  background: linear-gradient(120deg, #fff 0%, rgba(200, 230, 255, 0.85) 60%, rgba(148, 226, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mission-subheading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-45);
  margin-top: -0.35rem;
}

.mission-highlight {
  margin: 0.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--secondary);
  background: rgba(148, 226, 255, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.mission-content p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
}

.mission-detail {
  color: rgba(200, 215, 235, 0.6) !important;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem) !important;
  border-top: 1px solid var(--white-06);
  padding-top: 0.75rem;
  margin-top: 0.25rem !important;
}

.about-copy {
  max-width: 1100px;
  text-align: left;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}

.about-capabilities {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.65rem;
}

.about-capabilities li {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--white-08);
  background: rgba(6, 10, 20, 0.65);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
  position: relative;
  padding-left: 1.75rem;
}

.about-capabilities li::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 8px rgba(148, 226, 255, 0.4);
}

.about-operation,
.about-orientation {
  margin: 1rem 0 0 !important;
  color: var(--muted) !important;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

.about-closing {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: rgba(97, 243, 206, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .mission-block {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mission-marker {
    justify-self: start;
  }
}