/* --------------------------------------------------------------------------
   FUENTE DE LECTURA
   Esta es la tipografía de los textos largos del blog. Para cambiarla, mueve
   las marcas de comentario: deja activa UNA línea @import y UNA línea
   --f-lectura, y deja las otras dos comentadas.

   1 · IBM Plex Mono  — terminal de computadora, retro y legible (la actual)
   2 · Space Grotesk  — proporcional, más descansada para textos largos
   3 · IBM Plex Sans  — la más neutra y legible de las tres
   -------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap"); */
/* @import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,600;1,400&display=swap"); */

/* ==========================================================================
   alobyte.net — style.css
   Reconstrucción del mockup de referencia: ventana de navegador de 1999,
   masthead con skyline, barra lateral tipo menú de consola y paneles de borde
   cian sobre teal profundo.

   1 tokens · 2 reset · 3 ventana · 4 masthead · 5 barra lateral · 6 hero
   7 tarjetas rápidas · 8 paneles · 9 featured · 10 síguete · 11 pie
   12 componentes de contenido · 13 utilidades
   ========================================================================== */

/* 1 · TOKENS ============================================================== */
:root {
  /* Base — Pantone Deep Teal 19-4914 llevado a pantalla CRT */
  --bg: #001d20;
  --bg-deep: #001416;
  --panel: #00181a;
  --panel-2: #002226;
  --ink: #000e0f;

  --edge: #2b7375;
  --edge-soft: #164a4c;
  --cyan: #7fe9ec;
  --cyan-dim: #4fbfc4;
  --cream: #eae4d2;
  --cream-hi: #fbf7e6;
  --gold: #f8f1a6;
  --naranja: #f97316;

  /* Chrome de la ventana */
  --navy: #00125e;
  --chrome: #9b9a9d;
  --chrome-hi: #e4e3e6;
  --chrome-sh: #45444a;
  --red: #c42a1c;

  /* Tipografía */
  --f-display: "Press Start 2P", "Courier New", monospace;
  --f-ui: "Silkscreen", "Courier New", monospace;
  --f-body: "Pixelify Sans", "Trebuchet MS", sans-serif;

  /* Textos largos del blog. Cambia solo esta línea (ver arriba). */
  --f-lectura: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  /* --f-lectura: "Space Grotesk", system-ui, sans-serif; */
  /* --f-lectura: "IBM Plex Sans", system-ui, sans-serif; */

  --t-xs: 11px;
  --t-sm: 13px;
  --t-base: 16px;
  --t-md: 18px;

  --gap: 12px;
  --win: 1060px;
}

/* 2 · RESET =============================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: #05161a; }

body {
  margin: 0;
  padding: 18px 12px 28px;
  background: radial-gradient(90% 70% at 50% 0%, #0a2a2c 0%, #041113 60%, #020a0b 100%);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.5;
}

img { max-width: 100%; display: block; image-rendering: pixelated; }
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 400; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--f-ui);
  padding: 8px 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Capa CRT global */
.crt {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
  opacity: 0.6;
}
.grain {
  position: fixed;
  inset: -40%;
  z-index: 901;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(2%, -1%); }
  100% { transform: translate(0, 0); }
}

/* 3 · VENTANA ============================================================= */
/* Sin marco gris alrededor de la página: al hacer scroll quedaba una barra
   plateada suelta en los cantos. El aire de ventana lo dan la barra de título
   y la de dirección, que sí conservan su bisel. */
.win {
  max-width: var(--win);
  margin: 0 auto;
  background: var(--ink);
  border: 0;
  padding: 0;
  box-shadow: 0 0 0 1px #24292b, 0 18px 50px rgba(0, 0, 0, 0.6);
}

.win__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 6px 7px 8px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 55%, #123182 100%);
  color: #fff;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  letter-spacing: 0.02em;
}
.win__ico {
  width: 18px;
  height: 18px;
  flex: none;
  background: linear-gradient(135deg, #3aa0c8 0%, #1d5f8f 100%);
  border: 1px solid #0a2a4a;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5);
}
.win__title-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__title-text em { font-style: normal; color: #aab4ee; padding: 0 5px; }
.win__btns { margin-left: auto; display: flex; gap: 3px; }
.winbtn {
  width: 24px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--chrome);
  border-top: 2px solid var(--chrome-hi);
  border-left: 2px solid var(--chrome-hi);
  border-right: 2px solid var(--chrome-sh);
  border-bottom: 2px solid var(--chrome-sh);
  font-family: var(--f-ui);
  font-size: 10px;
  line-height: 1;
  color: #101010;
  cursor: pointer;
  padding: 0;
}
.winbtn:active { border-color: var(--chrome-sh) var(--chrome-hi) var(--chrome-hi) var(--chrome-sh); }
.winbtn--close { background: var(--red); color: #fff; }
.winbtn--close:hover { background: #e8412f; }

/* Barra de herramientas */
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #b9b8bb 0%, #9b9a9d 55%, #8d8c90 100%);
  border-top: 1px solid var(--chrome-hi);
  border-bottom: 2px solid var(--chrome-sh);
}
.tb-btn {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.tb-btn svg { width: 26px; height: 26px; }
.tb-btn:hover {
  border-color: var(--chrome-hi) var(--chrome-sh) var(--chrome-sh) var(--chrome-hi);
  background: rgba(255, 255, 255, 0.18);
}
.tb-sep { width: 2px; height: 26px; background: linear-gradient(90deg, var(--chrome-sh) 0 1px, var(--chrome-hi) 1px 2px); }
.addr {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  background: linear-gradient(180deg, #f2efee 0%, #dcd7d4 100%);
  border-top: 2px solid var(--chrome-sh);
  border-left: 2px solid var(--chrome-sh);
  border-right: 2px solid var(--chrome-hi);
  border-bottom: 2px solid var(--chrome-hi);
}
.addr svg { width: 18px; height: 18px; flex: none; }
.addr__url {
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  color: #101a3a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.addr__go {
  margin-left: auto;
  padding: 2px 7px;
  background: var(--chrome);
  border-top: 2px solid var(--chrome-hi);
  border-left: 2px solid var(--chrome-hi);
  border-right: 2px solid var(--chrome-sh);
  border-bottom: 2px solid var(--chrome-sh);
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  color: #2a2a2a;
  cursor: pointer;
}
.toolbar__motto {
  flex: none;
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  line-height: 1.35;
  color: #17203f;
}

/* Lienzo de la página */
.page {
  position: relative;
  padding: 0 14px;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #002226 0%, var(--bg) 40%, #00171a 100%);
  border-top: 2px solid #0a3a3c;
}
/* Las tiras verticales de los cantos se quitaron: leían como un glitch. */

/* 4 · MASTHEAD ============================================================ */
.masthead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46%;
  min-height: 178px;
  overflow: hidden;
  border-bottom: 1px solid #0c3f41;
}
.masthead__brand {
  position: relative;
  z-index: 2;
  padding: 22px 0 18px 12px;
  align-self: center;
}
/* El logotipo reemplaza al wordmark tipográfico */
.wordmark {
  display: block;
  width: clamp(230px, 46vw, 520px);
  line-height: 0;
}
.wordmark img {
  width: 100%;
  height: auto;
  image-rendering: auto;   /* el logo ya trae su propio pixelado */
}
.kicker {
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: clamp(10px, 1.45vw, 15px);
  letter-spacing: 0.12em;
  color: var(--cream);
}
.kicker span { color: var(--cyan-dim); padding: 0 6px; }

.masthead__art { position: absolute; inset: 0 0 0 46%; z-index: 1; }
.masthead__art img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.masthead__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(0, 29, 32, 0.45) 14%, rgba(0, 29, 32, 0) 34%);
}

/* 5 · DISPOSICIÓN + BARRA LATERAL ========================================= */
.layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: var(--gap);
  padding: var(--gap) 0;
  align-items: start;
}
.sidebar { display: grid; gap: var(--gap); }
.content { display: grid; gap: var(--gap); min-width: 0; }
.lower {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

/* Menú principal */
.menu { border: 2px solid var(--edge); background: var(--panel); padding: 6px; }
.menu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: var(--cream);
  font-family: var(--f-ui);
  font-size: var(--t-base);
  letter-spacing: 0.06em;
  border: 2px solid transparent;
}
.menu li + li .menu__link { border-top: 1px solid var(--edge-soft); }
.menu__link svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--cream); stroke-width: 2; }
.menu__link:hover { color: var(--cyan); background: #002a2d; padding-left: 14px; }
.menu__link:hover svg { stroke: var(--cyan); }
.menu__link[aria-current="page"] {
  border-color: var(--cyan);
  color: var(--cream-hi);
  background: #00282b;
}
.menu__link[aria-current="page"] svg { stroke: var(--cream-hi); }

/* PRESS START */
.press { border: 2px solid var(--edge); background: var(--panel); padding: 10px; }
.press__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: transparent;
  border: 2px solid var(--edge);
  color: var(--gold);
  font-family: var(--f-ui);
  font-size: var(--t-base);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
  animation: pulse 2.4s steps(1) infinite;
}
.press__btn .caret { color: var(--naranja); font-size: 18px; }
.press__btn:hover { border-color: var(--cyan); color: var(--cream-hi); animation: none; }
@keyframes pulse { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.55; } }

/* Emblema */
.emblem { text-align: center; padding: 4px 0 2px; }
.emblem img { margin: 0 auto; width: 156px; max-width: 78%; }

/* Etiquetas */
.tags {
  padding: 4px 6px 8px 12px;
  font-family: var(--f-ui);
  font-size: var(--t-base);
  letter-spacing: 0.08em;
  line-height: 1.75;
}
.tags a { color: var(--cream); display: block; }
.tags a:hover { color: var(--cyan); }

/* 6 · HERO ================================================================ */
.hero {
  position: relative;
  border: 2px solid var(--edge);
  background: var(--bg-deep);
  overflow: hidden;
  min-height: 480px;
}
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  image-rendering: auto;        /* el escenario es un render suave, no pixel art */
}
/* Velo suave: da contraste al titular sin tapar la azotea */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 20, 22, 0) 0%,
    rgba(0, 20, 22, 0.1) 34%,
    rgba(0, 20, 22, 0.62) 56%,
    rgba(0, 20, 22, 0.86) 100%);
}

/* El personaje es su propia capa: nunca se recorta y se mueve aparte */
.hero__figure {
  margin: 0;
  position: absolute;
  z-index: 2;
  left: 5%;      /* posición horizontal: más alto = más a la derecha */
  top: 1%;       /* tamaño: más bajo = personaje más grande */
  bottom: 0;
  width: 46%;
  pointer-events: none;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.hero__figure::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 2%;
  height: 7%;
  background: radial-gradient(ellipse at center, rgba(0, 8, 10, 0.8) 0%, rgba(0, 8, 10, 0) 70%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52% minmax(0, 1fr);
  min-height: 480px;
}
.hero__body { grid-column: 2; align-self: center; padding: 26px 22px 26px 6px; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(20px, 4vw, 42px);
  line-height: 1.22;
  color: var(--cream);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
}
.hero__title span { display: block; }
.hero__title sup { font-family: var(--f-ui); font-size: 0.26em; vertical-align: super; }
.hero__sub {
  margin: 18px 0 20px;
  max-width: 30ch;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.45;
}
.hero__note {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 16px;
  text-align: right;
  font-family: var(--f-ui);
  font-size: clamp(11px, 1.6vw, 17px);
  line-height: 1.3;
  color: var(--cyan);
}
.hero__note span { color: var(--cyan-dim); }

/* Botón principal */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 220px;
  padding: 13px 18px;
  background: rgba(0, 24, 26, 0.75);
  border: 2px solid var(--cyan);
  color: var(--cream);
  font-family: var(--f-ui);
  font-size: var(--t-base);
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 4px 0 0 -1px rgba(127, 233, 236, 0.35);
}
.btn .caret { color: var(--naranja); font-size: 18px; }
.btn:hover { background: var(--cyan); color: var(--ink); }
.btn:hover .caret { color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-width: 0; padding: 8px 12px; font-size: var(--t-sm); gap: 10px; }

/* 7 · TARJETAS RÁPIDAS ==================================================== */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.quick__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--edge);
  background: var(--panel);
  color: var(--cream);
}
.quick__card:hover { border-color: var(--cyan); }
.quick__img { aspect-ratio: 172 / 127; overflow: hidden; border-bottom: 1px solid var(--edge-soft); }
.quick__img img { width: 100%; height: 100%; object-fit: cover; }
.quick__img--icono {
  display: grid;
  place-items: center;
  background: radial-gradient(70% 70% at 50% 45%, #012d31 0%, var(--bg-deep) 100%);
}
.quick__img--icono img {
  width: 76%;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}
.quick__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  margin-top: auto;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.quick__label .caret { color: var(--naranja); font-size: 16px; }
.quick__card:hover .quick__label { color: var(--cream-hi); }

/* 8 · PANELES ============================================================= */
.panel { border: 2px solid var(--edge); background: var(--panel); }
.panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge-soft);
  font-family: var(--f-ui);
  font-size: var(--t-base);
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.panel__head .count { margin-left: auto; font-size: var(--t-xs); color: var(--cream); }
.panel__head a.count:hover { color: var(--cyan); }
.panel__body { padding: 14px; }

/* 9 · FEATURED ============================================================ */
.featured__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  padding: 12px;
}
.featured__art { border: 1px solid var(--edge-soft); overflow: hidden; }
.featured__art img { width: 100%; }
.featured__text { padding: 6px 6px 6px 0; align-self: center; }
.post-date {
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  color: var(--cream);
  opacity: 0.85;
}
.post-title {
  margin: 10px 0 12px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.22;
  color: var(--cream-hi);
}
.post-title a { color: inherit; }
.post-desc {
  font-family: var(--f-lectura);
  font-size: 15px;
  line-height: 1.65;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.more::after { content: "\279C"; }
.more:hover { color: var(--cream-hi); }

/* 10 · SÍGUEME ============================================================ */
.follow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.follow__tile {
  display: block;
  border: 1px solid var(--edge);
  background: #000;
  aspect-ratio: 1;
  overflow: hidden;
}
.follow__tile img { width: 100%; height: 100%; object-fit: cover; }
.follow__tile:hover { border-color: var(--cyan); transform: translateY(-2px); }
.follow__note {
  margin: 14px 0 2px;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* 11 · PIE ================================================================ */
.est { display: flex; align-items: center; gap: 12px; padding: 10px 2px 16px; }
.est svg { width: 34px; height: 34px; stroke: var(--naranja); fill: none; stroke-width: 1.5; }
.est__text {
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--naranja);
}
.footer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 -14px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--cyan-dim);
  background: var(--ink);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--t-md);
  color: var(--cream-hi);
}
.footer__brand svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; stroke-width: 1.5; }
.footer__links { margin-left: auto; }
.footer__motto {
  margin: 0 auto;
  font-family: var(--f-ui);
  font-size: var(--t-base);
  letter-spacing: 0.06em;
  color: var(--cream);
}
.footer__links {
  display: flex;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  color: var(--cream);
}
.footer__links a { color: var(--cream); }
.footer__links a:hover { color: var(--cyan); }
.footer__links i { font-style: normal; color: var(--cyan-dim); }
.signal { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.signal i { width: 4px; background: var(--cyan); display: block; }
.signal i:nth-child(1) { height: 6px; }
.signal i:nth-child(2) { height: 10px; }
.signal i:nth-child(3) { height: 14px; }
.signal i:nth-child(4) { height: 18px; }

/* 12 · COMPONENTES DE CONTENIDO =========================================== */
.pagehead { border: 2px solid var(--edge); background: var(--panel); padding: 20px 18px; }
.pagehead h1 {
  font-family: var(--f-display);
  font-size: clamp(20px, 3.4vw, 34px);
  line-height: 1.25;
  color: var(--cream);
}
.pagehead p { margin: 14px 0 0; max-width: 52ch; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge-soft);
}
.filter-label {
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  color: var(--cyan-dim);
  margin-right: 4px;
}
.chip {
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--edge);
  color: var(--cream);
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.chip[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }

.post-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--edge-soft);
}
.post-row:last-child { border-bottom: 0; }
.post-row__art { border: 1px solid var(--edge-soft); overflow: hidden; aspect-ratio: 16 / 10; }
.post-row__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;        /* al reducir, mejor suave que dentada */
}
.post-row__art--grande img { image-rendering: pixelated; }
.post-row:hover .post-row__art { border-color: var(--cyan); }
.post-row .post-title { margin: 8px 0 10px; font-size: clamp(17px, 2vw, 21px); }
.post-row:hover .post-title a { color: var(--cyan); }
.year-mark {
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  color: var(--cyan-dim);
  padding: 14px 0 6px;
  border-bottom: 2px solid var(--edge-soft);
}

.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.vcard { border: 2px solid var(--edge); background: var(--panel); display: flex; flex-direction: column; }
.vcard:hover { border-color: var(--cyan); }
.vcard__art { position: relative; overflow: hidden; border-bottom: 1px solid var(--edge-soft); }
.vcard__art img { width: 100%; height: 100%; object-fit: cover; }
.vcard__art--v { aspect-ratio: 9 / 16; }
.vcard__art--h { aspect-ratio: 16 / 9; }
.vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.vcard__play i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 16px;
  color: var(--cyan);
  background: rgba(0, 16, 18, 0.72);
  border: 2px solid var(--cyan);
}
.vcard__play:hover i { background: var(--cyan); color: var(--ink); }
.vcard__tag {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  background: rgba(0, 14, 15, 0.85);
  border: 1px solid var(--edge);
  font-family: var(--f-ui);
  font-size: 10px;
  color: var(--cream);
}
.vcard__body { padding: 10px; display: grid; gap: 6px; }
.vcard__meta { font-family: var(--f-ui); font-size: 10px; letter-spacing: 0.06em; color: var(--cyan-dim); }
.vcard__title { font-size: var(--t-sm); line-height: 1.3; color: var(--cream-hi); }

.empty {
  grid-column: 1 / -1;
  padding: 36px 16px;
  text-align: center;
  border: 1px dashed var(--edge);
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  color: var(--cyan-dim);
}

.prose { max-width: 60ch; }
.prose p {
  font-family: var(--f-lectura);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.prose strong { font-weight: 600; color: var(--cream-hi); }
.prose em { font-style: italic; }
.prose h3 {
  margin: 26px 0 10px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--cream-hi);
}

.form { display: grid; gap: 14px; max-width: 460px; }
label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  color: var(--cyan-dim);
}
input, textarea, select {
  width: 100%;
  padding: 10px;
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: var(--t-base);
  border: 2px solid var(--edge);
}
input:focus, textarea:focus, select:focus { border-color: var(--cyan); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.form-status { min-height: 1.2em; font-family: var(--f-ui); font-size: var(--t-xs); color: var(--cyan); }
.form-status[data-state="error"] { color: var(--gold); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(0, 8, 9, 0.9);
}
.modal.is-open { display: grid; }
.modal__win {
  width: min(520px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--panel);
  border: 2px solid var(--cyan);
}
.modal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
}
.modal__body { padding: 14px; display: grid; gap: 10px; }
.modal__body img { width: 100%; }

/* 13 · UTILIDADES ========================================================= */
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ui { font-family: var(--f-ui); font-size: var(--t-sm); letter-spacing: 0.06em; }
.dim { color: var(--cyan-dim); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }
.nav-toggle { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .grain { animation: none; opacity: 0.06; }
  .follow__tile:hover { transform: none; }
}

/* 14 · AJUSTES ============================================================ */
.lower--solo { grid-template-columns: minmax(0, 1fr); }

/* Iconos del menú con formas sólidas */
.menu__link svg .solid { fill: var(--cream); stroke: none; }
.menu__link:hover svg .solid { fill: var(--cyan); }
.menu__link[aria-current="page"] svg .solid { fill: var(--cream-hi); }

/* Las tarjetas rápidas son enlaces: sus partes necesitan ser bloques */
.quick__img { display: block; }
.quick__card, .tb-btn { text-decoration: none; }

/* Separación entre bloques repetidos de contenido */
.content > .content { gap: var(--gap); }
