/* ===========================================================
   Fuentes self-hosted (descargadas de Google Fonts).
   Generado por scripts/fetch-fonts.ts — no editar a mano.
   =========================================================== */

/* DM Mono — style:normal weight:400 subset:latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-mono-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Mono — style:normal weight:400 subset:latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-mono-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Mono — style:normal weight:500 subset:latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-mono-normal-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Mono — style:normal weight:500 subset:latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-mono-normal-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost — style:italic weight:300_700 subset:latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/jost-italic-300-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost — style:italic weight:300_700 subset:latin */
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/jost-italic-300-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost — style:normal weight:300_700 subset:latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/jost-normal-300-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost — style:normal weight:300_700 subset:latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/jost-normal-300-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Major Mono Display — style:normal weight:400 subset:latin-ext */
@font-face {
  font-family: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/major-mono-display-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Major Mono Display — style:normal weight:400 subset:latin */
@font-face {
  font-family: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/major-mono-display-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* =========================================================
   PAIGAR — base
   Tokens, reset, header, post-card, cover, home-tags, footer
   ========================================================= */

/* Las @font-face viven en src/styles/fonts.css y se cargan desde base.vto.
   Para refrescar o cambiar pesos / familias, edita scripts/fetch-fonts.ts y
   ejecuta `deno task fonts`. */

/* ---------- Tokens ---------- */
:root {
	/* Fondos */
	--bg: #f2f2f0;
	--bg-block: #e8e8e5;
	--bg-deep: #dcdcd8;

	/* Tinta */
	--ink: #18181a;
	--ink-soft: #4a4a4d;
	--ink-faint: #8c8c90;

	/* Bermellón */
	--accent: #b73a1f;
	--accent-deep: #8a2614;
	--accent-soft: #d96a4e;

	/* Acentos secundarios */
	--teal: #1a4147;
	--mustard: #b9881d;

	/* Líneas */
	--rule: #c5c5c0;
	--rule-light: #dadad5;

	/* Tipografía */
	--font-display: "Major Mono Display", "Courier New", monospace;
	--font-body: "Jost", system-ui, sans-serif;
	--font-mono: "DM Mono", "SF Mono", Consolas, monospace;

	/* Anchos */
	--container-wide: 1280px; /* canvas total */
	--container-mid: 980px; /* cabecera, cover, foot */
	--container-reading: 720px; /* cuerpo de los artículos */

	/* Padding horizontal del container */
	--container-pad: 40px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 72px;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

button {
	cursor: pointer;
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
}
ul,
ol {
	list-style: none;
}

/* ---------- Base ---------- */
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 19px;
	line-height: 1.7;
	font-optical-sizing: auto;
	font-variation-settings: "opsz" 17;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	/* sin overflow-x: hidden — los bloques full-bleed (hero, featured, footer) lo necesitan */
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

html {
	overflow-x: clip;
}

::selection {
	background: var(--accent);
	color: var(--bg);
}
::-moz-selection {
	background: var(--accent);
	color: var(--bg);
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.18s ease;
}
a:hover {
	color: var(--accent-deep);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

code {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 0.86em;
	background: var(--bg-block);
	padding: 1px 6px;
	color: var(--accent-deep);
}

/* ---------- Visually hidden ---------- */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--bg);
	padding: 8px 14px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	z-index: 100;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
}

/* ---------- Container ---------- */
.container {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}

/* =========================================================
   SITE HEADER — fijo, full-bleed, contenido en container
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(242, 242, 240, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--rule);
}

/* Hamburger toggle — oculto por defecto, visible solo en móvil.
   Icono visual 22×14, hit-area ampliada con padding hasta ~42px. */
.site-header-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px;
	margin: -10px;
	cursor: pointer;
	color: var(--ink);
	width: 22px;
	height: 14px;
	box-sizing: content-box;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
}
.site-header-toggle-bar {
	display: block;
	height: 2px;
	background: currentColor;
	transition:
		transform 0.2s ease,
		opacity 0.15s ease;
	transform-origin: center;
}
/* Para formar la X, las barras 1 y 3 se trasladan al eje central:
   (alto del icono − alto de barra) / 2 = (14 − 2) / 2 = 6px */
.site-header-toggle[aria-expanded="true"] .site-header-toggle-bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.site-header-toggle[aria-expanded="true"] .site-header-toggle-bar:nth-child(2) {
	opacity: 0;
}
.site-header-toggle[aria-expanded="true"] .site-header-toggle-bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.site-header-inner {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 16px var(--container-pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-header-mark {
	display: inline-flex;
	flex-direction: column;
	gap: 3px;
	text-decoration: none;
	user-select: none;
	color: var(--ink);
	transition: color 0.2s ease;
	min-width: 0;
}
.site-header-mark:hover .site-header-mark-name {
	color: var(--accent);
}

.site-header-mark-name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 34px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--ink);
	transition: color 0.2s ease;
}

.site-header-mark-tagline {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--ink-soft);
	font-variation-settings: "opsz" 11;
	letter-spacing: 0;
	text-transform: none;
	text-wrap: balance;
	max-width: 60ch;
	padding-top: 0.3em;
}

@media (max-width: 720px) {
	.site-header-mark-tagline {
		display: none;
	}
}

.site-header-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.site-header-nav a {
	color: var(--ink-soft);
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	white-space: nowrap;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.site-header-nav a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}
.site-header-nav a.is-current {
	color: var(--ink);
}

/* =========================================================
   HOME GRID — grid uniforme 3-col, reutilizado en listas
   ========================================================= */
.home-grid-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 40px;
}

/* =========================================================
   POST CARD
   ========================================================= */
.post-card {
	position: relative;
}

/* Wrapper LQIP que generan los helpers img() y cardPicture() de _config.ts.
   Lleva la base64 del placeholder en su style inline; el <picture><img>
   real lo cubre cuando carga. Cabe dentro de cualquier contenedor con
   dimensiones definidas (post-cover, post-card-cover, home-hero-cover, etc.). */
.lqip-wrap {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	width: 100%;
	height: 100%;
}
.lqip-wrap picture {
	display: block;
	width: 100%;
	height: 100%;
}
.lqip-wrap picture img {
	opacity: 0;
	transition:
		opacity 0.4s ease,
		transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lqip-wrap.loaded picture img {
	opacity: 1;
}

.post-card-cover {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--bg-block);
	overflow: hidden;
	margin-bottom: 24px;
	position: relative;
	border: 1px solid var(--rule);
}
.post-card-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.post-card-cover:hover img {
	transform: scale(1.025);
}

.post-card-poster {
	width: 100%;
	height: 100%;
	background: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.post-card-poster::before,
.post-card-poster::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	height: 1px;
	background: rgba(242, 242, 240, 0.3);
}
.post-card-poster::before {
	top: 14px;
}
.post-card-poster::after {
	bottom: 14px;
}
.post-card-poster-letter {
	font-family: var(--font-display);
	font-size: clamp(80px, 16vw, 200px);
	color: var(--bg);
	line-height: 0.85;
}

.post-card-eyebrow {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
}
.post-card-eyebrow .sep {
	color: var(--ink-faint);
	margin: 0 6px;
}
.post-card-eyebrow a {
	color: var(--ink-soft);
	border-bottom: 1px solid transparent;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.post-card-eyebrow a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.post-card-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(16px, 1.6vw, 20px);
	line-height: 1.2;
	letter-spacing: 0;
	margin-bottom: 16px;
	font-variation-settings: normal;
	text-wrap: balance;
}
.post-card-title a {
	color: var(--ink);
	background-image: linear-gradient(var(--accent), var(--accent));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% 1px;
	transition:
		background-size 0.4s ease,
		color 0.2s ease;
	padding-bottom: 2px;
}
.post-card-title a:hover {
	background-size: 100% 1px;
	color: var(--accent);
}

.post-card-excerpt {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin-bottom: 16px;
	max-width: 52ch;
	text-wrap: pretty;
	font-variation-settings: "opsz" 16;
}

.post-card-readmore {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.post-card-readmore .arrow {
	transition: transform 0.2s ease;
}
.post-card-readmore:hover .arrow {
	transform: translateX(4px);
}

/* =========================================================
   POST / RELATO COVER — full-bleed, compartido por ambos
   ========================================================= */

/* Cover full-bleed: rompe el container y se extiende al ancho del viewport.
   La altura toma el mayor entre 50vw y 50vh — en landscape escala con el
   ancho, en portrait/móvil escala con el alto. Acotado entre 360 y 800px. */
.post-cover {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-bottom: 72px;
	background: var(--ink);
	overflow: hidden;
	height: max(50vw, 50vh);
	max-height: 800px;
	min-height: 360px;
}
.post-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Variante para covers que son logos/gráficos: muestra la imagen entera
   sobre fondo cream con padding generoso para no pegar al borde. Activar
   vía frontmatter: `image_contain: true` */
.post-cover--contain {
	background: var(--bg-block);
}
.post-cover--contain img {
	object-fit: contain;
	padding: clamp(32px, 6vw, 96px);
}

/* Poster fallback (post sin imagen) */
.post-poster {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: var(--accent);
	color: var(--bg);
	padding: clamp(80px, 10vw, 160px) clamp(28px, 5vw, 72px);
	margin-bottom: 72px;
	text-align: center;
	overflow: hidden;
}
.post-poster::before,
.post-poster::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	height: 1px;
	background: rgba(242, 242, 240, 0.3);
}
.post-poster::before {
	top: 18px;
}
.post-poster::after {
	bottom: 18px;
}
.post-poster-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 88px);
	line-height: 1;
	color: var(--bg);
	text-wrap: balance;
	letter-spacing: 0;
}

/* =========================================================
   HOME TAGS — banda de etiquetas (home + /etiquetas/)
   ========================================================= */
.home-tags {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.home-tags-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	border-bottom: 1px solid var(--rule);
	padding-bottom: 14px;
	flex-wrap: wrap;
}
.home-tags-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent);
}
.home-tags-all {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-soft);
	display: inline-flex;
	gap: 8px;
	align-items: center;
	border-bottom: 1px solid transparent;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.home-tags-all .arrow {
	transition: transform 0.2s;
}
.home-tags-all:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}
.home-tags-all:hover .arrow {
	transform: translateX(4px);
}

.home-tags-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.home-tags-cell {
	margin: 0;
}
.home-tags-cell a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 22px 26px;
	background: var(--bg-block);
	border: 1px solid var(--rule);
	color: var(--ink);
	text-decoration: none;
	transition:
		background 0.2s,
		border-color 0.2s,
		color 0.2s,
		padding 0.2s;
}
.home-tags-cell a:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
	padding-left: 32px;
}
.home-tag-name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(15px, 1.4vw, 18px);
	letter-spacing: 0;
	text-transform: uppercase;
	line-height: 1;
}
.home-tag-count {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-soft);
	font-feature-settings: "tnum";
	white-space: nowrap;
}
.home-tags-cell a:hover .home-tag-count {
	color: var(--accent-soft);
}

@media (max-width: 760px) {
	.home-tags-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 480px) {
	.home-tags-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   SITE FOOTER — full-bleed, dark, con imagen + degradado
   ========================================================= */
.site-footer {
	position: relative;
	margin-top: 96px;
	background-color: var(--ink);
	background-image:
		linear-gradient(rgba(24, 24, 26, 0.72) 0%, rgba(24, 24, 26, 0.92) 100%),
		var(--bg-image, none);
	background-size: cover;
	background-position: center;
	color: var(--bg);
	padding: clamp(72px, 8vw, 128px) 0 56px;
	overflow: hidden;
}

.site-footer::before {
	content: "P.";
	position: absolute;
	top: -32px;
	right: -16px;
	font-family: var(--font-display);
	font-size: clamp(200px, 30vw, 480px);
	line-height: 1;
	color: var(--accent);
	opacity: 0.08;
	pointer-events: none;
	user-select: none;
}

.site-footer-inner {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(
			0,
			1fr
		);
	gap: 48px;
	align-items: start;
}

/* Flecha externa para enlaces que abren en nueva pestaña, en cualquier
   parte del footer (columnas + bottom-bar vecindario). */
.site-footer a[target="_blank"]::after {
	content: " ↗";
	opacity: 0.55;
	margin-left: 2px;
}

.site-footer-brand-mark {
	font-family: var(--font-display);
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	letter-spacing: 0;
	color: var(--bg);
	display: block;
	margin-bottom: 18px;
}
.site-footer-brand-tagline {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 15px;
	color: #fff;
	margin: 0 0 22px;
	font-variation-settings: "opsz" 14;
	max-width: 38ch;
	text-wrap: pretty;
}
.site-footer-brand-bilbao {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent-soft);
}

.site-footer-col-title {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent-soft);
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(242, 242, 240, 0.18);
	display: block;
}
.site-footer-col-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 15px;
	font-variation-settings: "opsz" 14;
}
.site-footer-col-list a {
	color: #fff;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	width: fit-content;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.site-footer-col-list a:hover {
	border-bottom-color: var(--accent-soft);
}

.site-footer-bottom {
	position: relative;
	z-index: 1;
	max-width: var(--container-wide);
	margin: 64px auto 0;
	padding: 24px var(--container-pad) 0;
	border-top: 1px solid rgba(242, 242, 240, 0.18);
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer-bottom a {
	color: #fff;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.site-footer-bottom a:hover {
	border-bottom-color: var(--accent-soft);
}

/* Vecindario inline al final del bottom-bar. Dominios en minúscula y sin
   letter-spacing para que se lean como dominios reales en vez de mayúsculas
   forzadas como el resto del bottom-bar. */
.site-footer-bottom-vecindario {
	text-transform: none;
	letter-spacing: 0;
	display: inline-flex;
	gap: 8px;
	align-items: baseline;
}

@media (max-width: 920px) {
	.site-footer-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.site-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =========================================================
   RESPONSIVE — global (header, post-card, cover)
   ========================================================= */
@media (max-width: 720px) {
	:root {
		--container-pad: 22px;
	}
	body {
		font-size: 16.5px;
	}

	.site-header-inner {
		padding: 12px var(--container-pad);
	}
	.site-header-mark {
		font-size: 22px;
	}
	.site-header-nav {
		gap: 16px;
		font-size: 10px;
	}
	.post-card-cover {
		aspect-ratio: 4 / 3;
	}
	.post-card-title {
		font-size: 24px;
	}
	.post-card-excerpt {
		font-size: 16.5px;
	}
	.post-cover {
		margin-bottom: 48px;
		max-height: 60vh;
	}
	.post-cover img {
		max-height: 60vh;
	}
	.post-poster {
		margin-bottom: 48px;
	}
}

/* Hamburger en móvil estrecho: el nav pasa a dropdown desplegable */
@media (max-width: 600px) {
	.site-header-toggle {
		display: flex;
	}
	.site-header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 4px var(--container-pad) 12px;
		background: rgba(242, 242, 240, 0.96);
		backdrop-filter: saturate(180%) blur(10px);
		-webkit-backdrop-filter: saturate(180%) blur(10px);
		border-bottom: 1px solid var(--rule);
		opacity: 0;
		transform: translateY(-6px);
		pointer-events: none;
		transition:
			opacity 0.18s ease,
			transform 0.18s ease;
	}
	.site-header-toggle[aria-expanded="true"] ~ .site-header-nav {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
	.site-header-nav a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--rule);
	}
	.site-header-nav a:last-child {
		border-bottom: 0;
	}
	.site-header-nav a:hover {
		border-bottom-color: var(--rule);
	}
	.site-header-nav a.is-current {
		color: var(--accent);
	}
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
	body {
		background: white;
		color: black;
		font-size: 12pt;
	}
	.site-header,
	.site-footer,
	.post-nav,
	.post-card-readmore,
	.home-about {
		display: none;
	}
	.container {
		max-width: 100%;
		padding: 0;
	}
	.post-cover img {
		border: 1px solid #999;
	}
	a {
		color: black;
		text-decoration: underline;
	}
	.post-poster,
	.post-card-poster {
		background: white;
		border: 2px solid black;
		color: black;
	}
	.post-poster-title,
	.post-card-poster-letter {
		color: black;
	}
	.post-body > p:first-of-type::first-letter {
		color: black;
	}
}

/* =========================================================
   RESPONSIVE — home-grid-cards (grids de listas)
   ========================================================= */
@media (max-width: 920px) {
	.home-grid-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 28px;
	}
}

@media (max-width: 600px) {
	.home-grid-cards {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   Banner archivo completo (home, posts, relatos, que-es-esto)
   ========================================================= */
.archive-banner {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) auto;
	gap: 32px clamp(32px, 5vw, 80px);
	align-items: center;
	padding: clamp(40px, 5vw, 64px) clamp(32px, 4.5vw, 64px);
	background: var(--bg-block);
	border: 1px solid var(--ink);
	position: relative;
}
.archive-banner::before {
	content: "↘";
	position: absolute;
	top: 18px;
	right: 22px;
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--accent);
	opacity: 0.55;
}
.archive-banner-text {
	min-width: 0;
}
.archive-banner-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--accent);
	display: block;
	margin-bottom: 18px;
}
.archive-banner-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.05;
	letter-spacing: 0;
	margin: 0 0 14px;
	text-wrap: balance;
	color: var(--ink);
}
.archive-banner-sub {
	font-family: var(--font-body);
	font-style: italic;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.5;
	color: var(--ink-soft);
	margin: 0;
	max-width: 60ch;
	font-variation-settings: "opsz" 16;
	text-wrap: pretty;
}
.archive-banner-link {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 26px;
	border: 2px solid var(--accent);
	white-space: nowrap;
	transition:
		background 0.2s,
		color 0.2s;
}
.archive-banner-link .arrow {
	transition: transform 0.2s;
}
.archive-banner-link:hover {
	background: var(--accent);
	color: var(--bg);
}
.archive-banner-link:hover .arrow {
	transform: translateX(6px);
}

@media (max-width: 760px) {
	.archive-banner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.archive-banner-link {
		justify-self: start;
		min-width: 0;
		white-space: normal;
	}
}

.archive-banner--secondary {
	background: transparent;
	border-color: var(--rule);
	padding: clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 48px);
}

.archive-banner--secondary::before {
	opacity: 0.3;
}

.archive-banner--secondary .archive-banner-title {
	font-size: clamp(20px, 2vw, 28px);
}

.archive-banner--secondary .archive-banner-link {
	border-color: var(--rule);
	color: var(--ink-soft);
}

.archive-banner--secondary .archive-banner-link:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

/* =========================================================
   Feature split (home + que-es-esto)
   ========================================================= */
.home-feature-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 0;
	/* overflow: hidden defensivo — evita que el cover desborde la columna
	   en Chrome (ver nota en .home-feature-split-cover). */
	overflow: hidden;
	background: var(--bg-block);
	border: 1px solid var(--rule);
	align-items: stretch;
}

.home-feature-split-content {
	padding: clamp(36px, 4.5vw, 72px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.home-feature-split-eyebrow {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}
.home-feature-split-eyebrow a {
	color: var(--ink-soft);
	border-bottom: 1px solid transparent;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.home-feature-split-eyebrow a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.home-feature-split-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(24px, 2.8vw, 36px);
	line-height: 1.05;
	letter-spacing: 0;
	margin: 0 0 22px;
	font-variation-settings: normal;
	text-wrap: balance;
}
.home-feature-split-title a {
	color: var(--ink);
	background-image: linear-gradient(var(--accent), var(--accent));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% 1.5px;
	transition:
		background-size 0.4s ease,
		color 0.2s ease;
}
.home-feature-split-title a:hover {
	background-size: 100% 1.5px;
	color: var(--accent);
}

.home-feature-split-excerpt {
	font-family: var(--font-body);
	font-style: italic;
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.5;
	color: var(--ink-soft);
	margin: 0 0 24px;
	font-variation-settings: "opsz" 17;
	text-wrap: pretty;
	max-width: 50ch;
}

.home-feature-split-readmore {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent);
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.home-feature-split-readmore .arrow {
	transition: transform 0.2s ease;
	display: inline-block;
}
.home-feature-split-readmore:hover .arrow {
	transform: translateX(4px);
}

.home-feature-split-cover {
	display: block;
	/* SIN aspect-ratio en versión de dos columnas. Mismo motivo que en
	   .home-hero-cover: la combinación de aspect-ratio + align-items:stretch
	   en Chrome hace que el cover derive su width de la altura de la fila
	   (que iguala al meta), desbordándose si el meta es alto. Sin aspect-ratio,
	   el cover toma su width de la columna y su height del row, y la imagen
	   interior se recorta vía object-fit: cover.
	   El media query <=920px sí restaura aspect-ratio (single column, sin
	   meta al lado). */
	min-height: 280px;
	overflow: hidden;
	background: var(--ink);
}
.home-feature-split-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-feature-split-cover:hover img {
	transform: scale(1.025);
}

.home-feature-split--reverse {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.home-feature-split--reverse .home-feature-split-cover {
	order: 1;
}
.home-feature-split--reverse .home-feature-split-content {
	order: 2;
}

@media (max-width: 920px) {
	.home-feature-split {
		grid-template-columns: 1fr;
	}
	.home-feature-split--reverse {
		grid-template-columns: 1fr;
	}
	.home-feature-split-cover {
		aspect-ratio: 16 / 9;
	}
	.home-feature-split-content {
		padding: 32px 28px;
	}
}

@media (max-width: 600px) {
	.home-feature-split-cover {
		aspect-ratio: unset;
		height: 70vw;
	}
}

/* =========================================================
   PAIGAR — article
   Estilos para post.vto y relato.vto
   ========================================================= */

/* =========================================================
   POST DETAIL — header centrado + cover full-bleed + body 2-col
   ========================================================= */
.post {
	/* hereda container */
}

.post-hero {
	max-width: var(--container-mid);
	margin: 56px 0 48px;
}

.post-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--rule);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: baseline;
}
.post-eyebrow .sep {
	color: var(--rule);
}
.post-eyebrow .tags {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	color: var(--ink-soft);
}
.post-eyebrow .tags a {
	color: inherit;
	text-decoration: none;
}
.post-eyebrow .tags a:hover {
	color: var(--accent);
}
.post-eyebrow .tags li + li a::before {
	content: ' · ';
	color: var(--rule);
}

.post-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(32px, 5vw, 72px);
	line-height: 1.02;
	letter-spacing: 0;
	color: var(--ink);
	text-wrap: balance;
	margin: 0 0 24px;
}

.post-deck {
	font-family: var(--font-body);
	font-style: italic;
	font-size: clamp(18px, 1.6vw, 24px);
	line-height: 1.4;
	color: var(--ink-soft);
	font-variation-settings: "opsz" 22;
	text-wrap: pretty;
	max-width: 56ch;
	margin: 0;
}

/* Body wrap — grid con aside marginal + columna de lectura.
   Usamos minmax(0, 1fr) en la columna de contenido para evitar
   que un <pre> ancho fuerce la expansión del grid y desborde el wrap. */
.post-body-wrap {
	max-width: 920px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 0 60px;
	align-items: start;
	position: relative;
}

.post-aside {
	position: sticky;
	top: 32px;
	align-self: start;
	font-family: var(--font-mono);
}

.post-aside-date {
	display: block;
	margin-bottom: 32px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--rule);
}
.post-aside-date .day {
	font-family: var(--font-display);
	font-size: 44px;
	line-height: 0.95;
	color: var(--ink);
	display: block;
	letter-spacing: 0;
}
.post-aside-date .month {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent);
	display: block;
	margin-top: 8px;
}
.post-aside-date .year {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	color: var(--ink-faint);
	display: block;
	margin-top: 2px;
}

.post-aside-label {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px;
	display: block;
}

.post-aside-tags {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.post-aside-tags a {
	color: var(--ink-soft);
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	transition:
		color 0.2s,
		border-color 0.2s;
	display: inline-block;
	width: fit-content;
}
.post-aside-tags a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.post-body {
	font-family: var(--font-body);
	font-size: 21px;
	font-weight: 300;
	line-height: 1.72;
	color: var(--ink);
}

.post-body p {
	margin-bottom: 22px;
	text-wrap: pretty;
	hyphens: none;
}

.post-body hr {
	border: none;
	height: 1.5px;
	background: var(--rule);
	width: 80px;
	margin: 3rem auto;
}

/* Drop cap */
.post-body > p:first-of-type::first-letter {
	font-family: var(--font-display);
	font-size: 4.6em;
	float: left;
	line-height: 0.85;
	margin: 0.04em 0.14em -0.04em 0;
	color: var(--accent);
	font-weight: 400;
}

.post-body h2 {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 56px 0 18px;
	color: var(--ink);
	font-variation-settings: "opsz" 28;
	text-wrap: balance;
}
.post-body h2::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	background: var(--accent);
	vertical-align: 0.32em;
	margin-right: 16px;
}

.post-body h3 {
	font-family: var(--font-body);
	font-weight: 500;
	font-style: italic;
	font-size: 22px;
	line-height: 1.3;
	margin: 36px 0 14px;
	color: var(--ink);
	font-variation-settings: "opsz" 18;
}

.post-body h4 {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 32px 0 14px;
}

.post-body ul,
.post-body ol {
	margin: 0 0 24px 0;
	padding-left: 1.6em;
}
.post-body ul {
	list-style: none;
}
.post-body ul li {
	position: relative;
	margin-bottom: 8px;
	padding-left: 4px;
}
.post-body ul li::before {
	content: "";
	position: absolute;
	left: -1.2em;
	top: 0.7em;
	width: 14px;
	height: 1.5px;
	background: var(--accent);
}
.post-body ol {
	list-style: decimal;
	padding-left: 1.6em;
}
.post-body ol li::marker {
	color: var(--accent);
	font-family: var(--font-mono);
	font-weight: 600;
}
.post-body ol li {
	padding-left: 6px;
	margin-bottom: 8px;
}

.post-body blockquote {
	border-left: 4px solid var(--accent);
	padding: 10px 0 10px 28px;
	margin: 44px 0;
	font-style: italic;
	color: var(--ink);
	font-size: clamp(22px, 2.4vw, 26px);
	line-height: 1.45;
	font-variation-settings: "opsz" 24;
	text-wrap: pretty;
}
.post-body blockquote p {
	margin-bottom: 12px;
}
.post-body blockquote p:last-child {
	margin-bottom: 0;
}

.post-body img,
.post-body figure {
	margin: 36px 0;
}
.post-body img {
	width: 100%;
	height: auto;
	display: block;
}
.post-body figure img {
	margin: 0;
}
.post-body figcaption {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 14.5px;
	color: var(--ink-faint);
	margin-top: 10px;
	font-variation-settings: "opsz" 13;
}

.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 36px 0;
	background: var(--bg-block);
}
.video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Figuras anchas dentro del cuerpo: extienden a la derecha del content,
   dado que la columna izquierda la ocupa el aside marginal */
.post-body figure[data-bleed="md"],
.post-body img[data-bleed="md"] {
	width: calc(100% + 60px);
	max-width: none;
}
.post-body figure[data-bleed="lg"],
.post-body img[data-bleed="lg"] {
	width: calc(100% + 200px);
	max-width: none;
}

.post-body a {
	color: var(--accent);
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
}
.post-body a:hover {
	color: var(--accent-deep);
	background: var(--bg-block);
}

.post-body pre {
	background: var(--ink);
	color: var(--bg);
	padding: 24px 28px;
	margin: 28px 0;
	font-family: var(--font-mono);
	font-size: 13.5px;
	line-height: 1.65;
	overflow-x: auto;
	border-left: 4px solid var(--accent);
}
.post-body pre code {
	background: transparent;
	color: inherit;
	padding: 0;
	font-size: inherit;
}

/* Adorno */
.ornament {
	text-align: center;
	font-family: var(--font-display);
	font-size: 14px;
	color: var(--rule);
	margin: 64px auto;
	letter-spacing: 1.2em;
	padding-left: 1.2em;
	user-select: none;
	max-width: var(--container-reading);
}

/* Pie del post */
.post-foot {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--rule);
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.post-nav-item {
	display: block;
	padding: 12px 0;
	text-decoration: none;
}
.post-nav-item--prev {
	text-align: left;
}
.post-nav-item--next {
	text-align: right;
}
.post-nav-label {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
	display: block;
	margin-bottom: 8px;
}
.post-nav-title {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 17px;
	color: var(--ink-soft);
	display: block;
	line-height: 1.4;
	text-wrap: pretty;
	font-variation-settings: "opsz" 16;
}
.post-nav-item:hover .post-nav-title {
	color: var(--accent);
}
.post-nav-empty {
	color: var(--ink-faint);
	opacity: 0.5;
}

/* ---- Sugeridos: 3 entradas relacionadas tras la navegación ---- */
.post-related {
	margin-top: 80px;
	padding-top: 48px;
	border-top: 1px solid var(--rule);
}
.post-related-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent);
	display: block;
	margin-bottom: 28px;
}
.post-related-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}
@media (max-width: 760px) {
	.post-related-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

/* ---- Banner archivo dentro de cada post ---- */
.post .archive-banner {
	margin-top: 64px;
}

/* =========================================================
   RELATOS — layout de lectura larga
   ========================================================= */

.relato-hero {
	max-width: var(--container-reading);
	margin: 56px 0 48px;
}

.relato-eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 20px;
	text-decoration: none;
	border-bottom: none;
}
.relato-eyebrow:hover {
	color: var(--accent-deep);
}

.relato-body-wrap {
	max-width: var(--container-reading);
	margin: 64px auto 80px;
}

/* Cabeceras de capítulo (## I, ## Título…): alineadas a la izquierda */
.relato-body h2 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0;
	text-align: left;
	margin: 72px 0 40px;
}
.relato-body h2::before {
	display: none;
}

/* Bloque de autor al pie del relato */
.relato-author {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: var(--container-reading);
	margin: 0 auto 64px;
	padding: 28px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}
.relato-author-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.relato-author-name {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 6px;
}
.relato-author-bio {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 16px;
	color: var(--ink-soft);
	line-height: 1.5;
}


/* =========================================================
   RESPONSIVE — article (post y relato)
   ========================================================= */
@media (max-width: 720px) {
	.post-hero {
		margin: 32px auto 32px;
	}
	.post-title {
		font-size: clamp(32px, 9vw, 56px);
		margin-bottom: 18px;
	}
	.post-deck {
		font-size: 17px;
	}
	.post-body-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	/* Aside en móvil: dos filas, todo inline */
	.post-aside {
		position: static;
		padding-bottom: 18px;
		margin-bottom: 28px;
		border-bottom: 1px solid var(--rule);
		display: block;
	}
	.post-aside-date {
		margin-bottom: 10px;
		padding-bottom: 0;
		border-bottom: 0;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 10px;
		font-family: var(--font-mono);
	}
	.post-aside-date .day,
	.post-aside-date .month,
	.post-aside-date .year {
		display: inline;
		font-family: var(--font-mono);
		font-size: 10.5px;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		margin: 0;
		line-height: 1.3;
	}
	.post-aside-date .day {
		color: var(--ink);
		font-weight: 700;
	}
	.post-aside-date .month {
		color: var(--accent);
		font-weight: 700;
	}
	.post-aside-date .year {
		color: var(--ink-faint);
		font-weight: 500;
	}

	.post-aside-tags-wrap {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 14px;
	}
	.post-aside-label {
		margin-bottom: 0;
		margin-right: 0;
	}
	.post-aside-tags {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 14px;
	}
	.post-body {
		font-size: 18.5px;
	}
	.post-body > p:first-of-type::first-letter {
		font-size: 4em;
	}
	.post-body figure[data-bleed="md"],
	.post-body img[data-bleed="md"],
	.post-body figure[data-bleed="lg"],
	.post-body img[data-bleed="lg"] {
		width: 100%;
	}

	.post-nav {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.post-nav-item--next {
		text-align: left;
	}

	.ornament {
		margin: 40px auto;
		font-size: 12px;
	}
}

/* =========================================================
   MICRO-ANIMACIÓN al cargar el post
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
	.post-title {
		animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}
	.post-eyebrow {
		animation: fade 0.6s ease both;
		animation-delay: 0.05s;
	}
	.post-cover,
	.post-poster {
		animation: fade 0.7s ease both;
		animation-delay: 0.15s;
	}
	@keyframes rise {
		from {
			opacity: 0;
			transform: translateY(14px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	@keyframes fade {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
}

/* =========================================================
   CTA "Abrir en página propia" — dentro de posts con prototype
   ========================================================= */
.prototype-fullscreen-cta {
	margin: 32px 0 16px;
	padding: 0;
	text-align: center;
}
.prototype-fullscreen-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent);
	border-bottom: 1px solid currentColor;
	padding-bottom: 4px;
	transition: color 0.2s;
}
.prototype-fullscreen-link .arrow {
	transition: transform 0.2s;
}
.prototype-fullscreen-link:hover {
	color: var(--accent-deep);
}
.prototype-fullscreen-link:hover .arrow {
	transform: translateX(4px);
}
