:root {
  --navy: #003a71;
  --navy-deep: #012a52;
  --navy-deeper: #001f3d;
  --paper: #f7f5f0;
  --white-soft: rgba(247, 245, 240, 0.86);
  --white-faint: rgba(247, 245, 240, 0.16);
}

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

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  background: radial-gradient(120% 140% at 78% 8%, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-deeper) 100%);
  color: var(--paper);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* decorative skyline, faint, anchored to the base of the viewport */
.skyline {
  position: fixed;
  inset: 0;
  z-index: 0;
  color: var(--white-faint);
  pointer-events: none;
}

.skyline svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 46vh;
  min-height: 260px;
}

/* subtle static grain for depth, never applied to scrolling content */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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");
}

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 7vw 20vh;
  max-width: 1100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-soft);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 0 rgba(247, 245, 240, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

.headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 1.4rem;
  max-width: 14ch;
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.subhead {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white-soft);
  margin-top: 2rem;
  max-width: 34ch;
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.subhead em {
  font-style: italic;
  color: var(--paper);
}

.brand-footer {
  position: fixed;
  right: 5vw;
  bottom: 5vh;
  z-index: 3;
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}

.brand-logo {
  width: clamp(88px, 9vw, 140px);
  height: auto;
  display: block;
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 245, 240, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(247, 245, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 245, 240, 0); }
}

@media (max-width: 640px) {
  .stage {
    padding: 12vh 6vw 24vh;
  }

  .headline {
    max-width: 12ch;
  }

  .brand-footer {
    right: 6vw;
    bottom: 4vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow, .headline, .subhead, .brand-footer {
    animation: none;
    opacity: 1;
  }

  .eyebrow-dot {
    animation: none;
  }
}
