/* =========================================================================
   Marketing for Surgeons (an LxP Digital brand) | style.css
   Brand theme layered on Bootstrap 5.3. Bootstrap supplies the grid,
   navbar, cards, forms, accordion and table; this file sets the brand
   (logo navy + warm gold on cream/white) and the page-specific pieces.
   ========================================================================= */

:root {
  /* Brand */
  --navy: #0a2f4c;          /* logo navy: dark bands */
  --navy-800: #0c3a5e;      /* hover / gradient partner */
  --navy-900: #061d30;      /* footer, deepest band */
  --gold: #cba662;          /* logo gold: CTAs, accents */
  --gold-600: #b8924c;      /* CTA hover */
  --gold-ink: #85672c;      /* gold text on light backgrounds (AA) */
  --gold-tint: #f6efe1;     /* soft gold surface */
  --gold-head: #a8823b;     /* gold for large headings on light backgrounds (passes 3:1 for large text) */

  /* Neutrals */
  --ink: #0d1e2c;
  --steel: #546474;
  --bg: #faf8f4;
  --cream: #F3F0EB;
  --tint: #edf2f7;
  --paper: #ffffff;
  --line: #e4dfd4;
  --on-dark: #d7e2ec;
  --on-dark-muted: #a9bccd;
  --ok: #1f7a4d;
  --no: #b03a3a;

  /* Type */
  --head: "Outfit", system-ui, sans-serif;
  --text: "Figtree", system-ui, sans-serif;

  /* Shape + motion */
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 47, 76, .06), 0 4px 12px rgba(10, 47, 76, .05);
  --shadow: 0 2px 4px rgba(10, 47, 76, .05), 0 14px 34px -8px rgba(10, 47, 76, .16);
  --shadow-lg: 0 40px 80px -30px rgba(6, 29, 48, .55);
  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 90px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--text);
  --bs-body-font-size: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --bs-body-line-height: 1.65;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-heading-color: var(--navy);
  --bs-emphasis-color: var(--ink);
  --bs-secondary-color: var(--steel);
  --bs-primary: #0a2f4c;
  --bs-primary-rgb: 10, 47, 76;
  --bs-link-color: var(--gold-ink);
  --bs-link-color-rgb: 133, 103, 44;
  --bs-link-hover-color: var(--navy);
  --bs-link-hover-color-rgb: 10, 47, 76;
  --bs-border-color: var(--line);
  --bs-border-radius: 12px;
  --bs-border-radius-lg: 20px;
  --bs-focus-ring-color: rgba(203, 166, 98, .45);
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1200px) { .container { max-width: 1200px; } }
/* roomier side margins on phones (Bootstrap default is 12px) */
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2.5rem; } }
img { max-width: 100%; height: auto; display: block; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--navy); font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); }
@media (min-width: 1200px) { h2 { font-size: 2.8rem; } }
h3 { font-size: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem); line-height: 1.3; }
h4 { font-family: var(--text); font-size: 1rem; }
.skip-link { position: absolute; left: 12px; top: 8px; z-index: 1100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--tint { background: var(--tint); }
.section--dark, .photo-band, .final-cta { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .photo-band h2, .photo-band h3, .final-cta h2 { color: #fff; }

.section-head { display: grid; gap: 6px; margin: 0 auto 20px; max-width: 960px; text-align: center; justify-items: center; }
.section-head .lede { max-width: 100%; text-wrap: balance; }
@media (min-width: 992px) { .h-one-line { white-space: nowrap; } }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; opacity: .55; border-radius: 2px; }
.section--dark .eyebrow, .photo-band .eyebrow, .final-cta .eyebrow, .hero-banner .eyebrow { color: var(--gold); }
.eyebrow--left { justify-content: flex-start; }
.eyebrow--left::after { display: none; }
.lede { font-size: 1.1rem; color: var(--steel); line-height: 1.6; max-width: 62ch; margin-inline: auto; }
.section--dark .lede, .photo-band .lede { color: var(--on-dark); }
.hl { color: var(--gold-head); }
.hero-banner .hl, .section--dark .hl, .photo-band .hl, .final-cta .hl, .ty-hero .hl { color: var(--gold); }
.banner-form .hl { color: var(--gold-head); }

/* ---------- Buttons (Bootstrap .btn themed through its variables) ---------- */
.btn {
  --bs-btn-padding-x: 26px; --bs-btn-padding-y: 16px;
  --bs-btn-font-family: var(--text); --bs-btn-font-size: 1rem; --bs-btn-font-weight: 650; --bs-btn-line-height: 1;
  --bs-btn-border-width: 2px; --bs-btn-border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn-sm { --bs-btn-padding-x: 20px; --bs-btn-padding-y: 12px; --bs-btn-font-size: .9375rem; --bs-btn-border-radius: 999px; }
.btn-primary {
  --bs-btn-color: var(--navy-900); --bs-btn-bg: var(--gold); --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: var(--navy-900); --bs-btn-hover-bg: var(--gold-600); --bs-btn-hover-border-color: var(--gold-600);
  --bs-btn-active-color: var(--navy-900); --bs-btn-active-bg: #a8843f; --bs-btn-active-border-color: #a8843f;
  --bs-btn-focus-shadow-rgb: 203, 166, 98;
  box-shadow: 0 8px 20px -10px rgba(184, 146, 76, .9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(184, 146, 76, .95); }
.btn-ghost {
  --bs-btn-color: var(--navy); --bs-btn-bg: transparent; --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: transparent; --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: var(--navy); --bs-btn-active-bg: var(--tint); --bs-btn-active-border-color: var(--navy);
}
.btn-outline-light { --bs-btn-border-color: rgba(255,255,255,.4); --bs-btn-hover-bg: rgba(255,255,255,.08); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Dev banner (delete before launch) ---------- */
.dev-banner { background: #fff8e6; color: #5c4400; border-bottom: 1px dashed #d9a400; font-size: .9375rem; line-height: 1.5; padding: 10px 16px; text-align: center; }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy-900); color: var(--on-dark-muted); font-size: .9375rem; }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { color: var(--gold); }

/* ---------- Header / navbar ---------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(10,47,76,.25); }
.navbar { --bs-navbar-padding-y: 0; --bs-navbar-color: var(--ink); --bs-navbar-hover-color: var(--navy); --bs-navbar-active-color: var(--navy); --bs-navbar-toggler-border-color: var(--line); --bs-navbar-toggler-focus-width: 3px; min-height: var(--header-h); }
.logo img { height: 60px; width: auto; }
.navbar-brand { padding: 15px 0; }
.navbar-nav .nav-link { padding: 10px 14px !important; border-radius: 8px; font-weight: 550; font-size: .9375rem; transition: background-color .15s, color .15s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.show { background: var(--tint); }
.navbar-toggler { padding: 8px 10px; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--bs-focus-ring-color); }

/* Mega dropdowns: grid of links; open on hover at desktop sizes */
.dropdown-menu.mega {
  --bs-dropdown-border-color: var(--line); --bs-dropdown-border-radius: var(--radius-lg);
  --bs-dropdown-link-color: var(--ink); --bs-dropdown-link-hover-color: var(--navy); --bs-dropdown-link-hover-bg: var(--gold-tint);
  --bs-dropdown-link-active-color: var(--navy); --bs-dropdown-link-active-bg: var(--gold-tint);
  --bs-dropdown-header-color: var(--steel);
  padding: 18px; box-shadow: var(--shadow); grid-template-columns: repeat(3, 1fr); gap: 2px 14px;
}
.dropdown-menu.mega.show { display: grid; }
.mega .dropdown-header { grid-column: 1 / -1; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px 6px; }
.mega .dropdown-item { border-radius: 8px; padding: 9px 12px; font-size: .9375rem; white-space: normal; }
.mega .dropdown-item.all { color: var(--gold-ink); font-weight: 650; }
@media (min-width: 992px) {
  .navbar .dropdown-menu.mega { width: min(720px, 92vw); left: 50%; transform: translateX(-50%); margin-top: 8px; }
  .navbar .dropdown-menu.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .navbar .dropdown:hover > .dropdown-menu.mega { display: grid; }
}
@media (max-width: 991.98px) {
  .logo img { height: 50px; }
  .navbar-collapse { padding: 8px 0 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .dropdown-menu.mega { border: 0; box-shadow: none; padding: 0 0 8px 8px; grid-template-columns: 1fr 1fr; background: transparent; }
}

/* ---------- Hero ---------- */
.hero-banner { position: relative; color: var(--on-dark); padding-block: clamp(56px, 7vw, 100px) clamp(110px, 10vw, 150px); overflow: hidden;
  background:
    radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.18) 0%, transparent 60%),
    linear-gradient(105deg, rgba(6,29,48,.96) 0%, rgba(10,47,76,.88) 52%, rgba(10,47,76,.7) 100%),
    url("../images/hero-operating-room.webp") center 30% / cover no-repeat,
    var(--navy); }
.hero-copy h1 { color: #fff; margin-bottom: 18px; }
.hero-copy .lede { color: var(--on-dark); max-width: 54ch; margin: 0 0 24px; }
.hero-ticks { margin: 0 0 28px; display: grid; gap: 10px; color: #fff; font-weight: 500; }
.hero-ticks li { display: flex; align-items: center; gap: 12px; }
.hero-ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23061d30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(203,166,98,.35); color: var(--on-dark); }
.rating b { color: #fff; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }

/* Audit form card (Bootstrap form controls, themed) */
.banner-form { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-lg); display: grid; gap: 12px; border-top: 4px solid var(--gold); }
.banner-form .tag-line { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.banner-form h2 { font-size: 2rem; margin: 0; }
.banner-form .sub { color: var(--steel); font-size: .9375rem; margin: 0px; }
.banner-form .form-label { font-size: .9375rem; font-weight: 600; margin-bottom: 6px; }
.banner-form .form-control, .banner-form .form-select { padding: 12px 14px; border-color: #cfd6de; border-radius: 10px; background-color: #fbfcfd; }
.banner-form .form-select { padding-right: 2.25rem; }
.form-control:focus, .form-select:focus { background-color: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,47,76,.12); }
.banner-form .btn { padding-block: 17px; margin-top: 4px; }
.banner-form .fine { font-size: .9375rem; color: var(--steel); margin: 0; text-align: center; }
.banner-form .fine svg { display: inline; vertical-align: -2px; margin-right: 5px; }
.form-done { text-align: center; padding: 24px 6px; display: grid; gap: 10px; justify-items: center; }
.form-done .check { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-ink); display: grid; place-items: center; }
.form-done h2 { margin: 0; }
.form-done p { margin: 0; color: var(--steel); }

/* ---------- Stats band (floats over hero edge) ---------- */
.stats-band { --overlap: clamp(64px, 7vw, 90px); position: relative; z-index: 2; margin-top: calc(var(--overlap) * -1);
  /* top part sits over the hero; below it, match the next section so no strip shows */
  background: linear-gradient(to bottom, transparent var(--overlap), var(--tint) var(--overlap)); }
.stats { position: relative; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 14px; overflow: hidden; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold) 50%, var(--navy)); }
.stats .s { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 16px; border-radius: 14px; transition: background-color .25s; }
.stats .s:hover { background: var(--tint); }
.stats .s + .s { position: relative; }
.stats .s + .s::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.s-ic { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; color: var(--gold); background: linear-gradient(140deg, var(--navy), var(--navy-800)); box-shadow: 0 10px 20px -10px rgba(10,47,76,.7); transition: transform .3s var(--ease); }
.stats .s:hover .s-ic { transform: translateY(-3px) rotate(-4deg); }
.s-txt { display: grid; gap: 2px; text-align: left; }
.s-txt b { font-family: var(--head); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 700; color: var(--navy); line-height: 1.1; }
.s-txt span { color: var(--steel); font-size: 1rem; line-height: 1.35; }
@media (max-width: 991.98px) {
  .stats .s { justify-content: flex-start; }
  .stats .s:nth-child(3)::before { display: none; }
  .stats .s:nth-child(n+3) { border-top: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 420px) { .stats .s { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 12px; } .s-ic { width: 46px; height: 46px; border-radius: 14px; } }
.stats-band + .section { padding-top: calc(var(--section-y) - 20px); }

/* ---------- Cards (Bootstrap .card themed) ---------- */
.card { --bs-card-bg: var(--paper); --bs-card-border-color: var(--line); --bs-card-border-radius: var(--radius-lg); --bs-card-inner-border-radius: calc(var(--radius-lg) - 1px); --bs-card-spacer-x: clamp(22px, 2.4vw, 30px); --bs-card-spacer-y: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card-body p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(203,166,98,.6); color: var(--ink); }

/* Problem + service cards */
.icard .card-body, .service .card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ic, .service .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--navy); display: grid; place-items: center; transition: background-color .25s, color .25s; }
.icard:hover .ic, .service:hover .icon { background: var(--navy); color: var(--gold); }
.icard h3, .service h3 { margin: 6px 0 0; }
.icard p, .service p { color: var(--steel); margin: 0; font-size: 1rem; }
.icard .fix { margin-top: auto !important; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 1rem; color: var(--ink); width: 100%; }
.icard .fix b { color: var(--gold-ink); }
.go { font-weight: 650; color: var(--gold-ink); font-size: 1rem; margin-top: auto; display: inline-flex; gap: 6px; transition: gap .2s; }
a.card:hover .go { gap: 10px; }


/* Simple CTA: two centred buttons after a section (solid + outline) */
.cta-simple { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(36px, 4vw, 52px); }
.btn-outline {
  --bs-btn-color: var(--navy); --bs-btn-bg: transparent; --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy-800); --bs-btn-active-border-color: var(--navy-800);
  --bs-btn-border-width: 1.5px;
}
.btn-outline:hover { transform: translateY(-2px); }
@media (max-width: 575.98px) { .cta-simple .btn { width: 100%; } }

/* ---------- Image frames ---------- */
.img-frame { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: #d5dee6; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--tall { aspect-ratio: 4 / 5; }
.img-badge { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.96); color: var(--navy); border-radius: 12px; padding: 10px 14px; font-size: .9375rem; font-weight: 650; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-sm); }
.img-badge::before { content: "✓"; color: var(--gold-ink); font-weight: 800; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 26px; opacity: .55; }
@media (max-width: 991.98px) { .framed { margin-right: 10px; } .framed::before { inset: 12px -10px -12px 10px; } }

/* Why-different list */
.why-list { margin: 0; display: grid; gap: 14px; }
.why-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(203,166,98,.18); transition: background-color .2s, border-color .2s; }
.why-list li:hover { background: rgba(255,255,255,.07); border-color: rgba(203,166,98,.45); }
.why-list li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23061d30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.why-list b { color: #fff; font-family: var(--head); font-weight: 600; display: block; margin-bottom: 2px; }
.why-list span { color: var(--on-dark-muted); font-size: 1rem; }

/* ---------- Specialty tiles ---------- */
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: #d5dee6; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,29,48,0) 35%, rgba(6,29,48,.92) 100%); }
.tile .t { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.tile .t b { display: block; font-family: var(--head); font-size: 1.15rem; font-weight: 600; }
.tile .t span { font-size: .9375rem; color: var(--gold); font-weight: 600; display: inline-flex; gap: 6px; transition: gap .2s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover .t span { gap: 10px; }
.tile:hover { color: #fff; }
.chips { margin: 24px 0 0; }
.chips a, .chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9375rem; background: var(--paper); transition: border-color .15s, background-color .15s, color .15s; }
.chips span { cursor: default; }
.chips a:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--navy); }

/* ---------- How it works ---------- */
.steps3 { position: relative; }
.steps3::before { content: ""; position: absolute; top: 54px; left: 16%; right: 16%; border-top: 2px dashed var(--gold); opacity: .5; }
@media (max-width: 767.98px) { .steps3::before { display: none; } }
.steps3 .card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.steps3 .num { margin-bottom: 14px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line); }
.steps3 .when { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.steps3 h3 { margin: 0; }
.steps3 p { color: var(--steel); }

/* Monthly report mock */
.pipeline { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.pipeline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.pipeline-head strong { font-family: var(--head); font-size: 1.08rem; }
.tag { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--gold-tint); color: var(--gold-ink); white-space: nowrap; }
.stage { display: grid; grid-template-columns: 136px 1fr 52px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.stage:first-of-type { border-top: 0; }
.stage .bar { height: 12px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.stage .bar span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--navy); transform-origin: left; }
.stage:last-of-type .bar span { background: var(--gold); }
.js .pipeline .bar span { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js .pipeline.in-view .bar span { transform: scaleX(1); }
.stage .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.pipeline-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9375rem; color: var(--steel); flex-wrap: wrap; }
.pipeline-foot b { color: var(--navy); }
@media (max-width: 520px) { .stage { grid-template-columns: 100px 1fr 40px; font-size: .9375rem; } }

/* ---------- Case studies: scroller with arrows + gentle autoplay (see main.js) ---------- */
.h-scroll.cases { grid-auto-columns: calc((100% - 48px) / 3); padding-block: 10px 16px; }
@media (max-width: 991.98px) { .h-scroll.cases { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) { .h-scroll.cases { grid-auto-columns: 88%; } }

.cs-card { position: relative; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cs-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-600)); transform: scaleX(.18); transform-origin: left; transition: transform .4s var(--ease); }
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(203,166,98,.6); }
.cs-card:hover::before { transform: scaleX(1); }
.cs-card .meta { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); font-weight: 700; line-height: 1.5; }
.cs-card .meta a { color: var(--gold-ink); }
.cs-card h3 { font-size: 1.15rem; line-height: 1.3; margin: 0; min-height: 2.6em; }
.cs-card .meta { min-height: 3em; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; border: 0; }
.kpis > div { background: var(--tint); border-radius: 12px; padding: 12px 14px; }
.kpis b { display: block; font-family: var(--head); color: var(--navy); font-size: 1.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 2px; }
.kpis > div:first-child b { color: var(--gold-head); }
.kpis span { font-size: .875rem; color: var(--steel); line-height: 1.3; display: block; }
.cs-card .go { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none; display: flex; justify-content: space-between; align-items: center; width: 100%; color: var(--navy); }
.cs-card .go span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-ink); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.cs-card .go:hover { color: var(--gold-ink); }
.cs-card:hover .go span { background: var(--navy); color: var(--gold); transform: translateX(3px); }

/* ---------- Team: founder cards + scrolling specialist cards ---------- */
.lead-person { display: grid; grid-template-columns: 240px 1fr; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s; }
.lead-person:hover { border-color: rgba(203,166,98,.6); box-shadow: var(--shadow); }
.lp-photo { position: relative; min-height: 100%; background: linear-gradient(180deg, #edf2f7, #d9e2ea); }
.lp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lp-stat { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 14px; box-shadow: 0 10px 24px rgba(6,29,48,.18); }
.lp-stat strong { display: block; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--gold-head); line-height: 1.1; }
.lp-stat span { font-size: .875rem; color: var(--steel); }
.lp-body { padding: 30px 30px 28px; display: flex; flex-direction: column; }
.lead-person h3 { font-size: 28px; margin: 0 0 4px; }
.lead-person .role { display: block; font-weight: 600; color: var(--gold-ink); font-size: 1rem; margin-bottom: 14px; }
.lead-person p { font-size: 1rem; line-height: 1.7; color: var(--steel); margin-bottom: 18px; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.link-arrow svg { color: var(--gold-head); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--gold-ink); }
.link-arrow:hover svg { transform: translateX(4px); }
@media (max-width: 767.98px) { .lead-person { grid-template-columns: 1fr; } .lp-photo { height: 340px; } .lp-body { padding: 24px 22px; } }

.team-subhead { margin: 56px 0 24px; }
.h-md { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin: 0; }
.scroll-ctrls { display: flex; gap: 10px; flex: none; }
.scroll-ctrls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.scroll-ctrls button { box-shadow: var(--shadow-sm); }
.scroll-ctrls button:hover:not(:disabled) { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.scroll-ctrls button[data-dir="1"]:not(:disabled) { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.scroll-ctrls button[data-dir="1"]:hover:not(:disabled) { background: var(--navy-800); }
.scroll-ctrls button:disabled { opacity: .4; cursor: default; }

.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
@media (max-width: 991.98px) { .h-scroll { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) { .h-scroll { grid-auto-columns: 85%; } }

.member { height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.member:hover { transform: translateY(-4px); border-color: rgba(203,166,98,.6); box-shadow: var(--shadow); }
.m-photo { position: relative; overflow: hidden; background: linear-gradient(180deg, #edf2f7, #d9e2ea); }
.m-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.member:hover .m-photo img { transform: scale(1.04); }
.m-role { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; background: var(--paper); color: var(--navy); font-size: .9375rem; font-weight: 600; border-radius: 999px; padding: 6px 12px 6px 6px; box-shadow: 0 8px 20px rgba(6,29,48,.14); }
.m-role i { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.member .body { position: relative; padding: 18px 22px 22px; }
.member .body::before { content: ""; position: absolute; left: 22px; top: 0; width: 32px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); transition: width .3s var(--ease); }
.member:hover .body::before { width: 64px; }
.member h4 { font-family: var(--head); font-size: 19px; margin: 6px 0 8px; }
.member p { font-size: 1rem; line-height: 1.6; color: var(--steel); margin: 0; }

/* ---------- Reviews ---------- */
.review-featured { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(28px, 3.6vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.review-featured::before { content: "“"; position: absolute; right: 22px; top: -30px; font: 700 13rem/1 var(--head); color: var(--gold); opacity: .14; }
.review-featured blockquote { margin: 0; font-family: var(--head); font-weight: 500; font-size: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem); line-height: 1.35; color: #fff; position: relative; }
.review-small { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.review-small blockquote { margin: 0; font-size: 1.02rem; }
.review-featured cite, .review-small cite { font-style: normal; display: flex; gap: 12px; align-items: center; margin-top: auto; font-size: 1rem; }
.review-featured cite { color: var(--on-dark-muted); }
.review-small cite { color: var(--steel); }
.review-featured cite b { color: #fff; display: block; }
.review-small cite b { color: var(--ink); display: block; }
.face { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1rem; background: var(--gold-tint); color: var(--gold-ink); }
.review-featured .face { background: rgba(203,166,98,.18); color: var(--gold); }

/* ---------- Why us: comparison table (Bootstrap .table themed) ---------- */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); max-width: 980px; margin-inline: auto; overflow: hidden; }
.compare { --bs-table-bg: var(--paper); --bs-table-border-color: var(--line); min-width: 640px; font-size: 1rem; }
.compare > :not(caption) > * > * { padding: 18px 22px; }
.compare thead th { --bs-table-bg: #fbfaf7; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 700; vertical-align: middle; }
.compare thead th.us { --bs-table-bg: var(--navy); --bs-table-color: #fff; color: #fff; }
.us-head { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.us-pill { font-size: .875rem; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--gold); color: var(--navy-900); }
.compare tbody th { font-weight: 650; color: var(--navy); width: 30%; }
.compare tbody td { color: var(--steel); }
.compare td.us { --bs-table-bg: var(--gold-tint); font-weight: 600; color: var(--navy); border-left: 2px solid var(--gold); }
.compare thead th.us { border-left: 2px solid var(--gold); }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover > * { --bs-table-bg-state: rgba(10,47,76,.03); }
.compare tbody tr:hover > td.us { --bs-table-bg-state: rgba(203,166,98,.12); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.yes::before, .no::before { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .875rem; font-weight: 800; margin-right: 10px; vertical-align: -1px; }
.yes::before { content: "✓"; background: var(--navy); color: var(--gold); }
.no::before { content: "✕"; background: #f6e3e3; color: var(--no); }

/* ---------- USA & Canada band ---------- */
.photo-band { background: linear-gradient(180deg, rgba(6,29,48,.93), rgba(10,47,76,.9)), url("../images/band-usa-canada.webp") center / cover no-repeat, var(--navy); }
.region-card { --bs-card-bg: rgba(255,255,255,.05); --bs-card-border-color: rgba(203,166,98,.25); --bs-card-color: var(--on-dark); box-shadow: none; backdrop-filter: blur(4px); }
.region-card h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.region-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 1rem; }
.region-card li::marker { color: var(--gold); }
.flag-pill { font-size: .875rem; font-weight: 700; letter-spacing: .08em; background: var(--gold); color: var(--navy-900); padding: 4px 8px; border-radius: 6px; }
.band-note { margin: 26px auto 0; font-size: 1rem; text-align: center; }
.band-note a { color: var(--gold); font-weight: 600; }
.band-note a:hover { color: #fff; }

/* ---------- FAQ (single card, Bootstrap accordion themed) ---------- */
.faq {
  --bs-accordion-bg: var(--paper); --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-padding-y: 1.2rem; --bs-accordion-btn-padding-x: 0;
  --bs-accordion-body-padding-x: 0; --bs-accordion-body-padding-y: 0;
  --bs-accordion-btn-color: var(--ink); --bs-accordion-active-color: var(--navy); --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230a2f4c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23061d30' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --bs-accordion-btn-icon-width: .8rem; --bs-accordion-btn-icon-transform: rotate(45deg);
  max-width: 880px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); padding: 8px clamp(18px, 3vw, 34px); box-shadow: var(--shadow);
}
.faq .accordion-header { margin: 0; font-family: var(--text); }
.faq .accordion-button { font-weight: 650; font-size: 1.04rem; gap: 14px; line-height: 1.4; transition: color .2s; }
.faq .accordion-button:hover { color: var(--navy); }
.faq .accordion-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq-n { flex: none; min-width: 26px; font-family: var(--head); font-size: .9375rem; font-weight: 700; color: var(--gold-head); }
.faq .accordion-button::after { width: 30px; height: 30px; border-radius: 50%; background-color: var(--tint); background-position: center; flex: none; transition: transform .25s var(--ease), background-color .2s; }
.faq .accordion-button:not(.collapsed)::after { background-color: var(--gold); }
.faq .accordion-body { color: var(--steel); padding: 16px 44px 22px 40px; }
.faq .accordion-item:last-child { border-bottom: 0; }
@media (max-width: 575.98px) { .faq .accordion-body { padding: 14px 0 20px; } }

/* ---------- Blog (static article previews) ---------- */
.b-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(203,166,98,.6); }
.b-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.b-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.b-card:hover .b-img img { transform: scale(1.05); }
.b-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 20px; }
.b-cat { align-self: flex-start; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-tint); padding: 5px 11px; border-radius: 999px; }
.b-card h3 { font-size: 1.2rem; line-height: 1.3; margin: 2px 0 0; }
.b-card p { color: var(--steel); font-size: 1rem; margin: 0 0 6px; }
.b-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--steel); }
.b-meta span { display: inline-flex; align-items: center; gap: 6px; }
.b-meta svg { color: var(--gold-head); }

/* ---------- Final CTA ---------- */
.final-cta { padding-block: var(--section-y); overflow: hidden; background: radial-gradient(800px 420px at 0% 100%, rgba(203,166,98,.16), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); }
.final-cta .img-frame { aspect-ratio: 4 / 4.4; }
.checklist { margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--on-dark); }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border: 2px solid var(--gold); border-radius: 6px; background: rgba(203,166,98,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23cba662' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); font-size: 1rem; padding-block: 0 28px; border-top: 4px solid var(--gold); }
.site-footer a { color: var(--on-dark); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo img { height: 52px; }
.site-footer h4 { color: #fff; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.site-footer h4::after { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.site-footer ul { display: grid; gap: 10px; margin: 0; }
.site-footer ul:not(.footer-badges) a { display: inline-block; transition: color .15s, transform .2s var(--ease); }
.site-footer ul:not(.footer-badges) a:hover { transform: translateX(4px); }
.footer-2col { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-2col a { white-space: nowrap; }
@media (min-width: 992px) { .footer-main > .col-lg-3:first-child { padding-right: 24px; } }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; margin: 0 0 56px; padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3.5vw, 44px); border-radius: 0 0 24px 24px; background: radial-gradient(600px 260px at 100% 0%, rgba(203,166,98,.22), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-800) 100%); border: 1px solid rgba(203,166,98,.25); border-top: 0; }
.footer-cta > div:first-child { flex: 1 1 420px; }
.footer-cta .tag-line { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin: 8px 0; }
.footer-cta .hl { color: var(--gold); }
.footer-cta p { margin: 0; color: var(--on-dark-muted); }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .footer-cta .btn-primary { color: var(--navy-900); }
.footer-about { margin: 18px 0 18px; max-width: 360px; line-height: 1.65; }
.footer-badges { gap: 8px !important; margin-bottom: 12px !important; }
.footer-badges li { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: .9375rem; }
.footer-badges svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(203,166,98,.18); color: var(--gold); }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-weight: 600; font-size: 1rem; }
.footer-mail .fm-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); flex: none; }
.footer-mail .fm-ic svg { width: 14px; height: 14px; }
.footer-mail:hover { color: var(--gold) !important; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid rgba(203,166,98,.2); margin-top: 52px; padding-top: 22px; font-size: .9375rem; }

/* ---------- Sticky mobile CTA + back to top ---------- */
.mobile-cta { background: var(--paper); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(10,47,76,.1); z-index: 1020; }
.mobile-cta .btn { --bs-btn-padding-y: 13px; --bs-btn-padding-x: 10px; --bs-btn-font-size: .9375rem; }
@media (max-width: 767.98px) { body { padding-bottom: 76px; } }
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 1025; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: var(--gold); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-800); }
@media (max-width: 767.98px) { .to-top { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); right: 14px; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease) var(--d, 0s), transform .6s var(--ease) var(--d, 0s); }
.js .stagger.in-view > * { opacity: 1; transform: none; }
.js .stagger > :nth-child(2) { --d: .07s; }
.js .stagger > :nth-child(3) { --d: .14s; }
.js .stagger > :nth-child(4) { --d: .21s; }
.js .stagger > :nth-child(5) { --d: .28s; }
.js .stagger > :nth-child(6) { --d: .35s; }
.js .stagger > :nth-child(7) { --d: .42s; }
.js .stagger > :nth-child(8) { --d: .49s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js .pipeline .bar span { transform: none; }
}

/* ---------- Thank-you page ---------- */
.ty-hero { position: relative; overflow: hidden; color: var(--on-dark); padding-block: clamp(64px, 9vw, 120px);
  background: radial-gradient(900px 480px at 50% 0%, rgba(203,166,98,.2) 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); }
.ty-box { max-width: 780px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.ty-box h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); margin-bottom: 16px; }
.ty-box .lede { color: var(--on-dark); max-width: 62ch; }
.ty-box .lede a { color: var(--gold); }
.ty-box .eyebrow { color: var(--gold); }
.ty-check { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; color: var(--navy-900); background: var(--gold); box-shadow: 0 0 0 10px rgba(203,166,98,.18), 0 0 0 22px rgba(203,166,98,.08); animation: ty-pop .6s var(--ease) both; }
@keyframes ty-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty-step .card-body { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ty-num { position: absolute; top: 16px; right: 18px; font-family: var(--head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--gold-tint); }
.ty-step .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.ty-step .when { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); margin-top: 4px; }
.ty-step h3 { margin: 0; }
.ty-step p { color: var(--steel); margin: 0; }
.ty-list { display: grid; gap: 12px; margin: 20px 0 22px; }
.ty-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-weight: 500; }
.ty-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23cba662' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ty-calendar { min-height: 360px; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 32px; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.ty-cal-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-ink); }
.ty-calendar h3 { margin: 4px 0 0; }
.ty-calendar p { color: var(--steel); margin: 0 0 8px; }

/* GoHighLevel form inside the hero card */
.ghl-form { margin: 0; }
.ghl-form iframe { display: block; width: 100%; }

/* Hero CTA buttons (between the checklist and the reviews badge) */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
@media (max-width: 575.98px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* Team: single featured person */
.lead-person--solo { grid-template-columns: 320px 1fr; }
.lead-person--solo .lp-photo { min-height: 360px; }
.lead-person--solo .lp-body { padding: clamp(28px, 3.5vw, 44px); justify-content: center; }
.lead-person--solo h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.lead-person--solo p { font-size: 1.02rem; }
.lead-person--solo .link-arrow { margin-top: 8px; }
@media (max-width: 767.98px) { .lead-person--solo { grid-template-columns: 1fr; } .lead-person--solo .lp-photo { min-height: 0; height: 360px; } }

/* Hero ticks: 2 left + 2 right */
.hero-ticks--grid { grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(2, auto); grid-auto-flow: column; column-gap: 32px; row-gap: 12px; }
@media (max-width: 575.98px) { .hero-ticks--grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

/* ---------- Fix sheet (Oct 2026) ---------- */
/* #6 faster, earlier reveal: 0.3s, no long stagger */
.js .reveal, .js .stagger > * { transform: translateY(12px); transition-duration: .3s; transition-delay: 0s; }
.js .stagger > :nth-child(n) { --d: 0s; }
/* #11 tiles and chips don't link anywhere yet: no hover zoom or pointer */
.chips span:hover, .chips a:hover { border-color: var(--line); background: var(--paper); color: var(--ink); }
/* Consent line under the GHL form */
.form-consent { color: var(--steel); font-size: .875rem; line-height: 1.5; text-align: center; margin: 4px 0 0; }
.form-consent a { color: var(--gold-ink); text-decoration: underline; }
/* #21 form inside the final CTA */
.final-cta .banner-form { box-shadow: var(--shadow-lg); }
.final-alt { margin: 22px 0 0; color: var(--on-dark); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
/* Footer legal row */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { color: var(--on-dark); }
.footer-legal a:hover { color: var(--gold); }
/* Legal pages (privacy policy, terms and conditions) */
.legal-hero { background: var(--cream); padding-block: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); margin-bottom: 6px; }
.legal-wrap { padding-top: clamp(40px, 5vw, 64px); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-sm); }
.legal-toc-title { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding: 0 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 10px; border-radius: 8px; font-size: 1rem; line-height: 1.35; color: var(--steel); text-decoration: none; border-left: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--head); font-weight: 700; font-size: .875rem; color: var(--gold-head); padding-top: 1px; }
.legal-toc a:hover { background: var(--tint); color: var(--navy); }
.legal-toc a.is-active { background: var(--gold-tint); color: var(--navy); font-weight: 600; border-left-color: var(--gold); }
@media (max-width: 991.98px) { .legal-toc { position: static; } .legal-toc ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .legal-toc ol { grid-template-columns: 1fr; } }

.legal-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.legal-intro { font-size: 1.08rem; line-height: 1.7; color: var(--ink); background: var(--tint); border-left: 4px solid var(--navy); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 0 0 8px; max-width: none; }
.legal-sec { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-sec:first-of-type { border-top: 0; margin-top: 16px; padding-top: 16px; }
.legal-sec h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); margin: 0 0 14px; }
.legal-n { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-family: var(--head); font-size: .9375rem; font-weight: 700; background: var(--navy); color: var(--gold); }
.legal-sec p, .legal-sec li { color: var(--steel); max-width: 72ch; }
.legal-sec p:last-child { margin-bottom: 0; }
.legal-sec ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.legal-sec ul li { position: relative; padding-left: 26px; }
.legal-sec ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2385672c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.legal-sec strong { color: var(--navy); }
.legal-sec a, .legal-intro a { color: var(--gold-ink); }
.legal-note { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-tint); border: 1px solid rgba(203,166,98,.45); border-radius: 12px; padding: 14px 16px; margin-top: 16px; color: var(--gold-ink); }
.legal-note svg { flex: none; margin-top: 2px; }
.legal-note p { margin: 0; color: var(--navy); font-weight: 600; }
.legal-contact { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); border-radius: var(--radius-lg); padding: 24px 28px; color: var(--on-dark); }
.legal-contact-ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(203,166,98,.16); color: var(--gold); }
.legal-contact > div { flex: 1 1 260px; }
.legal-contact h3 { color: #fff; font-size: 1.15rem; margin: 0 0 4px; }
.legal-contact p { margin: 0; color: var(--on-dark-muted); font-size: 1rem; }

/* Second GHL form (final CTA): keep its height even before GHL's script resizes it */
#final-audit .ghl-form iframe { min-height: 420px; }
/* Final CTA form card: big heading like the hero form (navy on white, not the section's white text) */
.final-cta .banner-form h2 { color: var(--navy); }
.final-cta .banner-form .sub { color: var(--steel); }

/* ---------- Blog: clickable cards ---------- */
.b-card { position: relative; }
.b-img { display: block; }
.b-card h3 a.b-link { color: inherit; text-decoration: none; }
.b-card h3 a.b-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card clickable */
.b-card:hover h3 a.b-link { color: var(--gold-ink); }
.b-card:hover .b-img img { transform: scale(1.05); }
.b-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 1rem; color: var(--navy); margin-top: 4px; }
.b-card:hover .b-more .arrow { transform: translateX(4px); }
.b-more .arrow { transition: transform .2s var(--ease); }
.b-meta { margin-top: auto; }
.b-body { gap: 10px; }

/* ---------- Single post ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 1100; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-600)); }
.post-hero { position: relative; overflow: hidden; color: var(--on-dark); text-align: center; padding-block: clamp(40px, 5vw, 64px) clamp(170px, 18vw, 240px);
  background: radial-gradient(800px 400px at 50% 0%, rgba(203,166,98,.18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); }
.post-hero .b-cat { margin-bottom: 16px; background: rgba(203,166,98,.18); color: var(--gold); }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); max-width: 920px; margin: 0 auto 14px; }
.post-dek { color: var(--on-dark); font-size: 1.12rem; max-width: 680px; margin: 0 auto 22px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: .9375rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.post-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; color: var(--on-dark); font-size: 1rem; padding: 8px 18px 8px 8px; border: 1px solid rgba(203,166,98,.3); border-radius: 999px; background: rgba(255,255,255,.05); }
.post-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta svg { color: var(--gold); }
.post-author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.post-author strong { color: #fff; }
@media (max-width: 575.98px) { .post-meta { border-radius: 16px; padding: 10px 14px; } }

.post-wrap { background: var(--paper); padding-bottom: var(--section-y); }
.post-cover { margin: calc(clamp(170px, 18vw, 240px) * -1 + 40px) 0 clamp(36px, 5vw, 60px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21 / 9; background: var(--tint); position: relative; z-index: 2; border: 6px solid var(--paper); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .post-cover { aspect-ratio: 16 / 10; border-width: 4px; } }

.post-body { font-size: 1.1rem; line-height: 1.8; color: #34424f; max-width: 720px; }
.post-body > p:first-child { font-size: 1.22rem; color: var(--ink); line-height: 1.7; }
/* Nov 8 2026: drop cap removed from the Short answer box (it split the first word, e.g. "I f"). */
.post-body p { max-width: none; margin-bottom: 1.15em; }
.post-body h2 { font-size: clamp(1.45rem, 1.25rem + .7vw, 1.85rem); margin: 1.9em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); display: flex; align-items: center; gap: 12px; }
.post-body h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--gold); flex: none; }
.post-body strong { color: var(--navy); }
.post-body ul, .post-body ol { padding-left: 0; margin: 0 0 1.3em; display: grid; gap: 12px; list-style: none; }
.post-body ul li { position: relative; padding-left: 32px; }
.post-body ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23cba662' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.post-body ol { counter-reset: n; gap: 0; }
.post-body ol li { position: relative; padding: 14px 0; counter-increment: n; border-bottom: 1px solid var(--line); }
.post-body ol li:last-child { border-bottom: 0; }
.post-body ol[start] { counter-reset: n calc(var(--start, 1) - 1); }
.post-body blockquote { position: relative; margin: 2em 0; padding: 28px 30px 28px 70px; background: var(--gold-tint); border-radius: 18px; font-family: var(--head); font-size: 1.32rem; line-height: 1.45; color: var(--navy); font-weight: 600; }
.post-body blockquote::before { content: "“"; position: absolute; left: 22px; top: 10px; font-size: 4.2rem; line-height: 1; color: var(--gold-head); }

.post-end-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 40px; padding: 26px 28px; border-radius: var(--radius-lg); color: var(--on-dark); background: radial-gradient(500px 220px at 100% 0%, rgba(203,166,98,.22), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); max-width: 720px; }
.post-end-cta > div { flex: 1 1 300px; }
.post-end-cta .tag-line { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post-end-cta h3 { color: #fff; font-size: 1.35rem; margin: 6px 0; }
.post-end-cta .hl { color: var(--gold); }
.post-end-cta p { margin: 0; color: var(--on-dark-muted); font-size: 1rem; }

.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 720px; }
.post-share > span { font-weight: 650; color: var(--navy); margin-right: 6px; }
.post-share a, .post-share button { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font-weight: 800; font-size: .9375rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.post-share a:hover, .post-share button:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.copy-link .copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: .875rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.copy-link.is-copied .copied { opacity: 1; }

.post-author-box { display: flex; gap: 20px; align-items: center; margin-top: 28px; padding: 26px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); background: var(--bg); max-width: 720px; }
.post-author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px var(--gold-tint); }
.post-author-box .role { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.post-author-box h3 { font-size: 1.25rem; margin: 2px 0 4px; }
.post-author-box p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 575.98px) { .post-author-box { flex-direction: column; align-items: flex-start; } }

.post-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.post-toc { position: static; }
.post-cta { border-radius: var(--radius-lg); padding: 26px; color: var(--on-dark); background: radial-gradient(400px 200px at 100% 0%, rgba(203,166,98,.22), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); box-shadow: var(--shadow); }
.post-cta .tag-line { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post-cta h3 { color: #fff; font-size: 1.35rem; margin: 10px 0; }
.post-cta .hl { color: var(--gold); }
.post-cta p { color: var(--on-dark-muted); font-size: 1rem; margin-bottom: 18px; }
@media (max-width: 991.98px) { .post-side { position: static; } .post-toc { display: none; } }

/* Footer top spacing when there is no CTA band (homepage) */
.site-footer .footer-main { padding-top: 64px; }

/* Specialty tiles: hover effect (tiles aren't links yet, so no pointer cursor) */
.tile { transition: transform .35s var(--ease), box-shadow .35s; box-shadow: var(--shadow-sm); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 2px solid var(--gold); border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile::after { transition: background .4s; }
.tile .t { transition: transform .35s var(--ease); }
.tile .t b { position: relative; padding-bottom: 8px; }
.tile .t b::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(6,29,48,.55); }
.tile:hover::before { opacity: 1; }
.tile:hover::after { background: linear-gradient(180deg, rgba(6,29,48,.1) 20%, rgba(6,29,48,.95) 100%); }
.tile:hover img { transform: scale(1.08); }
.tile:hover .t { transform: translateY(-6px); }
.tile:hover .t b::after { transform: scaleX(1); }
@media (hover: none) { .tile:hover, .tile:hover .t, .tile:hover img { transform: none; } }

/* Line of copy above a simple CTA button pair */
.cta-lead { text-align: center; font-weight: 600; color: var(--navy); margin: clamp(32px,4vw,48px) auto -18px; max-width: 640px; }
.section--dark .cta-lead { color: #fff; }

/* ---------- Contact page ---------- */
.contact-wrap { padding-top: clamp(40px, 5vw, 64px); }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
a.contact-item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.ci-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.contact-item small { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px; }
.contact-item b { display: block; color: var(--navy); font-size: 1.05rem; word-break: break-word; }
.contact-item em { display: block; font-style: normal; color: var(--steel); font-size: 1rem; margin-top: 2px; }
.contact-next { margin-top: 18px; padding: 26px; border-radius: var(--radius-lg); color: var(--on-dark); background: radial-gradient(400px 200px at 100% 0%, rgba(203,166,98,.2), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); }
.contact-next h3 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.contact-next .hl { color: var(--gold); }
.contact-next ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-next li { counter-increment: s; position: relative; padding-left: 44px; color: var(--on-dark-muted); font-size: 1rem; }
.contact-next li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); font-family: var(--head); font-weight: 700; font-size: .9375rem; }
.contact-next li b { display: block; color: #fff; }
#contact-form .ghl-form iframe { min-height: 420px; }
.contact-q h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-q p { color: var(--steel); margin: 0; }
@media (max-width: 420px) { .contact-item { padding: 18px; gap: 12px; } .ci-ic { width: 42px; height: 42px; } .contact-item b { font-size: 1rem; } }

/* Header menu: centred between logo and button, uppercase on desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-link { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem !important; font-weight: 650 !important; }
  .navbar-nav { gap: 4px; }
}
@media (max-width: 991.98px) { .header-cta { width: 100%; } }

/* Inner-page title band (contact, blog, privacy, terms): dark navy like the footer */
.legal-hero { background: radial-gradient(800px 360px at 50% 0%, rgba(203,166,98,.16), transparent 60%), var(--navy-900); border-bottom: 4px solid var(--gold); color: var(--on-dark); }
.legal-hero h1 { color: #fff; }
.legal-hero .hl { color: var(--gold); }
.legal-hero .eyebrow { color: var(--gold); }
.legal-hero .lede { color: var(--on-dark); }
.legal-hero .muted { color: var(--on-dark-muted); }

/* ---------- Blog post: callouts, tables, sub-headings, charts ---------- */
.post-body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; color: var(--navy); }
.post-callout { margin: 1.6em 0; padding: 18px 22px; background: var(--tint); border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; }
.post-callout p { margin: 0; color: var(--ink); }
.post-callout a, .post-body a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.post-table { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 520px; }
.post-table th { background: var(--navy); color: #fff; text-align: left; font-weight: 650; padding: 12px 16px; font-size: 1rem; }
.post-table td { padding: 11px 16px; border-top: 1px solid var(--line); color: #34424f; vertical-align: top; }
.post-table tbody tr:nth-child(even) td { background: var(--bg); }

.pchart { margin: 1.8em 0; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.pchart figcaption { display: grid; gap: 2px; margin-bottom: 16px; }
.pchart figcaption b { font-family: var(--head); color: var(--navy); font-size: 1.05rem; }
.pchart figcaption span { color: var(--steel); font-size: .9375rem; }
.pc-rows { display: grid; gap: 4px; }
.pc-row, .pc-axis { display: grid; grid-template-columns: minmax(130px, 34%) 1fr 76px; gap: 12px; align-items: center; }
.pc-row { padding: 6px 4px; border-radius: 8px; outline: none; }
.pc-row:hover, .pc-row:focus-visible { background: var(--bg); }
.pc-label { font-size: .9375rem; color: var(--ink); line-height: 1.3; }
.pc-val { font-size: .9375rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-track { position: relative; height: 14px; background: var(--tint); border-radius: 7px; }
.pc-bar { position: absolute; top: 0; bottom: 0; background: #2a6496; border-radius: 4px; }
.pc-bar.pc-open { border-radius: 4px 0 0 4px; -webkit-mask-image: linear-gradient(90deg, #000 70%, rgba(0,0,0,.35)); mask-image: linear-gradient(90deg, #000 70%, rgba(0,0,0,.35)); }
.pc-row:hover .pc-bar, .pc-row:focus-visible .pc-bar { background: #1f4f78; }
.pc-axis { margin-top: 4px; }
.pc-ticks { position: relative; height: 18px; border-top: 1px solid var(--line); }
.pc-ticks span { position: absolute; top: 4px; transform: translateX(-50%); font-size: .875rem; color: var(--steel); }
.pc-steps { background: repeating-linear-gradient(90deg, var(--tint) 0 calc(20% - 2px), var(--paper) calc(20% - 2px) 20%); }
.pc-steplabels { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); padding-top: 4px; }
.pc-steplabels span { font-size: .875rem; color: var(--steel); text-align: center; line-height: 1.2; }
@media (max-width: 575.98px) { .pc-row, .pc-axis { grid-template-columns: 1fr 64px; } .pc-row .pc-label { grid-column: 1 / -1; } .pc-axis .pc-label { display: none; } .pc-track, .pc-ticks, .pc-steplabels { grid-column: 1; } }

.pj { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pj-step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; }
.pj-step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 18px; color: var(--gold-head); font-weight: 700; z-index: 1; }
.pj-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .875rem; font-weight: 700; margin-right: 8px; }
.pj-step b { font-family: var(--head); color: var(--navy); font-size: 1.02rem; }
.pj-step ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.pj-step li { font-size: .9375rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; line-height: 1.3; }
.pj-step li::before { display: none; }
@media (max-width: 767.98px) { .pj { grid-template-columns: 1fr 1fr; } .pj-step::after { display: none; } }

.pv { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pv-row { display: grid; grid-template-columns: 26% 1fr 1fr; }
.pv-row > span { padding: 12px 14px; font-size: 1rem; border-top: 1px solid var(--line); color: var(--ink); }
.pv-head > span { border-top: 0; font-weight: 700; color: var(--navy); background: var(--bg); display: flex; align-items: center; gap: 8px; }
.pv-k { font-weight: 650; color: var(--navy) !important; background: var(--bg); }
.pv-a { border-left: 3px solid #2a6496; }
.pv-b { border-left: 3px solid #c0821f; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.sw-a { background: #2a6496; } .sw-b { background: #c0821f; }

.lc { width: 100%; height: auto; display: block; }
.lc-grid { stroke: var(--line); stroke-width: 1; }
.lc-tick { font-size: .875rem; fill: var(--steel); font-family: var(--text); }
.lc-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.lc-line.lc-a { stroke: #2a6496; } .lc-line.lc-b { stroke: #c0821f; }
.lc-dot { stroke: var(--paper); stroke-width: 2; cursor: default; }
.lc-dot.lc-a { fill: #2a6496; } .lc-dot.lc-b { fill: #c0821f; }
.lc-dot:hover { r: 7; }
.lc-lab { font-size: .9375rem; font-weight: 700; font-family: var(--text); fill: var(--ink); }
.lc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-bottom: 8px; font-size: .9375rem; color: var(--ink); }
.lc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lc-legend em { font-style: normal; color: var(--steel); font-size: .9375rem; margin-left: auto; }
.pc-speed .pc-row, .pc-speed .pc-axis { grid-template-columns: minmax(130px, 32%) 1fr 104px; }
.pc-speed .pc-val { white-space: nowrap; }
/* Post summary under the title: wider, so it sits on 2 even lines */
.post-dek { max-width: 860px; text-wrap: balance; }


/* ===== Audit fixes, Oct 31 2026 ===== */
/* numbered lists in blog posts */
.post-body ol > li { padding-left: 44px; }
.post-body ol > li::before { content: counter(n); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .85rem/28px var(--font-head, inherit); text-align: center; }
.post-disclaimer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted, #5b6b7a); }
/* tables never push the page sideways */
.post-table { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 575.98px) {
  .pc-row, .pc-axis { grid-template-columns: minmax(0, 1fr) auto; }
  .pc-row > *, .pc-axis > * { min-width: 0; }
  .post-body h3 { font-size: 1.2rem; }
}
.post-body h3 { font-size: 1.3rem; }
/* contrast: dark gold on light backgrounds */
.steps3 .num, .tile .t span, .band-note a { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(203,166,98,.55); }
.site-footer :focus-visible, .bg-navy :focus-visible { outline-color: #fff; }
/* footer column headings (no longer h4) */
.site-footer .ft-h { color: #fff; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.site-footer .ft-h::after { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
/* long email addresses never break mid-word */
main a[href^="mailto:"] { overflow-wrap: anywhere; }
.site-footer .footer-mail { white-space: nowrap; font-size: .9375rem; overflow-wrap: normal; }
@media (max-width: 575.98px) { .contact-side a[href^="mailto:"], .sx-call-card a[href^="mailto:"] { font-size: 1rem; } }
/* shared CTA band (blog hub, thank-you, 404) */
.mfs-band { background: var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.mfs-band h2 { color: #fff; margin-bottom: .6rem; }
.mfs-band p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 1.4rem; }
.mfs-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mfs-band .note { font-size: .9375rem; margin: 1rem 0 0; color: rgba(255,255,255,.7); }
.mfs-band .note a { color: var(--gold); }
/* blog hub category filter */
.b-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 32px; }
.b-filter button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 16px; font-size: .9375rem; font-weight: 600; }
.b-filter button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.b-feat .b-card { display: grid; grid-template-columns: 1.15fr 1fr; }
.b-feat .b-img img { height: 100%; object-fit: cover; }
.b-feat .b-body { padding: 32px; align-self: center; }
.b-feat h3 { font-size: 1.6rem; }
@media (max-width: 767.98px) { .b-feat .b-card { grid-template-columns: 1fr; } .b-feat .b-body { padding: 22px; } }
/* thank-you / 404 next steps */
.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.ty-steps li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; counter-increment: s; }
.ty-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 12px; }
.ty-steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.ty-steps p { margin: 0; font-size: 1rem; }
.ty-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ty-links a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: var(--navy); font-weight: 600; text-decoration: none; }
.ty-links a:hover { border-color: var(--gold); }
.ty-links small { display: block; color: var(--gold-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; margin-bottom: 4px; }
@media (max-width: 767.98px) { .ty-steps, .ty-links { grid-template-columns: 1fr; } }

/* footer social icons */
.site-footer .footer-social { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; }
.site-footer .footer-social li { margin: 0; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
/* consent bar (only renders when GTM is on) */
.mfs-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1080; max-width: 720px; margin: 0 auto; background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.mfs-consent[hidden] { display: none; }
.mfs-consent p { margin: 0; font-size: 1rem; color: rgba(255,255,255,.88); }
.mfs-consent a { color: var(--gold); }
.mfs-consent-btns { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 767.98px) { .mfs-consent { flex-direction: column; align-items: stretch; bottom: 84px; } .mfs-consent-btns .btn { flex: 1; } }

/* ===== AEO + mobile polish, Oct 31 2026 (afternoon) ===== */
/* blog: first paragraph is the short answer */
.post-body > p.post-answer { position: relative; background: var(--tint, #eef3f8); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 30px 22px 18px; font-size: 1.05rem; color: var(--navy); }
.post-body > p.post-answer::before { content: "Short answer"; position: absolute; top: 10px; left: 22px; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
/* homepage short answer */
.home-answer { padding: 36px 0 0; background: var(--tint, #eef3f8); }
.home-answer-box { max-width: 900px; margin: 0 auto; background: #fff; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; padding: 18px 22px; font-size: 1.02rem; color: var(--navy); box-shadow: 0 6px 18px rgba(10,47,76,.05); }
.home-answer-box b { color: var(--gold-ink); }
/* blog: table of contents on mobile */
.post-toc-m { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.post-toc-m summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); list-style: none; }
.post-toc-m summary::-webkit-details-marker { display: none; }
.post-toc-m summary::after { content: "+"; float: right; color: var(--gold-ink); font-weight: 800; }
.post-toc-m[open] summary::after { content: "\2212"; }
.post-toc-m ol { margin: 0; padding: 0 18px 16px 38px; }
.post-toc-m li { margin: 6px 0; }
.post-toc-m a { color: var(--navy); text-decoration: none; }
/* tables: swipe hint when wider than the screen */
.post-table.is-scroll { position: relative; }
.post-table.is-scroll::before { content: "Swipe to see the full table \2192"; display: block; font-size: .875rem; font-weight: 700; color: var(--gold-ink); margin: 0 0 6px; }
/* homepage card rows become swipeable on phones (shorter page) */
@media (max-width: 767.98px) {
  .m-swipe { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; margin-right: -16px; }
  .m-swipe > .col { flex: 0 0 84%; max-width: 84%; scroll-snap-align: start; }
  .m-swipe::-webkit-scrollbar { height: 4px; }
  .m-swipe::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
}
/* hero buttons on small phones */
@media (max-width: 420px) {
  .hero-ctas .btn, .hero-banner .btn { font-size: .9375rem; padding-left: 16px; padding-right: 16px; }
}

/* Nov 1 readability pass: contrast fixes (text sizes were raised in every stylesheet the same day) */
#territory .eyebrow, .vx-territory .eyebrow { color: var(--gold); }
.engine.alt a { color: var(--gold); }
.engine.alt .tag { color: var(--gold-ink); }
.decide p a { color: var(--navy); text-decoration: underline; }
.faq-n { color: var(--gold-ink); }
.vx-answer .who, .vx-answer figcaption, .vx-answer-q .who, .vx-audit small, .vx-browser .vx-url, figure.vx-answer figcaption { color: #56677a; }
.vx-chip.warn { background: #a8740c; }
.vx-chip.good { background: #237a4c; }
.vx-chip.bad { background: #b23f29; }
.vx-jcap { display: none; }
.vx-map .vx-city em { font-size: .78rem; }
.vx-city[title^="Vancouver"] em { display: none; }

/* Nov 8 2026: in-body designed graphics for blog posts (see claude/mfs-blog-image-style.md) */
.post-body .post-fig{margin:32px 0}
.post-body .post-fig img{display:block;width:100%;height:auto;border-radius:var(--radius-lg,16px);border:1px solid var(--line);box-shadow:0 10px 30px rgba(10,47,76,.08);background:var(--cream)}
.post-body .post-fig figcaption{margin-top:10px;font-size:.875rem;line-height:1.5;color:var(--text);opacity:.85}
