/* ============================================================================
   THE GUIDED TOUR (tour.html) — a slide-by-slide preview for parents, schools
   and institutions. Self-contained: everything is namespaced .tour-*; the markup
   is generated by scripts/sync-site.mjs from lib/tour.js, the behaviour is tour.js.
   Charcoal ground, cream type, Cormorant display, slow fades only.
   Without JavaScript the slides simply stack as a long page.
   ============================================================================ */

.tour-page { background: #121211; }
/* Live, the tour is the whole screen: the page does not scroll and the site footer
   (still there without JavaScript) steps aside. The disclaimer is on the cover. */
html.tour-on, html.tour-on body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.tour-on body > footer { display: none; }
.tour {
  --t-ink: #f4f0e8; --t-mute: rgba(244,240,232,0.72); --t-faint: rgba(244,240,232,0.5);
  --t-line: rgba(244,240,232,0.14); --t-ground: #121211; --t-accent: #f2903c;
  position: relative; background: var(--t-ground); color: var(--t-ink);
  font-family: var(--font); -webkit-font-smoothing: antialiased;
}
.tour *, .tour *::before, .tour *::after { box-sizing: border-box; }
.tour [hidden] { display: none !important; }
.tour button { font-family: inherit; cursor: pointer; }
.tour :focus-visible { outline: 2px solid var(--champagne, #d6c6a4); outline-offset: 3px; }
.tour .tour-title:focus, .tour .tour-title:focus-visible { outline: none; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.tour-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; position: relative; z-index: 6; }
.tour-brand img { display: block; height: 44px; width: auto; }
.tour-exit { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-mute); display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; }
.tour-exit span { font-size: 20px; line-height: 1; letter-spacing: 0; }
.tour-exit:hover { color: var(--t-ink); }
.tour-aud { position: relative; }
.tour-aud select {
  appearance: none; -webkit-appearance: none; background: transparent; color: var(--t-ink);
  border: 1px solid rgba(244,240,232,0.32); border-radius: 999px; padding: 9px 34px 9px 16px;
  font: 500 11px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; width: auto;
}
.tour-aud select option { color: #1c1b19; text-transform: none; letter-spacing: 0; }
.tour-aud::after { content: ''; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px; border-right: 1px solid var(--t-ink); border-bottom: 1px solid var(--t-ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ── Shared type ─────────────────────────────────────────────────────────── */
.tour-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-accent); line-height: 1.6; }
.tour-title, .tour-gate-title { font-family: var(--serif); font-weight: 300; letter-spacing: 0; line-height: 0.98; color: var(--t-ink); text-wrap: balance; margin: 0; }
.tour-title { font-size: clamp(38px, 5.2vw, 76px); margin-top: 16px; }
.tour-title .it, .tour-gate-title .it { font-style: italic; color: var(--champagne, #d6c6a4); }
.tour-lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 27px); font-weight: 300; line-height: 1.28; color: var(--t-ink); margin: 18px 0 0; max-width: 34em; text-wrap: pretty; }
.tour-note { font-size: 13.5px; line-height: 1.55; color: var(--t-mute); margin: 20px 0 0; max-width: 46em; }
.tour-credit, .tour-photo figcaption { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,240,232,0.62); }

/* ── The cover ───────────────────────────────────────────────────────────── */
.tour-gate { position: relative; padding: clamp(28px, 6vw, 72px) 22px clamp(40px, 6vw, 80px); }
.tour-gate-bg { position: absolute; inset: 0; overflow: hidden; }
.tour-gate-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) brightness(0.42) contrast(1.05); }
.tour-gate-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,18,17,0.55), rgba(18,18,17,0.35) 40%, #121211 100%); }
.tour-gate-in { position: relative; max-width: 1120px; margin: 0 auto; }
.tour-gate-title { font-size: clamp(54px, 9vw, 128px); margin-top: 18px; }
.tour-gate-sub { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); font-weight: 300; line-height: 1.3; margin: 20px 0 0; max-width: 26em; color: var(--t-ink); }
.tour-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 52px); }
.tour-choice {
  display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px; min-height: 190px;
  border: 1px solid rgba(244,240,232,0.26); background: rgba(18,18,17,0.5); color: var(--t-ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.tour-choice:hover, .tour-choice:focus-visible { border-color: var(--champagne, #d6c6a4); background: rgba(18,18,17,0.72); }
.tour-choice .w { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-accent); }
.tour-choice .n { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; line-height: 1; margin-top: 6px; }
.tour-choice .l { font-size: 14.5px; line-height: 1.5; color: var(--t-mute); margin-top: 6px; }
.tour-choice .go { margin-top: auto; padding-top: 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.tour-choice .chev { display: inline-block; transition: transform 0.3s var(--ease); }
.tour-choice:hover .chev { transform: translateX(4px); }
.tour-gate-foot { margin: 26px 0 0; font-size: 13.5px; color: var(--t-mute); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.tour-gate-legal { margin: 14px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--t-faint); max-width: 60em; }

/* ── Slides: stacked by default (no JavaScript), a stage when live ───────── */
.tour-slide { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); border-top: 1px solid var(--t-line); min-height: 560px; }
.tour-slide:not(.has-photo) { grid-template-columns: 1fr; }
.tour-photo { order: 2; position: relative; margin: 0; overflow: hidden; min-height: 320px; }
.tour-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(0.88); }
.tour-photo.color img { filter: brightness(0.92); }
.tour-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, #121211 0%, rgba(18,18,17,0.35) 22%, rgba(18,18,17,0) 48%), linear-gradient(to top, rgba(18,18,17,0.7), rgba(18,18,17,0) 26%); pointer-events: none; }
.tour-photo figcaption { position: absolute; right: 22px; bottom: 18px; z-index: 2; }
.tour-copy { order: 1; min-width: 0; display: flex; flex-direction: column; padding: clamp(28px, 4.6vw, 76px) clamp(22px, 5vw, 84px); }
.tour-copy-in { margin: auto 0; width: 100%; max-width: 680px; }
.tour-slide:not(.has-photo) .tour-copy-in { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* Chips (openers) */
.tour-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-chips li { border: 1px solid rgba(244,240,232,0.28); border-radius: 999px; padding: 9px 16px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--t-ink); }

/* Big numerals */
.tour-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border-top: 1px solid var(--t-line); }
.tour-kpi { padding: 18px 14px 0 0; }
.tour-kpi + .tour-kpi { padding-left: 16px; border-left: 1px solid var(--t-line); }
.tour-kpi .v { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 5vw, 78px); line-height: 0.9; color: var(--t-ink); width: max-content; }
.tour-kpi .k { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-mute); line-height: 1.4; }

/* Tick lists */
.tour-list-title { margin-top: 24px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-faint); }
.tour-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.tour-list-title + .tour-list { margin-top: 12px; }
.tour-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; color: var(--t-ink); }
.tour-list li::before { content: ''; position: absolute; left: 2px; top: 0.48em; width: 11px; height: 5px; border-left: 1.5px solid var(--t-accent); border-bottom: 1.5px solid var(--t-accent); transform: rotate(-45deg); }
.tour-list.plain { counter-reset: p; gap: 9px; }
.tour-list.plain li { counter-increment: p; padding-left: 34px; }
.tour-list.plain li::before { content: '0' counter(p); border: 0; transform: none; width: auto; height: auto; top: 0.1em; left: 0; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--t-accent); }

/* A day */
.tour-rows { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--t-line); }
.tour-rows li { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--t-line); align-items: baseline; }
.tour-rows .k { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-faint); }
.tour-rows .t { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.2; color: var(--t-ink); }
.tour-rows .tag { font-family: var(--font); font-style: normal; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-accent); border: 1px solid rgba(242,144,60,0.5); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 3px; white-space: nowrap; }
.tour-care { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--t-mute); max-width: 46em; }
.tour-care b { font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-ink); margin-right: 8px; }
.is-day .tour-note { margin-top: 8px; }

/* The fees */
.tour-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.tour-tier { padding: 20px 22px 20px 0; }
.tour-tier + .tour-tier { padding-left: 22px; border-left: 1px solid var(--t-line); }
.tour-tier .n { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-mute); }
.tour-tier .p { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4vw, 58px); line-height: 1; margin-top: 10px; color: var(--t-ink); width: max-content; }
.tour-tier .p small { font-family: var(--font); font-size: 11px; letter-spacing: 0.14em; color: var(--t-faint); -webkit-text-fill-color: var(--t-faint); }
.tour-tier .l { font-size: 14px; line-height: 1.5; color: var(--t-mute); margin-top: 10px; }
.tour-phase { margin: 14px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-accent); }
.is-tiers .tour-list { margin-top: 18px; }

/* Admission steps */
.tour-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--t-line); }
.tour-steps li { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.tour-steps li + li { padding-left: 16px; border-left: 1px solid var(--t-line); }
.tour-steps .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--t-accent); line-height: 1; }
.tour-steps .t { font-family: var(--serif); font-size: 23px; line-height: 1.1; color: var(--t-ink); }
.tour-steps .s { font-size: 13.5px; line-height: 1.5; color: var(--t-mute); }

/* Closers */
.tour-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.tour .tour-actions .btn-fill { background: var(--t-ink); color: #121211; }
.tour .tour-actions .btn-fill:hover { background: var(--champagne, #d6c6a4); color: #121211; }
.tour .tour-actions .hx-link { color: var(--t-ink); }
.tour-disclaimer { margin: 26px 0 0; font-size: 12px; line-height: 1.55; color: var(--t-faint); max-width: 44em; }

/* Suggested questions */
.tour-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.tour-ask-k { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-faint); margin-right: 4px; }
.tour-q {
  background: rgba(244,240,232,0.06); color: var(--t-ink); border: 1px solid rgba(244,240,232,0.24); border-radius: 999px;
  padding: 9px 15px; font-size: 13px; line-height: 1.2; text-align: left; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.tour-q:hover { border-color: var(--champagne, #d6c6a4); background: rgba(244,240,232,0.1); }
.tour:not(.is-live) .tour-ask { display: none; }

/* ── Live: one slide at a time ───────────────────────────────────────────── */
.tour.is-live { height: 100vh; height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.tour.is-live .tour-bar { grid-row: 1; }
.tour.is-live .tour-gate, .tour.is-live .tour-stage { grid-row: 2; grid-column: 1; min-height: 0; }
.tour.is-live .tour-controls { grid-row: 3; }
.tour.is-live .tour-gate { overflow-y: auto; display: flex; flex-direction: column; }
.tour.is-live .tour-gate-bg { top: -80px; }
.tour.is-live .tour-gate-in { margin: auto; width: 100%; }
.tour.is-live[data-state="tour"] .tour-gate { display: none; }
.tour.is-live[data-state="gate"] .tour-stage { visibility: hidden; }
.tour.is-live .tour-stage { position: relative; }
.tour.is-live .tour-slide { position: absolute; inset: 0; min-height: 0; border-top: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s; }
.tour.is-live .tour-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease), visibility 0s; }
.tour.is-live .tour-copy { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.tour.is-live .tour-slide.is-active .tour-copy-in > * { animation: tourRise 0.9s var(--ease-out, ease) both; }
.tour.is-live .tour-slide.is-active .tour-copy-in > *:nth-child(2) { animation-delay: 0.06s; }
.tour.is-live .tour-slide.is-active .tour-copy-in > *:nth-child(3) { animation-delay: 0.12s; }
.tour.is-live .tour-slide.is-active .tour-copy-in > *:nth-child(n+4) { animation-delay: 0.18s; }
@keyframes tourRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Controls */
.tour-controls { position: relative; z-index: 6; padding: 0 22px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--t-ground); }
.tour-progress { display: flex; gap: 4px; }
.tour-seg { flex: 1; height: 18px; padding: 0; border: 0; background: transparent; position: relative; }
.tour-seg::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: rgba(244,240,232,0.2); transition: background 0.4s var(--ease); }
.tour-seg.is-done::before { background: rgba(244,240,232,0.6); }
.tour-seg.is-now::before { background: var(--t-accent); }
.tour-nav { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding-top: 8px; }
.tour-count { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-count b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--t-ink); margin-right: 2px; }
.tour-btn {
  background: transparent; color: var(--t-ink); border: 1px solid rgba(244,240,232,0.32); border-radius: 999px;
  padding: 13px 20px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tour-btn:hover { border-color: var(--t-ink); }
.tour-btn[disabled] { opacity: 0.32; cursor: default; }
.tour-btn .chev { font-size: 15px; line-height: 0; }
.tour-next { background: var(--t-ink); color: #121211; border-color: var(--t-ink); }
.tour-next:hover { background: var(--champagne, #d6c6a4); border-color: var(--champagne, #d6c6a4); }
.tour-askbtn { border-color: rgba(242,144,60,0.7); }
.tour-askbtn::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--t-accent); margin-right: 9px; vertical-align: 1px; }

/* ── The guide ───────────────────────────────────────────────────────────── */
.tour-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(8,8,8,0.5); }
.tour-guide {
  position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: #fbf9f5; color: #1c1b19; display: flex; flex-direction: column;
  box-shadow: -24px 0 60px rgba(0,0,0,0.35); animation: tourGuideIn 0.45s var(--ease-out, ease) both;
}
@keyframes tourGuideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.tour-guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 16px; border-bottom: 1px solid rgba(28,27,25,0.1); }
.tour-guide-head .e { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #a8431a; }
.tour-guide-head .t { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; margin-top: 6px; color: #1c1b19; }
.tour-guide-close { background: transparent; border: 1px solid rgba(28,27,25,0.25); color: #1c1b19; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; flex: none; }
.tour-guide-close:hover { background: #1c1b19; color: #fbf9f5; }
.tour-guide-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 8px; display: flex; flex-direction: column; gap: 14px; }
.tour-msg { max-width: 92%; font-size: 15.5px; line-height: 1.6; color: #1c1b19; white-space: pre-line; overflow-wrap: anywhere; }
.tour-msg.is-user { align-self: flex-end; background: #1c1b19; color: #f4f0e8; padding: 10px 16px; border-radius: 18px 18px 4px 18px; font-size: 15px; line-height: 1.45; }
.tour-msg.is-guide { align-self: flex-start; }
.tour-msg.is-guide .who { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #66615a; margin-bottom: 4px; white-space: normal; }
.tour-msg.is-wait .dots { display: inline-flex; gap: 5px; padding: 6px 0; }
.tour-msg.is-wait .dots i { width: 6px; height: 6px; border-radius: 50%; background: #a8431a; opacity: 0.35; animation: tourDot 1.2s ease-in-out infinite; }
.tour-msg.is-wait .dots i:nth-child(2) { animation-delay: 0.2s; }
.tour-msg.is-wait .dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes tourDot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.tour-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: transparent; border: 1px solid rgba(28,27,25,0.4); border-radius: 999px; padding: 9px 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #1c1b19; white-space: normal; }
.tour-go:hover { background: #1c1b19; color: #fbf9f5; }
.tour-guide-sugg { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 22px 4px; }
.tour-guide-sugg button { background: transparent; border: 1px solid rgba(28,27,25,0.26); border-radius: 999px; padding: 8px 14px; font-size: 13px; line-height: 1.2; color: #1c1b19; text-align: left; }
.tour-guide-sugg button:hover { border-color: #a8431a; color: #a8431a; }
.tour-guide-form { display: flex; gap: 8px; padding: 12px 22px 0; }
.tour-guide-form input { flex: 1; min-width: 0; width: 100%; border: 1px solid rgba(28,27,25,0.3); border-radius: 999px; background: #fff; color: #1c1b19; padding: 13px 18px; font: 400 16px/1.2 var(--font); }
.tour-guide-form input::placeholder { color: #8b857b; }
.tour-guide-form input:focus { outline: none; border-color: #1c1b19; }
.tour-guide-form button { flex: none; background: #1c1b19; color: #f4f0e8; border: 0; border-radius: 999px; padding: 0 22px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.tour-guide-form button[disabled] { opacity: 0.4; cursor: default; }
.tour-guide-fine { margin: 0; padding: 12px 22px calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 11.5px; line-height: 1.5; color: #66615a; }
.tour-guide-fine a { color: inherit; text-decoration: underline; }

/* ── Tablets and phones ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tour-bar { padding: 9px 16px; }
  .tour-brand img { height: 34px; }
  .tour-aud select { padding: 8px 30px 8px 14px; font-size: 10.5px; }
  .tour-exit { font-size: 0; gap: 0; }
  .tour-exit span { font-size: 26px; }
  .tour-gate { padding: 18px 18px 28px; }
  .tour-choices { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .tour-choice { min-height: 0; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; column-gap: 14px; row-gap: 2px; align-items: center; }
  .tour-choice .w { grid-column: 1; }
  .tour-choice .n { grid-column: 1; font-size: 30px; margin-top: 2px; }
  .tour-choice .l { grid-column: 1; font-size: 13.5px; margin-top: 2px; }
  .tour-choice .go { grid-column: 2; grid-row: 1 / span 3; padding-top: 0; margin: 0; font-size: 0; }
  .tour-choice .go .chev { font-size: 26px; }
  .tour-gate-sub { margin-top: 14px; }
  .tour-gate-foot { margin-top: 18px; font-size: 13px; }

  .tour-slide, .tour-slide:not(.has-photo) { display: block; min-height: 0; }
  .tour-photo { height: 300px; min-height: 0; }
  .tour-photo::after { background: linear-gradient(to bottom, rgba(18,18,17,0.15) 0%, rgba(18,18,17,0.45) 55%, #121211 100%); }
  .tour-photo figcaption { right: auto; left: 18px; top: 12px; bottom: auto; }
  .tour-copy { padding: 22px 18px 26px; }
  .tour-title { font-size: clamp(34px, 9.4vw, 46px); margin-top: 10px; }
  .tour-lead { font-size: 19px; margin-top: 12px; }
  .tour-note { font-size: 12.5px; margin-top: 12px; }
  .tour-eyebrow { font-size: 10.5px; letter-spacing: 0.16em; }
  .tour-chips { margin-top: 16px; }
  .tour-chips li { padding: 7px 13px; font-size: 12px; }
  .tour-kpis { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
  .tour-kpi { padding: 12px 10px 12px 0; }
  .tour-kpi + .tour-kpi { padding-left: 14px; }
  .tour-kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .tour-kpi:nth-child(n+3) { border-top: 1px solid var(--t-line); }
  .tour-kpi .v { font-size: 46px; }
  .tour-kpi .k { margin-top: 6px; font-size: 10.5px; }
  .tour-list { margin-top: 14px; gap: 8px; }
  .tour-list li { font-size: 15px; line-height: 1.4; padding-left: 26px; }
  .tour-list.plain { gap: 6px; }
  .tour-list.plain li { padding-left: 30px; }
  .tour-list-title { margin-top: 14px; }
  .tour-rows { margin-top: 14px; }
  .tour-rows li { grid-template-columns: 82px 1fr; gap: 10px; padding: 8px 0; }
  .tour-rows .k { font-size: 9.5px; letter-spacing: 0.12em; }
  .tour-rows .t { font-size: 18px; }
  .tour-care { font-size: 12.5px; margin-top: 10px; line-height: 1.45; }
  .is-day .tour-note { margin-top: 6px; }
  .tour-tiers { grid-template-columns: 1fr; margin-top: 14px; }
  .tour-tier, .tour-tier + .tour-tier { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; padding: 11px 0; border-left: 0; }
  .tour-tier + .tour-tier { border-top: 1px solid var(--t-line); }
  .tour-tier .p { font-size: 32px; margin-top: 0; grid-column: 2; grid-row: 1; justify-self: end; }
  .tour-tier .n { grid-column: 1; grid-row: 1; }
  .tour-tier .l { grid-column: 1 / -1; font-size: 13px; margin-top: 3px; }
  .tour-phase { font-size: 10px; margin-top: 10px; }
  .is-tiers .tour-list { margin-top: 12px; }
  .tour-steps { grid-template-columns: 1fr; margin-top: 14px; }
  .tour-steps li, .tour-steps li + li { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; row-gap: 1px; padding: 9px 0; border-left: 0; border-bottom: 1px solid var(--t-line); }
  .tour-steps .n { grid-row: 1 / span 2; font-size: 19px; padding-top: 2px; }
  .tour-steps .t { font-size: 19px; }
  .tour-steps .s { font-size: 13px; line-height: 1.4; }
  .tour-actions { margin-top: 20px; gap: 10px; }
  .tour-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .tour-disclaimer { margin-top: 16px; font-size: 11.5px; }
  .tour-ask { margin-top: 14px; flex-wrap: nowrap; overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: none; }
  .tour-ask::-webkit-scrollbar { display: none; }
  .tour-ask-k { display: none; }
  .tour-q { flex: none; padding: 8px 13px; font-size: 12.5px; white-space: nowrap; }

  /* Live on a phone: the photograph is a band behind the top of the slide */
  .tour.is-live .tour-photo { position: absolute; inset: 0 0 auto 0; height: 54%; }
  .tour.is-live .tour-photo img { filter: grayscale(1) contrast(1.05) brightness(0.74); }
  .tour.is-live .tour-photo.color img { filter: brightness(0.8); }
  .tour.is-live .tour-copy { position: absolute; inset: 0; padding: 18px 18px 12px; }
  .tour.is-live .tour-copy-in { margin: auto 0 0; }
  .tour.is-live .tour-slide:not(.has-photo) .tour-copy-in { margin: auto 0; }
  .tour.is-live .tour-slide.has-photo .tour-copy { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .tour.is-live .tour-slide.has-photo .tour-copy-in { padding: 56px 18px 12px; background: linear-gradient(to bottom, rgba(18,18,17,0) 0, rgba(18,18,17,0.88) 56px, #121211 112px); }

  .tour-controls { padding: 0 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .tour-seg { height: 14px; }
  .tour-seg::before { top: 6px; }
  .tour-nav { grid-template-columns: auto 1fr auto; gap: 8px; padding-top: 2px; }
  .tour-count { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); display: none; }
  .tour-btn { padding: 13px 15px; font-size: 10.5px; letter-spacing: 0.13em; }
  .tour-askbtn { justify-self: stretch; }

  .tour-guide { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(86svh, 720px); border-radius: 18px 18px 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,0.4); animation-name: tourGuideUp; }
  @keyframes tourGuideUp { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
  .tour-guide-head { padding: 18px 18px 12px; }
  .tour-guide-head .t { font-size: 23px; }
  .tour-guide-log { padding: 14px 18px 6px; }
  .tour-guide-sugg { padding: 6px 18px 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tour-guide-sugg::-webkit-scrollbar { display: none; }
  .tour-guide-sugg button { flex: none; white-space: nowrap; }
  .tour-guide-form { padding: 10px 18px 0; }
  .tour-guide-fine { padding: 10px 18px calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 11px; }
}
/* Most phones: the browser's own bars leave a short stage, so the slide keeps only
   what it needs; the suggested questions live in the guide panel instead. */
@media (max-width: 900px) and (max-height: 780px) {
  .tour.is-live .tour-ask { display: none; }
  .tour.is-live .tour-slide.has-photo .tour-copy-in { padding-top: 34px; background: linear-gradient(to bottom, rgba(18,18,17,0) 0, rgba(18,18,17,0.88) 36px, #121211 88px); }
  .tour.is-live .tour-photo { height: 46%; }
  .tour-title { font-size: clamp(32px, 8.8vw, 40px); }
  .tour-lead { font-size: 17.5px; margin-top: 10px; }
  .is-list .tour-lead { font-size: 17px; line-height: 1.24; }
  .tour-rows li { padding: 6px 0; }
  .tour-rows .t { font-size: 17.5px; }
  .tour-tier, .tour-tier + .tour-tier { padding: 6px 0; }
  .tour-tiers { margin-top: 10px; }
  .tour-tier .l { margin-top: 1px; }
  .tour-phase { margin-top: 8px; }
  .is-tiers .tour-list { margin-top: 9px; gap: 6px; }
  .tour-tier .l .room { display: none; }
  .tour-steps li, .tour-steps li + li { padding: 6px 0; }
  .tour-list li { font-size: 14.5px; }
  .tour-note, .tour-care { font-size: 12px; line-height: 1.42; }
}
@media (min-width: 901px) and (max-height: 900px) {
  .tour-copy { padding-top: 22px; padding-bottom: 22px; }
  .tour-title { font-size: clamp(36px, 4.4vw, 60px); margin-top: 12px; }
  .tour-lead { font-size: clamp(19px, 1.7vw, 23px); margin-top: 14px; }
  .tour-rows { margin-top: 18px; }
  .tour-rows li { padding: 8px 0; }
  .tour-rows .t { font-size: 19px; }
  .tour-list { margin-top: 16px; gap: 8px; }
  .tour-list li { font-size: 15px; }
  .tour-list-title { margin-top: 18px; }
  .tour-note { margin-top: 14px; font-size: 13px; }
  .tour-care { margin-top: 12px; font-size: 13px; }
  .tour-ask { margin-top: 18px; }
  .tour-kpis, .tour-tiers, .tour-steps { margin-top: 22px; }
  .tour-kpi .v { font-size: clamp(44px, 4.4vw, 64px); }
}
@media (min-width: 901px) and (max-height: 700px) {
  .tour-bar { padding-top: 10px; padding-bottom: 10px; }
  .tour-title { font-size: clamp(32px, 3.6vw, 46px); }
  .tour-lead { font-size: 19px; margin-top: 10px; }
  .tour-rows li { padding: 6px 0; }
  .tour-rows .t { font-size: 18px; }
  .tour-list { gap: 6px; }
  .tour-list li { font-size: 14.5px; }
  .tour-btn { padding: 11px 18px; }
  .tour-note, .tour-care { font-size: 12.5px; margin-top: 10px; }
  .tour-ask { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tour.is-live .tour-slide, .tour.is-live .tour-slide.is-active { transition: none; }
  .tour.is-live .tour-slide.is-active .tour-copy-in > *, .tour-guide, .tour-msg.is-wait .dots i { animation: none; }
}
