/* Shared: email signup, notify popup, consent banner, sticky mobile button. */
.signup-form { display: grid; gap: 6px; max-width: 30rem; }
.signup-form label { font-weight: 620; font-size: .92rem; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-row input { flex: 1 1 12rem; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #857c74; border-radius: 0; background: #fffdf9; color: #252320; font: inherit; }
.signup-button, .consent-accept { min-height: 46px; padding: 10px 18px; border: 0; border-radius: 0; background: #963e29; color: #fff; font: 650 .95rem/1.2 inherit; font-family: inherit; cursor: pointer; }
.signup-button:hover, .consent-accept:hover { background: #74301e; }
.signup-button:disabled { opacity: .7; }
.signup-consent { font-size: .82rem; opacity: .85; margin: 0; }
.signup-status { min-height: 1.3em; font-size: .9rem; font-weight: 600; margin: 0; }
.signup-row input[aria-invalid="true"] { border-color: #963e29; outline: 2px solid #963e29; }

.footer-signup { grid-column: 1 / -1; width: min(1320px, calc(100% - 2 * clamp(18px,4.2vw,76px))); margin: 0 auto; padding: 26px 0 34px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
.footer-signup h2 { color: inherit; margin: 0; font: 400 clamp(1.6rem,2.4vw,2.2rem)/1.1 'Instrument Serif', Instrument, Georgia, serif; letter-spacing: -.02em; }
.footer-signup > p { margin: 6px 0 14px; max-width: 52ch; }
.footer .footer-signup .signup-row input { background: #fffaf4; }
.consent-choices { margin-top: 12px; padding: 8px 0; min-height: 44px; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: .2em; font: inherit; cursor: pointer; }
footer:has(.footer-signup) { flex-wrap: wrap; }

.signup-popup { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100vw - 24px)); padding: 22px 22px 18px; background: #faf8f3; color: #252320; border: 1px solid #252320; box-shadow: 0 18px 40px #1e18134d; font-family: Bricolage, 'Avenir Next', 'Segoe UI', sans-serif; opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; }
.signup-popup.is-open { opacity: 1; transform: none; }
.signup-popup h2 { margin: 0 34px 6px 0; font: 400 1.75rem/1.08 'Instrument Serif', Instrument, Georgia, serif; letter-spacing: -.02em; }
.signup-popup > p { margin: 0 0 12px; }
.signup-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.signup-popup :focus-visible, .consent-banner :focus-visible, .sticky-cta a:focus-visible { outline: 3px solid #963e29; outline-offset: 2px; }

.consent-banner { position: fixed; left: 12px; bottom: 12px; z-index: 55; width: min(460px, calc(100vw - 24px)); padding: 14px 16px; background: #252320; color: #faf8f3; font: .9rem/1.45 Bricolage, 'Segoe UI', sans-serif; box-shadow: 0 12px 30px #0006; }
.consent-banner p { margin: 0 0 10px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-decline { min-height: 46px; padding: 10px 16px; border: 1px solid #faf8f3; background: none; color: inherit; font: inherit; cursor: pointer; }

.sticky-cta { display: none; }
@media (max-width: 699.98px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #faf8f3ee; border-top: 1px solid #252320; transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; background: #963e29; color: #fff; font: 650 1rem/1.2 Bricolage, 'Segoe UI', sans-serif; text-decoration: none; }
  body.has-consent .sticky-cta { display: none; }
  .signup-popup { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 18px 16px 14px; }
  .signup-popup h2 { font-size: 1.45rem; }
  body:has(.sticky-cta.is-visible) { padding-bottom: 72px; }
  body:has(.sticky-cta.is-visible) .signup-popup { bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) { .signup-popup, .sticky-cta { transition: none; } }
html[data-reduce-motion] .signup-popup, html[data-reduce-motion] .sticky-cta { transition: none; }
@media (max-width: 699.98px) { body:has(.signup-popup) .sticky-cta { display: none; } }
