@font-face {
  font-family: "Playfair";
  src: url("/assets/playfair-800.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
}

@font-face {
  font-family: "Playfair";
  src: url("/assets/playfair-400.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Bebas";
  src: url("/assets/bebas.ttf") format("truetype");
  font-display: swap;
}

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

:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a0;
  --dark: #0d0c0a;
  --cream: #f5f0e8;
  --error: #ef9a9a;
}

html,
body {
  min-height: 100%;
  background: var(--dark);
  color: var(--cream);
  font-family: "Playfair", Georgia, serif;
}

body {
  overflow: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.major-panel {
  position: relative;
  overflow: hidden;
}

.major-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  animation: fade-in 2s ease 0.5s forwards;
}

.major-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, transparent 60%, var(--dark) 100%),
    linear-gradient(to bottom, var(--dark) 0%, transparent 15%, transparent 85%, var(--dark) 100%);
}

.content-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--gold);
  font-family: "Bebas", sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  opacity: 0;
  animation: slide-up 0.8s ease 1s forwards;
}

.badge::before,
.badge::after {
  height: 1px;
  flex: 1;
  background: var(--gold);
  content: "";
  opacity: 0.4;
}

.badge::before {
  max-width: 30px;
}

.logo {
  margin-bottom: 8px;
  opacity: 0;
  animation: slide-up 0.8s ease 1.2s forwards;
}

.logo-star {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 14px;
}

.logo-text {
  color: var(--cream);
  font-family: "Playfair", Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 0.95;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0;
  animation: slide-up 0.8s ease 1.4s forwards;
}

.tagline {
  margin-bottom: 32px;
  color: var(--gold);
  font-size: clamp(14px, 1.5vw, 18px);
  font-style: italic;
  letter-spacing: 1px;
  opacity: 0;
  animation: slide-up 0.8s ease 1.5s forwards;
}

.body-text {
  max-width: 420px;
  margin-bottom: 42px;
  color: rgb(245 240 232 / 75%);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.8;
  opacity: 0;
  animation: slide-up 0.8s ease 1.6s forwards;
}

.notify {
  opacity: 0;
  animation: slide-up 0.8s ease 1.8s forwards;
}

.notify-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Bebas", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
}

.notify-form {
  position: relative;
  display: flex;
  max-width: 440px;
}

.notify-input {
  min-width: 0;
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgb(201 168 76 / 30%);
  border-right: none;
  outline: none;
  background: rgb(255 255 255 / 5%);
  color: var(--cream);
  font-family: "Playfair", Georgia, serif;
  font-size: 14px;
  transition: border-color 0.3s;
}

.notify-input::placeholder {
  color: rgb(245 240 232 / 35%);
}

.notify-input:focus {
  border-color: var(--gold);
}

.notify-btn {
  padding: 14px 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  font-family: "Bebas", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  transition: background 0.3s, opacity 0.3s;
  white-space: nowrap;
}

.notify-btn:hover {
  background: var(--gold-light);
}

.notify-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 20px;
  max-width: 440px;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 12px;
}

.form-status.error {
  color: var(--error);
}

.privacy-note {
  max-width: 440px;
  color: rgb(245 240 232 / 45%);
  font-size: 10px;
  line-height: 1.5;
}

.privacy-note a {
  color: rgb(201 168 76 / 75%);
}

.credentials {
  position: absolute;
  right: 60px;
  bottom: 32px;
  left: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  animation: fade-in 1s ease 2.2s forwards;
}

.cred-line {
  height: 1px;
  flex: 1;
  margin: 0 16px;
  background: rgb(201 168 76 / 20%);
}

.cred-text {
  color: rgb(201 168 76 / 50%);
  font-family: "Bebas", sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  .scene {
    position: static;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(320px, 45vh) minmax(520px, auto);
  }

  .major-vignette {
    background: linear-gradient(to bottom, transparent 45%, var(--dark) 100%);
  }

  .content-panel {
    justify-content: flex-start;
    padding: 28px 24px 90px;
  }

  .badge {
    margin-bottom: 24px;
  }

  .body-text {
    margin-bottom: 30px;
  }

  .credentials {
    right: 24px;
    bottom: 20px;
    left: 24px;
  }

}

@media (max-width: 480px) {
  .notify-form {
    display: grid;
    gap: 10px;
  }

  .notify-input {
    border-right: 1px solid rgb(201 168 76 / 30%);
  }

  .notify-btn {
    width: 100%;
  }

  .credentials {
    gap: 10px;
  }

  .cred-line {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
