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

:root {
  --gold: #b8922a;
  --gold-light: #d4aa4a;
  --cream: #f5f0e8;
  --dark: #0a0c0f;
  --mid: #141820;
  --text-muted: rgba(245,240,232,0.45);
}

html, body {
   width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,146,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(184,146,42,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0a0c0f 0%, #0f1318 50%, #0a0c0f 100%);
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,146,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,146,42,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
}

.line-top, .line-bottom {
  position: fixed;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  z-index: 1;
}
.line-top { top: 60px; }
.line-bottom { bottom: 60px; }

.corner {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 2;
  opacity: 0.4;
}
.corner::before, .corner::after {
  content: '';
  position: absolute;
  background: var(--gold);
}
.corner::before { width: 1px; height: 100%; }
.corner::after  { width: 100%; height: 1px; }
.corner-tl { top: 40px; left: 40px; }
.corner-tl::before { top: 0; left: 0; }
.corner-tl::after  { top: 0; left: 0; }
.corner-tr { top: 40px; right: 40px; }
.corner-tr::before { top: 0; right: 0; }
.corner-tr::after  { top: 0; right: 0; }
.corner-bl { bottom: 40px; left: 40px; }
.corner-bl::before { bottom: 0; left: 0; }
.corner-bl::after  { bottom: 0; left: 0; }
.corner-br { bottom: 40px; right: 40px; }
.corner-br::before { bottom: 0; right: 0; }
.corner-br::after  { bottom: 0; right: 0; }

.stage {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
  width: 100%;
  animation: fadeUp 1.4s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.4s 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(72px, 14vw, 120px);
  letter-spacing: 18px;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 4px;
  opacity: 0;
  animation: fadeUp 1.4s 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px auto;
  opacity: 0;
  animation: fadeUp 1.4s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.divider span {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.divider i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(14px, 3vw, 18px);
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1.4s 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}

.form-row {
  display: flex;
  gap: 0;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeUp 1.4s 0.75s cubic-bezier(0.16,1,0.3,1) forwards;
}

.form-row input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(184,146,42,0.3);
  border-right: none;
  border-radius: 0;
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.form-row input::placeholder {
  color: var(--text-muted);
  letter-spacing: 1px;
}

.form-row input:focus {
  background: rgba(245,240,232,0.09);
  border-color: rgba(184,146,42,0.7);
}

.form-row button {
  padding: 14px 28px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--dark);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.form-row button:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.success-msg {
  display: none;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 8px 0 20px;
}

.hint {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(245,240,232,0.25);
  opacity: 0;
  animation: fadeUp 1.4s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}

.footer-strip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.2);
  opacity: 0;
  animation: fadeUp 1.4s 1s cubic-bezier(0.16,1,0.3,1) forwards;
}

.footer-strip a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-strip a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .corner { width: 24px; height: 24px; }
  .corner-tl, .corner-tr { top: 24px; }
  .corner-bl, .corner-br { bottom: 24px; }
  .corner-tl, .corner-bl { left: 24px; }
  .corner-tr, .corner-br { right: 24px; }
  .line-top  { top: 36px; }
  .line-bottom { bottom: 36px; }

  .form-row {
    flex-direction: column;
    gap: 1px;
  }
  .form-row input {
    border-right: 1px solid rgba(184,146,42,0.3);
    border-bottom: none;
  }
  .form-row button {
    width: 100%;
  min-height: 48px;
  border-top: none;
  }

  .footer-strip {
    padding: 14px 24px;
    justify-content: center;
    gap: 24px;
  }

  .wordmark { letter-spacing: 10px; }
}

@media (max-height: 600px) {
  .wordmark { font-size: 56px; }
  .divider  { margin: 18px auto; }
  .tagline  { margin-bottom: 28px; font-size: 13px; }
}
