/* =====================================================================================
   Avilés DDC Fuengirola · Diseño de sonrisa digital: «Primero se dibuja.»
   El trazo verde es el hilo de la página: dibuja la sonrisa en el papel, marca lo que esconde el tiempo,
   rodea un tono, se posa sobre el reflejo y se bifurca en los dos caminos.
   ===================================================================================== */

/* ---------- 1 · Portada: la copia con el papel vegetal ---------- */
.dh { position: relative; height: 270vh; background: var(--blanco); }
.dh-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--blanco); }
.dh-h1 { position: absolute; right: 0; bottom: calc(100% + 22px); text-align: right; white-space: nowrap; font-size: .8125rem; line-height: 1.6; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-texto); }

.dh-stage { position: absolute; inset: var(--hdr) 0 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(28px, 3.2vw, 64px); padding: 0 var(--gut) 2svh; }

/* la frase partida a los dos lados de la copia: «Primero | se dibuja.» → «Después, | se hace.» */
.dh-word { position: relative; display: grid; font-size: clamp(3rem, .6rem + 5.2vw, 8.6rem); white-space: nowrap; }
.dh-word > span { grid-area: 1 / 1; transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.dh-word .is-b { opacity: 0; transform: translateY(.18em); filter: blur(6px); }
.dh.is-made .dh-word .is-a { opacity: 0; transform: translateY(-.18em); filter: blur(6px); }
.dh.is-made .dh-word .is-b { opacity: 1; transform: none; filter: none; }
.dh-word b { font-weight: inherit; }
.m-only { display: none; }
.dh-left { position: relative; justify-self: end; }
.dh-word-l { text-align: right; }
.dh-word-l > span { justify-self: end; }
.dh-right { position: relative; justify-self: start; }
/* los dos trozos de la frase a la misma altura: lo demás cuelga debajo de «se dibuja.» */
.dh-more { position: absolute; left: 0; top: calc(100% + clamp(22px, 3.4svh, 40px)); display: grid; gap: clamp(20px, 3svh, 32px); width: clamp(250px, calc(50vw - 330px), 440px); }
.dh-sub { max-width: 30ch; font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem); line-height: 1.5; color: var(--gris-6); }
.dh-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* la copia impresa (foto 1200 × 1500 con un margen de 52): las marcas de registro van en gris en el margen */
.dh-print { position: relative; height: min(76svh, 900px); aspect-ratio: 1304 / 1604; margin: 0; background: var(--blanco);
  box-shadow: 0 1px 1px rgba(11, 12, 12, .05), 0 6px 14px -4px rgba(11, 12, 12, .10), 0 34px 60px -26px rgba(11, 12, 12, .28); }
.dh-photo { position: absolute; left: calc(52 / 1304 * 100%); top: calc(52 / 1604 * 100%); width: calc(1200 / 1304 * 100%); height: calc(1500 / 1604 * 100%); object-fit: cover; }
.dh-marks, .dh-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.dh-marks { fill: none; stroke: var(--gris-3); stroke-width: 1; }
.dh-marks * { vector-effect: non-scaling-stroke; }

/* el papel vegetal: translúcido, con grano; la foto se ve suave a través de él */
.dh-sheet, .dh-back { position: absolute; inset: 0; }
.dh-sheet { background-color: rgba(248, 250, 249, .64); -webkit-backdrop-filter: blur(2.6px) saturate(.7) brightness(1.04); backdrop-filter: blur(2.6px) saturate(.7) brightness(1.04);
  background-image: linear-gradient(var(--ang, 157deg), transparent calc(var(--f, 3000px) - 70px), rgba(11, 12, 12, .07) var(--f, 3000px), transparent var(--f, 3000px)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(11, 12, 12, .05); }
/* el trozo doblado: la otra cara del papel, algo más blanca, con el dibujo visto del revés */
.dh-flap { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(0 16px 22px rgba(11, 12, 12, .16)) drop-shadow(0 2px 3px rgba(11, 12, 12, .08)); }
.dh-back { transform-origin: 0 0; background-color: rgba(252, 253, 253, .8); -webkit-backdrop-filter: blur(3px) saturate(.6); backdrop-filter: blur(3px) saturate(.6);
  background-image: linear-gradient(var(--ang, 157deg), transparent var(--f, 3000px), rgba(255, 255, 255, .7) var(--f, 3000px), rgba(255, 255, 255, 0) calc(var(--f, 3000px) + 60px), rgba(11, 12, 12, .045) calc(var(--f, 3000px) + 420px)); }
/* el punto de partida, en el CSS (diseno-sonrisa.js lo recalcula al doblar): el papel entero y el dorso sin verse; con
   «reducir movimiento», ya retirado. Así el primer pintado es el de partida (27-oct: el dorso se veía un instante sobre
   la foto antes de que el JavaScript lo recortara) */
.dh-back { clip-path: polygon(0 0, 0 0, 0 0); }
@media (prefers-reduced-motion: reduce) { .dh-sheet { clip-path: polygon(0 0, 0 0, 0 0); } .dh-flap { opacity: 0; } }
.dh-back .dh-draw { opacity: .32; }

/* el dibujo (unidades del SVG: la copia mide 1304 de ancho) */
.dh-draw { fill: none; stroke: var(--verde); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.dh-draw * { vector-effect: non-scaling-stroke; }
.dh-draw .tooth { stroke-width: 1.6; }
.dh-draw text { fill: var(--verde-texto); stroke: none; font-family: var(--display); font-size: 25px; font-weight: 500; letter-spacing: .01em; }
.dh-draw .mk circle { fill: rgba(255, 255, 255, .55); }
.dh-draw .mk text { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dh-draw .cj rect { fill: rgba(255, 255, 255, .35); }
.dh-draw .cj .cj-h { font-size: 17px; font-weight: 600; letter-spacing: .14em; }
.dh-draw .cj .cj-n { font-weight: 600; font-variant-numeric: tabular-nums; }
/* se traza al llegar: cada línea a su turno (--o) */
/* los trazos que se dibujan no se pintan hasta tener medido su largo (--len, diseno-sonrisa.js), y su guion no se repite
   (el trazo y después un hueco enorme): antes, medidos demasiado pronto, se veían trozos un instante y luego
   desaparecían para dibujarse (27-oct) */
:is(.dh-sheet .ln, .dt-lip, .db-ring, .dp-draw .ln, .dc-line path):not([style*="--len"]) { visibility: hidden; }
.dh-sheet .ln { stroke-dasharray: var(--len, 0px) 99999px; stroke-dashoffset: var(--len, 9999px); transition: stroke-dashoffset 1.15s cubic-bezier(.45, .05, .2, 1) calc(var(--o) * .14s + .2s); }
.dh-sheet .reg, .dh-sheet .mk, .dh-sheet .cj { opacity: 0; transition: opacity .8s var(--ease) calc(var(--o) * .14s + .2s); }
.dh.is-drawn .dh-sheet .ln { stroke-dashoffset: 0; }
.dh.is-drawn .dh-sheet .reg, .dh.is-drawn .dh-sheet .mk, .dh.is-drawn .dh-sheet .cj { opacity: 1; }

/* ---------- 2 · Lo que el tiempo esconde ---------- */
.dt { position: relative; height: 320vh; background: var(--negro); color: var(--blanco); }
.dt-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 120px); padding: var(--hdr) var(--gut) max(3svh, var(--hueco-cookies)); }
.dt-photo { position: relative; height: min(78svh, 940px); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.dt-photo img { width: 100%; height: 100%; object-fit: cover; }
.dt-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.dt-draw * { vector-effect: non-scaling-stroke; }
.dt-draw pattern path { stroke: var(--verde-claro); stroke-width: 1.1; vector-effect: none; }
.dt-band { fill: url(#dt-hatch); stroke: var(--verde-claro); stroke-width: 1.2; }
.dt-lip { stroke: var(--verde-claro); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: var(--len, 0px) 99999px; stroke-dashoffset: calc(var(--lip, 1) * var(--len, 9999px)); }
.dt-dim path { stroke: var(--verde-claro); stroke-width: 1.2; }
.dt-dim text { text-anchor: middle; paint-order: stroke; stroke: rgba(11, 12, 12, .55); stroke-width: 3px; stroke-linejoin: round; fill: var(--verde-claro); font-family: var(--display); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dt-dim { opacity: var(--dim, 0); }
.dt-copy { display: grid; gap: clamp(18px, 3svh, 34px); max-width: 40rem; }
.dt-title { font-size: clamp(2.8rem, 1rem + 4.4vw, 6.6rem); }
.dt-label { max-width: 34ch; }
.dt-ages { display: grid; gap: 2px; font-size: clamp(1rem, .9rem + .3vw, 1.1875rem); }
.dt-ages li { display: grid; grid-template-columns: 10.5em minmax(0, 1fr) 5.2em; align-items: center; gap: 18px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--gris-3); transition: color .5s var(--ease); }
.dt-ages li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dt-ages i { height: 2px; width: calc(var(--mm) / 3.4 * 100%); min-width: 2px; background: var(--gris-6); transition: background .5s var(--ease); }
.dt-ages b { justify-self: end; font-weight: 500; font-variant-numeric: tabular-nums; }
.dt-ages li.is-on { color: var(--blanco); }
.dt-ages li.is-on i { background: var(--verde-claro); }
.dt-ages li.is-on b { color: var(--verde-claro); }
.dt-end { max-width: 34ch; font-size: clamp(1.0625rem, .95rem + .35vw, 1.3125rem); line-height: 1.5; opacity: var(--end, 0); transform: translateY(calc((1 - var(--end, 0)) * 14px)); }
.dt-src { font-size: .8125rem; color: var(--gris-3); opacity: var(--end, 0); }
.dt-src a { color: inherit; }

/* ---------- 3 · El blanco justo: el abanico ---------- */
.db { position: relative; height: 260vh; background: var(--blanco); }
.db-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.db-copy { position: absolute; left: 50%; top: calc(var(--hdr) + 5svh); transform: translateX(-50%); width: min(46rem, calc(100% - 2 * var(--gut))); display: grid; justify-items: center; gap: 16px; text-align: center; }
.db-copy .label { color: var(--verde-texto); }
.db-title { font-size: clamp(2.8rem, 1rem + 4.6vw, 7rem); }
.db-text { max-width: 38ch; font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem); line-height: 1.5; color: var(--gris-6); }
/* cada pestaña gira alrededor de un eje común, por debajo de la pantalla */
.db-fan { filter: drop-shadow(0 8px 14px rgba(11, 12, 12, .08));   /* una sola sombra suave para todo el abanico */
  --th: min(50svh, 500px); --r: calc(var(--th) * .85); position: absolute; left: 50%; bottom: calc(var(--th) * -.1 + 28px); width: 0; height: var(--th); }   /* (+28 px: la pestaña de un extremo no llega al botón de las cookies) */
.db-tab { position: absolute; left: 0; bottom: 0; height: var(--th); width: calc(var(--th) * var(--ar)); transform-origin: 50% calc(100% + var(--r)); transform: translateX(-50%) rotate(var(--a, 0deg)) translateY(var(--lift, 0px)); will-change: transform; }
.db-tab img { display: block; width: 100%; height: 100%; }
.db-over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.db-tab b { position: absolute; left: 50%; top: -1.7em; transform: translateX(-50%); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--gris-5); opacity: var(--codes, 0); white-space: nowrap; }
.db-tab.is-off { display: none; }
.db-tab.is-pick { z-index: 2; }
.db-tab.is-pick b { top: -3.1em; color: var(--verde-texto); }
/* el anillo verde que rodea la corona elegida, trazado como con un rotulador (va dentro del dibujo de la pestaña) */
.db-ring { fill: none; stroke: var(--verde); stroke-width: 2; stroke-linecap: round; stroke-dasharray: var(--len, 0px) 99999px; stroke-dashoffset: calc(var(--ring, 1) * var(--len, 9999px)); opacity: var(--ringo, 0); }

/* ---------- 4 · Pruébatela: el espejo ---------- */
.dp { position: relative; height: 280vh; background: var(--negro); color: var(--blanco); }
.dp-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.dp-copy { position: absolute; left: var(--gut); top: 50%; transform: translateY(-42%); z-index: 2; display: grid; gap: clamp(18px, 3svh, 30px); max-width: min(36rem, 44vw); }
.dp-title { font-size: clamp(3.2rem, 1rem + 6vw, 9rem); }
.dp-text { max-width: 30ch; font-size: clamp(1.0625rem, .95rem + .35vw, 1.3125rem); line-height: 1.5; color: var(--gris-3); }
/* imagen 1493 × 2000; el cristal tiene su centro en (50,06 %, 35 %) y radio 34,7 % del ancho */
.dp-mirror { --mh: 150svh; --mw: calc(var(--mh) * 1493 / 2000); position: absolute; width: var(--mw); height: var(--mh); left: calc(80vw - var(--mw) * .5006); top: calc(50svh - var(--mh) * .35); perspective: 2600px; }
.dp-card { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50.06% 35%; transform: rotateY(var(--ry, 180deg)); will-change: transform; }
.dp-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dp-face img, .dp-back { width: 100%; height: 100%; }
.dp-back { transform: rotateY(180deg); }
.dp-draw { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--verde-claro); stroke-width: 1.5; stroke-linejoin: round; opacity: var(--dw, 0); }
.dp-draw * { vector-effect: non-scaling-stroke; }
.dp-draw .ln { stroke-dasharray: var(--len, 0px) 99999px; stroke-dashoffset: calc(var(--dl, 1) * var(--len, 9999px)); }
/* un brillo cruza el cristal mientras gira */
.dp-glint { position: absolute; left: calc(50.06% - var(--mw) * .347); top: calc(35% - var(--mw) * .347); width: calc(var(--mw) * .694); aspect-ratio: 1; border-radius: 50%; overflow: hidden; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: var(--gl, 120%) 0; }

/* ---------- 5 · Dos caminos ---------- */
.dc { padding: clamp(100px, 15vh, 170px) var(--gut) clamp(90px, 13vh, 150px); background: var(--blanco); }
.dc-title { text-align: center; font-size: clamp(2.6rem, 1rem + 4.4vw, 6.8rem); }
.dc-line { display: block; width: min(1000px, 84vw); height: clamp(150px, 22vh, 260px); margin: clamp(28px, 4vh, 48px) auto 0; overflow: visible; fill: none; stroke: var(--verde); stroke-width: 1.6; stroke-linecap: round; }
.dc-line path { vector-effect: non-scaling-stroke; stroke-dasharray: var(--len, 0px) 99999px; }
.dc-trunk { stroke-dashoffset: calc(var(--d1, 1) * var(--len, 9999px)); }
.dc-branch { stroke-dashoffset: calc(var(--d2, 1) * var(--len, 9999px)); }
.dc-paths { display: flex; justify-content: space-between; align-items: flex-start; width: min(1000px, 84vw); margin: 0 auto; }
.dc-path { display: grid; gap: 14px; align-content: start; }
.dc-path img { width: 100%; height: auto; margin-bottom: 18px; }
.dc-impl { width: 46%; }                                   /* centro al 23 %: donde acaba la rama izquierda */
.dc-car { width: 36%; margin-right: 4%; }                  /* centro al 78 % */
.dc-car::before { content: ""; justify-self: center; width: 1.6px; height: clamp(70px, 14vh, 150px); margin: 0 0 4px; background: var(--verde); transform-origin: 50% 0; transform: scaleY(var(--d3, 0)); }
.dc-path .label { color: var(--verde-texto); }
.dc-word { font-size: clamp(2.6rem, 1rem + 3.8vw, 5.6rem); }
.dc-text { max-width: 34ch; font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem); line-height: 1.5; color: var(--gris-6); }
.dc-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 6px; }
/* la otra salida del camino: pregunta encima, enlace debajo y alineado, del mismo color que los demás enlaces */

/* ---------- Pantallas estrechas ---------- */
@media (max-width: 900px) {
  .dh { height: 240vh; }
  .dh-left { display: contents; }
  .dh-h1 { position: static; order: -1; white-space: normal; text-align: center; font-size: .75rem; letter-spacing: .12em; }
  .dh-stage { inset: calc(var(--hdr) + 44px) 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 22px; padding: 0 var(--gut) var(--hueco-cookies); }
  .dh-print { height: auto; width: min(68vw, 46svh * 1304 / 1604); }
  .dh-word { font-size: clamp(1.9rem, .7rem + 6vw, 3.4rem); }
  .dh-word-l { display: none; }
  .m-only { display: inline; }
  .dh-right { display: grid; justify-items: center; text-align: center; gap: 16px; }
  .dh-word-r > span { justify-self: center; }
  .dh-more { position: static; width: auto; justify-items: center; gap: 16px; }
  .dh-sub { font-size: 1rem; }
  .dh-act { justify-content: center; }
  .dh-draw .cj { display: none; }

  .dt { height: 300vh; }
  .dt-pin { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 22px; padding-top: calc(var(--hdr) + 8px); }
  .dt-photo { width: 100%; height: min(calc((100vw - 2 * var(--gut)) / 1.6), 26svh); aspect-ratio: auto; }   /* alto fijo: si no, la rejilla la aplastaba y se montaba bajo el título */
  .dt-copy { gap: 14px; }
  .dt-title { font-size: clamp(2.3rem, 1rem + 6vw, 3.4rem); }
  .dt-ages { font-size: .9375rem; }
  .dt-ages li { grid-template-columns: 9.5em minmax(0, 1fr) 4.4em; gap: 12px; padding: 6px 0; }
  .dt-pin { align-content: safe center; }   /* si no cabe, que se corte abajo y nunca la foto y el título bajo la cabecera */
  .dt-end { font-size: 1rem; }

  .db-copy { top: calc(var(--hdr) + 3svh); gap: 12px; }
  .db-fan { --th: min(34svh, 50vw); --r: calc(var(--th) * .9); bottom: 14svh; }   /* en móvil el abanico se abre menos y se ve entero, con su base */
  .db-tab b { font-size: .6875rem; }

  .dp-copy { left: var(--gut); right: var(--gut); top: auto; bottom: max(6svh, var(--hueco-cookies)); transform: none; max-width: none; gap: 12px; }
  .dp-title { font-size: clamp(2.6rem, 1rem + 8vw, 4rem); }
  .dp-text { font-size: 1rem; }
  .dp-mirror { --mw: 112vw; --mh: calc(var(--mw) * 2000 / 1493); left: calc(50vw - var(--mw) * .5006); top: calc(var(--hdr) + 2svh - var(--mh) * .35 + var(--mw) * .347); }

  .dc-line { display: none; }
  .dc-paths { flex-direction: column; align-items: center; gap: 64px; width: 100%; }
  .dc-impl, .dc-car { width: min(100%, 30rem); margin: 0; }
  .dc-path::before { content: ""; justify-self: center; width: 1.6px; height: 56px; background: var(--verde); }
  .dc-car::before { height: 56px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dh, .dt, .db, .dp { height: auto; }
  .dh-pin, .dt-pin, .db-pin, .dp-pin { position: relative; }
  .dh-pin, .db-pin, .dp-pin { min-height: 100svh; }
  .dh-sheet .ln { stroke-dashoffset: 0; transition: none; }
  .dh-sheet .reg, .dh-sheet .mk, .dh-sheet .cj { opacity: 1; transition: none; }
}
/* móviles de hasta 860 px de alto (casi todos, con la barra del navegador): «Lo que el tiempo esconde» no cabía (de 30 a
   120 px de más) y la foto quedaba bajo la cabecera y el título; más compacta, entera entre la cabecera y el borde */
@media (max-width: 900px) and (max-height: 860px) {
  .dt-pin { gap: 12px; }
  .dt-copy { gap: 8px; }
  .dt-title { font-size: clamp(1.9rem, 1rem + 5vw, 2.8rem); }
  .dt-label { font-size: .6875rem; }
  .dt-ages { font-size: .875rem; }
  .dt-ages li { padding: 3px 0; }
  .dt-end { font-size: .9375rem; line-height: 1.4; }
  .dt-src { font-size: .75rem; }
}
@media (max-width: 900px) and (max-height: 760px) { .dt-photo { height: min(calc((100vw - 2 * var(--gut)) / 1.6), 22svh); } }
/* y los muy bajos (≤ 640 px de alto) */
@media (max-width: 900px) and (max-height: 640px) {
  .dt-pin { gap: 10px; }
  .dt-photo { height: calc((100vw - 2 * var(--gut)) / 3.2); aspect-ratio: auto; }   /* alto fijo: la rejilla no la aplasta */
  .dt-copy { gap: 6px; }
  .dt-title { font-size: clamp(1.75rem, 1rem + 4.4vw, 2.6rem); }
  .dt-label { font-size: .625rem; }
  .dt-ages { font-size: .875rem; }
  .dt-ages li { padding: 2px 0; }
  .dt-end { font-size: .875rem; line-height: 1.4; }
  .dt-src { font-size: .6875rem; }
}
/* escritorio bajo (≤ 820 px de alto): el texto (700 px) no cabía entre la cabecera y el borde: más justo y con aire arriba */
@media (min-width: 901px) and (max-height: 820px) {
  .dt-pin { padding-top: calc(var(--hdr) + 16px); }
  .dt-copy { gap: clamp(10px, 1.8svh, 18px); }
  .dt-title { font-size: clamp(2.4rem, 1rem + 3.2vw, 4.4rem); }
  .dt-ages li { padding: 6px 0; }
  .dt-end { font-size: 1rem; }
}
/* los más bajos (≤ 600 px de alto): la fuente, sobre el botón de las cookies */
@media (max-width: 900px) and (max-height: 600px) {
  .dt-photo { height: calc((100vw - 2 * var(--gut)) / 4.4); }
  .dt-title { font-size: 1.625rem; }
  .dt-ages li { padding: 1px 0; }
  .dt-end { font-size: .8125rem; }
}
/* portada en móviles muy bajos (≤ 600 px de alto): el papel, algo menor, para que la frase y el botón queden sobre el
   botón de las cookies */
@media (max-width: 900px) and (max-height: 600px) {
  .dh-stage { gap: 10px; }
  .dh-print { width: min(46vw, 26svh * 1304 / 1604); }
  .dh-right, .dh-more { gap: 10px; }
  .dh-sub { font-size: .875rem; line-height: 1.38; }
}
/* «Lo que el tiempo esconde» en móviles de hasta 700 px de alto: la fuente, sobre el botón de las cookies */
@media (max-width: 900px) and (min-height: 601px) and (max-height: 700px) {
  .dt-photo { height: min(calc((100vw - 2 * var(--gut)) / 1.6), 17svh); }
  .dt-title { font-size: clamp(1.75rem, 1rem + 4.4vw, 2.4rem); }
}
@media (max-width: 900px) and (max-height: 700px) {
  .dt-ages li { padding: 2px 0; }
  .dt-src { line-height: 1.35; }
}
