/* ==========================================================
   Horizon — Design System v2.7
   Editorial river: one continuous canvas, chaptered flow.
   Native dark declaration stops browser force-darkening.
   ========================================================== */

:root {
  color-scheme: dark; /* tells Chrome/Android: natively dark — do not auto-darken */

  --ink: #0f1216;
  --ink-2: #171c22;
  --ink-3: #1e2330;
  --ink-4: #252b3a;
  --ink-60: rgba(245, 245, 240, 0.6);

  --paper: #f5f5f0;
  --paper-2: #ebe9e2;

  --red: #cc0000;
  --red-2: #e63940;
  --red-l: #ff5a61;
  --red-deep: #990000;

  --amber: #faad14;
  --amber-2: #fbbf24;
  --amber-l: #fcd34d;

  --line: rgba(245, 245, 240, 0.12);
  --line-2: rgba(245, 245, 240, 0.18);
  --line-dark: rgba(15, 18, 22, 0.16);

  --arch: 'Archivo', system-ui, sans-serif;
  --news: 'Newsreader', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }

body {
  font-family: var(--arch);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--red); color: #fff; padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { left: 8px; }

/* ========== Typography ========== */
.d1 { font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.015em; }
.kick { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.kick::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.serif { font-family: var(--news); }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ========== Buttons & Chips ========== */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 1.5rem; border: 2px solid var(--paper); background: transparent; color: var(--paper); border-radius: 3px; transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-2); border-color: var(--amber-2); }

.watch-live-cta { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.watch-live-cta .wl-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.watch-live-cta .wl-icon i { color: var(--red); font-size: .68rem; margin-left: 2px; }
.watch-live-cta .wl-label { font-family: var(--arch); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.watch-live-cta:hover .wl-icon { background: var(--amber-l); }

.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.28rem 0.6rem; border-radius: 2px; background: color-mix(in srgb, var(--c, #555) 14%, transparent); color: var(--c, var(--paper)); border: 1px solid color-mix(in srgb, var(--c, #555) 30%, transparent); }
.chip-red { --c: var(--red); }
.chip-amber { --c: var(--amber); }
.chip-horizon { --c: var(--red-l); background: rgba(255, 90, 97, 0.12); color: var(--red-l); border-color: rgba(255, 90, 97, 0.45); }

/* ========== Brand / Integrated Logotype ========== */
.brand { display: inline-flex; align-items: center; }
.brand-lock { display: inline-flex; flex-direction: column; gap: .35rem; }
.logotype {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: -0.015em; line-height: 1; color: var(--paper);
  font-size: var(--sz, 1.6rem); display: inline-block; white-space: nowrap;
}
.o-globe { display: inline-block; width: .72em; height: .72em; border-radius: 50%; background: var(--paper); position: relative; margin: 0 .05em; }
.o-globe i { position: absolute; top: -0.3em; right: -0.06em; width: .22em; height: .22em; border-radius: 50%; background: var(--red); }
.rise { display: inline-block; transform: translateY(-.3em); position: relative; margin-left: .04em; }
.rise::after { content: ""; position: absolute; left: .02em; right: 0; bottom: -.16em; height: .09em; background: var(--red); }
.brand-sub { display: block; font-size: .52rem; font-weight: 800; letter-spacing: .3em; color: var(--ink-60); text-transform: uppercase; }
.brand-sub b { color: var(--red); }

/* ========== Animations ========== */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); transition-delay: var(--d, 0s); }
html.js .rv.rv-card { transform: translateY(30px) scale(0.98); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
html.js .rv.in, .rv.in { opacity: 1; transform: none; }
.lm { display: block; overflow: hidden; }
.lm > span { display: block; transform: translateY(115%); transition: transform 0.85s cubic-bezier(0.2, 0.65, 0.2, 1); transition-delay: var(--d, 0s); }
.rv.in .lm > span { transform: none; }
.kb { overflow: hidden; }
.kb img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-track { animation: ticker 80s linear infinite; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7); } 50% { box-shadow: 0 0 0 6px rgba(204, 0, 0, 0); } }
.live-dot { animation: live-pulse 1.5s infinite; }
@keyframes flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.breaking-flash { animation: flash 1.2s ease-in-out infinite; }
.story-img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hl-link { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.35s ease; }
.hl-link:hover { background-size: 100% 1.5px; }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }

/* ========== Breaking News Ticker ========== */
.ticker-bar { position: sticky; top: 0; z-index: 50; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.ticker-bar-in { display: flex; align-items: stretch; max-width: 1440px; margin: 0 auto; }
.ticker-label { background: var(--red); display: flex; align-items: center; padding: 0 1.25rem; flex-shrink: 0; position: relative; }
.ticker-label-text { font-family: var(--arch); font-weight: 900; color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; }
.ticker-wrap { flex: 1; overflow: hidden; position: relative; }
.ticker-track { display: flex; align-items: center; white-space: nowrap; padding: 0.625rem 0; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1.5rem; }
.ticker-item .chip { font-size: 0.6rem; }
.ticker-item .title { color: var(--paper); font-size: 0.875rem; font-weight: 500; }
.ticker-item .sep { color: var(--amber); font-size: 0.6rem; }
.ticker-clock { display: none; align-items: center; padding: 0 1rem; border-left: 1px solid var(--line); background: var(--ink-3); gap: 0.5rem; }
@media (min-width: 1024px) { .ticker-clock { display: flex; } }
.ticker-clock .icon { color: var(--amber); font-size: 0.75rem; }
.ticker-clock .time { font-family: var(--mono); font-size: 0.75rem; color: var(--paper); }

/* ========== Header ========== */
header { position: sticky; top: 42px; z-index: 40; background: rgba(15, 18, 22, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.5); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem clamp(18px, 4vw, 48px); max-width: 1440px; margin: 0 auto; }
.mainnav { display: flex; gap: 1.6rem; }
.mainnav a { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0; position: relative; color: var(--paper); transition: color 0.2s; }
.mainnav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width 0.25s; }
.mainnav a:hover::after, .mainnav a.active::after { width: 100%; }
.mainnav a:hover { color: var(--amber); }
.hdr-cta { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; width: 40px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 3px; background: var(--paper); transition: 0.3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ========== Mobile Menu ========== */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink-2); color: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 6rem clamp(24px, 8vw, 60px); transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1); }
body.menu-open .mnav { transform: none; }
body.menu-open { overflow: hidden; }
.mnav a { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.25; padding: 0.35rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateX(30px); transition: opacity 0.4s, transform 0.4s; transition-delay: var(--d, 0s); }
body.menu-open .mnav a { opacity: 1; transform: none; }
.mnav a small { font-size: 0.8rem; color: var(--red-l); letter-spacing: 0.2em; }
.mnav-meta { margin-top: 2rem; font-size: 0.8rem; color: rgba(245, 245, 240, 0.7); letter-spacing: 0.08em; }

/* ========== Hero Carousel ========== */
.hero { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.hero-carousel { position: relative; aspect-ratio: 16/9; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; transition: opacity 0.7s ease-in-out; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3), transparent); }
.hero-slide .chip { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.hero-slide .content { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 2; }
.hero-slide h1 { font-family: var(--news); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 0.75rem; color: #fff; }
.hero-slide h1 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hero-slide p { font-size: 0.95rem; color: rgba(245, 245, 240, 0.85); max-width: 42ch; display: none; }
@media (min-width: 640px) { .hero-slide p { display: block; } }
.hero-dots { position: absolute; bottom: 1.5rem; right: 1.5rem; display: flex; gap: 0.5rem; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); border: 0; transition: all 0.3s; }
.hero-dot:hover { background: rgba(255, 255, 255, 0.8); }
.hero-dot.active { background: var(--amber); width: 24px; border-radius: 4px; }

/* ========== Top Stories Stack ========== */
.top-stories { border-top: 3px solid var(--red); }
.top-stories-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.top-stories-head h3 { font-family: var(--arch); font-weight: 900; font-stretch: 125%; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.top-stories-head .bar { width: 4px; height: 24px; background: var(--red); }
.top-story { display: grid; grid-template-columns: 112px 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.top-story:first-child { padding-top: 0; }
.top-story .img { aspect-ratio: 4/3; overflow: hidden; background: var(--ink-3); }
.top-story .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.top-story:hover .img img { transform: scale(1.06); }
.top-story h4 { font-family: var(--news); font-weight: 500; font-size: 1.06rem; line-height: 1.25; margin-bottom: 0.5rem; }
.top-story h4 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.top-story time { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); font-weight: 700; font-family: var(--mono); }

/* ========== CHAPTERS — the editorial river ========== */
.chap-head, .rail-head {
  border-top: 2px solid var(--paper);
  margin-top: clamp(2.2rem, 6vw, 3.4rem);
  padding: .85rem 0 0.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.chap-head > a, .rail-head > a {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: .03em; font-size: clamp(1.05rem, 3.6vw, 1.35rem); color: var(--paper);
}
.chap-head a:hover, .rail-head a:hover { color: var(--amber); }
.chev { width: .5em; height: .8em; transition: transform .2s; }
.chap-head a:hover .chev, .rail-head a:hover .chev { transform: translateX(4px); }
.chap { padding-bottom: .5rem; }

/* Full-bleed feature (World) */
.chap-feature, .cat-feature { padding: 1.3rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.chap-feature .img, .cat-feature .img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--ink-3); }
.chap-feature .img img, .cat-feature .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.chap-feature:hover .img img, .cat-feature:hover .img img { transform: scale(1.04); }
.chap-feature h3, .cat-feature h3 { font-family: var(--news); font-weight: 500; font-size: clamp(1.5rem, 5.6vw, 2.5rem); line-height: 1.12; margin: .95rem 0 .55rem; }
.chap-feature h3 a:hover, .cat-feature h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.chap-feature p, .cat-feature p { font-family: var(--news); color: var(--ink-60); font-size: clamp(.95rem, 3.4vw, 1.1rem); max-width: 60ch; }

/* Thumb row */
.story-row { display: grid; grid-template-columns: minmax(104px, 148px) 1fr; gap: 1.1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.story-row .img { aspect-ratio: 4/3; overflow: hidden; background: var(--ink-3); }
.story-row .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-row:hover .img img { transform: scale(1.06); }
.story-row h4, .story-plain h4 { font-family: var(--news); font-weight: 500; font-size: clamp(1.15rem, 4.4vw, 1.5rem); line-height: 1.22; }
.story-row h4 a:hover, .story-plain h4 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.story-row time { display: block; margin-top: .45rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }

/* Headline-only row */
.story-plain { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.story-plain h4 { font-size: clamp(1.2rem, 4.6vw, 1.6rem); }

/* ========== Live break (centered serif title card) ========== */
.live-break { border-top: 2px solid var(--paper); margin-top: clamp(2.2rem, 6vw, 3.4rem); padding: clamp(2.8rem, 7vw, 4.6rem) 0; text-align: center; background: radial-gradient(60% 100% at 50% 0%, rgba(204, 0, 0, 0.12), transparent 70%); }
.live-break .serif-title { font-family: var(--news); font-weight: 500; font-size: clamp(1.9rem, 6.5vw, 3rem); margin: .9rem 0 .6rem; }
.live-break p { color: var(--ink-60); max-width: 46ch; margin: 0 auto 1.5rem; font-size: 1.02rem; }

/* ========== Rail band (Must Watch style) ========== */
.rail-band { background: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.rail-band .rail-head { margin-top: 0; border-top: 0; padding-top: 1.2rem; }
.rail-arrows { display: flex; gap: .5rem; }
.rail-arrows button { width: 38px; height: 38px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--paper); transition: background .2s; }
.rail-arrows button:hover { background: var(--ink-4); }
.rail-arrows svg { width: .55em; height: .9em; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 300px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: .8rem; padding-bottom: .4rem; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--ink-4); }
.rail-card { background: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; transition: border-color .3s; }
.rail-card:hover { border-color: rgba(250, 173, 20, 0.4); }
.rail-card .img { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--ink-3); }
.rail-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rail-card:hover .img img { transform: scale(1.05); }
.rail-card .chip { position: absolute; top: .5rem; left: .5rem; }
.rail-card h4 { font-family: var(--news); font-weight: 500; font-size: 1rem; line-height: 1.3; padding: 0 .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rail-card time { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); padding: 0 .9rem .9rem; margin-top: auto; }

/* ========== Sections (category pages & legacy) ========== */
.sec { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; border-bottom: 3px solid var(--ink-3); padding-bottom: 0.9rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.sec-head h2 { font-size: clamp(1.7rem, 4vw, 3rem); color: var(--paper); }
.sec-head .idx { font-family: var(--mono); font-style: normal; font-weight: 500; color: var(--amber); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 0.35rem; }
.sec-more { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; display: inline-flex; gap: 0.5rem; align-items: center; padding-bottom: 0.3rem; color: var(--paper); }
.sec-more:hover { color: var(--amber); }

/* ========== Category pages: dynamic layout ========== */
.page-category .article-grid { display: block; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-rows { margin-top: .5rem; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: 2rem; }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: flex; flex-direction: column; gap: 0.7rem; background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s; }
.article-card:hover { border-color: rgba(250, 173, 20, 0.4); transform: translateY(-4px); box-shadow: 0 10px 25px -10px rgba(0,0,0,0.5); }
.article-card .img { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--ink-3); }
.article-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.article-card:hover .img img { transform: scale(1.05); }
.article-card .chip { position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2; }
.article-card .body { padding: 0 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.article-card time { font-size: 0.625rem; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.25rem; }
.article-card h4 { font-family: var(--news); font-weight: 500; font-size: 1.15rem; line-height: 1.25; margin-bottom: 0.5rem; color: var(--paper); }
.article-card h4 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.article-card p { font-size: 0.88rem; color: rgba(245, 245, 240, 0.65); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-top: auto; }

/* ========== Page Hero ========== */
.phero { background: var(--ink-2); color: var(--paper); padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 100% at 100% 0%, rgba(204, 0, 0, 0.15), transparent 55%); }
.phero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); margin-top: 0.9rem; position: relative; }
.phero .lede { color: rgba(245, 245, 240, 0.72); max-width: 60ch; margin-top: 1rem; position: relative; font-size: 1.02rem; }
.crumb { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245, 245, 240, 0.6); position: relative; }
.crumb a:hover { color: var(--amber); }

/* ========== Footer (logo leads, plain links) ========== */
footer { background: var(--ink-2); color: var(--paper); position: relative; overflow: hidden; border-top: 3px solid var(--red); margin-top: 3rem; }
.foot-mark { position: absolute; left: -2rem; bottom: -4rem; font-weight: 900; font-stretch: 125%; font-size: clamp(9rem, 22vw, 19rem); line-height: 1; color: rgba(245, 245, 240, 0.045); text-transform: uppercase; pointer-events: none; user-select: none; }
.foot-new { padding: clamp(2.6rem, 6vw, 4rem) 0 2rem; position: relative; display: flex; flex-direction: column; gap: 2rem; }
.foot-links { display: grid; grid-template-columns: 1fr; gap: 0 2.5rem; }
.foot-links a { display: block; font-size: 0.95rem; color: rgba(245, 245, 240, 0.85); padding: 0.5rem 0; }
.foot-links a:hover { color: var(--amber); }
@media (min-width: 640px) { .foot-links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot-links { grid-template-columns: repeat(3, 1fr); } }
.socials { display: flex; gap: 0.7rem; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; padding: 0; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials a:hover svg { fill: #fff; }
.socials svg { width: 16px; height: 16px; fill: var(--paper); }
.foot-bottom { border-top: 1px solid var(--line); padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.72rem; color: rgba(245, 245, 240, 0.55); letter-spacing: 0.05em; position: relative; }
.foot-bottom .status { display: flex; align-items: center; gap: 0.5rem; }
.foot-bottom .status .dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }

/* ========== Markets Strip ========== */
.markets-strip { margin: 2rem 0 3rem; }
.markets-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--line); }
.markets-title { font-family: var(--arch); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; color: var(--paper); margin: 0; display: flex; align-items: center; gap: .75rem; }
.markets-title .bar { width: 4px; height: 24px; background: var(--red); }
.markets-meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: rgba(245,245,240,.5); display: flex; gap: 1rem; align-items: center; }
.markets-meta .stale { color: var(--amber); }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.market-chip { background: var(--ink-2); border: 1px solid var(--line); padding: 1rem; border-radius: 4px; display: flex; flex-direction: column; gap: .5rem; }
.market-chip.stale { border-color: var(--amber); }
.market-name { font-family: var(--arch); font-weight: 700; font-size: .9rem; color: var(--paper); }
.market-value { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; color: var(--paper); }
.market-meta { display: flex; gap: .75rem; font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; color: rgba(245,245,240,.5); }
.market-source { color: rgba(245,245,240,.7); }
.market-delay { color: var(--amber); }
@media (max-width: 640px) {
  .markets-grid { grid-template-columns: 1fr; }
  .markets-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .top-story { grid-template-columns: 88px 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .ticker-track { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ========== Markets strip (business page) ========== */
.markets-strip { padding: clamp(1.5rem, 4vw, 2.5rem) 0 0; }
.markets-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--line); }
.markets-title { font-family: var(--arch); font-weight: 900; font-stretch: 125%; font-size: 1.5rem; text-transform: uppercase; color: var(--paper); display: flex; align-items: center; gap: .75rem; }
.markets-title .bar { width: 4px; height: 24px; background: var(--red); }
.markets-meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: rgba(245,245,240,.5); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.markets-meta .stale { color: var(--amber); }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.market-chip { background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--amber); padding: 1rem 1.1rem; border-radius: 3px; display: flex; flex-direction: column; gap: .45rem; }
.market-chip.stale { border-left-color: var(--red); }
.market-name { font-family: var(--arch); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(245,245,240,.75); }
.market-value { font-family: var(--mono); font-weight: 700; font-size: 1.45rem; color: var(--paper); font-variant-numeric: tabular-nums; }
.market-meta { display: flex; gap: .75rem; flex-wrap: wrap; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; color: rgba(245,245,240,.5); }
.market-source { color: rgba(245,245,240,.7); }
.market-delay { color: var(--amber); }
@media (max-width: 640px) { .markets-grid { grid-template-columns: 1fr; } }

/* ========== FT-style market sections ========== */
.market-section { padding: 2rem 0 0; }
.market-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--red); }
.market-section-title { font-family: var(--arch); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; color: var(--paper); }
.market-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .78rem; }
.market-table th { text-align: left; font-weight: 700; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,245,240,.5); padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.market-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.market-table tr:last-child td { border-bottom: 0; }
.market-name { font-family: var(--arch); font-weight: 600; color: var(--paper); }
.market-price { font-variant-numeric: tabular-nums; color: var(--paper); }
.market-change { font-variant-numeric: tabular-nums; font-weight: 700; }
.market-change.positive { color: #22c55e; }
.market-change.negative { color: var(--red); }
.market-change.neutral { color: rgba(245,245,240,.5); }
.market-time { font-size: .62rem; color: rgba(245,245,240,.4); letter-spacing: .08em; }
.market-delay-note { font-size: .62rem; color: var(--amber); letter-spacing: .08em; }
.currency-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.currency-cell { background: var(--ink-2); border: 1px solid var(--line); padding: .75rem; text-align: center; }
.currency-cell-label { font-family: var(--arch); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,240,.6); margin-bottom: .25rem; }
.currency-cell-value { font-family: var(--mono); font-size: 1rem; font-weight: 700; color: var(--paper); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .market-table { font-size: .7rem; }
  .market-table th, .market-table td { padding: .5rem; }
}

/* ========== FT-style market sections ========== */
.market-section { padding: 2rem 0 0; }
.market-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--red); }
.market-section-title { font-family: var(--arch); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; color: var(--paper); }
.market-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .78rem; }
.market-table th { text-align: left; font-weight: 700; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,245,240,.5); padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.market-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.market-table tr:last-child td { border-bottom: 0; }
.market-name { font-family: var(--arch); font-weight: 600; color: var(--paper); }
.market-price { font-variant-numeric: tabular-nums; color: var(--paper); }
.market-change { font-variant-numeric: tabular-nums; font-weight: 700; }
.market-change.positive { color: #22c55e; }
.market-change.negative { color: var(--red); }
.market-change.neutral { color: rgba(245,245,240,.5); }
.market-time { font-size: .62rem; color: rgba(245,245,240,.4); letter-spacing: .08em; }
.market-delay-note { font-size: .62rem; color: var(--amber); letter-spacing: .08em; }
.currency-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.currency-cell { background: var(--ink-2); border: 1px solid var(--line); padding: .75rem; text-align: center; }
.currency-cell-label { font-family: var(--arch); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,240,.6); margin-bottom: .25rem; }
.currency-cell-value { font-family: var(--mono); font-size: 1rem; font-weight: 700; color: var(--paper); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .market-table { font-size: .7rem; }
  .market-table th, .market-table td { padding: .5rem; }
}

/* Health category */
.cat-head--health { background: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 100%); }
