@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,700;1,400&display=swap";*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root{--bg: #f8f5f0;--bg-card: rgba(255, 253, 248, .96);--fg: #2a2d34;--fg-muted: #6b6e75;--accent: #3d4a5c;--accent-dim: #2a3440;--border: #d4cfc4;--era-modern: #8b4a4a;--font-body: "Inter", system-ui, sans-serif;--font-display: "Playfair Display", Georgia, serif}html,body{height:100%;overflow:hidden}body{font-family:var(--font-body);background:var(--bg);color:var(--fg);line-height:1.6}.viewer{position:relative;width:100%;height:100vh;overflow:hidden;cursor:pointer}.map-layer{position:absolute;inset:0;z-index:0;transition:all .6s cubic-bezier(.4,0,.2,1)}.map-layer svg{width:100%;height:100%}.map-layer.is-thumbnail{top:1.5rem;right:1.5rem;left:auto;bottom:auto;width:35%;max-width:280px;height:auto;aspect-ratio:4 / 3;border-radius:12px;box-shadow:0 4px 20px #0000001a;background:var(--bg);border:1px solid var(--border);z-index:5}.pages{position:absolute;inset:0;z-index:1}.page{position:absolute;inset:0;display:flex;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s ease}.page.is-active{opacity:1;visibility:visible}.page--intro{align-items:center;justify-content:center;text-align:center}.page--intro .page-overlay{max-width:600px;padding:2rem}.page--intro h1{font-family:var(--font-display);font-size:clamp(2.5rem,7vw,5rem);font-weight:700;letter-spacing:-.02em;margin-bottom:.5rem;color:var(--fg)}.page--intro .page-tagline{font-size:clamp(1rem,2.5vw,1.25rem);color:var(--fg-muted);letter-spacing:.1em;text-transform:uppercase;font-weight:500;margin-bottom:1.5rem}.page--intro .page-prompt{font-family:var(--font-display);font-size:1.1rem;color:var(--accent);opacity:.7}.page-note-wrapper{margin-top:2rem;text-align:center}.page-note-toggle{background:transparent;border:1px solid var(--border);border-radius:4px;padding:.4rem .75rem;font-size:.75rem;color:var(--fg-muted);cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.35rem}.page-note-toggle:hover,.page-note-toggle[aria-expanded=true]{border-color:var(--accent);color:var(--fg)}.page-note-icon{font-size:.85rem}.page-note-content{margin-top:.75rem;padding:.75rem 1rem;background:#ffffff08;border:1px solid var(--border);border-radius:6px;text-align:left;max-width:340px;margin-left:auto;margin-right:auto;animation:noteExpand .2s ease}@keyframes noteExpand{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.page-note-content p{font-size:.75rem;color:var(--fg-muted);margin:0 0 .5rem;line-height:1.5}.page-note-content p:last-child{margin-bottom:0}.page-note-content em{color:var(--accent);font-style:normal}.page-note-footer{font-size:.7rem!important;opacity:.7;margin-top:.5rem!important}.page--transition{align-items:flex-start;justify-content:flex-start;padding:4rem 3rem 3rem}.page--transition .page-overlay{max-width:400px}.page--transition .page-year{display:block;font-family:var(--font-display);font-size:clamp(3rem,10vw,6rem);font-weight:700;color:var(--fg);line-height:1;margin-bottom:.25rem;opacity:.9}.page--transition h2{font-family:var(--font-display);font-size:clamp(1.5rem,4vw,2.5rem);font-weight:700;color:var(--fg);line-height:1.1;opacity:.85}.page--transition .page-asterisk{margin-top:1.5rem;opacity:.7}.map-disclaimer{position:fixed;bottom:4.5rem;left:3rem;z-index:95;max-width:600px;font-size:.7rem;color:var(--fg-muted);text-align:left;line-height:1.4}.map-disclaimer em{color:var(--accent);font-style:normal}.map-disclaimer a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.map-disclaimer a:hover{opacity:.7}.notes-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}.notes-modal.is-open{opacity:1;visibility:visible}.notes-modal-content{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.5rem;max-width:480px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px #0000001f;transform:translateY(8px);transition:transform .25s ease}.notes-modal.is-open .notes-modal-content{transform:translateY(0)}.notes-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.notes-modal-header h3{font-family:var(--font-display);font-size:1.1rem;font-weight:700;color:var(--fg);margin:0}.notes-modal-close{background:none;border:none;font-size:1.5rem;line-height:1;color:var(--fg-muted);cursor:pointer;padding:0;margin:-.25rem -.25rem 0 0}.notes-modal-close:hover{color:var(--fg)}.notes-modal-body p{font-size:.85rem;color:var(--fg);margin:0 0 .75rem;line-height:1.5}.notes-modal-body ul{list-style:none;padding:0;margin:0}.notes-modal-body li{position:relative;padding-left:1rem;margin-bottom:.5rem;font-size:.85rem;color:var(--fg);line-height:1.5}.notes-modal-body li:before{content:"•";position:absolute;left:0;color:var(--accent)}.notes-modal-body strong{color:var(--accent);font-weight:600}.page--story{flex-direction:column;padding:1.5rem 2rem 2rem}.page-map-thumb{display:none}.page-story{max-width:560px;margin-top:auto;margin-bottom:auto;background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:2rem;box-shadow:0 4px 30px #0000000f}.page-story .page-year{display:inline-block;font-family:var(--font-display);font-size:.85rem;font-weight:700;color:var(--accent);letter-spacing:.05em;margin-bottom:.5rem}.page-story h2{font-family:var(--font-display);font-size:clamp(1.4rem,3vw,1.75rem);font-weight:700;margin-bottom:.75rem;line-height:1.2;color:var(--fg)}.page-stats{display:flex;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.stat{font-size:.8rem;color:var(--fg-muted);background:#3d4a5c0f;border:1px solid rgba(61,74,92,.1);padding:.3rem .6rem;border-radius:6px}.stat strong{color:var(--accent);font-weight:600}.page-story p{font-size:.95rem;margin-bottom:1rem;color:var(--fg)}.page-story blockquote{font-family:var(--font-display);font-style:italic;font-size:.95rem;color:var(--accent);border-left:2px solid var(--accent-dim);padding-left:1rem;margin:0}.page-story blockquote cite{display:block;font-family:var(--font-body);font-style:normal;font-size:.75rem;color:var(--fg-muted);margin-top:.5rem}.page--epilogue.page--transition .page-year,.page--epilogue.page--transition h2{color:var(--era-modern)}.page--epilogue .page-story{border-color:#c9a8a8;background:#fffaf8fa}.page--epilogue .page-story .page-year{color:var(--era-modern)}.page--epilogue .page-story blockquote{color:var(--era-modern);border-left-color:#c9a8a8}.page-disclaimer{font-size:.7rem;color:var(--era-modern);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.75rem;font-weight:500}.page-asterisk{font-size:.7rem;color:var(--fg-muted);margin-top:1rem;margin-bottom:0;opacity:.85}.page-asterisk a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.page-asterisk a:hover{opacity:.7}.page--overview .page-overlay{max-width:500px}.page--overview h2{font-size:clamp(1.75rem,5vw,2.75rem);margin-bottom:.5rem}.page-subtitle{font-family:var(--font-display);font-size:clamp(1rem,3vw,1.5rem);color:var(--fg-muted);font-weight:400;letter-spacing:.02em}.acquisition-tooltip{position:absolute;z-index:150;background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:.5rem .75rem;box-shadow:0 4px 16px #0000001f;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,-100%);transition:opacity .15s ease,visibility .15s ease;max-width:220px;text-align:center}.acquisition-tooltip.is-visible{opacity:1;visibility:visible}.acquisition-tooltip-name{font-family:var(--font-display);font-size:.9rem;font-weight:700;color:var(--fg);margin-bottom:.15rem}.acquisition-tooltip-detail{font-size:.75rem;color:var(--fg-muted);line-height:1.4}.page--notes .page-story{max-width:600px}.page-story--notes h2{margin-bottom:1.25rem}.page-story--notes h3{font-family:var(--font-body);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--fg-muted);margin-top:1.25rem;margin-bottom:.5rem}.page-story--notes h3:first-of-type{margin-top:0}.page-story--notes p{font-size:.85rem;margin-bottom:.75rem}.notes-list{list-style:none;padding:0;margin:0 0 1rem;font-size:.85rem}.notes-list li{position:relative;padding-left:1rem;margin-bottom:.5rem;color:var(--fg)}.notes-list li:before{content:"•";position:absolute;left:0;color:var(--accent)}.notes-list strong{color:var(--accent);font-weight:600}.notes-list--sources li{margin-bottom:.4rem}.notes-list a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.notes-list a:hover{opacity:.8}.notes-data-credit{font-size:.75rem;color:var(--fg-muted);margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border)}.notes-data-credit a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.notes-data-credit a:hover{opacity:.8}.edge-nav{position:fixed;top:50%;transform:translateY(-50%);z-index:50;display:flex;align-items:center;justify-content:center;width:48px;height:64px;border:none;background:#fffdf8b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--accent);cursor:pointer;transition:all .25s ease;opacity:.6}.edge-nav:hover{opacity:1;background:#fffdf8e6}.edge-nav:active{transform:translateY(-50%) scale(.95)}.edge-nav.is-hidden{opacity:0;pointer-events:none}.edge-nav--prev{left:0;border-radius:0 8px 8px 0;padding-left:4px}.edge-nav--next{right:0;border-radius:8px 0 0 8px;padding-right:4px}.edge-nav svg{width:24px;height:24px}.timeline{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:flex-end;gap:4px;padding:.75rem 1rem;background:#fffdf8e6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:20px;border:1px solid var(--border);box-shadow:0 4px 20px #00000014}.timeline-bar{width:3px;height:12px;border:none;border-radius:2px;background:var(--border);cursor:pointer;transition:all .25s ease;padding:0}.timeline-bar--tall{height:20px}.timeline-bar--intro{background:var(--accent);opacity:.4}.timeline-bar.is-active{background:var(--accent);width:5px;transform:translateY(-2px)}.timeline:hover .timeline-bar{opacity:.7}.timeline:hover .timeline-bar:hover{opacity:1;background:var(--accent);transform:scaleY(1.2)}.timeline:hover .timeline-bar.is-active{opacity:1}.map-state,.map-territory{fill:#b8c4d0;stroke:var(--bg);stroke-width:.8;transition:fill .8s ease}.map-other{fill:#e8e4dc;stroke:none}.map-disputed{fill:#e0d8cc;stroke:var(--accent-dim);stroke-width:.5;stroke-dasharray:3 2}.map-none{fill:transparent;stroke:none}@media(min-width:901px){.page--story{padding:3rem 3rem 3rem 4rem;align-items:flex-start;justify-content:center}.page--story .page-story{max-width:420px;margin:0}.edge-nav{width:56px;height:80px}.edge-nav svg{width:28px;height:28px}}@media(max-width:900px){.map-layer.is-thumbnail{width:40%;max-width:240px}.page--story{padding-left:3.5rem;padding-right:3.5rem}.page-story{max-width:480px}}@media(max-width:600px){.page--transition{padding:2.5rem 1.5rem 1.5rem}.page--transition .page-year{font-size:clamp(2.5rem,15vw,4rem)}.page--transition h2{font-size:clamp(1.25rem,5vw,1.75rem)}.map-disclaimer{bottom:3.5rem;left:1.5rem;right:1.5rem;max-width:none;font-size:.65rem}.page--story{padding:1rem 2.75rem 5rem}.map-layer.is-thumbnail{top:1rem;right:1rem;width:45%;max-width:160px;border-radius:8px}.page-story{max-width:100%;padding:1.25rem;border-radius:12px;margin-top:8rem}.page-story h2{font-size:1.25rem}.page-story p{font-size:.9rem}.page-story blockquote{font-size:.85rem}.page--notes .page-story{margin-top:8.5rem;max-height:calc(100vh - 12.5rem);overflow-y:auto}.page-story--notes p,.notes-list{font-size:.8rem}.page-note-wrapper{margin-top:1.5rem}.page-note-toggle{font-size:.7rem;padding:.35rem .6rem}.page-note-content{max-width:300px;padding:.6rem .75rem}.page-note-content p{font-size:.7rem}.edge-nav{width:36px;height:48px;opacity:.5}.edge-nav svg{width:20px;height:20px}.timeline{bottom:1rem;padding:.5rem .75rem;gap:3px;border-radius:16px}.timeline-bar{width:2px;height:10px}.timeline-bar--tall{height:16px}.timeline-bar.is-active{width:4px}}@media(max-width:400px){.page--intro h1{font-size:2rem}.page--intro .page-tagline{font-size:.85rem}.page-story{padding:1rem}.stat{font-size:.75rem;padding:.2rem .5rem}}@media(max-height:500px)and (orientation:landscape){.page--story{flex-direction:row;align-items:center;gap:2rem}.map-layer.is-thumbnail{position:relative;top:auto;right:auto;width:40%;max-width:none;flex-shrink:0}.page-story{max-width:50%;margin:0;padding:1rem}.timeline{bottom:.5rem}}
