/* Newsletter landing - Enchanted Court lead magnet */

.newsletter-page.page-wrapper {
  max-width: min(76rem, 100%);
}

.newsletter-page-body {
  background-color: var(--dark, #0a0603);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(80, 45, 8, 0.32) 0%, transparent 55%),
    url('/images/background-of.webp');
  background-position: center top, center top;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.newsletter-page .public-nav {
  border-bottom: 1px solid rgba(122, 85, 32, 0.28);
  background: linear-gradient(180deg, rgba(10, 6, 2, 0.98) 0%, rgba(10, 6, 2, 0.82) 100%);
}

.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;
}

.newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nl-flash-wrap {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  padding: 0 max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left));
}

.nl-flash-wrap .court-flash {
  font-size: 1rem;
}

/* -- Hero -- */
.nl-hero {
  padding: 2.5rem max(1.25rem, env(safe-area-inset-left)) 3.25rem max(1.25rem, env(safe-area-inset-right));
}

.nl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  max-width: 70rem;
  margin: 0 auto;
}

.nl-hero__eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 146, 42, 0.72);
  margin: 0 0 0.85rem;
}

.nl-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--gold-bright, #f5d070);
  text-shadow:
    0 0 28px rgba(201, 146, 42, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.45);
  margin: 0 0 1.15rem;
}

.nl-hero__title-line {
  display: block;
}

.nl-hero__title-line--accent {
  color: var(--gold-light, #e8b84b);
  margin-top: 0.12em;
}

.nl-hero__lead {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.08rem, 2.3vw, 1.22rem);
  font-weight: 400;
  line-height: 1.62;
  color: rgba(232, 213, 168, 0.9);
  margin: 0 0 1.1rem;
  max-width: 33rem;
}

.nl-hero__lead em {
  font-style: italic;
  color: var(--gold-pale, #f0d5a0);
}

.nl-hero__pitch {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.65rem, 1.5vw, 0.74rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(201, 146, 42, 0.78);
  margin: 0 0 1.5rem;
  max-width: 28rem;
  padding-left: 0.65rem;
  border-left: 2px solid rgba(201, 146, 42, 0.35);
}

.nl-hero__fine {
  margin: 1rem 0 0;
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(208, 185, 140, 0.52);
}

.nl-hero__visual {
  position: relative;
  min-height: 320px;
}

.nl-hero__image-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.32);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(201, 146, 42, 0.08),
    inset 0 0 0 1px rgba(255, 220, 140, 0.05);
}

.nl-hero__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.62) 0%, transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(8, 6, 4, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.nl-hero__image-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 146, 42, 0.12);
  pointer-events: none;
  z-index: 2;
}

.nl-hero__image-frame img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 380px;
  object-fit: cover;
  object-position: center 16%;
}

/* -- Form -- */
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 25rem;
}

.nl-form__field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(122, 85, 32, 0.5);
  border-radius: 999px;
  background: rgba(8, 5, 2, 0.78);
  padding: 0 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.nl-form__field:focus-within {
  border-color: rgba(232, 184, 75, 0.65);
  background: rgba(10, 6, 3, 0.92);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.1);
}

.nl-form__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: rgba(201, 146, 42, 0.68);
}

.nl-form__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nl-form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-pale, #e8d5a8);
  font-family: 'EB Garamond', serif;
  font-size: 1.06rem;
  padding: 0.82rem 0;
}

.nl-form__input::placeholder {
  color: rgba(208, 185, 140, 0.42);
  font-style: italic;
}

.nl-form__input:focus {
  outline: none;
}

.nl-form__submit {
  border: 1px solid rgba(255, 220, 100, 0.38);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light, #e8b84b) 0%, var(--gold, #c9922a) 42%, var(--gold-bright, #f5d070) 62%, var(--gold-light, #e8b84b) 100%);
  color: var(--dark, #0a0603);
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.92rem 1.5rem;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(201, 146, 42, 0.32),
    0 4px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 240, 180, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nl-form__submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 28px rgba(201, 146, 42, 0.48),
    0 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 240, 180, 0.42);
}

.nl-form__submit:active {
  transform: translateY(0);
}

.nl-form__privacy {
  margin: 0.2rem 0 0;
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(208, 185, 140, 0.5);
}

.nl-form__privacy a {
  color: rgba(232, 184, 75, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 75, 0.28);
}

.nl-form__privacy a:hover {
  color: var(--gold-bright, #f5d070);
  border-bottom-color: rgba(245, 208, 112, 0.5);
}

/* -- Gate narrative -- */
.nl-gate {
  max-width: 54rem;
  margin: 0 auto;
  padding: 0.5rem max(1.25rem, env(safe-area-inset-left)) 3rem max(1.25rem, env(safe-area-inset-right));
  text-align: center;
}

.nl-gate__eyebrow {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--gold-light, #e8b84b);
  text-shadow: 0 0 24px rgba(201, 146, 42, 0.25);
  margin: 0 0 1.25rem;
}

.nl-gate__text {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.05rem, 2.1vw, 1.14rem);
  line-height: 1.68;
  color: rgba(208, 185, 140, 0.76);
  margin: 0 auto 0.9rem;
  max-width: 38rem;
}

.nl-gate__text--emphasis {
  font-style: italic;
  color: rgba(232, 213, 168, 0.82);
  margin-bottom: 0;
}

/* -- Closing footer -- */
.nl-closing {
  text-align: center;
  padding: 2.75rem max(1.25rem, env(safe-area-inset-left)) 3.25rem max(1.25rem, env(safe-area-inset-right));
  border-top: 1px solid rgba(122, 85, 32, 0.22);
  background: linear-gradient(180deg, transparent 0%, rgba(8, 5, 2, 0.35) 100%);
}

.nl-closing__tagline {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(208, 185, 140, 0.72);
  margin: 0 0 1.65rem;
  line-height: 1.55;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.nl-closing__tagline span {
  font-style: normal;
  color: rgba(201, 146, 42, 0.65);
  font-size: 0.65em;
  vertical-align: middle;
}

.nl-closing__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.nl-closing__crown {
  font-size: 0.95rem;
  color: rgba(212, 175, 55, 0.8);
  line-height: 1;
  opacity: 0.9;
}

.nl-closing__name {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(232, 184, 75, 0.85);
}

.nl-closing__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.7rem;
  margin-bottom: 0.85rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nl-closing__legal a {
  color: rgba(208, 185, 140, 0.58);
  text-decoration: none;
  transition: color 0.2s;
}

.nl-closing__legal a:hover {
  color: var(--gold-light, #e8b84b);
}

.nl-closing__legal span {
  color: rgba(122, 85, 32, 0.55);
  font-size: 0.85em;
}

.nl-closing__copy {
  font-family: 'EB Garamond', serif;
  font-size: 0.84rem;
  color: rgba(208, 185, 140, 0.42);
  margin: 0;
}

/* -- Responsive -- */
@media (max-width: 960px) {
  .nl-hero__grid {
    grid-template-columns: 1fr;
  }

  .nl-hero__copy {
    text-align: center;
  }

  .nl-hero__pitch {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    border-left: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(201, 146, 42, 0.22);
  }

  .nl-hero__lead,
  .nl-hero__pitch {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }

  .nl-form {
    margin-left: auto;
    margin-right: auto;
  }

  .nl-hero__visual {
    order: -1;
    max-width: 26rem;
    margin: 0 auto;
    width: 100%;
  }

  .nl-hero__image-frame::before {
    background:
      linear-gradient(180deg, transparent 50%, rgba(8, 6, 4, 0.4) 100%),
      linear-gradient(90deg, rgba(8, 6, 4, 0.25) 0%, transparent 30%);
  }

  .nl-hero__image-frame img {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .nl-hero {
    padding-top: 1.75rem;
  }

  .nl-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .nl-closing__tagline {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nl-form__submit:hover {
    transform: none;
  }
}


