:root {
  --ink: #070708;
  --ash: #121416;
  --steel: #1c2226;
  --mist: #d1d1d1;
  --bone: #efe8dc;
  --ember: #e67e22;
  --ember-hot: #f0a14a;
  --sprout: #63a3a3;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  color: var(--mist);
  font-family: var(--font-body);
  background: var(--ink);
  overflow-x: hidden;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(230, 126, 34, 0.28);
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(10px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--bone);
  text-decoration: none;
}

.site-brand img {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
}

.site-brand__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-brand__text span {
  display: block;
  margin-top: 0.1rem;
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-links a {
  color: var(--mist);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
  color: var(--ember-hot);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere__hero {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.34) 0%, rgba(7, 7, 8, 0.18) 44%, rgba(7, 7, 8, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 7, 8, 0.42) 0%, rgba(7, 7, 8, 0.24) 39%, rgba(7, 7, 8, 0.61) 78%, rgba(7, 7, 8, 0.76) 100%),
    url("assets/hero.jpg") center center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

.atmosphere__worn {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background: url("assets/worn.jpg") center center / cover no-repeat;
}

.atmosphere__embers {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: min(58vw, 720px);
  height: min(42vh, 420px);
  background: url("assets/embers.png") right bottom / contain no-repeat;
  opacity: 0.525;
  animation: ember-pulse 7s ease-in-out infinite;
}

.atmosphere__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 58% at 50% 44%, rgba(7, 7, 8, 0.045) 0%, rgba(7, 7, 8, 0.46) 72%, rgba(7, 7, 8, 0.81) 100%);
}

.stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 3.75rem);
  min-height: calc(100dvh - 3.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.2vh, 1.4rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.brand-mark {
  width: clamp(7.5rem, 18vw, 11.5rem);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 18px 40px rgba(0, 0, 0, 0.55);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  color: var(--ember);
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 2.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

.tagline__rule {
  display: block;
  width: clamp(1.5rem, 5vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0.85;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(0.6rem, 2vh, 1.4rem);
  width: min(100%, 52rem);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 340ms both;
}

.action {
  flex: 1 1 10.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(230, 126, 34, 0.42);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(28, 34, 38, 0.72) 0%, rgba(12, 14, 16, 0.88) 100%);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.35);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.action i {
  color: var(--ember);
  font-size: 1.05em;
  transition: color 180ms ease;
}

.action:hover,
.action:focus-visible {
  border-color: var(--ember-hot);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(40, 28, 18, 0.88) 0%, rgba(18, 12, 8, 0.94) 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 214, 170, 0.08),
    0 0 0 1px rgba(230, 126, 34, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.45);
  outline: none;
}

.action:hover i,
.action:focus-visible i {
  color: var(--ember-hot);
}

.action--primary {
  border-color: rgba(99, 163, 163, 0.55);
}

.action--primary i {
  color: var(--sprout);
}

.action--primary:hover,
.action--primary:focus-visible {
  border-color: #7fbfbf;
  background:
    linear-gradient(180deg, rgba(24, 40, 40, 0.9) 0%, rgba(10, 16, 16, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(180, 230, 230, 0.08),
    0 0 0 1px rgba(99, 163, 163, 0.2),
    0 14px 34px rgba(0, 0, 0, 0.45);
}

.action--primary:hover i,
.action--primary:focus-visible i {
  color: #8fd0d0;
}

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

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes ember-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.7;
    transform: translate3d(-1.5%, -2%, 0);
  }
}

@media (max-width: 640px) {
  .site-brand__text span {
    display: none;
  }

  .actions {
    flex-direction: column;
    width: min(100%, 22rem);
  }

  .action {
    flex-basis: auto;
  }

  .tagline {
    letter-spacing: 0.18em;
  }

  .atmosphere__embers {
    width: 85vw;
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__hero,
  .atmosphere__embers,
  .brand-mark,
  .brand,
  .tagline,
  .actions {
    animation: none;
  }

  .action:hover,
  .action:focus-visible {
    transform: none;
  }
}
