@font-face{font-family:Poppins;src:url(fonts/Poppins-Regular.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/Poppins-Medium.ttf) format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url(fonts/Poppins-SemiBold.ttf) format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url(fonts/CormorantGaramond.ttf) format('truetype');font-weight:300 700;font-display:swap}
:root{--primary:#1a3a64;--secondary:#25528c;--accent:#61c5df;--paper:#f4f7fb;--ink:#27384c;--muted:#5a6c7f;--line:#d5e0ec;--display:'Cormorant Garamond',Georgia,serif;--sans:Poppins,Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:#091d37;color:#fff;font:400 16px/1.8 var(--sans)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button,a,input,select{touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #43b4d5;outline-offset:4px}button svg,a svg{width:20px;height:20px;flex-shrink:0}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.12}h1{overflow-wrap:anywhere}
[hidden]{display:none!important}.skip{position:fixed;left:20px;top:-100px;z-index:200;background:white;color:var(--primary);padding:12px}.skip:focus{top:12px}
.scene-bg{position:fixed;inset:0;z-index:-1;background-size:cover;background-position:center 45%;background-color:#10233b}
.masthead{width:min(1480px,92%);margin:auto;min-height:142px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}
.brand{display:flex;align-items:center;gap:20px;color:#fff}.brand img{width:84px;height:94px;object-fit:contain}.brand span{font-size:17px;line-height:1.5}.brand strong{display:block;font-size:32px;line-height:1.2;font-weight:500;letter-spacing:-.8px}
.header-actions{display:flex;gap:14px;align-items:center}.icon-button,.outline-button,.solid-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 22px;border:1px solid var(--accent);border-radius:6px;font:500 14px/1.5 var(--sans);background:transparent;color:inherit;transition:background .2s,box-shadow .2s}
.outline-button{border-radius:28px}.solid-button{background:var(--primary);color:#fff;border-color:var(--primary)}.solid-button:hover{background:var(--secondary);border-color:var(--secondary);box-shadow:0 5px 16px #13315b25}.outline-button:hover{background:#62c6e01a}.icon-button{width:46px;min-width:46px;border-radius:50%;padding:10px;border-color:#a4c1dc66}.icon-button:hover{background:#76bdd71a}.text-button{border:0;padding:8px 0;text-decoration:underline;text-underline-offset:4px}
.connection{font-size:11px;line-height:1.5;color:#d8e7f3;max-width:150px}.connection.online{color:#94e1cf}.connection:empty{display:none}
.page-heading{max-width:1160px;margin:30px auto 42px;padding:0 20px;text-align:center}.page-heading h1{max-width:1080px;margin:0 auto;font-size:58px;text-transform:uppercase;letter-spacing:-.8px}.eyebrow{color:#9cd9ec;font-size:13px;font-weight:500;letter-spacing:2px;text-transform:uppercase;margin-bottom:16px}.ornament{display:flex;align-items:center;justify-content:center;gap:22px;margin:24px auto 16px;color:var(--accent)}.ornament span{width:155px;height:1px;background:var(--accent)}.ornament svg{width:27px;height:27px}
.breadcrumb{display:flex;align-items:center;justify-content:center;gap:11px;flex-wrap:wrap;color:#dfeaf4;font-size:12px;line-height:1.7}.breadcrumb [aria-current]{max-width:630px}.breadcrumb>span:not([aria-current]){color:#8cbbd6}.breadcrumb a:hover{text-decoration:underline;color:white}
.site-footer{padding:26px 20px 24px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;color:#d5e5f2}.site-footer>svg{width:32px;height:32px;color:var(--accent)}.site-footer>div{display:flex;align-items:center;gap:20px}.site-footer>div>span{height:1px;width:70px;background:#7bc5e07a}.site-footer p{margin:0}.site-footer small,.site-footer time{font-size:10px;color:#afc6dd}.site-footer small:empty{display:none}
.content-band{width:min(1240px,90%);padding:50px 58px;margin:0 auto 40px;border:1px solid #c3d6e8;border-radius:8px;background:var(--paper);box-shadow:0 28px 70px #03102245;color:var(--ink)}
.theme-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding-bottom:26px;border-bottom:1px solid var(--line)}.theme-chip{background:#fff;border:1px solid #c4d4e4;border-radius:6px;color:var(--primary);font-size:12px;font-weight:500;min-height:42px;padding:10px 16px}.theme-chip:hover{background:#e6eff8}.theme-chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.search-bar{display:flex;align-items:center;gap:14px}.search-input{display:flex;align-items:center;gap:12px;flex:1;background:white;border:1px solid #c9d7e5;border-radius:6px;min-height:48px;padding:10px 16px;min-width:0}.search-input svg{color:var(--secondary);width:20px;height:20px;flex-shrink:0}.search-input input{border:0;background:transparent;width:100%;min-width:0;font-size:13px;color:var(--ink)}.filter-toggle{color:var(--primary);border-color:#aac2d9;border-radius:6px;font-size:12px}
.filters-grid{padding:26px 0 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.filters-grid label{font-size:12px;font-weight:500}.filters-grid input,.filters-grid select{width:100%;display:block;margin-top:6px;padding:9px;border:1px solid #c3d3e3;border-radius:5px;background:#fff;color:var(--ink);min-height:42px;font-size:12px}.content-band .text-button{color:var(--primary);font-size:12px}.result-count{font-size:11px;letter-spacing:.4px;color:var(--muted);margin:20px 0 28px}
.catalogue-card{display:flex;gap:32px;min-width:0;padding:32px 0;border-bottom:1px solid var(--line)}.catalogue-card:first-child{padding-top:0}.catalogue-card:last-child{border-bottom:0;padding-bottom:0}.card-image{flex:0 0 280px;height:210px;border-radius:6px;overflow:hidden;display:block;background:#e3ebf4}.card-image img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .3s}.card-image:hover img{transform:scale(1.025)}.card-copy{flex:1;min-width:0}.card-copy h2{font-size:34px;line-height:1.1;color:var(--primary);margin:0 0 14px}.card-copy h2 a:hover{color:var(--secondary)}.card-copy>p:not(.item-meta){font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:18px}.card-copy .solid-button{font-size:12px;min-height:38px;padding:8px 15px}.item-meta{font-size:11px;font-weight:500;line-height:1.6;color:#2a668c;margin-bottom:13px}.item-meta>span{padding:0 7px;color:#86a7c4}.chapter-count{display:flex;align-items:center;gap:8px;color:#45728d;font-size:12px;margin-bottom:20px}.chapter-count svg{width:16px;height:16px}
.portrait-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.portrait-grid .person-card{padding:0;display:flex;flex-direction:column;border:1px solid #ccdbe9;border-radius:8px;overflow:hidden;background:#fff}.person-card .card-image{flex:none;height:auto;aspect-ratio:3/4;width:100%;border-radius:0;background:#e3eaf2}.person-card .card-image img{object-fit:cover;object-position:center top}.person-card .card-copy{padding:22px;display:flex;flex-direction:column;align-items:flex-start}.person-card .card-copy h2{font-size:30px;line-height:1.1;margin-bottom:12px}.person-card .card-copy .person-role{color:#455e76;font-size:13px;margin-bottom:8px}.person-card .card-copy .person-terms{font-size:12px;line-height:1.85;overflow-wrap:anywhere;margin-bottom:20px}.person-card .solid-button{margin-top:auto}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.photo-card{display:block;padding:0!important;border:0!important}.photo-card .card-image{position:relative;width:100%;height:225px;border:5px solid #fff;box-shadow:0 2px 12px #19396312;border-radius:7px;padding:0;text-align:left}.photo-card .card-copy{padding:15px 3px}.photo-card .card-copy h2{font:500 14px/1.65 var(--sans);margin:0}.photo-card .card-copy p{font-size:12px!important}.photo-zoom{position:absolute;inset:auto 0 0;padding:12px;display:flex;align-items:center;justify-content:center;gap:8px;color:white;font-size:11px;background:#102b4cce;opacity:0;transition:.2s}.photo-card button:hover .photo-zoom,.photo-card button:focus-visible .photo-zoom{opacity:1}
.journey-grid,.legislature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.journey-grid .catalogue-card,.legislature-grid .catalogue-card{display:flex;flex-direction:column;gap:0;border:1px solid #cedce9;border-radius:8px;padding:0;overflow:hidden;background:white}.journey-grid .card-image{height:230px;flex:none;width:100%;border-radius:0}.journey-grid .card-copy,.legislature-grid .card-copy{padding:27px}.journey-grid .card-copy h2,.legislature-grid .card-copy h2{font-size:33px}.legislature-mark{display:flex;gap:16px;align-items:center;padding:24px 27px;border-bottom:1px solid var(--line);background:#eaf1f8;color:var(--primary);font-size:13px}.legislature-mark svg{width:32px;height:32px}
.document-cover{flex:0 0 230px;height:245px;background:linear-gradient(145deg,#e1ebf5,#fff);border:1px solid #bdd0e1;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--primary)}.document-cover svg{width:58px;height:58px;stroke-width:1}.document-cover span{font-size:9px;letter-spacing:1.3px}.document-cover strong{font:700 35px var(--display)}.document-card{align-items:center}.document-card .card-copy h2{font-size:40px}
.timeline-row{position:relative;display:grid;grid-template-columns:130px minmax(0,1fr);gap:26px;padding:0 0 28px 24px;margin-left:8px;border-left:1px solid #9bb9d3}.timeline-row:before{content:'';position:absolute;left:-6px;top:8px;width:11px;height:11px;border:2px solid #c1e7f1;border-radius:50%;background:var(--secondary)}.timeline-row>time{color:var(--primary);font-size:12px;font-weight:500}.timeline-row .catalogue-card{padding:0 0 28px}.timeline-row .card-image{flex-basis:160px;height:140px}.timeline-row .card-copy h2{font-size:29px}.timeline-row .card-copy>p:not(.item-meta){font-size:13px}
.back-link{display:inline-flex;align-items:center;gap:10px;margin-bottom:30px;padding:10px 15px;background:#e4edf6;color:var(--primary);border:1px solid #c8d9e8;border-radius:5px;font-size:12px;font-weight:500}.back-link:hover{background:#d5e5f3}.detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;margin-bottom:32px;border-bottom:1px solid var(--line)}.detail-toolbar .item-meta{margin:0}.detail-toolbar>div{display:flex;gap:9px;flex-wrap:wrap}.detail-toolbar .icon-button,.detail-toolbar .outline-button{color:var(--primary);border-color:#afc9df}
.detail-cover{display:block;border:0;background:transparent;padding:0;max-width:100%;margin:0 auto 40px;border-radius:6px;overflow:hidden}.detail-cover img{max-height:600px;width:auto;object-fit:contain;margin:auto}.detail h2{font-size:36px;color:var(--primary);margin-bottom:18px}.detail h3{font-size:27px;color:var(--primary)}.detail p{font-size:16px;line-height:1.95;color:#445970}.historical-section{margin:35px 0}.record-content{margin:36px 0;overflow-wrap:anywhere}.record-content p{margin-bottom:1.5em}.record-content a{color:var(--secondary);text-decoration:underline;text-underline-offset:4px}.record-content img{max-height:650px;width:auto;object-fit:contain}
.person-heading{display:grid;grid-template-columns:260px minmax(0,1fr);gap:38px;align-items:start;padding-bottom:35px;border-bottom:1px solid var(--line)}.person-heading>img,.person-heading>.no-image{width:260px;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-radius:6px}.person-heading h2{font-size:40px;margin:8px 0 15px}.person-heading .eyebrow{font-size:10px;color:#46718f;margin-bottom:8px}.person-heading .historical-section{margin:25px 0 0}.person-heading .historical-section p{font-size:14px}.person-heading .historical-section h3{font:500 13px var(--sans);margin-bottom:14px}.person-heading>div>p:not(.eyebrow){font-size:14px}
.source-notes{margin-top:40px;padding:28px;background:#e9f0f7;border-radius:6px;border-left:3px solid #72b8d3;overflow-wrap:anywhere}.source-notes h2{font-size:27px}.source-notes p,.source-notes .historical-section p{font-size:12px;line-height:1.8;margin-bottom:8px}.source-notes a{color:var(--secondary);text-decoration:underline;text-underline-offset:3px}.source-notes a svg{height:12px;width:12px;margin-left:8px}.source-notes .historical-section{margin:16px 0 0}.source-notes .historical-section h2{font:500 11px var(--sans);margin-bottom:5px}
.chapter-list{list-style:none;padding:0;border-top:1px solid var(--line)}.chapter-list li{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);padding:20px 0}.chapter-list li>span{font-size:12px;color:#4a7694}.chapter-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:1;color:var(--primary);font-size:15px}.narrative-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:36px;padding-top:28px;border-top:1px solid var(--line);color:var(--primary)}.narrative-nav>a:not(.outline-button){text-align:center;font-size:13px}
.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.related-grid .catalogue-card{display:block;border:1px solid var(--line);border-radius:6px;padding:20px!important;background:white}.related-grid .card-image{width:100%;height:180px;aspect-ratio:auto;margin-bottom:20px}.related-grid .card-copy{padding:0}.related-grid .card-copy h2{font-size:29px}.related-grid .card-copy p{font-size:13px;line-height:1.8}
.file-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.media-photo{display:block;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:white;text-align:left;color:var(--primary)}.media-photo img{height:240px;width:100%;object-fit:cover}.media-photo span{display:block;padding:14px;font-size:12px}.file-link{display:flex;align-items:center;gap:14px;border:1px solid #b9d0e3;border-radius:6px;padding:18px;color:var(--primary);font-size:13px;background:white}.file-link svg:last-child{margin-left:auto}.file-link:hover{background:#e8f1f9}.video-wrap{aspect-ratio:16/9;margin:30px 0}.video-wrap iframe{width:100%;height:100%;border:0;border-radius:6px}audio,video{max-width:100%;width:100%}
.comparison{position:relative;aspect-ratio:4/3;--split:50%;overflow:hidden;background:#dce7f0}.comparison>img,.before-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.before-image{clip-path:inset(0 calc(100% - var(--split)) 0 0)}.before-image img{width:100%;height:100%;object-fit:cover}.comparison>input{position:absolute;bottom:15px;left:5%;width:90%;accent-color:var(--primary);z-index:2}
.no-image{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:linear-gradient(150deg,#dce7f2,#edf3f9);color:#718daa}.no-image svg{width:64px;height:64px;stroke-width:1.2}.no-image:after{content:'Imagem não disponível';font-size:11px}
.home-heading .page-heading{margin:0 auto 10px}.home-heading .page-heading h1{font-size:50px;max-width:1250px}.home-heading .eyebrow{letter-spacing:6px;font-size:13px;margin-bottom:16px}.home-heading .ornament{margin:20px auto 12px}.tagline{text-align:center;color:#e1edf6;font-size:16px;margin:0 0 24px}.home-stage{width:min(1620px,90%);margin:0 auto;display:grid;grid-template-columns:minmax(0,73fr) minmax(285px,27fr);gap:26px;align-items:start}
.history-panel{display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:32px;padding:30px;background:linear-gradient(125deg,#1a3a64e8,#0c2345f5);border:1px solid #79a9d280;border-radius:14px;align-items:center;box-shadow:0 20px 45px #03132625}.history-photo{height:100%;overflow:hidden;border-radius:7px;border:1px solid #c2d8ec70}.history-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.history-copy{min-width:0}.history-copy .item-meta{color:#9ed7e9;font-size:11px}.history-copy h2{font-size:40px;margin:18px 0 20px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.short-rule{display:block;height:2px;width:44px;background:var(--accent);margin:22px 0}.history-summary{font-size:14px;line-height:1.9;color:#d7e5f3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:25px}.history-copy .solid-button{border-color:#89bfd9;background:#25528c;border-radius:28px;font-size:13px;padding:12px 20px}
.president-panel{padding-top:15px;min-width:0}.president-panel>h2{font:500 12px/1.5 var(--sans);letter-spacing:.6px;text-transform:uppercase;text-align:center;margin:0 0 13px}.president-card{border-radius:9px;overflow:hidden;border:1px solid #adcce1b3;background:var(--paper);color:var(--ink);box-shadow:0 12px 35px #03142620}.president-image{height:300px;background:#dbe7f1}.president-image img{width:100%;height:100%;object-fit:cover;object-position:center top}.president-copy{padding:18px 20px}.president-copy h3{font-size:28px;color:var(--primary);margin:0 0 8px}.president-copy p{font-size:11px;line-height:1.6;margin:0 0 5px}.president-period{height:56px;overflow:auto;color:var(--muted)}.president-copy .compact{margin-top:10px;min-height:38px;padding:8px 13px;font-size:10px;border-radius:25px;gap:7px}.compact svg{width:16px;height:16px}
dialog{max-width:min(780px,94vw);max-height:90vh;overflow:auto;border:1px solid #a3bfd7;border-radius:9px;background:var(--paper);color:var(--ink);padding:42px}dialog::backdrop{background:#03162de8;backdrop-filter:blur(7px)}dialog h2{color:var(--primary);font-size:33px;padding-right:30px}.dialog-close{position:absolute;top:12px;right:12px;color:inherit}.dialog-close svg{width:20px;height:20px}
#explore{width:720px;background:linear-gradient(145deg,#193c67,#0e2748);color:#fff;padding:55px 55px 40px;border-color:#629ac5}#explore h2{font:500 12px var(--sans);letter-spacing:2px;text-transform:uppercase;text-align:center;color:#a7ddec;margin:0 0 30px;padding:0}#explore nav{display:grid;gap:6px;text-align:center}#explore nav a{font-size:18px;line-height:1.5;padding:10px;border-radius:4px}#explore nav a:hover{background:#8ac4e012;color:white}
#pair-dialog{width:450px}#pair-form{display:grid;gap:18px}#pair-form label{display:grid;gap:6px;font-size:13px}#pair-form input,#pair-form select{min-height:46px;width:100%;border:1px solid #b7cada;border-radius:5px;background:white;color:var(--ink);padding:9px}#pair-message{font-size:13px}
#photo-dialog{width:min(1300px,95vw);max-width:95vw;background:#091d34;color:white;border-color:#557c9d;padding:60px 50px 30px;text-align:center}#photo-content img{max-height:67vh;max-width:100%;object-fit:contain;margin:0 auto 23px}#photo-content h2{font:700 32px var(--display);color:white;padding:0;margin-bottom:12px}#photo-content p{max-width:850px;margin:8px auto;color:#c2d7e7;font-size:13px;overflow-wrap:anywhere}#photo-content strong{color:#a3dded}#qr-dialog{width:410px;text-align:center}#qr-code svg{width:245px;max-width:100%;height:auto}#qr-dialog a{font-size:13px;color:var(--primary);text-decoration:underline}
#toast{position:fixed;bottom:25px;left:50%;z-index:120;max-width:min(600px,90vw);transform:translate(-50%,20px);padding:15px 22px;border:1px solid #91b6d1;border-radius:6px;background:#f4f9ff;color:var(--primary);font-size:13px;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.scroll-controls{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:10}.scroll-controls button{display:flex;align-items:center;justify-content:center;flex-direction:column;width:120px;height:62px;gap:3px;border:1px solid #81b2d4;border-radius:6px;background:#173b65f2;color:white;font-size:9px}.scroll-controls svg{width:23px;height:23px}.empty{padding:28px 0;color:var(--muted)}.loading{margin:20vh auto;text-align:center}.loading>span{font:600 40px var(--display)}
@media(min-width:1100px){body[data-view=home]{height:100vh;display:grid;grid-template-rows:128px minmax(0,1fr) 100px}body[data-view=home] main{display:flex;flex-direction:column;justify-content:center;min-height:0}body[data-view=home] .masthead{min-height:0;height:128px}body[data-view=home] .history-panel{height:clamp(340px,calc(100vh - 420px),680px)}body[data-view=home] .president-image{height:clamp(180px,calc(100vh - 670px),380px)}body[data-view=home] .site-footer{padding:10px 20px 12px}body[data-view=home] .scroll-controls{display:none}}
@media(min-width:1800px){.home-heading .page-heading h1{font-size:62px}.history-copy h2{font-size:46px}.history-summary{font-size:16px}.history-panel{gap:40px;padding:35px}.president-copy h3{font-size:32px}.president-copy p{font-size:12px}.president-copy .compact{font-size:11px}.president-period{height:57px}.content-band{width:min(1440px,88%);padding:56px 68px}.portrait-grid{gap:28px}.person-card .card-copy h2{font-size:34px}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.page-heading h1{font-size:66px}}
@media(min-width:1100px) and (max-height:850px){body[data-view=home]{grid-template-rows:100px minmax(0,1fr) 80px}body[data-view=home] .masthead{height:100px;padding:10px 0}body[data-view=home] .brand img{width:60px;height:70px}body[data-view=home] .brand strong{font-size:28px}.home-heading .page-heading h1{font-size:38px}.home-heading .eyebrow{font-size:10px;margin-bottom:10px}.home-heading .ornament{margin:13px auto 8px}.tagline{font-size:13px;margin-bottom:18px}body[data-view=home] .history-panel{height:calc(100vh - 315px);padding:22px;gap:25px}.history-copy h2{font-size:32px;-webkit-line-clamp:3;margin:12px 0}.history-summary{font-size:12px;-webkit-line-clamp:3;line-height:1.8;margin-bottom:20px}.short-rule{margin:16px 0}body[data-view=home] .president-image{height:calc(100vh - 570px);min-height:150px}.president-copy{padding:14px 17px}.president-copy h3{font-size:25px}.president-period{height:40px}.president-copy p{font-size:10px}.president-copy .compact{font-size:9px}.site-footer>svg{width:26px;height:26px}}
@media(max-width:1099px){.masthead{min-height:120px}.brand img{width:66px;height:76px}.brand strong{font-size:28px}.brand span{font-size:14px}.page-heading h1{font-size:46px}.content-band{width:92%;padding:32px}.home-stage{grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px}.home-heading .page-heading h1{font-size:40px}.history-panel{display:block;padding:23px}.history-photo{height:280px;margin-bottom:24px}.history-copy h2{font-size:34px}.history-summary{font-size:13px}.president-image{height:300px}.president-copy h3{font-size:25px}.president-copy{padding:16px}.portrait-grid{gap:18px}.person-card .card-copy{padding:18px}.person-card .card-copy h2{font-size:27px}.person-card .card-copy .person-terms{font-size:11px}.card-image{flex-basis:210px;height:190px}.catalogue-card{gap:23px}.card-copy h2{font-size:30px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline-row{grid-template-columns:105px minmax(0,1fr);gap:18px}.timeline-row .card-image{flex-basis:125px;height:130px}.timeline-row .card-copy h2{font-size:25px}.header-actions{gap:8px}.connection{max-width:100px}.person-heading{grid-template-columns:220px minmax(0,1fr);gap:25px}.person-heading>img,.person-heading>.no-image{width:220px}.person-heading h2{font-size:33px}}
@media(max-width:700px){body{font-size:14px}.masthead{width:90%;min-height:100px;gap:10px;padding:15px 0}.brand{gap:10px}.brand img{width:48px;height:58px}.brand span{font-size:10px}.brand strong{font-size:24px}.header-actions{gap:6px}.header-actions>.outline-button{width:40px;min-width:40px;padding:8px}.header-actions>.outline-button>span{display:none}.icon-button{width:40px;min-width:40px;min-height:40px;padding:8px}.connection{position:absolute;right:5%;top:85px;font-size:9px;max-width:200px}.page-heading{margin:24px auto 28px;padding:0 22px}.page-heading h1{font-size:37px;letter-spacing:-.3px}.eyebrow{font-size:10px;letter-spacing:1.5px}.ornament{gap:15px;margin-top:20px}.ornament span{width:65px}.ornament svg{width:23px;height:23px}.breadcrumb{font-size:10px;gap:7px}.breadcrumb [aria-current]{max-width:260px}.content-band{width:92%;padding:24px 20px;margin-bottom:25px}.theme-chips{gap:7px;padding-bottom:19px;margin-bottom:20px}.theme-chip{font-size:10px;padding:8px 11px;min-height:36px}.search-bar{gap:8px}.search-input{padding:8px 10px;gap:8px}.search-input input{font-size:11px}.filter-toggle{font-size:10px;padding:10px;gap:6px}.filters-grid{gap:12px}.filters-grid label{font-size:10px}.filters-grid input,.filters-grid select{font-size:11px}.catalogue-card{display:block;padding:27px 0}.card-image{width:100%;height:210px;margin-bottom:20px}.card-copy h2{font-size:32px}.card-copy>p:not(.item-meta){font-size:12px}.item-meta{font-size:10px}.portrait-grid{grid-template-columns:1fr;gap:22px}.person-card .card-image{margin:0;aspect-ratio:3/4;height:auto}.person-card .card-copy{padding:22px}.person-card .card-copy h2{font-size:34px}.person-card .card-copy .person-terms{font-size:12px}.photo-grid{grid-template-columns:1fr;gap:22px}.photo-card .card-image{height:245px;margin:0}.photo-zoom{opacity:1;padding:8px;font-size:10px}.journey-grid,.legislature-grid{grid-template-columns:1fr;gap:22px}.journey-grid .card-image{height:215px;margin:0}.journey-grid .card-copy,.legislature-grid .card-copy{padding:23px}.document-cover{height:210px;width:100%;margin-bottom:22px}.document-card .card-copy h2{font-size:34px}.timeline-row{display:block;margin-left:4px;padding-left:18px}.timeline-row>time{display:block;margin-bottom:16px}.timeline-row .card-image{height:185px}.timeline-row .card-copy h2{font-size:29px}.detail-toolbar{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:25px}.detail p{font-size:14px;line-height:1.95}.detail h2{font-size:31px}.person-heading{grid-template-columns:1fr;gap:25px}.person-heading>img,.person-heading>.no-image{width:min(100%,300px);margin:auto;aspect-ratio:3/4}.person-heading h2{font-size:36px}.person-heading .historical-section p{font-size:13px}.back-link{font-size:10px;padding:9px 11px}.source-notes{padding:20px}.source-notes p,.source-notes .historical-section p{font-size:11px}.file-gallery,.related-grid{grid-template-columns:1fr}.related-grid .card-image{height:200px}.chapter-list a{font-size:13px}.narrative-nav{flex-wrap:wrap;gap:16px}.narrative-nav>a:not(.outline-button){order:-1;flex-basis:100%}.narrative-nav .outline-button{font-size:11px;padding:9px 13px}.home-heading .page-heading h1{font-size:36px}.home-heading .eyebrow{font-size:10px;letter-spacing:4px}.tagline{font-size:12px;padding:0 24px;margin-bottom:24px}.home-stage{display:block;width:90%}.history-panel{padding:20px;border-radius:10px}.history-photo{height:330px}.history-copy h2{font-size:36px}.history-summary{font-size:13px}.history-copy .solid-button{width:100%}.president-panel{max-width:360px;margin:28px auto 0}.president-image{height:365px}.president-copy{padding:21px}.president-copy h3{font-size:31px}.president-copy p{font-size:11px}.president-copy .compact{font-size:10px}.president-period{height:auto;max-height:80px}.site-footer{padding-top:30px}.site-footer>div{gap:10px}.site-footer>div>span{width:22px}.site-footer p{font-size:9px}.scroll-controls{right:9px;bottom:9px}.scroll-controls button{width:85px;height:52px;font-size:7px}body[data-view=home] .scroll-controls{display:none}dialog{padding:35px 24px}#explore{padding:50px 24px 30px}#explore nav a{font-size:15px}#photo-dialog{padding:60px 15px 20px}#photo-content h2{font-size:27px}#photo-content p{font-size:11px}.photo-view-nav{gap:15px}}
@media(min-width:1100px){body[data-view=home] .president-panel{height:clamp(340px,calc(100vh - 420px),680px);display:flex;flex-direction:column}body[data-view=home] .president-card{display:flex;flex-direction:column;flex:1;min-height:0;margin-bottom:42px}body[data-view=home] .president-image{height:auto;min-height:0;flex:1}body[data-view=home] .president-copy{flex:none}}
@media(min-width:1100px) and (max-height:850px){body[data-view=home] .president-panel{height:calc(100vh - 315px)}}
.file-gallery:has(.document-file){grid-template-columns:1fr}.document-preview{display:block;width:100%;height:700px;border:1px solid #c5d8e8;border-radius:6px;margin-top:15px;background:#fff}.document-file .document-hint{font-size:11px;color:var(--muted);margin:10px 0}.document-file .file-link>span{margin-left:auto;font-size:11px;color:var(--secondary);white-space:nowrap}.document-file .file-link svg:last-child{margin-left:0}
.collection-intro{font-size:14px;line-height:1.95;color:#536b82;max-width:970px;margin:0 0 27px}.photo-view-nav{display:flex;justify-content:center;gap:20px;margin-top:24px}.photo-view-nav .outline-button{font-size:12px;border-color:#80b4d6}.photo-view-nav .outline-button:focus-visible{outline-offset:2px}
@media(max-width:700px){.collection-intro{font-size:12px;line-height:1.85;margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
