:root {
  --bg: #070605;
  --bg-2: #120e0b;
  --ink: #f4ebe0;
  --muted: #b7a892;
  --gold: #d4a84b;
  --gold-soft: #f0d28a;
  --lavender: #c9b7e8;
  --ember: #ff6a2a;
  --line: rgba(212, 168, 75, 0.28);
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(212, 168, 75, 0.18), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(201, 183, 232, 0.12), transparent 50%),
    linear-gradient(180deg, #0b0908 0%, #130f0c 40%, #070605 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow-orb {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.22;
  z-index: 0;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.7), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-orb.o2 {
  top: auto;
  bottom: 8%;
  left: -12%;
  background: radial-gradient(circle, rgba(201, 183, 232, 0.55), transparent 70%);
  animation-duration: 18s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8%, 6%, 0) scale(1.15); }
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1.1rem 4rem;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.4rem;
}

.brand-mark {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--gold-soft);
}

.topbar a.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.03);
}

/* Hero */
.hero {
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 72svh;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
}

.hero-bg-art {
  position: absolute;
  inset: 8% 4% auto;
  width: min(92%, 520px);
  margin: 0 auto;
  left: 0;
  right: 0;
  opacity: 0.22;
  filter: blur(1px) saturate(1.1);
  transform: scale(1.05);
  z-index: 0;
  mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
}

.hero-cut {
  position: relative;
  z-index: 2;
  width: min(92vw, 440px);
  margin: 0 auto -1.5rem;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
  animation: rise-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: -2.5rem;
  padding: 0 0.4rem 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.65rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavender));
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--lavender), transparent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 16vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff6df 10%, var(--gold) 55%, #8a6a28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(212, 168, 75, 0.15);
}

.hero .script {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  color: var(--lavender);
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
}

.hero .lede {
  margin: 0.9rem auto 1.35rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  color: #1a1208;
  background: linear-gradient(135deg, #f3d78a, #c8922f 55%, #a8731d);
  box-shadow: 0 10px 30px rgba(212, 168, 75, 0.28);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* Countdown */
.countdown {
  margin: 1.8rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 420px;
}

.countdown div {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.75rem 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.countdown strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */
section {
  padding: 3.2rem 0 0.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 3.2rem);
  letter-spacing: 0.06em;
  font-weight: 400;
}

.section-head p {
  margin: 0.55rem auto 0;
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.5;
}

.info-grid {
  display: grid;
  gap: 0.85rem;
}

.info-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.15rem 1.15rem 1.2rem;
  background:
    linear-gradient(145deg, rgba(212, 168, 75, 0.08), transparent 40%),
    rgba(255, 255, 255, 0.025);
}

.info-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-item p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.info-item .soft {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--lavender);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(201, 183, 232, 0.35);
}

/* Gallery strip */
.gallery {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.gallery figure {
  margin: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0a08;
  position: relative;
}

.gallery figure img {
  width: 100%;
  object-fit: cover;
}

.gallery .cut-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 18%, rgba(212, 168, 75, 0.24), transparent 52%),
    linear-gradient(180deg, #1a1410, #070605);
  padding: 0;
}

.gallery .cut-panel img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
  padding: 0.6rem 0.4rem 0;
}

.gallery figcaption {
  padding: 0.75rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.logo-panel {
  display: grid;
  place-items: center;
  padding: 0;
  background: #000;
  overflow: hidden;
}

.logo-panel img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

/* Invite ribbon */
.invite {
  margin-top: 2.4rem;
  padding: 1.6rem 1.2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(212, 168, 75, 0.16), rgba(201, 183, 232, 0.08) 45%, transparent),
    rgba(255, 255, 255, 0.03);
}

.invite h2 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(2.3rem, 9vw, 3.4rem);
  color: var(--gold-soft);
  font-weight: 400;
}

.invite p {
  margin: 0.5rem auto 1.2rem;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.5;
}

footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 760px) {
  .hero-stage {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    min-height: 78svh;
  }

  .hero-bg-art {
    inset: auto;
    left: 4%;
    top: 8%;
    width: min(48%, 460px);
    opacity: 0.28;
  }

  .hero-cut {
    width: min(100%, 520px);
    margin: 0;
    justify-self: start;
  }

  .hero-copy {
    text-align: left;
    margin-top: 0;
    padding: 0;
  }

  .eyebrow {
    justify-content: flex-start;
  }

  .cta-row,
  .countdown {
    justify-content: flex-start;
    margin-left: 0;
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .gallery .cut-panel img {
    min-height: 480px;
  }

  .logo-panel img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: contain;
  }

  .gallery .wide {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
