/* ============================================================
   V&M Advisory: light, policy-firm theme layered on /css/site.css.
   White and navy, the V&M mark, the same angular cuts, leaning
   scrims and crimson blade. Headings in sentence case. No grid.
   ============================================================ */

:root {
  color-scheme: light;
  --ink: #10203a;
  --ink-2: #3a4658;
  --ink-3: #5c6879;
  --rule: #dce2ea;
  --rule-soft: #ebeff4;
  --rule-strong: #8a95a5;
  --paper: #ffffff;
  --paper-2: #f4f6f9;
  --paper-3: #e8edf3;
  --link: #1b4475;
  --accent: #b3261e;
  --shadow-1: 0 1px 0 rgba(15, 42, 74, 0.06), 0 6px 18px rgba(15, 42, 74, 0.07);
  --shadow-2: 0 14px 34px rgba(15, 42, 74, 0.14);
}

body { background-image: none; }
a:hover { color: var(--navy); }

/* Header: white masthead, navy mark, a thin crimson rule */
.site-header { background: #ffffff; border-bottom: 1px solid var(--rule); }
.site-header.is-stuck { box-shadow: var(--shadow-1); }
.site-header .brand__text strong { color: var(--navy); }
.menu .sub a:hover { background: var(--paper-2); color: var(--navy); }
.menu .sub a[aria-current] { color: var(--navy); }
.menu > ul > li.menu__cta > a { background: var(--navy); color: #ffffff; padding: 11px 18px 11px 16px; clip-path: var(--btn-cut); }
.menu > ul > li.menu__cta > a::before { display: none; }
.menu > ul > li.menu__cta > a:hover { background: var(--navy-2); }
.menu > ul > li.menu__parent > a { color: var(--ink-3); font-weight: 600; }
@media (max-width: 900px) {
  .menu > ul > li.menu__cta > a { width: auto; margin: 10px 0 4px; display: inline-flex; }
}

/* Policy-firm headings: sentence case, navy */
.banner h1, .band__title, .split__body h2, .section > h2, .band--cta h2, .band--photo h2 { text-transform: none; }
.banner--home h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; }
.section > h2, .band__title, .split__body h2, .entries h3, .card__body h3 { color: var(--navy); }
.section > h2 { letter-spacing: -0.015em; }

/* Buttons on a light page */
.btn { background: var(--navy); color: #ffffff; }
.btn:hover { background: var(--navy-2); color: #ffffff; }
.btn--ghost { background: var(--paper-3); color: var(--navy); }
.btn--ghost:hover { background: #dbe3ec; color: var(--navy); }
.btn--light { background: #ffffff; color: var(--navy); }
.btn--light:hover { background: var(--paper-2); color: var(--navy); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.24); color: #ffffff; }

/* Bands */
.band--navy { background: var(--navy); }
.band--tint { background: var(--paper-2); }
.band + .band { border-top: 1px solid var(--rule); }

/* Plates and cards keep the cut corners, on a light surface */
.card, .side-box, .form { background: var(--paper-2); }
.cards--grid .card:not(:has(.card__media)) { background: transparent; }

/* Engagement tiles on the advisory home and services pages */
.cards--grid .card__body .role { margin-bottom: 8px; }

/* Footer: navy, so the white type of the shared footer rules reads */
.site-footer { background: var(--navy-deep); }
@media (min-width: 1240px) {
  .site-footer .brand__text span { white-space: nowrap; }
  .site-footer .cols { grid-template-columns: 1.6fr 1.25fr 1.1fr 1fr 1.25fr; }
}
@media (min-width: 901px) and (max-width: 1239px) {
  .site-footer .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Print stays as the shared stylesheet sets it */

/* Keyboard focus: rings drawn inside clipped buttons, in a colour that shows on each surface */
.btn:focus-visible { outline: 2px solid #ffffff; outline-offset: -6px; }
.btn--ghost:focus-visible, .banner .btn--light:focus-visible, .band--cta .btn--light:focus-visible { outline-color: var(--navy); }
.menu > ul > li.menu__cta > a:focus-visible { outline: 2px solid #ffffff; outline-offset: -5px; }

/* Errors on the light form panel */
.form .hint.is-error { color: var(--accent); }

/* Engagement tiles are plain text blocks: no cut corner over the hairline */
.cards--grid .card::before { display: none; }

/* On phones the sidebar stacks under the form, so drop the jump list and the repeat call box there */
@media (max-width: 900px) { .layout__side .side-box--toc, .layout__side .side-box--cta { display: none; } }
