/* Navegación superior y portada fotográfica de Ferianos. */
:root{--sidebar:0px;--header-height:68px;--cream:#fff;--ink:#29133f;--muted:#756480;--yellow:#ffe500}
html{scroll-padding-top:calc(var(--header-height) + 20px)}
body{padding-left:0;background:#fff;font-size:16px}
h1,h2,h3{letter-spacing:0;line-height:1.18;overflow-wrap:break-word}
main,.section,.section>*,.section-head>*,.archive-grid>*,.archive-section-heading>*,.event>*{min-width:0}
main:focus{outline:none}
.section{max-width:1400px;padding:88px 6%}
.section p,.section-head>p,.edition>div>p:not(.eyebrow),.about>div,.map-intro>p:not(.eyebrow){font-size:16px;line-height:1.8}
h2{font-size:clamp(34px,3.6vw,56px)}
.eyebrow,.detail-banner .eyebrow,.collage-heading .eyebrow,.join-invite .eyebrow{font-size:14px;letter-spacing:1px;line-height:1.6}
.note{font-size:14px!important;line-height:1.8}
.demo{font-size:12px;line-height:1.6;padding:8px 20px;background:var(--yellow);color:var(--ink);letter-spacing:.3px}
.skip-link{left:16px;z-index:150;font-size:16px;line-height:1.5}
#reading-progress{left:0;width:100%;z-index:100}
.button,.button.small{font-size:16px;min-height:48px;padding:14px 22px;gap:12px;border-radius:8px}
.button:hover{box-shadow:4px 5px 0 var(--mint)}
.text-link{font-size:16px;line-height:1.6}
input,select,textarea{font-size:16px;line-height:1.5}
select{appearance:none;padding-right:44px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23713bce' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.pill{font-size:12px;line-height:1.6;letter-spacing:.6px}
.site-header{display:block;position:sticky;top:0;z-index:80;padding:0;background:#21102ff5;backdrop-filter:blur(16px);border:0;box-shadow:none;transition:background .2s}
.nav-shell{max-width:1480px;margin:0 auto;min-height:68px;padding:10px 5%;display:flex;align-items:center;justify-content:center}
.top-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 28px;max-width:100%}
.site-header .module-link{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 0;border-radius:0;white-space:nowrap;color:#eee6f5;font-size:16px;font-weight:500;line-height:1.5;transition:color .2s}
.site-header .module-link::after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--yellow);transform:scaleX(0);transition:transform .2s}
.site-header .module-link:hover{background:none;color:white;transform:none}
.site-header .module-link.current{background:none;color:var(--yellow)}
.site-header .module-link.current::after{transform:scaleX(1)}
body[data-route="inicio"]:not(.nav-scrolled) .site-header{background:linear-gradient(180deg,#160824bf,#16082400);backdrop-filter:none}
body[data-route="inicio"] .hero.immersive{margin-top:calc(-1 * var(--header-height))}
body[data-route="inicio"] .immersive-stage{padding-top:calc(var(--header-height) + 32px);min-height:max(650px,100svh)}
.immersive-bottom .logo-motion{align-self:center;flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid #ffffff70;border-radius:6px;background:#21102f40;color:white;font-size:14px;line-height:1.5;text-decoration:none;white-space:nowrap}
.immersive-bottom .logo-motion:hover{background:#21102f90;border-color:white}

/* Una sola escena de texto visible; las fotos se funden entre sí. */
.hero.immersive{display:block;height:auto;min-height:0;padding:0;overflow:visible;background:#21102f}
.hero.immersive::before{display:none}
.immersive-stage{position:relative;top:auto;min-height:clamp(650px,calc(100svh - var(--header-height)),920px);display:grid;grid-template-rows:auto 1fr auto;gap:44px;padding:32px 6%;isolation:isolate;overflow:hidden;background:#21102f}
.immersive-backgrounds,.immersive-shade{position:absolute;inset:0;z-index:-1}
.immersive-background{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center 48%;opacity:0;transform:scale(1.02);transition:opacity .85s ease,transform 8s ease;will-change:opacity}
.immersive-background.current{opacity:1;transform:scale(1.07)}
.immersive-shade{z-index:0;pointer-events:none;background:linear-gradient(90deg,#1b0a2edc,#1b0a2e8c 57%,#1b0a2e1f),linear-gradient(0deg,#160b22ad,transparent 55%)}
.immersive-topline{position:relative;z-index:1;display:flex;gap:20px;justify-content:space-between;align-items:center;color:#fff;font-size:13px;line-height:1.6;letter-spacing:.8px}
.immersive-topline>span:last-child{text-align:right}
.immersive-copy-area{position:relative;z-index:2;align-self:center;min-width:0;max-width:790px}
.immersive-scene{position:relative;max-width:100%;animation:hero-copy-in .55s ease both}
.immersive-scene:not(.current),.immersive-scene[hidden],.immersive-scene[aria-hidden="true"]{display:none}
.immersive-scene.current{display:block;opacity:1;visibility:visible;transform:none}
.immersive .immersive-scene h1,.immersive .immersive-scene h2{font-family:'DM Sans',sans-serif;font-size:clamp(48px,5.6vw,82px);font-weight:600;line-height:1.09;letter-spacing:0;margin:0 0 24px;overflow-wrap:break-word;text-wrap:initial}
.immersive .immersive-scene em{color:var(--yellow);font-style:normal}
.immersive .immersive-scene .eyebrow{font-size:14px;letter-spacing:1.2px;line-height:1.7;color:var(--mint);margin-bottom:18px}
.immersive-scene>p:not(.eyebrow){color:#f5eafa;font-size:18px;line-height:1.75;margin:0 0 30px;max-width:610px}
.immersive-scene>.button{font-size:16px;min-height:50px;padding:15px 24px;max-width:100%}
.immersive-stamp{position:absolute;right:7%;top:22%;z-index:1;width:170px;transform:rotate(-7deg);animation:note-float 7s ease-in-out infinite}
.immersive-stamp img{display:block;width:100%;height:auto;filter:drop-shadow(0 8px 10px #120b2380)}
.immersive-stamp>span{display:block;color:white;text-align:center;font-size:12px;line-height:1.6;margin-top:10px}
.immersive-bottom{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.immersive-chapters{display:flex;gap:22px;flex:1;max-width:600px;min-width:0}
.immersive-chapters button{flex:1;min-width:0;min-height:52px;padding:14px 0;border:0;border-top:2px solid #ffffff60;background:none;color:#f3eaf8;text-align:left;font-size:16px;line-height:1.5;transition:color .2s,border-color .2s}
.immersive-chapters button.current{border-color:var(--yellow);color:var(--yellow)}
.immersive-chapters button>span{display:none}
.immersive-scroll{display:flex;gap:12px;align-items:center;color:#fff;font-size:12px;line-height:1.6;letter-spacing:.6px}
.immersive-scroll>span:last-child{font-size:26px;animation:note-float 2.5s ease-in-out infinite}
.immersive-progress{height:4px;position:absolute;bottom:0;left:0;right:0;background:#ffffff20;z-index:3}
.immersive-progress>span{display:block;width:100%;height:100%;background:var(--mint);transform:scaleX(.3333);transform-origin:left;transition:transform .4s ease}
.logo-paused .immersive-background{transition:none;transform:none}
.logo-paused .immersive-scene,.logo-paused .module-enter{animation:none}
@keyframes hero-copy-in{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}

/* Contenido de las ediciones y módulos existentes. */
.ticker{padding:19px 0}
.ticker-track{font-size:16px}
.home-collage{background:#f5effc;padding:80px 0 36px}
.collage-heading-actions,.archive-tools,.archive-section-heading,.detail-tabs,.map-links{flex-wrap:wrap}
.collage-heading-actions .text-link,.collage-bottom .text-link{font-size:16px;white-space:normal}
#collage-pause{font-size:14px;min-height:44px;padding:10px 18px;white-space:nowrap}
.collage-bottom>span{font-size:12px;line-height:1.7}
.collage-photo figcaption{font-size:16px}
.experience-grid{gap:22px}
.experience-card{display:flex;flex-direction:column;align-items:flex-start;gap:20px;min-width:0;padding:32px;min-height:360px}
.experience-yellow{background:var(--yellow)}
.experience-mint{background:var(--mint)}
.experience-card .experience-number{font-size:12px;line-height:1.7;letter-spacing:.6px}
.experience-card .experience-symbol{position:static;margin:0;font-size:58px;line-height:1;opacity:1}
.experience-card h3{font-size:32px;margin:0;line-height:1.2;max-width:100%}
.experience-card p{font-size:16px;margin:0;max-width:100%}
.card-action{font-size:14px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:3px;margin-top:auto}
.edition{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:64px}
.edition-card>label{font-size:14px}
.edition-card>select{font-size:18px;line-height:1.6}
.edition-info>p{font-size:16px}
.facts small{font-size:13px;line-height:1.6}
.facts strong{font-size:16px;line-height:1.6}
.tabs button,.detail-tabs button{font-size:16px;min-height:48px}
.event{grid-template-columns:85px minmax(0,1fr) auto;gap:24px}
.event time{font-size:24px}
.event h3{font-size:24px;line-height:1.3}
.event p{font-size:16px}
.event-tag{font-size:14px;line-height:1.5}
.actual-map{max-width:none}
.actual-map .map-intro{max-width:800px}
.distribution-map figcaption,.map-links,.map-links a{font-size:14px;line-height:1.7}
.distribution-map button>span{font-size:14px}
.about{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0 64px}
.about p{max-width:620px}
.join-whatsapp{max-width:none;padding:0;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.join-invite{padding:64px 10%}
.join-invite h2{font-size:clamp(38px,4vw,60px);line-height:1.16}
.join-invite>p:not(.eyebrow){font-size:16px;max-width:560px}
.join-photo figcaption{left:7%;bottom:42px}
.join-photo figcaption span{font-size:12px;line-height:1.7}
.join-photo figcaption strong{font-size:32px;line-height:1.3}
.qr-invitation{flex-wrap:wrap;gap:24px}
.qr-link{width:185px;flex:0 0 185px}
.qr-instructions{flex:1 1 150px}
.qr-label{font-size:12px;line-height:1.6}
.qr-instructions h3{font-size:28px;line-height:1.25}
.qr-instructions p{font-size:14px;max-width:240px}
.whatsapp-button{font-size:16px;width:100%;max-width:560px}
.join-invite .join-help{font-size:14px!important;max-width:560px}
.module-page{padding-top:60px}
.module-page h1{font-size:clamp(40px,5vw,72px);line-height:1.16}
.archive-tools label{font-size:14px;width:min(100%,420px);min-width:0}
#fair-results{font-size:14px;white-space:normal}
.archive-grid,.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.archive-grid>*{min-width:0}
.archive-card h2{font-size:32px;line-height:1.2}
.archive-card p{font-size:16px}
.archive-card small{font-size:12px;line-height:1.7;letter-spacing:.5px}
.archive-card strong{font-size:16px}
.edition-art>span{font-size:clamp(28px,3vw,42px);line-height:1.18;right:20px}
.detail-banner h1,.detail-banner.halloween h1{font-size:clamp(38px,5vw,68px);line-height:1.16}
.detail-banner p{font-size:16px}
.edition-archive-facts small{font-size:13px}
.edition-archive-facts strong{font-size:16px}
.edition-archive-facts p{font-size:14px}
.archive-section-heading{gap:20px;align-items:flex-start}
.archive-section-heading>div{min-width:0;flex:1}
.archive-section-heading p,#stories-panel>p{font-size:16px}
#photo-count{font-size:14px;white-space:normal;max-width:100%}
.poster-tile,.photo-tile{min-width:0}
.poster-caption{font-size:16px;overflow-wrap:anywhere}
.story-content{font-size:18px;line-height:1.9}
.demo-editor summary{font-size:16px;line-height:1.7}
.demo-editor>p,.demo-editor form label,.demo-editor [role=status],.text-button{font-size:14px;line-height:1.8}
.gallery-empty h3{font-size:26px}
.gallery-empty p{font-size:16px}
body:has(dialog[open]){overflow:hidden}
#close-photo{position:sticky;top:0;z-index:2}
#expanded-caption{font-size:16px}
.map-dialog-header{position:sticky;top:0;z-index:2;background:white;padding-bottom:10px}
.map-dialog-header button{font-size:14px;min-height:44px}
#distribution-dialog>p{font-size:14px}
#distribution-viewport{overscroll-behavior:contain}
footer{max-width:1480px;margin:0 auto;padding:40px 5%}
footer p,footer>a:not(.logo),footer small{font-size:14px;line-height:1.7}
.back-to-top{width:auto;height:auto;min-height:44px;padding:10px 18px;font-size:14px;border-radius:30px}
.logo-paused .reveal,.logo-paused .join-whatsapp .reveal{opacity:1;transform:none}
.module-enter{animation-fill-mode:backwards}
@media(max-width:1150px){
 .immersive-stamp{display:none}
 .immersive .immersive-scene h1,.immersive .immersive-scene h2{font-size:clamp(44px,6.4vw,68px)}
 .immersive-topline>span:last-child,.immersive-scroll{display:none}
 .immersive-copy-area{max-width:780px}
 .section-head{flex-direction:column;align-items:flex-start}
 .join-whatsapp{grid-template-columns:1fr}
 .join-photo{min-height:500px;max-height:500px}
 .join-invite{padding:56px 7%}
}
@media(max-width:900px){
 .section{padding:64px 6%}
 .experience-grid{grid-template-columns:1fr}
 .experience-card{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px}
 .experience-card .experience-number{grid-column:1/-1}
 .experience-card .experience-symbol{grid-column:2;grid-row:2;font-size:45px}
 .experience-card h3{grid-column:1;grid-row:2;font-size:32px}
 .experience-card p{grid-column:1/-1}
 .card-action{grid-column:1/-1;justify-self:start}
 .edition,.about{grid-template-columns:1fr;gap:30px}
 .about>.eyebrow{margin:0}
 .about h2{margin:0}
 .collage-heading{align-items:flex-start}
}
@media(max-width:600px){
 .demo{font-size:12px;padding:8px 18px}
 .nav-shell{padding:8px 4%;min-height:60px}
 .top-nav{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}
 .site-header .module-link{justify-self:center;min-width:44px;font-size:14px;min-height:44px}
 .immersive-bottom .logo-motion{margin-top:16px}
 .immersive-stage{padding:26px 6% 22px;min-height:650px;gap:34px}
 .immersive-topline{font-size:12px}
 .immersive .immersive-scene h1,.immersive .immersive-scene h2{font-size:clamp(35px,9.2vw,52px);line-height:1.15;margin-bottom:22px}
 .immersive .immersive-scene .eyebrow{font-size:13px}
 .immersive-scene>p:not(.eyebrow){font-size:16px;line-height:1.75;margin-bottom:24px}
 .immersive-scene p br{display:none}
 .immersive-bottom{display:block}
 .immersive-chapters{gap:14px;max-width:none}
 .immersive-chapters button{font-size:14px;min-height:52px}
 .immersive-scene>.button{font-size:16px;min-height:50px;padding:14px 18px}
 .hero .eyebrow{display:block}
 .ticker-track{font-size:14px}
 .section{padding:54px 6%}
 .section h2,.collage-heading h2{font-size:clamp(30px,8.1vw,40px);line-height:1.2}
 .eyebrow,.collage-heading .eyebrow,.join-invite .eyebrow{font-size:13px;line-height:1.7}
 .home-collage{padding-top:54px}
 .collage-heading-actions{align-items:flex-start;gap:15px}
 .collage-heading-actions .text-link{flex:1 1 160px}
 .collage-bottom{align-items:flex-start;gap:16px}
 .collage-photo figcaption{font-size:14px}
 .experience-card{padding:26px;gap:18px}
 .experience-card h3{font-size:29px}
 .edition-info{padding:24px}
 .facts{grid-template-columns:1fr}
 .facts div:last-child{grid-column:auto}
 .tabs{flex-wrap:wrap}
 .tabs button{padding:12px 17px}
 .event{grid-template-columns:62px minmax(0,1fr);gap:14px}
 .event time{font-size:20px}
 .event h3{font-size:22px}
 .event-tag{grid-column:2;justify-self:start}
 .distribution-map button>span{font-size:13px}
 .map-links{align-items:flex-start;gap:16px}
 .map-links a{white-space:normal}
 .join-whatsapp{padding:0}
 .join-photo{min-height:440px;max-height:440px}
 .join-photo figcaption strong{font-size:28px}
 .join-invite{padding:48px 6%}
 .join-invite h2{font-size:clamp(34px,9vw,44px)}
 .qr-invitation{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
 .qr-link{width:min(190px,100%)}
 .qr-instructions{width:100%}
 .qr-instructions h3{font-size:28px}
 .qr-instructions p{max-width:100%}
 .archive-grid,.photo-gallery{grid-template-columns:minmax(0,1fr)}
 .archive-tools{align-items:flex-start}
 .archive-tools label{flex:1 1 100%}
 #fair-results{padding-bottom:0}
 .module-page h1{font-size:clamp(34px,9vw,46px)}
 .detail-banner{padding:28px 23px}
 .detail-banner h1,.detail-banner.halloween h1{font-size:clamp(32px,8.7vw,44px)}
 .detail-tabs{gap:20px}
 .archive-section-heading>div{flex:1 1 190px}
 .edition-archive-facts{grid-template-columns:1fr}
 .edition-archive-facts p{grid-column:auto}
 .map-dialog-header{align-items:flex-start;flex-direction:column}
 .map-dialog-header>div{flex-wrap:wrap}
 footer{gap:20px}
 footer>a:not(.logo){margin-left:0}
}
@media(prefers-reduced-motion:reduce){
 .immersive-background{will-change:auto;transform:none!important;transition:none}
 .immersive-stage{min-height:0}
 .immersive-stamp{animation:none}
 .immersive-progress>span{transition:none}
}
