/* Hallmark · shape: Marquee Hero · genre: editorial · theme: brand · redesign: full · draw: e5329a
 * paper: oklch(38.3% 0.054 258) · accent: oklch(75.5% 0.129 81) · display: Roboto Slab · body: Hanken Grotesk · hero: Poster · nav: edge-aligned · footer: statement · signature: the Mirari forest at dusk with the bear, full-bleed, the wordmark set in its sky
 * axes: mid/slab-serif/chromatic-mustard · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a studio page with no claim of its own; let the forest and the owner's work carry it instead of adding words */
/* Hallmark · hero-review: fix · 5 findings · 4 resolved 1 unresolved (the headline line is the owner's to write) */
/* Hallmark · finish-review: subagent · 7 findings · 6 resolved 1 partial · gap: the Mexicof recording shows customer names and phones, so it stays a still login screen */
/* Hallmark · finish-review 2: subagent · 8 findings · 8 resolved · dead links dropped, studio and services merged into one screen, Mexicof re-cropped without the login email, hero smudge cleaned, specific heads, email at poster scale, phone lockup aligned, play buttons moved under the screens */
/* Hallmark · waive 47b · two device pictures, a desktop and a phone, each with the real El Duende page inside its screen · the owner asked to see his store on an iMac and on an iPhone; the devices are generated images, not Apple bezels */
/* Hallmark · answered parallax · the owner asked for the 2020 scroll parallax back, and for depth on the portfolio captures (data-profundidad, the individual translate property); transform and opacity only, off under reduced motion, on phones and without script, where the flattened picture stays */
/* Hallmark · answered ambient motion · the owner asked for the forest to move on its own: canopy sway (skewX pivoting on each crown's cut), a bird flock every 38 s, the cat's blink, the sun's glow and fireflies only on the dark back hill, four lit at a time (the owner dropped the lake glints); transform and opacity only, paused off-screen, off under reduced motion, on phones and without script */
/* Hallmark · answered portfolio redesign · the owner disliked the card grid and kept the chosen projects and the iMac with the iPhone: one sticky stage holds both devices and every project passes through their screens as its text crosses mid-view (the site scrolls inside the iMac, recordings scrub with the scroll, apps bring the phone to the centre, older sites move the phone aside); transform and opacity only, instant under reduced motion, El Duende on screen without script */
/* Hallmark · answered contact and footer redesign · the owner asked to rework the close: the contact now sits on the cave floor, the email at poster scale underlined with the cave's turquoise light, the other ways (WhatsApp, phone, where) as a short list beside it; the footer joins the same floor as one line with the cat head on the left and drops the giant wordmark; the plum and the pink tokens now equal the illustration's floor and earth exactly */
/* Hallmark · answered portfolio motion · every project now slides one long capture like El Duende: the old sites were stitched from their scroll recordings (Finezipo keeps its fixed sidebar as a still layer, Manelyk was woven from a few settled frames), the apps were captured in the simulator with sample data and keep their header or tab bar still; Mexicof adds its Tecnoservicio app on the phone */
/* Hallmark · dismissed 58 · the 87 words at y 1200 are the owner's studio paragraph and service lines, kept verbatim by the redesign */
/* Hallmark · dropped //ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js, jquery-1.10.2.min.js, principal.js, inline-svg.js, jquery.transit, modernizr, prefixfree, skrollr, snap.svg · the owner asked to leave the 2014 parallax stack behind; the forest is now one flattened picture and the page needs no script except the video's pause control */
/* Hallmark · reworded "Que Hacemos" to "Qué hacemos" · the missing accent was a spelling fault, not a copy change */
/* Hallmark · dropped mexicof.jpg · replaced by mexicof.webp, a sharper frame of the same login screen cropped to the form, with the owner's login email removed */
/* Hallmark · dropped finezipo.jpg, rever.jpg, manelykoficial.jpg · each still now serves as the poster frame of its own recording, which plays in place */
/* Hallmark · reworded "Estudio" to "Construimos su tienda, su punto de venta y su panel." · the owner asked for a page that wins clients; the label became the studio's claim */
/* Hallmark · reworded "Portafolio" to "Lo que hemos construido" · the section now opens with El Duende, the owner's current work, and the head says what the visitor will see */
/* Hallmark · reworded "Contacto" to "Cuéntenos su proyecto." · the close names the one action and sets the email at poster scale */
/* Hallmark · dropped http://www.manelykoficial.com, http://www.mexicof.com · both sites are gone (no DNS, HTTP 500); the projects keep their description and their recording */
@import url("./tokens.css?v=2026-11-21o");
@import url("./base.css?v=2026-11-21i");

/* Barra: flota sobre el bosque para que la portada llegue al borde superior */
.barra { position: absolute; inset: 0 0 auto 0; z-index: var(--z-raised); padding-block-start: var(--space-lg); color: var(--color-hero-ink); }
.barra .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.marca { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); letter-spacing: var(--tracking-display); text-transform: uppercase; text-decoration: none; color: var(--color-hero-ink); }
.marca img { width: auto; height: 2.1em; }
.marca { min-height: 44px; min-width: 44px; } /* aunque la cabeza se achique en pantallas de 320, el área táctil no baja de 44 px */
.barra nav { display: flex; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-ink); }
.barra nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font-size: var(--text-md); font-weight: 500; text-decoration: none; color: var(--color-hero-ink); white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.barra nav a:hover { background: var(--color-accent-2); }
.marca:focus-visible, .barra nav a:focus-visible { outline: 2px solid var(--color-hero-ink); outline-offset: 2px; }

/* Portada: el bosque a sangre, el logotipo en el claro del cielo */
.portada { position: relative; overflow: clip; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; isolation: isolate; background: var(--color-paper); }
.portada > picture, .portada > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portada > picture img { object-fit: cover; object-position: 50% 62%; z-index: 0; }
.logotipo { position: relative; z-index: 2; align-self: center; justify-self: center; display: inline-grid; margin-block-start: var(--space-xl); color: var(--color-hero-ink); }
.logotipo h1 { max-width: none; font-size: clamp(4rem, 10vw, 9rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: var(--color-hero-ink); }
.logotipo .lead { justify-self: end; max-width: none; font-size: var(--text-lead); font-weight: 500; line-height: 1.2; color: var(--color-hero-ink); }
/* Paralaje: las capas del bosque y de las costuras sobre las imágenes aplanadas; solo con script y movimiento permitido */
.paralaje { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; }
.paralaje img, .paralaje-costura img { position: absolute; max-width: none; height: auto; }
.con-paralaje .portada > picture { opacity: 0; }
.con-paralaje .portada .paralaje { opacity: 1; }
.con-paralaje .logotipo { z-index: 2; }
.paralaje--entra img { transition: scale 1400ms var(--ease-out); }
.paralaje-costura { display: none; position: absolute; inset: 0; pointer-events: none; }
.con-paralaje .paralaje-costura { display: block; }
.con-paralaje .costura > img { display: none; }

.portada-pie { position: relative; z-index: 2; display: grid; gap: var(--space-lg); justify-items: end; text-align: end; padding-block: var(--space-xl) var(--space-2xl); }
.portada-lema { max-width: 24ch; font-size: var(--text-2xl); font-weight: 500; line-height: 1.2; color: var(--color-ink); text-wrap: balance; text-shadow: 0 0 0.5em var(--color-paper), 0 0 0.15em var(--color-paper); } /* si cae sobre nubes claras (pantallas bajas), sigue leyéndose */
.acciones { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.portada-pie .acciones { justify-content: flex-end; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--quieto { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn--quieto:hover { background: var(--color-ink); color: var(--color-hero-ink); }
.btn--quieto:focus-visible { outline-color: var(--color-ink); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Entrada de los bloques al hacer scroll: solo con script; sin él todo se ve */
[data-revela] { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js [data-revela]:not(.revelado) { opacity: 0; transform: translateY(24px); }

/* Secciones */
section[id] { scroll-margin-top: var(--space-md); }
h2 { color: var(--color-ink); }
.rejilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

/* Estudio, en la superficie: la tesis a la izquierda y lo que hacemos a la derecha, en una sola pantalla */
.estudio { padding-block: var(--section-gap) var(--section-gap-l); }
.estudio-rejilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-3xl); align-items: start; }
.estudio-tesis { grid-column: 1 / span 7; display: grid; gap: var(--space-xl); position: sticky; top: var(--space-3xl); }
.declaracion { max-width: none; font-size: clamp(2.75rem, 3vw + 1rem, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; }
.estudio-parrafo { max-width: 44ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.servicios { grid-column: 9 / span 4; display: grid; gap: var(--space-xl); }
.servicios-lista { display: grid; margin: 0; padding: 0; list-style: none; }
.servicios-lista li { display: grid; gap: var(--space-xs); padding-block: var(--space-lg); border-top: 2px solid var(--color-accent); }
.servicios-lista h3 { font-size: var(--text-2xl); line-height: 1.1; color: var(--color-ink); }
.servicios-lista p { max-width: 40ch; color: var(--color-ink-2); }
.servicios-lista li:nth-child(2) { transition-delay: 80ms; }
.servicios-lista li:nth-child(3) { transition-delay: 160ms; }
.servicios-lista li:nth-child(4) { transition-delay: 240ms; }

/* Costuras: el bosque baja entre las bandas */
.costura { position: relative; overflow: clip; line-height: 0; margin-block-end: var(--space-2xl); }
.costura img { width: 100%; height: auto; }
.costura-tierra { background: var(--color-seal); }
.costura-cueva { background: var(--color-plum); }
.con-paralaje .costura-cueva { background: var(--color-lago); }

/* Portafolio, bajo tierra: una vitrina. El iMac y el iPhone se quedan fijos a la izquierda y los proyectos pasan
   por sus pantallas mientras la lista de la derecha avanza. Las webs se recorren al ritmo del scroll; con una app
   el iMac se va y el teléfono pasa al centro; con los proyectos anteriores el teléfono se aparta. */
.portafolio { padding-block: 0 var(--section-gap-s); background: var(--color-seal); color: var(--color-ink); }
.portafolio-titulo { max-width: 14ch; font-size: clamp(2.5rem, 3.6vw + 1rem, 5rem); line-height: 1.02; letter-spacing: -0.025em; margin-block-end: var(--space-2xl); }
.vitrina { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.vitrina-escenario { grid-column: 1 / span 8; grid-row: 1; align-self: start; }
.con-vitrina .vitrina-escenario { position: sticky; top: 0; z-index: 2; display: grid; align-items: center; height: 100vh; height: 100dvh; }
.escena { position: relative; margin: 0; width: min(100%, 100vh); padding-inline-end: 9%; padding-block-end: 4%; }
.ventana { position: relative; overflow: hidden; background: var(--color-paper); }
.equipo { position: relative; filter: drop-shadow(0 22px 28px var(--color-sombra-equipo)); transition: transform 800ms var(--ease-out), opacity 500ms var(--ease-out); }
.equipo-cuerpo { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.equipo .ventana { position: absolute; z-index: 1; }
.equipo--imac .ventana--escritorio { left: 2.18%; top: 3.13%; width: 95.54%; height: 61.88%; }
.equipo--iphone { position: absolute; right: 0; bottom: 0; z-index: 3; width: 21%; }
.equipo--iphone .ventana--telefono { left: 4.1%; top: 1.57%; width: 91.8%; height: 96.92%; border-radius: 14.7% / 6.7%; }
.js .escena[data-modo="telefono"] .equipo--imac { opacity: 0; transform: translateY(6%) scale(0.94); }
.js .escena[data-modo="telefono"] .equipo--iphone { transform: translate(-188%, -42%) scale(1.75); }
.js .escena[data-modo="escritorio"] .equipo--imac { transform: translateX(5%); }
.js .escena[data-modo="escritorio"] .equipo--iphone { opacity: 0; transform: translateX(45%); }
/* Cada proyecto es una capa de la pantalla; la del proyecto en turno sube y aparece, como una página que carga */
.pantalla { position: absolute; inset: 0; background: var(--color-paper); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
/* sin script se apilan todas y la de El Duende, la última, queda encima */
.js .pantalla:not(.activa) { opacity: 0; transform: translateY(3%); }
.pantalla-pagina { display: block; width: 100%; height: auto; will-change: transform; }
.pantalla-foto { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Partes que no se mueven al hacer scroll en el sitio o la app real: el menú lateral de Finezipo, el encabezado de
   Tecnoservicio y las barras de pestañas de las apps. Se quedan quietas encima mientras la página se desliza. */
.pantalla-fija { position: absolute; z-index: 1; display: block; height: auto; pointer-events: none; }
.pantalla-fija--lateral { left: 0; top: 0; width: 27.81%; }
.pantalla--lateral .pantalla-pagina { margin-inline-start: 27.81%; width: 72.19%; }
.pantalla-fija--arriba { left: 0; top: 0; width: 100%; }
.pantalla--arriba .pantalla-pagina { margin-block-start: 28.89%; }
.pantalla-fija--abajo { left: 0; bottom: 0; width: 100%; }
/* La lista: el proyecto que está en pantalla queda encendido, con su filo mostaza; los demás esperan */
.vitrina-proyectos { grid-column: 9 / span 4; grid-row: 1; margin: 0; padding: 0; list-style: none; }
.capitulo { display: grid; align-content: center; gap: var(--space-md); min-height: 92vh; padding-block: var(--space-2xl); padding-inline-start: var(--space-lg); border-inline-start: 2px solid transparent; transition: opacity var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); }
.capitulo--breve { min-height: 76vh; }
.con-vitrina .capitulo:not(.activo) { opacity: 0.4; }
.con-vitrina .capitulo.activo { border-inline-start-color: var(--color-accent); }
.capitulo h3 { display: flex; align-items: center; gap: var(--space-sm); font-size: clamp(2.25rem, 2.2vw + 1rem, 3.5rem); line-height: 1.02; overflow-wrap: break-word; min-width: 0; }
.capitulo-icono { flex: none; width: 0.85em; height: 0.85em; border-radius: 22%; }
.capitulo p { max-width: 36ch; font-size: var(--text-lead); line-height: 1.45; }
.capitulo .capitulo-hecho { font-size: var(--text-md); color: var(--color-ink-2); }
.capitulo .enlace { justify-self: start; }
.enlace { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-thickness var(--dur-micro) var(--ease-out); }
.enlace:hover { text-decoration-thickness: 2px; }
.enlace:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }

/* Contacto, en el piso de la cueva (el mismo morado exacto de la ilustración): el correo a escala de cartel,
   subrayado con la luz turquesa del fondo de la cueva; a la derecha, las otras maneras de hablar. El pie sigue en
   el mismo piso. */
.contacto { position: relative; padding-block: 0 var(--section-gap-s); background: var(--color-plum); }
.contacto-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; margin-block-start: calc(var(--space-4xl) * -1); }
.contacto-invitacion { grid-column: 1 / span 8; display: grid; gap: var(--space-md); min-width: 0; container-type: inline-size; }
.contacto-titulo { font-size: var(--text-section); line-height: 1.05; }
.costura-cueva { z-index: 1; }
.contacto-correo { justify-self: start; max-width: 100%; font-family: var(--font-display); font-weight: var(--display-weight); font-size: max(2rem, min(100cqi / (var(--letras, 13) * 0.61), max(7.4vw, 2.75rem), 7.5rem)); line-height: 1; letter-spacing: -0.03em; overflow-wrap: break-word; min-width: 0; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-lago); text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; transition: color var(--dur-short) var(--ease-out); }
/* --letras (en el HTML) es el largo del correo: la letra se ajusta para que quepa en un renglón; en el celular, si ni a 32 px cabe, se parte en el guion */
.contacto-correo { padding-block: max(0px, calc((44px - 1em) / 2)); } /* en celulares angostos la letra baja de 44 px; el área táctil no */
.contacto-correo:hover { color: var(--color-lago); }
.contacto-correo:focus-visible { outline: 3px solid var(--color-lago); outline-offset: 6px; }
.contacto-vias { grid-column: 9 / span 4; margin: 0; }
.contacto-vias > div { display: grid; gap: var(--space-xs); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.contacto-vias dt { font-size: var(--text-sm); color: var(--color-ink-2); }
.contacto-vias dd { margin: 0; color: var(--color-ink); }
.contacto-vias .btn { margin-block-start: var(--space-2xs); }

/* Pie: una sola línea en el mismo piso de la cueva, con la mascota a la izquierda */
.pie { padding-block: var(--space-lg) var(--space-xl); background: var(--color-plum); }
.pie-fila { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md) var(--space-xl); padding-block-start: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.pie-marca { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); letter-spacing: var(--tracking-display); text-transform: uppercase; text-decoration: none; color: var(--color-ink); }
.pie-marca img { width: auto; height: 36px; }
.pie-marca:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-inline-end: auto; }
.pie-enlaces a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.pie-enlaces a:hover { color: var(--color-accent); }
.pie-enlaces a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pie-legal { font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .estudio-tesis, .servicios { grid-column: 1 / -1; }
  .estudio-tesis { position: static; }
  /* En pantallas angostas el escenario queda arriba, fijo, y la lista corre debajo de él */
  .vitrina { grid-template-columns: minmax(0, 1fr); }
  .vitrina-escenario, .vitrina-proyectos { grid-column: 1; }
  .vitrina-proyectos { grid-row: 2; }
  .con-vitrina .vitrina-escenario { height: auto; padding-block: var(--space-md); background: var(--color-seal); }
  .escena { width: min(100%, 50vh); margin-inline: auto; }
  .capitulo { min-height: 46vh; padding-inline-start: var(--space-md); }
  .capitulo--breve { min-height: 40vh; }
  .contacto-invitacion, .contacto-vias { grid-column: 1 / -1; }
  .contacto-grid { margin-block-start: 0; padding-block-start: var(--space-xl); }
}
@media (max-width: 40rem) {
  .logotipo .lead { justify-self: start; }
  .barra .container { min-height: 64px; gap: var(--space-sm); }
  .barra nav a { padding: 0 var(--space-sm); }
  /* en el celular la mascota se queda a la izquierda, sin la palabra: el MIRARI grande ya está en la portada */
  .marca span { display: none; }
  .marca { flex: none; }
  .marca img { height: 44px; }
  /* la ilustración ocupa su propia fila y el texto va debajo: en pantallas bajas el gato nunca queda tras el título */
  .portada { grid-template-rows: minmax(15rem, 1fr) auto auto; }
  .portada > picture { position: relative; grid-row: 1; inset: auto; height: auto; }
  .portada > picture img { object-position: 14% 50%; }
  .logotipo { grid-row: 2; align-self: start; justify-self: start; margin-block-start: var(--space-sm); margin-inline: var(--gutter); color: var(--color-ink); }
  .portada-pie { grid-row: 3; }
  .logotipo h1, .logotipo .lead { color: var(--color-ink); }
  .logotipo h1 { font-size: clamp(3.25rem, 16vw, 4.5rem); }
  .portada-pie { justify-items: start; text-align: start; padding-block: var(--space-md) var(--space-xl); }
  .portada-pie .acciones { justify-content: flex-start; }
  .portada-lema { font-size: var(--text-xl); }
}
/* Ambiente de la portada: el bosque se mueve solo, sin scroll. Cada pieza se prende con una clase en <html>
   y se detiene cuando la portada sale de la vista (.portada-fuera). Solo transform y opacity. */
.paralaje .ambiente { position: absolute; display: none; pointer-events: none; }
.anim-pajaros .ambiente--pajaros, .anim-sol .ambiente--sol-brillo, .anim-luciernagas .ambiente--luciernagas-atras { display: block; }
.ambiente--pajaros .bandada { position: absolute; inset: 0; animation: vuelo 38s linear 4s infinite both; }
.ambiente--pajaros svg { position: absolute; left: 0; top: 30%; width: 20%; overflow: visible; fill: var(--color-hero-ink); opacity: 0.78; }
.ave { transform-box: fill-box; transform-origin: 50% 70%; animation: aleteo var(--d) ease-in-out infinite alternate; }
@keyframes vuelo { 0% { translate: -12% 0; } 62% { translate: 108% -16%; } 100% { translate: 108% -16%; } }
@keyframes aleteo { from { transform: scaleY(1); } to { transform: scaleY(-0.4); } }
.ambiente--sol-brillo::before { content: ""; position: absolute; inset: -80%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklch, var(--color-ink) 50%, transparent), transparent); animation: respira 7s ease-in-out infinite alternate; }
@keyframes respira { from { opacity: 0.3; transform: scale(0.9); } to { opacity: 0.85; transform: scale(1.08); } }
.ambiente--luciernagas-atras i { position: absolute; opacity: 0; width: var(--t); height: var(--t); border-radius: 50%; background: color-mix(in oklch, var(--color-accent) 40%, var(--color-ink)); box-shadow: 0 0 calc(var(--t) * 2.4) calc(var(--t) * 0.8) color-mix(in oklch, var(--color-accent) 70%, transparent); animation: revoloteo-corto var(--d) ease-in-out var(--r) infinite, titila 12s ease-in-out var(--r) infinite both; }
@keyframes revoloteo-corto { 0%, 100% { translate: 0 0; } 25% { translate: 9px -6px; } 50% { translate: -3px -11px; } 75% { translate: -9px -4px; } }
@keyframes titila { 0%, 39%, 100% { opacity: 0; } 5%, 35% { opacity: 1; } }
.paralaje .gato-ojos { opacity: 0; }
.paralaje .gato-ojos.cerrados { opacity: 1; }
.portada-fuera .paralaje *, .portada-fuera .paralaje *::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .paralaje .ambiente { display: none; }
  .paralaje img, .paralaje-costura img, [data-revela], .btn, .barra nav a, .equipo, .pantalla, .capitulo, .enlace, .contacto-correo, .pie-enlaces a { transition: none; }
}
/* Tabletas verticales: la imagen aplanada (antes de que cargue el paralaje) también se recorre hacia el gato */
@media (orientation: portrait) and (min-width: 40.01rem) {
  .portada > picture img { object-position: 30% 62%; }
}
/* Pantallas bajas y anchas (el celular en horizontal): el logotipo empieza bajo la barra, se achica con la altura
   y el lema ocupa menos renglones; la portada crece lo que haga falta en vez de encimar el texto */
@media (max-height: 34rem) and (min-width: 40.01rem) {
  .portada { min-height: max(100dvh, 62vw); } /* la ilustración completa, para que el lema caiga sobre el pasto marino */
  .logotipo { align-self: start; margin-block-start: calc(var(--space-lg) + 80px); }
  .logotipo h1 { font-size: clamp(3rem, 16dvh, 9rem); }
  .portada-lema { max-width: 34ch; font-size: var(--text-xl); }
  .portada-pie { padding-block: var(--space-lg); }
}
@media (max-width: 24rem) {
  .barra nav a { padding: 0 var(--space-xs); }
}
@media (max-width: 22rem) {
  .barra nav a { padding: 0 var(--space-2xs); font-size: var(--text-sm); }
  .marca img { height: 36px; }
}
