/* =========================================================
   CIAO Travels · Home (index.html) — page styles
   Every selector is scoped with .p-index (body class).
   v2: section openers rotate (caption box · bubble · none · board · side label · none · caption box (ink)),
   the tour rail uses the shared .tcard, the closing band is the shared .finale (ciao.css).
   ========================================================= */
.p-index{--g:max(24px,env(safe-area-inset-left),env(safe-area-inset-right));--hxh:max(560px,min(100svh,1200px));--hxspan:min(100svh,1000px);--pvis:150px;--peek:96px}
@media (max-width:640px){.p-index{--g:max(16px,env(safe-area-inset-left),env(safe-area-inset-right))}}
/* focus ring: ciao.css only darkens it inside .sec--y/.sec--paper/.phero; the home hero and the CIAO Sri Lanka band are
   bare yellow (no .sec--y), and the services panel is black inside a yellow section */
.p-index .hx :focus-visible,.p-index .ix-csl__band :focus-visible,.p-index .hdr.on-y:not(.is-solid) :focus-visible{outline-color:var(--ink)}
.p-index .ix-sv__p :focus-visible{outline-color:var(--y)}

/* rail controls (tours + reviews) */
.p-index .ix-rail-ctl{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.p-index .ix-rbtn{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:2.5px solid var(--ink);background:var(--white);color:var(--ink);box-shadow:3px 3px 0 var(--ink);transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .2s}
.p-index .ix-rbtn:hover{background:var(--y);transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--ink)}
.p-index .ix-rbtn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.p-index .ix-rbtn[disabled]{opacity:.35;pointer-events:none}
.p-index .ix-rbtn--y{background:var(--y);border-color:var(--y);box-shadow:none}
.p-index .ix-rbtn--y:hover{background:var(--white);box-shadow:none}
/* disabled on black: a hollow yellow ring, never a semi-transparent yellow (it reads olive/brown) */
.p-index .ix-rbtn--y[disabled]{opacity:1;background:transparent;color:rgba(253,182,28,.45);border-color:rgba(253,182,28,.3)}

/* =========================================================
   1 · HERO
   ========================================================= */
.p-index .hx-track{position:relative;height:calc(var(--hxh) + var(--hxspan));background:var(--y)}
.p-index .hx{position:sticky;top:0;height:var(--hxh);overflow:hidden;isolation:isolate;color:var(--ink);
  background:radial-gradient(120% 90% at 72% 38%,#FFD25A 0%,rgba(255,210,90,0) 55%),radial-gradient(90% 70% at 10% 105%,#F0A00E 0%,rgba(240,160,14,0) 60%),var(--y)}
.p-index .hx__stage{position:absolute;inset:0;z-index:2;pointer-events:none}
.p-index .hx__stage .fallback3d{max-width:none}
.p-index .hx__col{position:relative;height:100%;display:flex;flex-direction:column;align-items:flex-start;
  padding:calc(var(--hdr) + clamp(6px,1.8vh,22px)) max(var(--g),calc((100% - 1560px) / 2 + var(--g))) calc(var(--pvis) + clamp(22px,3.6vh,40px))}
.p-index .hx-eyebrow{position:relative;z-index:3;margin:0;color:var(--ink)}

/* headline: sits BEHIND the WebGL stage */
.p-index .hx-h{position:relative;z-index:1;margin-top:clamp(4px,1.2vh,14px);font-weight:900;text-transform:uppercase;letter-spacing:-.055em;line-height:.8;
  font-size:calc(min(10.6vw,15.4vh,12.4rem) * var(--hxfit,1));color:var(--ink)}
.p-index .hx-l{display:block;width:max-content;max-width:none;clip-path:inset(-45% -12% -6% -12%);will-change:transform}
.p-index .hx-li{display:block;transition:transform 1.15s var(--ease)}
.p-index .hx-l--s{font-size:.44em;line-height:1.05;margin:.05em 0 .06em .62em;clip-path:inset(-30% -10% -30% -10%)}
.p-index .hx-rot{display:block;font-family:var(--f-script);font-weight:400;text-transform:none;letter-spacing:0;transform:rotate(-5deg);transform-origin:0 60%;padding-right:.2em}
.js .p-index .hx:not(.is-go) .hx-li{transform:translateY(118%)}
.p-index .hx.is-go .hx-l:nth-child(2) .hx-li{transition-delay:.07s}
.p-index .hx.is-go .hx-l:nth-child(3) .hx-li{transition-delay:.16s}
.p-index .hx.is-go .hx-l:nth-child(4) .hx-li{transition-delay:.22s}

/* lead + CTAs (front layer) */
.p-index .hx-ui{position:relative;z-index:3;margin-top:auto;display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 36px;padding-top:18px}
.p-index .hx-lead{max-width:40ch;margin:0;color:var(--y-ink);font-weight:500;font-size:clamp(.98rem,1.15vw,1.1rem);line-height:1.5}
.p-index .hx-lead b{color:var(--ink);font-weight:800}
.p-index .hx-cta{display:flex;flex-wrap:wrap;gap:10px}
.p-index .hx-cta .btn--ink{box-shadow:0 14px 30px -14px rgba(11,11,12,.6)}
.p-index [data-hx-ui]{transition:transform .9s var(--ease),clip-path .9s var(--ease);clip-path:inset(-14px -14px -24px -14px)}
.js .p-index .hx:not(.is-go) [data-hx-ui]{transform:translateY(26px);clip-path:inset(-14px -14px 100% -14px)}
.p-index .hx.is-go .hx-lead{transition-delay:.3s}
.p-index .hx.is-go .hx-cta{transition-delay:.42s}
.p-index .hx.is-settled [data-hx-ui],.p-index .hx.is-settled .hx-li,.p-index .hx.is-settled .hx-pass{transition:none}

/* act 2 heading (revealed by scroll) */
.p-index .hx-q{position:absolute;z-index:3;left:var(--g);right:var(--g);top:40%;margin:0;text-align:center;pointer-events:none;color:var(--ink)}
.p-index .hx-q .hx-l{width:auto;margin-inline:auto}
.p-index .hx-q__k{display:block;font-size:.8rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;margin-bottom:.9rem}
.p-index .hx-q__k>span{display:inline-block;padding:.45rem .95rem;border-radius:999px;background:var(--ink);color:var(--y)}
.p-index .hx-q__t{display:block;font-weight:900;text-transform:uppercase;letter-spacing:-.05em;line-height:.86;font-size:clamp(2.5rem,7.4vw,7.2rem);text-wrap:balance}
.js .p-index .hx-q .hx-l{transform:translateY(104%);clip-path:inset(-45% -12% 104% -12%)}

/* ---------- boarding-pass search ---------- */
.p-index .hx-board{position:absolute;z-index:4;left:max(var(--g),calc((100% - 1560px) / 2 + var(--g)));bottom:clamp(18px,3vh,30px);width:min(1080px,calc(100% - 2 * var(--g)));margin:0;will-change:transform;
  filter:drop-shadow(2.5px 0 0 var(--ink)) drop-shadow(-2.5px 0 0 var(--ink)) drop-shadow(0 2.5px 0 var(--ink)) drop-shadow(0 -2.5px 0 var(--ink)) drop-shadow(7px 7px 0 var(--ink))}
.p-index .hx-pass{--stub:224px;--n:15px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--stub);background:var(--white);border-radius:20px;color:var(--ink);transition:transform 1s var(--ease-back) .35s;
  -webkit-mask:radial-gradient(circle var(--n) at calc(100% - var(--stub)) 0,#0000 98%,#000) top/100% 51% no-repeat,radial-gradient(circle var(--n) at calc(100% - var(--stub)) 100%,#0000 98%,#000) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle var(--n) at calc(100% - var(--stub)) 0,#0000 98%,#000) top/100% 51% no-repeat,radial-gradient(circle var(--n) at calc(100% - var(--stub)) 100%,#0000 98%,#000) bottom/100% 51% no-repeat}
.js .p-index .hx:not(.is-go) .hx-pass{transform:translateY(140%)}
.p-index .hx-pass__main{display:grid;grid-template-columns:minmax(0,.85fr) 44px minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.15fr);align-items:stretch;gap:4px;padding:12px 10px 12px 12px}
.p-index .hx-f{position:relative;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:10px 14px;border-radius:14px}
.p-index .hx-f .pass__label{opacity:.62;line-height:1.2}
.p-index .hx-f--mon::before,.p-index .hx-f--pax::before{content:"";position:absolute;left:-3px;top:16%;bottom:16%;width:2px;background:rgba(11,11,12,.1);border-radius:2px}
.p-index .hx-f--sel{cursor:pointer;transition:background .2s}
.p-index .hx-f--sel:hover{background:var(--y-100)}
.p-index .hx-f--sel:has(.hx-sel:focus-visible){background:var(--y-100);outline:3px solid var(--ink);outline-offset:-3px}
.p-index .hx-code{display:block;font-weight:900;font-size:clamp(1.7rem,2.25vw,2.3rem);letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums}
.p-index .hx-sub{display:block;font-size:.78rem;font-weight:600;color:var(--steel);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.p-index .hx-sel{position:absolute;inset:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;-webkit-appearance:none;appearance:none;border:0;font-size:16px;color:var(--ink);background:var(--white)}
.p-index .hx-chev{position:absolute;right:10px;top:50%;width:18px;height:18px;margin-top:-9px;stroke-width:2.6;pointer-events:none}
.p-index .hx-fly{position:relative;display:grid;place-items:center;color:var(--ink)}
.p-index .hx-fly::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px dashed rgba(11,11,12,.3)}
.p-index .hx-fly .plane{position:relative;width:26px;height:26px;background:var(--ink);padding:0;box-shadow:0 0 0 7px var(--white)}
.p-index .hx-step{display:flex;align-items:center;gap:8px}
.p-index .hx-step button{width:44px;height:44px;flex:none;border-radius:50%;border:2px solid var(--ink);display:grid;place-items:center;transition:background .2s,transform .2s var(--ease-back)}
.p-index .hx-step button:hover{background:var(--y)}
.p-index .hx-step button:active{transform:scale(.9)}
.p-index .hx-step button[disabled]{opacity:.3;pointer-events:none}
.p-index .hx-step .icon{width:18px;height:18px;stroke-width:2.8}
.p-index .hx-step output{min-width:2.1ch;text-align:center}
.p-index .hx-pass__stub{position:relative;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:14px 20px 14px 22px;background:var(--y);border-left:2px dashed rgba(11,11,12,.35)}
.p-index .hx-go{width:100%;min-height:54px}
.p-index .hx-go .plane{width:18px;height:18px}
.p-index .hx-hint{display:block;font-size:.7rem;font-weight:700;letter-spacing:.04em;line-height:1.25;color:var(--y-ink);text-align:center}
.p-index .hx-bar{height:20px;opacity:.9;color:var(--ink)}

/* small laptops / landscape tablets: compact horizontal pass */
@media (min-width:900px) and (max-width:1180px){
  .p-index .hx-pass{--stub:184px}
  .p-index .hx-pass__main{grid-template-columns:minmax(0,.8fr) 36px minmax(0,1fr) minmax(0,.95fr) minmax(0,1.3fr);padding:10px 6px 10px 8px}
  .p-index .hx-f{padding:10px 10px}
  .p-index .hx-step{gap:4px}
  .p-index .hx-pass__stub{padding:12px 14px 12px 16px}
}
/* phones & portrait tablets: vertical pass that peeks out of the bottom edge */
@media (max-width:899px){
  .p-index{--pvis:var(--peek)}
  .p-index .hx-board{left:var(--g);bottom:0;width:calc(100% - 2 * var(--g));transform:translateY(calc(100% - var(--peek)))}
  .p-index .hx-pass{--stubh:84px;grid-template-columns:1fr;grid-template-rows:auto var(--stubh);
    -webkit-mask:radial-gradient(circle var(--n) at 0 calc(100% - var(--stubh)),#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle var(--n) at 100% calc(100% - var(--stubh)),#0000 98%,#000) right/51% 100% no-repeat;
    mask:radial-gradient(circle var(--n) at 0 calc(100% - var(--stubh)),#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle var(--n) at 100% calc(100% - var(--stubh)),#0000 98%,#000) right/51% 100% no-repeat}
  /* the right column is wider so the travellers stepper (2 × 40px + count) never spills past the pass edge, even at 360px */
  .p-index .hx-pass__main{grid-template-columns:minmax(0,1fr) 34px minmax(0,1.2fr);grid-template-areas:"from fly to" "mon mon pax";row-gap:6px;padding:8px 8px 10px}
  .p-index .hx-f--from{grid-area:from}.p-index .hx-fly{grid-area:fly}.p-index .hx-f--to{grid-area:to}
  .p-index .hx-f--mon{grid-area:mon}
  .p-index .hx-f--pax{grid-area:pax}
  .p-index .hx-f--mon::before,.p-index .hx-f--pax::before{left:12px;right:12px;top:-4px;bottom:auto;width:auto;height:2px}
  .p-index .hx-f--pax::before{left:0}
  .p-index .hx-f{padding:10px 12px}
  .p-index .hx-code{font-size:2rem}
  .p-index .hx-pass__stub{flex-direction:row;align-items:center;gap:14px;padding:12px 16px;border-left:0;border-top:2px dashed rgba(11,11,12,.35)}
  .p-index .hx-go{flex:1;width:auto}
  .p-index .hx-hint{display:none}
  .p-index .hx-bar{width:84px;height:40px;flex:none}
  .p-index .hx-f--pax{padding-right:4px}
  .p-index .hx-step{gap:4px}
  .p-index .hx-step button{position:relative;width:40px;height:40px}
  .p-index .hx-step button::before{content:"";position:absolute;inset:-4px;border-radius:50%} /* 48px hit area */
  .p-index .hx-step output{font-size:1.75rem;min-width:1.9ch}
}
@media (max-width:640px){
  .p-index .hx-h{font-size:calc(min(17.2vw,9.4vh) * var(--hxfit,1))}
  .p-index .hx-lead{display:none}
  .p-index .hx-ui{width:100%}
  .p-index .hx-cta{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .p-index .hx-cta .btn{min-height:50px;padding:.8rem .5rem;font-size:clamp(.76rem,3.7vw,.86rem)}
  .p-index .hx-cta .btn .plane{display:none}
  /* on short phones the Captain stands behind the CTAs: the outline button gets a solid yellow fill so its label stays legible */
  .p-index .hx-cta .btn--ghost{--bg:var(--y)}
  .p-index .hx-eyebrow{font-size:.7rem;letter-spacing:.14em}
  .p-index .hx-q__t{font-size:clamp(2.4rem,12.4vw,4rem)}
}
@media (min-width:641px) and (max-height:760px){.p-index .hx-lead{max-width:34ch;font-size:.95rem}}
@media (min-width:641px) and (max-height:640px){.p-index .hx-lead{display:none}}
/* no pinned scroll scene: reduced motion, very short or very tall (harness) viewports */
@media (prefers-reduced-motion:reduce),(max-height:540px),(min-height:1800px){
  .p-index .hx-track{height:auto}
  .p-index .hx{position:relative}
  .p-index .hx-q{display:none}
}
@media (max-width:899px){
  .p-index .hx.hx--static{height:auto}
  .p-index .hx--static .hx__col{height:var(--hxh)}
  .p-index .hx--static .hx__stage{bottom:auto;height:var(--hxh)}
  .p-index .hx--static .hx-board{position:relative;left:auto;bottom:auto;width:auto;margin:0 var(--g) 30px;transform:none}
}
@media (prefers-reduced-motion:reduce){
  .p-index .hx-li,.p-index [data-hx-ui],.p-index .hx-pass{transition:none!important;transform:none!important}
  .p-index [data-hx-ui]{clip-path:none!important}
}

/* static hero fallback (no WebGL / module failed) */
.p-index .hx-fb{position:absolute;pointer-events:none;user-select:none}
.p-index .hx-fb--cap{right:4%;bottom:6%;height:78%;width:auto;max-width:50%;object-fit:contain;-webkit-mask-image:linear-gradient(to top,transparent 3%,#000 26%);mask-image:linear-gradient(to top,transparent 3%,#000 26%)}
.p-index .hx-fb--cl{bottom:0;width:60%;height:auto;max-width:none;filter:drop-shadow(0 0 0 #fff)}
.p-index .hx-fb--l{left:-12%;transform:translateY(48%)}
.p-index .hx-fb--r{right:-8%;transform:translateY(50%)}
@media (max-width:899px){
  .p-index .hx-fb--cap{right:0;left:0;margin-inline:auto;bottom:12%;height:auto;max-height:50%;max-width:94%}
  .p-index .hx-fb--cl{width:115%}
  .p-index .hx-fb--l{left:-35%;transform:translateY(36%)}
  .p-index .hx-fb--r{right:-35%;transform:translateY(41%)}
}

/* act 2 (A16): captain-point lands on the pass's top edge (left end) and points the way; JS sets left/top/height + the
   drop, the squash and the settle. No idle float (animation:none): he stands on the pass, his boots tucked behind its edge. */
.p-index .hx-point{position:absolute;z-index:3;left:0;top:0;width:auto;height:300px;max-width:none;pointer-events:none;user-select:none;
  transform:translate3d(0,-140vh,0);transform-origin:50% 100%;filter:drop-shadow(0 18px 18px rgba(74,51,0,.28));will-change:transform;animation:none}
.p-index .hx--static .hx-point{display:none}
/* every width: the question sits right of his finger, left-aligned over the pass */
.p-index .hx-q--side{text-align:left}
.p-index .hx-q--side .hx-l{margin-inline:0}
.p-index .hx-q--side .hx-q__t{font-size:clamp(2.4rem,6.5vw,7rem);text-wrap:balance}
/* phones/tablets: the room beside him is narrow, so a shorter kicker (no gate) and a title JS shrinks to fit */
.p-index .hx-q--m .hx-q__k{font-size:.66rem;letter-spacing:.14em;margin-bottom:.6rem}
.p-index .hx-q--m .hx-q__k>span{padding:.42rem .8rem}
.p-index .hx-q--m .hx-q__gate{display:none}
.p-index .hx-q--m .hx-q__t{font-size:clamp(1.6rem,8.6vw,3.4rem);line-height:.9}
/* the header carries "Crea il tuo viaggio" above 1060px: the hero keeps one CTA there */
@media (min-width:1061px){.p-index .hx-cta__plan{display:none}}

/* =========================================================
   2 · GREETINGS (the page's one marquee)
   ========================================================= */
.p-index .ix-marq{position:relative;z-index:2;background:var(--ink);color:var(--y);padding-block:clamp(8px,1.2vw,16px);overflow:hidden}
.p-index .ix-marq .marquee{border:0;padding-block:clamp(8px,1vw,14px)}
.p-index .ix-marq__a .marquee__item{font-size:clamp(2.4rem,6.4vw,6rem);line-height:1.08}
.p-index .ix-marq .si{font-family:var(--f-si);font-weight:800;letter-spacing:0;font-size:clamp(2rem,5.2vw,4.8rem)}
.p-index .ix-marq .ta{font-weight:800;letter-spacing:0;font-size:clamp(1.9rem,4.8vw,4.4rem)}

/* =========================================================
   3 · WHO WE ARE (opener: comic caption box, "Intanto, a Verona…")
   ========================================================= */
.p-index .ix-who{overflow:hidden}
.p-index .ix-who__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(48px,7vw,120px);align-items:center}
.p-index .ix-collage{position:relative;aspect-ratio:1/1.08}
.p-index .ix-ph{position:absolute;margin:0;border-radius:var(--r);overflow:hidden;border:3px solid var(--ink);box-shadow:var(--sh-hard);background:var(--ink-3)}
.p-index .ix-ph img{width:100%;height:100%;object-fit:cover}
.p-index .ix-ph figcaption{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 24px);padding:.4rem .7rem;background:var(--y);color:var(--ink);border:2px solid var(--ink);border-radius:8px;font-size:.72rem;font-weight:800;letter-spacing:.02em;line-height:1.25;rotate:-2deg}
.p-index .ix-ph--a{left:0;top:6%;width:50%;aspect-ratio:5/7;rotate:-3.5deg;z-index:1}
.p-index .ix-ph--b{right:3%;top:0;width:47%;aspect-ratio:5/7;rotate:3deg;z-index:2}
.p-index .ix-ph--b img{object-position:50% 30%}
.p-index .ix-ph--c{left:16%;bottom:0;width:60%;aspect-ratio:3/2;rotate:-1.2deg;z-index:3}
.p-index .ix-who__cap{margin-bottom:clamp(28px,3vw,40px)}
.p-index .ix-who__cap .h2{max-width:13ch}
.p-index .ix-who__p{max-width:52ch}
.p-index .ix-who__p b{color:var(--ink)}
/* --ix-n: index.js sets 3 when no tour is published and the tours stat is dropped */
.p-index .ix-stats{display:grid;grid-template-columns:repeat(var(--ix-n,4),minmax(0,1fr));margin-top:clamp(28px,3.5vw,44px);border-top:3px solid var(--ink)}
.p-index .ix-stat{padding:16px 14px 0 0}
.p-index .ix-stat+.ix-stat{padding-left:14px;border-left:2px dashed rgba(11,11,12,.18)}
.p-index .ix-stat__n{font-weight:900;font-size:clamp(2.3rem,4vw,3.7rem);letter-spacing:-.05em;line-height:.9;white-space:nowrap}
.p-index .ix-stat dd{margin-top:8px;font-size:.8rem;font-weight:600;line-height:1.35;color:var(--steel)}

/* =========================================================
   4 · VERONA → COLOMBO (opener: Captain bubble = the page's one cameo)
   ========================================================= */
.p-index .ix-route{overflow:hidden;overflow:clip}
/* v3: bubble + heading open the section (the phone order), then the globe with the departures board beside it.
   This keeps the bubble's avatar more than a screen away from the Captain on the landmarks band below (one Captain
   per viewport): with the old "globe | bubble over board" grid they shared a desktop viewport at every size. */
.p-index .ix-route__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:"op op" "globe copy";grid-template-rows:auto auto;column-gap:clamp(32px,5vw,80px);align-items:start}
.p-index .ix-route__op{grid-area:op}
.p-index .ix-route__copy{grid-area:copy}
.p-index .ix-globe{--gh:clamp(420px,46vw,660px);grid-area:globe;position:relative;height:var(--gh)}
.p-index .ix-globe__ph{position:absolute;left:50%;top:50%;width:min(74%,calc(var(--gh) * .74));aspect-ratio:1;border-radius:50%;translate:-50% -50%;
  background:radial-gradient(circle at 30% 28%,#2B2418,#141416 46%,#0B0B0C);box-shadow:0 0 0 1.5px rgba(253,182,28,.75),0 0 90px -12px rgba(253,182,28,.5);transition:opacity .8s}
.p-index .ix-globe.is-ready .ix-globe__ph{opacity:0}
.p-index .ix-globe .cg-pin,.p-index .ix-globe img,.p-index .ix-globe canvas{max-width:none}
.p-index .ix-globe__fb{position:absolute;inset:0;display:grid;place-items:center}
.p-index .ix-globe__fb svg{width:min(92%,560px);height:auto;overflow:visible}
.p-index .ix-route__op{margin-bottom:clamp(26px,3vw,40px)}
.p-index .ix-route .h1{max-width:9ch;font-size:clamp(2.6rem,5.4vw,5.2rem)}
.p-index .ix-dep{background:var(--ink-2);border:1px solid var(--ink-4);border-radius:var(--r);padding:18px 20px 16px;box-shadow:0 40px 80px -40px rgba(253,182,28,.25)}
.p-index .ix-dep__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line-l);font-size:.7rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--mist)}
.p-index .ix-dep__clock{font-family:ui-monospace,"SF Mono",Menlo,monospace;color:var(--y);letter-spacing:.08em;font-size:.82rem}
.p-index .ix-dep__main{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 0}
/* plain route code (the split-flap is reserved for headings: the tours board and the finale) */
.p-index .ix-dep__code{display:flex;align-items:center;gap:.42em;margin:0;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-weight:800;font-size:clamp(1.6rem,2.7vw,2.4rem);letter-spacing:.06em;line-height:1;color:var(--white)!important}
.p-index .ix-dep__code b{font-weight:800}
.p-index .ix-dep__code .plane{width:.72em;height:.72em;color:var(--y)}
.p-index .ix-dep__st{display:inline-flex;align-items:center;gap:8px;font-size:.74rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--y)}
.p-index .ix-dep__st i{width:9px;height:9px;border-radius:50%;background:var(--y)}
@media (prefers-reduced-motion:no-preference){.p-index .ix-dep__st i{animation:ixblink 1.2s steps(2,start) infinite}}
@keyframes ixblink{to{visibility:hidden}}
.p-index .ix-dep__grid{display:grid;grid-template-columns:repeat(4,auto);justify-content:space-between;gap:14px 18px;padding-top:14px;border-top:1px solid var(--line-l);margin:0}
.p-index .ix-dep__grid dt{font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--mist)}
.p-index .ix-dep__grid dd{margin-top:4px;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-weight:700;font-size:.92rem;color:var(--white);white-space:nowrap}
.p-index .ix-dep__note{margin-top:12px;font-size:.74rem;line-height:1.5;color:var(--mist)}
.p-index .ix-route .btn--ghost{color:var(--white)}
@media (min-width:1025px){
  /* the board sits level with the globe's middle: VRN → CMB next to the arc it describes */
  .p-index .ix-route__copy{align-self:center}
  /* the heading has the full row now: two lines in both languages ("ONE FLIGHT, / TWO HOMES.") */
  .p-index .ix-route .h1{max-width:11ch}
  /* wide screens are taller: a taller globe stage keeps the avatar a full screen from the landmarks Captain */
  .p-index .ix-globe{--gh:clamp(420px,46vw,720px)}
}

/* =========================================================
   7 · SERVICES · the power index (opener: editorial side label). Six rows ruled in ink on yellow (icon badge,
   name in display caps, one line); the active one turns into an ink bar and its ink panel lists what's inside.
   Wide: master-detail (panel in the right column). Below 1025px: accordion (panel under its row).
   ========================================================= */
.p-index .ix-svc__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 48px;margin-bottom:clamp(34px,4vw,56px)}
.p-index .ix-svc__head .h1{max-width:11ch}
.p-index .ix-svc__sub{flex:0 1 360px;max-width:40ch;font-weight:600;font-size:1rem;line-height:1.5}
.p-index .ix-sv{--n:6;position:relative}
.p-index .ix-sv__h{margin:0;font:inherit;letter-spacing:normal;text-transform:none}
.p-index .ix-sv__row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(12px,1.6vw,22px);width:100%;min-height:72px;
  padding:clamp(14px,1.4vw,19px) clamp(10px,1.2vw,16px) clamp(14px,1.4vw,19px) 4px;border-top:3px solid var(--ink);text-align:left;color:var(--ink);cursor:pointer;
  transition:background .3s var(--ease),color .3s var(--ease),padding .4s var(--ease)}
.p-index .ix-sv__ic{width:clamp(46px,4.4vw,62px);aspect-ratio:1;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--white);border:2.5px solid var(--ink);box-shadow:3px 3px 0 var(--ink);transition:transform .45s var(--ease-back),box-shadow .3s}
.p-index .ix-sv__ic img{width:70%;height:70%;object-fit:contain}
.p-index .ix-sv__tx{min-width:0}
.p-index .ix-sv__n{display:block;font-weight:900;text-transform:uppercase;letter-spacing:-.03em;line-height:.95;font-size:clamp(1.12rem,2vw,1.9rem);overflow-wrap:anywhere;transition:color .3s}
.p-index .ix-sv__s{display:block;margin-top:7px;max-width:54ch;font-size:clamp(.8rem,.9vw,.88rem);font-weight:600;line-height:1.42;color:var(--y-ink);transition:color .3s}
.p-index .ix-sv__go{width:44px;height:44px;flex:none;border-radius:50%;display:grid;place-items:center;border:2.5px solid var(--ink);transition:background .25s,border-color .25s,color .25s}
.p-index .ix-sv__go .icon{width:18px;height:18px;stroke-width:2.6;transition:transform .45s var(--ease)}
.p-index .ix-sv__row:hover .ix-sv__ic{transform:rotate(-8deg) scale(1.06)}
.p-index .ix-sv__row:hover .ix-sv__go .icon{transform:translateX(3px)}
.p-index .ix-sv__row:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
/* the active row: "power on" */
.p-index .ix-sv__it.is-on .ix-sv__row{background:var(--ink);color:var(--white);padding-left:clamp(14px,1.6vw,24px)}
.p-index .ix-sv__it.is-on .ix-sv__n{color:var(--y)}
.p-index .ix-sv__it.is-on .ix-sv__s{color:var(--mist)}
.p-index .ix-sv__it.is-on .ix-sv__ic{box-shadow:3px 3px 0 var(--y)}
.p-index .ix-sv__it.is-on .ix-sv__go{background:var(--y);border-color:var(--y);color:var(--ink)}
/* the panel (a .bg-ink surface, so the yellow section's text colours stay out) */
.p-index .ix-sv__p{display:flex;flex-direction:column;align-items:flex-start;background:var(--ink);color:var(--white)}
.p-index .ix-sv__it:not(.is-on) .ix-sv__p{display:none} /* not [hidden]: ciao.css forces that to display:none!important */
.p-index .ix-sv__pic,.p-index .ix-sv__pk{display:none}
.p-index .ix-sv__list{list-style:none;margin:0;padding:0;display:grid;gap:13px;width:100%}
.p-index .ix-sv__list li{display:flex;gap:12px;align-items:flex-start;font-size:.95rem;line-height:1.4}
.p-index .ix-sv__list b{display:block;color:var(--white);font-weight:700}
.p-index .ix-sv__list span{display:block;margin-top:1px;color:var(--mist);font-size:.85rem}
.p-index .ix-sv__list .icon{width:18px;height:18px;flex:none;color:var(--y);margin-top:2px;stroke-width:3}
.p-index .ix-sv__more{margin-top:24px}
.p-index .ix-sv__p.is-anim{animation:ixSvIn .5s var(--ease) both}
@keyframes ixSvIn{from{opacity:0;translate:0 14px}} /* `translate`, so it composes with the wide panel's transform */
@media (prefers-reduced-motion:reduce){.p-index .ix-sv__row,.p-index .ix-sv__ic,.p-index .ix-sv__go .icon,.p-index .ix-sv__p{transition:none}.p-index .ix-sv__p.is-anim{animation:none}}
@media (min-width:1025px){
  /* every panel sits in the same cell (hidden ones keep their box, invisible): switching never moves the page */
  .p-index .ix-sv{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);grid-template-rows:repeat(var(--n),auto) 1fr;column-gap:clamp(36px,4.4vw,72px)}
  .p-index .ix-sv__it{display:contents}
  .p-index .ix-sv__h{grid-column:1}
  .p-index .ix-sv__it:last-child .ix-sv__row{border-bottom:3px solid var(--ink)}
  /* the panel rides next to its row (JS sets --sv-y, clamped inside the list's height) */
  .p-index .ix-sv__p{grid-column:2;grid-row:1 / -1;align-self:start;padding:clamp(28px,2.6vw,40px);border:3px solid var(--ink);border-radius:var(--r);box-shadow:8px 8px 0 var(--white);
    transform:translate3d(0,var(--sv-y,0px),0);transition:transform .55s var(--ease)}
  .p-index .ix-sv__it:not(.is-on) .ix-sv__p{display:flex;visibility:hidden}
  /* the icons are yellow on white: they sit in a white badge with a yellow ring */
  .p-index .ix-sv__pic{display:block;width:88px;height:88px;padding:13px;border-radius:50%;background:var(--white);border:3px solid var(--y);object-fit:contain}
  .p-index .ix-sv__pk{display:block;margin:12px 0 24px;font-weight:900;text-transform:uppercase;letter-spacing:-.03em;line-height:.95;font-size:clamp(1.6rem,2.3vw,2.2rem);color:var(--y)}
}
@media (max-width:1024px){
  .p-index .ix-sv{border-bottom:3px solid var(--ink)}
  .p-index .ix-sv__it.is-on .ix-sv__row{border-radius:var(--r) var(--r) 0 0}
  .p-index .ix-sv__p{padding:6px clamp(16px,3vw,26px) 24px;border-radius:0 0 var(--r) var(--r);margin-bottom:12px}
  .p-index .ix-sv__go .icon{transform:rotate(90deg)}
  .p-index .ix-sv__row:hover .ix-sv__go .icon{transform:rotate(90deg) translateX(2px)}
  .p-index .ix-sv__it.is-on .ix-sv__go .icon{transform:rotate(-90deg)}
}
@media (max-width:640px){
  .p-index .ix-sv__row{gap:12px;padding-right:6px}
  .p-index .ix-sv__go{width:36px;height:36px;border-width:2px}
  .p-index .ix-sv__go .icon{width:16px;height:16px}
}

/* =========================================================
   5 · CIAO SRI LANKA (client-approved landmarks band; no header, the logo is the title)
   ========================================================= */
.p-index .ix-csl{position:relative;background:var(--y)}
/* the page's one cape: a hard diagonal out of the ink route section */
.p-index .ix-csl__cape{color:var(--ink);background:var(--y);position:relative;z-index:1}
/* full-bleed band: the landmarks run from the left edge right up to the brand column (24px gap); --csl-h is the
   art height that makes its width (x1.358) exactly fill that space, capped for very wide screens */
.p-index .ix-csl__band{--csl-g:max(clamp(24px,4vw,64px),env(safe-area-inset-left),env(safe-area-inset-right));--csl-bw:clamp(400px,34vw,470px);--csl-h:clamp(400px,calc((100vw - var(--csl-bw) - var(--csl-g) - 24px) / 1.358),1080px);position:relative;min-height:var(--csl-h);overflow:hidden;background:var(--y)}
.p-index .ix-csl__band picture{display:contents}
.p-index .ix-csl__land{position:absolute;left:0;bottom:0;height:var(--csl-h);width:auto;max-width:none;pointer-events:none;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 90px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 90px),transparent)}
.p-index .ix-csl__bandin{position:relative;display:flex;justify-content:flex-end;max-width:none;padding-left:var(--csl-g);padding-right:max(var(--csl-g),calc((100vw - 1467px - var(--csl-bw)) / 2));padding-top:clamp(10px,2vw,30px);padding-bottom:clamp(40px,5vw,80px);min-height:var(--csl-h);align-items:center}
.p-index .ix-csl__brand{width:min(var(--csl-bw,470px),100%)}
.p-index .ix-csl__logo{width:min(360px,78%);height:auto;margin-left:-6px}
.p-index .ix-csl__love{margin-top:18px;font-size:clamp(1.02rem,1.3vw,1.18rem);line-height:1.55;font-weight:500;color:var(--y-ink);max-width:36ch}

.p-index .ix-csl__story{font-weight:800;color:var(--ink);white-space:nowrap;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.p-index .ix-csl__story .icon{display:inline-block;width:.9em;height:.9em;margin-left:.22em;vertical-align:-.1em;stroke-width:2.6;transition:transform .3s var(--ease)}
.p-index .ix-csl__story:hover .icon{transform:translateX(4px)}

/* =========================================================
   6 · SIGNATURE TOURS (opener: departure board; cards: the shared .tcard)
   ========================================================= */
.p-index .ix-tours{overflow:hidden}
.p-index .ix-tours__head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px 48px;flex-wrap:wrap;margin-bottom:clamp(26px,3vw,40px)}
.p-index .ix-tours__head .op-board{margin-bottom:0;flex:1 1 560px;min-width:0}
.p-index .ix-tours__head .op-board__sub{color:var(--steel)}
.p-index .ix-rail{--side:max(var(--g),calc((100% - 1320px) / 2 + 24px));display:flex;gap:clamp(18px,2vw,30px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--side);
  padding:14px var(--side) 34px;scrollbar-width:none;overscroll-behavior-x:contain;cursor:grab;-webkit-overflow-scrolling:touch}
.p-index .ix-rail::-webkit-scrollbar{display:none}
.p-index .ix-rail:focus-visible{outline:3px solid var(--ink);outline-offset:-3px;border-radius:0}
.p-index .sec--ink .ix-rail:focus-visible{outline-color:var(--y)}
.p-index .ix-rail.is-drag{cursor:grabbing;scroll-snap-type:none;user-select:none}
.p-index .ix-rail.is-drag a{pointer-events:none}
.p-index .ix-rail>*{flex:none;scroll-snap-align:start}
/* the card lifts on hover: leave it room inside the scroller */
.p-index .ix-rail--tours{padding-top:18px;padding-bottom:40px}
.p-index .ix-prog{position:relative;height:4px;margin:0 var(--g);max-width:1272px;margin-inline:auto;width:calc(100% - 2 * var(--g));background:rgba(11,11,12,.1);border-radius:4px;overflow:hidden}
.p-index .ix-prog i{position:absolute;left:0;top:0;bottom:0;width:var(--w,20%);transform:translateX(var(--x,0));background:var(--ink);border-radius:4px}
.p-index .sec--ink .ix-prog{background:rgba(255,255,255,.12)}
.p-index .sec--ink .ix-prog i{background:var(--y)}
.p-index .ix-tours__note{margin-top:18px}

/* =========================================================
   8 · REVIEWS (no header: one real review set big, the rest in a rail)
   ========================================================= */
/* the quote runs ~8 of 12 columns; byline, score and rail controls share one ruled bar under it (no empty middle) */
.p-index .ix-rev__top{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;align-items:end;margin-bottom:clamp(40px,5vw,72px)}
.p-index .ix-rev__hero{grid-column:1 / -1;grid-row:1;margin:0;min-width:0}
.p-index .ix-rev__mark{display:block;height:.42em;margin:0 0 .06em -.04em;font-weight:900;font-size:clamp(7rem,12vw,11rem);line-height:.78;color:var(--y)}
.p-index .ix-rev__big{margin:0}
.p-index .ix-rev__big p{max-width:28ch;font-weight:800;font-size:clamp(1.85rem,3.9vw,3.5rem);line-height:1.08;letter-spacing:-.032em;color:var(--white)!important;text-wrap:balance}
.p-index .ix-rev__side{grid-column:2;grid-row:1;align-self:end;display:flex;align-items:center;gap:28px;position:relative;z-index:1}
.p-index .ix-rev__score{display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:340px;text-align:right;color:var(--white)!important;font-weight:600;font-size:.9rem;line-height:1.4}
.p-index .ix-stars{display:inline-flex;gap:2px;color:var(--y)}
.p-index .ix-stars .icon{width:18px;height:18px;fill:currentColor;stroke:none}
.p-index .ix-rail--rev{align-items:flex-start;padding-top:4px}
.p-index .ix-rv{position:relative;width:clamp(282px,28vw,384px);margin:0;display:flex;flex-direction:column;gap:22px;padding:26px 24px 22px;border-radius:var(--r);background:var(--ink-2);border:1px solid var(--ink-4);border-top:3px solid var(--y)}
.p-index .ix-rv__b{margin:0}
.p-index .ix-rv__txt{color:#E8E8EC!important;font-size:.98rem;line-height:1.6;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.p-index .ix-rv.is-open .ix-rv__txt{-webkit-line-clamp:unset;display:block}
.p-index .ix-rv__more{display:inline-flex;align-items:center;min-height:44px;margin-top:2px;font-weight:800;font-size:.85rem;color:var(--y);text-decoration:underline;text-underline-offset:3px}
.p-index .ix-rv__who{display:flex;align-items:center;gap:12px;margin:0}
.p-index .ix-av{width:48px;height:48px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--y);color:var(--ink);font-weight:900;font-size:1rem;letter-spacing:-.02em}
.p-index .ix-rv__who b{display:block;color:var(--white);font-size:.98rem}
.p-index .ix-rv__who small{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;color:var(--mist);font-size:.76rem;font-weight:600}
.p-index .ix-rv__who .ix-stars .icon{width:13px;height:13px}
.p-index .ix-rev__hero .ix-rev__by{margin-top:clamp(26px,2.8vw,38px);padding-top:clamp(20px,2vw,26px);border-top:1px solid var(--line-l)}
.p-index .ix-rev__by .ix-av{width:56px;height:56px;font-size:1.1rem}

/* =========================================================
   9 · PHOTO WALL (opener: caption box pushed right). Watermarks (A5): every tile is cropped from the
   top-left, so the agency mark (top-right corner + the faint low-centre one) stays outside the frame
   ========================================================= */
.p-index .ix-wall{overflow:hidden}
.p-index .ix-wall__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px 40px;flex-wrap:wrap;margin-bottom:clamp(40px,4.8vw,70px)}
.p-index .ix-wall__cap{order:2;margin-bottom:0}
.p-index .ix-wall__ig{order:1;display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding-bottom:4px}
.p-index .ix-wall__handle{display:flex;flex-direction:column;gap:2px;font-size:.95rem;font-weight:600;color:var(--steel)}
.p-index .ix-wall__handle b{font-size:clamp(1.5rem,2.4vw,2.2rem);letter-spacing:-.03em;text-transform:none;color:var(--ink)}
.p-index .ix-wall__rows{display:grid;gap:clamp(10px,1.2vw,18px)}
.p-index .ix-wall__row{display:flex;gap:clamp(10px,1.2vw,18px);width:max-content;margin-left:-14vw;will-change:transform}
.p-index .ix-wall__row figure{position:relative;margin:0;flex:none;height:clamp(170px,19vw,290px);aspect-ratio:3/2;border-radius:18px;overflow:hidden;background:var(--y-100)}
.p-index .ix-wall__row--b{margin-left:-6vw}
.p-index .ix-wall__row--b figure{height:clamp(140px,15vw,230px);aspect-ratio:4/3}
.p-index .ix-wall__row figure:nth-child(4n+2){border:3px solid var(--ink);box-shadow:5px 5px 0 var(--ink)}
/* default window = top-left 74.6%; a tile may set its own (--wo origin, --ws scale: see WALL in index.js) */
.p-index .ix-wall__row img{width:100%;height:100%;object-fit:cover;object-position:0 0;transform-origin:var(--wo,0 0);transform:scale(var(--ws,1.34));transition:transform 1s var(--ease)}
.p-index .ix-wall__row figure:hover img{transform:scale(calc(var(--ws,1.34) * 1.045))}
.p-index .ix-wall__row figcaption{position:absolute;left:10px;bottom:10px;padding:.25rem .6rem;border-radius:999px;background:rgba(11,11,12,.72);color:var(--white);font-size:.7rem;font-weight:700;letter-spacing:.04em;opacity:0;transform:translateY(6px);transition:.35s var(--ease)}
.p-index .ix-wall__row figure:hover figcaption{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.p-index .ix-wall__row img{transition:none}}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1180px){
  .p-index .ix-dep__grid{grid-template-columns:repeat(2,auto);justify-content:start;column-gap:40px}
}
@media (max-width:1024px){
  .p-index .ix-who__grid{grid-template-columns:1fr}
  /* phones/tablets: the bubble + heading come first, then the globe, then the departure board */
  .p-index .ix-route__grid{grid-template-columns:1fr;grid-template-areas:"op" "globe" "copy";grid-template-rows:auto}
  .p-index .ix-route__op{margin-bottom:0}
  .p-index .ix-collage{max-width:620px;width:100%;margin-inline:auto}
  .p-index .ix-csl__band{min-height:0;display:flex;flex-direction:column}
  .p-index .ix-csl__bandin{order:1;z-index:1;justify-content:flex-start;padding-inline:max(24px,env(safe-area-inset-left),env(safe-area-inset-right));min-height:0;align-items:normal;padding-top:clamp(18px,5vw,30px);padding-bottom:0}
  .p-index .ix-csl__land{order:2;position:relative;left:auto;display:block;width:100%;height:auto;margin:clamp(18px,4vw,36px) 0 0;-webkit-mask-image:none;mask-image:none}
}
@media (max-width:860px){
  .p-index .ix-rev__top{grid-template-columns:1fr;row-gap:26px}
  .p-index .ix-rev__hero,.p-index .ix-rev__side{grid-column:auto;grid-row:auto}
  .p-index .ix-rev__side{justify-content:space-between;flex-wrap:wrap;gap:18px 24px}
  .p-index .ix-rev__score{align-items:flex-start;text-align:left;max-width:none}
}
@media (max-width:640px){
  .p-index .ix-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p-index .ix-stat:nth-child(3){padding-left:0;border-left:0}
  .p-index .ix-stat:nth-child(n+3){border-top:2px dashed rgba(11,11,12,.18);margin-top:14px}
  .p-index .ix-globe{--gh:min(108vw,440px)}
  .p-index .ix-dep{padding:16px}
  .p-index .ix-dep__grid{column-gap:24px}
  .p-index .ix-collage{aspect-ratio:1/1.12}
  .p-index .ix-wall__head{align-items:flex-start}
  .p-index .ix-wall__cap{order:1}
  .p-index .ix-wall__ig{order:2}
}

/* the hero owns the first screen: below 1240px the Captain dock would sit on the boarding pass, so it slides in once the pass has risen */
@media (max-width:1239px){
  .p-index .dock{transition:transform .5s var(--ease)}
  .p-index.ix-hero-on .dock:not(.is-open){transform:translateY(calc(100% + 30px))}
}
