/* =========================================================
   RightNewsRightNow  |  Theme stylesheet  v1.0
   Load order:  tokens.css  ->  rnrn.css  ->  (rnrn.js, defer)
   Naming: .rn-* is reserved for nothing; components use short,
   flat class names. One class per job, no deep nesting.
   ========================================================= */

/* ---------- 0. Fonts ------------------------------------ */
/* Loaded with <link> in <head> (see DESIGN-SPEC.md section 3).
   Fallback stacks in tokens.css keep layout stable if they fail. */

/* ---------- 1. Reset & base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 var(--t-body)/var(--lh-ui) var(--f-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-link-hover); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: var(--lh-head); letter-spacing: var(--track-head); color: var(--c-text); text-wrap: balance; }
p { margin: 0 0 var(--s-2); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--rn-rule); margin: var(--s-4) 0; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 6px rgba(242, 183, 5, .25);
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-2); top: -100px; z-index: 100;
  background: var(--rn-navy); color: #fff; padding: var(--s-1) var(--s-2);
  font-weight: 700; border-radius: var(--r-sm); text-decoration: none;
}
.skip:focus { top: var(--s-2); color: #fff; }

.wrap { width: 100%; max-width: var(--w-page); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }

/* ---------- 2. The stripe motif ------------------------- */
/* 13 stripes = 26px of alternating 2px red/white. The brand's signature rule. */
.stripes { height: 26px; background: var(--stripes); }
.stripes--thin { height: 10px; background: repeating-linear-gradient(to bottom, var(--rn-red) 0 2px, transparent 2px 4px); }

/* ---------- 3. Utility bar ------------------------------ */
.util {
  background: var(--rn-navy-deep); color: var(--rn-sky);
  font: 500 var(--t-micro)/1 var(--f-ui); letter-spacing: .04em;
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 40px; }
.util a { color: #fff; text-decoration: none; }
.util a:hover { color: #fff; text-decoration: underline; }
.util__date { text-transform: uppercase; letter-spacing: var(--track-kicker); }
.util__social { display: flex; gap: var(--s-1); list-style: none; }
.util__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-pill); }
.util__social a:hover { background: rgba(255,255,255,.12); }
.util__social .ico { width: 16px; height: 16px; }
/* Facebook Page link: white on navy, red on hover/press, white focus ring */
.util__social .util__fblink { background: rgba(255,255,255,.12); color: #fff; }
.util__social .util__fblink:hover { background: var(--rn-red); color: #fff; text-decoration: none; }
.util__social .util__fblink:active { background: var(--rn-red-deep); }
.util__social .util__fblink:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.foot__list .foot__fb { display: inline-flex; align-items: center; gap: 8px; }
.foot__list .foot__fb .ico { width: 18px; height: 18px; }

/* ---------- 4. Masthead / wordmark ---------------------- */
.mast { background: var(--rn-white); border-bottom: 1px solid var(--rn-rule); }
.mast .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-2); padding-block: var(--s-3); }
.mast__left, .mast__right { display: flex; align-items: center; gap: var(--s-2); }
.mast__right { justify-content: flex-end; }

/* The wordmark. Pure type + one star. Never an image.
   <a class="wordmark" href="/"> <span class="wordmark__right">RIGHT</span> <span class="wordmark__news">NEWS</span>
   <span class="wordmark__star"><svg>#i-star</svg></span> <span class="wordmark__now">RIGHT NOW</span> </a> */
.wordmark {
  display: inline-flex; align-items: center; gap: .18em;
  font: 800 clamp(2rem, 1.2rem + 3.6vw, 4rem)/.9 var(--f-display);
  letter-spacing: -.01em; text-transform: uppercase; text-decoration: none;
  color: var(--rn-navy); white-space: nowrap;
}
.wordmark:hover { color: var(--rn-navy); }
.wordmark__news { color: var(--rn-navy); }
.wordmark__star { color: var(--rn-red); width: .62em; height: .62em; display: inline-grid; transition: transform var(--d-slow) var(--ease); }
.wordmark__star svg { width: 100%; height: 100%; }
.wordmark:hover .wordmark__star { transform: rotate(72deg); }
.wordmark__now {
  color: #fff; background: var(--rn-red);
  padding: .08em .22em .04em; border-radius: var(--r-sm);
}
.mast__tag {
  display: block; text-align: center; margin-top: var(--s-1);
  font: 600 var(--t-micro)/1 var(--f-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--c-meta);
}

/* "Right now" live stamp next to the wordmark (filled by rnrn.js) */
.livestamp {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font: 600 var(--t-micro)/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--rn-slate);
}
.livestamp__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rn-red); box-shadow: 0 0 0 0 rgba(179,25,66,.5); animation: pulse 2s infinite; }
.livestamp time { font-variant-numeric: tabular-nums; color: var(--rn-ink); }

/* Compact wordmark for sticky nav + footer */
.wordmark--sm { font-size: 1.5rem; }
.wordmark--rev, .wordmark--rev:hover, .wordmark--rev .wordmark__news { color: #fff; }

/* ---------- 5. Primary nav ------------------------------ */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--rn-navy); color: #fff;
  box-shadow: none; transition: box-shadow var(--d-med);
}
.nav.is-stuck { box-shadow: var(--sh-2); }
.nav .wrap { display: flex; align-items: center; gap: var(--s-1); min-height: 56px; }
@media (min-width: 900px) { .nav:not(.is-stuck) .nav__list { margin-left: calc(-1 * var(--s-2)); } }
.nav__brand { display: none; margin-right: var(--s-2); }
.nav.is-stuck .nav__brand { display: inline-flex; }
.nav__list { display: flex; list-style: none; gap: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__link {
  position: relative; display: flex; align-items: center; height: 56px; padding: 0 var(--s-2);
  font: 700 1.0625rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: var(--s-2); right: var(--s-2); bottom: 0; height: 4px;
  background: var(--rn-red); transform: scaleX(0); transform-origin: left; transition: transform var(--d-med) var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link--video .ico { width: 14px; height: 14px; margin-right: 6px; color: var(--rn-red); background: #fff; border-radius: 50%; padding: 2px; }
.nav__tools { display: flex; gap: var(--s-1); margin-left: auto; }
@media (min-width: 900px) { .nav:not(.is-stuck) .nav__tools { visibility: hidden; } } /* masthead has search until nav sticks */

.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: inherit; cursor: pointer; transition: background var(--d-fast);
}
.iconbtn:hover { background: rgba(255,255,255,.12); }
.mast .iconbtn:hover { background: var(--rn-linen); }
.nav__menu { display: none; }

/* ---------- 6. Breaking ticker -------------------------- */
.ticker { background: var(--rn-red); color: #fff; overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: var(--s-2); min-height: 44px; }
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font: 800 var(--t-small)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
  background: #fff; color: var(--rn-red); padding: 6px 10px; border-radius: var(--r-sm);
}
.ticker__label .ico { width: 14px; height: 14px; }
.ticker__track { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__list { display: flex; gap: var(--s-5); list-style: none; width: max-content; animation: tick var(--ticker-speed) linear infinite; }
.ticker:hover .ticker__list, .ticker:focus-within .ticker__list, .ticker.is-paused .ticker__list { animation-play-state: paused; }
.ticker__list a { color: #fff; text-decoration: none; font: 600 var(--t-small)/1.2 var(--f-ui); white-space: nowrap; }
.ticker__list a:hover { text-decoration: underline; }
.ticker__list li::before { content: "\2605"; color: rgba(255,255,255,.65); margin-right: var(--s-2); font-size: .8em; }
.ticker__pause { flex: none; width: 36px; height: 36px; color: #fff; }

/* ---------- 7. Labels: kickers, chips, badges ----------- */
.kicker {
  display: inline-block; font: 700 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker);
  text-transform: uppercase; color: var(--c-kicker); text-decoration: none;
}
a.kicker:hover { color: var(--rn-navy); }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--r-sm);
  font: 800 .75rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  background: var(--rn-red); color: #fff;
}
.badge--navy { background: var(--rn-navy); }
.badge--outline { background: transparent; color: var(--rn-red); box-shadow: inset 0 0 0 1.5px currentColor; }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-dot 1.4s infinite; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-2); font: 500 .9375rem/1.3 var(--f-ui); color: var(--c-meta); }
.meta time { font-variant-numeric: tabular-nums; }
.meta__src { color: var(--rn-slate); }
.meta__src b { font-weight: 700; color: var(--rn-navy); }
.meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--rn-rule); margin-right: var(--s-2); vertical-align: middle; }

/* ---------- 8. Section header --------------------------- */
/* <header class="sec-head"><h2 class="sec-head__title"><a href="/politics/">Politics</a></h2><a class="sec-head__more" href="/politics/">All Politics</a></header> */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-2);
  border-bottom: 3px solid var(--rn-rule-strong); padding-bottom: var(--s-1); margin-bottom: var(--s-3);
}
.sec-head__title {
  display: flex; align-items: center; gap: 12px;
  font: 800 clamp(1.75rem, 1.5rem + 1vw, 2.25rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em;
}
.sec-head__title::before { content: ""; width: 14px; height: 26px; background: var(--stripes); flex: none; }
.sec-head__title a { color: inherit; text-decoration: none; }
.sec-head__title a:hover { color: var(--rn-red); }
.sec-head__more {
  display: inline-flex; align-items: center; gap: 6px; font: 700 var(--t-small)/1 var(--f-ui); text-decoration: none; color: var(--rn-navy);
  padding: var(--s-1) 0;
}
.sec-head__more .ico { width: 16px; height: 16px; transition: transform var(--d-fast) var(--ease); }
.sec-head__more:hover .ico { transform: translateX(4px); }
.sec-head--rev { border-color: #fff; }
.sec-head--rev .sec-head__title, .sec-head--rev .sec-head__more { color: #fff; }

/* ---------- 9. Front page grid -------------------------- */
/* Desktop: [ left headline column | top story | trending rail ]
   Tablet:  [ top story full ] then [ left col | rail ]
   Mobile:  single column, top story first */
.front { display: grid; gap: var(--s-4); padding-block: var(--s-4) var(--s-6);
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "left" "rail"; }
.front__lead { grid-area: lead; }
.front__left { grid-area: left; }
.front__rail { grid-area: rail; }
@media (min-width: 760px) {
  .front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lead lead" "left rail"; }
}
@media (min-width: 1100px) {
  .front { grid-template-columns: minmax(260px, 1fr) minmax(0, 2.4fr) 300px; grid-template-areas: "left lead rail"; }
  .front__left { border-right: 1px solid var(--rn-rule); padding-right: var(--s-4); }
}

/* ---------- 10. Top story (the hero) -------------------- */
/* The biggest headline on the site. Type does the work.
   Optional photo sits above; without one, use the canton panel. */
.lead { position: relative; container-type: inline-size; }
.lead__media { display: block; position: relative; margin-block: var(--s-3); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 2 / 1; background: var(--rn-navy); box-shadow: var(--sh-2); }
.lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lead:hover .lead__media img { transform: scale(1.03); }
.lead__flag { position: absolute; left: var(--s-2); top: var(--s-2); }
.lead__kicker { margin-bottom: var(--s-1); }
.lead__title {
  font: 800 var(--t-mega)/var(--lh-tight) var(--f-display); letter-spacing: -.015em; text-transform: uppercase;
  font-size: clamp(2.75rem, 9.5cqi, 5rem); /* scales with the lead column, not the viewport */
  margin-bottom: var(--s-2);
}
.lead__title a { color: var(--rn-ink); text-decoration: none; background: linear-gradient(var(--rn-red), var(--rn-red)) 0 100% / 0 6px no-repeat; transition: background-size var(--d-slow) var(--ease); }
.lead__title a:hover { color: var(--rn-ink); background-size: 100% 6px; }
.lead__title em { font-style: normal; color: var(--rn-red); }
.lead__dek { font: 400 var(--t-dek)/1.5 var(--f-read); color: var(--rn-slate); max-width: 60ch; margin-bottom: var(--s-2); }
.lead__also { list-style: none; margin-top: var(--s-3); border-top: 1px solid var(--rn-rule); }
.lead__also li { border-bottom: 1px solid var(--rn-rule); }
.lead__also a { display: flex; gap: 12px; padding: 12px 0; font: 600 var(--t-h4)/1.3 var(--f-ui); color: var(--rn-ink); text-decoration: none; }
.lead__also a::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; background: var(--rn-red); transform: rotate(45deg); }
.lead__also a:hover { color: var(--rn-red); }

/* Photo-free hero panel: navy field + big drawn illustration + stripes */
.canton {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(135deg, var(--rn-navy) 0%, var(--rn-navy-deep) 100%);
  color: rgba(255,255,255,.9); overflow: hidden;
}
.canton::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 26%; background: repeating-linear-gradient(to bottom, var(--rn-red) 0 7.69%, var(--rn-white) 7.69% 15.38%); }
.canton svg { width: 30%; max-width: 200px; position: relative; z-index: 1; margin-right: 26%; }
.canton__stars { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.22) 1.2px, transparent 1.6px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000 40%, transparent 75%); }

/* ---------- 11. Headline column ------------------------- */
/* The dense, Drudge-style list. Text only, fast to scan. */
.hl { list-style: none; }
.hl__item { padding: 12px 0; border-bottom: 1px solid var(--rn-rule); }
.hl__item:first-child { padding-top: 0; }
.hl__link { display: block; font: 700 var(--t-h4)/1.25 var(--f-display); letter-spacing: .005em; color: var(--rn-ink); text-decoration: none; }
.hl__link:hover { color: var(--rn-red); }
.hl__link:visited { color: #4A3A63; }       /* readers can see what they've already read */
.hl__item .meta { margin-top: 4px; font-size: .875rem; }
.hl__item--hot .hl__link { color: var(--rn-red); }
.hl__item--hot .hl__link::before { content: "\2605  "; }
.hl--caps .hl__link { text-transform: uppercase; font-size: 1.1875rem; letter-spacing: .01em; }

/* Three-across headline columns block (homepage, mid-page) */
.cols { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px)  { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols > * + * { border-left: 1px solid var(--rn-rule); padding-left: var(--s-4); } }

/* ---------- 12. Trending rail --------------------------- */
/* Ranked by reads, so numbers are meaningful here. */
.rail { position: relative; }
@media (min-width: 1100px) { .rail--sticky { position: sticky; top: 80px; } }
.trend { position: relative; background: var(--c-surface); border-radius: var(--r-md); padding: var(--s-3); padding-top: calc(var(--s-3) + 4px); overflow: hidden; }
.trend::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rn-red); }
.trend__title { display: flex; align-items: center; gap: var(--s-1); font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; color: var(--rn-navy); margin-bottom: var(--s-2); }
.trend__title .ico { color: var(--rn-red); }
.trend__list { list-style: none; counter-reset: trend; }
.trend__item { counter-increment: trend; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rn-rule); }
.trend__item::before {
  content: counter(trend); font: 800 2.25rem/0.9 var(--f-display); color: var(--rn-navy);
  -webkit-text-stroke: 0; font-variant-numeric: tabular-nums;
}
.trend__item:nth-child(-n+3)::before { color: var(--rn-red); }
.trend__link { font: 600 1.0625rem/1.3 var(--f-ui); color: var(--rn-ink); text-decoration: none; }
.trend__link:hover { color: var(--rn-red); }
.trend__item .kicker { display: block; margin-bottom: 4px; font-size: .75rem; }

/* ---------- 13. Story cards ----------------------------- */
.grid { display: grid; gap: var(--s-4) var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.card { position: relative; display: flex; flex-direction: column; gap: var(--s-1); }
.card__media {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-1);
  background: var(--rn-linen); box-shadow: var(--sh-1); transition: box-shadow var(--d-med) var(--ease), transform var(--d-med) var(--ease);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font: 700 var(--t-h3)/1.15 var(--f-display); }
.card__title a { color: var(--rn-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable, one link for screen readers */
.card:hover .card__title a { color: var(--rn-red); }
.card:hover .card__media { box-shadow: var(--sh-3); transform: translateY(-3px); }
.card:focus-within .card__media { box-shadow: 0 0 0 3px var(--c-focus), var(--sh-3); }
.card__title a:focus-visible { outline: none; box-shadow: none; }
.card__dek { font: 400 1.0625rem/1.5 var(--f-read); color: var(--rn-slate); margin: 0; }
.card .kicker, .card .meta a { position: relative; z-index: 1; }
.photo-credit { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 3px; background: rgba(6,33,63,.75); color: #fff; font: 500 .6875rem/1.3 var(--f-ui); }
.photo-credit a { color: #fff; }

/* Typographic card: for stories with no licensed photo.
   Category illustration + headline set big on a colored field. */
.tcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 3 / 2; padding: var(--s-2); border-radius: var(--r-md); overflow: hidden;
  background: var(--rn-navy); color: #fff;
}
.tcard__ill { position: absolute; right: 4%; bottom: 12%; width: 42%; color: rgba(255,255,255,.18); transition: transform var(--d-slow) var(--ease); }
.card:hover .tcard__ill { transform: translate(-4px, -4px) rotate(-3deg); }
.tcard__cat { position: relative; font: 800 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; }
.tcard__cat::before { content: "\2605  "; color: #FF8FA8; }
.tcard__word { position: relative; font: 800 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/.95 var(--f-display); text-transform: uppercase; max-width: 62%; margin-bottom: var(--s-1); }
.tcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rn-red); }
/* Variants by category. Set data-cat on .tcard */
.tcard[data-cat="border"]  { background: #0E1726; }
.tcard[data-cat="economy"] { background: #12406E; }
.tcard[data-cat="opinion"] .tcard__cat::before { color: var(--rn-red); }
.tcard[data-cat="culture"] { background: var(--rn-red); }
.tcard[data-cat="culture"] .tcard__cat::before { color: #fff; }
.tcard[data-cat="culture"]::after { background: var(--rn-navy); }
.tcard[data-cat="culture"] .tcard__ill { color: rgba(255,255,255,.26); }
.tcard[data-cat="world"]   { background: #1B2B44; }
.tcard[data-cat="opinion"] { background: var(--rn-linen); color: var(--rn-navy); box-shadow: inset 0 0 0 1px var(--rn-rule); }
.tcard[data-cat="opinion"] .tcard__ill { color: rgba(10,49,97,.14); }
.tcard[data-cat="opinion"] .tcard__word { font-family: var(--f-read); font-style: italic; font-weight: 600; text-transform: none; }
.tcard[data-cat="video"]   { background: #06213F; }

/* Horizontal card (lists, category river, related) */
.hcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); padding-block: var(--s-3); border-bottom: 1px solid var(--rn-rule); }
@media (min-width: 640px) { .hcard { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-3); } }
.hcard .card__media, .hcard .tcard { margin: 0; aspect-ratio: 3 / 2; }
.hcard .card__title { font-size: var(--t-h3); margin-block: 6px var(--s-1); }

/* Featured: 1 large + 4 small. Uses .card inside. */
.featured { display: grid; gap: var(--s-4) var(--s-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px)  { .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } .featured > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .featured { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; }
  .featured > :first-child { grid-column: 1; grid-row: 1 / span 2; }
  .featured > :first-child .card__title { font-size: var(--t-h2); }
  .featured > :not(:first-child) .card__dek { display: none; } }

/* ---------- 14. Opinion strip --------------------------- */
.opinion { background: var(--rn-linen); padding-block: var(--s-6); border-block: 1px solid var(--rn-rule); }
.oped { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-2); align-items: start; }
.oped__mono {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--rn-navy); color: #fff; font: 800 1.5rem/1 var(--f-display); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--rn-red);
}
.oped__title { font: 600 italic 1.375rem/1.3 var(--f-read); }
.oped__title a { color: var(--rn-ink); text-decoration: none; }
.oped__title a:hover { color: var(--rn-red); }
.oped__by { font: 700 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; color: var(--rn-red); margin-bottom: 6px; display: block; }

/* ---------- 15. Video band ------------------------------ */
.vband { background: var(--rn-navy-deep); color: #fff; padding-block: var(--s-6); position: relative; overflow: hidden; }
.vband::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1.2px, transparent 1.6px); background-size: 28px 28px; pointer-events: none; }
.vband .wrap { position: relative; }
.vband .card__title a, .vband .card:hover .card__title a { color: #fff; }
.vband .card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--rn-red); text-decoration-thickness: 3px; }
.vband .meta { color: var(--rn-sky); }
.vband .kicker { color: #FF8FA8; } /* 7.5:1 on navy-deep */
.play {
  position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -50%;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--rn-red); color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.25); transition: transform var(--d-med) var(--ease);
}
.play .ico { width: 28px; height: 28px; margin-left: 4px; }
.card:hover .play { transform: scale(1.1); }
.duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 3px; background: rgba(0,0,0,.75); color: #fff; font: 600 .8125rem/1.3 var(--f-ui); font-variant-numeric: tabular-nums; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; margin-block: var(--s-3); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 16. Category page --------------------------- */
.cat-hero { position: relative; background: var(--rn-navy); color: #fff; overflow: hidden; }
.cat-hero .wrap { position: relative; display: grid; gap: var(--s-1); padding-block: var(--s-6) var(--s-5); }
.cat-hero__ill { position: absolute; right: var(--gutter); bottom: -24px; width: clamp(140px, 22vw, 260px); color: rgba(255,255,255,.14); }
.cat-hero__title { font: 800 var(--t-h1)/1 var(--f-display); text-transform: uppercase; color: #fff; }
.cat-hero__desc { font: 400 var(--t-dek)/1.5 var(--f-read); color: var(--rn-sky); max-width: 56ch; margin: 0; }
.cat-hero .kicker { color: #FF8FA8; }
.cat-hero + .stripes--thin { margin-top: 0; }
.cat-layout { display: grid; gap: var(--s-5); padding-block: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .cat-layout { grid-template-columns: minmax(0, 1fr) var(--w-rail); } }

.subnav { display: flex; gap: var(--s-1); flex-wrap: wrap; margin-bottom: var(--s-3); }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-2); border-radius: var(--r-pill);
  border: 1.5px solid var(--rn-rule); background: #fff; color: var(--rn-navy);
  font: 600 var(--t-small)/1 var(--f-ui); text-decoration: none; cursor: pointer; transition: all var(--d-fast);
}
.chip:hover { border-color: var(--rn-navy); color: var(--rn-navy); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--rn-navy); border-color: var(--rn-navy); color: #fff; }

.pager { display: flex; justify-content: center; align-items: center; gap: var(--s-1); padding-block: var(--s-5); list-style: none; }
.pager a, .pager span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-sm);
  font: 700 var(--t-small)/1 var(--f-ui); text-decoration: none; color: var(--rn-navy); border: 1.5px solid var(--rn-rule);
}
.pager a:hover { border-color: var(--rn-navy); }
.pager [aria-current="page"] { background: var(--rn-navy); color: #fff; border-color: var(--rn-navy); }

/* ---------- 17. Article page ---------------------------- */
.progress { position: fixed; left: 0; top: 0; z-index: calc(var(--z-nav) + 1); height: 4px; width: 100%; background: var(--rn-red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.art { padding-block: var(--s-5) var(--s-8); }
.art-layout { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .art-layout { grid-template-columns: minmax(0, 1fr) var(--w-rail); } }

.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-1); list-style: none; font: 600 .9375rem/1 var(--f-ui); margin-bottom: var(--s-3); }
.crumbs a { color: var(--rn-steel); text-decoration: none; }
.crumbs a:hover { color: var(--rn-red); }
.crumbs li + li::before { content: "/"; color: var(--rn-rule); margin-right: var(--s-1); }

.art-head { max-width: 860px; margin-bottom: var(--s-4); }
.art-head .kicker { margin-bottom: var(--s-2); }
.art-head__title { font: 800 var(--t-h1)/1.04 var(--f-display); letter-spacing: -.01em; margin-bottom: var(--s-2); }
.art-head__dek { font: 400 1.375rem/1.45 var(--f-read); color: var(--rn-slate); margin-bottom: var(--s-3); }
.art-head__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); padding-block: var(--s-2); border-block: 1px solid var(--rn-rule); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline__mark { width: 40px; height: 40px; }
.byline__name { font: 700 var(--t-small)/1.2 var(--f-ui); color: var(--rn-ink); display: block; }

.art-figure { margin: 0 0 var(--s-4); }
.art-figure .card__media, .art-figure .tcard { aspect-ratio: 16 / 9; margin: 0; }
.art-figure figcaption { margin-top: var(--s-1); font: 400 .9375rem/1.4 var(--f-ui); color: var(--c-meta); }

/* Reading column. Serif, 20px, 68ch measure. */
.prose { max-width: var(--w-read); font: 400 var(--t-read)/var(--lh-read) var(--f-read); color: var(--rn-ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose > h2 + *, .prose > h3 + * { margin-top: .6em; }
.prose > p:first-of-type::first-letter {
  float: left; font: 800 4.6em/.8 var(--f-display); color: var(--rn-navy); margin: .06em .1em 0 0; padding-right: .04em;
}
.prose h2 { font: 700 1.875rem/1.15 var(--f-display); }
.prose > h2 { margin-top: 1.8em; }
.prose h3 { font: 700 1.5rem/1.2 var(--f-display); }
.prose > h3 { margin-top: 1.5em; }
.prose a { color: var(--rn-navy); text-decoration-color: var(--rn-red); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--rn-red); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--rn-red); }
.prose blockquote {
  margin: 1.6em 0 0; padding: 0 0 0 var(--s-3); border-left: 4px solid var(--rn-red);
  font: 600 italic 1.5rem/1.4 var(--f-read); color: var(--rn-navy);
}
.prose blockquote cite { display: block; margin-top: var(--s-1); font: 600 normal var(--t-small)/1.3 var(--f-ui); color: var(--c-meta); }
.prose strong { font-weight: 700; }
.prose img { border-radius: var(--r-md); }
.prose hr { width: 120px; margin: 2em auto 0; border: 0; height: 10px; background: repeating-linear-gradient(to bottom, var(--rn-red) 0 2px, transparent 2px 4px); }

/* SOURCE BOX: required on every article. Never hide or restyle to look like an ad. */
.source {
  max-width: var(--w-read); margin-block: var(--s-5); padding: var(--s-3);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-3); align-items: center;
  background: var(--rn-sky); border-radius: var(--r-md); border-left: 6px solid var(--rn-navy);
}
.source__label { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-1); font: 800 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; color: var(--rn-navy); }
.source__outlet { font: 800 1.5rem/1.1 var(--f-display); color: var(--rn-ink); }
.source__note { grid-column: 1 / -1; margin: 0; font: 400 .9375rem/1.45 var(--f-ui); color: var(--rn-slate); }
.source__link { justify-self: end; }
@media (max-width: 559px) { .source { grid-template-columns: 1fr; } .source__link { justify-self: start; } }
/* Compact source line for cards/lists: <p class="meta__src">Source: <b>Outlet</b></p> */

/* Share bar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1); }
.share__label { font: 700 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; color: var(--c-meta); margin-right: 4px; }
.share__btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rn-rule);
  background: #fff; color: var(--rn-navy); cursor: pointer; text-decoration: none; transition: all var(--d-fast) var(--ease);
}
.share__btn:hover { background: var(--rn-navy); border-color: var(--rn-navy); color: #fff; transform: translateY(-2px); }
.share__btn .ico { width: 18px; height: 18px; }
.share__btn.is-done { background: var(--c-success); border-color: var(--c-success); color: #fff; }
@media (min-width: 1100px) {
  .share--float { position: sticky; top: 96px; flex-direction: column; align-self: start; }
}
.art-foot { max-width: var(--w-read); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--rn-rule); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-1); list-style: none; }

/* ---------- 18. Buttons & forms ------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1); min-height: 48px; padding: 0 var(--s-3);
  border: 0; border-radius: var(--r-sm); cursor: pointer; text-decoration: none;
  font: 700 1.0625rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
  background: var(--rn-red); color: #fff; box-shadow: inset 0 -3px 0 var(--rn-red-deep);
  transition: background var(--d-fast), transform var(--d-fast), box-shadow var(--d-fast);
}
.btn:hover { background: var(--rn-red-deep); color: #fff; }
.btn:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--rn-red-deep); }
.btn--navy { background: var(--rn-navy); box-shadow: inset 0 -3px 0 var(--rn-navy-deep); }
.btn--navy:hover { background: var(--rn-navy-deep); }
.btn--ghost { background: transparent; color: var(--rn-navy); box-shadow: inset 0 0 0 2px var(--rn-navy); }
.btn--ghost:hover { background: var(--rn-navy); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 var(--s-2); font-size: .9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.field { display: grid; gap: 6px; margin-bottom: var(--s-3); }
.field__label { font: 700 var(--t-small)/1.2 var(--f-ui); color: var(--rn-ink); }
.field__hint { font: 400 .9375rem/1.4 var(--f-ui); color: var(--c-meta); }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px var(--s-2); border: 1.5px solid #8794A6; border-radius: var(--r-sm);
  background: #fff; color: var(--rn-ink); font: 400 var(--t-body)/1.4 var(--f-ui); transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.textarea { min-height: 160px; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--rn-navy); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--rn-navy); box-shadow: 0 0 0 4px rgba(10,49,97,.18); }
.field.is-error .input, .field.is-error .textarea { border-color: var(--c-error); box-shadow: 0 0 0 4px rgba(179,25,66,.12); }
.field__error { display: none; font: 600 .9375rem/1.4 var(--f-ui); color: var(--c-error); }
.field.is-error .field__error { display: block; }

/* Newsletter block */
.signup { position: relative; background: var(--rn-red); color: #fff; border-radius: var(--r-md); padding: var(--s-4); overflow: hidden; }
.signup::after { content: ""; position: absolute; right: -36px; bottom: -36px; width: 140px; height: 140px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' fill-opacity='.14' d='M12 1.8l2.95 6.6 7.2.7-5.43 4.8 1.6 7.07L12 17.27 5.68 20.97l1.6-7.07L1.85 9.1l7.2-.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.signup__title, .signup p, .signup form { position: relative; z-index: 1; }
.signup__title { font: 800 1.75rem/1.05 var(--f-display); text-transform: uppercase; color: #fff; margin-bottom: var(--s-1); }
.signup p { font-size: 1.0625rem; }
.signup__row { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.signup .input { flex: 1 1 200px; border-color: #fff; }
.signup .btn { background: var(--rn-navy); box-shadow: inset 0 -3px 0 var(--rn-navy-deep); }
.signup .btn:hover { background: var(--rn-navy-deep); }
.signup__ok { display: none; align-items: center; gap: var(--s-1); font-weight: 700; }
.signup.is-done .signup__row { display: none; }
.signup.is-done .signup__ok { display: flex; }

/* ---------- 19. Search overlay -------------------------- */
.search {
  position: fixed; inset: 0; z-index: var(--z-drawer); display: none;
  background: rgba(6, 33, 63, .96); color: #fff; padding: var(--s-8) var(--gutter) var(--s-4); overflow-y: auto;
}
.search.is-open { display: block; animation: fade var(--d-med) var(--ease); }
.search__inner { max-width: 820px; margin: 0 auto; }
.search__close { position: absolute; right: var(--gutter); top: var(--s-2); color: #fff; }
.search__label { display: block; font: 700 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; color: var(--rn-sky); margin-bottom: var(--s-2); }
.search__input {
  width: 100%; border: 0; border-bottom: 3px solid var(--rn-red); background: transparent; color: #fff; padding: var(--s-1) 0;
  font: 700 clamp(2rem, 1.5rem + 2vw, 3rem)/1.1 var(--f-display);
}
.search__input::placeholder { color: rgba(220,230,242,.55); }
.search__input:focus { outline: none; border-color: #fff; }
.search__hint { margin-top: var(--s-1); font-size: .9375rem; color: var(--rn-sky); }
.search__hint kbd { font: 600 .8125rem/1 var(--f-ui); padding: 3px 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.search__results { list-style: none; margin-top: var(--s-4); }
.search__results li { border-bottom: 1px solid rgba(255,255,255,.14); }
.search__results a { display: block; padding: var(--s-2) 0; color: #fff; text-decoration: none; font: 700 1.375rem/1.25 var(--f-display); }
.search__results a:hover, .search__results a[aria-selected="true"] { color: #FF8FA8; }
.search__results mark { background: transparent; color: #FF8FA8; }
.search__results .kicker { color: var(--rn-sky); display: block; margin-bottom: 4px; }
.search__empty { margin-top: var(--s-4); color: var(--rn-sky); }

/* Full search results page reuses .hcard list */

/* ---------- 20. Mobile drawer --------------------------- */
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: var(--z-drawer); width: min(86vw, 360px);
  background: var(--rn-navy); color: #fff; transform: translateX(-100%); transition: transform var(--d-med) var(--ease);
  display: flex; flex-direction: column; padding: var(--s-2) var(--s-3) var(--s-4); overflow-y: auto; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; box-shadow: var(--sh-3); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.drawer__list { list-style: none; }
.drawer__list a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; font: 700 1.375rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.drawer__list a[aria-current="page"] { color: #FF8FA8; }
.scrim { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgba(6,33,63,.5); opacity: 0; pointer-events: none; transition: opacity var(--d-med); }
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- 21. Footer ---------------------------------- */
.foot { background: var(--rn-navy); color: var(--rn-sky); margin-top: var(--s-8); }
.foot .stripes { background: repeating-linear-gradient(to bottom, var(--rn-red) 0 2px, var(--rn-navy) 2px 4px); }
.foot__top { display: grid; gap: var(--s-5); padding-block: var(--s-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot__about { font: 400 1.0625rem/1.55 var(--f-read); max-width: 42ch; margin-top: var(--s-2); }
.foot__h { font: 800 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; color: #fff; margin-bottom: var(--s-2); }
.foot__list { list-style: none; display: grid; gap: 4px; }
.foot__list a { display: inline-block; padding: 6px 0; color: var(--rn-sky); text-decoration: none; font-weight: 500; }
.foot__list a:hover { color: #fff; text-decoration: underline; }
.foot__bottom { background: var(--rn-navy-deep); font-size: .9375rem; }
.foot__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); padding-block: var(--s-3); }
.foot__bottom a { color: #fff; }

/* ---------- 22. Static pages (About, Policy, Contact, Privacy) */
.page-head { background: var(--rn-linen); border-bottom: 1px solid var(--rn-rule); }
.page-head .wrap { padding-block: var(--s-6) var(--s-5); }
.page-head h1 { font: 800 var(--t-h1)/1 var(--f-display); text-transform: uppercase; color: var(--rn-navy); }
.page-head p { font: 400 var(--t-dek)/1.5 var(--f-read); color: var(--rn-slate); max-width: 60ch; margin: var(--s-2) 0 0; }
.page-body { padding-block: var(--s-5); display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .page-body { grid-template-columns: 220px minmax(0, 1fr); } }
.toc { list-style: none; font: 600 var(--t-small)/1.3 var(--f-ui); border-left: 3px solid var(--rn-rule); }
@media (min-width: 1100px) { .toc { position: sticky; top: 96px; align-self: start; } }
.toc a { display: block; padding: 8px var(--s-2); margin-left: -3px; border-left: 3px solid transparent; color: var(--rn-slate); text-decoration: none; }
.toc a:hover, .toc a[aria-current="true"] { border-color: var(--rn-red); color: var(--rn-navy); }
.page-body .prose > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; padding: 0; }
.prose code { font: 500 .85em/1 ui-monospace, Menlo, Consolas, monospace; background: var(--rn-linen); padding: 2px 6px; border-radius: 3px; }
.pledge { display: grid; gap: var(--s-2); list-style: none; margin-block: var(--s-4); }
.pledge li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font: 400 var(--t-body)/1.5 var(--f-ui); }
.pledge li .ico { width: 28px; height: 28px; color: #fff; background: var(--rn-navy); border-radius: 50%; padding: 5px; }

/* ---------- 23. Toast ----------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: var(--s-3); z-index: var(--z-toast); translate: -50% 0;
  display: flex; align-items: center; gap: var(--s-1); padding: 12px var(--s-3); border-radius: var(--r-pill);
  background: var(--rn-ink); color: #fff; font: 600 var(--t-small)/1.2 var(--f-ui); box-shadow: var(--sh-3);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--d-med), transform var(--d-med) var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast .ico { color: #7BD88F; }

/* ---------- 24. Section rhythm -------------------------- */
.band { padding-block: var(--s-6); }
.band + .band { border-top: 1px solid var(--rn-rule); }
.split { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr) var(--w-rail); } }
.stack > * + * { margin-top: var(--s-4); }

/* Ad slot (reserved height prevents layout shift) */
.slot { display: grid; place-items: center; min-height: 250px; border: 1px dashed var(--rn-rule); border-radius: var(--r-md); color: var(--c-meta); font: 600 var(--t-micro)/1 var(--f-ui); letter-spacing: var(--track-kicker); text-transform: uppercase; }
.slot--leader { min-height: 90px; }

/* ---------- 25. Motion ---------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--d-slow) var(--ease), transform var(--d-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Masthead load: stripes draw in, wordmark rises, star spins once */
.mast .wordmark > * { animation: rise .7s var(--ease) both; }
.mast .wordmark > :nth-child(2) { animation-delay: .06s; }
.mast .wordmark > :nth-child(3) { animation: spin-in .9s var(--ease) .18s both; }
.mast .wordmark > :nth-child(4) { animation-delay: .26s; }

@keyframes rise { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-144deg) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(179,25,66,.5); } 70% { box-shadow: 0 0 0 8px rgba(179,25,66,0); } 100% { box-shadow: 0 0 0 0 rgba(179,25,66,0); } }
@keyframes pulse-dot { 50% { opacity: .3; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__list { animation: none; width: auto; }
  .ticker__track { mask-image: linear-gradient(90deg, #000 92%, transparent); overflow-x: auto; scrollbar-width: none; }
  .ticker__track::-webkit-scrollbar { display: none; }
  .ticker__list [aria-hidden="true"] { display: none; }   /* JS-cloned loop items */
  .ticker__pause { display: none; }
}

/* ---------- 26. Responsive tweaks ----------------------- */
/* Small-screen masthead: full wordmark centered above the nav */
.mast-mobile { display: none; background: #fff; text-align: center; padding: var(--s-2) var(--gutter); border-bottom: 1px solid var(--rn-rule); }
.mast-mobile .wordmark { font-size: clamp(1.75rem, 8.4vw, 2.75rem); }
@media (max-width: 899px) {
  .nav__list { display: none; }
  .nav__menu { display: inline-grid; }
  .mast { display: none; }                /* .mast-mobile replaces it on small screens */
  .util__social li:not(.util__fb) { display: none; }   /* keep the Facebook link on small screens */
  .mast-mobile { display: block; }
}
@media (max-width: 559px) {
  .lead__title { letter-spacing: -.01em; }
  .ticker__label span { display: none; }
  .art-head__bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- 27. Print ----------------------------------- */
@media print {
  .util, .nav, .ticker, .share, .foot, .rail, .signup, .slot, .progress, .search, .drawer { display: none !important; }
  .prose { font-size: 12pt; max-width: none; }
  .source { border: 1px solid #000; background: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
