/* THE TOURWALA — tour landing pages. Loaded after home.css on /tours/<slug> only.
   One structure, five art directions: the theme class on <main> (tour--hk, tour--japan, tour--europe,
   tour--safari, tour--nz) changes the hero layout, accent and section rhythm. Brand tokens are unchanged. */

/* ---- Shared building blocks ------------------------------------------------ */
.tour { overflow-x: clip; }
.tour .section-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.tour .two-col { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, minmax(0,1fr)); }
.tour .two-col > * { min-width: 0; }
.tour .two-col h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.tour .two-col p { max-width: 36em; }
.tour .two-col--lead h2 { max-width: 14em; }
.tour .check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.tour .check-list li { position: relative; padding-left: 30px; color: var(--c-text); max-width: 36em; }
.tour .check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--c-secondary); }
.tour .note-block { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--c-accent); background: var(--c-ivory); max-width: 52em; color: var(--c-text); }
.tour .note-block strong { color: var(--c-primary); }
.tour .footnote { font-size: 16px; color: var(--c-muted); margin-top: 16px; }
.tour .muted { color: var(--c-muted); }
.tour .text-link { min-height: 44px; display: inline-flex; align-items: center; }

/* ---- Hero: shared pieces ----------------------------------------------------- */
.thero { position: relative; padding-top: clamp(24px, 3.4vw, 48px); padding-bottom: clamp(56px, 6vw, 96px); }
.thero__grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.thero__grid > * { min-width: 0; }
.thero__copy h1 { margin: 14px 0 22px; }
.thero__copy .lead { margin-bottom: 28px; max-width: 34em; }
.thero__media { position: relative; margin: 0; overflow: hidden; background: var(--c-ivory-deep); aspect-ratio: 4 / 5; }
.thero__media picture { position: absolute; inset: 0; display: block; }
.thero__media img { width: 100%; height: 100%; object-fit: cover; }
.thero__panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 3.4vw, 48px); background: var(--c-primary); color: var(--c-white); }
.thero__panel-note { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #C7D6DE; }
.thero__panel-name { font-family: var(--f-display); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; max-width: 9em; }
.thero__panel-rule { display: block; width: 72px; height: 2px; background: var(--c-accent); }

.tour-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, minmax(0,1fr))); border-top: 1px solid var(--c-line); }
.tour-facts li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.tour-facts span { font-size: 16px; color: var(--c-muted); }
.tour-facts strong { font-family: var(--f-display); font-weight: 600; font-size: 20px; color: var(--c-primary); line-height: 1.25; }

.tour-route { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-route li { font-size: 16px; font-weight: 500; color: var(--c-primary); padding: 8px 14px; border: 1px solid var(--c-line-strong); min-height: 44px; display: inline-flex; align-items: center; }
.tour-route li + li::before { content: none; }

.crumbs--tour { margin-bottom: 18px; }
.crumbs--tour ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 0; margin: 0; font-size: 16px; color: var(--c-muted); }
.crumbs--tour li + li::before { content: "/"; margin-right: 10px; color: var(--c-line-strong); }
.crumbs--tour a { min-height: 44px; display: inline-flex; align-items: center; color: var(--c-primary); }

.tour-intro__grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.tour-intro__grid > * { min-width: 0; }
.tour-intro__body p { font-size: var(--fs-lead); color: var(--c-text); max-width: 38em; }
.tour-intro__body p + p { margin-top: 18px; }

.dep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, minmax(0,1fr))); gap: 0; margin: 0; border-top: 1px solid var(--c-line-strong); }
.dep-grid > div { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.dep-grid dt { font-size: 16px; color: var(--c-muted); }
.dep-grid dd { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); color: var(--c-primary); line-height: 1.2; }

.usp-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: minmax(0, minmax(0,1fr)); }
.usp { padding: 28px 0; border-top: 1px solid var(--c-line-strong); position: relative; }
.usp__num { display: block; font-family: var(--f-display); color: var(--c-accent-ink); font-size: 18px; margin-bottom: 10px; }
.usp h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 10px; }
.usp p { color: var(--c-text); max-width: 34em; }

.signature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: minmax(0, minmax(0,1fr)); counter-reset: sig; }
.signature { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.signature h3 { color: var(--c-white); font-size: clamp(24px, 2.4vw, 30px); display: flex; align-items: baseline; gap: 14px; }
.signature__num { font-family: var(--f-display); font-size: 18px; color: #E6CBA2; flex: 0 0 auto; }
.signature p { color: var(--c-on-dark); margin-top: 10px; max-width: 36em; }

.itinerary { display: grid; gap: clamp(28px, 4vw, 64px); }
.itinerary > * { min-width: 0; }
.stages { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 0; }
.stages li { display: grid; grid-template-columns: 48px minmax(0, minmax(0,1fr)); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.stages__num { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--c-primary); font-family: var(--f-display); color: var(--c-primary); }
.stages h3 { font-size: clamp(22px, 2.2vw, 26px); margin-bottom: 6px; }
.stages p { color: var(--c-text); max-width: 34em; }

.founder-band { display: grid; gap: clamp(24px, 4vw, 56px); }
.founder-band > * { min-width: 0; }
.founder-band p { color: var(--c-on-dark); max-width: 36em; }
.founder-band p + p { margin-top: 16px; }
.founder-band a { color: var(--c-white); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }

.proof-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: minmax(0, minmax(0,1fr)); border-top: 1px solid var(--c-line-strong); }
.proof-stats li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.proof-stats strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--c-primary); }
.proof-stats span { font-size: 17px; color: var(--c-muted); }
.quotes { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; }
.quotes blockquote { margin: 0; padding-left: 24px; border-left: 3px solid var(--c-accent); }
.quotes p { font-family: var(--f-display); font-style: italic; font-size: var(--fs-quote); color: var(--c-primary); }
.quotes footer { font-size: 16px; color: var(--c-muted); margin-top: 8px; }

.final-cta__grid { display: grid; gap: clamp(32px, 4vw, 64px); }
.final-cta__grid > * { min-width: 0; }
.final-cta .lead { color: var(--c-on-dark); max-width: 32em; margin: 18px 0 28px; }
.final-cta__other h3 { color: #E6CBA2; font-size: 20px; margin-bottom: 12px; }
.final-cta__other ul { list-style: none; padding: 0; margin: 0; }
.final-cta__other li { border-top: 1px solid rgba(255, 255, 255, .2); }
.final-cta__other li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.final-cta__other a { display: grid; gap: 2px; padding: 16px 0; min-height: 44px; color: var(--c-white); font-family: var(--f-display); font-size: 22px; }
.final-cta__other a span { font-family: var(--f-body); font-size: 16px; color: var(--c-on-dark); }
.final-cta .btn--secondary { color: var(--c-text); }

/* ---- Desktop layout ----------------------------------------------------------- */
@media (min-width: 900px) {
  .tour-facts { grid-template-columns: repeat(4, minmax(0, minmax(0,1fr))); }
  .tour-facts li { padding-right: 14px; }
  .tour .two-col { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1fr)); }
  .tour .two-col--lead { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1.2fr)); }
  .tour-intro__grid { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1.4fr)); }
  .usp-grid { grid-template-columns: repeat(2, minmax(0, minmax(0,1fr))); column-gap: clamp(28px, 4vw, 64px); }
  .signature-list { grid-template-columns: repeat(2, minmax(0, minmax(0,1fr))); column-gap: clamp(28px, 4vw, 64px); }
  .itinerary { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1.3fr)); }
  .founder-band { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1.3fr)); }
  .proof-stats { grid-template-columns: repeat(3, minmax(0, minmax(0,1fr))); }
  .proof-stats li { padding-right: 24px; border-bottom: 0; border-right: 1px solid var(--c-line); }
  .proof-stats li:last-child { border-right: 0; }
  .final-cta__grid { grid-template-columns: minmax(0, minmax(0,1.25fr)) minmax(0, minmax(0,1fr)); }
  .dep-grid { grid-template-columns: repeat(4, minmax(0, minmax(0,1fr))); }
  .dep-grid > div { padding-right: 20px; border-bottom: 0; border-right: 1px solid var(--c-line); }
  .dep-grid > div:last-child { border-right: 0; }
}
@media (min-width: 1080px) {
  .thero__grid { grid-template-columns: minmax(0, minmax(0,1fr)) minmax(0, minmax(0,1.05fr)); align-items: center; }
}

/* ---- Art direction: Hong Kong & Macau (split hero, harbour blue) -------------- */
.tour--hk .thero { background: linear-gradient(180deg, var(--c-ivory) 60%, var(--c-white)); }
.tour--hk .thero__media { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lift); }
.tour--hk .signature { border-top-color: rgba(0, 157, 214, .45); }
.tour--hk .signature__num { color: var(--c-secondary); }
.tour--hk .section--ink { background: var(--c-primary-deep); }

/* ---- Art direction: Japan (full-bleed photograph, spring ivory) ---------------- */
.tour--japan .thero { padding-top: 0; padding-bottom: clamp(56px, 6vw, 96px); }
.tour--japan .thero__grid { gap: 0; }
.tour--japan .thero__media { order: -1; width: 100%; aspect-ratio: 16 / 9; margin-inline: calc(var(--pad-x) * -1); width: calc(100% + var(--pad-x) * 2); max-width: none; }
.tour--japan .thero__copy { padding-top: clamp(28px, 4vw, 48px); }
.tour--japan .thero h1 em { color: var(--c-accent-ink); }
.tour--japan .signature { border-top-color: rgba(255, 255, 255, .25); }
.tour--japan .note-block { background: #FBF1F3; border-left-color: #C9707E; }

@media (min-width: 1080px) {
  .tour--japan .thero__grid { grid-template-columns: minmax(0, minmax(0,1fr)); }
  .tour--japan .thero__media { aspect-ratio: 21 / 8; }
  .tour--japan .thero__copy { max-width: 46em; }
}

/* ---- Art direction: Central Europe (typographic hero, route rule) -------------- */
.tour--europe .thero { background: var(--c-primary); color: var(--c-on-dark); }
.tour--europe .thero .eyebrow { color: #E6CBA2; }
.tour--europe .thero .eyebrow::before { background: #E6CBA2; }
.tour--europe .thero h1 { color: var(--c-white); }
.tour--europe .thero h1 em { color: #D9B98A; }
.tour--europe .thero .lead { color: var(--c-on-dark); }
.tour--europe .thero .btn--ghost { color: var(--c-white); border-color: rgba(255, 255, 255, .7); }
.tour--europe .thero .btn--ghost:hover { background: var(--c-white); color: var(--c-primary); }
.tour--europe .thero .tour-facts { border-top-color: rgba(255, 255, 255, .25); }
.tour--europe .thero .tour-facts li { border-bottom-color: rgba(255, 255, 255, .2); }
.tour--europe .thero .tour-facts span { color: #C7D6DE; }
.tour--europe .thero .tour-facts strong { color: var(--c-white); }
.tour--europe .thero .tour-route li { color: var(--c-white); border-color: rgba(255, 255, 255, .4); }
.tour--europe .thero .crumbs--tour ol, .tour--europe .thero .crumbs--tour a { color: var(--c-on-dark); }
.tour--europe .thero .crumbs--tour li + li::before { color: rgba(255, 255, 255, .4); }
.tour--europe .thero__panel { background: var(--c-primary-deep); }
.tour--europe .usp { border-top-color: var(--c-line-strong); }
.tour--europe .stages__num { border-color: var(--c-accent); color: var(--c-accent-ink); }

/* ---- Art direction: South Africa (dark safari, sand accent) -------------------- */
.tour--safari .thero { background: radial-gradient(120% 90% at 100% 0%, rgba(181, 138, 78, .18), transparent 60%), var(--c-primary-deep); color: var(--c-on-dark); }
.tour--safari .thero .eyebrow { color: #E6CBA2; }
.tour--safari .thero .eyebrow::before { background: #E6CBA2; }
.tour--safari .thero h1 { color: var(--c-white); }
.tour--safari .thero h1 em { color: #E6CBA2; }
.tour--safari .thero .lead { color: var(--c-on-dark); }
.tour--safari .thero .btn--ghost { color: var(--c-white); border-color: rgba(255, 255, 255, .7); }
.tour--safari .thero .btn--ghost:hover { background: var(--c-white); color: var(--c-primary); }
.tour--safari .thero .tour-facts { border-top-color: rgba(255, 255, 255, .25); }
.tour--safari .thero .tour-facts li { border-bottom-color: rgba(255, 255, 255, .2); }
.tour--safari .thero .tour-facts span { color: #C7D6DE; }
.tour--safari .thero .tour-facts strong { color: var(--c-white); }
.tour--safari .thero .tour-route li { color: var(--c-white); border-color: rgba(230, 203, 162, .55); }
.tour--safari .thero .crumbs--tour ol, .tour--safari .thero .crumbs--tour a { color: var(--c-on-dark); }
.tour--safari .thero .crumbs--tour li + li::before { color: rgba(255, 255, 255, .4); }
.tour--safari .thero__panel { background: var(--c-primary); }
.tour--safari .note-block { background: #F4EEE3; border-left-color: #B58A4E; }
.tour--safari .stages__num { border-color: var(--c-accent); }

/* ---- Art direction: New Zealand & Australia (ivory, route as a horizon) -------- */
.tour--nz .thero { background: linear-gradient(90deg, var(--c-ivory) 0 calc(100% - 6px), var(--c-secondary) calc(100% - 6px)); }
.tour--nz .thero__panel { background: var(--c-secondary); color: var(--c-text); }
.tour--nz .thero__panel-note { color: var(--c-primary); }
.tour--nz .thero__panel-rule { background: var(--c-primary); }
.tour--nz .tour-route li { border-color: var(--c-secondary); }
.tour--nz .tour-route li:first-child { background: var(--c-secondary); }
.tour--nz .signature { border-top-color: rgba(0, 157, 214, .5); }
.tour--nz .signature__num { color: #8FD7EE; }
.tour--nz .section--ink { background: var(--c-primary); }
.tour--nz .stages li:first-child { border-top: 1px solid var(--c-line); }

/* ---- Focus and motion --------------------------------------------------------- */
.tour a:focus-visible, .tour summary:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .tour * { transition: none !important; animation: none !important; }
}

/* Decorative route sequence (schematic, not to scale). Hidden on small screens; the text list carries the same information. */
.route-svg { display: none; width: 100%; height: auto; max-width: 720px; margin: 24px 0 8px; }
@media (min-width: 600px) { .route-svg { display: block; } }
.route-svg .rs-line { stroke: var(--c-accent); stroke-width: 2; }
.route-svg .rs-dot { fill: var(--c-ivory); stroke: var(--c-accent); stroke-width: 2; }
.route-svg .rs-end { fill: var(--c-primary); }
.route-svg .rs-label { fill: var(--c-text); font-size: 16px; font-weight: 500; }
.route-note { font-size: 14px; color: var(--c-muted); margin: 0 0 24px; line-height: 1.45; }
