/* The public newsletter signup pages (TW #3393 option B, "Bridges hero"): the bridges photo full
   screen and darkened, the newsletter's name in gold, a big white headline, the form in a frosted
   card. Same palette and type as the homepage (proposed.css). */
body:has(> main.nl-page) { margin: 0; background: #050d24; }
.nl-page {
  position: relative; isolation: isolate; max-width: none; margin: 0; min-height: 100vh; min-height: 100svh; box-sizing: border-box;
  display: flex; align-items: flex-start; justify-content: center; overflow: hidden;
  padding: 28px clamp(16px, 5vw, 40px) clamp(48px, 10vh, 120px);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: #fff;
}
/* Up in the sky (TW #3409, option C): the content sits at the top and the photo is drawn taller than the screen
   from its top edge, so the bridge (45% down the photo) lands below the form, still in view. The px floor keeps
   it there on short, wide screens. */
.nl-page__bg {
  position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: max(161%, 1450px);
  object-fit: cover; object-position: 50% 0;
}
@media (max-width: 600px) {
  .nl-page { padding-top: 20px; }
  .nl-page__bg { height: max(175%, 1480px); }
}
/* The rise (option D, Steve: "have it fade in while it's rising"): the heading and form start lower, over the
   bridge, and fade in as they glide up to rest. CSS only, kept at both ends (fill-mode both), so without
   JS or on a slow load it still ends fully visible at rest. The rise controller finishes it on a touch. */
@keyframes nl-rise { from { opacity: 0; transform: translateY(clamp(80px, 15vh, 140px)); } to { opacity: 1; transform: none; } }
@keyframes nl-arrive {
  0%, 70% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 40px rgba(0, 0, 0, .25); }
  100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 24px 60px rgba(246, 182, 43, .28); }
}
.nl-page--rise .nl-page__inner { animation: nl-rise 1.2s .4s cubic-bezier(.16, 1, .3, 1) both; }
.nl-page--rise .nl-card { animation: nl-arrive 1.6s both; }
@media (prefers-reduced-motion: reduce) {
  .nl-page--rise .nl-page__inner, .nl-page--rise .nl-card { animation: none; }
}
.nl-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 36, .55), rgba(5, 13, 36, .62)); }
.nl-page__inner { width: 100%; max-width: 520px; }
.nl-eyebrow { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #f6b62b; }
.nl-title {
  margin: 0 0 .9rem; font: 400 clamp(2.6rem, 9vw, 3.6rem)/.98 "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; color: #fff;
}
.nl-lead { margin: 0 0 1.4rem; font-size: clamp(1.05rem, 2.6vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, .9); }
.nl-lead a { color: #ffd36b; }
/* The club's history (TW #3416): under the lead, quieter (0.85x, dimmer), tucked up close to it. */
.nl-history { margin: -.9rem 0 1rem; font-size: calc(clamp(1.05rem, 2.6vw, 1.15rem) * .85); line-height: 1.55; color: rgba(255, 255, 255, .72); }
/* With the extra line, the gaps above and below it tighten a little so the card still clears the bridge. */
.nl-page__inner:has(.nl-history) .nl-title { margin-bottom: .6rem; }
.nl-page__inner:has(.nl-history) .nl-note { margin-top: .75rem; }
.nl-card {
  display: grid; gap: 8px; padding: 22px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 40px rgba(0, 0, 0, .25);
}
.nl-card label { font-weight: 700; }
.nl-card label:not(:first-of-type) { margin-top: 8px; }
.nl-card input[type=text], .nl-card input[type=email] {
  box-sizing: border-box; width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: #121726; background: #fff;
}
.nl-card input:focus-visible { outline: 3px solid #ffd36b; outline-offset: 2px; }
.nl-button {
  width: 100%; min-height: 50px; margin-top: 8px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1; color: #fff; background: #f6b62b; box-shadow: 0 8px 24px rgba(246, 182, 43, .35);
}
.nl-card .nl-button { margin-top: 12px; }
.nl-card form.button_to { margin: 0; }
.nl-button:hover { background: #ffd36b; color: #121726; }
.nl-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.nl-errors { padding: 10px 12px; border-radius: 10px; background: rgba(176, 30, 30, .85); }
.nl-errors p { margin: 0; }
.nl-note { margin: 1rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .8); }
