/*==================================================
COMPLIANCEATLAS
INTERNATIONAL HUB — international.html

The hero, the "before any destination" passes, the
country explorer (tiles + summary panel, a bottom sheet
on phones), the key and the country index.
Behaviour: js/international.js. Data: js/internationaldata.js.

Loaded after main.css, jobrestrictions.css and travel.css,
before banners.css (which only sets the hero photograph).
Mobile first; wider layouts in the media queries at the end.
==================================================*/

@font-face{
font-family:"Fraunces";
src:url("/fonts/fraunces-latin.woff2") format("woff2");
font-weight:500 800;
font-style:normal;
font-display:swap;
}

.atlas-page{
--a-navy:#081A33;
--a-navy-2:#10284A;
--a-gold:#C9A227;
--a-gold-soft:#F3E7C2;
--a-paper:#FBF8F1;
--a-ink:#17233A;
--a-slate:#55637A;
--a-line:#E4DED0;
--a-restricted:#B4432E;
--a-restricted-bg:#FBEDE8;
--a-possible:#3F6A9A;
--a-possible-bg:#EAF0F7;
--a-ease:cubic-bezier(.2,.7,.2,1);
}

.atlas-display{
font-family:"Fraunces","Iowan Old Style","Palatino Linotype",Georgia,serif;
font-optical-sizing:auto;
font-weight:650;
letter-spacing:-.015em;
}

.atlas-sr{
position:absolute;width:1px;height:1px;padding:0;margin:-1px;
overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* main.css spaces every section; nested ones should not be. */
.atlas-page .atlas-explorer section,
.atlas-page .atlas-group{
margin-top:0;
}

.atlas-section-kicker{
display:inline-flex;
align-items:center;
gap:10px;
font-size:.78rem;
font-weight:800;
letter-spacing:.14em;
text-transform:uppercase;
color:#8A6A12;
margin:0 0 14px;
}

.atlas-section-kicker::before{
content:"";
width:28px;
height:2px;
background:var(--a-gold);
}

/*==================================================
BUTTONS
==================================================*/

.atlas-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
padding:13px 22px;
border-radius:999px;
font-weight:800;
font-size:.95rem;
text-decoration:none;
border:1.5px solid transparent;
transition:transform .18s var(--a-ease), background .18s, color .18s, border-color .18s, box-shadow .18s;
}

.atlas-btn:hover{ transform:translateY(-1px); }
.atlas-btn:active{ transform:translateY(1px); }
.atlas-btn:focus-visible{ outline:3px solid var(--a-gold); outline-offset:3px; }

.atlas-btn-gold{
background:var(--a-gold);
color:var(--a-navy);
box-shadow:0 8px 22px -10px rgba(201,162,39,.8);
}
.atlas-btn-gold:hover{ background:#D8B23A; }

.atlas-btn-ghost{
color:#fff;
border-color:rgba(255,255,255,.45);
background:rgba(8,26,51,.25);
}
.atlas-btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,.08); }

.atlas-btn-ink{
background:var(--a-navy);
color:#fff;
}

/*==================================================
HERO
==================================================*/

.atlas-hero{
padding:64px 0 56px;
text-align:left;
}

.atlas-hero .container.atlas-hero-inner{
display:grid;
gap:40px;
text-align:left;
}

.atlas-hero .hero-text{ margin-left:0; margin-right:0; }

.atlas-eyebrow{
display:inline-block;
padding:6px 14px;
border:1px solid rgba(201,162,39,.55);
border-radius:999px;
color:var(--a-gold);
font-size:.75rem;
font-weight:800;
letter-spacing:.14em;
text-transform:uppercase;
margin-bottom:22px;
animation:atlasRise .6s var(--a-ease) both;
}

.atlas-hero h1.atlas-display{
font-size:clamp(2.4rem, 6.2vw, 4.6rem);
line-height:1.02;
margin:0 0 22px;
max-width:12ch;
color:#fff;
animation:atlasRise .7s .05s var(--a-ease) both;
}

.atlas-hero .hero-text{
max-width:58ch;
margin:0;
font-size:1.06rem;
line-height:1.75;
animation:atlasRise .7s .12s var(--a-ease) both;
}

.atlas-hero-actions{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:30px;
animation:atlasRise .7s .18s var(--a-ease) both;
}

.atlas-stats{
display:grid;
grid-template-columns:repeat(2, minmax(0,1fr));
gap:1px;
margin:0;
background:rgba(201,162,39,.35);
border:1px solid rgba(201,162,39,.35);
border-radius:18px;
overflow:hidden;
align-self:end;
animation:atlasRise .8s .25s var(--a-ease) both;
}

.atlas-stats > div{
background:rgba(8,26,51,.72);
padding:18px 20px 16px;
backdrop-filter:blur(4px);
-webkit-backdrop-filter:blur(4px);
}

.atlas-stats dt{
font-size:.72rem;
font-weight:700;
letter-spacing:.1em;
text-transform:uppercase;
color:rgba(255,255,255,.72);
}

.atlas-stats dd{
margin:6px 0 0;
font-family:"Fraunces",Georgia,serif;
font-weight:600;
font-size:2.4rem;
line-height:1;
color:var(--a-gold);
font-variant-numeric:lining-nums tabular-nums;
}

@keyframes atlasRise{
from{ opacity:0; transform:translateY(14px); }
to{ opacity:1; transform:none; }
}

/*==================================================
BEFORE ANY DESTINATION
==================================================*/

.atlas-before .container{ padding-top:8px; }

.atlas-before-grid{
display:grid;
gap:16px;
}

.atlas-pass{
position:relative;
display:grid;
grid-template-columns:auto 1fr;
gap:20px;
align-items:start;
padding:24px 24px 22px;
border-radius:20px;
background:var(--a-paper);
border:1px solid var(--a-line);
color:var(--a-ink);
text-decoration:none;
overflow:hidden;
transition:transform .2s var(--a-ease), box-shadow .2s, border-color .2s;
}

/* the perforated stub edge of a boarding pass */
.atlas-pass::after{
content:"";
position:absolute;
top:16px;
bottom:16px;
left:104px;
border-left:2px dashed var(--a-line);
}

.atlas-pass:hover{
transform:translateY(-3px);
border-color:#D9C68E;
box-shadow:0 18px 40px -24px rgba(8,26,51,.45);
}

.atlas-pass:focus-visible{ outline:3px solid var(--a-gold); outline-offset:3px; }

.atlas-pass-num{
width:72px;
display:flex;
flex-direction:column;
align-items:center;
font-family:"Fraunces",Georgia,serif;
font-weight:700;
font-size:2.6rem;
line-height:1;
color:var(--a-navy);
}

.atlas-pass-num small{
margin-top:6px;
font-family:inherit;
font-size:.68rem;
font-weight:800;
letter-spacing:.14em;
text-transform:uppercase;
color:#8A6A12;
font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}

.atlas-pass-sea .atlas-pass-num{ color:var(--a-possible); }

.atlas-pass-body{
display:flex;
flex-direction:column;
gap:8px;
padding-left:12px;
}

.atlas-pass-body strong{
font-family:"Fraunces",Georgia,serif;
font-size:1.3rem;
font-weight:650;
line-height:1.2;
color:var(--a-navy);
}

.atlas-pass-body > span{
color:var(--a-slate);
line-height:1.6;
font-size:.95rem;
}

.atlas-pass-body .atlas-pass-cta{
margin-top:4px;
font-weight:800;
color:var(--a-navy);
font-size:.92rem;
}

.atlas-pass:hover .atlas-pass-cta span{ display:inline-block; transform:translateX(3px); transition:transform .2s; }

@media (max-width:559px){
.atlas-pass{ grid-template-columns:1fr; gap:12px; padding:20px; }
.atlas-pass::after{ display:none; }
.atlas-pass-num{ width:auto; flex-direction:row; align-items:baseline; gap:8px; font-size:2rem; }
.atlas-pass-num svg{ width:34px; height:34px; }
.atlas-pass-body{ padding-left:0; }
}

/*==================================================
EXPLORER
==================================================*/

.atlas-explorer-head{
display:grid;
gap:12px;
margin-bottom:22px;
}

.atlas-explorer-head h2{
font-size:clamp(2rem, 4vw, 2.8rem);
line-height:1.05;
margin:0;
color:var(--a-navy);
}

.atlas-explorer-head p{
margin:0;
max-width:60ch;
color:var(--a-slate);
line-height:1.7;
}

.atlas-toolbar{
position:relative;
z-index:20;
display:grid;
gap:12px;
padding:14px;
margin:0 -14px 6px;
border-radius:18px;
background:rgba(251,248,241,.94);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
border:1px solid var(--a-line);
box-shadow:0 10px 30px -24px rgba(8,26,51,.5);
}

.atlas-toolbar[hidden]{ display:none; }

.atlas-search{
position:relative;
}

.atlas-search svg{
position:absolute;
left:16px;
top:50%;
transform:translateY(-50%);
color:var(--a-slate);
pointer-events:none;
}

.atlas-search input{
width:100%;
padding:13px 16px 13px 44px;
border-radius:999px;
border:1.5px solid var(--a-line);
background:#fff;
font:inherit;
font-size:1rem;
color:var(--a-ink);
transition:border-color .15s, box-shadow .15s;
}

.atlas-search input:focus{
outline:none;
border-color:var(--a-gold);
box-shadow:0 0 0 4px rgba(201,162,39,.2);
}

.atlas-regions,
.atlas-filters{
display:flex;
gap:8px;
overflow-x:auto;
scrollbar-width:none;
-webkit-overflow-scrolling:touch;
padding-bottom:2px;
}
.atlas-regions::-webkit-scrollbar,
.atlas-filters::-webkit-scrollbar{ display:none; }

.atlas-region,
.atlas-toggle{
flex:0 0 auto;
display:inline-flex;
align-items:center;
gap:8px;
padding:9px 15px;
border-radius:999px;
border:1.5px solid var(--a-line);
background:#fff;
color:var(--a-ink);
font:inherit;
font-size:.88rem;
font-weight:700;
cursor:pointer;
transition:background .15s, color .15s, border-color .15s, transform .15s;
}

.atlas-region span{
font-size:.75rem;
padding:2px 7px;
border-radius:999px;
background:#F1ECE0;
color:var(--a-slate);
}

.atlas-region:hover,
.atlas-toggle:hover{ border-color:#CDBB86; }
.atlas-region:active,
.atlas-toggle:active{ transform:scale(.97); }
.atlas-region:focus-visible,
.atlas-toggle:focus-visible{ outline:3px solid var(--a-gold); outline-offset:2px; }

.atlas-region[aria-pressed="true"]{
background:var(--a-navy);
border-color:var(--a-navy);
color:#fff;
}
.atlas-region[aria-pressed="true"] span{ background:var(--a-gold); color:var(--a-navy); }

.atlas-toggle[aria-pressed="true"]{
background:var(--a-gold-soft);
border-color:var(--a-gold);
}

.atlas-dot{
display:inline-block;
width:9px;
height:9px;
border-radius:50%;
flex:0 0 auto;
}
.atlas-dot.is-restricted{ background:var(--a-restricted); }
.atlas-dot.is-possible{ background:var(--a-possible); }
.atlas-dot.is-full{ background:var(--a-gold); }

.atlas-status{
margin:14px 2px 12px;
font-size:.85rem;
font-weight:700;
color:var(--a-slate);
letter-spacing:.02em;
}

.atlas-layout{
display:grid;
gap:24px;
align-items:start;
}

.atlas-group + .atlas-group{ margin-top:26px; }

.atlas-group-title{
display:flex;
align-items:baseline;
gap:10px;
margin:0 0 12px;
font-family:"Fraunces",Georgia,serif;
font-weight:650;
font-size:1.25rem;
color:var(--a-navy);
}

.atlas-group-title span{
font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
font-size:.78rem;
font-weight:800;
color:#8A6A12;
}

.atlas-tiles{
display:grid;
grid-template-columns:repeat(2, minmax(0,1fr));
gap:10px;
}

.atlas-tile{
--tone:var(--a-possible);
position:relative;
display:flex;
flex-direction:column;
align-items:flex-start;
gap:5px;
min-height:132px;
padding:14px 14px 14px 16px;
border-radius:16px;
border:1.5px solid var(--a-line);
background:#fff;
color:var(--a-ink);
font:inherit;
text-align:left;
cursor:pointer;
overflow:hidden;
transition:transform .18s var(--a-ease), box-shadow .18s, border-color .18s, background .18s;
animation:atlasTile .45s calc(var(--i, 0) * 18ms) var(--a-ease) both;
}

.atlas-tile.is-restricted{ --tone:var(--a-restricted); }

.atlas-tile::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:4px;
background:var(--tone);
}

.atlas-tile:hover{
transform:translateY(-2px);
border-color:#D5C79E;
box-shadow:0 14px 28px -20px rgba(8,26,51,.55);
}

.atlas-tile:active{ transform:translateY(0) scale(.985); }
.atlas-tile:focus-visible{ outline:3px solid var(--a-gold); outline-offset:2px; }

.atlas-tile[aria-pressed="true"]{
background:var(--a-navy);
border-color:var(--a-navy);
color:#fff;
box-shadow:0 18px 34px -20px rgba(8,26,51,.8);
}

.atlas-tile-code{
position:absolute;
right:10px;
bottom:6px;
font-family:"Fraunces",Georgia,serif;
font-weight:700;
font-size:2.3rem;
line-height:1;
letter-spacing:.02em;
color:transparent;
-webkit-text-stroke:1.2px rgba(8,26,51,.16);
transition:-webkit-text-stroke-color .18s;
}

.atlas-tile[aria-pressed="true"] .atlas-tile-code{ -webkit-text-stroke-color:rgba(201,162,39,.6); }

.atlas-tile-name{
font-family:"Fraunces",Georgia,serif;
font-weight:650;
font-size:1.12rem;
line-height:1.2;
}

.atlas-tile-entry{
display:inline-flex;
align-items:center;
gap:7px;
font-size:.8rem;
font-weight:700;
}

.atlas-tile-reg{
font-size:.76rem;
color:var(--a-slate);
line-height:1.35;
}

.atlas-tile[aria-pressed="true"] .atlas-tile-reg{ color:rgba(255,255,255,.72); }

.atlas-tile-full{
margin-top:auto;
padding:3px 9px;
border-radius:999px;
font-size:.66rem;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase;
background:var(--a-gold-soft);
color:#6F5410;
}

.atlas-tile[aria-pressed="true"] .atlas-tile-full{ background:var(--a-gold); color:var(--a-navy); }

@keyframes atlasTile{
from{ opacity:0; transform:translateY(8px); }
to{ opacity:1; transform:none; }
}

.atlas-empty{
padding:40px 24px;
border:2px dashed var(--a-line);
border-radius:18px;
text-align:center;
color:var(--a-slate);
}
.atlas-empty p{ margin:0 0 16px; font-weight:700; }
.atlas-empty .atlas-btn{ border:0; cursor:pointer; font:inherit; font-weight:800; }

.atlas-noscript{ color:var(--a-slate); }

/*--------------------------------------------------
PANEL — side column on desktop, bottom sheet on phones
--------------------------------------------------*/

.atlas-panel{
display:none;
}

.atlas-panel.is-open{
display:flex;
align-items:flex-end;
position:fixed;
inset:0;
z-index:10000;
background:rgba(8,26,51,.55);
backdrop-filter:blur(2px);
-webkit-backdrop-filter:blur(2px);
animation:atlasFade .2s ease both;
}

.atlas-panel.is-open .atlas-card{
width:100%;
max-height:86vh;
max-height:86dvh;
overflow-y:auto;
overscroll-behavior:contain;
border-radius:24px 24px 0 0;
animation:atlasSheet .32s var(--a-ease) both;
}

html.atlas-locked,
html.atlas-locked body{ overflow:hidden; }

@keyframes atlasFade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes atlasSheet{ from{ transform:translateY(40px); opacity:.4; } to{ transform:none; opacity:1; } }

.atlas-card{
--tone:var(--a-possible);
--tone-bg:var(--a-possible-bg);
position:relative;
padding:26px 22px 22px;
background:#fff;
border:1px solid var(--a-line);
border-radius:22px;
box-shadow:0 30px 60px -40px rgba(8,26,51,.6);
}

.atlas-card.is-restricted{ --tone:var(--a-restricted); --tone-bg:var(--a-restricted-bg); }

.atlas-card::before{
content:"";
position:absolute;
left:22px;
right:22px;
top:0;
height:4px;
border-radius:0 0 4px 4px;
background:var(--tone);
}

.atlas-close{
position:absolute;
right:14px;
top:14px;
width:38px;
height:38px;
border-radius:50%;
border:1px solid var(--a-line);
background:#fff;
font-size:1.5rem;
line-height:1;
color:var(--a-ink);
cursor:pointer;
}
.atlas-close:focus-visible{ outline:3px solid var(--a-gold); outline-offset:2px; }

.atlas-card-head{
display:flex;
gap:16px;
align-items:center;
padding-right:40px;
}

.atlas-stamp{
flex:0 0 auto;
display:grid;
place-items:center;
width:62px;
height:62px;
border-radius:50%;
border:2px solid var(--tone);
color:var(--tone);
font-family:"Fraunces",Georgia,serif;
font-weight:700;
font-size:1.3rem;
letter-spacing:.04em;
box-shadow:inset 0 0 0 4px #fff, inset 0 0 0 5px var(--tone);
transform:rotate(-8deg);
}

.atlas-card h3{
margin:0;
font-size:clamp(1.7rem, 3vw, 2.2rem);
line-height:1.05;
color:var(--a-navy);
}
.atlas-card h3:focus{ outline:none; }

.atlas-card-meta{
margin:6px 0 0;
font-size:.82rem;
color:var(--a-slate);
}

.atlas-badges{
display:flex;
flex-wrap:wrap;
gap:6px;
margin:18px 0 6px;
}

.atlas-badge{
padding:5px 11px;
border-radius:999px;
font-size:.76rem;
font-weight:800;
}
.atlas-badge.is-restricted{ background:var(--a-restricted-bg); color:var(--a-restricted); }
.atlas-badge.is-possible{ background:var(--a-possible-bg); color:var(--a-possible); }
.atlas-badge.is-entry{ background:#F4EFE3; color:#5E4A12; }
.atlas-badge.is-registry{ background:#EEF1F5; color:#3A475C; }

.atlas-facts{
margin:12px 0 0;
}

.atlas-facts > div{
padding:14px 0;
border-top:1px solid #EEE9DD;
}

.atlas-facts dt{
display:flex;
align-items:center;
gap:8px;
font-size:.74rem;
font-weight:800;
letter-spacing:.12em;
text-transform:uppercase;
color:#8A6A12;
margin-bottom:6px;
}

.atlas-facts dt svg{ color:var(--a-navy); }

.atlas-facts dd{
margin:0;
color:var(--a-ink);
line-height:1.65;
font-size:.96rem;
}

.atlas-notes,
.atlas-sources{
margin-top:10px;
padding:14px 16px;
border-radius:14px;
background:var(--a-paper);
}

.atlas-notes h4,
.atlas-sources h4{
margin:0 0 8px;
font-size:.74rem;
font-weight:800;
letter-spacing:.12em;
text-transform:uppercase;
color:var(--a-slate);
}

.atlas-notes ul,
.atlas-sources ul{
margin:0;
padding-left:18px;
}

.atlas-notes li,
.atlas-sources li{
margin:4px 0;
line-height:1.55;
font-size:.9rem;
color:var(--a-ink);
}

.atlas-sources a{
color:#1D4E89;
text-underline-offset:2px;
}

.atlas-card-cta{
width:100%;
margin-top:18px;
}

.atlas-step{
display:flex;
justify-content:space-between;
gap:10px;
margin-top:12px;
}

.atlas-step button{
border:0;
background:none;
padding:8px 4px;
font:inherit;
font-size:.85rem;
font-weight:700;
color:var(--a-slate);
cursor:pointer;
}
.atlas-step button:hover{ color:var(--a-navy); }
.atlas-step button:focus-visible{ outline:2px solid var(--a-gold); border-radius:6px; }

/*==================================================
KEY
==================================================*/

.atlas-key-grid{
display:grid;
gap:12px;
}

.atlas-key-item{
position:relative;
padding:20px 20px 18px 56px;
border-radius:16px;
background:#fff;
border:1px solid var(--a-line);
}

.atlas-key-item h3{
margin:0 0 6px;
font-family:"Fraunces",Georgia,serif;
font-weight:650;
font-size:1.1rem;
color:var(--a-navy);
}

.atlas-key-item p{
margin:0;
color:var(--a-slate);
line-height:1.6;
font-size:.92rem;
}

.atlas-key-swatch{
position:absolute;
left:20px;
top:23px;
width:20px;
height:20px;
border-radius:6px;
}
.atlas-key-swatch.is-restricted{ background:var(--a-restricted); }
.atlas-key-swatch.is-possible{ background:var(--a-possible); }
.atlas-key-swatch.is-registry{ background:#EEF1F5; border:2px solid #3A475C; }
.atlas-key-swatch.is-depth{ background:var(--a-gold); }

/*==================================================
COUNTRY INDEX (INTL:LINKS, generated)
==================================================*/

.atlas-index .country-index-list{
columns:1;
column-gap:32px;
padding:0;
margin:18px 0 0;
list-style:none;
}

.atlas-index .country-index-list li{
break-inside:avoid;
padding:9px 0;
border-bottom:1px solid #EEE9DD;
display:flex;
justify-content:space-between;
align-items:baseline;
gap:12px;
}

.atlas-index .country-index-list a{
font-weight:700;
color:var(--a-navy);
text-decoration:none;
}
.atlas-index .country-index-list a:hover{ text-decoration:underline; text-decoration-color:var(--a-gold); text-underline-offset:3px; }

.atlas-index .country-index-list small{
color:var(--a-slate);
font-size:.76rem;
text-align:right;
}

/*==================================================
WIDER SCREENS
==================================================*/

@media (min-width:560px){
.atlas-tiles{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.atlas-stats{ grid-template-columns:repeat(4, minmax(0,1fr)); }
.atlas-index .country-index-list{ columns:2; }
.atlas-key-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

@media (min-width:900px){

.atlas-hero{ padding:88px 0 72px; }

.atlas-hero-inner{
grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);
align-items:end;
gap:56px;
}

.atlas-stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }

.atlas-before-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }

.atlas-explorer-head{
grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
align-items:end;
gap:40px;
}

.atlas-toolbar{
position:sticky;
top:78px;
grid-template-columns:minmax(220px,1fr) auto;
grid-template-areas:"search filters" "regions regions";
align-items:center;
}
.atlas-search{ grid-area:search; }
.atlas-filters{ grid-area:filters; }
.atlas-regions{ grid-area:regions; }

.atlas-layout{
grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);
gap:28px;
}

.atlas-tiles{ grid-template-columns:repeat(3, minmax(0,1fr)); }

.atlas-panel{
display:block;
position:sticky;
top:236px;
max-height:calc(100vh - 252px);
overflow-y:auto;
overscroll-behavior:contain;
border-radius:22px;
scrollbar-width:thin;
}

.atlas-close{ display:none; }

.atlas-card{ animation:atlasFade .25s ease both; }

.atlas-index .country-index-list{ columns:3; }
.atlas-key-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}

@media (min-width:1560px){
.atlas-tiles{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}

@media (prefers-reduced-motion:reduce){
.atlas-page *,
.atlas-page *::before,
.atlas-page *::after{
animation:none !important;
transition:none !important;
}
}

@media print{
.atlas-toolbar,
.atlas-explorer,
.atlas-hero-actions{ display:none !important; }
}
