/* Risen from the Ashes — landing page styles
   Per visual-style-bible: ember orange #FF6B1A on deep black, Bebas Neue display,
   restraint over clutter, premium cinema feel */

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

:root {
  --black: #000000;
  --ember: #FF6B1A;
  --white: #FFFFFF;
  --light-gray: #C8C8C8;
  --warm-bone: #F4EBD9;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HERO */
.hero {
  text-align: center;
  padding: 3rem 0 4rem;
  width: 100%;
}

.mark {
  width: 110px;
  height: auto;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
}

.wordmark {
  font-family: "Bebas Neue", "Helvetica Neue", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0.12em;
  font-weight: normal;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.3s forwards;
}

.descriptor {
  font-family: "Bebas Neue", "Helvetica Neue", sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  letter-spacing: 0.35em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.6s forwards;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--light-gray);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.9s forwards;
}

/* VIDEO */
.video {
  width: 100%;
  max-width: 900px;
  margin: 1rem 0 3rem;
}

.video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  background: var(--black);
  box-shadow: 0 0 60px rgba(255, 107, 26, 0.08);
}

/* OFFER (sit below the video, restrained) */
.offer {
  text-align: center;
  padding: 2rem 0 3rem;
}

.offer p {
  font-family: "Bebas Neue", "Helvetica Neue", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.offer p:last-child {
  color: var(--light-gray);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* CONTACT */
.contact {
  text-align: center;
  padding: 3rem 0;
  width: 100%;
}

.cta {
  font-family: "Bebas Neue", "Helvetica Neue", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.dm-link {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  border: 2px solid var(--ember);
  color: var(--white);
  text-decoration: none;
  font-family: "Bebas Neue", "Helvetica Neue", sans-serif;
  letter-spacing: 0.15em;
  font-size: 1.05rem;
  transition: background 0.25s ease, color 0.25s ease;
  min-width: 300px;
  text-align: center;
}

.dm-link:hover {
  background: var(--ember);
  color: var(--black);
}

/* FOOTER */
footer {
  margin-top: 4rem;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  main {
    padding: 4rem 2rem;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .mark {
    width: 130px;
    margin-bottom: 2.5rem;
  }

  .links {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

/* ANIMATIONS — restrained, doctrine-aligned */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle ember pulse on the mark — visual rhyme to the end card */
.mark {
  animation: fadeIn 1.5s ease-out forwards, emberPulse 6s ease-in-out 2s infinite;
}

@keyframes emberPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
