/* Trip page, three types (Founder-Hosted / Fixed Departure / Private): design handoff "trip detail", desktop and mobile.
   One markup serves both: from 768px up the sections run down the left with the booking card sticky on the right and a
   quick-nav bar; below 768px the same sections sit in tabs (assets/js/tk-mobile.js) and the booking card drops below them.
   Layout lives in classes (not inline) so the breakpoint can restack it. Colours, radii and shadows are the handoff's. */
.td{font-family:'DM Sans',sans-serif;color:#10265A;background:#F2F5FF;-webkit-text-size-adjust:100%}
.td *{box-sizing:border-box}
.td a{color:#2B54D6;text-decoration:none}
.td a:hover{color:#10265A}
.td input,.td select,.td textarea{font-family:'DM Sans',sans-serif}
.td input::placeholder,.td textarea::placeholder{color:#7d88a8}
.td-wrap{max-width:1200px;margin:0 auto;padding:0 30px}
.td-sec{scroll-margin-top:calc(var(--td-hdr,72px) + var(--td-nav,46px) + 14px)}

/* ---- title block ---- */
.td-top{padding:24px 0 0}
.td-crumbs{margin-bottom:14px;font-size:.85rem;font-weight:500}
.td-crumbs span{color:#5b6684}
.td-chip{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding:4px 12px;border:2px solid #10265A;border-radius:30px;font-family:'Caveat',cursive;font-weight:700;font-size:1.02rem;line-height:1.25}
.td-chip--blue{background:#2B54D6;color:#FFD23F}
.td-chip--yellow{background:#FFD23F;color:#10265A}
.td-h1{margin:0 0 10px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2rem,4.4vw,3.2rem);line-height:1.02;letter-spacing:-.035em}
.td-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-bottom:22px;font-weight:600;font-size:.9rem}
.td-meta .td-dot{color:#5b6684}
.td-meta .td-hot{color:#2B54D6}
.td-hostlink{display:inline-flex;align-items:center;gap:7px}
.td-hostlink img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1.5px solid #10265A}

/* ---- photos: large left + two stacked right (desktop), a strip of three (phone); every photo opens the lightbox ---- */
.td-photos-wrap{padding:0 0 28px}
.td-photos{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:1fr 1fr;gap:5px;height:380px;border:4px solid #10265A;border-radius:15px 225px 15px 255px/225px 15px 255px 15px;overflow:hidden;box-shadow:10px 10px 0 #2B54D6}
.td-photos button{position:relative;padding:0;border:0;cursor:zoom-in;overflow:hidden;background:#dbe2f4}
.td-photos button:first-child{grid-row:1/3}
.td-photos img{display:block;width:100%;height:100%;object-fit:cover}
.td-photos--1{grid-template-columns:1fr;grid-template-rows:1fr}
.td-photos--2 button:nth-child(2){grid-row:1/3}
.td-photos button:focus-visible{outline:4px solid #FFD23F;outline-offset:-4px}
.td-pill{position:absolute;top:14px;left:14px;padding:5px 13px;background:#FFD23F;border:2px solid #10265A;border-radius:30px;font-family:'Caveat',cursive;font-weight:700;font-size:1.05rem;color:#10265A}
.td-more{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;padding:9px 15px;background:#10265A;color:#FFD23F;border:2px solid #FFD23F;border-radius:30px;font-weight:700;font-size:.85rem}

/* ---- quick-nav (desktop) / tabs (phone) ---- */
.td-quicknav{position:sticky;top:var(--td-hdr,72px);z-index:40;background:#F2F5FF;border-bottom:3px solid #10265A;border-top:3px solid #10265A;overflow-x:auto;white-space:nowrap}
.td-quicknav .td-wrap{display:flex;gap:22px;padding-top:12px;padding-bottom:12px}
.td-quicknav a{font-weight:700;font-size:.86rem;color:#10265A}
.td-quicknav a:hover,.td-quicknav a:focus-visible{color:#2B54D6}

/* ---- two-column body ---- */
.td-body{display:grid;grid-template-columns:1.7fr 1fr;gap:44px;align-items:start;padding-top:40px;padding-bottom:0}
.td-main{min-width:0}
.td-block{margin-bottom:40px}
.td-h2{margin:0 0 4px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;letter-spacing:-.03em;line-height:1.1}
.td-sub{margin:0 0 18px;font-family:'Caveat',cursive;font-size:1.25rem;line-height:1.25;color:#2B54D6}
.td-lead{margin:0 0 20px;font-size:1.1rem;line-height:1.72;font-weight:500}
.td-note{margin:0 0 20px;padding:12px 15px;background:#fff;border:2px solid #10265A;border-radius:8px;font-size:.92rem;line-height:1.55;font-weight:600}
.td-chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:36px}
.td-chips span{padding:7px 15px;border:2px solid #10265A;border-radius:20px;font-size:.85rem;font-weight:600}
.td-points{margin:0 0 36px;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.td-points li{display:flex;gap:9px;font-size:.96rem;line-height:1.5;font-weight:500}
.td-points li::before{content:'✓';color:#2B54D6;font-weight:700}

/* route pills */
.td-route{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.td-route .td-stop{padding:9px 18px;background:#FFD23F;border:3px solid #10265A;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:.95rem;box-shadow:3px 3px 0 #10265A}
.td-route .td-stop:nth-of-type(even){border-radius:15px 225px 15px 255px/225px 15px 255px 15px}
.td-route .td-arrow{color:#2B54D6}
.td--private .td-route .td-stop{background:#F2F5FF}
.td-routenote{margin:14px 0 0;font-family:'Caveat',cursive;font-size:1.15rem;color:#2B54D6}

/* accordions: itinerary days and FAQs */
.td-acc{margin-bottom:11px;border:3px solid #10265A;border-radius:6px;overflow:hidden;background:#fff}
.td-acc summary{display:flex;align-items:center;gap:14px;padding:16px 20px;cursor:pointer;list-style:none}
.td-acc summary::-webkit-details-marker{display:none}
.td-acc summary:focus-visible{outline:3px solid #2B54D6;outline-offset:-3px}
.td-acc__day{flex-shrink:0;padding:5px 10px;background:#FFD23F;border:2px solid #10265A;border-radius:4px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:.84rem}
.td-acc__title{flex:1;min-width:0;font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:1.05rem;letter-spacing:-.02em}
.td-acc__q{flex:1;min-width:0;font-weight:700;font-size:.96rem}
.td-acc__sign{flex-shrink:0;color:#2B54D6;font-size:1.25rem;font-weight:700}
.td-acc__sign::before{content:'+'}
.td-acc[open] .td-acc__sign::before{content:'×'}
.td-acc__body{padding:0 20px 18px;font-size:.96rem;line-height:1.6;font-weight:500;color:#33405e}
.td-acc__body p{margin:0}
.td-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.td-facts span{padding:5px 12px;border:2px solid #10265A;border-radius:20px;font-size:.78rem;font-weight:600;color:#10265A}
.td-printlink{display:inline-block;margin-top:6px;font-weight:700;font-size:.9rem}

/* inclusions, price compare, activities, stays, host, reviews */
.td-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.td-in{padding:22px 20px;background:#FFD23F;border:3px solid #10265A;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:6px 6px 0 #10265A}
.td-out{padding:22px 20px;border:3px dashed #10265A;border-radius:15px 225px 15px 255px/225px 15px 255px 15px}
.td-in h3,.td-out h3{margin:0 0 12px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.08rem}
.td-list{display:flex;flex-direction:column;gap:8px}
.td-list div{display:flex;gap:9px;font-size:.9rem;font-weight:500}
.td-list span{color:#2B54D6;font-weight:700}
.td-out p{margin:0;font-size:.88rem;line-height:1.55;font-weight:500}
.td-pack{margin-top:16px;padding-top:14px;border-top:2px dashed #10265A}
.td-pack b{display:block;margin-bottom:8px;font-family:'Caveat',cursive;font-weight:700;font-size:1.2rem;color:#2B54D6}
.td-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.td-card{overflow:hidden;background:#fff;border:3px solid #10265A;border-radius:14px;box-shadow:5px 5px 0 #10265A}
.td-card:nth-child(even){box-shadow:5px 5px 0 #2B54D6}
.td-card img{display:block;width:100%;height:120px;object-fit:cover;border-bottom:3px solid #10265A}
.td-card__body{padding:15px}
.td-card__where{font-family:'Caveat',cursive;font-size:1rem;color:#2B54D6}
.td-card h3{margin:1px 0 6px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.02rem}
.td-card p{margin:0;font-size:.84rem;line-height:1.5;font-weight:500}
.td-do{padding:20px;background:#fff;border:3px solid #10265A;border-radius:14px;box-shadow:5px 5px 0 #10265A}
.td-do:nth-child(even){background:#FFD23F}
.td-do h3{margin:0 0 6px;font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:1.02rem}
.td-do p{margin:0;font-size:.88rem;line-height:1.55;font-weight:500}
.td-host{display:flex;flex-wrap:wrap;gap:22px;padding:24px;background:#FFD23F;border:3px solid #10265A;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:7px 7px 0 #10265A}
.td-host__photo{flex-shrink:0;width:130px;border:3px solid #10265A;border-radius:15px 225px 15px 255px/225px 15px 255px 15px;overflow:hidden}
.td-host__photo img{display:block;width:100%;height:160px;object-fit:cover}
.td-host__text{flex:1;min-width:220px}
.td-host h3{margin:0;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.35rem;letter-spacing:-.025em}
.td-host__role{margin:2px 0 10px;font-family:'Caveat',cursive;font-size:1.1rem;color:#2B54D6}
.td-host p{margin:0 0 12px;font-size:.92rem;line-height:1.58;font-weight:500}
.td-host .td-facts span{background:#F2F5FF}
.td-review{padding:20px;background:#fff;border:3px solid #10265A;border-radius:14px;box-shadow:5px 5px 0 #10265A}
.td-review:nth-child(even){box-shadow:5px 5px 0 #2B54D6}
.td-stars{margin-bottom:9px;color:#2B54D6;letter-spacing:2px;font-size:.95rem}
.td-review p{margin:0 0 12px;font-family:'Bricolage Grotesque',sans-serif;font-weight:600;font-size:.95rem;line-height:1.45}
.td-review b{font-size:.82rem}
.td-review small{display:block;font-family:'Caveat',cursive;font-size:.98rem;color:#2B54D6}
.td-vs{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;align-items:start}
.td-vs__diy{padding:22px 20px;border:3px dashed #10265A;border-radius:255px 15px 225px 15px/15px 225px 15px 255px}
.td-vs__us{position:relative;padding:22px 20px;background:#FFD23F;border:3px solid #10265A;border-radius:15px 225px 15px 255px/225px 15px 255px 15px;box-shadow:7px 7px 0 #2B54D6}
.td-vs b{display:block;margin-bottom:10px;font-family:'Caveat',cursive;font-weight:700;font-size:1.25rem;color:#2B54D6}
.td-vs__price{margin-bottom:12px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.8rem;letter-spacing:-.03em}
.td-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.td-gallery img{display:block;width:100%;height:140px;object-fit:cover;border:3px solid #10265A;border-radius:12px}

/* ---- booking card (sticky on the right; below the content on a phone) ---- */
.td-aside{position:sticky;top:calc(var(--td-hdr,72px) + var(--td-nav,46px) + 16px)}
.td-book{padding:26px 24px;background:#F2F5FF;border:4px solid #10265A;border-radius:15px 225px 15px 255px/225px 15px 255px 15px;box-shadow:10px 10px 0 #10265A}
.td-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.td-price strong{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.9rem;letter-spacing:-.03em;line-height:1.1}
.td-price span{font-size:.82rem;font-weight:500;color:#5b6684}
.td-hand{margin:2px 0 16px;font-family:'Caveat',cursive;font-size:1.15rem;line-height:1.25;color:#2B54D6}
.td-book h2{margin:0 0 4px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.3rem;letter-spacing:-.025em}
.td-partner{margin-bottom:14px;padding:10px 12px;background:#F2F5FF;border:2px solid #10265A;border-radius:7px;font-size:.82rem;font-weight:600;line-height:1.45}
.td-fields{display:flex;flex-direction:column;gap:11px}
.td-row2{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.td label,.td .td-label{display:block;margin-bottom:4px;font-weight:700;font-size:.8rem}
.td-opt{font-weight:500;color:#5b6684}
.td-input{width:100%;padding:11px 13px;background:#fff;border:3px solid #10265A;border-radius:6px;color:#10265A;font-size:.95rem;font-weight:500;outline:none}
.td-input:focus{border-color:#2B54D6}
textarea.td-input{min-height:84px;resize:vertical}
.td .field-error{margin-top:3px;font-size:.78rem;font-weight:600;color:#B3261E}
.td-submit{display:block;width:100%;margin-top:16px;padding:14px;background:#2B54D6;color:#FFD23F;border:3px solid #10265A;border-radius:255px 15px 225px 15px/15px 225px 15px 255px;box-shadow:5px 5px 0 #10265A;font-family:'DM Sans',sans-serif;font-weight:700;font-size:1rem;text-align:center;cursor:pointer}
.td-submit:hover,.td-submit:focus-visible{transform:translate(2px,2px);box-shadow:3px 3px 0 #10265A}
.td-submit[disabled]{opacity:.55;cursor:not-allowed;transform:none}
.td-contact{display:flex;gap:8px;margin-top:10px}
.td-contact a{flex:1;padding:9px;border:2px solid #10265A;border-radius:6px;font-weight:700;font-size:.8rem;text-align:center;color:#10265A;background:#fff}
.td-contact a:first-child{background:#FFD23F}
.td-fine{margin:10px 0 0;font-size:.73rem;font-weight:500;text-align:center;color:#5b6684}
.td-success{padding:22px 4px;text-align:center}
.td-success b{display:block;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:2rem;color:#2B54D6}
.td-success h3{margin:10px 0 6px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.3rem}
.td-success p{margin:0;font-size:.92rem;font-weight:500}

/* ---- separate enquiry band ---- */
.td-enquire{margin-top:70px;padding:70px 0;background:#FFD23F;border-top:3px solid #10265A;border-bottom:3px solid #10265A}
.td-enquire__in{max-width:1000px;margin:0 auto;padding:0 30px;display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:36px;align-items:start}
.td-enquire__hand{display:block;margin-bottom:6px;font-family:'Caveat',cursive;font-weight:700;font-size:1.3rem;color:#2B54D6}
.td-enquire h2{margin:0 0 12px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(1.8rem,3.6vw,2.5rem);line-height:1.02;letter-spacing:-.03em}
.td-enquire p{margin:0;font-size:1rem;font-weight:500;line-height:1.6}
.td-enquire .td-book{box-shadow:9px 9px 0 #10265A}
.td-extras{margin-top:6px}

/* ---- lightbox ---- */
.td-lb{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;background:rgba(16,38,90,.96)}
.td-lb[hidden]{display:none}
.td-lb__top{display:flex;align-items:center;justify-content:space-between;padding:18px 26px}
.td-lb__count{font-family:'Caveat',cursive;font-weight:700;font-size:1.25rem;color:#FFD23F}
.td-lb__close{width:44px;height:44px;background:#FFD23F;border:3px solid #F2F5FF;border-radius:8px;font-size:1.3rem;font-weight:700;color:#10265A;cursor:pointer}
.td-lb__stage{flex:1;display:flex;align-items:center;justify-content:center;padding:0 60px;min-height:0}
.td-lb__stage img{max-width:100%;max-height:100%;object-fit:contain;border:3px solid #F2F5FF;border-radius:12px}
.td-lb__nav{display:flex;gap:12px;justify-content:center;padding:20px 26px 30px}
.td-lb__nav button{padding:13px 24px;border:3px solid #F2F5FF;border-radius:10px;background:#F2F5FF;color:#10265A;font-family:'DM Sans',sans-serif;font-weight:700;font-size:.95rem;cursor:pointer}
.td-lb__nav button:last-child{background:#FFD23F;border-color:#FFD23F}
body.td-lb-open{overflow:hidden}

/* ---- phone ---- */
.td-tabs{display:none}
.td-mfoot{display:none}
@media (max-width:767px){
  .td-wrap{padding:0 16px}
  .td-quicknav{display:none}
  .td-tabs{display:flex}
  .td-crumbs{display:none}
  .td-top{padding:14px 0 0}
  .td-h1{font-size:1.5rem;line-height:1.1}
  .td-chip{padding:3px 10px;font-size:.92rem;margin-bottom:6px}
  .td-meta{gap:2px 10px;margin-bottom:14px;font-size:.82rem;font-weight:500;color:#5b6684}
  .td-meta .td-dot{display:none}
  .td-meta .td-hostlink{color:#5b6684}
  /* photos: a swipeable strip of three squares */
  .td-photos-wrap{padding:0 0 14px;border-bottom:3px solid #10265A}
  .td-photos{display:flex;gap:9px;height:auto;overflow-x:auto;border:0;border-radius:0;box-shadow:none;padding:0 16px 4px;scrollbar-width:none}
  .td-photos::-webkit-scrollbar{display:none}
  .td-photos button,.td-photos button:first-child{flex:0 0 150px;width:150px;height:150px;grid-row:auto;border:3px solid #10265A;border-radius:12px}
  .td-pill{top:8px;left:8px;padding:3px 10px;font-size:.95rem}
  .td-more{inset:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;background:rgba(16,38,90,.55);font-size:.85rem}
  .td-tabs{margin:0;padding:10px 16px}
  .td-body{grid-template-columns:minmax(0,1fr);gap:0;padding-top:0}
  .td-main{border-bottom:3px solid #10265A}
  .td-panel{display:none;padding:20px 0}
  .td-panel.is-active{display:block}
  .td-block{margin-bottom:26px}
  .td-lead{font-size:.98rem;line-height:1.6;margin-bottom:14px}
  .td-chips{gap:7px;margin-bottom:22px}
  .td-chips span{padding:5px 11px;font-size:.78rem}
  .td-h2{font-size:1.25rem}
  .td-acc summary{gap:11px;padding:13px 15px}
  .td-acc__title{font-size:.96rem}
  .td-acc__q{font-size:.9rem}
  .td-acc__body{padding:0 15px 15px;font-size:.88rem}
  .td-in,.td-out{border-radius:12px;padding:16px;box-shadow:4px 4px 0 #10265A}
  .td-out{box-shadow:none}
  .td-host{border-radius:12px;box-shadow:4px 4px 0 #10265A;padding:16px;gap:14px;flex-wrap:nowrap}
  .td-host__photo{width:76px;border-radius:9px}
  .td-host__photo img{height:92px}
  .td-host__text{min-width:0}
  .td-host h3{font-size:1.05rem}
  /* booking card: a full-width band below the tabs */
  .td-aside{position:static;padding:26px 16px;background:#FFD23F;border-bottom:3px solid #10265A;margin:0 -16px}
  .td-book{border-radius:12px;box-shadow:4px 4px 0 #10265A;padding:20px 16px}
  .td-input{font-size:16px;padding:13px;border-radius:8px}
  .td-submit{border-radius:10px;box-shadow:4px 4px 0 #10265A}
  .td-enquire{margin-top:0;padding:26px 0}
  .td-enquire__in{padding:0 16px;gap:18px}
  .td-enquire h2{font-size:1.4rem}
  .td-enquire .td-book{box-shadow:4px 4px 0 #10265A}
  .td-extras{padding:0 0 10px}
  .td-lb__top{padding:14px 18px}
  .td-lb__stage{padding:0 16px}
  .td-lb__nav{padding:16px 18px 24px}
  .td-lb__nav button{flex:1;padding:12px;font-size:.88rem}
  body.td-page{padding-bottom:78px}
}
@media (prefers-reduced-motion:reduce){.td-submit:hover,.td-submit:focus-visible{transform:none}}
