/* =====================================================================
   pagina.css — hoja de las paginas de contenido de Comunidad Humana.

   La primera parte NO esta escrita a mano: son 137 reglas extraidas
   literalmente del <style> de index.html (tokens, rieles laterales, nav con
   el logo de anillos, laminas .sec-rule, .label, .display, .btn, .faq,
   .float-cta, footer y el scroll-reveal). Se extraen en vez de reescribirse
   para que estas paginas HEREDEN el sistema Atelier Zero y no lo imiten:
   si un token cambia en index.html, aqui se vuelve a extraer y ya.

   Unico ajuste sobre lo extraido: las url() del logo pasaron de './assets/'
   a '/assets/', porque esta hoja se sirve desde /assets/ y la ruta relativa
   habria resuelto a /assets/assets/.

   La segunda parte, tras el separador, es lo unico nuevo: el layout de
   articulo, que el home no necesita porque no tiene paginas de texto largo.
   ===================================================================== */

:root {
  --paper: #efe7d2;
  --paper-warm: #ece4cf;
  --paper-dark: #ddd2b6;
  --ink: #15140f;
  --ink-soft: #2a2620;
  --ink-mute: #5a5448;
  --ink-faint: #6d6754;
  --coral: #ed6f5c;
  --coral-text: #ab3f28;
  --coral-soft: #f08e7c;
  --mustard: #e9b94a;
  --olive: #6e7448;
  --bone: #f7f1de;
  --line: rgba(21, 20, 15, 0.16);
  --line-soft: rgba(21, 20, 15, 0.08);
  --line-faint: rgba(21, 20, 15, 0.05);
  --shadow: 0 30px 60px -30px rgba(21, 20, 15, 0.18);
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
section[id], [id].hero { scroll-margin-top: 96px; }
.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(106, 92, 56, 0.07) 0, transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(106, 92, 56, 0.06) 0, transparent 32%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.16  0 0 0 0 0.12  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 240px 240px;
  mix-blend-mode: multiply;
  opacity: 0.92;
}
.shell { position: relative; z-index: 2; }
.container {
  max-width: 1360px;
  padding: 0 64px;
  margin: 0 auto;
  position: relative;
}
.container.wide { max-width: 1480px; }
.side-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-rail.right { right: 0; border-left: 1px solid var(--line-faint); }
.side-rail.left { left: 0; border-right: 1px solid var(--line-faint); }
.side-rail .rail-text {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.side-rail.right .rail-text { transform: rotate(180deg); }
.side-rail.left .rail-text { writing-mode: vertical-rl; transform: none; }
.nav {
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transform: translateY(0);
  transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
  border-bottom: 1px solid transparent;
  will-change: transform;
}
.nav.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
  box-shadow: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
}
.brand em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
  letter-spacing: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
}
.logo-vivo {
  position: relative;
  flex: none;
  width: var(--size, 36px);
  height: var(--size, 36px);
  --tono: var(--coral);
}
.logo-vivo i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  animation: logo-pulso 5.2s ease-in-out infinite;
}
.logo-vivo .r1 { -webkit-mask-image: url(/assets/logo/anillo-1.png); mask-image: url(/assets/logo/anillo-1.png); animation-delay: .66s; }
.logo-vivo .r2 { -webkit-mask-image: url(/assets/logo/anillo-2.png); mask-image: url(/assets/logo/anillo-2.png); animation-delay: .44s; }
.logo-vivo .r3 { -webkit-mask-image: url(/assets/logo/anillo-3.png); mask-image: url(/assets/logo/anillo-3.png); animation-delay: .22s; }
.logo-vivo .r4 { -webkit-mask-image: url(/assets/logo/anillo-4.png); mask-image: url(/assets/logo/anillo-4.png); animation-delay: 0s; }
@keyframes logo-pulso {
  0%, 58%, 100% { background: var(--ink); }
  16%, 42%      { background: var(--tono); }
}
.on-ink .logo-vivo i { background: var(--paper); animation-name: logo-pulso-ink; }
@keyframes logo-pulso-ink {
  0%, 58%, 100% { background: var(--paper); }
  16%, 42%      { background: var(--tono); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-vivo i { animation: none; }
  .on-ink .logo-vivo i { background: var(--paper); }
}
.brand-meta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.3;
  margin-left: 4px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.brand-meta b { display: block; color: var(--ink); font-weight: 600; }
.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s ease;
  position: relative;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a .num {
  font-size: 9px;
  color: var(--ink-faint);
  position: absolute;
  top: -7px;
  right: -16px;
  letter-spacing: 0.04em;
}
.nav-side {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta [data-github-stars],
.nav-cta [data-github-version] {
  font-variant-numeric: tabular-nums;
}
.nav-cta::after {
  content: '→';
  color: var(--mustard);
  font-size: 12px;
}
.status-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.status-dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--coral);
  display: inline-block;
}
.label .ix {
  color: var(--ink-faint);
  font-weight: 500;
  margin-left: 4px;
}
.display {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
  line-height: 1.0;
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.display .dot { color: var(--coral); }
.lead {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
}
.meta {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.coord {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.roman {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(237, 111, 92, 1);
}
.btn-primary:hover { transform: translateY(-1px); background: #e25e4a; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(21, 20, 15, 0.2);
}
.btn-ghost:hover { background: rgba(21, 20, 15, 0.04); }
.btn:active { transform: translateY(1px) scale(0.97); }
.btn-primary:active { background: #d5543f; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.float-cta:focus-visible,
.faq-q:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn .arrow {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn .arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.code-inline {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--bone);
  padding: 1px 6px;
  border-radius: 4px;
}
.annot {
  position: absolute;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.4;
  white-space: nowrap;
}
.annot.has-line::before {
  content: '';
  position: absolute;
  background: var(--ink-faint);
}
.annot-tl { top: 14px; left: 14px; }
.annot-tr { top: 14px; right: 14px; text-align: right; }
.annot-bl { bottom: 14px; left: 14px; }
.annot-br { bottom: 14px; right: 14px; text-align: right; }
.annot.coord { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: none; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
section { position: relative; padding: 130px 0; }
section.tight { padding: 90px 0; }
.sec-rule {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.sec-rule .roman {
  font-family: var(--serif);
  font-style: italic;
  color: var(--coral);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: none;
}
.sec-rule .meta-grp { display: inline-flex; gap: 26px; }
.sec-rule .dot-mark { color: var(--coral); }
.section-header { margin-bottom: 70px; }
.section-header .label { margin-bottom: 32px; }
.section-header h2 {
  font-size: clamp(40px, 4.6vw, 66px);
  max-width: 22ch;
}
.section-header .lead { margin-top: 22px; }
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.about-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-left: auto;
}
.about-art img { width: 100%; height: 100%; object-fit: contain; }
.about-caption {
  position: absolute;
  right: 18px;
  bottom: 4px;
  font-family: var(--sans);
  font-size: 9.5px;
  color: var(--ink-faint);
  text-align: right;
  letter-spacing: 0.06em;
  line-height: 1.45;
}
.about-caption b { color: var(--ink); display: block; }
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 38ch;
}
.foot-brand p .inline-link,
.inline-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease, border-color 160ms ease;
}
.inline-link:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}
.foot-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
}
.foot-col a:hover { color: var(--coral); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.foot-bottom .right { display: inline-flex; gap: 24px; align-items: center; }
.foot-bottom .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.foot-mega {
  margin-top: 60px;
  padding-top: 0;
  padding-bottom: 12px;
  border-top: 1px solid var(--line);
  overflow-x: clip;
  overflow-y: visible;
}
.foot-mega .word {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(70px, 9vw, 130px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  white-space: nowrap;
  margin-top: 30px;
  padding-bottom: 0.18em;
  text-align: center;
}
.foot-mega .word em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}
@media (max-width: 560px) {
  .foot-mega .word { font-size: clamp(30px, 8.2vw, 56px); }
}
html.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    translate 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    scale 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, translate, scale;
}
@keyframes hero-in { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-in-art { from { opacity: 0; scale: 0.97; } to { opacity: 1; scale: 1; } }
html.js [data-reveal='left'] { translate: -36px 0; }
html.js [data-reveal='right'] { translate: 36px 0; }
html.js [data-reveal='scale'] { translate: 0 0; scale: 0.96; }
html.js [data-reveal='rise-lg'] { translate: 0 64px; scale: 0.985; }
html.js [data-reveal][data-revealed='true'] {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    translate: 0 0 !important;
    scale: 1 !important;
    transition: none !important;
  }
  .nav { transition: none !important; }
}
.label, .sec-rule .roman, .wire-item .wire-role, .work-card .small-label { color: var(--coral-text); }
@media (max-width: 1280px) {
  .container { padding: 0 44px; }
  .side-rail { display: none; }
}
@media (max-width: 1180px) {
  .nav-inner { gap: 18px; }
  .brand-meta { display: none; }
  .nav-links { gap: 28px; }
}
@media (max-width: 1080px) {
  .container { padding: 0 32px; }
  .section-header h2 { font-size: clamp(32px, 4vw, 50px); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .foot-grid .foot-col:nth-child(4),
  .foot-grid .foot-col:nth-child(5) { display: none; }
}
@media (max-width: 880px) {
  .container { padding: 0 24px; }
  .nav-links, .brand-meta, .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .annot-br { top: calc(100% + 14px); bottom: auto; right: 0; max-width: 100%; white-space: normal; line-height: 1.5; }
  .about-art, .cta-art { max-width: 320px; margin-left: auto; margin-right: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .float-cta { right: 14px; bottom: 14px; padding: 11px 16px; font-size: 12.5px; }
  footer { padding-bottom: 84px; }
}
.faq-list { border-top: 1px solid var(--line); max-width: 960px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  cursor: pointer;
  padding: 26px 0;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 160ms ease;
}
.faq-q:hover { color: var(--coral); }
.faq-q .fplus {
  font-family: var(--serif);
  font-style: italic;
  color: var(--coral);
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 240ms ease;
}
.faq-item.open .faq-q .fplus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 360ms ease; }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.62;
  max-width: 74ch;
  padding: 0 44px 30px 0;
}
.float-cta {
  position: fixed;
  right: 46px;
  bottom: 26px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 18px 34px -14px rgba(237, 111, 92, 0.95);
  transition: transform 0.18s ease, background 0.18s ease;
}
.float-cta::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2.4s ease-in-out infinite;
}
.float-cta:hover { transform: translateY(-2px); background: #e25e4a; }
.float-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 560px) {
  .float-cta { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 13px; }
}
/* =====================================================================
   PAGINAS DE CONTENIDO — extension del sistema Atelier Zero.
   Todo lo de arriba esta extraido literal del <style> de index.html para
   que estas paginas hereden el sistema y no lo imiten. Lo de abajo es lo
   unico nuevo: el layout de articulo, que el home no necesita porque no
   tiene paginas de texto largo. Sin tokens nuevos, sin tipos nuevos.
   ===================================================================== */

/* rejilla copy + lamina, misma proporcion que .about-grid del home */
.doc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}
.doc-grid.reverse > *:first-child { order: 2; }

/* prosa */
.prose { max-width: 40em; }
.prose p { margin: 0 0 20px; color: var(--ink-mute); font-size: 16.5px; line-height: 1.68; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-family: var(--serif); font-style: italic; }
.prose a {
  color: var(--coral-text); text-decoration: none;
  border-bottom: 1px solid rgba(171, 63, 40, .3);
}
.prose a:hover { border-bottom-color: var(--coral-text); }
.prose ul { margin: 0 0 24px; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 26px; margin-bottom: 13px;
  color: var(--ink-mute); font-size: 16.5px; line-height: 1.62;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 13px; height: 1px; background: var(--coral);
}
.prose h3 {
  font-family: var(--sans); font-weight: 600; letter-spacing: -0.015em;
  font-size: 19px; color: var(--ink); margin: 40px 0 14px;
}

/* h2 de seccion, mismo trato que .section-header h2 pero suelto */
.doc-h2 {
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.028em;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1;
  color: var(--ink); margin: 0 0 22px;
}
.doc-h2 em { font-family: var(--serif); font-style: italic; font-weight: 600; }

/* bajada de la portada de cada pagina */
.doc-lead {
  font-size: 17.5px; line-height: 1.62; color: var(--ink-mute);
  max-width: 34em; margin: 0 0 34px;
}

/* lamina: imagen con marcas de dibujo tecnico, como .hero-art del home */
.figura { position: relative; }
.figura img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-soft);
}
.figura .fig-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 12px; display: block;
}
.figura .fig-caption {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-top: 12px; display: flex; justify-content: space-between; gap: 16px;
}
.figura .fig-caption b { color: var(--coral-text); font-weight: 400; }
.figura .corner {
  position: absolute; width: 13px; height: 13px; pointer-events: none;
  border-color: var(--ink); opacity: .45;
}
.figura .corner.tl { top: 26px; left: -6px; border-left: 1px solid; border-top: 1px solid; }
.figura .corner.tr { top: 26px; right: -6px; border-right: 1px solid; border-top: 1px solid; }
.figura .corner.bl { bottom: 26px; left: -6px; border-left: 1px solid; border-bottom: 1px solid; }
.figura .corner.br { bottom: 26px; right: -6px; border-right: 1px solid; border-bottom: 1px solid; }

/* ficha de datos verificables */
.ficha {
  background: var(--bone); border: 1px solid var(--line-soft);
  padding: 30px 32px; margin: 8px 0 0;
}
.ficha dl { margin: 0; display: grid; grid-template-columns: 128px 1fr; gap: 14px 24px; }
.ficha dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-faint); padding-top: 4px;
}
.ficha dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.ficha dd b { color: var(--ink); font-weight: 600; }
.ficha dd a { color: var(--coral-text); text-decoration: none; border-bottom: 1px solid rgba(171,63,40,.3); }

/* nota que desactiva la lectura de veredicto */
.nota {
  border-left: 2px solid var(--coral);
  padding: 2px 0 2px 22px; margin: 30px 0;
  color: var(--ink-mute); font-size: 16px; line-height: 1.6;
}
.nota p { margin: 0; }

/* enlaces entre paginas de contenido */
.relacionadas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rel-card {
  display: block; text-decoration: none; padding: 24px 0 0;
  border-top: 1px solid var(--line); transition: border-color .25s;
}
.rel-card:hover { border-top-color: var(--coral); }
.rel-card .rel-num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--ink-faint); display: block; margin-bottom: 12px;
}
.rel-card h4 {
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 8px; line-height: 1.25;
}
.rel-card p { margin: 0; font-size: 14.5px; color: var(--ink-mute); line-height: 1.5; }

/* bloque de cierre */
.cierre-doc {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.cierre-doc p { margin: 0; max-width: 34em; color: var(--ink-mute); font-size: 16px; }
.cierre-doc p a { color: var(--coral-text); text-decoration: none; border-bottom: 1px solid rgba(171,63,40,.3); }

@media (max-width: 1100px) {
  .doc-grid { grid-template-columns: 1fr; gap: 46px; }
  .doc-grid.reverse > *:first-child { order: 0; }
  .relacionadas { grid-template-columns: 1fr; gap: 0; }
  .rel-card { padding: 22px 0; }
}
@media (max-width: 720px) {
  .ficha { padding: 24px 20px; }
  .ficha dl { grid-template-columns: 1fr; gap: 3px 0; }
  .ficha dd { margin-bottom: 14px; }
  .prose { max-width: none; }
  .figura .corner { display: none; }
  .cierre-doc { gap: 24px; }
}
