:root {
  --bg: #08090d;
  --ink: #efece6;
  --muted: #9a948a;
  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.18);
  --line: rgba(239, 236, 230, 0.1);
  --card: rgba(16, 15, 13, 0.72);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  top: -12%;
  left: -8%;
  background: #2a2438;
  animation: drift 18s ease-in-out infinite;
}

.orb-b {
  width: 36vw;
  height: 36vw;
  right: -10%;
  top: 18%;
  background: #3a2b18;
  animation: drift 22s ease-in-out infinite reverse;
}

.orb-c {
  width: 28vw;
  height: 28vw;
  left: 28%;
  bottom: -12%;
  background: #1a2236;
  animation: drift 26s ease-in-out infinite;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topbar,
.stage,
.ad {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 7vw 0;
}

.brand,
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dcea0;
  box-shadow: 0 0 0 0 rgba(125, 206, 160, 0.6);
  animation: pulse 1.8s infinite;
}

.stage {
  max-width: 980px;
  margin: 0 auto;
  padding: 10vh 7vw 8vh;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h1 em {
  display: block;
  font-style: italic;
  color: #f4efe6;
}

h1 span {
  display: block;
  margin-top: 8px;
  color: #c8c2b6;
}

.lead {
  max-width: 560px;
  margin: 28px 0 42px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

.progress-wrap {
  max-width: 420px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.progress-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #8d7348, var(--gold), #f0e2c4);
  box-shadow: 0 0 18px var(--gold);
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.phases li {
  display: grid;
  gap: 6px;
  color: #6f6a62;
}

.phases .done,
.phases .active {
  color: var(--ink);
}

.phase-index {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.phases strong {
  font-weight: 500;
}

.phases small {
  color: var(--muted);
  font-size: 13px;
}

.phases .active strong {
  position: relative;
}

.ad {
  padding: 0 7vw 36px;
}

.ad-card {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 32px;
  align-items: end;
  padding: 36px;
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.07), transparent 42%),
    var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.ad-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.ad-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ad-logo {
  width: 40px;
  height: 40px;
}

.ad-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.ad-brand span {
  color: var(--muted);
  font-size: 13px;
}

.ad-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin-bottom: 12px;
}

.ad-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.ad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 20px;
}

.ad-tags li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d2c6;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ad-cta {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e6d3ad, var(--gold));
  color: #1b160f;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(196, 165, 116, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(196, 165, 116, 0.32);
}

.ghost {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.ghost:hover {
  color: var(--gold);
}

.legal {
  margin-top: 18px;
  text-align: center;
  color: #6a655c;
  font-size: 12px;
}

@keyframes drift {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -6%, 0) scale(1.08); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 206, 160, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(125, 206, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 206, 160, 0); }
}

@media (max-width: 860px) {
  .topbar {
    padding: 22px 22px 0;
  }

  .status {
    display: none;
  }

  .stage {
    padding: 9vh 22px 7vh;
  }

  .phases {
    grid-template-columns: 1fr;
  }

  .ad {
    padding: 0 22px 28px;
  }

  .ad-card,
  .ad-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .pulse,
  .progress-fill {
    animation: none;
    transition: none;
  }
}
