/* ProSlavyan Memorial 0.2.0 — cinematic museum layer.
   Overrides only presentation: no changes to routes, database or admin logic. */
:root { --museum-ink:#070e16; --museum-red:#661c1a; --museum-gold:#e1ad5b; --museum-bright:#f6dc98; --museum-glow:rgba(232,154,45,.45); }
body {background:#08111b;}
body::before {opacity:.046;}
.is-home .container{width:min(100% - 60px,1450px)}
.is-home .site-header,.is-interior .site-header {min-height:70px;border-bottom:1px solid rgba(223,169,89,.44);background:linear-gradient(90deg,rgba(4,9,16,.98),rgba(9,17,27,.96) 50%,rgba(4,9,16,.98));box-shadow:0 2px 18px rgba(0,0,0,.6);}
.is-home .header-inner,.is-interior .header-inner{min-height:70px;max-width:1500px;gap:15px}
.site-header::after{content:"";position:absolute;bottom:-4px;left:0;right:0;height:4px;background:linear-gradient(90deg,transparent,rgba(163,102,35,.72) 15%,rgba(239,203,122,.7) 49%,rgba(163,102,35,.72) 85%,transparent);opacity:.55;pointer-events:none}
.brand{gap:10px;flex-shrink:0}.brand-mark{width:56px;height:56px;filter:drop-shadow(0 1px 7px rgba(245,165,44,.32));}.brand-mark img{display:block;width:56px;height:56px}.brand-words strong{font-size:clamp(1.25rem,1.55vw,1.75rem);letter-spacing:.06em;color:#f5dfae;text-shadow:0 0 15px #9c6023}.brand-words small{font-size:.52rem;letter-spacing:.36em;color:#e6cf9e}
.desktop-nav{gap:clamp(11px,1.3vw,23px)}.desktop-nav a{font-family:var(--serif);font-size:clamp(.88rem,1vw,1.12rem);letter-spacing:0;padding:21px 2px 18px;border-bottom:2px solid transparent;transition:color .22s,border-color .22s}.desktop-nav a[aria-current="page"],.desktop-nav a:hover{border-color:var(--museum-gold);color:#f8e4ad}.header-archive{width:44px;height:44px;padding:0;justify-content:center;border:1px solid rgba(220,178,110,.6);border-radius:50%;color:#f6dc98}.header-archive .icon{width:21px;height:21px}.menu-toggle{border-color:rgba(220,170,105,.6)}
/* Home: first act */
.museum-hero{height:clamp(490px,40vw,610px);min-height:490px;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;background:#0a1520;overflow:hidden;border-bottom:2px solid #895321;isolation:isolate;padding-top:70px}
.museum-hero-landscape{position:absolute;inset:-3%;z-index:-4;background-image:url('../img/castle-scene.webp'),url('../img/hero-scene.svg');background-position:calc(50% + 265px) 49%,center;background-size:auto 120%,cover;background-repeat:no-repeat;filter:saturate(1.03) contrast(1.15) brightness(.92);animation:museum-breathe 26s ease-in-out infinite alternate}
.museum-hero-guardian{position:absolute;z-index:-1;inset:0 auto 0 0;width:clamp(170px,19vw,310px);background-image:url('../img/guardian.webp');background-position:left 58%;background-repeat:no-repeat;background-size:100% 108%;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 64%,transparent 99%);mask-image:linear-gradient(90deg,#000 0%,#000 64%,transparent 99%);filter:saturate(.94) contrast(1.12) brightness(.88);opacity:.96}
.museum-hero-warmth{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(4,9,15,.45) 0%,rgba(5,10,18,.02) 32%,rgba(3,10,18,.25) 76%,rgba(2,8,16,.78) 100%),radial-gradient(ellipse at 54% 54%,rgba(2,8,15,.7) 0%,rgba(4,10,16,.56) 30%,transparent 68%),linear-gradient(90deg,rgba(3,9,17,.25),transparent 26%,transparent 80%,rgba(3,8,15,.14));pointer-events:none}
.museum-hero-warmth::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 76% 30%,rgba(245,180,62,.24),transparent 34%);mix-blend-mode:screen;animation:museum-torch 9s ease-in-out infinite alternate}
.museum-hero-ornament{position:absolute;top:68px;left:0;right:0;height:28px;background:url('../img/knot-border.svg') center/240px 30px repeat-x;opacity:.54;mix-blend-mode:screen;pointer-events:none}
.museum-hero-content{position:relative;z-index:2;padding:30px 15px 38px;text-shadow:0 2px 11px rgba(0,0,0,.85)}
.museum-hero-mark{color:#b7442b;letter-spacing:.22em;font-size:1.2rem;margin:3px auto 5px;line-height:1}
.museum-hero-title{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(3.3rem,6.7vw,7.4rem);letter-spacing:.035em;line-height:1.04;white-space:nowrap;color:#f7deb0;text-shadow:1px 2px 0 #7e4e28,0 3px 1px #25180c,0 8px 25px #09090b,0 0 37px rgba(194,102,35,.35)}
.museum-hero-kicker{font-family:var(--serif);font-size:clamp(.82rem,1.28vw,1.25rem);color:#f7efdc;letter-spacing:.34em;margin:2px auto 2px;white-space:normal}
.museum-hero-rule{height:25px;margin:0 auto 3px;width:min(350px,65%);display:flex;align-items:center;justify-content:center;gap:10px;color:var(--museum-bright);font-size:16px}.museum-hero-rule::before,.museum-hero-rule::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,var(--museum-bright))}.museum-hero-rule::after{transform:rotate(180deg)}
.museum-hero-quote{font-family:var(--serif);font-style:italic;font-size:clamp(1.19rem,1.76vw,1.9rem);line-height:1.25;color:#f6e3bd;margin:4px auto 14px}
.museum-years{display:table;min-width:205px;margin:4px auto 20px;padding:2px 30px;border-top:1px solid var(--museum-gold);border-bottom:1px solid var(--museum-gold);background:linear-gradient(90deg,transparent,rgba(7,11,13,.6),transparent);font-family:Georgia,serif;font-size:clamp(1.15rem,1.65vw,1.55rem);letter-spacing:.08em;color:#ffdfa0;line-height:1.4}.museum-years b{font-weight:400;padding:0 12px;color:#b77b42}
.museum-hero-actions{display:flex;justify-content:center;gap:30px;flex-wrap:wrap}.museum-btn{min-height:54px;min-width:275px;max-width:390px;padding:10px 21px;display:inline-flex;align-items:center;justify-content:center;gap:13px;position:relative;border:2px solid #e1ac5e;font-family:Georgia,serif;font-size:clamp(.98rem,1.3vw,1.23rem);color:#ffebc6;background:#111822;box-shadow:inset 0 0 0 3px #2b1512,0 5px 12px #05080c;transition:transform .2s,filter .2s,box-shadow .2s}.museum-btn::before,.museum-btn::after{content:"";position:absolute;width:11px;height:11px;border:1px solid #dba551;transform:rotate(45deg);top:calc(50% - 6px);background:#452017}.museum-btn::before{left:-7px}.museum-btn::after{right:-7px}.museum-btn-primary{background:linear-gradient(180deg,#7b211c,#510f11);box-shadow:inset 0 0 0 3px #381012,0 4px 16px #020507}.museum-btn-dark{background:linear-gradient(180deg,#18202b,#060d15)}.museum-btn:hover,.museum-btn:focus-visible{transform:translateY(-3px);filter:brightness(1.19);box-shadow:0 0 28px rgba(229,148,45,.3)}.museum-btn>.icon:first-child{width:23px;height:23px;stroke-width:1.5}.museum-btn>.icon:last-child{width:17px;height:17px}
/* Numbers: one compact strip with engraved division and iconography */
.museum-stat-band{background:linear-gradient(180deg,#0a141e 0%,#07101a 100%);border-bottom:1px solid #865323;position:relative;padding:13px 0 5px;box-shadow:0 -4px 15px rgba(0,0,0,.55)}
.museum-stat-band::after{content:"";position:absolute;bottom:-3px;width:100%;height:3px;background:linear-gradient(90deg,#331a16,#bf812c,#331a16);opacity:.66}
.museum-stat-band-inner{display:flex;align-items:center;justify-content:center;gap:0;min-height:64px}
.museum-stat{min-width:0;flex:1;display:flex;align-items:center;justify-content:center;gap:10px;padding:4px 14px;border-left:1px solid #8c5d2c}.museum-stat:nth-child(2){border-left:0}.museum-stat strong{font-family:Georgia,serif;color:#f2ce8b;font-size:clamp(1.85rem,2.55vw,3rem);font-weight:400;line-height:1}.museum-stat>span:last-child{font-family:Georgia,serif;line-height:1.1;font-size:clamp(.78rem,1.07vw,1.15rem);max-width:100px;color:#ead9bb}.museum-stat-icon{color:#dba757;display:grid;place-items:center;flex-shrink:0}.museum-stat-icon .icon{width:35px;height:35px;stroke-width:1.4}
.museum-stat-knot{width:102px;height:35px;flex:none;background:url('../img/knot-border.svg') center/130px 28px no-repeat;opacity:.75}
.museum-stat-caption{font-size:.67rem;letter-spacing:.02em;text-align:center;color:#85837c;margin:3px auto 2px;line-height:1.35}
/* Six portals: artwork is a cropped, text-free region of the approved concept image. All titles stay live HTML. */
.museum-portals{padding:16px 0 30px;background:radial-gradient(ellipse at 50% 110%,rgba(54,32,20,.35),transparent 70%),#07101a;position:relative}
.museum-portal-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.museum-portal{aspect-ratio:.95;min-height:185px;max-height:252px;position:relative;display:block;overflow:hidden;background:#0c131e;border:1px solid #ad7637;box-shadow:inset 0 0 0 2px #271a0f,0 4px 14px #03070c;isolation:isolate;transition:transform .25s,filter .25s,border-color .25s}.museum-portal:hover,.museum-portal:focus-visible{transform:translateY(-6px);border-color:#ffe0a2;filter:brightness(1.17)}.museum-portal::before,.museum-portal::after{content:"";position:absolute;z-index:4;pointer-events:none;width:27px;height:27px;background:url('../img/gold-corner.svg') center/contain no-repeat;top:0;left:0}.museum-portal::after{top:auto;left:auto;bottom:0;right:0;transform:rotate(180deg)}.museum-portal-image{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center top;filter:saturate(.95) contrast(1.15);transition:transform .5s}.museum-portal:hover .museum-portal-image{transform:scale(1.075)}.museum-portal-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(1,5,10,.04) 30%,rgba(4,8,13,.70) 57%,rgba(2,5,9,.98) 100%)}.museum-portal-content{position:absolute;z-index:2;left:11px;right:11px;bottom:13px;color:#fff1d6;display:flex;flex-direction:column;gap:3px}.museum-portal-content strong{font-family:Georgia,serif;font-weight:400;font-size:clamp(1.35rem,1.6vw,2rem);line-height:1.14;text-shadow:0 2px 7px #000}.museum-portal-content small{font-size:clamp(.65rem,.75vw,.84rem);line-height:1.32;color:#f2e6d3;padding-right:7px;text-shadow:0 1px 5px #000}.museum-portal-arrow{position:absolute;z-index:3;right:9px;bottom:11px;font-size:2rem;line-height:1;color:#f2bd67}
/* Parchment chapter */
.museum-timeline-preview{padding:8px 0 62px;position:relative;background:radial-gradient(ellipse at 50% 10%,#172332,#08111a 77%);overflow:hidden}.museum-timeline-preview::before,.museum-timeline-preview::after{content:"";position:absolute;width:240px;height:280px;bottom:0;background-size:cover;background-repeat:no-repeat;pointer-events:none}.museum-timeline-preview::before{left:-52px;background-image:url('../img/woven-fabric.webp');transform:rotate(-7deg);opacity:.84;filter:contrast(1.1)}.museum-timeline-preview::after{right:12px;width:150px;height:150px;bottom:22px;border-radius:50%;opacity:.35;background:radial-gradient(ellipse,rgba(199,118,38,.7),transparent 65%)}
.museum-section-heading{text-align:center;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin:0 auto 6px}.museum-section-heading h2{font-family:Georgia,serif;font-size:clamp(2.15rem,3.05vw,3.5rem);color:#f5dba0;text-shadow:0 4px 12px #000;line-height:1.18}.museum-section-heading p{width:100%;margin:-5px 0 0;letter-spacing:.23em;font-size:.7rem;color:#d3c2a6}.museum-heading-knot{color:#bf8238;font-size:1.2rem;white-space:nowrap}
.museum-parchment-wrap{position:relative;margin-top:15px}.museum-parchment-art{position:absolute;inset:0;background:url('../img/parchment.webp') center/100% 100% no-repeat;filter:drop-shadow(0 12px 14px #020507);pointer-events:none}.museum-parchment{position:relative;min-height:280px;padding:60px 55px 20px;color:#261208}.museum-timeline-line{position:absolute;left:8%;right:8%;top:88px;height:3px;background:linear-gradient(90deg,transparent,#5b2012 12%,#8d4120 50%,#5b2012 88%,transparent);box-shadow:0 1px 0 rgba(255,225,161,.6)}
.museum-timeline-markers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;position:relative}.museum-timeline-point{display:flex;align-items:center;flex-direction:column;gap:2px;background:transparent;border:0;color:#2c1508;text-align:center;padding:0 3px 10px;min-width:0;transition:transform .2s;color:#2f160c}.museum-timeline-point:hover,.museum-timeline-point:focus-visible{transform:translateY(-3px)}.point-sign{display:grid;place-items:center;width:31px;height:31px;background:radial-gradient(circle,#e0a64e 0%,#743019 64%,#3d170f 72%);border:2px solid #552314;color:#ffe3a0;border-radius:50%;font-size:1.09rem;box-shadow:0 1px 1px #2b180f;transition:background .2s,transform .2s}.museum-timeline-point.active .point-sign{background:radial-gradient(circle,#efc278,#9a411d 67%,#3d170f 72%);box-shadow:0 0 0 3px rgba(215,131,51,.27),0 1px 2px #291007}.museum-timeline-point strong{font-family:Georgia,serif;font-weight:700;font-size:clamp(.91rem,1.25vw,1.5rem);line-height:1.1;margin-top:7px}.museum-timeline-point>span:last-child{font-family:Georgia,serif;font-size:clamp(.72rem,.98vw,1.06rem);line-height:1.16;max-width:180px}
.museum-timeline-detail{padding:8px 15px 0;min-height:58px;max-width:800px;margin:0 auto;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:2px}.museum-timeline-detail strong{font-family:Georgia,serif;font-size:1.1rem;color:#4f2210}.museum-timeline-detail span{font-size:.77rem;color:#5a361d;line-height:1.25}.museum-timeline-actions{text-align:center;margin:8px 0 0}.museum-link{display:inline-flex;align-items:center;gap:9px;font-family:Georgia,serif;font-size:1.1rem;color:#e8c381;border-bottom:1px solid #b78a4d;padding:4px 7px}.museum-link:hover{color:#fff4d4}
/* Lower exhibitions inherit the working 0.1.0 blocks with more museum-oriented trims */
.is-home .museum-story{padding:110px 0;background:radial-gradient(ellipse at 20% 35%,rgba(95,61,29,.17),transparent 60%),#0d1824}.is-home .split-visual{border:2px solid rgba(199,139,67,.42);box-shadow:inset 0 0 0 6px #131b24,0 0 45px rgba(8,7,7,.5)}.is-home .team-section{background:linear-gradient(#0d1722,#111a24)}.is-home .team-panel{border-color:#8f6b3b}.is-home .heritage-card{border-color:#876138}.is-home .library-feature{border-top:1px solid #8d6939;border-bottom:1px solid #8d6939}.is-home .epilogue{border-top:1px solid #6d512a}
/* Interior pages share visual DNA without changing their existing functionality. */
.is-interior .page-intro{background:linear-gradient(90deg,rgba(5,11,18,.92),rgba(6,13,21,.6)),url('../img/castle-scene.webp') 75% 40%/cover}.is-interior .page-intro::after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:url('../img/knot-border.svg') repeat-x center/160px 20px;opacity:.7}.is-interior .page-intro .display{color:#f2d7a2}.is-interior .section-title .display{color:#f0d8af}
@keyframes museum-breathe{from{transform:scale(1)}to{transform:scale(1.035) translateX(-1%)}}@keyframes museum-torch{from{opacity:.54;transform:translateX(-1%)}to{opacity:.9;transform:translateX(1%)}}
@media(max-width:1250px){.desktop-nav{gap:12px}.desktop-nav a{font-size:.86rem}.brand-mark,.brand-mark img{width:47px;height:47px}.brand-words strong{font-size:1.18rem}.brand-words small{font-size:.45rem}.museum-stat-knot{display:none}.museum-portal-grid{gap:9px}.museum-portal-content strong{font-size:1.42rem}}
@media(max-width:1050px){.desktop-nav{display:none}.menu-toggle{display:block;margin-left:auto}.header-archive{margin-left:auto}.museum-portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.museum-portal{aspect-ratio:1.4;max-height:none}.museum-portal-content strong{font-size:1.95rem}.museum-hero{height:550px}.museum-hero-landscape{background-position:calc(50% + 155px) center,center}.museum-stat{gap:7px;padding:4px 10px}.museum-stat-icon .icon{width:25px;height:25px}.museum-stat strong{font-size:2rem}}
@media(max-width:700px){.is-home .container{width:min(100% - 26px,1450px)}.museum-hero{min-height:575px;height:73svh;padding-top:70px}.museum-hero-landscape{background-position:60% center,55% center;background-size:auto 98%,cover}.museum-hero-guardian{width:125px;opacity:.38;filter:blur(.4px)}.museum-hero-warmth{background:linear-gradient(180deg,rgba(5,11,19,.56),rgba(5,11,19,.56) 57%,rgba(5,11,19,.85)),radial-gradient(ellipse at 50% 50%,rgba(3,8,15,.45),transparent 80%)}.museum-hero-title{font-size:clamp(2.7rem,10.8vw,4.8rem);white-space:normal;line-height:1.06}.museum-hero-kicker{letter-spacing:.12em;font-size:.73rem}.museum-hero-mark{margin-bottom:15px}.museum-hero-quote{font-size:1.21rem}.museum-years{margin-bottom:18px}.museum-hero-actions{gap:12px;flex-direction:column;align-items:center}.museum-btn{min-width:0;width:min(95%,360px);font-size:1.02rem;min-height:50px}.museum-stat-band{padding-top:10px}.museum-stat-band-inner{display:grid;grid-template-columns:repeat(2,1fr);gap:5px 0}.museum-stat{border:0;justify-content:center;gap:7px}.museum-stat>span:last-child{font-size:.8rem;max-width:70px}.museum-stat strong{font-size:1.95rem}.museum-stat-icon .icon{width:24px;height:24px}.museum-stat-caption{font-size:.56rem;padding:0 14px}.museum-portals{padding:15px 0 28px}.museum-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.museum-portal{aspect-ratio:.89;min-height:175px}.museum-portal-content{left:12px;right:9px;bottom:15px}.museum-portal-content strong{font-size:1.44rem}.museum-portal-content small{font-size:.73rem}.museum-timeline-preview{padding:15px 0 45px}.museum-section-heading h2{font-size:2.1rem}.museum-heading-knot{font-size:.85rem}.museum-section-heading p{font-size:.57rem;letter-spacing:.08em}.museum-parchment{min-height:465px;padding:43px 16px 25px}.museum-parchment-art{background-size:100% 100%}.museum-timeline-line{top:72px;left:32px;right:32px}.museum-timeline-markers{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 3px}.museum-timeline-point{width:32%;padding:0 3px 4px}.point-sign{height:25px;width:25px;font-size:.85rem}.museum-timeline-point strong{font-size:.95rem}.museum-timeline-point>span:last-child{font-size:.74rem}.museum-timeline-detail{padding:14px 15px 0}.museum-timeline-preview::before{left:-35px;width:100px;height:140px;opacity:.5}.museum-timeline-preview::after{display:none}.is-home .museum-story{padding:75px 0}}
@media(max-width:420px){.museum-hero-title{font-size:clamp(2.45rem,10.4vw,3.15rem)}.museum-hero-content{padding:45px 0 25px}.museum-hero-ornament{opacity:.3}.museum-hero-quote{font-size:1.09rem}.museum-btn{font-size:.9rem}.museum-portal-content strong{font-size:1.25rem}.museum-portal-content small{font-size:.68rem}.museum-portal{min-height:155px}.brand-words strong{font-size:1rem}.brand-words small{font-size:.42rem}.brand-mark,.brand-mark img{width:42px;height:42px}.header-archive{width:35px;height:35px}.museum-stat{padding:6px 2px}.museum-stat strong{font-size:1.65rem}}
@media(prefers-reduced-motion:reduce){.museum-hero-landscape,.museum-hero-warmth::after,.museum-portal-image{animation:none!important;transition:none!important}}
