/* PHOENIX — transformation, rising from ash. Black-to-ember gradient,
   floating embers drifting upward, a glowing gradient title. */

:root {
  --black: #0a0705;
  --ember-1: #ff5a1f;
  --ember-2: #ffb020;
  --ash: #b8a89c;
  --ash-dim: #7d6f65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--black) 0%, #1a0d08 55%, #2c1208 85%, #3d1608 100%);
  color: var(--ash);
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.ember {
  position: fixed;
  bottom: -20px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember-2);
  box-shadow: 0 0 8px 2px var(--ember-1);
  opacity: 0;
  animation: rise 7s ease-in infinite;
}

.ember:nth-child(1) { left: 12%; animation-delay: 0s; }
.ember:nth-child(2) { left: 28%; animation-delay: -1.6s; }
.ember:nth-child(3) { left: 47%; animation-delay: -3.2s; }
.ember:nth-child(4) { left: 66%; animation-delay: -0.8s; }
.ember:nth-child(5) { left: 82%; animation-delay: -4.5s; }
.ember:nth-child(6) { left: 92%; animation-delay: -2.4s; }

@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 6rem 1.5rem 6rem;
  text-align: center;
}

.page .back {
  display: inline-block;
  margin-bottom: 4rem;
  color: var(--ash-dim);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.page .back:hover {
  color: var(--ember-2);
}

.glow {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ember-2) 0%, var(--ember-1) 45%, transparent 75%);
  filter: blur(6px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}

.page h1 {
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 5.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  background: linear-gradient(180deg, #ffd98a 0%, var(--ember-2) 40%, var(--ember-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page .intro {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ember-2);
  margin: 0 0 2rem;
}

.page .content {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ash);
  text-align: left;
}

.page .content p {
  margin: 0 0 1.4rem;
}
