/* Blog + rapoarte publice — one stylesheet for every page under /blog/.
   Extracted from the first public report (/raport, 2026-09-15) so a new
   article is content only: blog/src/<slug>.html + scripts/build_blog.py.
   Same vocabulary as index.html (Fraunces / Cormorant / Bricolage; cream,
   ink, gold, oxblood). */
:root {
  --cream:   #FDFBF7;
  --paper:   #F4ECDD;
  --ink:     #1A1A1A;
  --ink-2:   #2E2A26;
  --muted:   #5C5750;
  --gold:    #D9A74A;
  --gold-d:  #B8862C;
  --oxblood: #7C2D2D;
  --rule:    rgba(26, 26, 26, 0.12);
  --rule-hi: rgba(26, 26, 26, 0.24);
  --shell:   72rem;
  --pad:     1.15rem;
  --band:    2.75rem;
  --radius:  6px;
  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-script:  'Cormorant Garamond', Georgia, serif;
  --f-body:    'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
}
@media (min-width: 48rem) { :root { --band: 4.25rem; --pad: 1.75rem; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }
a { color: var(--gold-d); text-underline-offset: 3px; }
a:hover { color: var(--oxblood); }

/* ---------- masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule-hi);
  padding-block: 1rem 1.1rem;
}
.masthead .shell {
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem;
  align-items: baseline; justify-content: space-between;
}
.kicker {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.kicker b { color: var(--oxblood); font-weight: 700; }
.masthead time { font-size: .82rem; color: var(--muted); }

/* ---------- headline ---------- */
.lede { padding-block: calc(var(--band) * .9) calc(var(--band) * .7); }
h1 {
  font-family: var(--f-display);
  font-weight: 620;
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 1.1rem;
  max-width: 24ch;
}
h1 em { font-style: normal; color: var(--oxblood); }
.lede p {
  max-width: 58ch; margin: 0; color: var(--ink-2); font-size: 1.08rem;
}
.lede p + p { margin-top: .9rem; }

/* ---------- stat band ---------- */
.stats {
  background: var(--paper);
  border-block: 1px solid var(--rule);
  padding-block: calc(var(--band) * .55);
}
.stats .shell {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--band) * .4) var(--pad);
}
@media (min-width: 48rem) { .stats .shell { grid-template-columns: repeat(4, 1fr); } }
.stat { padding-top: .55rem; border-top: 2px solid var(--ink); }
.stat:nth-child(2) { border-top-color: var(--gold-d); }
.stat:nth-child(3) { border-top-color: var(--oxblood); }
.stat:nth-child(4) { border-top-color: var(--rule-hi); }
.stat .n {
  font-family: var(--f-display); font-weight: 640;
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.05;
  font-variant-numeric: tabular-nums; display: block;
}
.stat .l { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- channel sections ---------- */
section.channel { padding-block: calc(var(--band) * .8); border-top: 1px solid var(--rule); }
section.channel:first-of-type { border-top: 0; }
.ch-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; margin-bottom: .8rem; }
.ch-name {
  font-family: var(--f-display); font-weight: 640;
  font-size: clamp(1.45rem, 3.4vw, 2rem); letter-spacing: -0.01em;
}
.ch-tag { font-family: var(--f-script); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.channel p { max-width: 62ch; margin: 0 0 .8rem; color: var(--ink-2); }
.metrics {
  display: flex; flex-wrap: wrap; gap: .35rem 0; margin: 0;
  padding: 0; list-style: none;
}
.metrics li {
  display: flex; align-items: baseline; gap: .45rem;
  padding-inline: 1rem 1rem; position: relative;
}
.metrics li + li::before {
  content: ""; position: absolute; left: 0; top: 15%;
  height: 70%; width: 1px; background: var(--rule-hi);
}
.metrics li:first-child { padding-left: 0; }
.metrics li:first-child::before { display: none; }
.metrics .v {
  font-family: var(--f-display); font-weight: 640; font-size: 1.35rem;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.metrics .k { font-size: .8rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- clasament ---------- */
.charts { padding-block: calc(var(--band) * .8); border-top: 1px solid var(--rule-hi); background: var(--paper); }
.charts h2, .next h2 {
  font-family: var(--f-display); font-weight: 620;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem); letter-spacing: -0.01em;
  margin: 0 0 .5rem;
}
.charts > .shell > p.sub { margin: 0 0 1.6rem; color: var(--muted); max-width: 60ch; }
ol.poems { list-style: none; margin: 0; padding: 0; counter-reset: poem; }
ol.poems li {
  counter-increment: poem;
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  gap: .3rem 1.1rem; align-items: baseline;
  padding-block: .78rem;
  border-top: 1px solid var(--rule);
}
ol.poems li:last-child { border-bottom: 1px solid var(--rule); }
/* the empty spacer span in each row would push the count to a 4th grid cell */
ol.poems li > span:empty { display: none; }
ol.poems li::before {
  content: counter(poem, decimal-leading-zero);
  font-family: var(--f-display); font-weight: 640; font-size: 1.3rem;
  color: var(--gold-d); font-variant-numeric: tabular-nums;
}
.poem-t { font-family: var(--f-display); font-size: 1.12rem; font-weight: 560; }
.poem-t > a { color: inherit; text-decoration-color: var(--gold-d); }
.poem-t > a:hover { color: var(--oxblood); }
.poem-a { display: block; font-size: .85rem; color: var(--muted); margin-top: .1rem; }
.poem-v { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.poem-v b { font-family: var(--f-display); font-weight: 640; font-size: 1.18rem; }
.poem-v span { display: block; font-size: .78rem; color: var(--muted); }
@media (max-width: 40rem) {
  ol.poems li { grid-template-columns: 2rem 1fr auto; gap: .3rem .7rem; }
  .poem-v { white-space: normal; max-width: 7.5rem; }
}

/* ---------- next + method ---------- */
.next { padding-block: calc(var(--band) * .8) calc(var(--band) * .6); border-top: 1px solid var(--rule); }
.next p { max-width: 62ch; color: var(--ink-2); }
.method {
  margin-top: 1.8rem; padding: 1rem 1.15rem;
  border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: .88rem; color: var(--muted); max-width: 62ch;
}
.method strong { color: var(--ink-2); }

/* ---------- closing ---------- */
.closing {
  background: var(--ink); color: var(--cream);
  padding-block: calc(var(--band) * .9);
  margin-top: calc(var(--band) * .6);
}
.closing .script { font-family: var(--f-script); font-style: italic; font-size: 1.25em; color: var(--gold); }
.closing p.big {
  font-family: var(--f-display); font-weight: 560;
  font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.25;
  max-width: 26ch; margin: 0 0 1.2rem;
}
.closing .socials-line a { color: var(--gold); }
.closing .socials-line { font-size: .95rem; color: rgba(253,251,247,.75); }
footer.site {
  border-top: 1px solid rgba(253,251,247,.18);
  padding-block: 1.1rem; font-size: .82rem;
  color: rgba(253,251,247,.55);
}
footer.site a { color: rgba(253,251,247,.75); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- site nav (same bar as the homepage) ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .55rem;
}
.wordmark {
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; color: var(--ink);
}
.wordmark em { font-family: var(--f-script); font-weight: 500; color: var(--gold-d); }
.nav-links { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; font-size: .86rem; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current] { border-bottom-color: var(--gold-d); }
/* the channel's accounts, top bar (desktop: in the bar; phone: a row under it) */
.nav-socials { display: flex; align-items: center; gap: .9rem; }
.nav-socials a { color: var(--ink); opacity: .75; display: inline-flex; transition: color .2s, opacity .2s; }
.nav-socials a:hover { color: var(--gold-d); opacity: 1; }
.nav-socials svg { width: 1.05rem; height: 1.05rem; }
@media (max-width: 47.99rem) {
  .nav-in { flex-wrap: wrap; }
  .nav-socials { order: 3; width: 100%; justify-content: center; gap: 1.6rem; padding-top: .35rem; border-top: 1px solid var(--rule); margin-top: .1rem; }
}

/* ---------- blog index ---------- */
.blog-list { list-style: none; margin: 0 0 calc(var(--band) * .8); padding: 0; }
.blog-list li { border-top: 1px solid var(--rule); padding-block: 1.3rem; }
.blog-list li:last-child { border-bottom: 1px solid var(--rule); }
.blog-list time {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.blog-list h2 {
  font-family: var(--f-display); font-weight: 620;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem); line-height: 1.15;
  letter-spacing: -0.01em; margin: .3rem 0 .45rem;
}
.blog-list h2 a { color: var(--ink); text-decoration: none; }
.blog-list h2 a:hover { color: var(--oxblood); }
.blog-list p { margin: 0 0 .5rem; max-width: 62ch; color: var(--ink-2); }
.blog-list .more { font-size: .9rem; }

/* ---------- narrow phones: the bar keeps every link on one line ---------- */
@media (max-width: 26rem) {
  .nav-in { gap: .6rem; }
  .wordmark { font-size: .95rem; }
  .nav-links { gap: .8rem; font-size: .8rem; }
}

/* ---------- versuri (/versuri/ index + one page per song) ---------- */
.lyrics-authors {
  display: flex; flex-wrap: wrap; gap: .3rem .6rem;
  margin: 0 0 calc(var(--band) * .5); font-size: .9rem; color: var(--muted);
}
.lyrics-author { border-top: 1px solid var(--rule); padding-block: 1.2rem; scroll-margin-top: 3.5rem; }
.lyrics-author:last-child { border-bottom: 1px solid var(--rule); margin-bottom: calc(var(--band) * .8); }
.lyrics-author h2 {
  font-family: var(--f-display); font-weight: 620;
  font-size: clamp(1.3rem, 3.2vw, 1.75rem); letter-spacing: -0.01em; margin: 0 0 .5rem;
}
.lyrics-list {
  list-style: none; margin: 0; padding: 0;
  columns: 16rem auto; column-gap: 2rem;
}
.lyrics-list li { break-inside: avoid; padding-block: .22rem; }
.lyrics-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-hi); }
.lyrics-list a:hover { color: var(--oxblood); border-bottom-color: var(--oxblood); }

.song .lede { padding-bottom: calc(var(--band) * .4); }
.song .byline { font-family: var(--f-script); font-style: italic; font-size: 1.3rem; color: var(--muted); }
.song-body { display: grid; gap: calc(var(--band) * .5); }
.verses { min-width: 0; }
.verses p {
  font-family: var(--f-script); font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  line-height: 1.5; margin: 0 0 1.35rem; color: var(--ink-2);
  overflow-wrap: anywhere;
}
.listen { min-width: 0; }
.listen p { margin: .6rem 0 0; font-size: .9rem; }
.player {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #0b0b0b;
  box-shadow: 0 0 0 1px rgba(217, 167, 74, 0.35);
}
.player img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.seal {
  position: absolute; inset: 0; margin: auto; width: 3.6rem; height: 3.6rem;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(26, 26, 26, 0.72); color: var(--cream);
  box-shadow: 0 0 0 1px rgba(217, 167, 74, 0.7);
  transition: background .25s, transform .25s;
}
.seal svg { width: 1.35rem; height: 1.35rem; margin-left: 3px; fill: currentColor; }
.player:hover .seal { background: #FF0000; transform: scale(1.06); }
.credit {
  border-top: 1px solid var(--rule); padding-top: 1rem; margin: calc(var(--band) * .3) 0 0;
  font-size: .85rem; color: var(--muted); max-width: 62ch;
}
@media (min-width: 52rem) {
  .song-body { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: start; }
  .verses { grid-column: 1; grid-row: 1; }
  .listen { grid-column: 2; grid-row: 1; position: sticky; top: 4.5rem; }
}
.lyrics-list .variant { color: var(--muted); font-size: .9em; }
.song .variant-sub {
  font-family: var(--f-display); font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  color: var(--muted); margin: -.6rem 0 .5rem;
}

/* ---------- articole: one article per song (/articole/) ---------- */
.article h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 30ch; }
.article h1 em { font-style: italic; font-family: var(--f-display); font-weight: 480; }
.prose { padding-bottom: calc(var(--band) * .8); }
.prose section { padding-block: calc(var(--band) * .55); border-top: 1px solid var(--rule); }
.prose h2 {
  font-family: var(--f-display); font-weight: 620;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 .8rem; max-width: 36ch; text-wrap: balance;
}
.prose p, .prose ul { max-width: 62ch; margin: 0 0 .9rem; color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .55rem; }
.article-player { margin: 1.2rem 0 1.4rem; max-width: 40rem; }
.article-player figcaption {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  margin-top: .6rem; font-size: .95rem;
}
