/* The last frame of each passage uses the next poem's ground color. */
.poem-passage {
  position:fixed;
  z-index:10;
  inset:0;
  overflow:hidden;
  isolation:isolate;
  pointer-events:none;
  background-color:var(--landing);
  animation-timing-function:cubic-bezier(.51,.03,.24,1);
  animation-fill-mode:both;
}
.poem-passage[hidden] { display:none; }
.poem-passage::before,.poem-passage::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  animation-duration:inherit;
  animation-timing-function:inherit;
  animation-fill-mode:both;
}

.passage-halo { --landing:#d1b6a1; animation-name:cross-halo; animation-duration:850ms; }
.passage-halo::before {
  background:radial-gradient(ellipse at 64% 36%,#ffad70,#ba543e 37%,#803943 58%,#d1b6a1 79%);
  animation-name:burn-halo;
}
@keyframes cross-halo {
  from{clip-path:ellipse(4% 5% at 64% 36%)}
  60%{clip-path:ellipse(87% 80% at 64% 36%)}
  to{clip-path:ellipse(139% 135% at 64% 36%)}
}
@keyframes burn-halo { 0%,38%{opacity:1} to{opacity:0} }

.passage-chimney { --landing:#202824; animation-name:cross-chimney; animation-duration:780ms; }
.passage-chimney::before {
  background:linear-gradient(0deg,#272529 22%,#4b3e42 61%,#b79078);
  clip-path:polygon(0 34%,15% 34%,15% 11%,22% 11%,22% 34%,39% 34%,39% 20%,46% 20%,46% 34%,68% 34%,68% 5%,75% 5%,75% 34%,92% 34%,92% 21%,97% 21%,97% 34%,100% 34%,100% 100%,0 100%);
  animation-name:smoke-crossing;
}
@keyframes cross-chimney { from{clip-path:inset(98% 0 0)} 70%,to{clip-path:inset(0)} }
@keyframes smoke-crossing { from{transform:translateY(41%);opacity:1} 54%{opacity:.85} to{transform:translateY(-36%);opacity:0} }

.passage-road { --landing:#171b25; animation-name:cross-road; animation-duration:810ms; }
.passage-road::before {
  background:repeating-linear-gradient(180deg,transparent 0 9%,#d6b878 9% 12%,transparent 12% 21%);
  clip-path:polygon(65% 32%,66% 32%,49% 100%,37% 100%);
  animation-name:road-dashes;
}
@keyframes cross-road {
  from{clip-path:polygon(65% 32%,68% 32%,83% 100%,16% 100%)}
  59%{clip-path:polygon(33% 0,107% 0,116% 100%,-16% 100%)}
  to{clip-path:polygon(-10% 0,110% 0,110% 100%,-10% 100%)}
}
@keyframes road-dashes { from{transform:translateY(-12%) scale(.88);opacity:.85} 62%{opacity:.7} to{transform:translateY(34%) scale(1.5);opacity:0} }

.passage-candle { --landing:#251b24; animation-name:cross-candle; animation-duration:760ms; }
.passage-candle::before {
  background:radial-gradient(ellipse 5% 13% at 48% 45%,#e5c39ac9,transparent 78%),
             radial-gradient(ellipse 12% 31% at 48% 46%,#cb8a6575,transparent 78%);
  animation-name:candle-out;
}
@keyframes cross-candle { from{clip-path:ellipse(1% 3% at 48% 45%)} 66%,to{clip-path:ellipse(139% 135% at 48% 45%)} }
@keyframes candle-out { 0%,20%{opacity:1} 43%{opacity:.28} 49%{opacity:.52} 69%,to{opacity:0} }

.passage-colors { --landing:#1c1720; animation-name:cross-colors; animation-duration:850ms; }
.passage-colors::before {
  background:linear-gradient(118deg,#243c73 0 27%,#852e49 27.3% 58%,#ba834b 58.3% 77%,#1c1720 77.3%);
  animation-name:passing-colors;
}
@keyframes cross-colors { from{clip-path:inset(0 96% 0 0)} 69%,to{clip-path:inset(0)} }
@keyframes passing-colors { from{transform:translateX(-25%);opacity:1} 63%{opacity:.9} to{transform:translateX(30%);opacity:0} }

.passage-newsprint { --landing:#201c1b; animation-name:cross-newsprint; animation-duration:810ms; }
.passage-newsprint::before {
  background:repeating-linear-gradient(0deg,#5446564d 0 2px,transparent 2px 8px) 18% 30% / 41% 35% no-repeat,
             repeating-linear-gradient(0deg,#5446565c 0 2px,transparent 2px 8px) 86% 45% / 35% 43% no-repeat,
             linear-gradient(99deg,transparent 46%,#9e805c68 49%,#eadac1 50.5%,transparent 54%) #e1d3b9;
  animation-name:fold-newsprint;
}
@keyframes cross-newsprint {
  from{clip-path:polygon(106% 71%,77% 80%,100% 109%,110% 110%)}
  48%{clip-path:polygon(100% 45%,26% 32%,-11% 106%,108% 115%)}
  to{clip-path:polygon(110% -20%,-22% -18%,-22% 110%,113% 112%)}
}
@keyframes fold-newsprint { from{transform:rotate(-13deg) scale(.86);opacity:.35} 50%{opacity:.78} to{transform:rotate(0) scale(1.05);opacity:0} }

.passage-splinters { --landing:#172824; animation-name:cross-splinters; animation-duration:820ms; }
.passage-splinters::before {
  background:linear-gradient(161deg,#914941,#684042 53%,#365047);
  clip-path:polygon(87% 4%,56% 54%,60% 46%,37% 69%,76% 7%,68% 21%,43% 35%,10% 100%,51% 47%,14% 72%,18% 59%,0 83%,0 66%,71% 10%);
  animation-name:scatter-splinters;
}
@keyframes cross-splinters { from{clip-path:inset(0 93% 0 0)} 45%{clip-path:inset(0 30% 0 0)} to{clip-path:inset(0)} }
@keyframes scatter-splinters { from{transform:translate(4%,7%) scale(.95);opacity:.7} to{transform:translate(35%,-14%) scale(1.23);opacity:0} }

.passage-current { --landing:#321e1e; animation-name:cross-current; animation-duration:840ms; }
.passage-current::before {
  background:repeating-linear-gradient(126deg,transparent 0 11%,#a3c2b04f 11% 12%,transparent 12% 19%),
             linear-gradient(124deg,#3e6759,#273e3b 55%,#5c3b37);
  animation-name:water-over;
}
.passage-current::after {
  background:radial-gradient(ellipse 10% 12% at 63% 28%,#c7c9b9 55%,transparent 60%),
             radial-gradient(ellipse 8% 9% at 48% 44%,#c3c7b9 55%,transparent 60%);
  animation-name:stones-under;
}
@keyframes cross-current {
  from{clip-path:polygon(75% 0,100% 0,100% 12%,85% 33%)}
  58%{clip-path:polygon(5% 0,100% 0,100% 87%,2% 100%)}
  to{clip-path:polygon(-9% -8%,109% -8%,109% 109%,-9% 109%)}
}
@keyframes water-over { from{transform:translate(13%,-24%) scale(1.3);opacity:.86} to{transform:translate(-14%,13%) scale(1.3);opacity:0} }
@keyframes stones-under { from{transform:translateY(-12%);opacity:.45} 43%{opacity:.6} to{transform:translateY(18%);opacity:0} }

.passage-train { --landing:#1b1418; animation-name:cross-train; animation-duration:780ms; }
.passage-train::before {
  background:repeating-linear-gradient(90deg,#331f26 0 8%,#51373b 8% 14%,#2e232a 14% 18%),
             linear-gradient(0deg,transparent 44%,#c6955f 45% 49%,transparent 50%);
  background-blend-mode:screen;
  animation-name:passing-train;
}
.passage-train::after {
  background:linear-gradient(90deg,transparent 51.8%,#c4535d77 52.7%,#e47970bb 53%,#a334465a 53.6%,transparent 54.5%);
  animation-name:departing-light;
}
@keyframes cross-train { from{clip-path:inset(33% 100% 27% 0)} 53%{clip-path:inset(17% 0 15% 0)} to{clip-path:inset(0)} }
@keyframes passing-train { from{transform:translateX(-31%) scaleX(1.4);opacity:.95} 53%{opacity:.76} to{transform:translateX(42%) scaleX(1.4);opacity:0} }
@keyframes departing-light { 0%,56%{opacity:0} 84%{opacity:.71} to{opacity:0} }

.passage-hotel { --landing:#f4efe6; animation-name:cross-hotel; animation-duration:650ms; animation-timing-function:cubic-bezier(.56,.02,.24,1); }
@keyframes cross-hotel { from{clip-path:inset(0 46% 0 53%)} to{clip-path:inset(0)} }

.passage-noon { --landing:#2a251e; animation-name:cross-noon; animation-duration:890ms; }
.passage-noon::before {
  background:radial-gradient(circle at 50% 35%,transparent 0 14%,#a59163 19%,#e3ceb0 22%,#856951 24%,transparent 27%);
  animation-name:noon-ring;
}
@keyframes cross-noon { from{clip-path:ellipse(2% 1% at 50% 35%)} 74%,to{clip-path:ellipse(132% 138% at 50% 35%)} }
@keyframes noon-ring { 0%{transform:scale(.51);opacity:.26} 43%{opacity:.8} to{transform:scale(1.18);opacity:0} }

/* Láminas al vuelo: the flag dips like a horse's head. */
.passage-flag { --landing:#2c2e28; animation-name:cross-flag; animation-duration:910ms; }
.passage-flag::before {
  background:linear-gradient(169deg,#b76850 9%,#84463b 28%,#536965 50%,#355456 69%,#2c2e28);
  animation-name:flag-fold-light;
}
.passage-flag::after {
  background:repeating-linear-gradient(168deg,transparent 0 15%,#e4b88a3d 17%,#221b1c50 19%,transparent 23%);
  animation-name:flag-fold-light;
}
@keyframes cross-flag {
  from{clip-path:polygon(0 44%,25% 28%,46% 34%,78% 28%,100% 39%,100% 47%,76% 39%,48% 37%,20% 51%,0 53%)}
  54%{clip-path:polygon(0 16%,25% 6%,46% 20%,78% 8%,100% 16%,100% 83%,76% 96%,48% 77%,20% 91%,0 84%)}
  to{clip-path:polygon(0 0,25% 0,46% 0,78% 0,100% 0,100% 100%,76% 100%,48% 100%,20% 100%,0 100%)}
}
@keyframes flag-fold-light { from{transform:translateY(-12%) skewY(-4deg);opacity:.88} 41%{transform:translateY(5%) skewY(4deg);opacity:.87} to{transform:translateY(19%);opacity:0} }

/* Conversación con una niña: two paths pull apart along a fracture. */
.passage-fracture { --landing:#211b1c; animation-name:cross-fracture; animation-duration:830ms; }
.passage-fracture::before,.passage-fracture::after { animation-name:pavement-part; }
.passage-fracture::before {
  background:linear-gradient(121deg,#655b4d,#3d3731 72%);
  clip-path:polygon(0 0,52% 0,50% 21%,56% 33%,45% 45%,49% 56%,37% 73%,43% 86%,41% 100%,0 100%);
  --slab-travel:-31%;
}
.passage-fracture::after {
  background:linear-gradient(135deg,#786650,#514741 72%);
  clip-path:polygon(52% 0,100% 0,100% 100%,41% 100%,43% 86%,37% 73%,49% 56%,45% 45%,56% 33%,50% 21%);
  --slab-travel:31%;
}
@keyframes cross-fracture {
  from{clip-path:polygon(51% 0,54% 0,55% 31%,51% 55%,41% 74%,45% 100%,37% 100%,35% 75%,44% 54%,49% 29%)}
  to{clip-path:polygon(0 0,100% 0,107% 31%,105% 55%,106% 74%,100% 100%,0 100%,-5% 75%,-7% 54%,-7% 29%)}
}
@keyframes pavement-part { from{transform:translateX(0);opacity:.82} 57%{opacity:.62} to{transform:translateX(var(--slab-travel));opacity:0} }

/* Agua estancada: pass between the black and painted-gold gate bars. */
.passage-gate { --landing:#ddceb8; animation-name:cross-gate; animation-duration:880ms; }
.passage-gate::before {
  background:
    repeating-linear-gradient(90deg,transparent 0 13%,#281d1e 13.5% 15%,#a56b49 15.4% 16.1%,#613238 16.1% 17.1%,transparent 17.2% 19%),
    linear-gradient(128deg,#3e242a,#4d3831 52%,#aa7a5b88 65%,transparent 88%);
  border-right:2px solid #dcba82;
  transform-origin:8% center;
  animation-name:gate-pivot;
}
@keyframes cross-gate { from{clip-path:inset(0 74% 0 24%)} 65%,to{clip-path:inset(0)} }
@keyframes gate-pivot {
  0%{transform:perspective(640px) rotateY(0);opacity:.97}
  45%{opacity:1}
  to{transform:perspective(640px) rotateY(-82deg);opacity:0}
}

/* Día de los Inocentes: the pale sheet tears across the red sky. */
.passage-poster { --landing:#191e20; animation-name:cross-poster; animation-duration:840ms; }
.passage-poster::before {
  background:
    linear-gradient(121deg,transparent 41%,#ead5b8 42% 58%,#bfa78e 59% 61%,transparent 62%),
    linear-gradient(166deg,#7c303c,#56242d 57%,#62363d 66%,#191e20);
  clip-path:polygon(0 0,100% 0,100% 63%,84% 59%,75% 70%,64% 63%,54% 74%,38% 68%,25% 86%,14% 77%,0 84%);
  animation-name:poster-peel;
}
@keyframes cross-poster {
  from{clip-path:polygon(0 0,100% 0,100% 4%,80% 7%,58% 3%,36% 10%,15% 4%,0 6%)}
  52%{clip-path:polygon(0 0,100% 0,100% 55%,80% 57%,58% 53%,36% 72%,15% 61%,0 65%)}
  to{clip-path:polygon(0 0,100% 0,100% 100%,80% 100%,58% 100%,36% 100%,15% 100%,0 100%)}
}
@keyframes poster-peel { from{transform:translateY(-24%) scale(.97);opacity:.91} 45%{opacity:.87} to{transform:translateY(19%) skewX(-11deg);opacity:0} }

/* Penelopea de Ítaca pasó por Lima: a lamp and its reflection meet. */
.passage-glass { --landing:#292920; animation-name:cross-glass; animation-duration:970ms; }
.passage-glass::before,.passage-glass::after {
  background:
    radial-gradient(ellipse 13% 21% at 70% 43%,#f3c789 0 7%,#c58d51b2 17%,#6e4d3b8c 45%,transparent 85%),
    repeating-linear-gradient(110deg,transparent 0 22%,#9a889526 22.3% 22.7%,transparent 23%);
  animation-name:glass-double;
  --reflection-x:-19%;
  --reflection-y:11%;
}
.passage-glass::after {
  background:radial-gradient(ellipse 11% 18% at 70% 43%,#e0e9c5 0 8%,#a6ae8ea0 20%,#6267676a 45%,transparent 89%);
  --reflection-x:3%;
  --reflection-y:-21%;
}
@keyframes cross-glass { from{clip-path:ellipse(3% 4% at 70% 43%)} 67%,to{clip-path:ellipse(150% 150% at 70% 43%)} }
@keyframes glass-double { from{transform:translate(var(--reflection-x),var(--reflection-y));opacity:.75} 58%{transform:none;opacity:.8} to{transform:scale(1.14);opacity:0} }

/* Alabarda: a low ray presses the grass into the folds of a quilt. */
.passage-grass { --landing:#212630; animation-name:cross-grass; animation-duration:940ms; }
.passage-grass::before {
  background:
    repeating-conic-gradient(from 262deg at 51% 107%,#98774774 0 .5deg,transparent .7deg 2.9deg),
    linear-gradient(162deg,#66513aa8,#464533);
  transform-origin:51% bottom;
  animation-name:grass-bow;
}
.passage-grass::after {
  background:radial-gradient(ellipse 55% 18% at 48% 60%,#efd09a55,transparent 100%);
  animation-name:grass-sidelight;
}
@keyframes cross-grass { from{clip-path:inset(96% 0 0)} 68%,to{clip-path:inset(0)} }
@keyframes grass-bow { from{transform:skewX(-5deg) scaleY(.94);opacity:.7} 44%{transform:skewX(11deg) scaleY(1.13);opacity:.85} to{transform:skewX(22deg) scaleY(.81);opacity:0} }
@keyframes grass-sidelight { 0%,to{opacity:0} 53%{opacity:1;transform:translateX(15%)} }

/* Como quien vuelve de un largo viaje: the fold lifts and closes. */
.passage-quilt { --landing:#28221f; animation-name:cross-quilt; animation-duration:990ms; }
.passage-quilt::before {
  background:
    repeating-radial-gradient(ellipse at 77% 104%,#48414e 0 13%,#7a685e 14%,#948276 16%,#4b4247 18% 25%),
    linear-gradient(159deg,#b9a292,#30282b);
  background-blend-mode:soft-light;
  animation-name:quilt-draw;
}
@keyframes cross-quilt { from{clip-path:ellipse(62% 8% at 72% 100%)} 62%{clip-path:ellipse(100% 76% at 72% 94%)} to{clip-path:ellipse(169% 161% at 72% 94%)} }
@keyframes quilt-draw { from{transform:translateY(16%) rotate(-10deg);opacity:.81} 51%{opacity:1} to{transform:translateY(-29%) rotate(-4deg);opacity:0} }

/* Arte poética de Suardíaz: the kiln goes dark as two shards separate. */
.passage-kiln { --landing:#2d2220; animation-name:cross-kiln; animation-duration:860ms; }
.passage-kiln::before,.passage-kiln::after { animation-name:kiln-fragments; }
.passage-kiln::before {
  background:linear-gradient(145deg,#cf916e,#9b5b4a 54%,#633b32);
  clip-path:polygon(0 0,66% 0,61% 31%,43% 48%,52% 62%,26% 81%,0 73%);
  --shard-x:-27%;
  --shard-turn:-21deg;
}
.passage-kiln::after {
  background:linear-gradient(156deg,#b87859,#8a4f41 68%,#5d3430);
  clip-path:polygon(66% 0,100% 0,100% 100%,43% 100%,55% 69%,43% 48%,61% 31%);
  --shard-x:27%;
  --shard-turn:22deg;
}
@keyframes cross-kiln { from{clip-path:inset(24% 7% 23% 61%)} 73%,to{clip-path:inset(0)} }
@keyframes kiln-fragments { from{opacity:.82;transform:scale(.93)} 43%{opacity:.95} to{opacity:0;transform:translateX(var(--shard-x)) rotate(var(--shard-turn))} }

/* Cerámica roja: a sheet of rain washes the rooflines away. */
.passage-rain { --landing:#191918; animation-name:cross-rain; animation-duration:920ms; }
.passage-rain::before {
  background:
    repeating-linear-gradient(103deg,transparent 0 3.7%,#c1c6b03d 4% 4.2%,transparent 4.4% 6.9%),
    repeating-linear-gradient(173deg,#5a3840 0 9%,#435151 9.5% 18%,#32414a 18.5% 31%);
  animation-name:roof-rain;
}
@keyframes cross-rain { from{clip-path:polygon(0 0,100% 0,100% 8%,69% 1%,31% 12%,0 4%)} to{clip-path:polygon(0 0,100% 0,100% 100%,69% 100%,31% 100%,0 100%)} }
@keyframes roof-rain { from{transform:translateY(-19%) scale(1.14);opacity:.9} 57%{opacity:.71} to{transform:translateY(29%) scale(1.15);opacity:0} }

/* Huelga: the neighborhood lights go out one after another. */
.passage-blackout { --landing:#262b26; animation-name:cross-blackout; animation-duration:850ms; }
.passage-blackout::before {
  background:linear-gradient(90deg,#181817,#211f1d 49%,#1a1917);
  animation-name:blackout-ground;
}
.passage-blackout::after {
  background:
    radial-gradient(ellipse 6% 3% at 18% 52%,#a78d59 21%,transparent 93%),
    radial-gradient(ellipse 7% 3% at 45% 43%,#bb9b60 21%,transparent 93%),
    radial-gradient(ellipse 6% 3% at 72% 34%,#b99558 21%,transparent 93%);
  animation-name:blackout-windows;
}
@keyframes cross-blackout { from{clip-path:inset(25% 100% 0 0)} 54%,to{clip-path:inset(0)} }
@keyframes blackout-ground { from{opacity:1} 51%{opacity:.94} to{opacity:0} }
@keyframes blackout-windows {
  0%,21%{opacity:.78;clip-path:inset(0)}
  36%{opacity:.78;clip-path:inset(0 40% 0 0)}
  58%{opacity:.61;clip-path:inset(0 65% 0 0)}
  79%,to{opacity:0;clip-path:inset(0 100% 0 0)}
}

/* Libertad o muerte: disconnected notes slide past one another. */
.passage-ledger { --landing:#2b2925; animation-name:cross-ledger; animation-duration:810ms; }
.passage-ledger::before,.passage-ledger::after {
  background:repeating-linear-gradient(0deg,#4c4f3a56 0 1px,transparent 2px 9px),linear-gradient(122deg,#aa9978,#776e54);
  clip-path:polygon(5% 30%,90% 22%,100% 45%,5% 50%);
  animation-name:ledger-slip;
  --ledger-fling:27%;
}
.passage-ledger::after { clip-path:polygon(0 55%,80% 56%,92% 80%,4% 86%); --ledger-fling:-22%; }
@keyframes cross-ledger { from{clip-path:inset(27% 7% 67% 10%)} 63%,to{clip-path:inset(0)} }
@keyframes ledger-slip { from{transform:translateX(0) rotate(-5deg);opacity:.81} 37%{opacity:.8} to{transform:translateX(var(--ledger-fling)) rotate(7deg);opacity:0} }

/* Y mi hermana se fue a alfabetizar: opened primers catch lantern light. */
.passage-primer { --landing:#17282c; animation-name:cross-primer; animation-duration:910ms; }
.passage-primer::before {
  background:
    linear-gradient(90deg,#e0c09a 0 47%,#5b4a33 49%,#a98b63 50.6%,#d7b490 53% 100%);
  clip-path:polygon(0 9%,49% 15%,100% 8%,100% 91%,51% 85%,0 93%);
  animation-name:primer-open;
}
.passage-primer::after {
  background:radial-gradient(ellipse 40% 32% at 54% 62%,#eecb8540,transparent 91%);
  animation-name:primer-lantern;
}
@keyframes cross-primer { from{clip-path:inset(6% 48% 6% 49%)} 70%,to{clip-path:inset(0)} }
@keyframes primer-open { from{transform:perspective(650px) rotateX(48deg) scaleX(.27);opacity:.66} 56%{transform:perspective(650px) rotateX(16deg) scaleX(1);opacity:.73} to{transform:scale(1.19);opacity:0} }
@keyframes primer-lantern { 0%,to{opacity:0} 51%{opacity:.92} }

/* Dice una extranjera de ojos dormidos: the lake doubles the horizon. */
.passage-reflection { --landing:#2a2224; animation-name:cross-reflection; animation-duration:980ms; }
.passage-reflection::before,.passage-reflection::after {
  background:linear-gradient(96deg,#6f8e86,#384e59 63%,transparent 95%);
  clip-path:polygon(0 73%,22% 69%,32% 59%,45% 65%,58% 62%,63% 46%,69% 60%,85% 62%,100% 55%,100% 78%,0 78%);
  transform-origin:50% 77%;
  animation-name:reflection-drift;
  --reflection-angle:-6deg;
  --reflection-flip:1;
}
.passage-reflection::after { --reflection-angle:8deg; --reflection-flip:-1; filter:blur(2px); }
@keyframes cross-reflection { from{clip-path:inset(74% 0 24%)} 68%,to{clip-path:inset(0)} }
@keyframes reflection-drift { from{transform:scaleY(var(--reflection-flip));opacity:.78} 57%{opacity:.58} to{transform:scaleY(var(--reflection-flip)) rotate(var(--reflection-angle)) translateY(-6%);opacity:0} }

/* En la calle arde un ataúd: the cinema number turns and slips out of reach. */
.passage-dial { --landing:#19232d; animation-name:cross-dial; animation-duration:870ms; }
.passage-dial::before {
  inset:-40%;
  background:
    repeating-conic-gradient(from 9deg at 61% 49%,#cb98717e 0 7deg,transparent 7deg 31deg),
    radial-gradient(circle at 61% 49%,#2e343b 0 37%,#765f57 38% 51%,#373337 52%);
  mask-image:radial-gradient(circle at 61% 49%,transparent 0 20%,#000 21% 32%,transparent 33%);
  transform-origin:61% 49%;
  animation-name:dial-turn;
}
@keyframes cross-dial { from{clip-path:ellipse(6% 10% at 70% 48%)} 64%,to{clip-path:ellipse(141% 134% at 70% 48%)} }
@keyframes dial-turn { from{transform:rotate(-36deg) scale(.49);opacity:.88} 56%{transform:rotate(24deg) scale(.8);opacity:.84} to{transform:rotate(54deg) scale(1.23);opacity:0} }

@media (prefers-reduced-motion:no-preference) {
  .plates-art.scene-in-view .plates-flag { animation:flag-in-the-wind 3.9s .86s ease-in-out; }
  .plates-art.scene-in-view .plates-horse { animation:horse-in-the-wind 3.85s .9s ease-in-out; }
  .gate-art.scene-in-view .gate-shine {
    animation:gate-lantern 1.65s ease-in-out both,gate-afterimage 3.1s 1.65s ease-in-out both;
  }
  .lima-window.scene-in-view .lima-reflection { animation:lima-resonance 3.9s .9s ease-in-out; }
  .roofs.scene-in-view .roof-section:nth-child(2) { animation:roof-wet-edge 4.65s ease-in-out; }
}
@keyframes flag-in-the-wind {
  from,to{transform:translate(48%,10%) rotate(6deg)}
  32%{transform:translate(52%,12%) rotate(11deg) skewX(-3deg)}
  61%{transform:translate(44%,7%) rotate(4deg)}
}
@keyframes horse-in-the-wind {
  from,to{transform:translate(-42%,-9%) rotate(-7deg)}
  32%{transform:translate(-40%,-10%) rotate(-4deg)}
  64%{transform:translate(-45%,-9%) rotate(-8deg)}
}
@keyframes gate-afterimage {
  from{filter:none;opacity:1}
  64%{filter:hue-rotate(-17deg);opacity:.62}
  to{filter:hue-rotate(-8deg);opacity:.83}
}
@keyframes lima-resonance {
  from,to{transform:translate(-50%,-50%);filter:none}
  42%{transform:translate(-49%,-51%) scale(1.18);filter:blur(2px)}
}
@keyframes roof-wet-edge {
  from,to{filter:none}
  63%{filter:brightness(1.24) saturate(.87)}
}

/* Viejas viciosas: a scalding swell breaks diagonally. */
.passage-swell { --landing:#2a231c; animation:cross-swell 950ms cubic-bezier(.49,.05,.2,1) both; }
.passage-swell::before {
  background:
    repeating-radial-gradient(ellipse at 78% 75%,transparent 0 9%,#b5bcb653 9.2% 9.5%,#26455992 9.8% 12%),
    linear-gradient(151deg,#5d6c6d,#243d54 46%,#232a34 79%);
  animation-name:swell-break;
}
.passage-swell::after {
  background:linear-gradient(123deg,transparent 43%,#d0bd8a9e 51%,#d5ad5f67 55%,transparent 64%);
  animation-name:swell-lip;
}
@keyframes cross-swell {
  from{clip-path:polygon(71% 0,100% 0,100% 31%,88% 13%,74% 14%,65% 25%)}
  54%{clip-path:polygon(24% 0,100% 0,100% 77%,79% 58%,40% 69%,3% 93%)}
  to{clip-path:polygon(0 0,100% 0,100% 110%,70% 110%,35% 110%,0 110%)}
}
@keyframes swell-break { from{transform:scale(1.06) rotate(-12deg);opacity:.9} 46%{opacity:.91} to{transform:scale(1.2) rotate(-4deg);opacity:0} }
@keyframes swell-lip { 0%,24%{opacity:0} 58%{opacity:.78;transform:translate(-17%,9%)} to{opacity:0;transform:translate(-36%,22%)} }

/* Levántense temprano: a little of the molten gold still holds the light. */
.passage-molten { --landing:#242622; animation-name:cross-molten; animation-duration:965ms; }
.passage-molten::before {
  background:repeating-radial-gradient(ellipse at 64% 62%,#61412c 0 8%,#a87a46 11%,#e1ba72 13%,#5a3f2c 16% 19%);
  animation-name:molten-light;
}
@keyframes cross-molten { from{clip-path:ellipse(4% 2% at 64% 62%)} 57%{clip-path:ellipse(86% 72% at 64% 62%)} to{clip-path:ellipse(150% 154% at 64% 62%)} }
@keyframes molten-light { from{transform:scale(.74);opacity:.75} 52%{transform:scale(1.08);opacity:.9} to{transform:scale(1.23);opacity:0} }

/* Están penando: the beam sweeps low across the room. */
.passage-joist { --landing:#231f1c; animation-name:cross-joist; animation-duration:820ms; }
.passage-joist::before {
  background:repeating-linear-gradient(18deg,#272825 0 12%,#827a654c 12.3% 12.6%,#22231f 12.9% 17%);
  animation-name:joist-fall;
}
@keyframes cross-joist { from{clip-path:polygon(0 0,100% 0,100% 33%,0 3%)} 63%{clip-path:polygon(0 0,100% 0,100% 99%,0 78%)} to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)} }
@keyframes joist-fall { from{transform:translateY(-23%);opacity:.81} 53%{opacity:.94} to{transform:translateY(23%);opacity:0} }

/* Pablo de Rokha: the shape behind the ash remains unresolved. */
.passage-embers { --landing:#312629; animation-name:cross-embers; animation-duration:980ms; }
.passage-embers::before {
  background:radial-gradient(ellipse at 65% 55%,#92775b87,transparent 57%),linear-gradient(129deg,#443630,#6f5442a3 60%,#312629);
  animation-name:embers-air;
}
.passage-embers::after {
  background:#211b1c;
  clip-path:polygon(66% 97%,50% 84%,54% 68%,52% 46%,57% 23%,67% 15%,77% 22%,81% 38%,78% 47%,87% 57%,81% 63%,83% 73%,76% 80%,80% 97%);
  animation-name:embers-profile;
}
@keyframes cross-embers { from{clip-path:inset(17% 38% 43% 58%)} 62%,to{clip-path:inset(0)} }
@keyframes embers-air { from{opacity:.91;transform:translate(-9%,17%)} 52%{opacity:.79} to{opacity:0;transform:translate(18%,-19%)} }
@keyframes embers-profile { 0%,22%{opacity:0} 49%{opacity:.87} to{opacity:0} }

/* La familia: organdy passes close enough to see the weave. */
.passage-weave { --landing:#20282b; animation-name:cross-weave; animation-duration:890ms; }
.passage-weave::before {
  background:
    repeating-linear-gradient(83deg,#563b421c 0 1px,transparent 2px 6px),
    repeating-linear-gradient(7deg,#e4c8bc36 0 1px,transparent 2px 7px),
    linear-gradient(109deg,#7e656b,#bc9c90 43%,#594b56 82%);
  animation-name:weave-pull;
}
.passage-weave::after {
  background:radial-gradient(ellipse 31% 46% at 58% 43%,#7d354b89,transparent 82%);
  animation-name:weave-stain;
}
@keyframes cross-weave { from{clip-path:polygon(0 0,14% 0,7% 100%,0 100%)} 49%{clip-path:polygon(0 0,73% 0,51% 100%,0 100%)} to{clip-path:polygon(0 0,108% 0,103% 100%,0 100%)} }
@keyframes weave-pull { from{transform:skewY(-6deg);opacity:.83} 54%{opacity:.8} to{transform:translateX(25%) skewY(4deg);opacity:0} }
@keyframes weave-stain { 0%,24%{opacity:0;transform:scale(.6)} 61%{opacity:.76} to{opacity:0;transform:scale(1.19)} }

/* El culpable: the top sheet shifts, exposing the carbon underneath. */
.passage-carbon { --landing:#222420; animation-name:cross-carbon; animation-duration:860ms; }
.passage-carbon::before,.passage-carbon::after {
  inset:7% -8%;
  background:repeating-linear-gradient(0deg,transparent 0 35px,#4e5f58ac 35px 37px,transparent 37px 49px),#8b9991;
  animation-name:carbon-register;
  --carbon-drift:11%;
}
.passage-carbon::after {
  inset:12% -12% 2% 14%;
  background:repeating-linear-gradient(0deg,transparent 0 35px,#283e39a1 35px 38px,transparent 38px 49px),#566861;
  --carbon-drift:-13%;
}
@keyframes cross-carbon { from{clip-path:inset(15% 2% 84% 40%)} 69%,to{clip-path:inset(0)} }
@keyframes carbon-register { from{transform:translateX(var(--carbon-drift)) rotate(-9deg);opacity:.77} 53%{transform:translateX(0) rotate(-5deg);opacity:.91} to{transform:translateX(calc(var(--carbon-drift)*-1));opacity:0} }

/* La sala de torturas: the door closes and yields to the next room. */
.passage-door { --landing:#2c222d; animation-name:cross-door; animation-duration:940ms; }
.passage-door::before {
  background:linear-gradient(90deg,#202522 0 70%,#454840 70% 76%,#b1ab895f 76% 78%,#252523 78%);
  animation-name:door-weight;
  transform-origin:82% center;
}
@keyframes cross-door { from{clip-path:inset(0 17% 0 81%)} 47%{clip-path:inset(0 12% 0 72%)} to{clip-path:inset(0)} }
@keyframes door-weight { from{transform:perspective(940px) rotateY(-23deg);opacity:1} 46%{transform:perspective(940px) rotateY(0);opacity:.9} to{transform:perspective(940px) rotateY(52deg);opacity:0} }

/* Loca tú, tango: the step reverses and its trace disappears. */
.passage-tango { --landing:#211c28; animation-name:cross-tango; animation-duration:930ms; }
.passage-tango::before,.passage-tango::after {
  background:repeating-radial-gradient(ellipse at 53% 66%,transparent 0 18%,#dfab9e77 18.4% 18.8%,transparent 19.2% 25%);
  mask-image:conic-gradient(from 218deg at 53% 66%,#000 0 48deg,transparent 55deg 360deg);
  animation-name:tango-trace;
  --tango-turn:-18deg;
  --tango-offset:-8%;
}
.passage-tango::after { --tango-turn:31deg; --tango-offset:9%; transform-origin:55% 66%; }
@keyframes cross-tango { from{clip-path:ellipse(22% 9% at 58% 62%)} 57%{clip-path:ellipse(65% 52% at 53% 66%)} to{clip-path:ellipse(145% 138% at 53% 66%)} }
@keyframes tango-trace { from{transform:translateX(var(--tango-offset));opacity:.75} 35%{transform:translateX(0);opacity:.95} 61%{transform:rotate(var(--tango-turn));opacity:.61} to{opacity:0} }

/* De los desnudos será: the midnight disc falls into its own reflection. */
.passage-midnight-disc { --landing:#282c2a; animation-name:cross-midnight-disc; animation-duration:980ms; }
.passage-midnight-disc::before {
  background:radial-gradient(ellipse 12% 22% at 73% 36%,#d68c61 0 70%,#c26e4a72 80%,transparent 86%),linear-gradient(180deg,transparent 43%,#63374464 53%,#272735);
  animation-name:midnight-lowering;
}
.passage-midnight-disc::after {
  background:repeating-linear-gradient(3deg,transparent 0 8%,#ad696035 8.3% 9%,transparent 9.5% 13%);
  clip-path:inset(53% 0 0);
  animation-name:midnight-lowering;
}
@keyframes cross-midnight-disc { from{clip-path:inset(64% 0 33%)} 50%{clip-path:inset(38% 0 12%)} to{clip-path:inset(0)} }
@keyframes midnight-lowering { from{transform:translateY(-19%);opacity:.88} 51%{opacity:.76} to{transform:translateY(27%);opacity:0} }

/* Ave soul: two approaches to the same corner. */
.passage-crossing { --landing:#222739; animation-name:cross-crossing; animation-duration:875ms; }
.passage-crossing::before,.passage-crossing::after {
  background:linear-gradient(0deg,#48473e,#8e8069 68%,#887863);
  clip-path:polygon(0 27%,66% 49%,100% 39%,100% 46%,66% 56%,0 44%);
  animation-name:crossing-shadow;
  --corner-x:-18%;
  --corner-y:10%;
}
.passage-crossing::after { --corner-x:19%; --corner-y:-12%; rotate:141deg; }
@keyframes cross-crossing { from{clip-path:polygon(0 45%,61% 49%,100% 42%,100% 56%,61% 52%,0 55%)} 53%{clip-path:polygon(0 12%,61% 18%,100% 8%,100% 85%,61% 76%,0 89%)} to{clip-path:polygon(0 0,61% 0,100% 0,100% 100%,61% 100%,0 100%)} }
@keyframes crossing-shadow { from{transform:translate(var(--corner-x),var(--corner-y));opacity:.69} 56%{transform:none;opacity:.88} to{opacity:0;transform:translateX(calc(var(--corner-x)*-.5))} }

/* Rimbaud en polvos azules: crumbs turn with the coffee. */
.passage-coffee { --landing:#252d27; animation-name:cross-coffee; animation-duration:970ms; }
.passage-coffee::before {
  inset:-6%;
  background:repeating-radial-gradient(ellipse at 66% 54%,#4d3a42 0 6%,#9b695b 7.5% 8%,#6d514d 10% 13%);
  animation-name:coffee-swirl;
}
.passage-coffee::after {
  background:radial-gradient(circle,#d3af80a1 0 2px,transparent 3px) 0 0/17px 29px;
  mask-image:radial-gradient(ellipse at 62% 48%,#000 18%,transparent 52%);
  animation-name:coffee-swirl;
}
@keyframes cross-coffee { from{clip-path:ellipse(11% 8% at 66% 54%)} to{clip-path:ellipse(152% 148% at 66% 54%)} }
@keyframes coffee-swirl { from{transform:rotate(-8deg) scale(.87);opacity:.85} 43%{opacity:.83} to{transform:rotate(11deg) scale(1.2);opacity:0} }

/* Balada para una madre: move between the sill and the sunlit branch. */
.passage-sill { --landing:#312a22; animation-name:cross-sill; animation-duration:1000ms; }
.passage-sill::before {
  background:linear-gradient(139deg,#c9c595a0 0 36%,#d2bd7e80 37% 57%,#3e5038 62%,#2c332a);
  animation-name:sill-light;
}
.passage-sill::after {
  background:#29372c;
  clip-path:polygon(0 94%,28% 82%,43% 63%,51% 57%,59% 31%,64% 35%,70% 12%,74% 17%,78% 25%,88% 4%,94% 8%,95% 18%,100% 13%,100% 27%,77% 47%,68% 65%,50% 74%,38% 86%,0 100%);
  animation-name:sill-branch;
}
@keyframes cross-sill { from{clip-path:inset(22% 13% 26% 63%)} 68%,to{clip-path:inset(0)} }
@keyframes sill-light { from{transform:translate(11%,-9%);opacity:.71} 49%{opacity:.85} to{transform:translate(-15%,13%);opacity:0} }
@keyframes sill-branch { from{transform:translateY(9%);opacity:.5} 44%{opacity:.68} to{transform:translateY(-21%);opacity:0} }

/* El lamento del sargento: a wet ring breaks and drains away. */
.passage-ring { --landing:#211f25; animation-name:cross-ring; animation-duration:925ms; }
.passage-ring::before {
  background:radial-gradient(ellipse at 68% 70%,#54423c 0 15%,#b28762 16% 17%,#674d3f 18% 21%,#342c2b 22% 23%,#523e35 25% 53%,transparent 96%);
  animation-name:ring-break;
}
@keyframes cross-ring { from{clip-path:ellipse(12% 10% at 68% 70%)} 59%{clip-path:ellipse(104% 90% at 68% 70%)} to{clip-path:ellipse(150% 152% at 68% 70%)} }
@keyframes ring-break { from{transform:rotate(-8deg);opacity:.83} 55%{transform:rotate(-15deg) scale(1.13);opacity:.7} to{transform:scale(1.38);opacity:0} }

/* En busca del lenguaje marabusino: the rim rushes around a dark aperture. */
.passage-well { --landing:#242833; animation-name:cross-well; animation-duration:1010ms; }
.passage-well::before {
  background:repeating-radial-gradient(ellipse at 61% 61%,#312632 0 17%,#16151b 20% 30%,#63504d 31% 34%,#7c6159 35% 36%,#3e3439 38% 43%);
  transform-origin:61% 61%;
  animation-name:well-descent;
}
@keyframes cross-well { from{clip-path:ellipse(11% 9% at 61% 61%)} 68%,to{clip-path:ellipse(148% 143% at 61% 61%)} }
@keyframes well-descent { from{transform:scale(.38);opacity:.94} 51%{transform:scale(1.08);opacity:.91} to{transform:scale(2.4);opacity:0} }

/* La insoportable presencia: rails cross and slip underneath. */
.passage-rails { --landing:#33272e; animation-name:cross-rails; animation-duration:820ms; }
.passage-rails::before {
  background:linear-gradient(155deg,transparent 37%,#abb1af 37.3% 37.9%,#4e575c 39% 43%,transparent 43.5%,transparent 52%,#746e75 52.3% 53%,#30323a 53.3% 58%,transparent 58.4%);
  animation-name:rails-under;
}
@keyframes cross-rails { from{clip-path:polygon(0 62%,100% 25%,100% 39%,0 82%)} 52%{clip-path:polygon(0 22%,100% 0,100% 67%,0 100%)} to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)} }
@keyframes rails-under { from{transform:translateY(-13%) scale(.96);opacity:.86} 45%{opacity:.87} to{transform:translateY(22%) scale(1.25);opacity:0} }

/* Libertinaje: a pleated fan opens into the next dusk. */
.passage-fan { --landing:#282b2b; animation-name:cross-fan; animation-duration:900ms; }
.passage-fan::before {
  background:repeating-conic-gradient(from 220deg at 55% 105%,#936a73 0 5deg,#56404c 6deg 8deg,#ad817a 9deg 10deg,#79545e 11deg 17deg);
  transform-origin:55% 105%;
  animation-name:fan-unfold;
}
@keyframes cross-fan { from{clip-path:polygon(55% 100%,47% 68%,54% 62%,59% 63%,64% 100%)} 58%{clip-path:polygon(55% 100%,-4% 41%,23% 5%,77% 0%,103% 52%)} to{clip-path:polygon(50% 115%,-10% 110%,-8% -10%,108% -10%,110% 110%)} }
@keyframes fan-unfold { from{transform:scaleX(.43) rotate(-18deg);opacity:.73} 65%{transform:scaleX(1.06) rotate(0);opacity:.87} to{opacity:0} }

/* Ama a tu patria: an everyday garment turns across the sky. */
.passage-laundry { --landing:#232927; animation-name:cross-laundry; animation-duration:930ms; }
.passage-laundry::before {
  background:repeating-linear-gradient(104deg,#94757b65 0 2%,#402f4287 3% 5%,#c39a819a 6% 10%),linear-gradient(132deg,#4a414f,#b28576);
  clip-path:polygon(2% 0,100% 8%,98% 98%,72% 96%,55% 85%,32% 92%,0 100%);
  transform-origin:50% top;
  animation-name:laundry-turn;
}
@keyframes cross-laundry { from{clip-path:inset(0 7% 91% 23%)} 65%,to{clip-path:inset(0)} }
@keyframes laundry-turn { from{transform:perspective(700px) rotateX(57deg);opacity:.88} 52%{transform:perspective(700px) rotateX(-9deg);opacity:.89} to{transform:translateY(23%) skewX(-10deg);opacity:0} }

/* Petroleum: color separates across a spreading film. */
.passage-oil { --landing:#272b38; animation-name:cross-oil; animation-duration:980ms; }
.passage-oil::before {
  inset:-10%;
  background:repeating-radial-gradient(ellipse at 62% 46%,#302c3a 0 7%,#5e5959 8% 9%,#686f59 10% 12%,#7b6081 13% 15%,#2d3337 19% 23%);
  animation-name:oil-refraction;
}
@keyframes cross-oil { from{clip-path:polygon(45% 47%,57% 35%,68% 39%,79% 52%,73% 65%,54% 68%,41% 61%)} 55%{clip-path:polygon(3% 22%,33% 6%,67% 8%,103% 29%,98% 86%,41% 96%,0 92%)} to{clip-path:polygon(-9% -9%,35% -9%,73% -9%,107% -9%,107% 108%,43% 108%,-9% 108%)} }
@keyframes oil-refraction { from{transform:scale(.84) skewX(-8deg);opacity:.78} 48%{opacity:.84;filter:hue-rotate(-28deg)} to{transform:scale(1.24) skewX(9deg);opacity:0} }

/* Alienación, enajenación: the road appears in fragments of reflection. */
.passage-mirror { --landing:#2e232a; animation-name:cross-mirror; animation-duration:905ms; }
.passage-mirror::before,.passage-mirror::after {
  background:linear-gradient(144deg,#627682 0 19%,#d4ccaf 19.3% 29%,#7f8491 29.3% 66%,#4c4960 70%);
  clip-path:polygon(59% 8%,84% 0,100% 26%,80% 48%,56% 40%,47% 21%);
  animation-name:mirror-fragments;
  --mirror-x:-13%;
  --mirror-y:14%;
}
.passage-mirror::after { clip-path:polygon(0 65%,17% 45%,45% 42%,61% 69%,43% 100%,3% 100%); --mirror-x:16%; --mirror-y:-17%; }
@keyframes cross-mirror { from{clip-path:inset(21% 7% 59% 48%)} 63%,to{clip-path:inset(0)} }
@keyframes mirror-fragments { from{transform:translate(var(--mirror-x),var(--mirror-y)) rotate(-9deg);opacity:.67} 54%{transform:none;opacity:.94} to{transform:rotate(8deg) scale(1.15);opacity:0} }

/* ¿Qué hicisteis vosotros rilkistas?: the accompaniment goes taut and slips. */
.passage-strings { --landing:#2d2923; animation-name:cross-strings; animation-duration:900ms; }
.passage-strings::before,.passage-strings::after {
  inset:-14%;
  background:repeating-linear-gradient(12deg,transparent 0 8.5%,#bea18d98 9% 9.35%,#30262d9c 9.5% 10%,transparent 10.1% 16%);
  animation-name:strings-strain;
}
.passage-strings::after { rotate:9deg; opacity:.35; }
@keyframes cross-strings { from{clip-path:polygon(0 77%,100% 40%,100% 44%,0 80%)} 54%{clip-path:polygon(0 25%,100% 0,100% 62%,0 96%)} to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)} }
@keyframes strings-strain { 0%{transform:rotate(-5deg) scaleX(.9);opacity:.75} 43%{transform:skewY(-3deg) scaleX(1.12);opacity:.89} 59%{transform:skewY(1deg) scaleX(1.02)} to{transform:rotate(6deg);opacity:0} }

@media (prefers-reduced-motion:no-preference) {
  .patagonia.scene-in-view .patagonia-wave { animation:patagonia-undertow 4.5s cubic-bezier(.27,.62,.43,1) both; }
  .meeting.scene-in-view .meeting-shadow:last-child { animation:second-arrival 3.45s .32s ease-out both; }
  .eucalyptus.scene-in-view .eucalyptus-bough { animation:bough-in-the-window 4.8s ease-in-out both; }
  .slick.scene-in-view .slick-edge { animation:slick-iridescence 4.6s ease-in-out both; }
}
@keyframes patagonia-undertow {
  from{transform:rotate(-19deg) translate(4%,-5%);filter:brightness(.81)}
  44%{transform:rotate(-14deg) translate(-2%,2%);filter:brightness(1.15)}
  to{transform:rotate(-19deg);filter:none}
}
@keyframes second-arrival {
  from{transform:translate(12%,-17%) rotate(167deg);opacity:.35}
  57%,to{transform:rotate(167deg);opacity:.92}
}
@keyframes bough-in-the-window {
  from,to{transform:none}
  44%{transform:translate(1%,-2%) skewX(-4deg)}
  63%{transform:translate(-1%,.6%) skewX(.5deg)}
}
@keyframes slick-iridescence {
  from,to{transform:none;filter:none;opacity:.71}
  36%{transform:translateX(-7%) skewX(8deg);filter:hue-rotate(31deg);opacity:.94}
  69%{transform:translateX(7%) skewX(-4deg);filter:hue-rotate(-19deg);opacity:.83}
}

/* Peligros del ocio: the specimen slips beyond the frame. */
.passage-butterfly { --landing:#3a2b32; animation-name:cross-butterfly; animation-duration:960ms; }
.passage-butterfly::before,.passage-butterfly::after {
  background:
    repeating-linear-gradient(31deg,transparent 0 8%,#c6a78947 8.2% 8.6%,transparent 9% 13%),
    linear-gradient(151deg,#8c765c,#50403d 58%,#3d2c34);
  clip-path:polygon(0 14%,29% 12%,54% 37%,63% 60%,51% 82%,24% 95%,6% 72%);
  transform-origin:65% 58%;
  animation-name:butterfly-release;
  --wing-turn:-20deg;
  --wing-drift:-14%;
}
.passage-butterfly::after {
  clip-path:polygon(100% 8%,73% 12%,54% 33%,47% 57%,59% 77%,84% 92%,96% 71%);
  --wing-turn:22deg;
  --wing-drift:19%;
}
@keyframes cross-butterfly {
  from{clip-path:polygon(52% 36%,65% 30%,72% 43%,67% 66%,53% 65%,48% 49%)}
  51%{clip-path:polygon(22% 10%,79% 6%,103% 18%,94% 87%,4% 91%,1% 29%)}
  to{clip-path:polygon(-4% -4%,65% -4%,105% -4%,105% 105%,-4% 105%,-4% 55%)}
}
@keyframes butterfly-release {
  from{transform:scale(.8);opacity:.77}
  45%{transform:rotate(calc(var(--wing-turn)*.45)) scale(1.07);opacity:.9}
  to{transform:translate(var(--wing-drift),-18%) rotate(var(--wing-turn));opacity:0}
}

/* Hijos de María: a line outlasts its erasure. */
.passage-ink-line { --landing:#292822; animation-name:cross-ink-line; animation-duration:890ms; }
.passage-ink-line::before {
  background:repeating-linear-gradient(0deg,#70505c4a 0 1px,transparent 1px 27px),linear-gradient(125deg,#ae9283,#806d66);
  animation-name:margin-out;
}
.passage-ink-line::after {
  background:linear-gradient(91deg,#382932,#60444d 62%,#46363e);
  clip-path:polygon(0 46%,33% 45%,72% 45%,100% 42%,97% 55%,48% 58%,11% 56%,0 59%);
  transform-origin:right;
  animation-name:ink-resists;
}
@keyframes cross-ink-line { from{clip-path:inset(46% 9% 51% 17%)} 63%,to{clip-path:inset(0)} }
@keyframes margin-out { from{opacity:.92;transform:skewY(-5deg)} 47%{opacity:.83} to{transform:translateY(18%);opacity:0} }
@keyframes ink-resists { 0%{opacity:.7;transform:scaleX(.68)} 51%{opacity:.95;transform:scaleX(1)} 83%{opacity:.46} to{opacity:0;transform:scaleX(.15)} }

/* Yo hice el esfuerzo: the figures soften out of their display shapes. */
.passage-wax { --landing:#26312f; animation-name:cross-wax; animation-duration:980ms; }
.passage-wax::before {
  background:linear-gradient(140deg,#a59067,#84755d 52%,#60574e 80%);
  clip-path:polygon(62% 0,95% 0,96% 26%,87% 45%,95% 56%,88% 76%,73% 84%,62% 100%,41% 100%,43% 90%,53% 76%,41% 62%,39% 45%,47% 24%);
  transform-origin:65% 93%;
  animation-name:wax-softens;
}
@keyframes cross-wax { from{clip-path:polygon(73% 11%,89% 14%,92% 29%,77% 41%,60% 28%,58% 20%)} 57%{clip-path:polygon(12% 0,100% 0,100% 57%,90% 81%,11% 100%,0 63%)} to{clip-path:polygon(0 0,100% 0,100% 64%,100% 100%,0 100%,0 64%)} }
@keyframes wax-softens { from{transform:scale(.79,1.08);opacity:.79} 46%{transform:skewX(-4deg);opacity:.93} to{transform:skewX(14deg) scale(1.29,.74);opacity:0} }

/* Algún sol: water moves through the holes of the sieve. */
.passage-sieve { --landing:#392b22; animation-name:cross-sieve; animation-duration:930ms; }
.passage-sieve::before {
  background:radial-gradient(ellipse,#aabc9d4d 0 17%,#566b5c92 18% 26%,transparent 31%) 0 0/29px 28px,
             linear-gradient(164deg,#3d514a,#697464 59%,#645745);
  animation-name:sieve-crossing;
}
.passage-sieve::after {
  background:repeating-linear-gradient(110deg,transparent 0 9%,#bcd9b258 9.2% 9.4%,transparent 9.6% 16%);
  animation-name:sieve-surge;
}
@keyframes cross-sieve { from{clip-path:inset(6% 29% 90% 48%)} 51%{clip-path:inset(0 5% 51% 10%)} to{clip-path:inset(0)} }
@keyframes sieve-crossing { from{transform:rotate(-6deg) scale(1.04);opacity:.81} 49%{opacity:.84} to{transform:translateY(12%) scale(1.12);opacity:0} }
@keyframes sieve-surge { 0%,19%{opacity:0} 52%{opacity:.65;transform:translate(1%,7%)} to{opacity:0;transform:translate(-5%,22%)} }

/* De alguna manera: the painted top wobbles before it comes close. */
.passage-spindle { --landing:#23252a; animation-name:cross-spindle; animation-duration:995ms; }
.passage-spindle::before {
  background:conic-gradient(from 20deg at 64% 62%,#835545 0deg 58deg,#b68b54 62deg 117deg,#58414b 121deg 178deg,#9b674b 182deg 242deg,#a4714e 246deg 302deg,#835545 306deg);
  mask-image:radial-gradient(ellipse at 64% 62%,#000 0 30%,transparent 78%);
  transform-origin:64% 62%;
  animation-name:spindle-turn;
}
@keyframes cross-spindle { from{clip-path:ellipse(7% 11% at 64% 62%)} 50%{clip-path:ellipse(64% 69% at 62% 59%)} to{clip-path:ellipse(145% 145% at 57% 53%)} }
@keyframes spindle-turn { from{transform:rotate(-16deg) scale(.65,.53);opacity:.82} 51%{transform:rotate(113deg) scale(1.11,.8);opacity:.94} to{transform:rotate(165deg) scale(1.4,1.23);opacity:0} }

/* Iba a decir un chiste: a regular step breaks out of the line. */
.passage-step { --landing:#2b292a; animation-name:cross-step; animation-duration:900ms; }
.passage-step::before {
  inset:10% -11%;
  background:repeating-linear-gradient(90deg,#65646a 0 7%,#39373e 7% 13%,#b49c8c85 13.1% 13.7%,#3f3e44 14% 15%);
  animation-name:step-row;
}
.passage-step::after {
  background:linear-gradient(140deg,#a18b7d,#b7a48e 55%,#6d665f);
  clip-path:polygon(57% 43%,72% 39%,69% 53%,56% 59%);
  animation-name:step-missing;
}
@keyframes cross-step { from{clip-path:inset(38% 28% 45% 0)} 42%{clip-path:inset(20% 0 23%)} 69%,to{clip-path:inset(0)} }
@keyframes step-row { from{transform:translateX(-16%) rotate(-13deg);opacity:.84} 35%,51%{transform:translateX(0) rotate(-13deg);opacity:.79} to{transform:translateX(16%) rotate(-9deg);opacity:0} }
@keyframes step-missing { 0%,31%{opacity:0} 45%{opacity:.85} 68%{transform:translateY(13%) rotate(7deg);opacity:.48} to{opacity:0} }

/* Qué ligazón: Penélope pulls a loose thread back through the weave. */
.passage-thread { --landing:#292328; animation-name:cross-thread; animation-duration:970ms; }
.passage-thread::before {
  background:
    repeating-linear-gradient(87deg,#bca39227 0 1px,transparent 1px 6px),
    repeating-linear-gradient(3deg,#7c69616f 0 1px,transparent 2px 10px),
    linear-gradient(136deg,#746665,#504547);
  animation-name:thread-pulls;
}
.passage-thread::after {
  border-top:1px solid #ebbd988a;
  inset:34% -6% 38% 9%;
  border-radius:62%;
  transform-origin:left center;
  animation-name:thread-unspool;
}
@keyframes cross-thread { from{clip-path:polygon(0 44%,100% 26%,100% 29%,0 50%)} 64%{clip-path:polygon(0 19%,100% 0,100% 83%,0 96%)} to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)} }
@keyframes thread-pulls { from{transform:skewY(-11deg);opacity:.77} 52%{transform:skewY(5deg);opacity:.91} to{transform:translate(11%,-14%);opacity:0} }
@keyframes thread-unspool { from{transform:scaleX(.33);opacity:.45} 55%{transform:scaleX(1.08) rotate(-16deg);opacity:1} to{transform:scaleX(1.29) rotate(-20deg);opacity:0} }

/* Me da por ser sincero: the open parenthesis grows around the frame. */
.passage-parenthesis { --landing:#302a1c; animation-name:cross-parenthesis; animation-duration:905ms; }
.passage-parenthesis::before {
  background:radial-gradient(ellipse at 79% 51%,#503c41 0 46%,#b88478 46.3% 53%,#766154 53.4% 63%,transparent 66%);
  transform-origin:73% 45%;
  animation-name:parenthesis-open;
}
@keyframes cross-parenthesis { from{clip-path:ellipse(4% 47% at 52% 52%)} 62%{clip-path:ellipse(82% 69% at 54% 50%)} to{clip-path:ellipse(137% 133% at 56% 50%)} }
@keyframes parenthesis-open { from{transform:rotate(-15deg) scale(.73);opacity:.82} 42%{transform:rotate(-5deg) scale(1.04);opacity:.91} to{transform:rotate(8deg) scale(1.27);opacity:0} }

/* La buscaba: a lit strip searches the telephone listings. */
.passage-listings { --landing:#1a312d; animation-name:cross-listings; animation-duration:860ms; }
.passage-listings::before {
  background:repeating-linear-gradient(0deg,#493d2469 0 1px,transparent 2px 12px),
             repeating-linear-gradient(90deg,#63533866 0 2px,transparent 3px 84px),linear-gradient(116deg,#d0aa6f,#85734f);
  animation-name:listings-turn;
}
.passage-listings::after {
  background:linear-gradient(0deg,transparent 42%,#f3d9929c 47%,#cbbd7780 49%,transparent 53%);
  animation-name:listings-scan;
}
@keyframes cross-listings { from{clip-path:inset(12% 4% 83% 48%)} 51%{clip-path:inset(0 0 29% 14%)} to{clip-path:inset(0)} }
@keyframes listings-turn { from{transform:skewY(-11deg);opacity:.75} 49%{opacity:.9} to{transform:skewY(6deg) translateY(13%);opacity:0} }
@keyframes listings-scan { 0%{transform:translateY(-29%);opacity:.3} 47%{opacity:1} to{transform:translateY(32%);opacity:0} }

/* Después del tecanasta: the aquamarine lipstick makes one oblique stroke. */
.passage-lipstick { --landing:#282531; animation-name:cross-lipstick; animation-duration:850ms; }
.passage-lipstick::before {
  background:repeating-linear-gradient(153deg,#4d9d917b 0 3px,#62b3a28c 3px 4px,transparent 4.5px 8px),
             linear-gradient(142deg,#2d8077,#728f8e 70%,#355555);
  animation-name:lipstick-smear;
}
@keyframes cross-lipstick { from{clip-path:polygon(0 96%,3% 89%,37% 61%,74% 31%,93% 12%,100% 8%,100% 16%,79% 40%,42% 69%,0 100%)} 67%{clip-path:polygon(0 64%,9% 43%,35% 33%,70% 14%,91% 4%,100% 0,100% 49%,80% 83%,40% 99%,0 100%)} to{clip-path:polygon(0 0,9% 0,35% 0,70% 0,91% 0,100% 0,100% 100%,80% 100%,40% 100%,0 100%)} }
@keyframes lipstick-smear { from{transform:skewY(-8deg);opacity:.88} 44%{opacity:.97} to{transform:translate(9%,-15%) skewY(-12deg);opacity:0} }

/* A saltos y a brincos: the damp portrait slips and leaves the frame. */
.passage-portrait { --landing:#282c28; animation-name:cross-portrait; animation-duration:945ms; }
.passage-portrait::before {
  inset:12% 16% 6% 43%;
  border:8px solid #ccbaa6;
  background:
    radial-gradient(ellipse at 53% 39%,#4e404d 0 18%,transparent 19%),
    radial-gradient(ellipse at 49% 106%,#4c3d49 0 41%,transparent 42%),
    linear-gradient(132deg,#b3958b,#766c7e 75%);
  box-shadow:0 .9rem 2.5rem #211a2b83;
  animation-name:portrait-slips;
}
.passage-portrait::after {
  background:repeating-linear-gradient(107deg,transparent 0 6%,#adadbb2f 6.1% 6.4%,transparent 6.7% 9%);
  animation-name:portrait-rain;
}
@keyframes cross-portrait { from{clip-path:inset(22% 18% 17% 60%)} 65%,to{clip-path:inset(0)} }
@keyframes portrait-slips { from{transform:rotate(13deg) scale(.89);opacity:.83} 49%{transform:rotate(9deg) translateY(1%);opacity:.91} to{transform:rotate(26deg) translate(27%,24%);opacity:0} }
@keyframes portrait-rain { 0%,to{opacity:0} 54%{opacity:.73} }

/* Nexos: a wire connects the rooftops just as they move apart. */
.passage-wire { --landing:#222b35; animation-name:cross-wire; animation-duration:920ms; }
.passage-wire::before {
  background:linear-gradient(0deg,#28302d,#63665b);
  clip-path:polygon(0 47%,25% 26%,46% 50%,65% 34%,77% 43%,100% 18%,100% 100%,0 100%);
  animation-name:wire-roofs;
}
.passage-wire::after {
  inset:24% -5% 45%;
  border-bottom:2px solid #d8a58db3;
  border-radius:0 0 55% 70%;
  animation-name:wire-tightens;
}
@keyframes cross-wire { from{clip-path:inset(39% 7% 54% 8%)} 54%{clip-path:inset(15% 0 18%)} to{clip-path:inset(0)} }
@keyframes wire-roofs { from{transform:translateY(15%);opacity:.81} 52%{opacity:.9} to{transform:translateY(30%);opacity:0} }
@keyframes wire-tightens { 0%{transform:scaleY(1.27);opacity:.78} 58%{transform:translateY(-9%) scaleY(.53);opacity:.94} to{transform:translateY(-12%) scaleY(.41);opacity:0} }

/* Contextos: the museum glass can no longer hold the water line. */
.passage-vitrine { --landing:#251b1b; animation-name:cross-vitrine; animation-duration:980ms; }
.passage-vitrine::before {
  background:linear-gradient(123deg,transparent 12%,#c3e2e092 26% 29%,transparent 39%,#7aaaaf54 52% 61%,transparent 75%),#44565e;
  transform-origin:bottom;
  animation-name:vitrine-lift;
}
.passage-vitrine::after {
  background:repeating-linear-gradient(175deg,#9fcccf75 0 1px,transparent 2px 29px),linear-gradient(135deg,#658991,#394d5f);
  clip-path:polygon(0 59%,22% 53%,40% 62%,60% 46%,82% 51%,100% 41%,100% 100%,0 100%);
  animation-name:vitrine-overflow;
}
@keyframes cross-vitrine { from{clip-path:inset(67% 14% 20% 49%)} 61%{clip-path:inset(9% 0 0)} to{clip-path:inset(0)} }
@keyframes vitrine-lift { from{transform:skewY(-9deg);opacity:.73} 52%{opacity:.81} to{transform:translateY(-17%);opacity:0} }
@keyframes vitrine-overflow { from{transform:translateY(24%);opacity:.86} 49%{transform:translateY(0);opacity:.87} to{transform:translateY(-38%);opacity:0} }

/* Otra vez: the iron keeps moving after the strike. */
.passage-anvil { --landing:#243442; animation-name:cross-anvil; animation-duration:880ms; }
.passage-anvil::before {
  background:repeating-radial-gradient(ellipse at 54% 65%,#3f3839 0 11%,#bc938765 11.3% 11.9%,#6955587a 12% 13%,#3d3a42 14% 19%);
  transform-origin:54% 65%;
  animation-name:anvil-vibration;
}
@keyframes cross-anvil { from{clip-path:ellipse(17% 6% at 54% 65%)} 46%{clip-path:ellipse(81% 56% at 54% 65%)} to{clip-path:ellipse(148% 145% at 54% 65%)} }
@keyframes anvil-vibration { from{transform:scale(.78,.61);opacity:.77} 33%{transform:scale(1.12,.96);opacity:.93} 57%{transform:scale(1.22,1.09);opacity:.63} to{transform:scale(1.37,1.28);opacity:0} }

/* Si te quedas: damp blue plaster peels across the room. */
.passage-plaster { --landing:#211725; animation-name:cross-plaster; animation-duration:930ms; }
.passage-plaster::before {
  background:repeating-linear-gradient(99deg,#6e96aa32 0 1px,transparent 3px 44px),linear-gradient(110deg,#648d9e,#86a7af 52%,#304555);
  clip-path:polygon(0 0,100% 0,96% 47%,100% 62%,86% 89%,71% 82%,53% 98%,29% 80%,0 100%);
  animation-name:plaster-pull;
}
@keyframes cross-plaster { from{clip-path:polygon(100% 0,96% 0,90% 33%,93% 55%,86% 83%,87% 100%,100% 100%)} 64%{clip-path:polygon(100% 0,7% 0,0 33%,3% 55%,0 83%,3% 100%,100% 100%)} to{clip-path:polygon(100% 0,0 0,0 33%,0 55%,0 83%,0 100%,100% 100%)} }
@keyframes plaster-pull { from{transform:translateX(17%) rotate(8deg);opacity:.75} 54%{opacity:.92} to{transform:translateX(-21%) rotate(-8deg);opacity:0} }

/* Good by lady splendor: the pools of stage light move off in different directions. */
.passage-spotlights { --landing:#302325; animation-name:cross-spotlights; animation-duration:980ms; }
.passage-spotlights::before,.passage-spotlights::after {
  background:radial-gradient(ellipse 28% 17% at 52% 61%,#f3be8d8a,#9a678b7a 51%,transparent 96%);
  animation-name:spotlights-apart;
  --spot-x:-28%;
  --spot-y:13%;
}
.passage-spotlights::after {
  background:radial-gradient(ellipse 27% 16% at 48% 54%,#e0a9b183,#a476a267 53%,transparent 96%);
  --spot-x:29%;
  --spot-y:-15%;
}
@keyframes cross-spotlights { from{clip-path:ellipse(13% 7% at 50% 57%)} 63%,to{clip-path:ellipse(142% 140% at 50% 57%)} }
@keyframes spotlights-apart { from{transform:translate(0);opacity:.8} 31%{opacity:.96} to{transform:translate(var(--spot-x),var(--spot-y));opacity:0} }

/* Notas para componer un espacio: the synthetic shine moves first. */
.passage-plastic { --landing:#242024; animation-name:cross-plastic; animation-duration:910ms; }
.passage-plastic::before {
  background:radial-gradient(ellipse at 73% 44%,#d3877e 0 7%,#974b48 25%,#763f3d 46%,#443039 67%,transparent 77%);
  clip-path:polygon(54% 2%,72% 0,93% 14%,100% 37%,97% 64%,79% 87%,60% 96%,39% 91%,24% 79%,10% 60%,9% 35%,29% 12%);
  transform-origin:68% center;
  animation-name:plastic-tilt;
}
.passage-plastic::after {
  background:linear-gradient(134deg,transparent 51%,#facab55c 56%,transparent 61%);
  animation-name:plastic-signature;
}
@keyframes cross-plastic { from{clip-path:ellipse(15% 15% at 67% 49%)} 57%{clip-path:ellipse(75% 86% at 67% 49%)} to{clip-path:ellipse(147% 140% at 67% 49%)} }
@keyframes plastic-tilt { from{transform:rotate(-9deg) scale(.94);opacity:.82} 54%{transform:rotate(9deg) scale(1.09);opacity:.94} to{transform:rotate(17deg) scale(1.28);opacity:0} }
@keyframes plastic-signature { from{transform:translateX(19%);opacity:.35} 53%{opacity:.96} to{transform:translateX(-22%);opacity:0} }

/* Fuga: the projector advances as the car crosses its last frame. */
.passage-film { --landing:#321e21; animation-name:cross-film; animation-duration:875ms; }
.passage-film::before {
  background:repeating-linear-gradient(90deg,#9d897a 0 4%,transparent 4.3% 12%) top/100% 6% no-repeat,
             repeating-linear-gradient(90deg,#9d897a 0 4%,transparent 4.3% 12%) bottom/100% 6% no-repeat,
             repeating-linear-gradient(90deg,#4a4552 0 26%,#2d222a 26.3% 30%);
  animation-name:film-advance;
  animation-timing-function:steps(7,end);
}
.passage-film::after {
  background:linear-gradient(168deg,#aa665d,#834049);
  clip-path:polygon(11% 58%,17% 51%,19% 44%,28% 43%,32% 50%,38% 53%,42% 58%,40% 69%,10% 69%);
  animation-name:film-car;
}
@keyframes cross-film { from{clip-path:inset(7% 63% 7% 30%)} 62%,to{clip-path:inset(0)} }
@keyframes film-advance { from{transform:translateX(-12%);opacity:.83} 61%{opacity:.8} to{transform:translateX(25%);opacity:0} }
@keyframes film-car { 0%,18%{transform:translateX(-17%);opacity:0} 45%{opacity:.88} to{transform:translateX(75%);opacity:0} }

@media (prefers-reduced-motion:no-preference) {
  .pinboard.scene-in-view .pin-point { animation:pin-glance 3.65s .48s ease-out both; }
  .margin.scene-in-view .margin-bleed { animation:ink-bloom 3.9s ease both; }
  .sieve.scene-in-view .sieve-shadow { animation:sieve-pool 4.45s ease both; }
  .case-glass.scene-in-view .case-panel::before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(113deg,transparent 37%,#dff4eb3d 49%,transparent 62%);
    animation:vitrine-glance 4.65s ease both;
  }
  .reel.scene-in-view .reel-film { animation:projector-creep 3.2s .33s steps(6,end) both; }
}
@keyframes pin-glance {
  from,to{filter:none}
  49%{filter:brightness(1.32);transform:translateY(-1px)}
}
@keyframes ink-bloom {
  from{transform:scale(.46);opacity:.39}
  62%{transform:scale(1.09);opacity:.85}
  to{transform:scale(1.13);opacity:.64}
}
@keyframes sieve-pool {
  from{transform:rotate(-8deg) scale(.51,.63);opacity:.34}
  71%{transform:rotate(-8deg) scale(1.12,1);opacity:.89}
  to{transform:rotate(-8deg);opacity:.59}
}
@keyframes vitrine-glance {
  0%,to{opacity:0}
  18%{transform:translateX(-8%);opacity:.34}
  61%{transform:translateX(14%);opacity:.77}
}
@keyframes projector-creep {
  from{transform:translateX(-4%) rotate(-16deg)}
  67%{transform:translateX(3%) rotate(-16deg)}
  to{transform:rotate(-16deg)}
}
