/* ============================================================
   chicagoarchitectureboat.com — mobile-first stylesheet
   Built 2026-05-03
   ============================================================ */

:root {
  --color-primary:        #1F3C88;
  --color-primary-hover:  #16306D;
  --color-dark:           #0F2347;
  --color-body:           #2D3A4F;
  --color-muted:          #5A6577;
  --color-border:         #E2E8F0;
  --color-bg:             #F1FAEE;
  --color-surface:        #FFFFFF;
  --color-white:          #FFFFFF;
  --color-footer-bg:      #0F2347;
  --color-accent:         #F4A261;
  --pillar-1:             #00A8A8;
  --pillar-2:             #F4A261;
  --pillar-3:             #9AD3DA;

  --font-display: 'Bebas Neue', 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --shadow-card: 0 12px 18px -6px rgba(31, 60, 136, 0.08);
  --shadow-strong: 0 20px 40px -12px rgba(15, 35, 71, 0.18);
  --transition: all 0.18s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --container: 1290px;
  --container-narrow: 800px;
}

/* ---------- reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* prevent iOS rubber-band overscroll from making fixed header appear to drift */
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-hover); }
button { font-family: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-family: var(--font-display); letter-spacing: 0.5px; font-weight: 400; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.8vw, 1.45rem); }
p  { margin: 0 0 1em; }
.eyebrow { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.22em; font-weight: 700; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.6rem; display: inline-block; }
.hero strong { color: inherit; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 3.5rem 0; }
.section--alt { background: var(--color-bg); }
.section--dark { background: var(--color-dark); color: var(--color-white); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head p { color: var(--color-muted); max-width: 720px; margin: 0 auto; }
.section-head--prose p { text-align: left; margin-bottom: 1rem; max-width: 760px; }
.section-head--prose p:last-of-type { margin-bottom: 0; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  /* no box-shadow, no transform, no will-change — keep the rendering pipeline
     for the header as boring as possible so iOS Safari doesn't repaint it
     during address-bar transitions */
}
/* offset body content so the fixed header doesn't overlap it.
   The actual value is also re-set in JS at runtime to match the real rendered
   header height (handles font-load shifts). */
body { padding-top: 66px; }
.brand-row {
  display: flex; align-items: center;
  gap: 0.6rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  /* extra breathing room on mobile + respect iPhone notch safe-area */
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}
@media (min-width: 690px) {
  .brand-row {
    padding-left: max(1.75rem, env(safe-area-inset-left));
    padding-right: max(1.75rem, env(safe-area-inset-right));
  }
}
.brand { display: flex; align-items: center; gap: 0.5rem; margin-right: auto; flex-shrink: 1; min-width: 0; }
.brand img { height: 44px; width: auto; display: block; }
/* prevent CLS on mobile when logo loads */
.brand img[width][height] { aspect-ratio: 176 / 44; }
.primary-nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}
.primary-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  text-transform: none;
  padding: 0.4rem 0.2rem;
}
.primary-nav a:hover { color: var(--color-primary); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1.5px solid var(--color-dark);
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.nav-toggle:hover { background: var(--color-dark); color: var(--color-white); }
.nav-toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.nav-toggle__icon { display: block; }

/* mobile-only Book CTA in the brand-row (always visible without opening hamburger) */
.header-book-mobile {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  min-height: 40px; padding: 0.45rem 0.85rem;
  font-size: 0.78rem; letter-spacing: 0.1em;
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  color: var(--color-dark); background: var(--color-accent);
  border: 0; border-radius: 0;
  white-space: nowrap;
  transition: var(--transition);
}
.header-book-mobile:hover { background: #E08F4D; color: var(--color-dark); transform: translate3d(0,-1px,0); }
.header-book-mobile:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 2px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: block; padding: 0.85rem 0; min-height: 44px;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1rem; color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a.btn { margin-top: 0.75rem; border: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em;
  border: 0; border-radius: 0;
  background: var(--color-primary); color: var(--color-white);
  cursor: pointer; transition: var(--transition);
  text-align: center;
}
.btn:hover { background: var(--color-primary-hover); color: var(--color-white); transform: translate3d(0,-2px,0); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn--accent { background: var(--color-accent); color: var(--color-dark); }
.btn--accent:hover { background: #E08F4D; color: var(--color-dark); }
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn--ghost:hover { background: var(--color-white); color: var(--color-dark); }
.btn--full { width: 100%; }
/* defensive: nav .btn always white text */
.primary-nav .btn       { color: var(--color-white); }
.primary-nav .btn:hover { color: var(--color-white); }
.mobile-nav .btn        { color: var(--color-white); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(90deg,
      rgba(15,35,71,0.88) 0%,
      rgba(15,35,71,0.62) 40%,
      rgba(15,35,71,0.20) 75%,
      rgba(15,35,71,0) 100%),
    url('../img/chicago-architecture-boat-tour-hero-800.webp');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 3rem 0 5rem;
  min-height: 520px;
  display: flex; align-items: center;
}
.hero__inner { width: 100%; }
.hero__overline {
  font-family: var(--font-heading); font-size: 0.7rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(15,35,71,0.4);
}
.hero__sub {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 660px;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.4rem;
  align-items: center;
  font-size: 0.9rem;
}
.hero__trust > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__trust .stars { color: var(--color-accent); letter-spacing: 1px; }

/* ---------- hero pillars (overlapping) ---------- */
.hero-pillars { background: transparent; padding: 0 0 3rem; }
.hero-pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: -40px;
  box-shadow: var(--shadow-strong);
  position: relative; z-index: 5;
}
.hero-pillar {
  display: block;
  padding: 1.6rem 1.4rem;
  text-decoration: none;
  border-radius: 0;
  color: var(--color-dark);
  transition: filter 0.18s ease, transform 0.18s ease;
}
.hero-pillar:hover { filter: brightness(1.05); transform: translateY(-2px); color: var(--color-dark); }
.hero-pillar:focus-visible { outline: 2px solid var(--color-dark); outline-offset: -3px; }
.hero-pillar--1 { background: var(--pillar-1); color: var(--color-white); }
.hero-pillar--1:hover { color: var(--color-white); }
.hero-pillar--1 .hero-pillar__eyebrow,
.hero-pillar--1 .hero-pillar__text { color: var(--color-white); }
.hero-pillar--2 { background: var(--pillar-2); }
.hero-pillar--3 { background: var(--pillar-3); }
.hero-pillar__eyebrow {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--color-dark);
  display: block; margin-bottom: 0.4rem; opacity: 0.85;
}
.hero-pillar__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.15rem; line-height: 1.25;
  color: inherit;
  margin: 0 0 0.5rem;
}
.hero-pillar__text {
  font-size: 0.92rem; line-height: 1.5;
  color: var(--color-dark);
  margin: 0;
}

/* ---------- description / about-this-experience ---------- */
.description__body { max-width: 760px; margin: 0 auto; }
.description__body p { font-size: 1.04rem; line-height: 1.7; }
.description__meta {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.description__meta strong { color: var(--color-dark); }

/* ---------- at-a-glance grid ---------- */
.glance-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  box-shadow: var(--shadow-card);
}
.glance-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}
.glance-card:hover { transform: translate3d(0,-3px,0); }
.glance-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.glance-card__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg,
    rgba(15,35,71,0.55) 0%,
    rgba(15,35,71,0.32) 35%,
    rgba(15,35,71,0.78) 80%,
    rgba(15,35,71,0.94) 100%);
}
.glance-card__from {
  position: absolute; top: 1.2rem; left: 1.2rem; z-index: 3;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.18em;
  font-weight: 700; text-transform: uppercase;
}
.glance-card__body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-height: 280px;
  padding: 1.5rem;
  color: var(--color-white);
}
.glance-card__title {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
.glance-card__intro {
  font-size: 0.95rem; line-height: 1.5;
  margin: 0 0 0.85rem;
  color: rgba(255,255,255,0.95);
}
.glance-card__duration {
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.18em;
  font-weight: 700; text-transform: uppercase;
  color: var(--pillar-3);
}

/* ---------- tour categories (cat--solo + tours-grid) ---------- */
.cat { padding: 2.5rem 0; }
.cat + .cat { border-top: 1px solid var(--color-border); }
.cat__head { margin-bottom: 1.2rem; }
.cat__head h2 {
  position: relative;
  margin-bottom: 0.4rem;
}
.cat__head h2::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: var(--color-accent);
  margin-top: 0.6rem;
}
.cat__tagline {
  font-family: var(--font-heading); font-style: italic;
  color: var(--color-accent);
  font-size: 1rem; font-weight: 500;
}
.cat__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: fit-content;
  gap: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.2rem;
}
.cat__fact {
  padding: 0.85rem 1.1rem;
  border-right: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.cat__fact:last-child { border-right: 0; }
.cat__fact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 0.18em;
  font-weight: 700; text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}
.cat__fact-value { font-weight: 600; color: var(--color-dark); }
.cat__desc { max-width: 760px; font-size: 1rem; line-height: 1.65; }
.cat__info {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.4rem;
}
.cat__info dl { margin: 0; }
.cat__info dt {
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.18em;
  font-weight: 700; text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}
.cat__info dd { margin: 0 0 0.85rem; font-size: 0.95rem; }
.cat__info ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.cat__info ul li {
  position: relative; padding-left: 1.1rem;
}
.cat__info ul li::before {
  content: '·'; position: absolute; left: 0.2rem; top: -0.05rem;
  color: var(--color-accent); font-weight: 700; font-size: 1.4rem;
}
.cat__info h4 {
  font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 0.5rem;
  color: var(--color-dark);
}
.cat__other-heading {
  margin: 2rem 0 1rem;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 0.75rem;
}
.cat__other-heading::after {
  content: ''; flex: 1; height: 1px; background: var(--color-border);
}
.tours-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  align-items: stretch;
}
.tours-grid--solo {
  grid-template-columns: 1fr;
}
.tours-grid--multi { grid-template-columns: 1fr; gap: 1.25rem; }

/* ---------- tour card ---------- */
.tour-card {
  display: flex; flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}
.tour-card__body {
  display: flex; flex-direction: column;
  flex: 1 1 auto;
  padding: 1.4rem 1.3rem 0.5rem;
}
.tour-card__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.05rem; line-height: 1.3;
  margin: 0 0 0.4rem;
  color: var(--color-dark);
}
.tour-card__provider {
  font-size: 0.8rem; color: var(--color-muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.tour-card__rating {
  display: flex; align-items: center; gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem; color: var(--color-dark);
}
.tour-card__rating .stars { color: var(--color-accent); }
.tour-card__meta {
  font-size: 0.85rem; color: var(--color-muted);
  margin-bottom: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 0.3rem 0.85rem;
}
.tour-card__meta span::before { content: '·'; margin-right: 0.4rem; color: var(--color-accent); }
.tour-card__meta span:first-child::before { content: ''; margin-right: 0; }
.tour-card__meta .tour-card__warn {
  color: #B7410E;            /* warning ochre — passes AA on white */
  font-weight: 600;
}
.tour-card__meta .tour-card__warn::before { color: #B7410E; }
.tour-card__highlight {
  font-size: 0.9rem;
  color: var(--color-body);
  line-height: 1.5;
  flex: 1 1 auto;
  margin-bottom: 1rem;
}
.tour-card__widget { padding: 0 1rem 1rem; }

/* Inside .tours-grid--multi, top-align the widgets across cards.
   Each GYG widget renders at a different intrinsic height (different tours
   have different availability calendars). Bottom-anchoring widgets makes
   their TOPS misalign visually; instead, give the body a consistent height
   so widgets start at the same Y. Cards may differ slightly at the bottom —
   that's far less noticeable than misaligned widget tops. */
.tours-grid--multi .tour-card { height: auto; align-self: start; }
.tours-grid--multi .tour-card__body { flex: 0 0 auto; min-height: 340px; }
/* highlights sit at natural height — empty space below shorter ones absorbs into
   the body min-height so widget tops still align */
.tours-grid--multi .tour-card__highlight { flex: 0 0 auto; }
@media (min-width: 1000px) {
  /* Desktop cards are narrower so highlights wrap to more lines.
     Bump min-height so even the longest body fits without overflow. */
  .tours-grid--multi .tour-card__body { min-height: 380px; }
}

/* featured 2-col cat--solo */
.cat--solo .cat__main { display: flex; flex-direction: column; gap: 1.4rem; }
.cat--solo .tours-grid--solo { margin-top: 1rem; }
.cat--solo .tour-card { border: none; box-shadow: none; background: transparent; }
.cat--solo .tour-card__body { padding: 0; }

/* ---------- comparison table ---------- */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 720px;
}
.comparison-table th, .comparison-table td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.comparison-table thead th {
  background: var(--pillar-2);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.comparison-table tbody th {
  font-weight: 700; color: var(--color-dark);
  background: var(--color-bg);
}

/* ---------- cost table ---------- */
.cost-table-wrap { overflow-x: auto; }
.cost-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--color-white);
  min-width: 600px;
  box-shadow: var(--shadow-card);
}
.cost-table th, .cost-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left; vertical-align: top;
}
.cost-table thead th {
  background: var(--pillar-2);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
}
.cost-table .price { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); white-space: nowrap; }

/* ---------- reviews / traveler quotes ---------- */
.reviews-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem;
}
.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.review-card__stars {
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}
.review-card blockquote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  color: var(--color-dark);
  flex: 1 1 auto;
}
.review-card__attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}
.review-card__attribution span { color: var(--color-muted); font-weight: 400; }
.reviews-source {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ---------- best time / month-tab area placeholder ---------- */
.best-time-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
}
.best-time-card {
  padding: 1.4rem 1.3rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.best-time-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.best-time-card p { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--color-body); }
.best-time-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 0.18em;
  font-weight: 700; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--pillar-2); color: var(--color-dark);
}
.best-time-card--peak .best-time-card__tag { background: var(--pillar-1); color: var(--color-dark); }
.best-time-card--peak h3 { color: var(--color-primary); }

/* ---------- visitor essentials article ---------- */
.article {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.article p { font-size: 1.02rem; line-height: 1.7; }
.article h3 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  color: var(--color-dark);
}
.article-tip {
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg);
  padding: 1.1rem 1.2rem;
  margin: 2rem 0 0;
  font-size: 1rem; line-height: 1.6;
}
.article-tip strong { color: var(--color-primary); }

/* ---------- before you book / honest cautions ---------- */
.caution-list {
  list-style: none;
  counter-reset: caution;
  padding: 0;
  margin: 0;
  max-width: var(--container-narrow);
}
.caution-list li {
  position: relative;
  counter-increment: caution;
  padding: 0.4rem 0 1.1rem 3rem;
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-body);
}
.caution-list li:last-child { border-bottom: 0; padding-bottom: 0.4rem; }
.caution-list li::before {
  content: counter(caution);
  position: absolute;
  top: 0.35rem; left: 0;
  width: 2.1rem; height: 2.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 700;
  background: var(--color-accent);
  color: var(--color-dark);
}
.caution-list strong { color: var(--color-dark); font-weight: 700; }
.caution-meta {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
}

/* ---------- gallery (horizontal scroll) ---------- */
.gallery__wrap { position: relative; }
.gallery__strip {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 85vw;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 1rem 1rem;
}
.gallery__strip::-webkit-scrollbar { display: none; }
.gallery__item {
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--color-bg);
}
.gallery__item img { width: 100%; height: 220px; object-fit: cover; }

/* prev/next nav buttons — hidden on mobile (touch users swipe), visible on tablet+ */
.gallery__nav {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 48px; height: 48px;
  border: 0; border-radius: 0;
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  transition: var(--transition);
}
.gallery__nav:hover { background: var(--color-primary); color: var(--color-white); }
.gallery__nav:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.gallery__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.gallery__nav:disabled:hover { background: var(--color-white); color: var(--color-dark); }
.gallery__nav--prev { left: 1rem; }
.gallery__nav--next { right: 1rem; }

/* ---------- destinations grid ---------- */
.destinations-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
}
.destination-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.2rem 1.2rem;
  box-shadow: var(--shadow-card);
}
.destination-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.destination-card p { font-size: 0.9rem; margin: 0; color: var(--color-body); }
.destination-card__stat {
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.16em;
  font-weight: 700; text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--color-accent);
  font-size: 1.4rem; line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item__body {
  padding: 0 1.2rem 1rem;
  font-size: 0.95rem; line-height: 1.6;
  color: var(--color-body);
}

/* ---------- if-cancelled / friction-removal ---------- */
.cancelled-block {
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1.4rem 1.4rem;
  max-width: 880px; margin: 0 auto;
}
.cancelled-block h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cancelled-block p { font-size: 0.95rem; margin-bottom: 0.5rem; }

/* ---------- practical info ---------- */
.practical-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 920px; margin: 0 auto;
}
.practical-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.2rem 1.2rem;
  box-shadow: var(--shadow-card);
}
.practical-card h3 {
  font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.practical-card p { font-size: 0.95rem; margin: 0; color: var(--color-body); }

/* ---------- final book-now banner ---------- */
.book-now {
  background: linear-gradient(rgba(15,35,71,0.82), rgba(15,35,71,0.86)),
              url('../img/chicago-by-night-river-cruise-1600.webp');
  background-size: cover; background-position: center;
  color: var(--color-white);
  padding: 4rem 0;
}
.book-now h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 0.5rem;
}
.book-now__sub { text-align: center; max-width: 720px; margin: 0 auto 2rem; font-size: 1.05rem; }
.book-now__widgets {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 920px; margin: 0 auto;
}
.book-now__widget {
  background: var(--color-white);
  padding: 1.4rem 1.2rem;
  color: var(--color-dark);
}
.book-now__widget h3 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--color-dark); }
.book-now__widget p { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0.85rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.4rem;
  font-size: 0.92rem;
}
.site-footer h3 {
  color: var(--color-white);
  font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid a { color: rgba(255,255,255,0.85); display: inline-block; padding: 0.25rem 0; }
.footer-grid a:hover { color: var(--color-accent); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-seo-links {
  display: grid; grid-template-columns: 1fr;
  gap: 0.4rem; font-size: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom p { margin: 0 0 0.4rem; }

/* ============================================================
   Tablet  ≥ 690px
   ============================================================ */
@media (min-width: 690px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.75rem; }

  .hero { padding: 4rem 0 6rem; min-height: 580px;
    background-image:
      linear-gradient(90deg,
        rgba(15,35,71,0.88) 0%,
        rgba(15,35,71,0.62) 40%,
        rgba(15,35,71,0.20) 75%,
        rgba(15,35,71,0) 100%),
      image-set(url('../img/chicago-architecture-boat-tour-hero-800.webp') 1x,
                url('../img/chicago-architecture-boat-tour-hero-1600.webp') 2x);
  }

  .hero-pillars__grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -48px;
  }

  .glance-grid { grid-template-columns: repeat(2, 1fr); }

  .cat__info { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .tours-grid--multi { grid-template-columns: repeat(2, 1fr); }

  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-seo-links { grid-template-columns: repeat(2, 1fr); }
  .practical-grid { grid-template-columns: repeat(2, 1fr); }
  .book-now__widgets { grid-template-columns: 1fr 1fr; }
  .best-time-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__strip { grid-auto-columns: 480px; padding: 0.5rem 2rem 1.4rem; }
  .gallery__nav { display: inline-flex; align-items: center; justify-content: center; }
}

/* ============================================================
   Desktop  ≥ 1000px
   ============================================================ */
@media (min-width: 1000px) {
  section[id] { scroll-margin-top: 7rem; }

  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .mobile-nav { display: none !important; }
  .header-book-mobile { display: none; }

  .hero { padding: 6rem 0 8rem; min-height: 640px;
    background-image:
      linear-gradient(90deg,
        rgba(15,35,71,0.88) 0%,
        rgba(15,35,71,0.62) 40%,
        rgba(15,35,71,0.20) 75%,
        rgba(15,35,71,0) 100%),
      url('../img/chicago-architecture-boat-tour-hero-1600.webp');
  }

  .hero-pillars__grid { margin-top: -80px; }
  .hero-pillar { padding: 1.9rem 1.7rem; }

  .glance-grid { grid-template-columns: repeat(2, 1fr); }

  .cat--solo { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 3rem; row-gap: 1rem; align-items: start; }
  .cat--solo .cat__main { display: flex; flex-direction: column; gap: 1.4rem; }
  /* the "other tours" heading + grid break out of the 2-col layout and span the full container */
  .cat--solo .cat__other-heading,
  .cat--solo .tours-grid--multi { grid-column: 1 / -1; }
  .tours-grid--multi {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .tours-grid--multi .tour-card__body { padding: 1.2rem 1.1rem 0.5rem; }

  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .destinations-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 2fr; }
  .footer-seo-links { grid-template-columns: repeat(3, 1fr); }
  .practical-grid { grid-template-columns: repeat(3, 1fr); }
  .best-time-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Reveal animations (subtle)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .section-head, .tour-card, .review-card, .destination-card, .practical-card, .best-time-card {
    opacity: 0; transform: translateY(12px);
    animation: revealUp 0.7s 0.05s ease forwards;
    animation-play-state: paused;
  }
  .reveal-on-scroll { animation-play-state: running; }
}
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* fall-back: if JS doesn't fire, still show content after 1s */
.section-head, .tour-card, .review-card, .destination-card, .practical-card, .best-time-card {
  animation-play-state: running;
}
