@font-face {
  font-family: Cinzel;
  src: url("fonts/Cinzel-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/CrimsonPro-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/CrimsonPro-Italic-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --gold: #e8c76a;
  --gold-deep: #c9a44a;
  --cream: #f5ecd6;
  --ink: #0a0d14;
  --panel: rgba(8, 10, 16, 0.72);
  --line: rgba(232, 199, 106, 0.35);
  --danger: #c9503c;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: "Crimson Pro", Georgia, serif;
  color: var(--cream);
  background: var(--ink) url("bg_street.jpg") center / cover no-repeat fixed;
  min-height: 100vh;
}
@media (max-width: 700px), (orientation: portrait) {
  body { background-image: url("bg_street_portrait.jpg"); }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,6,12,0.55) 0%, rgba(4,6,12,0.25) 35%, rgba(4,6,12,0.72) 100%);
  pointer-events: none;
  z-index: 0;
}

.draft-banner {
  position: relative;
  z-index: 2;
  background: rgba(201, 80, 60, 0.92);
  color: #fff8f0;
  text-align: center;
  font-family: Cinzel, serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3rem;
}

.wordmark {
  width: min(520px, 86vw);
  height: auto;
  display: block;
  margin: 0 auto 0.35rem;
}
.subtitle {
  font-family: Cinzel, serif;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 1.5rem;
}
.subtitle::before, .subtitle::after {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 0.75rem;
  opacity: 0.85;
}

.panel {
  width: min(440px, 94vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.6rem 1.5rem 1.4rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

h1, .line {
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 0.75rem;
  color: var(--cream);
}
.lede {
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  color: #efe6d0;
}

label {
  display: block;
  font-family: Cinzel, serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
input[type="email"] {
  width: 100%;
  font: 1.05rem "Crimson Pro", Georgia, serif;
  color: var(--cream);
  background: rgba(6, 8, 14, 0.75);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  outline: none;
}
input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(232, 199, 106, 0.25);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button, .btn {
  display: block;
  width: 100%;
  margin-top: 0.9rem;
  font-family: Cinzel, serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #1a1408;
  background: linear-gradient(180deg, #f0d78a 0%, #c9a44a 100%);
  border: 0;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  cursor: pointer;
}
button:hover, .btn:hover { filter: brightness(1.06); }
button:disabled { opacity: 0.6; cursor: wait; }

.fine {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #c9c0aa;
  text-align: center;
}
.status {
  margin: 0.8rem 0 0;
  text-align: center;
  font-size: 1rem;
  min-height: 1.2em;
}
.status.ok { color: var(--gold); }
.status.err { color: #f0b4a8; }

footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #b9b09a;
}
footer a { color: var(--gold); }

/* 404 */
.page-404 .line {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-style: italic;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.page-404 .btn { margin-top: 1.3rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
