:root {
  color-scheme: light;
  --navy: #073349;
  --ink: #0b2c42;
  --muted: #527080;
  --teal: #128fbb;
  --bright: #30acda;
  --light: #eaf7fc;
  --page-ratio: .7732;
  --flip-duration: 900ms;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f4f9fc;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
button:focus-visible,a:focus-visible,.book-frame:focus-visible{outline:3px solid #16a2d4;outline-offset:4px}
[hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-wrap{min-height:100vh;display:flex;flex-direction:column}
.site-header{height:86px;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:14px max(30px,calc((100vw - 1440px)/2 + 48px));border-bottom:1px solid #dcebf2;gap:20px}
.header-brand{display:flex;align-items:center;gap:13px;min-width:0}
.brand-mark{width:47px;height:47px;display:grid;place-items:center;background:linear-gradient(135deg,#1377a4,#2fb1d9);border-radius:12px;color:white;flex-shrink:0;box-shadow:0 4px 9px #0f83b01f}
.brand-mark svg{width:31px;height:31px}
.brand-kicker{font-size:10px;letter-spacing:.135em;font-weight:720;color:#47829a;text-transform:uppercase;margin-bottom:4px}
.brand-title{font-weight:800;font-size:18px;line-height:1.15;letter-spacing:-.025em}
.brand-title span{font-weight:500;color:#6f8792}
.header-download{display:flex;align-items:center;gap:10px;padding:11px 15px;text-decoration:none;white-space:nowrap;color:#086b92;border:1px solid #c9e4ef;border-radius:11px;font-size:13px;font-weight:750;background:#f6fcff;transition:background .2s,border-color .2s}
.header-download:hover{background:#e9f8fd;border-color:#84c7df}
.header-download svg{width:19px;height:19px}
.main-content{flex:1;width:100%;padding-bottom:12px}
.intro{text-align:center;max-width:750px;padding:27px 18px 21px;margin:auto}
.intro-eyebrow{display:flex;align-items:center;justify-content:center;gap:9px;color:#1486b4;letter-spacing:.26em;font-size:10px;font-weight:850;margin-bottom:8px}
.eyebrow-line{width:22px;height:2px;background:#48c1db}
h1{font-size:clamp(24px,3vw,36px);line-height:1.15;letter-spacing:-.04em;margin:0;font-weight:850}
.intro p{font-size:13px;line-height:1.45;color:#627a86;margin:7px 0 0}
.viewer{max-width:1450px;padding:0 26px;margin:auto}
.stage-shell{position:relative;overflow:hidden;min-height:350px;background:radial-gradient(ellipse at 50% 32%,#1a668a 0%,#104a68 40%,#082d48 85%,#06263e 100%);border-radius:18px;box-shadow:0 14px 45px #0d51601a;display:flex;flex-direction:column;align-items:center;padding:25px 24px 16px;isolation:isolate}
.stage-shell::before{content:"";position:absolute;inset:0;opacity:.27;pointer-events:none;background:linear-gradient(115deg,transparent 7%,#63d8ee18 23%,transparent 41%,#7be8ff0d 69%,transparent 86%),repeating-linear-gradient(0deg,transparent 0,transparent 43px,#ffffff0a 44px),repeating-linear-gradient(90deg,transparent 0,transparent 43px,#ffffff0a 44px);z-index:-1}
.stage-flourish{position:absolute;border:1px solid #75bdd321;border-radius:50%;width:570px;height:570px;pointer-events:none;z-index:-1}
.flourish-one{left:-365px;top:-280px}
.flourish-two{right:-335px;bottom:-380px;width:600px;height:600px}
.stage-caption{font-size:10px;letter-spacing:.22em;font-weight:750;color:#b4dfe9;display:flex;align-items:center;gap:10px;margin-bottom:15px}
.caption-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4fd0e7;box-shadow:0 0 0 4px #32c3e31c}
.caption-divider{color:#4b95ad}
.stage-inner{flex:1;width:100%;display:flex;justify-content:center;align-items:center;min-height:240px}
.book-frame{position:relative;user-select:none;-webkit-user-select:none;touch-action:pan-y;cursor:pointer;filter:drop-shadow(0 15px 18px #0005);will-change:transform}
.desktop-book{position:absolute;inset:0;perspective:2600px;transform-style:preserve-3d}
.inner-cover{position:absolute;width:50%;height:100%;left:0;top:0;border-radius:2px 0 0 2px;background:linear-gradient(130deg,#edfaff 0%,#c7eaf6 47%,#f6fdff 100%);overflow:hidden;border:1px solid #badde9;box-shadow:inset -18px 0 20px #01314a20,inset 0 0 30px #64b2cb27}
.inner-cover::before{content:"";width:150%;height:140%;border:1px solid #359fb235;position:absolute;top:-45%;left:-60%;border-radius:50%;box-shadow:0 0 0 45px #46b3c116,0 0 0 95px #46b3c10d}
.page-stack{position:absolute;left:49.8%;right:0;top:3px;bottom:-4px;border:1px solid #c5d7df;background:#fff;box-shadow:7px 4px 0 #ccdae0,11px 7px 0 #9bafbb,15px 11px 16px #001a2970}
.sheet{position:absolute;left:50%;top:0;width:50%;height:100%;transform:rotateY(0deg);transform-style:preserve-3d;transform-origin:left center;transition:transform var(--flip-duration) cubic-bezier(.55,.06,.23,1);will-change:transform}
.sheet.flipped{transform:rotateY(-180deg)}
.face{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:white;border-radius:1px 3px 3px 1px;border:1px solid #c1dbe4;box-shadow:inset 0 0 5px #113b4e30}
.face::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 12px 0 20px #0034511d,inset -3px 0 6px #00345110}
.face.back{transform:rotateY(180deg);border-radius:3px 1px 1px 3px}
.face.back::after{box-shadow:inset -12px 0 20px #00345122,inset 3px 0 6px #00345110}
.face img{width:100%;height:100%;object-fit:fill;display:block;pointer-events:none}
.blank-face{background:linear-gradient(115deg,#fff,#eaf8fc)}
.book-spine{position:absolute;pointer-events:none;top:0;bottom:0;left:calc(50% - 2px);width:5px;background:linear-gradient(90deg,#10374b24,#ffffff45,#082d441d);z-index:110;box-shadow:0 0 6px #0b293c40}
.mobile-book{position:absolute;inset:0;perspective:2000px;display:none}
.mobile-page,.mobile-flipper{position:absolute;inset:0;background:#fff;box-shadow:6px 6px 12px #00152245;border:1px solid #d0e2e9}
.mobile-page img,.mobile-flipper img{width:100%;height:100%;object-fit:fill;display:block;pointer-events:none}
.mobile-flipper{transform-origin:left center;transform-style:preserve-3d;backface-visibility:hidden;transition:transform var(--flip-duration) cubic-bezier(.5,.12,.18,1);pointer-events:none;display:none;z-index:2}
.mobile-flipper.visible{display:block}
.mobile-flipper.flipped{transform:rotateY(-180deg)}
.stage-hint{margin-top:13px;color:#8ec5d7;font-size:9px;letter-spacing:.18em;font-weight:750}
.stage-hint span{display:inline-block;transform:rotate(45deg);font-size:14px;vertical-align:middle;margin-left:3px}
.controls{max-width:850px;display:flex;justify-content:space-between;align-items:center;padding:15px 8px 0;gap:20px;margin:auto}
.pager{display:flex;align-items:center;gap:15px}
.circle-button{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;border:1px solid #d4e6ed;color:#166b8e;background:#fff;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s}
.circle-button.primary{background:#0f8eb8;color:white;border-color:#0f8eb8;box-shadow:0 4px 10px #177ca62b}
.circle-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #146b8d25}
.circle-button:disabled{opacity:.36;cursor:default}
.circle-button svg{width:20px;height:20px}
.page-status{display:flex;flex-direction:column;min-width:116px;line-height:1.3}
.page-status strong{font-size:14px;font-weight:800;white-space:nowrap}
.page-status span{color:#708996;font-size:11px;margin-top:3px}
.control-actions{display:flex;align-items:center;gap:9px}
.text-button{display:flex;align-items:center;gap:7px;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#3b677a;font-size:12px;font-weight:730;cursor:pointer;white-space:nowrap;transition:background .2s}
.text-button:hover,.text-button[aria-expanded="true"]{background:#e6f2f8;color:#0b729a}
.text-button svg{width:17px;height:17px}
.keyboard-hint{color:#91a6b0;font-size:11px;text-align:center;margin:9px 0 0}
kbd{background:#e8f1f5;border:1px solid #d8e5e9;border-radius:3px;padding:0 4px;color:#6a8693;font-size:11px}
.thumbnails{max-width:850px;margin:15px auto 0;padding:15px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap;border:1px solid #e0edf2;border-radius:14px;background:#fff}
.thumbnail{border:2px solid transparent;padding:6px;background:transparent;border-radius:9px;cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:6px;transition:background .18s,border-color .18s}
.thumbnail:hover{background:#eef8fc}
.thumbnail.is-active{background:#e6f5fb;border-color:#1595c0}
.thumbnail img{width:56px;aspect-ratio:var(--page-ratio);object-fit:contain;border:1px solid #d6e3e9;box-shadow:0 2px 7px #14485b24}
.thumbnail span{font-size:11px;font-weight:750;color:#446b80}
.site-footer{display:flex;justify-content:space-between;gap:12px;max-width:1450px;width:100%;padding:16px 35px 18px;margin:auto;color:#91a4ad;font-size:10px;letter-spacing:.035em}
.lightbox{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#041f30f5;color:white;overscroll-behavior:contain}
.lightbox-bar{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:17px max(20px,calc((100vw - 1100px)/2));background:#06293a;border-bottom:1px solid #ffffff1a}
.lightbox-kicker{font-size:9px;color:#69c1e0;letter-spacing:.22em;font-weight:750;margin-bottom:4px}
#lightboxTitle{font-size:15px;font-weight:790}
.lightbox-close{display:grid;place-items:center;border:1px solid #61869c80;border-radius:50%;background:transparent;color:#fff;width:36px;height:36px;cursor:pointer}
.lightbox-close svg{width:20px;height:20px}
.lightbox-content{display:grid;grid-template-columns:60px minmax(0,1fr) 60px;align-items:center;gap:10px;flex:1;min-height:0;padding:10px 14px}
.lightbox-image-wrap{height:100%;width:100%;min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:center;overscroll-behavior:contain}
.lightbox-image-wrap img{display:block;max-width:100%;width:auto;height:auto;max-height:none;object-fit:contain;box-shadow:0 6px 28px #0007;min-height:0;margin:auto}
.lightbox-arrow{justify-self:center;border:1px solid #6292a280;border-radius:50%;background:#ffffff16;color:white;cursor:pointer;width:43px;height:43px;font-size:31px;line-height:1}
.lightbox-arrow:disabled{opacity:.25;cursor:default}
.lightbox-footnote{font-size:11px;text-align:center;color:#9cc3ce;margin:5px 0 14px;flex-shrink:0}
body.modal-open{overflow:hidden}
.stage-shell:fullscreen{border-radius:0;height:100%;padding-top:17px}
.stage-shell:fullscreen .stage-caption{margin-bottom:10px}
@media(max-width:760px){
  .site-header{height:auto;min-height:78px;padding:13px 18px}
  .brand-mark{width:40px;height:40px}
  .brand-mark svg{width:27px;height:27px}
  .brand-kicker{font-size:8px;letter-spacing:.07em}
  .brand-title{font-size:14px}
  .header-download{padding:10px}
  .header-download span{display:none}
  .intro{padding:20px 20px 17px}
  .intro p{font-size:12px}
  .viewer{padding:0 12px}
  .stage-shell{border-radius:13px;min-height:370px;padding:18px 10px 15px}
  .stage-caption{font-size:9px;letter-spacing:.13em;margin-bottom:13px}
  .desktop-book{display:none}
  .mobile-book{display:block}
  .book-frame{filter:drop-shadow(7px 10px 11px #0005)}
  .stage-hint{font-size:8px}
  .controls{padding:15px 2px 0;flex-wrap:wrap;gap:7px}
  .pager{gap:9px}
  .circle-button{width:39px;height:39px}
  .page-status{min-width:99px}
  .page-status strong{font-size:13px}
  .page-status span{font-size:10px}
  .control-actions{gap:0}
  .text-button{gap:5px;font-size:11px;padding:9px 7px}
  .fullscreen-button{display:none}
  .keyboard-hint{margin-top:10px;font-size:10px}
  .site-footer{padding:18px;font-size:9px}
  .site-footer span:last-child{display:none}
  .lightbox-content{grid-template-columns:35px minmax(0,1fr) 35px;gap:3px;padding:8px 4px}
  .lightbox-arrow{width:31px;height:35px;font-size:25px}
  .lightbox-footnote{font-size:9px;padding:0 20px}
}
@media(max-width:370px){.control-actions .text-button{font-size:0;gap:0;padding:10px}.text-button svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){:root{--flip-duration:1ms}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:1ms!important}}
