/* Ajustes de Umbral: cursor discreto y un fragmento editorial encontrado. */
@media (pointer: fine) {
  body, a, button, [role="button"] { cursor: none; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  z-index: 10002;
  border-radius: 50%;
  background: #91a64d;
  transition: opacity .18s ease, width .25s ease, height .25s ease;
}

.cursor-ring {
  width: 30px;
  height: 30px;
  z-index: 10001;
  border: 1px solid rgba(113, 133, 62, .72);
  border-radius: 50%;
  transition: opacity .22s ease, width .42s cubic-bezier(.16, 1, .3, 1), height .42s cubic-bezier(.16, 1, .3, 1), border-color .25s ease;
}

.cursor-dot.is-visible,
.cursor-ring.is-visible { opacity: 1; }

.cursor-ring.is-hovering {
  width: 34px;
  height: 34px;
  border-color: rgba(86, 106, 42, .5);
}

.cursor-ring.is-pressed {
  width: 25px;
  height: 25px;
}

/* El cursor sustituye el antiguo foco luminoso de la cabecera. */
.threshold:after { display: none; }

/* Un rótulo de sección casi escondido: una presencia editorial, no un titular. */
.ghost-section {
  position: absolute;
  z-index: 0;
  left: auto;
  right: 8.5%;
  top: 62%;
  margin: 0;
  display: grid;
  color: rgba(55, 75, 82, .038);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .68;
  pointer-events: none;
  user-select: none;
  transform: rotate(90deg) translate(calc(var(--hero-x) * .12), calc(var(--hero-y) * .12));
  transition: transform 1.45s cubic-bezier(.16,1,.3,1);
}

.ghost-section span {
  padding-left: .08em;
  font: 300 clamp(9px, .8vw, 13px)/1 "DM Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ghost-section strong {
  font: inherit;
  font-size: clamp(50px, 7.8vw, 122px);
}

/* Palabras encontradas: no son titulares, sino una segunda capa de lectura. */
.ghost-word {
  position: absolute;
  z-index: 0;
  margin: 0;
  color: rgba(48, 69, 77, .075);
  font: 300 clamp(9px, .76vw, 12px)/1.15 "DM Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transition: transform 1.55s cubic-bezier(.16,1,.3,1);
}

.ghost-word--sound {
  right: 8.3%;
  top: 12.7%;
  transform: rotate(90deg) translate(calc(var(--hero-y) * .1), calc(var(--hero-x) * -.1));
}

.ghost-word--after {
  left: 7.5%;
  bottom: 11%;
  color: rgba(48, 69, 77, .055);
  font: italic clamp(31px, 4.3vw, 66px)/.82 "Instrument Serif", serif;
  letter-spacing: -.055em;
  text-transform: none;
  transform: rotate(-8deg) translate(calc(var(--hero-x) * -.12), calc(var(--hero-y) * -.12));
}

.ghost-word--margin {
  right: 29%;
  bottom: 10.4%;
  transform: rotate(-17deg) translate(calc(var(--hero-x) * .08), calc(var(--hero-y) * .08));
}

.ghost-word--return {
  right: 33%;
  top: 36%;
  color: rgba(48, 69, 77, .047);
  font: italic clamp(36px, 5.2vw, 83px)/.8 "Instrument Serif", serif;
  letter-spacing: -.06em;
  text-transform: none;
  transform: rotate(9deg) translate(calc(var(--hero-x) * .1), calc(var(--hero-y) * .1));
}

/* Folio encontrado: sugiere proceso, sin convertirse en una libreta literal. */
.threshold-field {
  --hero-x: 0px;
  --hero-y: 0px;
}

.paper-a.folio {
  overflow: visible;
  display: block;
  background-color: rgba(244, 243, 236, .57);
  background-image:
    linear-gradient(146deg, rgba(255,255,255,.67) 0 49.4%, rgba(211,220,220,.18) 49.8% 50.3%, rgba(255,255,255,.22) 50.7% 100%),
    linear-gradient(90deg, transparent 0 14%, rgba(82,102,111,.22) 14.1% 14.45%, transparent 14.55% 100%),
    linear-gradient(126deg, rgba(250,250,246,.45), rgba(205,216,218,.12));
  border-color: rgba(101, 119, 121, .28);
  box-shadow: 22px 25px 48px rgba(35, 45, 55, .11), inset 0 0 0 10px rgba(255, 255, 255, .14);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 87% 100%, 0 100%);
  transform: rotate(12deg) translate(calc(var(--hero-x) * .32), calc(var(--hero-y) * .32));
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}

/* El plano técnico entra como una prueba de proceso, no como una fotografía suelta. */
.paper-a.folio.camera-imprint {
  width: clamp(360px, 38vw, 650px);
  height: clamp(220px, 24vw, 420px);
  min-width: 0;
  min-height: 0;
  right: 2.5vw;
  top: 10.5vh;
  overflow: hidden;
  background-color: rgba(241, 239, 231, .37);
  background-image: linear-gradient(125deg, rgba(250,249,243,.64), rgba(202,216,219,.13));
  border-color: rgba(83, 102, 108, .25);
  box-shadow: 22px 27px 54px rgba(35, 45, 55, .13), inset 0 0 0 8px rgba(255, 255, 255, .16);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 92% 100%, 0 100%);
  transform: rotate(7deg) translate(calc(var(--hero-x) * .32), calc(var(--hero-y) * .32));
}

/* La cámara vuelve como una imagen casi revelada en papel: se reconoce,
   pero queda interrumpida por luz, pliegues y transparencias. */
.camera-ghost {
  position: absolute;
  z-index: 2;
  inset: -21% -13% -16% -17%;
  display: block;
  background: url("images/plano-camara-neverlan.png") 47% 46% / 122% auto no-repeat;
  opacity: .46;
  filter: grayscale(1) sepia(.12) contrast(1.12) brightness(1.03);
  mix-blend-mode: multiply;
  transform: rotate(-7deg) scale(1.06);
  -webkit-mask-image: radial-gradient(ellipse 62% 77% at 57% 47%, #000 12%, rgba(0,0,0,.91) 43%, transparent 75%);
  mask-image: radial-gradient(ellipse 62% 77% at 57% 47%, #000 12%, rgba(0,0,0,.91) 43%, transparent 75%);
}

.camera-wash {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  background:
    linear-gradient(112deg, rgba(247,246,239,.60) 0 18%, transparent 37% 63%, rgba(246,247,242,.44) 81% 100%),
    linear-gradient(19deg, transparent 0 47%, rgba(229,234,229,.20) 48% 49%, transparent 50% 100%);
  mix-blend-mode: screen;
}

.camera-imprint::before {
  content: "";
  inset: 0;
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(125deg, rgba(250,249,243,.76), rgba(250,249,243,.30) 43%, rgba(115, 139, 146, .05));
  z-index: 1;
}

.camera-imprint::after {
  content: "UNA HUELLA DE MIRADA";
  right: 18px;
  bottom: 15px;
  color: rgba(38, 55, 62, .54);
  font: 300 8px/1 "DM Mono", monospace;
  letter-spacing: .15em;
  transform: none;
  z-index: 2;
}

.imprint-note {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 15px;
  color: rgba(38, 55, 62, .58);
  font: 300 8px/1 "DM Mono", monospace;
  letter-spacing: .15em;
}

/* La cámara ya no se muestra: se disuelve en un rastro de visor, recortes y medida. */
.imprint-lens {
  position: absolute;
  z-index: 4;
  width: 62%;
  aspect-ratio: 1;
  right: -8%;
  top: 14%;
  border: 1px solid rgba(52, 75, 82, .44);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(243,244,238,.10), inset 0 0 0 19px rgba(52,75,82,.24), 0 0 0 12px rgba(255,255,255,.10);
}
.imprint-lens::before, .imprint-lens::after { content:""; position:absolute; border:1px solid rgba(52,75,82,.22); border-radius:50%; }
.imprint-lens::before { inset: 20%; }
.imprint-lens::after { inset: 40%; background: rgba(59,86,91,.07); }
.imprint-crop { position:absolute; z-index:3; width:15%; height:19%; border-color:rgba(44,66,73,.46); border-style:solid; }
.crop-one { left: 12%; top: 22%; border-width:1px 0 0 1px; }
.crop-two { left: 42%; bottom: 16%; border-width:0 1px 1px 0; }
.imprint-measure { position:absolute; z-index:3; width:53%; height:1px; left:9%; top:56%; background:rgba(45,67,74,.36); transform:rotate(-17deg); box-shadow: 0 -9px 0 -8px rgba(45,67,74,.4), 0 9px 0 -8px rgba(45,67,74,.4), 0 18px 0 -8px rgba(45,67,74,.4), 0 27px 0 -8px rgba(45,67,74,.4); }

/* Anula las marcas de libreta heredadas: este objeto es un visor fragmentado. */
.paper-a.folio.camera-imprint::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(125deg, rgba(250,249,243,.76), rgba(250,249,243,.30) 43%, rgba(115,139,146,.05));
  z-index: 1;
}
.paper-a.folio.camera-imprint::after {
  content: "UNA HUELLA DE MIRADA";
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: rgba(38,55,62,.54);
  font: 300 8px/1 "DM Mono", monospace;
  letter-spacing: .15em;
  transform: none;
  z-index: 4;
}

.paper-a.folio::before {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  left: 9.2%;
  top: 15%;
  border: 1px solid rgba(73, 93, 100, .42);
  border-radius: 50%;
  box-shadow: 0 54px 0 -1px rgba(244,243,236,.34), 0 54px 0 0 rgba(73,93,100,.36), 0 108px 0 -1px rgba(244,243,236,.34), 0 108px 0 0 rgba(73,93,100,.36), 0 162px 0 -1px rgba(244,243,236,.34), 0 162px 0 0 rgba(73,93,100,.36);
}

.paper-a.folio::after {
  content: "ARCHIVE / NEVERLAN";
  position: absolute;
  right: 11%;
  bottom: 13%;
  color: rgba(48, 67, 75, .56);
  font: 300 8px/1 "DM Mono", monospace;
  letter-spacing: .16em;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

.folio-label {
  position: absolute;
  left: 20%;
  top: 13%;
  color: rgba(48,67,75,.58);
  font: 300 8px/1 "DM Mono", monospace;
  letter-spacing: .15em;
}

.folio-rule {
  position: absolute;
  left: 20%;
  right: 16%;
  bottom: 23%;
  height: 1px;
  background: rgba(63,80,82,.26);
  box-shadow: 0 -27px 0 rgba(63,80,82,.11), 0 -54px 0 rgba(63,80,82,.11);
}

.paper-b.aperture {
  background:
    linear-gradient(129deg, rgba(225,235,239,.63), rgba(255,255,255,.08)),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.37) 50%, transparent 50.5%);
  border-color: rgba(255,255,255,.58);
  box-shadow: 0 19px 38px rgba(57,68,76,.06), inset 0 0 0 1px rgba(84,106,117,.08);
  transform: rotate(-8deg) translate(calc(var(--hero-x) * -.18), calc(var(--hero-y) * -.18));
  transition: transform 1.35s cubic-bezier(.16,1,.3,1);
}

.paper-b.aperture::after {
  content: "";
  position: absolute;
  width: 26%;
  height: 26%;
  right: 14%;
  top: 14%;
  border: 1px solid rgba(247,248,243,.76);
  border-radius: 50%;
}

/* A partir del umbral, los hallazgos se ordenan sin convertirse en tarjetas. */
.prologue { overflow: hidden; }
.prologue-thread { position:absolute; width:64vw; height:1px; right:-18vw; top:55%; background:linear-gradient(90deg,transparent,rgba(69,95,104,.48),transparent); transform:rotate(-17deg); }
.prologue-thread::after { content:""; position:absolute; width:6px; height:6px; right:35%; top:-3px; border-radius:50%; background:#a0b3a2; box-shadow:0 0 0 7px rgba(160,179,162,.12); }
.prologue-ghost { position:absolute; right:8vw; bottom:10%; margin:0; color:rgba(60,79,86,.055); font:italic clamp(49px,7vw,108px)/.78 "Instrument Serif",serif; letter-spacing:-.07em; transform:rotate(-7deg); }

.archive { position:relative; padding-top:clamp(62px,6vw,96px); background:linear-gradient(140deg,#d9dfe1 0%,#cad5d9 53%,#e3ddd7 100%); }
.archive::before { content:""; position:absolute; width:48vw; height:48vw; left:-18vw; top:16vw; border:1px solid rgba(65,90,100,.17); border-radius:50%; }
.archive::after { content:"ARCHIVO / 2026"; position:absolute; right:5vw; top:32px; color:rgba(48,68,76,.25); font:300 9px/1 "DM Mono",monospace; letter-spacing:.18em; }
.archive-heading { position:relative; left:auto; top:auto; z-index:3; grid-column:1 / -1; display:flex; align-items:baseline; gap:clamp(30px,9vw,160px); margin-bottom:clamp(34px,4vw,62px); }
.archive-heading > p:last-child { margin:0; color:#4b5a62; font:italic clamp(17px,1.75vw,25px)/1.12 "Instrument Serif",serif; }
.piece { border:1px solid rgba(255,255,255,.37); box-shadow:0 20px 38px rgba(42,59,65,.08); }
.piece::before { content:""; position:absolute; inset:12px; z-index:-1; border:1px solid rgba(255,255,255,.14); pointer-events:none; }
.piece--feature { grid-column:2 / span 7; min-height:700px; transform:translateY(-14px) rotate(-1.1deg); }
.piece--feature .piece-copy { transform:translateY(-3px); }
.piece--note { grid-column:9 / span 3; min-height:500px; align-self:end; margin-bottom:-55px; transform:rotate(2.7deg); background:#c5d0cf; }
.piece--note h2 { margin-top:15vw; }
.piece--note .fold-mark { position:absolute; width:70%; height:70%; bottom:-23%; right:-34%; border:1px solid rgba(66,90,96,.34); border-radius:50%; }
.piece--glass { grid-column:1 / span 4; min-height:440px; margin-top:7vw; transform:rotate(1.5deg); background:#e6d9d1; }
.piece--quote { grid-column:5 / span 7; min-height:420px; margin-top:8vw; transform:rotate(-.65deg); }
.piece--wide { grid-column:2 / span 10; margin-top:6vw; min-height:540px; transform:rotate(.7deg); }
.piece:hover::before { border-color:rgba(255,255,255,.43); }
.interlude { min-height:76vh; padding:13vw 14vw; position:relative; overflow:hidden; color:#e9e7df; background:#22323b; }
.interlude::before { content:""; position:absolute; width:min(70vw,930px); aspect-ratio:1; right:-24vw; top:-28vw; border:1px solid rgba(219,235,231,.16); border-radius:50%; box-shadow:0 0 0 10vw rgba(219,235,231,.02),0 0 0 21vw rgba(219,235,231,.018); }
.interlude .eyebrow { color:rgba(233,231,223,.72); position:relative; z-index:1; }
.interlude-number { position:absolute; right:9vw; top:12vw; margin:0; color:rgba(233,231,223,.5); font:300 10px "DM Mono",monospace; letter-spacing:.18em; }
.interlude blockquote { position:relative; z-index:1; max-width:930px; margin:clamp(90px,13vw,180px) 0 0; font:400 clamp(48px,7.3vw,116px)/.83 "Instrument Serif",serif; letter-spacing:-.06em; }
.interlude blockquote em { color:#b9c9c1; font-style:italic; }
.interlude-orbit { position:absolute; width:31vw; height:31vw; min-width:310px; min-height:310px; left:4vw; bottom:-20vw; border:1px solid rgba(235,235,221,.19); border-radius:50%; transform:rotate(-18deg); }
.interlude-dot { position:absolute; width:5px; height:5px; left:19%; bottom:17%; border-radius:50%; background:#d9d9ad; box-shadow:0 0 20px 6px rgba(217,217,173,.32); }

/* La lectura usa la misma materialidad, pero vacía el escenario alrededor del texto. */
.article-page .site-header { position:relative; background:#e8e4dc; }
.article { padding-top:clamp(100px,11vw,160px); }
.article::before { content:"CUADERNO / 01"; position:absolute; right:7vw; top:145px; color:rgba(54,75,82,.08); font:italic clamp(42px,6.4vw,100px)/.8 "Instrument Serif",serif; letter-spacing:-.06em; transform:rotate(90deg); transform-origin:right top; }
.article-image { overflow:hidden; clip-path:polygon(0 0,100% 0,100% 92%,94% 100%,0 100%); box-shadow:18px 24px 44px rgba(43,56,64,.11); }
.article-image::before { content:"una imagen / una noche / una distancia"; position:absolute; left:20px; top:18px; z-index:2; color:rgba(244,242,232,.72); font:300 8px "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
.article aside { padding-left:30px; border-left:1px solid rgba(68,89,97,.43); }
.article-body > p:first-child::first-letter { float:left; margin:.05em .13em 0 0; color:#536c75; font:400 4.1em/.75 "Instrument Serif",serif; }
.article-body figure { position:relative; overflow:hidden; clip-path:polygon(0 0,100% 0,100% 94%,96% 100%,0 100%); }
.article-body figure::after { content:"LO QUE PERMANECE"; position:absolute; right:7vw; bottom:28px; color:rgba(55,76,84,.24); font:300 8px "DM Mono",monospace; letter-spacing:.15em; }

/* El plano no ilustra las entradas: se convierte en restos de una misma mirada.
   Cada aparición muestra otra zona de la cámara, como si el archivo la hubiera dejado
   entre las páginas. */
.camera-trace,
.camera-detail { position:absolute; display:block; pointer-events:none; user-select:none; background-image:url("images/plano-camara-neverlan.png"); background-repeat:no-repeat; }

.camera-trace--prologue { z-index:0; width:min(86vw,1240px); height:min(54vw,740px); left:-23vw; bottom:-34%; background-position:21% 44%; background-size:114% auto; opacity:.115; mix-blend-mode:multiply; filter:grayscale(1) sepia(.22) contrast(1.08); -webkit-mask-image:linear-gradient(105deg,transparent 0,black 24%,black 55%,transparent 80%); mask-image:linear-gradient(105deg,transparent 0,black 24%,black 55%,transparent 80%); transform:rotate(-11deg); }
.prologue > :not(.camera-trace) { position:relative; z-index:1; }

.camera-trace--archive { z-index:0; width:70vw; height:64vw; min-width:850px; min-height:760px; right:-24vw; top:13vw; background-size:152% auto; background-position:3% 47%; opacity:.13; filter:grayscale(1) sepia(.15) contrast(1.12); mix-blend-mode:multiply; -webkit-mask-image:radial-gradient(ellipse 66% 56% at 52% 48%,black 5%,rgba(0,0,0,.84) 48%,transparent 74%); mask-image:radial-gradient(ellipse 66% 56% at 52% 48%,black 5%,rgba(0,0,0,.84) 48%,transparent 74%); transform:rotate(8deg); }
.camera-detail--advance { z-index:1; width:38vw; max-width:560px; height:155px; right:-8vw; top:53%; opacity:.22; background-size:155% auto; background-position:7% 93%; filter:grayscale(1) sepia(.2) contrast(1.15); mix-blend-mode:multiply; transform:rotate(90deg); -webkit-mask-image:linear-gradient(90deg,transparent 0,black 23%,black 72%,transparent 100%); mask-image:linear-gradient(90deg,transparent 0,black 23%,black 72%,transparent 100%); }
.archive > :not(.camera-trace):not(.camera-detail):not(.archive-heading) { position:relative; z-index:2; }

.camera-detail--feature { z-index:0; width:66%; height:92%; right:-13%; top:-11%; opacity:.18; background-size:177% auto; background-position:19% 52%; filter:grayscale(1) contrast(1.25); mix-blend-mode:screen; transform:rotate(6deg); -webkit-mask-image:linear-gradient(105deg,transparent 0,black 36%,black 65%,transparent 100%); mask-image:linear-gradient(105deg,transparent 0,black 36%,black 65%,transparent 100%); }
.camera-detail--note { z-index:0; width:180%; height:48%; left:-36%; bottom:-8%; opacity:.145; background-size:102% auto; background-position:42% 100%; filter:grayscale(1) sepia(.1) contrast(1.35); mix-blend-mode:multiply; transform:rotate(-13deg); -webkit-mask-image:linear-gradient(90deg,transparent 0,black 28%,black 69%,transparent 100%); mask-image:linear-gradient(90deg,transparent 0,black 28%,black 69%,transparent 100%); }
.piece--note > a > :not(.camera-detail) { position:relative; z-index:1; }

.camera-trace--interlude { z-index:0; width:105vw; height:90vw; right:-42vw; bottom:-56vw; opacity:.18; background-size:124% auto; background-position:30% 59%; filter:grayscale(1) contrast(1.2) brightness(1.55); mix-blend-mode:screen; -webkit-mask-image:radial-gradient(ellipse 61% 61% at 55% 42%,black 3%,rgba(0,0,0,.72) 54%,transparent 75%); mask-image:radial-gradient(ellipse 61% 61% at 55% 42%,black 3%,rgba(0,0,0,.72) 54%,transparent 75%); transform:rotate(-14deg); }
.interlude > :not(.camera-trace) { position:relative; z-index:1; }

.article-page { position:relative; overflow-x:hidden; }
.camera-trace--article { z-index:0; position:fixed; width:74vw; height:72vw; min-width:780px; min-height:760px; right:-34vw; top:17vh; opacity:.055; background-size:135% auto; background-position:22% 43%; filter:grayscale(1) sepia(.2) contrast(1.2); mix-blend-mode:multiply; -webkit-mask-image:radial-gradient(ellipse 63% 65% at 48% 47%,black 4%,rgba(0,0,0,.75) 49%,transparent 74%); mask-image:radial-gradient(ellipse 63% 65% at 48% 47%,black 4%,rgba(0,0,0,.75) 49%,transparent 74%); transform:rotate(12deg); }
.article-page .site-header,.article { position:relative; z-index:1; }
.brand { width:36px; height:36px; display:grid; place-items:center; }
.brand img { width:36px; height:36px; object-fit:contain; }
.camera-detail--article-image { z-index:1; width:70%; height:75%; right:-18%; top:-18%; opacity:.13; background-size:165% auto; background-position:34% 46%; filter:grayscale(1) contrast(1.4); mix-blend-mode:screen; transform:rotate(-8deg); -webkit-mask-image:linear-gradient(120deg,transparent 0,black 37%,black 67%,transparent 100%); mask-image:linear-gradient(120deg,transparent 0,black 37%,black 67%,transparent 100%); }

@media (max-width:740px) {
  .prologue-ghost { right:8%; bottom:9%; font-size:15vw; }
  .prologue-thread { width:110vw; right:-45vw; top:63%; }
  .archive { padding-top:48px; }
  .archive-heading { top:auto; left:auto; right:auto; display:block; margin:0 24px 42px; }
  .archive-heading > p:last-child { margin-top:16px; font-size:19px; }
  .archive::after { display:none; }
  .piece--feature,.piece--note,.piece--glass,.piece--quote,.piece--wide { grid-column:auto; margin:0; transform:none; }
  .piece--note { min-height:460px; }
  .piece--note h2 { margin-top:150px; }
  .interlude { min-height:620px; padding:105px 9vw; }
  .interlude blockquote { margin-top:115px; font-size:15vw; }
  .interlude-number { top:110px; right:9vw; }
  .article::before { top:126px; right:4vw; font-size:14vw; }
  .camera-trace--prologue { width:150vw; height:100vw; left:-60vw; bottom:-18%; opacity:.08; }
  .camera-trace--archive { width:150vw; height:142vw; min-width:0; min-height:0; right:-76vw; top:56vw; opacity:.09; }
  .camera-detail--advance { display:none; }
  .camera-trace--interlude { width:180vw; height:155vw; right:-92vw; bottom:-50vw; opacity:.13; }
  .camera-trace--article { width:150vw; height:145vw; min-width:0; min-height:0; right:-84vw; top:19vh; opacity:.04; }
  .camera-detail--feature { width:100%; height:76%; right:-24%; top:2%; opacity:.11; }
  .camera-detail--note { opacity:.09; }
}

@media (max-width: 740px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  .ghost-section { left: auto; right: -2%; top: 62%; }
  .ghost-section strong { font-size: 25vw; }
  .ghost-word--sound, .ghost-word--margin, .ghost-word--return { display: none; }
  .ghost-word--after { left: 9%; bottom: 16%; font-size: 12vw; }
  .paper-a.folio.camera-imprint { width: 94vw; height: 59vw; right: -31vw; top: 20vh; opacity: .68; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-ring { transition: none; }
}

/* Entrada completa: el umbral se vuelve relato. Las capas se quedan en el borde,
   para que la lectura respire y la historia tenga espacio propio. */
.article-complete { max-width:none; padding:0 0 8vw; }
.article-opening { position:relative; max-width:1400px; margin:auto; padding:clamp(105px,12vw,175px) 10vw clamp(64px,8vw,120px); min-height:620px; }
.article-opening::after { content:"01 / RELATO"; position:absolute; right:8vw; bottom:9%; color:rgba(54,75,82,.052); font:italic clamp(64px,10vw,160px)/.75 "Instrument Serif",serif; letter-spacing:-.07em; transform:rotate(90deg); transform-origin:right bottom; pointer-events:none; }
.article-opening .eyebrow time { margin-left:14px; }
.article-kicker { max-width:250px; margin:clamp(55px,8vw,115px) 0 0 auto; color:#5f6e74; font:italic clamp(17px,1.7vw,25px)/1.12 "Instrument Serif",serif; }
.article-opening h1 { position:relative; z-index:1; max-width:950px; margin:clamp(-14px,-2vw,-28px) 0 36px; font:400 clamp(75px,11.4vw,166px)/.75 "Instrument Serif",serif; letter-spacing:-.07em; }
.article-opening h1 em { color:#43566b; font-style:italic; }
.article-opening .deck { max-width:430px; margin:0; font:300 19px/1.55 "DM Sans",sans-serif; }
.article-registration { display:flex; gap:12px; flex-wrap:wrap; margin-top:55px; color:#66737a; font:300 8px/1 "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
.article-registration span { padding:9px 11px; border:1px solid rgba(68,89,97,.22); }
.article-hero { position:relative; width:min(88vw,1540px); height:min(62vw,840px); margin:0 auto; overflow:hidden; clip-path:polygon(0 0,100% 0,100% 93%,96% 100%,0 100%); box-shadow:20px 28px 54px rgba(43,56,64,.12); }
.article-hero::before { content:"una imagen / una noche / una distancia"; position:absolute; z-index:3; top:20px; left:22px; color:rgba(244,242,232,.78); font:300 8px "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
.article-hero figcaption { position:absolute; z-index:3; right:22px; bottom:18px; left:22px; display:flex; justify-content:space-between; color:rgba(244,242,232,.76); font:300 8px "DM Mono",monospace; letter-spacing:.13em; text-transform:uppercase; }
.article-entry { display:grid; grid-template-columns:minmax(190px,1fr) minmax(0,620px) minmax(100px,1fr); gap:7vw; max-width:1230px; margin:0 auto; padding:clamp(76px,10vw,150px) 5vw 0; }
.article-entry .margin-note { grid-column:1; align-self:start; margin-top:17px; padding-left:25px; border-left:1px solid rgba(68,89,97,.43); color:#566775; font:italic clamp(24px,2.35vw,34px)/1.02 "Instrument Serif",serif; }
.article-entry .article-body { grid-column:2; max-width:620px; margin:0; font:300 18px/1.78 "DM Sans",sans-serif; }
.article-entry .article-body p { margin:0 0 31px; }
.article-entry .article-body p:first-child::first-letter { float:left; margin:.05em .13em 0 0; color:#536c75; font:400 4.1em/.75 "Instrument Serif",serif; }
.article-pause { position:relative; min-height:min(62vw,760px); margin-top:clamp(95px,13vw,180px); padding:clamp(82px,10vw,150px) 13vw; overflow:hidden; color:#edf0ea; background:#263942; }
.article-pause::before { content:""; position:absolute; width:58vw; height:58vw; right:-19vw; top:-36vw; border:1px solid rgba(226,236,230,.15); border-radius:50%; box-shadow:0 0 0 10vw rgba(226,236,230,.018),0 0 0 20vw rgba(226,236,230,.014); }
.article-pause .eyebrow, .article-pause blockquote, .pause-caption { position:relative; z-index:1; }
.article-pause .eyebrow { color:rgba(237,240,234,.67); }
.article-pause blockquote { max-width:870px; margin:clamp(90px,12vw,170px) 0 24px; font:400 clamp(51px,7.2vw,112px)/.82 "Instrument Serif",serif; letter-spacing:-.065em; }
.article-pause blockquote em { color:#bdcdc2; font-style:italic; }
.pause-caption { margin:0; color:rgba(237,240,234,.56); font:300 9px "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
.pause-trace { position:absolute; z-index:0; width:93vw; height:84vw; right:-39vw; bottom:-51vw; background:url("images/plano-camara-neverlan.png") 31% 58%/127% auto no-repeat; opacity:.17; filter:grayscale(1) contrast(1.2) brightness(1.55); mix-blend-mode:screen; transform:rotate(-13deg); -webkit-mask-image:radial-gradient(ellipse 63% 61% at 54% 42%,black 4%,rgba(0,0,0,.7) 54%,transparent 75%); mask-image:radial-gradient(ellipse 63% 61% at 54% 42%,black 4%,rgba(0,0,0,.7) 54%,transparent 75%); }
.article-pause--visual { min-height:min(68vw,850px); display:flex; align-items:flex-end; isolation:isolate; background:#17272e; }
.article-pause--visual::before { z-index:2; right:-24vw; top:-39vw; opacity:.62; }
.pause-image { position:absolute; z-index:-2; inset:0; background:url("images/pausa-distancia-provisional.png") 50% 50%/cover no-repeat; filter:saturate(.66) contrast(1.04) brightness(.82); transform:scale(1.015); }
.pause-veil { position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(13,27,33,.93) 0%,rgba(21,38,45,.73) 42%,rgba(21,36,42,.17) 72%,rgba(13,24,29,.34) 100%),linear-gradient(0deg,rgba(8,20,25,.62),transparent 55%); }
.pause-content { position:relative; z-index:3; width:100%; }
.article-pause--visual blockquote { max-width:930px; margin:clamp(44px,7vw,100px) 0 25px; text-shadow:0 2px 30px rgba(0,0,0,.3); }
.article-pause--visual .pause-trace { z-index:1; opacity:.085; right:-46vw; bottom:-56vw; }
.article-entry--second { padding-top:clamp(105px,14vw,195px); padding-bottom:clamp(100px,14vw,190px); }
.article-entry--second .process-slip { grid-column:1; align-self:start; position:relative; min-height:220px; padding:22px; color:#3a5359; background:linear-gradient(140deg,rgba(238,236,226,.93),rgba(203,215,214,.7)); box-shadow:12px 17px 31px rgba(44,60,64,.08); transform:rotate(-3deg); clip-path:polygon(0 0,100% 0,100% 88%,92% 100%,0 100%); }
.process-slip::after { content:""; position:absolute; width:46%; height:1px; left:22px; bottom:47px; background:#718d8a; transform:rotate(-15deg); }
.process-slip span,.process-slip small { display:block; font:300 8px "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
.process-slip p { margin:43px 0 28px; font:italic 25px/1 "Instrument Serif",serif; }
.process-slip i { position:absolute; width:6px; height:6px; right:18%; top:35%; border-radius:50%; background:#93a8a2; box-shadow:0 0 13px 4px rgba(147,168,162,.32); }
.article-afterword { position:relative; min-height:490px; padding:clamp(95px,11vw,165px) 13vw; overflow:hidden; color:#22313a; background:linear-gradient(120deg,#d9e0df,#e8e1da 76%); }
.article-afterword::before { content:""; position:absolute; width:72vw; height:1px; left:-14vw; top:49%; background:linear-gradient(90deg,transparent,rgba(62,85,92,.46),transparent); transform:rotate(-13deg); }
.article-afterword p:nth-child(2) { position:relative; z-index:1; max-width:870px; margin:clamp(62px,9vw,130px) 0 0; font:400 clamp(42px,6.5vw,96px)/.86 "Instrument Serif",serif; letter-spacing:-.06em; }
.article-afterword em { color:#506b70; font-style:italic; }
.afterword-mark { position:absolute; right:9vw; bottom:12%; color:rgba(46,67,73,.43); font:300 9px "DM Mono",monospace; letter-spacing:.16em; }
.article-navigation { display:flex; justify-content:space-between; gap:30px; padding:38px 9vw; color:#e9e7df; background:#22323b; }
.article-navigation a { display:flex; align-items:center; gap:18px; font:300 9px "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
.article-navigation a:last-child { opacity:.43; pointer-events:none; }
.article-navigation b { font:normal 26px/1 "Instrument Serif",serif; }

@media (max-width:740px) {
  .article-complete { padding-bottom:0; }
  .article-opening { min-height:560px; padding:94px 8vw 65px; }
  .article-opening::after { right:5vw; bottom:19%; font-size:24vw; }
  .article-kicker { margin-top:69px; font-size:18px; }
  .article-opening h1 { margin-top:-12px; font-size:22vw; }
  .article-opening .deck { font-size:16px; }
  .article-registration { margin-top:35px; gap:7px; }
  .article-registration span { padding:7px 8px; font-size:7px; }
  .article-hero { width:100%; height:113vw; clip-path:polygon(0 0,100% 0,100% 96%,91% 100%,0 100%); }
  .article-hero figcaption { bottom:14px; left:16px; right:16px; font-size:7px; }
  .article-hero figcaption span:last-child { display:none; }
  .article-entry { display:block; padding:72px 8vw 0; }
  .article-entry .margin-note { max-width:285px; margin:0 0 55px 12vw; font-size:26px; }
  .article-entry .article-body { font-size:17px; }
  .article-pause { min-height:585px; margin-top:88px; padding:82px 9vw; }
  .article-pause blockquote { margin-top:120px; font-size:15vw; }
  .pause-trace { width:175vw; height:155vw; right:-90vw; bottom:-53vw; }
  .article-pause--visual { min-height:690px; align-items:flex-end; padding-bottom:76px; }
  .pause-image { background-position:64% 50%; }
  .pause-veil { background:linear-gradient(0deg,rgba(10,24,29,.92) 0%,rgba(16,31,37,.58) 58%,rgba(13,25,30,.18) 100%); }
  .article-pause--visual blockquote { margin-top:48px; font-size:13.5vw; line-height:.9; }
  .article-pause--visual .pause-caption { max-width:240px; line-height:1.65; }
  .article-entry--second { padding-top:86px; padding-bottom:100px; }
  .article-entry--second .process-slip { width:73%; margin:0 0 65px 8%; min-height:185px; }
  .process-slip p { font-size:23px; }
  .article-afterword { min-height:390px; padding:81px 9vw; }
  .article-afterword p:nth-child(2) { margin-top:67px; font-size:14vw; }
  .article-navigation { padding:28px 8vw; }
  .article-navigation a { gap:10px; font-size:8px; }
}

/* Adaptacion movil completa. La portada se recompone como un umbral vertical y
   el archivo conserva el gesto libre mediante anchos, sangrias y capas distintas. */
@media (max-width:740px) {
  :root { --mobile-scroll:0px; --mobile-drift:0px; }
  html { scroll-padding-top:64px; }
  body { overflow-x:hidden; }

  .site-header {
    height:calc(64px + env(safe-area-inset-top));
    padding:env(safe-area-inset-top) max(22px,env(safe-area-inset-right)) 0 max(22px,env(safe-area-inset-left));
  }
  .brand { width:32px; height:32px; display:grid; place-items:center; }
  .brand img { width:32px; height:32px; object-fit:contain; }
  .back { min-height:44px; display:flex; align-items:center; font-size:9px; }
  .back b { margin-left:7px; }

  .threshold {
    min-height:max(760px,100svh);
    padding:clamp(126px,18svh,164px) 8vw calc(82px + env(safe-area-inset-bottom));
    background:linear-gradient(154deg,#eeebe4 0%,#e7e4dd 48%,#d5dce0 100%);
  }
  .threshold-copy { z-index:4; }
  .threshold h1 {
    max-width:90vw;
    margin:24px 0 29px;
    font-size:clamp(75px,22.3vw,103px);
    line-height:.73;
    letter-spacing:-.067em;
  }
  .lead { max-width:245px; font-size:14px; line-height:1.5; }
  .threshold-field {
    transform:translate3d(0,calc(var(--mobile-drift) * -.34),0);
    transition:transform .2s linear;
  }
  .paper-a.folio.camera-imprint {
    width:122vw;
    height:72vw;
    right:-54vw;
    top:31%;
    opacity:.62;
    transform:rotate(7deg) translate3d(0,calc(var(--mobile-drift) * .56),0);
    box-shadow:14px 20px 40px rgba(35,45,55,.10);
  }
  .camera-ghost {
    inset:-30% -5% -22% -23%;
    background-position:39% 47%;
    background-size:132% auto;
    opacity:.54;
  }
  .imprint-lens { width:56%; right:2%; top:18%; opacity:.74; }
  .imprint-measure { left:8%; top:64%; }
  .paper-b.aperture {
    width:35vw;
    height:48vw;
    min-width:0;
    min-height:0;
    right:4vw;
    bottom:12%;
    opacity:.72;
    transform:rotate(-8deg) translate3d(0,calc(var(--mobile-drift) * -.4),0);
  }
  .line-a { width:112vw; left:32%; top:38%; transform:rotate(25deg); opacity:.72; }
  .line-b { width:104vw; left:-24%; top:76%; transform:rotate(-15deg); }
  .line-c { display:none; }
  .pin { box-shadow:none; }
  .pin-a { left:32%; top:37.8%; }
  .pin-b { left:18%; top:64%; }
  .pin-c { display:none; }
  .field-index { top:12.5%; right:8vw; }
  .field-note.note-one {
    right:auto;
    left:47%;
    bottom:19%;
    max-width:145px;
    font-size:16px;
    line-height:1.06;
  }
  .ghost-section { right:-18%; top:66%; opacity:.86; transform:rotate(90deg); }
  .ghost-section strong { font-size:clamp(78px,25vw,112px); }
  .ghost-word--after { left:-2%; bottom:10%; font-size:clamp(43px,12.5vw,58px); opacity:.8; }
  .threshold-link { right:8vw; bottom:calc(30px + env(safe-area-inset-bottom)); min-height:44px; }

  .prologue { min-height:610px; padding:112px 8vw 105px; }
  .prologue > p:nth-child(2) { max-width:92%; margin:34px 0 28px; font-size:clamp(39px,10.7vw,49px); line-height:.96; }
  .prologue small { display:block; max-width:220px; line-height:1.65; }
  .prologue-thread { top:auto; bottom:24%; width:124vw; }
  .prologue-ghost { right:-7%; bottom:7%; font-size:clamp(57px,15.5vw,72px); opacity:.74; }
  .camera-trace--prologue { width:174vw; height:112vw; left:-78vw; bottom:-4%; opacity:.095; background-size:127% auto; }

  .archive {
    display:block;
    padding:48px 0 84px;
    background:linear-gradient(158deg,#d9dfe1 0%,#cbd5d8 49%,#e2dcd7 100%);
  }
  .archive-heading {
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    z-index:3;
    margin:0 8vw 46px;
  }
  .archive-heading > p:last-child { max-width:270px; margin:18px 0 0 12vw; font-size:18px; }
  .piece { margin-bottom:22px !important; box-shadow:0 17px 34px rgba(42,59,65,.085); }
  .piece a { padding:26px; }
  .piece h2 { font-size:clamp(47px,13vw,60px); }
  .piece--feature {
    width:92vw;
    min-height:620px;
    margin-left:0 !important;
    transform:rotate(-.55deg);
    clip-path:polygon(0 0,100% 0,100% 96%,94% 100%,0 100%);
  }
  .piece--feature .piece-copy { max-width:78%; }
  .piece--note {
    width:78vw;
    min-height:455px;
    margin-left:auto !important;
    transform:rotate(1.2deg);
    clip-path:polygon(0 0,100% 0,100% 100%,8% 96%,0 100%);
  }
  .piece--note h2 { margin-top:145px; }
  .piece--glass {
    width:70vw;
    min-height:345px;
    margin-left:7vw !important;
    transform:rotate(-.8deg);
  }
  .piece--glass h2 { margin-top:95px; }
  .piece--quote {
    width:88vw;
    min-height:390px;
    margin-left:auto !important;
    transform:rotate(.5deg);
  }
  .piece--quote blockquote { margin-top:65px; font-size:clamp(39px,11.7vw,53px); }
  .piece--wide {
    width:94vw;
    min-height:510px;
    margin-left:3vw !important;
    transform:rotate(-.45deg);
    clip-path:polygon(0 0,97% 2%,100% 100%,4% 97%);
  }
  .piece--wide .piece-copy { width:82%; }
  .camera-trace--archive { width:185vw; height:165vw; right:-104vw; top:82vw; opacity:.105; }
  .camera-detail--feature { width:125%; height:84%; right:-47%; top:0; opacity:.135; }
  .camera-detail--note { width:190%; opacity:.11; }

  .interlude { min-height:max(610px,82svh); padding:102px 8vw 84px; }
  .interlude blockquote { margin-top:clamp(116px,21vh,160px); font-size:clamp(56px,15.4vw,71px); }
  .interlude-orbit { width:95vw; height:95vw; left:-34vw; bottom:-57vw; }
  .interlude-dot { left:17%; bottom:10%; box-shadow:none; }
  .camera-trace--interlude { width:205vw; height:168vw; right:-111vw; bottom:-43vw; opacity:.15; }

  .index { padding:106px 8vw 118px; }
  .index h2 { margin:32px 0 0; font-size:clamp(54px,15vw,69px); }
  .entry-list { margin-top:72px; }
  .entry-list a { min-height:82px; padding:21px 0; grid-template-columns:25px 1fr 20px; }
  .entry-list p { font-size:clamp(25px,7.2vw,33px); line-height:.95; }
  footer { padding:25px max(22px,env(safe-area-inset-right)) calc(25px + env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left)); }

  /* Entrada: apertura vertical potente y lectura sin ruido. */
  .article-page .site-header { min-height:calc(64px + env(safe-area-inset-top)); }
  .article-opening { min-height:max(650px,86svh); padding:112px 8vw 74px; }
  .article-opening::after { right:-5vw; bottom:13%; font-size:27vw; opacity:.8; }
  .article-kicker { max-width:210px; margin-top:76px; font-size:18px; }
  .article-opening h1 { margin-top:-10px; font-size:clamp(73px,21.5vw,99px); line-height:.76; }
  .article-opening .deck { max-width:285px; font-size:15px; }
  .article-registration { margin-top:38px; max-width:290px; }
  .article-hero { height:118vw; max-height:620px; }
  .article-hero::before { top:16px; left:16px; max-width:180px; line-height:1.6; }
  .camera-detail--article-image { width:100%; height:70%; right:-32%; top:0; opacity:.15; }
  .article-entry { padding:82px 8vw 0; }
  .article-entry .margin-note { max-width:270px; margin:0 0 62px 10vw; padding-left:20px; font-size:25px; }
  .article-entry .article-body { max-width:34rem; font-size:17px; line-height:1.76; }
  .article-entry .article-body p { margin-bottom:29px; }
  .article-pause { margin-top:96px; }
  .article-pause--visual { min-height:max(650px,88svh); padding:74px 8vw calc(72px + env(safe-area-inset-bottom)); }
  .pause-image { background-position:62% 50%; transform:scale(1.01); }
  .article-pause--visual blockquote { max-width:92%; margin-top:52px; font-size:clamp(49px,13.5vw,62px); }
  .article-entry--second { padding-top:92px; padding-bottom:108px; }
  .article-entry--second .process-slip { width:78%; margin:0 0 72px 5%; transform:rotate(-2deg); }
  .article-afterword { min-height:440px; padding:86px 8vw; }
  .article-afterword p:nth-child(2) { max-width:94%; margin-top:76px; font-size:clamp(52px,14vw,65px); }
  .afterword-mark { right:8vw; bottom:9%; }
  .article-navigation { min-height:76px; padding:20px 8vw calc(20px + env(safe-area-inset-bottom)); }
  .camera-trace--article { width:178vw; height:158vw; right:-104vw; top:22vh; opacity:.045; }

  .mobile-reveal { opacity:0; transform:translate3d(0,22px,0); transition:opacity .75s ease,transform .9s cubic-bezier(.16,1,.3,1); }
  .mobile-reveal.is-in-view { opacity:1; transform:translate3d(0,0,0); }
  .piece.mobile-reveal { transform:translate3d(0,26px,0) rotate(var(--mobile-angle,0deg)); }
  .piece.mobile-reveal.is-in-view { transform:translate3d(0,0,0) rotate(var(--mobile-angle,0deg)); }
  .piece--feature { --mobile-angle:-.55deg; }
  .piece--note { --mobile-angle:1.2deg; }
  .piece--glass { --mobile-angle:-.8deg; }
  .piece--quote { --mobile-angle:.5deg; }
  .piece--wide { --mobile-angle:-.45deg; }
}

@media (max-width:380px) {
  .threshold h1 { font-size:22vw; }
  .paper-a.folio.camera-imprint { top:34%; }
  .field-note.note-one { left:43%; }
  .piece h2 { font-size:12.5vw; }
  .article-opening h1 { font-size:21vw; }
}

@media (prefers-reduced-motion:reduce) {
  .mobile-reveal,.mobile-reveal.is-in-view { opacity:1; transform:none; }
  .threshold-field,.paper-a.folio.camera-imprint,.paper-b.aperture { transition:none; }
}

/* Ajustes finales de continuidad: las piezas 01 y 05 vuelven a la gama material
   del Cuaderno; el prólogo gana jerarquía y la cámara queda fuera de la lectura. */
.piece--feature,
.piece--wide {
  color:#263941;
}

.piece--feature {
  background:#aebdc2;
}

.image-night {
  background:
    radial-gradient(ellipse at 72% 30%,rgba(242,239,224,.92) 0,rgba(226,231,221,.38) 14%,transparent 36%),
    linear-gradient(135deg,#899fa8 2%,#b8c5c7 50%,#778f98 100%);
}

.image-night::before {
  background:linear-gradient(90deg,transparent,rgba(252,248,229,.34),transparent);
}

.image-night::after {
  background:rgba(249,244,219,.66);
  box-shadow:0 0 19px rgba(244,246,224,.62);
}

.image-reflection {
  background:linear-gradient(90deg,transparent,rgba(255,249,224,.34),transparent);
}

.image-thread {
  background:#f7f1d7;
  box-shadow:0 0 13px 5px rgba(236,242,216,.7);
}

.piece--wide {
  background:#b4c0b5;
}

.image-matter {
  background:
    radial-gradient(circle at 74% 35%,rgba(249,241,205,.76) 0 1%,transparent 1.6%),
    radial-gradient(ellipse at 68% 46%,#d3d8bd 0,rgba(211,216,189,.34) 22%,transparent 46%),
    linear-gradient(128deg,#879b91,#bdc8b7 49%,#82958d);
}

.image-matter::before {
  background:repeating-linear-gradient(113deg,transparent 0 33px,rgba(255,255,255,.09) 34px 35px);
}

.image-matter span {
  border-color:rgba(252,248,225,.53);
}

.prologue > p.eyebrow {
  margin:0;
  font:300 9px/1 "DM Mono",monospace;
  letter-spacing:.16em;
}

/* La cámara de la primera entrada debe descubrirse un poco antes, sin dejar
   de funcionar como una huella integrada en la pieza. */
.camera-detail--feature {
  opacity:.22;
}

.prologue > p:nth-child(3) {
  max-width:930px;
  margin:42px 0 29px;
  font:400 clamp(39px,5.35vw,81px)/.98 "Instrument Serif",serif;
  letter-spacing:-.045em;
}

.camera-trace--prologue {
  width:min(72vw,1040px);
  height:min(47vw,660px);
  left:-16vw;
  bottom:-39%;
  background-position:66% 47%;
  background-size:122% auto;
  opacity:.105;
  transform:rotate(9deg) scaleX(-1);
  transform-origin:center;
  -webkit-mask-image:linear-gradient(78deg,transparent 0,black 23%,black 58%,transparent 88%);
  mask-image:linear-gradient(78deg,transparent 0,black 23%,black 58%,transparent 88%);
}

@media (max-width:740px) {
  .prologue > p.eyebrow {
    margin:0;
    font-size:8px;
  }

  .prologue > p:nth-child(3) {
    max-width:95%;
    margin:34px 0 28px;
    font-size:clamp(42px,11.45vw,53px);
    line-height:.96;
  }

  .camera-trace--prologue {
    width:138vw;
    height:94vw;
    left:auto;
    right:-53vw;
    bottom:-18%;
    background-position:65% 48%;
    background-size:126% auto;
    opacity:.085;
    transform:rotate(7deg) scaleX(-1);
  }

  .camera-detail--feature {
    opacity:.17;
  }
}

/* Umbral 14 · En móvil, el prólogo se compone como una doble página:
   cámara a la izquierda y relato en una columna estrecha a la derecha. */
@media (max-width:740px) {
  .prologue {
    min-height:clamp(610px,86svh,760px);
    padding:104px 7vw 78px;
    display:grid;
    grid-template-columns:minmax(0,46%) minmax(0,54%);
    grid-template-rows:auto 1fr auto;
    column-gap:4vw;
    align-items:center;
  }

  .prologue > p.eyebrow {
    grid-column:1 / -1;
    grid-row:1;
    align-self:start;
    margin:0 0 42px;
  }

  .prologue > p:nth-child(3) {
    grid-column:2;
    grid-row:2;
    align-self:center;
    max-width:none;
    margin:0;
    font-size:clamp(26px,7.25vw,34px);
    line-height:1.02;
    letter-spacing:-.045em;
  }

  .prologue small {
    grid-column:2;
    grid-row:3;
    align-self:end;
    max-width:150px;
    margin-top:30px;
    font-size:7px;
    line-height:1.65;
  }

  .camera-trace--prologue {
    width:104vw;
    height:96vw;
    left:-52vw;
    right:auto;
    top:24%;
    bottom:auto;
    background-position:59% 49%;
    background-size:128% auto;
    opacity:.14;
    transform:rotate(7deg) scaleX(-1);
    -webkit-mask-image:linear-gradient(90deg,transparent 1%,black 28%,black 76%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 1%,black 28%,black 76%,transparent 100%);
  }

  .prologue-thread {
    width:92vw;
    right:-35vw;
    left:auto;
    top:62%;
    bottom:auto;
    opacity:.58;
  }

  .prologue-ghost {
    right:-5%;
    bottom:4%;
    font-size:clamp(43px,12vw,57px);
    opacity:.55;
  }
}

@media (max-width:380px) {
  .prologue {
    grid-template-columns:minmax(0,44%) minmax(0,56%);
    column-gap:3vw;
    padding-inline:6vw;
  }

  .prologue > p:nth-child(3) {
    font-size:clamp(24px,7vw,28px);
  }

  .camera-trace--prologue {
    left:-57vw;
  }
}
/* Bloques visuales gestionados desde Sveltia: imagen, vídeo o frase. */
.article-pause .pause-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.article-pause--quote {
  min-height: min(72vh, 760px);
  background: #26363b;
}

.article-pause--quote .pause-veil {
  opacity: .42;
}

@media (max-width: 740px) {
  .article-pause .pause-media {
    min-height: 100%;
  }
}

/* Umbral 17 · Pieza sonora opcional gestionada desde Sveltia. */
.article-audio {
  display:grid;
  grid-template-columns:minmax(220px,.72fr) minmax(420px,1.28fr);
  gap:clamp(54px,8vw,140px);
  align-items:end;
  padding:clamp(90px,11vw,160px) 10vw;
  color:#dfe5e2;
  background:
    radial-gradient(circle at 78% 22%,rgba(157,181,177,.18),transparent 34%),
    linear-gradient(125deg,#22343a,#17272d 76%);
}

.audio-heading .eyebrow { color:#aebeb9; }
.audio-heading .eyebrow i { background:#94aaa5; }
.audio-heading h2 {
  margin:34px 0 0;
  font:400 clamp(42px,5.2vw,78px)/.9 "Instrument Serif",serif;
  letter-spacing:-.05em;
}
.audio-heading > p:last-child {
  max-width:440px;
  margin:28px 0 0;
  color:#aebbb8;
  font:300 14px/1.65 "DM Sans",sans-serif;
}

.audio-player {
  position:relative;
  display:grid;
  grid-template-columns:58px minmax(120px,1fr) auto;
  gap:22px;
  align-items:center;
  padding:23px 0;
  border-top:1px solid rgba(220,230,226,.3);
  border-bottom:1px solid rgba(220,230,226,.16);
}
.audio-player audio { width:100%; grid-column:1 / -1; }
.audio-player.is-enhanced audio,
.article-audio.is-enhanced audio { display:none; }
.audio-toggle {
  position:relative;
  width:58px;
  height:58px;
  padding:0;
  border:1px solid rgba(223,231,227,.62);
  border-radius:50%;
  color:inherit;
  background:transparent;
  cursor:pointer;
  transition:background .3s ease,border-color .3s ease,transform .3s ease;
}
.audio-toggle:hover { background:rgba(223,231,227,.09); border-color:#e2e9e5; transform:scale(1.04); }
.audio-play {
  position:absolute;
  left:23px;
  top:19px;
  width:0;
  height:0;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  border-left:13px solid #e0e6e3;
  transition:all .2s ease;
}
.article-audio.is-playing .audio-play {
  left:20px;
  top:18px;
  width:14px;
  height:20px;
  border:0;
  border-left:4px solid #e0e6e3;
  border-right:4px solid #e0e6e3;
}
.audio-track { position:relative; height:24px; }
.audio-line {
  position:absolute;
  left:0;
  right:0;
  top:11px;
  height:1px;
  background:rgba(220,230,226,.25);
  pointer-events:none;
}
.audio-progress {
  --audio-progress:0%;
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:24px;
  margin:0;
  opacity:.99;
  appearance:none;
  background:transparent;
  cursor:pointer;
}
.audio-progress::-webkit-slider-runnable-track {
  height:1px;
  background:linear-gradient(90deg,#dce5e1 var(--audio-progress),rgba(220,230,226,.25) var(--audio-progress));
}
.audio-progress::-moz-range-track { height:1px; background:rgba(220,230,226,.25); }
.audio-progress::-moz-range-progress { height:1px; background:#dce5e1; }
.audio-progress::-webkit-slider-thumb {
  width:9px;
  height:9px;
  margin-top:-4px;
  border:0;
  border-radius:50%;
  appearance:none;
  background:#e1e8e4;
  box-shadow:0 0 0 5px rgba(225,232,228,.08);
}
.audio-progress::-moz-range-thumb {
  width:9px;
  height:9px;
  border:0;
  border-radius:50%;
  background:#e1e8e4;
}
.audio-time {
  min-width:92px;
  color:#9eafab;
  font:300 8px/1 "DM Mono",monospace;
  letter-spacing:.08em;
  text-align:right;
}

@media (max-width:740px) {
  .article-audio {
    display:block;
    padding:88px 8vw 92px;
  }
  .audio-heading h2 { margin-top:30px; font-size:clamp(48px,14vw,65px); }
  .audio-heading > p:last-child { margin-top:24px; font-size:13px; }
  .audio-player { grid-template-columns:52px minmax(80px,1fr); gap:18px; margin-top:62px; padding:21px 0 18px; }
  .audio-toggle { width:52px; height:52px; }
  .audio-play { left:21px; top:17px; }
  .article-audio.is-playing .audio-play { left:17px; top:16px; }
  .audio-time { grid-column:2; min-width:0; margin-top:-10px; text-align:left; }
}

@media (prefers-reduced-motion:reduce) {
  .audio-toggle { transition:none; }
}

/* Umbral 18 · Una fotografía subida sustituye por completo al fondo gráfico.
   La entrada conserva la proporción original en escritorio y móvil. */
.article-hero--photo {
  height:auto;
  max-height:none;
  background:#17272e;
}

.article-hero--photo::after {
  content:"";
  position:absolute;
  z-index:2;
  right:0;
  bottom:0;
  left:0;
  height:24%;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(10,20,24,.38),transparent);
}

.article-hero--photo img {
  display:block;
  width:100%;
  height:auto;
}

.piece-image.has-uploaded-image {
  background-color:#24343a;
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}

.piece-image.has-uploaded-image::before,
.piece-image.has-uploaded-image > span {
  display:none;
}

.piece-image.has-uploaded-image::after {
  content:"";
  position:absolute;
  inset:38% 0 0;
  width:auto;
  height:auto;
  display:block;
  background:linear-gradient(0deg,rgba(14,25,30,.68),rgba(14,25,30,0));
  box-shadow:none;
  transform:none;
}

.piece--has-image {
  color:#f1eee6;
}

@media (max-width:740px) {
  .article-hero--photo {
    height:auto;
    max-height:none;
  }
}

/* Umbral 19 · La imagen de la pausa es una segunda fotografía real.
   Se muestra completa y separada del fondo editorial, sin recorte ni capas. */
.article-pause--image {
  display:block;
  min-height:0;
  padding:0;
  overflow:visible;
  color:#edf0ea;
  background:transparent;
}

.article-pause--image::before,
.article-pause--image .pause-veil,
.article-pause--image .pause-trace {
  display:none;
}

.article-pause--image .pause-image {
  position:relative;
  z-index:auto;
  inset:auto;
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
  background:none;
  filter:none;
  transform:none;
}

.article-pause--image .pause-content {
  position:relative;
  z-index:1;
  padding:clamp(65px,8vw,118px) 13vw clamp(72px,9vw,132px);
  background:#17272e;
}

.article-pause--image blockquote {
  margin-top:clamp(48px,6vw,82px);
}

@media (max-width:740px) {
  .article-pause--image {
    min-height:0;
    padding:0;
  }

  .article-pause--image .pause-image {
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:center;
    transform:none;
  }

  .article-pause--image .pause-content {
    padding:58px 8vw calc(66px + env(safe-area-inset-bottom));
  }

  .article-pause--image blockquote {
    max-width:100%;
    margin-top:42px;
  }
}

/* Umbral 20 · La pausa puede conservar el texto debajo o superponerlo
   sobre la fotografía. La imagen mantiene siempre su proporción original. */
.article-pause--image.article-pause--text-overlay {
  position:relative;
  display:grid;
  isolation:isolate;
  color:#f2f1eb;
  background:#17272e;
}

.article-pause--text-overlay .pause-image {
  grid-area:1 / 1;
  align-self:start;
}

.article-pause--text-overlay .pause-content {
  grid-area:1 / 1;
  z-index:2;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-width:0;
  padding:clamp(44px,7vw,105px) 10vw;
  background:linear-gradient(0deg,rgba(8,19,24,.88) 0%,rgba(10,22,27,.46) 47%,rgba(10,22,27,.08) 78%,transparent 100%);
}

.article-pause--text-overlay blockquote {
  max-width:900px;
  margin-top:clamp(24px,4vw,58px);
  text-wrap:balance;
  text-shadow:0 2px 24px rgba(0,0,0,.36);
}

.article-pause--text-overlay .pause-caption {
  color:rgba(242,241,235,.72);
}

@media (max-width:740px) {
  .article-pause--text-overlay .pause-content {
    padding:34px 8vw calc(38px + env(safe-area-inset-bottom));
  }

  .article-pause--text-overlay blockquote {
    margin-top:22px;
    font-size:clamp(28px,9.5vw,43px);
    line-height:.98;
  }
}
