/* =========================================================
   Phoenix Reborn — Coming Soon
   Palette: near-black / charcoal / warm gray / metallic gold / ember / off-white
   ========================================================= */

:root {
  --color-bg: #0a0908;
  --color-bg-alt: #131110;
  --color-charcoal: #1c1a18;
  --color-warm-gray: #4a453f;
  --color-off-white: #f2ede4;
  --color-off-white-dim: #cfc8bc;
  --color-gold: #c9a24b;
  --color-gold-light: #f4e2b8;
  --color-gold-dark: #8a6b2a;
  --color-ember: #b5652c;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-content: 1180px;
  --edge: clamp(1.5rem, 5vw, 4rem);

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-family: var(--font-body);
  font-weight: 500;
}
.skip-link:focus {
  left: var(--edge);
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium), background 0.5s var(--ease-premium);
}
.btn--gold {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold) 55%, var(--color-gold-dark));
  color: #171310;
  box-shadow: 0 0 0 1px rgba(201, 162, 75, 0.35);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(201, 162, 75, 0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__image {
  position: absolute;
  inset: -3% -3%;
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(201, 162, 75, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.25) 35%, rgba(10, 9, 8, 0.85) 100%),
    linear-gradient(120deg, rgba(22, 19, 15, 0.45) 0%, rgba(10, 9, 8, 0.2) 60%),
    url("../images/phoenix-hero.webp");
  background-size: cover, cover, cover, 185% auto;
  background-position: 0 0, 0 0, 0 0, center 8%;
  background-repeat: no-repeat;
  animation: hero-drift 28s ease-in-out infinite alternate;
}

/* Mobile's narrow-tall aspect exposes far more of the photo vertically than
   desktop's wide-short aspect does, so the same crop that keeps the shirt
   logo out of frame on desktop lets it creep back in on phones — zoom in
   further here to keep it cropped out on both. */
@media (max-width: 600px) {
  .hero__image {
    background-size: cover, cover, cover, 280% auto;
    background-position: 0 0, 0 0, 0 0, center 4%;
  }
}

@keyframes hero-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-0.5%, -1%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.35) 0%, rgba(10,9,8,0.2) 30%, rgba(10,9,8,0.6) 68%, rgba(10,9,8,0.97) 100%),
    linear-gradient(90deg, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0.78) 48%, rgba(10,9,8,0.35) 78%, rgba(10,9,8,0.1) 100%);
}

.hero__embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__embers span {
  position: absolute;
  bottom: -5%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold-light), var(--color-ember) 70%, transparent 100%);
  opacity: 0;
  animation-name: ember-rise;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
@keyframes ember-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 20px)); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(6rem, 16vh, 9rem) var(--edge) clamp(3.5rem, 8vh, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .hero__content {
    max-width: 620px;
    margin: 0;
    margin-left: clamp(2rem, 8vw, 7rem);
    align-items: flex-start;
    padding-top: clamp(7rem, 20vh, 11rem);
  }
}

.hero__emblem {
  width: clamp(96px, 14vw, 140px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 6px 22px rgba(201, 162, 75, 0.25));
  opacity: 0;
  animation: emblem-fade 1.6s var(--ease-premium) 0.2s forwards;
}

@keyframes emblem-fade {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-off-white-dim);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: rise-in 1s var(--ease-premium) 0.55s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-off-white);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: rise-in 1s var(--ease-premium) 0.75s forwards;
}

.hero__subhead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--color-off-white-dim);
  max-width: 30ch;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise-in 1s var(--ease-premium) 0.95s forwards;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: rise-in 1s var(--ease-premium) 1.1s forwards;
}

.hero__cta {
  opacity: 0;
  animation: rise-in 1s var(--ease-premium) 1.3s forwards;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__emblem, .hero__wordmark, .hero__headline,
  .hero__subhead, .hero__eyebrow, .hero__cta {
    opacity: 1;
    animation: none;
    transform: none;
  }
  .hero__image { animation: none; }
}

.scroll-indicator {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-bottom: 2.5rem;
  width: 1px;
  height: 52px;
}
.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator__line { animation: none; opacity: 0.6; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Brand Statement ---------- */
.brand-statement {
  background: var(--color-bg);
  padding: clamp(5rem, 14vh, 9rem) var(--edge);
  border-top: 1px solid rgba(201, 162, 75, 0.12);
}
.reveal-group {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.brand-statement__kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 1.75rem;
}
.brand-statement__lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-gold);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.brand-statement__body {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--color-off-white-dim);
  max-width: 44ch;
  margin: 0 auto 2.75rem;
}
.brand-statement__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 2.5rem;
}
.brand-statement__from {
  font-family: var(--font-display);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-gold-dark);
}

/* ---------- Principles ---------- */
.principles {
  background: var(--color-bg-alt);
  padding: clamp(5rem, 14vh, 9rem) var(--edge);
  border-top: 1px solid rgba(201, 162, 75, 0.1);
  border-bottom: 1px solid rgba(201, 162, 75, 0.1);
}
.principles__grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4rem);
}
@media (min-width: 800px) {
  .principles__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2.5rem, 4vw, 3.5rem);
  }
}
.principle {
  text-align: left;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(242, 237, 228, 0.14);
}
.principle__number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}
.principle__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 0.75rem;
}
.principle__text {
  color: var(--color-off-white-dim);
  font-size: 1rem;
  max-width: 32ch;
}

/* ---------- Founding List ---------- */
.founding-list {
  background: var(--color-bg);
  padding: clamp(5.5rem, 16vh, 10rem) var(--edge);
  position: relative;
  overflow: hidden;
}
.founding-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 75, 0.09), transparent 60%);
  pointer-events: none;
}
.founding-list__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.founding-list__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 1.25rem;
}
.founding-list__body {
  color: var(--color-off-white-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 46ch;
  margin: 0 auto 2.75rem;
}
.founding-list__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.founding-list__field {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 460px;
}
@media (min-width: 560px) {
  .founding-list__field {
    flex-direction: row;
    max-width: 560px;
  }
}
.founding-list__field input {
  flex: 1;
  min-width: 0;
  background: var(--color-charcoal);
  border: 1px solid rgba(242, 237, 228, 0.2);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.3s ease;
}
.founding-list__field input::placeholder {
  color: var(--color-warm-gray);
}
.founding-list__field input:focus-visible {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 1px var(--color-gold);
}
.founding-list__microcopy {
  font-size: 0.85rem;
  color: var(--color-warm-gray);
  letter-spacing: 0.03em;
}
.founding-list__status {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--color-gold);
}
.founding-list__status[data-state="error"] {
  color: #d98a6b;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid rgba(201, 162, 75, 0.12);
  padding: clamp(2.5rem, 6vh, 3.5rem) var(--edge);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.site-footer__emblem {
  width: 44px;
  height: auto;
  opacity: 0.85;
}
.site-footer__copy {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-warm-gray);
}
.site-footer__social {
  display: flex;
  gap: 1.5rem;
}
.site-footer__social a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-off-white-dim);
  transition: color 0.3s ease;
}
.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  color: var(--color-gold);
}
