/* V4 lab · case-study.css
   Estilos compartidos por los case studies V4 (plantilla elegida: variante B). Cada página solo agrega sus datos y su script. */
/* Plantilla elegida (variante B; ronda 12, referencia: Sierra Hopkins): datos del proyecto con timeline, un resumen de tres
   frases cortas (The problem · What I did · The outcome) y el impacto con las cifras después de Decisions.
   Plantilla de case study V4 (ronda 11). Clara, atractiva y rápida de entender: la imagen primero,
   el título debajo, el resumen y las decisiones en una sola tarjeta grande que cambia con el scroll
   (como en V2). Sin la cinta de colores. El footer es el mismo de la home, oscuro. */
:root {
  --gutter: clamp(20px, 4.4vw, 72px);
  --nav-h: 64px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --line-w: 2.5px;
  --ink: #0A0710; --paper: #FFF6EA; --page: #F3ECE0; --bg: #16101F; --text: #FFF1E4;
  --soft: rgba(10,7,16,.62); --rule: rgba(10,7,16,.16);
  --l0: #9A8CFF; --l1: #E07BFF; --l2: #FF6B95; --l3: #FF7A3D; --l4: #FFB61E;
  --hard: 6px 6px 0 var(--ink);
  --display: 'Bungee', sans-serif;
  --text-font: 'Archivo', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--page); /* Ronda 19: la cuadrícula de Work vuelve; calma el color del fondo y las piezas lisas (portada, tarjeta, títulos) se despegan */ background-image: linear-gradient(rgba(22,16,31,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(22,16,31,.07) 1px, transparent 1px); background-size: 48px 48px; background-position: var(--gutter) 0; color: var(--ink); font-family: var(--text-font); font-weight: 450; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 6px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; text-wrap: balance; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Nav: la misma de la home (ronda 9) */
.brand { position: fixed; left: calc(var(--gutter) + 10px); top: calc(var(--nav-h) / 2); transform: translateY(-50%); z-index: 21; text-decoration: none; font-size: 17px; line-height: 1; }
.brand .sticker { display: inline-flex; filter: url(#sticker); color: var(--ink); }
.nav { position: fixed; top: 0; right: 0; z-index: 20; height: var(--nav-h); display: flex; align-items: center; padding: 0 var(--gutter); }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; padding: 4px 6px; border-radius: 99px; background: rgba(22,16,31,.74); border: 1px solid rgba(255,241,228,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav-link { position: relative; display: inline-block; padding: 8px 12px 10px; font-size: 14px; font-weight: 550; color: var(--text); text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav-link::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .25s var(--spring), opacity .2s; }
.nav-link:hover, .nav-link.is-active { opacity: 1; }
.nav-link:hover::after { transform: scale(1); opacity: .45; }
.nav-link.is-active::after { transform: scale(1); opacity: 1; }
.nav .sep { width: 1px; height: 16px; margin: 0 4px; background: rgba(255,241,228,.22); }
.nav .menu { display: none; font-size: 14px; font-weight: 550; padding: 9px 16px; border-radius: 99px; color: var(--text); background: rgba(22,16,31,.74); border: 1px solid rgba(255,241,228,.14); }

main { padding: calc(var(--nav-h) + 3vh) var(--gutter) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); }
section { margin-bottom: 18vh; }

/* Recursos compartidos con la home: chip, recuadro, marco con sombra dura */
.chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); }
.box { display: inline-block; background: var(--paper); color: var(--ink); border: var(--line-w) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: .08em .2em .02em; border-radius: .14em; transform: rotate(-1.6deg); line-height: 1; }
.frame { border: var(--line-w) solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--hard); }

/* 1 · La imagen primero; debajo, empresa, título, presentación y datos */
/* Ronda 12: la portada cubre casi toda la primera pantalla (deja ver el comienzo del título) */
.cover .frame { height: calc(100vh - var(--nav-h) - 3vh - 9vh); min-height: 420px; border-radius: 30px; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.head { margin: 9vh 0 14vh; align-items: end; }
.head .chip { grid-column: 1 / -1; justify-self: start; margin-bottom: 3.5vh; }
.head h1 { grid-column: 1 / 10; font-size: clamp(34px, 4.4vw, 84px); }
.head .desc { grid-column: 1 / 8; margin-top: 4vh; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.42; font-weight: 500; }
.head .desc { grid-row: 3; }
.head .meta { grid-row: 3; align-self: end; grid-column: 9 / 13; display: grid; gap: 14px; list-style: none; font-size: 16px; }
.head .meta li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1.5px solid var(--rule); padding-bottom: 10px; }
.head .meta span { color: var(--soft); }

/* Ficha del proyecto: cuatro celdas en un marco (Role, Timeline + status, Company, Focus) */
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--line-w) solid var(--ink); border-radius: 22px; background: var(--paper); box-shadow: var(--hard); overflow: hidden; margin-bottom: 7vh; }
.facts li { padding: clamp(16px, 1.6vw, 26px); border-left: 2px solid var(--ink); display: grid; gap: 6px; align-content: start; }
.facts li:first-child { border-left: 0; }
.facts .label { font-size: 12px; color: var(--soft); }
.facts b { font-size: clamp(16px, 1.2vw, 20px); font-weight: 650; }
.facts span { font-size: 14px; color: var(--soft); }
.head { margin-bottom: 6vh; }
.facts .todo { color: var(--l2); font-weight: 650; }
/* TL;DR: tres frases cortas, una por columna */
.tldr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tldr div { padding-top: 18px; border-top: 2px solid var(--ink); }
.tldr h2 { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.4vw, 24px); margin-bottom: 12px; }
.tldr p { font-size: clamp(16px, 1.2vw, 20px); line-height: 1.45; }
/* Impacto: después de las decisiones */
.impact .nums { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 5vh; padding-top: 4vh; border-top: 2px solid var(--ink); }
.impact .closing { grid-column: 1 / 8; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.5; }

/* 2 · Resumen: qué hice y qué pasó (título 1-5, texto 7-12) */
.row { padding: 6vh 0; border-top: 2px solid var(--ink); }
.row .label { grid-column: 1 / -1; margin-bottom: 3vh; }
.row .lead { grid-column: 1 / 6; font-family: var(--display); font-size: clamp(22px, 2vw, 36px); line-height: 1.12; text-wrap: balance; }
.row .body { grid-column: 7 / 13; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; }
.points { list-style: none; display: grid; gap: 14px; }
.points li { position: relative; padding-left: 26px; }
.points li::before { content: ''; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border: 2px solid var(--ink); background: var(--paper); border-radius: 3px; }
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4vh var(--gutter); margin-bottom: 4vh; }
.nums b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.4vw, 60px); line-height: 1; margin-bottom: 8px; }
.nums p { font-size: 15px; line-height: 1.4; max-width: 24ch; }

/* 3 · Decisiones: una sola tarjeta grande, fija mientras se hace scroll. A la izquierda el dashboard
   se mueve y se acerca a cada widget (un marco de selección lo señala); a la derecha cambia la decisión. */
.sec-title { font-size: clamp(30px, 3.2vw, 58px); margin-bottom: 7vh; }
.zoom { position: relative; height: calc(var(--steps) * 80vh); }
.zoom-sticky { position: sticky; top: calc(var(--nav-h) + 2vh); height: calc(100vh - var(--nav-h) - 6vh); }
.zcard { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: var(--line-w) solid var(--ink); border-radius: 30px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.zframe { grid-column: 1 / 8; position: relative; overflow: hidden; background: #F7F8FA; border-right: var(--line-w) solid var(--ink); }
.zlayer { position: absolute; left: 0; top: 0; width: var(--w, 100%); transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.19, 1, .22, 1), opacity .25s; }
.zlayer img { width: 100%; height: auto; }
.zlayer.swap { opacity: 0; }
/* El marco de selección con tiradores (el de Work y la ilustración de Make) */
.zring { position: absolute; border: calc(2px / var(--s, 1)) solid var(--l0); border-radius: calc(4px / var(--s, 1)); opacity: 0; transition: opacity .4s, left 1.1s, top 1.1s, width 1.1s, height 1.1s; transition-timing-function: cubic-bezier(.19, 1, .22, 1); }
.zring.on { opacity: 1; }
.zring i { position: absolute; width: calc(10px / var(--s, 1)); height: calc(10px / var(--s, 1)); background: #fff; border: calc(1.5px / var(--s, 1)) solid var(--l0); }
.zring i:nth-child(1) { left: calc(-6px / var(--s, 1)); top: calc(-6px / var(--s, 1)); }
.zring i:nth-child(2) { right: calc(-6px / var(--s, 1)); top: calc(-6px / var(--s, 1)); }
.zring i:nth-child(3) { left: calc(-6px / var(--s, 1)); bottom: calc(-6px / var(--s, 1)); }
.zring i:nth-child(4) { right: calc(-6px / var(--s, 1)); bottom: calc(-6px / var(--s, 1)); }
.ztext { grid-column: 8 / 13; display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 36px); min-height: 0; }
.zindex { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.zindex button { font-family: var(--display); font-size: 13px; width: 38px; height: 30px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); transition: background .2s, color .2s; }
.zindex button:hover { background: #fff; }
.zindex button.is-active { background: var(--ink); color: var(--paper); }
.zsteps { list-style: none; position: relative; flex: 1; min-height: 0; }
.zstep { position: absolute; inset: 0; padding-top: clamp(18px, 2.4vh, 30px); display: flex; flex-direction: column; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s, transform .5s cubic-bezier(.19, 1, .22, 1); overflow: auto; }
.zstep.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.zstep .goal { font-size: 13px; font-weight: 650; color: var(--soft); margin-bottom: 10px; }
.zstep h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 36px); line-height: 1.05; margin-bottom: 2.4vh; text-wrap: balance; }
.part { padding: 12px 0; border-top: 1.5px solid var(--rule); font-size: clamp(15px, 1.05vw, 17px); line-height: 1.48; }
.part .label { display: block; font-size: 12px; color: var(--soft); margin-bottom: 4px; }
.part.result { font-weight: 650; }
.part.result b { font-family: var(--display); font-weight: 400; font-size: 1.5em; line-height: 1; margin-right: 2px; }
.zcrop { display: none; }

/* 4 · Learnings */
.learn { padding: 5vh 0; border-top: 2px solid var(--ink); align-items: baseline; }
.learn .n { grid-column: 1 / 2; font-family: var(--display); font-size: 15px; }
.learn h3 { grid-column: 2 / 6; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.7vw, 30px); line-height: 1.1; }
.learn p { grid-column: 7 / 13; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; }

/* 5 · Más case studies: las tarjetas de Work */
.more-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 7vh; }
.more-head a { font-size: 15px; font-weight: 650; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.proj { position: relative; display: block; text-decoration: none; }
.proj .chip { position: absolute; top: -14px; left: 22px; z-index: 3; font-size: 12px; padding: 4px 10px; }
.proj .frame { aspect-ratio: 16 / 10; transition: transform .35s var(--spring), box-shadow .35s var(--spring); }
.proj img { width: 100%; height: 100%; object-fit: cover; }
.proj h4 { margin-top: 20px; font-family: var(--display); font-weight: 400; font-size: clamp(16px, 1.3vw, 22px); line-height: 1.15; }
/* Ronda 42: título arriba y la frase debajo, sin rayas ni etiquetas; la frase usa casi todo el ancho de la tarjeta */
.proj .desc { margin-top: 8px; max-width: 92%; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.45; opacity: .85; }
.proj .soon { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.proj:hover .frame, .proj:focus-visible .frame { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--ink); }

/* 6 · Footer: el mismo de la home, oscuro para separar */
.contact { min-height: 86vh; display: grid; align-content: end; padding: 16vh var(--gutter) 5vh; background: var(--bg); color: var(--text); }
.contact .label { margin-bottom: 2.5vh; }
.contact h2 { font-size: clamp(44px, 6.4vw, 120px); max-width: 12em; }
.links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 6vh 0 12vh; }
.links a { display: inline-block; text-decoration: none; color: var(--ink); font-size: clamp(15px, 1.2vw, 19px); font-weight: 650; padding: 12px 20px; border-radius: 99px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: baseline; font-size: 14px; font-weight: 600; border-top: 1.5px solid rgba(255,241,228,.16); padding-top: 18px; }
/* Ronda 25 (referencia: adrianaurrego.com): nombre y año · ciudad · volver arriba */
.foot > :nth-child(2) { text-align: center; }
.foot .to-top { justify-self: end; text-decoration: none; }
.foot .to-top:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :nth-child(2) { text-align: right; } .foot .to-top { grid-column: 1 / -1; justify-self: start; } }

/* Ronda 13: más discreto. Sin cuadrícula, títulos de sección sin recuadro, marcos finos sin sombra dura:
   el color y el peso quedan para las imágenes. */
.head { margin: 7vh 0 9vh; }
.head .chip { background: none; border: 0; box-shadow: none; padding: 0; font-size: 14px; font-weight: 650; color: var(--soft); margin-bottom: 2.4vh; }
.head h1 { grid-column: 1 / 9; grid-row: 2; }
.head .meta { grid-column: 9 / 13; grid-row: 2; align-self: end; font-size: 15px; gap: 10px; }
.head .meta b { font-weight: 500; }
.head .meta .todo { color: var(--l2); }
.cover .frame { border: 0; box-shadow: none; border-radius: 24px; }
.sec-title { font-size: clamp(28px, 2.8vw, 50px); margin-bottom: 6vh; }
.tldr div { border-top-width: 1.5px; }
.tldr h2 { font-family: var(--text-font); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.zcard { border-width: 1.5px; box-shadow: none; border-radius: 24px; background: #FBF7F1; }
.zframe { border-right-width: 1.5px; }
.zindex { border-bottom-width: 1.5px; }
.zindex button { border-width: 1.5px; font-family: var(--text-font); font-weight: 650; }
.impact .nums, .learn { border-top-width: 1.5px; }
.divided { padding-top: 12vh; border-top: 1.5px solid var(--ink); }
.proj .frame { border-width: 1.5px; box-shadow: none; }
.proj .chip { box-shadow: none; border-width: 1.5px; }
.proj:hover .frame, .proj:focus-visible .frame { box-shadow: 6px 6px 0 var(--ink); }

/* Ronda 14: portada con borde, en su proporción (3:2) para que el dashboard se vea completo; títulos del
   resumen en la tipografía de los títulos y texto del mismo tamaño que en la tarjeta de Decisions;
   Impact con el texto a la izquierda y las cifras en 2 x 2 a la derecha. */
.cover .frame { height: auto; min-height: 0; aspect-ratio: 3 / 2; border: 2px solid var(--ink); }
.tldr h2 { font-family: var(--display); font-size: clamp(18px, 1.4vw, 24px); font-weight: 400; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin-bottom: 10px; }
.tldr p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.48; }
.impact { align-items: start; }
.impact .closing { grid-column: 1 / 6; grid-row: 2; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.48; padding-top: 4vh; border-top: 1.5px solid var(--ink); }
.impact .nums { grid-column: 7 / 13; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }

/* Ronda 15: menos líneas; el resumen más angosto para que respire; la portada ocupa la pantalla (alto entre
   1,5 y 1,9 veces más angosto que el ancho, así el dashboard nunca se corta). */
/* Ronda 17: entra en la pantalla con aire abajo; el tope (ancho / 2,2) evita que se corte el dashboard */
.cover .frame { aspect-ratio: auto; height: clamp(calc((100vw - 2 * var(--gutter)) / 2.2), calc(100vh - var(--nav-h) - 16vh), calc((100vw - 2 * var(--gutter)) / 1.5)); }
.tldr { gap: var(--gutter); }
.tldr div { border-top: 0; padding-top: 0; }
.tldr p { max-width: 80%; }
.impact .closing, .impact .nums { border-top: 0; padding-top: 0; }
.divided { border-top: 0; padding-top: 0; }

@media (max-width: 899px) {
  :root { --nav-h: 56px; }
  .brand { font-size: 14px; }
  .nav .menu { display: inline-block; }
  .nav ul { display: none; position: absolute; right: var(--gutter); top: calc(var(--nav-h) - 2px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-radius: 18px; min-width: 150px; }
  .nav.open ul { display: flex; }
  .nav .sep { width: auto; height: 1px; margin: 6px 12px; }
  .nav-link { display: block; padding: 10px 12px; font-size: 16px; }
  .grid > * { grid-column: 1 / -1 !important; }
  .cover .frame { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 22px; }
  .head .meta { margin-top: 5vh; grid-row: auto; }
  .head .desc { grid-row: auto; }
  .row .lead { margin-bottom: 3vh; }
  .learn h3 { margin: 8px 0 12px; }
  .cards { grid-template-columns: 1fr; gap: 6vh; }
  .head .meta { grid-row: auto; margin-top: 4vh; }
  .zcrop { border-width: 1.5px; box-shadow: none; }
  .tldr { grid-template-columns: 1fr; gap: 4vh; }
  .impact .nums { grid-template-columns: 1fr 1fr; grid-row: auto; margin-top: 5vh; }
  .impact .closing { grid-row: auto; }
  .cover .frame { height: auto; aspect-ratio: 3 / 2; }
  /* Mobile: sin la tarjeta fija; cada decisión con su recorte arriba y el texto debajo */
  .zoom { height: auto; }
  .zoom-sticky { position: static; height: auto; }
  .zcard { display: block; height: auto; border: 0; box-shadow: none; background: none; border-radius: 0; overflow: visible; }
  .zframe, .zindex { display: none; }
  .ztext { padding: 0; }
  .zsteps { display: grid; gap: 9vh; }
  .zstep { position: static; opacity: 1; transform: none; pointer-events: auto; overflow: visible; padding: 0; }
  .zcrop { display: block; width: 100%; height: auto; margin-bottom: 3vh; border: var(--line-w) solid var(--ink); border-radius: 18px; box-shadow: var(--hard); background: #fff; }
}
@media (prefers-reduced-motion: reduce) { .proj .frame, .nav-link::after, .zlayer, .zring, .zstep { transition: none; } }

/* Variante galería (Dino): en vez de acercarse a un widget, el marco muestra los teléfonos de cada decisión
   enteros sobre el color del producto (--stage). Si una decisión tiene más de una vista, flechas chicas abajo. */
.zcard.gallery .zframe { background: var(--stage, #F7F8FA); display: flex; flex-direction: column; }
.zshot { position: relative; flex: 1; min-height: 0; margin: clamp(20px, 3vh, 40px) clamp(20px, 2.4vw, 44px) 0; }
.zshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.zshot img.swap { opacity: 0; }
.zfoot { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 16px clamp(20px, 2.4vw, 44px) 20px; font-size: clamp(16px, 1.15vw, 19px); font-weight: 500; line-height: 1.4; }
.zfoot p { flex: 1; }
.zmore { display: flex; align-items: center; gap: 8px; flex: none; font-size: 13px; font-weight: 650; }
.zmore[hidden] { display: none; }
.zmore button { width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 15px; transition: background .2s; }
.zmore button:hover { background: #fff; }
.zcrop.on-stage { background: var(--stage, #fff); padding: 18px; }
@media (max-width: 899px) { .zcard.gallery .zframe { display: none; } .zcrop.on-stage { padding: 12px; } }

/* Ronda 35: palabras clave resaltadas en el resumen (Challenge, What I did, Outcome), un solo color */
.tldr mark { background: var(--l4); color: var(--ink); padding: .02em .22em; border-radius: .2em; font-weight: 650; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Ronda 50: fundido a negro antes de ir a Approach en la home */
.leave { position: fixed; inset: 0; z-index: 100; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .25s; }
.leave.on { opacity: 1; }
