/* V16 / Porcelain & Champagne — shared across all pages. */
body.pt-refined::before,body.pt-refined[data-current-view="home"]::before{background:radial-gradient(ellipse at 5% 7%,#fff 0%,transparent 55%),radial-gradient(ellipse at 96% 28%,#c9dded 0%,transparent 54%),radial-gradient(ellipse at 85% 98%,#e8ddc4a0,transparent 46%),linear-gradient(145deg,#fafcfe,#edf3f9 68%,#dce8f3)!important;}
body.pt-refined :is(h1,h2,h3)[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important;}
body.pt-refined :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid #386b99!important;outline-offset:3px!important;}
body.pt-refined .pt16-landing{max-width:1280px!important;width:calc(100% - 96px)!important;margin:0 auto!important;padding:clamp(38px,6vh,86px) 0 42px!important;}
.pt16-hero{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(25px,5vw,85px);align-items:center;}
.pt16-copy{min-width:0;}
body.pt-refined .pt16-kicker{font-size:11px!important;letter-spacing:.18em!important;font-weight:650!important;color:#80602e!important;margin:0 0 20px!important;}
body.pt-refined #view-home .pt16-landing #ptHomeHeadline{font-family:var(--pt-font)!important;font-size:clamp(40px,4.6vw,72px)!important;font-weight:630!important;letter-spacing:-.055em!important;line-height:1.04!important;color:#172e4b!important;margin:0 0 22px!important;max-width:none!important;border:0!important;text-shadow:none!important;outline:none!important;}
body.pt-refined #view-home .pt16-landing #ptHomeHeadline em{font-style:normal;color:#386b99!important;}
body.pt-refined #ptHomeDescription{font-size:clamp(16px,1.3vw,19px)!important;line-height:1.65!important;color:#405873!important;max-width:56ch;margin:0 0 24px!important;}
.pt16-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;}
body.pt-refined #pt16Start{border-radius:13px!important;min-height:53px!important;padding:13px 22px!important;font-size:15px!important;}
body.pt-refined #pt16Resources{font-size:14px;font-weight:600;color:#294c72!important;text-decoration:none!important;}
body.pt-refined #pt16Resources:hover{text-decoration:underline!important;text-underline-offset:4px;}
.pt16-brand-stage{position:relative;display:grid;place-items:center;min-height:290px;isolation:isolate;}
.pt16-brand-stage::before{content:"";position:absolute;inset:10% 5%;border-radius:50%;background:radial-gradient(ellipse,#fff9 15%,#b5cfe68c 55%,transparent 74%);filter:blur(16px);z-index:-1;}
.pt16-brand-glass{width:95%;aspect-ratio:1.7;display:grid;place-items:center;border:1px solid #fff9;border-top-color:white;border-radius:28px;background:linear-gradient(145deg,#ffffffda,#edf5fbb5 62%,#d4e4f29c);box-shadow:inset 0 1px 1px white,inset 0 -2px 6px #9fb6cf25,0 1px 0 #b6c8da,0 28px 54px -32px #244c7470;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.pt16-brand-glass img{width:78%;height:auto;max-height:90%;object-fit:contain;filter:drop-shadow(0 3px 4px #203b6016);}
.pt16-brand-caption{font-size:12px;letter-spacing:.045em;color:#56708a;margin-top:18px;text-align:center;}
.pt16-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:40px;}
.pt16-stats>div{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:20px 24px;border:1px solid #ffffffce;border-bottom-color:#c8d6e4;border-radius:16px;background:linear-gradient(145deg,#fffffff0,#f1f6fbdd);box-shadow:0 8px 22px -17px #213c6250,inset 0 1px 0 #fff;}
.pt16-stats strong{font-size:clamp(29px,3vw,43px);font-weight:620;letter-spacing:-.055em;color:#203e64;line-height:1;}
.pt16-stats span{font-size:13px;line-height:1.4;color:#516982;}
body.pt-refined #view-home .atlas.mission-play#pt16CountrySection{display:grid!important;grid-template-columns:1fr!important;gap:24px!important;max-width:1280px!important;width:calc(100% - 96px)!important;min-height:0!important;margin:0 auto!important;padding:36px 0 54px!important;overflow:visible!important;border-top:1px solid #b9cddd88;scroll-margin-top:110px;}
body.pt-refined #pt16CountrySection>div:first-of-type{max-width:none!important;position:relative!important;z-index:1!important;}
body.pt-refined #pt16CountrySection #atlasTitle{font-family:var(--pt-font)!important;font-size:clamp(28px,3.3vw,43px)!important;letter-spacing:-.045em!important;margin:12px 0 8px!important;}
body.pt-refined #pt16CountrySection #missionStory{max-width:75ch!important;margin-bottom:12px!important;}
body.pt-refined #pt16CountrySection .pb-country-entry{max-width:none!important;margin:0!important;}
body.pt-refined #pt16CountrySection .pt-thread-figure,body.pt-refined #pt16CountrySection .pt-path-cue,body.pt-refined #pt16CountrySection .pt-hero-evidence,body.pt-refined #pt16CountrySection .atlas-map::before,body.pt-refined #pt16CountrySection #atlasBall{display:none!important;}
body.pt-refined #pt16CountrySection .atlas-map{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:0!important;width:100%!important;max-width:none!important;gap:8px!important;padding:0!important;margin:0!important;transform:none!important;}
.pt16-map-frame{width:100%;padding:clamp(10px,2.4vw,25px);background:linear-gradient(150deg,#ffffffef,#e7f0f9e8);border:1px solid white;border-bottom-color:#bacddd;border-radius:25px;box-shadow:inset 0 1px 0 white,0 18px 40px -24px #294c7460;box-sizing:border-box;}
#pt16WorldMap{display:block;width:100%;height:auto;max-height:560px;overflow:visible;}
#pt16WorldMap .pt16-grid{stroke:#aec6da;stroke-width:.7;opacity:.5;fill:none;pointer-events:none;}
#pt16WorldMap .pt16-land{fill:#b8cddd;stroke:#7697b2;stroke-width:.55;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
#pt16WorldMap .pt16-country-active{fill:#dfc58e;stroke:#9b783f;stroke-width:.85;cursor:pointer;transform-box:fill-box;transform-origin:center;transition:fill .2s,stroke .2s,filter .2s,transform .25s cubic-bezier(.2,.8,.2,1);}
#pt16WorldMap .pt16-country-active:is(:hover,:focus-visible){fill:#f4dfad;stroke:#8a602b;stroke-width:1.5;filter:drop-shadow(0 2px 3px #8e6e3d55);transform:scale(1.025);outline:none;}
#pt16WorldMap .pt16-country-active:focus-visible{stroke:#234c78;stroke-width:2.5;}
#pt16WorldMap .pt16-country-active.pt16-map-pressed{animation:pt16-map-bounce .23s ease both;fill:#f7e6bd;}
#pt16WorldMap .pt16-marker{stroke-width:1.5;stroke:#fff;}
@keyframes pt16-map-bounce{0%{transform:scale(1.025)}35%{transform:scale(.97)}75%{transform:scale(1.045)}100%{transform:scale(1)}}
.pt16-map-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:6px 6px 3px;}
.pt16-map-legend,.pt16-country-picker{display:flex;align-items:center;gap:9px;color:#425b74;font-size:13px;}
.pt16-map-legend i{width:12px;height:12px;border-radius:3px;background:#dfc58e;border:1px solid #9b783f;}
body.pt-refined #pt16CountrySelect{background:#fff!important;color:#203e64!important;border:1px solid #afc4d9!important;border-radius:9px!important;min-height:42px;padding:8px 26px 8px 12px!important;max-width:100%;}
body.pt-refined #pt16CountrySection #atlasCaption{min-height:24px;font-size:15px!important;}
body.pt-refined #pt16CountrySection .atlas-map>small{font-size:12px!important;text-align:center!important;}
/* Privacy controls stay accessible, but look like ordinary footer text. */
body.pt-refined footer #ptAnalyticsSettings:not([hidden]),body.pt-refined footer #ptAnalyticsSettings:not([hidden]):is(:hover,:active,:focus-visible){display:inline!important;appearance:none!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;translate:none!important;transform:none!important;min-height:0!important;padding:2px 0!important;margin:0!important;font:inherit!important;font-size:inherit!important;color:inherit!important;text-decoration:none!important;line-height:inherit!important;}
body.pt-refined footer #ptAnalyticsSettings:hover{text-decoration:underline!important;text-underline-offset:3px!important;}
/* Button press is animated with the independent scale property, preserving existing positioning. */
body.pt-refined .pt16-click-feedback{animation:pt16-click .25s cubic-bezier(.22,.85,.25,1) both!important;}
@keyframes pt16-click{0%{scale:1}26%{scale:.963}69%{scale:1.014}100%{scale:1}}
body.pt-refined #view-project .pbp-choice{transition:translate .24s,box-shadow .24s,background .22s,border-color .22s!important;}
@media(max-width:850px){.pt16-hero{grid-template-columns:1fr .7fr;gap:20px}.pt16-brand-stage{min-height:190px}.pt16-stats>div{padding:16px}.pt16-stats{gap:9px}.pt16-landing{padding-top:30px!important}}
@media(max-width:640px){body.pt-refined .pt16-landing,body.pt-refined #view-home .atlas.mission-play#pt16CountrySection{width:calc(100% - 36px)!important;}.pt16-hero{grid-template-columns:1fr;gap:20px}.pt16-brand-stage{min-height:0;max-width:310px;margin:auto;width:100%}.pt16-brand-glass{border-radius:20px;aspect-ratio:2.2}.pt16-brand-caption{margin-top:8px}.pt16-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}.pt16-stats>div{padding:15px}.pt16-map-frame{padding:8px;border-radius:17px}.pt16-map-controls{padding:8px 3px}.pt16-country-picker{flex-wrap:wrap;width:100%}.pt16-country-picker select{flex:1;min-width:130px}.pt16-actions{gap:12px 18px}.pt16-map-legend{font-size:12px}}
@media(prefers-reduced-motion:reduce){body.pt-refined .pt16-click-feedback,#pt16WorldMap .pt16-country-active.pt16-map-pressed{animation:none!important;}#pt16WorldMap .pt16-country-active{transition:none!important;transform:none!important;}}
@media print{.pt16-actions,.pt16-brand-stage,.pt16-map-controls{display:none!important;}}
body.pt-refined #view-home .pt16-landing #ptHomeHeadline em{font-family:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important;}
body.pt-refined #view-home .atlas.mission-play#pt16CountrySection{scroll-margin-top:0;gap:14px!important;padding-top:26px!important;}
body.pt-refined #pt16CountrySection .pb-country-hint{margin-bottom:4px!important;}
body.pt-refined #pt16CountrySection .pb-country-entry>small{max-width:none!important;}
#pt16WorldMap{max-height:460px;}
@media(max-width:640px){#pt16WorldMap{max-height:none;}}
