/* V3 — Riso Collage ("El Tablón") — responsive añadido al final */
.v3-root {
  width: 100%;
  min-height: 100%;
  background: #efe6d2;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 15px;
  position: relative;
}

/* TOP */
.v3-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 56px;
  border-bottom: 2px solid var(--ink);
  background: #efe6d2;
}
.v3-top-mark { display: flex; align-items: center; gap: 12px; }
.v3-r {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 0.8;
  color: var(--red);
  background: var(--ink);
  -webkit-text-stroke: 0;
  padding: 0 10px 4px;
  transform: skewX(-6deg);
}
.v3-top-meta { display: flex; flex-direction: column; line-height: 1.05; }
.v3-top-meta strong { font-family: 'Big Shoulders Display', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: 0.04em; }
.v3-top-meta span { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.08em; color: var(--ink-soft); }

.v3-top nav {
  display: flex; gap: 22px; margin-left: 28px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.v3-top nav a { cursor: pointer; color: var(--ink); text-decoration: none; }
.v3-top nav a.active { color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 2px; }

.v3-lang { margin-left: auto; display: flex; gap: 4px; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.v3-lang button {
  border: 1.5px solid var(--ink); background: transparent; padding: 5px 11px;
  border-radius: 50px; font: inherit; cursor: pointer; letter-spacing: 0.1em;
}
.v3-lang button.active { background: var(--ink); color: #efe6d2; }

/* HERO */
.v3-hero {
  padding: 56px 56px 24px;
  position: relative;
  overflow: hidden;
}
.v3-hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.v3-hero-word {
  position: absolute;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 220px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  opacity: 0.18;
}
.v3-w1 { top: -10px; left: 30px; transform: rotate(-3deg); color: var(--pink); -webkit-text-stroke: 0; opacity: 0.7; }
.v3-w2 { top: 70px; right: 60px; transform: rotate(2deg); }
.v3-w3 { bottom: 0; left: 200px; transform: rotate(-1deg); }

.v3-hero-title {
  position: relative;
  margin: 24px 0;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 280px;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  display: flex;
  z-index: 2;
}
.v3-hero-title span { display: inline-block; }
.v3-h-red { color: var(--red); -webkit-text-stroke: 0; transform: translateY(-12px); }

.v3-hero-meta {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-top: 12px;
}
.v3-hero-meta p {
  font-family: 'Newsreader', serif; font-size: 19px; line-height: 1.4;
  margin: 0; max-width: 540px; text-wrap: pretty;
}
.v3-hero-meta em { color: var(--red); font-style: italic; }
.v3-hero-arrow {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; color: var(--red);
  transform: rotate(-4deg);
  animation: v3-bob 2s ease-in-out infinite;
}
@keyframes v3-bob { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(4px); } }

/* FILTERS */
.v3-filters {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 56px;
  background: var(--ink); color: var(--cream);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em;
}
.v3-f-label { color: var(--red-bright); margin-right: 8px; }
.v3-chip {
  background: transparent; border: 1px solid rgba(243,236,225,0.5);
  color: var(--cream); padding: 5px 12px; border-radius: 50px; cursor: pointer;
  font: inherit; letter-spacing: 0.08em; text-transform: uppercase;
}
.v3-chip:hover { border-color: var(--red-bright); color: var(--red-bright); }
.v3-chip.active { background: var(--red-bright); border-color: var(--red-bright); color: #0e0c0a; }
.v3-f-meta { margin-left: auto; color: rgba(243,236,225,0.6); }

/* BOARD */
.v3-board {
  position: relative;
  height: 1100px;
  margin: 28px 32px;
  background:
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(26,23,20,0.04) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(26,23,20,0.04) 32px 33px),
    #d8c9a8;
  border: 1.5px dashed rgba(26,23,20,0.4);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(26,23,20,0.18);
}
.v3-board-marks { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); pointer-events: none; }
.v3-pin {
  position: absolute;
  width: 16px; height: 16px;
  background: radial-gradient(circle at 35% 35%, #ff6a4a, #8a1a10 70%);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.35), inset -2px -2px 4px rgba(0,0,0,0.4), inset 2px 2px 3px rgba(255,255,255,0.4);
  z-index: 30;
}

.v3-card {
  position: absolute;
  width: 320px;
  padding: 14px 14px 18px;
  background: var(--cream);
  border: 1px solid rgba(26,23,20,0.2);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.6) inset;
  cursor: grab;
  user-select: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}
.v3-card.lifted { box-shadow: 0 22px 40px rgba(0,0,0,0.3); transform: rotate(0deg) scale(1.02) !important; cursor: grabbing; transition: none; }
.v3-card.dim { opacity: 0.28; filter: grayscale(0.6); }

.v3-card-tape {
  position: absolute;
  width: 70px; height: 16px; top: -8px;
  background: rgba(220, 200, 130, 0.55);
  background-image: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.3) 100%);
  border-left: 1px dashed rgba(120,90,40,0.2);
  border-right: 1px dashed rgba(120,90,40,0.2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  z-index: 3;
}
.v3-card-photo {
  height: 340px;
  position: relative;
  margin-bottom: 12px;
}
.v3-card-photo[data-photo] {
  background-size: cover !important;
  background-position: center top;
  background-color: #1a1714;
}
.v3-card-photo.tinted-cream[data-photo] { background-color: #2a2620; }
.v3-card-photo.tinted-pink[data-photo]  { background-color: #1a1010; }
.v3-card-photo.tinted-red[data-photo]   { background-color: #050505; }
.v3-card-num {
  position: absolute; top: 8px; left: 10px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 48px; font-weight: 900; line-height: 0.85;
  color: rgba(255,240,230,0.85);
  z-index: 2;
}
.v3-card-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--red); margin-bottom: 6px;
}
.v3-card-title {
  margin: 0 0 8px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800; font-size: 28px;
  line-height: 0.95; letter-spacing: -0.005em;
  text-transform: uppercase; text-wrap: balance;
}
.v3-card-lead {
  margin: 0 0 12px;
  font-family: 'Newsreader', serif;
  font-size: 13.5px; line-height: 1.4;
  color: var(--ink-soft); text-wrap: pretty;
}
.v3-card-foot {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-soft); padding-top: 10px;
  border-top: 1px dashed rgba(26,23,20,0.3);
}
.v3-card-foot span:first-child { color: var(--red); }
.v3-card-handwrite { font-family: 'Caveat', cursive; font-size: 18px; letter-spacing: 0; color: var(--ink); transform: rotate(-4deg); display: inline-block; }

/* VER → button — pill with red fill */
.v3-card-ver {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  padding: 5px 13px;
  border-radius: 50px;
  line-height: 1;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}
.v3-card-ver:hover {
  background: var(--ink);
  transform: scale(1.04);
}

/* STICKY */
.v3-sticky {
  position: absolute;
  padding: 16px 14px 12px;
  font-family: 'Caveat', 'Patrick Hand', cursive;
  font-size: 17px; line-height: 1.25;
  color: var(--ink);
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
  cursor: grab; user-select: none;
}
.v3-sticky::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-7px);
  width: 50px; height: 16px;
  background: rgba(220,200,130,0.7);
  background-image: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.3) 100%);
}
.v3-sticky p { margin: 0; white-space: pre-line; }
.v3-sticky-sig { display: block; margin-top: 8px; color: var(--red); font-size: 22px; }

/* POSTCARD agenda */
.v3-postcard {
  position: absolute;
  width: 280px;
  background: var(--cream);
  padding: 18px 18px 22px;
  border: 1px solid rgba(26,23,20,0.4);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  cursor: grab; user-select: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.v3-postcard.lifted { box-shadow: 0 22px 40px rgba(0,0,0,0.3); transform: rotate(0deg) scale(1.02) !important; }
.v3-postcard header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800; font-size: 36px; line-height: 0.9;
  letter-spacing: -0.01em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 12px;
}
.v3-postcard header span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--red); letter-spacing: 0.08em; }
.v3-postcard ul { list-style: none; padding: 0; margin: 0 0 16px; }
.v3-postcard li {
  display: grid; grid-template-columns: 56px 1fr; gap: 2px 8px;
  padding: 6px 0; border-bottom: 1px dotted rgba(26,23,20,0.3);
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
}
.v3-postcard time { color: var(--red); letter-spacing: 0.08em; grid-row: span 2; align-self: center; }
.v3-postcard strong { font-family: 'Newsreader', serif; font-weight: 600; font-size: 13px; letter-spacing: 0; }
.v3-postcard em { font-style: normal; color: var(--ink-soft); letter-spacing: 0.04em; }
.v3-postcard footer {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.1em; color: var(--ink-soft);
  border-top: 1px dashed rgba(26,23,20,0.3); padding-top: 10px;
}
.v3-stamp {
  width: 40px; height: 50px; border: 1.5px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--red); transform: rotate(8deg);
  background: linear-gradient(135deg, var(--cream), var(--paper));
}

.v3-scrawl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 25; }

/* MANIFEST */
.v3-manifest {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  padding: 56px 56px;
  background: var(--ink);
  color: var(--cream);
  border-top: 2px solid var(--red);
}
.v3-manifest-text h2 {
  margin: 0 0 18px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800; font-size: 88px; line-height: 0.92;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.v3-manifest-text h2 em {
  font-family: 'Newsreader', serif; font-style: italic; font-weight: 400;
  text-transform: none; color: var(--red-bright); font-size: 0.78em; letter-spacing: 0;
}
.v3-manifest-text p {
  font-family: 'Newsreader', serif; font-size: 19px; line-height: 1.5;
  max-width: 580px; color: rgba(243,236,225,0.85); text-wrap: pretty;
}
.v3-manifest-text strong { color: var(--red-bright); font-style: italic; }

.v3-collab h6 {
  margin: 0 0 12px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; color: var(--red-bright);
}
.v3-collab ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.v3-collab li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dotted rgba(243,236,225,0.25);
}
.v3-collab strong { font-family: 'Big Shoulders Display', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; }
.v3-collab span { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(243,236,225,0.55); letter-spacing: 0.04em; }

/* FOOT */
.v3-foot {
  padding: 56px;
  background: #efe6d2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.v3-foot-mark {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 200px; line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--red);
  text-transform: uppercase;
  -webkit-text-stroke: 0;
}
.v3-foot-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.v3-foot-cols h6 { margin: 0 0 8px; font-size: 10px; letter-spacing: 0.12em; color: var(--ink-soft); }
.v3-foot-cols a, .v3-foot-cols span { display: block; padding: 2px 0; cursor: pointer; }
.v3-foot-cols a:hover { color: var(--red); }
.v3-foot-fine {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--ink-soft); letter-spacing: 0.08em;
  border-top: 1px dashed rgba(26,23,20,0.3); padding-top: 12px;
}

/* ==========================================================================
   RESPONSIVE — tablet y móvil
   ========================================================================== */

/* ── Tablet (≤ 1024px) ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .v3-top { padding: 18px 28px; }
  .v3-hero { padding: 40px 28px 20px; }
  .v3-hero-title { font-size: 180px; }
  .v3-hero-word { font-size: 140px; }
  .v3-filters { padding: 14px 28px; }
  .v3-board { margin: 20px 18px; }
  .v3-manifest { padding: 48px 28px; }
  .v3-manifest-text h2 { font-size: 64px; }
  .v3-foot { padding: 40px 28px; }
  .v3-foot-mark { font-size: 140px; }
}

/* ── Móvil (≤ 768px) ───────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Header */
  .v3-top {
    flex-wrap: wrap;
    padding: 14px 18px;
    gap: 10px;
  }
  .v3-top nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .v3-top nav::-webkit-scrollbar { display: none; }
  .v3-lang { margin-left: 0; }
  .v3-r { font-size: 44px; }
  .v3-top-meta strong { font-size: 18px; }

  /* Hero */
  .v3-hero { padding: 28px 18px 14px; }
  .v3-hero-title { font-size: clamp(72px, 20vw, 150px); }
  .v3-hero-word { font-size: clamp(50px, 14vw, 100px); }
  .v3-w1 { top: -6px; left: 10px; }
  .v3-w2 { top: 40px; right: 10px; }
  .v3-w3 { left: 60px; }
  .v3-hero-meta { flex-direction: column; gap: 10px; }
  .v3-hero-meta p { font-size: 16px; max-width: 100%; }
  .v3-hero-arrow { display: none; }

  /* Filters */
  .v3-filters { padding: 12px 18px; flex-wrap: wrap; gap: 6px; }
  .v3-f-meta { display: none; }

  /* Board — de tablón flotante a lista vertical */
  .v3-board {
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 16px;
    margin: 16px 12px;
    overflow: visible;
  }
  .v3-card {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    cursor: default;
    box-sizing: border-box;
  }
  .v3-card.lifted { box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
  .v3-postcard {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    cursor: default;
    box-sizing: border-box;
  }
  .v3-sticky {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .v3-pin { display: none; }
  .v3-scrawl { display: none; }
  .v3-board-marks { display: none; }

  /* Manifest */
  .v3-manifest {
    grid-template-columns: 1fr;
    padding: 36px 18px;
    gap: 28px;
  }
  .v3-manifest-text h2 { font-size: clamp(48px, 12vw, 72px); }
  .v3-manifest-text p { font-size: 16px; }

  /* Footer */
  .v3-foot { padding: 36px 18px; }
  .v3-foot-mark { font-size: 80px; }
  .v3-foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ── Móvil pequeño (≤ 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .v3-hero-title { font-size: clamp(58px, 16vw, 80px); }
  .v3-foot-mark { font-size: 58px; }
  .v3-foot-cols { grid-template-columns: 1fr; }
  .v3-collab strong { font-size: 15px; }
}
