:root {
  --night: #05070a;
  --night-soft: #10141d;
  --line: #11151f;
  --gold: #d4af37;
  --gold-light: #f0d77b;
  --platinum: #e5e4e2;
  --muted: #b0b0b0;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--platinum);
  font-family: var(--body);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-glow, .signup-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 50%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgb(212 175 55 / 4%);
  filter: blur(130px);
  transform: translateX(-50%);
}

.hero-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 33%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgb(11 23 42 / 30%);
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 768px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: reveal 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .4em;
  text-transform: uppercase;
}

.eyebrow-muted {
  margin-bottom: 40px;
  color: rgb(229 228 226 / 50%);
  letter-spacing: .5em;
}

.logo {
  display: block;
  width: min(340px, 82vw);
  height: 340px;
  margin-bottom: 40px;
  object-fit: contain;
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
}

h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #d4af37, #f0d77b, #c5a059);
  background-clip: text;
  color: transparent;
  font-size: 48px;
  line-height: 1.1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 576px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
}

.gold-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--night);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .3s ease;
}

.gold-button:hover, .gold-button:focus-visible { background: var(--gold-light); }

.gold-button:focus-visible,
.text-link:focus-visible,
.footer-meta button:focus-visible,
.dialog-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  color: rgb(212 175 55 / 40%);
  font-size: 24px;
  animation: drift 1.8s ease-in-out infinite;
}

.star {
  position: absolute;
  color: var(--gold);
  opacity: .3;
  pointer-events: none;
  animation: pulse 3.2s ease-in-out infinite;
}

.star-1 { top: 18%; left: 12%; font-size: 12px; }
.star-2 { top: 25%; left: 82%; font-size: 8px; animation-delay: .8s; }
.star-3 { top: 65%; left: 8%; font-size: 10px; animation-delay: 1.5s; }
.star-4 { top: 72%; left: 88%; font-size: 6px; animation-delay: .4s; }
.star-5 { top: 40%; left: 5%; font-size: 7px; animation-delay: 1.1s; }
.star-6 { top: 55%; left: 93%; font-size: 9px; animation-delay: 1.9s; }

.exclusive { padding: 112px 24px; }

.exclusive-grid {
  display: grid;
  max-width: 1152px;
  align-items: center;
  gap: 64px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vip-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

.vip-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(5 7 10 / 60%), transparent 50%, rgb(5 7 10 / 20%));
}

.vip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exclusive-copy h2, .signup h2 {
  color: var(--platinum);
  font-size: 48px;
  line-height: 1.1;
}

.exclusive-copy > p:not(.eyebrow) {
  margin: 24px 0 32px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

.exclusive-copy ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.exclusive-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgb(229 228 226 / 90%);
  font-weight: 300;
  line-height: 1.5;
}

.exclusive-copy li span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 14px;
}

.signup {
  position: relative;
  padding: 128px 24px;
  scroll-margin-top: 0;
}

.signup-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgb(212 175 55 / 3%);
  filter: blur(120px);
  transform: translate(-50%, -50%);
}

.signup-content {
  position: relative;
  z-index: 1;
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}

.signup-panel > p:not(.eyebrow) {
  max-width: 448px;
  margin: 16px auto 48px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

.signup-form {
  display: grid;
  max-width: 448px;
  gap: 24px;
  margin: 0 auto;
}

.email-field { position: relative; }

.email-field input {
  width: 100%;
  padding: 16px 32px 16px 0;
  border: 0;
  border-bottom: 2px solid rgb(229 228 226 / 15%);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--platinum);
  font-size: 18px;
  transition: border-color .3s ease;
}

.email-field input::placeholder { color: rgb(176 176 176 / 30%); }
.email-field input:focus { border-color: var(--gold); }

.email-field > span {
  position: absolute;
  top: 50%;
  right: 0;
  color: rgb(212 175 55 / 30%);
  transform: translateY(-50%);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 8px;
}

.consent-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.switch input { position: absolute; opacity: 0; }

.switch span {
  width: 100%;
  border-radius: 999px;
  background: #2a2f3e;
  transition: background .2s ease;
}

.switch span::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgb(0 0 0 / 40%);
  transition: transform .2s ease;
}

.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.text-link, .footer-meta button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-button { width: 100%; }
.submit-button:disabled { cursor: wait; opacity: .65; }

.form-status {
  margin: -8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.form-status:empty { display: none; }
.form-status.is-success { color: var(--gold-light); }
.form-status.is-error { color: #ffb4ab; }

.signup-confirmation {
  display: grid;
  max-width: 540px;
  justify-items: center;
  gap: 20px;
  margin: 16px auto 0;
  opacity: 0;
  outline: none;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.signup-confirmation[hidden] { display: none; }

.signup-confirmation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.confirmation-icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid rgb(212 175 55 / 45%);
  border-radius: 50%;
  background: rgb(212 175 55 / 8%);
  color: var(--gold);
}

.confirmation-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.signup-confirmation h3 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
}

.signup-confirmation p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.pillars {
  padding: 96px 24px;
  border-top: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  max-width: 1024px;
  gap: 32px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

.pillars article { text-align: center; }

.icon-circle {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgb(212 175 55 / 20%);
  border-radius: 50%;
  color: var(--gold);
  font-size: 28px;
  font-weight: 300;
  transition: border-color .4s ease, background .4s ease;
}

.pillars article:hover .icon-circle {
  border-color: rgb(212 175 55 / 50%);
  background: rgb(212 175 55 / 3%);
}

.icon-circle.sparkle { font-size: 32px; }
.icon-circle.heart { font-size: 33px; }

.pillars h3 {
  margin: 0 0 6px;
  color: var(--platinum);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2em;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .15em;
}

footer {
  padding: 64px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  color: rgb(212 175 55 / 60%);
  font-size: 11px;
}

.footer-ornament span {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(212 175 55 / 40%));
}

.footer-ornament span:last-child { transform: scaleX(-1); }

.footer-tagline {
  margin: 0 0 32px;
  color: rgb(229 228 226 / 80%);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .1em;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgb(176 176 176 / 60%);
  font-size: 12px;
  font-weight: 300;
}

.footer-meta button { color: inherit; text-decoration: none; }
.footer-meta button:hover { color: var(--gold); }

.cursor-glow {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
}

.privacy-dialog {
  width: min(512px, calc(100% - 32px));
  max-height: 85vh;
  padding: 0;
  border: 1px solid #1a1f2e;
  border-radius: 16px;
  outline: 0;
  background: var(--night-soft);
  color: var(--platinum);
  box-shadow: 0 24px 80px rgb(0 0 0 / 55%);
}

.privacy-dialog::backdrop { background: rgb(0 0 0 / 80%); }

.privacy-panel {
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
}

.privacy-panel header { margin-bottom: 18px; }

.dialog-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 36px;
  margin-bottom: 8px;
  color: var(--gold);
}

.dialog-title span { font-size: 24px; }

.dialog-title h2 {
  color: var(--gold);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.privacy-panel header > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.dialog-close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  padding: 2px 6px;
  border: 0;
  background: transparent;
  color: var(--platinum);
  cursor: pointer;
  font-size: 22px;
  opacity: .7;
}

.dialog-close:hover { opacity: 1; }
.privacy-content { display: grid; gap: 20px; }
.privacy-content section { padding: 0; }

.privacy-content h3 {
  margin: 0 0 6px;
  color: var(--platinum);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .025em;
}

.privacy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@keyframes reveal {
  from { opacity: 0; filter: blur(10px); transform: translateY(16px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: .18; transform: scale(.8); }
  50% { opacity: .52; transform: scale(1); }
}

@keyframes drift {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 767px) {
  .hero-copy { font-size: 16px; }
  .exclusive { padding: 80px 24px; }
  .exclusive-grid { gap: 48px; grid-template-columns: 1fr; }
  .exclusive-copy { order: 1; }
  .vip-image { order: 2; }
  .exclusive-copy h2, .signup h2 { font-size: 34px; }
  .signup { padding: 96px 24px; }
  .consent-row p { text-align: left; }
  .pillars { padding: 80px 24px; }
  .pillars-grid { gap: 64px; grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 16px; font-size: 10px; }
  .cursor-glow { display: none; }
  .dialog-title h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content, .star, .scroll-arrow { animation: none; }
  .signup-confirmation { transform: none; transition: none; }
}
