/* ==========================================================================
   Le Soulouquois — Vwa Ayiti
   Palette: flag blue + Vertières red, Citadelle gold, royal-palm green,
   carnival accents per section. Type: Big Shoulders Display (broadcast),
   Newsreader (press), Archivo (interface).
   ========================================================================== */

:root {
  --paper: #f4f5fa;
  --surface: #ffffff;
  --surface-2: #eceef6;
  --ink: #0d1330;
  --ink-2: #2b3152;
  --muted: #5a6079;
  --line: #d9ddea;
  --blue: #1638c9;
  --blue-deep: #0b1d6e;
  --red: #d0102f;
  --gold: #e9a800;
  --gold-soft: #fff4d1;
  --green: #0b7a55;
  --night: #0a0f2a;
  --on-night: #f3f1ea;
  --on-night-muted: #b8bdd6;

  --c-haiti: #d0102f;
  --c-us: #1638c9;
  --c-world: #0b7a55;
  --c-politics: #6c2bb8;
  --c-business: #a86b00;
  --c-entertainment: #c21873;
  --c-travel: #0a7f86;
  --c-health: #127a4a;
  --c-weather: #1f6fc4;
  --c-legacy: #a86b00;
  --c-tech: #0e6fa8;
  --c-sports: #d9480f;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-ui: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(13, 19, 48, .06), 0 8px 24px -12px rgba(13, 19, 48, .18);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a0e22;
    --surface: #121834;
    --surface-2: #1a2143;
    --ink: #eef0f8;
    --ink-2: #cfd3e6;
    --muted: #9ea5c2;
    --line: #283054;
    --blue: #7390ff;
    --blue-deep: #c9d3ff;
    --red: #ff4f63;
    --gold: #f5c23d;
    --gold-soft: #2b2410;
    --green: #3fcf98;
    --night: #05081a;
    --c-haiti: #ff5a6c;
    --c-us: #7c97ff;
    --c-world: #3fcf98;
    --c-politics: #b58cff;
    --c-business: #f0b43c;
    --c-entertainment: #ff5fae;
    --c-travel: #37c8cf;
    --c-health: #4fd08d;
    --c-weather: #6fb2ff;
    --c-legacy: #f0b43c;
    --c-tech: #5cb8f0;
    --c-sports: #ff8a4c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a0e22;
  --surface: #121834;
  --surface-2: #1a2143;
  --ink: #eef0f8;
  --ink-2: #cfd3e6;
  --muted: #9ea5c2;
  --line: #283054;
  --blue: #7390ff;
  --blue-deep: #c9d3ff;
  --red: #ff4f63;
  --gold: #f5c23d;
  --gold-soft: #2b2410;
  --green: #3fcf98;
  --night: #05081a;
  --c-haiti: #ff5a6c;
  --c-us: #7c97ff;
  --c-world: #3fcf98;
  --c-politics: #b58cff;
  --c-business: #f0b43c;
  --c-entertainment: #ff5fae;
  --c-travel: #37c8cf;
  --c-health: #4fd08d;
  --c-weather: #6fb2ff;
  --c-legacy: #f0b43c;
  --c-tech: #5cb8f0;
  --c-sports: #ff8a4c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Flag band + top bar ---------- */
.flagband { display: grid; grid-template-rows: 3px 3px; }
.flagband span:first-child { background: var(--blue); }
.flagband span:last-child { background: var(--red); }
.topbar { background: var(--night); color: var(--on-night-muted); font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; flex-wrap: wrap; padding-block: 4px; }
.topbar-date { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.topbar-date strong { color: var(--on-night); font-weight: 600; }
.topbar-date .kreyol { color: #f5c23d; font-style: italic; font-family: var(--f-serif); font-size: 13.5px; }
.topbar-links { display: flex; gap: 16px; align-items: center; }
.topbar-links a { text-decoration: none; color: var(--on-night-muted); }
.topbar-links a:hover { color: #fff; }
.theme-toggle { background: none; border: 1px solid #2c335a; color: var(--on-night); border-radius: 99px; padding: 2px 10px; cursor: pointer; font-size: 12px; }
.theme-toggle:hover { border-color: #f5c23d; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: .9; }
.brand-word .le { font-family: var(--f-serif); font-style: italic; font-size: 13px; color: var(--red); letter-spacing: .02em; }
.brand-word .name { font-family: var(--f-display); font-weight: 900; font-size: 26px; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.brand-word .tag { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.mainnav { flex: 1; min-width: 0; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: center; }
.mainnav a {
  display: block; padding: 10px 9px; text-decoration: none;
  font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: 0;
  color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap;
}
.mainnav a:hover { color: var(--ink); border-color: var(--cat, var(--red)); }
.mainnav a[aria-current="page"] { color: var(--ink); border-color: var(--cat, var(--red)); }

.actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.action-link { white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius);
  font-weight: 600; font-size: 13.5px; text-decoration: none; color: var(--ink-2); background: none; border: 0; cursor: pointer;
}
.action-link:hover { background: var(--surface-2); color: var(--ink); }
.action-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.action-link .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(208, 16, 47, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(208, 16, 47, .55); } 70% { box-shadow: 0 0 0 8px rgba(208, 16, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(208, 16, 47, 0); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 10px 18px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-decoration: none; line-height: 1.1;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a80b24; }
.btn-gold { background: #f5c23d; color: #1b1400; }
.btn-gold:hover { background: #ffd35c; }
.btn-outline { border-color: currentColor; background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: #0a0f2a; }
.signin { border-left: 1px solid var(--line); margin-left: 4px; padding-left: 14px; }
.actions .menu-toggle { display: none; }

/* Kanaval ribbon — the brand's signature stripe */
.ribbon { height: 5px; background: linear-gradient(90deg,
  var(--c-haiti) 0 16.6%, #f5c23d 16.6% 33.2%, var(--c-us) 33.2% 49.8%,
  var(--c-world) 49.8% 66.4%, var(--c-entertainment) 66.4% 83%, var(--c-travel) 83% 100%); }

/* ---------- Breaking ticker ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: stretch; gap: 0; min-height: 42px; }
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--red); color: #fff;
  font-family: var(--f-display); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 13.5px;
}
.ticker-label small { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 13px; opacity: .9; }
.ticker-track { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker-list { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 20px; height: 100%; align-items: center; white-space: nowrap; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
.ticker-list a { text-decoration: none; font-weight: 600; font-size: 13px; }
.ticker-list a:hover { text-decoration: underline; }
.ticker-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #f5c23d; transform: rotate(45deg); margin-right: 12px; vertical-align: middle; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; background: rgba(5, 8, 26, .55); }
.drawer-panel { width: min(360px, 100%); height: 100%; overflow-y: auto; background: var(--surface); padding: calc(18px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 18px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.drawer nav a { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-ui); font-weight: 700; font-size: 16px; }
.drawer nav a::after { content: "→"; color: var(--cat, var(--red)); }
.drawer .drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Generic section heads ---------- */
main { display: block; }
.section { padding-block: clamp(28px, 4vw, 48px); }
.section + .section { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; border-top: 3px solid var(--ink); padding-top: 10px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: .01em; line-height: 1; display: flex; align-items: center; gap: 12px; }
.sec-head h2::before { content: ""; width: 11px; height: 11px; background: var(--cat, var(--red)); flex-shrink: 0; }
.sec-head .kreyol { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 15px; }
.sec-head a.more { font-weight: 700; font-size: 14px; text-decoration: none; color: var(--cat, var(--red)); white-space: nowrap; }
.sec-head a.more:hover { text-decoration: underline; }

/* ---------- Tags ---------- */
.tag { display: inline-block; font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cat, var(--red)); }
.kicker { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.badge-breaking { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; }
[data-cat="haiti"] { --cat: var(--c-haiti); }
[data-cat="us"] { --cat: var(--c-us); }
[data-cat="world"] { --cat: var(--c-world); }
[data-cat="politics"] { --cat: var(--c-politics); }
[data-cat="business"] { --cat: var(--c-business); }
[data-cat="entertainment"] { --cat: var(--c-entertainment); }
[data-cat="travel"] { --cat: var(--c-travel); }
[data-cat="health"] { --cat: var(--c-health); }
[data-cat="weather"] { --cat: var(--c-weather); }
[data-cat="legacy"] { --cat: var(--c-legacy); }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--cat, var(--red)); }
.card-media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); max-width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--f-ui); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -.005em; }
.card-dek { color: var(--ink-2); font-family: var(--f-serif); font-size: 15px; line-height: 1.45; }
.meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
/* Story without a photo: a branded color panel keeps grids even */
.card-media--brand { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px 18px; color: #fff; background-color: var(--cat, var(--red)); background-image: linear-gradient(90deg, rgba(0,0,0,.18) 0 6px, transparent 6px), repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 14px, transparent 14px 28px); }
.card-media--brand::before { content: ""; position: absolute; top: 16px; right: 18px; width: 34px; height: 22px; background: linear-gradient(#1638c9 50%, #d0102f 50%); border: 2px solid rgba(255,255,255,.85); border-radius: 2px; }
.card-media--brand span { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: .95; text-transform: uppercase; letter-spacing: .02em; }
.card-media--brand small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.card--lead .card-media--brand span { font-size: clamp(40px, 5vw, 64px); }
/* Text-only rows: a colored rule stands in for a photo */
.card.noimg .card-text { border-top: 6px solid var(--cat, var(--red)); }
.card.noimg .card-title { font-size: 16px; }

/* lead card */
.card--lead { border: 0; background: transparent; }
.card--lead .card-link { display: grid; gap: 0; }
.card--lead .card-media { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.card--lead .card-text { padding: 18px 0 0; background: transparent; }
.card--lead .card-title { font-family: var(--f-ui); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: .005em; }
.card--lead .card-dek { font-size: 17px; max-width: 62ch; }
.card--lead.noimg .card-text { border-top: 0; padding: 28px; background: var(--night); color: var(--on-night); border-radius: var(--radius); border-left: 8px solid var(--cat, var(--red)); }
.card--lead.noimg .card-dek { color: var(--on-night-muted); }

/* compact row card */
.card--row { flex-direction: row; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.card--row .card-link { flex-direction: row; gap: 14px; padding-block: 14px; align-items: flex-start; }
.card--row .card-media { width: 112px; flex-shrink: 0; aspect-ratio: 1; border-radius: var(--radius); }
.card--row .card-text { padding: 0; gap: 4px; }
.card--row .card-title { font-size: 14.5px; }
.card--row .card-dek { display: none; }
.card--row.noimg .card-text { border-top: 0; border-left: 4px solid var(--cat, var(--red)); padding-left: 12px; }
.list-flush > .card--row:last-child { border-bottom: 0; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Home hero ---------- */
.home-hero { padding-top: clamp(20px, 3vw, 32px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.topstories { border-top: 3px solid var(--ink); padding-top: 12px; }
.topstories h2 { font-family: var(--f-display); font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.topstories ol { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.topstories li { counter-increment: rank; display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.topstories li:last-child { border-bottom: 0; }
.topstories li::before { content: counter(rank); font-family: var(--f-display); font-weight: 900; font-size: 28px; line-height: .9; color: var(--red); }
.topstories a { text-decoration: none; font-family: var(--f-ui); font-weight: 700; font-size: 15px; line-height: 1.25; }
.topstories a:hover { text-decoration: underline; }
.topstories .tag { display: block; margin-bottom: 3px; }

/* ---------- Legacy band ---------- */
.legacy-band { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.legacy-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); align-items: center; position: relative; }
.legacy-band .eyebrow { color: #f5c23d; }
.legacy-band h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4vw, 52px); line-height: .95; text-transform: uppercase; margin-block: 10px 16px; }
.legacy-band h2 em { font-style: normal; color: #f5c23d; }
.legacy-band p.lede { font-family: var(--f-serif); font-size: 17px; color: var(--on-night-muted); max-width: 52ch; }
.legacy-photo { position: relative; margin: 0; }
.legacy-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.legacy-photo figcaption { font-size: 12px; color: var(--on-night-muted); margin-top: 8px; }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 24px 26px; }
.years div { border-top: 2px solid #f5c23d; padding-top: 8px; }
.years b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 28px; color: #fff; line-height: 1; }
.years span { font-size: 13px; color: var(--on-night-muted); }
.eyebrow { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cat, var(--red)); }

/* ---------- Media promo (Watch / Listen) ---------- */
.media-promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; color: #fff; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 15, 42, .1) 20%, rgba(10, 15, 42, .92)); }
.promo-body { padding: 24px; display: grid; gap: 8px; }
.promo h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; }
.promo p { color: #dfe2f0; font-family: var(--f-serif); font-size: 15.5px; max-width: 44ch; }
.promo .pill { justify-self: start; display: inline-flex; gap: 8px; align-items: center; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }
.promo .pill.gold { background: #f5c23d; color: #1b1400; }
.promo:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Horizontal scroller ---------- */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.scroller > * { scroll-snap-align: start; }

/* ---------- CTA / Lead gen ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-deep) 0%, #0b1d6e 100%); background: #0b1d6e; color: #fff; border-radius: var(--radius); overflow: hidden; position: relative; }
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 48px); align-items: center; position: relative; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 38%; background: #d0102f; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.cta-band h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; line-height: .98; }
.cta-band p { font-family: var(--f-serif); font-size: 16.5px; color: #d7dcf5; margin-top: 12px; max-width: 50ch; }
.cta-band .cta-actions { display: grid; gap: 12px; position: relative; z-index: 1; }
.cta-band .cta-actions .btn { justify-content: space-between; font-size: 16px; padding: 16px 20px; }

.newsletter { background: var(--gold-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.newsletter h3 { font-family: var(--f-display); font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 1; }
.newsletter p { font-family: var(--f-serif); color: var(--ink-2); }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 180px; min-width: 0; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 14px; font-weight: 600; color: var(--green); }
.form-status.err { color: var(--red); }

input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="date"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 16px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
label { font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); }

/* ---------- Category pages ---------- */
.page-head { padding-block: clamp(26px, 4vw, 44px) clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); background: var(--surface); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 5px; background: var(--cat, var(--red)); }
.page-head h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 4vw, 48px); line-height: .9; text-transform: uppercase; letter-spacing: .005em; margin-block: 8px 12px; }
.page-head .lede { font-family: var(--f-serif); font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 64ch; }
.page-head .kreyol { font-family: var(--f-serif); font-style: italic; color: var(--cat, var(--red)); font-size: 17px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 3vw, 44px); padding-block: 28px 48px; align-items: start; }
.cat-main { display: grid; gap: 28px; }
.rail { display: grid; gap: 24px; position: sticky; top: 100px; }
.rail-box { border-top: 3px solid var(--ink); padding-top: 12px; }
.rail-box h2 { font-family: var(--f-display); font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.notice { border: 1px solid var(--line); border-left: 6px solid var(--gold); background: var(--surface); padding: 16px 18px; border-radius: var(--radius); font-size: 15px; display: grid; gap: 6px; }
.notice strong { font-weight: 700; }

/* ---------- Prose / Legacy ---------- */
.prose { font-family: var(--f-serif); font-size: 17px; line-height: 1.65; max-width: 68ch; display: grid; gap: 1em; color: var(--ink-2); }
.prose h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); text-transform: uppercase; color: var(--ink); line-height: 1; margin-top: .6em; }
.prose h3 { font-family: var(--f-ui); font-weight: 700; font-size: 20px; color: var(--ink); }
.dropcap::first-letter { float: left; font-family: var(--f-display); font-weight: 900; font-size: 4.4em; line-height: .8; padding: 6px 10px 0 0; color: var(--red); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.portrait { margin: 0; }
.portrait img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.portrait figcaption, figure.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-family: var(--f-ui); }
.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact-strip div { padding: 16px 18px; border-right: 1px solid var(--line); }
.fact-strip div:last-child { border-right: 0; }
.fact-strip b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--ink); }
.fact-strip span { font-size: 13px; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--red)); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding-block: 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 86px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); }
.timeline li.gold::before { border-color: #e9a800; background: #e9a800; }
.timeline .yr { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; text-align: right; color: var(--ink); }
.timeline h3 { font-family: var(--f-serif); font-weight: 700; font-size: 19px; margin-bottom: 4px; }
.timeline p { font-family: var(--f-serif); font-size: 16px; color: var(--ink-2); max-width: 62ch; }

.hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; width: 100%; }
.person .card-text h3 { font-family: var(--f-display); font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 1; }
.person .card-text p { font-family: var(--f-serif); color: var(--ink-2); }

.culture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.culture-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; background: var(--surface); display: grid; gap: 8px; align-content: start; }
.culture-grid h3 { font-family: var(--f-display); font-weight: 900; font-size: 20px; text-transform: uppercase; }
.culture-grid .kreyol { font-family: var(--f-serif); font-style: italic; color: var(--red); }
.culture-grid p { font-family: var(--f-serif); font-size: 16px; color: var(--ink-2); }

/* ---------- Watch / Listen ---------- */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; max-width: 100%; isolation: isolate; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.player-ui { position: absolute; inset: 0; display: grid; align-content: space-between; padding: clamp(14px, 2.4vw, 24px); color: #fff; }
.player-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.player-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); line-height: .95; max-width: 18ch; }
.play-btn { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.play-btn svg { width: 30px; height: 30px; }
.play-btn:hover { transform: scale(1.05); }
.player-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.schedule time { font-family: var(--f-display); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.schedule b { font-family: var(--f-serif); font-size: 16.5px; display: block; }
.schedule span { color: var(--muted); font-size: 14px; }
.schedule .lang { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 6px; border-radius: 2px; color: var(--muted); }
.schedule li.now { background: linear-gradient(90deg, color-mix(in srgb, var(--red) 10%, transparent), transparent); }
.schedule li.now time { color: var(--red); }

.radio { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.radio h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3vw, 36px); text-transform: uppercase; line-height: 1; }
.radio p { color: var(--on-night-muted); font-family: var(--f-serif); font-size: 17px; }
.eq { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-top: 14px; }
.eq span { width: 5px; background: #f5c23d; height: 30%; border-radius: 1px; }
.radio.playing .eq span { animation: eq 1s ease-in-out infinite alternate; }
.eq span:nth-child(2) { animation-delay: .2s !important; } .eq span:nth-child(3) { animation-delay: .4s !important; }
.eq span:nth-child(4) { animation-delay: .1s !important; } .eq span:nth-child(5) { animation-delay: .3s !important; }
.eq span:nth-child(6) { animation-delay: .5s !important; } .eq span:nth-child(7) { animation-delay: .15s !important; }
@keyframes eq { from { height: 15%; } to { height: 100%; } }
.show-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.show-card h3 { font-family: var(--f-display); font-weight: 900; font-size: 21px; text-transform: uppercase; line-height: 1; }
.show-card p { font-family: var(--f-serif); color: var(--ink-2); }
.show-card .mini-play { justify-self: start; }

/* ---------- Weather ---------- */
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.wx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; }
.wx h3 { font-family: var(--f-ui); font-weight: 700; font-size: 15px; }
.wx .temp { font-family: var(--f-display); font-weight: 900; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.wx .cond { color: var(--muted); font-size: 14px; }
.wx .extra { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wx.loading .temp { color: var(--line); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-family: var(--f-serif); font-size: 17px; }
.checklist li::before { content: "✓"; font-weight: 900; color: var(--green); font-family: var(--f-ui); }

/* ---------- Contact / partner ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.offer.featured { border: 2px solid var(--red); box-shadow: var(--shadow); }
.offer h3 { font-family: var(--f-display); font-weight: 900; font-size: 23px; text-transform: uppercase; line-height: 1; }
.offer ul { margin: 0; padding-left: 18px; font-family: var(--f-serif); color: var(--ink-2); display: grid; gap: 4px; }
.offer .flag-label { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 8px; border-radius: 2px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.copyline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--f-ui); }
.copyline code { background: var(--surface-2); padding: 6px 10px; border-radius: var(--radius); font-size: 15px; user-select: all; }

/* ---------- Footer (network style) ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); margin-top: 32px; font-size: 14px; }
.site-footer .wrap { padding-block: 36px 28px; display: grid; gap: 0; }
.site-footer a { text-decoration: none; color: var(--on-night-muted); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-sections { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 20px; padding-bottom: 30px; }
.footer-sections h2 { font-family: var(--f-ui); font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.footer-sections h2 a { color: #fff; }
.footer-sections ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; border-top: 1px solid #2a3158; padding-top: 28px; }
.site-footer .brand-word .name { color: #fff; }
.footer-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-actions > a:not(.btn) { color: #fff; font-size: 14px; }
.footer-actions .btn { padding: 8px 16px; font-size: 13.5px; }
.footer-actions .btn:hover { color: #fff; text-decoration: none; }
.footer-actions .footer-signin { font-weight: 700; color: #fff; }
.footer-sep { display: inline-block; width: 1px; height: 24px; background: #3a4270; }
.footer-follow { display: flex; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 22px; }
.footer-label { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer .socials { display: flex; gap: 16px; align-items: center; }
.site-footer .socials a { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; }
.site-footer .socials a:hover { color: #f5c23d; }
.site-footer .socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-search { display: flex; align-items: center; border: 1px solid #3a4270; border-radius: var(--radius); overflow: hidden; background: #111735; }
.footer-search input { border: 0; background: transparent; color: #fff; padding: 7px 10px; width: 210px; max-width: 52vw; font-size: 13.5px; }
.footer-search input::placeholder { color: #8f96b8; }
.footer-search input:focus { box-shadow: none; }
.footer-search button { border: 0; background: transparent; color: #fff; padding: 7px 10px; cursor: pointer; display: grid; place-items: center; }
.footer-search button svg { width: 16px; height: 16px; }
.footer-topics { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0; padding-top: 14px; }
.footer-topics a { font-weight: 700; font-size: 13.5px; color: #fff; padding: 2px 0; }
.footer-topics a + a::before { content: "–"; color: #6b7399; margin-inline: 10px; display: inline-block; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid #2a3158; margin-top: 26px; padding-top: 22px; font-size: 13px; }
.footer-legal a { color: #d6d9ea; }
.footer-copy { padding-top: 22px; font-size: 12.5px; color: #b8bdd6; display: grid; gap: 4px; }

/* ---------- Article pages ---------- */
.article-head { padding-block: 26px 18px; display: grid; gap: 10px; max-width: 980px; margin-inline: 0; }
.article-head .kicker { margin-top: 4px; }
.article-title { font-family: var(--f-ui); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.article-dek { font-family: var(--f-serif); font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 68ch; line-height: 1.45; }
.byline { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 12px; margin-top: 6px; }
.byline-who { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.byline-who .brand-mark { width: 30px; height: 30px; }
.byline-who b { display: block; font-weight: 700; }
.byline-who span { color: var(--muted); font-size: 13px; }
.article-layout { padding-top: 8px; }
.article-main { display: grid; gap: 22px; min-width: 0; }
.article-hero { margin: 0; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-hero figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.article-hero figcaption a { color: inherit; }
.article-body { font-family: var(--f-serif); font-size: 17px; line-height: 1.7; display: grid; gap: 1.05em; max-width: 68ch; color: var(--ink); }
.article-body p:first-child::first-letter { float: left; font-family: var(--f-display); font-weight: 900; font-size: 3.6em; line-height: .82; padding: 6px 8px 0 0; color: var(--cat, var(--red)); }
.source-box { border: 1px solid var(--line); border-left: 5px solid var(--cat, var(--red)); background: var(--surface); padding: 14px 16px; border-radius: var(--radius); display: grid; gap: 4px; font-size: 14.5px; max-width: 68ch; }
.source-box a { color: var(--blue); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags a { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 5px 10px; border: 1.5px solid var(--cat, var(--red)); color: var(--cat, var(--red)); border-radius: 99px; }
.article-tags a:hover { background: var(--cat, var(--red)); color: #fff; }

/* Forms: spam trap stays off-screen for people, visible to bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }
.prose section { display: grid; gap: 1em; scroll-margin-top: 90px; }
[data-cat="tech"] { --cat: var(--c-tech); }
[data-cat="sports"] { --cat: var(--c-sports); }
/* ---------- Modal / overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(5, 8, 26, .7); display: grid; place-items: start center; overflow-y: auto; padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.dialog { width: min(760px, 100%); background: var(--surface); color: var(--ink); border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.45); position: relative; overflow: hidden; margin-block: auto; animation: rise .22s ease-out; }
.dialog.sm { width: min(460px, 100%); }
@keyframes rise { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(10, 15, 42, .75); color: #fff; border: 0; }
.dialog-close:hover { background: var(--red); }
.dialog-body { padding: clamp(20px, 4vw, 36px); display: grid; gap: 14px; }
.dialog h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); line-height: .98; text-transform: uppercase; }
.story-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-hero figcaption { font-size: 12px; color: var(--muted); padding: 6px clamp(20px, 4vw, 36px) 0; }
.story-dek { font-family: var(--f-serif); font-size: 20px; color: var(--ink-2); line-height: 1.4; }
.story-body { font-family: var(--f-serif); font-size: 18px; line-height: 1.65; display: grid; gap: 1em; }
.story-src { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { font-size: 13px; font-weight: 600; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.related { border-top: 1px solid var(--line); padding-top: 12px; }
.related h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.search-dialog .dialog-body { gap: 10px; }
.search-field { display: flex; gap: 8px; }
.search-field input { font-size: 20px; padding: 14px 16px; }
.search-results { display: grid; max-height: 60vh; overflow-y: auto; }
.search-results .empty { color: var(--muted); padding: 12px 0; font-family: var(--f-serif); }
.search-hints { display: flex; gap: 8px; flex-wrap: wrap; }
.search-hints button { border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 600; }
.search-hints button:hover { border-color: var(--red); color: var(--red); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* SPA mode (preview artifact): only the active page shows */
body.spa .page { display: none; }
body.spa .page.is-active { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .mainnav a { padding-inline: 7px; font-size: 14px; }
  .action-link .lbl-hide { display: none; }
  .masthead .wrap { gap: 14px; }
}
@media (max-width: 1300px) {
  .mainnav, .actions .watch-link, .actions .listen-link, .actions .signin { display: none; }
  .actions .menu-toggle { display: inline-grid; }
  .masthead .wrap { justify-content: space-between; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-sections { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .legacy-band .wrap, .cat-layout, .split, .cta-band .inner, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .grid-3, .hero-cards, .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .media-promo { grid-template-columns: minmax(0, 1fr); }
  .cta-band::after { width: 100%; height: 8px; top: auto; clip-path: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .topbar-links .hide-sm, .topbar-date .kreyol { display: none; }
  .brand-word .name { font-size: 22px; }
  .brand-word .tag { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .actions .subscribe-btn { padding: 8px 12px; font-size: 13px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-follow, .footer-topics { justify-content: flex-start; }
  .footer-follow .footer-sep { display: none; }
  .footer-search { width: 100%; }
  .footer-search input { width: 100%; max-width: none; }
  .byline .share { width: 100%; }
  .culture-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline::before { left: 62px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 26px; }
  .timeline li::before { left: 56px; }
  .timeline .yr { font-size: 22px; }
  .years b { font-size: 26px; }
  .ticker-label small { display: none; }
  .radio { grid-template-columns: minmax(0, 1fr); }
  .schedule li { grid-template-columns: 64px 1fr; }
  .schedule .lang { display: none; }
  .card--row .card-media { width: 88px; }
}
@media (max-width: 380px) {
  .actions .search-btn { display: none; }
}

/* ---------- Top story slider ---------- */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); color: #fff; }
.slider-track { position: relative; aspect-ratio: 16 / 9; max-width: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.slide-link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.slide-media { position: absolute; inset: 0; margin: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 7s ease-out; }
.slide.is-active .slide-media img { transform: scale(1.08); }
.slide-media.card-media--brand { padding: 0; aspect-ratio: auto; justify-content: flex-start; }
.slide-media.card-media--brand span { position: absolute; top: 22px; left: 26px; font-size: clamp(38px, 6vw, 84px); opacity: .95; }
.slide-media.card-media--brand small { display: none; }
.slide-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,26,0) 30%, rgba(5,8,26,.55) 58%, rgba(5,8,26,.93) 100%); }
.slide-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px) 62px; display: grid; gap: 8px; max-width: 760px; }
.slide-text .kicker { color: #dfe2f0; }
.slide-text .tag { color: #f5c23d; }
.slide-title { font-family: var(--f-ui); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.slide-dek { font-family: var(--f-serif); font-size: 15.5px; color: #dfe2f0; line-height: 1.45; max-width: 60ch; }
.slide-cta { font-weight: 700; font-size: 13px; color: #fff; }
.slide-link:hover .slide-title { text-decoration: underline; text-decoration-color: #f5c23d; text-underline-offset: 4px; }
.slider-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 0 clamp(12px, 3vw, 26px) 16px; }
.slider-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(5,8,26,.45); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.slider-btn:hover { background: #fff; color: #0a0f2a; }
.slider-btn svg { width: 16px; height: 16px; }
.slider-dots { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.slider-dot { width: 22px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.4); cursor: pointer; }
.slider-dot[aria-current="true"] { background: #f5c23d; width: 34px; }
.slider-progress { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.15); }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.slider.is-playing .slider-progress span { animation: slide-progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes slide-progress { from { width: 0; } to { width: 100%; } }
.slider-count { font-size: 12px; font-weight: 700; color: #dfe2f0; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .slider-track { aspect-ratio: 4 / 5; }
  .slide-dek { display: none; }
}
@media (max-width: 480px) {
  .slider-dots { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
  .slide-media img, .slide.is-active .slide-media img { transform: none; transition: none; }
}

/* ---------- Language & region ---------- */
.locale { display: flex; gap: 6px; align-items: center; }
.locale label { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 12px; color: var(--on-night-muted); }
.locale select { width: auto; padding: 2px 22px 2px 8px; font-size: 12px; background: #111735; color: #fff; border: 1px solid #2c335a; border-radius: 99px; cursor: pointer; }
.locale select:focus { border-color: #f5c23d; box-shadow: none; }
.translate-note { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; background: var(--gold-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; max-width: 68ch; }
.translate-note a { font-weight: 700; color: var(--blue); }
@media (max-width: 600px) {
  .locale .locale-region { display: none; }
}/* Longer French labels: tighten the header a little so everything fits */
@media (max-width: 1520px) {
  html[lang="fr"] .mainnav a { font-size: 14px; padding-inline: 6px; }
  html[lang="fr"] .masthead .wrap { gap: 10px; }
}
/* ---------- Shop (static storefront) ---------- */
.product-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-media { margin: 0; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-title { font-family: var(--f-ui); font-weight: 700; font-size: 16px; line-height: 1.25; }
.product-short { font-family: var(--f-serif); font-size: 15px; color: var(--ink-2); }
.product-price { font-weight: 800; font-size: 20px; margin-top: auto; font-variant-numeric: tabular-nums; }
.product-price small { font-weight: 600; font-size: 12px; color: var(--muted); }
.product-body .btn { justify-content: center; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.pay-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: var(--radius); padding: 22px; }
.pay-panel h2 { font-family: var(--f-display); font-weight: 900; font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.pay-panel p { font-family: var(--f-serif); color: var(--ink-2); }
.pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list li { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
@media (max-width: 700px) { .pay-panel { grid-template-columns: minmax(0, 1fr); } }

/* Cart link in the header (WordPress + WooCommerce) */
.cart-link { position: relative; }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }

/* ---------- WooCommerce ---------- */
.woo-wrap { padding-block: 28px 48px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.woocommerce .woocommerce-breadcrumb a { color: inherit; }
.woocommerce h1.page-title, .woocommerce div.product .product_title { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 1; text-transform: uppercase; margin-bottom: 12px; }
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 16px; display: flex; flex-direction: column; overflow: hidden; }
.woocommerce ul.products li.product a img { margin: 0 0 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-ui); font-weight: 700; font-size: 16px; padding: 0 16px; color: var(--ink); }
.woocommerce ul.products li.product .price { padding: 0 16px; color: var(--ink); font-weight: 800; font-size: 18px; }
.woocommerce ul.products li.product .button { margin: auto 16px 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
  background: var(--red) !important; color: #fff !important; border-radius: var(--radius) !important; font-family: var(--f-ui); font-weight: 700; padding: 11px 18px; border: 0; text-align: center;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .wc-block-components-button:not(.is-link):hover { background: #a80b24 !important; }
.woocommerce span.onsale { background: var(--gold); color: #1b1400; border-radius: 2px; min-height: 0; min-width: 0; line-height: 1; padding: 6px 8px; font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-weight: 800; font-size: 24px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-family: var(--f-serif); font-size: 17px; color: var(--ink-2); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--surface-2); border-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--surface); }
.woocommerce .quantity .qty { width: 72px; padding: 10px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--green) !important; background: var(--surface) !important; color: var(--ink) !important; border-radius: var(--radius); }
.woocommerce-error { border-top-color: var(--red) !important; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: var(--radius); background: var(--surface); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.woocommerce-checkout #payment, .woocommerce-cart .cart-collaterals .cart_totals { background: var(--surface) !important; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
/* ---------- Ad slots ---------- */
.ad-slot { margin-block: 24px; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-slot:not(:has(ins[data-ad-status="filled"])) .ad-label { display: none; }
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
/* ---------- Logo ---------- */
:root { --logo-plate: transparent; --logo-pad: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-plate: #ffffff; --logo-pad: 3px 8px; } }
:root[data-theme="dark"] { --logo-plate: #ffffff; --logo-pad: 3px 8px; }
.brand-logo { display: block; height: 52px; width: auto; max-width: none; background: var(--logo-plate); padding: var(--logo-pad); border-radius: 6px; }
.drawer .brand-logo { height: 44px; }
.site-footer .brand-logo { height: 64px; background: #ffffff; padding: 6px 12px; border-radius: 8px; }
.byline-icon { width: 58px; height: auto; flex-shrink: 0; }
@media (max-width: 600px) {
  .brand-logo { height: 42px; }
  .site-footer .brand-logo { height: 52px; }
}