/* =====================================================================
   SAIGON POST — DESIGN SYSTEM "INK & VERMILLION"
   ---------------------------------------------------------------------
   Ngôn ngữ thị giác: tờ báo broadsheet chuyển lên nền số.
   - Nền giấy ấm, mực đen sâu, kẻ mảnh kiểu báo in, điểm nhấn đỏ son.
   - Playfair Display (display / masthead) + Lora (headline & thân bài)
     + Be Vietnam Pro (UI, nhãn, meta). Đủ dấu tiếng Việt.
   - Góc vuông, hairline 1px, không bóng đổ lộp. Sang bằng cấu trúc.
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --paper:      #FAF6EF;
  --card:       #FFFDF8;
  --paper-deep: #F1EADD;

  --ink:        #1A150E;
  --ink-2:      #57503F;
  --ink-3:      #948A72;

  --line:       #E4DBCA;
  --line-2:     #CFC3A9;

  --red:        #B01E28;
  --red-deep:   #8C141C;
  --gold:       #A97E2F;

  --band-bg:    #14110B;   /* dải tối: video, newsletter, footer */
  --band-card:  #1F1A11;
  --band-ink:   #F2ECDD;
  --band-muted: #A29680;
  --band-line:  #332C1E;

  --f-display:  "Playfair Display", Georgia, "Times New Roman", serif;
  --f-serif:    "Lora", Georgia, "Times New Roman", serif;
  --f-sans:     "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;

  --container:  1280px;
  --pad-x:      clamp(20px, 4vw, 48px);
  --nav-h:      56px;
  --ease:       cubic-bezier(.22, .61, .25, 1);
}

html[data-theme="dark"] {
  --paper:      #13100A;
  --card:       #1C170E;
  --paper-deep: #0E0B07;

  --ink:        #EFE7D6;
  --ink-2:      #B4A98F;
  --ink-3:      #847A63;

  --line:       #2C2517;
  --line-2:     #3D3421;

  --red:        #E03540;
  --red-deep:   #B01E28;
  --gold:       #C89B4B;

  --band-bg:    #0E0B07;
  --band-card:  #1C170E;
  --band-ink:   #EFE7D6;
  --band-muted: #9C917B;
  --band-line:  #2C2517;

  color-scheme: dark;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #FAF6EF; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #FAF6EF;
  padding: 10px 18px; font-family: var(--f-sans); font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. UTILITIES ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.kicker::before {
  content: ""; width: 7px; height: 7px; background: var(--red);
  flex: none;
}

.meta {
  font-family: var(--f-sans);
  font-size: 12.5px; color: var(--ink-3);
  letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.meta .src { color: var(--ink-2); font-weight: 600; }
.meta .dot { width: 3px; height: 3px; background: var(--ink-3); border-radius: 50%; flex: none; }
.meta .rel  { color: var(--red); font-weight: 600; }

.rule-double { border-top: 2px solid var(--ink); position: relative; }
.rule-double::after {
  content: ""; position: absolute; top: 3px; left: 0; right: 0;
  border-top: 1px solid var(--ink);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 26px;
  transition: all .25s var(--ease);
}
.btn--red { background: var(--red); color: #FAF6EF; }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghostb { border: 1px solid var(--band-muted); color: var(--band-ink); background: transparent; }
.btn--ghostb:hover { border-color: var(--band-ink); }

/* Placeholder ảnh: giữ tỷ lệ + xử lý ảnh lỗi mạng */
.ph { position: relative; overflow: hidden; background: var(--paper-deep); }
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.ph--16x10 { aspect-ratio: 16 / 10; }
.ph--16x9  { aspect-ratio: 16 / 9; }
.ph--4x3   { aspect-ratio: 4 / 3; }
.ph--3x2   { aspect-ratio: 3 / 2; }
.ph--1x1   { aspect-ratio: 1 / 1; }
.ph--err::after {
  content: "SAIGON POST"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; letter-spacing: .3em;
  color: var(--line-2); font-size: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(135deg, var(--paper-deep) 25%, transparent 25%) -12px 0/24px 24px,
    linear-gradient(225deg, var(--paper-deep) 25%, transparent 25%) -12px 0/24px 24px;
}
a:hover .ph img, .card:hover .ph img { transform: scale(1.04); }

/* ---------- 4. HEADER ---------- */
.util-bar { background: var(--band-bg); color: var(--band-muted); font-family: var(--f-sans); font-size: 12px; }
.util-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x);
}
.util-left { display: flex; align-items: center; gap: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.util-left .brand-mini { color: var(--band-ink); }
.util-left .brand-mini b { color: var(--red); }
.util-right { display: flex; align-items: center; gap: 4px; }
.util-link {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--band-muted); padding: 6px 10px; transition: color .2s;
}
.util-link:hover { color: var(--band-ink); }
.util-sep { width: 1px; height: 16px; background: var(--band-line); margin-inline: 6px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  color: inherit; transition: color .2s, transform .2s;
}
.icon-btn:hover { color: var(--band-ink); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }

/* Masthead */
.masthead { padding: clamp(26px, 4vw, 44px) 0 clamp(20px, 3vw, 30px); text-align: center; border-bottom: 2px solid var(--ink); position: relative; }
.masthead::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; border-bottom: 1px solid var(--ink); }
.m-logo {
  display: inline-flex; align-items: baseline; gap: .22em;
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1; letter-spacing: -.015em;
}
.m-logo .accent { color: var(--red); }
.m-logo .m-dot { width: .14em; height: .14em; background: var(--red); align-self: center; }
.m-tag {
  margin-top: 10px;
  font-family: var(--f-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--ink-3);
}
.m-tag b { color: var(--red); font-weight: 700; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--nav-h);
}
.nav-brand {
  display: none; font-family: var(--f-display); font-weight: 900; font-size: 20px; letter-spacing: -.01em;
}
.nav-brand .accent { color: var(--red); }
.nav-links { display: flex; align-items: stretch; height: 100%; }
.nav-link {
  display: inline-flex; align-items: center; padding: 0 clamp(10px, 1.6vw, 20px);
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  position: relative; transition: color .2s;
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: clamp(10px, 1.6vw, 20px); right: clamp(10px, 1.6vw, 20px);
  bottom: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: 2px; color: var(--ink-2); }
.nav-actions .icon-btn:hover { color: var(--red); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none; border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-panel a {
  display: block; padding: 14px var(--pad-x);
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a:hover { color: var(--red); }
.nav-open .mobile-panel { display: block; }

/* ---------- 5. TICKER ---------- */
.ticker { background: var(--band-bg); color: var(--band-ink); overflow: hidden; border-bottom: 1px solid var(--band-line); }
.ticker-inner { display: flex; align-items: center; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); height: 42px; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--f-sans); font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: #FAF6EF;
  padding-right: 18px; margin-right: 4px;
}
.ticker-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(176,30,40,.6); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,53,64,.55); }
  70% { box-shadow: 0 0 0 9px rgba(224,53,64,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,53,64,0); }
}
.ticker-viewport { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-group { display: flex; }
.ticker-item {
  display: inline-flex; align-items: baseline; gap: 10px; padding-right: 46px;
  font-family: var(--f-sans); font-size: 13px; color: var(--band-muted); white-space: nowrap;
}
.ticker-item b { color: var(--band-ink); font-weight: 600; }
.ticker-item a:hover b { color: #E03540; }

/* ---------- 6. HERO ---------- */
.hero {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 3.5vw, 48px);
  padding-top: clamp(24px, 3.5vw, 44px);
}

.card-lead { display: flex; flex-direction: column; gap: 16px; }
.card-lead .ph { border-bottom: 3px solid var(--ink); }
.cl-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  line-height: 1.12; letter-spacing: -.01em;
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat; background-size: 0% 3px; background-position: 0 96%;
  transition: background-size .45s var(--ease);
}
.card-lead:hover .cl-title { background-size: 100% 3px; }
.cl-dek { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.cl-dek .more { color: var(--red); font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }

.hero-side { display: flex; flex-direction: column; gap: 22px; }
.card-sec { display: grid; grid-template-columns: 1fr 150px; gap: 16px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cs-title {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.32; letter-spacing: -.005em;
  transition: color .2s;
}
.card-sec:hover .cs-title { color: var(--red); }
.cs-body { display: flex; flex-direction: column; gap: 10px; }
.card-sec .ph { border-bottom: 2px solid var(--line-2); }

/* Đọc nhiều */
.top-read { border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 2px; }
.tr-head {
  font-family: var(--f-sans); font-size: 12px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.tr-head::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.tr-item { display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tr-item:last-child { border-bottom: 0; }
.tr-num {
  grid-row: span 2;
  font-family: var(--f-display); font-weight: 900; font-size: 40px; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
@supports not (-webkit-text-stroke: 1px black) { .tr-num { color: var(--gold); opacity: .55; } }
.tr-title { font-family: var(--f-serif); font-weight: 700; font-size: 15.5px; line-height: 1.4; transition: color .2s; }
.tr-item:hover .tr-title { color: var(--red); }
.tr-meta { font-family: var(--f-sans); font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- 7. SECTION / FEED ---------- */
.sec { padding-top: clamp(40px, 5vw, 64px); }

.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: clamp(20px, 3vw, 32px);
}
.sec-head h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.01em; line-height: 1;
}
.sec-head .sec-kicker { font-family: var(--f-sans); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.sec-more {
  margin-left: auto;
  font-family: var(--f-sans); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px; transition: color .2s, gap .25s;
  white-space: nowrap;
}
.sec-more:hover { color: var(--red); gap: 12px; }

.feed-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(28px, 3.5vw, 48px); align-items: start; }

.feed { display: flex; flex-direction: column; }
.feed-row {
  display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.feed-row:first-child { padding-top: 0; }
.fr-body { display: flex; flex-direction: column; gap: 9px; }
.fr-title {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3; letter-spacing: -.005em;
  transition: color .2s;
}
.feed-row:hover .fr-title { color: var(--red); }
.fr-dek {
  font-size: 14.5px; line-height: 1.65; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fr-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-sans); font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
  color: var(--red); text-transform: uppercase;
}
.live-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }

/* Sidebar */
.side { display: flex; flex-direction: column; gap: 30px; position: sticky; top: calc(var(--nav-h) + 20px); }
.side-block { border-top: 2px solid var(--ink); padding-top: 14px; }
.side-title {
  font-family: var(--f-sans); font-size: 12px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.side-title::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.side-title b { color: var(--red); }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 8px 14px; border: 1px solid var(--line-2); color: var(--ink-2);
  transition: all .2s;
}
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--count::after { content: attr(data-n); margin-left: 7px; color: var(--red); font-weight: 800; }

.side-quote {
  background: var(--paper-deep); padding: 22px 24px; position: relative;
}
.side-quote::before {
  content: "“"; position: absolute; top: 2px; left: 14px;
  font-family: var(--f-display); font-size: 84px; line-height: 1; color: var(--red); opacity: .28;
}
.side-quote p { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 18px; line-height: 1.45; padding-top: 20px; }
.side-quote cite { display: block; margin-top: 12px; font-family: var(--f-sans); font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.side-quote cite b { color: var(--red); }

.side-cta {
  background: var(--band-bg); color: var(--band-ink); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.side-cta .side-title { color: var(--band-ink); margin-bottom: 0; }
.side-cta .side-title::after { border-color: var(--band-line); }
.side-cta p { font-size: 14.5px; color: var(--band-muted); line-height: 1.6; }
.side-cta a { color: var(--band-ink); font-family: var(--f-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 3px; width: max-content; transition: color .2s; }
.side-cta a:hover { color: #E03540; }

/* ---------- 8. BANDS (chuyên mục) ---------- */
.band-grid { display: grid; gap: clamp(20px, 2.5vw, 30px); }
.band-grid--4 { grid-template-columns: repeat(4, 1fr); }
.band-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card-band { display: flex; flex-direction: column; gap: 12px; }
.card-band .ph { border-bottom: 2px solid var(--line-2); }
.cb-title {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.35;
  transition: color .2s;
}
.card-band:hover .cb-title { color: var(--red); }
.card-band--dark .ph { border-bottom-color: var(--band-line); }
.card-band--dark .cb-title { color: var(--band-ink); }
.card-band--dark:hover .cb-title { color: #E03540; }
.card-band--dark .meta { color: var(--band-muted); }
.card-band--dark .meta .src { color: var(--band-muted); }

/* Việt Nam: split */
.vn-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.vn-lead { display: flex; flex-direction: column; gap: 14px; }
.vn-lead .ph { border-bottom: 3px solid var(--ink); }
.vn-lead h3 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.18;
  transition: color .2s;
}
.vn-lead:hover h3 { color: var(--red); }
.vn-lead p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; max-width: 60ch; }
.vn-rows { display: flex; flex-direction: column; }
.vn-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.vn-row:first-child { padding-top: 0; }
.vn-row h4 { font-family: var(--f-serif); font-weight: 700; font-size: 16px; line-height: 1.4; transition: color .2s; }
.vn-row:hover h4 { color: var(--red); }

/* ---------- 9. VIDEO BAND ---------- */
.video-band { background: var(--band-bg); color: var(--band-ink); margin-top: clamp(48px, 6vw, 80px); }
.video-band .sec-head { border-top-color: var(--band-ink); }
.video-band .sec-head h2 { color: var(--band-ink); }
.video-band .sec-more { color: var(--band-muted); }
.video-band .sec-more:hover { color: #E03540; }
.video-band .sec-kicker { color: #E03540; }

.vb-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 3vw, 44px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.vb-main { display: flex; flex-direction: column; gap: 16px; }
.vb-main > a:first-child { display: block; position: relative; }
.vb-main .ph { border-bottom: 3px solid var(--red); }
.vb-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none;
}
.vb-play span {
  width: clamp(64px, 6vw, 84px); height: clamp(64px, 6vw, 84px); border-radius: 50%;
  background: var(--red); color: #FAF6EF;
  display: grid; place-items: center;
  box-shadow: 0 14px 44px rgba(0,0,0,.45);
  transition: transform .3s var(--ease), background .2s;
}
.vb-play svg { width: 34%; height: 34%; margin-left: 8%; }
.vb-main a:hover .vb-play span { transform: scale(1.08); background: var(--red-deep); }
.vb-duration {
  position: absolute; right: 12px; bottom: 12px;
  font-family: var(--f-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  background: rgba(10,8,5,.82); color: #FAF6EF; padding: 5px 10px;
}
.vb-main h3 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2;
  transition: color .2s;
}
.vb-main a:hover h3 { color: #E03540; }
.vb-side { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--band-line); }
.vb-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--band-line); align-items: center; }
.vb-row h4 { font-family: var(--f-serif); font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--band-ink); transition: color .2s; }
.vb-row:hover h4 { color: #E03540; }
.vb-cta { margin-top: 22px; }

/* ---------- 10. NEWSLETTER ---------- */
.news { padding-block: clamp(48px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.news-card {
  background: var(--band-bg); color: var(--band-ink);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 64px); align-items: center;
  position: relative; overflow: hidden;
}
.news-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 4px; background: var(--red);
}
.news-kicker { font-family: var(--f-sans); font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #E03540; margin-bottom: 14px; }
.news-card h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; }
.news-card .news-dek { margin-top: 12px; color: var(--band-muted); font-size: 15.5px; max-width: 52ch; }
.news-form { display: flex; flex-direction: column; gap: 12px; }
.news-form .row { display: flex; border: 1px solid var(--band-line); background: var(--band-card); }
.news-form input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--band-ink); padding: 16px 18px; font-size: 15px; min-width: 0;
}
.news-form input::placeholder { color: var(--band-muted); }
.news-form button { flex: none; }
.news-note { font-family: var(--f-sans); font-size: 12px; color: var(--band-muted); }
.news-done { font-family: var(--f-display); font-size: 20px; font-style: italic; color: var(--band-ink); }

/* ---------- 11. FOOTER ---------- */
.footer { background: var(--band-bg); color: var(--band-muted); border-top: 1px solid var(--band-line); }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(44px, 5vw, 72px); }
.f-brand .f-logo {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--band-ink); letter-spacing: -.01em; line-height: 1;
}
.f-brand .f-logo .accent { color: #E03540; }
.f-brand p { margin-top: 14px; font-size: 14.5px; line-height: 1.7; max-width: 40ch; }
.f-social { display: flex; gap: 6px; margin-top: 20px; }
.f-social .icon-btn { border: 1px solid var(--band-line); width: 38px; height: 38px; }
.f-social .icon-btn:hover { border-color: #E03540; color: #E03540; transform: none; }
.f-social .icon-btn svg { width: 16px; height: 16px; }

.f-col h4 {
  font-family: var(--f-sans); font-size: 11.5px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--band-ink);
  margin-bottom: 18px;
}
.f-col li { margin-bottom: 10px; }
.f-col a { font-size: 14px; transition: color .2s; }
.f-col a:hover { color: #E03540; }
.f-bottom { border-top: 1px solid var(--band-line); }
.f-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-block: 20px; font-family: var(--f-sans); font-size: 12.5px;
}
.f-bottom-inner .heart { color: #E03540; }

/* ---------- 12. ARTICLE ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--red); transition: width .12s linear; }

.breadcrumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 26px;
  font-family: var(--f-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--line-2); }

.art-layout { display: grid; grid-template-columns: 64px minmax(0, 760px); justify-content: center; gap: clamp(24px, 3vw, 48px); padding-top: 30px; }

.share-rail { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 8px; }
.share-rail .icon-btn {
  width: 46px; height: 46px; border: 1px solid var(--line-2); color: var(--ink-2);
  background: var(--card);
}
.share-rail .icon-btn:hover { color: var(--red); border-color: var(--red); transform: none; }
.share-rail .icon-btn svg { width: 18px; height: 18px; }
.share-rail .rail-label { font-family: var(--f-sans); font-size: 10px; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; text-align: center; margin-bottom: 4px; }

.art-head { display: flex; flex-direction: column; gap: 18px; border-bottom: 2px solid var(--ink); padding-bottom: 26px; }
.art-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; letter-spacing: -.015em;
}
.art-dek { font-family: var(--f-serif); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }
.art-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.art-byline { display: flex; align-items: center; gap: 14px; }
.src-badge {
  width: 52px; height: 52px; flex: none;
  background: var(--band-bg); color: var(--band-ink);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .04em;
  padding: 4px; line-height: 1.15;
}
.art-byline .who { display: flex; flex-direction: column; gap: 3px; }
.art-byline .who b { font-family: var(--f-sans); font-size: 14px; letter-spacing: .02em; }
.art-byline .who span { font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-3); }
.art-stats { display: flex; gap: 18px; font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }
.art-stats b { color: var(--ink-2); font-weight: 700; }

.art-figure { margin: 30px 0 8px; }
.art-figure .ph { border-bottom: 3px solid var(--ink); }
.fig-cap {
  margin-top: 10px;
  font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-3); line-height: 1.6;
  display: flex; gap: 8px;
}
.fig-cap::before { content: "▪"; color: var(--red); flex: none; }

.prose { padding-top: 34px; font-size: 18.5px; line-height: 1.85; }
.prose p { margin-bottom: 1.5em; }
.prose p:first-child::first-letter {
  font-family: var(--f-display); font-weight: 800;
  font-size: 4.1em; line-height: .82; float: left;
  padding: 6px 12px 0 0; color: var(--red);
}
.prose .src-mention { font-weight: 700; color: var(--ink); }

.pull {
  margin: 2em 0; padding: 26px 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.pull p { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; margin: 0; }
.pull cite { display: block; margin-top: 14px; font-family: var(--f-sans); font-style: normal; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pull cite::before { content: "— "; color: var(--red); }

.src-note {
  margin-top: 34px; background: var(--paper-deep);
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  font-family: var(--f-sans); font-size: 14px; line-height: 1.7; color: var(--ink-2);
}
.src-note b { color: var(--ink); }

.art-foot { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.art-foot .tags { display: flex; gap: 8px; flex-wrap: wrap; }

.related { padding-block: clamp(44px, 5vw, 64px); }

/* ---------- 13. CATEGORY ---------- */
.cat-hero { padding-block: clamp(36px, 5vw, 60px) clamp(24px, 3vw, 36px); border-bottom: 2px solid var(--ink); position: relative; }
.cat-hero::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; border-bottom: 1px solid var(--ink); }
.cat-hero .kicker { margin-bottom: 14px; }
.cat-hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.015em;
}
.cat-hero .cat-sub { margin-top: 16px; display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.cat-hero .cat-desc { color: var(--ink-2); font-size: 16.5px; max-width: 56ch; }
.cat-hero .cat-count { font-family: var(--f-sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

.cat-featured { padding-top: clamp(28px, 4vw, 44px); }
.cf-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.cf-body { display: flex; flex-direction: column; gap: 14px; }
.cf-card h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -.01em;
  transition: color .2s;
}
.cf-card:hover h2 { color: var(--red); }
.cf-card p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.cat-grid { padding-top: clamp(28px, 4vw, 44px); }
.loadmore { display: grid; place-items: center; padding: clamp(28px, 4vw, 44px) 0 64px; }

/* ---------- 14. ABOUT ---------- */
.about-hero { padding-block: clamp(44px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 2px solid var(--ink); position: relative; }
.about-hero::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; border-bottom: 1px solid var(--ink); }
.about-hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.1; letter-spacing: -.015em; max-width: 22ch;
}
.about-hero .lead { margin-top: 20px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.65; color: var(--ink-2); max-width: 62ch; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.value-card { border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.value-card .v-num { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
@supports not (-webkit-text-stroke: 1px black) { .value-card .v-num { color: var(--red); opacity: .5; } }
.value-card h3 { font-family: var(--f-serif); font-weight: 700; font-size: 20px; }
.value-card p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }

.about-prose { max-width: 760px; font-size: 17.5px; line-height: 1.85; }
.about-prose h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 1.8em 0 .6em; }
.about-prose p { margin-bottom: 1.3em; color: var(--ink-2); }
.about-prose b, .about-prose strong { color: var(--ink); }
.contact-card { margin-top: 40px; background: var(--band-bg); color: var(--band-ink); padding: clamp(28px, 4vw, 44px); }
.contact-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.contact-card p { color: var(--band-muted); margin-top: 10px; font-size: 15px; }
.contact-card a { color: var(--band-ink); border-bottom: 1px solid #E03540; padding-bottom: 2px; }
.contact-card a:hover { color: #E03540; }

/* ---------- 15. SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
  display: none;
}
.search-overlay.open { display: block; }
.search-box { max-width: 860px; margin: clamp(60px, 14vh, 140px) auto 0; padding-inline: var(--pad-x); }
.search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.search-head .label { font-family: var(--f-sans); font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.search-close { font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 8px 4px; }
.search-close:hover { color: var(--red); }
.search-input {
  width: 100%; border: 0; outline: 0; background: transparent;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 3rem); color: var(--ink);
  border-bottom: 2px solid var(--ink); padding: 6px 2px 18px;
}
.search-input::placeholder { color: var(--line-2); }
.search-results { max-width: 860px; margin: 26px auto 0; padding-inline: var(--pad-x); max-height: 52vh; overflow: auto; }
.search-row {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.search-row h4 { font-family: var(--f-serif); font-weight: 700; font-size: 16.5px; line-height: 1.4; transition: color .2s; }
.search-row:hover h4 { color: var(--red); }
.search-hint { font-family: var(--f-sans); font-size: 13px; color: var(--ink-3); padding-top: 12px; }

/* ---------- 16. TO TOP ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px;
  background: var(--band-bg); color: var(--band-ink);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 17. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
html.no-io .reveal { opacity: 1; transform: none; }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .hero-side .top-read { grid-column: 1 / -1; }
  .feed-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .band-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .band-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .vb-grid { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .vn-layout { grid-template-columns: 1fr; }
  .cf-card { grid-template-columns: 1fr; }
  .art-layout { grid-template-columns: 1fr; }
  .share-rail { position: static; flex-direction: row; order: -1; margin-bottom: 8px; }
  .share-rail .rail-label { display: none; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav-brand { display: inline-block; }
  .hero-side { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .util-left .date-full { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .band-grid--4, .band-grid--3 { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: 132px 1fr; gap: 14px; }
  .card-sec { grid-template-columns: 1fr; }
  .card-sec .ph { order: -1; }
  .value-grid { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; gap: 32px; }
  .art-stats { flex-wrap: wrap; }
  .ticker-label .txt { display: none; }
}

/* ---------- 19. PRINT ---------- */
@media print {
  .util-bar, .nav, .ticker, .footer, .side, .share-rail, .to-top, .news, .video-band, .progress, .search-overlay, .sec-more { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .art-title, .prose p:first-child::first-letter { color: #000; }
  a { color: #000; }
}

/* ---------- 20. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
