/* =========================================================
   CIAO Travels · tours.html (page-scoped, prefix .p-tours / .tr-) · System v2
   Shared pieces (tour card, price atom, route strip, openers, finale) live in ciao.css:
   this file only lays them out and styles the page's own tools.
   ========================================================= */
.p-tours{--stk: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))}
/* the shared display tracking (-.04em) shrinks the word gap in the hero H1: give words air back */
.p-tours .tr-hero__h1,.p-tours .tr-rp__name,.p-tours .tr-cust__h,.p-tours .tr-panel__q{word-spacing:.1em}
.p-tours .bubble{text-wrap:pretty}
.p-tours .tr-check{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;background:var(--ink);color:var(--y)}
.p-tours .tr-check .icon{width:14px;height:14px;stroke-width:3}

/* =========================================================
   1 · HERO
   ========================================================= */
.tr-hero{position:relative;overflow:hidden;isolation:isolate;padding-top:calc(var(--hdr) + clamp(4px,1vw,14px));padding-bottom:clamp(36px,4vw,64px);min-height:max(640px,min(100svh,1080px));display:flex;flex-direction:column}
.tr-hero::before{content:"";position:absolute;left:-10%;bottom:-10%;width:60%;height:70%;z-index:-1;background-image:radial-gradient(rgba(11,11,12,.13) 1.5px,transparent 1.7px);background-size:15px 15px;-webkit-mask:radial-gradient(ellipse at 20% 80%,#000 0,transparent 65%);mask:radial-gradient(ellipse at 20% 80%,#000 0,transparent 65%)}
/* a plain sun disc behind Captain CIAO (rays are the home finale's only) */
.tr-hero__sun{position:absolute;z-index:-1;right:-9vw;top:calc(var(--hdr) + 4px);width:min(66vw,920px);aspect-ratio:1;border-radius:50%;background:var(--y-300);box-shadow:inset 0 0 0 3px rgba(11,11,12,.85),0 0 0 18px rgba(255,255,255,.14),0 0 0 19px rgba(11,11,12,.16);transform:translate(calc(var(--mx,0) * 14px),calc(var(--my,0) * 10px));transition:transform .9s var(--ease)}

.tr-hero__grid{position:relative;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(16px,3vw,48px);align-items:center;flex:1}
.tr-hero__grid>*{min-height:0}
.tr-hero__copy{position:relative;z-index:3;padding-bottom:12px}
.tr-hero .phero__crumb{margin-bottom:clamp(14px,1.6vw,22px)}
.tr-hero .phero__crumb span[aria-hidden]{opacity:.5}
.tr-hero__h1{font-size:clamp(3.2rem,7vw,8rem);margin-top:.1em}
.tr-hero__h1 .tr-l{display:block}
.tr-hero__h1 .tr-l--out{color:transparent;-webkit-text-stroke:clamp(2px,.3vw,4px) var(--ink);paint-order:stroke}
.tr-sig{position:relative;display:inline-block;margin:-.55em 0 0 clamp(120px,24vw,330px);transform:rotate(-7deg);pointer-events:none;user-select:none}
.tr-sig__name{display:block;font-family:var(--f-script);font-size:clamp(1.9rem,3.5vw,3.3rem);line-height:1;color:var(--ink);white-space:nowrap}
.tr-sig__swash{display:block;width:115%;height:22px;margin:-4px 0 0 -6%;overflow:visible}
.tr-sig__swash path{fill:none;stroke:var(--ink);stroke-width:3.5;stroke-linecap:round;stroke-dasharray:420;stroke-dashoffset:0}
@media (prefers-reduced-motion:no-preference){
  .js .tr-sig__name{clip-path:inset(0 100% 0 0);animation:trInk 1.1s .9s var(--ease) forwards}
  .js .tr-sig__swash path{stroke-dashoffset:420;animation:trDraw .9s 1.7s var(--ease) forwards}
}
@keyframes trInk{to{clip-path:inset(0 -10% 0 0)}}
@keyframes trDraw{to{stroke-dashoffset:0}}
.tr-hero__lead{max-width:46ch;margin-top:clamp(10px,1.4vw,20px);font-size:clamp(1rem,1.25vw,1.16rem);line-height:1.6;color:var(--y-ink);font-weight:500}
.tr-hero__cta{margin-top:clamp(18px,2vw,26px)}

.tr-hero__art{position:relative;z-index:2;align-self:stretch;min-height:clamp(440px,62vh,720px)}
.tr-hero__stage{position:absolute;inset:0}
.tr-hero__capw{position:absolute;right:4%;bottom:3%;height:96%;max-height:740px;aspect-ratio:937/1400;transform:translate(calc(var(--mx,0) * -12px),calc(var(--my,0) * -8px));transition:transform .8s var(--ease)}
.tr-hero__cap{width:100%;height:100%;object-fit:contain;filter:var(--stk) drop-shadow(16px 18px 0 rgba(11,11,12,.16))}
.tr-hero__bubble{position:absolute;left:-10%;top:5%;max-width:256px;font-size:.9rem;z-index:4}   /* clear of the raised thumb */
.tr-hero__bubble.bubble--right::after{right:22px}

/* fanned boarding-pass deck (CSS 3D): one pass per bookable tour */
.tr-deck{position:absolute;left:-3%;bottom:2%;width:500px;height:210px;perspective:1200px;z-index:5;transform-origin:0 100%}
/* fan geometry (tours.js sets it for the number of passes; these are the values for 5): --gap between passes,
   --rs tilt step, --ls drop step, --x0 left offset that keeps the fan centred where the 5-pass fan sits */
.tr-deck__in{--n:5;--gap:72px;--rs:4.5deg;--ls:5px;--x0:0px;position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(calc(10deg + var(--my,0) * -5deg)) rotateY(calc(var(--mx,0) * 10deg)) rotateZ(-7deg);transition:transform .8s var(--ease)}
/* every pass keeps its code + price inside the ~72px strip that stays visible in the fan */
.tr-dk{--i:0;--o:calc(var(--i) - (var(--n) - 1) / 2);--r:calc(var(--o) * var(--rs));--lift:calc((var(--o) * var(--o)) * var(--ls));position:absolute;left:calc(var(--x0) + var(--i) * var(--gap));bottom:16px;width:208px;height:120px;display:grid;grid-template-columns:1fr 50px;border-radius:14px;background:var(--white);color:var(--ink);border:2.5px solid var(--ink);box-shadow:4px 5px 0 rgba(11,11,12,.9);transform-origin:50% 100%;transform:translateY(var(--lift)) rotate(var(--r)) translateZ(calc(var(--i) * 4px));transition:transform .5s var(--ease-back),box-shadow .3s;outline-offset:4px}
.tr-dk:nth-child(even){background:var(--ink-2);color:var(--white);border-color:var(--ink)}
.tr-dk:hover,.tr-dk:focus-visible{transform:translateY(calc(var(--lift) - 34px)) rotate(var(--r)) translateZ(60px);box-shadow:8px 12px 0 rgba(11,11,12,.9);z-index:9}
.tr-dk__main{padding:10px 10px 9px;display:flex;flex-direction:column;min-width:0}
.tr-dk__code{font-weight:900;font-size:1.8rem;line-height:.9;letter-spacing:-.05em}
.tr-dk:nth-child(even) .tr-dk__code{color:var(--y)}
.tr-dk .price{margin-top:7px;gap:2px}
.tr-dk .price__top{gap:.3em}
.tr-dk .price__from{font-size:.5rem;letter-spacing:.14em}
.tr-dk .price__n{font-size:.9rem;letter-spacing:-.02em}
.tr-dk .price__pp{font-size:.42rem;letter-spacing:.06em}
.tr-dk__more{margin-top:7px;font-size:.56rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.75}   /* the "+N" pass (more than 5 tours) */
.tr-dk__name{margin-top:auto;font-size:.62rem;font-weight:700;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.tr-dk__stub{border-left:2px dashed currentColor;border-left-color:rgba(127,127,127,.45);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:900;line-height:1}
.tr-dk__stub b{font-size:1.35rem;letter-spacing:-.04em}
.tr-dk__stub small{font-size:.56rem;letter-spacing:.14em;font-weight:800;opacity:.7}
.tr-dk__stub i{display:block;width:24px;height:16px;margin-top:6px;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 4px,currentColor 4px 5px,transparent 5px 7px);opacity:.7}

/* =========================================================
   2 · TROVA IL TUO TOUR (finder) · opener: op-board (DESIGN v2.14)
   ========================================================= */
.tr-finder{overflow:hidden;padding-top:clamp(140px,13vw,200px)}
.tr-cape{position:absolute;top:0;left:0;right:0;margin:0}
.tr-finder__board{margin-bottom:clamp(44px,5vw,72px)}
.tr-finder .tr-finder__sub{max-width:58ch;font-size:clamp(.98rem,1.15vw,1.08rem);font-weight:500;line-height:1.55;color:var(--mist)}

/* trip context carried over from the home search: a perforated coupon above the three questions */
.tr-ctx{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin:0 0 clamp(30px,3.4vw,44px);padding:12px;border-radius:18px;background:var(--ink-2);border:2px dashed rgba(253,182,28,.42)}
.tr-ctx__k{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:11px;background:var(--y);color:var(--ink);font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;line-height:1}
.tr-ctx__k .icon{width:17px;height:17px}
.tr-ctx__f{display:flex;align-items:center;gap:12px}
.tr-ctx__l{font-size:.64rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--mist)}
.tr-ctx__st{gap:8px;color:var(--white)}
.tr-ctx__st button{border-color:var(--ink-4)}
.tr-ctx__st button .icon{width:18px;height:18px}
.tr-ctx__st button:disabled{opacity:.35;cursor:not-allowed}
.tr-ctx__st button:disabled:hover{background:none;color:inherit;border-color:var(--ink-4)}
.tr-ctx__st output{min-width:2.2ch;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:1.3rem;color:var(--y)}
.p-tours .tr-ctx__sel{width:auto;min-height:44px;padding:.5rem 2.6rem .5rem .9rem;font-size:.9rem;font-weight:600;border-radius:12px}
.tr-ctx .tr-ctx__note{flex:1 1 240px;margin:0;font-size:.84rem;line-height:1.45;color:var(--mist)}
/* shared .select:focus is only a y-600 offset shadow (weak on white / ink-2): add a real ring for keyboard users */
.tr-ctx .select:focus-visible{outline:3px solid var(--y);outline-offset:3px}
.tr-filters .select:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.tr-ctx__x{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-left:auto;padding:0 12px;border-radius:12px;font-weight:700;font-size:.82rem;color:var(--mist)}
.tr-ctx__x:hover{color:var(--white);background:var(--ink-3)}
.tr-ctx__x .icon{width:16px;height:16px}

/* three comic panels: genuinely sequential questions, so they keep their 01–03 numerals */
.tr-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px);align-items:stretch}
.tr-panel{--rot:-.7deg;position:relative;isolation:isolate;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);border:3px solid var(--ink);border-radius:20px;padding:clamp(18px,1.8vw,26px);box-shadow:8px 8px 0 var(--ink-4);transform:rotate(var(--rot));transition:transform .55s var(--ease-back),box-shadow .35s,opacity .35s,filter .35s}
.tr-panel:nth-child(2){--rot:.6deg}.tr-panel:nth-child(3){--rot:-.35deg}
.tr-panel::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:17px;background-image:radial-gradient(rgba(11,11,12,.15) 1.3px,transparent 1.5px);background-size:12px 12px;-webkit-mask:linear-gradient(215deg,#000 0,transparent 55%);mask:linear-gradient(215deg,#000 0,transparent 55%)}
.tr-panel.is-next{box-shadow:10px 10px 0 var(--y);transform:rotate(var(--rot)) translateY(-8px)}
.tr-panel.is-done{box-shadow:8px 8px 0 var(--y-600)}
.tr-panel.is-next::after{content:attr(data-turn);position:absolute;top:-15px;left:22px;padding:5px 12px;border-radius:999px;background:var(--y);color:var(--ink);border:2.5px solid var(--ink);font-size:.66rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;line-height:1}
@media (prefers-reduced-motion:no-preference){.tr-panel.is-next::after{animation:trBob 1.6s ease-in-out infinite}}
@keyframes trBob{50%{transform:translateY(-3px)}}
.tr-panel.is-wait .tr-panel__n{-webkit-text-stroke-color:rgba(11,11,12,.45)}
.tr-panel__top{display:flex;justify-content:space-between;align-items:flex-start}
.tr-panel__n{font-weight:900;font-size:clamp(2.6rem,3.6vw,3.6rem);line-height:.8;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:2px var(--ink)}
.tr-panel.is-done .tr-panel__n,.tr-panel.is-next .tr-panel__n{color:var(--y)}
.tr-panel__ok{display:grid;place-items:center;width:64px;height:64px;margin:-34px -30px 0 0;background:var(--y);color:var(--ink);font-weight:900;font-size:.95rem;letter-spacing:-.02em;clip-path:polygon(50% 0,61% 22%,85% 8%,78% 34%,100% 42%,80% 58%,94% 82%,67% 77%,58% 100%,45% 80%,22% 96%,24% 70%,0 62%,20% 47%,4% 24%,30% 26%);transform:rotate(-12deg) scale(0);transition:transform .45s var(--ease-back)}
.tr-panel.is-done .tr-panel__ok{transform:rotate(-12deg) scale(1)}
.tr-panel__q{font-weight:900;text-transform:uppercase;font-size:clamp(1.45rem,2.1vw,2rem);letter-spacing:-.035em;line-height:.95;margin:14px 0 6px}
.tr-panel .tr-panel__hint{font-size:.84rem;font-weight:600;line-height:1.35;color:var(--steel);margin-bottom:16px}   /* beats .sec--ink p (mist on paper fails contrast) */
/* options fill the panel: equal-height comic panels without a dead gap under the question */
.tr-panel__opts{flex:1;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(54px,1fr);gap:10px}
.tr-panel[data-step="who"] .tr-opt{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:6px;padding:12px 12px 11px}
.tr-panel[data-step="who"] .tr-opt .icon{width:24px;height:24px}
.tr-panel__opts--5 .tr-opt:last-child,.tr-panel__opts--days .tr-opt:last-child:nth-child(odd){grid-column:1/-1}
.tr-opt{position:relative;display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px;border:2.5px solid var(--ink);border-radius:14px;background:var(--white);color:var(--ink);font-weight:700;font-size:.9rem;line-height:1.15;text-align:left;box-shadow:3px 3px 0 var(--ink);transition:transform .2s var(--ease),box-shadow .2s,background .2s,color .2s}
.tr-opt .icon{width:20px;height:20px}
.tr-opt:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--ink);background:var(--y-100)}
.tr-opt:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.tr-opt[aria-pressed="true"]{background:var(--ink);color:var(--y);box-shadow:3px 3px 0 var(--y-600)}
.tr-opt:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.tr-opt--num{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:74px}
.tr-opt--num b{font-size:1.85rem;font-weight:900;letter-spacing:-.05em;line-height:1}
.tr-opt--num span{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.75}

/* result */
.tr-result{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(24px,3.4vw,56px);align-items:start;margin-top:clamp(48px,5.5vw,80px)}
.tr-result__pass{min-width:0}
.tr-result.is-pending{align-items:center}   /* waiting ticket + route chips sit centred against the island, no dead band under them */
.tr-island{position:relative;height:clamp(420px,40vw,560px);border-radius:var(--r-l)}
.tr-prev{margin-top:22px}
.tr-prev__k{display:block;font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--y);margin-bottom:10px}
.tr-prev__list{display:flex;flex-wrap:wrap;gap:8px}
.tr-prev .chip{min-height:44px;padding:.4rem .9rem .4rem .5rem;font-size:.84rem}
.tr-prev .chip b{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:.72rem;padding:3px 6px;border-radius:6px;background:var(--ink-3);color:var(--y)}
.tr-prev .chip[aria-pressed="true"] b{background:var(--ink);color:var(--y)}
.tr-prev .chip.is-match{border-color:var(--y)}
.tr-island img,.tr-island canvas{max-width:none}
.tr-island .fallback3d{max-width:100%;object-fit:contain;border-radius:var(--r-l)}
.tr-island__cap{display:flex;gap:10px;align-items:flex-start;min-height:3.2em;margin-top:6px;font-size:.88rem;line-height:1.45;color:var(--mist);max-width:56ch}
.tr-island__cap .icon{width:18px;height:18px;color:var(--y);flex:none;margin-top:2px}
.tr-island__cap b{color:var(--white)}

/* the match: a yellow boarding pass (a bookable tour + its price) */
.tr-rp{--pbg:var(--y);color:var(--ink);box-shadow:0 30px 80px -30px rgba(253,182,28,.45)}
.tr-rp .pass__main{padding:clamp(20px,2.4vw,30px)}
.tr-rp__top{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.tr-rp__top .pass__label{opacity:.75}
.tr-rp__gate{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-weight:700;font-size:.72rem;letter-spacing:.12em;padding:4px 8px;border-radius:6px;background:var(--ink);color:var(--y)}
.tr-rp__name{font-weight:900;text-transform:uppercase;letter-spacing:-.045em;line-height:.88;font-size:clamp(2.1rem,3.6vw,3.4rem);margin-top:14px}
.tr-rp .tr-rp__tag{margin-top:8px;font-weight:600;color:var(--y-ink);font-size:.98rem}
.tr-rp__route{margin-top:14px}
.tr-rp__route .route__c{font-size:.74rem;gap:4px 7px}
.tr-rp__facts{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 28px;margin-top:18px;padding-top:14px;border-top:2px dashed rgba(11,11,12,.25)}
.tr-rp__meta{display:flex;gap:28px}
.tr-rp__meta dt{font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;opacity:.65}
.tr-rp__meta dd{font-weight:900;font-size:1.5rem;letter-spacing:-.03em;line-height:1.1}
.tr-rp .price__from,.tr-rp .price__pp{color:var(--y-ink)}   /* the atom's steel labels on a yellow pass: same treatment ciao.css gives .sec--y */
.tr-rp .price--lg .price__n{font-size:clamp(2rem,3vw,2.6rem)}
.tr-rp__pw{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.tr-rp .tr-rp__pnote{margin-top:6px;font-size:.7rem;font-weight:700;color:var(--y-ink)}
.tr-rp .tr-rp__req{font-weight:900;font-size:1.3rem;letter-spacing:-.02em;text-align:right;color:var(--ink)}
.tr-rp__req small{display:block;margin-top:4px;font-size:.7rem;font-weight:700;letter-spacing:0;color:var(--y-ink)}
.tr-rp__why{margin-top:20px;font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.tr-rp__reasons{list-style:none;display:grid;gap:9px;margin-top:10px}
.tr-rp__reasons li{display:flex;gap:10px;align-items:flex-start;font-weight:600;font-size:.93rem;line-height:1.4;color:var(--ink)}
.tr-rp__reasons li .tr-check{margin-top:-1px}
.tr-rp__reasons li.is-hint .tr-check{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.tr-rp__cta{margin-top:22px;gap:10px}
.tr-rp__cta .btn{min-height:48px}
.tr-rp__after{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:16px}
.tr-redo{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:700;font-size:.86rem;color:var(--mist);text-decoration:underline;text-underline-offset:4px}
.tr-redo:hover{color:var(--y)}
.tr-redo--form{color:var(--white)}
.tr-redo .icon{width:16px;height:16px}
.tr-rp__stub{gap:14px;padding-block:24px}
.tr-score{display:grid;justify-items:center;gap:4px;padding:10px 10px 11px;min-width:84px;border-radius:12px;background:var(--ink);color:var(--y);line-height:1}
.tr-score small{font-size:.56rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--mist)}
.tr-score b{font-weight:900;font-size:1.7rem;letter-spacing:-.05em}
.tr-rp__stub .barcode{height:56px}
.tr-rp__vert{writing-mode:vertical-rl;transform:rotate(180deg);font-weight:900;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;opacity:.7}
@media (prefers-reduced-motion:no-preference){
  .tr-rp.is-print{animation:trPrint .9s var(--ease) both}
  .tr-rp.is-print .tr-score{animation:trPop .5s .75s var(--ease-back) both}
}
@keyframes trPrint{from{clip-path:inset(0 0 100% 0);transform:translateY(-24px)}to{clip-path:inset(0 0 0 0);transform:none}}
@keyframes trPop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}

.tr-alt{display:flex;align-items:center;gap:14px;margin-top:16px;padding:12px 14px 12px 18px;border:2px solid var(--ink-4);border-radius:16px;color:var(--white);transition:border-color .25s,background .25s}
.tr-alt:hover{border-color:var(--y);background:var(--ink-2)}
.tr-alt__k,.tr-alt__n{display:block}
.tr-alt__k{font-size:.64rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--y)}
.tr-alt__n{font-weight:800;font-size:1rem;line-height:1.2}
.tr-alt__p{margin-left:auto;font-weight:900;font-size:1.3rem;letter-spacing:-.03em;color:var(--y)}
.tr-alt .icon{flex:none}

/* ghost (waiting) pass */
.tr-ghost{--pbg:var(--ink-2);color:var(--white);box-shadow:none;outline:2px dashed var(--ink-4);outline-offset:-2px}
.tr-ghost .pass__stub{border-left-color:var(--ink-4)}
.tr-ghost .tr-ghost__q{font-weight:900;font-size:clamp(3.4rem,6vw,5.6rem);line-height:.8;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:2px var(--ink-4);margin-top:14px}
.tr-ghost__t{margin-top:16px;max-width:36ch;color:var(--mist);font-weight:500}
.tr-ghost__prog{display:flex;gap:8px;margin-top:20px}
.tr-ghost__prog i{width:44px;height:8px;border-radius:8px;background:var(--ink-4)}
.tr-ghost__prog i.is-on{background:var(--y)}
.tr-ghost .barcode{opacity:.2}

/* =========================================================
   3 · ALL TOURS · opener: op-cap--paper · grid of the shared .tcard
   ========================================================= */
.tr-all :focus-visible,.tr-modal :focus-visible,.tr-panel :focus-visible{outline-color:var(--ink)}
.tr-cbar :focus-visible{outline-color:var(--y)}
.tr-all__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:clamp(34px,3.4vw,46px)}
.tr-all__cap{flex:0 1 auto;min-width:0;margin-bottom:0}
.tr-count{flex:none;text-align:right;line-height:1}
.tr-count__n{display:block;font-weight:900;font-size:clamp(3.2rem,6vw,5.6rem);line-height:.8;letter-spacing:-.06em}
.tr-count__l{display:block;margin-top:10px;font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--steel)}

.tr-filters{display:grid;grid-template-columns:auto minmax(200px,1fr) auto auto;grid-template-areas:"style style style style" "days budget sort tools";gap:20px 28px;align-items:end;padding:clamp(18px,2vw,26px);border:2.5px solid var(--ink);border-radius:var(--r);background:var(--white);box-shadow:var(--sh-hard)}
.tr-f{display:grid;gap:10px;min-width:0}
.tr-f--style{grid-area:style;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding-bottom:18px;border-bottom:2px dashed var(--line)}
.tr-f--budget{grid-area:budget}.tr-f--sort{grid-area:sort}.tr-f--tools{grid-area:tools;display:flex;gap:8px;align-items:center}
.tr-f:nth-child(2){grid-area:days}
.tr-f__k{font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;display:flex;justify-content:space-between;gap:12px}
.tr-f__k output{letter-spacing:.02em;font-size:.86rem;text-transform:none;font-weight:800;background:var(--y);padding:1px 8px;border-radius:6px}
.tr-chips{display:flex;flex-wrap:wrap;gap:8px}
.tr-chips .chip{min-height:42px;padding:.45rem .95rem;font-size:.85rem}
.tr-chips .chip .icon{width:17px;height:17px}
.tr-seg{background:var(--paper);border:2px solid var(--ink);flex-wrap:nowrap}
.tr-seg button{min-height:40px;padding:.45rem .85rem;font-size:.84rem;white-space:nowrap}
.tr-f--sort .select{min-height:48px;padding:.6rem 2.6rem .6rem .9rem;font-weight:600;font-size:.92rem;border-radius:12px}
.tr-f--budget input[type=range]{-webkit-appearance:none;appearance:none;height:30px;background:transparent;cursor:pointer;--p:100%}
.tr-f--budget input[type=range]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:linear-gradient(90deg,var(--ink) 0 var(--p),rgba(11,11,12,.12) var(--p) 100%)}
.tr-f--budget input[type=range]::-moz-range-track{height:8px;border-radius:8px;background:rgba(11,11,12,.12)}
.tr-f--budget input[type=range]::-moz-range-progress{height:8px;border-radius:8px;background:var(--ink)}
.tr-f--budget input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-9px;border-radius:50%;background:var(--y);border:3px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}
.tr-f--budget input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--y);border:3px solid var(--ink)}
.tr-f--budget input[type=range]:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.tr-fav{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:.5rem .95rem;border-radius:999px;border:2px solid var(--ink);font-weight:700;font-size:.85rem;white-space:nowrap;transition:.2s var(--ease)}
.tr-fav:hover{background:var(--y-100)}
.tr-fav .icon{width:18px;height:18px}
.tr-fav[aria-pressed="true"]{background:var(--ink);color:var(--y)}
.tr-fav[aria-pressed="true"] .icon{fill:currentColor}
.tr-fav__n{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--y);color:var(--ink);font-size:.72rem;font-weight:900}
.tr-reset{min-height:48px;padding:.5rem .6rem;font-weight:700;font-size:.85rem;text-decoration:underline;text-underline-offset:4px;opacity:.7}
.tr-reset:hover{opacity:1}

.tr-grid{margin-top:clamp(32px,3.6vw,48px)}
/* compare toggle in the card stub (opts.slot): a "VS" disc next to the heart */
.tr-vs{position:relative;display:grid;place-items:center;width:44px;height:44px;flex:none;cursor:pointer;color:inherit}
.tr-vs__in{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.tr-vs__b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:2px solid var(--tc-line,rgba(11,11,12,.16));font-size:.74rem;font-weight:900;letter-spacing:.02em;transition:background .25s,border-color .25s,color .25s,transform .35s var(--ease-back)}
.tr-vs:hover .tr-vs__b{border-color:currentColor;transform:scale(1.06)}
.tr-vs__in:checked+.tr-vs__b{background:var(--ink);border-color:var(--ink);color:var(--y)}
.tr-vs__in:focus-visible+.tr-vs__b{outline:3px solid var(--ink);outline-offset:2px}
.tr-vs__in:disabled{cursor:not-allowed}
.tr-vs__in:disabled+.tr-vs__b{opacity:.35;transform:none}
.tcard.is-cmp .tcard__stub{background:var(--y-100)}

/* the custom-route card closes the grid (opts.after) */
.tr-cust{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:12px;min-height:420px;padding:clamp(24px,2.4vw,32px);border-radius:var(--r);background:var(--ink);color:var(--white)}
.tr-cust::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(rgba(253,182,28,.22) 1.4px,transparent 1.6px);background-size:14px 14px;-webkit-mask:linear-gradient(180deg,#000,transparent 70%);mask:linear-gradient(180deg,#000,transparent 70%)}
.tr-cust__q{position:absolute;right:22px;top:6px;z-index:-1;font-weight:900;font-size:clamp(9rem,15vw,14rem);line-height:.9;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:2.5px rgba(253,182,28,.55)}
.tr-cust .tr-cust__k{font-size:.7rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--y)}
.tr-cust__h{font-weight:900;text-transform:uppercase;letter-spacing:-.045em;line-height:.9;font-size:clamp(1.9rem,2.6vw,2.5rem);max-width:12ch}
.tr-cust .tr-cust__p{color:var(--mist);font-size:.95rem;line-height:1.5;max-width:32ch}
.tr-cust .btn{margin-top:6px}

/* empty state: no Captain here (one cameo per page), just the way out */
.tr-empty{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:24px clamp(24px,4vw,56px);align-items:center;margin-top:clamp(32px,3.6vw,48px);padding:clamp(24px,4vw,48px);border:2.5px dashed var(--ink);border-radius:var(--r-l);background:var(--y-100)}
.tr-empty__msg .h3{font-size:clamp(1.4rem,2.2vw,1.9rem)}
.tr-empty__msg p{margin-top:10px;max-width:44ch;font-weight:500;line-height:1.55}
.tr-empty__msg .row{margin-top:20px}
.tr-empty__drop{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:20px 22px;border-radius:18px;background:var(--white);border:2.5px solid var(--ink);box-shadow:var(--sh-hard)}
.tr-empty__k{font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.tr-empty__chips{display:flex;flex-wrap:wrap;gap:8px}
.tr-empty__drop .chip{min-height:44px;background:var(--y);border-color:var(--ink)}
.tr-empty__drop .chip:hover{background:var(--ink);color:var(--y)}
.tr-empty__drop .chip .icon{width:15px;height:15px;stroke-width:2.6}
.tr-empty__drop .chip b{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-right:-6px;padding:0 7px;border-radius:999px;background:var(--ink);color:var(--y);font-size:.74rem;font-weight:900}
.tr-empty__drop .chip:hover b{background:var(--y);color:var(--ink)}
.tr-empty__drop small{font-size:.78rem;color:var(--steel);font-weight:600;line-height:1.4}
/* no published tour yet: the same dashed box, one column, opening the section */
.tr-empty.tr-soon{grid-template-columns:minmax(0,1fr);margin-top:0}
.tr-soon .tr-soon__k{margin:0 0 8px;font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.tr-note{margin-top:28px;font-size:.82rem;color:var(--steel);max-width:90ch;line-height:1.55}
.tr-note b{color:var(--ink)}

/* =========================================================
   4 · INCLUDED · opener: op-bubble (the page's one Captain cameo)
   ========================================================= */
.tr-inc{overflow:hidden;isolation:isolate}
.tr-inc__dots{position:absolute;inset:0;z-index:-1;-webkit-mask:radial-gradient(ellipse at 85% 20%,#000 0,transparent 55%);mask:radial-gradient(ellipse at 85% 20%,#000 0,transparent 55%)}
/* avatar crop tuned for the thumbs-up pose: face + thumb inside the disc */
.tr-inc__av{--av-x:-40%;--av-y:6%;--av-w:190%}
.tr-inc__grid{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:clamp(36px,5vw,80px);align-items:start}
.tr-inc__main{min-width:0}
.tr-inc__list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:26px 30px}
.tr-inc__list li{display:flex;gap:14px;align-items:flex-start;font-weight:600;font-size:.97rem;line-height:1.45;color:var(--y-ink)}
.tr-inc__list li b{display:block;color:var(--ink);font-weight:800;font-size:1.02rem;margin-bottom:2px}
.tr-inc__ic{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:14px;background:var(--ink);color:var(--y);box-shadow:3px 3px 0 rgba(11,11,12,.25)}
.tr-inc__ic .icon{width:22px;height:22px}
/* "offerto da noi": complimentary visits + CIAO gifts, one ink panel */
.tr-perks{padding:clamp(22px,2.6vw,34px);border-radius:var(--r-l);background:var(--ink);color:var(--white)}
.tr-perks__h{font-weight:900;text-transform:uppercase;letter-spacing:-.03em;line-height:1;font-size:clamp(1.5rem,2.2vw,2rem);color:var(--y)}
.tr-perks__blk{margin-top:20px}
.tr-perks__blk+.tr-perks__blk{padding-top:20px;border-top:2px dashed var(--ink-4)}
.tr-perks .tr-perks__k{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--mist)}
.tr-perks__k b{font-size:1.5rem;font-weight:900;letter-spacing:-.04em;color:var(--white)}
.tr-perks__visits{list-style:none;columns:2;column-gap:22px;margin-top:8px}
.tr-perks__visits li{break-inside:avoid;padding:8px 0;border-bottom:1px solid var(--ink-4);font-size:.88rem;font-weight:600;line-height:1.3;color:#e6e6ea}
.tr-perks__gifts{list-style:none;display:grid;gap:10px;margin-top:12px}
.tr-perks__gifts li{display:flex;gap:10px;align-items:flex-start;font-size:.88rem;line-height:1.45;color:#e6e6ea}
.tr-perks__gifts .icon{width:18px;height:18px;color:var(--y);flex:none;margin-top:2px}
.tr-inc__ex{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-top:clamp(34px,3.6vw,48px);padding-top:22px;border-top:2px solid rgba(11,11,12,.85);font-size:.86rem;font-weight:600;color:var(--y-ink)}
.tr-inc__ex>b{font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);margin-right:6px}
.tr-inc__ex span{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1.5px solid rgba(11,11,12,.35);background:rgba(255,255,255,.18)}
.tr-inc__ex .icon{width:14px;height:14px;stroke-width:2.6}

/* =========================================================
   5 · FAQ · opener: op-side
   ========================================================= */
.tr-faq__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5vw,88px);align-items:start}
.tr-faq__side{position:sticky;top:calc(var(--hdr-offset,80px) + 28px);transition:top .45s var(--ease)}
.tr-faq .tr-faq__lead{margin-top:18px;max-width:34ch;font-size:1.05rem;line-height:1.55}
.tr-faq__acts{margin-top:26px;gap:12px 24px;align-items:center}
.tr-faq__all{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:800;color:var(--y)}
.tr-faq__all span{background:linear-gradient(currentColor,currentColor) 0 100%/100% 2px no-repeat;padding-bottom:2px;transition:background-size .35s var(--ease)}
.tr-faq__all:hover span{background-size:0 2px;background-position:100% 100%}
.tr-faq__all .icon{width:18px;height:18px;transition:transform .35s var(--ease)}
.tr-faq__all:hover .icon{transform:translateX(4px)}
.tr-faq .acc,.tr-faq .acc details{border-color:var(--ink-4)}
.tr-faq .acc summary{font-size:clamp(1rem,1.3vw,1.14rem)}
.tr-faq .acc summary:hover{color:var(--y)}
.tr-faq .acc__body{color:var(--mist);line-height:1.65}
.tr-faq .acc__body p{color:var(--mist)}

/* =========================================================
   COMPARE BAR + MODAL
   ========================================================= */
/* the toast would sit on top of the compare bar: lift it while the bar is up */
.p-tours.has-cbar .toast{bottom:108px}
.tr-cbar{position:fixed;left:50%;bottom:18px;z-index:158;width:min(1000px,calc(100% - 32px));transform:translate(-50%,170%);visibility:hidden;transition:transform .55s var(--ease-back),visibility 0s .55s}
.tr-cbar.is-on{transform:translate(-50%,0);visibility:visible;transition:transform .55s var(--ease-back),visibility 0s}
.tr-cbar__in{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 20px;background:var(--ink);color:var(--white);border:2.5px solid var(--ink);border-radius:22px;box-shadow:6px 6px 0 var(--y),0 24px 60px -20px rgba(0,0,0,.6)}
.tr-cbar__k{font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--y)}
.tr-cbar__slots{display:flex;gap:8px;flex:1;min-width:0;list-style:none}
.tr-cbar__slot{display:flex;align-items:center;gap:8px;min-width:0;flex:1;max-width:220px;min-height:46px;padding:4px 4px 4px 12px;border-radius:13px;background:var(--ink-3)}
.tr-cbar__slot b{font-family:ui-monospace,"SF Mono",Menlo,monospace;color:var(--y);font-size:.82rem}
.tr-cbar__slot span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600;font-size:.8rem}
.tr-cbar__slot button{margin-left:auto;width:38px;height:38px;flex:none;border-radius:10px;display:grid;place-items:center;color:var(--mist)}
.tr-cbar__slot button:hover{background:var(--ink-4);color:var(--white)}
.tr-cbar__slot button .icon{width:16px;height:16px}
.tr-cbar__slot--empty{justify-content:center;padding:4px 12px;background:none;border:2px dashed var(--ink-4);color:var(--mist);font-size:.76rem;font-weight:600}
.tr-cbar__go{flex:none}
.tr-cbar__go:disabled::before{display:none}   /* shared .btn:disabled dims it; no yellow hover wipe on a dead button */
.tr-cbar__clr{width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;color:var(--mist)}
.tr-cbar__clr:hover{color:var(--white);background:var(--ink-3)}
.p-tours.has-cbar .dock{transition:bottom .4s var(--ease),opacity .3s,visibility .3s}

.tr-modal.is-open{transition:opacity .3s,visibility 0s}   /* visible at once so focus can move into it */
.tr-modal:not(.is-open){pointer-events:none}   /* while it fades out it must not swallow clicks on the compare bar */
.tr-modal__h{padding-right:56px}
.tr-table__hint{display:none;align-items:center;gap:8px;margin-top:14px;font-weight:700;color:var(--steel)}
.tr-table__hint .icon{width:18px;height:18px;color:var(--ink)}
@media (prefers-reduced-motion:no-preference){.tr-table__hint .icon{animation:trNudge 1.4s ease-in-out infinite}}
@keyframes trNudge{50%{transform:translateX(5px)}}
.tr-modal__box{width:min(1180px,100%);max-height:min(90vh,980px);padding:clamp(20px,3vw,40px);border:3px solid var(--ink);box-shadow:10px 10px 0 var(--y)}
.tr-modal .modal__x{z-index:3;transition:background .25s var(--ease),transform .25s var(--ease)}   /* .icon-btn's "transition:all" also eases the inherited visibility, which blocks focus() on open */
.tr-table{margin-top:20px;overflow-x:auto;border:2.5px solid var(--ink);border-radius:18px;background:var(--white);-webkit-overflow-scrolling:touch}
.tr-table table{width:100%;min-width:620px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:.9rem}
.tr-table th,.tr-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.tr-table tbody tr:last-child th,.tr-table tbody tr:last-child td{border-bottom:0}
.tr-table tbody tr:nth-child(even) td,.tr-table tbody tr:nth-child(even) th{background:#FFFDF6}
.tr-table tbody th{position:sticky;left:0;z-index:1;background:var(--paper)!important;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;box-shadow:inset -2px 0 0 var(--line)}
.tr-table thead th{background:var(--ink);color:var(--white);vertical-align:bottom;padding:16px 14px}
.tr-table thead th:first-child{position:sticky;left:0;z-index:2;width:170px;background:var(--ink);color:var(--y);font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;line-height:1.4}
.tr-th{display:grid;gap:6px;min-width:150px}
.tr-th b{font-family:ui-monospace,"SF Mono",Menlo,monospace;color:var(--y);font-size:.78rem;letter-spacing:.1em}
.tr-th a{font-weight:800;font-size:1.05rem;line-height:1.15;letter-spacing:-.02em}
.tr-th a:hover{color:var(--y)}
.tr-table td{font-weight:600}
.tr-table td small{display:block;font-weight:500;color:var(--steel);font-size:.76rem;margin-top:4px}
.tr-table .price__n{font-size:1.15rem}
.tr-yes,.tr-no{display:inline-flex;align-items:center;gap:8px}
.tr-yes .tr-check{width:22px;height:22px}
.tr-no{color:var(--steel);font-weight:500}
.tr-no i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:2px solid rgba(11,11,12,.25)}
.tr-no .icon{width:12px;height:12px;stroke-width:3}
.tr-tier{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;font-variant-numeric:tabular-nums}
.tr-tier span{color:var(--steel);font-weight:600}
.tr-tier .tr-na{font-weight:500;font-style:italic}
.tr-modal__note{margin-top:14px;color:var(--steel)}
.tr-modal__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width:981px) and (max-width:1240px){
  .tr-deck{transform:scale(.8);left:-6%}
  .tr-hero__bubble{left:-15%;top:3%;max-width:212px;font-size:.84rem}
  /* keep the sun's ink ring out of the copy column */
  .tr-hero__sun{width:min(60vw,920px);right:-13vw}
  .tr-hero__lead{max-width:40ch}
}
@media (max-width:1180px){
  /* the shared card's route strip needs ~340px for CMB + 5 stops + CMB: two columns until the cards are that wide */
  .tr-grid.tcards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tr-filters{grid-template-columns:auto minmax(200px,1fr);grid-template-areas:"style style" "days budget" "sort tools"}
  .tr-f--tools{justify-content:flex-end}
}
@media (max-width:1000px){
  .p-tours.has-cbar .dock{bottom:104px}
}
@media (max-width:980px){
  .tr-hero{min-height:0}
  .tr-hero__grid{grid-template-columns:1fr;gap:0}
  .tr-hero__copy{display:contents}
  .tr-hero__grid>.tr-hero__copy>*{position:relative;z-index:3}
  .tr-hero .phero__crumb{order:1}
  .tr-hero__h1{order:3}
  .tr-sig{order:4;justify-self:start}
  .tr-hero__art{--arth:clamp(380px,64vw,560px);order:5;min-height:0;height:var(--arth);margin:4px 0 40px}
  .tr-hero__h1{font-size:clamp(2.9rem,10vw,6rem)}
  /* the deck's left pass never runs off the screen edge (scaled width 450px) */
  .tr-deck{left:auto;right:min(max(26%,calc(100% - 520px)),calc(100% - 462px));transform:scale(.9);transform-origin:100% 100%}
  /* single column: the bubble hangs just left of the raised thumb (the thumb starts ~20% into the Captain's box,
     whose width is .96 × .669 × the stage height), never off the left edge of the screen */
  .tr-hero__bubble{--bub-r:calc(4% + var(--arth) * .533);left:auto;right:var(--bub-r);max-width:min(256px,calc(100% - var(--bub-r)))}
  .tr-hero__lead{order:6;margin-top:8px}
  .tr-hero__cta{order:7}
  /* single column: the section-level sun would cut through the lead + CTAs, so the disc moves behind the mascot */
  .tr-hero__sun{display:none}
  .tr-hero__stage::before{content:"";position:absolute;z-index:-1;right:-16%;top:-3%;height:106%;aspect-ratio:1;border-radius:50%;background:var(--y-300);box-shadow:inset 0 0 0 3px rgba(11,11,12,.85),0 0 0 14px rgba(255,255,255,.14)}
  .tr-strip{grid-template-columns:1fr;max-width:620px;margin-inline:auto}
  .tr-panel{--rot:0deg!important}
  .tr-result{grid-template-columns:1fr;max-width:680px;margin-inline:auto}
  .tr-island{height:clamp(380px,80vw,560px)}
  /* single column: what's included, then what we add on top (the ink perks card), then what isn't included */
  .tr-inc__grid{grid-template-columns:1fr;row-gap:0}
  .tr-inc__main{display:contents}
  .tr-inc__op{order:1}.tr-inc__list{order:2}.tr-perks{order:3;margin-top:clamp(34px,5vw,48px)}.tr-inc__ex{order:4}
  .tr-faq__grid{grid-template-columns:1fr}
  .tr-faq__side{position:relative;top:0}
  .tr-empty{grid-template-columns:1fr}
}
@media (max-width:759px){
  .tr-grid.tcards{grid-template-columns:1fr}
}
@media (max-width:760px){
  .tr-filters{grid-template-columns:1fr;grid-template-areas:"style" "days" "budget" "sort" "tools"}
  .tr-f--style{grid-template-columns:1fr;gap:10px}
  .tr-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-18px;padding:2px 18px 6px;scrollbar-width:none}
  .tr-chips::-webkit-scrollbar{display:none}
  .tr-chips .chip{flex:none}
  .tr-seg{width:100%}
  .tr-seg button{flex:1;padding-inline:.4rem}
  .tr-f--tools{justify-content:space-between}
  .tr-inc__list{grid-template-columns:1fr}
  .tr-cbar{bottom:0;width:100%;padding:0}
  .tr-cbar__in{border-radius:20px 20px 0 0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;box-shadow:0 -6px 0 var(--y),0 -20px 50px -20px rgba(0,0,0,.6)}
  .tr-cbar__k{display:none}
  /* phones: three ~50px slots; the whole filled slot is the remove button, the x sits as a corner badge */
  .tr-cbar__slot{position:relative;justify-content:center;padding:4px;max-width:none}
  .tr-cbar__slot span{display:none}
  .tr-cbar__slot b{font-size:.78rem}
  .tr-cbar__slot button{position:absolute;inset:0;width:auto;height:auto;margin:0;padding:5px;border-radius:13px;display:flex;align-items:flex-start;justify-content:flex-end}
  .tr-cbar__slot button:hover{background:rgba(255,255,255,.06)}
  .tr-cbar__slot button .icon{width:12px;height:12px;stroke-width:3}
  .tr-cbar__slot--empty{font-size:0}
  .tr-cbar__slot--empty::before{content:"+";font-size:1.1rem;font-weight:800}
  .tr-cbar__go{padding-inline:.9rem}
  .p-tours.has-cbar .dock{bottom:92px}
  .p-tours.has-cbar .toast{bottom:168px}
}
@media (max-width:560px){
  .tr-table__hint{display:flex}
  .tr-prev__list{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .tr-prev__list::-webkit-scrollbar{display:none}
  .tr-prev .chip{flex:none}
  .tr-alt__n{font-size:.94rem}
  .tr-ctx{gap:12px 14px}
  .tr-ctx__x{order:1;margin-right:-4px}
  .tr-ctx__f{order:2;flex:1 1 100%;justify-content:space-between}
  .tr-ctx .tr-ctx__note{order:3;flex-basis:100%}
  .p-tours .tr-ctx__sel{flex:0 1 220px;min-width:0}
  .tr-table thead th:first-child{width:112px}
  .tr-table table{min-width:0;width:calc(112px + var(--cols,3) * 190px)}
  .tr-hero__h1{font-size:clamp(2.9rem,14.2vw,4.4rem)}
  .tr-sig{margin-left:34%}
  /* phones: mascot + both CTAs inside the first screen, the lead follows */
  .tr-hero__art{--arth:clamp(320px,88vw,380px);margin-bottom:22px}
  .tr-hero__cta{order:6;margin-top:0}
  .tr-hero__lead{order:7;margin-top:22px;font-size:.98rem}
  .tr-hero__bubble{--bub-r:calc(var(--arth) * .522 - 2%);max-width:min(170px,calc(100% - var(--bub-r)));font-size:.78rem;padding:10px 12px;top:2%}
  .tr-hero__bubble .bubble__who{font-size:.58rem}
  .tr-deck{left:10px;right:auto;bottom:2%;transform:scale(.7);transform-origin:0 100%}
  .tr-hero__capw{right:-2%;height:94%}
  .tr-hero__cta .btn{flex:1 1 100%}
  .tr-hero__cta .btn--lg{min-height:56px}
  .tr-panel__q{font-size:1.5rem}
  .tr-opt{font-size:.86rem;padding:9px 10px;gap:8px}
  /* phones: the match pass turns vertical (stub at the bottom) so the reasons get the full width */
  .p-tours .tr-rp{--stubh:104px;grid-template-columns:1fr;
    -webkit-mask:radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubh)),#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubh)),#0000 98%,#000) right/51% 100% no-repeat;
    mask:radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubh)),#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubh)),#0000 98%,#000) right/51% 100% no-repeat}
  .p-tours .tr-rp .tr-rp__stub{flex-direction:row;align-items:center;justify-content:space-between;height:var(--stubh);padding:12px 18px;border-left:0;border-top:2px dashed rgba(11,11,12,.25)}
  .tr-rp .pass__main{padding:20px 18px 22px}
  .tr-rp__meta{gap:18px}
  .tr-rp__meta dd{font-size:1.25rem}
  .tr-rp__pw,.tr-rp .tr-rp__req{align-items:flex-start;text-align:left}
  .tr-rp__cta .btn{flex:1 1 100%}
  .tr-score{min-width:72px;padding:8px}
  .tr-score b{font-size:1.4rem}
  .tr-rp__vert{writing-mode:horizontal-tb;transform:none;font-size:.66rem;letter-spacing:.14em;text-align:center}
  .tr-rp__stub .barcode{width:84px;height:44px;flex:none}
  /* phones: the caption box gets the full width, the counter follows it as one line on the right */
  .tr-all__head{flex-direction:column;align-items:stretch;gap:20px}
  .tr-count{display:flex;align-items:baseline;justify-content:flex-end;gap:10px}
  .tr-count__n{font-size:2.6rem}
  .tr-count__l{margin-top:0;font-size:.62rem;letter-spacing:.12em}
  .tr-cust{min-height:360px}
  .tr-perks__visits{column-gap:16px}
  .tr-perks__visits li{font-size:.82rem;padding:7px 0}
}
@media (max-width:380px){
  .tr-deck{transform:scale(.62);left:8px}
}
@media (max-width:340px){
  .tr-deck{transform:scale(.56)}
}
@media (prefers-reduced-motion:reduce){
  .tr-dk,.tr-panel,.tr-deck__in,.tr-hero__capw,.tr-hero__sun{transition:none}
}
