/* Bnzo · web 2026 (demo local). Dirección: «The pinned poster». Paleta «entre las cuerdas»: noche de estudio, tiza y ácido. Archivo. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(assets/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(assets/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Noche de estudio, grafito, tiza, ceniza y ácido */
  --bg: #0f0f0e;
  --surface: #1b1b19;
  --ink: #efede8;
  --muted: #a3a097;
  --accent: #d9ff3b;
  --accent-ink: #0f0f0e;
  --accent-hover: #c6ee1c;
  --paper: #efede8;
  --paper-ink: #0f0f0e;
  --deep: #262622;
  /* Colores de KAIRO: solo dentro del caso */
  --k-noche: #0b0b0d;
  --k-hueso: #f4f1ea;
  --k-bermellon: #ff4a1c;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.75rem, 1.2rem + 5.4vw, 6rem);
  --step-display: clamp(5.5rem, 1rem + 19vw, 19rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-stretch: 100%;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-card :focus-visible, .door-new:focus-visible, .s1 :focus-visible, .contact :focus-visible { outline-color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 50; background: var(--ink); color: var(--bg); padding: 12px 16px; }
.skip:focus { top: var(--m); }
.wrap { padding-inline: var(--m); }

/* Titulares: Archivo estrecho y pesado, en mayúsculas */
h1, h2, .verb-word h3, .foot-mark, .wordmark {
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.86;
  text-wrap: balance;
}
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 700; line-height: 1.1; }

/* Botones: un solo tipo, esquinas rectas */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s;
}
.btn:hover { background: var(--accent-hover); }
.btn-dark { background: var(--accent-ink); color: var(--accent); }
.btn-dark:hover { background: #2a2a27; }
.btn:active { transform: scale(.97); }
.link { font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: opacity .18s; }
.link:hover { opacity: .75; }

/* Barra */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--m);
  color: var(--ink);
}
.wordmark { font-size: var(--step-lead); text-decoration: none; }
.bar nav { display: flex; gap: clamp(14px, 2vw, 32px); font-size: var(--step-small); font-weight: 500; }
.bar nav a { text-decoration: none; padding: 10px 0; transition: opacity .18s; }
.bar nav a:hover { opacity: .7; }

/* Portada */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px var(--m) 48px; overflow: hidden; background: var(--k-noche); }
.hero-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-wall video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42); }
.hero-card {
  position: relative;
  width: min(100%, 1080px);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 32px;
  display: grid; gap: 40px;
  transform-origin: 0% 100%;
  will-change: transform;
}
.hero-title { font-size: var(--step-head); }
.hero-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-content: start; }
.hero-facts { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.hero-facts li + li { margin-top: 6px; }
.hero-sub { font-size: var(--step-body); max-width: 34ch; }
.hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hero-credit { font-size: var(--step-small); }
.hero-foot .link { justify-self: end; }

/* Caso KAIRO: tarjetas que cruzan una imagen fija */
.case-run { height: 240svh; position: relative; background: var(--k-noche); }
.case-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.case-ground { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.4); }
.case-track { position: relative; display: flex; align-items: stretch; gap: 40px; padding-inline: var(--m); will-change: transform; }
.case-head { flex: 0 0 min(560px, 80vw); color: var(--k-hueso); align-self: center; }
.case-head h2 { margin-bottom: 28px; }
.case-head p { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.case-cta { margin-top: 32px; }
.case-card { flex: 0 0 min(720px, 72vw); height: min(560px, 72svh); display: grid; grid-template-rows: 68% 32%; background: var(--k-noche); }
.case-card img, .case-card video { width: 100%; height: 100%; object-fit: cover; }
.case-card video { object-position: 50% 45%; }
.case-panel { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px; }
.case-panel h3 { font-size: var(--step-lead); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9; }
.case-panel p { max-width: 30ch; text-align: right; font-size: var(--step-small); line-height: 1.4; }
.tone-a .case-panel { background: var(--paper); color: var(--paper-ink); }
.tone-b .case-panel { background: var(--accent); color: var(--accent-ink); }
.tone-c .case-panel { background: var(--surface); color: var(--ink); }

/* Prueba el logo */
.try { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: var(--gap) 0; }
.try-stage { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--k-noche); transition: background-color .35s var(--ease); }
.try-stage[data-bg="hueso"] { background: var(--k-hueso); }
.try-stage[data-bg="bermellon"] { background: var(--k-bermellon); }
.try-stage img { width: 72%; height: 72%; object-fit: contain; transition: opacity .2s; }
.try-stage img.swap { opacity: 0; }
.try-text h2 { margin-bottom: 24px; }
.try-text > p { max-width: 40ch; margin-bottom: 28px; }
.try-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  min-height: 48px; padding: 0 18px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); font-weight: 500;
  transition: transform .18s var(--ease), background-color .18s, color .18s;
}
.chip:hover { background: #2a2a27; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.try-file { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }

/* Lo que recibes */
.get { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-block: var(--gap); }
.get-text h2 { margin-bottom: 32px; }
.get-list li { font-size: var(--step-lead); line-height: 1.3; padding-block: 14px; }
.get-list li:nth-child(odd) { background: var(--surface); padding-inline: 16px; margin-inline: -16px; }
.get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.get-media video { width: 100%; aspect-ratio: 9 / 16; max-height: 86svh; object-fit: cover; background: var(--k-noche); }
.get-media figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }

/* Trabajos: índice pequeño, imagen grande */
.work { display: grid; grid-template-columns: 38fr 62fr; min-height: 100svh; background: var(--bg); }
.work-side { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 40px var(--m) 32px; }
.work-index { display: grid; }
.work-index [role="tab"] {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  min-height: 56px; padding: 8px 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--muted);
  transition: color .2s, transform .2s var(--ease);
}
.work-index [role="tab"]:hover { color: var(--ink); transform: translateX(6px); }
.work-index [aria-selected="true"] { color: var(--ink); }
.w-name { font-size: var(--step-lead); font-weight: 700; }
.work-index [aria-selected="true"] .w-name { font-weight: 800; }
.w-tags { font-size: var(--step-small); }
.work-media { position: relative; background: var(--k-noche); display: grid; min-height: 100svh; }
.work-media video { width: 100%; height: 100svh; object-fit: contain; }
.work-media video.wipe { animation: wipe .9s var(--ease); }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.work-web { display: block; margin-top: 8px; font-weight: 600; color: inherit; text-underline-offset: 4px; transition: opacity .18s; }
.work-web:hover { opacity: .75; }
.work-web[hidden] { display: none; }
.work-media figcaption { position: absolute; left: var(--m); right: 180px; bottom: 24px; color: var(--k-hueso); font-size: var(--step-small); max-width: 52ch; }
.sound { position: absolute; right: var(--m); bottom: 16px; min-height: 48px; padding: 0 18px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 500; cursor: pointer; transition: transform .18s var(--ease); }
.sound:active { transform: scale(.97); }

/* Servicios: hojas de color a sangre, una por servicio (sin apilar: el texto no puede quedar tapado) */
.services { padding-top: var(--gap); }
.services > h2 { margin-bottom: 48px; }
.sheet {
  min-height: 78svh;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; column-gap: 24px;
  padding: 40px var(--m);
}
.sheet h3 { grid-column: 1 / 6; grid-row: 1; font-size: var(--step-head); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .86; letter-spacing: -0.01em; }
.sheet p { grid-column: 1 / 6; grid-row: 2; align-self: end; font-size: var(--step-lead); line-height: 1.3; max-width: 28ch; }
.sheet img { grid-column: 7 / 13; grid-row: 1 / 3; width: 100%; height: 100%; max-height: 78svh; min-height: 0; object-fit: cover; }
.sheet:nth-child(even) h3, .sheet:nth-child(even) p { grid-column: 8 / 13; }
.sheet:nth-child(even) img { grid-column: 1 / 7; }
.s1 { background: var(--accent); color: var(--accent-ink); }
.s2 { background: var(--paper); color: var(--paper-ink); }
.s3 { background: var(--surface); color: var(--ink); }
.s4 { background: var(--paper); color: var(--paper-ink); }
.s5 { background: var(--accent); color: var(--accent-ink); }
/* Cómo trabajo: un verbo cada vez */
.verbs { position: relative; margin-top: var(--gap); }
.verbs-title { position: absolute; z-index: 3; top: 32px; left: var(--m); color: var(--k-hueso); font-size: var(--step-lead); font-stretch: 100%; text-transform: none; font-weight: 700; letter-spacing: 0; line-height: 1.1; }
.verb { position: relative; display: flow-root; height: 100svh; padding-bottom: 180px; overflow: clip; background: var(--k-noche); }
.verb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.verb-word { position: sticky; z-index: 2; font-size: var(--step-display); top: calc(50svh - .5em); margin-top: calc(50svh - .5em); text-align: center; }
.verb-word h3 { font-size: inherit; line-height: 1; padding-top: .04em; color: var(--k-hueso); }
.verb-line { position: absolute; z-index: 2; left: var(--m); bottom: 32px; max-width: 34ch; padding: 16px 20px; background: rgba(11, 11, 13, .72); color: var(--k-hueso); font-size: var(--step-body); }

/* De dónde vengo: anillo de piezas. Sin JS es una fila que se desliza */
.log { position: relative; padding: var(--gap) 0 calc(var(--gap) * .6); overflow-x: clip; }
.log-head { text-align: center; padding-inline: var(--m); }
.log-head h2 { font-size: clamp(4rem, 1rem + 11vw, 12rem); }
.log-head p { margin: 20px auto 0; max-width: 36ch; font-size: var(--step-lead); line-height: 1.3; color: var(--muted); }
.log-list { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px var(--m) 16px; }
.log-item { flex: none; width: min(64vw, 260px); scroll-snap-align: center; }
.log-card { position: relative; aspect-ratio: 9 / 16; background: var(--surface); overflow: hidden; margin-bottom: 16px; }
.log-card img, .log-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.log-card img.wide { object-fit: contain; }
.log-item h3 { font-size: var(--step-body); font-weight: 700; }
.log-role { font-size: var(--step-small); color: var(--muted); margin-bottom: 8px; }
.log-text p:last-child { max-width: 32ch; }

/* Con JS: las piezas forman un cilindro que se arrastra */
.orbit.on { --cw: clamp(160px, 17vw, 260px); position: relative; height: calc(var(--cw) * 16 / 9 + 160px); margin-top: 24px; perspective: 1400px; perspective-origin: 50% 20%; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.orbit.on.grab { cursor: grabbing; }
.orbit.on .log-list { position: relative; display: block; width: var(--cw); aspect-ratio: 9 / 16; padding: 0; overflow: visible; transform-style: preserve-3d; }
.orbit.on .log-item { position: absolute; inset: 0; width: auto; cursor: pointer; }
.orbit.on .log-card { height: 100%; margin: 0; outline: 3px solid transparent; transition: outline-color .3s; }
.orbit.on .log-item.now .log-card { outline-color: var(--accent); cursor: grab; }
.orbit.on .log-card img { -webkit-user-drag: none; }
.orbit.on .log-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.orbit.on .log-card video { opacity: 0; transition: opacity .4s; }
.orbit.on .log-card video.ready { opacity: 1; }
.orbit:focus-visible { outline-offset: -3px; }

/* Ficha de la pieza de delante, mandos y camino */
.orbit-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; max-width: 1120px; margin: 8px auto 0; padding-inline: var(--m); }
.orbit-info h3 { font-size: var(--step-lead); }
.orbit-info .log-role { margin: 6px 0 8px; }
.orbit-info p:last-child { max-width: 52ch; }
.orbit-info.swap { opacity: 0; transform: translateY(8px); }
.orbit-info { transition: opacity .25s, transform .25s var(--ease); }
.orbit-ctrl { display: flex; gap: 8px; }
.orbit-ctrl button { min-width: 52px; min-height: 52px; padding: 0 16px; border: 0; background: var(--surface); font-weight: 600; cursor: pointer; transition: background-color .18s, transform .18s var(--ease); }
.orbit-ctrl button:hover { background: #2a2a27; }
.orbit-ctrl button:active { transform: scale(.95); }
.orbit-ctrl button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.orbit-steps { display: flex; gap: 4px; max-width: 1120px; margin: 40px auto 0; padding: 0 var(--m); overflow-x: auto; scrollbar-width: none; }
.orbit-steps li { flex: 1 0 auto; }
.orbit-steps button { position: relative; width: 100%; min-height: 48px; padding: 14px 4px 0; border: 0; background: none; text-align: left; font-size: var(--step-small); color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .18s; }
.orbit-steps button::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--deep); }
.orbit-steps button::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.orbit-steps button:hover, .orbit-steps button[aria-current="true"] { color: var(--ink); }
.orbit-steps button.seen { --p: 1; }

/* Contacto */
.contact {
  min-height: 80svh; background: var(--accent); color: var(--accent-ink);
  display: grid; grid-template-rows: auto 1fr auto; padding: 40px var(--m) 32px;
}
.contact-lead { font-size: var(--step-lead); font-stretch: 100%; text-transform: none; font-weight: 600; letter-spacing: 0; line-height: 1.25; max-width: 24ch; }
.contact-mail {
  align-self: end; margin-bottom: 12vh;
  font-size: clamp(2.5rem, 0.5rem + 9.6vw, 13rem); font-weight: 400; font-stretch: 62%;
  letter-spacing: -0.02em; line-height: .95; text-decoration: none; overflow-wrap: anywhere;
  transition: color .2s;
}
.contact-mail:hover { color: #3d3d38; }
.contact-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; font-size: var(--step-small); }
.contact-foot a { text-underline-offset: 3px; }

/* Pie */
.foot { padding: 160px var(--m) 32px; }
.foot-mark { color: var(--accent); font-size: clamp(6rem, 1rem + 33vw, 32rem); line-height: .8; text-align: center; margin-bottom: 32px; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; font-size: var(--step-small); }

/* Entradas */
@media (min-width: 1081px) { .js [data-reveal]:not(.in) { opacity: 0; transform: translateY(24px); } }
.js [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Tableta */
@media (max-width: 1080px) {
  .hero-body { grid-template-columns: 1fr; gap: 20px; }
  .try, .get { grid-template-columns: 1fr; }
  .get-media { max-width: 420px; }
  .work { grid-template-columns: 1fr; }
  .work-media { min-height: 0; }
  .work-media video { height: 80svh; }
  .contact { min-height: 0; row-gap: 96px; }
  .contact-mail { margin-bottom: 24px; }
}

/* Móvil */
@media (max-width: 760px) {
  .bar nav a:not([href="#contacto"]) { display: none; }
  .hero { padding: 84px 16px 24px; }
  .hero-wall { grid-template-columns: 1fr; }
  .hero-wall video:not(:first-child) { display: none; }
  .hero-card { padding: 24px 20px; gap: 28px; }
  :root { --step-head: 11vw; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .link { justify-self: start; }
  .hero-foot .btn { width: 100%; }

  .case-run { height: auto; }
  .case-stage { position: relative; height: auto; display: block; padding-bottom: 48px; }
  .case-ground { position: relative; aspect-ratio: 4 / 5; height: auto; }
  .case-track { flex-direction: column; gap: 24px; padding-inline: 16px; transform: none !important; margin-top: -40vw; }
  .case-head { flex: none; width: 100%; }

  .case-card { flex: none; width: 100%; height: auto; grid-template-rows: auto auto; }
  .case-card img { aspect-ratio: 16 / 9; }
  .case-card video { aspect-ratio: 4 / 5; }
  .case-panel { flex-direction: column; align-items: start; gap: 8px; padding: 20px; min-height: 140px; }
  .case-panel p { text-align: left; font-size: var(--step-body); }

  .work-side { padding-top: 32px; }

  .work-media video { height: auto; aspect-ratio: 9 / 14; }
  .work-media figcaption { position: static; padding: 12px 16px 72px; }

  .sheet { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; padding: 32px 16px; row-gap: 20px; }
  .sheet h3, .sheet:nth-child(even) h3 { grid-column: 1; grid-row: 1; }
  .sheet img, .sheet:nth-child(even) img { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; height: auto; }
  .sheet p, .sheet:nth-child(even) p { grid-column: 1; grid-row: 3; font-size: var(--step-body); }

  .verb-word { font-size: 22vw; }
  .verb-line { left: 16px; right: 16px; bottom: 16px; max-width: none; }

  .log-head h2 { font-size: 18vw; }
  .orbit.on { --cw: 42vw; perspective: 900px; height: calc(var(--cw) * 16 / 9 + 64px); }
  .orbit-panel { grid-template-columns: 1fr; gap: 20px; }
  .orbit-ctrl button { flex: 1; }
  .orbit-steps { flex-wrap: wrap; gap: 4px; margin-top: 28px; }
  .orbit-steps li { flex: 1 0 30%; }

  .contact-mail { font-size: 13vw; margin-bottom: 8vh; }
  .contact-foot { flex-direction: column; }
}

/* Dos puntos de partida */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 64svh; padding: 48px var(--m) 40px; text-decoration: none; transition: background-color .25s; }
.door h3 { font-size: var(--step-head); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .86; letter-spacing: -0.01em; }
.door p { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.door-go { font-weight: 600; display: inline-block; transition: transform .25s var(--ease); }
.door:hover .door-go { transform: translateX(8px); }
.door-new { background: var(--accent); color: var(--accent-ink); }
.door-new:hover { background: var(--accent-hover); }
.door-stuck { background: var(--paper); color: var(--paper-ink); }
.door-stuck:hover { background: #e2dfd8; }

/* Quién soy: entre las cuerdas */
.me { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: var(--gap) var(--m); }
.ropes { position: absolute; inset: 0; display: grid; align-content: center; gap: 72px; pointer-events: none; }
.ropes span { display: block; height: 14px; background: var(--accent); }
.me-photo { position: relative; grid-column: 2 / 6; }
.me-photo img { width: 100%; max-height: 82svh; aspect-ratio: 4 / 5; object-fit: cover; }
.me-photo figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.me-text { position: relative; grid-column: 7 / 13; background: var(--bg); padding: 32px 0; }
.me-text h2 { margin-bottom: 28px; }
.me-text p { max-width: 40ch; }
.me-text p + p { margin-top: 16px; }
.me-text .me-lead { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; }
.sheet img.pos-left { object-position: 0 50%; }

@media (max-width: 1080px) {
  .me { grid-template-columns: 1fr; row-gap: 40px; }
  .me-photo, .me-text { grid-column: 1; }
  .me-photo { max-width: 520px; }
}

@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; padding: 40px 16px 32px; }

  .me { grid-template-columns: 1fr; row-gap: 32px; padding-inline: 16px; }
  .me-photo, .me-text { grid-column: 1; }
  .ropes { align-content: start; padding-top: 30vw; gap: 48px; }
  .me-text { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal]:not(.in) { transform: none; transition: opacity .3s; }
  .work-media video.wipe { animation: none; }
  .case-track { transform: none !important; }
  .case-run { height: auto; }
  .case-stage { position: relative; height: auto; overflow-x: auto; padding-block: 64px; }
}
