/* Limarí Ancestral y Vivo · estilos del sitio
   Identidad heredada de la carpeta de investigación territorial:
   papel gris camanchaca, tinta grafito, un solo acento lapislázuli. */

:root {
  --bg: #E8EAE5;          /* camanchaca */
  --bg-2: #DCDFD8;        /* banda en sombra */
  --bg-3: #D2D6CE;
  --ink: #1D2124;         /* grafito */
  --ink-2: #4F5751;       /* tinta secundaria (AA sobre --bg y --bg-2) */
  --line: #BCC1B9;
  --accent: #2A4785;      /* lapislázuli */
  --accent-ink: #F2F4F0;  /* texto sobre acento */
  --night: #101417;       /* bandas fotográficas y héroe */
  --night-ink: #E7EAE4;
  --night-ink-2: #B3BBB3;
  --shadow: 0 1px 2px rgb(29 33 36 / .10), 0 18px 40px -24px rgb(29 33 36 / .35);

  --f-display: "Castoro Titling", "Castoro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-text: "Castoro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-label: "IBM Plex Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1.04rem, 1rem + .2vw, 1.14rem);
  --step-1: clamp(1.22rem, 1.14rem + .4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.32rem + .9vw, 2.05rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.7vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.75rem + 2.8vw, 4.1rem);

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111518; --bg-2: #171C20; --bg-3: #1E2429;
    --ink: #E3E6E0; --ink-2: #A3ABA3; --line: #2E363B;
    --accent: #93AAE2; --accent-ink: #0E1420;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111518; --bg-2: #171C20; --bg-3: #1E2429;
  --ink: #E3E6E0; --ink-2: #A3ABA3; --line: #2E363B;
  --accent: #93AAE2; --accent-ink: #0E1420;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -24px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-text); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); letter-spacing: .01em; }
h3, h4 { font-family: var(--f-text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em, i { font-style: italic; }
abbr { text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; font-family: var(--f-label); }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }
.prose h3 { font-size: var(--step-1); margin: 1.6em 0 .5em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.label { font-family: var(--f-label); font-size: var(--step--1); letter-spacing: .06em; color: var(--ink-2); }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink); max-width: 60ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.32rem; letter-spacing: .22em; }
.brand__sub { font-family: var(--f-label); font-size: .7rem; letter-spacing: .2em; color: var(--ink-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-label); font-size: .95rem; letter-spacing: .04em; color: var(--ink);
  text-decoration: none; padding: 8px 12px; border-radius: var(--radius);
}
.nav a:hover { background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle {
  display: none; font: inherit; font-family: var(--f-label); font-size: .95rem; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; cursor: pointer;
  align-items: center; gap: 8px;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--f-label); font-size: 1rem; letter-spacing: .03em; text-decoration: none;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: transform .2s cubic-bezier(.16,1,.3,1), background-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn--ghost { color: var(--ink); border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--bg-2); }
.on-night .btn--ghost { color: var(--night-ink); }
.on-night .btn--ghost:hover { background: rgb(255 255 255 / .08); }
.on-night .btn--primary { background: #E7EAE4; color: #1D2124; }
.on-night .btn--primary:hover { background: #fff; }
.arrow-link { font-family: var(--f-label); letter-spacing: .03em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- héroe ---------- */
.hero {
  position: relative; min-height: min(88dvh, 860px); display: grid; align-items: end;
  background: var(--night); color: var(--night-ink); isolation: isolate; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(16 20 23 / .15) 0%, rgb(16 20 23 / .25) 40%, rgb(16 20 23 / .82) 100%);
}
.hero__body { padding-block: 96px clamp(40px, 7vw, 88px); }
.hero h1 { font-size: var(--step-4); max-width: 18ch; letter-spacing: .015em; }
.hero p { font-size: var(--step-1); line-height: 1.45; color: var(--night-ink); max-width: 44ch; margin-top: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__credit { position: absolute; right: var(--gutter); bottom: 12px; font-family: var(--f-label); font-size: .72rem; color: var(--night-ink-2); max-width: 46ch; text-align: right; }
.hero__credit a { color: inherit; }
@media (max-width: 640px) { .hero__credit { position: static; text-align: left; padding: 0 var(--gutter) 14px; } .hero { align-items: end; } }

/* cabecera de página interior (más baja que el héroe) */
.page-hero { position: relative; background: var(--night); color: var(--night-ink); isolation: isolate; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 20 23 / .86) 0%, rgb(16 20 23 / .55) 55%, rgb(16 20 23 / .25) 100%); }
.page-hero .wrap { min-height: clamp(340px, 52dvh, 520px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 72px 44px; }
.page-hero h1 { font-size: var(--step-4); max-width: 20ch; }
.page-hero p { font-size: var(--step-1); color: var(--night-ink); max-width: 46ch; margin-top: 14px; line-height: 1.45; }
.page-hero .hero__credit { bottom: 10px; }

/* ---------- secciones ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tint { background: var(--bg-2); }
.section--night { background: var(--night); color: var(--night-ink); }
.section--night .muted, .section--night .label { color: var(--night-ink-2); }
.section--night a { color: #B9C8EE; }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 68ch; }
.section__head h2 { font-size: var(--step-3); }
.section__head p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; }
.section--night .section__head p { color: var(--night-ink-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* dos columnas: texto + imagen (colapsa en móvil) */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; }
  .split--flip { grid-template-columns: 5fr 7fr; }
  .split--flip > :first-child { order: 2; }
  .split--center { align-items: center; }
}

/* figuras con crédito */
figure { margin: 0; }
.fig img { width: 100%; background: var(--bg-3); }
.fig--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.fig--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.fig--land img { aspect-ratio: 3 / 2; object-fit: cover; }
.fig figcaption { font-family: var(--f-label); font-size: .8rem; line-height: 1.4; color: var(--ink-2); margin-top: 8px; }
.fig figcaption .credit { display: block; opacity: .9; }
.fig figcaption a { color: inherit; }
.section--night .fig figcaption { color: var(--night-ink-2); }

/* banda fotográfica a sangre */
.bleed { position: relative; }
.bleed img { width: 100%; height: clamp(260px, 48vw, 620px); object-fit: cover; }
.bleed figcaption { padding: 10px var(--gutter) 0; font-family: var(--f-label); font-size: .8rem; color: var(--ink-2); max-width: var(--wrap); margin-inline: auto; }

/* galería en mosaico */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mosaic .fig img { aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); }
  .mosaic > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .mosaic > :nth-child(1) img { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .mosaic > :nth-child(2), .mosaic > :nth-child(3) { grid-column: span 5; }
  .mosaic > :nth-child(2) img, .mosaic > :nth-child(3) img { aspect-ratio: 16 / 10; }
  .mosaic > :nth-child(n+4) { grid-column: span 4; }
}

/* cifras / datos clave */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fact { padding: 22px 20px 22px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact__n { font-family: var(--f-display); font-size: var(--step-3); line-height: 1; color: var(--accent); }
.fact__t { font-family: var(--f-label); font-size: .9rem; color: var(--ink-2); margin-top: 8px; line-height: 1.35; }
@media (max-width: 640px) { .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* cita destacada */
.quote { margin: 0; max-width: 34ch; }
.quote p { font-family: var(--f-text); font-style: italic; font-size: var(--step-2); line-height: 1.3; }
.quote footer { margin-top: 14px; font-family: var(--f-label); font-size: .92rem; color: var(--ink-2); }
.section--night .quote footer { color: var(--night-ink-2); }

/* voces: carrusel horizontal con scroll-snap */
.voices { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.voice { scroll-snap-align: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.section--tint .voice { background: var(--bg); }
.voice p { font-style: italic; font-size: 1.08rem; line-height: 1.5; margin: 0; }
.voice footer { font-family: var(--f-label); font-size: .88rem; color: var(--ink-2); }

/* índice interno de capítulos */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { font-family: var(--f-label); font-size: .92rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 12px; background: var(--bg); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.on-night .toc a { background: transparent; color: var(--night-ink); border-color: rgb(255 255 255 / .28); }

/* capítulos del territorio */
.chapter { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; }
.chapter__title { font-size: var(--step-3); margin-bottom: 18px; max-width: 22ch; }
.chapter__kicker { font-family: var(--f-label); color: var(--accent); font-size: .95rem; letter-spacing: .04em; margin-bottom: 10px; display: block; }
.keylist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.keylist li { padding-left: 18px; position: relative; }
.keylist li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--accent); }
.keylist strong { font-weight: 600; }

/* empresas */
.companies { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .companies { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .companies { grid-template-columns: repeat(3, 1fr); } }
.company {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, transform .3s cubic-bezier(.16,1,.3,1);
}
.company:hover { border-color: var(--accent); }
.company__cat { font-family: var(--f-label); font-size: .85rem; letter-spacing: .05em; color: var(--accent); }
.company h3 { font-family: var(--f-display); font-size: var(--step-2); letter-spacing: .01em; }
.company__place { font-family: var(--f-label); font-size: .9rem; color: var(--ink-2); }
.company p { font-size: 1rem; line-height: 1.55; }
.company__offer { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.company__offer li { font-family: var(--f-label); font-size: .82rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 3px 9px; color: var(--ink-2); }
.company__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--f-label); font-size: .92rem; }
.company--feature { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.company--feature .company__cat, .company--feature .company__place, .company--feature a { color: var(--accent-ink); }
.company--feature .company__offer li { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
.company-group + .company-group { margin-top: clamp(40px, 5vw, 64px); }
.company-group > h2, .company-group > h3.group-title { font-size: var(--step-2); margin-bottom: 18px; font-family: var(--f-display); }

/* programa / línea de tiempo */
.program { list-style: none; padding: 0; margin: 0; }
.program li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.program li:last-child { border-bottom: 1px solid var(--line); }
.program time { font-family: var(--f-label); font-size: 1rem; color: var(--ink-2); padding-top: 3px; font-variant-numeric: tabular-nums; }
.program h3 { font-size: var(--step-1); }
.program .who { font-family: var(--f-label); color: var(--accent); font-size: .95rem; margin-bottom: 4px; display: block; }
.program p { color: var(--ink-2); font-size: 1rem; margin-top: 6px; }
@media (max-width: 640px) { .program li { grid-template-columns: 1fr; gap: 6px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .5em; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--accent); border-radius: 50%; }
.timeline .when { font-family: var(--f-label); color: var(--accent); font-size: .95rem; display: block; }
.timeline p { margin: 4px 0 0; }

/* expositores */
.speakers { display: grid; gap: 0; grid-template-columns: 1fr; }
.speaker { display: grid; grid-template-columns: 1fr; gap: 10px 40px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .speaker { grid-template-columns: 4fr 8fr; } }
.speaker h3 { font-family: var(--f-display); font-size: var(--step-2); }
.speaker .role { font-family: var(--f-label); color: var(--ink-2); font-size: .95rem; margin-top: 8px; display: block; }
.speaker .talk { font-style: italic; font-size: var(--step-1); color: var(--accent); margin-bottom: 14px; display: block; line-height: 1.35; }

/* calendario: 12 meses */
.months { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .months { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .months { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1240px) { .months { grid-template-columns: repeat(4, 1fr); } }
.month { background: var(--bg); padding: 20px 18px; }
.month h3 { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .12em; margin-bottom: 10px; color: var(--accent); }
.month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; line-height: 1.45; }
.month .d { font-family: var(--f-label); color: var(--ink-2); font-size: .85rem; display: block; }

/* lugares */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font-family: var(--f-label); font-size: .92rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.places { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1160px) { .places { grid-template-columns: repeat(3, 1fr); } }
.place { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.place img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.place__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.place__meta { font-family: var(--f-label); font-size: .85rem; color: var(--ink-2); }
.place h3 { font-size: var(--step-1); }
.place p { font-size: .98rem; line-height: 1.55; }
.place[hidden] { display: none; }
.comuna-block + .comuna-block { margin-top: clamp(40px, 5vw, 64px); }
.comuna-block > h2 { font-size: var(--step-3); margin-bottom: 8px; }
.comuna-block > p { color: var(--ink-2); max-width: 68ch; margin-bottom: 24px; }

/* tarjetas de acceso (portada) */
.paths { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .paths { grid-template-columns: 5fr 4fr 3fr; } }
.path { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; color: var(--night-ink); text-decoration: none; overflow: hidden; border-radius: var(--radius); isolation: isolate; background: var(--night); }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(16 20 23 / .85) 100%); }
.path:hover img { transform: scale(1.03); }
.path__body { padding: 24px; }
.path h3 { font-family: var(--f-display); font-size: var(--step-2); }
.path p { font-size: 1rem; color: var(--night-ink-2); margin-top: 8px; max-width: 36ch; }

/* pie */
.site-footer { background: var(--night); color: var(--night-ink); padding-block: 56px 32px; }
.site-footer a { color: var(--night-ink); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.site-footer .brand__name { font-size: 1.6rem; }
.site-footer .brand__sub { color: var(--night-ink-2); }
.site-footer p, .site-footer li { color: var(--night-ink-2); font-size: .98rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-family: var(--f-label); }
.site-footer h2 { font-family: var(--f-label); font-size: .95rem; letter-spacing: .06em; color: var(--night-ink); margin-bottom: 12px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-label); font-size: .85rem; color: var(--night-ink-2); }

/* créditos */
.credits { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .credits { grid-template-columns: repeat(2, 1fr); } }
.credit-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; font-size: .92rem; line-height: 1.45; }
.credit-row img { width: 96px; height: 72px; object-fit: cover; }
.credit-row .t { font-family: var(--f-text); }
.credit-row .m { font-family: var(--f-label); color: var(--ink-2); font-size: .85rem; }

/* aparición al hacer scroll (sutil; desactivada con reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero h1, .hero p, .hero__ctas { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .hero p { animation-delay: .12s; }
  .hero__ctas { animation-delay: .22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

@media print {
  .site-header, .nav-toggle, .hero__ctas, .filters { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .section--night, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ajustes de especificidad */
.hero .hero__credit, .page-hero .hero__credit {
  font-size: .72rem; line-height: 1.4; margin: 0; color: var(--night-ink-2); max-width: 46ch;
}
@media (max-width: 640px) { .hero .hero__credit, .page-hero .hero__credit { padding-bottom: 14px; } }
.prose .keylist { padding-left: 0; margin: 24px 0 0; }
.prose .timeline { padding-left: 0; margin: 0 0 1em; }
.prose .keylist li + li, .prose .timeline li + li { margin-top: 0; }
