/* El Langoy Podcast. Contorno negro, rojo del logo y sombra dura, como en una viñeta.
   Una sola columna, sin dependencias externas. */

@font-face { font-family: "Bangers"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/bangers-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #FFFDF9;
  --surface: #FFFFFF;
  --ink: #1C1410;
  --muted: #5F5650;
  --line: #E7DED5;
  --red: #D8121A;
  --red-ink: #C20F17;
  --on-red: #FFFFFF;
  --shadow: #1C1410;
  --dot: rgba(216, 18, 26, 0.13);
  --font-display: "Bangers", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 1.25rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151110;
    --surface: #211B19;
    --ink: #F7F0E9;
    --muted: #B3A79E;
    --line: #3A302B;
    --red-ink: #FF6A70;
    --shadow: #D8121A;
    --dot: rgba(255, 90, 96, 0.15);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
}
/* Trama de puntos que se desvanece hacia abajo */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 30rem; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.3px, transparent 1.7px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
img, iframe { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: var(--on-red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; }
.skip:focus { left: var(--gutter); top: var(--gutter); }

.wrap { width: min(100% - 2 * var(--gutter), 38rem); margin-inline: auto; padding-block: 2rem 3rem; display: flex; flex-direction: column; gap: 2.25rem; }

/* Cabecera */
.top { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; }
.top h1 { margin: 0; }
.logo { display: block; width: min(80vw, 26rem); height: auto; }
.kicker { margin: 0; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--red-ink); line-height: 1.1; }
.lead { margin: 0; max-width: 32rem; color: var(--muted); font-size: 1.0625rem; text-wrap: balance; }

h2 { margin: 0 0 0.9rem; font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; letter-spacing: 0.04em; line-height: 1.1; }
section { display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* Botones: contorno, esquinas suaves y sombra dura */
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: 3.5rem; padding: 0.7rem 1rem;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--shadow);
  text-decoration: none; font-weight: 700;
}
.btn-primary { background: var(--red); color: var(--on-red); box-shadow: 4px 4px 0 var(--ink); }
.btn-text { display: flex; flex-direction: column; min-width: 0; }
.btn-name { font-weight: 700; line-height: 1.2; }
.btn-sub { font-size: 0.8125rem; font-weight: 500; opacity: 0.8; line-height: 1.3; }
.arrow { flex: none; width: 1.1rem; height: 1.1rem; }
.btn-inline { display: inline-flex; width: auto; }
.btn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 30rem) { .btn-grid { grid-template-columns: minmax(0, 1fr); } }

/* Episodios */
.eps { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.ep { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr) auto; align-items: center; gap: 0.85rem; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.num { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; color: var(--red-ink); line-height: 1; }
.ep-body { display: flex; flex-direction: column; min-width: 0; }
.ep-title { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; text-wrap: balance; }
.ep-meta { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ep .arrow { color: var(--muted); }
.ep:hover .ep-title { color: var(--red-ink); text-decoration: underline; text-underline-offset: 0.18em; }
.ep:hover .arrow { color: var(--red-ink); }
.player { display: block; border: 0; border-radius: 12px; margin-top: 1.25rem; background: var(--surface); }

/* Patreon */
.support { padding: 1.25rem; background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.support h2 { margin: 0; }
.support p { margin: 0; color: var(--muted); }

/* Redes */
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
@media (max-width: 34rem) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chip { display: flex; flex-direction: column; height: 100%; padding: 0.7rem 0.85rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--surface); text-decoration: none; }
.chip-name { font-weight: 700; line-height: 1.25; }
.chip-sub { font-size: 0.75rem; color: var(--muted); overflow-wrap: anywhere; line-height: 1.35; }
.chip:hover { border-color: var(--red-ink); }
.chip:hover .chip-name { color: var(--red-ink); }

/* Pie */
.foot { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.foot p { margin: 0; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.85rem; font-size: 0.9375rem; }
.contact span { color: var(--muted); }
.contact a { font-weight: 500; overflow-wrap: anywhere; }
.copy { font: inherit; font-size: 0.8125rem; font-weight: 500; cursor: pointer; padding: 0.25rem 0.7rem; color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: 8px; }
.copy:hover { background: var(--ink); color: var(--bg); }
.small { font-size: 0.75rem; color: var(--muted); }

/* 404 */
.lost { align-items: center; text-align: center; padding-block: 3rem; }
.h404 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 8vw, 2.75rem); letter-spacing: 0.04em; line-height: 1.1; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .support, .chip { transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s; }
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow); }
  .btn-primary:hover { box-shadow: 5px 5px 0 var(--ink); }
  .btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
  .btn-primary:active { box-shadow: 1px 1px 0 var(--ink); }
}
@media print { body::before, .player { display: none; } }
