/* Phoenix splash — adapted from the 2021 portfolio “rising” design */

:root {
  --violet: #710b79;
  --pink: #ff99cc;
  --ink: #140010;
  --white: #f8f8ff;
  --yellow: #f2b002;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Quicksand", "Josefin Sans", Helvetica, sans-serif;
  color: var(--ink);
  background: #2a0530;
  -webkit-font-smoothing: antialiased;
}

.splash {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(to top, var(--pink) 8%, var(--violet) 100%);
}

.splash-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 34rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.brand-name {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
}

.phoenix {
  width: min(70vw, 280px);
  height: auto;
  transform: rotate(5deg) scaleX(-1);
  filter: drop-shadow(0 18px 28px rgba(20, 0, 16, 0.35));
  animation: rise 1.2s ease-out both;
}

.quote {
  margin: 0;
  max-width: 28rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink);
  animation: fade-up 1s ease 0.25s both;
}

.quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}

.lede {
  margin: 0;
  max-width: 26rem;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(20, 0, 16, 0.25);
  animation: fade-up 1s ease 0.4s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(183, 0, 139, 0.55);
  color: var(--white);
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 0, 16, 0.28);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  animation: fade-up 1s ease 0.55s both;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(183, 0, 139, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 0, 16, 0.35);
  outline: none;
}

.flames {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: rotate(5deg) scaleX(-1) translateY(28px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: rotate(5deg) scaleX(-1) translateY(0) scale(1);
  }
}

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

@media (max-width: 520px) {
  .phoenix {
    width: min(62vw, 225px);
  }

  .splash-inner {
    gap: 1rem;
  }

  .flames {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phoenix,
  .quote,
  .lede,
  .cta {
    animation: none;
  }
}
