:root {
  --paper: #f3f0e8;
  --ink: #111110;
  --red: #ff3b1f;
  --grey: #8b877e;
  --line: rgba(17,17,16,.18);
  --pink: #f0327c;
  --px: clamp(16px, 4vw, 56px);
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.d { font-family: var(--sans); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .82; letter-spacing: -.005em; }
.m { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ── BARRA ─────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50; height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--px); background: var(--paper); border-bottom: 1.5px solid var(--ink);
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.03em; text-decoration: none; font-stretch: 85%; }
.logo span { color: var(--red); }
.nav { display: flex; gap: clamp(14px,2vw,30px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; font-stretch: 85%; }
.nav a:hover { color: var(--red); }
.top .m { color: var(--grey); }
.menu-btn { display: none; background: none; border: 0; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }

/* ── CABECERA: crea y destruye ─────────── */
.hero { position: relative; height: calc(100svh - 56px); min-height: 560px; background: var(--ink); overflow: hidden; }
.panels { position: absolute; inset: 0; display: flex; gap: 3px; }
.panel { position: relative; flex: 1; overflow: hidden; transition: flex .7s cubic-bezier(.7,0,.2,1); }
.panel img { width: 100%; height: 100%; object-fit: cover; transform: translateY(102%); animation: up 1.1s cubic-bezier(.7,0,.2,1) forwards; }
.panel:nth-child(2) img { animation-delay: .08s } .panel:nth-child(3) img { animation-delay: .16s }
.panel:nth-child(4) img { animation-delay: .24s } .panel:nth-child(5) img { animation-delay: .32s }
@keyframes up { to { transform: none; } }
@media (hover: hover) { .panels:hover .panel { flex: .8; } .panels .panel:hover { flex: 2.6; } }
.hero-word {
  position: absolute; left: var(--px); right: var(--px); bottom: clamp(18px,4svh,40px); z-index: 2;
  color: var(--paper); pointer-events: none;
  font-size: clamp(76px, 15.5vw, 290px);
}
.hero-word span:last-child { color: var(--red); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 42%, rgba(0,0,0,.72) 100%); }
.hero-word span { display: block; }
.hero-word span:last-child { margin-left: .9em; }
.hero-meta {
  position: absolute; z-index: 2; top: 16px; left: var(--px); right: var(--px);
  display: flex; justify-content: space-between; gap: 24px; color: var(--paper); pointer-events: none;
}
.hero-meta p { max-width: 30ch; text-align: right; font-size: 15px; font-weight: 500; line-height: 1.35; font-stretch: 90%; text-transform: none; letter-spacing: 0; font-family: var(--sans); }

/* ── CINTA ─────────────────────────────── */
.ticker { background: var(--red); color: var(--ink); overflow: hidden; border-bottom: 1.5px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span { white-space: nowrap; padding: 14px 0; font-size: clamp(22px,2.4vw,34px); }
.ticker-track i { font-style: normal; margin: 0 .6em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── SECCIONES ─────────────────────────── */
.sec { padding: clamp(56px,8vw,120px) var(--px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px,3vw,44px); }
.sec-head h2 { font-size: clamp(64px, 11vw, 190px); }
.sec-head .m { color: var(--grey); text-align: right; }

/* índice de series */
.index { border-top: 1.5px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(0,1.1fr) 90px 28px; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1.5px solid var(--ink); text-decoration: none; transition: background .2s, color .2s, padding .3s;
}
.row .num { color: var(--grey); }
.row h3 { font-size: clamp(44px, 6.4vw, 108px); }
.row q { font-size: clamp(15px,1.2vw,18px); line-height: 1.45; quotes: "«" "»"; font-stretch: 92%; }
.row .cnt { text-align: right; color: var(--grey); }
.row .arr { font-size: 26px; text-align: right; }
.row .th { display: none; }
@media (hover: hover) { .row:hover { background: var(--ink); color: var(--paper); padding-left: 14px; padding-right: 14px; } .row:hover .num, .row:hover .cnt { color: var(--red); } }
.peek {
  position: fixed; z-index: 40; left: 0; top: 0; width: 260px; aspect-ratio: 4/5; pointer-events: none;
  opacity: 0; transform: translate(-50%,-50%) scale(.85) rotate(-3deg); transition: opacity .2s, transform .25s;
  background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.peek.on { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(-3deg); }

/* manifiesto */
.manif { background: var(--ink); color: var(--paper); }
.manif p { font-size: clamp(36px, 5.6vw, 96px); font-weight: 800; font-stretch: 75%; line-height: .98; letter-spacing: -.02em; max-width: 17ch; }
.manif p em { font-style: normal; color: var(--red); }
.manif .m { color: var(--grey); margin-bottom: 24px; display: block; }
.manif .sig { margin-top: 28px; font-size: clamp(16px,1.4vw,20px); color: var(--grey); font-stretch: 90%; }

/* selección */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px,1vw,14px); }
.fig { margin: 0; position: relative; overflow: hidden; background: #ddd; }
.fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.fig:hover img { transform: scale(1.04); }
.fig figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--paper); padding: 3px 7px; }
.g1 { grid-column: 1 / 8; grid-row: span 2; }
.g2 { grid-column: 8 / 13; aspect-ratio: 5/4; }
.g3 { grid-column: 8 / 13; aspect-ratio: 5/5.6; }
.g4 { grid-column: 1 / 5; aspect-ratio: 4/5; }
.g5 { grid-column: 5 / 9; aspect-ratio: 4/5; }
.g6 { grid-column: 9 / 13; aspect-ratio: 4/5; }
.g7 { grid-column: 1 / 6; aspect-ratio: 5/6; }
.g8 { grid-column: 6 / 13; aspect-ratio: 7/6; }

/* vicenia */
.vic { background: var(--pink); color: #fff; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px,4vw,64px); align-items: center; }
.vic img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.vic .m { display: block; margin-bottom: 18px; }
.vic h2 { font-size: clamp(80px, 13vw, 230px); }
.vic p { font-size: clamp(18px,1.6vw,24px); line-height: 1.4; max-width: 34ch; margin: 22px 0 30px; font-stretch: 92%; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border: 1.5px solid currentColor; text-decoration: none; font-weight: 700; font-stretch: 85%; font-size: 16px; transition: background .2s, color .2s; }
.vic .btn:hover { background: #fff; color: var(--pink); }

/* sobre mí */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px,4vw,72px); align-items: start; }
.about figure { margin: 0; position: sticky; top: 80px; }
.about figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about figcaption { margin-top: 8px; color: var(--grey); }
.about h2 { font-size: clamp(64px, 9vw, 150px); margin-bottom: 26px; }
.about .lead { font-size: clamp(24px,2.3vw,36px); line-height: 1.15; font-weight: 700; font-stretch: 85%; letter-spacing: -.01em; }
.about .body { margin-top: 22px; font-size: 17px; line-height: 1.65; max-width: 60ch; color: rgba(17,17,16,.82); }
.about .wink { margin-top: 18px; color: var(--red); font-weight: 800; font-size: 22px; font-style: italic; font-stretch: 85%; }

/* prensa */
.press { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px,1.2vw,18px); }
.card { display: flex; flex-direction: column; text-decoration: none; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--ink); margin-bottom: 14px; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .ph img { transform: scale(1.05); }
.card .m { color: var(--red); margin-bottom: 6px; }
.card h3 { font-size: clamp(28px,2.6vw,42px); }
.card p { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: rgba(17,17,16,.75); }
.card.tall { grid-row: span 2; }
.card.tall .ph { aspect-ratio: auto; flex: 1; min-height: 320px; background: #0b0b0b; }
.card.tall .ph video { object-fit: contain; }
.card .ph video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.wide .ph { aspect-ratio: 8/3.05; }
.card.wide .ph.txt span { font-size: clamp(56px,7.4vw,128px); }
.card .ph.txt { display: flex; align-items: flex-end; padding: 14px; background: var(--red); }
.card .ph.txt span { font-size: clamp(40px,4.4vw,72px); color: var(--ink); }

/* contacto */
.contact { background: var(--ink); color: var(--paper); }
.contact h2 { font-size: clamp(84px, 17vw, 320px); }
.contact h2 span { color: var(--red); }
.contact .mail { display: inline-block; margin-top: clamp(20px,3vw,40px); font-size: clamp(26px, 4vw, 64px); font-weight: 800; font-stretch: 75%; text-decoration: none; border-bottom: 3px solid var(--red); }
.contact .mail:hover { color: var(--red); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; }
.links a { text-decoration: none; } .links a:hover { color: var(--red); }
footer { background: var(--ink); color: var(--grey); border-top: 1px solid rgba(243,240,232,.15); padding: 16px var(--px); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.6,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ── MÓVIL ─────────────────────────────── */
@media (max-width: 860px) {
  .nav, .top .m { display: none; }
  .menu-btn { display: block; }
  .top.open .nav { display: flex; position: fixed; inset: 56px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
  .top.open .nav a { padding: 16px var(--px); border-top: 1px solid var(--line); font-size: 20px; }
  .hero { height: 78svh; min-height: 480px; }
  .panel:nth-child(n+4) { display: none; }
  .hero-word { font-size: 23vw; }
  .hero-word span:last-child { margin-left: 0; }
  .hero-meta p { display: none; }
  .row { grid-template-columns: 34px minmax(0,1fr) 72px; gap: 12px; padding: 14px 0; }
  .row q, .row .cnt, .row .arr { display: none; }
  .row .th { display: block; width: 72px; aspect-ratio: 1; object-fit: cover; }
  .row h3 { font-size: 13vw; }
  .grid { grid-template-columns: 1fr 1fr; }
  .g1, .g2, .g3, .g4, .g5, .g6, .g7, .g8 { grid-column: auto; grid-row: auto; aspect-ratio: 4/5; }
  .g1, .g8 { grid-column: 1 / -1; aspect-ratio: 5/6; }
  .vic, .about { grid-template-columns: 1fr; }
  .about figure { position: static; }
  .press { grid-template-columns: 1fr 1fr; }
  .sec-head { flex-direction: column; align-items: start; }
  .sec-head .m { text-align: left; }
  .contact h2 { font-size: 20vw; }
  .sec-head h2 { font-size: 17vw; }
}
@media (prefers-reduced-motion: reduce) {
  .panel img { animation: none; transform: none; }
  .ticker-track { animation: none; }
  .rv { opacity: 1; transform: none; }
}

/* ── PÁGINAS DE SERIE ──────────────────── */
.s-head { padding: clamp(40px,6vw,90px) var(--px) clamp(28px,4vw,56px); border-bottom: 1.5px solid var(--ink); }
.s-head .m { color: var(--grey); display: flex; gap: 18px; flex-wrap: wrap; }
.s-head .m a { text-decoration: none; } .s-head .m a:hover { color: var(--red); }
.s-head h1 { font-size: clamp(84px, 17vw, 300px); margin: 14px 0 22px; }
.s-head h1 span { color: var(--red); }
.s-head .q { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(20px,4vw,72px); align-items: end; }
.s-head .q p:first-child { font-size: clamp(24px,2.6vw,42px); font-weight: 800; font-stretch: 78%; line-height: 1.05; letter-spacing: -.01em; }
.s-head .q p:last-child { font-size: 16px; line-height: 1.6; color: rgba(17,17,16,.72); }
.gal { columns: 3 320px; column-gap: clamp(10px,1.2vw,18px); padding: clamp(24px,3vw,44px) var(--px) clamp(56px,7vw,100px); }
.gal button { all: unset; display: block; width: 100%; margin: 0 0 clamp(10px,1.2vw,18px); break-inside: avoid; cursor: zoom-in; position: relative; background: #ddd; }
.gal button img { width: 100%; height: auto; transition: filter .3s; }
.gal button:hover img { filter: brightness(.88); }
.gal button .m { position: absolute; left: 8px; bottom: 8px; background: var(--paper); padding: 3px 7px; opacity: 0; transition: opacity .2s; }
.gal button:hover .m, .gal button:focus-visible .m { opacity: 1; }
.gal button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,16,.96); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 86svh; object-fit: contain; }
.lb .bar { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--px); color: var(--paper); }
.lb button { all: unset; cursor: pointer; color: var(--paper); font: 800 22px var(--sans); font-stretch: 80%; padding: 10px 14px; }
.lb button:hover { color: var(--red); }
.lb .prev, .lb .next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 46px; }
.lb .prev { left: 4px; } .lb .next { right: 4px; }
.s-next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.s-next a { padding: clamp(28px,4vw,56px) var(--px); text-decoration: none; transition: background .2s, color .2s; }
.s-next a + a { border-left: 1.5px solid var(--ink); text-align: right; }
.s-next a:hover { background: var(--ink); color: var(--paper); }
.s-next .m { color: var(--grey); display: block; margin-bottom: 8px; }
.s-next .d { font-size: clamp(40px,6vw,104px); }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px,1.6vw,24px); padding: clamp(24px,3vw,44px) var(--px) clamp(56px,7vw,100px); }
.vid { margin: 0; }
.vid.wide { grid-column: 1 / -1; }
.vid video { width: 100%; height: auto; display: block; background: var(--ink); }
.vid figcaption { display: flex; gap: 12px; margin-top: 10px; font-size: 15px; line-height: 1.4; font-stretch: 90%; }
.vid figcaption .m { color: var(--red); flex: none; padding-top: 2px; }
@media (max-width: 860px) {
  .s-head .q { grid-template-columns: 1fr; }
  .gal { columns: 2; }
  .s-next { grid-template-columns: 1fr; } .s-next a + a { border-left: 0; border-top: 1.5px solid var(--ink); text-align: left; }
}
