/* Bites of Boston tour page template (first used on Classic Downtown).
   Her brand, set with more restraint: #f29d23 orange, black, Lato and the
   BetterTimes script. Body copy is left-aligned at a reading measure, headings
   are light rather than bold, and the orange is an accent instead of a fill.
   Everything is scoped under .bt-page because her theme styles bare p/h tags
   (white text, 1.2em) sitewide. */

/* Her theme sets overflow-x:hidden on html AND body, which turns body into a
   scroll container and silently disables position:sticky. clip hides the same
   overflow without that side effect. */
html:has(.bt-page), html:has(.bt-page) body { overflow-x: clip; }

.bt-page {
  --bt-orange: #f29d23;
  --bt-orange-ink: #a8650b;   /* orange text on white that passes contrast */
  --bt-ink: #141414;
  --bt-text: #3d3d3d;
  --bt-muted: #767676;
  --bt-line: #e6e0d6;
  --bt-cream: #faf6f0;
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--bt-text);
  background: #fff;
}
.bt-page *, .bt-page *::before, .bt-page *::after { box-sizing: border-box; }
.bt-page p, .bt-page li, .bt-page dd, .bt-page dt, .bt-page blockquote { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.bt-page h1, .bt-page h2, .bt-page h3 { margin: 0; color: var(--bt-ink); }
.bt-page img { max-width: 100%; display: block; }
.bt-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.bt-center, .bt-page .bt-center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .bt-wrap { padding: 0 20px; } }

/* ---- Type ---------------------------------------------------------------- */
.bt-eyebrow { font-size: 12px !important; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--bt-orange) !important; margin-bottom: 18px !important; }
.bt-script { font-size: 30px !important; line-height: 1.1 !important; color: var(--bt-orange-ink) !important; margin-bottom: 10px !important; }
.bt-h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; line-height: 1.2; letter-spacing: -0.005em; max-width: 22ch; margin-bottom: 26px !important; }
.bt-h2.bt-center { max-width: 30ch; }
.bt-h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; margin: 52px 0 6px !important; }
.bt-lede { font-size: 21px !important; font-weight: 300; line-height: 1.65 !important; color: var(--bt-ink) !important; margin-bottom: 22px !important; }
.bt-story > p + p { margin-top: 18px; }
.bt-story p { max-width: 64ch; }

/* ---- Buttons ------------------------------------------------------------- */
.bt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; font: 700 13px/1.2 'Lato', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.bt-btn--gold { background: var(--bt-orange); color: var(--bt-ink) !important; }
.bt-btn--gold:hover { background: var(--bt-ink); color: #fff !important; border-color: var(--bt-ink); }
.bt-close .bt-btn--gold:hover { background: #fff; color: var(--bt-ink) !important; border-color: #fff; }
.bt-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,0.6); }
.bt-btn--ghost:hover { background: #fff; color: var(--bt-ink) !important; }
.bt-link { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bt-orange) !important; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.bt-link:hover { color: #fff !important; }

/* ---- Hero ---------------------------------------------------------------- */
.bt-hero { position: relative; min-height: 560px; height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bt-ink); }
.bt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; max-width: none !important; }
.bt-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,8,0.78) 0%, rgba(12,10,8,0.45) 45%, rgba(12,10,8,0.05) 80%), linear-gradient(0deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0) 45%); }
.bt-hero__copy { position: relative; width: 100%; padding-bottom: 88px; }
.bt-hero__title { font-size: clamp(38px, 5vw, 64px) !important; font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; color: #fff !important; max-width: 15ch; margin-bottom: 36px !important; }
.bt-hero__script { display: block; font-size: 0.72em; line-height: 1.1; color: var(--bt-orange); margin-bottom: 10px; }
.bt-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 640px) {
  .bt-hero { height: auto; min-height: 78vh; }
  .bt-hero__copy { padding-bottom: 48px; }
  .bt-hero__shade { background: linear-gradient(0deg, rgba(12,10,8,0.85) 0%, rgba(12,10,8,0.4) 60%, rgba(12,10,8,0.15) 100%); }
  .bt-hero__btns .bt-btn { flex: 1 1 100%; }
}

/* ---- Key facts ----------------------------------------------------------- */
.bt-facts { background: var(--bt-ink); color: #fff; }
.bt-facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.bt-fact { padding: 28px 0 28px 28px; border-left: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 4px; }
.bt-fact:first-child { border-left: none; padding-left: 0; }
.bt-fact__k { font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bt-orange); }
.bt-fact__v { font-size: 19px; font-weight: 300; line-height: 1.3; }
@media (max-width: 800px) {
  .bt-facts__row { grid-template-columns: 1fr 1fr; }
  .bt-fact, .bt-fact:first-child { padding: 20px 0 20px 16px; border-left: none; }
  .bt-fact:nth-child(odd) { padding-left: 0; }
  .bt-fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }
  .bt-fact__v { font-size: 17px; }
}

/* ---- Story + booking card ------------------------------------------------ */
.bt-main { padding: 110px 0; }
.bt-main__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 96px; align-items: start; }
.bt-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin: 0; }
.bt-details > div { border-top: 1px solid var(--bt-line); padding: 18px 0 20px; }
.bt-details dt { font-size: 11px !important; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bt-muted) !important; margin-bottom: 4px !important; }
.bt-details dd { font-size: 16px !important; line-height: 1.55 !important; color: var(--bt-ink) !important; }
.bt-book { position: sticky; top: 28px; scroll-margin-top: 20px; }
.bt-book__card { background: #fff; border: 1px solid var(--bt-line); border-top: 3px solid var(--bt-orange); padding: 34px 30px 26px; box-shadow: 0 40px 70px -40px rgba(20,20,20,0.35); }
.bt-book__from { font-size: 11px !important; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bt-muted) !important; }
.bt-book__price { font-size: 46px !important; font-weight: 300; line-height: 1.1 !important; color: var(--bt-ink) !important; }
.bt-book__price span { font-size: 15px; color: var(--bt-muted); letter-spacing: 0.02em; }
.bt-book__title { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; border-top: 1px solid var(--bt-line); padding-top: 22px; margin-top: 22px !important; }
.bt-book .cal-col__sub { font-size: 14px !important; color: var(--bt-muted) !important; margin: 4px 0 16px !important; }
.bt-book__note { font-size: 14px !important; color: var(--bt-muted) !important; border-top: 1px solid var(--bt-line); padding-top: 16px; margin-top: 18px !important; }
.bt-book__note a { color: var(--bt-ink); font-weight: 700; }
@media (max-width: 980px) {
  .bt-main { padding: 72px 0; }
  .bt-main__grid { grid-template-columns: 1fr; gap: 56px; }
  .bt-book { position: static; max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 560px) {
  .bt-details { grid-template-columns: 1fr; }
  .bt-lede { font-size: 19px !important; }
  .bt-book__card { padding: 26px 18px 20px; }
}

/* ---- Calendar (inside the card) ----------------------------------------- */
.tcal__nav { display: flex; align-items: center; justify-content: space-between; }
.tcal__arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--bt-line); border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; color: var(--bt-ink); transition: border-color .2s; }
.tcal__arrow:hover:not(:disabled) { border-color: var(--bt-ink); }
.tcal__arrow:disabled { color: #ccc; border-color: #f0ece6; cursor: default; }
.tcal__label { font-size: 17px; font-weight: 700; color: var(--bt-ink); letter-spacing: 0.02em; }
.tcal__dows, .tcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.tcal__dows { margin-top: 14px; }
.tcal__dows span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--bt-muted); padding: 4px 0; }
.tcal__grid { gap: 4px; }
.tcal-day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid transparent; border-radius: 50%; font: 700 14px 'Lato', sans-serif; color: var(--bt-ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tcal-day.empty { cursor: default; }
.tcal-day.muted { color: #c9c4bc; font-weight: 400; cursor: default; }
.tcal-day.avail { background: var(--bt-orange); color: var(--bt-ink); }
.tcal-day.avail:hover { background: var(--bt-ink); color: #fff; }
.tcal-day.call { border-color: var(--bt-orange); color: var(--bt-orange-ink); }
.tcal-day.soldout { background: #f1eee9; color: #9a948b; text-decoration: line-through; }
.tcal-day.sel, .tcal-day.sel:hover { background: var(--bt-ink); color: #fff; border-color: var(--bt-ink); text-decoration: none; }
.tcal__times:not(:empty) { border-top: 1px solid var(--bt-line); margin-top: 16px; padding-top: 16px; }
.tcal__times-hint { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bt-ink); margin-bottom: 12px; }
.tcal__times-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.tcal__times-row--solo { align-items: flex-end; }
.tcal__times-pills { display: flex; flex-direction: column; gap: 8px; }
.tcal__time { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px; font: 700 14px 'Lato', sans-serif; letter-spacing: 0.06em; color: var(--bt-ink); background: var(--bt-orange); border: 1px solid var(--bt-orange); text-decoration: none; }
.tcal__time::after { content: "\2192"; font-weight: 400; }
.tcal__time:hover { background: var(--bt-ink); border-color: var(--bt-ink); color: #fff; }
.tcal__time--wait { background: #fff; border-color: var(--bt-ink); }
.tcal__time--call { background: var(--bt-ink); border-color: var(--bt-ink); color: #fff; }
.tcal__time--call:hover { background: var(--bt-orange); border-color: var(--bt-orange); color: var(--bt-ink); }
.tcal__time--out { background: #f1eee9; border-color: #f1eee9; color: #9a948b; cursor: default; }
.tcal__time--out::after { content: none; }
.tcal__time-strike { text-decoration: line-through; }
.tcal__time-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.tcal__note, .tcal__empty { font-size: 14px !important; line-height: 1.6 !important; color: var(--bt-muted) !important; margin-top: 12px !important; }
.tcal__priv-link { font-size: 13px; font-weight: 700; color: var(--bt-muted); }
.tcal__priv-link:hover { color: var(--bt-ink); }
/* "Request Private": small, right-aligned, always there. A house signature
   across every operator's calendar, never louder than the dates. */
.bt-book .tcal__times-row--solo { align-items: flex-end; }
.bt-book .tcal__times-row { gap: 10px; }
.bt-book .tcal__priv-link { align-self: flex-end; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--bt-muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.bt-book .tcal__priv-link:hover { color: var(--bt-ink); border-bottom-color: var(--bt-orange); }

/* ---- Gallery ------------------------------------------------------------- */
.bt-gallery { padding: 0 0 110px; }
.bt-gallery__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 max(40px, calc((100vw - 1160px) / 2)); scrollbar-width: none; }
.bt-gallery__track::-webkit-scrollbar { display: none; }
.bt-gallery__item { flex: 0 0 auto; width: 360px; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; scroll-snap-align: start; background: #eee; }
.bt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bt-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .bt-gallery { padding-bottom: 72px; } .bt-gallery__track { padding: 0 20px; } .bt-gallery__item { width: 72vw; } }

/* ---- How it works -------------------------------------------------------- */
.bt-steps { background: var(--bt-cream); padding: 110px 0; }
.bt-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 20px; }
.bt-step { border-top: 1px solid var(--bt-line); padding-top: 28px; }
.bt-step__n { display: block; font-size: 44px; font-weight: 300; line-height: 1; color: var(--bt-orange); margin-bottom: 18px; }
.bt-step__t { font-size: 30px !important; line-height: 1.1; color: var(--bt-ink) !important; margin-bottom: 12px !important; }
.bt-step p { font-size: 16px !important; line-height: 1.75 !important; }
@media (max-width: 800px) { .bt-steps { padding: 72px 0; } .bt-steps__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- Route --------------------------------------------------------------- */
.bt-route { padding: 110px 0; }
.bt-route__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.bt-route__map { margin: 0; border: 1px solid var(--bt-line); padding: 10px; background: #fff; }
.bt-route__map img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; }
@media (max-width: 860px) { .bt-route { padding: 72px 0; } .bt-route__grid { grid-template-columns: 1fr; gap: 36px; } .bt-route__copy { order: -1; } }

/* ---- Testimonial --------------------------------------------------------- */
.bt-quote { background: var(--bt-ink); padding: 120px 0; text-align: center; }
.bt-quote blockquote { max-width: 860px; margin: 0 auto; }
.bt-quote blockquote::before { content: "\201C"; display: block; font-size: 96px; line-height: 0.6; font-weight: 300; color: var(--bt-orange); margin-bottom: 28px; }
.bt-quote blockquote p { font-size: clamp(21px, 2.3vw, 29px) !important; font-weight: 300; font-style: italic; line-height: 1.55 !important; color: #fff !important; }
.bt-quote footer { margin-top: 30px; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bt-orange); }
@media (max-width: 640px) { .bt-quote { padding: 80px 0; } }

/* ---- Founder ------------------------------------------------------------- */
.bt-founder { background: var(--bt-cream); padding: 110px 0; }
.bt-founder__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 80px; align-items: center; max-width: 1040px; }
.bt-founder__img { width: 100%; height: auto; }
.bt-founder p:not(.bt-script):not(.bt-founder__name) { max-width: 58ch; }
.bt-founder p + p { margin-top: 16px; }
.bt-founder__sig { width: 190px; height: auto; margin: 26px 0 6px; }
.bt-founder__name { font-size: 12px !important; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bt-muted) !important; }
@media (max-width: 800px) { .bt-founder { padding: 72px 0; } .bt-founder__grid { grid-template-columns: 1fr; gap: 36px; } .bt-founder__img { max-width: 260px; } }

/* ---- FAQ ------------------------------------------------------------------ */
.bt-faq { padding: 110px 0; }
.bt-faq__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 20px; align-items: start; }
.bt-faq__item { border-top: 1px solid var(--bt-line); }
.bt-faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 22px 44px 22px 0; font-size: 17px; font-weight: 400; line-height: 1.45; color: var(--bt-ink); }
.bt-faq__item summary::-webkit-details-marker { display: none; }
.bt-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--bt-orange-ink); transition: transform .25s; }
.bt-faq__item[open] summary::after { transform: rotate(45deg); }
.bt-faq__item p { font-size: 16px !important; line-height: 1.75 !important; color: var(--bt-text) !important; padding: 0 44px 0 0; }
.bt-faq__item p:last-child { padding-bottom: 24px; }
.bt-faq__item p + p { margin-top: 12px; }
@media (max-width: 800px) { .bt-faq { padding: 72px 0; } .bt-faq__grid { grid-template-columns: 1fr; } }

/* ---- Closing band -------------------------------------------------------- */
.bt-close { background: var(--bt-ink); color: rgba(255,255,255,0.8); padding: 100px 0; }
.bt-close__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.bt-close .bt-script { color: var(--bt-orange) !important; }
.bt-close .bt-h2 { color: #fff; margin-bottom: 14px !important; }
.bt-close #bottomCta { margin-top: 30px; }
.bt-close__groups { border-left: 1px solid rgba(255,255,255,0.14); padding-left: 56px; }
.bt-close__groups p:not(.bt-script) { margin-bottom: 22px; font-size: 16px; }
.cta-buy { flex-direction: column; gap: 2px; padding: 12px 34px; min-height: 60px; }
.cta-buy__label { font-size: 10px; letter-spacing: 0.24em; opacity: 0.8; }
.cta-buy__main { font-size: 16px; letter-spacing: 0.04em; text-transform: none; }
@media (max-width: 800px) { .bt-close { padding: 72px 0; } .bt-close__grid { grid-template-columns: 1fr; gap: 44px; } .bt-close__groups { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); padding: 36px 0 0; } }

/* ---- More tours (date-aware) --------------------------------------------- */
.bt-other { background: var(--bt-cream); padding: 110px 0; }
.ot-strip { max-width: 640px; margin: 0 auto 36px; }
.ot-strip__label { font-size: 16px; font-weight: 700; color: var(--bt-ink); }
.bt-other .dpx-cal__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 8px; }
.bt-other .dpx-strip__arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--bt-line); border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; color: var(--bt-ink); }
.bt-other .dpx-strip__arrow:disabled { color: #ccc; cursor: default; }
.ot-strip .dpx-strip__rail { position: relative; }
.ot-strip .dpx-strip__days { display: flex; justify-content: space-between; }
.ot-strip .dpx-strip__line { position: absolute; left: 5%; right: 5%; top: 31px; height: 1px; background: var(--bt-line); }
.ot-strip .dpx-d { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; background: none; border: none; padding: 6px 0 10px; cursor: pointer; font-family: 'Lato', sans-serif; color: var(--bt-ink); }
.ot-strip .dpx-d--off { cursor: default; }
.ot-strip .dpx-d__disc, .ot-strip .dpx-d__plain { width: 52px; height: 52px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; background: var(--bt-cream); }
.ot-strip .dpx-d__dow { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ot-strip .dpx-d__date { font-size: 10px; }
.ot-strip .dpx-d--off .dpx-d__plain { color: #c9c4bc; }
.ot-strip .dpx-d--open .dpx-d__disc { background: var(--bt-orange); }
.ot-strip .dpx-d.sel .dpx-d__disc { background: var(--bt-ink); color: #fff; }
/* Lists of tours scroll sideways everywhere; a vertical stack of five cards
   pushes the rest of the page a phone's length away. */
.related-cards { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 14px; }
.related-cards > .related-card { flex: 0 0 300px; scroll-snap-align: start; }
/* Fewer cards than the row holds (a day with two other tours): centre them.
   Auto margins centre without clipping the start once the row overflows. */
.related-cards > .related-card:first-child { margin-left: auto; }
.related-cards > .related-card:last-child { margin-right: auto; }
@media (max-width: 640px) { .related-cards { margin: 0 -20px; padding: 0 20px 14px; scroll-padding: 0 20px; } .related-cards > .related-card { flex-basis: 78vw; } }
.related-card { display: flex; flex-direction: column; background: #fff; color: var(--bt-ink); text-decoration: none; transition: box-shadow .3s; }
.related-card:hover { box-shadow: 0 30px 50px -30px rgba(20,20,20,0.35); }
.related-card-image { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.related-card-body { padding: 22px 24px 26px; }
.related-card-type { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bt-muted); margin-bottom: 8px; }
.related-card-body h3 { font-size: 22px; font-weight: 300; line-height: 1.25; color: var(--bt-ink); margin-bottom: 10px; }
.related-card-body p { font-size: 15px !important; line-height: 1.65 !important; color: var(--bt-text) !important; }
.ot-msg { text-align: center; color: var(--bt-muted); }
@media (max-width: 640px) { .bt-other { padding: 72px 0; } .ot-strip .dpx-d__disc, .ot-strip .dpx-d__plain { width: 42px; height: 42px; } .ot-strip .dpx-strip__line { top: 26px; } }


