/* Travel: cinematic latest chapter + colourful chapters */
.cine { position: relative; margin: 40px 0 10px; border-radius: 32px; overflow: hidden; min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding: 50px; background: #071a2b; isolation: isolate; }
.cine .bgv { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) saturate(1.4) brightness(.75); z-index: -2; }
.cine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(4,12,24,.85) 0%, rgba(4,12,24,.45) 55%, rgba(4,12,24,.2) 100%); }
.cine .tx .eyebrow { color: #9fe6ff; }
.cine h2 { font: 400 clamp(56px, 8vw, 112px)/.92 var(--display); color: #fff; margin: 14px 0 12px; }
.cine h2 span { background: linear-gradient(90deg, #4cc9f0, #ffffff, #4cc9f0); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 5s linear infinite; }
.cine p { color: #d9ecff; font-size: 19px; max-width: 30ch; margin: 0 0 24px; }
.cine .stats { display: flex; gap: 26px; margin: 0 0 26px; flex-wrap: wrap; }
.cine .stats b { display: block; font: 400 38px/1 var(--display); color: #fff; }
.cine .stats span { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9fb8d4; }
.cine .card { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 40px 80px -30px #000, 0 0 0 10px rgba(76,201,240,.15); transform: rotate(3deg); transition: transform .5s; background: #0b2238 center / cover; }
.cine .card:hover { transform: rotate(0) scale(1.03); }
.cine .card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cine .btn.fill { background: #4cc9f0; border-color: #4cc9f0; color: #04161c; }
.chapters { display: flex; flex-direction: column; gap: 26px; }
.chap { position: relative; border-radius: 30px; padding: 28px 0 26px 28px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 34%, #0a1424), #0a1424 70%); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.chap::before { content: attr(data-no); position: absolute; right: 24px; top: -30px; font: 400 220px/1 var(--display); color: color-mix(in srgb, var(--c) 22%, transparent); pointer-events: none; }
.chap-head { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; padding-right: 28px; flex-wrap: wrap; position: relative; }
.chap-when { display: inline-block; font: 600 12px var(--mono); letter-spacing: .14em; color: #0a1424; background: var(--c); border-radius: 20px; padding: 5px 12px; }
.chap h3 { font: 400 clamp(38px, 5vw, 60px)/1 var(--display); margin: 12px 0 6px; color: #fff; }
.chap .tag { color: color-mix(in srgb, var(--c) 70%, #fff); font: italic 400 22px var(--display); margin: 0 0 8px; }
.chap .pl { color: #b9c6d8; font-size: 14px; }
.chap .btn { background: var(--c); border-color: var(--c); color: #0a1424; }
.reel { display: flex; gap: 14px; overflow-x: auto; padding: 22px 28px 6px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tile { flex: none; width: 190px; aspect-ratio: 9 / 16; margin: 0; border-radius: 20px; overflow: hidden; position: relative; cursor: pointer; scroll-snap-align: start; background: #0b1a2c center / cover; border: 2px solid rgba(255,255,255,.12); transition: transform .35s, border-color .35s; }
.tile:hover { transform: translateY(-6px) rotate(-1.5deg); border-color: var(--c); }
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; font: 600 12px/1.3 var(--body); color: #fff; background: rgba(4,9,20,.66); backdrop-filter: blur(6px); border-radius: 12px; padding: 6px 9px; }
.tile .kind { position: absolute; top: 8px; right: 8px; font: 600 10px var(--mono); background: var(--c); color: #0a1424; border-radius: 10px; padding: 2px 7px; }
.chips button em { font-style: normal; font: 500 11px var(--mono); opacity: .75; margin-left: 4px; }
.when-tag { display: inline-block; font: 600 12px var(--mono); letter-spacing: .12em; color: #04161c; background: var(--gold); border-radius: 20px; padding: 4px 11px; margin-top: -4px; }
@media (max-width: 860px) {
  .cine { grid-template-columns: 1fr; padding: 30px 22px; min-height: 0; }
  .cine .card { width: min(260px, 80%); }
  .chap { padding-left: 18px; } .chap::before { font-size: 140px; }
  .tile { width: 150px; }
}

/* ---------- travel home: country cards ---------- */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ccard { position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; border: 2px solid color-mix(in srgb, var(--c) 55%, transparent); padding: 0; cursor: pointer; text-align: left; color: #fff; background: #0a1424; font: inherit; transition: transform .4s, box-shadow .4s; }
.ccard:hover { transform: translateY(-6px) rotate(-.8deg); box-shadow: 0 30px 50px -28px var(--c); }
.ccard .ccover, .ccard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: center / cover; transition: transform 1s, opacity .4s; }
.ccard video { opacity: 0; }
.ccard.playing video { opacity: 1; }
.ccard:hover .ccover { transform: scale(1.06); }
.ccard .cshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,36,0) 30%, color-mix(in srgb, var(--c) 30%, rgba(10,20,36,.92)) 100%); }
.ccard .cno { position: absolute; top: 10px; right: 16px; font: 400 64px/1 var(--display); color: #fff; opacity: .85; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.ccard .cbody { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.cwhen { align-self: flex-start; font: 600 11px var(--mono); letter-spacing: .14em; color: #0a1424; background: var(--c); border-radius: 20px; padding: 4px 10px; }
.ccard b { font: 400 34px/1.05 var(--display); margin-top: 6px; }
.ccard i { font: italic 400 17px var(--display); color: color-mix(in srgb, var(--c) 60%, #fff); }
.ccard .cmeta { font: 500 12px var(--mono); color: #c9d6e6; }
.ccard .cgo { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--c); }

/* ---------- country page ---------- */
#countryPage { display: none; --c: #5fe0cf; }
body.cp-open #countryPage { display: block; }
body.cp-open #v-travel .t-top, body.cp-open .cine, body.cp-open #chapters-sec, body.cp-open .outro { display: none !important; }
body:not(.cp-open) #journey { display: none; }
.cp-hero { position: relative; margin-top: 30px; border-radius: 32px; overflow: hidden; min-height: 420px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; border: 2px solid color-mix(in srgb, var(--c) 50%, transparent); }
.cp-bg { position: absolute; inset: 0; background: center 35% / cover; z-index: -2; animation: kb 18s ease-in-out infinite alternate; }
.cp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,12,24,.9) 0%, rgba(6,12,24,.55) 55%, color-mix(in srgb, var(--c) 25%, transparent) 100%); }
.cp-back { align-self: flex-start; background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.cp-tx h1 { font: 400 clamp(54px, 8vw, 100px)/.95 var(--display); color: #fff; margin: 14px 0 8px; }
.cp-tx p { font: italic 400 24px var(--display); color: color-mix(in srgb, var(--c) 60%, #fff); margin: 0 0 14px; }
.cp-places { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cp-places span { font: 600 13px var(--body); color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 6px 12px; }
.cp-tx .btn.fill, .cp-nav .btn.fill { background: var(--c); border-color: var(--c); color: #0a1424; }
#countryPage #journey { padding-top: 50px; }
#countryPage #chips, #countryPage #nextStop { display: none !important; }
.cp-gal { padding-top: 40px; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cp-grid .tile { width: auto; }
.cp-grid .tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.cp-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 40px 0 10px; }
@media (max-width: 860px) { .cp-hero { padding: 22px; min-height: 360px; } .cp-grid { grid-template-columns: repeat(2, 1fr); } .cp-grid .tile.big { grid-column: span 2; grid-row: auto; aspect-ratio: 9 / 16; } }

/* ---------- v3: roomier country page ---------- */
.ccards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.cp-hero { min-height: min(78vh, 720px); padding: 44px; margin-top: 36px; }
.cp-hv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1s; }
.cp-hv.on { opacity: 1; }
.cp-tx { max-width: 720px; }
.cp-tx p { font-size: 28px; margin-bottom: 20px; }
.cp-cities { padding-top: 70px; }
.cp-cities h2, .cp-gal h2 { font: 400 clamp(36px, 5vw, 56px)/1 var(--display); margin: 8px 0 26px; }
.cp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stop { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 2px solid color-mix(in srgb, var(--c) 55%, transparent); background: #0a1424 center / cover; cursor: pointer; padding: 0; color: #fff; text-align: left; font: inherit; transition: transform .4s, box-shadow .4s; }
.stop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,12,24,0) 45%, rgba(6,12,24,.85)); }
.stop:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -26px var(--c); }
.stop .sn { position: absolute; top: 14px; left: 16px; z-index: 1; font: 600 12px var(--mono); letter-spacing: .12em; color: #0a1424; background: var(--c); border-radius: 20px; padding: 4px 10px; }
.stop b { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font: 400 30px/1.05 var(--display); }
#countryPage #journey { padding-top: 80px; }
.cp-gal { padding-top: 80px; }
.cp-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cp-grid .tile { border-radius: 24px; }
.cp-grid .tile figcaption { font-size: 14px; padding: 8px 12px; left: 12px; right: 12px; bottom: 12px; }
.cp-nav { padding: 70px 0 30px; }
@media (max-width: 860px) {
  .cp-hero { padding: 24px; min-height: 70vh; }
  .cp-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stop b { font-size: 22px; }
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cp-cities, .cp-gal, #countryPage #journey { padding-top: 50px; }
}

.cp-tx .cp-about { font: 400 17px/1.6 var(--body); font-style: normal; color: #dbe6f3; max-width: 62ch; margin: -4px 0 20px; }

/* "Let's connect" sits on its own panel so the moving city doesn't run through it */
#v-travel .sfoot { position: relative; isolation: isolate; margin: 60px auto 40px; padding: 40px 28px; max-width: 720px; text-align: center; border-radius: 28px;
  background: linear-gradient(160deg, rgba(10,22,40,.92), rgba(4,9,20,.96)); border: 1px solid rgba(95,224,207,.28);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(95,224,207,.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
#v-travel .sfoot h3 { margin-top: 0; color: #fff; }
#v-travel .sfoot .socials { justify-content: center; }

/* ---------- v5: postcard caption + boarding-pass "Let's connect" ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinb { to { --ang: 360deg; } }
#v-travel .outro .cap { position: relative; isolation: isolate; border-radius: 26px; padding: 44px 40px 34px; overflow: visible;
  background: linear-gradient(165deg, rgba(14,28,50,.94), rgba(5,11,24,.97)) padding-box,
              conic-gradient(from var(--ang), #4cc9f0, #ff6b6b, #ffb703, #7bd88f, #a78bfa, #4cc9f0) border-box;
  border: 2px solid transparent; animation: spinb 8s linear infinite; box-shadow: 0 40px 80px -40px #000; }
#v-travel .outro .cap::before { content: ""; position: absolute; left: 18px; right: 18px; top: 14px; height: 7px; border-radius: 4px;
  background: repeating-linear-gradient(135deg, #ff6b6b 0 12px, transparent 12px 20px, #4cc9f0 20px 32px, transparent 32px 40px); opacity: .85; }
#v-travel .outro .cap::after { content: "✈ AIR MAIL\A 7 COUNTRIES"; white-space: pre; position: absolute; top: -18px; right: 22px; transform: rotate(8deg);
  font: 700 10px/1.5 var(--mono); letter-spacing: .14em; text-align: center; color: #ffb703; padding: 10px 12px; border-radius: 10px;
  border: 2px dashed #ffb703; background: rgba(5,11,24,.95); box-shadow: 0 10px 24px -10px #000; }
#v-travel .outro .cap p { color: #e3ecf7; }
#v-travel .outro .cap em { color: #ffd38a; }
.sig.tk { font: 400 44px/1 "Apple Chancery", "Snell Roundhand", "Segoe Script", cursive; letter-spacing: .02em; margin-top: 16px;
  background: linear-gradient(90deg, #ffd38a, #ff6b6b, #a78bfa, #4cc9f0, #ffd38a); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; filter: drop-shadow(0 4px 18px rgba(255,183,3,.25)); }

#v-travel .sfoot.pass { display: grid; grid-template-columns: 1fr 170px; padding: 0; text-align: left; overflow: hidden; max-width: 760px;
  background: linear-gradient(135deg, #0e2340, #071226 60%, #1b1036); border: 1px solid rgba(255,255,255,.14); }
.pass .pmain { padding: 26px 30px 28px; position: relative; }
.pass .ptop { display: flex; justify-content: space-between; font: 600 11px var(--mono); letter-spacing: .18em; color: #8fb3d9; }
.pass .proute { display: flex; align-items: center; gap: 16px; margin: 18px 0 6px; }
.pass .proute b { font: 400 46px/1 var(--display); color: #fff; }
.pass .proute .pline { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #5fe0cf 0 8px, transparent 8px 14px); position: relative; }
.pass .proute .pline::after { content: "✈"; position: absolute; top: -13px; left: 0; color: #5fe0cf; font-size: 20px; animation: fly 4s ease-in-out infinite; }
@keyframes fly { 0% { left: 0; } 100% { left: calc(100% - 20px); } }
.pass .psub { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .12em; color: #8fb3d9; }
.pass h3 { font: 400 30px var(--display) !important; margin: 18px 0 14px !important; }
.pass .socials { justify-content: flex-start !important; }
.pass .pstub { border-left: 2px dashed rgba(255,255,255,.25); padding: 26px 18px; display: flex; flex-direction: column; justify-content: space-between; position: relative;
  background: linear-gradient(180deg, rgba(95,224,207,.12), rgba(167,139,250,.12)); }
.pass .pstub::before, .pass .pstub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: #040914; }
.pass .pstub::before { top: -12px; } .pass .pstub::after { bottom: -12px; }
.pass .pstub small { font: 600 10px var(--mono); letter-spacing: .16em; color: #8fb3d9; display: block; }
.pass .pstub strong { font: 400 26px var(--display); color: #fff; display: block; margin-bottom: 12px; }
.pass .bar { height: 54px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 9px, #fff 9px 12px, transparent 12px 14px); opacity: .85; border-radius: 4px; }
@media (max-width: 640px) { #v-travel .sfoot.pass { grid-template-columns: 1fr; } .pass .pstub { border-left: 0; border-top: 2px dashed rgba(255,255,255,.25); } .pass .pstub::before, .pass .pstub::after { display: none; } .pass .proute b { font-size: 34px; } }

/* v6: boarding pass in the night-flight palette (city amber + teal), bigger barcode */
#v-travel .sfoot.pass { grid-template-columns: 1fr 210px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,166,72,.28), transparent 55%),
              radial-gradient(120% 140% at 100% 100%, rgba(95,224,207,.25), transparent 55%),
              linear-gradient(135deg, #0b1d38, #060f22 55%, #120c2a) padding-box,
              linear-gradient(120deg, #ffa648, #ff6b6b, #a78bfa, #5fe0cf) border-box;
  border: 2px solid transparent; }
.pass .ptop span:first-child { color: #ffc45a; }
.pass .ptop span:last-child { color: #5fe0cf; }
.pass .proute b:first-of-type { background: linear-gradient(90deg, #ffc45a, #ff6b6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pass .proute b:last-of-type { background: linear-gradient(90deg, #a78bfa, #5fe0cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pass .proute .pline { background: repeating-linear-gradient(90deg, #ffc45a 0 8px, transparent 8px 14px); }
.pass .proute .pline::after { color: #ffc45a; text-shadow: 0 0 12px rgba(255,196,90,.8); }
.pass .psub span:first-child { color: #ffb48a; } .pass .psub span:last-child { color: #9fe6dc; }
.pass h3 { color: #fff; }
.pass .socials a { border-color: rgba(255,196,90,.45) !important; }
.pass .pstub { background: linear-gradient(180deg, rgba(255,166,72,.22), rgba(255,107,107,.14) 45%, rgba(95,224,207,.2)); border-left-color: rgba(255,196,90,.55); }
.pass .pstub small { color: #ffd38a; }
.pass .bar { height: 96px; opacity: 1; border-radius: 6px; padding: 0;
  background: repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 5px, #fff 5px 6px, transparent 6px 10px, #fff 10px 14px, transparent 14px 16px, #fff 16px 17px, transparent 17px 21px);
  box-shadow: 0 0 0 8px rgba(255,255,255,.06); }
@media (max-width: 640px) { .pass .bar { height: 70px; } }

/* v7: SVG barcode, always visible */
.pass .pstub svg.bar { display: block; width: 100%; height: 110px; background: none !important; box-shadow: 0 0 0 6px rgba(255,255,255,.08); border-radius: 8px; opacity: 1; }
@media (max-width: 640px) { .pass .pstub svg.bar { height: 80px; } }

/* v8: CHECKED IN rubber stamp */
.pass .pmain { position: relative; }
.ci-stamp { position: absolute; right: 14px; top: 50%; width: 230px; color: #ff4d5e; pointer-events: none; z-index: 3; mix-blend-mode: screen;
  transform: translateY(-50%) rotate(-11deg) scale(2.6); opacity: 0; filter: drop-shadow(0 0 0 rgba(255,77,94,0)); }
.ci-stamp svg { display: block; width: 100%; height: auto; }
.ci-stamp.down { animation: slam .55s cubic-bezier(.6,0,.4,1) .35s forwards; }
@keyframes slam {
  0% { transform: translateY(-50%) rotate(-24deg) scale(2.6); opacity: 0; }
  55% { transform: translateY(-50%) rotate(-9deg) scale(.94); opacity: .95; }
  70% { transform: translateY(-50%) rotate(-12deg) scale(1.03); }
  100% { transform: translateY(-50%) rotate(-11deg) scale(1); opacity: .88; filter: drop-shadow(0 0 6px rgba(255,77,94,.35)); } }
#v-travel .sfoot.pass.thud { animation: thud .35s .62s ease-out; }
@keyframes thud { 0% { transform: none; } 30% { transform: translateY(3px) scale(.995); } 60% { transform: translateY(-1px) rotate(-.25deg); } 100% { transform: none; } }
@media (max-width: 640px) { .ci-stamp { width: 170px; right: 8px; top: 38%; } }

/* ---------- phone layout (travel) ---------- */
@media (max-width: 640px) {
  .ccards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ccard { aspect-ratio: 3 / 4.4; border-radius: 20px; }
  .ccard b { font-size: 22px; } .ccard i { font-size: 14px; } .ccard .cno { font-size: 40px; }
  .ccard .cmeta, .ccard .cgo { display: none; }
  .ccard .cbody { left: 12px; right: 12px; bottom: 12px; }
  .cine { padding: 24px 18px; border-radius: 24px; gap: 18px; }
  .cine h2 { font-size: 48px; }
  .cine p { font-size: 16px; }
  .cine .stats { gap: 16px; } .cine .stats b { font-size: 28px; }
  .cp-hero { min-height: 62vh; padding: 18px; border-radius: 24px; }
  .cp-tx h1 { font-size: 46px; }
  .cp-tx p { font-size: 20px; }
  .cp-tx .cp-about { font-size: 15px; }
  .cp-places span { font-size: 12px; padding: 5px 10px; }
  .cp-nav .btn { flex: 1; text-align: center; font-size: 13px; }
  #v-travel .outro .cap { padding: 38px 20px 26px; }
  #v-travel .outro .cap::after { right: 12px; top: -16px; font-size: 9px; padding: 7px 9px; }
  .sig.tk { font-size: 36px; }
  .pass .pmain { padding: 22px 18px; }
  .pass .proute b { font-size: 30px; }
  .ci-stamp { width: 150px; right: 6px; top: 30%; }
}
