@font-face{font-family:Nimbus;src:url('assets/fonts/NimbusSans-Regular.otf') format('opentype');font-display:swap}@font-face{font-family:Nimbus;src:url('assets/fonts/NimbusSans-Bold.otf') format('opentype');font-weight:700;font-display:swap}@font-face{font-family:Roman;src:url('assets/fonts/NimbusRoman-Regular.otf') format('opentype');font-display:swap}@font-face{font-family:Roman;src:url('assets/fonts/NimbusRoman-Italic.otf') format('opentype');font-style:italic;font-display:swap}
:root{--navy:#092451;--deep:#071d42;--blue:#0b3a79;--muted:#617088;--ink:#0c2349;--canvas:#f6f7f8;--line:#dce3ec;--gold:#e2bb61;--sans:Nimbus,Arial,sans-serif;--serif:Roman,Georgia,serif;scroll-behavior:smooth}*{box-sizing:border-box}html{scroll-padding-top:95px}body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.wrap{width:min(1380px,calc(100% - 80px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:9999;left:12px;top:-100px;background:white;padding:12px;color:var(--navy)}.skip-link:focus{top:12px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #60a5f8;outline-offset:3px}
.header{position:relative;background:#fff;z-index:20}.header-inner{height:99px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{width:57px;height:57px;object-fit:contain}.brand span,.footer-brand div{display:flex;flex-direction:column;gap:5px}.brand strong,.footer-brand strong{font-size:13px;letter-spacing:.11em;font-weight:700}.brand small,.footer-brand span{font-size:9px;letter-spacing:.15em;font-weight:700}.desktop-nav{display:flex;align-items:center;justify-content:center;gap:7px;margin-left:auto}.desktop-nav a{font-size:13px;padding:13px 15px;color:#42526b;border-radius:999px;transition:background .2s,color .2s}.desktop-nav a:hover,.desktop-nav a.current{background:#f0f4f8;color:#0a2e64}.header-actions{display:flex;align-items:center;gap:12px}.header-search{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #e1e7ef;border-radius:50%}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:17px;font-size:13px;font-weight:700;border-radius:999px;transition:transform .2s,background .2s,color .2s;border:1px solid transparent}.header-cta{padding:14px 20px;background:var(--navy);color:#fff}.header-cta svg{width:16px}.header-cta:hover,.btn-blue:hover{background:#e8c767;color:#111}.header-search:hover,.round-control:hover{background:#eff4fa}.menu-button{display:none;align-items:center;justify-content:center;border:1px solid #dce3ec;border-radius:50%;width:44px;height:44px;color:var(--navy);background:#fff}.mobile-menu{padding:8px 24px 22px;background:white}.mobile-menu a{display:block;padding:13px 4px;border-top:1px solid var(--line);font-weight:700}
.hero{height:min(640px,calc(100vh - 155px));min-height:560px;border-radius:32px;position:relative;overflow:hidden;color:#fff;background:#123864}.hero-image{position:absolute;inset:0;background-image:url('assets/media/background/bayamon-aerial-approved-v0.8.284.webp');background-position:center 49%;background-size:cover;transform:scale(1.035);animation:none}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,20,45,.94) 0%,rgba(5,29,62,.8) 39%,rgba(8,30,58,.28) 75%),linear-gradient(0deg,rgba(4,22,47,.64),transparent 37%)}.hero-content{position:absolute;left:7.1%;top:50%;transform:translateY(-47%);z-index:1;max-width:760px}.eyebrow{display:flex;align-items:center;gap:11px;color:#335179;font-size:10px;letter-spacing:.17em;font-weight:700;line-height:1.5}.eyebrow.light{color:#e2eafb}.hero h1{font-family:var(--serif);font-size:clamp(56px,6.4vw,91px);font-weight:400;letter-spacing:-.035em;line-height:.97;margin:26px 0}.hero h1 em,h2 em{font-weight:400}.hero h1 span{color:#fff;overflow-wrap:anywhere;hyphens:auto}.hero-content p{max-width:445px;line-height:1.75;font-size:16px;color:#e6eef9;margin:0 0 30px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{padding:16px 22px;min-height:50px}.btn svg,.text-link svg{width:17px;height:17px}.btn:hover{transform:translateY(-2px)}.btn-white{background:#fff;color:#0b2d5a}.btn-white:hover{background:#e8c767;color:#101010}.btn-outline{color:#fff;background:rgba(0,0,0,.07);border-color:rgba(255,255,255,.65)}.btn-outline:hover{background:#fff;color:var(--navy)}.btn-blue{background:var(--navy);color:#fff}.hero-signature{position:absolute;right:5.2%;top:55px;display:flex;align-items:center;gap:12px;text-align:left}.hero-signature img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 2px 8px #0005)}.hero-signature span{font-size:9px;line-height:1.6;font-weight:700;letter-spacing:.14em}.hero-bottom{position:absolute;z-index:1;bottom:26px;left:7.1%;right:5.2%;display:flex;justify-content:space-between;color:#d5e1f1;font-size:9px;font-weight:700;letter-spacing:.17em}.intro-bar{padding:35px 3px 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.overline,.archive-note{font-size:10px;font-weight:700;letter-spacing:.15em;color:#6f8095}.intro-bar p{font-family:var(--serif);font-size:22px;line-height:1.3;margin:11px 0 0}.text-link{display:inline-flex;align-items:center;gap:20px;font-size:13px;font-weight:700;color:#153b6b}.text-link svg{transition:transform .2s}.text-link:hover svg{transform:translateX(4px)}
.section{padding-top:100px;padding-bottom:100px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:39px}.section-heading h2,.institution-copy h2,.closing h2,.edition-intro h2{font-family:var(--serif);font-weight:400;letter-spacing:-.035em;font-size:clamp(40px,4.1vw,59px);line-height:1.03;margin:17px 0 0}.section-copy{max-width:320px;color:#67778b;font-size:14px;line-height:1.75}.section-copy p{margin:0 0 14px}.directory-tools{display:flex;gap:12px;align-items:center;margin-bottom:21px}.search-field,.select-field{background:#fff;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;min-height:54px}.search-field{width:360px;padding:0 16px;gap:12px}.search-field svg{color:#70859e}.search-field input{border:0;outline:0;min-width:0;flex:1;background:transparent;color:var(--ink);font-size:14px}.search-field input::placeholder{color:#8996a5}.search-field:focus-within,.select-field:focus-within{box-shadow:0 0 0 2px #abc7ed}kbd{color:#9daaba;font-size:12px;padding:2px 7px;border:1px solid #e1e6ed;border-radius:5px}.select-field{padding:0 13px}.select-field select{border:0;background:transparent;appearance:none;color:#3d5472;font-size:13px;outline:0;padding:8px 20px 8px 3px;max-width:190px}.select-field svg{transform:rotate(90deg);width:15px}.result-count{margin-left:auto;color:#7b899c;font-size:12px}.people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.person-card{background:#fff;border:1px solid #e3e9ef;border-radius:24px;min-width:0;padding:25px 22px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;transition:transform .25s,box-shadow .25s;min-height:320px}.person-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #0c264d0d}.portrait-frame{width:150px;aspect-ratio:1;position:relative;flex:none}.portrait-frame .portrait{position:absolute;inset:15%;width:70%;height:70%;border-radius:50%;object-fit:cover;object-position:center 35%;background:#e8edf4}.portrait-frame .ring{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.person-year{font-size:10px;letter-spacing:.13em;color:#718198;font-weight:700;margin:17px 0 9px}.person-card h3{font-family:var(--serif);font-size:22px;font-weight:400;line-height:1.12;margin:0;min-height:48px;max-width:100%;overflow-wrap:anywhere;hyphens:auto}.person-role{font-size:12px;color:#77889b;margin:8px 0 18px}.card-link{margin-top:auto;color:var(--blue);background:none;border:0;display:flex;gap:8px;align-items:center;font-size:12px;font-weight:700;padding:5px}.card-link svg{width:14px}.center-actions{text-align:center;margin-top:28px}.empty-state{text-align:center;padding:60px 20px;background:#fff;border:1px solid var(--line);border-radius:24px;color:#66778a}
.edition-section{background:#092653;color:#fff;overflow:hidden}.edition-inner{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center;padding-top:91px;padding-bottom:90px}.edition-intro h2{font-size:clamp(48px,5vw,72px);margin:20px 0 25px}.edition-intro p{font-size:15px;line-height:1.8;color:#d8e3f0;max-width:430px;margin:0 0 27px}.edition-annotation{margin-top:70px;display:flex;gap:22px;align-items:center}.edition-annotation span{font-size:9px;letter-spacing:.16em;color:#b7c9dd;font-weight:700}.edition-annotation strong{border-left:1px solid #ffffff4a;padding-left:22px;font-family:var(--serif);font-size:17px;font-weight:400;line-height:1.35}.featured-edition{min-height:420px;border-radius:28px;background:#edf1f2;position:relative;display:flex;align-items:center;justify-content:center;padding:30px;overflow:hidden}.featured-edition:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#fff 0%,#e4e9ed 100%)}.feature-cover{position:relative;z-index:1;height:365px;width:auto;max-width:72%;object-fit:contain;filter:drop-shadow(0 15px 20px #0a24402f);transition:transform .3s}.featured-edition:hover .feature-cover{transform:translateY(-4px)}.feature-badge{position:absolute;top:24px;left:24px;z-index:2;background:#fff;color:#143965;border-radius:999px;padding:9px 13px;font-size:10px;font-weight:700;letter-spacing:.08em}.feature-open{position:absolute;bottom:24px;right:24px;z-index:2;background:#fff;color:var(--navy);border:0;border-radius:999px;width:48px;height:48px;display:grid;place-items:center}.compact{margin-bottom:38px}.edition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.edition-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:16px;display:flex;flex-direction:column}.edition-cover-wrap{height:252px;background:#eef2f5;border-radius:16px;display:grid;place-items:center;padding:18px}.edition-cover-wrap img{height:100%;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 8px 9px #12314c21)}.edition-card-text{padding:20px 5px 4px}.edition-card-text span{font-size:10px;letter-spacing:.13em;color:#76879b;font-weight:700}.edition-card h3{font-family:var(--serif);font-size:22px;font-weight:400;margin:9px 0 18px}.edition-card button{border:0;background:transparent;padding:0;color:var(--blue);font-size:12px;font-weight:700;display:flex;gap:10px;align-items:center}.edition-card button svg{width:15px}
.institution-section{display:grid;grid-template-columns:1fr 1fr;background:#e9eff4;border-radius:28px;overflow:hidden;min-height:480px}.institution-photo{position:relative;min-height:430px}.institution-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#071d4280,transparent 45%)}.institution-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.photo-label{position:absolute;z-index:1;left:30px;bottom:27px;color:#fff;font-size:10px;font-weight:700;letter-spacing:.17em}.institution-copy{padding:clamp(45px,6vw,86px);align-self:center}.institution-copy p{color:#5c6f84;max-width:460px;line-height:1.8;margin:22px 0}.institution-person{display:flex;align-items:center;gap:13px;margin:26px 0}.institution-person img{width:56px;height:56px;border-radius:50%;object-fit:cover}.institution-person span{display:flex;flex-direction:column;gap:5px}.institution-person strong{font-size:13px}.institution-person small{font-size:12px;color:#75859b}.sponsor-section{position:relative}.sponsor-controls{position:absolute;right:0;top:235px;display:flex;gap:7px}.round-control{width:42px;height:42px;border:1px solid #dce4ed;background:#fff;border-radius:50%;display:grid;place-items:center;color:var(--navy)}.reverse{transform:rotate(180deg)}.sponsor-track{display:flex;gap:14px;overflow:auto;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0 0 8px}.sponsor-track::-webkit-scrollbar{display:none}.sponsor-card{flex:0 0 calc((100% - 70px)/6);min-width:145px;background:white;border:1px solid var(--line);border-radius:24px;display:grid;place-items:center;padding:20px;scroll-snap-align:start}.sponsor-frame{width:120px;max-width:100%;aspect-ratio:1;position:relative}.sponsor-frame .sponsor-logo{position:absolute;inset:15%;width:70%;height:70%;background:#fff;object-fit:contain;border-radius:50%;padding:7px}.sponsor-frame .ring{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.closing{border-radius:28px;background:#0b2d60;color:#fff;display:flex;align-items:end;justify-content:space-between;gap:30px;padding:65px 70px}.closing h2{font-size:clamp(38px,4vw,56px)}.closing p{color:#d1e1f1;line-height:1.7;margin:19px 0 0}.footer{margin-top:95px;background:#fff}.footer-inner{display:flex;justify-content:space-between;gap:40px;padding:65px 0}.footer-brand{display:flex;gap:16px;align-items:center;height:max-content}.footer-brand img{width:62px;height:62px;object-fit:contain}.footer-links{display:flex;gap:100px}.footer-links>div{display:flex;flex-direction:column;gap:13px;font-size:13px;color:#64758b}.footer-links strong{font-size:10px;letter-spacing:.14em;color:#193a64;margin-bottom:5px}.footer-links a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid var(--line);padding:22px 0 28px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#8190a2}.footer-bottom a{text-decoration:underline}.mobile-dock{display:none}
.profile-dialog,.reader-dialog{border:0;padding:0;max-width:none;max-height:none}.profile-dialog::backdrop,.reader-dialog::backdrop{background:rgba(2,13,31,.8)}.profile-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border-radius:28px;overflow:auto;background:#fff;color:var(--ink)}.profile-modal{padding:32px}.profile-top{display:flex;align-items:flex-start;gap:26px;position:relative;padding-right:40px}.profile-top .portrait-frame{width:145px}.profile-info{padding-top:22px}.profile-info h2{font-family:var(--serif);font-size:clamp(31px,4vw,43px);line-height:1.05;font-weight:400;margin:12px 0;overflow-wrap:anywhere;hyphens:auto}.profile-info p{font-size:13px;color:#708096;margin:0}.dialog-close{position:absolute;right:0;top:0;background:#f2f5f8;border:0;border-radius:50%;width:40px;height:40px;color:var(--navy);display:grid;place-items:center}.profile-body{border-top:1px solid var(--line);margin-top:25px;padding-top:24px;color:#52657b;line-height:1.8;font-size:15px}.profile-body p{margin:0 0 16px}.profile-body h3{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink);margin:26px 0 10px}.profile-body ul{padding-left:20px}.profile-source{background:#f2f6fa;border-radius:16px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.profile-source small{display:block;color:#75859b;letter-spacing:.1em;font-size:10px;font-weight:700}.profile-source strong{display:block;margin-top:6px;font-size:13px}.profile-source button{flex:none;background:var(--navy);color:white;border:0;border-radius:999px;padding:13px 16px;font-size:12px;font-weight:700}.reader-dialog{width:min(1100px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px));border-radius:22px;overflow:hidden;background:#0b1d35;color:#fff}.reader-dialog:fullscreen{width:100vw;height:100dvh;border-radius:0}.reader-shell{height:100%;display:flex;flex-direction:column}.reader-header,.reader-footer{background:#102946;display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none}.reader-header{padding:15px 20px}.reader-title-wrap span{font-size:9px;letter-spacing:.14em;color:#b9c9dd}.reader-title-wrap h2{font-size:16px;line-height:1.2;margin:5px 0 0}.reader-header-actions{display:flex;align-items:center;gap:5px}.reader-header-actions>span{font-size:11px;color:#d3dfed;min-width:40px;text-align:center}.reader-icon{background:transparent;border:0;color:white;width:37px;height:37px;border-radius:9px;display:grid;place-items:center}.reader-icon:hover{background:#ffffff20}.reader-icon.close{background:#ffffff17}.reader-stage{flex:1;min-height:0;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:24px;background:#08192e}.reader-stage img{display:block;width:auto;height:auto;max-width:none;object-fit:contain;box-shadow:0 14px 40px #0008;transform-origin:top center}.reader-footer{padding:12px 20px;justify-content:center;gap:30px}.reader-footer label{font-size:12px;white-space:nowrap;color:#d4e1ef}.reader-footer input{width:51px;background:#173654;color:#fff;text-align:center;border:1px solid #71859e;border-radius:8px;padding:7px}.reader-nav{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:white;border-radius:8px;padding:8px;font-size:12px}.reader-nav:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1200px){.desktop-nav{gap:0}.desktop-nav a{padding:12px 9px;font-size:12px}.header-inner{gap:16px}.brand strong{font-size:11px}.brand small{font-size:8px}.header-cta{padding:13px 15px}.sponsor-card{flex-basis:calc((100% - 56px)/5)}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.header-inner{height:82px}.desktop-nav,.header-cta{display:none}.header-actions{margin-left:auto}.menu-button{display:flex}.hero{min-height:530px;height:600px}.hero-content{left:7%}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.edition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sponsor-card{flex-basis:calc((100% - 42px)/4)}.mobile-dock{position:fixed;z-index:25;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(430px,calc(100% - 32px));display:flex;justify-content:space-around;padding:7px 8px;background:#fff;box-shadow:0 8px 35px #061e4340;border:1px solid #dce4ed;border-radius:22px}.mobile-dock a{display:flex;flex:1;align-items:center;justify-content:center;gap:5px;flex-direction:column;padding:6px;color:#385574;font-size:9px;font-weight:700}.mobile-dock svg{width:19px;height:19px}.footer{padding-bottom:80px}.reader-dialog{z-index:50}.profile-dialog{z-index:50}}
@media(max-width:680px){.wrap{width:calc(100% - 32px)}.header-inner{height:77px}.brand img{width:48px;height:48px}.brand strong{font-size:10px}.brand small{font-size:8px}.header-search{width:42px;height:42px}.hero{height:620px;min-height:0;border-radius:24px}.hero-image{background-position:58% center}.hero-shade{background:linear-gradient(90deg,rgba(4,20,45,.85),rgba(5,25,51,.5)),linear-gradient(0deg,rgba(5,22,45,.75),transparent 70%)}.hero-content{left:26px;right:26px;top:49%;transform:translateY(-45%)}.hero h1{font-size:clamp(49px,12vw,70px);line-height:1.01;margin:22px 0}.hero-content p{font-size:14px;line-height:1.65}.hero-actions{align-items:flex-start;flex-direction:column}.hero-actions .btn{width:100%;justify-content:space-between}.hero-signature{top:24px;right:22px}.hero-signature img{width:44px;height:44px}.hero-signature span{display:none}.hero-bottom{left:26px;right:26px;bottom:23px;font-size:8px}.intro-bar{align-items:start;flex-direction:column;gap:20px;padding:28px 2px 31px}.intro-bar p{font-size:20px}.desktop-only{display:none}.section{padding-top:72px;padding-bottom:72px}.section-heading{align-items:start;flex-direction:column;gap:17px;margin-bottom:27px}.section-heading h2,.institution-copy h2{font-size:43px}.section-copy p{margin-bottom:9px}.directory-tools{display:grid;grid-template-columns:1fr 1fr}.search-field{width:100%;grid-column:1/-1}.select-field{min-width:0}.select-field select{max-width:100%;width:100%}.result-count{font-size:11px}.people-grid{gap:10px}.person-card{padding:17px 9px 15px;border-radius:20px;min-height:255px}.portrait-frame{width:min(130px,100%)}.person-card h3{font-size:19px;min-height:43px}.person-year{margin:12px 0 7px;font-size:9px}.person-role{margin:7px 0 12px;font-size:11px}.card-link{font-size:11px}.edition-inner{grid-template-columns:1fr;gap:35px;padding-top:70px;padding-bottom:70px}.edition-intro h2{font-size:52px}.edition-annotation{margin-top:35px}.featured-edition{min-height:340px}.feature-cover{height:280px}.edition-grid{gap:10px}.edition-card{padding:10px;border-radius:19px}.edition-cover-wrap{height:190px;padding:12px}.edition-card-text{padding:15px 4px 5px}.edition-card h3{font-size:19px;min-height:43px;margin:8px 0 12px}.institution-section{grid-template-columns:1fr}.institution-photo{min-height:250px}.institution-copy{padding:38px 28px 45px}.sponsor-controls{position:static;justify-content:flex-end;margin-bottom:15px}.sponsor-card{flex-basis:calc((100% - 14px)/2);min-width:0}.sponsor-frame{width:120px}.closing{align-items:start;flex-direction:column;padding:40px 28px}.closing h2{font-size:42px}.footer{margin-top:70px}.footer-inner{flex-direction:column;padding:45px 0}.footer-links{gap:50px}.footer-bottom{flex-direction:column;gap:10px}.profile-modal{padding:24px}.profile-top{flex-direction:column;gap:0}.profile-top .portrait-frame{width:120px}.profile-info{padding-top:10px}.profile-info h2{font-size:32px}.profile-source{align-items:start;flex-direction:column}.reader-dialog{width:100vw;height:100dvh;border-radius:0;max-height:100dvh}.reader-header{padding:12px}.reader-title-wrap h2{font-size:13px}.reader-header-actions{gap:0}.reader-header-actions>span{min-width:32px;font-size:10px}.reader-icon{width:32px;height:36px}.reader-icon svg{width:16px}.reader-stage{padding:14px 8px}.reader-footer{padding:10px 8px max(12px,env(safe-area-inset-bottom));gap:10px}.reader-nav span{display:none}.reader-nav{padding:9px 12px}.reader-footer label{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Motion and portraits use the supplied institutional assets. */
.hero-image{opacity:0;transition:opacity 1.2s ease}.hero-image.is-active{opacity:1}.hero-image-two{background-image:url('assets/media/background/casa-alcaldia-bayamon.webp');background-position:center 47%}.hero-dots{display:flex;align-items:center;gap:8px}.hero-dots button{width:8px;height:8px;border:0;border-radius:50%;background:#ffffff70;padding:0}.hero-dots button.active{background:#fff}.institution-person .portrait-frame{width:76px}.institution-person .portrait-frame .portrait{width:70%;height:70%;object-fit:cover}.institution-person .portrait-frame .ring{width:100%;height:100%;border-radius:0;object-fit:contain}.reader-stage{display:block}.reader-stage img{margin:0 auto}
@media (max-width:1000px) and (hover:hover) and (pointer:fine){.mobile-dock{display:none}}
/* Refined navigation, continuous sponsor rail and Novadyne credit. */
@media (min-width:1151px){
 .header-inner{gap:clamp(24px,2.15vw,34px)}
 .desktop-nav{gap:clamp(9px,1vw,15px)}
 .desktop-nav a{font-size:13px;padding:13px 15px}
 .header-actions{gap:17px}
 .header-search{width:46px;height:46px}
 .header-cta{min-height:46px;padding:13px 23px}
}
@media (max-width:1150px){
 .desktop-nav,.header-cta{display:none}
 .header-actions{margin-left:auto;gap:15px}
 .menu-button{display:flex}
}
.sponsor-track{overflow:hidden;scroll-snap-type:none;scroll-behavior:auto;padding-bottom:8px}
.sponsor-strip{display:flex;width:max-content;will-change:transform}
.sponsor-group{display:flex;gap:14px;padding-right:14px;flex:none}
.sponsor-card{width:var(--sponsor-card-width);min-width:0;flex:0 0 var(--sponsor-card-width);scroll-snap-align:none}
.footer-meta{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px 30px}
.footer-meta>a:first-child{color:#71839a;text-underline-offset:3px}
.footer-meta .powered-by{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:#71839a;white-space:nowrap}
.powered-by strong{color:#1c416e;font-weight:700}
.powered-by svg{width:12px;height:12px;margin-left:3px;transition:transform .2s}
.powered-by:hover strong{text-decoration:underline;text-underline-offset:3px}
.powered-by:hover svg{transform:translate(2px,-2px)}
@media(max-width:680px){.footer-meta{justify-content:flex-start;gap:14px 22px}.footer-meta .powered-by{white-space:normal}}
.sponsor-section .section-heading{margin-bottom:22px}
.sponsor-controls{position:static;justify-content:flex-end;gap:10px;margin-bottom:16px}
.footer-bottom{font-size:12px;color:#6f8096}
/* Balanced controls and photographic archive. */
[hidden]{display:none!important}
.btn,.header-cta,.card-link,.edition-card button,.profile-source button,.reader-nav,.gallery-source button{display:inline-flex;align-items:center;justify-content:center;text-align:center}
.btn svg,.header-cta svg,.card-link svg,.reader-nav svg,.gallery-source button svg{flex-shrink:0}
.photo-label{display:inline-flex;align-items:center;justify-content:center;max-width:calc(100% - 48px);padding:10px 14px;border-radius:999px;background:rgba(5,26,52,.52);color:#fff;text-align:center}
.gallery-section{padding-top:0}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gallery-card{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;padding:0;border:0;border-radius:24px;background:#0b2d5a;color:#fff;text-align:left}
.gallery-card svg{display:block;width:100%;height:100%;stroke:none;transition:transform .4s ease}
.gallery-card:hover svg{transform:scale(1.035)}
.gallery-tag{position:absolute;left:16px;bottom:16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:10px 14px;border:1px solid rgba(255,255,255,.25);border-radius:16px;background:rgba(5,24,46,.56);color:#fff;text-align:left;text-shadow:0 1px 4px #07182a;font-size:10px;letter-spacing:.11em;font-weight:700;line-height:1.2}
.gallery-tag small{font-size:9px;letter-spacing:.12em;color:#eff5ff}
.gallery-dialog{border:0;padding:0;max-width:none;max-height:none;width:min(1460px,calc(100vw - 32px));height:calc(100dvh - 32px);border-radius:24px;overflow:hidden;background:#071a32;color:#fff}
.gallery-dialog::backdrop{background:rgba(2,11,26,.88)}
.gallery-dialog:fullscreen{width:100vw;height:100dvh;border-radius:0}
.gallery-viewer-shell{height:100%;display:flex;flex-direction:column}
.gallery-viewer-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;background:#102946}
.gallery-viewer-header>div:first-child{min-width:0}
.gallery-viewer-header span,.gallery-source span{font-size:9px;letter-spacing:.14em;font-weight:700;color:#b9c9dd}
.gallery-viewer-header h2{font-size:16px;margin:5px 0 0;line-height:1.2}
.gallery-viewer-actions{display:flex;align-items:center;justify-content:center;gap:6px;flex:none}
.gallery-viewer-stage{display:grid;place-items:center;flex:1;min-height:0;overflow:hidden;padding:20px;background:#07192e;touch-action:pan-y}
.gallery-viewer-art{width:100%;height:100%;min-height:0;text-align:center}
.gallery-viewer-art svg{width:100%;height:100%;display:block;stroke:none}
.gallery-viewer-footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;background:#102946;padding:16px 22px}
.gallery-source{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.gallery-source button{padding:0;border:0;background:none;color:#fff;font-size:12px;font-weight:700;gap:8px}
.gallery-source button svg{width:15px;height:15px}
.gallery-viewer-nav{display:flex;align-items:center;justify-content:center;gap:15px}
.gallery-viewer-nav button{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1px solid #ffffff40;background:#ffffff0c;color:#fff}
.gallery-viewer-nav button:hover{background:#e8c767;color:#111}
.gallery-viewer-nav span{min-width:42px;text-align:center;font-size:12px;font-weight:700;color:#e0eaf5}
.reader-dialog{width:min(1460px,calc(100vw - 32px));height:calc(100dvh - 32px);border-radius:24px}
.reader-header{padding:16px 22px}
.reader-title-wrap{min-width:0}
.reader-title-wrap h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reader-header-actions{flex:none;justify-content:center;gap:6px}
.reader-icon:disabled{opacity:.4;cursor:not-allowed}
.reader-stage{padding:20px 12px;touch-action:pan-x pan-y;overscroll-behavior:contain}
.reader-stage img{opacity:.35;transition:opacity .2s ease}
.reader-stage img.is-ready{opacity:1}
.reader-thumbnails{position:relative;display:flex;align-items:center;gap:9px;flex:none;overflow:auto;overscroll-behavior-inline:contain;padding:10px 16px;background:#0d233e;scrollbar-width:thin;scrollbar-color:#536b83 transparent}
.reader-thumb{position:relative;width:46px;height:62px;padding:3px;flex:0 0 46px;border:1px solid #ffffff38;border-radius:8px;background:#ffffff0a;color:white;overflow:hidden}
.reader-thumb img{width:100%;height:100%;object-fit:cover;border-radius:4px;display:block}
.reader-thumb span{position:absolute;left:4px;right:4px;bottom:4px;padding:2px;border-radius:4px;background:rgba(5,24,46,.68);font-size:9px;text-align:center;color:#fff}
.reader-thumb.active{border:2px solid #f1d584;background:#fff}
.reader-footer{padding:12px 20px;gap:24px}
.reader-page-control{display:flex;align-items:center;justify-content:center;gap:16px;min-width:0}
.reader-page-control small{font-size:11px;color:#d3dfed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}
.reader-nav{min-height:40px;justify-content:center;gap:8px;padding:8px 12px}
@media (max-width:1270px){.desktop-nav,.header-cta{display:none}.header-actions{margin-left:auto}.menu-button{display:flex}}
@media (max-width:680px){
 .hero-actions .btn{justify-content:center}
 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .gallery-card{border-radius:19px}
 .gallery-tag{left:10px;bottom:10px;padding:8px 10px;border-radius:12px;font-size:9px}
 .gallery-tag small{font-size:8px}
 .gallery-dialog,.reader-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
 .gallery-viewer-header{padding:12px 14px}
 .gallery-viewer-stage{padding:12px 8px}
 .gallery-viewer-footer{padding:13px 14px max(14px,env(safe-area-inset-bottom))}
 .gallery-viewer-nav{gap:8px}
 .gallery-viewer-nav button{width:38px;height:38px}
 .gallery-viewer-nav span{min-width:36px}
 .reader-header{padding:11px 12px}
 .reader-header-actions{gap:0}
 .reader-stage{padding:12px 8px}
 .reader-thumbnails{gap:7px;padding:8px 10px}
 .reader-thumb{width:38px;height:53px;flex-basis:38px}
 .reader-footer{padding:10px 8px max(12px,env(safe-area-inset-bottom));gap:8px}
 .reader-page-control{gap:5px}
 .reader-page-control small{display:none}
}
.gallery-tag{align-items:center;text-align:center}
.reader-stage{display:flex;align-items:flex-start;justify-content:flex-start}
.reader-stage img{flex:none;margin:auto}
.reader-dialog.is-expanded,.gallery-dialog.is-expanded{position:fixed;inset:0;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border-radius:0}
@media(max-width:400px){.gallery-viewer-footer{gap:8px}.gallery-source span{font-size:8px}.gallery-source button{font-size:11px}.gallery-viewer-nav{gap:5px}.gallery-viewer-nav button{width:34px;height:34px}.gallery-viewer-nav span{min-width:30px;font-size:11px}}
/* Institutional blue and yellow, with readable contrast on each surface. */
:root{--institutional-yellow:#f8d66a}
.hero h1 span,.edition-intro h2 em,.closing h2 em{color:var(--institutional-yellow)}
.eyebrow.light,.reader-title-wrap>span,.gallery-viewer-header>div:first-child>span,.gallery-source>span{color:var(--institutional-yellow)}

.reader-title-wrap h2,.gallery-viewer-header h2{color:#fff}
.reader-thumb.active{border-color:var(--institutional-yellow)}
.reader-icon:hover,.reader-nav:not(:disabled):hover{background:var(--institutional-yellow);color:#101820}
.reader-nav:not(:disabled){background:#154073;border:1px solid #ffffff2b;border-radius:999px;color:#fff}
/* The gallery controls keep their labels, icons, and touch areas precisely centered. */
.gallery-viewer-header{gap:20px;padding:17px 24px;background:#102e56}
.gallery-viewer-actions{gap:9px}
.gallery-zoom{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-height:44px;padding:4px;border:1px solid #ffffff30;border-radius:999px;background:#0b2548;color:#fff}
.gallery-zoom button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff}
.gallery-zoom button svg,.viewer-icon svg{width:17px;height:17px}
.gallery-zoom button:hover:not(:disabled),.viewer-icon:hover{background:var(--institutional-yellow);color:#101820}
.gallery-zoom button:disabled{opacity:.35;cursor:not-allowed}
.gallery-viewer-header .gallery-zoom span{min-width:45px;color:#fff;text-align:center;font-size:11px;font-weight:700;letter-spacing:0}
.viewer-icon{width:44px;height:44px;display:grid;place-items:center;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#153b6b;color:#fff;flex:none;transition:background .2s,color .2s}
.viewer-icon.viewer-close{background:#1b4778}
.viewer-icon.viewer-close:hover{background:var(--institutional-yellow);color:#101820}
.gallery-viewer-stage{display:flex;align-items:flex-start;justify-content:flex-start;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y}
.gallery-viewer-art{flex:none;max-width:none;min-width:0;margin:auto}
.gallery-viewer-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;padding:16px 24px;background:#102e56}
.gallery-source{justify-self:start}
.gallery-source button{color:#fff;gap:9px;min-height:30px}
.gallery-source button:hover{color:var(--institutional-yellow)}
.gallery-viewer-nav{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px;border:1px solid #ffffff30;border-radius:999px;background:#0b2548}
.gallery-viewer-nav button{width:auto;height:42px;min-width:105px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid #ffffff24;border-radius:999px;background:#153b6b;color:#fff;font-size:12px;font-weight:700;transition:background .2s,color .2s}
.gallery-viewer-nav button svg{width:16px;height:16px}
.gallery-viewer-nav button:hover{background:var(--institutional-yellow);color:#101820}
.gallery-viewer-nav #gallery-count{min-width:66px;color:var(--institutional-yellow);font-size:12px;letter-spacing:.06em;font-variant-numeric:tabular-nums}
@media(max-width:680px){
 .gallery-viewer-header{gap:8px;padding:12px 14px}
 .gallery-viewer-header h2{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .gallery-viewer-actions{gap:6px}
 .gallery-zoom{min-height:38px;padding:3px}
 .gallery-zoom button{width:30px;height:30px}
 .gallery-viewer-header .gallery-zoom span{min-width:38px;font-size:10px}
 .viewer-icon{width:38px;height:38px}
 .gallery-viewer-footer{grid-template-columns:1fr;justify-items:center;gap:12px;padding:12px 12px max(14px,env(safe-area-inset-bottom))}
 .gallery-viewer-nav{grid-row:1}
 .gallery-source{grid-row:2;justify-self:center;align-items:center;text-align:center;gap:3px}
 .gallery-footer-spacer{display:none}
 .gallery-viewer-nav button{height:40px;min-width:91px;padding:0 12px}
 .gallery-viewer-nav #gallery-count{min-width:58px}
}
@media(max-width:400px){
 .gallery-viewer-header{padding:10px 11px}
 .gallery-viewer-header>div:first-child>span{font-size:8px}
 .gallery-viewer-header h2{font-size:13px}
 .gallery-viewer-actions{gap:5px}
 .gallery-zoom{min-height:36px;padding:3px}
 .gallery-zoom button{width:28px;height:28px}
 .gallery-viewer-header .gallery-zoom span{min-width:34px}
 .viewer-icon{width:36px;height:36px}
 .gallery-viewer-nav button{min-width:82px;padding:0 10px;font-size:11px}
 .gallery-viewer-nav #gallery-count{min-width:53px}
}
.gallery-viewer-stage{scrollbar-width:thin;scrollbar-color:#527196 #081c35}
.gallery-viewer-stage::-webkit-scrollbar{width:7px;height:7px}
.gallery-viewer-stage::-webkit-scrollbar-track{background:#081c35}
.gallery-viewer-stage::-webkit-scrollbar-thumb{background:#527196;border-radius:999px}
@media(max-width:370px){
 .header-inner{gap:8px}
 .brand{gap:8px;min-width:0}
 .brand img{width:42px;height:42px}
 .brand strong{font-size:9px;letter-spacing:.08em;white-space:nowrap}
 .brand small{font-size:7px;letter-spacing:.08em;white-space:nowrap}
 .header-actions{gap:8px}
 .header-search,.menu-button{width:40px;height:40px}
 .gallery-viewer-header>div:first-child>span{font-size:7px;letter-spacing:.08em;white-space:nowrap}
}
@media(max-width:370px){.reader-title-wrap>span{font-size:7px;letter-spacing:.08em;white-space:nowrap}.reader-title-wrap h2{font-size:12px}}
.gallery-card>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.gallery-card:hover>img{transform:scale(1.035)}.gallery-viewer-art>img{display:block;width:100%;height:100%;object-fit:contain}.gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 22px}.gallery-filters button{padding:10px 15px;border:1px solid #dce4ed;border-radius:999px;background:#fff;color:#163963;font-size:12px;font-weight:700}.gallery-filters button.active{background:#092451;color:#fff;border-color:#092451}.gallery-filters button:hover{background:#e8c767;color:#111;border-color:#e8c767}.updates-section h2,.board-section h2{font:400 clamp(40px,4vw,58px)/1.05 Roman,Georgia,serif;letter-spacing:-.035em;margin:18px 0 32px}.updates-grid,.board-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.update-card,.board-card{background:#fff;border:1px solid #e0e7ee;border-radius:24px;padding:24px}.update-card>span{font-size:10px;letter-spacing:.12em;color:#6b8098;font-weight:700}.update-card h3,.board-card h3{font:400 24px/1.15 Roman,Georgia,serif}.update-card p,.board-card p{color:#62778c;line-height:1.6}.update-card a{display:inline-flex;align-items:center;gap:10px;color:#0b3a79;font-weight:700}.board-card{display:flex;flex-direction:column;align-items:center;text-align:center}.board-card .portrait-frame{width:140px}.board-card h3{margin:15px 0 0;max-width:100%;overflow-wrap:anywhere;hyphens:auto}.board-card p{margin:7px 0 0}@media(max-width:680px){.updates-grid,.board-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.update-card,.board-card{padding:18px}.board-card .portrait-frame{width:min(130px,100%)}}
.update-open{display:inline-flex;align-items:center;gap:10px;padding:0;border:0;background:transparent;color:#0b3a79;font-weight:700}.news-head{position:relative;padding-right:52px}.news-head h2{font:400 37px/1.1 Roman,Georgia,serif;margin:14px 0 22px}.news-image{width:100%;max-height:330px;object-fit:cover;border-radius:18px}

/* Independent sections and consistent portrait alignment. */
html{scroll-padding-top:100px}
.site-section{min-height:65vh;padding-top:clamp(20px,3vw,44px)}
.site-section .gallery-section{padding-top:72px}
#buscar{scroll-margin-top:100px}
.desktop-nav a[aria-current="page"],.desktop-nav a.current{background:#f4c430;color:#111}
.portrait-frame .portrait{inset:auto;left:50%;top:48.5%;width:70%;height:70%;transform:translate(-50%,-50%);object-fit:cover;object-position:var(--portrait-x,50%) var(--portrait-y,50%)}
.portrait-frame .ring{pointer-events:none;z-index:1}
.portrait-placeholder{position:absolute;left:50%;top:48.5%;width:70%;height:70%;transform:translate(-50%,-50%);border-radius:50%;background:#e8edf4}
.sponsor-frame .sponsor-logo{inset:auto;left:50%;top:48.5%;width:70%;height:70%;transform:translate(-50%,-50%);object-position:center}
@media(max-width:1000px){
 .mobile-dock{gap:3px;align-items:stretch}
 .mobile-dock a{min-width:0;min-height:49px;border-radius:15px;text-align:center;line-height:1.1;touch-action:manipulation}
 .mobile-dock a[aria-current="page"]{background:#0b326a;color:#fff}
 .mobile-dock a:focus-visible{outline:3px solid #85add9;outline-offset:1px}
}
@media(max-width:680px){
 .site-section{padding-top:12px}
 .site-section .gallery-section{padding-top:54px}
 .person-card{padding:20px 12px 18px}
 .portrait-frame{max-width:100%}
}
@media(max-width:1000px){.mobile-dock a span{display:block;max-width:100%;overflow-wrap:anywhere;text-align:center}.mobile-menu a[aria-current="page"]{background:#f4c430;color:#111;text-decoration:none}}

/* Institutional loading indicator: transform-only orbit and bounded fallback. */
.site-loader{position:fixed;z-index:9000;top:50%;left:50%;width:66px;height:66px;transform:translate3d(-50%,-50%,0);display:grid;place-items:center;padding:0;background:transparent;border:0;box-shadow:none;pointer-events:none;opacity:1;visibility:visible;animation:site-loader-timeout 6s steps(1,end) forwards}
.site-loader.is-done{animation:none;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.site-loader-points{display:block;position:relative;width:34px;height:34px;flex:0 0 34px;animation:site-loader-orbit 1s linear infinite;will-change:transform}
.site-loader-points i{position:absolute;width:8px;height:8px;border-radius:50%;background:#f4cb55}
.site-loader-points i:nth-child(1){left:13px;top:0}.site-loader-points i:nth-child(2){right:0;top:13px;background:#0b5cba}.site-loader-points i:nth-child(3){left:13px;bottom:0}.site-loader-points i:nth-child(4){left:0;top:13px;background:#0b5cba}
@keyframes site-loader-orbit{to{transform:rotate(360deg)}}
@keyframes site-loader-timeout{0%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.site-loader:not(.is-done){animation-duration:6s!important;animation-iteration-count:1!important}.site-loader-points{animation:none!important;will-change:auto}.site-loader.is-done{transition:none}}

/* Breathing room and an unobstructed institutional credit. */
.mobile-menu a,.intro-bar,.edition-annotation strong,.footer-bottom,.profile-body{border-top:0;border-bottom:0;border-left:0;border-right:0}
.edition-annotation strong{padding-left:0}
.featured-edition{display:grid;place-items:center;min-height:0;padding:76px clamp(22px,4vw,56px) 72px}
.feature-cover{display:block;width:auto;height:auto;max-width:100%;max-height:365px;object-fit:contain;pointer-events:none}
.edition-cover-wrap{position:relative;min-width:0;overflow:hidden;isolation:isolate}
.edition-cover-wrap img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;pointer-events:none}
.edition-card-text{position:relative;z-index:1}
.feature-badge{top:20px;left:20px;max-width:calc(100% - 40px);padding:10px 14px;line-height:1.35;overflow-wrap:anywhere}
.feature-open{right:20px;bottom:20px}
.gallery-section.section{padding-top:clamp(52px,6vw,88px)}
.gallery-tag{max-width:calc(100% - 32px);overflow-wrap:anywhere}
.image-attribution{max-width:48ch;margin:0 0 20px;color:#64778d;font-size:11px;line-height:1.6}
.image-attribution a{color:#234f81;text-underline-offset:3px}
.footer-meta .powered-by{position:relative;z-index:1;min-height:44px;padding:8px 0;cursor:pointer}
@media(max-width:680px){.wrap{width:calc(100% - 40px)}.featured-edition{padding:72px 22px 68px}.feature-cover{height:auto;max-height:280px}.feature-badge{top:18px;left:18px;max-width:calc(100% - 36px)}.gallery-tag{left:12px;bottom:12px;max-width:calc(100% - 24px);padding:10px 12px}}
@media(max-width:680px){
 .hero{height:auto;min-height:620px;display:flex;flex-direction:column;justify-content:center;padding:90px 26px 78px;box-sizing:border-box}
 .hero-content{position:relative;inset:auto;transform:none;max-width:100%}
}
@media(max-width:380px){.gallery-grid{grid-template-columns:minmax(0,1fr);gap:14px}.gallery-tag{font-size:10px}.gallery-tag small{font-size:9px}}

/* Magazine page turn: original folios remain readable beneath one light leaf. */
.reader-stage{position:relative;perspective:1800px;-webkit-perspective:1800px}
.reader-paper{position:relative;flex:none;margin:auto;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}
.reader-paper>#reader-image{display:block;margin:0;transform-origin:top center}
.reader-turn-sheet{position:absolute;inset:0;z-index:2;opacity:0;visibility:hidden;pointer-events:none;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;backface-visibility:visible;-webkit-backface-visibility:visible}
.reader-turn-face{position:absolute;inset:0;overflow:hidden;background:#fff;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(.8px)}
.reader-stage .reader-turn-face img{display:block;width:100%;height:100%;max-width:none;margin:0;object-fit:contain;background:#fff;opacity:1;transition:none;user-select:none;-webkit-user-drag:none}
.reader-turn-front::after,.reader-turn-back::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(4,14,30,.12),transparent 30%,transparent 78%,rgba(4,14,30,.08))}
.reader-turn-back{transform:rotateY(180deg) translateZ(.8px)}
.reader-turn-fold{position:absolute;inset:0 0 0 auto;width:16%;opacity:0;pointer-events:none;backface-visibility:hidden;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12) 45%,rgba(8,18,30,.18))}
.reader-paper.is-turning-next .reader-turn-sheet,.reader-paper.is-turning-prev .reader-turn-sheet{opacity:1;visibility:visible;animation-duration:.68s;animation-timing-function:cubic-bezier(.24,.73,.2,1);animation-fill-mode:both;will-change:transform}
.reader-paper.is-turning-next .reader-turn-sheet{transform-origin:left center;animation-name:reader-page-next}
.reader-paper.is-turning-prev .reader-turn-sheet{transform-origin:right center;animation-name:reader-page-prev}
.reader-paper:is(.is-turning-next,.is-turning-prev) .reader-turn-fold{animation:reader-page-fold .68s ease both}
@keyframes reader-page-next{0%{transform:rotateY(0) translateZ(1px)}45%{transform:rotateY(-82deg) translateZ(1px)}55%{transform:rotateY(-98deg) translateZ(1px)}100%{transform:rotateY(-180deg) translateZ(1px)}}
@keyframes reader-page-prev{0%{transform:rotateY(0) translateZ(1px)}45%{transform:rotateY(82deg) translateZ(1px)}55%{transform:rotateY(98deg) translateZ(1px)}100%{transform:rotateY(180deg) translateZ(1px)}}
@keyframes reader-page-fold{0%,100%{opacity:0}34%{opacity:.42}52%{opacity:.78}70%{opacity:.28}}
.reader-loading{position:absolute;z-index:4;top:50%;left:50%;display:flex;align-items:center;justify-content:center;gap:5px;transform:translate(-50%,-50%);pointer-events:none}.reader-loading[hidden]{display:none}.reader-loading i{width:8px;height:8px;border-radius:50%;background:#e8c871;animation:reader-loading-dot .8s ease-in-out infinite alternate}.reader-loading i:nth-child(2){animation-delay:.12s}.reader-loading i:nth-child(3){animation-delay:.24s}.reader-loading i:nth-child(4){animation-delay:.36s}@keyframes reader-loading-dot{from{opacity:.4;transform:translateY(0)}to{opacity:1;transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.reader-loading i{animation:none;opacity:.8}}
.reader-error{position:absolute;z-index:5;inset:auto 16px 16px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:14px;border-radius:16px;background:#102946;color:#fff;font-size:13px;text-align:center;box-shadow:0 8px 24px #0006}
.reader-error[hidden]{display:none}.reader-error button{min-height:40px;padding:8px 15px;border:1px solid #e6cb79;border-radius:999px;background:#123d72;color:#fff}
.gallery-viewer-art.is-arriving{animation:gallery-viewer-arrive .24s ease both}
@keyframes gallery-viewer-arrive{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:440px){.reader-header{flex-wrap:wrap;gap:8px}.reader-title-wrap{flex:1 0 100%}.reader-header-actions{width:100%;justify-content:space-between}.reader-header-actions .reader-icon{width:44px;height:44px}.reader-header-actions>span{min-width:36px}}
@media(prefers-reduced-motion:reduce){.reader-turn-sheet,.reader-turn-fold,.gallery-viewer-art.is-arriving{animation:none!important}}
