:root {
  --bg: #0e0e10;
  --panel: #18181b;
  --panel-2: #1f1f23;
  --line: #2f2f35;
  --text: #efeff1;
  --muted: #adadb8;
  --body: #d6d6dc;
  --ink: #0b0b0e;
  --cream: #f3e8cf;
  --blue: #1f4296;
  --blue-2: #173478;
  --gold: #f0b429;
  --red: #e91916;
  --purple: #9146ff;
  --legendary: #ff8000;
  --display: "Anton", Impact, sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ui); font-size: clamp(16px, 0.95rem + 0.2vw, 18px); line-height: 1.7; color: var(--body); background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 12, 0.94); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 62px; max-width: 1440px; }
.goldline { height: 2px; background: linear-gradient(90deg, transparent, #8f5c0c 10%, #f0b429 50%, #8f5c0c 90%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; }
.brand img { width: 36px; }
.brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: 2px; line-height: 1; }
.brand small { display: block; margin-top: 3px; font-size: 0.68rem; font-weight: 600; color: var(--muted); }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 6px; color: var(--muted); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.top .cta { padding: 8px 16px; border-radius: 6px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.88rem; text-decoration: none; white-space: nowrap; }
.top .cta:hover { background: #ffc94a; }
@media (max-width: 760px) { .nav a:not(.keep) { display: none; } .brand small { display: none; } }
.top .cta .short { display: none; }
@media (max-width: 480px) {
  .top .wrap { gap: 8px; height: 56px; }
  .brand img { width: 30px; }
  .brand b { font-size: 1.2rem; letter-spacing: 1.5px; }
  .nav a { padding: 8px; font-size: 0.88rem; }
  .top .cta { padding: 7px 12px; }
  .top .cta .long { display: none; }
  .top .cta .short { display: inline; }
}

/* ---------- Article hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--blue-2); }
.hero::before { content: ""; position: absolute; left: 78%; top: 90%; width: 260vmax; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(var(--blue) 0deg 9deg, var(--blue-2) 9deg 18deg); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 70%, transparent 10%, rgba(6, 14, 40, 0.92) 70%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; align-items: end; padding-top: clamp(28px, 5vw, 56px); }
.hero-copy { padding-bottom: clamp(28px, 5vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--muted); list-style: none; margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5b5b66; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.kicker { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 4px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1; color: var(--cream); text-transform: uppercase; text-shadow: 0 3px 0 var(--ink); }
.dek { margin-top: 16px; max-width: 58ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #e4e4ea; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.hero-art img { width: 100%; max-width: 440px; margin-left: auto; filter: drop-shadow(-6px 0 0 var(--ink)); }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 22px; }
  .hero-copy { padding-bottom: 0; }
  .hero-art img { width: 58%; max-width: 260px; margin: 14px 0 0 auto; }
  .crumbs { margin-bottom: 12px; font-size: 0.78rem; }
  .kicker { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .dek { margin-top: 12px; font-size: 1rem; }
  .meta { margin-top: 12px; font-size: 0.8rem; gap: 2px 12px; }
}

/* ---------- Article layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 5vw, 64px); padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); }
.toc { position: sticky; top: 90px; align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-size: 0.88rem; }
.toc summary { list-style: none; font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); margin-bottom: 10px; pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 6px 0; line-height: 1.35; }
.toc a { display: flex; gap: 8px; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--text); }
.toc .cta2 { display: block; margin-top: 16px; padding: 10px; border-radius: 6px; background: var(--gold); color: var(--ink); font-weight: 800; text-align: center; text-decoration: none; }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; padding: 0; }
  .toc summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 14px 16px; pointer-events: auto; cursor: pointer; }
  .toc summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; line-height: 1; transition: transform 0.2s; }
  .toc details[open] summary::after { transform: rotate(45deg); }
  .toc ol { padding: 0 16px 8px; }
  .toc .cta2 { margin: 4px 16px 16px; }
}

.prose { max-width: 72ch; }
@media (max-width: 560px) {
  .layout { padding-top: 20px; }
  .prose h2 { margin-top: 1.8em; font-size: 1.75rem; }
  .prose blockquote { padding: 14px 16px; }
  .cta-box { padding: 18px; }
  .cta-box a.btn { width: 100%; text-align: center; }
  .vids { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vids b { font-size: 0.82rem; }
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.08; color: var(--text); text-transform: uppercase; scroll-margin-top: 84px; }
.prose h2 + * { margin-top: 0.7em; }
.prose h3 { margin-top: 1.8em; font-size: clamp(1.12rem, 1.8vw, 1.3rem); line-height: 1.3; color: var(--text); scroll-margin-top: 84px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { padding: 16px 20px; border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; background: var(--panel); color: var(--text); font-size: 1.05em; }
.prose blockquote cite { display: block; margin-top: 8px; font-size: 0.82rem; font-style: normal; color: var(--muted); }
.prose blockquote cite a { color: var(--muted); }

.facts { width: 100%; border-collapse: collapse; font-size: 0.95rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts caption { text-align: left; padding: 0 0 10px; font-weight: 800; color: var(--text); }
.facts th, .facts td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.facts th { width: 38%; background: var(--panel); color: var(--text); font-weight: 700; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: 100%; }
  .facts caption { display: block; padding: 12px 14px 10px; }
  .facts th { padding: 10px 14px 2px; border-bottom: 0; background: var(--panel); font-size: 0.78rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold); }
  .facts td { padding: 2px 14px 12px; background: var(--panel); }
  .facts tr + tr th { border-top: 1px solid var(--line); }
}

.callout { padding: 18px 20px; border: 1px solid #3a3a41; border-radius: 10px; background: var(--panel-2); }
.callout b { color: var(--gold); }

.cta-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px; border-radius: 12px; background: linear-gradient(135deg, #2a1f0c, var(--panel) 60%); border: 1px solid #5e4527; }
.cta-box img { width: 64px; }
.cta-box div { flex: 1 1 260px; }
.cta-box strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; }
.cta-box p { margin-top: 4px; font-size: 0.95rem; color: var(--muted); }
.cta-box a.btn { padding: 12px 20px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.cta-box a.btn:hover { background: #ff2b20; }

.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0 !important; }
.vids li + li { margin-top: 0; }
.vids a { display: block; color: var(--text); text-decoration: none; }
.vids .th { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.vids .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.vids a:hover .th img { transform: scale(1.05); }
.vids .th span { position: absolute; right: 6px; bottom: 6px; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.8); font-size: 0.72rem; font-weight: 700; }
.vids b { display: block; margin-top: 8px; font-size: 0.92rem; line-height: 1.3; }
.vids small { font-size: 0.8rem; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 18px; }

.sources { font-size: 0.9rem; }
.sources li { word-break: break-word; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card small { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.card strong { display: block; margin: 6px 0; font-size: 1.15rem; line-height: 1.3; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Blog index ---------- */
.index-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at top, rgba(31, 66, 150, 0.45), transparent 70%); }
.index-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; color: var(--cream); text-transform: uppercase; }
.index-hero p { margin-top: 12px; max-width: 60ch; color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; padding-top: clamp(24px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.post { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.post:hover { border-color: var(--gold); transform: translateY(-3px); }
.post .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-2); }
.post .pic::before { content: ""; position: absolute; left: 70%; top: 100%; width: 300%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(var(--blue) 0deg 9deg, var(--blue-2) 9deg 18deg); }
.post .pic img { position: absolute; right: 4%; bottom: -12%; width: 52%; }
.post .pic.mounted img { right: -2%; bottom: -10%; width: 50%; }
.post .pic b { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); width: 48%; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1; color: var(--cream); text-transform: uppercase; text-shadow: 0 3px 0 var(--ink); }
.post .txt { padding: 20px 22px 24px; }
.post small { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.post strong { display: block; margin: 8px 0; font-size: 1.25rem; line-height: 1.3; }
.post p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 0.9rem; padding-bottom: env(safe-area-inset-bottom); }
.f-cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; padding: clamp(32px, 4vw, 48px) 0; }
.f-brand .fb { display: flex; align-items: center; gap: 10px; }
.f-brand img { width: 40px; }
.f-brand b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: 2px; color: var(--text); }
.f-brand p { margin-top: 10px; max-width: 34ch; line-height: 1.55; }
.f-col h3 { margin-bottom: 10px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 8px; }
.f-col a { color: var(--muted); text-decoration: none; }
.f-col a:hover { color: var(--gold); }
.f-bottom { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 0.8rem; }
.f-bottom span:last-child { margin-left: auto; color: #6f6f7a; }
@media (max-width: 760px) { .f-cols { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } .f-bottom span:last-child { margin-left: 0; } }

/* Video list: newest 6, then "Show more" */
.vids .more { display: none; }
.vids.all .more { display: list-item; }
.show-more { display: block; margin: 16px auto 0; padding: 11px 22px; border: 1px solid #3a3a41; border-radius: 8px; background: var(--panel); color: var(--text); font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; }
.show-more:hover { border-color: var(--gold); color: var(--gold); }
.show-more[hidden] { display: none; }
