/* =====================================================
   Two Hours To Paris — Under Construction
   Premium cinematic dark-blue teaser
   ===================================================== */

:root {
  --midnight:      #05070f;
  --navy:          #0a1024;
  --navy-soft:     #111a38;
  --electric:      #4d8dff;
  --electric-soft: #7fb0ff;
  --ice:           #dce8ff;
  --text:          #e8eeff;
  --text-dim:      rgba(232, 238, 255, 0.58);
  --text-faint:    rgba(232, 238, 255, 0.34);
  --hairline:      rgba(125, 176, 255, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;            /* no scrolling */
  background: var(--midnight);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;              /* mobile browser chrome */
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(77, 141, 255, 0.18) 0%, transparent 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(17, 26, 56, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #060a17 0%, #05070f 60%, #04060d 100%);
}

/* ---------- Interactive canvas layer ---------- */
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* ---------- Atmosphere ---------- */
.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(110% 80% at 50% 42%, transparent 52%, rgba(2, 4, 10, 0.78) 100%);
}

.grain {
  position: absolute;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Content ---------- */
.content {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(1.5rem, 8vw, 9rem);
  transform: translateY(-50%);
  max-width: min(46rem, 84vw);
  will-change: transform;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(0.66rem, 1.1vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}

.brand__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 12px 2px rgba(77, 141, 255, 0.75);
}

.headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.9rem, 9vw, 7.4rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--ice);
  text-wrap: balance;
}

.headline__accent {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--electric-soft) 0%, var(--electric) 55%, #2f6bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.copy {
  margin-top: clamp(1.4rem, 3.5vh, 2.2rem);
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- Status pill ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vh, 3rem);
  padding: 0.55rem 1.05rem 0.55rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: rgba(13, 21, 46, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.status__text {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.status__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--electric);
}

.status__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(77, 141, 255, 0.55);
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ---------- Footer microcopy ---------- */
.microcopy {
  position: absolute;
  z-index: 4;
  left: clamp(1.5rem, 8vw, 9rem);
  bottom: clamp(1.4rem, 4vh, 2.4rem);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.microcopy::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 0.85rem;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--electric), transparent);
}

/* ---------- Entrance animation ---------- */
.content > *,
.microcopy {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 1.1s var(--ease) forwards;
}
.brand     { animation-delay: 0.15s; }
.headline  { animation-delay: 0.30s; }
.copy      { animation-delay: 0.48s; }
.status    { animation-delay: 0.64s; }
.microcopy { animation-delay: 0.8s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .stage {
    background:
      radial-gradient(130% 70% at 50% 8%, rgba(77, 141, 255, 0.2) 0%, transparent 55%),
      linear-gradient(180deg, #070b1a 0%, #05070f 65%, #04060d 100%);
  }
  .content {
    left: 0;
    right: 0;
    top: 46%;
    padding-inline: 1.6rem;
    max-width: 100%;
    text-align: left;
  }
  .copy { max-width: 30rem; }
  .microcopy { left: 1.6rem; }
}

@media (max-width: 420px) {
  .headline { font-size: clamp(2.6rem, 14vw, 3.4rem); }
  .brand { letter-spacing: 0.26em; }
}

/* Short / landscape phones — keep it from crowding */
@media (max-height: 560px) {
  .content { top: 50%; }
  .copy { margin-top: 1rem; }
  .status { margin-top: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .content > *,
  .microcopy {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .status__pulse::after { animation: none; }
}
