/* paukoom "Prussian Blue" skin (prussianblue.py).
   Loaded after every other style on the page, so it restyles the shared article
   design (article.css, restyle.py, magazine.py, fullmag.py, add-audio.py) without
   changing the page's structure. Remove the <link id="pb-css"> to undo. */
:root {
  color-scheme: dark;
  --pb-night: #0b1e33; --pb-night-2: #071526; --pb-night-3: #12304f;
  --pb-ink: #eef3f8; --pb-ink-2: #c3d0de; --pb-ink-3: #a9bacc; --pb-ink-4: #6f86a0;
  --pb-fire: #e8c26a; --pb-fire-2: #f1d58e; --pb-steel: #eef3f8; --pb-blood: #ff7a6b;
  --pb-line: rgb(200 220 245 / .13); --pb-line-2: rgb(200 220 245 / .26);
  --pb-display: "Fira Sans Condensed", "Fira Sans", system-ui, sans-serif;
  --pb-text: "Vollkorn", Georgia, serif;
  --pb-ui: "Fira Sans", system-ui, sans-serif;

  /* map the shared article palette onto the night */
  --night: #0b1e33; --night-2: #071526; --accent: #e8c26a; --accent-2: #071526;
  --gold: #e8c26a; --gold-2: #e8c26a; --paper: #0b1e33; --card: #071526;
  --ink: #eef3f8; --muted: #a9bacc; --line: rgb(200 220 245 / .13); --label: #e8c26a;
  --on-dark: #eef3f8; --on-dark-muted: #c3d0de; --hero-ink: #eef3f8; --hero-dek: #c3d0de; --hero-bg: #0b1e33;
  --display: var(--pb-display); --text: var(--pb-text); --ui: var(--pb-ui);
}
html { background: var(--pb-night); scrollbar-color: var(--pb-ink-4) var(--pb-night); }
body { background-color: var(--pb-night); color: #d7e1ec; font: 400 19px/1.66 var(--pb-text); }
::selection { background: rgb(232 194 106 / .3); color: #fff; }
a { color: var(--pb-fire-2); text-decoration-color: rgb(232 194 106 / .5); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--pb-fire); outline-offset: 3px; }
strong { font-weight: 600; color: var(--pb-ink); }

/* ---------- reading progress + sticky bar ---------- */
.progress { background: var(--pb-fire); height: 2px; }
.bar { background: rgb(11 30 51 / .84); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--pb-line); color: var(--pb-ink-2); font: 500 14px/1 var(--pb-ui); }
.bar .title { font: 800 1.05rem/1 var(--pb-display); font-stretch: 112%; color: #fff; letter-spacing: -.01em; }
.chip { border-radius: 999px; border: 1px solid var(--pb-line-2); background: transparent; color: var(--pb-ink);
  font: 500 13px/1 var(--pb-ui); letter-spacing: 0; text-transform: none; min-height: 34px; padding: 0 14px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover, .chip:focus-visible { background: rgb(190 205 235 / .1); border-color: var(--pb-ink-3); }

/* ---------- hero: night over Alesia ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
  place-items: initial; text-align: left; padding: 0; overflow: hidden; background: var(--pb-night); color: #fff; }
.hero .art { display: none; }
.mh-hero { position: absolute; inset: 0; z-index: -1; background: radial-gradient(42% 46% at 50% 34%, #2a1c0c 0%, rgb(42 28 12 / 0) 70%), var(--pb-night); background-repeat: no-repeat; background-size: cover; background-position: center 30%; }

.mh-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; }
.mh-hero.gl-ready canvas { opacity: 1; }
.hero .mh-hero canvas { top: 4%; bottom: auto; height: 54%; }
.mh-hero.gl-ready { background-image: radial-gradient(42% 46% at 50% 34%, #2a1c0c 0%, rgb(42 28 12 / 0) 70%) !important; }
.mh-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, transparent 56%, rgb(11 30 51 / .7) 74%, var(--pb-night)); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px clamp(40px, 8vh, 84px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
.hero .eyebrow { grid-column: 1 / -1; font: 600 .82rem/1 var(--pb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--pb-fire); margin: 0 0 16px; }
.hero h1 { grid-column: 1 / -1; margin: 0 0 24px; font: 850 clamp(2.4rem, 8.6vw, 9.2rem)/.86 var(--pb-display); font-stretch: 125%;
  letter-spacing: -.035em; color: #fff; text-transform: none; text-shadow: none; font-variation-settings: normal; }
.hero h1 .small { display: block; font-size: .3em; letter-spacing: .02em; font-weight: 600; margin-bottom: .3em; color: var(--pb-ink-2); }
.hero .dek { grid-column: 1; margin: 0; max-width: 36ch; font: 400 clamp(1.1rem, 1.6vw, 1.35rem)/1.42 var(--pb-ui); color: var(--pb-ink-2); }
.hero .meta { grid-column: 2; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end;
  font: 500 13px/1 var(--pb-ui); letter-spacing: 0; text-transform: none; color: var(--pb-ink-3); }
.hero .meta span + span::before { content: none; }
.hero .meta span:first-child { flex-basis: 100%; text-align: right; margin-bottom: 4px; }
.hero .meta a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; text-decoration: none;
  font: 600 1rem/1 var(--pb-ui); color: #fff; box-shadow: inset 0 0 0 1.5px var(--pb-steel); transition: background .25s, color .25s, box-shadow .25s; }
.hero .meta span:nth-child(2) a { background: var(--pb-fire); color: #1a1306; box-shadow: none; }
.hero .meta a:hover, .hero .meta a:focus-visible { background: #fff; color: var(--pb-night); box-shadow: none; text-decoration: none; }
.hero .meta a:active { transform: scale(.97); }
.mh-note { grid-column: 2; margin: 12px 0 0; text-align: right; font: 400 .8rem/1.4 var(--pb-ui); color: var(--pb-ink-4); }
.listen-top { grid-column: 1 / -1; justify-content: flex-start; margin-top: 22px; }
.listen-link { border-radius: 999px; border: 1px solid var(--pb-line-2); color: var(--pb-ink); font: 600 12px/1 var(--pb-ui); letter-spacing: .1em; background: rgb(11 30 51 / .4); }
.listen-link:hover, .listen-link:focus-visible { color: var(--pb-fire); border-color: var(--pb-fire); }
.top-links .top-about, .top-about { border-radius: 999px; background: rgb(11 30 51 / .55); border: 1px solid var(--pb-line-2); color: var(--pb-ink);
  font: 500 13px/1 var(--pb-ui); letter-spacing: 0; text-transform: none; padding: 0 14px; min-height: 34px; display: inline-flex; align-items: center;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top-links .login-link { background: var(--pb-fire); color: #1a1306; border-color: var(--pb-fire); }
.top-about:hover, .top-about:focus-visible { background: #fff; color: var(--pb-night); border-color: #fff; }
.top-links { right: max(22px, calc((100vw - 1180px) / 2)); z-index: 3; }
.cue { display: none; }

/* ---------- overview ---------- */
.wrap { max-width: 1120px; }
.why { margin: 0 auto; max-width: 1000px; padding: clamp(80px, 11vw, 150px) 0 0; background: none; box-shadow: none; border-radius: 0; border: 0; }
.why .label, .quick .label, .full-label, #full.fm .fm-mast .fm-label, #quick.mag .mast .label {
  font: 600 .95rem/1 var(--pb-ui); letter-spacing: -.005em; text-transform: none; color: var(--pb-fire); }
.why p { margin: 18px 0 0; font: 500 clamp(1.6rem, 3.1vw, 2.55rem)/1.25 var(--pb-display); font-stretch: 104%; letter-spacing: -.018em; color: var(--pb-ink); text-wrap: pretty; }

/* ---------- the 2-minute version (magazine.py) ---------- */
#quick.mag { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; margin-top: clamp(80px, 10vw, 140px); }
#quick.mag .mast { background: transparent; color: var(--pb-ink); border: 0; padding-inline: 0; }
#quick.mag .mast .topic, #full.fm .fm-mast .topic { font: 500 .82rem/1 var(--pb-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--pb-ink-4); }
#quick.mag .hook, #full.fm .fm-mast .hook { font: 800 clamp(2rem, 4.2vw, 3.5rem)/1 var(--pb-display); font-stretch: 116%; letter-spacing: -.03em;
  font-style: normal; color: #fff; max-width: 20ch; text-wrap: balance; }
#quick.mag .story p, .quick p { font: 400 1.08em/1.66 var(--pb-text); color: #d6dbe6; }
#quick.mag .story p.open { font: 400 1.08em/1.66 var(--pb-text); color: #d6dbe6; }
#quick.mag .story p.open::first-letter, #full.fm .fm-main p.fm-drop::first-letter { font: 850 4.4em/.8 var(--pb-display); font-stretch: 120%; color: var(--pb-fire); }
#quick.mag .story .kick, #full.fm .fm-main .kick { font-variant: all-small-caps; letter-spacing: .06em; font-weight: 600; color: var(--pb-fire); }
#quick.mag .story p.punch, #full.fm .fm-main p.punch { font: 700 1.22em/1.3 var(--pb-display); font-stretch: 108%; letter-spacing: -.01em; color: #fff; }
#quick.mag .orn::before, #quick.mag .orn::after { background: var(--pb-line-2); }
#quick.mag .orn b { background: var(--pb-fire); border-radius: 50%; rotate: 0deg; width: 6px; height: 6px; }
#quick.mag .pull, #full.fm .pull { background: none; box-shadow: none; border: 0; border-top: 2px solid var(--pb-fire); border-radius: 0; margin-inline: 0; padding: 16px 0 0; }
#quick.mag .pull p, #full.fm .pull p { font: 700 clamp(1.4rem, 2vw, 1.75rem)/1.22 var(--pb-display); font-stretch: 108%; font-style: normal; color: #fff; }
#quick.mag .pull p::before, #full.fm .pull p::before { content: none; }
#quick.mag .cite { font: 600 .78rem/1.3 var(--pb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--pb-fire); }
#quick.mag .nums h4 { font: 600 .82rem/1 var(--pb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--pb-fire); margin-bottom: 18px; }
#quick.mag .tile { background: transparent; border-radius: 0; box-shadow: none; padding: 18px 0 0; border-top: 1px solid var(--pb-line); color: var(--pb-ink-3); font: 400 .9rem/1.4 var(--pb-ui); }
#quick.mag .tile b { font: 800 2.3rem/1 var(--pb-display); font-stretch: 115%; color: var(--pb-fire); margin-bottom: 8px; }
#quick.mag .swipe { color: var(--pb-ink-4); font: 500 12px/1 var(--pb-ui); }
#quick.mag .more { border-top: 1px solid var(--pb-line); }
#quick.mag .more p, .quick .more p { font: 400 1rem/1.55 var(--pb-ui); color: var(--pb-ink-3); }
.btn { border-radius: 999px; font: 600 1rem/1 var(--pb-ui); letter-spacing: 0; text-transform: none; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, box-shadow .25s, transform .15s; }
.btn.primary { background: var(--pb-fire); color: #1a1306; border: 0; box-shadow: none; }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--pb-fire-2); }
.btn.ghost { background: transparent; color: var(--pb-ink); border: 0; box-shadow: inset 0 0 0 1.5px var(--pb-steel); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: rgb(190 205 235 / .1); }
.btn:active { transform: scale(.97); }

/* the narration player (add-audio.py) */
.listen { border-radius: 22px; background: var(--pb-night-2); box-shadow: inset 0 0 0 1px var(--pb-line); }
.listen-play { background: var(--pb-fire); color: #1a1306; }
.listen-title { color: #fff; font: 600 14px/1.2 var(--pb-ui); letter-spacing: 0; }
.listen-seek { accent-color: var(--pb-fire); }
.listen-time { color: var(--pb-ink-4); font-family: var(--pb-ui); }
.listen-rate { color: var(--pb-ink-2); background: rgb(190 205 235 / .08); border: 0; font: 600 12px/1 var(--pb-ui); }
.narrated.reading, .beat.reading, .fbeat.reading { background: rgb(232 194 106 / .08); box-shadow: 0 0 0 12px rgb(232 194 106 / .08); border-radius: 10px; }

/* ---------- the 10-minute version (fullmag.py) ---------- */
#full.fm .fm-mast { background: transparent; border: 0; border-top: 1px solid var(--pb-line); border-radius: 0; color: var(--pb-ink); padding-inline: 0; padding-top: clamp(70px, 9vw, 120px); }
.chapter { margin-top: clamp(64px, 9vw, 110px); }
.chapter h2, #full.fm .chapter h2 { font: 850 clamp(2.3rem, 5vw, 4.2rem)/.95 var(--pb-display); font-stretch: 122%; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
#full.fm .chapter h2::before { content: none; }
#full.fm .fm-main p, #full .chapter p, #full .chapter li, #full .aside p { font-family: var(--pb-text); color: #d6dbe6; }
#full.fm .fm-main p.fm-drop { font: 400 1em/1.66 var(--pb-text); }
@media (min-width: 900px) {
  #full.fm .fm-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  #full.fm .pull-side { border-left: 0; padding: 16px 0 0; border-top: 2px solid var(--pb-fire); }
  #full.fm .pull-side p { font-size: 1.55rem; }
}

/* ---------- bands ---------- */
.band { background: transparent; border: 0; color: var(--pb-ink); }
.band h3 { font: 850 clamp(2rem, 4.2vw, 3.4rem)/1 var(--pb-display); font-stretch: 118%; letter-spacing: -.03em; color: #fff; }
.band .sub { font: 400 1.05rem/1.45 var(--pb-ui); color: var(--pb-ink-3); }
.quote { background: transparent; }
.quote blockquote p { font: 850 clamp(2.3rem, 6.2vw, 5.2rem)/.95 var(--pb-display); font-stretch: 120%; letter-spacing: -.04em; font-style: normal; color: #fff; text-wrap: balance; }
.quote blockquote p::before { content: none; }
.quote cite { font: 500 1rem/1.3 var(--pb-ui); letter-spacing: 0; text-transform: none; font-style: normal; color: var(--pb-fire); }
.stats { gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.stat { background: transparent; box-shadow: none; border-radius: 0; padding: 22px 0 0; border-top: 2px solid var(--pb-fire); text-align: left; }
.stat b { font: 850 clamp(2.8rem, 5.6vw, 5rem)/.9 var(--pb-display); font-stretch: 112%; letter-spacing: -.04em; color: #fff; }
.stat b small { color: var(--pb-fire); }
.stat > span { font: 400 1rem/1.45 var(--pb-ui); color: var(--pb-ink-3); }
.band .inner > h3, .band .inner > .sub { text-align: left; margin-left: 0; }

/* the article's own flat siege plan (kept when there is no WebGL) */
.lab .stage { background: var(--pb-night-2); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--pb-line); }
#siege .ring { stroke: var(--pb-steel); }
#siege text { fill: var(--pb-ink-2); }
.steps button, .pill { border-radius: 999px; background: rgb(190 205 235 / .09); border: 0; color: var(--pb-ink-2); font: 500 .9rem/1 var(--pb-ui); min-height: 40px; padding: 0 16px; }
.steps button[aria-pressed="true"], .pill[aria-pressed="true"] { background: var(--pb-fire); color: #1a1306; }
.caption { font: 400 1rem/1.5 var(--pb-ui); color: var(--pb-ink-3); }
.legend { font-family: var(--pb-ui); color: var(--pb-ink-3); }
.mh-replaced { display: none !important; }

/* timeline */
.timeline { display: flex; flex-direction: column; grid-auto-columns: unset; overflow: visible; gap: 0; padding: 10px 0 0; margin-top: 10px; max-width: 40rem; position: relative; border: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 18px; width: 1px; background: var(--pb-line-2); }
.timeline li { display: grid; grid-template-columns: 22px 9.5rem 1fr; gap: 16px; align-items: baseline; padding: 12px 0; background: none; box-shadow: none; border: 0; border-radius: 0; min-width: 0; }
.timeline li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--pb-night); box-shadow: inset 0 0 0 1.5px var(--pb-ink-4); transform: translateY(2px); }
.timeline li.hi { box-shadow: none; background: none; }
.timeline li.hi::before { background: var(--pb-fire); box-shadow: 0 0 0 5px rgb(232 194 106 / .16); }
.timeline b { font: 800 1.1rem/1.2 var(--pb-display); font-stretch: 112%; color: #fff; margin: 0; }
.timeline li.hi b { color: var(--pb-fire); }
.timeline span { font: 400 1rem/1.4 var(--pb-ui); color: var(--pb-ink-3); }
.band .hint { display: none; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 22px 1fr; } .timeline li span { grid-column: 2; } }

/* ---------- aside, quiz, tomorrow, footer ---------- */
.aside { background: var(--pb-night-2); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--pb-line); border: 0; }
.aside .icon, .aside svg { color: var(--pb-fire); }
.aside h4 { font: 700 1.2rem/1.25 var(--pb-display); font-stretch: 108%; color: var(--pb-fire); }
.quiz .chapter .num { font: 600 .82rem/1 var(--pb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--pb-fire); }
.quiz .chapter { text-align: left; }
.q { background: transparent; box-shadow: none; border-radius: 0; border-top: 1px solid var(--pb-line); padding: 26px 0 8px; margin-top: 0; }
.q h4 { font: 600 1.2rem/1.3 var(--pb-ui); color: #fff; }
.opts { display: grid; gap: 10px; }
.opts button { border-radius: 16px; background: var(--pb-night-2); color: var(--pb-ink); border: 0; box-shadow: inset 0 0 0 1px var(--pb-line-2); font: 400 1.02rem/1.35 var(--pb-ui);
  min-height: 54px; padding: 12px 18px; text-align: left; transition: box-shadow .2s, background .2s; }
.opts button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--pb-ink-3); }
.opts button.right { background: rgb(122 214 154 / .1); color: #fff; box-shadow: inset 0 0 0 2px #7ad69a; }
.opts button.wrong { background: transparent; box-shadow: inset 0 0 0 2px var(--pb-blood); color: var(--pb-ink-2); }
.explain { font: 400 1rem/1.5 var(--pb-ui); color: var(--pb-ink-3); }
.score { font: 600 .9rem/1.4 var(--pb-ui); color: var(--pb-fire); text-align: left; }
.tomorrow { background: transparent; border: 0; border-top: 1px solid var(--pb-line); border-radius: 0; color: var(--pb-ink); text-align: center; padding: clamp(70px, 9vw, 110px) 22px 20px; }
.tomorrow h3 { font: 850 clamp(2rem, 4.2vw, 3.2rem)/1 var(--pb-display); font-stretch: 118%; letter-spacing: -.03em; color: #fff; }
.tomorrow p { font: 400 1.05rem/1.55 var(--pb-ui); color: var(--pb-ink-3); }
.streak { border-radius: 999px; background: rgb(232 194 106 / .1); border: 0; color: var(--pb-fire); font: 600 13px/1 var(--pb-ui); letter-spacing: 0; }
footer.end { font: 700 1.2rem/1.35 var(--pb-display); font-stretch: 108%; color: var(--pb-ink-2); border: 0; text-align: center; padding-bottom: 64px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .dek, .hero .meta, .mh-note { grid-column: 1; }
  .hero .meta { justify-content: flex-start; margin-top: 22px; }
  .hero .meta span:first-child, .mh-note { text-align: left; }
}
@media (max-width: 560px) {
  .hero .mh-hero canvas { top: 7%; height: 44%; }
  body { font-size: 18px; }
  .hero h1 { font-size: 11.2vw; font-stretch: 112%; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mh-hero canvas, .chip, .btn, .opts button { transition: none; } }

/* share-preview card (ipso-previews adds .ipso-brand to the hero) */
.ipso-brand ~ .top-links, .ipso-brand ~ .cue, .ipso-brand ~ .hero-inner .mh-note { display: none; }

/* reading size: fullmag's own rules set the full story smaller than the 2-minute card */
#full.fm .fm-main p, #full.fm .fm-main p.fm-drop, #quick.mag .story p, #quick.mag .story p.open { font-size: 1.1rem; line-height: 1.68; }
#full.fm .fm-main p.punch { font-size: 1.3rem; line-height: 1.3; }
/* the timeline is a vertical list here, so its "swipe" hint no longer applies */
.band:has(.timeline) .inner > .sub { display: none; }



/* ================= Prussian Blue specifics ================= */
html.pb { background: var(--pb-night); }
.pb-rails { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .5; }
@media (max-width: 899px) { .pb-rails { opacity: .26; } }
.pb-rails path { fill: none; stroke: #7fa6cf; stroke-opacity: .22; stroke-width: 1.3; }
.pb-rails .ties { stroke-dasharray: 1.3 6; stroke-width: 5; stroke-opacity: .12; }
.pb-rails circle { fill: #0b1e33; stroke: #9cbde0; stroke-opacity: .45; stroke-width: 1.4; }
.pb-rails text { fill: #9cbde0; fill-opacity: .45; font: 600 11px "Fira Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
main, .hero, footer.end { position: relative; z-index: 1; }

/* type */
.chapter h2, #full.fm .chapter h2, .band h3, .tomorrow h3, #quick.mag .hook, #full.fm .fm-mast .hook { font-family: var(--pb-display); font-weight: 800; font-stretch: normal; text-transform: uppercase; letter-spacing: -.01em; color: var(--pb-ink); }
#full.fm .chapter h2::before, .chapter h2::before { content: ""; display: block; width: 44px; height: 6px; margin-bottom: 22px; border-radius: 0; background: linear-gradient(90deg, #141414 0 33%, #d8343a 0 66%, #e8c26a 0); }
.why p { font: 400 clamp(1.5rem, 2.8vw, 2.4rem)/1.3 var(--pb-text); font-stretch: normal; letter-spacing: 0; }
.quote blockquote p { font: italic 400 clamp(1.9rem, 4.4vw, 3.4rem)/1.15 var(--pb-text); text-transform: none; letter-spacing: 0; font-stretch: normal; }
.quote { background: var(--pb-night-2); }
#quick.mag .pull p, #full.fm .pull p { font: italic 400 clamp(1.35rem, 2vw, 1.7rem)/1.3 var(--pb-text); font-stretch: normal; }
#quick.mag .story p.open::first-letter, #full.fm .fm-main p.fm-drop::first-letter { font-family: var(--pb-display); font-stretch: normal; font-weight: 800; color: var(--pb-fire); }
.stat b, .timeline b, #quick.mag .tile b { font-stretch: normal; }
/* boxes: brass-edged plates on the blue */
#quick.mag .story p.punch, #full.fm .fm-main p.punch { font: 700 1.12em/1.35 var(--pb-ui); color: #fff; background: rgb(232 194 106 / .07); box-shadow: inset 0 0 0 1px rgb(232 194 106 / .4); padding: 12px 16px; border-radius: 6px; }
.pb-keybox { border-radius: 6px; padding: 18px 20px; background: rgb(7 21 38 / .78); box-shadow: inset 0 0 0 1px rgb(232 194 106 / .55), 0 20px 40px -24px rgb(0 0 0 / .6); margin: 0 0 24px; }
.pb-keybox h4 { margin: 0 0 12px; font: 700 .78rem/1 var(--pb-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--pb-fire); }
.pb-keybox ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb-keybox li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 10px; align-items: baseline; }
.pb-keybox b { font: 800 1.1rem/1 var(--pb-display); color: var(--pb-ink); }
.pb-keybox span { font: 400 .9rem/1.4 var(--pb-ui); color: var(--pb-ink-3); }
.pb-kb-inline { display: none; margin-top: 28px; }
@media (max-width: 899px) { .pb-kb-inline { display: block; } .fm-side .pb-keybox { display: none; } }
#quick.mag .tile { padding: 16px; border-top: 0; border-radius: 6px; background: rgb(7 21 38 / .78); box-shadow: inset 0 0 0 1px var(--pb-line); }
#quick.mag .tile b { color: var(--pb-fire); }
.stat { padding: 22px; border-top: 0; border-radius: 8px; background: rgb(7 21 38 / .78); box-shadow: inset 0 0 0 1px rgb(232 194 106 / .4); }
.stat b { color: var(--pb-fire); }
.aside { border-radius: 6px; background: rgb(7 21 38 / .78); box-shadow: inset 0 0 0 1px rgb(232 194 106 / .55); padding: 22px; }
.aside h4 { font-family: var(--pb-display); text-transform: uppercase; color: var(--pb-fire); }
.wrap ul.list li { border-top: 1px solid var(--pb-line); }
.btn, .chip, .listen-rate { border-radius: 6px; }
.timeline li::before { background: var(--pb-night); }

/* hero: words left, the 3D map right */
.hero { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 100svh; padding: 0; background: transparent; }
@media (min-width: 980px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero .art, .hero .rays, .cue { display: none !important; }
.hero-inner { display: block; max-width: none; margin: 0; padding: clamp(96px, 12vh, 140px) clamp(24px, 5vw, 72px) clamp(24px, 5vw, 72px); text-align: left; }
.hero .eyebrow { font: 700 .82rem/1 var(--pb-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--pb-fire); margin: 0 0 18px; }
.hero h1 { font: 800 clamp(3.4rem, 8.4vw, 7.6rem)/.86 var(--pb-display); font-stretch: normal; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 22px; color: var(--pb-ink); }
.hero h1 .small { display: block; font: 500 .22em/1.2 var(--pb-ui); text-transform: none; letter-spacing: .02em; margin: 0 0 .3em; color: var(--pb-fire); }
.hero .dek { margin: 0 0 22px; max-width: 34ch; font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.42 var(--pb-text); color: var(--pb-ink-3); }
.hero .meta { justify-content: flex-start; margin: 0; }
.hero .meta span:first-child { flex-basis: 100%; text-align: left; }
.listen-top { justify-content: flex-start; margin-top: 22px; }
.pb-map { position: relative; height: min(78svh, 720px); background: center / contain no-repeat; }
.pb-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.pb-map.gl-ready { background-image: none !important; }
.pb-map.gl-ready canvas { opacity: 1; }
.pb-map:not(.gl-ready) .pb-hyear { display: none; }
.pb-hyear { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 32px); text-align: right; pointer-events: none; }
.pb-hyear b { display: block; font: 800 clamp(3rem, 6vw, 5rem)/.9 var(--pb-display); color: var(--pb-ink); font-variant-numeric: tabular-nums; }
.pb-hyear span { font: 500 .95rem/1.3 var(--pb-ui); color: var(--pb-ink-3); }
@media (max-width: 979px) { .pb-map { order: -1; height: 52svh; margin-top: 56px; } .hero-inner { padding-top: 8px; } }
.ipso-brand ~ .pb-map .pb-hyear { display: none; }

/* Count the States: the 3D map in place of the flat grid (only once the 3D is running) */
.pb-cs { display: none; position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin: 8px 0 6px;
  background: radial-gradient(70% 70% at 50% 40%, #12304f, #071526); box-shadow: inset 0 0 0 1px var(--pb-line); }
.lab.pb-3d .pb-cs { display: block; }
.lab.pb-3d #states { display: none !important; }
.pb-cs canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.pb-count { position: absolute; left: clamp(16px, 3vw, 36px); top: clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 4px; pointer-events: none; text-align: left; }
.pb-count b { font: 800 clamp(2.6rem, 7vw, 5.4rem)/.9 var(--pb-display); color: var(--pb-ink); font-variant-numeric: tabular-nums; }
.pb-count .u { font: 600 1rem/1.2 var(--pb-ui); color: var(--pb-ink); }
.pb-count .n { font: 400 .9rem/1.3 var(--pb-ui); color: var(--pb-ink-3); }
.pb-key { position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(14px, 2.5vw, 26px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; font: 500 .85rem/1.2 var(--pb-ui); color: var(--pb-ink-3); max-width: 70%; }
.pb-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.pb-key em { font-style: normal; }
.pb-key .k-p { background: #d8343a; } .pb-key .k-a { background: #55657a; }
@media (max-width: 700px) { .pb-cs { aspect-ratio: 4 / 5; } }
.lab .steps { justify-content: center; }
.lab .steps button { font-family: var(--pb-display); font-size: 1.1rem; border-radius: 6px; min-width: 76px; }
.lab > div:first-child, .lab .caption { text-align: center; }
.lab .sub, .lab .caption { margin-left: auto; margin-right: auto; }
.lab { display: block; }
