/* Add To Watchlist blog — extends the homepage dark cinematic system.
   Oswald (condensed) headings + DM Sans body, dark surfaces, red/gold accents.
   Mixed-case throughout — no all-caps. Scoped to /blog. */

:root{
  --bg:#0D0D0D; --surface:#1A1A1A; --surface-hover:#222222;
  --red:#E50914; --red-glow:rgba(229,9,20,0.3);
  --gold:#D4A84B; --gold-glow:rgba(212,168,75,0.3);
  --text:#FFFFFF; --text-muted:rgba(255,255,255,0.7); --text-dim:rgba(255,255,255,0.4);
  --border:rgba(255,255,255,0.08); --radius:4px;
  --sans:'DM Sans',-apple-system,system-ui,sans-serif;
  --display:'Oswald',-apple-system,system-ui,sans-serif;
  --mono:ui-monospace,'SF Mono','SFMono-Regular',Menlo,Consolas,monospace;
  --pad:clamp(1.25rem,5vw,3rem);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--text);background:var(--bg);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--display);font-weight:600;line-height:1.05;letter-spacing:normal}
img{max-width:100%}
::selection{background:var(--red);color:var(--text)}
.shell{max-width:1100px;margin:0 auto;padding:0 var(--pad)}
.narrow{max-width:720px;margin:0 auto;padding:0 var(--pad)}

/* top bar — mirrors the homepage fixed nav */
.topbar{position:sticky;top:0;z-index:1000;background:rgba(13,13,13,0.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}
.topbar .row{display:flex;align-items:center;justify-content:space-between;height:60px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:32px;height:32px;border-radius:6px}
.brand span{font-family:var(--display);font-weight:600;font-size:1.4rem;text-shadow:0 0 12px rgba(229,9,20,0.25)}
nav.links{display:flex;gap:28px;font-size:0.9rem}
nav.links a{color:var(--text-muted);transition:color .2s}
nav.links a:hover,nav.links a.active{color:var(--red)}
@media(max-width:720px){nav.links{display:none}}
.badge{display:inline-flex;line-height:0;transition:transform .18s ease,filter .3s}
.badge:hover{transform:translateY(-1px);filter:brightness(1.1)}
.badge img{height:44px;width:auto;display:block}

/* masthead */
.masthead{padding:clamp(3rem,7vw,5rem) 0 clamp(2rem,4vw,3rem);border-bottom:1px solid var(--border);text-align:center}
.kicker{font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;color:var(--red)}
.masthead h1{margin-top:1rem;font-weight:700;font-size:clamp(2.8rem,7vw,4.6rem);line-height:1.02}
.masthead .sub{margin:1.1rem auto 0;color:var(--text-muted);font-size:clamp(1.02rem,1.7vw,1.18rem);max-width:52ch}

/* shared thumbnail */
.thumb{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}

/* post list */
.list{padding:clamp(1rem,3vw,1.5rem) 0 clamp(3.5rem,8vw,6rem)}
.post-row{display:grid;grid-template-columns:1fr minmax(220px,300px);gap:clamp(1.5rem,4vw,3rem);align-items:center;padding:clamp(1.8rem,4vw,2.6rem) 0;border-bottom:1px solid var(--border)}
.post-row .meta{font-family:var(--mono);font-size:.7rem;letter-spacing:.04em;color:var(--text-dim);display:flex;gap:.9rem;align-items:center;flex-wrap:wrap}
.post-row .meta .cat{color:var(--gold)}
.post-row h2{margin-top:.9rem;font-weight:600;font-size:clamp(1.7rem,3.4vw,2.4rem);line-height:1.05;max-width:24ch;transition:color .2s}
.post-row .dek{margin-top:.7rem;color:var(--text-muted);font-size:1rem;max-width:56ch;line-height:1.5}
.post-row .go{margin-top:1rem;font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;color:var(--text-dim);display:inline-flex;gap:.5rem;align-items:center}
.post-row .go .arrow{transition:transform .22s ease}
.post-row .thumb{transition:box-shadow .3s}
.post-row:hover h2{color:var(--red)}
.post-row:hover .go{color:var(--red)}
.post-row:hover .go .arrow{transform:translateX(5px)}
.post-row:hover .thumb{box-shadow:0 8px 30px rgba(0,0,0,.5),-4px 0 20px var(--red-glow)}

/* featured (newest) post — full-width title + subtitle */
.post-row.featured{display:block;padding-top:clamp(1.5rem,3vw,2rem)}
.post-row.featured .thumb{aspect-ratio:21/9;margin-bottom:clamp(1.4rem,3vw,2rem)}
.post-row.featured h2{font-weight:700;font-size:clamp(2.2rem,5.2vw,3.6rem);max-width:none}
.post-row.featured .dek{font-size:1.12rem;max-width:none}

@media(max-width:640px){
  .post-row{grid-template-columns:1fr}
  .post-row .thumb{aspect-ratio:16/9;margin-bottom:1.2rem;order:-1}
  .post-row .txt{grid-row:2}
}

.empty{padding:clamp(3rem,7vw,5rem) 0;text-align:center;color:var(--text-dim)}
.empty .mono{font-family:var(--mono);font-size:.8rem;letter-spacing:.04em}

/* article */
.article{padding:clamp(2.5rem,6vw,4.5rem) 0 clamp(3rem,6vw,4.5rem)}
.backlink{font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;color:var(--text-dim);display:inline-flex;gap:.5rem;align-items:center;margin-bottom:2.2rem;transition:color .2s}
.backlink:hover{color:var(--red)}
.art-head h1{font-weight:700;font-size:clamp(2.4rem,5.2vw,3.8rem);line-height:1.04;max-width:24ch}
.art-meta{margin-top:1.4rem;font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;color:var(--text-dim);display:flex;gap:.9rem;align-items:center;flex-wrap:wrap}
.art-meta .cat{color:var(--gold)}
.art-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--text-dim)}
.art-hero{width:100%;aspect-ratio:2/1;object-fit:cover;display:block;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-top:clamp(1.8rem,4vw,2.4rem)}
.lead{margin-top:2rem;font-size:clamp(1.15rem,2vw,1.35rem);line-height:1.5;color:var(--text)}

/* prose */
.prose{margin-top:2rem;font-size:1.075rem;line-height:1.75;color:var(--text-muted)}
.prose > * + *{margin-top:1.35rem}
.prose h2{margin-top:2.8rem;font-family:var(--display);font-weight:600;font-size:clamp(1.7rem,3vw,2.2rem);line-height:1.15;color:var(--text)}
.prose h3{margin-top:2rem;font-family:var(--display);font-weight:600;font-size:1.4rem;color:var(--text)}
.prose a{color:var(--text);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--red)}
.prose a:hover{color:var(--red)}
.prose strong{color:var(--text);font-weight:700}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li + li{margin-top:.5rem}
.prose li::marker{color:var(--red)}
.prose code{font-family:var(--mono);font-size:.85em;background:var(--surface);border:1px solid var(--border);border-radius:5px;padding:.1em .4em;color:var(--gold)}
.prose blockquote{border-left:2px solid var(--red);padding:.2rem 0 .2rem 1.3rem;color:var(--text);font-size:1.12rem}
.prose hr{border:0;border-top:1px solid var(--border);margin:2.4rem 0}
.prose img{height:auto;border-radius:var(--radius);border:1px solid var(--border)}

/* end-of-article CTA */
.endcta{margin-top:3rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.endcta .t{font-family:var(--display);font-weight:700;font-size:1.9rem;line-height:1.1;max-width:18ch}
.endcta .s{font-family:var(--mono);font-size:.68rem;letter-spacing:.04em;color:var(--text-dim);margin-top:.5rem}

/* footer */
footer{border-top:1px solid var(--border);padding:3rem 0 4rem;margin-top:2rem}
.foot{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1.5rem}
.foot .bigmark{font-family:var(--display);font-weight:700;font-size:clamp(2rem,6vw,3rem)}
.foot .cr{font-family:var(--mono);font-size:.72rem;color:var(--text-dim);margin-top:1rem}
.foot .fnav{display:flex;gap:1.6rem;font-size:.85rem;flex-wrap:wrap}
.foot .fnav a{color:var(--text-dim);transition:color .2s}
.foot .fnav a:hover{color:var(--text-muted)}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
