/* ==========================================================================
   Concept C — "Concierge App"
   Product-grade, app-like UX on a cool light canvas. White rounded cards and
   "sheets", Montserrat 600 headlines with a two-tone second line, segmented
   controls, booking cards, steppers, and trackers borrowed from best-in-class
   product UI. Every surface still uses the official palette (navy / azure /
   pastel / white, red as a small accent).
   Mobbin references: Contra & Clay (intent hero + suggestion chips), Mercury
   (service cards with mini-UI previews), MindMarket & Ada (app bar + quote
   pill), Zaro (framed stepper), Etsy & Hims (order tracker), Airbnb, Klook &
   GetYourGuide (detail page + sticky booking card), Deel (step sidebar),
   Wise (fee table), Sana (stats + testimonial carousel), Calendly (scheduler).
   ========================================================================== */
:root {
  --canvas: #f3f6fa;
  --bg: var(--canvas);
  --bg-alt: var(--white);
  --surface: var(--white);
  --surface-raised: var(--white);
  --surface-soft: #f6f8fb;
  --ink: var(--navy-900);
  --ink-2: #46566c;
  --muted: #6b7a90;
  --two-tone: #74849b;
  --line: rgba(6, 21, 41, 0.08);
  --line-strong: rgba(6, 21, 41, 0.14);
  --brand: var(--azure-500);
  --brand-soft: #e8f2fb;
  --eyebrow: var(--navy-900);
  --focus: var(--azure-500);
  --text-grad: linear-gradient(95deg, var(--azure-500), var(--navy-800));

  --display-font: var(--font-sans-head);
  --display-weight: 600;
  --display-tracking: -0.04em;
  --display-lh: 1.04;
  --head-font: var(--font-sans-head);
  --font-body: var(--font-sans-body);
  --quote-font: var(--font-sans-head);
  --stat-font: var(--font-sans-head);
  --stat-weight: 600;
  --stat-ink: var(--navy-900);
  --stat-bg: var(--white);

  --btn-bg: var(--navy-900);
  --btn-bg-hover: var(--azure-500);
  --btn-ink: #fff;
  --btn-radius: 12px;
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 16px rgba(6, 21, 41, 0.14);

  --card-bg: var(--white);
  --card-line: rgba(6, 21, 41, 0.07);
  --card-radius: 22px;
  --card-shadow: 0 1px 2px rgba(6, 21, 41, 0.04), 0 10px 30px rgba(6, 21, 41, 0.05);
  --feature-bg: var(--navy-900);
  --feature-ink: #fff;
  --feature-ink-2: rgba(255, 255, 255, 0.74);

  --nav-ink: #33435a;
  --nav-hover: var(--canvas);
  --menu-bg: var(--white);
  --menu-ink: var(--navy-900);
  --menu-line: rgba(6, 21, 41, 0.08);
  --menu-muted: #6b7a90;
  --menu-hover: var(--canvas);

  --form-bg: var(--white);
  --form-ink: var(--navy-900);
  --form-muted: #5d6c82;
  --form-line: rgba(6, 21, 41, 0.12);
  --form-field: #f6f8fb;

  --sheet-inset: clamp(0px, 1.2vw, 14px);
  --sheet-radius: clamp(24px, 3vw, 36px);
}

.theme-dark, .theme-navy {
  --bg: var(--navy-900); --bg-alt: var(--navy-950); --surface: rgba(255, 255, 255, 0.05); --surface-raised: var(--navy-800); --surface-soft: rgba(255, 255, 255, 0.05);
  --ink: #fff; --ink-2: rgba(255, 255, 255, 0.74); --muted: rgba(255, 255, 255, 0.56); --two-tone: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.2);
  --brand: var(--pastel-300); --brand-soft: rgba(154, 207, 233, 0.12); --eyebrow: #fff;
  --card-bg: rgba(255, 255, 255, 0.05); --card-line: rgba(255, 255, 255, 0.09); --card-shadow: none;
  --stat-ink: #fff; --stat-bg: transparent;
  --btn-bg: #fff; --btn-ink: var(--navy-900); --btn-bg-hover: var(--pastel-200);
  color: var(--ink);
}
.theme-navy { background: radial-gradient(120% 140% at 100% 0%, var(--navy-700), var(--navy-900) 55%); }

/* ---------------------------------------------------------------- Base */
body { background: var(--canvas); }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; color: var(--two-tone); }
.hero-c .display em { color: var(--azure-500); }
.lead { color: var(--ink-2); }
.section { padding-block: clamp(64px, 5vw + 32px, 120px); }
.section-tight { padding-block: clamp(44px, 4vw, 72px); }

/* White "sheets": alternate sections float as rounded panels on the canvas */
.section-alt, .section.theme-navy, .section.theme-dark {
  margin-inline: var(--sheet-inset); border-radius: var(--sheet-radius);
}
.section-alt { background: var(--white); --card-bg: var(--surface-soft); --card-line: transparent; --card-shadow: none; --surface: var(--surface-soft); }
.section-alt + .section-alt { margin-top: 12px; }

/* Eyebrow becomes a status pill */
.eyebrow {
  gap: 8px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); margin-bottom: 18px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(6, 21, 41, 0.04);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--eyebrow);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azure-500); box-shadow: 0 0 0 3px rgba(26, 106, 179, 0.16); flex: none; }
.eyebrow:has(.eyebrow-ico)::before { display: none; }
.eyebrow-ico { color: var(--azure-500); display: inline-grid; }
.eyebrow-num { display: none; }
.section-alt .eyebrow { background: var(--canvas); border-color: transparent; box-shadow: none; }
.theme-dark .eyebrow, .theme-navy .eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.theme-dark .eyebrow::before, .theme-navy .eyebrow::before { background: var(--pastel-300); box-shadow: 0 0 0 3px rgba(154, 207, 233, 0.2); }
.center-text.eyebrow, p.eyebrow.center-text { display: flex; width: fit-content; margin-inline: auto; }

/* Buttons */
.btn { font-weight: 600; letter-spacing: 0; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--white); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(6, 21, 41, 0.05); color: var(--navy-900); }
.btn-ghost:hover { border-color: var(--navy-900); background: var(--white); }
.theme-dark .btn-ghost, .theme-navy .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.24); box-shadow: none; }
.theme-dark .btn-ghost:hover, .theme-navy .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn-round { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; flex: none; }
.chip { letter-spacing: 0.02em; text-transform: none; font-weight: 600; font-size: 0.76rem; }
.chip-soft { background: var(--canvas); color: var(--ink-2); }
.chip-green { background: #e5f6ec; color: #13814a; }
.chip-amber { background: #fff3dc; color: #9a5b00; }
.chip-red { background: var(--red-100); color: var(--red-600); }
.tag { background: var(--white); border-color: var(--line); box-shadow: 0 1px 2px rgba(6, 21, 41, 0.04); font-weight: 600; }

/* ---------------------------------------------------------------- Header (app bar) */
.site-header { padding-top: 12px; }
.site-header .nav-wrap {
  min-height: 62px; padding: 0 8px 0 18px; gap: 16px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 2px rgba(6, 21, 41, 0.04);
  transition: box-shadow var(--dur), background var(--dur);
}
.site-header.is-scrolled .nav-wrap { background: rgba(255, 255, 255, 0.96); box-shadow: 0 12px 34px rgba(6, 21, 41, 0.09); }
.logo { height: 32px; }
.nav-link { border-radius: 10px; font-weight: 600; font-size: 0.86rem; padding: 9px 12px; }
.nav-link.is-active { color: var(--navy-900); background: var(--canvas); }
.nav-link.is-active::after { display: none; }
.lang { background: var(--canvas); border-color: transparent; }
.lang button.is-active { background: var(--white); color: var(--navy-900); box-shadow: 0 1px 3px rgba(6, 21, 41, 0.12); }
.nav-cta { border-radius: 12px; }
.nav-toggle { border-radius: 12px; border-color: var(--line); background: var(--canvas); }
.mega, .drop { border-radius: 20px; box-shadow: 0 24px 60px rgba(6, 21, 41, 0.14); }
.mega-link { border-radius: 14px; }
.mega-ico { border-radius: 12px; background: var(--canvas); color: var(--navy-800); }
.mega-link:hover .mega-ico { background: var(--white); color: var(--azure-500); }
.mega-feature { border-radius: 16px; }
.mobile-nav { margin: 8px var(--gutter) 0; border-radius: 20px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 60px rgba(6, 21, 41, 0.14); }
.subnav { top: 86px; background: rgba(243, 246, 250, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 0; }
.subnav .container { gap: 4px; }
.subnav a { background: var(--white); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- Shared card language */
.feature-card, .support-card, .pillar, .step, .testi, .program-card, .related-card, .route-card-lg, .pain, .visit,
.price-card, .case-card, .upcoming-card, .case-tile, .entity, .office-card, .team-card, .fee-card, .insight-card .insight-media, .kol, .compare, .contact-box {
  box-shadow: var(--card-shadow);
}
.feature-card, .support-card, .pillar, .program-card, .related-card, .route-card-lg, .pain, .visit, .price-card,
.case-card, .upcoming-card, .case-tile, .entity, .office-card, .team-card, .testi { border-color: var(--card-line); border-radius: var(--card-radius); }
.feature-card:hover, .support-card:hover, .related-card:hover { border-color: rgba(26, 106, 179, 0.3); box-shadow: 0 18px 44px rgba(6, 21, 41, 0.08); }
.pillar-ico, .feature-ico, .support-ico { border-radius: 14px; background: var(--canvas); color: var(--navy-800); border: 1px solid var(--line); }
.section-alt .pillar-ico, .section-alt .feature-ico, .section-alt .support-ico { background: var(--white); }
.route-card-lg.is-primary { background: var(--navy-900); }
.testi blockquote { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.program-card:hover, .upcoming-card:hover { transform: translateY(-3px); }
.program-media { aspect-ratio: 16 / 11; margin: 8px 8px 0; border-radius: 16px; }
.program-card .program-media { overflow: hidden; }
.insight-media { border-radius: 18px; }
.case-card { border-radius: 26px; background: var(--card-bg); border: 1px solid var(--card-line); overflow: hidden; }
.kol { background: var(--white); border-color: var(--line); }
.kol-names b { font-family: var(--font-sans-head); font-weight: 600; font-size: 1.05rem; }
.gallery-item { border-radius: 18px; }
.logo-chip { border-radius: 14px; border-color: var(--line); }
.ig-post { border-radius: 18px; }
.ig-ring img { border-color: var(--canvas); }
.section-alt .ig-ring img { border-color: #fff; }

/* Facts / stats: Sana-style divided row */
.facts-stats { border-radius: 22px; }
.stat-num { letter-spacing: -0.04em; }
.kpi-row { gap: 0; border-radius: 22px; overflow: hidden; }

/* Steps: framed horizontal stepper (Zaro) for 3–4 steps */
.steps-3, .steps-4 {
  gap: 0; padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--white);
  border: 1px solid var(--card-line); box-shadow: var(--card-shadow); position: relative;
}
.section-alt .steps-3, .section-alt .steps-4 { background: var(--canvas); box-shadow: none; }
.steps-3 .step, .steps-4 .step { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 40px 22px 6px 0; }
.steps-3 .step::before, .steps-4 .step::before { content: ""; position: absolute; top: 9px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-900); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line-strong); z-index: 1; }
.section-alt .steps-3 .step::before, .section-alt .steps-4 .step::before { box-shadow: 0 0 0 4px var(--canvas), 0 0 0 5px var(--line-strong); }
.steps-3 .step:last-child::before, .steps-4 .step:last-child::before { background: var(--azure-500); }
.steps-3 .step::after, .steps-4 .step::after { content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps-3 .step-num, .steps-4 .step-num { font: 600 0.7rem/1 var(--font-sans-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.steps-3 .step-num::before, .steps-4 .step-num::before { content: "Step "; }
.steps-3 .step .h3 { font-size: 1.15rem; font-weight: 600; }

/* Steps: vertical tracker (Etsy / Hims) for long processes */
.steps-many { grid-template-columns: 1fr !important; gap: 0; max-width: 860px; counter-reset: none; }
.steps-many .step {
  grid-template-columns: 44px 1fr; column-gap: 20px; row-gap: 4px; padding: 0 0 28px; border: 0; background: none; box-shadow: none; border-radius: 0;
}
.steps-many .step > * { grid-column: 2; }
.steps-many .step .step-num {
  grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 600 0.9rem/1 var(--font-sans-head); color: var(--navy-900); background: var(--white); border: 1px solid var(--line-strong); position: relative; z-index: 1;
}
.steps-many .step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 4px, transparent 4px 8px); }
.steps-many .step:last-child::before { display: none; }
.steps-many .step:first-child .step-num { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.steps-many .step .h4 { font-weight: 600; padding-top: 10px; }
.steps-many .step.is-gate { border: 0; }
.steps-many .step.is-gate .step-num { border-color: var(--azure-500); color: var(--azure-500); box-shadow: 0 0 0 4px rgba(26, 106, 179, 0.12); }
.gate { width: fit-content; padding: 6px 10px; border-radius: var(--r-pill); background: var(--brand-soft); text-transform: none; letter-spacing: 0.01em; font-weight: 600; font-size: 0.76rem; }

/* FAQ: grouped list in a card */
.faq { border: 1px solid var(--card-line); border-radius: 24px; background: var(--white); padding: 4px 24px; box-shadow: var(--card-shadow); }
.section-alt .faq { background: var(--canvas); box-shadow: none; border-color: transparent; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { font-weight: 600; font-size: 1rem; padding: 20px 0; }
.faq-ico { width: 30px; height: 30px; border-radius: 10px; background: var(--canvas); border-color: transparent; }
.faq-item[open] .faq-ico { border-radius: 10px; background: var(--navy-900); }

/* Fee card → Wise-style fee table */
.fee-card { background: var(--white); border: 1px solid var(--card-line); border-radius: 26px; padding: 0; overflow: hidden; }
.fee-card .eyebrow { margin: 24px 24px 12px; }
.fee-card .h3 { padding: 0 24px 18px; font-weight: 600; }
.fee-row { margin: 0; padding: 18px 24px; border-top: 1px solid var(--line); gap: 16px; align-items: center; }
.fee-num { border-radius: 10px; background: var(--brand-soft); color: var(--azure-600); }
.fee-foot { margin: 0; padding: 16px 24px; background: var(--pastel-50); border-top: 1px solid var(--line); }

/* Forms */
.form-card { border-radius: 26px; border-color: var(--card-line); box-shadow: 0 30px 70px rgba(6, 21, 41, 0.1); }
.form-title { font-weight: 600 !important; }
.field input, .field select, .field textarea { border-radius: 12px; }
.check-list .ico { color: var(--azure-500); }

/* Fact strip → app chips */
.fact-strip { background: var(--white); border-radius: 20px; border-color: var(--line); box-shadow: var(--card-shadow); }

/* Compare table */
.compare { border-radius: 24px; overflow: hidden; background: var(--white); }

/* Pricing */
.price-card.is-featured { background: var(--navy-900); }
.price-amount { font-weight: 600 !important; letter-spacing: -0.03em; }

/* Upcoming, filters */
.filter-btn { border-radius: 10px; border-color: var(--line); background: var(--white); }
.filter-bar { padding: 4px; border-radius: 14px; background: var(--canvas); width: fit-content; gap: 4px; }
.section-alt .filter-bar { background: var(--canvas); }
.filter-bar .filter-btn { border: 0; background: transparent; }
.filter-bar .filter-btn.is-active { background: var(--white); color: var(--navy-900); box-shadow: 0 1px 3px rgba(6, 21, 41, 0.14); }

/* CTA card (kept for pages that still use it) */
.cta-card { border-radius: 30px; }
.cta-card .h2 { color: #fff; }

/* Footer: inset navy card */
.site-footer { margin: 0 var(--sheet-inset) var(--sheet-inset); border-radius: var(--sheet-radius); background: var(--navy-900); }
.footer-social a { border-radius: 12px; }

/* Sticky CTA → single small WhatsApp bubble (bottom-right), all screen sizes.
   The full-width mobile bar sat over the scheduler and caused mis-taps. */
.sticky-cta { display: flex; position: fixed; left: auto; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 45; gap: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; transform: translateY(160%); transition: transform var(--dur) var(--ease-out); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn-primary { display: none; }
.sticky-cta .btn-ghost { flex: none; width: 56px; height: 56px; min-height: 0; padding: 0; border-radius: 50%; background: var(--surface-raised); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sticky-cta .btn-ghost .ico { width: 28px; height: 28px; }
.sticky-cta .btn-ghost span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .sticky-cta { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .sticky-cta .btn-ghost { width: 52px; height: 52px; }
  .sticky-cta .btn-ghost .ico { width: 26px; height: 26px; }
  .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* ================================================================ HOME */
/* Segmented control (Contra toggle / Garden tabs) */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(6, 21, 41, 0.05); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button, .seg a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 0; background: none; cursor: pointer; font: 600 0.84rem/1 var(--font-sans-head); color: var(--muted); transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); white-space: nowrap; }
.seg button:not(.is-active, [aria-selected="true"], [aria-pressed="true"]):hover { color: var(--navy-900); }
.seg .is-active, .seg [aria-selected="true"], .seg [aria-pressed="true"] { background: var(--navy-900); color: #fff; box-shadow: 0 2px 8px rgba(6, 21, 41, 0.2); }
.seg .flag { font-size: 0.7rem; letter-spacing: 0.06em; padding: 3px 6px; border-radius: 6px; background: rgba(6, 21, 41, 0.06); }
.seg .is-active .flag, .seg [aria-pressed="true"] .flag { background: rgba(255, 255, 255, 0.16); }
.seg-soft { background: var(--canvas); border-color: transparent; box-shadow: none; }
.seg-soft .is-active, .seg-soft [aria-selected="true"] { background: var(--white); color: var(--navy-900); box-shadow: 0 1px 3px rgba(6, 21, 41, 0.14); }

.hero-c { padding: clamp(40px, 6vw, 88px) 0 0; position: relative; }
.hero-c::before { content: ""; position: absolute; inset: -120px 0 auto; height: 720px; z-index: -1; background: radial-gradient(60% 55% at 50% 0%, rgba(154, 207, 233, 0.45), transparent 70%), linear-gradient(rgba(6, 21, 41, 0.035) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, rgba(6, 21, 41, 0.035) 1px, transparent 1px) 0 0 / 64px 100%; mask-image: radial-gradient(70% 70% at 50% 20%, #000 40%, transparent 85%); -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000 40%, transparent 85%); }
.hero-c-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-c-kicker { margin: 22px 0 14px; display: inline-flex; align-items: center; gap: 10px; font: 600 0.85rem/1.3 var(--font-sans-head); color: var(--ink-2); }
.hero-c-kicker .pulse { flex: none; }
.hero-c .display { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; max-width: 16ch; text-wrap: balance; }
.hero-c .lead { margin: 20px auto 0; text-align: center; max-width: 44ch; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); line-height: 1.55; text-wrap: balance; hyphens: none; }

/* Intent composer (Clay / Contra / Unify) */
.intent { width: min(760px, 100%); margin-top: clamp(28px, 3vw, 40px); }
.intent-box { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line-strong); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 50px rgba(6, 21, 41, 0.1); transition: border-color var(--dur), box-shadow var(--dur); }
.intent-box:focus-within { border-color: var(--azure-500); box-shadow: 0 0 0 4px rgba(26, 106, 179, 0.14), 0 18px 50px rgba(6, 21, 41, 0.1); }
.intent-box > .ico { color: var(--muted); }
.intent-box label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.intent-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 14px 0; font: 500 1.02rem/1.4 var(--font-sans-body); color: var(--navy-900); }
.intent-box input::placeholder { color: #8a97aa; }
.intent-box .btn { flex: none; }
.intent-clear { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--canvas); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.intent-clear:hover { color: var(--navy-900); background: var(--gray-200); }
.intent-clear .ico { width: 16px; height: 16px; }
.intent-suggest { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.intent.has-text .intent-suggest { display: none; }
.intent-suggest-label { flex: none; font: 600 0.74rem/1 var(--font-sans-head); color: var(--muted); }
.intent-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-width: 0; }
.intent-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); font: 600 0.78rem/1 var(--font-sans-head); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast); }
.intent-chip:hover { border-color: var(--navy-900); color: var(--navy-900); background: var(--white); }
.intent-chip .ico { width: 14px; height: 14px; color: var(--azure-500); }
.intent-result { margin: 10px auto 0; width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 16px 16px 18px; border-radius: 18px; background: var(--white); border: 1px solid rgba(26, 106, 179, 0.28); box-shadow: 0 14px 40px rgba(26, 106, 179, 0.12); animation: pop var(--dur) var(--ease-out); }
.intent-result .mega-ico { background: var(--brand-soft); color: var(--azure-500); }
.intent-result small { display: block; font: 700 0.68rem/1 var(--font-sans-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--azure-500); margin-bottom: 6px; }
.intent-result b { display: block; font: 600 1.05rem/1.25 var(--font-sans-head); }
.intent-result p { font-size: 0.86rem; color: var(--ink-2); margin-top: 2px; }
.intent-result-actions { display: flex; gap: 8px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.99); } }

/* Product stage: photo + floating UI cards */
.hero-c-stage { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.stage-photo { position: relative; border-radius: var(--sheet-radius); overflow: hidden; height: clamp(320px, 38vw, 540px); box-shadow: 0 40px 90px rgba(6, 21, 41, 0.18); }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 21, 41, 0) 40%, rgba(6, 21, 41, 0.55)); }
.stage-caption { position: absolute; left: 24px; bottom: 22px; z-index: 1; color: #fff; display: grid; gap: 4px; max-width: 360px; }
.stage-caption small { font: 600 0.72rem/1 var(--font-sans-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pastel-200); }
.stage-caption b { font: 600 1.05rem/1.3 var(--font-sans-head); }
.ui-card { position: absolute; z-index: 2; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 20px; box-shadow: 0 24px 60px rgba(6, 21, 41, 0.2); padding: 16px; color: var(--navy-900); text-align: left; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ui-head b { font: 600 0.9rem/1.2 var(--font-sans-head); }
.ui-head small { font-size: 0.72rem; color: var(--muted); }
.ui-batch { right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); width: 320px; }
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 6px 0 4px; }
.tracker::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10px; height: 2px; background: var(--gray-200); }
.tracker::after { content: ""; position: absolute; left: 10%; width: 40%; top: 10px; height: 2px; background: var(--navy-900); }
.tracker li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font: 600 0.62rem/1.2 var(--font-sans-head); color: var(--muted); text-align: center; }
.tracker i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--gray-300); }
.tracker .done i { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tracker .done i .ico { width: 12px; height: 12px; }
.tracker .now i { border-color: var(--azure-500); box-shadow: 0 0 0 4px rgba(26, 106, 179, 0.16); }
.tracker .now i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azure-500); }
.tracker .done, .tracker .now { color: var(--navy-900); }
.ui-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; font-size: 0.76rem; color: var(--ink-2); }
.ui-note .ico { width: 16px; height: 16px; color: var(--azure-500); }
.date-pill { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); }
.date-pill + .date-pill { margin-top: 8px; }
.date-box { width: 46px; height: 50px; border-radius: 12px; background: var(--canvas); display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; }
.date-box small { font: 700 0.58rem/1 var(--font-sans-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-500); }
.date-box b { font: 600 1.15rem/1 var(--font-sans-head); }
.date-pill strong { display: block; font: 600 0.84rem/1.25 var(--font-sans-head); }
.date-pill strong + span { display: block; font-size: 0.72rem; color: var(--muted); }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 0.66rem/1 var(--font-sans-head); color: #fff; background: var(--navy-800); border: 2px solid #fff; margin-left: -8px; }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--azure-500); }
.avatars span:nth-child(3) { background: var(--pastel-300); color: var(--navy-900); }
.avatars span:nth-child(4) { background: var(--red-500); }
.team-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-row b { display: block; font: 600 0.86rem/1.25 var(--font-sans-head); }
.team-row small { display: flex; gap: 6px; align-items: center; font-size: 0.72rem; color: var(--muted); }

/* Logo strip in C */
.page-home .marquee-block { padding-block: clamp(32px, 4vw, 56px) clamp(8px, 2vw, 24px); }

/* Services: Mercury-style cards with mini UI previews */
.svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.svc-head .section-head { margin: 0; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.app-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: var(--white); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); }
.app-card:hover { transform: translateY(-3px); border-color: rgba(26, 106, 179, 0.28); box-shadow: 0 24px 60px rgba(6, 21, 41, 0.1); }
.app-preview { margin: 10px 10px 0; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, var(--pastel-50), #eaf2fa); min-height: 220px; display: grid; align-content: center; position: relative; overflow: hidden; }
.app-preview::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 21, 41, 0.04) 1px, transparent 1px) 0 0 / 100% 28px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.app-preview > * { position: relative; }
.app-body { padding: 22px 24px 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; flex: 1; }
.app-body small { grid-column: 1 / -1; font: 600 0.76rem/1.3 var(--font-sans-head); color: var(--azure-500); }
.app-body h3 { font: 600 1.35rem/1.2 var(--font-sans-head); letter-spacing: -0.02em; }
.app-body p { grid-column: 1; color: var(--ink-2); font-size: 0.92rem; }
.app-go { grid-column: 2; grid-row: 2 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--navy-900); transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease-out); }
.app-card:hover .app-go { background: var(--navy-900); color: #fff; transform: rotate(-45deg); }
.app-go .ico { width: 18px; height: 18px; }
.mini { background: var(--white); border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(6, 21, 41, 0.08); padding: 10px; font-size: 0.78rem; }
.mini + .mini { margin-top: 8px; }
.mini-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; }
.mini-row + .mini-row { border-top: 1px solid var(--line); border-radius: 0; }
.mini-row b { display: block; font: 600 0.8rem/1.25 var(--font-sans-head); }
.mini-row b + span { display: block; font-size: 0.7rem; color: var(--muted); }
.mini-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--canvas); color: var(--navy-800); font: 700 0.7rem/1 var(--font-sans-head); }
.mini-ico .ico { width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--r-pill); font: 700 0.64rem/1 var(--font-sans-head); background: var(--canvas); color: var(--ink-2); white-space: nowrap; }
.badge .ico { width: 11px; height: 11px; }
.badge-green { background: #e5f6ec; color: #13814a; }
.badge-blue { background: var(--brand-soft); color: var(--azure-600); }
.badge-amber { background: #fff3dc; color: #9a5b00; }
.badge-red { background: var(--red-100); color: var(--red-600); }
.mini-itin { display: grid; gap: 0; }
.mini-itin li { display: grid; grid-template-columns: 54px 14px 1fr; gap: 10px; align-items: start; padding: 6px 4px; position: relative; }
.mini-itin li::before { content: ""; position: absolute; left: 74px; top: 20px; bottom: -6px; width: 2px; background: var(--gray-200); }
.mini-itin li:last-child::before { display: none; }
.mini-itin small { font: 700 0.64rem/1.6 var(--font-sans-head); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.mini-itin i { width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--azure-500); background: var(--white); position: relative; z-index: 1; }
.mini-itin li:first-child i { background: var(--red-500); border-color: var(--red-500); }
.mini-itin b { font: 600 0.8rem/1.3 var(--font-sans-head); }
.mini-itin b span { display: block; font: 400 0.7rem/1.4 var(--font-sans-body); color: var(--muted); }
.mini-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.mini-slots span { padding: 8px 4px; border-radius: 10px; border: 1px solid rgba(26, 106, 179, 0.3); color: var(--azure-600); text-align: center; font: 600 0.72rem/1 var(--font-sans-head); }
.mini-slots span.is-on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.mini-slots span.is-off { border-color: var(--line); color: var(--gray-300); text-decoration: line-through; }
.support-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.support-row .support-card { padding: 22px; }
.support-row .support-card .h4 { font-weight: 600; }

/* Stats row (Sana / monday) */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--card-line); border-radius: 26px; box-shadow: var(--card-shadow); }
.stat-band .stat { background: none; padding: clamp(22px, 3vw, 34px); border-left: 1px solid var(--line); }
.stat-band .stat:first-child { border-left: 0; }
.stat-band .stat small { font: 600 0.72rem/1 var(--font-sans-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat-band .stat-num { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.9rem); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.why-grid .section-head { margin: 0; }
.pillars-c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.pillars-c .pillar { padding: 24px; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
.pillars-c .pillar-ico { grid-row: span 2; margin: 0; }
.pillars-c .pillar .h4 { font-weight: 600; }

/* Framed stepper (Zaro) */
.stepper { border-radius: 28px; background: var(--white); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); padding: 10px; }
.stepper-track { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(20px, 3vw, 36px); border-radius: 20px; background: var(--canvas); }
.stepper-item { position: relative; padding: 38px 24px 0 0; }
.stepper-item::before { content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--gray-200); }
.stepper-item::after { content: ""; position: absolute; top: 9px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-900); box-shadow: 0 0 0 4px var(--canvas); }
.stepper-item:last-child::after { background: var(--azure-500); }
.stepper-item small { display: block; font: 600 0.68rem/1 var(--font-sans-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.stepper-item b { display: block; font: 600 1.2rem/1.2 var(--font-sans-head); letter-spacing: -0.01em; }
.stepper-item p { color: var(--ink-2); font-size: 0.92rem; margin-top: 8px; max-width: 34ch; }
.stepper-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px clamp(14px, 2.4vw, 26px) 12px; }
.stepper-foot p { font-size: 0.9rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.stepper-foot p .ico { color: var(--azure-500); }
.stepper-foot div { display: flex; gap: 8px; flex-wrap: wrap; }

/* Programs: featured card + date list (Airbnb / Care.com) */
.prog-c { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 16px; align-items: stretch; }
.prog-feature { position: relative; display: flex; align-items: flex-end; min-height: 460px; border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate; }
.prog-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-slow) var(--ease-out); }
.prog-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 21, 41, 0.15) 0%, rgba(6, 21, 41, 0.35) 35%, rgba(6, 21, 41, 0.95) 78%); }
.prog-feature:hover img { transform: scale(1.04); }
.prog-feature-body { padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; }
.prog-feature-body h3 { font: 600 clamp(1.4rem, 1rem + 1.4vw, 2rem)/1.15 var(--font-sans-head); letter-spacing: -0.02em; }
.prog-feature-body p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; max-width: 52ch; }
.prog-feature-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.prog-feature-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); font: 600 0.76rem/1 var(--font-sans-head); }
.prog-feature-meta .ico { width: 14px; height: 14px; }
.prog-feature .btn { width: fit-content; margin-top: 6px; }
.date-list { border-radius: 26px; background: var(--white); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); padding: 10px; display: grid; align-content: start; }
.date-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 14px; }
.date-list-head b { font: 600 1.05rem/1.2 var(--font-sans-head); }
.date-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--line); transition: border-color var(--dur-fast), background var(--dur-fast); }
.date-row + .date-row { margin-top: 8px; }
.date-row:hover { border-color: var(--navy-900); }
.date-row strong { display: block; font: 600 0.92rem/1.3 var(--font-sans-head); }
.date-row strong + span { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.date-row .btn { --btn-h: 38px; padding: 0 14px; font-size: 0.8rem; }
.date-row.is-done { background: var(--surface-soft); border-color: transparent; }
.date-row.is-done .date-box { background: var(--white); }
.date-row.is-done .date-box small { color: var(--muted); }
.date-list-foot { padding: 12px; text-align: center; }

/* Fee table (Wise) */
.fee-table { border-radius: 26px; background: var(--white); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); overflow: hidden; }
.fee-table-row { display: grid; grid-template-columns: 1fr 260px; }
.fee-table-row > div { padding: 20px 24px; border-top: 1px solid var(--line); }
.fee-table-row > div:last-child { background: var(--pastel-100); border-top-color: rgba(26, 106, 179, 0.12); display: flex; align-items: center; font: 600 0.95rem/1.35 var(--font-sans-head); color: var(--navy-900); }
.fee-table-row:first-child > div { border-top: 0; }
.fee-table-row.is-head > div { padding-block: 16px; font: 700 0.7rem/1 var(--font-sans-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--surface-soft); }
.fee-table-row.is-head > div:last-child { background: var(--pastel-200); color: var(--navy-800); }
.fee-table-row b { display: flex; gap: 10px; align-items: center; font: 600 1rem/1.3 var(--font-sans-head); }
.fee-table-row b .ico { color: var(--azure-500); width: 18px; height: 18px; }
.fee-table-row p { font-size: 0.88rem; color: var(--ink-2); margin: 4px 0 0 28px; }
.fee-table-row.is-key > div:last-child { background: var(--navy-900); color: #fff; }
.fee-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.fee-split .section-head { margin-bottom: 20px; }

/* Testimonial / proof carousel (Sana) */
.carousel { position: relative; }
/* Track record carousel: photo on top, text on a solid panel below (quotes never sit on busy photos) */
.car-track { --car-gap: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 27vw, 360px); gap: var(--car-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; scroll-padding-left: 2px;
  --fade-l: 0px; --fade-r: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent); }
.car-track.is-scrolled { --fade-l: 40px; }
.car-track.is-end { --fade-r: 0px; }
.car-track::-webkit-scrollbar { display: none; }
.car-card { position: relative; scroll-snap-align: start; min-height: 470px; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; color: #fff; isolation: isolate; background: var(--navy-900); text-decoration: none; box-shadow: 0 1px 2px rgba(6, 21, 41, 0.06); transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.car-card > img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; flex: 1 0 auto; transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.car-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 96px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 21, 41, 0.42), rgba(6, 21, 41, 0)); }
.car-card:not(:has(> img))::before { display: none; }
.car-card .chip { position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(6, 21, 41, 0.45); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.car-card > div { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 4px 24px 24px; }
.car-card:not(:has(> img)) > div { padding-top: 76px; }
/* Photo cards: the photo takes up the extra row height, the text panel only as tall as its text (no empty gap under short captions) */
.car-card:has(> img) > div { flex: none; }
.car-card blockquote { margin: 0; font: 500 1rem/1.55 var(--font-sans-head); letter-spacing: -0.005em; text-wrap: pretty; }
.car-card figcaption { display: grid; gap: 3px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.8rem; line-height: 1.4; color: rgba(255, 255, 255, 0.66); }
.car-card figcaption b { color: #fff; font: 600 0.92rem/1.3 var(--font-sans-head); }
.car-card figcaption a { color: inherit; text-decoration: none; }
a.car-card:hover, .car-card:has(figcaption a:hover) { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(6, 21, 41, 0.45); }
a.car-card:hover > img, .car-card:has(figcaption a:hover) > img { transform: scale(1.04); }
a.car-card:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 3px; }
.car-card.is-light { background: var(--white); color: var(--navy-900); border: 1px solid var(--card-line); }
.car-card.is-light blockquote { font-size: 1.12rem; line-height: 1.5; }
.car-card.is-light figcaption { color: var(--muted); border-top-color: var(--line); }
.car-card.is-light figcaption b { color: var(--navy-900); }
.car-card.is-stat { color: var(--navy-900); background: repeating-radial-gradient(circle at 100% 0, transparent 0 63px, rgba(6, 21, 41, 0.06) 64px 65px, transparent 66px 96px), var(--pastel-100); }
.car-card.is-stat > div { justify-content: flex-end; gap: 12px; }
.car-card.is-stat b.big { font: 600 clamp(3.4rem, 2.4rem + 3vw, 4.8rem)/0.95 var(--font-sans-head); letter-spacing: -0.05em; }
.car-card.is-stat p { margin: 0; padding-top: 14px; border-top: 1px solid rgba(6, 21, 41, 0.1); color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.car-card.is-light .chip, .car-card.is-stat .chip { background: var(--white); color: var(--navy-900); border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .car-card, .car-card > img { transition: none; } a.car-card:hover > img { transform: none; } }
.car-nav { display: flex; gap: 8px; }
.car-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy-900); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), opacity var(--dur-fast); }
.car-nav button:hover { background: var(--navy-900); color: #fff; }
.car-nav button[disabled] { opacity: 0.35; pointer-events: none; }
.car-nav button:first-child .ico { transform: rotate(180deg); }

/* ================================================================ BOOKING WIDGET (Calendly) */
.book { display: grid; grid-template-columns: 0.95fr 1.2fr 0.85fr; border-radius: 30px; background: var(--white); border: 1px solid var(--card-line); box-shadow: 0 30px 80px rgba(6, 21, 41, 0.1); overflow: hidden; }
.book > * { padding: clamp(22px, 3vw, 34px); }
.book-info { border-right: 1px solid var(--line); display: grid; align-content: start; gap: 14px; }
.book-info .brand-ico { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); }
.book-info .brand-ico img { width: 34px; height: 34px; object-fit: contain; }
.book-info .h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.book-info p { color: var(--ink-2); font-size: 0.94rem; }
.book-facts { display: grid; gap: 10px; margin-top: 4px; }
.book-facts li { display: flex; gap: 10px; align-items: center; font: 600 0.86rem/1.3 var(--font-sans-head); color: var(--ink-2); }
.book-facts .ico { color: var(--navy-800); width: 18px; height: 18px; }
.book-cal { border-right: 1px solid var(--line); }
.book-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 600 1rem/1.2 var(--font-sans-head); margin-bottom: 16px; }
.book-label small { font: 600 0.75rem/1 var(--font-sans-head); color: var(--muted); }
.book-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.book-day { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; border: 1px solid rgba(26, 106, 179, 0.22); background: var(--brand-soft); color: var(--azure-600); cursor: pointer; font-family: var(--font-sans-head); transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.book-day small { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.book-day b { font-size: 1.15rem; font-weight: 600; }
.book-day span { font-size: 0.66rem; font-weight: 600; opacity: 0.8; }
.book-day:hover { border-color: var(--azure-500); }
.book-day[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.book-tz { margin-top: 16px; display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--muted); }
.book-tz .ico { width: 16px; height: 16px; }
.book-slots { display: grid; align-content: start; gap: 8px; background: var(--surface-soft); }
.book-slot { padding: 12px; border-radius: 12px; border: 1px solid rgba(26, 106, 179, 0.3); background: var(--white); color: var(--azure-600); font: 600 0.88rem/1 var(--font-sans-head); cursor: pointer; display: flex; justify-content: center; gap: 8px; align-items: center; transition: background var(--dur-fast), color var(--dur-fast); }
.book-slot:hover { border-color: var(--azure-500); }
.book-slot[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.book-go { margin-top: 8px; }
.book-go[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.book-hint { font-size: 0.76rem; color: var(--muted); text-align: center; }
.book-section .section-head { margin-bottom: 28px; }

/* ================================================================ INNER PAGES */
.page-hero-c { padding: 24px 0 8px; }
.page-hero-c .page-hero-grid { isolation: isolate; background: var(--white); border: 1px solid var(--card-line); border-radius: var(--sheet-radius); padding: clamp(24px, 4.5vw, 64px); box-shadow: var(--card-shadow); overflow: hidden; position: relative; }
.page-hero-c .page-hero-grid::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 60%; height: 100%; z-index: -1; background: radial-gradient(60% 70% at 0% 0%, rgba(154, 207, 233, 0.35), transparent 70%); }
.page-hero-c .page-hero-copy { position: relative; }
.page-hero-c.has-media .page-hero-grid { grid-template-columns: 1.05fr 0.95fr; padding-right: clamp(24px, 3vw, 40px); }
.page-hero-c .page-hero-media { border-radius: 22px; box-shadow: none; aspect-ratio: 4 / 3.3; }
.page-hero-c .h1 { max-width: 16ch; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
/* Rule: every page's hero H1 accent is azure (home, detail, inner pages); section H2 accents stay two-tone gray. */
.page-hero-c .h1 em { color: var(--azure-500); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px; margin-bottom: 18px; border-radius: 10px; background: var(--canvas); font: 600 0.78rem/1.2 var(--font-sans-head); color: var(--muted); }
.crumbs a:hover { color: var(--navy-900); }
.crumbs span[aria-current] { color: var(--navy-900); }
.page-hero-c .eyebrow { display: none; }
.page-article main, .page-404 main { padding-top: 12px; }

/* ================================================================ DETAIL PAGES (landing) */
.detail-hero { padding: 24px 0 0; }
.detail-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.detail-top .crumbs { margin: 0; background: var(--white); border: 1px solid var(--line); }
.detail-tools { display: flex; gap: 8px; }
.detail-tools .btn { --btn-h: 38px; padding: 0 14px; font-size: 0.82rem; }
.detail-title { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; margin-bottom: 22px; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.detail-title .h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); max-width: 22ch; }
.detail-title .h1 em { display: inline; color: var(--azure-500); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.detail-meta li { display: inline-flex; gap: 7px; align-items: center; font: 600 0.86rem/1.3 var(--font-sans-head); color: var(--ink-2); }
.detail-meta .ico { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--pastel-100); color: var(--azure-500); }
/* Tablet / phone: the four meta facts become an even 2×2 grid of small cards instead of a ragged wrap. */
@media (max-width: 860px) {
  .detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .detail-meta li { gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--card-line); font-size: 0.8rem; line-height: 1.25; }
}
/* Phone: breadcrumb and the share / WhatsApp icon buttons share one row; the current page name truncates. */
@media (max-width: 560px) {
  .detail-top { flex-wrap: nowrap; gap: 8px; margin-bottom: 16px; }
  .detail-top .crumbs { flex: 0 1 auto; min-width: 0; min-height: 38px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .detail-top .crumbs > * { flex: none; }
  .detail-top .crumbs span[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .detail-tools { flex: none; gap: 6px; }
  .detail-tools .btn { width: 38px; padding: 0; justify-content: center; border-radius: 12px; }
  .detail-chips { margin-bottom: 12px; }
  .detail-chips .chip { padding: 6px 11px; font-size: 0.72rem; }
  .detail-title { margin-bottom: 18px; }
}
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 15vw, 220px)); gap: 8px; border-radius: var(--sheet-radius); overflow: hidden; }
.detail-gallery figure { position: relative; overflow: hidden; background: var(--gray-200); }
.detail-gallery figure:first-child { grid-row: span 2; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.detail-gallery figure:hover img { transform: scale(1.04); }
/* Event images as the admin uploads them: main image first, then the gallery, any number.
   Desktop keeps the mosaic (large + small cells, cropped from the top); every image opens in the modal. */
.detail-gallery.is-posters figure a { display: block; height: 100%; cursor: zoom-in; }
.detail-gallery.is-posters img { object-position: top; }
.detail-gallery.is-posters figure:nth-child(n+6) { display: none; }
.detail-gallery.is-posters figure:only-child { grid-column: 1 / -1; }
.detail-gallery.is-posters figure:nth-child(2):last-child { grid-column: span 2; grid-row: span 2; }
.detail-gallery.is-posters figure:nth-child(3):last-child, .detail-gallery.is-posters figure:nth-child(2):nth-last-child(2) { grid-column: span 2; }
.detail-gallery.is-posters figure:nth-child(4):last-child { grid-column: span 2; }
.page-detail .detail-main .poster-row { display: none; }
@media (max-width: 860px) {
  .detail-gallery.is-posters { display: flex; gap: 10px; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .detail-gallery.is-posters figure, .detail-gallery.is-posters figure:first-child, .detail-gallery.is-posters figure:nth-child(n+4) { display: block; flex: 0 0 82%; aspect-ratio: 4 / 5; border-radius: 18px; scroll-snap-align: start; }
  .detail-gallery.is-posters figure:only-child { flex-basis: 100%; }
}
.dg-more { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.94); color: var(--navy-900); font: 600 0.78rem/1 var(--font-sans-head); box-shadow: var(--shadow-sm); }
.dg-more .ico { width: 15px; height: 15px; }
.tabbar { position: sticky; top: 86px; z-index: 20; margin-top: 24px; }
.tabbar .container { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(6, 21, 41, 0.06); }
.tabbar .container::-webkit-scrollbar { display: none; }
.tabbar a { flex: none; padding: 10px 14px; border-radius: 11px; font: 600 0.84rem/1 var(--font-sans-head); color: var(--muted); transition: background var(--dur-fast), color var(--dur-fast); }
.tabbar a:hover { color: var(--navy-900); }
.tabbar a.is-active { background: var(--navy-900); color: #fff; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3.5vw, 48px); align-items: start; padding-top: 28px; }
.detail-main > .section { padding-block: 36px; margin: 0; border-radius: 0; background: none; border-top: 1px solid var(--line-strong); --card-bg: var(--white); --card-line: rgba(6, 21, 41, 0.07); --card-shadow: 0 1px 2px rgba(6, 21, 41, 0.04), 0 10px 30px rgba(6, 21, 41, 0.05); --surface: var(--white); }
.detail-main > .section:first-child { border-top: 0; padding-top: 8px; }
.detail-main > .section > .container { width: auto; }
.detail-main .section-head { margin-bottom: 24px; }
.detail-main .h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.detail-main .split, .detail-main .split-wide, .detail-main .pain-wrap { grid-template-columns: 1fr; gap: 20px; }
.detail-main .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
.detail-main .visit-grid { grid-template-columns: repeat(3, 1fr); }
.detail-main .itinerary { grid-template-columns: 220px 1fr; }
.detail-main .itin-photo { display: none; }
.detail-main .steps-3, .detail-main .steps-4 { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
.detail-main .steps-4 .step::after, .detail-main .steps-3 .step::after { right: 12px; }
.detail-main .section-alt, .detail-main .section.section-alt { background: none; }
.detail-main .pain-list { grid-template-columns: 1fr 1fr; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin-top: 22px; }
.highlights li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.highlights .hl-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--navy-800); }
.highlights b { display: block; font: 600 0.95rem/1.3 var(--font-sans-head); }
.highlights b + span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; }
.overview-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 64ch; }

/* Sticky booking card (Airbnb / Klook / GetYourGuide) */
.booking { position: sticky; top: 154px; display: grid; gap: 12px; }
/* Keep the sticky card (and "Prefer to talk first?") off the next section */
.detail-layout > .booking { margin-bottom: clamp(40px, 5vw, 64px); }
.booking-card { border-radius: 26px; background: var(--white); border: 1px solid var(--card-line); box-shadow: 0 24px 60px rgba(6, 21, 41, 0.1); padding: 22px; display: grid; gap: 20px; }
.bk-price small { display: block; font: 600 0.76rem/1 var(--font-sans-head); color: var(--muted); margin-bottom: 6px; }
.bk-price b { font: 600 1.7rem/1.1 var(--font-sans-head); letter-spacing: -0.03em; }
.bk-price span { font-size: 0.86rem; color: var(--muted); }
.bk-title { font: 600 1.15rem/1.25 var(--font-sans-head); }
.bk-sub { font-size: 0.85rem; line-height: 1.45; color: var(--ink-2); margin-top: 4px; }
.bk-group { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-label { display: flex; align-items: center; gap: 8px; font: 700 0.7rem/1 var(--font-sans-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
/* A legend sits outside the fieldset's grid, so the row gap never reaches it */
legend.bk-label { margin-bottom: 10px; }
.bk-num { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font: 700 0.68rem/1 var(--font-sans-head); letter-spacing: 0; }
.bk-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast); }
.bk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bk-opt:hover { border-color: var(--navy-900); }
.bk-opt:has(input:checked) { border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); background: var(--surface-soft); }
.bk-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.bk-opt strong { display: block; font: 600 0.88rem/1.3 var(--font-sans-head); }
.bk-opt strong + span { display: block; margin-top: 2px; font-size: 0.76rem; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.bk-opt:has(input:checked) .badge { background: var(--navy-900); color: #fff; }
.bk-opt .radio { width: 20px; height: 20px; background: var(--white); border-radius: 50%; border: 2px solid var(--gray-300); display: grid; place-items: center; }
.bk-opt:has(input:checked) .radio { border-color: var(--navy-900); }
.bk-opt:has(input:checked) .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip { position: relative; flex: 1 1 auto; }
.bk-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bk-chip span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--white); white-space: nowrap; border: 1px solid var(--line-strong); font: 600 0.78rem/1 var(--font-sans-head); color: var(--ink-2); cursor: pointer; transition: all var(--dur-fast); }
.bk-chip span:hover { border-color: var(--navy-900); }
.bk-chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.bk-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-strong); }
.qty b { font: 600 0.88rem/1.3 var(--font-sans-head); }
.qty b + span { display: block; font-size: 0.74rem; color: var(--muted); }
.qty-ctrl { display: flex; align-items: center; gap: 10px; }
.qty-ctrl button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.qty-ctrl button:hover { border-color: var(--navy-900); }
.qty-ctrl button[disabled] { opacity: 0.35; pointer-events: none; }
.qty-ctrl output { min-width: 22px; text-align: center; font: 600 0.95rem/1 var(--font-sans-head); }
.qty-ctrl .ico { width: 16px; height: 16px; }
.bk-select { width: 100%; padding: 12px 40px 12px 12px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font: 600 0.88rem/1.3 var(--font-sans-head); color: var(--navy-900); }
.bk-input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--white); font: 500 0.9rem/1.3 var(--font-sans-body); color: var(--navy-900); }
.bk-select:focus, .bk-input:focus { outline: none; border-color: var(--azure-500); box-shadow: 0 0 0 4px rgba(26, 106, 179, 0.14); }
.bk-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.bk-total span { font-size: 0.85rem; color: var(--ink-2); }
.bk-total b { font: 600 1.1rem/1.2 var(--font-sans-head); }
.bk-input::placeholder { color: var(--muted); opacity: 1; }
.bk-hint { font-size: 0.76rem; line-height: 1.4; color: var(--muted); }
.bk-actions { display: grid; gap: 8px; }
.bk-actions .bk-hint { text-align: center; }
.bk-checks { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.bk-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-2); line-height: 1.45; }
.bk-checks .ico { width: 18px; height: 18px; color: #13814a; flex: none; margin-top: 1px; }
.bk-checks li.is-no .ico { color: var(--muted); }
.bk-steps { display: flex; gap: 6px; }
.bk-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--gray-200); }
.bk-steps span.is-on { background: var(--navy-900); }
.bk-help { border-radius: 20px; background: var(--white); border: 1px solid var(--card-line); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bk-help b { display: block; font: 600 0.9rem/1.3 var(--font-sans-head); }
.bk-help small { display: block; font-size: 0.78rem; color: var(--muted); }
.bk-help .btn { --btn-h: 38px; padding: 0 14px; font-size: 0.8rem; }
/* Sticky sidebar (pointer devices): keep the card compact so it fits the viewport */
@media (min-width: 961px) {
  .booking-card { gap: 16px; }
  .bk-chips { gap: 6px; }
  .bk-chip span { min-height: 34px; padding: 0 12px; }
  .bk-opt { min-height: 0; }
  .bk-checks { padding-top: 14px; }
}


/* Reveal: subtler motion */
.reveal-pending { transform: translateY(14px); }

/* ================================================================ Responsive */
@media (max-width: 1100px) {
  .book { grid-template-columns: 1fr 1fr; }
  .book-info { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .support-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .booking { position: static; order: -1; }
  .detail-title { grid-template-columns: 1fr; }
  .prog-c, .fee-split, .why-grid { grid-template-columns: 1fr; }
  .prog-feature { min-height: 380px; }
}
@media (max-width: 860px) {
  .site-header { padding-top: 8px; }
  .site-header .nav-wrap { width: calc(100% - 16px); }
  .subnav, .tabbar { top: 78px; }
  .app-grid, .pillars-c { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band .stat:nth-child(3) { border-left: 0; }
  .stat-band .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stepper-track { grid-template-columns: 1fr; gap: 0; }
  .stepper-item { padding: 0 0 26px 30px; }
  .stepper-item::before { top: 14px; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .stepper-item:last-child { padding-bottom: 0; }
  .stepper-item:last-child::before { display: none; }
  .stepper-item::after { top: 2px; }
  .page-hero-c.has-media .page-hero-grid { grid-template-columns: 1fr; }
  .hero-c-stage { display: grid; gap: 12px; }
  .stage-photo { height: 300px; }
  .ui-card { position: static; width: auto; box-shadow: var(--card-shadow); border-color: var(--line); }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .detail-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .detail-gallery figure:nth-child(n+4) { display: none; }
  .detail-main .card-grid.cols-3, .detail-main .pain-list, .highlights { grid-template-columns: 1fr; }
  .detail-main .itinerary { grid-template-columns: 1fr; }
  .steps-3, .steps-4, .detail-main .steps-3, .detail-main .steps-4 { grid-template-columns: 1fr; }
  .steps-3 .step, .steps-4 .step { padding: 0 0 22px 30px; }
  .steps-3 .step::after, .steps-4 .step::after { top: 14px; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .steps-3 .step::before, .steps-4 .step::before { top: 2px; }
  .steps-3 .step:last-child::after, .steps-4 .step:last-child::after { display: none; }
  .fee-table-row { grid-template-columns: 1fr; }
  .fee-table-row > div:last-child { border-top: 0; padding-top: 12px; padding-bottom: 12px; }
  .fee-table-row.is-head { display: none; }
  .fee-table-row:nth-child(2) > div:first-child { border-top: 0; }
  .book { grid-template-columns: 1fr; }
  .book-cal { border-right: 0; border-bottom: 1px solid var(--line); }
  .intent-result { grid-template-columns: auto 1fr; }
  .intent-result-actions { grid-column: 1 / -1; }
  .intent-result-actions .btn { flex: 1; }
}
@media (max-width: 560px) {
  .hero-c .display { font-size: clamp(2.2rem, 9.6vw, 2.9rem); }
  .intent-box { padding-left: 14px; border-radius: 16px; }
  .intent-box > .ico { display: none; }
  .intent-box input { font-size: 0.95rem; }
  .intent-box .btn span { display: none; }
  .intent-box .btn { width: 46px; padding: 0; }
  .intent-suggest { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); padding-left: var(--gutter); }
  .intent-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-right: var(--gutter); mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .intent-chips::-webkit-scrollbar { display: none; }
  .intent-chip { flex: none; padding: 7px 11px; font-size: 0.76rem; }
  .intent-result { grid-template-columns: auto 1fr; padding: 14px; gap: 12px; }
  .intent-result .mega-ico { width: 36px; height: 36px; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .book-days { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .book-day { padding: 10px 2px; }
  .detail-main .visit-grid { grid-template-columns: 1fr 1fr; }
  .detail-tools .btn span { display: none; }
  .car-track { grid-auto-columns: 82%; }
  .seg button { padding: 9px 11px; }
  .section-alt, .section.theme-navy, .section.theme-dark { border-radius: 24px; }
}

/* ---------------------------------------------------------------- Small helpers used by generated markup */
.mini-cap { font: 700 0.64rem/1 var(--font-sans-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 2px 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.date-pill .ico { width: 16px; height: 16px; color: var(--muted); }
a.date-pill:hover { border-color: var(--navy-900); }
.book-kicker { font: 600 0.78rem/1.2 var(--font-sans-head); color: var(--muted); margin-bottom: 4px; }
.book-info .h3 { font-weight: 600; }
.book-offices { display: grid; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.book-offices li { display: flex; gap: 10px; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.book-offices b { display: block; font: 600 0.84rem/1.3 var(--font-sans-head); color: var(--navy-900); }
.book-offices .ico { width: 16px; height: 16px; color: var(--azure-500); margin-top: 2px; flex: none; }
.book-slot-list { display: grid; gap: 8px; }
.book-note { margin-top: 14px; text-align: center; font-size: 0.8rem; color: var(--muted); }
.date-row .badge .ico { width: 11px; height: 11px; }
.hero-c-stage .btn-wa { --btn-h: 40px; }
.filter-bar { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar .filter-btn { flex: none; }
@media (max-width: 1100px) { .filter-bar { margin-inline: 0; padding: 4px; } }

/* Lead magnet: app-style download row */
.lead-magnet { gap: 16px 24px; padding: 18px 18px 18px 20px; border-radius: 24px; background: var(--white); border-color: var(--card-line); box-shadow: var(--card-shadow); }
.lead-magnet > div > .ico { width: 52px; height: 52px; padding: 14px; border-radius: 14px; background: var(--brand-soft); color: var(--azure-500); flex: none; }
.lead-magnet b { font-weight: 600; letter-spacing: -0.01em; }
.lead-magnet > div span { display: block; margin-top: 2px; color: var(--muted); }
.lead-magnet .btn { --btn-h: 48px; flex: none; }
@media (max-width: 560px) {
  .lead-magnet { padding: 16px; }
  .lead-magnet > div { align-items: flex-start; }
  .lead-magnet > div > .ico { width: 44px; height: 44px; padding: 11px; }
}

/* Service cards: photo-led (no mini-UI text) */
.app-photo { position: relative; margin: 8px 8px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9.5; background: var(--gray-200); }
.app-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.app-card:hover .app-photo img { transform: scale(1.04); }
.app-photo .chip { position: absolute; top: 14px; left: 14px; }
.app-body { padding: 18px 20px 20px 22px; align-items: center; }
.app-body h3 { grid-column: 1; }
.app-body p { margin-top: 2px; }
.app-go { grid-row: 1 / span 2; align-self: center; }
@media (max-width: 560px) {
  .app-photo { aspect-ratio: 16 / 10; }
  .app-body h3 { font-size: 1.2rem; }
}
@media (max-width: 560px) { .hero-c-kicker { font-size: 0.74rem; gap: 8px; margin: 18px 0 10px; } }

/* ================================================================ Audit fixes (Nov 2026) */
/* Fee card is light in C: dark text everywhere */
.fee-card { color: var(--ink); }
.fee-card .eyebrow { color: var(--ink); }
.fee-card .h3, .fee-row b { color: var(--navy-900); }
.fee-row p { color: var(--ink-2); }
.fee-foot { color: var(--ink-2); }
.fee-foot .ico { color: var(--azure-500); }

/* Services page: business-line list as photo cards (same language as home) */
.line-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.line-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "main arrow" "blurb arrow"; gap: 4px 16px; padding: 8px 8px 22px; border-radius: 26px; background: var(--white); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); }
.line-row:hover { transform: translateY(-3px); border-color: rgba(26, 106, 179, 0.28); box-shadow: 0 24px 60px rgba(6, 21, 41, 0.1); }
.line-num, .line-intent { display: none; }
.line-thumb { grid-area: thumb; display: block; aspect-ratio: 16 / 9.5; border-radius: 18px; overflow: hidden; margin-bottom: 14px; background: var(--gray-200); }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.line-row:hover .line-thumb img { transform: scale(1.04); }
.line-main { grid-area: main; padding-left: 14px; }
.line-title { font: 600 1.35rem/1.2 var(--font-sans-head); letter-spacing: -0.02em; color: var(--navy-900); }
.line-blurb { grid-area: blurb; padding-left: 14px; color: var(--ink-2); font-size: 0.92rem; }
.line-arrow { grid-area: arrow; align-self: center; margin-right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--navy-900); transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease-out); }
.line-arrow .ico { width: 18px; height: 18px; }
.line-row:hover .line-arrow { background: var(--navy-900); color: #fff; transform: rotate(-45deg); }

/* No leftover editorial serif/italic from Concept A */
.kol-band .h3 { font-family: var(--font-sans-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.kol-band .eyebrow, .kol-band-inner > .eyebrow { justify-self: start; width: fit-content; }
.kpi-title { font: 600 1.1rem/1.35 var(--font-sans-head); font-style: normal; }
.footer-tagline { font: 600 1.1rem/1.35 var(--font-sans-head); font-style: normal; letter-spacing: -0.01em; }

/* Detail pages: keep 3 short steps on one row, 4-up cards as 2x2 */
.detail-main .steps-3 { grid-template-columns: repeat(3, 1fr); }
.detail-main .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

/* Hero suggestions: label flows inline with the chips */
.intent-suggest { flex-wrap: wrap; gap: 6px; }
.intent-chips { display: contents; }
.intent-suggest-label { margin-right: 4px; }

/* Instagram: posts only (story rings add noise); 5 posts fill one row */
.ig-stories { display: none; }
.ig-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 860px) {
  .line-list { grid-template-columns: 1fr; }
  .detail-main .steps-3, .detail-main .card-grid.cols-4 { grid-template-columns: 1fr; }
  .ig-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .intent-suggest { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .intent-suggest::-webkit-scrollbar { display: none; }
  .intent-chips { mask-image: none; -webkit-mask-image: none; }
  .line-title { font-size: 1.2rem; }
}

/* Eyebrow pills never stretch inside grid/flex parents */
.eyebrow { width: fit-content; max-width: 100%; justify-self: start; align-self: flex-start; }
.section-head.is-center .eyebrow, .center-text.eyebrow { align-self: center; justify-self: center; }

@media (max-width: 860px) {
  /* Fee table: value sits under each item as a small tag instead of a full-width band */
  .fee-table-row > div:last-child { background: none; border-top: 0; padding: 0 24px 18px 52px; font-size: 0.84rem; color: var(--azure-600); }
  .fee-table-row.is-key > div:last-child { background: none; color: var(--navy-900); }
  .fee-table-row.is-key { background: var(--pastel-50); }
}
@media (max-width: 560px) {
  /* Direction toggle fits on one line at 360-414px */
  .seg .flag { display: none; }
  .hero-c .seg button { padding: 9px 12px; font-size: 0.8rem; }
}

/* ==========================================================================
   Motion layer — loader, page transitions, hero entrance, scroll motion,
   skeletons and micro-interactions. Everything here is additive: without JS
   or with prefers-reduced-motion the page renders exactly as before.
   html.fx        set inline in <head> (before first paint) by pages built with the motion layer
   html.no-loader set inline when this browser session already saw the loader
   html.is-ready  set by concept-c.js when the loader is gone (inline failsafe)
   html.motion    set by concept-c.js once in-view tracking is running
   ========================================================================== */
.loader { display: none; }
.scroll-bar { display: none; }

@keyframes c-rise { from { opacity: 0; transform: translateY(var(--hero-y, 26px)); } }
@keyframes c-rise-sm { from { opacity: 0; transform: translateY(10px); } }
@keyframes c-pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
@keyframes c-zoom { from { opacity: 0; transform: scale(1.04); } }
@keyframes c-swap { from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); } }
@keyframes c-shimmer { to { background-position: -200% 0; } }
@keyframes c-fade { from { opacity: 0; } }
@keyframes c-seek { 50% { transform: scale(1.18) rotate(-12deg); } }
@keyframes c-nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(4px); } }
@keyframes c-spin { to { transform: rotate(360deg); } }
@keyframes c-float { 50% { transform: translateY(-7px); } }
@keyframes c-drift { from { transform: translate(-58%, 0) scale(1); } to { transform: translate(-42%, 24px) scale(1.12); } }
@keyframes c-breathe { 50% { transform: scale(1.06); box-shadow: 0 26px 60px rgba(26, 106, 179, 0.28); } }
@keyframes c-load { from { transform: scaleX(0); } to { transform: scaleX(0.86); } }
@keyframes c-plane { from { left: 0; } to { left: 86%; } }
@keyframes c-loader-out { to { opacity: 0; visibility: hidden; } }
@keyframes c-vt-out { to { opacity: 0; } }
@keyframes c-vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* ---------------------------------------------------------- Loader (first page of a session) */
  html.fx:not(.no-loader) .loader {
    position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px;
    background: radial-gradient(60% 50% at 50% 38%, rgba(154, 207, 233, 0.5), transparent 70%), var(--canvas);
    transition: opacity 520ms var(--ease-in-out), visibility 520ms;
    animation: c-loader-out 400ms 6s forwards; /* failsafe if scripts never run */
  }
  .loader.is-done { opacity: 0; visibility: hidden; }
  .loader.is-done .loader-mark { transform: scale(0.9); }
  .loader-mark { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--card-line); box-shadow: 0 20px 50px rgba(6, 21, 41, 0.14); animation: c-pop 600ms var(--ease-out) backwards, c-breathe 1.8s 600ms ease-in-out infinite; transition: transform 520ms var(--ease-out); }
  .loader-mark img { width: 46px; height: 46px; object-fit: contain; }
  .loader-word { font: 600 1.15rem/1 var(--font-sans-head); letter-spacing: -0.02em; color: var(--navy-900); animation: c-rise-sm 600ms 120ms var(--ease-out) backwards; }
  .loader-route { display: grid; grid-template-columns: auto 180px auto; align-items: center; gap: 12px; font: 600 0.68rem/1 var(--font-sans-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); animation: c-rise-sm 600ms 220ms var(--ease-out) backwards; }
  .loader-line { position: relative; height: 3px; border-radius: 3px; background: rgba(6, 21, 41, 0.1); }
  .loader-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--azure-500), var(--pastel-300)); transform-origin: 0 50%; animation: c-load 1.6s var(--ease-out) forwards; transition: transform 380ms var(--ease-out); }
  .loader-line b { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--azure-500); box-shadow: 0 0 0 4px rgba(26, 106, 179, 0.18); animation: c-plane 1.6s var(--ease-out) forwards; transition: left 380ms var(--ease-out); }
  .loader.is-full .loader-line i { animation: none; transform: scaleX(1); }
  .loader.is-full .loader-line b { animation: none; left: 100%; }

  /* ---------------------------------------------------------- Page-to-page transitions */
  @view-transition { navigation: auto; }
  /* A plain cross-fade of the page body; the header is its own layer, so it stays put while pages change.
     (The new page's hero does the moving, see "Hero entrance".) */
  ::view-transition-old(root) { animation: c-vt-out 200ms ease-out both; }
  ::view-transition-new(root) { animation: c-vt-in 320ms 60ms ease-out both; }
  .site-header { view-transition-name: c-header; }
  ::view-transition-group(c-header) { animation-duration: 240ms; }
  /* Safety net: if the browser skips the view transition, the new page still eases in instead of cutting */
  html.fx.no-loader main { animation: c-fade 300ms ease-out backwards; }
  /* Browsers without cross-document view transitions: concept-c.js fades the page out before leaving */
  html.is-leaving main, html.is-leaving .site-footer { opacity: 0; transition: opacity 170ms ease-out; }

  /* ---------------------------------------------------------- Scroll progress */
  .scroll-bar { display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; background: linear-gradient(90deg, var(--azure-500), var(--pastel-300)); transform: scaleX(0); transform-origin: 0 50%; }

  /* ---------------------------------------------------------- Hero entrance (staggered, waits for the loader) */
  /* Order is set here (not in JS) so the entrance can start on first paint. After the first page of a
     session (html.no-loader) it is shorter and tighter, so moving between pages feels quick. */
  html.no-loader { --hero-step: 40ms; --hero-dur: 620ms; --hero-y: 14px; }
  .hero-c-inner > :nth-child(2), .page-hero-copy > :nth-child(2), .detail-title { --i: 1; }
  .hero-c-inner > :nth-child(3), .page-hero-copy > :nth-child(3), .detail-gallery figure { --i: 2; }
  .hero-c-inner > :nth-child(4), .page-hero-copy > :nth-child(4), .detail-gallery figure:nth-child(2) { --i: 3; }
  .hero-c-inner > :nth-child(5), .page-hero-copy > :nth-child(5), .page-hero-media, .detail-gallery figure:nth-child(3) { --i: 4; }
  .hero-c-stage, .detail-gallery figure:nth-child(4) { --i: 5; }
  .detail-gallery figure:nth-child(5), .page-detail .tabbar { --i: 6; }
  .fx .hero-c [data-reveal]:not(.reveal-pending),
  .fx .page-hero-c .crumbs, .fx .page-hero-c [data-reveal]:not(.reveal-pending),
  .fx .detail-hero .detail-top, .fx .detail-hero .detail-title, .fx .detail-hero .detail-gallery figure,
  .fx .page-detail .tabbar {
    animation: c-rise var(--hero-dur, 950ms) var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * var(--hero-step, 90ms) + 60ms);
  }
  .fx .detail-hero .detail-gallery figure { animation-name: c-zoom; }
  .fx .hero-c .intent-chip { animation: c-pop 520ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * var(--hero-step, 90ms) + var(--n, 0) * 55ms + 160ms); }
  .hero-c .intent-chip:nth-child(2) { --n: 1; } .hero-c .intent-chip:nth-child(3) { --n: 2; } .hero-c .intent-chip:nth-child(4) { --n: 3; } .hero-c .intent-chip:nth-child(5) { --n: 4; }
  html.fx:not(.is-ready) .hero-c [data-reveal], html.fx:not(.is-ready) .hero-c .intent-chip,
  html.fx:not(.is-ready) .page-hero-c .crumbs, html.fx:not(.is-ready) .page-hero-c [data-reveal],
  html.fx:not(.is-ready) .detail-hero .detail-top, html.fx:not(.is-ready) .detail-hero .detail-title, html.fx:not(.is-ready) .detail-hero .detail-gallery figure,
  html.fx:not(.is-ready) .page-detail .tabbar { animation-play-state: paused; }

  /* Direction switch: the headline word and the chip set change with a soft swap */
  .hero-c .display em.is-swap { display: inline-block; animation: c-swap 520ms var(--ease-out); }
  .is-ready .hero-c .intent-chips.is-swap .intent-chip { animation: c-pop 420ms var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 45ms); }

  /* Living hero: slow glow drift, floating program card, gentle photo parallax */
  .hero-c::after { content: ""; position: absolute; top: -60px; left: 50%; width: min(820px, 78vw); height: 380px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 106, 179, 0.16), transparent 70%); filter: blur(30px); animation: c-drift 12s ease-in-out infinite alternate; }
  .stage-photo img { transform: translate3d(0, var(--par, 0px), 0) scale(1.12); will-change: transform; }
  @media (min-width: 861px) { .is-ready .ui-batch { animation: c-float 6s 1.4s ease-in-out infinite; } }

  /* ---------------------------------------------------------- Scroll reveals: a little more travel, softer landing */
  [data-reveal] { transition-duration: 850ms; }
  .reveal-pending { transform: translateY(26px) scale(0.985); }

  /* In-view sequences (html.motion + .is-in from concept-c.js) */
  .stepper-item::before { background: linear-gradient(var(--azure-500), var(--azure-500)) 0 0 / 100% 100% no-repeat var(--gray-200); transition: background-size 900ms var(--ease-in-out); }
  .stepper-item::after { transition: transform 500ms var(--ease-out); }
  .stepper-item small, .stepper-item b, .stepper-item p { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .stepper-item:nth-child(2)::before, .stepper-item:nth-child(2)::after, .stepper-item:nth-child(2) > * { transition-delay: 450ms; }
  .stepper-item:nth-child(3)::before, .stepper-item:nth-child(3)::after, .stepper-item:nth-child(3) > * { transition-delay: 900ms; }
  .motion .stepper:not(.is-in) .stepper-item::before { background-size: 0% 100%; }
  .motion .stepper:not(.is-in) .stepper-item::after { transform: scale(0); }
  .motion .stepper:not(.is-in) .stepper-item > * { opacity: 0; transform: translateY(10px); }
  @media (max-width: 860px) { .motion .stepper:not(.is-in) .stepper-item::before { background-size: 100% 0%; } }

  .date-row, .fee-table-row, .highlights li, .book-facts li, .stat-band .stat { transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out), border-color var(--dur), background var(--dur); transition-delay: calc(var(--k, 0) * 80ms); }
  .motion .date-list:not(.is-in) .date-row, .motion .fee-table:not(.is-in) .fee-table-row, .motion .highlights:not(.is-in) li, .motion .book:not(.is-in) .book-facts li, .motion .stat-band:not(.is-in) .stat { opacity: 0; transform: translateY(14px); }
  :is(.date-row, .fee-table-row, .highlights li, .book-facts li, .stat):nth-child(2) { --k: 1; }
  :is(.date-row, .fee-table-row, .highlights li, .book-facts li, .stat):nth-child(3) { --k: 2; }
  :is(.date-row, .fee-table-row, .highlights li, .book-facts li, .stat):nth-child(4) { --k: 3; }
  :is(.date-row, .fee-table-row, .highlights li, .book-facts li, .stat):nth-child(5) { --k: 4; }
  :is(.date-row, .fee-table-row, .highlights li, .book-facts li, .stat):nth-child(6) { --k: 5; }
  .is-in :is(.date-row, .fee-table-row):hover { transition-delay: 0ms; }
  .stat-num, [data-count] { font-variant-numeric: tabular-nums; }

  /* ---------------------------------------------------------- Skeletons: images shimmer until they arrive, then fade in */
  .skel { background: linear-gradient(100deg, #e6ecf3 30%, #f6f9fc 50%, #e6ecf3 70%) 0 0 / 200% 100%; animation: c-shimmer 1.3s linear infinite; }
  img.img-fade { transition: opacity 700ms var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  img.img-wait { opacity: 0; }

  /* Route finder: typing feedback, answer card that opens/morphs (height via WAAPI in concept-c.js) */
  .fx .intent-result { animation: none; }
  .intent-result.is-swap > * { animation: c-rise-sm 460ms var(--ease-out) backwards; }
  .intent-result.is-swap > :nth-child(1) { animation-name: c-pop; }
  .intent-result.is-swap > :nth-child(2) { animation-delay: 70ms; }
  .intent-result.is-swap > :nth-child(3) { animation-delay: 140ms; }
  .intent-box > .ico { transition: color var(--dur), transform var(--dur) var(--ease-out); }
  .intent-box:focus-within > .ico { color: var(--azure-500); }
  .intent-box.is-typing > .ico { animation: c-seek 520ms var(--ease-in-out) infinite; }
  .intent-box::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--azure-500), var(--pastel-300), transparent) 0 0 / 200% 100%; opacity: 0; transition: opacity 320ms; pointer-events: none; }
  .intent-box.is-typing::after { opacity: 1; animation: c-shimmer 900ms linear infinite; }
  .intent-clear { transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur) var(--ease-out); }
  .intent-clear:not([hidden]) { animation: c-pop 320ms var(--ease-out); }
  .intent-clear:hover { transform: rotate(90deg); }
  .intent.has-text .intent-box .btn-primary .ico { animation: c-nudge 1.6s var(--ease-in-out) infinite; }
  .intent .btn.is-busy .ico { animation: c-spin 700ms linear infinite !important; }

  /* Route finder "thinking" state */
  .intent-result.is-loading { pointer-events: none; }
  .intent-result .sk { display: block; border-radius: 8px; background: linear-gradient(100deg, #e6ecf3 30%, #f6f9fc 50%, #e6ecf3 70%) 0 0 / 200% 100%; animation: c-shimmer 1.1s linear infinite; }
  .intent-result .sk-ico { width: 44px; height: 44px; border-radius: 14px; }
  .intent-result .sk-a { width: 110px; height: 10px; } .intent-result .sk-b { width: min(280px, 70%); height: 16px; margin: 9px 0; } .intent-result .sk-c { width: min(420px, 100%); height: 10px; }
  .intent-result .sk-btn { width: 120px; height: 38px; border-radius: 999px; }
  .intent .btn.is-busy { pointer-events: none; }
  .intent .btn.is-busy .ico { animation: c-spin 700ms linear infinite; }

  /* ---------------------------------------------------------- Micro-interactions */
  .btn:active { transform: scale(0.97); transition-duration: 80ms; }
  .intent-chip, .book-day, .book-slot, .bk-chip span, .seg button { transition: transform var(--dur) var(--ease-out), background var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur); }
  .intent-chip:hover { transform: translateY(-2px); }
  .intent-chip:active, .book-day:active, .book-slot:active, .seg button:active { transform: scale(0.96); }
  .book-slot { animation: c-pop 420ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
  .book-day[aria-pressed="true"], .book-slot[aria-pressed="true"] { box-shadow: 0 10px 24px rgba(26, 106, 179, 0.22); }
  [role="tabpanel"]:not([hidden]) { animation: c-rise-sm 520ms var(--ease-out); }
  .bk-total b.is-bump, .qty output.is-bump { display: inline-block; animation: c-pop 320ms var(--ease-out); }
  .toast:not([hidden]) { animation: c-fade 320ms var(--ease-out); }

  /* FAQ: answers ease open where the browser can animate to height:auto */
  @supports (interpolate-size: allow-keywords) {
    .faq-item { interpolate-size: allow-keywords; }
    .faq-item::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 480ms var(--ease-out), opacity 360ms, content-visibility 480ms allow-discrete; }
    .faq-item[open]::details-content { block-size: auto; opacity: 1; }
  }
}

/* ==========================================================================
   Programs — "Open for registration" spotlight
   The first open program is a dark feature card with the poster floating on
   it; further programs sit beside it as compact vertical cards (bento).
   Works for any number of cards: 1 = full width, 2–3 = feature + side stack,
   4+ = feature on top, the rest in two columns.
   ========================================================================== */
.upcoming-list { gap: 20px; }
.upcoming-card { position: relative; isolation: isolate; }
.upcoming-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.upcoming-card .h3 { letter-spacing: -0.025em; line-height: 1.15; }
.upcoming-card .program-meta { gap: 8px; }
.upcoming-card .program-meta > span { padding: 8px 12px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); color: var(--ink); font: 600 0.8rem/1 var(--font-sans-head); }
.upcoming-card .program-meta .ico { width: 15px; height: 15px; color: var(--brand); }
.upcoming-card .program-meta .ph { padding: 0; background: none; border: 0; }
.upcoming-card .program-go { margin-top: 6px; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--white); transition: background var(--dur), color var(--dur), border-color var(--dur), gap var(--dur) var(--ease-out); }
.upcoming-card:hover .program-go { background: var(--navy-900); border-color: var(--navy-900); color: #fff; gap: 10px; }
.upcoming-top .chip-red { display: inline-flex; align-items: center; gap: 7px; }
.upcoming-top .chip-red::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }

/* Feature card */
.upcoming-card:first-child {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  min-height: 460px;
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(26, 106, 179, 0.6), transparent 62%),
    radial-gradient(70% 80% at 0% 100%, rgba(221, 28, 26, 0.2), transparent 70%),
    var(--navy-900);
  box-shadow: 0 30px 70px rgba(6, 21, 41, 0.26);
}
.upcoming-card:first-child::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000); mask-image: linear-gradient(115deg, transparent 35%, #000); pointer-events: none; }
.upcoming-card:first-child:hover { box-shadow: 0 36px 80px rgba(6, 21, 41, 0.34); }
.upcoming-card:first-child .upcoming-media.is-poster { display: grid; place-items: center; padding: clamp(20px, 2.6vw, 34px); background: none; overflow: visible; }
.upcoming-card:first-child .poster-bg { display: none; }
.upcoming-card:first-child .upcoming-media.is-poster img:not(.poster-bg) { width: auto; max-width: 100%; height: auto; max-height: 440px; border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12); transform: rotate(-2.5deg); transition: transform 600ms var(--ease-out); }
.upcoming-card:first-child:hover .upcoming-media.is-poster img:not(.poster-bg) { transform: rotate(0deg) scale(1.03); }
.upcoming-card:first-child .upcoming-body { padding: clamp(26px, 3.4vw, 48px); gap: 18px; }
.upcoming-card:first-child .h3 { font-size: clamp(1.5rem, 1.05rem + 1.3vw, 2.05rem); color: #fff; }
.upcoming-card:first-child .upcoming-note { color: rgba(255, 255, 255, 0.76); font-size: 1rem; max-width: 52ch; }
.upcoming-card:first-child .chip-red { background: var(--red-500); color: #fff; }
.upcoming-card:first-child .chip:not(.chip-red) { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.upcoming-card:first-child .program-meta > span { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.86rem; padding: 10px 14px; }
.upcoming-card:first-child .program-meta .ico { color: var(--pastel-300); }
.upcoming-card:first-child .program-go { background: #fff; border-color: #fff; color: var(--navy-900); padding: 15px 22px; font-size: 0.92rem; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.upcoming-card:first-child:hover .program-go { background: var(--red-500); border-color: var(--red-500); color: #fff; }

@media (min-width: 961px) {
  .upcoming-list { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .upcoming-card:first-child { grid-column: 1 / -1; }
  .upcoming-card:first-child:nth-last-child(2) { grid-column: 1; }
  .upcoming-card:first-child:nth-last-child(3) { grid-column: 1; grid-row: span 2; }
  /* side cards (2–3 programs): image on top, body below */
  .upcoming-card:first-child:nth-last-child(-n+3) ~ .upcoming-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .upcoming-card:first-child:nth-last-child(-n+3) ~ .upcoming-card .upcoming-media { min-height: 0; aspect-ratio: 16 / 10; overflow: hidden; }
  .upcoming-card:first-child:nth-last-child(3) ~ .upcoming-card .upcoming-media { aspect-ratio: 16 / 7; }
  .upcoming-card:first-child:nth-last-child(-n+3) ~ .upcoming-card .upcoming-body { padding: 24px; justify-content: flex-start; gap: 14px; }
  .upcoming-card:first-child:nth-last-child(-n+3) ~ .upcoming-card .program-go { margin-top: auto; }
}
.upcoming-card:not(:first-child) .upcoming-media { overflow: hidden; }
.upcoming-card:not(:first-child) .upcoming-media img { transition: transform 700ms var(--ease-out); }
.upcoming-card:not(:first-child):hover .upcoming-media img { transform: scale(1.05); }

@media (max-width: 960px) {
  .upcoming-card:first-child { grid-template-columns: 1fr; min-height: 0; }
  .upcoming-card:first-child .upcoming-media.is-poster { padding: 24px 24px 0; min-height: 0; }
  .upcoming-card:first-child .upcoming-media.is-poster img:not(.poster-bg) { max-height: 400px; }
}
@media (max-width: 560px) {
  .upcoming-card .program-go { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .upcoming-top .chip-red::before { animation: c-live 1.8s ease-out infinite; }
  @keyframes c-live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 100% { box-shadow: 0 0 0 7px transparent; } }
}

/* ==========================================================================
   Expedition — "Program track record": short title + scannable facts instead
   of one long sentence (markup from track_record() in build-concept-c.py)
   ========================================================================== */
.kol-band .h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 500; line-height: 1.45; max-width: 48ch; }
.kol-band-inner { gap: 22px; }
.tr-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 10px; }
.tr-main { display: grid; gap: 14px; justify-items: start; }
.tr-kicker { font: 600 0.95rem/1 var(--font-sans-head); color: var(--pastel-300); }
.tr-title { font: 600 clamp(2rem, 1.2rem + 2.6vw, 3.25rem)/1.05 var(--font-sans-head); letter-spacing: -0.04em; color: #fff; text-wrap: balance; }
.tr-date { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font: 600 0.85rem/1 var(--font-sans-head); color: #fff; }
.tr-date .ico { width: 15px; height: 15px; color: var(--pastel-300); }
.tr-facts { display: grid; margin: 0; padding: 6px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); }
.tr-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 18px; align-items: center; padding: 16px 0; }
.tr-facts > div + div { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.tr-facts dt { font: 500 0.8rem/1.35 var(--font-sans-body); color: rgba(255, 255, 255, 0.62); }
.tr-facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tr-chips span { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); font: 600 0.82rem/1 var(--font-sans-head); color: #fff; }
.tr-guest { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(154, 207, 233, 0.12); border: 1px solid rgba(154, 207, 233, 0.22); }
.tr-guest i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pastel-300); color: var(--navy-900); font: 700 0.68rem/1 var(--font-sans-head); font-style: normal; letter-spacing: 0.02em; }
.tr-guest b { font: 600 0.86rem/1.2 var(--font-sans-head); color: #fff; }
@media (max-width: 960px) {
  .tr-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  .tr-facts { padding: 2px 16px; }
  .tr-facts > div { grid-template-columns: 1fr; padding: 14px 0; }
}

/* ---------------------------------------------------------- Client revisions (Nov 2026) */
/* Home hero: logo on top, service tiles under the headline */
.hero-c-logo { display: block; margin-bottom: 22px; }
.hero-c-logo img { height: 52px; width: auto; }
.hero-c .display { max-width: 20ch; }
.svc-tiles { width: min(880px, 100%); margin-top: clamp(26px, 3vw, 38px); }
.svc-tile-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.svc-tile-row[hidden] { display: none; }
.svc-tile { display: grid; justify-items: center; align-content: start; gap: 12px; padding: 18px 10px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); font: 600 0.95rem/1.2 var(--font-sans-head); color: var(--navy-900); text-align: center; text-wrap: balance; transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur), background var(--dur); }
.svc-tile:hover { transform: translateY(-3px); background: var(--white); border-color: rgba(26, 106, 179, 0.4); box-shadow: 0 16px 36px rgba(6, 21, 41, 0.1); }
.svc-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.svc-tile-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--azure-500); }
.svc-tile-ico .ico { width: 26px; height: 26px; }
.hero-c .intent { margin-top: 16px; }
.hero-c-inner > :nth-child(6), .hero-c-inner > :nth-child(7) { --i: 4; }
.ui-batch .btn-wa { margin-top: 10px; }
@media (max-width: 860px) {
  /* The header logo sits right above the hero on small screens: no second logo */
  .hero-c-logo { display: none; }
}
@media (max-width: 700px) {
  /* 5 tiles = 3 + 2, 4 tiles = 2 + 2: every row fills the full width */
  .svc-tile-row { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .svc-tile { grid-column: span 3; padding: 14px 8px; font-size: 0.82rem; gap: 8px; border-radius: 14px; }
  .svc-tile-row > :first-child:nth-last-child(5), .svc-tile-row > :first-child:nth-last-child(5) ~ :nth-child(-n+3) { grid-column: span 2; }
  .svc-tile-ico { width: 42px; height: 42px; border-radius: 12px; }
  .svc-tile-ico .ico { width: 21px; height: 21px; }
}
/* Expedition: guest name in brand red */
.guest-name { color: var(--red-500); }
/* Larger gallery link ("See case studies", "More on Instagram") */
.dg-more { right: 16px; bottom: 16px; gap: 8px; padding: 13px 20px; border-radius: 14px; font-size: 0.98rem; font-weight: 600; box-shadow: 0 10px 26px rgba(6, 21, 41, 0.22); }
.dg-more .ico { width: 19px; height: 19px; }
.detail-gallery.is-posters figure { position: relative; }
.detail-gallery.is-posters figure a.dg-more { display: inline-flex; height: auto; cursor: pointer; }
/* Booking card: "Other" free-text field */
.bk-other { flex: 1 1 100%; }
.bk-other[hidden] { display: none; }
/* Home stage: the running campaign (official posters + register bar) */
.stage-campaign { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--sheet-radius); padding: 14px; box-shadow: 0 40px 90px rgba(6, 21, 41, 0.14); }
.stage-posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stage-posters a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--gray-200); cursor: zoom-in; }
.stage-posters img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease-out); }
.stage-posters a:hover img { transform: scale(1.03); }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 10px 6px; text-align: left; }
.stage-bar small { display: block; font: 700 0.7rem/1 var(--font-sans-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--azure-500); margin-bottom: 8px; }
.stage-bar b { display: block; font: 600 1.2rem/1.25 var(--font-sans-head); color: var(--navy-900); }
.stage-bar div > span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.9rem; color: var(--ink-2); }
.stage-bar div > span .ico { width: 16px; height: 16px; }
.stage-bar-actions { display: flex; gap: 10px; flex: none; }
.hero-c-stage .stage-bar .btn { --btn-h: 48px; }
@media (max-width: 760px) {
  .stage-posters { display: flex; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .stage-posters::-webkit-scrollbar { display: none; }
  .stage-posters a { flex: 0 0 72%; scroll-snap-align: start; }
  .stage-bar { flex-direction: column; align-items: stretch; }
  .stage-bar-actions { flex-direction: column; }
  .stage-bar-actions .btn { width: 100%; }
}

/* Home "Programs & Events": the running campaign card shows the official Batch 4 poster */
.prog-feature.is-poster img { object-position: center 14%; }
.prog-feature.is-poster::before { background: linear-gradient(180deg, rgba(6, 21, 41, 0) 0%, rgba(6, 21, 41, 0) 50%, rgba(6, 21, 41, 0.94) 86%); }
.prog-feature.is-poster .prog-feature-body > p { display: none; }
.prog-feature.is-poster .prog-feature-body h3 { font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem); }
/* Tablet & mobile: the poster carries its own headline, so our text moves off it onto a solid panel below the full poster */
@media (max-width: 960px) {
  .prog-feature.is-poster { flex-direction: column; align-items: stretch; min-height: 0; background: var(--navy-900); }
  .prog-feature.is-poster img { position: relative; inset: auto; z-index: 0; display: block; height: auto; aspect-ratio: 4 / 5; object-position: center top; }
  .prog-feature.is-poster::before { inset: 0 0 auto; z-index: 1; aspect-ratio: 4 / 5; background: linear-gradient(180deg, rgba(6, 21, 41, 0) 82%, var(--navy-900) 100%); }
  .prog-feature.is-poster .prog-feature-body { position: relative; z-index: 2; gap: 12px; padding: 18px 20px 22px; }
  .prog-feature.is-poster .chip { width: fit-content; background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); }
  .prog-feature.is-poster .prog-feature-body h3 { font-size: 1.25rem; line-height: 1.25; text-wrap: balance; }
  .prog-feature.is-poster .prog-feature-meta { gap: 6px; }
  .prog-feature.is-poster .prog-feature-meta span { background: rgba(255, 255, 255, 0.1); padding: 7px 10px; }
  .prog-feature.is-poster .btn { width: 100%; justify-content: center; margin-top: 4px; }
}
/* Business Expedition detail: recap banner sits in the main column */
.detail-main .recap-band { padding-top: 0; }
@media (min-width: 721px) { .detail-main .recap-banner { aspect-ratio: 16 / 9; } }

/* Event page (event.html?e=<slug>), rendered from the feihuang.business events feed */
.event-missing { display: grid; gap: 14px; justify-items: start; padding-block: clamp(40px, 8vw, 96px); }
.event-loading { color: var(--muted); animation: event-pulse 1.4s ease-in-out infinite; }
@keyframes event-pulse { 50% { opacity: 0.45; } }
.event-desc { display: grid; gap: 14px; max-width: 68ch; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.event-desc h2, .event-desc h3, .event-desc h4 { color: var(--ink); font-family: var(--font-sans-head); line-height: 1.3; margin-top: 8px; }
.event-desc ul, .event-desc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.event-desc ul { list-style: disc; }
.event-desc ol { list-style: decimal; }
.event-desc a { color: var(--brand, #1a6ab3); text-decoration: underline; }
.event-desc blockquote { border-left: 3px solid var(--red-500); padding-left: 14px; }
.page-event .booking-card .bk-checks li { align-items: center; }

/* ================================================================ Polish pass (16 Nov 2026 section-by-section audit) */
/* Headings: balanced line breaks, no lone last word */
.h1, .h2, .h3, .h4 { text-wrap: balance; }

/* Home programs, desktop: the poster has its own headline and QR code, so it sits framed on the left and our copy goes on the right */
@media (min-width: 961px) {
  .prog-feature.is-poster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; background: var(--navy-900); }
  .prog-feature.is-poster::before { display: none; }
  .prog-feature.is-poster img { position: relative; inset: auto; z-index: 0; width: calc(100% - 28px); height: auto; aspect-ratio: 4 / 5; margin: 14px; border-radius: 16px; object-fit: cover; object-position: center top; }
  .prog-feature.is-poster:hover img { transform: scale(1.015); }
  .prog-feature.is-poster .prog-feature-body { gap: 14px; padding: 24px 26px 24px 8px; }
  .prog-feature.is-poster .chip { width: fit-content; background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); }
  .prog-feature.is-poster .prog-feature-body h3 { font-size: clamp(1.2rem, 0.9rem + 0.6vw, 1.45rem); line-height: 1.25; }
  .prog-feature.is-poster .prog-feature-meta { flex-direction: column; align-items: flex-start; }
  .prog-feature.is-poster .prog-feature-meta span { background: rgba(255, 255, 255, 0.1); }
  .prog-feature.is-poster .btn { margin-top: 8px; }
}

/* Page heroes: long button labels must not push the grid wider than the card (Investment, Accreditation on phones) */
.page-hero-c .page-hero-grid > * { min-width: 0; }
@media (max-width: 600px) {
  .page-hero-c .hero-actions .btn { white-space: normal; height: auto; min-height: var(--btn-h, 48px); padding-block: 12px; text-align: center; justify-content: center; line-height: 1.3; }
  .page-hero-c .crumbs { max-width: 100%; }
}

/* Swipe rows on phones (Insights, testimonials, "More from Feihuang"): snap to the gutter, not to the screen edge */
.program-grid, .testi-grid, .insight-grid { scroll-padding-inline: var(--gutter); }

/* Filter tabs: on phones they wrap instead of being cut off mid-word with no hint */
@media (max-width: 760px) {
  .filter-bar { flex-wrap: wrap; overflow: visible; }
}

/* FAQ: when open only the + turns into ×; the rounded square itself stays put */
.faq-item[open] .faq-ico { transform: none; }
.faq-ico .ico { transition: transform var(--dur) var(--ease-out); }
.faq-item[open] .faq-ico .ico { transform: rotate(45deg); }

/* Instagram tiles: small badge bottom-right so it no longer covers the FEIHUANG mark in the poster corner */
.ig-badge { top: auto; bottom: 10px; width: 26px; height: 26px; background: rgba(4, 12, 24, 0.55); }
.ig-badge .ico { width: 13px; height: 13px; }

/* "Working with national figures & media": people on one line, media outlets on their own line */
.kol-names b { order: 0; }
.kol-names span { order: 2; }
.kol-names::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
.kol-names span:first-of-type { padding-left: 0; border-left: 0; }

/* How we work (home): CTA buttons full width on phones instead of two ragged widths */
@media (max-width: 600px) {
  .stepper-foot div { width: 100%; }
  .stepper-foot div .btn { flex: 1 1 100%; justify-content: center; }
}

/* "Upcoming & recent" rows on phones: the action moves under the title so the title gets the full width */
@media (max-width: 480px) {
  .date-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; }
  .date-row > :last-child { grid-column: 2; justify-self: start; }
}

/* Steps (horizontal stepper): the connector line ends at the last dot */
.steps-3 .step:last-child::after, .steps-4 .step:last-child::after { right: auto; width: 12px; }

/* Services: 3 supporting cards get 3 columns (no empty 4th slot); finder 8 items as 4 × 2; links pinned to the bottom */
@media (min-width: 1101px) {
  .support-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .finder:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); }
}
.finder-item { align-content: space-between; }

/* Articles: the "Share" label hugs its text when the aside stacks; the cover is less of a thin strip on phones */
.article-aside .eyebrow { justify-self: start; width: fit-content; }
@media (max-width: 760px) {
  .article-cover img { aspect-ratio: 4 / 3; object-position: center 30%; border-radius: 20px; }
}

/* ---- Detail pages (audit) */
/* Recap video: the red pills sit in the top-left corner instead of over the speaker's face and the burned-in subtitles */
.recap-pills { inset: 0 auto auto 0; justify-content: flex-start; align-content: flex-start; padding: clamp(14px, 2vw, 22px); gap: 6px; max-width: 70%; }
.recap-pills span { padding: 7px 14px; font-size: clamp(0.62rem, 0.55rem + 0.3vw, 0.78rem); letter-spacing: 0.08em; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); }
@media (max-width: 720px) {
  .recap-pills { flex-direction: row; flex-wrap: wrap; align-items: flex-start; padding: 14px; max-width: 100%; }
}

/* Video / poster cards: the caption sits on a solid strip, not on top of the poster's own text */
.video-card::after { display: none; }
.video-label { left: 0; right: 0; bottom: 0; padding: 12px 16px 14px; background: rgba(4, 12, 24, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video-label b { font-size: 0.88rem; }
@media (max-width: 560px) { .video-label b { font-size: 0.82rem; } }

/* Company visits: any number of cards fills full rows, no empty slots (3 per row on a 6-column grid;
   a last row of 2 gets two wide cards, a remainder of 1 turns the last 4 cards into 2 + 2; 5 cards = 3 + 2) */
@media (min-width: 561px) {
  .detail-main .visit-grid { grid-template-columns: repeat(6, 1fr); }
  .detail-main .visit-grid > * { grid-column: span 2; }
  .detail-main .visit-grid > :nth-child(3n+1):nth-last-child(2), .detail-main .visit-grid > :nth-child(3n+1):nth-last-child(2) ~ *,
  .detail-main .visit-grid > :nth-child(3n+1):nth-last-child(4), .detail-main .visit-grid > :nth-child(3n+1):nth-last-child(4) ~ * { grid-column: span 3; }
  .detail-main .visit-grid > :only-child { grid-column: 1 / -1; }
}
/* phones: 2 per row; only an odd last card goes full width */
@media (max-width: 560px) { .visit-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.detail-main .visit { min-height: 0; }

/* Booking chips keep their natural width (no stretched "Other" / ragged rows) */
.bk-chip { flex: 0 0 auto; }

/* Sticky tab bar on phones: fade on the right so it is clear the tabs scroll */
@media (max-width: 760px) {
  .tabbar .container { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 30px; }
}

/* Service cards on phones: compact rows (icon left) instead of six tall stacked cards */
@media (max-width: 600px) {
  .feature-card:not(.is-row) { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; align-items: start; }
  .feature-card:not(.is-row) > .feature-ico { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; }
  .feature-card:not(.is-row) > :not(.feature-ico) { grid-column: 2; }
}

/* KPI band on phones: title on its own line with breathing room, numbers top-aligned */
@media (max-width: 760px) {
  .kpi-row { gap: 18px 12px; align-items: start; overflow: visible; }
  .kpi-row .kpi-title { margin-bottom: 4px; }
}

/* Photo galleries on phones: no lone last tile next to an empty half row */
@media (max-width: 860px) {
  .gallery > .gallery-item:last-child:nth-child(even) { grid-column: span 2; }
}

/* Detail pages on phones: the intro comes first, then the booking card, then the rest of the page */
@media (max-width: 960px) {
  .detail-layout { row-gap: 0; }
  .detail-main { display: contents; }
  .detail-main > * { order: 2; }
  .detail-main > :first-child { order: 0; }
  .detail-layout > .booking { order: 1; margin-block: 4px 32px; }
}

/* Business Expedition · "6 reasons to join" (18 Nov 2026): compact icon-left cards, like the client's reference */
.reasons-grid .feature-card { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 20px; align-items: start; }
.reasons-grid .feature-card > .feature-ico { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
.reasons-grid .feature-card > :not(.feature-ico) { grid-column: 2; }
