/* The DAGCity Chronicle în tema „The Resident” (/me-v2, public/css/resident.css): hârtie crem pe un fundal mai închis, cerneală
   aproape neagră, titluri Instrument Serif (o singură greutate: fără bold sintetic), text Instrument Sans, rubrici și cifre mici în
   IBM Plex Mono, roșu pentru rubrici. Doar suprascrieri peste chronicle.css (structura și scriptul rămân aceleași); fără acest
   fișier, pagina revine la tema de dinainte */
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url('/fonts/instrumentserif-400.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: italic; font-display: swap; src: url('/fonts/instrumentserif-400i.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url('/fonts/instrumentsans-var.ttf') format('truetype'); }
@font-face { font-family: 'Plex Mono'; font-weight: 400 600; font-display: swap; src: url('/fonts/plexmono-500.ttf') format('truetype'); }

:root { --sn-color: #1A1A17; --paper: #F6F1E4; --paper-2: #EFE8D4; --ink: #1A1A17; --ink-2: #3D3A31; --muted: #5F5A4C; --rule: #CFC6AE; --rule-dark: #1A1A17; --red: #A93A2B;
  --head: 'Instrument Serif', 'Cormorant', Georgia, serif; --body: 'Instrument Sans', 'Inter', system-ui, sans-serif; --mono: 'Plex Mono', ui-monospace, monospace; }
/* foaia de ziar pe fundalul mai închis (pe telefon: pe toată lățimea) */
html { background: #ECE6D6; }
body { max-width: 1240px; margin: 0 auto 40px; background: var(--paper); box-shadow: 0 1px 0 #D6CDB6, 0 20px 50px -30px rgba(40, 30, 10, .35); font-size: 17px; line-height: 1.55; }

/* titlurile: Instrument Serif, greutatea normală (singura pe care o are fontul) */
.np-title, .hl, .secblock > h2, .side h3, .nums b, .related h3, .archive h1, .seclist h1, .np-foot b, .about h4, .soon-card h4, .ph b, .ads a b,
.lead p.first::first-letter, .art .text p:first-child::first-letter, .np-list.steps li::before { font-family: var(--head); font-weight: 400; }
.np-title { font-size: clamp(46px, 8.4vw, 112px); line-height: .92; letter-spacing: -.02em; }
.hl { letter-spacing: -.01em; line-height: 1.08; }
.lead .hl { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; }
.secblock > h2 { font-size: 30px; }
.side h3, .related h3 { font-size: 24px; }
.nums b { font-size: 36px; }
.archive h1, .seclist h1 { font-size: 48px; }
.ads a b { text-transform: none; letter-spacing: 0; font-size: 21px; }
.lead p.first::first-letter { font-size: 70px; }
.art .text p:first-child::first-letter { font-size: 82px; }
/* șapoul și motto-ul: Instrument Serif italic */
.np-tag, .sf { font-family: var(--head); font-style: italic; font-weight: 400; }
.np-tag { font-size: 22px; }
.sf { font-size: 20px; line-height: 1.35; }
.lead .sf { font-size: 23px; }

/* rubricile, meniul, datele, tabelele: IBM Plex Mono, majuscule */
.np-strip, .np-edline, .np-nav a, .kick, .more, .secblock > h2 a.all, .briefs li small, .ads a small, table.np th, .ednav, .ed .no, .about dt, .soon-card .badge, .soon-card dt, .meta {
  font-family: var(--mono); font-weight: 500; letter-spacing: .06em; }
.np-strip { font-size: 13px; text-transform: uppercase; }
.np-strip a[href="/"] { font-weight: 600; }
.np-edline { font-size: 13px; font-weight: 600; }
.np-nav a { font-size: 13px; font-weight: 600; }
.kick { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.more, .secblock > h2 a.all, .ednav { font-size: 13px; font-weight: 600; }
.briefs li small, .ads a small, table.np th, .ed .no, .about dt, .soon-card .badge, .soon-card dt { font-size: 13px; }
.meta { font-size: 13px; text-transform: uppercase; }
.fig figcaption { font-family: var(--head); font-size: 17px; }
/* graficele din articole (SVG-ul ediției, cu Georgia în atribut): textul în Instrument Serif (mai îngust decât Georgia: legenda încape) */
.fig svg, .fig svg g, .fig svg text { font-family: var(--head); }
.np-mast { padding-top: 26px; }
.np-edline { border-top: 1px solid var(--rule-dark); border-bottom: 3px double var(--rule-dark); }

@media (max-width: 760px) {
  body { margin: 0; box-shadow: none; }
  .np-title { font-size: 52px; }
  .lead .hl { font-size: 36px; }
  .sf, .lead .sf { font-size: 19px; }
}
