/* ============ NEWSLETTER SIGN-UP ============
   Styles for the weekly newsletter boxes (home page section + small box in every footer).
   Colours come from the :root palette at the top of each page. */

.nl-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.nl-form input[type="email"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 17px; color: var(--text);
  background: rgba(20, 8, 6, .55);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 13px 22px;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.nl-form input[type="email"]::placeholder { color: var(--muted); opacity: .8; }
.nl-form input[type="email"]:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 24px rgba(224, 173, 98, .25);
}
.nl-form button {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); background: var(--wine);
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 12px 26px; cursor: pointer; white-space: nowrap;
  transition: box-shadow .4s ease, background .4s ease;
}
.nl-form button:hover, .nl-form button:focus-visible { box-shadow: 0 0 30px rgba(217, 169, 95, .35); }
.nl-form button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 520px) {
  .nl-form { flex-direction: column; }
}

/* Message shown after someone signs up (or if something went wrong) */
.nl-message { margin: 18px auto 0; max-width: 520px; text-align: center; font-style: italic; color: var(--gold-soft); }
.nl-message:empty { display: none; }
.nl-message.error { color: var(--muted); }
.nl-small { margin-top: 14px; font-size: 15px; color: var(--muted); text-align: center; }

/* Home page section: a softly glowing candlelit panel */
.newsletter .nl-panel {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(40px, 7vw, 64px) clamp(20px, 5vw, 56px);
  border: 1px solid var(--line); border-radius: 220px 220px 10px 10px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(224, 173, 98, .14), transparent 70%),
    linear-gradient(180deg, rgba(74, 15, 23, .55), rgba(43, 16, 36, .55));
  box-shadow: 0 0 80px rgba(122, 26, 34, .35);
}
.newsletter .nl-panel .flame { font-size: 26px; color: var(--gold); display: block; margin-bottom: 12px; text-shadow: 0 0 18px rgba(255, 200, 120, .8); }
.newsletter .nl-panel .nl-form { margin-top: 30px; }
@media (max-width: 520px) { .newsletter .nl-panel { border-radius: 120px 120px 10px 10px; } }

/* Small box in the footer of every page */
.nl-footer { max-width: 560px; margin: 0 auto 34px; }
.nl-footer .nl-title {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; color: var(--gold);
  margin: 0 0 6px;
}
.nl-footer .nl-sub { margin: 0 0 18px; font-size: 16px; }
