/* ============================================
   Coming Soon — Acumec
   ============================================ */

.page-coming-soon *,
.page-coming-soon *::before,
.page-coming-soon *::after {
  box-sizing: border-box;
}

.page-coming-soon {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--color-text);
  background: #fff;
  overflow: hidden;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.coming-soon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(3.75rem, 8vw, 5rem);
  isolation: isolate;
}

/* Soft ambient wash + cursor-following spotlight */
.coming-soon__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      42rem 42rem at var(--glow-x, 50%) var(--glow-y, 42%),
      rgb(207 8 20 / 0.22) 0%,
      rgb(207 8 20 / 0.1) 28%,
      rgb(207 8 20 / 0.035) 48%,
      transparent 68%
    ),
    radial-gradient(
      70% 55% at 50% 0%,
      rgb(207 8 20 / 0.06) 0%,
      transparent 62%
    );
  transition: opacity 0.45s ease;
  will-change: background;
}

.coming-soon__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      18rem 18rem at var(--glow-x, 50%) var(--glow-y, 42%),
      rgb(207 8 20 / 0.16) 0%,
      transparent 70%
    );
  filter: blur(2px);
  opacity: 0.9;
}

.coming-soon__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.coming-soon__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(92vw, 72rem);
  width: 100%;
}

.coming-soon__logo {
  display: block;
  width: min(15.5rem, 72vw);
  height: auto;
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  opacity: 0;
  transform: translateY(14px);
  animation: coming-soon-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.coming-soon__rule {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(14rem, 55vw);
  margin: 0 0 clamp(1.15rem, 2.5vw, 1.5rem);
  opacity: 0;
  transform: translateY(14px);
  animation: coming-soon-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.coming-soon__rule::before,
.coming-soon__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.55;
}

.coming-soon__rule-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgb(207 8 20 / 0.12);
  animation: coming-soon-pulse 2.4s ease-in-out 1.1s infinite;
}

.coming-soon__title {
  position: relative;
  margin: 0;
  width: 100%;
  padding-bottom: 0.12em;
  overflow: visible;
  font-family: var(--font-family);
  font-size: clamp(3.25rem, 14vw, 9.5rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.04em;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: coming-soon-enter 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.coming-soon__title-text {
  display: inline-block;
  padding: 0.08em 0.02em 0.18em;
  line-height: 1.15;
  overflow: visible;
  background-image: linear-gradient(
    110deg,
    #8f0610 0%,
    #cf0814 28%,
    #ff3b4a 48%,
    #cf0814 68%,
    #8f0610 100%
  );
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 28px rgb(207 8 20 / 0.12));
  animation:
    coming-soon-shimmer 7s ease-in-out 1.2s infinite,
    coming-soon-breathe 5.2s ease-in-out 1.35s infinite;
}

.coming-soon__title::after {
  content: "";
  display: block;
  width: min(7.5rem, 28vw);
  height: 2px;
  margin: 0.45em auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #cf0814, transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.7;
  animation: coming-soon-rule-draw 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}

.coming-soon__copy {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px) + 1rem);
  z-index: 5;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}

@keyframes coming-soon-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes coming-soon-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes coming-soon-shimmer {
  0%,
  100% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
}

@keyframes coming-soon-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes coming-soon-rule-draw {
  to {
    transform: scaleX(1);
  }
}

@keyframes coming-soon-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgb(207 8 20 / 0.12);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgb(207 8 20 / 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon__logo,
  .coming-soon__rule,
  .coming-soon__title {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .coming-soon__title-text,
  .coming-soon__title::after,
  .coming-soon__rule-dot {
    animation: none;
  }

  .coming-soon__title::after {
    transform: scaleX(1);
  }

  .coming-soon__title-text {
    background-position: 50% 50%;
    filter: none;
  }

  .coming-soon__glow,
  .coming-soon__glow::after {
    transition: none;
  }
}

@media (max-width: 480px) {
  .coming-soon__logo {
    width: min(12.5rem, 78vw);
  }

  .coming-soon__title {
    font-size: clamp(2.6rem, 13.5vw, 4rem);
    white-space: normal;
  }
}
