/* adnsoler.com — hoja de estilos del sitio público
   Concepto «escaleta»: papel y tinta, retícula a la vista, rótulos de televisión
   (código de tiempo, faldón, teletipo) y un solo color de señal por tema. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(fonts/schibsted-grotesk-latin-wght-italic.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); }

:root {
  --bg: #0c0c0e; --fg: #f1ede4; --muted: #a29e95; --surface: #18181b;
  --accent: #d7ff3f; --on-accent: #0c0c0e; --mark: #3a3cf2; --live: #ff4b2b;
  --logo-bg: #ece8df; --logo-tile: #ece8df;
  --line: color-mix(in srgb, var(--fg) 18%, transparent);
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --w: 1320px; --gut: clamp(16px, 3.4vw, 44px); --gap: clamp(20px, 3vw, 44px);
  --pad: max(var(--gut), calc((100% - var(--w)) / 2));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f1ede4; --fg: #0e0e10; --muted: #5e5b54; --surface: #e6e1d5;
    --accent: #2b2df0; --on-accent: #fff; --mark: #d7ff3f; --live: #e8331c;
    --logo-bg: transparent; --logo-tile: #fbf9f4;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f1ede4; --fg: #0e0e10; --muted: #5e5b54; --surface: #e6e1d5;
  --accent: #2b2df0; --on-accent: #fff; --mark: #d7ff3f; --live: #e8331c;
  --logo-bg: transparent; --logo-tile: #fbf9f4;
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
::view-transition-group(post-media) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(post-media), ::view-transition-new(post-media) { height: 100%; object-fit: cover; overflow: clip; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
::selection { background: var(--mark); color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }
kbd { font: 500 11px/1 var(--mono); }
.ic { flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Barra de progreso de lectura (animación ligada al scroll) */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; pointer-events: none; will-change: transform; }
@supports (animation-timeline: scroll()) {
  .foot-big { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  .hero-frame:not(.has-cut) > img, .hero-frame > canvas { animation: lift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
}
@keyframes grow { to { transform: scaleX(1); } }
@keyframes drift { from { transform: translateX(-9%); } to { transform: none; } }
@keyframes lift { to { transform: scale(1.12); } }

/* ---------- Cabecera ---------- */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: stretch; height: 60px; padding: 0 var(--gut); background: var(--bg); border-bottom: 1px solid var(--fg); view-transition-name: top; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font: 800 1.3rem/1 var(--display); letter-spacing: -.04em; padding-right: 22px; }
.brand i { width: 9px; height: 9px; background: var(--accent); align-self: center; margin-top: 7px; transition: transform .4s var(--ease); }
.brand:hover i { transform: rotate(90deg) scale(1.3); }

/* Logotipo animado: «adrián soler» ⇄ «adnsoler.com». Las piezas que sobran se pliegan a ancho cero. */
.wm { display: inline-flex; align-items: baseline; white-space: nowrap; }
.wm b { font-weight: inherit; }
.wm-x { display: inline-block; max-width: var(--w, 2.6em); overflow-x: clip; transition: max-width .85s var(--ease), opacity .5s var(--ease); }
.wm-x > span { display: inline-block; white-space: pre; font: italic 380 1em/1 var(--serif); letter-spacing: -.02em; color: var(--muted); }
.wm-com > span { font: inherit; letter-spacing: inherit; color: var(--accent); }
.wm-com { max-width: 0; opacity: 0; }
.wm.adn .wm-x { max-width: 0; opacity: 0; }
.wm.adn .wm-com { max-width: var(--w, 2.6em); opacity: 1; }
.nav { display: flex; margin-left: auto; }
.nav a { display: flex; align-items: center; padding: 0 15px; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(var(--fg), var(--fg)) no-repeat 0 100% / 100% 0; transition: background-size .25s var(--ease), color .2s; }
.nav a:hover, .nav a[aria-current] { background-size: 100% 100%; color: var(--bg); }
.top-tools { display: flex; align-items: center; gap: 8px; padding-left: 16px; }
.clock { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.clock i, .tc i, .now i, .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid var(--line); background: none; color: var(--fg); font: 600 12px/1 var(--mono); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tool:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tool .ic { width: 17px; height: 17px; }
.tool kbd { color: var(--muted); }
.tool:hover kbd { color: inherit; }
.i-sun { display: grid; } .i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; } :root[data-theme="light"] .i-moon { display: grid; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .i-sun { display: none; } :root:not([data-theme]) .i-moon { display: grid; } }
.burger { display: none; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.burger span:first-child { top: 13px; } .burger span:last-child { bottom: 13px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.7px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.7px) rotate(-45deg); }
@media (max-width: 1080px) { .clock { display: none; } }
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .tool kbd { display: none; }
  .top-tools { margin-left: auto; }
  .nav { position: fixed; inset: 60px 0 0 0; flex-direction: column; margin: 0; padding: 8px var(--gut) 40px; background: var(--bg); overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease), visibility 0s .45s; }
  .nav.open { visibility: visible; clip-path: inset(0); transition: clip-path .45s var(--ease); }
  .nav-open .top { position: fixed; top: 0; left: 0; right: 0; }
  .nav { overscroll-behavior: contain; }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font: 800 clamp(2.2rem, 11vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; text-transform: none; background: none; }
  .nav a:hover, .nav a[aria-current] { color: var(--accent); }
}

/* ---------- Botones y piezas comunes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 1.5px solid var(--fg); color: var(--fg); background: linear-gradient(var(--fg), var(--fg)) no-repeat 0 100% / 100% 0; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-size .3s var(--ease), color .2s, border-color .2s; }
.btn:hover { background-size: 100% 100%; color: var(--bg); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn.primary { background-color: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { border-color: var(--fg); color: var(--bg); }
.btn.invert { border-color: var(--on-accent); background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 0 var(--on-accent); color: var(--accent); }
.btn.invert:hover { background-size: 100% 100%; color: var(--on-accent); }
.btn[disabled] { opacity: .6; cursor: progress; }
.soc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); background: none; color: inherit; font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.soc:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill { font: 600 10.5px/1 var(--mono); letter-spacing: .08em; padding: 4px 6px; border: 1px solid var(--line); color: var(--muted); text-transform: uppercase; }
.meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 500 12px/1.3 var(--mono); letter-spacing: .03em; color: var(--muted); }
.idx { font: 800 clamp(3rem, 6.4vw, 6rem)/.8 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.label { display: flex; align-items: center; gap: 9px; font: 500 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.label::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(20px, 3vw, 36px) var(--pad) clamp(40px, 6vw, 80px); }
.hero-kicker { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.claim { margin-top: clamp(22px, 3.4vw, 44px); font-size: clamp(2.9rem, 8.7vw, 8.8rem); line-height: .9; letter-spacing: -.05em; text-wrap: wrap; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .05em .16em 0; margin-bottom: -.16em; }
.w > span { display: inline-block; transform: translateY(112%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
.w em { font: italic 380 1em/1 var(--serif); letter-spacing: -.035em; padding: 0 .07em; background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 74% / 100% .36em; }
@keyframes rise { to { transform: none; } }
.hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 4vw, 56px); align-items: end; }
.hero-copy { grid-column: 1 / 7; }
.hero .lead { font-size: clamp(1.08rem, 1.55vw, 1.4rem); line-height: 1.45; max-width: 44ch; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.cta-soc { display: inline-flex; gap: 8px; margin-left: 4px; }
.hero-frame { grid-column: 9 / 13; margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); border: 1px solid var(--fg); }
.hero-frame > img, .hero-frame > canvas { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.marks { position: absolute; inset: 12px; pointer-events: none; --c: var(--fg);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 0 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 18px;
  background-repeat: no-repeat; }
.hero-frame:has(> img) .marks { --c: #fff; mix-blend-mode: difference; }
.tc { position: absolute; top: 22px; left: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; background: rgba(0, 0, 0, .62); color: #fff; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.chyron { position: absolute; left: 0; bottom: 26px; display: grid; justify-items: start; max-width: 92%; }
.chyron strong, .chyron span { display: block; clip-path: inset(0 100% 0 0); animation: wipe .7s var(--ease) forwards; }
.chyron strong { padding: 7px 16px 8px 24px; background: var(--accent); color: var(--on-accent); font: 800 clamp(1.2rem, 2vw, 1.6rem)/1 var(--display); letter-spacing: -.035em; animation-delay: .9s; }
.chyron span { padding: 6px 14px 6px 24px; background: var(--fg); color: var(--bg); font: 500 11px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; animation-delay: 1.05s; }
@keyframes wipe { to { clip-path: inset(0); } }
@media (max-width: 900px) {
  .hero-copy, .hero-frame { grid-column: 1 / -1; }
  .hero-frame { aspect-ratio: 4 / 3; }
}

/* Retrato en capas: el fondo queda dentro del marco y la figura sobresale por arriba.
   --px/--py (cursor) y --sy (scroll) los escribe site.js; cada capa se mueve a distinta velocidad. */
.hero-frame.has-cut { aspect-ratio: 4 / 5; overflow: visible; background: none; border: 0; z-index: 2; }
.hf-bg { position: absolute; inset: 0; overflow: hidden; background: #16255c; border: 1px solid var(--fg); animation: open 1s var(--ease) .25s both; }
.hf-bg img { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: saturate(1.1) blur(.6px); transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -9px + var(--sy, 0) * 34px), 0); animation: breathe 16s ease-in-out infinite alternate; }
.hf-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 28, .45), transparent 42%); pointer-events: none; }
.hero-frame.has-cut::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; background: var(--accent); z-index: -1; animation: open 1s var(--ease) .1s both; }
.hf-pop { position: absolute; inset: -17% 0 0; overflow: hidden; pointer-events: none; }
.hf-me { position: absolute; left: 50%; bottom: -4%; height: 104%; width: auto; max-width: none; transform: translate3d(calc(-50% + var(--px, 0) * 16px), calc(var(--py, 0) * 9px + var(--sy, 0) * -26px), 0); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .35)); animation: arrive 1.1s var(--ease) .55s both; }
@keyframes open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes breathe { from { scale: 1; } to { scale: 1.07; } }
@keyframes arrive { from { opacity: 0; translate: 0 7%; } to { opacity: 1; translate: 0 0; } }
/* Con retrato, el titular y el texto ocupan la izquierda y el marco toda la altura de la derecha */
.hero.has-portrait { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.has-portrait .claim { grid-column: 1 / 9; font-size: clamp(2.9rem, 7.9vw, 8.2rem); }
.has-portrait .hero-row { display: contents; }
.has-portrait .hero-copy { grid-column: 1 / 8; align-self: end; margin-top: clamp(28px, 4vw, 56px); }
.has-portrait .hero-frame { grid-column: 9 / 13; grid-row: 1 / 3; align-self: end; margin-top: clamp(44px, 5.5vw, 84px); }
@media (max-width: 900px) {
  .hero.has-portrait { display: block; }
  .has-portrait .hero-row { display: grid; }
  .has-portrait .claim { font-size: clamp(2.9rem, 8.7vw, 8.8rem); }
  .has-portrait .hero-copy, .has-portrait .hero-frame { grid-column: 1 / -1; grid-row: auto; }
  .has-portrait .hero-frame { aspect-ratio: 1; margin-top: 16%; }
  .has-portrait .hero-copy { margin-top: 0; }
}

/* Teletipo de titulares */
.ticker { display: flex; height: 46px; background: var(--fg); color: var(--bg); border-block: 1px solid var(--fg); }
.ticker-tag { flex: none; display: grid; place-items: center; padding: 0 18px 0 var(--gut); background: var(--accent); color: var(--on-accent); font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker-track { list-style: none; padding: 0; display: flex; width: max-content; white-space: nowrap; font: 600 14.5px/1 var(--sans); }
.ticker-track.run { animation: crawl var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li { display: flex; align-items: center; padding-left: 26px; gap: 26px; }
.ticker-track li::after { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.ticker-track a { text-decoration: none; }
.ticker-track a:hover { text-decoration: underline; }
.ticker-track small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-right: 10px; }
@keyframes crawl { to { transform: translateX(-50%); } }

/* Medios */
.pubs { display: grid; grid-template-columns: minmax(150px, auto) 1fr; border-bottom: 1px solid var(--fg); }
.pubs > p { display: flex; align-items: center; padding: 0 22px 0 var(--gut); font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.pubs ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); background: var(--logo-bg); }
.pubs li { display: grid; place-items: center; height: 92px; padding: 0 18px; border-right: 1px solid rgba(14, 14, 16, .14); color: #0e0e10; font: 700 1rem/1.1 var(--display); text-align: center; }
.pubs img { max-height: 34px; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .78; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.pubs li:hover img { filter: none; opacity: 1; transform: scale(1.08); }
@media (max-width: 700px) { .pubs { grid-template-columns: minmax(0, 1fr); } .pubs > p { padding: 14px var(--gut); border-right: 0; border-bottom: 1px solid var(--line); } .pubs ul { grid-template-columns: repeat(3, 1fr); } .pubs li { height: 72px; border-bottom: 1px solid rgba(14, 14, 16, .14); } }

/* ---------- Secciones ---------- */
.sec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); padding: clamp(44px, 6.5vw, 96px) var(--pad); border-bottom: 1px solid var(--fg); }
.sec-main { min-width: 0; }
.sec-rail { position: sticky; top: 92px; align-self: start; display: grid; gap: 18px; }
.sec-head { margin-bottom: clamp(26px, 3.6vw, 48px); }
.sec-head h2, .sec-head h1, .contact h2 { font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: .94; letter-spacing: -.045em; max-width: 15ch; }
.sec-lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.sec-foot { margin-top: 40px; }
.empty { color: var(--muted); }
@media (max-width: 900px) {
  .sec { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sec-rail { position: static; display: flex; align-items: flex-end; gap: 16px; }
  .idx { font-size: 2.8rem; }
}

.chips { display: flex; flex-wrap: wrap; margin-bottom: 26px; }
#article-filters:empty { min-height: 38px; } /* reserva el hueco de los filtros mientras cargan los artículos */
.chip { margin-right: -1px; padding: 10px 16px; border: 1px solid var(--line); background: none; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); position: relative; }

/* Artículos: pieza de apertura + escaleta */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); padding-bottom: 30px; border-bottom: 1px solid var(--fg); }
.story-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.story-media img, .row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story:hover .story-media img, .row:hover .row-thumb img { transform: scale(1.05); }
.story-body { display: flex; flex-direction: column; gap: 16px; }
.story h3 { font-size: clamp(1.7rem, 3.1vw, 2.9rem); font-weight: 700; line-height: 1.02; }
.story h3 a, .row h3 a, .post-card h3 a { text-decoration: none; }
.story h3 a::after, .row h3 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.story-go { margin-top: auto; display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid var(--fg); transition: background .2s, color .2s, transform .3s var(--ease); }
.story:hover .story-go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }
.row { position: relative; display: grid; grid-template-columns: 34px 132px minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row::before { content: ""; position: absolute; left: -14px; top: -1px; bottom: -1px; width: 5px; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .3s var(--ease); }
.row:hover::before { transform: scaleY(1); }
.row > span:first-child { font: 500 12px/1 var(--mono); color: var(--muted); }
.row-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.row-body { display: grid; gap: 8px; }
.row h3 { font-size: clamp(1.1rem, 1.7vw, 1.42rem); font-weight: 650; line-height: 1.14; letter-spacing: -.02em; transition: transform .3s var(--ease); }
.row:hover h3 { transform: translateX(6px); }
.row > .ic { color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.row:hover > .ic { color: var(--fg); transform: translate(3px, -3px); }
.card-ph { display: grid; place-items: center; width: 100%; height: 100%; font: 800 3.4rem/1 var(--display); color: var(--accent); background: var(--surface); }
.src { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.src::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.src[data-src="Report.cat"]::before { background: var(--live); }
@media (max-width: 760px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .story-go { display: none; }
  .row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .row > span:first-child, .row > .ic { display: none; }
}
.skeleton { pointer-events: none; }
.skeleton i { display: block; height: 16px; background: var(--line); animation: sk 1.1s ease-in-out infinite alternate; }
.skeleton i + i { margin-top: 10px; } .skeleton i:nth-child(2) { height: 30px; } .skeleton i:last-child { width: 60%; }
@keyframes sk { to { opacity: .35; } }

/* ---------- Reels ---------- */
.reels { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--fg) transparent; }
.reel { margin: 0; flex: 0 0 min(80vw, 328px); scroll-snap-align: start; }
.reel-frame { border: 1px solid var(--fg); background: #fff; aspect-ratio: 328 / 600; overflow: hidden; }
.reel-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel figcaption { margin-top: 10px; font-size: .93rem; color: var(--muted); }
.reel figcaption b { display: block; font: 500 11.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }

/* ---------- CV ---------- */
.cv-h { display: flex; align-items: center; gap: 16px; margin: 44px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cv-h:first-of-type { margin-top: 0; }
.cv-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tl { list-style: none; padding: 0; }
.tl-item { display: grid; grid-template-columns: 118px 124px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tl-when { display: grid; justify-items: start; gap: 9px; padding-top: 4px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.now { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tl-logo { height: 78px; display: grid; place-items: center; background: var(--logo-tile); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tl-item:hover .tl-logo { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--accent); }
.tl-logo img { max-width: min(94px, 76%); max-height: 44px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.mono-logo { font: 800 1.5rem/1 var(--display); letter-spacing: -.04em; color: #0e0e10; }
.tl-body h4 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 700; line-height: 1.05; }
.tl-org { margin-top: 7px; font-weight: 600; }
.tl-org a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; border-bottom: 2px solid var(--accent); }
.tl-org a:hover { background: var(--accent); color: var(--on-accent); }
.tl-org .ic { width: 14px; height: 14px; }
.tl-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tl-more > summary::-webkit-details-marker { display: none; }
.tl-more > summary b { padding: 7px 10px; background: var(--accent); color: var(--on-accent); font-weight: 500; transition: transform .3s var(--ease); }
.tl-more > summary:hover b { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--fg); }
.tl-more[open] > summary b { display: none; }
.tl-desc { margin-top: 12px; color: var(--muted); font-size: .98rem; max-width: 62ch; }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 88px minmax(0, 1fr); row-gap: 12px; }
  .tl-when { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0; }
  .tl-logo { height: 58px; }
}

/* ---------- Blog ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(18px, 2.4vw, 32px); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.post-card { position: relative; }
.pc-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.06); }
.pc-go { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; background: var(--accent); color: var(--on-accent); font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: translateY(101%); transition: transform .35s var(--ease); }
.pc-go .ic { width: 15px; height: 15px; }
.post-card:hover .pc-go { transform: none; }
.post-card .meta { margin-top: 16px; }
.post-card h3 { margin-top: 10px; font-size: clamp(1.3rem, 1.9vw, 1.62rem); font-weight: 700; line-height: 1.08; letter-spacing: -.028em; }
.post-card .excerpt { margin-top: 10px; color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Contacto: bloque de color ---------- */
.contact { background: var(--accent); color: var(--on-accent); padding: clamp(52px, 8vw, 116px) var(--pad); }
.contact ::selection { background: var(--on-accent); color: var(--accent); }
.contact :focus-visible { outline-color: var(--on-accent); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-idx { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.contact .idx { -webkit-text-stroke-color: var(--on-accent); }
.contact .label::before { background: var(--on-accent); }
.contact .sec-lead { color: inherit; opacity: .78; }
.contact-soc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact .soc { padding: 0 16px; border-color: currentColor; }
.contact .soc:hover { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.form { display: grid; gap: 26px; }
.form label { display: grid; gap: 4px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; padding: 8px 0 11px; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; background: none; color: inherit; font: 500 1.2rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; transition: box-shadow .2s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; box-shadow: 0 3px 0 currentColor; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.45 var(--sans); letter-spacing: 0; text-transform: none; }
.form .check input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--on-accent); flex: none; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { font-weight: 600; }
@media (max-width: 860px) { .contact-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Entrada del blog ---------- */
.post { max-width: 800px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gut) clamp(56px, 8vw, 96px); }
.back { display: inline-block; margin-bottom: 30px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--fg); }
.post-head h1 { font-size: clamp(2.3rem, 6.2vw, 4.8rem); line-height: .95; letter-spacing: -.045em; }
.post-head .lead { margin-top: 22px; font-size: clamp(1.12rem, 1.9vw, 1.36rem); line-height: 1.45; color: var(--muted); }
.post-meta { margin-top: 28px; padding: 12px 0; border-block: 1px solid var(--line); }
.listen { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--fg); background: none; color: var(--fg); font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.listen:hover, .listen.on { background: var(--fg); color: var(--bg); }
.listen .ic { width: 14px; height: 14px; }
.listen i { display: none; width: 2px; height: 12px; background: currentColor; transform-origin: 50% 100%; animation: eq .7s ease-in-out infinite alternate; }
.listen i:nth-of-type(2) { animation-delay: -.3s; } .listen i:nth-of-type(3) { animation-delay: -.55s; }
.listen.on i { display: block; } .listen.on .ic { display: none; }
@keyframes eq { from { transform: scaleY(.25); } }
.post-cover { margin: 36px calc(-1 * min(var(--gut), 70px)) 0; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { margin-top: 42px; font-size: 1.14rem; line-height: 1.72; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: 2.1rem; margin-top: 1.9em; } .prose h3 { font-size: 1.55rem; margin-top: 1.7em; } .prose h4 { font-size: 1.25rem; }
.prose a { text-decoration: underline; }
.prose a:hover { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.prose img { margin-inline: auto; }
.prose figure { margin-inline: 0; } .prose figcaption { margin-top: 8px; font: 500 12px/1.5 var(--mono); color: var(--muted); }
.prose blockquote { margin-inline: 0; padding-left: 26px; border-left: 6px solid var(--accent); font: italic 380 1.5rem/1.38 var(--serif); letter-spacing: -.01em; }
.prose blockquote p + p { margin-top: .8em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--surface); }
.prose iframe[src*="anchor.fm"], .prose iframe[src*="spotify.com"] { aspect-ratio: auto; height: 170px; }
.prose hr { border: 0; height: 1px; background: var(--fg); margin-block: 2.4em; }
.prose pre { background: var(--surface); border: 1px solid var(--line); padding: 16px; overflow-x: auto; font: 14px/1.6 var(--mono); }
.prose li + li { margin-top: .4em; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); font: 600 .78rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.prose mark { background: var(--mark); color: var(--fg); padding: 0 .12em; }
.prose :not(pre) > code { font: .88em var(--mono); background: var(--surface); padding: .12em .35em; }
.prose figure iframe[src*="instagram.com"] { aspect-ratio: auto; height: min(760px, 125vw); max-width: 480px; margin-inline: auto; display: block; }
.post-foot { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--fg); }
.share { display: flex; align-items: center; gap: 10px; }
.share > span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.pn-wrap { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.pn { display: block; padding: 20px; border: 1px solid var(--fg); text-decoration: none; font: 700 1.15rem/1.15 var(--display); letter-spacing: -.02em; background: linear-gradient(var(--fg), var(--fg)) no-repeat 0 100% / 100% 0; transition: background-size .3s var(--ease), color .2s; }
.pn + .pn { margin-left: -1px; }
.pn span { display: block; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: 10px; }
.pn.next { text-align: right; grid-column: 2; }
.pn:hover { background-size: 100% 100%; color: var(--bg); }
@media (max-width: 600px) { .pn-wrap { grid-template-columns: minmax(0, 1fr); } .pn.next { grid-column: 1; text-align: left; margin: -1px 0 0; } }

.nf { position: relative; min-height: 72vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 60px var(--gut); overflow: hidden; }
.nf-code { position: absolute; inset: 0; display: grid; place-items: center; font: 800 42vw/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--line); z-index: -1; }
.nf h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.nf .cta { justify-content: center; }

/* ---------- Entradas de vídeo ---------- */
.poster { position: absolute; inset: 0; display: grid; align-content: end; padding: 9% 8% 22%; background: var(--mark); overflow: hidden; }
.poster::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(0, 0, 0, .07) 22px 23px); }
.poster b { position: relative; font: 800 clamp(1.5rem, 3.2vw, 2.5rem)/.95 var(--display); letter-spacing: -.045em; color: var(--on-mark, #fff); text-wrap: balance; }
:root { --on-mark: #f1ede4; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) { --on-mark: #0e0e10; } }
:root[data-theme="light"] { --on-mark: #0e0e10; }
:root[data-theme="dark"] { --on-mark: #f1ede4; }
.pc-play { position: absolute; top: 0; right: 0; width: 46px; height: 46px; display: grid; place-items: center; background: var(--fg); color: var(--bg); transition: background .25s, color .25s; }
.pc-play .ic { width: 18px; height: 18px; }
.post-card:hover .pc-play { background: var(--accent); color: var(--on-accent); }
.post-card.is-video .pc-go { transform: none; }
.post-card.is-video .pc-media img { object-position: 50% 28%; }
.pill.solid { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.post-card[hidden] { display: none; }

.post.is-video { max-width: 980px; }
.post.is-video .post-head, .post.is-video .prose, .post.is-video .post-foot { max-width: 800px; margin-inline: auto; }
.stage { margin-top: 36px; }
.stage-tabs { margin-bottom: 0; }
.stage-view { position: relative; padding: clamp(14px, 3vw, 34px); background: var(--surface); border: 1px solid var(--fg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; }
.player[hidden] { display: none; }
.player-frame { position: relative; margin: 0 auto; background: #000; border: 1px solid var(--fg); box-shadow: 10px 10px 0 var(--accent); overflow: hidden; }
.player.wide .player-frame { aspect-ratio: 16 / 9; }
.player.tall .player-frame { aspect-ratio: 9 / 16; width: min(100%, 380px); background: var(--bg); }
.player.tall.on .player-frame { aspect-ratio: 328 / 620; background: #fff; }
.player-frame > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.player-frame:hover > img { transform: scale(1.04); filter: brightness(.82); }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 14px; padding: 0 22px 0 0; border: 0; background: var(--accent); color: var(--on-accent); font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.play::after { content: ""; position: absolute; inset: -200vmax; }
.play-ic { display: grid; place-items: center; width: clamp(56px, 8vw, 84px); aspect-ratio: 1; background: var(--fg); color: var(--bg); transition: transform .35s var(--ease); }
.play-ic .ic { width: 38%; height: 38%; }
.player-frame:hover .play-ic { transform: scale(1.08); }
.play:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.player-src { position: absolute; top: 0; left: 0; padding: 8px 12px; background: var(--fg); color: var(--bg); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.stage-note { margin: 22px auto 0; max-width: 800px; font: 500 11.5px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }
.player.tall .stage-note { text-align: center; }
.stage-note a { color: var(--fg); white-space: nowrap; }
.stage-note .ic { width: 12px; height: 12px; vertical-align: -1px; }

/* Sección audiovisual: tira horizontal de carátulas verticales, como una parrilla de reels */
/* Solo se desliza en horizontal: sin overflow-y explícito el navegador lo hacía desplazable también en vertical
   (unos píxeles de más por la sombra) y las tarjetas se movían en diagonal. El gesto tampoco «se escapa» a la página. */
.av-grid { display: flex; gap: clamp(16px, 2vw, 26px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; padding: 8px 12px 20px 0; margin-top: -8px; scrollbar-width: thin; scrollbar-color: var(--fg) transparent; }
.av-grid > .post-card { flex: 0 0 clamp(220px, 23vw, 290px); scroll-snap-align: start; }
.av-dots { display: none; }
@media (max-width: 900px), (hover: none) {
  /* Móvil: una tarjeta grande que encaja de una en una, con la siguiente asomando, y puntos de posición */
  .av-grid { gap: 14px; padding-right: 0; scrollbar-width: none; scroll-padding-left: 0; }
  .av-grid::-webkit-scrollbar { display: none; }
  .av-grid > .post-card { flex-basis: min(80%, 340px); scroll-snap-stop: always; }
  .av-grid > .post-card:last-child { margin-right: calc(100% - min(80%, 340px)); }
  .av-grid .post-card:hover .pc-media { transform: none; box-shadow: none; }
  .av-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
  .av-dots button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
  .av-dots button::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--fg); transition: background .25s, transform .25s var(--ease); }
  .av-dots button[aria-current="true"]::before { background: var(--accent); border-color: var(--accent); transform: scale(1.35); }
}
.reels { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.av-grid .pc-media { aspect-ratio: 3 / 4; border: 1px solid var(--fg); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.av-grid .post-card:hover .pc-media { transform: translate(-5px, -5px); box-shadow: 6px 6px 0 var(--accent); }
.av-grid .pc-media img { object-position: 50% 40%; }
.av-grid h3 { font-size: 1.25rem; }
.av-grid .excerpt { font-size: .92rem; }

/* Flechas del carrusel (solo con ratón y en pantallas anchas) */
.av-nav { display: none; }
@media (hover: hover) and (min-width: 901px) {
  .av-nav:not([hidden]) { display: flex; justify-content: flex-end; align-items: center; margin: -62px 0 16px; position: relative; pointer-events: none; }
  .av-nav > * { pointer-events: auto; }
  .av-count { margin-right: 16px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .av-btn { width: 46px; height: 46px; display: grid; place-items: center; margin-left: -1px; border: 1px solid var(--fg); background: var(--bg); color: var(--fg); cursor: pointer; transition: background .2s, color .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
  .av-btn.prev .ic { transform: rotate(180deg); }
  .av-btn:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--fg); position: relative; z-index: 1; }
  .av-btn:disabled { color: var(--line); border-color: var(--line); cursor: default; }
  .av-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
}
.av-grid:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

/* ---------- Pie ---------- */
.foot { overflow: hidden; }
.foot-big { padding: clamp(28px, 5vw, 64px) var(--gut) 0; font: 800 clamp(3.1rem, 15.4vw, 18.5rem)/.78 var(--display); letter-spacing: -.06em; white-space: nowrap; margin-bottom: -.04em; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 20px var(--gut); border-top: 1px solid var(--fg); color: var(--muted); font-size: .9rem; position: relative; background: var(--bg); }
.foot-soc { display: flex; gap: 8px; color: var(--fg); margin-left: auto; }
.to-top { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--fg); }
.to-top:hover { color: var(--accent); }
.bars { display: grid; grid-template-columns: repeat(5, 1fr); height: 10px; }
.bars i:nth-child(1) { background: #2b2df0; } .bars i:nth-child(2) { background: #d7ff3f; } .bars i:nth-child(3) { background: #ff4b2b; } .bars i:nth-child(4) { background: #f1ede4; } .bars i:nth-child(5) { background: #0e0e10; }

/* ---------- Buscador (⌘K) ---------- */
.cmdk { width: min(660px, calc(100vw - 28px)); margin: 11vh auto 0; padding: 0; border: 1.5px solid var(--fg); background: var(--bg); color: var(--fg); box-shadow: 10px 10px 0 var(--accent); }
.cmdk::backdrop { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmdk[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { transform: translateY(14px); opacity: 0; } }
.cmdk-box { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--fg); }
.cmdk-box input { flex: 1; min-width: 0; padding: 19px 0; border: 0; background: none; color: inherit; font: 500 1.15rem/1.2 var(--sans); outline: none; }
.cmdk-box input::-webkit-search-cancel-button { display: none; }
.cmdk-box kbd { padding: 5px 7px; border: 1px solid var(--line); color: var(--muted); }
#cmdk-list { list-style: none; padding: 6px 0 10px; max-height: min(52vh, 440px); overflow-y: auto; }
#cmdk-list .grp { padding: 14px 18px 6px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#cmdk-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 18px; text-decoration: none; font-weight: 500; line-height: 1.3; }
#cmdk-list a small { flex: none; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#cmdk-list [aria-selected="true"] { background: var(--fg); color: var(--bg); }
#cmdk-list [aria-selected="true"] small { color: inherit; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .w > span { opacity: 1; transform: none; }
  .chyron strong, .chyron span { clip-path: none; }
  .hf-bg { clip-path: none; }
  .hf-me { opacity: 1; }
  @view-transition { navigation: none; }
}
