/* ==================================================================
   ALIENSREPORT — site style layer (loads last on every page)
   Carries the AliensReport logo across the site:
   - deep-space black-green base instead of Newstro's newsprint paper
   - the logo's yellow → lime → green gradient for brand accents
   - "sticker" lettering: white or lime letters, thick black outline,
     hard black offset shadow
   - blocky rounded labels and buttons with black outlines
   - the alien head on its orbit ring as the heading emblem
   - the white arc under the wordmark as the header and footer edge
   Section colors (section-themes.css) still drive each section.
   ================================================================== */

:root {
  --a-yellow: #f4ff14;
  --a-lime: #b4ff00;
  --a-green: #27e60a;
  --a-deep: #0b7a06;
  --brand: linear-gradient(180deg, #f4ff14 0%, #b4ff00 45%, #27e60a 100%);     /* like the letters: yellow on top, green below */
  --brand-h: linear-gradient(90deg, #27e60a 0%, #b4ff00 55%, #f4ff14 100%);
  --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 96'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f4ff14'/%3E%3Cstop offset='1' stop-color='%2327e60a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='75' cy='56' rx='66' ry='20' fill='none' stroke='%23000' stroke-width='13'/%3E%3Cellipse cx='75' cy='56' rx='66' ry='20' fill='none' stroke='%23b4ff00' stroke-width='6.5'/%3E%3Cg transform='translate(27 -7) scale(.75)'%3E%3Cpath d='M64 17C96 17 109 40 106 64C103 90 78 112 64 115C50 112 25 90 22 64C19 40 32 17 64 17Z' fill='%23fff' stroke='%23fff' stroke-width='15' stroke-linejoin='round'/%3E%3Cpath d='M64 17C96 17 109 40 106 64C103 90 78 112 64 115C50 112 25 90 22 64C19 40 32 17 64 17Z' fill='url(%23g)' stroke='%23000' stroke-width='8' stroke-linejoin='round'/%3E%3Cpath d='M31 62C42 57 57 66 59 83C45 86 31 77 31 62Z'/%3E%3Cpath d='M97 62C86 57 71 66 69 83C83 86 97 77 97 62Z'/%3E%3C/g%3E%3C/svg%3E");
  --arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40Q500 -14 1000 40Q500 20 0 40Z' fill='%23000'/%3E%3Cpath d='M16 37.5Q500 -5 984 37.5Q500 14 16 37.5Z' fill='%23fff'/%3E%3C/svg%3E");
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cellipse cx='200' cy='30' rx='190' ry='22' fill='none' stroke='%23000' stroke-width='12'/%3E%3Cellipse cx='200' cy='30' rx='190' ry='22' fill='none' stroke='%23b4ff00' stroke-width='6'/%3E%3C/svg%3E");

  --black: #030504;
  --char: #0e1410;
  --paper: #070b08;                              /* page */
  --paper-2: #1f2a21;                            /* rules, card borders */
  --card: #0d130f;
  --card-2: #131b15;
  --ink: #f2f8f0;                                /* main text */
  --muted: #9aa89c;
  --line: #1f2a21;
  --line-2: #2f3d31;
}

/* ---------- page base: night sky ---------- */
body,
body[data-page="home"],
body[data-page="archive"],
body[data-page="info"] {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.7px) 23px 41px / 173px 149px fixed,
    radial-gradient(circle, rgba(255, 255, 255, .32) 1px, transparent 1.5px) 97px 12px / 113px 127px fixed,
    radial-gradient(circle, rgba(190, 255, 120, .38) 1.2px, transparent 1.9px) 61px 88px / 311px 263px fixed,
    radial-gradient(ellipse 900px 520px at 100% 0, rgba(60, 230, 20, .11), transparent 70%) fixed,
    radial-gradient(ellipse 900px 600px at 0 100%, rgba(230, 255, 40, .06), transparent 70%) fixed,
    var(--paper);
  color: var(--ink);
}
::selection { background: var(--a-lime); color: #061003; }
html { scrollbar-color: #4df014 #050805; }

/* --fill / --on-fill: label, tab and button color for the nearest section.
   --pop: that section's solid color for hard "sticker" shadows. */
:root { --fill: var(--brand); --on-fill: #061003; --pop: #4df014; }
[data-theme][data-theme] { --hl: var(--red-hot); --fill: var(--red); --on-fill: var(--on); --pop: var(--red); }
/* Breaking News (the homepage default) wears the logo's own gradient. */
[data-theme="breaking"][data-theme="breaking"] { --fill: var(--brand); --on-fill: #061003; --pop: #4df014; }

/* ---------- labels, chips, buttons: blocky stickers ---------- */
.label-bar, .tabs button[aria-pressed="true"], .page-current { background: var(--fill); color: var(--on-fill); }
.label-bar { border: 2px solid #000; border-radius: 6px; box-shadow: 3px 3px 0 #000; text-shadow: none; padding-top: 7px; padding-bottom: 6px; }
.label-bar.sm { border-radius: 4px; box-shadow: 2px 2px 0 #000; padding-top: 4px; padding-bottom: 3px; }
.label-bar.dot::before { background: var(--on-fill); }
.type-chip { background: var(--line); color: #fff; border-radius: 4px; }
.type-chip.video { background: var(--a-yellow); color: #061003; }
.btn {
  background: var(--brand); color: #061003; border: 2px solid #000; border-radius: 9px;
  box-shadow: 4px 4px 0 #000; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 2px #fff, 6px 6px 0 2px #000; }

/* ---------- sticker headlines: white letters, thick black outline ---------- */
.mega, .section-head h2, .showcase-heading h2, .header-tag strong, .art-below h1, .art-below h2 {
  color: #fff; -webkit-text-stroke: .11em #000; paint-order: stroke fill;
}
.mega { text-shadow: .05em .06em 0 #000; letter-spacing: .014em; line-height: .96; }
.section-head h2, .showcase-heading h2 { text-shadow: .06em .07em 0 #000; }
.art-below h1, .art-below h2 { -webkit-text-stroke-width: .09em; text-shadow: .05em .06em 0 #000; }
.mega .accent {                 /* highlighted headline words: the "REPORT" half of the logo */
  background: none; box-shadow: none; padding: 0; color: var(--a-lime);
  background-image: none; -webkit-text-fill-color: var(--a-lime);
}
[data-theme]:not([data-theme="breaking"]) .mega .accent { color: var(--red-hot); -webkit-text-fill-color: var(--red-hot); }

/* ---------- top strip / ticker ---------- */
.topstrip { background: #020403; color: #c2cec3; }
.ticker-label { background: var(--brand); color: #061003; }
.ticker-label::before { background: #061003; }
.ticker-track a:hover { color: var(--a-lime); }
.ticker-track a::after { content: "✦"; color: var(--a-lime); }

/* ---------- header ---------- */
.site-header { position: relative; border-bottom: 0; }
.site-header::after {               /* the white arc under the wordmark runs along the bottom edge */
  content: ""; position: absolute; inset: auto 0 0 0; height: 20px; z-index: 2;
  background: var(--arc) center bottom / 100% 100% no-repeat; pointer-events: none; animation: none;
}
.site-header .wrap { padding-top: 16px; padding-bottom: 28px; }
.logo { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); transition: transform .2s; }
.logo:hover { transform: scale(1.03) rotate(-1deg); }
.logo img { height: 112px; clip-path: none; }
.header-tag strong { font-size: 30px; text-shadow: 2px 3px 0 #000; }
.header-tag span { color: #dfe9df; }
@media (max-width: 760px) { .logo img { height: 64px; } .site-header .wrap { padding-top: 12px; padding-bottom: 22px; } }
/* the section symbol hovers like a craft */
.site-header .section-motif { opacity: .34; animation: a-hover 5.5s ease-in-out infinite; }
@keyframes a-hover { 0%, 100% { translate: 0 -5px; } 50% { translate: 0 6px; } }
[data-theme="breaking"] .site-header .section-motif::after {      /* tractor beam under the craft */
  content: ""; position: absolute; left: 22%; right: 22%; top: 62%; height: 120%;
  background: linear-gradient(180deg, rgba(190, 255, 80, .55), transparent 85%);
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%); animation: a-beam 3.2s ease-in-out infinite;
}
@keyframes a-beam { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }

/* ---------- navigation ---------- */
.navbar { background: rgba(3, 5, 4, .96); backdrop-filter: blur(8px); border-bottom: 2px solid transparent; border-image: var(--brand-h) 1; }
.navbar a { color: #d5dfd6; }
.navbar a:hover { background: rgba(180, 255, 0, .08); color: #fff; }
.navbar a.active, .navbar .nav-links a.active { background: var(--fill); color: var(--on-fill); box-shadow: inset 0 0 0 2px #000; }
.section-picker { background: transparent; }
.section-picker select, .browse-tools select {
  -webkit-appearance: none; appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b4ff00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 11px auto;
}
.section-picker select { background-color: var(--char); border: 2px solid var(--line-2); border-radius: 8px; color: #fff; }
.section-picker select:hover { border-color: var(--a-lime); }
.navbar.is-stuck .sticky-brand, .navbar.is-stuck .sticky-brand:hover { background: transparent; flex-basis: auto; padding: 2px 14px 2px 4px; }
.navbar.is-stuck .sticky-brand img { height: 42px; clip-path: none; }
@media (max-width: 760px) { .navbar.is-stuck .sticky-brand img { max-height: 32px; } }

/* ---------- homepage lead ---------- */
#hero.hero-grid {
  --hero-panel: var(--card); background: var(--card); border: 2px solid #000; border-radius: 14px; overflow: hidden;
  box-shadow: 6px 6px 0 #000; outline: 1px solid rgba(255, 255, 255, .07); outline-offset: -3px;
}
#hero .hero-main { border-top: 6px solid var(--pop); }
#hero .hero-main[data-theme="breaking"] { border-image: var(--brand-h) 1; }
.hero-paper, .hero-paper::before { background: var(--card); }
#hero .has-art .hero-paper, .showcase-hero .has-art .hero-paper { background: none; }
.hero-paper .mega a, #hero .hero-paper .mega a { color: #fff; }
/* outlined letters would outline an underline too, so the lead headline changes color instead */
#hero .hero-paper .mega a, .showcase-hero .hero-paper .mega a { text-decoration: none; transition: color .15s; }
#hero .hero-paper .mega a:hover, .showcase-hero .hero-paper .mega a:hover { color: var(--hl); text-decoration: none; }
.hero-paper .dek, .article-top .dek { color: #c8d4ca; }
.hero-meta { color: var(--muted); }
.media-card { background: var(--black); border: 2px solid #000; box-shadow: 7px 7px 0 var(--pop); }
#hero .has-art .media-card, .showcase-hero .has-art .media-card { border: 0; box-shadow: none; }
.media-card .card-bar { background: var(--brand-h); color: #061003; text-shadow: none; border-bottom-color: var(--black); }
/* the picture reads like footage: faint scan lines and a lime edge where it meets the headline */
#hero .has-art .art-tile::after, .showcase-hero .has-art .art-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 4px), radial-gradient(ellipse at 100% 0, rgba(180, 255, 0, .16), transparent 55%);
}
#hero .has-art .hero-paper .mega, .showcase-hero .has-art .hero-paper .mega { text-shadow: .05em .06em 0 #000, 0 0 34px rgba(0, 0, 0, .6); }
.hero-side, .hero-side::after, #hero .hero-side::before, #hero .hero-side::after { background: var(--black); }
#hero .hero-side { border-top: 0; }
.side-title h2 span { color: var(--a-lime); }
[data-theme]:not([data-theme="breaking"]) .side-title h2 span { color: var(--red-hot); }
#hero .side-title { border-bottom-color: var(--line); }
#hero .side-title .side-more { color: #c2cec3; }
#hero .side-title .side-more:hover { color: var(--a-lime); }
.side-item, #hero .side-item { border-top-color: var(--line); }
.side-item:hover h3 { color: var(--a-lime); }
.side-item .thumb, .story .thumb, .showcase-image { border: 2px solid #000; border-radius: 8px; }
.side-item .thumb { transition: transform .16s, box-shadow .16s; }
.side-item:hover .thumb { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--a-lime); }
.play { background: var(--brand); box-shadow: 0 0 0 4px #000, 0 0 0 6px #fff, 0 10px 30px rgba(0, 0, 0, .6); }
.play svg { fill: #061003; }
.side-item .thumb .play { box-shadow: 0 0 0 2px #000, 0 0 0 3px #fff; }

/* ---------- headings: the alien-and-ring emblem, with the orbit ring as underline ---------- */
.section-head { border-bottom: 0; position: relative; padding-bottom: 22px; }
.section-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 14px;
  background: var(--arc) center / 100% 100% no-repeat;
}
.section-head h2, .side-title h2, .showcase-heading h2 { display: inline-flex; align-items: center; gap: .2em; }
.section-head h2::before, .side-title h2::before, #hero .side-title h2::before, .showcase-heading h2::before,
.art-below .paper h2::before, .art-below .roe h2::before {
  content: ""; flex: none; width: 1.5em; height: .96em; margin-right: .04em; -webkit-text-stroke: 0;
  background: var(--emblem) center / contain no-repeat; filter: drop-shadow(.04em .05em 0 #000);
}
.art-below .paper h2::before, .art-below .roe h2::before { display: inline-block; vertical-align: -.14em; margin-right: .22em; width: 1.35em; height: .86em; }
.section-head h2 span {             /* highlighted word: a section-colored sticker block */
  background: var(--fill); color: var(--on-fill); -webkit-text-stroke: 0; text-shadow: none;
  border: 2px solid #000; border-radius: 7px; padding: .04em .16em 0; box-shadow: 3px 3px 0 #000;
}

/* ---------- filter tabs, search, pagination ---------- */
.tabs button { border: 2px solid var(--line-2); border-radius: 8px; color: #e4ece5; background: var(--char); }
.tabs button:hover { background: #18211a; color: #fff; border-color: var(--a-lime); }
.tabs button[aria-pressed="true"] { border-color: #000; box-shadow: 3px 3px 0 #000; }
.browse-tools input, .browse-tools select { background-color: var(--char); color: #fff; border: 2px solid var(--line-2); border-radius: 8px; }
.browse-tools input::placeholder { color: #7f8c81; }
.browse-tools input:focus, .browse-tools select:focus { outline: 0; border-color: var(--a-lime); box-shadow: 0 0 0 3px rgba(180, 255, 0, .22); }
.page-links a, .page-current { border: 2px solid var(--line-2); color: #e4ece5; border-radius: 8px; background: var(--char); }
.page-links a:hover, .page-links a:focus-visible { background: #18211a; color: #fff; border-color: var(--a-lime); }
.page-current { background: var(--fill); border-color: #000; box-shadow: 3px 3px 0 #000; }

/* ---------- story cards: black outline + hard offset shadow ---------- */
.story { border-bottom-color: var(--line); }
.story p { color: #b4c0b6; }
.story h3 { transition: color .15s; }
.story:hover h3 { text-decoration: none; color: var(--hl); }
.story .thumb { box-shadow: 4px 4px 0 #000; }
.story:hover .thumb { transform: none; box-shadow: 4px 4px 0 #000; }
#stories .story {
  position: relative; background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid #000; border-radius: 12px; box-shadow: 6px 6px 0 #000;
  outline: 1px solid rgba(255, 255, 255, .07); outline-offset: -3px;
  transition: transform .18s, box-shadow .18s;
}
#stories .story::before {            /* section-colored tab on the card's top edge */
  content: ""; position: absolute; left: 18px; top: -2px; width: 64px; height: 5px; border-radius: 0 0 4px 4px; background: var(--fill);
}
#stories .story:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--pop); }
.story .side .big { color: var(--a-lime); }
[data-theme]:not([data-theme="breaking"]) .story .side .big { color: var(--red-hot); }
.story .side .big::after { content: " ▸"; }
.empty { color: var(--muted); padding: 70px 0 60px; }
.empty::before {
  content: ""; display: block; width: 104px; height: 104px; margin: 0 auto 16px;
  background: url("favicon.svg") center / contain no-repeat; filter: drop-shadow(4px 4px 0 #000);
  animation: a-hover 5.5s ease-in-out infinite;
}

/* generated fallback graphics (stories without a picture) */
.gfx .g-label { background: #fff; color: #111; border-radius: 4px; }
.gfx .g-head { max-width: 68%; }
.gfx .g-mark { width: 30%; right: 3%; bottom: 5%; }

/* ---------- homepage section showcases ---------- */
.showcase-heading { color: #fff; border: 2px solid #000; border-bottom: 0; }
.showcase-heading::after { background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .15)); }
.showcase-links a:hover { color: var(--a-yellow); }
.showcase-content { background: var(--card); border: 2px solid #000; border-top: 0; box-shadow: 6px 6px 0 #000; position: relative; }
.showcase-content::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--fill); }
.showcase-image { box-shadow: 5px 5px 0 #000; transition: transform .16s, box-shadow .16s; }
.showcase-lead a:hover .showcase-image { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--pop); }
.showcase-lead h3 { color: #fff; }
.showcase-lead time, .showcase-list time { color: #84928a; }
.showcase-list li { border-bottom-color: var(--line); }
.showcase-list a { color: #e2eae3; }
.showcase-lead a:hover h3, .showcase-list a:hover { color: var(--hl); }
.showcase-hero { position: relative; background: var(--card); color: var(--ink); border: 2px solid #000; border-top: 0; border-bottom: 1px solid var(--line); box-shadow: 6px 6px 0 #000; }
.showcase-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--fill); z-index: 4; pointer-events: none; }
.showcase-hero + .showcase-content::before { display: none; }
.showcase-hero .hero-paper { background: var(--card); color: var(--ink); }
.showcase-hero .hero-paper .mega, .showcase-hero .hero-paper .mega a { color: #fff; }
.showcase-hero .hero-paper .dek { color: #c8d4ca; }
.showcase-hero .hero-meta { color: var(--muted); }
.showcase-hero .hero-meta .type-chip { background: rgba(255, 255, 255, .1); color: var(--ink); border-color: rgba(255, 255, 255, .18); }

/* ---------- footer ---------- */
.torn-top-dark {
  clip-path: none; height: 30px; margin-top: 70px; margin-bottom: 0;
  background: var(--arc) center bottom / 100% 100% no-repeat;
}
.site-footer { margin-top: 0; background: var(--black); color: #aebab0; position: relative; overflow: hidden; }
.site-footer::before {                      /* a big faint visitor rising behind the footer */
  content: ""; position: absolute; right: -50px; bottom: -90px; width: 420px; height: 420px; opacity: .07; pointer-events: none;
  background: url("favicon.svg") center / contain no-repeat;
}
.site-footer .wrap { position: relative; }
.site-footer .footer-brand img { height: 84px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .6)); }
.site-footer .footer-brand p { color: #aebab0; }
.site-footer h2 { color: #fff; display: flex; align-items: center; gap: 8px; }
.site-footer h2::after { content: ""; flex: 0 0 34px; height: 5px; border-radius: 3px; background: var(--brand-h); box-shadow: 0 0 0 1.5px #000; }
.site-footer .footer-links a { color: #d8e2d9; }
.site-footer .footer-links a:hover { color: var(--a-lime); }
.site-footer .footer-bottom { border-top-color: var(--line); }
.site-footer .footer-site-link { background: var(--card); border: 2px solid #000; box-shadow: 4px 4px 0 #000; }
.site-footer .footer-site-link:hover { background: #162018; border-color: var(--a-lime); box-shadow: 4px 4px 0 var(--a-lime); }
.site-footer .footer-site-link:hover .footer-site-copy strong { color: var(--a-lime); }
.footer-strip { height: 6px; background: var(--brand-h); }

/* ---------- article pages ---------- */
body[data-page="archive"] .article-top {
  background:
    radial-gradient(ellipse at 85% 0, rgba(60, 230, 20, .14), transparent 55%),
    linear-gradient(180deg, #0a100b, var(--paper));
}
.article-top .crumbs, .byline { color: var(--muted); }
.byline .sep { background: var(--brand-h); }
.story-paper-art { background: #0f1711; }
.article-top.has-thumbnail-background .story-paper-art { background: #080c09; }
.article-top .story-paper-art::after,
.article-top.has-thumbnail-background .story-paper-art::after {
  background: linear-gradient(90deg, rgba(6, 10, 7, .94) 0%, rgba(6, 10, 7, .82) 44%, rgba(6, 10, 7, .15) 80%);
}
@media (max-width: 760px) {
  .article-top.has-thumbnail-background .story-paper-art::after { background: rgba(6, 10, 7, .8); }
}
.article-top .mega { position: relative; -webkit-text-stroke-width: .1em; }

/* reading panels */
.art-below .paper, .art-below .roe,
body[data-page="info"] .art-below .paper,
body[data-page="archive"] .article-layout .art-below > .paper,
body[data-page="archive"] .article-layout .art-below > .roe {
  background: var(--card); color: #e0e8e1; border: 2px solid #000; border-top: 4px solid var(--pop);
  border-radius: 12px; box-shadow: 6px 6px 0 #000;
}
body[data-page="archive"] .article-layout .art-below > .paper + .paper { border-top: 2px solid #000; }
.art-below .paper p, .art-below .paper li, .art-below .roe p, .art-below .info p, .prose { color: #d8e2d9; }
.art-below h1, .art-below h2, .art-below h3 { color: #fff; }
.art-below .paper a, .art-below .roe a { color: var(--hl); text-decoration-color: currentColor; }
.art-below blockquote { border-left: 0; padding-left: 26px; position: relative; border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, .03); }
.art-below blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; border-radius: 5px; background: var(--fill); box-shadow: 0 0 0 2px #000; }
.art-below blockquote p { color: #fff; }
.art-below figcaption, .art-below .note, .art-below .credits { color: var(--muted); }
.art-below .stat, .art-below .info, .art-below .card { background: var(--card-2); color: #e0e8e1; border-color: var(--line); }
.art-below .stat { background: var(--black); border: 2px solid #000; border-radius: 8px; box-shadow: 4px 4px 0 var(--pop); }
.art-below .stat b { color: var(--a-lime); }
[data-theme]:not([data-theme="breaking"]) .art-below .stat b { color: var(--red-hot); }
.art-below .yt-line .btn { background: var(--brand); color: #061003; }
.art-below .video-section { background: var(--black); border: 2px solid #000; border-radius: 12px; box-shadow: 7px 7px 0 var(--pop); }
.art-below .chapters li, .art-below .timeline li { border-bottom-color: var(--line); }
.art-below .chapters button:hover, .art-below .chapters button.active { background: #18211a; }
.art-below .transcript, .art-below .note { border-top-color: var(--line); }
.art-below .transcript summary span { color: var(--muted); }
.art-below .timeline button { color: #fff; }
.art-below figure img, .art-below .roe-photo img { border: 2px solid #000; border-radius: 8px; }
body[data-page="archive"] .article-toc { background: var(--black); color: #e0e8e1; border: 2px solid #000; border-radius: 12px; box-shadow: 6px 6px 0 #000; }
body[data-page="archive"] .article-toc nav ol a { color: #d5dfd6; }
body[data-page="archive"] .article-toc nav ol a[aria-current="location"] { color: #fff; border-color: var(--pop); background: rgba(255, 255, 255, .05); }
body[data-page="archive"] .article-pagination { background: var(--card); border: 2px solid #000; border-radius: 12px; }
.article-page-link { background: var(--card-2); color: #fff; border: 2px solid #000; border-radius: 8px; box-shadow: 4px 4px 0 #000; transition: transform .15s, box-shadow .15s; }
.article-page-link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pop); }
.article-page-link small { color: var(--muted); }
.source-icon { background: var(--line); }
.skip-link { background: #fff; color: #111; }
.selection-share { background: rgba(12, 18, 14, .96); color: #e0e8e1; border-color: var(--line-2); }
.selection-share::before { display: none; }
.selection-share::after { background: #0d130f; border-color: var(--line-2); }
.selection-close { color: #e0e8e1; }
.selection-share-buttons a, .selection-share-buttons button { color: #fff; background: #18211a; border-color: var(--line-2); }
.selection-share-buttons a:hover, .selection-share-buttons button:hover { color: #061003; background: var(--a-lime); }
.selection-share-note, .selection-share-status { color: var(--muted); }
.aside-box { background: var(--card); border: 2px solid #000; border-radius: 12px; }
.prevnext a { background: var(--card); box-shadow: 4px 4px 0 #000; border: 2px solid #000; border-radius: 8px; }
.prevnext a:hover { border-color: var(--pop); }

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--a-yellow); outline-offset: 3px; }
#hero a:focus-visible { outline-color: var(--a-yellow); }

@media (prefers-reduced-motion: reduce) {
  .site-header .section-motif, [data-theme="breaking"] .site-header .section-motif::after, .empty::before { animation: none; }
  .logo, #stories .story, .story .thumb, .showcase-image, .side-item .thumb, .article-page-link, .btn { transition: none; }
  .logo:hover, #stories .story:hover, .btn:hover { transform: none; }
}

/* ==================================================================
   HEADLINE FONT — Russo One (SIL Open Font License), a heavy, squared
   face close to the logo's lettering. It replaces Newstro's narrow
   Anton wherever --head is used. Russo One is much wider than Anton,
   so every headline size below is retuned (roughly 60%).
   ================================================================== */
@font-face { font-family: "Russo One"; src: url("assets/fonts/russo-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Russo One"; src: url("assets/fonts/russo-one-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --head: "Russo One", "Anton", Impact, "Arial Narrow Bold", sans-serif; }

/* everything set in --head uses the one real weight (no synthetic bold) */
.mega, .label-bar, .section-head h2, .side-title h2, .side-item h3, .story h3, .story .side .big,
.gfx .g-label, .gfx .g-head, .gfx .g-words, .newsroom-bg .bg-words, .header-tag strong,
.showcase-heading h2, .showcase-lead h3, .showcase-placeholder, .site-footer h2,
.art-below h1, .art-below h2, .art-below h3, .art-below blockquote p, .art-below .timeline .what, .art-below .stat b,
.article-pagination-head h2, .article-page-link strong, .article-toc h2, .share-title, .selection-share-heading,
.prevnext strong, .aside-box h4 { font-weight: 400; font-style: normal; letter-spacing: 0; }

.label-bar { font-size: 15px; padding-top: 8px; padding-bottom: 7px; }
.label-bar.sm { font-size: 10.5px; padding-top: 5px; padding-bottom: 4px; }
.mega { line-height: 1.02; letter-spacing: 0; -webkit-text-stroke-width: .1em; }
.hero-paper .mega, #hero .hero-paper .mega { font-size: min(58px, 9.6cqw); line-height: 1.02; }
.showcase-hero .hero-paper .mega { font-size: min(38px, 6.6cqw); line-height: 1.04; }
.article-top .mega, .article-top.has-story-art .mega { font-size: clamp(30px, 4.6vw, 64px); max-width: 20ch; line-height: 1.03; }
.article-top.has-story-art .mega { max-width: 57%; font-size: clamp(28px, 3.5vw, 48px); }
.side-title h2 { font-size: 21px; }
.side-item h3, #hero .side-item h3 { font-size: clamp(13px, 1.1vw, 15px); line-height: 1.16; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1; }
.story h3 { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.1; }
#stories .story h3 { font-size: clamp(16px, 1.55vw, 21px); }
.story .side .big, #stories .story .side .big { font-size: 15px; }
.gfx .g-label { font-size: 4cqw; }
.gfx .g-head { font-size: 6.6cqw; line-height: 1.04; }
.gfx .g-words { font-size: 10cqw; }
.newsroom-bg .bg-words { font-size: 84px; line-height: 1.06; }
.header-tag strong { font-size: 21px; }
.showcase-heading h2 { font-size: clamp(21px, 2.5vw, 30px); }
.showcase-lead h3 { font-size: clamp(15px, 1.5vw, 20px); line-height: 1.14; }
.showcase-placeholder { font-size: 16px; }
.site-footer h2 { font-size: 15px; }
.art-below h1, .art-below h2 { font-size: clamp(20px, 2.4vw, 29px); line-height: 1.12; }
.art-below h3 { font-size: 17px; }
.art-below blockquote p { font-size: clamp(17px, 1.8vw, 23px) !important; line-height: 1.24 !important; }
.art-below .timeline .what { font-size: 15px; }
.art-below .stat b { font-size: 22px; }
.art-below .chapters h3 { font-size: 16px; }
.article-pagination-head h2 { font-size: clamp(19px, 2.4vw, 27px); }
.article-page-link strong { font-size: 15px; line-height: 1.2; }
.article-toc h2 { font-size: 17px; }
.share-title, .selection-share-heading { font-size: 14px; }
.prevnext strong { font-size: 16px; }
.aside-box h4 { font-size: 18px; }
.prose > p:first-child::first-letter { font-size: 3.6em; }
@media (max-width: 760px) {
  .hero-paper .mega, #hero .hero-paper .mega { font-size: min(44px, 9.8cqw); line-height: 1.04; }
  .showcase-hero .hero-paper .mega { font-size: min(30px, 7.6cqw); }
  .article-top .mega, .article-top.has-story-art .mega { max-width: 100%; font-size: clamp(27px, 7.6vw, 44px); }
  .label-bar { font-size: 13px; }
  .site-header .header-tag strong { font-size: 13px; }
  .side-item h3, #hero .side-item h3 { font-size: 13.5px; }
  .newsroom-bg .bg-words { font-size: 58px; }
}

/* ==================================================================
   HEADER VISITORS — alien shadows walk along the bottom of the header,
   behind the logo. The markup is the .alien-walkers block in
   header.html; the figure is the 8-frame sprite assets/alien-walk.svg
   (drawn facing right). Each walker has its own size, pace and
   direction; --step is one full stride, --dur one crossing.
   ================================================================== */
.alien-walkers { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.alien-walkers span {
  position: absolute; left: 0; bottom: 15px; height: var(--h); aspect-ratio: 60 / 100; opacity: var(--o, .5);
  background: url("assets/alien-walk.svg") 0 0 / 800% 100% no-repeat;
  filter: blur(.4px) drop-shadow(0 0 7px rgba(180, 255, 0, .38));   /* a faint lime rim keeps the shadows readable on the dark side */
  animation: a-stride var(--step) steps(8, jump-none) infinite, a-cross var(--dur) linear var(--delay) infinite;
  will-change: transform;
}
.alien-walkers span:nth-child(1) { --h: 116px; --o: .72; --step: 1.1s; --dur: 27s; --delay: -6s; }
.alien-walkers span:nth-child(2) { --h: 90px; --o: .55; --step: 1s; --dur: 33s; --delay: -24s; animation-name: a-stride, a-cross-back; }
.alien-walkers span:nth-child(3) { --h: 68px; --o: .4; --step: .92s; --dur: 41s; --delay: -15s; bottom: 17px; }
@keyframes a-stride { from { background-position: 0 0; } to { background-position: 100% 0; } }
@keyframes a-cross { from { transform: translateX(-90px); } to { transform: translateX(100vw); } }
@keyframes a-cross-back { from { transform: translateX(100vw) scaleX(-1); } to { transform: translateX(-90px) scaleX(-1); } }
@media (max-width: 760px) {
  .alien-walkers span { bottom: 13px; }
  .alien-walkers span:nth-child(1) { --h: 66px; --step: .9s; --dur: 13s; }
  .alien-walkers span:nth-child(2) { --h: 52px; --step: .85s; --dur: 17s; --delay: -11s; }
  .alien-walkers span:nth-child(3) { --h: 40px; --step: .8s; --dur: 22s; --delay: -7s; }
}
@media (prefers-reduced-motion: reduce) {            /* no walking: two figures stand still */
  .alien-walkers span { animation: none; }
  .alien-walkers span:nth-child(1) { left: 44%; }
  .alien-walkers span:nth-child(2) { left: 78%; transform: scaleX(-1); }
  .alien-walkers span:nth-child(3) { display: none; }
}
