/* Subscribe popover. Quiet, near-black, no card chrome beyond a hairline. */
.sub-back {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 16vh 20px 20px;
  background: rgba(0,0,0,.72);
  opacity: 0;
  transition: opacity .2s ease;
}
.sub-back[hidden] { display: none; }
.sub-back.is-open { opacity: 1; }
.sub-pop {
  position: relative; width: 100%; max-width: 26rem;
  max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 32px 28px 28px;
  background: #0a0a0a; color: var(--fg, #f2f2ee);
  border: 1px solid rgba(242,242,238,.14); border-radius: 2px;
  font-size: 1rem; line-height: 1.5;
  transform: translateY(8px);
  transition: transform .22s ease;
}
.sub-back.is-open .sub-pop { transform: none; }
.sub-pop:focus { outline: none; }
.sub-pop:focus-visible { outline: 2px solid var(--accent, #f7c531); outline-offset: 3px; }
.sub-title {
  margin: 0 36px 16px 0;
  font-family: var(--font-display, inherit);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--fg, #f2f2ee);
}
.sub-copy {
  margin: 0 0 .55em;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--fg-2, #b9b9b5);
}
.sub-copy:last-child { margin-bottom: 0; }
.sub-copy a, .sub-more a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(247,197,49,.5);
}
.sub-copy a:hover, .sub-copy a:focus-visible,
.sub-more a:hover, .sub-more a:focus-visible {
  color: var(--accent, #f7c531);
  text-decoration-color: var(--accent, #f7c531);
}
.sub-form { margin-top: 20px; }
.sub-more {
  margin: 20px 0 0;
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--fg-3, #86878c);
}
.sub-more a { text-underline-offset: 2px; text-decoration-color: rgba(242,242,238,.28); }
.sub-pop .sg { margin: 0; max-width: none; }
.sub-pop .sg-line { margin: 0 0 12px; color: var(--fg, #f2f2ee); }
.sub-pop .sg-in { font-size: 16px; }
.sub-pop-sg .sg-row {
  align-items: center;
  gap: 12px;
  border-bottom: 0;
}
.sub-pop-sg .sg-in {
  padding: 10px 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(242,242,238,.28);
}
.sub-pop-sg .sg-row:focus-within { border-bottom-color: transparent; }
.sub-pop-sg .sg-in:focus, .sub-pop-sg .sg-in:focus-visible {
  border-bottom-color: var(--accent, #f7c531);
  outline: none;
}
.sub-pop-sg .sg-btn {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  background: var(--accent, #f7c531);
  color: #0a0a0a;
  font-weight: 650;
  text-decoration: none;
  border-radius: 2px;
}
.sub-pop-sg .sg-btn:hover {
  background: var(--accent-hi, #ffd23f);
  text-decoration: none;
}
.sub-pop-sg .sg-btn:focus-visible {
  outline: 2px solid var(--accent, #f7c531);
  outline-offset: 3px;
  text-decoration: none;
}
.sub-pop-sg .sg-btn:disabled { opacity: .55; }
.sub-pop-sg .sg-msg { margin-top: 10px; }
.sub-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; padding: 0; font: inherit; font-size: 22px; line-height: 1; color: rgba(242,242,238,.55); background: none; border: 0; cursor: pointer; }
.sub-x:hover, .sub-x:focus-visible { color: var(--fg, #f2f2ee); }
.sub-x:focus-visible { outline: 2px solid var(--accent, #f7c531); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .sub-back, .sub-pop { transition: none; }
  .sub-pop { transform: none; }
}
/* Contact popover fields. Same hairline look as the signup line. */
.ct-f { margin: 0 0 8px; }
.ct-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sub-pop .ct-in { display: block; width: 100%; padding: 8px 0; color: #f2f2ee; background: transparent; border: 0; border-bottom: 1px solid rgba(242,242,238,.28); border-radius: 0; outline: 0; font: inherit; font-size: 16px; resize: vertical; }
.sub-pop .ct-in:focus { border-bottom-color: #f2f2ee; }
.sub-pop .ct-in::placeholder { color: rgba(242,242,238,.5); }
.sub-pop .ct-send { margin-top: 8px; color: #f2f2ee; }
.sub-pop .ct-done .ct-f, .sub-pop .ct-done .ct-send { display: none; }
@media (max-width: 560px) {
  html body .mast .mast-in nav.nav { gap: 0 7px !important; justify-content: space-between !important; flex-wrap: nowrap !important; }
  html body .mast .mast-in nav.nav a { font-size: 13px !important; letter-spacing: 0 !important; }
  .sub-back { padding: 8vh 16px 16px; }
  .sub-pop { padding: 24px 20px 20px; max-height: calc(92vh - 16px); }
}
/* Sticky header, desktop and mobile. Near-black; popovers (z 200) sit above it. */
html body .mast { position: -webkit-sticky !important; position: sticky !important; top: 0 !important; z-index: 100 !important; background: #0a0a0a !important; }
html { scroll-padding-top: var(--mast-h, 0px); }
[id] { scroll-margin-top: var(--mast-h, 0px); }
@media (max-width: 640px) {
  html body .mast { position: sticky !important; top: 0 !important; }
  .mast-in { padding-top: 8px; }
}
@media (max-width: 560px) {
  html body .mast .mast-in nav.nav { flex-wrap: wrap !important; justify-content: flex-start !important; gap: 0 12px !important; }
  html body .mast .mast-in nav.nav a { padding: 4px 0 !important; }
}
/* overflow-x:hidden on html+body turns body into a scroll container and breaks sticky; clip does not. */
html, body { overflow-x: clip !important; }
/* subtle accent on nav Subscribe */
.nav a[data-subscribe]{color:#f7c531;opacity:1;text-decoration:underline;text-decoration-color:rgba(255,198,26,.55);text-decoration-thickness:1.5px;text-underline-offset:.28em;transition:color .2s,text-decoration-color .2s}
.nav a[data-subscribe]:hover,.nav a[data-subscribe]:focus-visible{color:#ffd23f;text-decoration-color:#ffd23f}
