.intro__stage { position: relative; min-height: 1px; touch-action: pan-y; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40'%3E%3Cpath d='M8 2C5 10 1 14 3 20c1 5 5 7 10 6 5-1 8-6 5-11C15 10 11 8 8 2Z' fill='%23F0455C' stroke='%23B80F2E' stroke-width='2'/%3E%3Cpath d='M8 23 22 38' stroke='%232B1B1F' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='m11 24 14 14' stroke='%23C97A12' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M8 8c-2 4-3 6-2 9' fill='none' stroke='%23FFD25A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 8 3, crosshair;}
.intro__stage.is-done { cursor: auto; }
.intro__layer, [data-intro-es] { font-family: var(--font-serif); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.85; }
.intro__layer p, [data-intro-es] p { margin: 0 0 1.3rem; }
.intro__layer p:last-child, [data-intro-es] p:last-child { margin-bottom: 0; }
.intro__stage {
  /* Spanish is painted on the canvas from these values (see intro-lens.js). */
  --intro-es-fill: #E4566C;
  --intro-es-stroke: #9E1A33;
  --intro-es-stroke-width: 0.4px;
  --intro-en-fill: #1A0E10;
  --intro-en-stroke: #FFFDF8;
  --intro-en-stroke-width: 2.5px;
  --torch-x: -999px;
  --torch-y: -999px;
  --torch-radius: 110px;
}
.intro__layer--en { position: relative; z-index: 0; margin: 0; color: var(--intro-en-fill); font-weight: 500; -webkit-text-stroke: var(--intro-en-stroke-width) var(--intro-en-stroke); paint-order: stroke fill; }
.intro__layer--lit { position: absolute; z-index: 0; inset: 0; color: #3D1600; -webkit-text-stroke-color: #FFE7A3; text-shadow: 0 0 6px rgb(255 200 80 / 95%), 0 0 16px rgb(255 160 40 / 70%); opacity: 0; pointer-events: none; transition: opacity .22s ease; -webkit-mask-image: radial-gradient(circle var(--torch-radius) at var(--torch-x) var(--torch-y), #000 0, #000 45%, transparent 100%); mask-image: radial-gradient(circle var(--torch-radius) at var(--torch-x) var(--torch-y), #000 0, #000 45%, transparent 100%); }
.intro__stage.is-lit .intro__layer--lit { opacity: 1; }
.intro__stage.is-done .intro__layer--lit, .intro__stage.is-fallback .intro__layer--lit { display: none; }
.intro__canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; opacity: 1; pointer-events: none; transition: opacity .8s ease; }
.intro__stage.is-done .intro__canvas { opacity: 0; pointer-events: none; }
.intro__stage.is-fallback { display: block; }
.intro__stage.is-fallback .intro__canvas { display: none; }
.intro__stage.is-fallback [data-intro-es] { position: static; width: auto; height: auto; margin-top: 2rem; overflow: visible; clip: auto; white-space: normal; color: var(--intro-es-fill); -webkit-text-stroke: var(--intro-es-stroke-width) var(--intro-es-stroke); paint-order: stroke fill; }
.intro__stage.is-fallback [data-intro-es]::before { display: block; margin-bottom: .7rem; color: var(--red); content: "Spanish original"; -webkit-text-stroke: 0; font-family: var(--font-sans); font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.torch-glow { position: fixed; z-index: 30; top: 0; left: 0; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgb(255 210 90 / 28%) 0, rgb(255 210 90 / 18%) 35%, rgb(240 154 46 / 9%) 58%, transparent 72%); opacity: 0; pointer-events: none; transform: translate(-100vw, -100vh); transition: opacity .22s ease; will-change: transform; }
.torch-glow.is-visible { opacity: 1; }
.intro__tools { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.intro__done { max-width: 720px; margin: 1.5rem auto 0; color: var(--red); font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 2rem); font-style: italic; text-align: center; }
.lens-hint { max-width: 720px; margin: 1.5rem auto 0; color: var(--red); font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 2rem); font-style: italic; text-align: center; padding: 12px 16px; opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s linear;
 }
.lens-hint[hidden] { display: block; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.intro__done:not([hidden]) { animation: message-in .6s ease both; }
.intro__done:not([hidden])::after { display: block; width: min(60%, 270px); height: 3px; margin: .5rem auto 0; background: var(--gold); content: ""; transform-origin: left; animation: underline-in .65s .2s ease both; }
@keyframes message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .intro__done:not([hidden]), .intro__done:not([hidden])::after { animation: none; }
}
