:root {
  --bg: #0c0b0a;
  --ink: #f3efe6;
  --ink-muted: rgba(243, 239, 230, 0.62);
  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.45);
  --line: rgba(196, 165, 116, 0.35);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, transparent 20%, rgba(12, 11, 10, 0.55) 70%, rgba(12, 11, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.35) 0%, transparent 25%, transparent 70%, rgba(12, 11, 10, 0.75) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' 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: 3;
  min-height: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.brand {
  align-self: end;
  padding-bottom: clamp(0.5rem, 2vh, 1.5rem);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand__mark {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  animation: fade 1.4s ease 0.2s both;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.brand__first {
  display: block;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 400;
  color: var(--ink);
}

.brand__last {
  display: block;
  font-size: clamp(3.2rem, 11vw, 7rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 0.12em;
}

.message {
  align-self: start;
  max-width: 28rem;
  padding-top: clamp(1rem, 3vh, 2rem);
  animation: rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.message__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.message__lead {
  font-weight: 300;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--ink-muted);
}

.message__line {
  width: 3.5rem;
  height: 1px;
  margin: 1.4rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform-origin: center;
  animation: lineGrow 1.4s ease 0.7s both;
}

.message__note {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
}

.foot {
  position: absolute;
  bottom: clamp(1.2rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  animation: fade 1.5s ease 0.9s both;
}

.foot__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-soft);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 600px) {
  .brand__mark {
    letter-spacing: 0.28em;
  }

  .message__title {
    letter-spacing: 0.12em;
  }

  .message__note {
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .message,
  .brand__mark,
  .message__line,
  .foot,
  .foot__dot {
    animation: none;
  }
}
