:root {
  --bg: #15100d;
  --bg-2: #1c1512;
  --ink: #f4ede2;
  --ink-dim: #a99e91;
  --accent: #e8734a;
  --accent-dim: #c9a15a;
  --line: rgba(244, 237, 226, 0.12);
  --serif: 'Fraunces', 'Iowan Old Style', serif;
  --sans: 'Archivo', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  position: relative;
}

/* Ambient background glow, slow drift */
.glow {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38rem 30rem at 78% 18%, rgba(232, 115, 74, 0.24), transparent 60%),
    radial-gradient(30rem 26rem at 12% 82%, rgba(201, 161, 90, 0.14), transparent 65%),
    radial-gradient(60rem 50rem at 50% 50%, var(--bg-2), var(--bg) 70%);
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.05);
  }
}

/* Fixed grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--ink-dim);
}

.mark__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 115, 74, 0.18);
}

.hero {
  max-width: 42rem;
  padding-top: clamp(2rem, 8vh, 6rem);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--accent-dim);
  margin: 0 0 1.25rem;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.12s;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero__copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 34rem;
  margin: 0 0 2.5rem;
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

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

@media (prefers-reduced-motion: reduce) {
  .glow {
    animation: none;
  }

  .hero,
  .hero__eyebrow,
  .hero__title,
  .hero__copy {
    animation: none;
  }
}
