/* Self-hosted Migracon fonts (latin only) — no Google Fonts CDN */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-500-600-700-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  /* optional + preload: avoid late font swap shifting LCP headline metrics */
  font-display: optional;
  src: url("/assets/fonts/fraunces-latin-600-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Migracon local marketing site — Modern 3D, responsive */

:root {
  --color-maple-red: #e11d2e;
  --color-maple-deep: #9b1322;
  --color-maple-facet: #c41b2b;
  --color-leaf-white: #f5f7fa;
  --color-globe-blue: #3e86b5;
  --color-globe-deep: #2b5f84;
  --color-wordmark: #8a97a8;
  --color-tagline: #e25a3c;
  --color-ink: #0b1018;

  --surface-0: #e8eef6;
  --surface-1: #ffffff;
  --surface-2: #dfe7f1;
  --surface-hero: #0a1220;

  --text-primary: #0b1018;
  --text-secondary: #334155;
  --text-muted: #5b6b7c;
  --text-on-dark: #f5f7fa;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-1:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(11, 16, 24, 0.04),
    0 10px 24px rgba(11, 16, 24, 0.08),
    0 2px 6px rgba(11, 16, 24, 0.04);
  --shadow-2:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 18px 44px rgba(11, 16, 24, 0.14),
    0 4px 12px rgba(11, 16, 24, 0.06);
  --shadow-3:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 28px 64px rgba(11, 16, 24, 0.18);
  --shadow-red:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px rgba(225, 29, 46, 0.32),
    0 4px 10px rgba(155, 19, 34, 0.2);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 240ms;
  --max: 1120px;
  --page-pad: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --topbar-h: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Themed vertical scrollbar — maple red on cool slate track */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-maple-red) #d5dee9;
}

body {
  margin: 0;
  min-width: 0;
  scrollbar-gutter: stable;
  font-family: var(--font-body);
  color: var(--text-primary);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(225, 29, 46, 0.08), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(62, 134, 181, 0.12), transparent 50%),
    var(--surface-0);
  line-height: 1.55;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-maple-facet) transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, #e8eef6 0%, #d5dee9 50%, #cfd9e6 100%);
  border-left: 1px solid rgba(11, 16, 24, 0.06);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, var(--color-maple-red), var(--color-maple-deep));
  border-radius: 999px;
  border: 3px solid #d5dee9;
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(155, 19, 34, 0.25);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, #f0283a, var(--color-maple-deep));
  border-color: #cfd9e6;
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--color-maple-deep), #7a0f1a);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: #d5dee9;
}

/* Nested panels / menus — thinner matching scroller */
.nav-mega__shell::-webkit-scrollbar,
.site-nav::-webkit-scrollbar,
.prose::-webkit-scrollbar,
.side-panel::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.nav-mega__shell::-webkit-scrollbar-thumb,
.site-nav::-webkit-scrollbar-thumb,
.prose::-webkit-scrollbar-thumb,
.side-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-maple-facet), var(--color-maple-deep));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.nav-mega__shell::-webkit-scrollbar-track,
.site-nav::-webkit-scrollbar-track,
.prose::-webkit-scrollbar-track,
.side-panel::-webkit-scrollbar-track {
  background: rgba(11, 16, 24, 0.04);
  border-radius: 999px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-globe-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--color-maple-red);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(var(--max), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

/* Header — Modern 3D chrome + tree nav */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-bar {
  background: linear-gradient(90deg, #0a1220, #132033 55%, #0f1a2a);
  color: color-mix(in srgb, var(--text-on-dark) 88%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 247, 250, 0.06);
}

.top-bar__inner {
  min-height: var(--topbar-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.top-bar__beat {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.top-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-maple-red);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.25);
  animation: trust-pulse 1.8s ease-in-out infinite;
}

/* Interactive Canadian trust beat */
.trust-beat {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}

.trust-beat__live {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-maple-red);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.22);
  flex-shrink: 0;
  animation: trust-pulse 1.8s ease-in-out infinite;
}

.trust-beat__line {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: opacity 220ms ease, transform 220ms ease;
}

.trust-beat__line.is-swap {
  opacity: 0;
  transform: translateY(4px);
}

.trust-beat__chips {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trust-beat__chip {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

.trust-beat__chip.is-active,
.trust-beat__chip:hover,
.trust-beat__chip:focus-visible {
  background: var(--color-maple-red);
  border-color: transparent;
  color: #fff;
  outline: none;
}

.trust-beat__verify {
  font-weight: 800;
  color: var(--color-maple-facet, #ff7a86);
  text-decoration: none;
  white-space: nowrap;
}

.trust-beat__verify:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-beat--footer,
.trust-beat--side {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 14px 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--surface-2) 55%, #fff) 100%);
  box-shadow: var(--shadow-1);
}

.trust-beat__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-beat__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-maple-deep);
}

.trust-beat__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.trust-beat--footer .trust-beat__line,
.trust-beat--side .trust-beat__line {
  margin: 0;
  min-height: 2.6em;
  color: var(--color-maple-deep);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
}

.trust-beat__hint {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-beat__list {
  display: grid;
  gap: 6px;
}

.trust-beat__item {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: #fff;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.trust-beat__item:hover {
  border-color: color-mix(in srgb, var(--color-maple-red) 35%, transparent);
  transform: translateY(-1px);
}

.trust-beat__item.is-active {
  border-color: color-mix(in srgb, var(--color-maple-red) 45%, transparent);
  background: color-mix(in srgb, var(--color-maple-red) 8%, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-maple-red) 18%, transparent);
}

.trust-beat__num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 16, 24, 0.06);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.trust-beat__item.is-active .trust-beat__num {
  background: var(--color-maple-red);
  color: #fff;
}

.trust-beat__item-text {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.trust-beat--footer .trust-beat__verify,
.trust-beat--side .trust-beat__verify {
  justify-self: start;
  margin-top: 2px;
  color: var(--color-maple-deep);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  border-color: color-mix(in srgb, var(--color-maple-red) 35%, transparent);
}

.trust-beat--footer .trust-beat__verify:hover,
.trust-beat--side .trust-beat__verify:hover {
  text-decoration: none;
  background: color-mix(in srgb, var(--color-maple-red) 8%, #fff);
}

/* Keep compact numbered chips for top bar only */
.trust-beat--footer .trust-beat__chips,
.trust-beat--side .trust-beat__chips {
  display: none;
}

@keyframes trust-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-beat__live,
  .top-bar__dot {
    animation: none;
  }
  .trust-beat__line,
  .trust-beat__item {
    transition: none;
  }
}

.top-bar__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.top-bar__link {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.top-bar__link:hover {
  opacity: 1;
}

.top-bar__link--accent {
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 10%, transparent);
  border: 1px solid rgba(245, 247, 250, 0.16);
  font-weight: 700;
}

.site-header {
  position: relative;
  backdrop-filter: blur(18px) saturate(1.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.88));
  border-bottom: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 28px rgba(11, 16, 24, 0.06);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 1 auto;
}

.brand__mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(165deg, #fff, var(--surface-2));
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-1);
}

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 6px 12px rgba(225, 29, 46, 0.28));
}

.brand__text {
  display: grid;
  min-width: 0;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 28ch;
}

.brand--footer img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px 18px;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

/* Wrapper is layout-transparent on desktop; becomes the scroller on mobile */
.site-nav__scroll {
  display: contents;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.site-nav__link,
.site-nav__branch {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-nav__link:hover,
.site-nav__branch:hover,
.site-nav__link.is-active,
.site-nav__branch.is-active,
.site-nav__branch.is-hot {
  color: var(--color-maple-red);
  background: color-mix(in srgb, var(--color-maple-red) 8%, #fff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-nav__chev {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--dur) var(--ease);
}

.site-nav__pathways {
  position: static;
}

.site-nav__path-triggers {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.site-nav__pathways.is-open .site-nav__branch.is-hot .site-nav__chev {
  transform: rotate(225deg) translateY(-1px);
}

.nav-mega {
  position: absolute;
  left: var(--page-pad);
  right: var(--page-pad);
  top: 100%;
  z-index: 60;
  padding-top: 14px; /* hover bridge — keep pointer connected to triggers */
}

.nav-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
}

.nav-col[hidden] {
  display: none !important;
}

.nav-mega__shell {
  padding: 16px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3);
}

@media (min-width: 1100px) {
  .nav-mega__shell {
    max-height: min(72vh, calc(100dvh - var(--topbar-h) - var(--header-h) - 28px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-col.is-hot {
    max-height: none;
  }
}

.nav-mega__tree {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.nav-col {
  display: none;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(165deg, #fff, color-mix(in srgb, var(--surface-2) 55%, #fff));
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-col.is-hot {
  display: grid;
  border-color: color-mix(in srgb, var(--color-maple-red) 28%, transparent);
  box-shadow: var(--shadow-2);
}

.nav-col[data-mega-col="visit"].is-hot {
  border-color: color-mix(in srgb, var(--color-globe-blue) 35%, transparent);
}

.nav-col[data-mega-col="immigration"].is-hot {
  border-color: color-mix(in srgb, var(--color-tagline) 35%, transparent);
}

.nav-panel__eyebrow {
  margin: 0 4px 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-maple-red);
}

.nav-col[data-mega-col="visit"] .nav-panel__eyebrow {
  color: var(--color-globe-deep);
}

.nav-col[data-mega-col="immigration"] .nav-panel__eyebrow {
  color: var(--color-tagline);
}

.nav-panel__link {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-panel__link strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.nav-panel__link span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-panel__link:hover {
  background: #fff;
  border-color: rgba(11, 16, 24, 0.08);
  transform: translateY(-1px);
}

.nav-panel__link--hub {
  margin-top: 4px;
  border-top: 1px dashed rgba(11, 16, 24, 0.1);
  border-radius: 0 0 12px 12px;
}

.nav-mega__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 16, 24, 0.08);
}

.nav-mega__foot p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-mega__foot .btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
}

.site-nav__cta-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-nav .btn {
  padding: 0 18px;
  min-height: 44px;
  font-size: 0.875rem;
  border-radius: 999px;
}

.site-nav .btn--primary,
.site-nav .btn--primary:hover,
.site-nav .btn--primary:focus-visible {
  color: #fff !important;
}

.site-nav__wa {
  display: none;
  font-weight: 800;
  font-size: 0.875rem;
  color: #128c7e;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 16, 24, 0.1);
  border-radius: 14px;
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
  padding: 0;
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  justify-items: center;
}

.nav-toggle span span,
.nav-toggle__bars > span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(11, 16, 24, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease),
    filter var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn--primary {
  background: linear-gradient(165deg, #ef3344, var(--color-maple-red)) !important;
  color: #fff !important;
  border-color: color-mix(in srgb, var(--color-maple-deep) 35%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(225, 29, 46, 0.28),
    0 2px 6px rgba(155, 19, 34, 0.18);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #fff !important;
  background: linear-gradient(165deg, #f24a58, #b91422) !important;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 28px rgba(225, 29, 46, 0.38),
    0 4px 10px rgba(155, 19, 34, 0.22),
    0 0 0 4px rgba(225, 29, 46, 0.14);
}

.btn--primary:active {
  color: #fff !important;
  transform: translateY(0);
  background: linear-gradient(165deg, var(--color-maple-red), var(--color-maple-deep)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 14px rgba(225, 29, 46, 0.24);
}

.btn--invite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 18px;
  text-align: center;
  width: 100%;
}

.btn-invite__stack {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.btn-invite__label {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-invite__hint {
  font-size: 0.6875rem;
  font-weight: 650;
  opacity: 0.88;
}

.btn--pulse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 28%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 68%
  );
  transform: translateX(-130%);
  pointer-events: none;
}

.btn--pulse:hover::after,
.btn--pulse:focus-visible::after {
  animation: cta-shine 0.85s var(--ease);
}

@keyframes cta-shine {
  to {
    transform: translateX(120%);
  }
}

.site-nav__cta.btn--pulse {
  width: auto;
  min-height: 42px;
  padding-inline: 16px;
}

.side-panel .btn--invite {
  margin-top: 4px;
}

.btn--ghost {
  background: color-mix(in srgb, #fff 12%, transparent);
  color: var(--text-on-dark);
  border-color: rgba(245, 247, 250, 0.28);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: color-mix(in srgb, #fff 20%, transparent);
  color: #fff;
  transform: translateY(-2px);
}

.btn:hover {
  transform: translateY(-1px);
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--color-globe-deep);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 19, 32, 0.2), rgba(11, 19, 32, 0.88)),
    radial-gradient(1200px 600px at 20% 10%, rgba(225, 29, 46, 0.35), transparent 50%),
    radial-gradient(900px 500px at 90% 20%, rgba(62, 134, 181, 0.4), transparent 45%),
    var(--surface-hero);
  color: var(--text-on-dark);
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.hero__glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 55%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.35), transparent 65%);
  filter: blur(40px);
  animation: float-glow 8s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes float-glow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, -24px, 0); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin-inline: 0;
  width: auto;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  width: min(var(--max), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
  padding-block: clamp(48px, 8vh, 88px) 72px;
  min-height: min(88vh, 820px);
}

.hero__visual {
  display: grid;
  place-items: center;
  justify-self: end;
}

.hero__logo-stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero__logo-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(245, 247, 250, 0.18);
  box-shadow:
    0 0 0 12px rgba(225, 29, 46, 0.06),
    inset 0 0 40px rgba(62, 134, 181, 0.12);
  animation: logo-orbit 14s linear infinite;
}

.hero__logo-ring--2 {
  inset: -2%;
  border-color: rgba(225, 29, 46, 0.22);
  box-shadow: none;
  animation-direction: reverse;
  animation-duration: 18s;
}

@keyframes logo-orbit {
  to { transform: rotate(360deg); }
}

.hero__logo-plate {
  position: relative;
  z-index: 1;
  width: min(78%, 260px);
  aspect-ratio: 1;
  border-radius: 32px;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(232, 238, 246, 0.9));
  box-shadow:
    var(--shadow-3),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  animation: card-float 7s var(--ease) infinite alternate;
}

.hero__logo {
  width: 100%;
  height: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(225, 29, 46, 0.28));
}

.hero__logo-caption {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-1);
  z-index: 2;
}

@media (max-width: 899.98px) {
  .hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 40px 56px;
    justify-items: start;
  }

  .hero__visual {
    justify-self: center;
    order: -1;
    width: 100%;
  }

  .hero__logo-stage {
    width: min(220px, 70vw);
  }

  .hero__logo-caption {
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo-ring,
  .hero__logo-plate {
    animation: none !important;
  }
}

.hero__brand {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero h1 {
  margin: 0 0 14px;
  /* Body font for LCP — Manrope is preloaded; Fraunces stays on brand wordmark */
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 18ch;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 42ch;
  color: color-mix(in srgb, var(--text-on-dark) 82%, transparent);
  font-size: 1.0625rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  padding: 48px 0 28px;
  background:
    linear-gradient(165deg, rgba(225, 29, 46, 0.1), transparent 50%),
    linear-gradient(165deg, var(--surface-1), var(--surface-2));
  border-bottom: 1px solid rgba(11, 16, 24, 0.06);
}

.page-hero--visit {
  background:
    linear-gradient(165deg, rgba(62, 134, 181, 0.14), transparent 50%),
    linear-gradient(165deg, var(--surface-1), var(--surface-2));
}

.page-hero h1,
.section__head h2,
.cta-band h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-maple-red);
}

.lede {
  margin: 0 0 20px;
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section--band {
  background: linear-gradient(165deg, var(--surface-1), var(--surface-2));
  border-block: 1px solid rgba(11, 16, 24, 0.06);
}

.section__head {
  margin-bottom: 24px;
  max-width: 48ch;
}

.section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section__head p,
.section-foot {
  color: var(--text-muted);
}

.section-foot {
  margin-top: 28px;
}

.split {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.trust-list li {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(135deg, rgba(245, 247, 250, 0.7), transparent 40%),
    linear-gradient(165deg, rgba(225, 29, 46, 0.1), rgba(62, 134, 181, 0.12));
  box-shadow: var(--shadow-1);
}

.cta-band h2 {
  margin: 0 0 6px;
}

.cta-band p {
  margin: 0;
  color: var(--text-secondary);
}

/* Modern 3D tree */
.mc-tree-list {
  display: grid;
  gap: 12px;
}

.mc-tree {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 16, 24, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(228, 235, 243, 0.92));
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.mc-tree[data-tone="hot"] {
  box-shadow: var(--shadow-1), 0 10px 24px rgba(225, 29, 46, 0.12);
}

.mc-tree[data-tone="warm"] {
  box-shadow: var(--shadow-1), 0 10px 24px rgba(226, 90, 60, 0.12);
}

.mc-tree[data-tone="cold"] {
  box-shadow: var(--shadow-1), 0 10px 24px rgba(62, 134, 181, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .mc-tree:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
}

.mc-tree > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
}

.mc-tree > summary::-webkit-details-marker {
  display: none;
}

.mc-tree > summary::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--dur) var(--ease);
}

.mc-tree[open] > summary::before {
  transform: rotate(45deg);
}

.mc-tree[open] > summary {
  border-bottom: 1px solid rgba(11, 16, 24, 0.08);
}

.mc-tree__mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-globe-blue);
  box-shadow: 0 0 0 4px rgba(62, 134, 181, 0.15);
}

.mc-tree[data-tone="hot"] .mc-tree__mark {
  background: var(--color-maple-red);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.15);
}

.mc-tree[data-tone="warm"] .mc-tree__mark {
  background: var(--color-tagline);
  box-shadow: 0 0 0 4px rgba(226, 90, 60, 0.15);
}

.mc-tree__title {
  flex: 1 1 auto;
  min-width: 0;
}

/* Branch titles are real H2s for SEO; keep accordion summary styling. */
h2.mc-tree__title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.mc-tree__count {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mc-tree__body {
  padding: 14px 16px 18px;
}

.mc-tree__leaves {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text-secondary);
}

.mc-tree__body p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}

/* Form */
.form-shell {
  max-width: 820px;
}

.panel-3d {
  display: grid;
  gap: 14px;
}

.intake-form .mc-tree {
  margin: 0;
}

.form-grid {
  display: grid;
  gap: 14px 16px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field--other-detail {
  grid-column: 1 / -1;
  margin-top: -4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--brand-blue, #3e86b5) 22%, transparent);
  background: color-mix(in srgb, var(--brand-blue, #3e86b5) 6%, #fff);
}

.field--other-detail[hidden] {
  display: none !important;
}

[data-conditional-field][hidden] {
  display: none !important;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #eef2f7;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--text-primary);
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5b6b7c 50%),
    linear-gradient(135deg, #5b6b7c 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  padding-top: 14px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--text-muted) 85%, transparent);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  background: #e8eef6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid #0b5cab;
  outline-offset: 2px;
  background: #fff;
  border-color: color-mix(in srgb, var(--color-maple-deep) 45%, transparent);
  box-shadow:
    0 0 0 4px color-mix(in srgb, #0b5cab 18%, transparent),
    0 10px 24px rgba(11, 16, 24, 0.06);
}

.field-error {
  color: var(--color-maple-deep);
  font-weight: 700;
  font-size: 0.875rem;
}

.req {
  color: var(--color-maple-deep);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.page-hero--assessment {
  position: relative;
  padding: clamp(28px, 5vw, 48px) 0 clamp(12px, 2vw, 20px);
  background:
    radial-gradient(720px 280px at 12% 0%, rgba(225, 29, 46, 0.12), transparent 60%),
    radial-gradient(640px 260px at 92% 10%, rgba(62, 134, 181, 0.14), transparent 55%),
    linear-gradient(180deg, #f5f8fc, #eef2f7 70%, transparent);
  border-bottom: 0;
}

.page-hero--assessment .lede {
  max-width: 42rem;
}

.book-slots {
  margin-top: 8px;
  min-height: 3rem;
}

.book-slots__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.book-slots__btn {
  min-height: 44px;
  min-width: 5.5rem;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 16, 24, 0.12);
  background: #fff;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.book-slots__btn:hover {
  border-color: rgba(62, 134, 181, 0.45);
}

.book-slots__btn.is-selected {
  border-color: rgba(225, 29, 46, 0.55);
  background: rgba(225, 29, 46, 0.06);
  box-shadow: 0 0 0 2px rgba(225, 29, 46, 0.12);
}

.book-slots__btn:focus-visible {
  outline: 2px solid rgba(62, 134, 181, 0.65);
  outline-offset: 2px;
}

.section--intake {
  padding-top: 8px;
  padding-bottom: clamp(48px, 8vw, 88px);
  background:
    linear-gradient(180deg, transparent, #f3f6fa 18%, #eef2f7);
}

.intake-card {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 28px;
  border: 1px solid rgba(11, 16, 24, 0.06);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(11, 16, 24, 0.08);
}

/* Multi-step assessment (CRM-parity wizard) */
.intake-wizard {
  gap: 22px;
}

.intake-stepper {
  display: grid;
  gap: 14px;
  padding: 14px 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7f9fc, #eef3f9);
  border: 1px solid rgba(11, 16, 24, 0.05);
}

.intake-stepper__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.intake-stepper__list:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-stepper__item {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  cursor: default;
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease);
}

.intake-stepper__item.is-reachable {
  cursor: pointer;
  opacity: 0.8;
}

.intake-stepper__item.is-current,
.intake-stepper__item.is-done {
  opacity: 1;
}

.intake-stepper__dot {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-secondary);
  background: #fff;
  border: 2px solid rgba(11, 16, 24, 0.1);
  box-shadow: 0 6px 14px rgba(11, 16, 24, 0.05);
}

.intake-stepper__item.is-current .intake-stepper__dot {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-maple-red), #c41e3a 55%, var(--color-globe-blue));
  box-shadow: 0 10px 22px rgba(225, 29, 46, 0.3);
}

.intake-stepper__item.is-done .intake-stepper__dot {
  color: #fff;
  background: var(--color-maple-red);
  border-color: var(--color-maple-red);
}

.intake-stepper__label {
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--text-secondary);
}

.intake-stepper__item.is-current .intake-stepper__label {
  color: var(--color-maple-red);
}

.intake-stepper__track {
  height: 5px;
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.08);
  overflow: hidden;
}

.intake-stepper__track > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-maple-red), var(--color-globe-blue));
  transition: width 0.35s var(--ease);
}

.intake-step-meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 750;
  color: var(--text-muted);
}

.intake-panel {
  display: grid;
  gap: 16px;
  padding: 2px 2px 0;
}

.intake-panel[hidden] {
  display: none !important;
}

.intake-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
}

.intake-panel__title:focus {
  outline: none;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eef2f7;
  font-weight: 650;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.field-check:hover {
  background: #e8eef6;
}

.field-check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--color-maple-red);
}

.field--danger .field-check {
  color: var(--color-maple-red);
  background: color-mix(in srgb, var(--color-maple-red) 8%, #fff);
}

.field-hint {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--text-muted);
  text-align: right;
}

.field-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.field--span-2 {
  grid-column: 1 / -1;
}

.intake-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(11, 16, 24, 0.06);
}

.intake-wizard-actions .btn--ghost[hidden] {
  display: none;
}

.intake-wizard-actions .btn--primary {
  min-width: min(100%, 240px);
  min-height: 52px;
  border-radius: 999px;
  font-size: 1rem;
}

.intake-wizard-actions .btn--ghost {
  min-height: 48px;
  border-radius: 999px;
}

.intake-trust {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--text-muted);
  text-align: center;
}

.banner__meta {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 639.98px) {
  .intake-stepper__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-card {
    padding: 16px;
    border-radius: 22px;
  }

  .intake-wizard-actions {
    flex-direction: column-reverse;
  }

  .intake-wizard-actions .btn {
    width: 100%;
  }
}

.banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.banner--ok {
  background: rgba(31, 157, 106, 0.12);
  border: 1px solid rgba(31, 157, 106, 0.35);
}

.banner--err {
  background: rgba(225, 29, 46, 0.1);
  border: 1px solid rgba(225, 29, 46, 0.35);
}

.prose {
  max-width: 65ch;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 40px 0 28px;
  background: linear-gradient(180deg, #0f1724, #0b1018);
  color: var(--text-on-dark);
}

.site-footer a {
  color: color-mix(in srgb, var(--text-on-dark) 88%, transparent);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  }
}

.footer-title {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-wordmark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.brand--footer {
  color: inherit;
}

.brand--footer small {
  display: block;
  color: var(--color-wordmark);
  margin-top: 4px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 247, 250, 0.1);
  color: var(--color-wordmark);
  font-size: 0.875rem;
}

.site-footer__legal p {
  margin: 0;
}

/* Soft cookie / AdSense disclosure bar */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(17, 24, 39, 0.96);
  color: #f5f7fa;
  border-top: 1px solid rgba(245, 247, 250, 0.12);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  justify-content: space-between;
}

.cookie-notice__copy {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(245, 247, 250, 0.92);
}

.cookie-notice__copy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice__copy a:hover {
  color: var(--color-maple, #e11d2e);
}

/* Cookie bar is position:fixed — do NOT pad <body> (that was the main CLS hit). */
body.has-cookie-notice .whatsapp-fab,
body.has-cookie-notice .engage-bar {
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

/* Mobile nav — full drawer tree */
@media (max-width: 1099.98px) {
  /* backdrop-filter creates a fixed containing block and collapses the drawer */
  .site-header {
    backdrop-filter: none;
    background: #fff;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    position: relative;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h) + 8px);
    left: var(--page-pad);
    right: var(--page-pad);
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
    height: auto;
    max-height: none;
    /* Clip only — scrolling must live on the inner flex child (Safari) */
    overflow: hidden;
    padding: 14px 14px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 16, 24, 0.1);
    background: linear-gradient(165deg, #fff, var(--surface-2));
    box-shadow: var(--shadow-3);
    z-index: 70;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__scroll {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: 8px;
  }

  /* transform/backdrop on panels break iOS momentum scroll inside drawers */
  .site-nav .panel-3d {
    transform: none;
    backdrop-filter: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-nav__path-triggers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-nav__link,
  .site-nav__branch {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(11, 16, 24, 0.06);
  }

  .nav-mega {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 8px;
  }

  .nav-mega__tree {
    grid-template-columns: 1fr;
  }

  .nav-col.is-hot {
    transform: none;
  }

  .nav-mega__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-mega__foot .btn {
    width: 100%;
  }

  .site-nav__cta-wrap {
    display: grid;
    gap: 10px;
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(11, 16, 24, 0.06);
    background: linear-gradient(165deg, #fff, var(--surface-2));
  }

  .site-nav__cta {
    width: 100%;
  }

  .site-nav__wa {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(18, 140, 126, 0.25);
    background: color-mix(in srgb, #25d366 12%, #fff);
  }

  .brand small {
    max-width: 18ch;
  }

  .nav-backdrop.is-visible {
    z-index: 65;
  }
}

@media (min-width: 1100px) {
  .nav-mega {
    width: 100%;
    left: 0;
    right: 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* —— Content expansion: trust, layout, blog, sitemap —— */
.hero--home {
  min-height: min(92vh, 820px);
}

.hero__beat {
  margin: 0 0 10px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.22);
  background: color-mix(in srgb, #fff 8%, transparent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__orb {
  position: absolute;
  width: 42%;
  height: 42%;
  right: -8%;
  top: 12%;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(62, 134, 181, 0.45), transparent 70%);
  filter: blur(8px);
  animation: float-glow 10s var(--ease) infinite alternate-reverse;
  pointer-events: none;
}

.btn--ghost-dark {
  background: #fff !important;
  color: var(--color-maple-red) !important;
  border-color: rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-1);
}

.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible {
  background: #fff !important;
  color: var(--color-maple-deep) !important;
  border-color: color-mix(in srgb, var(--color-maple-red) 35%, transparent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.page-hero--hot {
  background:
    linear-gradient(165deg, rgba(225, 29, 46, 0.12), transparent 55%),
    linear-gradient(165deg, var(--surface-1), var(--surface-2));
}

.trust-strip {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.trust-strip__inner {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: color-mix(in srgb, #fff 92%, transparent);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(12px);
}

.trust-pill {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(165deg, #fff, var(--surface-2));
  border: 1px solid rgba(11, 16, 24, 0.06);
}

.trust-pill strong {
  font-size: 0.875rem;
  color: var(--color-maple-red);
}

.trust-pill span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-grid,
.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card,
.link-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
  padding: 18px;
}

.stat-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--color-maple-red);
  line-height: 1;
}

.stat-card__label {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.link-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 120px;
}

.link-card strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.link-card span {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
  }
}

.content-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 960px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: start;
  }
}

.prose--rich {
  max-width: none;
}

.prose--rich h2,
.prose--rich h3,
.prose--rich h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 1.6em 0 0.55em;
}

.prose--rich h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.prose--rich h3 { font-size: 1.15rem; }
.prose--rich p { margin: 0 0 1em; }
.prose--rich ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
  color: var(--text-secondary);
}
.prose--rich em {
  color: var(--text-secondary);
  font-style: italic;
}

.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 48px);
  display: grid;
  gap: 16px;
}

.side-panel > .mc-tree {
  padding: 16px;
}

.side-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.side-links {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
}

.footer-blurb {
  margin: 12px 0 0;
  color: var(--color-wordmark);
  font-size: 0.875rem;
  max-width: 36ch;
}

.footer-entity {
  margin: 10px 0 0;
  color: var(--muted, #5b6570);
  font-size: 0.8125rem;
  line-height: 1.45;
  max-width: 42ch;
}

.site-footer__grid {
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639.98px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(18, 140, 126, 0.35);
}

.sitemap-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sitemap-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sitemap-list a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
}

.sitemap-list a:hover {
  color: var(--color-maple-red);
}

.sitemap-grid h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* ========== Modern 3D + pathway tree upgrades ========== */

.panel-3d {
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 246, 0.92));
  box-shadow: var(--shadow-1);
  transform: translateZ(0);
}

/* Transforms on <details> break native summary toggle in Chromium/WebKit */
details.panel-3d,
details.uni-leaf,
details.blog-branch {
  transform: none;
  display: block;
}

.panel-3d--glass {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.86));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-2);
}

.panel-3d--cta {
  box-shadow: var(--shadow-2);
}

.btn--3d {
  position: relative;
  transform: translateY(0);
}

.btn--3d:hover {
  transform: translateY(-2px);
}

.btn--3d:active {
  transform: translateY(0);
}

.hero--home {
  isolation: isolate;
  padding-bottom: 88px;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(225, 29, 46, 0.38), transparent 58%),
    radial-gradient(700px 420px at 88% 12%, rgba(62, 134, 181, 0.42), transparent 52%),
    radial-gradient(600px 380px at 55% 80%, rgba(226, 90, 60, 0.18), transparent 60%);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.hero__mesh {
  animation: mesh-breathe 12s var(--ease) infinite alternate;
}

/* float cards removed — they overlapped hero copy */

.trust-strip {
  margin-top: -40px;
}

.trust-strip__inner {
  padding: 12px;
  gap: 8px;
}

.trust-pill {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .trust-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-1);
  }
}

/* Pathway tree: trunk + branches + leaf steps */
.pathway-tree {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 0;
}

.pathway-tree__trunk {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pathway-tree__trunk::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--color-maple-facet), var(--color-maple-deep));
  box-shadow:
    0 0 0 6px rgba(225, 29, 46, 0.14),
    var(--shadow-red);
}

.pathway-tree__root {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.pathway-tree .mc-tree-list {
  position: relative;
  margin-left: 6px;
  padding-left: 22px;
  gap: 14px;
}

.pathway-tree .mc-tree-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(225, 29, 46, 0.45),
    rgba(62, 134, 181, 0.35),
    rgba(226, 90, 60, 0.3)
  );
}

.mc-tree--branch {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: visible;
}

.mc-tree--branch::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 28px;
  width: 14px;
  height: 2px;
  background: color-mix(in srgb, var(--color-globe-blue) 55%, transparent);
}

.mc-tree--branch > summary {
  min-height: 60px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
}

.mc-tree--branch[open] {
  box-shadow: var(--shadow-2);
}

.leaf-steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.leaf-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 16, 24, 0.07);
  background:
    linear-gradient(165deg, #fff, color-mix(in srgb, var(--surface-2) 70%, #fff));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 16px rgba(11, 16, 24, 0.05);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.leaf-steps__n {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--color-maple-facet), var(--color-maple-red));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(225, 29, 46, 0.28);
}

.mc-tree[data-tone="cold"] .leaf-steps__n {
  background: linear-gradient(165deg, #5aa0cc, var(--color-globe-deep));
  box-shadow: 0 6px 14px rgba(62, 134, 181, 0.3);
}

.mc-tree[data-tone="warm"] .leaf-steps__n {
  background: linear-gradient(165deg, #ef7a5a, var(--color-tagline));
  box-shadow: 0 6px 14px rgba(226, 90, 60, 0.28);
}

.branch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-globe-deep);
  background: #fff;
  border: 1px solid rgba(62, 134, 181, 0.22);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.branch-chip::after {
  content: " →";
}

.branch-chip--quiet {
  color: var(--text-secondary);
  border-color: rgba(11, 16, 24, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  .branch-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    color: var(--color-maple-red);
  }
}

.stat-card,
.link-card,
.trust-list li {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .stat-card:hover,
  .link-card:hover,
  .trust-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
  }
}

.cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 32px);
}

.whatsapp-fab {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Scroll reveal — visible by default (CLS/a11y-safe); motion only after JS arms html.has-reveal-fx */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html.has-reveal-fx [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

html.has-reveal-fx [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .site-nav,
body.nav-open .site-nav__scroll {
  touch-action: pan-y;
}

body.nav-open .whatsapp-fab,
body.nav-open .engage-bar {
  visibility: hidden;
  pointer-events: none;
}

/* Content pages also get 3D polish */
.content-layout .prose--rich {
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
}

.side-panel > .mc-tree,
.side-links {
  box-shadow: var(--shadow-2);
}

/* Responsive tree rail */
@media (max-width: 639.98px) {
  .pathway-tree .mc-tree-list {
    margin-left: 0;
    padding-left: 16px;
  }

  .mc-tree--branch::before {
    left: -12px;
    width: 10px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .branch-links {
    flex-direction: column;
  }

  .branch-chip {
    justify-content: space-between;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
  }
}

@media (min-width: 768px) {
  .pathway-tree .mc-tree-list {
    padding-left: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Live-aligned modern mega + destination cards */
.hero__kicker {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 75%, transparent);
}

.dest-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dest-card {
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  position: relative;
}

.dest-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.dest-card p:not(.eyebrow) {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.dest-card--uk {
  background:
    linear-gradient(145deg, rgba(225, 29, 46, 0.08), transparent 45%),
    linear-gradient(165deg, #fff, var(--surface-2));
}

.dest-card--ca {
  background:
    linear-gradient(145deg, rgba(62, 134, 181, 0.12), transparent 45%),
    linear-gradient(165deg, #fff, var(--surface-2));
}

.nav-mega {
  left: 0;
  right: auto;
  width: min(340px, calc(100vw - 24px));
  transform: none;
  padding-top: 10px;
}

.nav-mega[data-active-branch="immigration"] {
  width: min(560px, calc(100vw - 24px));
}

.nav-mega .shell {
  width: min(1120px, calc(100% - (var(--page-pad) * 2)));
}

.nav-mega__tree--live {
  grid-template-columns: 1fr;
  align-items: start;
}

.nav-col--wide {
  gap: 8px;
}

.nav-leaf-group {
  display: grid;
  gap: 6px;
}

.nav-subtree {
  border-radius: 14px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: #fff;
  padding: 8px 10px;
}

.nav-subtree > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 6px 4px;
}

.nav-subtree > summary::-webkit-details-marker {
  display: none;
}

.nav-subtree > summary::before {
  content: "› ";
  color: var(--color-maple-red);
  font-weight: 900;
}

.nav-subtree[open] > summary::before {
  content: "▾ ";
}

.nav-subtree a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 650;
  font-size: 0.875rem;
}

.nav-subtree a:hover {
  background: var(--surface-2);
  color: var(--color-maple-red);
}

@media (max-width: 1099.98px) {
  .nav-mega {
    position: static;
    padding-top: 8px;
    width: 100%;
    max-width: none;
    left: auto !important;
    right: auto !important;
  }

  .nav-mega__tree--live {
    grid-template-columns: 1fr;
  }

  .site-nav__path-triggers {
    display: grid;
    gap: 6px;
  }
}

@media (min-width: 1100px) {
  .nav-mega {
    width: min(340px, calc(100vw - 24px));
    left: 0;
    right: auto;
    transform: none;
  }

  .nav-mega[data-active-branch="immigration"] {
    width: min(560px, calc(100vw - 24px));
  }

  .site-header.has-mega {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 18px 40px rgba(11, 16, 24, 0.1);
  }
}

@media (max-width: 899.98px) {
  .top-bar__beat {
    display: none;
  }
}

.seo-focus {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.seo-focus span {
  color: var(--color-maple-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
  margin-right: 6px;
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 16, 24, 0.1);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
}

.keyword-chip--link:hover {
  color: var(--color-maple-red);
  transform: translateY(-1px);
}

.answer-box {
  margin: 12px 0 8px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
}

.answer-box__kicker {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-maple-red);
}

.answer-box p:last-child {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.related-cluster {
  padding-top: 8px;
}

/* ========== Section 508 / WCAG AA ========== */
:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid #0b5cab;
  outline-offset: 3px;
}

.btn:focus-visible,
.site-nav__cta:focus-visible,
.branch-chip:focus-visible {
  outline: 3px solid #0b5cab;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  background: #9b1322;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-2);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.skip-link--nav:focus,
.skip-link--nav:focus-visible {
  left: 160px;
}

main:focus {
  outline: none;
}

main:focus-visible {
  outline: none;
}

/* Stronger text contrast on light surfaces (WCAG AA) */
:root {
  --text-muted: #3d4a5c;
  --text-secondary: #1a2332;
}

.text-link,
a.text-link,
.review-card__more,
.blog-leaf em {
  color: var(--color-maple-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 750;
}

.text-link:hover,
a.text-link:hover,
.review-card__more:hover {
  color: #7a0f1a;
}

.top-bar {
  color: #f5f7fa;
}

.top-bar__link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

button.top-bar__motion {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(245, 247, 250, 0.45);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
}

button.top-bar__motion:hover,
button.top-bar__motion:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

button.top-bar__motion[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.18);
}

/* Pause all decorative motion (Section 508 / WCAG 2.2.2) */
html.motion-paused *,
html.motion-paused *::before,
html.motion-paused *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.motion-paused .ash-field,
html.motion-paused .soft-cursor {
  display: none !important;
}

.blog-branch__summary:focus-visible,
.uni-leaf__summary:focus-visible,
.mc-tree > summary:focus-visible,
.social-feeds__tab:focus-visible,
.reviews-nav:focus-visible {
  outline: 3px solid #0b5cab;
  outline-offset: 3px;
}

.field label {
  display: block;
  margin-bottom: 6px;
}

.field .req {
  color: var(--color-maple-deep);
  font-weight: 800;
}

.field-error {
  margin: 4px 0 0;
  display: block;
}

#form-status:focus {
  outline: 3px solid #0b5cab;
  outline-offset: 2px;
}

/* Ensure interactive targets are large enough */
.site-nav__link,
.site-nav__branch,
.nav-panel__link,
.footer-links a,
.text-link {
  min-height: 44px;
}

.nav-panel__link {
  align-content: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
}

@media (min-width: 1100px) {
  :root {
    --max: 1240px;
    --header-h: 68px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand {
    flex: 0 0 auto;
    max-width: 200px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand strong {
    font-size: 1.125rem;
  }

  .brand small {
    display: none; /* frees a full row of nav space on desktop */
  }

  .site-nav {
    gap: 8px;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .site-nav__list {
    flex-wrap: nowrap;
    gap: 2px;
    justify-content: flex-end;
  }

  /* Logo already goes home — drop duplicate Home link on desktop */
  .site-nav__list > li:first-child {
    display: none;
  }

  .site-nav__pathways {
    flex: 0 0 auto;
  }

  .site-nav__path-triggers {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0;
  }

  .site-nav__link,
  .site-nav__branch {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.8125rem;
    white-space: nowrap;
    gap: 5px;
  }

  .site-nav__cta-wrap {
    flex: 0 0 auto;
    gap: 0;
  }

  .site-nav__cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  /* FAB already covers WhatsApp — keep header to one clean CTA */
  .site-nav__wa {
    display: none;
  }
}

@media (min-width: 1280px) {
  .brand {
    max-width: none;
  }

  .brand small {
    display: block;
    max-width: 22ch;
  }

  .site-nav__link,
  .site-nav__branch {
    padding: 8px 11px;
    font-size: 0.875rem;
  }
}

/* WhatsApp FAB must not obscure focused content awkwardly */
.whatsapp-fab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* High contrast support */
@media (forced-colors: active) {
  .btn,
  .mc-tree,
  .panel-3d,
  .trust-pill,
  .nav-mega__shell {
    border: 1px solid CanvasText;
  }

  :focus-visible {
    outline: 3px solid Highlight;
  }
}

.intake-fieldset {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
  min-width: 0;
}

.intake-fieldset legend {
  padding: 0;
}

/* ========== Engagement layer ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-maple-red), #c41220);
  box-shadow: 0 0 12px rgba(225, 29, 46, 0.45);
  transition: width 80ms linear;
}

.engage-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 252, 0.97));
  border-top: 1px solid rgba(11, 16, 24, 0.1);
  box-shadow: 0 -12px 32px rgba(11, 16, 24, 0.12);
  backdrop-filter: blur(14px);
}

.engage-bar[hidden] {
  display: none !important;
}

.engage-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.engage-bar__copy {
  margin: 0;
  display: grid;
  gap: 2px;
}

.engage-bar__copy strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.engage-bar__copy span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.engage-bar__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.engage-bar__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.06);
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.engage-bar__close:hover {
  background: rgba(11, 16, 24, 0.1);
}

/* Engage bar is fixed — avoid body padding CLS when it appears after scroll. */
body.has-engage-bar .whatsapp-fab {
  bottom: calc(96px + env(safe-area-inset-bottom));
}

.goal-picker {
  display: grid;
  gap: 16px;
}

.goal-picker__choices {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goal-card {
  appearance: none;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  text-align: left;
  padding: 18px 16px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  color: inherit;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.goal-card strong {
  font-size: 1.05rem;
}

.goal-card > span:last-child {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.goal-card__mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--color-maple-red);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.15);
}

.goal-card__mark[data-tone="cold"] {
  background: var(--color-globe-blue);
  box-shadow: 0 0 0 4px rgba(62, 134, 181, 0.18);
}

.goal-card__mark[data-tone="warm"] {
  background: var(--color-tagline);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-tagline) 22%, transparent);
}

.goal-card:hover,
.goal-card.is-active {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--color-maple-red) 35%, transparent);
  box-shadow: var(--shadow-2);
}

.goal-card.is-active {
  outline: 2px solid color-mix(in srgb, var(--color-maple-red) 55%, transparent);
  outline-offset: 2px;
}

.goal-picker__result {
  padding: clamp(18px, 3vw, 26px);
}

.goal-picker__label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-maple-red);
}

.goal-picker__result h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
}

.goal-picker__result p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.goal-picker__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.goal-picker__actions .btn--primary,
.goal-picker__actions .btn--primary:hover,
.goal-picker__actions .btn--primary:focus-visible {
  color: #fff !important;
  background: linear-gradient(165deg, #ef3344, var(--color-maple-red)) !important;
}

.goal-picker__actions .btn--primary:hover,
.goal-picker__actions .btn--primary:focus-visible {
  background: linear-gradient(165deg, #f24a58, #b91422) !important;
}

.branch-chip--hot {
  background: var(--color-maple-red);
  color: #fff !important;
  border-color: transparent;
}

.branch-chip--hot:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.inline-engage {
  margin: 28px 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid color-mix(in srgb, var(--color-maple-red) 22%, transparent);
  background:
    linear-gradient(145deg, rgba(225, 29, 46, 0.06), transparent 50%),
    linear-gradient(165deg, #fff, var(--surface-2));
}

.uni-tree {
  margin: 28px 0;
  padding: clamp(18px, 3vw, 26px);
  display: grid;
  gap: 16px;
}

.uni-tree__head .eyebrow {
  margin-bottom: 6px;
}

.uni-tree__head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
}

.uni-tree__head p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 550;
}

.uni-tree__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.uni-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-1);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.uni-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-maple-red) 28%, transparent);
  box-shadow: var(--shadow-2);
}

.uni-card strong {
  font-size: 1rem;
  color: var(--color-maple-red);
}

.uni-card span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 550;
  line-height: 1.35;
}

.uni-card em {
  margin-top: 4px;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--color-globe-deep);
}

.uni-tree__back {
  margin: 4px 0 0;
  font-weight: 700;
}

.uni-tree__back a {
  color: var(--color-maple-red);
  text-decoration: none;
}

/* —— University pathway tree (city → campus → Canada/UK) —— */
.uni-pathway {
  margin: 28px 0;
  padding: clamp(18px, 3.2vw, 28px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 248, 0.92));
  box-shadow: var(--shadow-2);
}

.uni-pathway__intro {
  display: grid;
  gap: 6px;
  margin: 4px 0 14px;
}

.uni-pathway__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: -0.02em;
}

.uni-pathway__intro p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-secondary);
  font-weight: 550;
}

.uni-pathway__steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.uni-step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-1);
}

.uni-step span {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #8a93a3, #5c6575);
}

.uni-step strong {
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.uni-step em {
  grid-column: 2;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 550;
  color: var(--text-secondary);
}

.uni-step.is-done span,
.uni-step.is-current span {
  background: linear-gradient(145deg, var(--color-maple-red), #9b1322 70%, var(--color-globe-blue));
}

.uni-step.is-current {
  border-color: color-mix(in srgb, var(--color-maple-red) 28%, transparent);
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--color-maple-red) 8%, #fff));
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.uni-pathway__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
}

.uni-pathway__search {
  flex: 1 1 220px;
  min-width: 0;
}

.uni-pathway__search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 16, 24, 0.12);
  background: #fff;
  font: inherit;
  font-weight: 550;
  box-shadow: inset 0 1px 2px rgba(11, 16, 24, 0.04);
}

.uni-pathway__search input:focus {
  outline: 2px solid color-mix(in srgb, var(--color-maple-red) 45%, transparent);
  outline-offset: 1px;
  border-color: color-mix(in srgb, var(--color-maple-red) 35%, transparent);
}

.uni-pathway__hint {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.uni-pathway__branches {
  margin: 0;
  padding: 0 0 0 18px;
  position: relative;
  display: grid;
  gap: 12px;
}

.uni-pathway__branches::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-maple-red), var(--color-globe-blue));
  opacity: 0.55;
}

.uni-pathway__empty {
  margin: 4px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(11, 16, 24, 0.14);
  color: var(--text-secondary);
  font-weight: 600;
}

.uni-leaf {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: #fff;
  overflow: clip;
  transform-style: preserve-3d;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease);
}

.uni-leaf::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 28px;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-maple-red) 55%, var(--color-globe-blue));
}

.uni-leaf:hover,
.uni-leaf[open] {
  box-shadow: var(--shadow-3);
}

.uni-leaf[data-tone="hot"] {
  border-color: color-mix(in srgb, var(--color-maple-red) 22%, transparent);
}

.uni-leaf[data-tone="cold"] {
  border-color: color-mix(in srgb, var(--color-globe-blue) 28%, transparent);
}

.uni-leaf[data-tone="warm"] {
  border-color: color-mix(in srgb, var(--color-tagline, #e25a3c) 28%, transparent);
}

.uni-leaf[hidden] {
  display: none !important;
}

.uni-leaf__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
  color: inherit;
}

.uni-leaf__summary::-webkit-details-marker {
  display: none;
}

.uni-leaf__mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(145deg, var(--color-maple-red), #9b1322 70%, var(--color-globe-blue));
  box-shadow: 0 10px 20px rgba(225, 29, 46, 0.28);
}

.uni-leaf__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.uni-leaf__copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.uni-leaf__copy span {
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--text-secondary);
  line-height: 1.35;
}

.uni-leaf__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-maple-red);
  border-bottom: 2px solid var(--color-maple-red);
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 200ms var(--ease);
}

.uni-leaf[open] .uni-leaf__chev {
  transform: rotate(-135deg);
}

.uni-leaf__body {
  padding: 0 14px 14px;
  display: grid;
  gap: 12px;
  animation: uni-leaf-open 220ms var(--ease);
}

@keyframes uni-leaf-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uni-leaf__why {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-globe-blue) 6%, #f7fafc);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.45;
}

.uni-leaf__twigs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.uni-twig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 750;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-1);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.uni-twig .mc-icon {
  width: 16px;
  height: 16px;
  color: var(--color-maple-red);
}

.uni-twig--canada .mc-icon {
  color: var(--color-maple-red);
}

.uni-twig--uk .mc-icon {
  color: var(--color-globe-deep);
}

.uni-twig--page {
  background: linear-gradient(160deg, #fff, #f3f7fb);
}

.uni-twig--cta {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-maple-red), #c41e3a);
}

.uni-twig--cta .mc-icon {
  color: #fff;
}

.uni-twig:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-maple-red) 30%, transparent);
}

.uni-pathway__back {
  margin: 14px 0 0;
}

@media (max-width: 767.98px) {
  .uni-pathway__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639.98px) {
  .uni-pathway__branches {
    padding-left: 12px;
  }

  .uni-leaf__twigs {
    grid-template-columns: 1fr;
  }

  .uni-leaf__summary {
    grid-template-columns: auto 1fr;
  }

  .uni-leaf__chev {
    display: none;
  }
}

@media (min-width: 900px) {
  .uni-leaf__twigs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.inline-engage h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.inline-engage p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}

.inline-engage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.side-goal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.side-goal {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.1);
}

.side-goal.is-active,
.side-goal:hover {
  color: #fff;
  background: var(--color-maple-red);
  border-color: transparent;
}

@media (max-width: 899.98px) {
  .goal-picker__choices {
    grid-template-columns: 1fr;
  }

  .engage-bar__inner {
    align-items: stretch;
  }

  .engage-bar__actions {
    width: 100%;
  }

  .engage-bar__actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__bar {
    transition: none;
  }

  .goal-card,
  .goal-card:hover,
  .goal-card.is-active {
    transform: none;
  }
}

/* ========== Breadcrumbs (SEO + UX) ========== */
.breadcrumbs {
  padding: 12px 0 0;
  background: transparent;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 2px;
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(232, 238, 246, 0.88));
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-1);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--text-muted);
}

.breadcrumbs__link {
  color: var(--color-globe-deep);
  text-decoration: none;
  border-radius: 6px;
  padding: 2px 4px;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--color-maple-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumbs__sep {
  color: color-mix(in srgb, var(--color-maple-red) 55%, var(--text-muted));
  font-weight: 800;
  user-select: none;
}

.breadcrumbs__current {
  color: var(--text-primary);
  font-weight: 750;
  max-width: min(52ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero + .section,
.breadcrumbs + .page-hero {
  /* spacing handled by sections */
}

.breadcrumbs + .hero,
.breadcrumbs + .page-hero {
  margin-top: 8px;
}

.breadcrumbs + .section {
  padding-top: 28px;
}

@media (max-width: 599.98px) {
  .breadcrumbs__list {
    padding: 8px 10px;
  }

  .breadcrumbs__item {
    font-size: 0.75rem;
  }
}

/* ========== Home modern 3D motion ========== */
.home-stage {
  perspective: 1400px;
}

.hero--home {
  overflow: hidden;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 247, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 247, 250, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 40% 30%, #000 20%, transparent 72%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: grid-drift 18s linear infinite;
}

@keyframes grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -24px, 0); }
}

.hero__mesh {
  animation: mesh-breathe 12s var(--ease) infinite alternate;
}

@keyframes mesh-breathe {
  from { transform: scale(1) translate3d(0, 0, 0); filter: saturate(1); }
  to { transform: scale(1.08) translate3d(2%, -1%, 0); filter: saturate(1.15); }
}

.hero__orb--red {
  position: absolute;
  width: 38%;
  height: 38%;
  left: -6%;
  top: 8%;
  border-radius: 45% 55% 50% 50%;
  background: radial-gradient(circle at 35% 35%, rgba(225, 29, 46, 0.55), transparent 68%);
  filter: blur(10px);
  animation: float-glow 9s var(--ease) infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero__orb--warm {
  position: absolute;
  width: 28%;
  height: 28%;
  right: 18%;
  bottom: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(226, 90, 60, 0.35), transparent 70%);
  filter: blur(16px);
  animation: float-glow 11s var(--ease) infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
}

.hero__brand[data-brand-3d] {
  background: linear-gradient(120deg, #fff 20%, #ffd0d5 45%, #fff 70%, #c8e4f5 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shimmer 6s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 10px 28px rgba(225, 29, 46, 0.28));
}

@keyframes brand-shimmer {
  to { background-position: 220% center; }
}

.hero__float-card {
  position: absolute;
  z-index: 1;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  min-width: 150px;
  pointer-events: none;
  animation: card-float 7s var(--ease) infinite alternate;
}

.hero__float-card strong {
  font-size: 0.8125rem;
  color: var(--text-primary);
}

.hero__float-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 650;
}

.hero__float-card--a {
  top: 22%;
  right: max(4%, calc((100% - var(--max)) / 2 - 20px));
  transform: rotate(4deg);
}

.hero__float-card--b {
  bottom: 18%;
  left: max(3%, calc((100% - var(--max)) / 2 - 10px));
  transform: rotate(-5deg);
  animation-delay: -2.5s;
}

@keyframes card-float {
  from { translate: 0 0; }
  to { translate: 0 -14px; }
}

.hero__actions .btn--3d {
  box-shadow: var(--shadow-red);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: var(--shadow-red); }
  50% { box-shadow: 0 18px 40px rgba(225, 29, 46, 0.42), 0 0 0 6px rgba(225, 29, 46, 0.12); }
}

.trust-strip--3d .trust-pill {
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
  will-change: transform;
}

.trust-strip--3d .trust-pill:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-2);
}

.section--lift {
  position: relative;
}

.section--lift::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(225, 29, 46, 0.08), transparent 70%);
  pointer-events: none;
}

.goal-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.goal-card__shine {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 55%;
  height: 160%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg) translateX(-120%);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}

.goal-card:hover .goal-card__shine,
.goal-card.is-active .goal-card__shine {
  transform: rotate(18deg) translateX(220%);
}

.goal-card.is-active {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2), 0 0 0 1px color-mix(in srgb, var(--color-maple-red) 30%, transparent);
}

.goal-picker__result {
  transform-origin: top center;
  animation: result-pop 420ms var(--ease);
}

@keyframes result-pop {
  from { opacity: 0.4; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dest-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.dest-card__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.22), transparent 70%);
  pointer-events: none;
}

.dest-card--uk .dest-card__glow {
  background: radial-gradient(circle, rgba(62, 134, 181, 0.28), transparent 70%);
}

.dest-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: var(--shadow-3);
}

.pathway-tree--3d {
  transform-style: preserve-3d;
}

.pathway-tree--3d .mc-tree {
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.pathway-tree--3d .mc-tree[open] {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.pathway-tree--3d .pathway-tree__root {
  animation: root-glow 3.5s var(--ease) infinite alternate;
}

@keyframes root-glow {
  from { box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.15); }
  to { box-shadow: 0 0 0 10px rgba(225, 29, 46, 0.05), 0 8px 24px rgba(225, 29, 46, 0.2); }
}

.stat-grid--3d .stat-card {
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.stat-grid--3d .stat-card:hover {
  transform: translateY(-10px) rotateX(4deg);
  box-shadow: var(--shadow-3);
}

.stat-grid--3d .stat-card__value {
  background: linear-gradient(180deg, var(--color-maple-red), var(--color-maple-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-grid--3d .link-card {
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.card-grid--3d .link-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-2);
}

.cta-band--3d {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-band__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 50%, rgba(225, 29, 46, 0.18), transparent 45%),
    radial-gradient(circle at 85% 40%, rgba(62, 134, 181, 0.16), transparent 40%);
  animation: mesh-breathe 10s var(--ease) infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.cta-band--3d > * {
  position: relative;
  z-index: 1;
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* (reveal rules unified above — do not re-hide content before JS) */
.home-stage .section__head[data-reveal].is-visible {
  transition-delay: 40ms;
}

@media (max-width: 899.98px) {
  .hero__float-card {
    display: none;
  }

  .hero--home {
    min-height: auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mesh,
  .hero__grid,
  .hero__orb--red,
  .hero__orb--warm,
  .hero__brand[data-brand-3d],
  .hero__float-card,
  .hero__actions .btn--3d,
  .btn--pulse,
  .pathway-tree--3d .pathway-tree__root,
  .cta-band__glow,
  .goal-picker__result {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .goal-card.is-active,
  .dest-card:hover,
  .stat-grid--3d .stat-card:hover,
  .card-grid--3d .link-card:hover {
    transform: none;
  }
}

/* ========== Home icons + visual prototypes ========== */
.mc-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-maple-red);
  flex: 0 0 auto;
  line-height: 0;
}

.mc-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
}

.mc-icon--badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff, #eef3f9);
  border: 1px solid rgba(11, 16, 24, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(11, 16, 24, 0.08);
  margin-bottom: 10px;
}

.mc-icon--badge svg {
  width: 1.35rem;
  height: 1.35rem;
}

.mc-icon--sm { width: 1.15rem; height: 1.15rem; }
.mc-icon--lg {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff, #eef3f9);
  border: 1px solid rgba(11, 16, 24, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(11, 16, 24, 0.08);
  margin-bottom: 10px;
}
.mc-icon--lg svg {
  width: 1.35rem;
  height: 1.35rem;
}
.mc-icon--xl {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 16px;
  color: var(--color-globe-deep);
  background: linear-gradient(165deg, #fff, #e8f2f8);
  border: 1px solid rgba(43, 95, 132, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(43, 95, 132, 0.12);
}
.mc-icon--xl svg {
  width: 1.5rem;
  height: 1.5rem;
}
.mc-icon--stat {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  margin-bottom: 10px;
  color: var(--color-maple-facet);
  background: color-mix(in srgb, var(--color-maple-red) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--color-maple-red) 18%, transparent);
}
.mc-icon--stat svg {
  width: 1.2rem;
  height: 1.2rem;
}
.mc-icon--btn {
  width: 1.1rem;
  height: 1.1rem;
  color: inherit;
  margin-right: 6px;
  background: none;
  border: 0;
  box-shadow: none;
}

.hero__bullets {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 40rem;
}

.hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: color-mix(in srgb, #fff 88%, transparent);
  font-weight: 650;
  font-size: 0.9375rem;
}

.hero__bullets .mc-icon {
  color: #ffb4bb;
  margin-top: 2px;
}

.trust-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-pill > .mc-icon {
  margin-top: 2px;
}

.trust-pill > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.trust-pill > span > span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.proto-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proto-step {
  position: relative;
  padding: 20px 16px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.proto-step__n {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(165deg, var(--color-maple-red), var(--color-maple-deep));
  box-shadow: var(--shadow-red);
}

.proto-step h3 {
  margin: 0;
  font-size: 1.05rem;
}

.proto-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.proto-flow {
  margin-top: 18px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}

.proto-flow__node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.08);
  font-size: 0.8125rem;
  font-weight: 750;
  color: var(--text-secondary);
}

.proto-flow__line {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-maple-red), var(--color-globe-blue));
  opacity: 0.85;
}

.dest-card__icon {
  margin-bottom: 8px;
}

.dest-card__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dest-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--text-secondary);
}

.mc-tree__explain {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.mc-tree > summary .mc-icon {
  margin-right: 2px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-list .mc-icon {
  margin-top: 2px;
}

.link-card .mc-icon {
  margin-bottom: 8px;
}

.btn .mc-icon {
  vertical-align: -0.15em;
}

.goal-card .mc-icon--lg {
  color: var(--color-maple-red);
}

.goal-card[data-goal="visit"] .mc-icon--lg {
  color: var(--color-globe-deep);
}

.goal-card[data-goal="pr"] .mc-icon--lg {
  color: var(--color-tagline);
}

.hero__float-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 8px;
}

.hero__float-card .mc-icon {
  grid-row: span 2;
  margin-top: 2px;
}

@media (max-width: 1099.98px) {
  .proto-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699.98px) {
  .proto-steps {
    grid-template-columns: 1fr;
  }

  .proto-flow__line {
    width: 18px;
  }
}

/* —— Google Business Profile (homepage) —— */
.gmb-section {
  padding-top: 12px;
}

.gmb-section--stack {
  padding-top: clamp(28px, 5vw, 48px);
}

.gmb-section--stack .section__head {
  margin-bottom: clamp(16px, 3vw, 24px);
}

.gmb-stack-item + .gmb-stack-item {
  margin-top: clamp(18px, 3vw, 28px);
}

.gmb {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 248, 0.94));
  box-shadow: var(--shadow-2);
}

.gmb__copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.gmb__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.gmb__office {
  margin: 0;
  font-weight: 750;
  color: var(--color-maple-red);
  font-size: 0.9375rem;
}

.gmb__address {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 550;
  line-height: 1.45;
  max-width: 36rem;
}

.gmb__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 4px;
}

.gmb__score {
  font-size: 1.35rem;
  color: var(--color-maple-deep);
  letter-spacing: -0.02em;
}

.gmb__stars {
  display: inline-flex;
  gap: 2px;
  color: #d4a017;
  font-size: 1.05rem;
  line-height: 1;
}

.gmb__star {
  opacity: 0.35;
}

.gmb__star.is-on {
  opacity: 1;
}

.gmb__reviews-link {
  font-weight: 700;
  color: var(--color-globe-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gmb__offices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.gmb__office-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 16, 24, 0.1);
  background: #fff;
  color: var(--text-primary);
  text-decoration: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.gmb__office-chip.is-active {
  border-color: color-mix(in srgb, var(--color-maple-red) 40%, transparent);
  color: var(--color-maple-deep);
  background: color-mix(in srgb, var(--color-maple-red) 8%, #fff);
}

.gmb__office-chip:hover {
  transform: translateY(-2px);
}

.gmb__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.gmb__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 6px;
}

.gmb__quick a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  color: var(--color-maple-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gmb__quick .mc-icon {
  width: 16px;
  height: 16px;
}

.gmb__map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-2);
  background: #e8eef6;
}

.gmb__map-load {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  transform: translateX(-50%);
}

.gmb__map.is-loaded .gmb__map-load {
  display: none;
}

.gmb__map-card {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: min(280px, calc(100% - 28px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px);
}

.gmb__map-card strong {
  font-size: 0.95rem;
}

.gmb__map-card span {
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--text-secondary);
  line-height: 1.35;
}

.gmb__map-meta {
  color: var(--color-maple-deep) !important;
  font-weight: 700 !important;
}

.gmb__map-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.gmb__map-links a {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-globe-deep);
  text-decoration: none;
}

.gmb__map-links a:hover {
  text-decoration: underline;
}

@media (max-width: 899.98px) {
  .gmb {
    grid-template-columns: 1fr;
  }

  .gmb__map {
    min-height: 280px;
  }
}

@media (max-width: 639.98px) {
  .gmb__actions {
    flex-direction: column;
  }

  .gmb__actions .btn {
    width: 100%;
  }
}

/* —— Google reviews carousel —— */
.reviews-section {
  padding-top: 8px;
}

.reviews-section__head {
  text-align: left;
  max-width: 48rem;
}

.reviews-section__head .hero__actions {
  margin-top: 12px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.reviews-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(160deg, #9b1322 0%, var(--color-maple-red) 48%, #2b5f84 120%);
  box-shadow: var(--shadow-3, var(--shadow-2));
}

.reviews-summary__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.reviews-summary__brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}

.reviews-summary__brand strong {
  display: block;
  font-size: 1rem;
}

.reviews-summary__brand span {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  opacity: 0.9;
  line-height: 1.35;
}

.reviews-summary__score {
  display: grid;
  gap: 4px;
}

.reviews-summary__stars {
  color: #f5c84c;
  letter-spacing: 1px;
  font-size: 1.15rem;
}

.reviews-summary__score strong {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.reviews-summary__score span,
.reviews-summary__note {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.92;
}

.reviews-summary__note {
  margin: 0;
}

.reviews-summary__actions {
  display: grid;
  gap: 8px;
}

.reviews-summary__write {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: none !important;
  animation: none !important;
}

.reviews-summary__write:hover,
.reviews-summary__write:focus-visible {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border-color: #fff !important;
  transform: translateY(-2px);
}

.reviews-carousel {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: center;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.reviews-track:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-maple-red) 50%, transparent);
  outline-offset: 2px;
}

.review-card {
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-2);
  min-height: 220px;
}

.review-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--color-maple-red), var(--color-globe-deep));
}

.review-card__who {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.review-card__who strong {
  font-size: 0.95rem;
}

.review-card__who span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 550;
}

.review-card__google {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #4285f4;
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.1);
}

.review-card__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #d4a017;
}

.review-card__verified {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 900;
  color: #fff;
  background: #1a73e8;
  margin-left: 4px;
}

.review-card__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.5;
}

.review-card__more {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-maple-red);
  text-decoration: none;
}

.review-card__more:hover {
  text-decoration: underline;
}

.reviews-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(11, 16, 24, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-2);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-primary);
}

.reviews-nav--prev { left: -6px; }
.reviews-nav--next { right: -6px; }

.reviews-nav:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--color-maple-red) 35%, transparent);
}

.reviews-carousel__count {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--text-secondary);
}

/* —— Social feeds —— */
.social-feeds-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.social-feeds {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 22px;
  background: color-mix(in srgb, #fff 88%, var(--color-globe-deep));
  border: 1px solid rgba(11, 16, 24, 0.08);
  isolation: isolate;
  overflow: hidden;
  transform: none !important;
}

.social-feeds__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 5;
}

.social-feeds__tab {
  appearance: none;
  border: 1px solid rgba(11, 16, 24, 0.12);
  background: #fff;
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  min-height: 44px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-feeds__tab:hover,
.social-feeds__tab:focus-visible {
  border-color: color-mix(in srgb, var(--color-maple-red) 45%, transparent);
  transform: translateY(-1px);
}

.social-feeds__tab.is-active {
  background: linear-gradient(145deg, var(--color-maple-red), color-mix(in srgb, var(--color-maple-red) 70%, var(--color-globe-deep)));
  border-color: transparent;
  color: #fff;
}

.social-feeds__panel {
  display: none;
  gap: 1rem;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.social-feeds__panel.is-active {
  display: grid;
}

.social-feeds__panel[hidden] {
  display: none !important;
}

.social-yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.social-yt-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.08);
  box-shadow: var(--shadow-2);
}

.social-yt-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1018;
}

.social-yt-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-lite {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #0b1018;
  display: grid;
  place-items: center;
}

.yt-lite img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-lite__play {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: #e11d2e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.yt-lite__play::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(2px);
}

.yt-lite:focus-visible {
  outline: 3px solid #0b5cab;
  outline-offset: 3px;
}

/* FAQ — competitor PAA pattern */
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 52rem;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: #fff;
  overflow: clip;
  transform: none !important;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__chev {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid var(--color-maple-deep);
  border-bottom: 2px solid var(--color-maple-deep);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.faq-item[open] .faq-item__chev {
  transform: rotate(-135deg);
}

.faq-item__body {
  padding: 0 16px 16px;
}

.faq-item__body p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 550;
  line-height: 1.55;
}

.faq-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 18px;
}

.gmb-section,
.reviews-section,
.social-feeds-section,
.cta-band {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.social-yt-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 750;
}

.social-embed {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  z-index: 0;
}

.social-embed--facebook iframe {
  width: min(100%, 500px);
  min-height: 520px;
  max-height: 620px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.social-embed--tiktok,
.social-embed--pinterest {
  width: 100%;
}

.social-profile-card {
  display: grid;
  gap: 12px;
  max-width: 42rem;
  margin-inline: auto;
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 16, 24, 0.08);
  text-align: center;
  justify-items: center;
}

.social-profile-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.social-feeds__follow {
  margin: 0.25rem 0 0;
  text-align: center;
}

.social-feeds__fallback {
  margin: 0;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 550;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 650;
  opacity: 0.92;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 899.98px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .reviews-nav--prev { left: 4px; }
  .reviews-nav--next { right: 4px; }
}
.blog-stage {
  position: relative;
}

.blog-tree {
  margin: 0 0 28px;
  padding: clamp(18px, 3.2vw, 28px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 248, 0.92));
  box-shadow: var(--shadow-2);
}

.blog-tree__intro {
  display: grid;
  gap: 6px;
  margin: 4px 0 14px;
}

.blog-tree__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
}

.blog-tree__intro p {
  margin: 0;
  max-width: 42rem;
  color: var(--text-secondary);
  font-weight: 550;
}

.blog-tree__steps {
  margin-bottom: 16px;
}

.blog-tree__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
}

.blog-tree__branches {
  display: grid;
  gap: 12px;
  position: relative;
  padding-left: 18px;
}

.blog-tree__branches::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-maple-red), var(--color-globe-blue));
  opacity: 0.55;
}

.blog-branch {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: #fff;
  overflow: clip;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease);
}

.blog-branch::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 28px;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-maple-red) 55%, var(--color-globe-blue));
}

.blog-branch[open],
.blog-branch:hover {
  box-shadow: var(--shadow-3);
}

.blog-branch[data-tone="hot"] {
  border-color: color-mix(in srgb, var(--color-maple-red) 22%, transparent);
}

.blog-branch[data-tone="cold"] {
  border-color: color-mix(in srgb, var(--color-globe-blue) 28%, transparent);
}

.blog-branch[data-tone="warm"] {
  border-color: color-mix(in srgb, var(--color-tagline, #e25a3c) 28%, transparent);
}

.blog-branch[hidden] {
  display: none !important;
}

.blog-branch__summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.blog-branch__summary::-webkit-details-marker {
  display: none;
}

.blog-branch__mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(145deg, var(--color-maple-red), #9b1322 70%, var(--color-globe-blue));
  box-shadow: 0 10px 20px rgba(225, 29, 46, 0.28);
}

.blog-branch__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color-globe-blue) 10%, #fff);
  color: var(--color-maple-red);
}

.blog-branch__icon .mc-icon {
  width: 20px;
  height: 20px;
}

.blog-branch__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.blog-branch__copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.blog-branch__copy span {
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--text-secondary);
  line-height: 1.35;
}

.blog-branch__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-maple-red);
  border-bottom: 2px solid var(--color-maple-red);
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 200ms var(--ease);
}

.blog-branch[open] .blog-branch__chev {
  transform: rotate(-135deg);
}

.blog-branch__body {
  padding: 0 14px 14px;
  animation: uni-leaf-open 220ms var(--ease);
}

.blog-leaf-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-leaf {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, #f5f8fb);
  box-shadow: var(--shadow-1);
  min-height: 100%;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease);
}

.blog-leaf:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-maple-red) 28%, transparent);
  box-shadow: var(--shadow-2);
}

.blog-leaf[hidden] {
  display: none !important;
}

.blog-leaf__n {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--color-maple-red), var(--color-globe-deep));
}

.blog-leaf strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-leaf span {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 550;
  line-height: 1.45;
}

.blog-leaf em {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-maple-red);
}

.blog-tree__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  margin-top: 8px;
}

.blog-tree__cta h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.blog-tree__cta p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 550;
  max-width: 36rem;
}

@media (max-width: 767.98px) {
  .blog-tree__branches {
    padding-left: 12px;
  }

  .blog-branch__summary {
    grid-template-columns: auto 1fr;
  }

  .blog-branch__icon,
  .blog-branch__chev {
    display: none;
  }

  .blog-leaf-grid {
    grid-template-columns: 1fr;
  }

  .blog-tree__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-branch,
  .blog-leaf {
    transition: none !important;
  }
}
.verify-steps {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: verify-step;
}

.verify-steps > li {
  position: relative;
  margin: 0;
  padding: 1rem 1.1rem 1rem 3.25rem;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, #f5f8fb);
  box-shadow: var(--shadow-1, 0 1px 2px rgba(11, 16, 24, 0.06));
  counter-increment: verify-step;
}

.verify-steps > li::before {
  content: counter(verify-step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-red, #c8102e);
}

.verify-steps > li strong {
  display: block;
  margin-bottom: 0.35rem;
}

.verify-steps > li p {
  margin: 0;
  color: var(--muted, #4a5568);
}

.verify-proof {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, #f3f6fa);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 12px;
}

.verify-proof__frame {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 16, 24, 0.1);
  box-shadow: var(--shadow-1);
  transition: transform 280ms var(--motion-ease, var(--ease)), box-shadow 280ms ease;
}

.verify-proof__frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3, var(--shadow-2));
}

.verify-proof__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.verify-proof__cap {
  display: grid;
  gap: 8px;
}

.verify-proof__cap strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.verify-proof__cap span {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.45;
}

.verify-proof__cap em {
  font-style: normal;
  font-weight: 800;
  color: var(--color-maple-red);
}

.verify-proof__cap .btn {
  justify-self: start;
  min-height: 44px;
  margin-top: 2px;
}

.verify-proof--compact {
  padding: 10px;
  gap: 10px;
}

.verify-proof--compact .verify-proof__cap .btn {
  width: 100%;
  justify-self: stretch;
}

.verify-proof--compact .verify-proof__cap strong {
  font-size: 0.95rem;
}

.side-panel .verify-proof {
  margin-top: 8px;
}

@media (max-width: 899.98px) {
  .split--3d .verify-proof {
    order: 2;
  }
}
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-soft: 480ms var(--motion-ease);
}

.ash-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 45;
  pointer-events: none;
  opacity: 0.85;
}

html.has-ash-field .ash-field {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .ash-field {
    display: none !important;
  }
}

.soft-cursor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.soft-cursor.is-ready {
  opacity: 1;
}

.soft-cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--color-maple-red);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  opacity: 0.55;
  will-change: transform, opacity, width, height;
  transform: translate3d(-100px, -100px, 0);
}

.soft-cursor__dot--core {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  opacity: 0.95;
  background: #fff;
  box-shadow:
    0 0 0 2px var(--color-maple-red),
    0 0 18px rgba(225, 29, 46, 0.45);
  z-index: 2;
}

.soft-cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid rgba(225, 29, 46, 0.5);
  background: rgba(225, 29, 46, 0.06);
  opacity: 0.85;
  will-change: transform, width, height, opacity;
  transform: translate3d(-100px, -100px, 0) scale(0.65);
  z-index: 1;
}

html.has-soft-cursor,
html.has-soft-cursor body {
  cursor: none;
}

html.has-soft-cursor a,
html.has-soft-cursor button,
html.has-soft-cursor input,
html.has-soft-cursor textarea,
html.has-soft-cursor select,
html.has-soft-cursor label,
html.has-soft-cursor [role='button'],
html.has-soft-cursor summary,
html.has-soft-cursor .btn {
  cursor: none;
}

html.has-soft-cursor.soft-cursor-hover .soft-cursor__ring {
  border-color: rgba(225, 29, 46, 0.85);
  background: rgba(225, 29, 46, 0.12);
}

html.has-soft-cursor.soft-cursor-hover .soft-cursor__dot--core {
  background: var(--color-maple-red);
  box-shadow:
    0 0 0 2px #fff,
    0 0 20px rgba(225, 29, 46, 0.55);
}

html.has-soft-cursor.soft-cursor-down .soft-cursor__ring {
  opacity: 0.55;
}

html.has-soft-cursor.soft-cursor-hidden .soft-cursor {
  opacity: 0;
}

html.motion-paused .soft-cursor {
  display: none !important;
}

/* Soft motion polish site-wide */
.panel-3d,
.link-card,
.dest-card,
.goal-card,
.trust-pill,
.uni-leaf,
.side-panel__card,
.branch-chip,
.btn,
.hero-brand-card,
.page-hero__stage {
  transition:
    transform var(--motion-soft),
    box-shadow var(--motion-soft),
    border-color 280ms ease,
    background 280ms ease,
    filter 280ms ease;
}

.soft-float {
  animation: soft-float 7.5s var(--motion-ease) infinite alternate;
}

@keyframes soft-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -10px, 0); }
}

/* —— Heartbeat “alive” motion (cards / buttons / images) —— */
@keyframes hb-beat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.045);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.07);
  }
  55%,
  100% {
    transform: scale(1);
  }
}

@keyframes hb-glow {
  0%,
  100% {
    box-shadow:
      0 10px 22px rgba(11, 16, 24, 0.06),
      0 0 0 0 rgba(225, 29, 46, 0);
  }
  12% {
    box-shadow:
      0 14px 28px rgba(225, 29, 46, 0.18),
      0 0 0 5px rgba(225, 29, 46, 0.1);
  }
  24% {
    box-shadow:
      0 10px 22px rgba(11, 16, 24, 0.06),
      0 0 0 0 rgba(225, 29, 46, 0);
  }
  36% {
    box-shadow:
      0 18px 36px rgba(225, 29, 46, 0.28),
      0 0 0 8px rgba(225, 29, 46, 0.14);
  }
  55%,
  100% {
    box-shadow:
      0 10px 22px rgba(11, 16, 24, 0.06),
      0 0 0 0 rgba(225, 29, 46, 0);
  }
}

@keyframes hb-glow-hot {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 10px 22px rgba(225, 29, 46, 0.28),
      0 0 0 0 rgba(225, 29, 46, 0);
  }
  12% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      0 14px 30px rgba(225, 29, 46, 0.4),
      0 0 0 6px rgba(225, 29, 46, 0.14);
  }
  24% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 10px 22px rgba(225, 29, 46, 0.28),
      0 0 0 0 rgba(225, 29, 46, 0);
  }
  36% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 18px 38px rgba(225, 29, 46, 0.48),
      0 0 0 10px rgba(225, 29, 46, 0.16);
  }
  55%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 10px 22px rgba(225, 29, 46, 0.28),
      0 0 0 0 rgba(225, 29, 46, 0);
  }
}

@keyframes hb-img {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1);
  }
  12% {
    transform: scale(1.03);
    filter: saturate(1.08);
  }
  24% {
    transform: scale(1);
    filter: saturate(1);
  }
  36% {
    transform: scale(1.05);
    filter: saturate(1.12);
  }
  55%,
  100% {
    transform: scale(1);
    filter: saturate(1);
  }
}

.hb-card {
  animation: hb-glow 2.4s ease-in-out infinite;
  will-change: box-shadow;
}

.hb-btn {
  animation:
    hb-beat 1.85s ease-in-out infinite,
    hb-glow-hot 1.85s ease-in-out infinite;
  will-change: transform, box-shadow;
  transform-origin: center;
}

.hb-chip {
  animation: hb-glow 2.8s ease-in-out infinite;
}

.hb-media {
  animation: hb-img 2.6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, filter;
}

.hb-icon {
  animation: hb-beat 2.2s ease-in-out infinite;
  transform-origin: center;
  display: inline-flex;
}

.hb-fab {
  animation:
    hb-beat 1.7s ease-in-out infinite,
    hb-glow 1.7s ease-in-out infinite;
}

.hb-card:hover,
.hb-card:focus-within,
.hb-btn:hover,
.hb-btn:focus-visible,
.hb-chip:hover,
.hb-chip:focus-visible,
.hb-media:hover,
.hb-icon:hover,
.hb-fab:hover,
.hb-fab:focus-visible {
  animation-play-state: paused;
}

.hb-d1 { animation-delay: 0s; }
.hb-d2 { animation-delay: 0.18s; }
.hb-d3 { animation-delay: 0.36s; }
.hb-d4 { animation-delay: 0.54s; }
.hb-d5 { animation-delay: 0.72s; }
.hb-d6 { animation-delay: 0.9s; }

/* Primary CTAs always heartbeat */
.btn--primary,
.btn--pulse,
.site-nav__cta,
.hero__actions .btn--3d {
  animation:
    hb-beat 1.85s ease-in-out infinite,
    hb-glow-hot 1.85s ease-in-out infinite;
}

.whatsapp-fab {
  animation:
    hb-beat 1.7s ease-in-out infinite,
    hb-glow 1.7s ease-in-out infinite;
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn--pulse:hover,
.btn--pulse:focus-visible,
.site-nav__cta:hover,
.site-nav__cta:focus-visible,
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  animation-play-state: paused;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal]:nth-child(2) { transition-delay: 40ms; }
[data-reveal]:nth-child(3) { transition-delay: 80ms; }
[data-reveal]:nth-child(4) { transition-delay: 120ms; }

.btn--primary,
.btn--pulse,
.whatsapp-fab,
.site-nav__cta {
  transition:
    transform 280ms var(--motion-ease),
    box-shadow 280ms var(--motion-ease),
    background 280ms ease,
    filter 280ms ease,
    color 200ms ease;
}

a.text-link,
.site-nav__link,
.footer-links a {
  transition: color 220ms ease, transform 220ms var(--motion-ease), opacity 220ms ease;
}

.site-nav__link:hover,
.footer-links a:hover {
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .panel-3d:hover:not(details),
  .link-card:hover,
  .dest-card:hover,
  .trust-pill:hover {
    transform: translateY(-4px);
  }

  details.panel-3d:hover,
  details.uni-leaf:hover,
  details.blog-branch:hover {
    transform: none;
    box-shadow: var(--shadow-3);
  }
}

@media (hover: none), (pointer: coarse) {
  .soft-cursor {
    display: none !important;
  }

  html.has-soft-cursor,
  html.has-soft-cursor body,
  html.has-soft-cursor a,
  html.has-soft-cursor button,
  html.has-soft-cursor input,
  html.has-soft-cursor textarea,
  html.has-soft-cursor select,
  html.has-soft-cursor label,
  html.has-soft-cursor [role='button'],
  html.has-soft-cursor summary,
  html.has-soft-cursor .btn {
    cursor: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soft-cursor,
  .soft-float {
    display: none !important;
    animation: none !important;
  }

  html.has-soft-cursor,
  html.has-soft-cursor body,
  html.has-soft-cursor a,
  html.has-soft-cursor button,
  html.has-soft-cursor input,
  html.has-soft-cursor textarea,
  html.has-soft-cursor select,
  html.has-soft-cursor label,
  html.has-soft-cursor [role='button'],
  html.has-soft-cursor summary,
  html.has-soft-cursor .btn {
    cursor: auto;
  }

  .hb-card,
  .hb-btn,
  .hb-chip,
  .hb-media,
  .hb-icon,
  .hb-fab,
  .btn--primary,
  .btn--pulse,
  .site-nav__cta,
  .hero__actions .btn--3d,
  .whatsapp-fab {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .panel-3d,
  .link-card,
  .dest-card,
  .goal-card,
  .trust-pill,
  .uni-leaf,
  .side-panel__card,
  .branch-chip,
  .btn {
    transition: none !important;
  }
}

/* Legacy dotted cursor fallback (touch / reduced motion) */
@media (hover: hover) and (pointer: fine) {
  html:not(.has-soft-cursor) {
    --cursor-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='9' fill='none' stroke='%23e11d2e' stroke-width='2' stroke-dasharray='2.2 3.2' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='14' r='2' fill='%23e11d2e'/%3E%3C/svg%3E") 14 14;
    --cursor-dot-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='11' fill='none' stroke='%239b1322' stroke-width='2.2' stroke-dasharray='2.4 3.4' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='16' r='2.4' fill='%23e11d2e'/%3E%3C/svg%3E") 16 16;
  }

  html:not(.has-soft-cursor),
  html:not(.has-soft-cursor) body,
  html:not(.has-soft-cursor) body * {
    cursor: var(--cursor-dot), crosshair;
  }

  html:not(.has-soft-cursor) a,
  html:not(.has-soft-cursor) button,
  html:not(.has-soft-cursor) [role="button"],
  html:not(.has-soft-cursor) summary,
  html:not(.has-soft-cursor) .btn,
  html:not(.has-soft-cursor) .goal-card,
  html:not(.has-soft-cursor) .branch-chip,
  html:not(.has-soft-cursor) .site-nav__link,
  html:not(.has-soft-cursor) .site-nav__branch,
  html:not(.has-soft-cursor) .nav-toggle,
  html:not(.has-soft-cursor) .trust-pill,
  html:not(.has-soft-cursor) .link-card,
  html:not(.has-soft-cursor) .whatsapp-fab,
  html:not(.has-soft-cursor) label[for] {
    cursor: var(--cursor-dot-hot), pointer;
  }
}

/* ========== Content pages: Modern 3D + pathway tree ========== */
.content-stage {
  position: relative;
}

.page-hero--3d {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 88px);
  border-bottom: none;
  background:
    linear-gradient(165deg, var(--surface-1), var(--surface-2));
}

.page-hero--3d .hero__mesh,
.page-hero--3d .hero__glow,
.page-hero--3d .hero__orb,
.page-hero--3d .hero__grid {
  z-index: 0;
}

.page-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  }
}

.page-hero__copy h1 {
  max-width: 18ch;
}

.page-hero__bullets {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 650;
  font-size: 0.9375rem;
}

.page-hero__bullets .mc-icon {
  color: var(--color-maple-red);
  flex: 0 0 auto;
  margin-top: 1px;
}

.page-hero__visual {
  display: none;
}

@media (min-width: 900px) {
  .page-hero__visual {
    display: block;
  }
}

.page-hero__stage {
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  gap: 10px;
  transform-style: preserve-3d;
}

.page-hero__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--color-maple-facet), var(--color-maple-deep));
  box-shadow: 0 12px 28px rgba(225, 29, 46, 0.28);
}

.page-hero__stage-label {
  margin: 4px 0 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-maple-red);
}

.page-hero__stage strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.page-hero__mini-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-hero__mini-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.page-hero__mini-steps span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(165deg, var(--color-globe-blue), var(--color-globe-deep));
}

.trust-strip--content {
  margin-top: -36px;
  margin-bottom: 8px;
}

.section--content {
  padding-top: 28px;
}

.content-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.content-tree .content-intro {
  padding: clamp(16px, 2.5vw, 24px);
  margin: 0;
}

.content-fallback {
  padding: clamp(18px, 3vw, 28px);
}

.content-branch__body {
  padding: 4px 4px 8px;
}

.content-branch__body h3,
.content-branch__body h4 {
  margin-top: 1.1em;
}

.content-branch__body ul {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  display: grid;
  gap: 8px;
}

.content-branch__body ul li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border-radius: 14px;
  border: 1px solid rgba(11, 16, 24, 0.07);
  background:
    linear-gradient(165deg, #fff, color-mix(in srgb, var(--surface-2) 70%, #fff));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 16px rgba(11, 16, 24, 0.04);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.content-branch__body ul li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--color-maple-facet), var(--color-maple-red));
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.12);
}

/* Interactive retainer checklist (site-wide — replaces document inventory lists) */
.retainer-checklist-section {
  padding-top: clamp(12px, 2vw, 20px);
}

.retainer-checklist {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 248, 0.94));
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(11, 16, 24, 0.06);
}

.retainer-checklist__copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.retainer-checklist__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.retainer-checklist__lede {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.retainer-checklist__note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.retainer-checklist__trust {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.retainer-checklist__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-2) 70%, #fff);
  border: 1px solid rgba(11, 16, 24, 0.06);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.retainer-checklist__trust-item .mc-icon {
  width: 18px;
  height: 18px;
  color: var(--color-maple-deep);
  flex-shrink: 0;
}

.retainer-checklist__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 6px;
}

.retainer-checklist__panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(165deg, #0f1724, #1a2436);
  color: #fff;
  box-shadow: var(--shadow-2);
}

.retainer-checklist__progress {
  display: grid;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.retainer-checklist__progress strong {
  color: #fff;
  font-size: 1rem;
}

.retainer-checklist__meter {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.retainer-checklist__meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-maple-red), #ff7a86);
  transition: width 280ms var(--ease, ease);
}

.retainer-checklist__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.retainer-checklist__step-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.retainer-checklist__step.is-active .retainer-checklist__step-btn,
.retainer-checklist__step-btn:hover {
  background: rgba(225, 29, 46, 0.18);
  border-color: rgba(225, 29, 46, 0.45);
}

.retainer-checklist__n {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-maple-red);
  font-size: 0.8125rem;
  font-weight: 800;
}

.retainer-checklist__step-body {
  padding: 4px 8px 10px 52px;
}

.retainer-checklist__step-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.retainer-checklist__nav {
  display: flex;
  gap: 8px;
}

.retainer-checklist__nav-btn {
  flex: 1;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.retainer-checklist__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.retainer-checklist__nav-btn--primary {
  background: var(--color-maple-red);
  border-color: transparent;
}

@media (max-width: 899.98px) {
  .retainer-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639.98px) {
  .retainer-checklist__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retainer-checklist__meter > span {
    transition: none;
  }
}

.content-layout .prose--rich {
  /* override flat article card when nested in tree */
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.content-intro.prose--rich,
.content-fallback.prose--rich {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(11, 16, 24, 0.08);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-lg);
}

.content-main > .inline-engage {
  margin: 4px 0 0;
}

.side-panel__card {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.side-panel__card .btn {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
}

.side-panel__blurb {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.side-panel .leaf-steps {
  margin: 4px 0 8px;
}

.side-goal {
  gap: 6px;
}

.side-goal .mc-icon {
  width: 16px;
  height: 16px;
}

.side-goal .mc-icon svg {
  width: 16px;
  height: 16px;
}

.side-toc {
  margin: 0 0 14px;
}

.side-toc .footer-links a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.side-toc__n {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: var(--color-globe-deep);
  margin-top: 1px;
}

@media (max-width: 959.98px) {
  .side-panel {
    position: static;
  }

  .page-hero__copy h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero--3d .hero__mesh,
  .page-hero--3d .hero__orb {
    animation: none !important;
  }
}

/* Nested H3 leaves — superseded by .leaf-card (kept inert) */
.content-branch__body > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.25em 0 0.55em;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 1.05rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(232, 238, 246, 0.75));
  border: 1px solid rgba(11, 16, 24, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.content-branch__body > h3::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--color-globe-blue), var(--color-globe-deep));
  box-shadow: 0 0 0 4px rgba(62, 134, 181, 0.14);
}

.content-branch__body .leaf-card h3.leaf-card__title {
  /* reset older prose h3 margins */
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid rgba(11, 16, 24, 0.06);
}

.content-main > .inline-engage {
  border-radius: var(--radius-lg);
}


/* ========== Expandable branch interiors (leaf cards) ========== */
.content-branch.mc-tree--branch[open] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 248, 0.94));
}

.content-branch > .mc-tree__body.content-branch__body,
.content-branch__body {
  padding: 6px 14px 18px;
  display: grid;
  gap: 14px;
}

.branch-lead {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(11, 16, 24, 0.07);
  background:
    linear-gradient(145deg, rgba(225, 29, 46, 0.05), transparent 42%),
    linear-gradient(165deg, #fff, rgba(245, 247, 250, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(11, 16, 24, 0.05);
}

.branch-lead > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.branch-lead > p + p {
  margin-top: 0.85em;
}

.leaf-stack {
  display: grid;
  gap: 12px;
}

.leaf-card {
  border-radius: 16px;
  border: 1px solid rgba(11, 16, 24, 0.08);
  background:
    linear-gradient(165deg, #fff 0%, #f7fafc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 20px rgba(11, 16, 24, 0.05);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .leaf-card:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      0 14px 28px rgba(11, 16, 24, 0.08);
  }
}

.leaf-card__title,
.leaf-card h3.leaf-card__title {
  margin: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  background:
    linear-gradient(90deg, rgba(225, 29, 46, 0.07), rgba(62, 134, 181, 0.06) 55%, transparent);
  border-bottom: 1px solid rgba(11, 16, 24, 0.06);
}

.leaf-card__title::before,
.leaf-card h3.leaf-card__title::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--color-maple-facet), var(--color-maple-red));
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.12);
}

.mc-tree[data-tone="cold"] .leaf-card__title::before,
.mc-tree[data-tone="cold"] .leaf-card h3.leaf-card__title::before {
  background: linear-gradient(165deg, #5aa0cc, var(--color-globe-deep));
  box-shadow: 0 0 0 4px rgba(62, 134, 181, 0.14);
}

.mc-tree[data-tone="warm"] .leaf-card__title::before,
.mc-tree[data-tone="warm"] .leaf-card h3.leaf-card__title::before {
  background: linear-gradient(165deg, #ef7a5a, var(--color-tagline));
  box-shadow: 0 0 0 4px rgba(226, 90, 60, 0.14);
}

.leaf-card__body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}

.leaf-card__body > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9625rem;
  line-height: 1.65;
}

.leaf-card__body > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.leaf-card__body > ul > li {
  position: relative;
  padding: 11px 14px 11px 34px;
  border-radius: 12px;
  border: 1px solid rgba(11, 16, 24, 0.06);
  background: linear-gradient(165deg, #fff, rgba(240, 245, 250, 0.9));
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.45;
}

.leaf-card__body > ul > li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--color-globe-blue), var(--color-globe-deep));
  box-shadow: 0 0 0 3px rgba(62, 134, 181, 0.12);
}

@media (max-width: 639.98px) {
  .content-branch > .mc-tree__body.content-branch__body,
  .content-branch__body {
    padding: 4px 10px 14px;
  }

  .branch-lead,
  .leaf-card__title,
  .leaf-card h3.leaf-card__title,
  .leaf-card__body {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ========== Sitemap modern layout ========== */
.sitemap-grid--modern {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.sitemap-card {
  padding: clamp(16px, 2.5vw, 22px);
}

.sitemap-card h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.sitemap-card__note {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.sitemap-card--wide {
  grid-column: 1 / -1;
}

.sitemap-list--cols {
  columns: 2;
  column-gap: 28px;
}

@media (min-width: 900px) {
  .sitemap-list--cols {
    columns: 3;
  }
}

@media (min-width: 1200px) {
  .sitemap-list--cols {
    columns: 4;
  }
}

.sitemap-list--cols li {
  break-inside: avoid;
}

/* —— mc-mobile-perf: LCP / Speed Index (mobile only; desktop motion unchanged) —— */
@media (max-width: 899.98px) {
  .hero [data-reveal],
  .hero [data-reveal].is-visible,
  .page-hero [data-reveal],
  .page-hero [data-reveal].is-visible,
  .trust-strip[data-reveal],
  .trust-strip[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    filter: none;
  }

  .hero__visual {
    display: none !important;
  }

  .hero__logo-ring,
  .hero__logo-ring--2,
  .hero__mesh,
  .hero__orb,
  .hero__grid {
    animation: none !important;
  }

  .ash-field,
  .soft-cursor {
    display: none !important;
  }

  .btn--pulse,
  .hero__brand[data-brand-3d],
  .hb-card,
  .hb-chip,
  .hb-media,
  .hb-icon,
  .soft-float {
    animation: none !important;
  }

  .hero h1,
  .hero__brand,
  .hero__lead {
    font-family: Manrope, system-ui, sans-serif !important;
  }

  [data-reveal],
  [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* —— Scholarships hub —— */
.scholarship-intent-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scholarship-intent-cloud li {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 16, 24, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  color: var(--ink-2, #3a4553);
}

.scholarship-hubs .dest-card {
  text-decoration: none;
  color: inherit;
}

.scholarship-list {
  display: grid;
  gap: 1.25rem;
}

.scholarship-card {
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.scholarship-card__school {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-red, #e11d2e);
  font-weight: 700;
}

.scholarship-card h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.scholarship-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-2, #3a4553);
}

.scholarship-card__facts {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

@media (min-width: 720px) {
  .scholarship-card__facts {
    grid-template-columns: 1fr 1fr;
  }
}

.scholarship-card__facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3, #6b7785);
  margin-bottom: 0.2rem;
}

.scholarship-card__facts dd {
  margin: 0;
  font-size: 0.95rem;
}

.scholarship-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.scholarship-card__tags span {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.08);
  color: var(--ink, #0b1018);
  font-size: 0.75rem;
  font-weight: 600;
}

.scholarship-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
