/* Extra pages (/map, /sell, /activate, /trade-map, /faq): same paper, type and road as the homepage, built from short blocks. */
.nav nav a.on{color:var(--blue)}
.xp{display:flex; flex-direction:column; gap:clamp(48px,7vw,88px); padding-bottom:clamp(56px,8vw,96px)}
.xp-crumbs{display:flex; gap:10px; align-items:center; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); padding-top:22px}
.xp-crumbs a{text-decoration:none} .xp-crumbs a:hover{color:var(--blue)}
html[dir="rtl"] .xp-crumbs{font-family:var(--sans); text-transform:none; letter-spacing:0; font-size:14px}
.eyebrow{font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--blue); margin:0; font-weight:500}
html[dir="rtl"] .eyebrow{font-family:var(--sans); letter-spacing:0; text-transform:none; font-size:14px}

/* hero: a short stretch of road with the van and a destination sign */
.xp-hero{display:flex; flex-direction:column; align-items:flex-start; gap:18px; margin-top:-24px}
.xp-road{position:relative; width:100%; height:64px; display:flex; align-items:center; justify-content:flex-end; gap:20px; padding-inline:4px 28px; margin-bottom:8px; overflow:hidden}
.xp-road::before{content:""; position:absolute; inset-inline:0; top:50%; height:30px; margin-top:-15px; border-radius:15px; background:var(--asphalt)}
.xp-road::after{content:""; position:absolute; inset-inline:18px; top:50%; height:2px; margin-top:-1px; background:repeating-linear-gradient(to right, var(--lane) 0 16px, transparent 16px 34px)}
/* the van drives in and parks just before the sign, never behind it */
.xp-van{position:relative; flex:none; width:58px; height:38px; z-index:2; animation:xpDrive 1.6s cubic-bezier(.25,.7,.25,1) both}
.xp-van svg{width:100%; height:100%; display:block; filter:drop-shadow(0 3px 4px rgba(0,0,0,.25))}
html[dir="rtl"] .xp-van svg{transform:scaleX(-1)}
@keyframes xpDrive{from{transform:translateX(-110vw)} to{transform:none}}
@keyframes xpDriveRtl{from{transform:translateX(110vw)} to{transform:none}}
html[dir="rtl"] .xp-van{animation-name:xpDriveRtl}
.xp-road .dest{position:relative; inset:auto; width:auto; flex:none; z-index:3; display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 16px; border-radius:8px; background:#1F6B45; color:#fff; border:2px solid #fff; box-shadow:0 0 0 2px #1F6B45; min-width:150px}
.xp-road .dest .ar{font:700 17px/1.2 'Noto Naskh Arabic', serif}
.xp-road .dest .en{font:500 13px/1.2 var(--mono); display:flex; align-items:center; gap:6px; letter-spacing:.04em}
html[dir="rtl"] .xp-road .dest .en svg{transform:scaleX(-1)}
.xp-hero h1{margin:0; font:400 clamp(40px,5.4vw,80px)/.98 var(--serif); letter-spacing:-.02em; max-width:17em}
html[dir="rtl"] .xp-hero h1{font-weight:700; line-height:1.3; letter-spacing:0}
.xp-intro{margin:0; font-size:clamp(17px,1.5vw,20px); color:var(--ink-2); max-width:40em}
.xp-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:6px}
.ghost-pill{display:inline-flex; align-items:center; padding:12px 22px; border-radius:999px; border:1px solid var(--ink); text-decoration:none; font-size:15px; transition:background .2s, color .2s}
.ghost-pill:hover{background:var(--ink); color:var(--paper)}
.xp-countries{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px}
.xp-countries .mono{font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); margin-inline-end:4px}
html[dir="rtl"] .xp-countries .mono{font-family:var(--sans); text-transform:none; letter-spacing:0; font-size:13px}
.xp-chip{display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; background:var(--card); border:1px solid var(--line); font-size:14px}
.xp-chip::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--go)}
.xp-note{flex-basis:100%; font-size:13px; color:var(--ink-2)}
mark.confirm{background:#FFE58A; color:#3A2E00; padding:1px 4px; border-radius:4px; font-family:var(--mono); font-size:.85em; -webkit-box-decoration-break:clone; box-decoration-break:clone}

/* photos: one large, two small, captions in the corner like the homepage window */
.xp-photos{display:grid; grid-template-columns:2fr 1fr; grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px; height:clamp(320px,42vw,560px)}
.xp-photos figure{position:relative; margin:0; border-radius:16px; overflow:hidden; background:var(--sea); min-height:0}
.xp-photos figure.big{grid-row:1 / span 2}
.xp-photos img{width:100%; height:100%; object-fit:cover}
.xp-photos figure.contain img{object-fit:contain; background:#fff}
.xp-photos figcaption{position:absolute; inset-inline-start:12px; bottom:12px; max-width:calc(100% - 24px); background:var(--paper); color:var(--ink); border-radius:999px; padding:6px 12px; font-size:13px; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.xp-photos figure:only-child{grid-column:1 / -1}

/* what's included: stops along the route */
.xp-incl{display:flex; flex-direction:column; gap:16px}
.xp-stops{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px}
.xp-stops li{display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-radius:14px; background:var(--card); border:1px solid var(--line); font-size:16px; line-height:1.3; font-weight:500}
.xp-stops .mono{font-size:11px; color:var(--blue); letter-spacing:.08em}

/* Trade Map: the big number and three facts */
.xp-figure{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:24px 40px; align-items:end}
.xp-big{display:flex; flex-direction:column; gap:6px}
.xp-big b{font:400 clamp(72px,10vw,150px)/.85 var(--mono); letter-spacing:-.04em; font-weight:400}
.xp-big span{font-size:18px; color:var(--ink-2); max-width:20em}
.xp-facts{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px}
.xp-facts li{display:flex; flex-direction:column; gap:6px; padding:16px; border-radius:14px; background:var(--card); border:1px solid var(--line)}
.xp-facts b{font:400 24px/1.05 var(--serif)}
html[dir="rtl"] .xp-facts b{font-weight:700; font-size:19px; line-height:1.35}
.xp-facts span{font-size:14px; color:var(--ink-2)}

/* client logos */
.xp-clients{display:flex; flex-direction:column; gap:16px}
.xp-logos{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px}
.xp-logos .logo{aspect-ratio:3/2; display:flex; align-items:center; justify-content:center; padding:14px; border-radius:14px; background:var(--logo-bg); border:1px solid var(--line)}
.xp-logos img{max-height:100%; max-width:100%; object-fit:contain}
.xp-logos .txt{font:600 15px/1.2 var(--sans); color:#16181B; text-align:center; letter-spacing:.01em}

/* questions */
.xp-faq{display:flex; flex-direction:column; gap:18px}
.xp-faq h2{margin:0; font:400 clamp(40px,4.6vw,64px)/.95 var(--serif); letter-spacing:-.02em}
html[dir="rtl"] .xp-faq h2{font-weight:700; line-height:1.3; letter-spacing:0}
.xp-qs{display:flex; flex-direction:column; border-top:1px solid var(--line)}
.xp-qs details{border-bottom:1px solid var(--line)}
.xp-qs summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:16px; padding:18px 0; font-size:clamp(17px,1.5vw,20px); font-weight:500}
.xp-qs summary::-webkit-details-marker{display:none}
.xp-qs summary::after{content:"+"; font:400 24px/1 var(--mono); color:var(--blue); transition:transform .2s}
.xp-qs details[open] summary::after{transform:rotate(45deg)}
.xp-qs summary:focus-visible{outline:3px solid var(--blue); outline-offset:2px}
.xp-qs p{margin:0 0 20px; color:var(--ink-2); max-width:46em}
.xp-qs p a{color:var(--blue)}
.xp-more{align-self:flex-start; color:var(--blue); text-decoration:none; font-size:15px}
.xp-more:hover{text-decoration:underline}

/* other stations */
.xp-next{display:flex; flex-direction:column; gap:16px}
.xp-stations{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px}
.xp-stations a{display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:14px; border:1px solid var(--line); background:var(--card); text-decoration:none; transition:border-color .2s, transform .2s; height:100%}
.xp-stations a:hover{border-color:var(--blue); transform:translateY(-2px)}
.xp-stations b{font:400 26px/1 var(--serif)}
html[dir="rtl"] .xp-stations b{font-weight:700; font-size:20px; line-height:1.3}
.xp-stations small{color:var(--ink-2); font-size:13px}
.xp-stations .open{color:var(--blue); margin-top:auto; padding-top:6px}

.xp-close{max-width:none; border-radius:24px 24px 0 0}
.xp-close .pill{background:var(--on-night); color:var(--night)}
.xp-close .pill:hover{background:var(--blue-2)}

@media (max-width:1000px){
  .xp-stops{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xp-logos{grid-template-columns:repeat(3,minmax(0,1fr))}
  .xp-figure{grid-template-columns:1fr}
  .xp-stations{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  .xp-photos{grid-template-columns:1fr; grid-template-rows:none; height:auto}
  .xp-photos figure{aspect-ratio:4/3}
  .xp-photos figure.big{grid-row:auto}
  .xp-facts{grid-template-columns:1fr}
  .xp-road .dest{min-width:120px; padding:6px 12px}
  .xp-road{padding-inline-end:16px; gap:14px}
}
@media (prefers-reduced-motion:reduce){ .xp-van{animation:none} .xp-stations a,.xp-qs summary::after{transition:none} }

/* more field photos: an even grid under the main three, caption under each photo */
.xp-gallery{display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px 12px; margin-top:calc(-1 * clamp(24px,4vw,56px))}
.xp-gallery figure{margin:0; display:flex; flex-direction:column; gap:8px; min-width:0}
.xp-gallery img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:14px; background:var(--sea)}
.xp-gallery figcaption{font-size:13px; line-height:1.4; color:var(--ink-2)}
