
/* ------------------------------------------------------------- webfonts --
   Inter Tight and Bodoni Moda, both SIL Open Font License, self-hosted.
   Fallback faces carry metric overrides so nothing shifts on swap.
   ------------------------------------------------------------------------ */
@font-face { font-family:"Inter Tight"; font-style:normal; font-weight:300;
  font-display:swap; src:url(fonts/inter-tight-300.woff2) format("woff2"); }
@font-face { font-family:"Inter Tight"; font-style:normal; font-weight:400;
  font-display:swap; src:url(fonts/inter-tight-400.woff2) format("woff2"); }
@font-face { font-family:"Inter Tight"; font-style:normal; font-weight:500;
  font-display:swap; src:url(fonts/inter-tight-500.woff2) format("woff2"); }
@font-face { font-family:"Inter Tight"; font-style:normal; font-weight:600;
  font-display:swap; src:url(fonts/inter-tight-600.woff2) format("woff2"); }
@font-face { font-family:"Bodoni Moda"; font-style:normal; font-weight:400;
  font-display:swap; src:url(fonts/bodoni-moda-400.woff2) format("woff2"); }
@font-face { font-family:"Bodoni Moda"; font-style:normal; font-weight:500;
  font-display:swap; src:url(fonts/bodoni-moda-500.woff2) format("woff2"); }

@font-face { font-family:"Inter Tight Fallback"; src:local("Arial");
  size-adjust:96%; ascent-override:97%; descent-override:24%; line-gap-override:0%; }
@font-face { font-family:"Bodoni Fallback"; src:local("Georgia");
  size-adjust:103%; ascent-override:92%; descent-override:26%; line-gap-override:0%; }

/* ==========================================================================
   Wealth site template — ported design system
   Structure and rhythm follow a UK wealth-manager pattern; palette, type
   faces and content are deliberately different. See README.md.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* brand --------------------------------------------------------------- */
  --primary: #0b1b3d; /* Deep Blue */ /* Deep Blue */   /* deep green */
  --primary-ink: #050d1d;
  --accent:         hsl(48 96% 55%);    /* yellow */
  --accent-ink:     hsl(45 85% 26%);    /* dark olive for text use */
  --accent-contrast:hsl(160 45% 12%);  /* dark text on yellow */

  /* support ramp -------------------------------------------------------- */
  --s1: hsl(158 30% 40%);   /* mid green   */
  --s2: hsl(155 36% 62%);   /* light green */
  --s3: hsl(150 42% 88%);   /* pale green  */
  --s4: hsl(165 20% 70%);   /* sage        */
  --s5: hsl(150 26% 91%);   /* mint wash   */
  --s6: hsl(158 18% 74%);   /* muted green */

  /* neutrals ------------------------------------------------------------ */
  --panel:      hsl(140 18% 94%);
  --panel-2:    hsl(140 22% 97%);
  --surface:    #ffffff;
  --line:       hsl(150 14% 83%);
  --line-soft:  hsl(150 14% 90%);
  --ink:        hsl(0 0% 22%);
  --ink-soft:   hsl(0 0% 38%);
  --ink-strong: hsl(0 0% 12%);
  --on-dark:    hsl(60 24% 95%);
  --on-dark-soft: hsl(150 16% 72%);

  /* type ---------------------------------------------------------------- */
  --font-sans: "Inter Tight", "Inter Tight Fallback", "Helvetica Neue",
               -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Bodoni Moda", "Bodoni Fallback", "Iowan Old Style",
                  "Palatino Linotype", Palatino, Georgia, serif;
  --fw-heading: 300;

  /* rhythm -------------------------------------------------------------- */
  --container: 1200px;
  --measure: 66ch;
  --gutter: 1.875rem;
  --block-gap: 4rem;
  --radius: 2px;
  --pill: 999px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1rem + 0.28vw, 1.25rem); /* 18 -> 20px */
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5rem;
  font-weight: var(--fw-heading);
  line-height: 1.2;
  color: var(--primary);
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.5rem + 3.8vw, 4.375rem); /* 44 -> 70px */
  letter-spacing: -0.015em;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.1vw, 3.125rem); /* 32 -> 50px */
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
h3 { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); font-weight: 400; }
h4 { font-size: 1.0625rem; font-weight: 500; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }

strong { font-weight: 500; color: var(--ink-strong); }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* dark surfaces need a light ring */
.on-dark :focus-visible { outline-color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff;
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- layout -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--block-gap); }
.section--tight { padding-block: calc(var(--block-gap) * .6); }
.section--tint { background: var(--panel); }
.section--wash { background: var(--panel-2); }
.section--dark {
  background: var(--primary);
  color: var(--on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: #fff;
}
.section--dark p { color: var(--on-dark); }
.section--dark a { color: #fff; }

.section + .section { border-top: 1px solid var(--line-soft); }
.section--dark + .section { border-top: 0; }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  :root { --gutter: 1.25rem; --block-gap: 2.75rem; }
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--s1);
  margin: 0 0 .75rem;
}
.section--dark .eyebrow { color: var(--s2); }

.lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header__utility {
  border-bottom: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: var(--ink-soft);
}
.site-header__utility .container {
  display: flex; gap: 1.5rem; align-items: center;
  justify-content: flex-end; min-height: 2.25rem;
}
.site-header__utility a { color: var(--ink-soft); text-decoration: none; }
.site-header__utility a:hover { color: var(--accent-ink); text-decoration: underline; }

.site-header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.25rem;
}
.brand {
  display: flex; align-items: center; gap: .625rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.brand__mark {
  width: 1.75rem; height: 1.75rem; flex: 0 0 auto;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .75rem; font-family: var(--font-sans); font-weight: 500;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0;
}
.nav__list > li > a, .nav__list > li > button {
  font: inherit; font-size: .9375rem;
  color: var(--primary); background: none; border: 0; padding: .5rem 0;
  cursor: pointer; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav__list > li > a:hover,
.nav__list > li > button:hover { border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.75rem; height: 2.5rem; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--primary);
  position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav {
    display: none; order: 4; flex-basis: 100%; margin-left: 0;
    padding-bottom: 1rem;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: .25rem; }
  .nav__list > li > a, .nav__list > li > button {
    display: block; width: 100%; text-align: left;
    padding: .625rem 0; border-bottom: 1px solid var(--line-soft);
  }
  .site-header__bar { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .header-actions .btn--ghost { display: none; }
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-contrast);
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--radius);
  padding: .8125rem 1.375rem;
  font: inherit; font-size: .9375rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: filter .16s ease;
}
.btn:hover { filter: brightness(.92); color: var(--btn-fg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--primary);
  border-color: var(--primary);
}
.btn--ghost:hover { background: var(--primary); color: #fff; filter: none; }

.btn--on-dark {
  --btn-bg: #fff; --btn-fg: var(--primary);
  border-color: #fff;
}
.btn--on-dark:hover { background: transparent; color: #fff; filter: none; }

.btn--link {
  background: none; border: 0; padding: 0; color: var(--primary);
  font-weight: 500; text-decoration: underline; text-underline-offset: .2em;
}
.btn--link:hover { color: var(--accent-ink); filter: none; }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  min-height: 30rem;
  background: var(--primary);
  color: var(--on-dark);
}
.hero__body {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.875rem, 4vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 40rem;
  margin-left: auto;
  width: 100%;
}
.hero__body h1 { color: #fff; max-width: 18ch; }
.hero__body .lede { color: var(--on-dark-soft); margin-block: 1.25rem 2rem; }
.hero__media { position: relative; overflow: hidden; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; align-items: center; }
.hero__meta {
  margin-top: 2rem; font-size: .875rem; color: var(--on-dark-soft);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 16 / 9; }
  .hero__body { max-width: none; }
}

/* placeholder media ------------------------------------------------------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      hsl(199 30% 32% / .55) 0 2px,
      hsl(199 34% 26% / .55) 2px 14px),
    linear-gradient(160deg, var(--s1), var(--primary));
  color: hsl(0 0% 100% / .72);
  display: grid; place-items: center;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  min-height: 8rem;
}
.ph--light {
  background:
    repeating-linear-gradient(135deg,
      hsl(199 20% 88%) 0 2px,
      hsl(199 24% 93%) 2px 14px),
    linear-gradient(160deg, var(--s5), var(--s3));
  color: hsl(199 30% 38%);
}
.ph--tall { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }

/* ----------------------------------------------------------------- cards -- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .16s ease, transform .16s ease;
}
a.card:hover { border-color: var(--primary); transform: translateY(-2px); }
.card h3, .card h4 { margin-bottom: .5rem; }
.card p { font-size: .9375rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card__link {
  margin-top: auto; font-size: .875rem; font-weight: 500;
  color: var(--accent-ink);
}
.card--media { padding: 0; overflow: hidden; }
.card--media .card__body { padding: 1.25rem 1.5rem 1.5rem; }

.icon-badge {
  width: 3.25rem; height: 3.25rem; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--s3);
  color: var(--primary);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

/* link list — the "how we can help" columns */
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px solid var(--line-soft); }
.linklist a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .875rem 0;
  font-size: 1rem; color: var(--primary); text-decoration: none;
}
.linklist a::after { content: "→"; color: var(--accent); font-size: .9375rem; }
.linklist a:hover { color: var(--accent-ink); }

/* tiles — "who we help" */
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile .ph { margin-bottom: 1.125rem; }
.tile h4 { font-size: 1.125rem; font-weight: 400; margin-bottom: .375rem; }
.tile p { font-size: .9375rem; color: var(--ink-soft); margin-bottom: .75rem; }
.tile span { font-size: .875rem; font-weight: 500; color: var(--accent-ink); }
.tile:hover h4 { color: var(--accent-ink); }

/* ----------------------------------------------------------------- stats -- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat__value {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.875rem);
  line-height: 1.05;
  color: var(--primary);
}
.stat__label { font-size: .875rem; color: var(--ink-soft); }
.stat__source {
  font-size: .8125rem; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: .18em;
  margin-top: .375rem;
}
.stat__source:hover { color: var(--accent-ink); }

/* --------------------------------------------------------------- CTA band -- */
.cta-band {
  background: var(--primary);
  color: var(--on-dark);
}
.cta-band__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .cta-band__inner { grid-template-columns: 1fr; gap: 2rem; } }

.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); }
.cta-band .qualifier {
  font-size: .875rem; color: var(--on-dark-soft);
  border-left: 2px solid var(--accent);
  padding-left: .875rem; margin-top: 1.5rem;
  max-width: 44ch;
}
.cta-band__phone { font-size: 1.25rem; font-weight: 500; }
.cta-band__phone a { color: #fff; text-decoration: none; }
.cta-band__phone a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- forms -- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .375rem; }
.field > label { font-size: .875rem; font-weight: 500; color: var(--ink-strong); }
.field .hint { font-size: .8125rem; color: var(--ink-soft); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: .6875rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); outline: 2px solid var(--s3); outline-offset: 0;
}
.field textarea { min-height: 7rem; resize: vertical; }

.field--error input, .field--error textarea { border-color: var(--accent); }
.field__error { font-size: .8125rem; color: var(--accent-ink); }

.check { display: flex; gap: .625rem; align-items: flex-start; font-size: .875rem; }
.check input { width: 1.125rem; height: 1.125rem; margin-top: .18rem; flex: 0 0 auto; }
.check label { color: var(--ink-soft); }

/* ------------------------------------------------------------- accordion -- */
.faq { border-top: 1px solid var(--line); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1.0625rem; font-weight: 400; color: var(--primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.375rem; color: var(--accent);
  flex: 0 0 auto; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 0 1.375rem; max-width: 62ch; }
.faq .faq__body p { font-size: .9375rem; color: var(--ink-soft); }

/* ------------------------------------------------------------ disclaimer -- */
.disclaimer {
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 78ch;
}
.disclaimer p { font-size: .8125rem; margin-bottom: .875rem; }

.sticky-disclaimer {
  position: sticky; bottom: 0; z-index: 40;
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--ink-soft);
  padding: .625rem 0;
}
.sticky-disclaimer p { font-size: .75rem; margin: 0; max-width: none; }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--primary-ink);
  color: var(--on-dark-soft);
  padding-block: 3.5rem 2rem;
  font-size: .875rem;
}
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__top {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 2rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid hsl(160 18% 24%);
}
.footer__top a { font-size: .875rem; }

.footer__nav {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.1fr;
  gap: 2rem;
  max-width: 62rem;
}
@media (max-width: 880px) { .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase;
  color: hsl(0 0% 100% / .55);
  margin: 0 0 .875rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__col li { line-height: 1.4; }

.footer__legal {
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid hsl(160 18% 24%);
  font-size: .75rem; line-height: 1.65;
  color: hsl(0 0% 100% / .5);
}
.footer__legal p { font-size: .75rem; margin-bottom: .75rem; max-width: 90ch; }

/* -------------------------------------------------------------- utilities -- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }

.breadcrumb {
  font-size: .8125rem; color: var(--ink-soft);
  padding-block: 1rem;
}
.breadcrumb ol { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }

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

/* ------------------------------------------------- small-screen refinements */
@media (max-width: 900px) {
  .site-header__utility .container {
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    justify-content: flex-start;
    padding-block: .375rem;
  }
}
@media (max-width: 640px) {
  /* keep the phone number, drop the rest of the utility row */
  .site-header__utility .container > *:not(:last-child) { display: none; }
  .header-actions .btn { padding: .625rem .875rem; font-size: .875rem; }
  .brand { font-size: 1.1875rem; }
  .hero__body { padding-block: 2.25rem; }
  .stat__value { font-size: 2rem; }
  .faq summary { font-size: 1rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   v2 — full-bleed hero, mega-menu, real photography, tabs, filters,
   consent manager, article/prose and sticky TOC.
   ========================================================================== */

/* ------------------------------------------------------- photography ----- */
.media { position: relative; overflow: hidden; background: var(--panel); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--fill { height: 100%; }

/* --------------------------------------------------- full-bleed hero ----- */
.hero-full {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(26rem, 78vh, 44rem);
  background: var(--primary);
  color: #fff;
  isolation: isolate;
}
.hero-full__media { position: absolute; inset: 0; z-index: -2; }
.hero-full__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.02);
}
.hero-full::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    100deg,
    hsl(160 50% 12% / .92) 0%,
    hsl(160 50% 12% / .74) 42%,
    hsl(160 50% 12% / .18) 78%,
    hsl(160 50% 12% / .05) 100%
  );
}
.hero-full__body {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 44rem;
}
.hero-full h1 { color: #fff; max-width: 20ch; }
.hero-full .lede { color: hsl(40 20% 92% / .9); margin-block: 1.25rem 2rem; }
.hero-full__meta {
  margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid hsl(0 0% 100% / .22);
  font-size: .875rem; color: hsl(40 20% 92% / .78);
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 2rem; font-size: .8125rem; letter-spacing: .06em;
  text-transform: uppercase; color: hsl(0 0% 100% / .7);
  text-decoration: none;
}
.scroll-cue::after { content: "↓"; }

/* secondary hero, article + interior pages */
.page-head { background: var(--panel-2); border-bottom: 1px solid var(--line-soft); }
.page-head__inner { padding-block: clamp(2rem, 4vw, 3.25rem); }
.page-head h1 { max-width: 24ch; }
.page-head .lede { margin-top: 1rem; }

/* ------------------------------------------------------- mega menu ------- */
.has-mega { position: static; }
.site-header { z-index: 60; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px -18px hsl(199 40% 12% / .45);
  display: none;
  z-index: 55;
}
.mega.is-open { display: block; }
.mega__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem; padding-block: 2rem 2.5rem;
}
.mega h4 {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; margin-bottom: .875rem;
}
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mega a { font-size: .9375rem; text-decoration: none; color: var(--primary); }
.mega a:hover { color: var(--accent-ink); text-decoration: underline; }
.mega__promo {
  background: var(--panel); padding: 1.25rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.mega__promo p { font-size: .875rem; color: var(--ink-soft); }
@media (max-width: 1080px) { .mega { display: none !important; } }

/* ------------------------------------------------------------ tabs ------- */
.tabs__list {
  display: flex; flex-wrap: wrap; gap: .25rem;
  border-bottom: 1px solid var(--line); margin-bottom: 2rem;
}
.tabs__tab {
  font: inherit; font-size: .9375rem; font-weight: 500;
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: .875rem 1rem; cursor: pointer; color: var(--ink-soft);
}
.tabs__tab:hover { color: var(--primary); }
.tabs__tab[aria-selected="true"] {
  color: var(--primary); border-bottom-color: var(--accent);
}
.tabs__panel[hidden] { display: none; }
.tabs__panel { padding-top: .5rem; }

/* ---------------------------------------------------------- filters ------ */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  font: inherit; font-size: .875rem;
  padding: .4375rem .875rem; border-radius: var(--pill);
  border: 1px solid var(--line); background: none;
  color: var(--ink-soft); cursor: pointer;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip[aria-pressed="true"] {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
[data-filter-item][hidden] { display: none; }

/* --------------------------------------------------- article + prose ----- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 2.75rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 500; }
.prose ul, .prose ol { max-width: 62ch; padding-left: 1.25rem; }
.prose li + li { margin-top: .5rem; }
.prose blockquote {
  margin: 2.25rem 0; padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35;
  color: var(--primary);
}
.prose blockquote p { max-width: 44ch; }
.prose figure { margin: 2.25rem 0; }
.prose figcaption { font-size: .8125rem; color: var(--ink-soft); margin-top: .625rem; }

.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem;
  font-size: .875rem; color: var(--ink-soft);
  padding-block: 1.25rem; border-block: 1px solid var(--line-soft);
  margin-block: 1.75rem;
}
.byline strong { color: var(--ink-strong); font-weight: 500; }

.author-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--panel-2); padding: 1.5rem; margin-top: 3rem;
}
.author-box p { font-size: .9375rem; color: var(--ink-soft); margin: 0; }

/* monogram avatar — intentional placeholder instead of a stock portrait */
.avatar {
  --sz: 3rem;
  width: var(--sz); height: var(--sz); flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--s3); color: var(--primary);
  font-family: var(--font-display); font-size: calc(var(--sz) * .38);
  letter-spacing: .02em;
}
.avatar--lg { --sz: 7rem; }

/* ---------------------------------------------------------- profile ------ */
.profile-hero { display: grid; grid-template-columns: 18rem 1fr; gap: 2.5rem; align-items: start; }
.profile-hero .media { aspect-ratio: 3 / 4; }
@media (max-width: 780px) { .profile-hero { grid-template-columns: 1fr; gap: 1.5rem; } }
.profile-meta { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .625rem; }
.profile-meta li { font-size: .9375rem; color: var(--ink-soft); }
.profile-meta span { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--s1); }

/* ------------------------------------------------------ sticky TOC ------- */
.with-toc { display: grid; grid-template-columns: 16rem 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; gap: 2rem; } }
.toc { position: sticky; top: 7rem; }
.toc h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.toc ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .625rem; }
.toc a { font-size: .875rem; text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }
@media (max-width: 900px) { .toc { position: static; } }

/* ------------------------------------------------- consent manager ------- */
.consent {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -20px hsl(199 40% 12% / .5);
  padding-block: 1.25rem;
}
.consent__inner { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.consent p { font-size: .875rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.consent[hidden] { display: none; }
@media (max-height: 520px) { .consent { position: static; } }

dialog.prefs {
  border: 0; padding: 0; width: min(38rem, 92vw);
  border-radius: var(--radius); color: var(--ink);
}
dialog.prefs::backdrop { background: hsl(199 40% 10% / .55); }
.prefs__body { padding: 2rem; }
.prefs__row {
  display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start;
  padding-block: 1rem; border-top: 1px solid var(--line-soft);
}
.prefs__row:first-of-type { border-top: 0; }
.prefs__row p { font-size: .875rem; color: var(--ink-soft); margin: .25rem 0 0; }
.prefs__row label { font-size: .9375rem; font-weight: 500; color: var(--ink-strong); }

/* ------------------------------------------------------- page nav ------- */
.pager { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.pager a { font-size: .9375rem; text-decoration: none; color: var(--primary); }
.pager a:hover { color: var(--accent-ink); }

/* --------------------------------------------------------- office ------- */
.office-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .office-grid { grid-template-columns: 1fr; gap: 2rem; } }
.office-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.office-list a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .875rem 0; border-bottom: 1px solid var(--line-soft);
  text-decoration: none; color: var(--primary); font-size: .9375rem;
}
.office-list a:hover { color: var(--accent-ink); }


/* ------------------------------------------- photography, one treatment --
   Random or mixed-source photography only reads as a designed set when the
   treatment is constant. Slight desaturation + a hair of contrast does that
   without hiding the subject.
   ------------------------------------------------------------------------ */
.media img,
.hero-full__media img,
.card--media img {
  filter: saturate(.9) contrast(1.05) brightness(.99);
}
.hero-full__media img { filter: saturate(.82) contrast(1.06) brightness(.95); }

/* ==========================================================================
   v6 — craft corrections
   1. hero: solid panel sitting on the photograph, not text over a scrim
   2. cards: full-width action button instead of a small text link
   3. hero cue: chevron in the accent colour
   ========================================================================== */

/* 1 --------------------------------------------------- hero, panel variant */
.hero-full {
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
  min-height: clamp(28rem, 72vh, 44rem);
}
.hero-full::after {
  /* lighter scrim — the panel now carries the contrast, so the photo can breathe */
  background: linear-gradient(
    100deg,
    hsl(160 50% 12% / .55) 0%,
    hsl(160 50% 12% / .32) 45%,
    hsl(160 50% 12% / .05) 100%
  );
}
.hero-full__body {
  background: var(--primary);
  padding: clamp(2rem, 3.4vw, 3.5rem);
  max-width: 41rem;
  margin-left: 0;
}
.hero-full__body h1 { max-width: 16ch; }
.hero-full__meta { border-top-color: hsl(0 0% 100% / .18); }

/* 3 ------------------------------------------------------------ scroll cue */
.scroll-cue {
  margin-top: 2.25rem;
  font-size: .8125rem;
  color: hsl(0 0% 100% / .82);
}
.scroll-cue::after {
  content: "";
  display: block;
  width: .6875rem; height: .6875rem;
  margin-top: .5rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.scroll-cue:hover { color: #fff; }

/* 2 ------------------------------------------------- card action buttons */
.card__link {
  display: block;
  margin-top: auto;
  padding: .8125rem 1rem;
  text-align: center;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: .9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: filter .16s ease;
}
a.card:hover .card__link { filter: brightness(.92); }
.card p { margin-bottom: 1.25rem; }
.card--media .card__link { margin-inline: 1.5rem; margin-bottom: 1.5rem; }

/* tiles get the same treatment, one step quieter */
.tile span {
  display: block;
  margin-top: auto;
  padding: .75rem 1rem;
  text-align: center;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: .9375rem;
  font-weight: 500;
}
.tile:hover span { background: var(--primary); color: #fff; }
.tile { display: flex; flex-direction: column; }

/* stat blocks read better with a hairline above them, as in the reference */
.stats { padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   v6 continued — remaining craft corrections
   ========================================================================== */

/* cards: photograph inset in a white frame, as the reference does */
.card--media { padding: 0; }
.card--media .media { margin: .875rem .875rem 0; }
.card--media .card__body { padding: 1.25rem 1.5rem 0; }

/* insight cards carry an accent rule under the foot */
.card--media { position: relative; }
.card--media::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent);
  margin: 1.5rem .875rem .875rem;
}
.card--media .card__link { margin-bottom: 0; }

/* section headings: measured lede, tighter head block */
.section-head { max-width: 58ch; }
.section-head .lede,
.section-head > p { max-width: 62ch; }

/* page heads read better with the serif a step larger */
.page-head h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); }

/* "Important information" block: circled info mark before the heading */
.info-mark::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 1.75rem; height: 1.75rem;
  margin-right: .65rem;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  vertical-align: .18em;
}

/* footer: social row + larger column heads */
.footer__social {
  display: flex;
  gap: .875rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(160 18% 24%);
}
.footer__social a {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid hsl(160 18% 30%);
  border-radius: 50%;
  font-size: .75rem;
  letter-spacing: .02em;
}
.footer__social a:hover { border-color: #fff; }
.footer__col h4 { font-size: .8125rem; color: hsl(0 0% 100% / .62); }

/* sticky risk bar: neutral ground, not a panel */
.sticky-disclaimer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.sticky-disclaimer p { font-size: .8125rem; }
.sticky-disclaimer .container { display: flex; align-items: center; gap: .5rem; }
.sticky-disclaimer .container::before {
  content: "i";
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 1.125rem; height: 1.125rem;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  font-size: .625rem;
}


/* ------------------------------------------- nav dropdown indicators -----
   Chevron on every nav item that opens a panel, as requested. Pure CSS, so
   it inherits the current colour and rotates when the panel is open.
   ------------------------------------------------------------------------ */
.nav__list > li > button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.nav__list > li > button::after {
  content: "";
  width: .42rem; height: .42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .16s ease;
}
.nav__list > li > button[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-1px);
}
.mega a { display: block; }


/* ==========================================================================
   CANACCORD WEALTH UI REPLICATION & LIGHT GREEN THEME FOR AIP WEALTH
   ========================================================================== */

:root {
  /* Wherever Canaccord used Violet (#2B0E3D), AIP Wealth uses Light Green Theme */
  --canaccord-violet: #0b1b3d; /* Deep Blue replacing Canaccord Violet / Green */        /* Deep rich emerald-forest container base */
  --canaccord-violet-hover: #132b5e;
  --canaccord-violet-dark: #071228;
  --primary: #0b1b3d; /* Deep Blue */
  --primary-ink: #050d1d;

  /* Fresh luminous light green for accents, highlights, and borders */
  --light-green: #22c55e;
  --light-green-bright: #34d399;
  --light-green-mint: #6ee7b7;
  --light-green-soft: #dcfce7;
  --light-green-tint: #f0fdf4;
  --light-green-glow: rgba(52, 211, 153, 0.28);

  /* Canaccord Signature Gold/Yellow Button & Accent (#f5be18) */
  --accent-gold: #f5be18;
  --accent-gold-hover: #e5b014;
  --accent-gold-contrast: #111827;
  --accent: #f5be18;
  --accent-contrast: #111827;

  /* Neutrals */
  --surface: #ffffff;
  --panel: #f7f9f8;
  --panel-2: #f0f4f2;
  --line: #e2e8e5;
  --line-soft: #edf2ef;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --ink-strong: #111827;
  --on-dark: #f0fdf4;
  --on-dark-soft: #a7f3d0;
  
  --font-sans: "Inter Tight", "Inter Tight Fallback", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Bodoni Moda", "Bodoni Fallback", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --container: 1240px;
  --radius: 2px;
}

/* ------------------------------------------------------------- Header & Topbar -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.site-header__topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  min-height: 2.75rem;
  display: flex;
  align-items: stretch;
}

.site-header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.topbar-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.topbar-nav__item {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.topbar-nav__item a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0.5rem 1.25rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.topbar-nav__item.is-active a {
  background: var(--canaccord-violet);
  color: #ffffff !important;
  font-weight: 600;
}

.topbar-nav__item:not(.is-active) a:hover {
  color: var(--canaccord-violet);
  background: var(--light-green-tint);
}

.topbar-utilities {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.topbar-util {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8125rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.16s ease;
}

.topbar-util:hover {
  color: var(--canaccord-violet);
}

.topbar-util--phone {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
}

.topbar-util--phone:hover {
  color: var(--canaccord-violet);
  text-decoration: underline;
}

.topbar-util--country {
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--ink-strong);
}

.country-flag {
  font-size: 1.15rem;
  line-height: 1;
}

/* Main Navbar Bar */
.site-header__bar {
  background: var(--canaccord-violet);
  color: #ffffff;
  min-height: 4.85rem;
  border-bottom: 0;
  padding: 0;
}

.site-header__bar-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.brand-text-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: #ffffff;
  line-height: 1;
  user-select: none;
}

.brand-text-logo__name {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-text-logo__sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.28rem;
  text-transform: uppercase;
}

.brand-text-logo--footer .brand-text-logo__name {
  font-size: 1.85rem;
}
.brand-text-logo--footer .brand-text-logo__sub {
  font-size: 0.65rem;
}

/* Nav links in light green bar */
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li > a,
.nav__list > li > button {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #ffffff;
  background: none;
  border: 0;
  padding: 0.75rem 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav__list > li > a:hover,
.nav__list > li > button:hover {
  color: var(--accent-gold);
}

.nav__list > li > button::after {
  display: none !important; /* using SVG chevron */
}

.nav-chevron {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
}

.has-mega button[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-left: auto;
}

.btn-expert {
  background: var(--accent-gold);
  color: var(--accent-gold-contrast) !important;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid var(--accent-gold);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-expert:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 190, 24, 0.35);
}

.btn-login {
  background: transparent;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid var(--accent-gold);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-login:hover {
  background: rgba(245, 190, 24, 0.15);
  transform: translateY(-1px);
}

/* Search Modal Overlay - Full Width Dropdown Container Across */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 3px solid var(--accent-gold);
  box-shadow: 0 25px 50px -12px rgba(11, 27, 61, 0.25);
  padding: 2.5rem 0 2rem;
  z-index: 120;
  animation: slideDownSearch 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.is-open {
  display: block;
}

@keyframes slideDownSearch {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-overlay__box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #ffffff;
  border: 2px solid var(--canaccord-violet);
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  box-shadow: 0 6px 20px rgba(11, 27, 61, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-overlay__box:focus-within {
  border-color: var(--canaccord-violet);
  box-shadow: 0 0 0 3px rgba(245, 190, 24, 0.4), 0 8px 25px rgba(11, 27, 61, 0.12);
}

.search-overlay__box svg {
  color: var(--canaccord-violet);
  flex-shrink: 0;
}

.search-overlay__box input {
  flex: 1;
  border: 0;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--canaccord-violet);
  background: transparent;
}

.search-overlay__box input::placeholder {
  color: #718096;
  font-weight: 300;
}

.search-overlay__btn {
  background: var(--accent-gold);
  color: var(--canaccord-violet);
  border: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.search-overlay__btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.search-overlay__box button#search-close {
  background: none;
  border: 0;
  font-size: 1.35rem;
  color: #a0aec0;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.16s ease, transform 0.16s ease;
}

.search-overlay__box button#search-close:hover {
  color: var(--canaccord-violet);
  transform: scale(1.1);
}

.search-overlay__quick {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.search-overlay__quick span {
  font-weight: 500;
  color: var(--canaccord-violet);
}

.search-overlay__quick a {
  color: var(--canaccord-violet);
  background: rgba(11, 27, 61, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.16s ease;
}

.search-overlay__quick a:hover {
  background: var(--accent-gold);
  color: var(--canaccord-violet);
  transform: translateY(-1px);
}

/* Mega Menu Panels */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--line);
  display: none;
  z-index: 90;
  animation: slideMega 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega.is-open {
  display: block;
}

@keyframes slideMega {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-block: 2.5rem 3rem;
}

.mega h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.mega ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega a {
  font-size: 0.95rem;
  color: var(--ink-strong);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
  display: inline-block;
}

.mega a:hover {
  color: var(--canaccord-violet);
  text-decoration: underline;
  transform: translateX(2px);
}

.mega__promo {
  background: var(--light-green-tint);
  border: 1px solid var(--light-green-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega__promo .eyebrow {
  color: var(--canaccord-violet);
  font-weight: 600;
}

.mega__promo .btn {
  background: var(--accent-gold);
  color: var(--accent-gold-contrast);
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------- Hero Canaccord -- */
.hero-canaccord {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0b1410;
  background-image: linear-gradient(to right, rgba(10, 26, 18, 0.92) 0%, rgba(10, 26, 18, 0.76) 45%, rgba(10, 26, 18, 0.35) 100%), url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-block: 6rem 5rem;
  overflow: hidden;
}

.hero-canaccord__container {
  width: 100%;
}

.hero-canaccord__content {
  max-width: 44rem;
  position: relative;
  z-index: 2;
}

.hero-canaccord h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 300;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-canaccord .hero-lede {
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 38rem;
}

.btn-consultation {
  background: var(--accent-gold);
  color: var(--accent-gold-contrast);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-consultation:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 190, 24, 0.4);
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3.5rem;
  color: var(--accent-gold);
  text-decoration: none;
  animation: scrollBounce 2s infinite ease-in-out;
  cursor: pointer;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-compliance-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 26, 18, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
}

.hero-compliance-bar .container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.info-circle-icon {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  flex-shrink: 0;
}

/* ------------------------------------------------------------- How we can help -- */
.how-we-help-section {
  padding-block: var(--block-gap);
  background: var(--surface);
}

.help-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 3rem;
}

.help-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--canaccord-violet); /* Light green container replacing Canaccord violet! */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 78, 56, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(19, 78, 56, 0.22);
}

.help-card__media {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
}

.help-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.help-card:hover .help-card__media img {
  transform: scale(1.04);
}

.help-card__body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.help-card__title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.help-card__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.help-card__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 400;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

.help-card__links a:hover {
  color: var(--light-green-bright);
  padding-left: 0.35rem;
  border-bottom-color: var(--light-green-bright);
}

.help-card__links a .chevron-right {
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--accent-gold);
  transition: transform 0.2s ease;
}

.help-card__links a:hover .chevron-right {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .help-card {
    grid-template-columns: 1fr;
  }
  .help-card__media {
    min-height: 16rem;
  }
}

/* ------------------------------------------------------------- Who we help -- */
.who-we-help-section {
  padding-block: var(--block-gap);
  background: var(--panel);
}

.who-we-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.who-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.who-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--light-green-bright);
}

.who-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.who-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.who-card:hover .who-card__media img {
  transform: scale(1.05);
}

.who-card__body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.who-card__title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink-strong);
  margin-bottom: 0.75rem;
}

.who-card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  flex: 1;
}

.btn-learn-more {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent-gold);
  color: var(--accent-gold-contrast);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-learn-more:hover {
  background: var(--accent-gold-hover);
  box-shadow: 0 4px 12px rgba(245, 190, 24, 0.3);
}

.who-we-help-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: calc(66.666% + 1rem);
  margin: 2rem auto 0;
}

@media (max-width: 960px) {
  .who-we-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .who-we-help-row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .who-we-help-grid,
  .who-we-help-row-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* ------------------------------------------------------------- Committed to our clients -- */
.committed-clients-section {
  padding-block: var(--block-gap);
  background: var(--surface);
}

.canaccord-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.canaccord-stat {
  display: flex;
  flex-direction: column;
}

.canaccord-stat__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1;
  color: var(--canaccord-violet);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.canaccord-stat__label {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.canaccord-stat__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--canaccord-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.canaccord-stat__link:hover {
  color: var(--accent-gold-hover);
}

@media (max-width: 768px) {
  .canaccord-stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ------------------------------------------------------------- Ready to talk? -- */
.ready-to-talk-section {
  background: var(--canaccord-violet); /* Light green container replacing Canaccord violet! */
  color: #ffffff;
  padding-block: clamp(4rem, 6vw, 6.5rem);
}

.ready-to-talk-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: start;
}

.ready-to-talk-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  color: #ffffff;
  font-weight: 300;
  margin-bottom: 2rem;
}

.ready-to-talk-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ready-to-talk-info a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ready-to-talk-form,
.ready-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.ready-to-talk-form input[type="text"],
.ready-to-talk-form input[type="email"],
.ready-to-talk-form input[type="tel"],
.ready-to-talk-form textarea,
.ready-form input[type="text"],
.ready-form input[type="email"],
.ready-form input[type="tel"],
.ready-form textarea {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-strong);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ready-to-talk-form input:focus,
.ready-to-talk-form textarea:focus,
.ready-form input:focus,
.ready-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 190, 24, 0.35);
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.45;
  cursor: pointer;
}

.form-checkbox-row input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent-gold);
}

.btn-submit-talk {
  background: var(--accent-gold);
  color: var(--accent-gold-contrast);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.btn-submit-talk:hover {
  background: var(--accent-gold-hover);
  box-shadow: 0 4px 15px rgba(245, 190, 24, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .ready-to-talk-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ------------------------------------------------------------- Latest insights -- */
.latest-insights-section {
  padding-block: var(--block-gap);
  background: var(--panel);
}

.canaccord-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.canaccord-insight-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.canaccord-insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--canaccord-violet);
}

/* Iconic yellow accent bar on bottom of card */
.canaccord-insight-card::after {
  content: "";
  display: block;
  height: 6px;
  background: var(--accent-gold);
  width: 100%;
}

.canaccord-insight-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.canaccord-insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.canaccord-insight-card:hover .canaccord-insight-card__media img {
  transform: scale(1.05);
}

.canaccord-insight-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.canaccord-insight-card__title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-strong);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  flex: 1;
}

.canaccord-insight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 900px) {
  .canaccord-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- Podcast Series -- */
.podcast-canaccord-section {
  background: var(--canaccord-violet); /* Light green container replacing Canaccord violet! */
  color: #ffffff;
  padding-block: clamp(4rem, 6vw, 6rem);
}

.podcast-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.podcast-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 9rem;
}

.podcast-bar {
  width: 0.5rem;
  border-radius: 999px;
  background: var(--light-green-bright);
  animation: wavePulse 1.4s ease-in-out infinite alternate;
}

.podcast-bar.bar-1 { height: 35%; animation-delay: 0.1s; background: var(--light-green); }
.podcast-bar.bar-2 { height: 75%; animation-delay: 0.4s; background: var(--accent-gold); }
.podcast-bar.bar-3 { height: 95%; animation-delay: 0.2s; background: #ffffff; }
.podcast-bar.bar-4 { height: 60%; animation-delay: 0.6s; background: var(--light-green-bright); }
.podcast-bar.bar-5 { height: 85%; animation-delay: 0.3s; background: var(--accent-gold); }
.podcast-bar.bar-6 { height: 45%; animation-delay: 0.7s; background: var(--light-green); }
.podcast-bar.bar-7 { height: 90%; animation-delay: 0.15s; background: #ffffff; }
.podcast-bar.bar-8 { height: 65%; animation-delay: 0.5s; background: var(--accent-gold); }
.podcast-bar.bar-9 { height: 40%; animation-delay: 0.25s; background: var(--light-green-bright); }

@keyframes wavePulse {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.podcast-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.podcast-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.podcast-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 48ch;
}

.btn-listen-here {
  background: var(--accent-gold);
  color: var(--accent-gold-contrast);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-listen-here:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 190, 24, 0.35);
}

@media (max-width: 768px) {
  .podcast-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .podcast-waveform {
    height: 6rem;
  }
}

/* ------------------------------------------------------------- Important Information -- */
.important-info-section {
  padding-block: 4rem;
  background: var(--panel-2);
}

.important-info-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.info-circle-lg {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--canaccord-violet);
  border-radius: 50%;
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--canaccord-violet);
}

.important-info-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-style: italic;
  font-weight: 300;
  color: var(--canaccord-violet);
  margin: 0;
}

.important-info-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 80ch;
  margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------- Site Footer -- */
.site-footer {
  background: #121413;
  color: #ffffff;
  padding-block: 4.5rem 3rem;
  border-top: 1px solid #232725;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 3rem;
}

.footer__top-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer__phone-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.footer__phone-link:hover {
  color: var(--accent-gold);
}

.footer__nav-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer__nav-col h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer__nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__nav-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.16s ease;
}

.footer__nav-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer__social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.footer__social-row a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.footer__social-row a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer__watermark-logo {
  display: flex;
  flex-direction: column;
  opacity: 0.45;
  user-select: none;
  align-items: flex-end;
}

.watermark-top {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.watermark-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: #ffffff;
  margin-top: 0.35rem;
}

.footer__bottom-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom-legal p {
  margin-bottom: 0.85rem;
  max-width: 100%;
}

.footer__copyright {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 960px) {
  .footer__nav-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__brand-col {
    grid-column: span 2;
    align-items: flex-start;
  }
  .footer__watermark-logo {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer__nav-columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MASSIVE BIDIRECTIONAL SCROLL ANIMATIONS ENGINE
   ========================================================================== */

/* Base state: smooth, crisp entrance without scroll glitch or layout jump */
.reveal-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* When revealed: springs into crisp, full focus */
.reveal-scroll.is-revealed,
.reveal-fade-left.is-revealed,
.reveal-fade-right.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fallback / direction styling */
.reveal-scroll[data-scroll-dir="up"] {
  transform: translateY(-24px);
}
.reveal-scroll[data-scroll-dir="up"].is-revealed {
  transform: translateY(0);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.24s !important; }
.delay-3 { transition-delay: 0.36s !important; }
.delay-4 { transition-delay: 0.48s !important; }
.delay-5 { transition-delay: 0.60s !important; }


/* ------------------------------------------------------------- Financial Advisers Page Styles -- */
.advisers-intro-section {
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3vw, 3rem);
  background: var(--surface);
}

.advisers-intro-head {
  max-width: 58rem;
}

.advisers-intro-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--canaccord-violet);
  margin-bottom: 1.5rem;
}

.advisers-intro-head p {
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Feature Two-Column Prose Sections */
.feature-prose-section {
  padding-block: clamp(3.5rem, 5vw, 5rem);
  background: var(--surface);
}

.feature-prose-section--tint {
  background: var(--panel);
}

.feature-prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.feature-prose-grid--reverse .feature-prose-col--media {
  order: -1;
}

.feature-prose-col--text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--canaccord-violet);
  margin-bottom: 1.75rem;
}

.feature-prose-col--text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.feature-prose-col--text p:last-child {
  margin-bottom: 0;
}

.feature-prose-col--media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(11, 27, 61, 0.1);
}

.feature-prose-col--media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .feature-prose-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-prose-grid--reverse .feature-prose-col--media {
    order: 0;
  }
}

/* Awards and Accreditations Section (Image 5) */
.awards-section {
  padding-block: var(--block-gap);
  background: var(--surface);
  text-align: center;
}

.awards-section .section-head {
  margin-inline: auto;
  text-align: center;
  max-width: 52rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.award-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 27, 61, 0.08);
  border-color: var(--canaccord-violet);
}

.award-card__logo {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.award-card__rating {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.award-card__rating-stars {
  color: #f59e0b;
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.award-card__service {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.award-card__badge {
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.15rem;
  border-radius: 2px;
}

.awards-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.awards-arrow {
  background: none;
  border: 1px solid var(--line);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.awards-arrow:hover {
  border-color: var(--canaccord-violet);
  color: var(--canaccord-violet);
}

.awards-dots {
  display: flex;
  gap: 0.5rem;
}

.awards-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--line);
}

.awards-dot.is-active {
  background: var(--canaccord-violet);
}

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

/* ------------------------------------------------------------- Insight Cards SVG Metadata -- */
.canaccord-insight-card__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 0.5rem;
}

.canaccord-insight-card__meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.canaccord-insight-card__meta .meta-icon {
  stroke: var(--ink-soft);
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.canaccord-insight-card:hover .canaccord-insight-card__meta .meta-icon {
  stroke: var(--canaccord-violet);
}

/* ------------------------------------------------------------- Professional Partners: Who We Help (Images 14 & 15) -- */
.partners-who-section {
  padding-block: clamp(3.5rem, 5vw, 5rem);
  background: var(--surface);
}

.partners-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 3rem;
}

.partners-who-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  max-width: 54rem;
  margin: 2.5rem auto 0;
}

.partners-who-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: transparent;
  transition: transform 0.2s ease;
}

.partners-who-card:hover {
  transform: translateY(-3px);
}

.partners-who-icon {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: #3b82f6; /* Canaccord line-art blue */
}

.partners-who-icon svg {
  width: 4rem;
  height: 4rem;
  stroke-width: 1.5;
}

.partners-who-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--canaccord-violet);
  margin-bottom: 0.75rem;
}

.partners-who-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0 auto;
}

.btn-charity {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--accent-gold);
  color: var(--canaccord-violet);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 190, 24, 0.3);
  transition: all 0.2s ease;
}

.btn-charity:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
  color: var(--canaccord-violet);
}

@media (max-width: 960px) {
  .partners-who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-who-row-2 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .partners-who-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- Planning for Retirement: How We Can Help (Image 1) -- */
.retirement-services-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  background: var(--surface);
}

.retirement-service-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  max-width: 58rem;
  margin-top: 2.5rem;
}

.retirement-service-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-soft);
}

.retirement-service-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.retirement-service-icon {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #3b82f6;
}

.retirement-service-icon svg {
  width: 3.5rem;
  height: 3.5rem;
  stroke-width: 1.6;
}

.retirement-service-content h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--canaccord-violet);
  margin-bottom: 0.5rem;
}

.retirement-service-content h3 a {
  color: var(--canaccord-violet);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.retirement-service-content h3 a:hover {
  color: var(--accent-gold-hover);
}

.retirement-service-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}

@media (max-width: 640px) {
  .retirement-service-item {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ------------------------------------------------------------- Retirement FAQ Accordion (Images 5 & 6) -- */
.retirement-faq-section {
  padding-block: clamp(3.5rem, 5vw, 5rem);
  background: var(--panel-2);
}

.retirement-faq-section .section-head {
  max-width: 56rem;
}

.retirement-faq-list {
  max-width: 56rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.retirement-faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.retirement-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--canaccord-violet);
  user-select: none;
  transition: color 0.16s ease, background 0.16s ease;
}

.retirement-faq-item summary::-webkit-details-marker {
  display: none;
}

.retirement-faq-item summary:hover {
  color: var(--accent-gold-hover);
  background: rgba(11, 27, 61, 0.02);
}

.retirement-faq-item[open] summary {
  background: rgba(245, 190, 24, 0.12);
  color: var(--canaccord-violet);
  border-left: 4px solid var(--accent-gold);
}

.retirement-faq-chevron {
  width: 14px;
  height: 8px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.retirement-faq-item[open] .retirement-faq-chevron {
  transform: rotate(180deg);
}

.retirement-faq-body {
  padding: 0.5rem 1.25rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 54ch;
}

/* ==========================================================================
   NEW CLIENT SPECIFICATIONS — FULL UI ENHANCEMENTS
   ========================================================================== */

/* Prevent horizontal overflow or rogue edge scroll */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

/* ------------------------------------------------------------- Brand SVG Logo (Office Wall & Mug Authentic Logo) -- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo__svg {
  display: block;
  height: 44px;
  width: auto;
  max-width: 250px;
}

.brand-logo--footer .brand-logo__svg text {
  fill: #ffffff;
}

.brand-logo--footer .brand-logo__svg text.sub {
  fill: #94a3b8;
}

/* ------------------------------------------------------------- Hero Sliding Carousel -- */
.hero-slider-section,
.hero-slider-container,
.hero-slider-wrap {
  position: relative;
  overflow: hidden;
  background: var(--canaccord-violet);
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 85vh;
  padding-block: 6rem 5rem;
  background-size: cover;
  background-position: right center;
  color: #ffffff;
  animation: heroFadeIn 0.8s ease-in-out forwards;
}

.hero-slide.is-active {
  display: flex;
  align-items: center;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.hero-slider-dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-slider-dot.is-active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.25);
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(11, 27, 61, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.hero-slider-arrow:hover {
  background: var(--accent-gold);
  color: var(--canaccord-violet);
}

.hero-slider-arrow--prev { left: 1.5rem; }
.hero-slider-arrow--next { right: 1.5rem; }

@media (max-width: 768px) {
  .hero-slide { min-height: 30rem; }
  .hero-slider-arrow { display: none; }
}

/* ------------------------------------------------------------- About Feature Section with Pulsing Rings & Wiping Shimmer -- */
.about-feature-section {
  padding-block: clamp(4rem, 6vw, 6.5rem);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-feature-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  color: var(--canaccord-violet);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-feature-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.about-feature-actions {
  margin-top: 2rem;
}

.btn-about-more {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--accent-gold);
  color: var(--canaccord-violet);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 190, 24, 0.35);
  transition: all 0.2s ease;
}

.btn-about-more:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  color: var(--canaccord-violet);
}

/* The Round Image with Growing/Shrinking Dual Rings and Continuous Wiping Shimmer */
.about-ring-avatar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2.5rem;
}

.about-ring-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ring 1 - inner pulsing ring */
.about-ring-pulse-1 {
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border-radius: 50%;
  border: 3px solid rgba(245, 190, 24, 0.65);
  animation: ringGrowShrink1 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* Ring 2 - outer pulsing ring */
.about-ring-pulse-2 {
  position: absolute;
  top: -34px;
  left: -34px;
  right: -34px;
  bottom: -34px;
  border-radius: 50%;
  border: 2px dashed rgba(11, 27, 61, 0.45);
  animation: ringGrowShrink2 3.5s ease-in-out infinite 0.75s;
  pointer-events: none;
}

@keyframes ringGrowShrink1 {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.55;
    border-color: rgba(245, 190, 24, 0.65);
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    border-color: rgba(245, 190, 24, 0.95);
  }
}

@keyframes ringGrowShrink2 {
  0%, 100% {
    transform: scale(1.06);
    opacity: 0.35;
    border-color: rgba(11, 27, 61, 0.3);
  }
  50% {
    transform: scale(0.94);
    opacity: 0.85;
    border-color: rgba(11, 27, 61, 0.7);
  }
}

/* Round Image Card */
.about-avatar-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 27, 61, 0.22);
  border: 6px solid #ffffff;
}

.about-avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Continuous Wiping Color Shimmer Effect */
.about-avatar-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(245, 190, 24, 0.15) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(245, 190, 24, 0.15) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: wipingSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wipingSweep {
  0% {
    transform: translateX(-100%) translateY(-30%) rotate(25deg);
  }
  50%, 100% {
    transform: translateX(100%) translateY(30%) rotate(25deg);
  }
}

@media (max-width: 900px) {
  .about-feature-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-feature-content p {
    margin-inline: auto;
  }
  .about-ring-wrapper {
    width: 280px;
    height: 280px;
  }
}

/* ------------------------------------------------------------- Why Choose Us Section -- */
.why-choose-section {
  padding-block: clamp(4rem, 6vw, 6rem);
  background: var(--panel-2);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 27, 61, 0.08);
  border-color: var(--accent-gold);
}

.why-card:hover::before {
  background: var(--accent-gold);
}

.why-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(11, 27, 61, 0.05);
  color: var(--canaccord-violet);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.why-card:hover .why-card__icon {
  background: var(--accent-gold);
  color: var(--canaccord-violet);
}

.why-card__title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--canaccord-violet);
  margin-bottom: 0.75rem;
}

.why-card__desc {
  font-size: 0.965rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 960px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- Centered 3-Card Stats Grid -- */
.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 62rem;
  margin: 3rem auto 0;
}

.stats-card-3 {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(11, 27, 61, 0.04);
  transition: all 0.25s ease;
}

.stats-card-3:hover {
  transform: translateY(-3px);
  border-color: var(--canaccord-violet);
  box-shadow: 0 12px 28px rgba(11, 27, 61, 0.09);
}

.stats-card-3 .canaccord-stat__value {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .stats-grid-3 {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }
}

/* ------------------------------------------------------------- Rich Modals (Who We Help & Insights) -- */
.aip-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 27, 61, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s ease forwards;
}

.aip-modal-overlay.is-open {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.aip-modal-box {
  background: #ffffff;
  border-radius: 4px;
  max-width: 44rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.aip-modal-media {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.aip-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White gradient overlay over bottom of the image merging into content */
.aip-modal-gradient-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 65%, #ffffff 100%);
  pointer-events: none;
}

.aip-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(11, 27, 61, 0.75);
  color: #ffffff;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.aip-modal-close:hover {
  background: var(--accent-gold);
  color: var(--canaccord-violet);
  transform: rotate(90deg);
}

.aip-modal-content {
  padding: 2rem 2.25rem 2.5rem;
}

.aip-modal-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--canaccord-violet);
  margin-bottom: 1rem;
}

.aip-modal-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 2rem;
}

.aip-modal-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------- Homepage FAQs -- */
.home-faq-section {
  padding-block: clamp(4rem, 6vw, 6rem);
  background: #ffffff;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 58rem;
  margin: 3rem auto 0;
}

.home-faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.2s ease;
}

.home-faq-item[open] {
  border-color: var(--canaccord-violet);
  box-shadow: 0 4px 15px rgba(11, 27, 61, 0.05);
}

.home-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--canaccord-violet);
  user-select: none;
  transition: color 0.16s ease;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item summary:hover {
  color: var(--accent-gold-hover);
}

.home-faq-item[open] summary {
  border-bottom: 1px solid var(--line-soft);
  color: var(--canaccord-violet);
}

.home-faq-body {
  padding: 1.25rem 1.75rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- What We Do Alternating Sections -- */
.what-we-do-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  padding-block: clamp(3.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
}

.what-we-do-row:last-child {
  border-bottom: 0;
}

.what-we-do-row--reverse {
  direction: rtl;
}

.what-we-do-row--reverse > * {
  direction: ltr;
}

.what-we-do-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(11, 27, 61, 0.12);
  aspect-ratio: 4 / 3;
}

.what-we-do-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.what-we-do-row:hover .what-we-do-media img {
  transform: scale(1.03);
}

.what-we-do-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.3rem + 1.6vw, 2.75rem);
  color: var(--canaccord-violet);
  margin-bottom: 1.25rem;
}

.what-we-do-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .what-we-do-row, .what-we-do-row--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }
}

/* ==========================================================================
   V3 — CLIENT CORRECTIONS
   Loaded last so it wins over the legacy layers above.
   Contents:
     1  page shell / overflow (fixes the non-sticking header)
     2  header: slim, navy, white logo + white text, sticky
     3  navigation
     4  hero: reduced height, shared photograph, ken-burns + fade loop
     5  cards: shorter across every page
     6  "who we help" — rebuilt as a card grid
     7  counters — rounded 20px, raised shadow, centred
     8  insight + who-we-help modal
     9  cookies: banner behaviour and preferences dialog
    10  scroll reveals — replay in both directions
    11  responsive + motion preferences
   ========================================================================== */

/* 1 ---------------------------------------------------------------- shell -- */
/* `overflow-x:hidden` on html/body makes the document a scroll container and
   silently kills position:sticky — that is why the navbar scrolled away.
   `clip` contains horizontal overflow without that side effect. */
html, body {
  overflow-x: clip !important;
  position: static;
}
html { scroll-padding-top: 6.5rem; }
body { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky !important; top: 0; }
main { display: block; }

/* 2 --------------------------------------------------------------- header -- */
:root { --header-h: 72px; }

.site-header {
  z-index: 1000;
  background: #0b1b3d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .09);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 14px 34px -14px rgba(5, 13, 29, .55); }

/* the white utility strip is gone: one slim navy bar */
.site-header__topbar { display: none !important; }

.site-header__bar {
  background: #0b1b3d;
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header__bar-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height .25s ease;
}
.site-header.is-condensed .site-header__bar-container { min-height: 60px; }

/* logo — always white, on the navy bar and in the footer */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: #fff;
  flex: 0 0 auto;
}
.brand-logo:hover { opacity: 1; transform: none; }
.brand-logo__img {
  height: 44px;
  width: auto;
  display: block;
  transition: height .25s ease;
}
.site-header.is-condensed .brand-logo__img { height: 38px; }
.brand-logo__text { display: flex; flex-direction: column; line-height: 1; }
.brand-logo__name {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #ffffff;
}
.brand-logo__sub {
  margin-top: .32rem;
  font-family: var(--font-sans);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.brand-logo__svg { display: none; }

/* 3 ----------------------------------------------------------- navigation -- */
.nav { margin-left: auto; }
.nav__list { gap: 1.45rem; }
.nav__list > li > a,
.nav__list > li > button {
  position: relative;
  color: rgba(255, 255, 255, .92);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .005em;
  padding: .55rem 0;
  border-bottom: 0;
}
.nav__list > li > a::after,
.nav__list > li > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.35rem;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.nav__list > li > a:hover,
.nav__list > li > button:hover { color: #ffffff; }
.nav__list > li > a:hover::after,
.nav__list > li > button:hover::after,
.nav__list > li.is-active > a::after,
.nav__list > li.is-active > button::after { transform: scaleX(1); }
.nav__list > li.is-active > a,
.nav__list > li.is-active > button { color: #ffffff; font-weight: 600; }

.header-actions { margin-left: 0; gap: .55rem; }

.topbar-util--search {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background .18s ease, border-color .18s ease;
}
.topbar-util--search:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.topbar-util--search span { display: none; }

.header-phone {
  color: rgba(255, 255, 255, .9);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding-inline: .35rem;
}
.header-phone:hover { color: var(--accent-gold); }

.btn-expert {
  background: var(--accent-gold);
  color: #111827 !important;
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  padding: .6rem 1.05rem;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: none;
}
.btn-expert:hover { background: var(--accent-gold-hover); border-color: var(--accent-gold-hover); transform: none; box-shadow: 0 6px 16px rgba(245, 190, 24, .3); }

.btn-login {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 6px;
  padding: .6rem 1.05rem;
  font-size: .875rem;
  font-weight: 600;
}
.btn-login:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); transform: none; }

/* mobile menu */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  margin-left: auto;
}
.nav-toggle span[aria-hidden] {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

.search-overlay { z-index: 1200; }

/* 4 ----------------------------------------------------------------- hero -- */
/* home carousel: shorter, especially on large screens */
.hero-slide {
  min-height: clamp(420px, 56vh, 560px) !important;
  padding-block: clamp(3rem, 5vh, 4.5rem) clamp(3.5rem, 6vh, 5rem) !important;
}
.hero-slider-section { margin-bottom: 0; }
.hero-canaccord h1 { font-size: clamp(2.35rem, 3.6vw, 3.55rem); }
.hero-lede { font-size: clamp(1.02rem, 1.15vw, 1.15rem) !important; margin-bottom: 1.9rem !important; }
.hero-scroll-cue { margin-top: 2.1rem; }
.btn-consultation { padding: .85rem 1.7rem; font-size: .96rem; }

/* inner pages: one photograph everywhere, gently breathing behind the copy */
.hero-inner,
.hero-canaccord {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 44vh, 460px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 5vw, 4.25rem);
  background-image: none !important;
  background-color: #071228;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg__layer {
  position: absolute;
  inset: -4%;
  background-image: inherit;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: opacity, transform;
}
.hero-bg__layer--a { animation: heroBgA 8s ease-in-out infinite; }
.hero-bg__layer--b { animation: heroBgB 8s ease-in-out infinite; }
@keyframes heroBgA {
  0%, 40%   { opacity: 1; transform: scale(1); }
  52%, 88%  { opacity: 0; transform: scale(1.07); }
  100%      { opacity: 1; transform: scale(1.02); }
}
@keyframes heroBgB {
  0%, 40%   { opacity: 0; transform: scale(1.07); }
  52%, 88%  { opacity: 1; transform: scale(1.01); }
  100%      { opacity: 0; transform: scale(1); }
}
.hero-canaccord::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6, 16, 36, .95) 0%, rgba(8, 20, 44, .88) 45%, rgba(8, 20, 44, .52) 100%);
}
.hero-canaccord > .container { position: relative; z-index: 3; }
.hero-canaccord .hero-compliance-bar { z-index: 4; }
.hero-canaccord .hero-canaccord__content { max-width: 40rem; }

/* inner hero copy slides in from the right, once, on arrival */
.hero-inner .hero-canaccord__content > * {
  opacity: 0;
  transform: translateX(52px);
  animation: heroSlideIn .95s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hero-inner .hero-canaccord__content > *:nth-child(1) { animation-delay: .10s; }
.hero-inner .hero-canaccord__content > *:nth-child(2) { animation-delay: .22s; }
.hero-inner .hero-canaccord__content > *:nth-child(3) { animation-delay: .34s; }
.hero-inner .hero-canaccord__content > *:nth-child(4) { animation-delay: .46s; }
.hero-inner .hero-canaccord__content > *:nth-child(5) { animation-delay: .58s; }
@keyframes heroSlideIn { to { opacity: 1; transform: translateX(0); } }

/* 5 ---------------------------------------------------------------- cards -- */
/* everything a little tighter: the cards were running far too long */
.help-card__media { min-height: 15.5rem; }
.help-card__body { padding: clamp(1.6rem, 2.6vw, 2.4rem); }
.help-card__title { font-size: clamp(1.3rem, 1.8vw, 1.65rem); margin-bottom: 1.25rem; }
.help-card__links { gap: .8rem; }
.help-card__links a { font-size: .97rem; padding-bottom: .6rem; }
.help-cards-stack { gap: 1.75rem; margin-top: 2.5rem; }

.canaccord-insight-card__media { aspect-ratio: 16 / 9; }
.canaccord-insight-card__body { padding: 1.35rem 1.35rem 1.5rem; }
.canaccord-insight-card__title { font-size: 1.06rem; line-height: 1.4; margin-bottom: .7rem; }
.canaccord-insight-card .card-excerpt {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.canaccord-insight-card .card-cta { margin-top: auto; padding-top: .35rem; }
.canaccord-insight-card .card-cta .btn {
  width: 100%;
  text-align: center;
  padding: .65rem 1rem;
  font-size: .875rem;
}
.canaccord-insight-card__meta {
  font-size: .76rem;
  padding-top: .6rem;
  margin-top: .35rem;
}
.canaccord-insights-grid { gap: 1.6rem; margin-top: 2.5rem; }

.who-card__body { padding: 1.25rem 1.35rem 1.35rem; }
.who-card__title { font-size: 1.12rem; margin-bottom: .45rem; }
.who-card__desc { font-size: .88rem; line-height: 1.5; margin-bottom: 1.1rem; }
.btn-learn-more { padding: .65rem 1rem; font-size: .875rem; }

.why-card { padding: 1.8rem 1.5rem; }
.why-card__icon { width: 2.9rem; height: 2.9rem; margin-bottom: 1.1rem; }
.why-card__desc { font-size: .92rem; }

.what-we-do-media { aspect-ratio: 16 / 11; }
.what-we-do-row { gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.what-we-do-text h2 { margin-bottom: .9rem; }
.what-we-do-text p { font-size: 1rem; line-height: 1.65; margin-bottom: .9rem; }

.section { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section-head { margin-bottom: 2rem; }

/* 6 --------------------------------------------------------- who we help -- */
/* rebuilt: uniform cards, no photo collage, centred second row */
.who-we-help-section { background: var(--panel); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2.5rem;
}
.who-grid .who-card {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid rgba(11, 27, 61, .08);
  border-radius: 16px;
  padding: 1.9rem 1.6rem;
  text-align: left;
  box-shadow: 0 2px 6px rgba(11, 27, 61, .04);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .28s ease;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.who-grid .who-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 190, 24, .55);
  box-shadow: 0 18px 38px -18px rgba(11, 27, 61, .32);
}
.who-grid .who-card:nth-child(4) { grid-column: 2 / span 2; }
.who-grid .who-card:nth-child(5) { grid-column: 4 / span 2; }
.who-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: rgba(11, 27, 61, .06);
  color: var(--canaccord-violet);
}
.who-grid .who-card:hover .who-card__icon { background: var(--accent-gold); color: #0b1b3d; }
.who-grid .who-card__title {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: .5rem;
}
.who-grid .who-card__desc {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
  flex: 1;
}
.who-grid .btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: auto;
  background: none;
  border: 0;
  padding: 0;
  color: var(--canaccord-violet);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.who-grid .btn-learn-more::after { content: "→"; transition: transform .2s ease; }
.who-grid .btn-learn-more:hover { color: var(--accent-gold-hover); box-shadow: none; background: none; }
.who-grid .btn-learn-more:hover::after { transform: translateX(3px); }
.who-grid .who-card__media { display: none; }

/* 7 ------------------------------------------------------------- counters -- */
.stats-grid-3 { max-width: 64rem; margin: 2.75rem auto 0; gap: 1.5rem; align-items: stretch; }
.stats-card-3 {
  border-radius: 20px;
  border: 1px solid rgba(11, 27, 61, .07);
  background: #ffffff;
  padding: 2.1rem 1.6rem;
  box-shadow: 0 22px 45px -22px rgba(11, 27, 61, .38), 0 8px 18px -14px rgba(11, 27, 61, .22);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .28s ease;
}
.stats-card-3:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 190, 24, .5);
  box-shadow: 0 34px 66px -26px rgba(11, 27, 61, .45), 0 10px 22px -16px rgba(11, 27, 61, .22);
}
.stats-card-3 .canaccord-stat__value { font-size: clamp(2.6rem, 4vw, 3.4rem); margin-bottom: .35rem; }
.stats-card-3 .canaccord-stat__label { font-size: .95rem; font-weight: 600; color: var(--ink-strong); margin-bottom: .5rem; }
.stats-card-3 p { font-size: .875rem !important; line-height: 1.55 !important; color: var(--ink-soft); margin: 0; }

/* 8 ---------------------------------------------------------------- modal -- */
.aip-modal-box { border-radius: 14px; max-width: 46rem; overflow: hidden; }
.aip-modal-media { height: 240px; }
.aip-modal-close {
  top: 1rem;
  right: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  background: rgba(255, 255, 255, .92);
  color: #0b1b3d;
  box-shadow: 0 6px 18px rgba(5, 13, 29, .25);
}
.aip-modal-close:hover { background: var(--accent-gold); color: #0b1b3d; transform: none; }
.aip-modal-content { padding: 1.6rem 1.9rem 2rem; }
.aip-modal-title { font-size: 1.55rem; margin-bottom: .7rem; }
.aip-modal-text { font-size: .98rem; line-height: 1.68; margin-bottom: 1.5rem; }
.aip-modal-text ul { padding-left: 1.2rem; }
.aip-modal-meta { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1rem; }
.aip-modal-actions { gap: .75rem; }
.aip-modal-actions .btn { padding: .75rem 1.35rem; font-size: .9rem; }

/* 9 --------------------------------------------------------------- cookies -- */
.consent {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 18px);
  width: min(60rem, calc(100% - 2rem));
  background: #ffffff;
  border: 1px solid rgba(11, 27, 61, .1);
  border-radius: 14px;
  box-shadow: 0 26px 60px -24px rgba(5, 13, 29, .45);
  padding: 1.1rem 1.35rem;
  z-index: 1500;
  opacity: 0;
  transition: opacity .28s ease, transform .32s cubic-bezier(.16, 1, .3, 1);
}
.consent.is-visible { opacity: 1; transform: translate(-50%, 0); }
.consent.is-leaving { opacity: 0; transform: translate(-50%, 12px); }
.consent__inner { display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; }
.consent p { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); margin: 0; max-width: 46rem; }
.consent__actions { display: flex; gap: .5rem; flex: 0 0 auto; flex-wrap: wrap; }
.consent__actions .btn { padding: .55rem .95rem; font-size: .82rem; border-radius: 6px; }
.consent__actions .btn--ghost { border: 1px solid rgba(11, 27, 61, .2); color: #0b1b3d; background: #fff; }
.consent__actions .btn--link { background: none; color: #0b1b3d; text-decoration: underline; padding-inline: .35rem; }

.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(6, 16, 36, .62);
  backdrop-filter: blur(6px);
}
.cookie-prefs.is-open { display: flex; }
.cookie-prefs__box {
  position: relative;
  width: min(34rem, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.9rem 1.75rem;
  box-shadow: 0 30px 70px -20px rgba(5, 13, 29, .5);
}
.cookie-prefs__box h3 { font-family: var(--font-display); font-size: 1.6rem; color: #0b1b3d; margin-bottom: .6rem; }
.cookie-prefs__intro { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1.35rem; }
.cookie-prefs__close {
  position: absolute; top: .85rem; right: .9rem;
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: rgba(11, 27, 61, .06); color: #0b1b3d; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.cookie-prefs__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: .95rem 0; border-top: 1px solid var(--line-soft);
}
.cookie-prefs__row span { display: flex; flex-direction: column; gap: .2rem; }
.cookie-prefs__row strong { font-size: .95rem; color: var(--ink-strong); }
.cookie-prefs__row em { font-style: normal; font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }
.cookie-prefs__row input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: #0b1b3d; flex: 0 0 auto; }
.cookie-prefs__actions { display: flex; gap: .6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cookie-prefs__actions .btn { padding: .7rem 1.2rem; font-size: .875rem; border-radius: 6px; }
.cookie-prefs__actions .btn--ghost { border: 1px solid rgba(11, 27, 61, .2); color: #0b1b3d; background: #fff; }

/* 10 -------------------------------------------------------------- reveals -- */
.reveal-armed {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-armed.reveal-fade-left { transform: translateX(-34px); }
.reveal-armed.reveal-fade-right { transform: translateX(34px); }
.reveal-armed.is-revealed { opacity: 1; transform: translate(0, 0); }

/* 11 ------------------------------------------------------------ responsive -- */
@media (max-width: 1240px) {
  .header-phone { display: none; }
  .nav__list { gap: 1.15rem; }
  .nav__list > li > a, .nav__list > li > button { font-size: .88rem; }
}
@media (max-width: 1080px) {
  .btn-expert { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: #0b1b3d;
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 44px -20px rgba(5, 13, 29, .6);
    display: none;
    padding: .5rem var(--gutter) 1.25rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__list > li > a,
  .nav__list > li > button { display: flex; width: 100%; padding: .95rem 0; font-size: 1rem; justify-content: space-between; }
  .nav__list > li > a::after,
  .nav__list > li > button::after { display: none; }
  .header-actions { margin-left: auto; }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-grid .who-card,
  .who-grid .who-card:nth-child(4),
  .who-grid .who-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 860px) {
  .hero-slide { min-height: 78vh !important; }
  .hero-inner, .hero-canaccord { min-height: 320px; }
  .brand-logo__img { height: 40px; }
  .brand-logo__name { font-size: 1.05rem; }
  .brand-logo__sub { font-size: .5rem; letter-spacing: .24em; }
  .who-grid { gap: 1rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .brand-logo__img { height: 34px; }
  .brand-logo__text { display: none; }
  .btn-login { padding: .5rem .8rem; font-size: .8rem; }
  .topbar-util--search { width: 34px; height: 34px; }
  .hero-slide { min-height: 82vh !important; padding-block: 2.75rem 4rem !important; }
  .hero-canaccord h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  .hero-inner .hero-canaccord__content > * { transform: translateX(28px); }
  .who-grid { grid-template-columns: 1fr; }
  .stats-grid-3 { grid-template-columns: 1fr; max-width: 26rem; }
  .consent__inner { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .consent__actions { width: 100%; }
  .consent { padding: 1rem; bottom: .75rem; width: calc(100% - 1.5rem); }
  .aip-modal-media { height: 180px; }
  .aip-modal-content { padding: 1.25rem 1.25rem 1.5rem; }
  .section { padding-block: 2.75rem; }
  .what-we-do-row { padding-block: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg__layer { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-inner .hero-canaccord__content > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .reveal-armed { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-slide { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   V3.1 — final pieces
   ========================================================================== */

/* "What we do" introduction: left aligned, edge to edge (no centred column) */
.wwd-intro { max-width: none; text-align: left; }
.wwd-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  color: var(--canaccord-violet);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  max-width: 34ch;
}
.wwd-intro p { max-width: none; }
.wwd-intro .wwd-intro__lead { font-size: 1.1rem; line-height: 1.7; color: var(--ink); margin-bottom: 1rem; }
.wwd-intro .wwd-intro__body { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

/* awards stay out of the site until the firm actually holds them */
.awards-section,
.awards-section[hidden] { display: none !important; }

/* partners: the rebuilt card grid replaces the old two-row layout */
.partners-who-section { padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--panel); }
.partners-who-section .section-head { max-width: 46rem; }

/* section headings centred where the counters live */
.committed-clients-section .section-head { margin-bottom: 1.75rem; }

/* about page sub-navigation follows the condensed header instead of a fixed 72px */
.about-subnav { top: var(--header-h) !important; }

/* tighter, more readable prose blocks on the inner pages */
.feature-prose-grid { gap: clamp(2rem, 4vw, 3.5rem); }
.feature-prose-section { padding-block: clamp(2.75rem, 4vw, 4rem); }
.important-info-section .container { max-width: 1180px; }

/* footer lock-up sits a little larger than the header mark */
.brand-logo--footer .brand-logo__img { height: 54px; }
.brand-logo--footer .brand-logo__name { font-size: 1.45rem; }
.brand-logo--footer .brand-logo__sub { font-size: .6rem; letter-spacing: .34em; }
@media (max-width: 640px) {
  .brand-logo--footer .brand-logo__img { height: 46px; }
  .brand-logo--footer .brand-logo__text { display: flex; }
}

/* ==========================================================================
   V3.2 — hero typography + header fit
   ========================================================================== */

/* the carousel headline inherited the navy heading colour and disappeared
   against its own photograph */
.hero-slide,
.hero-slide p,
.hero-slide h1 { color: #ffffff; }
.hero-slide .hero-lede { color: rgba(255, 255, 255, .92); }
.hero-slide .btn-consultation { color: var(--accent-gold-contrast); }

/* shorter still on large screens */
.hero-slide { min-height: clamp(400px, 50vh, 520px) !important; }

/* one-line navigation */
.nav__list { gap: 1.05rem; }
.nav__list > li > a,
.nav__list > li > button { white-space: nowrap; font-size: .85rem; }
.site-header__bar-container { gap: 1.25rem; }
@media (max-width: 1560px) { .header-phone { display: none; } }
@media (max-width: 1420px) {
  .nav__list { gap: .85rem; }
  .nav__list > li > a, .nav__list > li > button { font-size: .8rem; }
  .btn-expert, .btn-login { padding: .55rem .85rem; font-size: .8rem; }
}
@media (max-width: 1180px) { .btn-expert { display: none; } }

/* ==========================================================================
   V3.3 — insight card actions
   ========================================================================== */

/* .btn--outline was referenced by every article card but never defined, so the
   buttons inherited the solid gold fill and swallowed the card foot */
.btn--outline {
  --btn-bg: #ffffff;
  --btn-fg: var(--canaccord-violet);
  border-color: rgba(11, 27, 61, .22);
  border-radius: 6px;
  justify-content: center;
  font-weight: 600;
}
.btn--outline:hover {
  background: var(--canaccord-violet);
  border-color: var(--canaccord-violet);
  color: #ffffff;
  filter: none;
}
.canaccord-insight-card .card-cta .btn { border-radius: 6px; }

/* article cards: a little more air under the meta line */
.canaccord-insight-card .card-cta { margin-top: .9rem; }

/* section heads with a trailing action */
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: none;
}
.section-head--split .lede { margin-bottom: 0; }

/* stronger lift for the counters */
.stats-card-3 {
  box-shadow: 0 26px 50px -20px rgba(11, 27, 61, .45), 0 10px 22px -14px rgba(11, 27, 61, .25);
}

/* the meta strip carried a 3px gold rule as well as the card's gold foot —
   two accents fighting each other on a card that is only 470px tall */
.canaccord-insight-card__meta {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0;
  margin-top: .6rem;
}

/* icon weight matched across the rebuilt cards */
.who-card__icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; }

/* the alternating service rows read better as two matching columns */
.what-we-do-row { align-items: stretch; }
.what-we-do-media { aspect-ratio: auto; min-height: 20rem; height: 100%; }
.what-we-do-text { display: flex; flex-direction: column; justify-content: center; }

/* ==========================================================================
   V3.4 — responsiveness of every page and section
   Many blocks carry their column counts as inline styles, which no ordinary
   selector can beat; these rules collapse them on small screens.
   ========================================================================== */

/* mobile menu button turns into a cross while the panel is open */
.nav-open .nav-toggle span[aria-hidden] { background: transparent; box-shadow: none; position: relative; }
.nav-open .nav-toggle span[aria-hidden]::before,
.nav-open .nav-toggle span[aria-hidden]::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff;
}
.nav-open .nav-toggle span[aria-hidden]::before { transform: rotate(45deg); }
.nav-open .nav-toggle span[aria-hidden]::after { transform: rotate(-45deg); }

/* carousel dots must not sit on the compliance strip */
@media (max-width: 900px) {
  .hero-slider-dots { bottom: auto; top: auto; bottom: 4.6rem; }
  .hero-slide { padding-bottom: 6.5rem !important; }
}
@media (max-width: 640px) {
  .hero-slider-dots { bottom: 5.2rem; gap: .55rem; }
  .hero-slider-dot { width: 7px; height: 7px; }
  .hero-compliance-bar { padding: .7rem 0; font-size: .72rem; line-height: 1.4; }
  .hero-compliance-bar .container { gap: .5rem; align-items: flex-start; }
}

/* inline two- and three-column layouts */
@media (max-width: 1000px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1.25fr"],
  [style*="grid-template-columns:1.2fr 0.8fr"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .about-feature-grid,
  .feature-prose-grid,
  .ready-to-talk-grid,
  .office-grid,
  .podcast-grid,
  .what-we-do-row,
  .profile-hero,
  .about-feature-section .about-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .feature-prose-grid--reverse .feature-prose-col--media { order: 0; }
  .what-we-do-row--reverse { direction: ltr; }
  .what-we-do-media { min-height: 15rem; }
  .podcast-waveform-col { display: none; }
  .about-ring-avatar-container { max-width: 26rem; margin-inline: auto; }
  .about-feature-section { padding-block: 3rem; }
}

/* keep very wide tables and long words from pushing the page sideways */
@media (max-width: 700px) {
  .container { padding-inline: 1.15rem; }
  h1 { font-size: clamp(1.75rem, 7.2vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 5.6vw, 2rem); }
  .lede, .hero-lede { font-size: .98rem; }
  .section-head { max-width: none; }
  .ready-to-talk-form-card, .cookie-prefs__box { padding: 1.4rem 1.2rem; }
  .stats-card-3 { padding: 1.6rem 1.2rem; }
  .what-we-do-text h2 { font-size: 1.55rem; }
  .canaccord-insight-card__media { aspect-ratio: 16 / 10; }
  .aip-modal-title { font-size: 1.25rem; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer__nav-columns { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer__bottom-legal { flex-direction: column; gap: .35rem; }
  .consent p { font-size: .82rem; }
}
@media (max-width: 480px) {
  .footer__nav-columns { grid-template-columns: 1fr; }
  .brand-logo__sub { letter-spacing: .18em; }
  .btn-expert, .btn-login { padding: .5rem .75rem; }
}

/* anchors land clear of the fixed-height header on every breakpoint */
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ==========================================================================
   V3.5 — small-screen navigation as a right-hand slide-in drawer
   ========================================================================== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  /* below the header: the drawer lives inside the header's stacking context,
     so the backdrop must never climb above it */
  z-index: 900;
  background: rgba(5, 13, 29, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(21.5rem, 88vw);
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    background: #0b1b3d;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
    box-shadow: -26px 0 60px -20px rgba(5, 13, 29, .55);
    transform: translateX(104%);
    visibility: hidden;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .42s cubic-bezier(.16, 1, .3, 1), visibility .42s;
    z-index: 1400;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; display: flex; }

  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    flex: 0 0 auto;
  }
  .nav__drawer-title {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
  }
  .nav__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
  }
  .nav__close:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem 0 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }
  .nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__list > li:last-child { border-bottom: 0; }
  .nav__list > li > a,
  .nav__list > li > button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    white-space: normal;
    border-bottom: 0;
  }
  .nav__list > li > a::after,
  .nav__list > li > button::after { display: none; }
  .nav__list > li.is-active > a { color: var(--accent-gold); }
  .nav__list > li > a:active { background: rgba(255, 255, 255, .07); }

  /* the drawer needs its own quiet "speak to an expert" at the foot */
  .nav__drawer-foot { flex: 0 0 auto; padding: 1rem 1.25rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); }
  .nav__drawer-foot .btn-expert { display: flex; width: 100%; justify-content: center; }
}

/* ==========================================================================
   V3.6 — homepage announcement bar (small screens only)
   Slides away after five seconds, or as soon as the reader starts scrolling.
   The navbar underneath is sticky and never moves.
   ========================================================================== */
.top-notice { display: none; }

@media (max-width: 1080px) {
  .top-notice {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
    background: linear-gradient(90deg, #f5be18 0%, #ffd45e 100%);
    color: #0b1b3d;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    padding: .55rem 2.5rem;
    max-height: 6rem;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1), opacity .35s ease, padding .45s ease;
  }
  .top-notice a { color: #0b1b3d; font-weight: 700; text-decoration: underline; white-space: nowrap; }
  .top-notice__close {
    position: absolute;
    top: 50%;
    right: .6rem;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 27, 61, .14);
    color: #0b1b3d;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
  }
  .top-notice.is-hidden { max-height: 0; opacity: 0; padding-block: 0; border: 0; }
}

/* the consent banner must not sit on top of the open drawer */
body.nav-open .consent { display: none !important; }
.top-notice { font-size: .74rem; }

/* ==========================================================================
   V4 — restored client header, legible toggle, scrollable modals
   ========================================================================== */

/* --- the utility strip is back, in white on navy -------------------------- */
.site-header__topbar { display: block !important; background: #08152f; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header__topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 38px; padding-block: .15rem;
}
.topbar-nav { display: flex; align-items: center; gap: 1.6rem; }
.topbar-nav__item {
  position: relative; display: inline-flex; align-items: center; height: 38px;
  color: rgba(255, 255, 255, .74); font-size: .74rem; font-weight: 400;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.topbar-nav__item:hover { color: #fff; }
.topbar-nav__item.is-active,
.topbar-nav__item:hover { border-bottom-color: var(--accent-gold); }
.topbar-nav__item.is-active { color: #fff; }
.topbar-util { display: flex; align-items: center; gap: 1.1rem; }
.topbar-util__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255, 255, 255, .78); font-size: .74rem; font-weight: 400; letter-spacing: .05em;
  text-decoration: none; white-space: nowrap;
}
.topbar-util__btn:hover { color: var(--accent-gold); }

/* --- nav labels: upper case, light weight --------------------------------- */
.nav__list > li > a,
.nav__list > li > button {
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: .075em;
  font-size: .82rem;
}
.nav__list > li.is-active > a { font-weight: 400; }
.nav__chev { margin-left: .3rem; opacity: .7; transition: transform .22s ease; }

/* --- About us drop-down (hover on desktop, tap in the drawer) ------------- */
.nav__item.has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + .55rem); left: 50%; transform: translate(-50%, 6px);
  min-width: 16rem; padding: .5rem 0; background: #fff; border-radius: 10px;
  box-shadow: 0 22px 44px -18px rgba(5, 13, 29, .45); border: 1px solid rgba(11, 27, 61, .08);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
.nav__dropdown::before { content: ""; position: absolute; inset: auto 0 100% 0; height: .7rem; }
.nav__dropdown a {
  display: block; padding: .6rem 1.15rem; color: var(--ink); font-size: .86rem;
  text-decoration: none; white-space: nowrap; border-left: 2px solid transparent;
}
.nav__dropdown a:hover { background: rgba(11, 27, 61, .04); color: var(--canaccord-violet); border-left-color: var(--accent-gold); }
.nav__item.has-dropdown:hover .nav__dropdown,
.nav__item.has-dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.has-dropdown:hover .nav__chev { transform: rotate(180deg); }

/* --- toggle button: a real three-bar icon --------------------------------- */
.nav-toggle {
  width: 44px; height: 44px; padding: 0; display: none; place-items: center;
  border: 1px solid rgba(255, 255, 255, .32); border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer; overflow: visible;
  transition: background .18s ease, border-color .18s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.nav-toggle__bars { display: block; position: relative; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
body.nav-open .nav-toggle__bars { background: transparent; }
body.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* --- drawer chrome must stay out of the desktop bar ----------------------- */
.nav__drawer-head, .nav__drawer-foot { display: none; }
@media (max-width: 1080px) {
  .nav__drawer-head { display: flex; }
  .nav__drawer-foot { display: block; }
  .nav-toggle { display: grid; }
  .nav__dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; background: rgba(255, 255, 255, .06); border-radius: 8px; margin: .35rem .9rem 1rem; padding: .35rem 0; }
  .nav__dropdown a { color: rgba(255, 255, 255, .85); white-space: normal; font-size: .92rem; }
  .nav__dropdown a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .topbar-nav__item { font-size: .68rem; }
  .topbar-util__btn span { display: none; }
  .site-header__topbar-inner { gap: .75rem; }
}
@media (max-width: 700px) {
  .topbar-nav { gap: 1rem; }
  .topbar-nav__item { font-size: .62rem; letter-spacing: .05em; }
}

/* --- shorter help cards on phones ---------------------------------------- */
@media (max-width: 700px) {
  .help-card__media { min-height: 11rem; max-height: 12rem; }
  .help-card__body { padding: 1.35rem 1.15rem; }
  .help-card__title { font-size: 1.2rem; margin-bottom: .9rem; }
  .help-card__links a { font-size: .9rem; padding-block: .5rem; }
}
@media (max-width: 480px) {
  .help-card__media { min-height: 9.5rem; }
}

/* --- modals: long enough to read, and scrollable -------------------------- */
.aip-modal-box {
  display: flex; flex-direction: column;
  max-height: min(88vh, 54rem); width: min(46rem, calc(100vw - 2rem));
  overflow: hidden;
}
.aip-modal-media { flex: 0 0 auto; height: 220px; }
.aip-modal-content { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.aip-modal-content::-webkit-scrollbar { width: 8px; }
.aip-modal-content::-webkit-scrollbar-thumb { background: rgba(11, 27, 61, .22); border-radius: 8px; }
.aip-modal-text h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--ink-strong); margin: 1.35rem 0 .5rem; }
.aip-modal-text p { margin-bottom: .9rem; }
.aip-modal-text ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.aip-modal-text li { margin-bottom: .4rem; }
@media (max-width: 640px) {
  .aip-modal-box { max-height: 92vh; }
  .aip-modal-media { height: 160px; }
}

/* --- partners enquiry form ---------------------------------------------- */
.ready-to-talk-card, .ready-to-talk-card__form { min-width: 0; }
.ready-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ready-form .form-field { min-width: 0; }
.ready-form input, .ready-form select, .ready-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 700px) {
  .ready-form .form-row { grid-template-columns: 1fr; gap: .85rem; }
  .ready-to-talk-grid { grid-template-columns: 1fr !important; }
}

/* --- about page: round portrait with a breathing ring -------------------- */
.about-ring-media { display: flex; align-items: center; justify-content: center; min-height: 20rem; }
.about-ring { position: relative; width: min(22rem, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.about-ring::before,
.about-ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(245, 190, 24, .55);
  animation: ringPulse 4.5s ease-in-out infinite;
}
.about-ring::after { animation-delay: 2.25s; border-color: rgba(11, 27, 61, .18); }
.about-ring img {
  width: 82%; height: 82%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 26px 60px -26px rgba(11, 27, 61, .5);
}
@keyframes ringPulse {
  0%   { transform: scale(.86); opacity: 0; }
  35%  { opacity: .9; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .about-ring::before, .about-ring::after { animation: none; opacity: .5; } }

/* --- developer credit ---------------------------------------------------- */
.footer__credit { margin-top: .5rem; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.footer__credit a { color: var(--accent-gold); text-decoration: none; }
.footer__credit a:hover { text-decoration: underline; }

/* two-column About sections with the ring portrait on the right */
#our-philosophy > .container,
#our-financial-planning-service > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.about-ring-media { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; }
@media (max-width: 1000px) {
  #our-philosophy > .container,
  #our-financial-planning-service > .container { grid-template-columns: 1fr; }
  .about-ring-media { grid-column: auto; grid-row: auto; margin-top: 1.5rem; }
}

/* --- toggle icon, rebuilt from three explicit bars ----------------------- */
.nav-toggle { display: none; flex-direction: column !important; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle__bar {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 2px;
  background: #ffffff !important;
  box-shadow: none !important;
  transform-origin: center;
  transition: transform .28s ease, opacity .2s ease;
}
@media (max-width: 1080px) { .nav-toggle { display: flex !important; } }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(.2); }
body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* the phone number rides with the address on wide screens only */
@media (max-width: 560px) { .topbar-util__btn[href^="tel:"] { display: none; } }
@media (max-width: 400px) { .topbar-nav__item { font-size: .58rem; } }

/* the ring sits beside the opening copy rather than in a squeezed column */
#our-philosophy > .container,
#our-financial-planning-service > .container { display: block; }
.about-ring-media {
  grid-column: auto; grid-row: auto;
  float: right;
  width: min(38%, 20rem);
  margin: .25rem 0 1.75rem 2.25rem;
  display: block;
  min-height: 0;
}
.about-ring { width: 100%; }
@media (max-width: 1000px) {
  .about-ring-media { float: none; width: min(20rem, 80vw); margin: 0 auto 2rem; }
}

/* the ring is taken out of the flow entirely so it can never squeeze the copy */
#our-philosophy, #our-financial-planning-service { position: relative; }
#our-philosophy > .container, #our-financial-planning-service > .container { padding-right: 0; }
.about-ring-media {
  position: absolute !important;
  top: clamp(2rem, 4vw, 3.5rem);
  right: max(1.25rem, calc((100% - 1240px) / 2 + 1.25rem));
  width: min(19rem, 26vw);
  margin: 0 !important;
  float: none !important;
  z-index: 2;
}
#our-philosophy .section-head, #our-financial-planning-service .section-head { max-width: 48rem; }
@media (max-width: 1100px) {
  .about-ring-media { position: static !important; width: min(17rem, 68vw); margin: 0 auto 2rem !important; }
}

/* ==========================================================================
   V5 — header back to the client's arrangement
   ========================================================================== */

/* nav sits beside the buttons, exactly five links */
.nav { margin-left: auto; }
.header-actions { margin-left: 1.25rem; }
.nav__list { gap: 1.55rem; }

/* region selector, as in the reference strip */
.topbar-region {
  display: inline-flex; align-items: center; gap: .35rem;
  color: rgba(255, 255, 255, .8); font-size: .74rem; letter-spacing: .07em;
  text-transform: uppercase; white-space: nowrap;
}
.topbar-region::after {
  content: ""; width: 7px; height: 7px; margin-left: .15rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.topbar-util__btn .topbar-phone-num { font-size: .74rem; letter-spacing: .04em; }
@media (max-width: 1200px) { .topbar-phone-num { display: none; } }
@media (max-width: 900px) { .topbar-region { display: none; } }

/* the utility strip leaves as soon as the page moves, and returns at the top */
.site-header__topbar {
  max-height: 48px; overflow: hidden;
  transition: max-height .32s cubic-bezier(.4, 0, .2, 1), opacity .24s ease, transform .32s ease;
}
.site-header.is-scrolled .site-header__topbar { max-height: 0; opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* About Us drop-down: gold edge, warm hover */
.nav__dropdown { border-top: 2px solid var(--accent-gold); min-width: 17rem; }
.nav__dropdown a { padding: .62rem 1.15rem; }
.nav__dropdown a:hover { background: rgba(245, 190, 24, .12); color: var(--canaccord-violet); border-left-color: var(--accent-gold); }

/* footer: watermark gone, credit on the copyright row */
.footer__brand-col, .footer__watermark-logo { display: none !important; }
.footer__bottom-legal {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.footer__copyright { margin: 0; }
.footer__credit { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .62); text-align: right; }
.footer__credit a { color: var(--accent-gold); }
@media (max-width: 820px) {
  .footer__bottom-legal { flex-direction: column; }
  .footer__credit { text-align: left; order: 3; }
  .footer__bottom-legal p:not(.footer__copyright) { order: 2; }
}

/* small screens: headings and intro copy read left, not centred */
@media (max-width: 767px) {
  .section-head,
  .section-head h2,
  .section-head p,
  .section-head--split,
  .section-head--split .lede,
  .about-intro,
  .section-head[style] { text-align: left !important; }
  .section-head { max-width: none !important; margin-inline: 0 !important; }
  .section-head--split { display: block; }
  .section-head--split .btn { margin-top: 1rem; }
}

/* copyright left, developer credit right, legal line beneath */
.footer__bottom-legal {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: .45rem 2rem;
}
.footer__copyright { grid-column: 1; grid-row: 1; margin: 0; }
.footer__credit { grid-column: 2; grid-row: 1; margin: 0; text-align: right; }
.footer__bottom-legal > p:not(.footer__copyright):not(.footer__credit) {
  grid-column: 1 / -1; grid-row: 2; margin: 0;
  font-size: .78rem; line-height: 1.55; color: rgba(255, 255, 255, .5); max-width: 62rem;
}
@media (max-width: 820px) {
  .footer__bottom-legal { grid-template-columns: 1fr; }
  .footer__copyright { grid-row: 1; }
  .footer__bottom-legal > p:not(.footer__copyright):not(.footer__credit) { grid-row: 2; }
  .footer__credit { grid-row: 3; grid-column: 1; text-align: left; }
}

/* ==========================================================================
   V6 — the About sections get their round portrait, safely
   The ring lives inside the section header as a second grid column, so it can
   never squeeze the copy or bleed into a neighbouring section.
   ========================================================================== */
.about-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: none !important;
}
.about-head-copy { min-width: 0; }
.about-head-copy p { max-width: 48rem; }

.about-ring-media {
  float: none !important;
  position: static !important;
  width: clamp(11rem, 17vw, 16rem);
  margin: 0 !important;
  display: block;
  z-index: auto;
}
.about-ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.about-ring::before,
.about-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 190, 24, .6);
  animation: ringPulse 4.8s ease-in-out infinite;
  will-change: transform, opacity;
}
.about-ring::after { animation-delay: 2.4s; border-color: rgba(11, 27, 61, .16); }
.about-ring img {
  width: 84%;
  height: 84%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 26px 56px -26px rgba(11, 27, 61, .55);
}
@keyframes ringPulse {
  0%   { transform: scale(.84); opacity: 0; }
  30%  { opacity: .85; }
  100% { transform: scale(1.16); opacity: 0; }
}
@media (max-width: 900px) {
  .about-head-split { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-ring-media { width: min(14rem, 62vw); justify-self: start; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-ring::before, .about-ring::after { animation: none; opacity: .45; }
}

/* an earlier pass zeroed the right gutter on these two sections; restore it */
#our-philosophy > .container,
#our-financial-planning-service > .container { padding-right: var(--gutter) !important; padding-left: var(--gutter) !important; }
.about-head-split { width: 100%; max-width: 100% !important; }
.about-head-copy { min-width: 0; }
.about-head-copy p { max-width: 100%; overflow-wrap: break-word; }

/* legacy rules pinned a min-height on the strip, and min-height beats
   max-height — so the collapse needs it cleared explicitly */
.site-header__topbar { min-height: 0 !important; }
.site-header.is-scrolled .site-header__topbar { min-height: 0 !important; border-bottom-width: 0; }

/* ==========================================================================
   V7 — top strip in white, larger rings, tighter cards, white drawer
   ========================================================================== */

/* 1. utility strip: white ground, dark type, as in the client's reference */
.site-header__topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e6e9ef;
}
.topbar-nav__item { color: #4a5568 !important; border-bottom-color: transparent; }
.topbar-nav__item:hover { color: #0b1b3d !important; }
.topbar-nav__item.is-active { color: #0b1b3d !important; border-bottom-color: var(--accent-gold); font-weight: 500; }
.topbar-util__btn { color: #334155 !important; }
.topbar-util__btn:hover { color: #0b1b3d !important; }
.topbar-region { color: #334155 !important; }
.topbar-region::after { display: none !important; }

/* 2. round portraits, larger */
.about-ring-media { width: clamp(14rem, 24vw, 21rem) !important; }
.about-ring img { width: 86%; height: 86%; }

/* 3. the three "how we can help" cards: links in two columns so the
      tallest card stops running away from the others */
.help-card__links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.75rem; }
.help-card__links a { padding-block: .45rem; }
@media (max-width: 640px) { .help-card__links { grid-template-columns: 1fr; } }

/* 4. section headings get room to sit on one line */
.committed-clients-section .section-head,
.why-choose-section .section-head,
.home-faq-section .section-head { max-width: 64rem !important; margin-inline: auto !important; }
.committed-clients-section .section-head h2,
.why-choose-section .section-head h2,
.home-faq-section .section-head h2 { max-width: none !important; }
.why-choose-section .section-head p,
.home-faq-section .section-head p { max-width: 52rem; margin-inline: auto; }

/* 5. modal actions centred */
.aip-modal-actions { justify-content: center !important; }

/* 6. mobile bar: logo, centred login, toggle */
@media (max-width: 1080px) {
  .site-header__topbar { display: none !important; }
  .site-header__bar-container { display: flex; align-items: center; gap: .75rem; }
  .brand-logo { margin-right: auto; }
  .header-actions { margin: 0 auto !important; }
  .nav-toggle { order: 3; margin-left: 0 !important; }
  .btn-login { padding: .5rem .85rem; font-size: .8rem; }
}

/* 7. drawer: white ground, dark type, short rows */
@media (max-width: 1080px) {
  .nav {
    background: #ffffff !important;
    border-left: 1px solid #e6e9ef;
    box-shadow: -22px 0 50px -22px rgba(5, 13, 29, .45);
    width: min(20rem, 86vw);
    overflow: hidden;
  }
  .nav__drawer-head { padding: .8rem 1.1rem; border-bottom: 1px solid #e6e9ef; }
  .nav__drawer-title { color: #0b1b3d; letter-spacing: .2em; font-size: .68rem; }
  .nav__close { border-color: #d7dde8; color: #0b1b3d; width: 36px; height: 36px; font-size: 1.2rem; }
  .nav__close:hover { background: #f1f4f9; border-color: #b9c4d6; }
  .nav__list { padding: .25rem 0 .75rem; }
  .nav__list > li { border-bottom: 1px solid #eef1f6; }
  .nav__list > li > a,
  .nav__list > li > button { padding: .7rem 1.15rem; font-size: .9rem; color: #0b1b3d; letter-spacing: .06em; }
  .nav__list > li.is-active > a { color: #0b1b3d; font-weight: 600; }
  .nav__list > li.is-active > a::before {
    content: ""; position: absolute; left: 0; top: .55rem; bottom: .55rem; width: 3px; background: var(--accent-gold);
  }
  .nav__list > li > a { position: relative; }
  .nav__drawer-foot { padding: .85rem 1.15rem 1rem; border-top: 1px solid #e6e9ef; background: #fff; }
  .nav__drawer-foot .btn-expert { color: #111827 !important; }
  .nav__audience { border-top: 1px solid #e6e9ef; padding: .75rem 1.15rem 1.1rem; display: grid; gap: .15rem; }
  .nav__audience a { color: #4a5568; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; padding: .4rem 0; }
  .nav__audience a:hover { color: #0b1b3d; }
  .nav__audience-label { font-size: .62rem; letter-spacing: .2em; color: #94a3b8; text-transform: uppercase; padding-bottom: .25rem; }
  .nav__drawer-login { display: flex; gap: .5rem; padding: .75rem 1.15rem; border-top: 1px solid #e6e9ef; }
  .nav__drawer-login .btn-login { flex: 1; border-color: #cbd5e1; color: #0b1b3d !important; justify-content: center; display: flex; }

  /* nested panel: the About Us list slides in over the main list */
  .nav__submenu {
    position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .34s cubic-bezier(.16, 1, .3, 1);
    visibility: hidden; z-index: 3;
  }
  .nav.is-submenu .nav__submenu { transform: translateX(0); visibility: visible; }
  .nav__submenu-head {
    display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem;
    border-bottom: 1px solid #e6e9ef;
  }
  .nav__back {
    display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0;
    color: #0b1b3d; font-size: .8rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; padding: 0;
  }
  .nav__submenu-title { margin-left: auto; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #94a3b8; }
  .nav__submenu-list { padding: .35rem 0 1rem; overflow-y: auto; }
  .nav__submenu-list a {
    display: block; padding: .8rem 1.15rem; color: #0b1b3d; font-size: .92rem;
    text-decoration: none; border-bottom: 1px solid #eef1f6;
  }
  .nav__submenu-list a:hover { background: #f7f9fc; }

  /* the inline dropdown is replaced by that panel */
  .nav__dropdown { display: none !important; }
  .nav__submenu-toggle {
    background: none; border: 0; color: #0b1b3d; padding: .55rem .6rem; cursor: pointer;
    display: inline-flex; align-items: center;
  }
  .nav__item.has-dropdown > a { flex: 1; }
  .nav__item.has-dropdown { display: flex; align-items: center; }
  .nav__chev { display: none; }
}

/* 8. mobile hero: the CTA and the scroll cue share a row */
@media (max-width: 700px) {
  .hero-actions { display: flex; align-items: center; gap: 1rem; }
  .hero-actions .btn-consultation { flex: 0 1 auto; }
  .hero-actions .hero-scroll-cue { margin: 0 !important; }
}

/* 9. About page copy reads left on small screens */
@media (max-width: 767px) {
  .about-feature-copy, .about-feature-copy h2, .about-feature-copy p,
  .about-head-copy, .about-head-copy h2, .about-head-copy p,
  .hero-canaccord__content, .hero-canaccord__content p,
  .wwd-intro, .wwd-intro p { text-align: left !important; }
}

/* 10. sections that sit on a photograph: white copy over a fixed image */
.bg-photo-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #071228;
  isolation: isolate;
}
.bg-photo-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 18, 40, .88) 0%, rgba(7, 18, 40, .82) 100%);
}
.bg-photo-section h2,
.bg-photo-section h3,
.bg-photo-section .section-head h2,
.bg-photo-section .canaccord-stat__value { color: #ffffff !important; }
.bg-photo-section p,
.bg-photo-section .section-head p,
.bg-photo-section .lede,
.bg-photo-section .canaccord-stat__label { color: rgba(255, 255, 255, .9) !important; }
.bg-photo-section .stats-card-3 { background: rgba(255, 255, 255, .96); }
.bg-photo-section .stats-card-3 .canaccord-stat__value { color: var(--canaccord-violet) !important; }
.bg-photo-section .stats-card-3 p { color: var(--ink-soft) !important; }
@media (max-width: 900px) { .bg-photo-section { background-attachment: scroll; } }

/* 11. footer: four columns, offices on the right with the social row */
.footer__nav-columns { grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important; gap: 2rem !important; }
.footer__about-col p { color: #cbd5e1; font-size: .875rem; line-height: 1.6; margin: .9rem 0 0; max-width: 26rem; }
.footer__social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.footer__social-row a {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); color: #cbd5e1;
}
.footer__social-row a:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
@media (max-width: 980px) {
  .footer__nav-columns { grid-template-columns: 1fr 1fr !important; }
  .footer__about-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__nav-columns { grid-template-columns: 1fr !important; }
  .footer__credit { text-align: center !important; }
  .footer__copyright { text-align: center; }
}

/* the hero CTA row now carries the chevron too */
.hero__actions { display: flex; align-items: center; gap: 1rem; }
.hero__actions .hero-scroll-cue { margin: 0 !important; }

/* drawer: keep the chevron on the About row, hide it only inside the label */
@media (max-width: 1080px) {
  .nav__item.has-dropdown > a .nav__chev { display: none; }
  .nav__submenu-toggle svg { display: block; }
  .nav__submenu-toggle { color: #0b1b3d; }
}

/* photo-backed About philosophy: white copy, image on the left, text right */
#our-philosophy .about-head-split { grid-template-columns: auto minmax(0, 1fr) !important; align-items: center; }
#our-philosophy .about-head-copy { grid-column: 2; grid-row: 1; }
#our-philosophy .about-ring-media { grid-column: 1; grid-row: 1; }
#our-philosophy .about-head-copy h2,
#our-philosophy .about-head-copy h3 { color: #ffffff !important; }
#our-philosophy .about-head-copy p { color: rgba(255, 255, 255, .88) !important; }
#our-philosophy .about-feature-eyebrow { color: var(--accent-gold) !important; }
#our-philosophy .about-ring::after { border-color: rgba(255, 255, 255, .25); }
@media (max-width: 900px) {
  #our-philosophy .about-head-split { grid-template-columns: 1fr !important; }
  #our-philosophy .about-head-copy { grid-column: 1; grid-row: 1; }
  #our-philosophy .about-ring-media { grid-column: 1; grid-row: 2; justify-self: center; margin-top: 1.5rem !important; width: min(17rem, 70vw) !important; }
}

/* the three help cards: one height for all, photographs cropped to fit */
.help-card { height: clamp(21rem, 26vw, 25rem); }
.help-card__media { min-height: 0 !important; height: 100%; overflow: hidden; }
.help-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.help-card__body { overflow: hidden; }
@media (max-width: 900px) {
  .help-card { height: auto; grid-template-columns: 1fr; }
  .help-card__media { height: 12rem; }
}

/* the drawer-only blocks must never appear in the desktop bar */
.nav__drawer-login, .nav__audience { display: none !important; }
@media (max-width: 1080px) {
  .nav__drawer-login { display: flex !important; }
  .nav__audience { display: grid !important; }
  .nav__list > li > a, .nav__list > li > button { white-space: nowrap; }
}

/* the nested About panel is drawer-only; in the desktop bar it must not exist */
.nav__submenu { display: none !important; }
.nav__submenu-toggle { display: none !important; }
@media (max-width: 1080px) {
  .nav__submenu { display: flex !important; }
  .nav__submenu-toggle { display: inline-flex !important; }
}

/* inside the white counter cards the type must stay dark, not go white */
.bg-photo-section .stats-card-3 .canaccord-stat__label { color: var(--ink-strong) !important; }
.bg-photo-section .stats-card-3 .canaccord-stat__value { color: var(--canaccord-violet) !important; }
.bg-photo-section .stats-card-3 p { color: var(--ink-soft) !important; }
/* FAQ items stay readable on the photograph */
.bg-photo-section .home-faq-item { background: #ffffff; }
.bg-photo-section .home-faq-item summary,
.bg-photo-section .home-faq-item p { color: var(--ink) !important; }

/* ==========================================================================
   V8 — final round of client corrections
   ========================================================================== */

/* FAQ back to a plain white block with dark copy */
.home-faq-section { background: #ffffff !important; background-image: none !important; }
.home-faq-section::before { display: none !important; background: none !important; }
.home-faq-section h2, .home-faq-section p, .home-faq-section summary { color: var(--ink) !important; }

/* consent rows: checkbox on the field grid, label tucked beside it */
.form-checkbox-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start !important;
  gap: .6rem !important;
  font-size: .9rem !important;
  line-height: 1.5 !important;
}
.form-checkbox-row span { flex: 1 1 auto; min-width: 0; }
.form-checkbox-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem !important;
  height: 1.05rem !important;
  margin: .18rem 0 0 !important;
  border-radius: 3px;
}
.btn-submit-talk { width: auto !important; min-width: 11rem; align-self: flex-start; }

/* footer: narrower opening column, even gutters, tighter type */
.footer__nav-columns { grid-template-columns: minmax(0, 15rem) 1fr 1fr 1.05fr !important; gap: 2.5rem !important; }
.footer__about-col p { max-width: 15rem; font-size: .85rem; line-height: 1.55; }
.footer__nav-col h4 { font-size: .95rem; margin-bottom: 1rem; }
.footer__nav-col li { margin-bottom: .55rem; }
@media (max-width: 980px) {
  .footer__nav-columns { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }
  .footer__about-col p { max-width: none; }
}

/* drawer: a short panel, tight rows, actions side by side */
@media (max-width: 1080px) {
  .nav {
    top: 0 !important;
    bottom: auto !important;
    height: auto !important;
    max-height: min(86vh, 40rem) !important;
    overflow: hidden !important;
  }
  .nav__list { flex: 0 0 auto !important; justify-content: flex-start !important; padding: .2rem 0 .4rem !important; }
  .nav__list > li > a,
  .nav__list > li > button { padding: .62rem 1.15rem !important; }
  .nav__drawer-foot {
    display: flex !important;
    gap: .5rem;
    padding: .8rem 1.15rem .9rem !important;
  }
  .nav__drawer-foot .btn-expert { flex: 1 1 auto; padding: .55rem .7rem; font-size: .8rem; }
  .nav__drawer-foot .btn-login { flex: 0 0 auto; padding: .55rem 1rem; font-size: .8rem; display: inline-flex; align-items: center; }
  .nav__audience { padding: .55rem 1.15rem .8rem !important; gap: 0 !important; }
  .nav__audience a { padding: .32rem 0 !important; font-size: .7rem !important; }
  .nav__submenu { top: 0 !important; bottom: auto !important; height: auto !important; max-height: inherit; }
  .nav__submenu-list a { padding: .68rem 1.15rem !important; font-size: .88rem !important; }
}

/* About block on the homepage reads left on small screens */
@media (max-width: 767px) {
  #about-feature, #about-feature * { text-align: left !important; }
  #about-feature .btn-consultation, #about-feature .btn { text-align: center !important; }
  .hero-lede {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* the drawer is white, so its Login button must be dark — it was white on
   white and effectively invisible */
@media (max-width: 1080px) {
  .nav__drawer-foot .btn-login {
    color: #0b1b3d !important;
    border-color: #cbd5e1 !important;
    background: #ffffff;
  }
  .nav__drawer-foot .btn-login:hover { background: #f1f4f9; border-color: #94a3b8 !important; }
  .nav__drawer-foot { align-items: center; }
}

/* ==========================================================================
   V9 — blank philosophy cards, mobile login, bigger imagery, visible icons
   ========================================================================== */

/* the nine philosophy cards are white; the photo-section rules had turned
   their copy white too, which is why the cards looked empty */
.bg-photo-section .why-card h3,
.bg-photo-section .why-card h4,
.bg-photo-section .why-card p,
.bg-photo-section .why-card .why-card__title,
.bg-photo-section .why-card .why-card__desc,
.bg-photo-section .why-card span:not(.why-card__num) { color: var(--ink) !important; }
.bg-photo-section .why-card h3,
.bg-photo-section .why-card .why-card__title { color: var(--ink-strong) !important; }
.bg-photo-section .why-card { background: #ffffff; }

/* the in-page About bar scrolls away with the page — only the header sticks */
.about-subnav { position: relative !important; top: auto !important; }

/* on phones the Login lives in the drawer only */
@media (max-width: 1080px) {
  .header-actions { display: none !important; }
  .site-header__bar-container { justify-content: space-between; }
  .brand-logo { margin-right: 0; }
  .nav-toggle { margin-left: auto !important; }
}

/* "Who we serve" links at the same weight as the main list */
@media (max-width: 1080px) {
  .nav__audience a { font-size: .82rem !important; letter-spacing: .04em !important; }
  .nav__audience-label { font-size: .66rem !important; }
}

/* opening the About list pushes the current list out to the left */
@media (max-width: 1080px) {
  .nav__list, .nav__drawer-foot, .nav__audience, .nav__drawer-head {
    transition: transform .34s cubic-bezier(.16, 1, .3, 1), opacity .26s ease;
  }
  .nav.is-submenu .nav__list,
  .nav.is-submenu .nav__drawer-foot,
  .nav.is-submenu .nav__audience { transform: translateX(-26px); opacity: 0; pointer-events: none; }
}

/* the search and phone controls carry a little more weight */
.topbar-util__btn svg { width: 17px; height: 17px; stroke-width: 2.4; }
.topbar-util__btn { color: #1f2937 !important; font-weight: 500; }
.topbar-util { gap: 1.35rem; }

/* larger round portraits: philosophy and the tailored packages */
#our-philosophy .about-ring-media { width: clamp(16rem, 26vw, 23rem) !important; }
#our-financial-planning-service .about-ring-media { width: clamp(17rem, 30vw, 25rem) !important; }
#our-financial-planning-service .about-head-split { grid-template-columns: minmax(0, 1fr) auto !important; }
#our-financial-planning-service .about-head-copy p { max-width: 42rem; }
@media (max-width: 900px) {
  #our-philosophy .about-ring-media,
  #our-financial-planning-service .about-ring-media { width: min(20rem, 78vw) !important; margin-inline: auto !important; justify-self: center; }
}

/* loader inside the submit button while a form is being posted */
.aip-btn-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(11, 27, 61, .25); border-top-color: currentColor;
  display: inline-block; margin-right: .5rem; vertical-align: -2px;
  animation: aipSpin .7s linear infinite;
}
@keyframes aipSpin { to { transform: rotate(360deg); } }
