/* ============================================================
   AI-ification.AI -- shared design system
   Linked by every page (index.php + the four deep-dive pages).
   Page-specific layout (hero grids, canvas sizing, section
   backgrounds) stays inline in each page's own <style> block --
   only genuinely shared chrome lives here: tokens, nav, footer,
   newsletter form, and the credibility-tag system used site-wide.
   ============================================================ */

:root{
  --bg: #05070d;
  --bg2: #0a0e1a;
  --bg3: #0a0f1d;
  --cyan: #2dd9ff;
  --magenta: #b845ff;
  --violet: #8f6bff;
  --amber: #ffb020;
  --green: #2dffb0;
  --text: #e6e9f0;
  --muted: #a3abc0;
  --accent: var(--cyan);
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg); color:var(--text);
  font-family:'Inter',system-ui,sans-serif; overflow-x:hidden;
}
h1,h2,h3,.brand{ font-family:'Orbitron',sans-serif; }
a{ color:inherit; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

/* ---------- nav ---------- */
nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:flex-start; justify-content:space-between;
  padding:18px 40px;
  background:linear-gradient(to bottom, rgba(5,7,13,0.9), transparent);
  pointer-events:none; /* empty nav area must not block hover/click on page content beneath it */
}
nav .brand, nav ul, .nav-right > *{ pointer-events:auto; }
/* once scrolled, a solid strip behind the brand + links so body text passes cleanly under the nav
   instead of dimming through the tall fade (the strip is only as tall as the link row) */
nav::before{
  content:''; position:absolute; top:0; left:0; right:0; height:60px; z-index:-1;
  background:rgba(5,7,13,0.96); border-bottom:1px solid rgba(255,255,255,0.08);
  opacity:0; transition:opacity .2s ease;
}
nav.scrolled{ background:none; }
nav.scrolled::before{ opacity:1; }
@media (max-width:820px){ nav::before{ display:none; } nav.scrolled{ background:linear-gradient(to bottom, rgba(5,7,13,0.9), transparent); } }

nav .brand{
  font-weight:700; font-size:1.1rem; letter-spacing:0.08em; text-decoration:none;
  background:linear-gradient(90deg,var(--cyan),var(--magenta));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
nav ul{ list-style:none; display:flex; gap:32px; }
nav a.nav-link{
  color:var(--muted); text-decoration:none; font-size:0.85rem;
  letter-spacing:0.05em; text-transform:uppercase; transition:color 0.2s;
}
nav a.nav-link:hover, nav a.nav-link.active{ color:var(--accent); }
.nav-right{ display:flex; flex-direction:column; align-items:flex-end; gap:16px; }
.nav-right > ul{ margin-bottom:63px; } /* keeps the newsletter table where it was now that the subscribe form sits below it */

@media (max-width:820px){
  nav{ flex-wrap:wrap; row-gap:10px; padding:14px 20px; }
  nav ul{ gap:12px 16px; flex-wrap:wrap; justify-content:center; width:100%; order:3; }
  .nav-right{ align-items:center; width:100%; }
  .newsletter-input{ width:140px; }
  .nav-issue-link{ text-align:center; max-width:none; }
}

/* ---------- newsletter (compact, nav-docked) ---------- */
.newsletter-form{ display:flex; align-items:center; gap:6px; }
.newsletter-input{
  width:280px; background:rgba(255,255,255,0.06); color:var(--text);
  border:1px solid rgba(255,255,255,0.18); border-radius:6px; padding:6px 10px;
  font-size:0.78rem; font-family:'Inter',sans-serif;
}
.newsletter-input::placeholder{ color:var(--muted); }
.newsletter-input:focus{ outline:none; border-color:var(--accent); }
.newsletter-btn{
  font-family:'Orbitron',sans-serif; font-size:0.68rem; letter-spacing:0.04em;
  background:linear-gradient(90deg,var(--cyan),var(--magenta)); color:#04070d; font-weight:700;
  border:none; border-radius:6px; padding:7px 14px; cursor:pointer; white-space:nowrap;
}
.newsletter-btn:disabled{ opacity:0.6; cursor:default; }
.newsletter-status{ font-size:0.68rem; min-height:1.1em; color:var(--muted); text-align:right; }
.newsletter-status.ok{ color:#4ade80; }
.newsletter-status.error{ color:#ff6b6b; }
.nav-issue-link{ font-size:0.85rem; max-width:none; white-space:nowrap; text-align:right; margin-top:10px; }
.nav-issue-label{
  display:block; font-family:'Orbitron',sans-serif; font-size:0.62rem; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--muted); margin-bottom:4px;
}
.nav-issue-link a{ color:var(--cyan); text-decoration:none; letter-spacing:0.02em; }
.nav-issue-link a:hover{ text-decoration:underline; }

/* ---------- footer ---------- */
footer{
  padding:40px 8vw; text-align:center; color:var(--muted); font-size:0.8rem;
  border-top:1px solid rgba(255,255,255,0.06); background:var(--bg3);
}

/* ---------- credibility tag system ----------
   One flexible pill, six semantic variants, used identically on the
   homepage (Frontier Pulse, four-frontier stats, ASI predictions) and
   every deep-dive page's stats/lab-cards/timeline. Whatever the literal
   label text (VERIFIED, LAB, CLINICAL, ENGINEERING TARGET, FORECAST,
   SPECULATION -- or the ASI section's KNOWN / IN DEVELOPMENT / PLAUSIBLE
   / SPECULATIVE), pick the variant class by what it semantically means. */
.tag{
  display:inline-flex; align-items:center; gap:5px;
  font-family:'Orbitron',sans-serif; font-size:0.6rem; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase;
  padding:3px 9px; border-radius:20px; border:1px solid; white-space:nowrap;
  line-height:1.6;
}
.tag::before{ content:''; width:5px; height:5px; border-radius:50%; background:currentColor; flex:none; }
.tag-verified{ color:#4ade80; border-color:rgba(74,222,128,0.4); background:rgba(74,222,128,0.08); }
.tag-lab{ color:var(--cyan); border-color:rgba(45,217,255,0.4); background:rgba(45,217,255,0.08); }
.tag-clinical{ color:var(--violet); border-color:rgba(143,107,255,0.4); background:rgba(143,107,255,0.08); }
.tag-engineering{ color:var(--amber); border-color:rgba(255,176,32,0.4); background:rgba(255,176,32,0.08); }
.tag-forecast{ color:var(--magenta); border-color:rgba(184,69,255,0.4); background:rgba(184,69,255,0.08); }
.tag-speculation{ color:var(--muted); border-color:rgba(138,147,168,0.4); background:rgba(138,147,168,0.08); }

/* ---------- deep-dive page shell ----------
   Identical across genome.php/quantum.php/fusion.php/neuralink.php --
   only each page's --accent token and its hero canvas art differ. */
.page-hero{
  padding:150px 8vw 50px; display:grid; grid-template-columns:1.15fr 0.85fr;
  gap:44px; align-items:center;
  background:linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
@media (max-width:900px){ .page-hero{ grid-template-columns:1fr; } }
.page-hero .eyebrow{
  color:var(--accent); font-size:0.8rem; letter-spacing:0.25em; text-transform:uppercase;
  margin-bottom:14px; display:block;
}
.page-hero h1{ font-size:clamp(1.9rem,3.8vw,2.8rem); line-height:1.15; margin-bottom:16px; }
.page-hero p.lead{ color:var(--muted); font-size:1rem; line-height:1.75; max-width:600px; margin-bottom:22px; }
.canvas-wrap{
  position:relative; height:320px; border-radius:20px; overflow:hidden;
  background:radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  border:1px solid rgba(255,255,255,0.06);
}
.canvas-wrap canvas{ width:100%; height:100%; }

.stat-row{ display:flex; gap:30px; flex-wrap:wrap; }
.stat{ min-width:130px; }
.stat .num{
  font-family:'Orbitron',sans-serif; font-size:1.6rem; font-weight:700; color:var(--accent);
  text-shadow:0 0 20px color-mix(in srgb, var(--accent) 40%, transparent);
}
.stat .label{ color:var(--muted); font-size:0.7rem; letter-spacing:0.05em; text-transform:uppercase; margin-top:4px; }
.stat .tag{ margin-top:6px; }

section.deep{ padding:46px 8vw; }
section.deep.alt{ background:linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%); }
section.deep .inner{ max-width:980px; margin:0 auto; }
section.deep h2{ font-size:clamp(1.4rem,2.4vw,1.9rem); margin-bottom:16px; color:var(--text); }
section.deep h2 .accent{ color:var(--accent); }
section.deep p{ color:var(--muted); font-size:0.95rem; line-height:1.8; margin-bottom:16px; max-width:820px; }
section.deep p:last-child{ margin-bottom:0; }

.lab-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:22px; }
@media (max-width:800px){ .lab-grid{ grid-template-columns:1fr; } }
.lab-card{
  background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08);
  border-radius:12px; padding:18px 20px;
}
.lab-card .name{ font-family:'Orbitron',sans-serif; font-size:0.9rem; margin-bottom:8px; color:var(--text); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.lab-card .name .dot{
  display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:2px;
  background:var(--accent); box-shadow:0 0 8px var(--accent);
}
.lab-card .desc{ font-size:0.85rem; color:var(--muted); line-height:1.6; }

.timeline{ list-style:none; border-left:2px solid rgba(255,255,255,0.12); padding-left:26px; display:flex; flex-direction:column; gap:20px; margin-top:22px; }
.timeline li{ position:relative; }
.timeline li::before{
  content:''; position:absolute; left:-33px; top:4px; width:10px; height:10px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 8px var(--accent);
}
.timeline .when{ font-family:'Orbitron',sans-serif; color:var(--accent); font-size:0.8rem; margin-bottom:4px; display:flex; align-items:center; gap:8px; }
.timeline .what{ color:var(--text); font-size:0.9rem; line-height:1.65; opacity:0.9; }

.back-row{ padding:36px 8vw 0; }
.back-link{ color:var(--muted); font-size:0.85rem; text-decoration:none; }
.back-link:hover{ color:var(--accent); }

/* ---------- newsletter module (used on the homepage and newsletter.php) ---------- */
.newsletter-section{
  padding:60px 8vw; text-align:center;
  background:linear-gradient(180deg, var(--bg) 0%, var(--bg3) 100%);
}
.newsletter-module{
  max-width:640px; margin:0 auto; border:1px solid rgba(255,255,255,0.1); border-radius:20px;
  padding:38px 32px; background:radial-gradient(ellipse at top, rgba(184,69,255,0.08), transparent 70%);
}
.newsletter-module .eyebrow{ color:var(--magenta); font-size:0.8rem; letter-spacing:0.25em; text-transform:uppercase; display:block; margin-bottom:10px; }
.newsletter-module h2{ font-size:clamp(1.4rem,2.8vw,2rem); margin-bottom:10px; }
.newsletter-module .value-prop{ color:var(--muted); font-size:0.92rem; line-height:1.6; margin-bottom:20px; }
.newsletter-module .issue-teaser{
  text-align:left; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08);
  border-radius:12px; padding:14px 18px; margin-bottom:22px;
}
.newsletter-module .issue-teaser .issue-no{ font-family:'Orbitron',sans-serif; font-size:0.68rem; color:var(--cyan); letter-spacing:0.05em; text-transform:uppercase; margin-bottom:4px; }
.newsletter-module .issue-teaser h4{ font-size:0.98rem; margin-bottom:6px; }
.newsletter-module .issue-teaser p{ font-size:0.82rem; color:var(--muted); line-height:1.55; margin-bottom:6px; }
.newsletter-module .issue-teaser .topics{ font-size:0.68rem; color:var(--muted); opacity:0.75; }
.newsletter-module-form{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.newsletter-module-form .newsletter-input{ width:260px; padding:11px 14px; font-size:0.88rem; }
.newsletter-module-form .newsletter-btn{ padding:11px 22px; font-size:0.78rem; }
.newsletter-module-form + .newsletter-status{ margin-top:8px; text-align:center; }

/* ---------- newsletter issue article (traditional-newsletter treatment) ----------
   Shared by the standalone /newsletter.php page and the popup modal's fetched
   partial (includes/newsletter-issue.php) -- one source of content, two shells. */
.nl-issue{ max-width:640px; margin:0 auto; }
.nl-masthead{ text-align:center; padding:0 6px 22px; }
.nl-rule{ width:100%; }
.nl-rule-thick{ height:3px; background:linear-gradient(90deg, transparent, var(--accent), transparent); margin-bottom:10px; }
.nl-rule-thin{ height:1px; background:rgba(255,255,255,0.2); margin:14px 0 18px; }
.nl-nameplate{
  font-family:'Orbitron',sans-serif; font-weight:900; letter-spacing:0.16em; text-transform:uppercase;
  font-size:clamp(1.4rem,4vw,2rem);
  background:linear-gradient(90deg,var(--cyan),var(--magenta)); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.nl-issue-line{
  font-family:'Orbitron',sans-serif; font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--muted); margin-top:8px;
}
.nl-title{ font-size:clamp(1.25rem,2.8vw,1.7rem); font-weight:700; line-height:1.35; color:var(--text); margin-bottom:6px; }
.nl-topics{ font-size:0.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em; opacity:0.8; }

.nl-body{ padding:26px 6px 6px; }
.nl-body p{
  text-align:justify; text-justify:inter-word; hyphens:auto; -webkit-hyphens:auto;
  color:var(--muted); font-size:0.95rem; line-height:1.85; margin-bottom:16px;
}
.nl-intro::first-letter{
  float:left; font-family:'Orbitron',sans-serif; font-weight:700; font-size:3rem; line-height:0.78;
  padding:5px 10px 0 0; color:var(--accent);
}
.nl-divider{ text-align:center; color:var(--accent); opacity:0.55; letter-spacing:0.4em; font-size:0.85rem; margin:8px 0 22px; }
.nl-section{ margin-bottom:4px; }
.nl-section-head{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:8px; }
.nl-frontier{ font-family:'Orbitron',sans-serif; font-size:0.7rem; letter-spacing:0.12em; text-transform:uppercase; }
.nl-genome .nl-frontier{ color:var(--cyan); }
.nl-quantum .nl-frontier{ color:var(--violet); }
.nl-fusion .nl-frontier{ color:var(--amber); }
.nl-neural .nl-frontier{ color:var(--green); }
.nl-section h2{ text-align:center; font-size:clamp(1.05rem,2vw,1.3rem); margin-bottom:12px; color:var(--text); }
.nl-body .why-matters p{ text-align:left; margin-bottom:0; }
.nl-closing h2{ text-align:center; color:var(--accent); }
.nl-end-mark{
  text-align:center; color:var(--muted); letter-spacing:0.35em; font-size:0.66rem;
  text-transform:uppercase; margin:26px 0 4px; opacity:0.7;
}
.nl-cta{ margin:26px auto 0; }
@media (max-width:600px){ .nl-intro::first-letter{ font-size:2.4rem; } }

/* ---------- newsletter popup ---------- */
.nav-issue-link a{ cursor:pointer; }
dialog.newsletter-dialog{
  max-width:680px; width:92vw; max-height:86vh; padding:0; border:1px solid rgba(255,255,255,0.14);
  border-radius:16px; background:var(--bg2); color:var(--text); position:fixed; margin:auto;
  box-shadow:0 30px 90px rgba(0,0,0,0.6);
  /* the <dialog> element gets `overflow:auto` from the browser's own default
     stylesheet -- left alone, that plus .nl-dialog-inner's own overflow-y:auto
     below creates two nested scrollable boxes at nearly the same height (a
     double scrollbar). Only the inner content area should scroll. */
  overflow:hidden;
}
dialog.newsletter-dialog::backdrop{ background:rgba(2,4,10,0.78); backdrop-filter:blur(3px); }
.nl-dialog-close{
  position:absolute; top:14px; right:16px; z-index:5; width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.2); color:var(--text);
  font-size:1.15rem; line-height:1; cursor:pointer;
}
.nl-dialog-close:hover{ background:rgba(255,255,255,0.18); }
.nl-dialog-inner{ max-height:86vh; overflow-y:auto; padding:44px 32px 30px; }
.nl-dialog-inner .nl-loading{ text-align:center; color:var(--muted); padding:60px 0; }
@media (max-width:600px){ .nl-dialog-inner{ padding:40px 18px 24px; } }

/* ---------- shared cross-frontier / editorial components ---------- */
.pull-quote{
  border-left:3px solid var(--accent); padding:4px 0 4px 22px; margin:24px 0;
  font-family:'Orbitron',sans-serif; font-size:1.05rem; line-height:1.5; color:var(--text);
  max-width:720px;
}
.pull-quote cite{
  display:block; margin-top:10px; font-family:'Inter',sans-serif; font-style:normal;
  font-size:0.78rem; color:var(--muted); letter-spacing:0.03em;
}
.why-matters{
  margin-top:14px; padding:12px 16px; border-radius:10px;
  background:rgba(255,255,255,0.03); border:1px dashed rgba(255,255,255,0.14);
  font-size:0.8rem; line-height:1.55; color:var(--muted);
}
.why-matters strong{
  display:block; font-family:'Orbitron',sans-serif; font-size:0.68rem; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--accent); margin-bottom:5px; font-weight:700;
}

.nav-issue-date{ display:block; font-size:0.7rem; color:var(--muted); margin-top:2px; }
.nl-archive{ max-width:720px; margin:48px auto 0; }
.nl-archive-head{ font-size:0.75rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); text-align:center; margin-bottom:14px; }
.nl-archive-list{ list-style:none; padding:0; margin:0; border-top:1px solid rgba(255,255,255,0.14); }
.nl-archive-list li{ border-bottom:1px solid rgba(255,255,255,0.14); }
.nl-archive-list a{ display:grid; grid-template-columns:86px 1fr; gap:18px; padding:16px 10px; color:inherit; text-decoration:none; border:0; transition:background .15s; }
.nl-archive-list a:hover{ background:rgba(255,255,255,0.05); }
.nl-archive-list a:hover .nl-arch-title{ color:var(--cyan); }
.nl-arch-date{ display:flex; flex-direction:column; align-items:flex-end; text-align:right; padding-top:2px; border-right:2px solid rgba(255,255,255,0.14); padding-right:16px; }
.nl-arch-md{ font-weight:700; font-size:1rem; color:var(--text); white-space:nowrap; }
.nl-arch-y{ font-size:0.75rem; color:var(--muted); letter-spacing:0.08em; }
.nl-arch-main{ display:flex; flex-direction:column; gap:5px; min-width:0; }
.nl-arch-title{ font-weight:700; font-size:1.02rem; line-height:1.3; color:var(--text); transition:color .15s; }
.nl-arch-no{ display:inline-block; margin-right:9px; font-size:0.68rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--cyan); font-weight:600; vertical-align:1px; }
.nl-arch-desc{ font-size:0.85rem; line-height:1.5; color:var(--muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nl-archive-list li.is-current a{ background:rgba(255,255,255,0.04); }
.nl-archive-list li.is-current .nl-arch-date{ border-right-color:var(--cyan); }
@media (max-width:520px){ .nl-archive-list a{ grid-template-columns:62px 1fr; gap:12px; padding:14px 4px; } .nl-arch-date{ padding-right:10px; } .nl-arch-md{ font-size:0.88rem; } }

.nav-issue-older{ list-style:none; margin:8px 0 0; padding:0; display:block; font-size:0.75rem; }
.nav-issue-older li{ margin-top:3px; }
.nav-issue-older a{ color:var(--muted); }
.nav-issue-older a:hover{ color:var(--cyan); }
.nav-issue-date-inline{ color:var(--muted); font-size:0.68rem; margin-left:6px; }
@media (max-width:820px){ .nav-issue-link{ white-space:normal; } }

/* Newsletter source list (Issue No. 3 onward) */
.nl-sources h2{ text-align:center; font-size:clamp(1rem,1.8vw,1.15rem); color:var(--muted); }
.nl-source-list{ list-style:none; margin:0; padding:0; font-size:0.82rem; line-height:1.7; color:var(--muted); text-align:left; }
.nl-source-list li{ padding:4px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.nl-source-list a{ color:var(--cyan); text-decoration:none; }
.nl-source-list a:hover{ text-decoration:underline; }

/* ---------- nav newsletter list (landing-page, right side) ---------- */
.nav-issues{ width:405px; max-width:100%; margin-top:6px; padding:12px 12px 6px; text-align:left;
  background:rgba(8,11,20,0.72); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.10); border-radius:10px; }
.nav-issues .nav-issue-label{ display:block; margin:0 0 6px 4px; }
.nav-issue-list{ list-style:none; margin:0; padding:0; }
.nav-issue-list li{ border-top:1px solid rgba(255,255,255,0.08); }
.nav-issue-list li:first-child{ border-top:0; }
.nav-issue-list a{ display:grid; grid-template-columns:52px 1fr; gap:12px; padding:8px 4px; text-decoration:none; color:inherit; border-radius:6px; transition:background .15s; }
.nav-issue-list a:hover{ background:rgba(255,255,255,0.06); text-decoration:none; }
.ni-date{ display:flex; flex-direction:column; align-items:flex-end; text-align:right; padding-right:10px; border-right:2px solid rgba(255,255,255,0.14); }
.ni-md{ font-weight:700; font-size:0.8rem; color:var(--text); white-space:nowrap; }
.ni-y{ font-size:0.62rem; color:var(--muted); letter-spacing:0.08em; }
.ni-main{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.ni-title{ font-weight:600; font-size:0.82rem; line-height:1.3; color:var(--text); transition:color .15s;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nav-issue-list a:hover .ni-title{ color:var(--cyan); }
.ni-no{ margin-right:7px; font-size:0.6rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--cyan); font-weight:600; }
.ni-desc{ font-size:0.7rem; line-height:1.4; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nav-issue-list li.is-latest .ni-date{ border-right-color:var(--cyan); }
.nav-issue-list li.is-latest .ni-desc{ white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
@media (max-width:820px){ .nav-issues{ width:100%; max-width:420px; } }
.nav-issues-all{ display:block; text-align:right; padding:6px 6px 4px; font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--cyan); text-decoration:none; border-top:1px solid rgba(255,255,255,0.08); }
.nav-issues-all:hover{ text-decoration:underline; }
@media (max-width:820px){ .nav-issue-list{ max-height:190px; } }
.nav-issue-list{ max-height:300px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,0.25) transparent; }
@media (max-width:820px){ .nav-issue-list{ max-height:190px; } }
.ni-draft, .nl-arch-draft{ display:inline-block; margin-right:7px; padding:1px 6px; font-size:0.58rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:600; color:#ffc94d; border:1px solid rgba(255,201,77,0.55); border-radius:4px; vertical-align:1px; white-space:nowrap; }
.nl-arch-draft{ font-size:0.64rem; }
.nav-issue-list{ max-height:440px; }
@media (max-width:820px){ .nav-right > ul{ margin-bottom:0; } }
.nav-right > .newsletter-form{ width:405px; max-width:100%; justify-content:flex-start; gap:18px; }
@media (max-width:820px){ .nav-right > .newsletter-form{ width:auto; justify-content:center; } }
.nav-issue-list li.is-latest .ni-title{ display:block; -webkit-line-clamp:unset; overflow:visible; }

/* ---------- hide / show the newsletter panel ---------- */
.nav-issues-head{ display:flex; align-items:center; justify-content:space-between; margin:0 0 6px 4px; }
.nav-issues-head .nav-issue-label{ margin:0; }
.nav-issues{ position:relative; }
.nav-issues-hide{ position:absolute; right:-1px; top:-29px; display:flex; align-items:center; gap:6px; padding:6px 12px 5px 14px;
  font-family:'Orbitron',sans-serif; font-size:0.66rem; letter-spacing:0.16em; text-transform:uppercase; font-weight:600; color:var(--cyan);
  background:rgba(8,11,20,0.85); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.10); border-bottom:0; border-radius:8px 8px 0 0; cursor:pointer; line-height:1; }
.nav-issues-hide svg{ display:block; transition:transform .15s; }
.nav-issues-hide:hover{ background:rgba(20,28,48,0.95); }
.nav-issues-hide:hover svg{ transform:translateX(3px); }
.nav-issues{ transition:transform .35s ease, opacity .25s ease, visibility 0s linear 0s; }
.nav-issues.is-hidden{ transform:translateX(calc(100% + 60px)); opacity:0; visibility:hidden; pointer-events:none; transition:transform .35s ease, opacity .25s ease, visibility 0s linear .35s; }
.nav-issues-tab{ position:fixed; right:0; top:140px; z-index:210; writing-mode:vertical-rl; transform:translateX(110%); opacity:0; visibility:hidden;
  padding:14px 8px; font-family:'Orbitron',sans-serif; font-size:0.68rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--cyan);
  background:rgba(8,11,20,0.85); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.14); border-right:0; border-radius:8px 0 0 8px; cursor:pointer;
  transition:transform .35s ease, opacity .25s ease, background .15s, visibility 0s linear .35s; }
.nav-issues-tab.is-shown{ transform:translateX(0); opacity:1; visibility:visible; transition:transform .35s ease .1s, opacity .25s ease .1s, background .15s, visibility 0s; }
.nav-issues-tab:hover{ background:rgba(20,28,48,0.95); }
@media (prefers-reduced-motion: reduce){ .nav-issues, .nav-issues-tab{ transition:none !important; } }
.nav-right > .newsletter-form{ transition:transform .35s ease, opacity .25s ease, visibility 0s linear 0s; }
.nav-right > .newsletter-form.is-hidden, .nav-right > .newsletter-status.is-hidden{ transform:translateX(calc(100% + 60px)); opacity:0; visibility:hidden; pointer-events:none; transition:transform .35s ease, opacity .25s ease, visibility 0s linear .35s; }
.aif-no-anim .nav-issues, .aif-no-anim .nav-issues-tab, .aif-no-anim .nav-right > .newsletter-form, .aif-no-anim .nav-right > .newsletter-status{ transition:none !important; }
