:root {
  --bg: #0e0c0b;
  --bg-elevated: #161211;
  --ink: #f4efe8;
  --ink-muted: rgba(244, 239, 232, 0.72);
  --champagne: #d4b896;
  --champagne-bright: #e8d4b8;
  --gold-line: rgba(212, 184, 150, 0.35);
  --gold-glow: rgba(200, 170, 130, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  isolation: isolate;
}

/* Cinematic backdrop — warm, restrained */
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(180, 140, 95, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 50%, rgba(90, 55, 40, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 80%, rgba(60, 40, 30, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #0a0908 0%, var(--bg) 35%, #12100e 100%);
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.sparks {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--champagne-bright) 0%, transparent 75%);
  box-shadow: 0 0 10px 1px var(--gold-glow);
  animation: float-spark var(--dur, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes float-spark {
  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.2;
    transform: translate(var(--tx, 12px), var(--ty, -20px));
  }
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 68rem;
  animation: fade-in 1s ease-out forwards;
  opacity: 0;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* Side-by-side hero: logo | divider | copy */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1.05fr);
    gap: 0;
    align-items: center;
  }
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  width: 100%;
  max-width: min(100%, 380px);
}

.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.5));
}

.hero__divider {
  display: none;
  width: 1px;
  min-height: 200px;
  align-self: center;
  margin: 0 clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--gold-line) 15%,
    rgba(212, 184, 150, 0.2) 50%,
    var(--gold-line) 85%,
    transparent 100%
  );
}

@media (min-width: 880px) {
  .hero__divider {
    display: block;
  }
}

.hero__copy {
  text-align: center;
  max-width: 26rem;
  margin: 0 auto;
}

@media (min-width: 880px) {
  .hero__copy {
    text-align: left;
    margin: 0;
    max-width: 28rem;
    padding-left: 0.25rem;
  }
}

.hero__title {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-style: normal;
}

.hero__titleAccent {
  display: block;
  margin-top: 0.15em;
  font-style: italic;
  font-weight: 500;
  color: var(--champagne-bright);
  text-shadow: 0 0 40px var(--gold-glow);
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* Refined CTA — outline, not a gold brick */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.35rem 0.7rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 252, 248, 0.04);
  color: var(--champagne-bright);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.hero__cta:hover {
  background: rgba(212, 184, 150, 0.12);
  border-color: rgba(232, 212, 184, 0.55);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(232, 212, 184, 0.15), 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.hero__cta:active {
  transform: translateY(0);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}

.hero__ctaIcon {
  display: flex;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.hero__cta:hover .hero__ctaIcon {
  transform: translateX(4px);
}

.hero__hint {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.42);
  line-height: 1.5;
}

@media (min-width: 880px) {
  .hero__hint {
    max-width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
    opacity: 1;
  }

  .spark {
    animation: none;
    opacity: 0.15;
  }

  .hero__cta:hover .hero__ctaIcon {
    transform: none;
  }

  .hero__cta:hover {
    transform: none;
  }
}
