/* ===========================================================
   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 — home
   Estilos exclusivos de la portada (/)
   ========================================================= */

/* La marca de la cabecera es el h1 de la portada (parciales/nameplate.twig). Sin márgenes ni
   tipografía propios, y un flex para que el enlace se coloque como si estuviera suelto. */
.site-header-h1 {
	display: flex;
	margin: 0;
	font: inherit;
	min-width: 0;
}

.home {
	/* nada por ahora — los hijos manejan su propio espacio */
}

.home > * + * {
	margin-top: 96px;
}

/* ---- HERO POST — full bleed, sin margen superior ---- */
.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 0;
	/* align-items: stretch (default) es lo que queremos: cover y meta a
	   la misma altura. overflow: hidden es defensivo por si algo
	   desbordara, pero la causa real del bug que tenía Chrome (la cover
	   invadiendo la columna del meta) la hemos cortado quitando el
	   aspect-ratio del cover en este breakpoint — ver más abajo. */
	overflow: hidden;
	background: var(--bg-block);
	margin-top: 0;
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}
.home-hero-cover {
	display: block;
	/* SIN aspect-ratio en la versión de dos columnas: el cover toma su
	   altura del row del grid (que iguala al meta gracias a stretch) y
	   su width del 1.4fr de la columna. La imagen interior usa object-fit:
	   cover, así que se recorta limpiamente a cualquier proporción. El
	   bug de Chrome (cover.width derivado de cover.height vía aspect-ratio,
	   acabando más ancho que la columna) desaparece porque ya no hay
	   aspect-ratio que resolver.
	   La aspect-ratio sí vuelve a aplicarse en la versión <=920px (single
	   column), donde no hay meta al lado para emparejar altura. */
	min-height: 320px;
	overflow: hidden;
	background: var(--ink);
	position: relative;
}
.home-hero-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-hero-cover:hover img {
	transform: scale(1.025);
}

.home-hero-meta {
	padding: clamp(36px, 4vw, 80px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	max-width: 720px;
}
.home-hero-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-hero-eyebrow .sep {
	color: var(--rule);
}
.home-hero-eyebrow a {
	color: var(--ink-soft);
	border-bottom: 1px solid transparent;
}
.home-hero-eyebrow a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.home-hero-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(32px, 3.4vw, 56px);
	line-height: 1;
	letter-spacing: 0;
	margin-bottom: 22px;
	color: var(--ink);
	text-wrap: balance;
}
.home-hero-title a {
	color: inherit;
	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-hero-title a:hover {
	background-size: 100% 1.5px;
	color: var(--accent);
}

.home-hero-excerpt {
	font-family: var(--font-body);
	font-style: italic;
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.5;
	color: var(--ink-soft);
	margin-bottom: 24px;
	font-variation-settings: "opsz" 17;
	text-wrap: pretty;
	max-width: 50ch;
}
.home-hero-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;
}
.home-hero-readmore .arrow {
	transition: transform 0.2s ease;
	display: inline-block;
	margin-left: 6px;
}
.home-hero-readmore:hover .arrow {
	transform: translateX(4px);
}

/* ---- BENTO ---- */
.home-bento-eyebrow,
.home-grid-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: 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rule);
}

/* Bento estilo apetogentleman: 1 grande con bg gris a la izquierda
   ocupando 3 filas + 6 pequeños 2×3 con título centrado a la derecha */
.home-bento {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: repeat(3, auto);
	gap: 28px 28px;
}

/* Tarjeta grande izquierda: ocupa col 1, span 3 filas, fondo gris */
.home-bento > li:first-child {
	grid-column: 1;
	grid-row: 1 / 4;
	display: flex;
}
.home-bento > li:first-child > .post-card {
	flex: 1;
	background: var(--bg-block);
	display: flex;
	flex-direction: column;
}
.home-bento > li:first-child .post-card-cover {
	margin-bottom: 0;
	aspect-ratio: 16 / 10;
	flex: 0 0 auto;
}
.home-bento > li:first-child .post-card-body {
	padding: clamp(24px, 2.4vw, 40px) clamp(28px, 2.8vw, 44px)
		clamp(28px, 3vw, 44px);
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.home-bento > li:first-child .post-card-excerpt {
	flex: 1 1 auto;
}
.home-bento > li:first-child .post-card-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.05;
	letter-spacing: 0;
	font-variation-settings: normal;
}

/* Tarjetas pequeñas derecha: solo imagen + título centrado */
.home-bento > li:not(:first-child) > .post-card {
	text-align: center;
}
.home-bento > li:not(:first-child) .post-card-eyebrow,
.home-bento > li:not(:first-child) .post-card-excerpt,
.home-bento > li:not(:first-child) .post-card-readmore {
	display: none;
}
.home-bento > li:not(:first-child) .post-card-cover {
	margin-bottom: 14px;
	aspect-ratio: 4 / 3;
}
.home-bento > li:not(:first-child) .post-card-title {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 16.5px;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 auto;
}

.home-bento > li:not(:first-child) .post-card-title a,
.home-grid-cards--compact .post-card-title a {
	padding-bottom: 0;
}


/* ---- MANIFIESTO (cita Blade Runner) ----
   Full-bleed con la imagen del post de Blade Runner como fondo, degradado
   oscuro fuerte encima para legibilidad. Cita en cream italic, links cream. */
.home-manifesto {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: clamp(80px, 15vw, 240px) clamp(28px, 5vw, 80px);
	min-height: 520px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--ink);
	background-image:
		linear-gradient(rgba(24, 24, 26, 0.78) 0%, rgba(24, 24, 26, 0.92) 100%),
		var(--bg-image, none);
	background-size: cover;
	background-position: center;
	color: var(--bg);
	text-align: center;
	overflow: hidden;
}

.home-manifesto-quote {
	margin: 0 auto;
	max-width: 1200px;
	font-family: var(--font-display);
	font-size: clamp(20px, 2.3vw, 34px);
	line-height: 1.4;
	font-weight: 600;
	font-variation-settings: "opsz" 26;
	color: var(--bg);
	text-wrap: pretty;
	padding: 0;
	border: 0;
	position: relative;
	z-index: 1;
}
.home-manifesto-quote p {
	margin: 0 0 20px;
}
.home-manifesto-quote p:last-of-type {
	margin-bottom: 0;
}

/* Cita marcada con comillas francesas: aperturas y cierres en bermellón */
.home-manifesto-quote p:first-of-type::before {
	content: "«";
	margin-right: 4px;
	color: var(--accent-soft);
	font-style: normal;
}
.home-manifesto-quote p:last-of-type::after {
	content: "»";
	margin-left: 4px;
	color: var(--accent-soft);
	font-style: normal;
}

.home-manifesto-links {
	margin-top: 44px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 40px;
	position: relative;
	z-index: 1;
}
.home-manifesto-links a {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent-soft);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease;
}
.home-manifesto-links a .arrow {
	transition: transform 0.2s ease;
	display: inline-block;
}
.home-manifesto-links a:hover {
	color: var(--bg);
}
.home-manifesto-links a:hover .arrow {
	transform: translateX(4px);
}

@media (max-width: 600px) {
	.home-manifesto {
		padding: 56px 22px;
		min-height: 380px;
	}
	.home-manifesto-quote {
		font-size: 19px;
	}
	.home-manifesto-links {
		flex-direction: column;
		align-items: center;
		gap: 14px;
	}
}

/* ---- ABOUT INTERLUDE ---- */
.home-about {
	background: var(--ink);
	color: var(--bg);
	padding: clamp(56px, 6vw, 96px) clamp(32px, 5vw, 80px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 32px clamp(40px, 6vw, 80px);
	align-items: start;
	position: relative;
	overflow: hidden;
}
.home-about::before {
	content: "P.";
	position: absolute;
	bottom: -32px;
	right: -16px;
	font-family: var(--font-display);
	font-size: clamp(180px, 26vw, 360px);
	line-height: 1;
	color: var(--accent);
	opacity: 0.35;
	pointer-events: none;
	user-select: none;
}
.home-about-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent-soft);
	display: block;
}
.home-about-content {
	position: relative;
	z-index: 1;
}
.home-about-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.05;
	margin-bottom: 24px;
	color: var(--bg);
	letter-spacing: 0;
}
.home-about-text {
	font-family: var(--font-body);
	font-size: clamp(17px, 1.3vw, 20px);
	line-height: 1.6;
	color: rgba(242, 242, 240, 0.82);
	margin-bottom: 24px;
	font-variation-settings: "opsz" 18;
	text-wrap: pretty;
	max-width: 56ch;
}
.home-about-link {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent-soft);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
.home-about-link:hover {
	color: var(--bg);
	border-bottom-color: var(--bg);
}

/* ---- FEATURED POST — full bleed con imagen y texto sobreimpreso ---- */
.home-featured {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	aspect-ratio: 24 / 9;
	min-height: 520px;
	overflow: hidden;
	background: var(--ink);
}
.home-featured-link {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
.home-featured-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-featured-link:hover img {
	transform: scale(1.04);
}
.home-featured-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: clamp(60px, 10vw, 160px);
	background: linear-gradient(
		to bottom,
		rgba(24, 24, 26, 0.5) 0%,
		rgba(24, 24, 26, 0.7) 100%
	);
	color: var(--bg);
}
.home-featured-eyebrow {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent-soft);
	margin-bottom: 16px;
}
.home-featured-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(34px, 4.4vw, 64px);
	line-height: 1;
	margin-bottom: 16px;
	color: var(--bg);
	letter-spacing: 0;
	max-width: 24ch;
	text-wrap: balance;
}
.home-featured-excerpt {
	font-family: var(--font-body);
	font-style: italic;
	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.5;
	color: rgba(242, 242, 240, 0.85);
	max-width: 60ch;
	font-variation-settings: "opsz" 16;
	margin-bottom: 0;
}

/* ---- GRID variants (home-only) ---- */
.home-grid-cards--compact {
	gap: 20px 40px;
}
.home-grid-cards--compact .post-card-cover {
	margin-bottom: 10px;
	aspect-ratio: 14 / 9;
}
.home-grid-cards--compact .post-card-title {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 16.5px;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
}
.home-grid-cards.minimal .post-card-eyebrow {
	display: none;
}


@media (max-width: 920px) {
	.home > * + * {
		margin-top: 64px;
	}
	.home-hero {
		grid-template-columns: 1fr;
	}
	.home-hero-cover {
		aspect-ratio: 16 / 9;
	}
	.home-hero-meta {
		padding: 32px 28px;
	}
	.home-bento {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.home-about {
		grid-template-columns: 1fr;
		padding: 48px 32px;
	}
	.home-featured {
		aspect-ratio: 4 / 3;
	}
}

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