/* ═══════════════════════════════════════════════════════════════
   NELVO · INSIGHTS (blog index + article pages)
   Loads after style.css; extends it, overrides nothing.
   ═══════════════════════════════════════════════════════════════ */

/* ── Index: editorial list ── */
.notes-intro { max-width: 880px; }
.notes-list { border-top: 1px solid var(--rule); margin-top: clamp(2.4rem, 5vw, 4rem); }
.note-row {
  display: grid; grid-template-columns: minmax(180px, 230px) 1fr;
  gap: clamp(1.8rem, 4vw, 4.5rem); align-items: baseline;
  padding: clamp(2rem, 3.4vw, 2.8rem) 3.2rem clamp(2rem, 3.4vw, 2.8rem) 0.6rem;
  position: relative; transition: background var(--dur-1);
}
.note-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
.note-row:hover { background: rgba(240,235,225,0.55); }
.note-row .nr-date {
  font-family: var(--mono); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.note-row .nr-body { max-width: 62ch; transition: padding-left var(--dur-1) var(--ease); }
.note-row:hover .nr-body { padding-left: 4px; }
.note-row h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2;
  margin-bottom: 0.65rem; transition: color .2s;
}
.note-row:hover h2 { color: var(--terra); }
.note-row p { font-size: 1.08rem; font-weight: 300; color: var(--muted); line-height: 1.65; max-width: 58ch; }
.note-row .nr-read {
  display: block; margin-top: 0.9rem;
  font-family: var(--mono); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.note-row .arr {
  position: absolute; right: 0.8rem; top: 50%;
  transform: translateY(-50%) translateX(-10px);
  font-family: var(--mono); font-size: 1.3rem; color: var(--terra);
  opacity: 0; transition: opacity .25s, transform .25s var(--ease);
}
.note-row:hover .arr { opacity: 1; transform: translateY(-50%); }
.note-row a.cover { position: absolute; inset: 0; }
.notes-foot-note { margin-top: clamp(2.4rem, 4vw, 3.4rem); }

/* ── Article ── */
.note-hero { padding-bottom: clamp(2rem, 4vh, 3rem); }
.note-hero .wrap { max-width: 880px; }
.note-hero .h1 { max-width: 22ch; font-size: clamp(2.4rem, 4.8vw, 4rem); }
.note-meta {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 1.8rem;
  font-family: var(--mono); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.note-meta .sep { color: var(--rule); }

.note-body { padding-top: 0; }
.note-body .wrap { max-width: 880px; }
.note-prose { max-width: 62ch; }
.note-prose > * + * { margin-top: 1.5rem; }
.note-prose p { font-size: clamp(1.12rem, 1.15vw, 1.22rem); font-weight: 300; line-height: 1.78; color: var(--ink-2); }
.note-prose p strong { font-weight: 600; color: var(--ink); }
.note-prose h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.25;
  margin-top: clamp(2.6rem, 4.5vw, 3.6rem);
}
.note-prose :is(p, li, blockquote) a { color: var(--terra); border-bottom: 1px solid rgba(180,96,44,0.35); transition: border-color .2s; }
.note-prose :is(p, li, blockquote) a:hover { border-color: var(--terra); }
.note-prose blockquote {
  margin-top: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: clamp(2rem, 3.5vw, 2.8rem);
  padding: 0.4rem 0 0.4rem 1.8rem; border-left: 3px solid var(--terra);
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.55; color: var(--ink-2);
}
.note-prose ul { display: grid; gap: 0.7rem; margin-left: 0.2rem; }
.note-prose ul li {
  position: relative; padding-left: 1.8rem;
  font-size: clamp(1.08rem, 1.1vw, 1.18rem); font-weight: 300; line-height: 1.65; color: var(--ink-2);
}
.note-prose ul li::before { content: "→"; position: absolute; left: 0; top: 0.02em; color: var(--terra); font-weight: 500; }

/* signature */
.note-sig { margin-top: clamp(2.8rem, 5vw, 4rem); padding-top: 1.8rem; border-top: 1px solid var(--rule); }
.note-sig .serif-note { display: block; }
.note-sig .mono-note { display: block; margin-top: 0.5rem; }

/* end plate: quiet next step + back link */
.note-end {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 16px;
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.note-end h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); margin-bottom: 0.5rem; }
.note-end p { font-size: 1.05rem; font-weight: 300; color: var(--muted); max-width: 44ch; }
.note-back { margin-top: clamp(2.2rem, 4vw, 3rem); }

@media (max-width: 700px) {
  .note-row { grid-template-columns: 1fr; gap: 0.7rem; padding-right: 2.4rem; }
  .note-end { flex-direction: column; align-items: flex-start; }
}


/* ── The Sheet (chosen reading experience, Aug 19 2026) ── */
body.post-page { background: var(--surface); }
body.post-page .nav.scrolled { background: rgba(240,235,225,0.88); }
.note-hero { padding-bottom: 0; }
.note-hero .wrap, .note-body .wrap { max-width: calc(47rem + 2 * var(--gut)); margin-inline: auto; }
.note-hero .h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); max-width: none; }
@media (min-width: 1200px) { .note-hero .wrap, .note-body .wrap { max-width: calc(52rem + 2 * var(--gut)); } }
.note-sheet {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 20px;
  padding: clamp(2.2rem, 4.5vw, 3.8rem) clamp(1.6rem, 4vw, 4.2rem) clamp(2.6rem, 5vw, 4rem);
  margin-top: 2.2rem;
}
.note-prose { max-width: none; }
.note-prose > * + * { margin-top: 1.6rem; }
.note-prose p { font-size: 1.25rem; font-weight: 400; line-height: 1.7; color: #253F43; }
.note-prose ul li { font-size: 1.2rem; font-weight: 400; line-height: 1.66; color: #253F43; }
.note-prose h2 { margin-top: clamp(2.6rem, 4vw, 3.4rem); font-size: clamp(1.5rem, 2.1vw, 1.8rem); }
.note-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.note-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.note-author .na-name { font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.note-author .na-meta { font-family: var(--mono); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 0.2rem; }
.note-end { background: var(--surface); }
body.post-page .phero-enso { opacity: 0.3; }
