/* newsletter.css: "Arena Notes" sign-up band, footer field, closing button, and sheet (see newsletter.js).
   Desktop styles here; phones get their own rules at the bottom (inside max-width:760px). */
.nl-band{padding:8px 0 64px;background:var(--paper,#EFE3D4)}
/* the section before a band gives up most of its bottom padding, so the card sits close to the content above */
html.nl-on section:has(+ .nl-band){padding-bottom:40px !important}
.nl-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;max-width:1040px;margin:0 auto;padding:40px 44px;background:#F6EDE2;border:1px solid rgba(11,26,74,.12);border-radius:20px}
.nl-k{display:block;font:600 12.5px/1.2 var(--font-body,'Geist'),system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#2F55A8}
html[lang="zh-CN"] .nl-k{letter-spacing:.06em;text-transform:none;font-size:13.5px}
.nl-h{margin:10px 0 10px;font:400 30px/1.18 var(--font-display,'Newsreader'),Georgia,serif;letter-spacing:-.01em;color:#0B1A4A}
html[lang="zh-CN"] .nl-h{font-family:'Arena Serif SC','Noto Serif SC','Songti SC',serif;font-size:27px;line-height:1.4;letter-spacing:.01em}
.nl-p{margin:0;font:400 16.5px/1.6 var(--font-body,'Geist'),system-ui,sans-serif;color:#3E4660;max-width:34em}
html[lang="zh-CN"] .nl-p{line-height:1.8}
.nl-form{margin:0}
.nl-roles{border:0;margin:0 0 14px;padding:0}
.nl-roles legend{padding:0;margin:0 0 8px;font:500 13.5px/1.3 var(--font-body,'Geist'),system-ui,sans-serif;color:#4A5470}
.nl-chips{display:flex;flex-wrap:wrap;gap:8px}
.nl-chip{position:relative;cursor:pointer}
.nl-chip input{position:absolute;opacity:0;width:1px;height:1px}
.nl-chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid rgba(11,26,74,.22);border-radius:999px;background:#FCF3ED;font:500 14.5px/1 var(--font-body,'Geist'),system-ui,sans-serif;color:#0B1A4A;transition:background-color .15s,border-color .15s,color .15s}
.nl-chip input:checked + span{background:#0B1A4A;border-color:#0B1A4A;color:#FCF3ED}
.nl-chip input:focus-visible + span{outline:2px solid #2F55A8;outline-offset:2px}
.nl-row{display:flex;gap:10px}
.nl-email{flex:1;min-width:0;height:52px;padding:0 16px;border:1px solid rgba(11,26,74,.22);border-radius:12px;background:#FFFCF8;font:400 16px/1 var(--font-body,'Geist'),system-ui,sans-serif;color:#0B1A4A}
.nl-email:focus{outline:2px solid #2F55A8;outline-offset:1px;border-color:transparent}
.nl-btn{height:52px;padding:0 24px;white-space:nowrap}
.nl-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;opacity:0}
.nl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nl-msg{margin:8px 0 0;min-height:0;font:400 14px/1.4 var(--font-body,'Geist'),system-ui,sans-serif;color:#4A5470}
.nl-msg:empty{display:none}
.nl-msg.nl-err{color:#A6482A}
.nl-fine{margin:10px 0 0;font:400 13.5px/1.45 var(--font-body,'Geist'),system-ui,sans-serif;color:#5C6378}
.nl-done{padding:18px 20px;border-radius:14px;background:#FCF3ED;border:1px solid rgba(11,26,74,.12)}
.nl-ok{margin:0;font:500 16.5px/1.5 var(--font-body,'Geist'),system-ui,sans-serif;color:#0B1A4A}
.nl-donebtn{margin-top:14px}
/* desktop footer field */
.nl-foot{margin-top:22px;max-width:360px}
.nl-foot-k{display:block;margin:0 0 8px;font:500 13.5px/1.3 var(--font-body,'Geist'),system-ui,sans-serif;color:rgba(246,240,229,.75)}
.nl-foot .nl-row{gap:8px}
.nl-foot .nl-email{height:44px;background:rgba(246,240,229,.08);border-color:rgba(246,240,229,.22);color:#F6F0E5}
.nl-foot .nl-email::placeholder{color:rgba(246,240,229,.5)}
.nl-foot .nl-btn{height:44px;padding:0 18px}
.nl-foot .nl-msg{color:rgba(246,240,229,.8)}
.nl-foot .nl-done{background:rgba(246,240,229,.08);border-color:rgba(246,240,229,.2)}
.nl-foot .nl-ok{color:#F6F0E5;font-size:15px}
/* the sheet: centered card on desktop */
.nl-sheet{position:fixed;inset:0;z-index:1000;display:grid;place-items:center}
.nl-sheet[hidden]{display:none !important}
.nl-sheet-bg{position:absolute;inset:0;background:rgba(14,23,41,.5);opacity:0;transition:opacity .25s}
.nl-sheet-panel{position:relative;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;padding:26px 28px 24px;background:#FCF3ED;border-radius:20px;box-shadow:0 30px 70px -30px rgba(11,26,74,.6);opacity:0;transform:translateY(12px) scale(.98);transition:opacity .25s,transform .25s;outline:none}
.nl-sheet.on .nl-sheet-bg{opacity:1}
.nl-sheet.on .nl-sheet-panel{opacity:1;transform:none}
.nl-sheet-top{display:flex;justify-content:flex-end;margin:-10px -12px 4px 0}
.nl-grab{display:none}
.nl-x{display:grid;place-items:center;width:44px;height:44px;border:0;background:none;border-radius:999px;color:#4A5470;cursor:pointer}
.nl-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.nl-sheet .nl-h{font-size:26px}
html[lang="zh-CN"] .nl-sheet .nl-h{font-size:23px}
.nl-sheet .nl-p{margin-bottom:18px;font-size:15.5px}
.nl-sheet .nl-row{flex-direction:column}
.nl-sheet .nl-email{flex:0 0 auto;width:100%}
.nl-sheet .nl-btn{width:100%;justify-content:center;border-radius:999px;height:54px}
.nl-sheet .nl-done ~ .nl-notnow{display:none}
.nl-notnow{display:block;width:100%;min-height:44px;margin-top:6px;border:0;background:none;font:500 15px/1 var(--font-body,'Geist'),system-ui,sans-serif;color:#4A5470;cursor:pointer}
html.nl-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.nl-sheet-bg,.nl-sheet-panel{transition:none}}
@media (max-width:1000px) and (min-width:761px){.nl-card{grid-template-columns:1fr;gap:24px}}

/* ---------------- phones ---------------- */
@media (max-width:760px){
.nl-band{padding:4px 0 40px !important}
html.nl-on section:has(+ .nl-band){padding-bottom:24px !important}
.nl-band .container{padding-left:var(--ph-gut,20px) !important;padding-right:var(--ph-gut,20px) !important}
.nl-card{display:block;padding:24px 20px 22px;border-radius:16px;background:var(--ph-surface,#FBF6EF)}
.nl-h{font-size:24px;margin:8px 0}
html[lang="zh-CN"] .nl-h{font-size:21px;line-height:1.5}
.nl-p{font-size:15.5px;margin-bottom:18px}
.nl-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.nl-chip span{display:flex;justify-content:center;min-height:44px;padding:0 4px;font-size:14.5px;white-space:nowrap}
.nl-row{flex-direction:column;gap:10px}
.nl-email{flex:0 0 auto;width:100%}
.nl-email{height:52px}
.nl-btn{width:100%;height:56px;border-radius:999px;justify-content:center;font-size:16.5px}
/* centered modal card (no bottom sheet): margins, dimmed backdrop, fade + scale in */
.nl-sheet{place-items:center;padding:16px}
.nl-sheet-panel{width:100%;max-width:420px;max-height:calc(100dvh - 32px);border-radius:18px;padding:18px 18px 12px;transform:scale(.96);opacity:0;transition:opacity .2s ease,transform .2s ease}
.nl-sheet.on .nl-sheet-panel{transform:none;opacity:1}
.nl-sheet-top{position:sticky;top:-18px;z-index:2;height:0;margin:0;justify-content:flex-end}
.nl-sheet-top .nl-x{margin:-10px -10px 0 0;background:#FCF3ED;border-radius:999px}
.nl-grab{display:none}
.nl-sheet .nl-k{padding-right:36px;font-size:11.5px;letter-spacing:.12em}
.nl-sheet .nl-h{font-size:21px;margin:8px 0 6px;line-height:1.22}
html[lang="zh-CN"] .nl-sheet .nl-h{font-size:20px;line-height:1.4}
.nl-sheet .nl-p{font-size:14.5px;line-height:1.5;margin-bottom:14px}
.nl-sheet .nl-btn{height:46px;font-size:15.5px}
.nl-sheet .nl-email{height:46px}
.nl-sheet .nl-row{gap:8px}
.nl-sheet .nl-fine{margin-top:6px;font-size:12.5px}
.nl-notnow{min-height:38px;margin-top:2px;font-size:14px}
}

/* hidden until /api/subscribe reports Resend is configured (newsletter.js adds html.nl-on) */
html:not(.nl-on) .nl-band,html:not(.nl-on) a[href="#nl"],html:not(.nl-on) li:has(> a[href="#nl"]){display:none !important}

/* homepage top banner (both widths): thin navy strip above the nav */
.nl-bar{position:relative;z-index:1001;display:flex;align-items:center;height:36px;background:#0B1A4A;color:#F6F0E5}
.nl-bar-link{flex:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;color:inherit !important;text-decoration:none !important;padding:0 8px 0 44px}
.nl-bar-track{display:inline-flex;align-items:center;white-space:nowrap;font:500 13.5px/1 var(--font-body,'Geist'),system-ui,sans-serif;letter-spacing:.01em}
html[lang="zh-CN"] .nl-bar-track{font-size:13.5px;letter-spacing:.02em}
.nl-bar-item{display:inline-flex;align-items:center;gap:10px}
.nl-bar-item b{font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:12px;color:#C9D6F2}
html[lang="zh-CN"] .nl-bar-item b{letter-spacing:.04em;text-transform:none;font-size:13px}
.nl-bar-dot{opacity:.5}
.nl-bar-go{margin-left:6px;padding:4px 10px;border:1px solid rgba(246,240,229,.4);border-radius:999px;font-weight:600;font-size:12.5px}
.nl-bar-gap{display:inline-block;width:56px}
.nl-bar-link:hover .nl-bar-go{background:rgba(246,240,229,.12)}
.nl-bar-track.nl-run{animation:nlTicker var(--nlb-dur,20s) linear infinite;justify-content:flex-start}
.nl-bar-link:has(.nl-run){justify-content:flex-start;padding-left:12px}
.nl-bar-link:hover .nl-run{animation-play-state:paused}
@keyframes nlTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.nl-bar-track.nl-run{animation:none}}
.nl-bar-x{flex:none;display:grid;place-items:center;width:44px;height:36px;border:0;background:none;color:rgba(246,240,229,.75);cursor:pointer}
.nl-bar-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
/* the fixed nav sits under the banner until the banner scrolls away */
html.nl-bar-on body .nav{top:var(--nlb-off,36px) !important}
html.nl-bar-on.nav-open .nl-bar{display:none}
html.nl-bar-on.nav-open body .nav{top:0 !important}
@media (max-width:760px){
.nl-bar{height:34px}
.nl-bar-x{height:34px}
.nl-bar-track{font-size:13px}
html.nl-bar-on.ph-nav-hide:not(.nav-open) body .nav{transform:translateY(calc(-100% - var(--nlb-off,0px)))}
}

/* program promo inside the sheet (promo.js supplies the copy; newsletter.js shows it on the timed open).
   Editorial card: seal, small-caps label, serif heading, date between hairlines, copy, one navy CTA,
   then a quiet one-row Arena Notes field. Closes with the X, the backdrop, or Esc. */
.nl-promo{display:none}
.nl-sheet.nl-is-promo .nl-promo{display:block;text-align:center}
.nl-sheet.nl-is-promo .nl-std,.nl-sheet.nl-is-promo .nl-roles,.nl-sheet.nl-is-promo .nl-fine,.nl-sheet.nl-is-promo .nl-notnow{display:none}
.nl-sheet:not(.nl-is-promo) .nl-promo-or{display:none}
.nl-sheet.nl-is-promo .nl-sheet-panel{width:min(480px,calc(100vw - 32px));padding:40px 44px 30px;background:#FCF3ED;border-radius:22px;
  box-shadow:inset 0 0 0 1px rgba(11,26,74,.06),0 40px 90px -36px rgba(11,26,74,.55),0 2px 8px -4px rgba(11,26,74,.15)}
.nl-sheet.nl-is-promo .nl-sheet-top{position:absolute;top:10px;right:10px;z-index:2;height:auto;margin:0}
.nl-sheet.nl-is-promo .nl-x{width:44px;height:44px;margin:0;background:transparent;color:#5C6378;transition:background-color .15s,color .15s}
.nl-sheet.nl-is-promo .nl-x:hover{background:rgba(11,26,74,.06);color:#0B1A4A}
.nl-sheet.nl-is-promo .nl-x:focus-visible{outline:2px solid #2F55A8;outline-offset:0}
.nl-seal{display:block;width:48px;height:48px;margin:0 auto 18px;mix-blend-mode:multiply;opacity:.9}
.nl-sheet.nl-is-promo .nl-k{padding:0;font:600 11.5px/1.2 var(--font-body,'Geist'),system-ui,sans-serif;letter-spacing:.2em;color:#2F55A8}
html[lang="zh-CN"] .nl-sheet.nl-is-promo .nl-k{font-size:13px;letter-spacing:.14em}
.nl-sheet.nl-is-promo .nl-h{margin:12px auto 0;max-width:15em;font:400 31px/1.16 var(--font-display,'Newsreader'),Georgia,serif;letter-spacing:-.015em;color:#0B1A4A;text-wrap:balance;white-space:pre-line}
html[lang="zh-CN"] .nl-sheet.nl-is-promo .nl-h{max-width:none;font-family:'Arena Serif SC','Noto Serif SC','Songti SC',serif;font-size:25px;line-height:1.42;letter-spacing:.02em}
.nl-promo-d{display:flex;align-items:center;gap:14px;margin:16px 0 16px;font:500 12px/1 var(--font-body,'Geist'),system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#0B1A4A;font-variant-numeric:lining-nums}
html[lang="zh-CN"] .nl-promo-d{font-size:13px;letter-spacing:.1em}
.nl-promo-d::before,.nl-promo-d::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(11,26,74,0),rgba(11,26,74,.22))}
.nl-promo-d::after{background:linear-gradient(90deg,rgba(11,26,74,.22),rgba(11,26,74,0))}
.nl-sheet.nl-is-promo .nl-p{margin:0 auto;max-width:28em;font-size:15.5px;line-height:1.6;color:#3E4660;text-wrap:balance;white-space:pre-line}
html[lang="zh-CN"] .nl-sheet.nl-is-promo .nl-p{line-height:1.8}
.nl-promo-note{margin:10px auto 0;max-width:30em;font:italic 400 15px/1.5 var(--font-display,'Newsreader'),Georgia,serif;color:#5C6378;text-wrap:balance;hyphens:manual;white-space:pre-line}
html[lang="zh-CN"] .nl-promo-note{font:400 13.5px/1.7 var(--font-body,'Geist'),system-ui,sans-serif}
.nl-promo-cta{display:flex;margin:24px 0 0}
.nl-sheet.nl-is-promo .nl-promo-cta .btn{width:100%;height:52px;justify-content:center;border-radius:999px;background:#0B1A4A;border-color:#0B1A4A;color:#FCF3ED;font-size:16px;font-weight:600;letter-spacing:.01em;box-shadow:0 10px 24px -14px rgba(11,26,74,.7)}
.nl-sheet.nl-is-promo .nl-promo-cta .btn:hover{background:#2F55A8;border-color:#2F55A8}
.nl-promo-cta .arr{display:inline-block;margin-left:6px;transition:transform .2s}
.nl-promo-cta .btn:hover .arr{transform:translateX(3px)}
.nl-promo-or{margin:26px 0 10px;padding-top:20px;border-top:1px solid rgba(11,26,74,.1);font:500 13.5px/1.4 var(--font-body,'Geist'),system-ui,sans-serif;color:#4A5470;text-align:center}
.nl-sheet.nl-is-promo .nl-form .nl-row{flex-direction:row;gap:8px}
.nl-sheet.nl-is-promo .nl-email{flex:1;width:auto;height:44px;padding:0 14px;border-radius:999px;background:#FFFCF8;font-size:15px}
.nl-sheet.nl-is-promo .nl-form .nl-btn{flex:none;width:auto;height:44px;padding:0 18px;border-radius:999px;background:transparent;border:1px solid rgba(11,26,74,.3);color:#0B1A4A;font-size:14.5px;font-weight:600;box-shadow:none}
.nl-sheet.nl-is-promo .nl-form .nl-btn:hover{background:rgba(11,26,74,.05);border-color:#0B1A4A}
.nl-sheet.nl-is-promo .nl-msg{text-align:center}
.nl-sheet.nl-is-promo .nl-done{padding:12px 16px;border-radius:999px;background:rgba(47,85,168,.07);border:0;text-align:center;outline:none}
.nl-sheet.nl-is-promo .nl-ok{font-size:14.5px;line-height:1.4}
.nl-sheet.nl-is-promo .nl-ok::before{content:"✓";display:inline-block;margin-right:8px;color:#2F55A8;font-weight:700}
@media (max-width:760px){
  .nl-sheet.nl-is-promo .nl-sheet-panel{max-width:400px;padding:30px 22px 22px;border-radius:20px}
  .nl-sheet.nl-is-promo .nl-sheet-top{top:6px;right:6px}
  .nl-seal{width:40px;height:40px;margin-bottom:12px}
  .nl-sheet.nl-is-promo .nl-k{font-size:11px;letter-spacing:.18em}
  html[lang="zh-CN"] .nl-sheet.nl-is-promo .nl-k{font-size:12.5px}
  .nl-sheet.nl-is-promo .nl-h{margin-top:10px;font-size:25px;line-height:1.18}
  html[lang="zh-CN"] .nl-sheet.nl-is-promo .nl-h{font-size:21px;line-height:1.45}
  .nl-promo-d{margin:12px 0;gap:12px;font-size:11px}
  html[lang="zh-CN"] .nl-promo-d{font-size:12.5px}
  .nl-sheet.nl-is-promo .nl-p{font-size:14.5px;line-height:1.55}
  html[lang="zh-CN"] .nl-sheet.nl-is-promo .nl-p{font-size:14.5px;line-height:1.75}
  .nl-promo-note{margin-top:8px;font-size:14px;line-height:1.45}
  html[lang="zh-CN"] .nl-promo-note{font-size:13px;line-height:1.65}
  .nl-promo-cta{margin-top:18px}
  .nl-sheet.nl-is-promo .nl-promo-cta .btn{height:50px;font-size:15.5px}
  .nl-promo-or{margin:20px 0 10px;padding-top:16px;font-size:13px}
  .nl-sheet.nl-is-promo .nl-email,.nl-sheet.nl-is-promo .nl-form .nl-btn{height:44px}
  .nl-sheet.nl-is-promo .nl-form .nl-btn{padding:0 16px;font-size:14px}
}
@media (max-height:620px){.nl-promo-note{display:none}}

/* one-line notice under program and contact forms: the email also joins Arena Notes (onepager.js, motion.js) */
.nl-formnote { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-ink-muted, #6B7287); }
