/* Vessel Doctor site design system (2026-11). Used by pages rebuilt from site/templates.
   Fonts: Sora (display) and Figtree (text), brand kit, SIL OFL 1.1. Colours: Family Colours logo. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/_vd/fonts/sora-latin-wght.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/_vd/fonts/figtree-latin-wght.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(/_vd/fonts/figtree-latin-wght-italic.woff2) format("woff2"); }
@font-face { font-family: "VD Quiet Marks"; font-display: block; src: url(/_vd/fonts/vd-quiet-marks.woff2) format("woff2"); unicode-range: U+2190-21FF, U+2304, U+2794-27BF, U+27F0-27FF, U+2900-297F; }
@font-face { font-family: "Sora Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"); size-adjust: 110.93%; ascent-override: 87.45%; descent-override: 26.14%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"); size-adjust: 99.25%; ascent-override: 95.72%; descent-override: 25.19%; line-gap-override: 0%; }

:root {
  --navy: #0e2f5a;
  --night: #0b2340;
  --night-2: #10294a;
  --ink: #0b2340;
  --text: #3b4552;
  --muted: #4f5b69;
  --soft: #56626f;
  --green: #309012;
  --green-ink: #2a7f10;
  --ocean: #015398;
  --sky: #4bcdf9;
  --lime: #a1ca16;
  --mist: #f4f6f8;
  --mist-2: #eceff3;
  --line: #dde3ea;
  --line-soft: #e9edf2;
  --white: #fff;

  --f-text: "Figtree", "Figtree Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-display: "Sora", "Sora Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 9vw, 136px);
  --header-h: 80px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 2px rgb(11 35 64 / 0.05), 0 8px 24px rgb(11 35 64 / 0.06);
  --shadow-2: 0 2px 6px rgb(11 35 64 / 0.05), 0 24px 56px rgb(11 35 64 / 0.12);
}
@media (max-width: 920px) { :root { --header-h: 68px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--f-display); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgb(1 83 152 / 0.16); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }
.vd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vd-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.vd-skip:focus { top: 12px; }

.vd-wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.vd-section { padding-block: var(--section); }
.vd-mist { background: var(--mist); }
.vd-dark { background: var(--night); color: rgb(255 255 255 / 0.76); }
.vd-dark h1, .vd-dark h2, .vd-dark h3 { color: #fff; }

/* ---------- Type ---------- */
.vd-eyebrow {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13.5px;
  font-weight: 600;
  gap: 12px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.vd-eyebrow::before { background: var(--green); content: ""; flex: none; height: 2px; width: 22px; }
.vd-dark .vd-eyebrow, .vd-on-photo .vd-eyebrow { color: rgb(255 255 255 / 0.74); }
.vd-dark .vd-eyebrow::before, .vd-on-photo .vd-eyebrow::before { background: var(--lime); }
.vd-display { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.045em; line-height: 1; }
.vd-h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.042em; line-height: 1.03; }
.vd-h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.vd-lead { color: var(--text); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.vd-dark .vd-lead { color: rgb(255 255 255 / 0.78); }
.vd-muted { color: var(--muted); }
h1 em, h2 em { color: var(--green); font-style: normal; }
.vd-dark h1 em, .vd-dark h2 em, .vd-on-photo h1 em { color: var(--lime); }
.vd-accent { color: var(--green); }
.vd-figure { color: var(--green-ink); font-family: var(--f-display); font-feature-settings: "tnum"; font-size: 15.5px; font-weight: 500; letter-spacing: 0.04em; }
.vd-dark .vd-figure { color: var(--lime); }

/* ---------- Buttons and links ---------- */
.vd-btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 999px;
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--f-text);
  font-size: 16.5px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: -0.005em;
  min-height: 50px;
  padding: 0 28px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.vd-btn:hover { --bg: var(--night); --bd: var(--night); box-shadow: 0 12px 28px rgb(11 35 64 / 0.18); transform: translateY(-1px); }
.vd-btn:active { transform: scale(0.98); box-shadow: none; transition-duration: 0.1s; }
.vd-btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgb(11 35 64 / 0.22); }
.vd-btn--ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.vd-btn--light { --bg: #fff; --fg: var(--night); --bd: #fff; }
.vd-btn--light:hover { --bg: var(--mist); --fg: var(--night); --bd: var(--mist); box-shadow: 0 12px 30px rgb(0 0 0 / 0.28); }
.vd-btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / 0.42); }
.vd-btn--ghost-light:hover { --bg: #fff; --fg: var(--night); --bd: #fff; }
.vd-btn--sm { min-height: 42px; padding: 0 20px; font-size: 15.5px; }
.vd-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.vd-link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  color: var(--ocean);
  font-weight: 600;
  padding-bottom: 2px;
  transition: background-size 0.45s var(--ease), color 0.2s ease;
}
.vd-link:hover { background-size: 100% 1px; }
.vd-dark .vd-link, .vd-on-photo .vd-link { color: #fff; }

/* ---------- Header ---------- */
.vd-header {
  color: var(--ink);
  height: var(--header-h);
  inset: 0 0 auto 0;
  position: fixed;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  z-index: 50;
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 1px 0 var(--line-soft);
}
.vd-header__inner { align-items: center; display: flex; gap: 28px; height: 100%; margin-inline: auto; width: min(1320px, 100% - 2 * var(--gutter)); }
.vd-brand { display: block; flex: none; position: relative; }
.vd-brand img { height: 56px; width: auto; transition: opacity 0.35s ease; }
.vd-brand__light { position: absolute; inset: 0; opacity: 0; }
.vd-nav { align-items: center; display: flex; gap: clamp(18px, 2vw, 30px); margin-left: auto; }
.vd-nav > a, .vd-nav__trigger {
  align-items: center;
  display: inline-flex;
  font-size: 15.5px;
  font-weight: 500;
  gap: 8px;
  padding-block: 10px;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.vd-nav > a::after, .vd-nav__trigger::after { background: currentColor; bottom: 4px; content: ""; height: 1px; left: 0; position: absolute; right: 100%; transition: right 0.4s var(--ease); }
.vd-nav > a:hover::after, .vd-nav__trigger:hover::after, .vd-nav > a[aria-current="page"]::after { right: 0; }
.vd-count { background: var(--mist-2); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 20px; min-width: 24px; padding: 0 7px; text-align: center; transition: background 0.35s ease, color 0.35s ease; }
.vd-header__cta { margin-left: 8px; }

/* Transparent over the homepage photograph until the page moves. */
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) { background: transparent; box-shadow: none; color: #fff; }
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) .vd-brand__dark { opacity: 0; }
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) .vd-brand__light { opacity: 1; }
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) .vd-count { background: rgb(255 255 255 / 0.16); color: #fff; }
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) .vd-header__cta { --bg: #fff; --fg: var(--night); --bd: #fff; }
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) .vd-menu-toggle { border-color: rgb(255 255 255 / 0.4); }
.vd-header[data-over-photo]:not([data-scrolled]):not([data-menu-open]) .vd-menu-toggle span:not(.vd-sr) { background: #fff; }

/* Services panel */
.vd-nav__services { position: static; }
.vd-mega {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  color: var(--text);
  left: 50%;
  opacity: 0;
  padding: 32px 36px 36px;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 6px);
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  visibility: hidden;
  width: min(1200px, 100vw - 2 * var(--gutter));
}
.vd-mega::before { content: ""; height: 14px; left: 0; position: absolute; right: 0; top: -14px; }
.vd-nav__services:hover .vd-mega, .vd-nav__services:focus-within .vd-mega, .vd-nav__services[data-open] .vd-mega {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; visibility: visible;
}
.vd-mega__top { align-items: baseline; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding-bottom: 20px; }
.vd-mega__title { color: var(--ink); font-family: var(--f-display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.vd-mega__cols { display: grid; gap: 28px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vd-mega__cols p { color: var(--ocean); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.45; margin-bottom: 12px; min-height: 32px; text-transform: uppercase; }
.vd-mega__cols a { color: var(--text); display: block; font-size: 15.5px; line-height: 1.4; padding: 6px 0; transition: color 0.2s ease; }
.vd-mega__cols a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(11 35 64 / 0.3); text-underline-offset: 3px; }

/* Mobile menu */
.vd-menu-toggle { background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; display: none; flex: none; height: 44px; margin-left: auto; padding: 0; position: relative; width: 44px; }
.vd-menu-toggle span:not(.vd-sr) { background: var(--ink); border-radius: 2px; height: 1.5px; left: 13px; position: absolute; right: 13px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.vd-menu-toggle span:nth-child(1) { top: 17px; }
.vd-menu-toggle span:nth-child(2) { top: 25px; }
.vd-menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.vd-menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.vd-mobile { background: #fff; border-top: 1px solid var(--line-soft); bottom: 0; left: 0; overflow-y: auto; padding: 12px var(--gutter) 40px; position: fixed; right: 0; top: var(--header-h); }
.vd-mobile[hidden] { display: none; }
.vd-mobile > a, .vd-mobile summary { border-bottom: 1px solid var(--line-soft); color: var(--ink); cursor: pointer; display: flex; font-family: var(--f-display); font-size: 22px; font-weight: 500; justify-content: space-between; letter-spacing: -0.02em; list-style: none; padding: 16px 0; }
.vd-mobile summary::-webkit-details-marker { display: none; }
.vd-mobile summary::marker { content: ""; }
.vd-mobile details > div { padding: 8px 0 16px; }
.vd-mobile details > div p { color: var(--ocean); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; margin: 14px 0 6px; text-transform: uppercase; }
.vd-mobile details > div a { color: var(--text); display: block; font-size: 17px; padding: 7px 0; }
.vd-mobile .vd-btn { margin-top: 28px; width: 100%; }
.vd-nav > a, .vd-nav__trigger { white-space: nowrap; }
@media (max-width: 1240px) { .vd-header__inner { gap: 22px; } .vd-nav { gap: 16px; } }
@media (max-width: 1080px) { .vd-nav > a:nth-of-type(n+5) { display: none; } }
@media (max-width: 920px) {
  .vd-nav, .vd-header__cta { display: none; }
  .vd-menu-toggle { display: block; }
  .vd-brand img { height: 46px; }
}
html.vd-menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.vd-footer { background: var(--mist); color: var(--text); overflow: hidden; position: relative; }
.vd-footer__top { display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); padding-block: clamp(56px, 6vw, 80px) clamp(36px, 4vw, 52px); }
.vd-footer__logo { height: 70px; width: auto; }
.vd-footer__line { color: var(--text); font-size: 18px; line-height: 1.55; margin: 18px 0 14px; max-width: 34ch; }
.vd-footer__mail { color: var(--ink); display: inline-block; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.02em; margin-bottom: 20px; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color 0.25s ease; }
.vd-footer__mail:hover { text-decoration-color: var(--green); }
.vd-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.vd-footer__social a { align-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); display: inline-flex; height: 40px; justify-content: center; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; width: 40px; }
.vd-footer__social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.vd-footer__social a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.vd-footer__cta { display: flex; width: max-content; }
.vd-footer__cols { display: grid; gap: 36px 28px; grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); }
.vd-footer__title { color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; text-transform: uppercase; }
.vd-footer__col ul { display: grid; gap: 0; }
.vd-footer__col a { color: var(--text); display: inline-block; font-size: 16.5px; line-height: 1.4; padding: 5px 0; transition: color 0.2s ease, translate 0.25s var(--ease); }
.vd-footer__col a:hover { color: var(--ink); translate: 3px 0; }
.vd-footer__bottom { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; font-size: 15.5px; gap: 12px 28px; justify-content: space-between; padding-block: 20px; }
.vd-footer__tag { color: var(--muted); }
.vd-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.vd-footer__bottom a { color: var(--muted); transition: color 0.2s ease; }
.vd-footer__bottom a:hover { color: var(--ink); }
.vd-footer__mark { color: #e2e8ef; font-family: var(--f-display); font-size: min(11vw, 156px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.8; margin-top: 4px; overflow: hidden; pointer-events: none; text-align: center; user-select: none; white-space: nowrap; }
.vd-footer__mark span { display: block; translate: 0 18%; }
@media (max-width: 1080px) { .vd-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .vd-footer__cols { grid-template-columns: 1fr 1fr; } .vd-footer__bottom { align-items: flex-start; flex-direction: column; } }

/* ---------- Closing call to action ---------- */
.vd-cta { background: var(--night); color: rgb(255 255 255 / 0.74); }
.vd-cta__inner { align-items: end; display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 1fr) auto; padding-block: clamp(104px, 13vw, 184px); }
.vd-cta h2 { color: #fff; font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 24px; max-width: 14ch; }
.vd-cta p:not(.vd-eyebrow) { font-size: 19px; max-width: 46ch; }
@media (max-width: 920px) { .vd-cta__inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Homepage ---------- */
/* Framed hero: the header stays solid white above it, so the logo never changes colour. */
.vd-hero { --frame-gap: clamp(10px, 1.2vw, 18px); background: #fff; container-type: inline-size; padding: calc(var(--header-h) + var(--frame-gap)) var(--frame-gap) 0; }
.vd-hero__frame {
  background: var(--night);
  border-radius: clamp(20px, 2.2vw, 34px);
  color: #fff;
  display: grid;
  isolation: isolate;
  min-height: max(560px, calc(100svh - var(--header-h) - 2 * var(--frame-gap)));
  overflow: hidden;
  position: relative;
}
.vd-hero__media { inset: -8% 0 0; position: absolute; z-index: -2; } /* taller than the frame, so the scroll drift never shows an edge */
.vd-hero__media img { height: 100%; object-fit: cover; object-position: 64% 46%; width: 100%; }
.vd-hero__frame::after {
  background:
    linear-gradient(90deg, rgb(7 20 38 / 0.82) 0%, rgb(7 20 38 / 0.56) 40%, rgb(7 20 38 / 0.08) 74%),
    linear-gradient(0deg, rgb(7 20 38 / 0.72) 0%, rgb(7 20 38 / 0) 44%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}
/* Text lines up with the page content edge, not the frame edge. */
.vd-hero__content { align-self: end; padding-block: clamp(36px, 6vh, 72px) clamp(26px, 4.5vh, 52px); padding-inline: max(22px, calc(max(var(--gutter), (100cqw - var(--wrap)) / 2) - var(--frame-gap))); }
.vd-hero h1 { color: #fff; font-size: clamp(42px, min(6.6vw, 10.4svh), 106px); letter-spacing: -0.048em; line-height: 0.96; margin-bottom: 24px; max-width: 12ch; }
.vd-hero h1 em { display: block; }
.vd-hero .vd-lead { color: rgb(255 255 255 / 0.88); margin-bottom: 28px; max-width: 30em; }
.vd-hero__facts { border-top: 1px solid rgb(255 255 255 / 0.16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 5vh, 56px); }
.vd-hero__facts li { align-items: center; color: rgb(255 255 255 / 0.84); display: flex; font-size: 16.5px; font-weight: 500; gap: 12px; padding: 18px 20px 0 0; }
.vd-hero__facts svg { color: var(--lime); flex: none; height: 26px; width: 26px; }
.vd-hero__facts b { color: #fff; font-family: var(--f-display); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
@media (max-width: 920px) { .vd-hero__facts { grid-template-columns: 1fr 1fr; row-gap: 4px; } }
@media (max-width: 820px) {
  .vd-hero__frame::after { background: linear-gradient(0deg, rgb(7 20 38 / 0.92) 0%, rgb(7 20 38 / 0.62) 58%, rgb(7 20 38 / 0.36) 100%); }
  .vd-hero__media img { object-position: 58% 50%; }
}
@media (max-width: 560px) { .vd-hero .vd-actions { flex-direction: column; } .vd-hero .vd-btn { width: 100%; } .vd-hero__facts { grid-template-columns: 1fr; } }

/* Statement */
.vd-statement { text-align: left; }
.vd-statement__grid { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
.vd-statement h2 { font-size: clamp(38px, 5.4vw, 80px); letter-spacing: -0.048em; line-height: 0.98; }
.vd-statement h2 .vd-accent { color: var(--green); }
.vd-statement__body p { color: var(--text); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; margin-bottom: 28px; }
.vd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-tags li { border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 15.5px; font-weight: 500; padding: 7px 14px; }
@media (max-width: 920px) { .vd-statement__grid { grid-template-columns: 1fr; } }

/* Section heading row */
.vd-head { align-items: end; display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-bottom: clamp(48px, 6vw, 80px); }
.vd-head > p { color: var(--muted); font-size: 19px; max-width: 38ch; }
.vd-head--split { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 920px) { .vd-head, .vd-head--split { grid-template-columns: 1fr; align-items: start; } }

/* Discipline tiles (bento) */
.vd-tiles { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.vd-tile {
  background: var(--night);
  border-radius: var(--r-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 440px;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 36px);
  position: relative;
}
.vd-tile:nth-child(1) { grid-column: span 3; min-height: 560px; }
.vd-tile:nth-child(2) { grid-column: span 3; min-height: 560px; }
.vd-tile img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: scale 1.2s var(--ease); width: 100%; z-index: -2; }
.vd-tile::after { background: linear-gradient(0deg, rgb(7 20 38 / 0.9) 0%, rgb(7 20 38 / 0.55) 42%, rgb(7 20 38 / 0) 72%); content: ""; inset: 0; position: absolute; z-index: -1; }
.vd-tile:hover img { scale: 1.04; }
.vd-tile__top { align-items: center; display: flex; justify-content: space-between; left: clamp(24px, 2.6vw, 36px); position: absolute; right: clamp(24px, 2.6vw, 36px); top: clamp(22px, 2.4vw, 32px); }
.vd-tile__top .vd-figure { color: #fff; }
.vd-chip { backdrop-filter: none; background: rgb(255 255 255 / 0.14); border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; padding: 6px 12px; }
.vd-tile h3 { color: #fff; font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 12px; }
.vd-tile p { color: rgb(255 255 255 / 0.78); font-size: 17px; line-height: 1.55; margin-bottom: 18px; max-width: 42ch; }
.vd-tile .vd-link { color: #fff; align-self: flex-start; }
.vd-tile .vd-link::after { content: ""; inset: 0; position: absolute; }
.vd-tiles__foot { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 1024px) { .vd-tiles { grid-template-columns: 1fr 1fr; } .vd-tile, .vd-tile:nth-child(1), .vd-tile:nth-child(2) { grid-column: auto; min-height: 420px; } .vd-tile:nth-child(5) { grid-column: span 2; } }
@media (max-width: 640px) { .vd-tiles { grid-template-columns: 1fr; } .vd-tile:nth-child(5) { grid-column: auto; } .vd-tile, .vd-tile:nth-child(1), .vd-tile:nth-child(2) { min-height: 380px; } }

/* Process */
.vd-steps { counter-reset: none; display: grid; gap: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.vd-steps::before { background: var(--line); content: ""; height: 2px; left: 0; position: absolute; right: 0; top: 0; }
.vd-steps::after { background: var(--green); content: ""; height: 2px; left: 0; position: absolute; right: 0; top: 0; transform-origin: 0 50%; }
.vd-step { padding: 32px 28px 0 0; position: relative; }
.vd-step::before { background: #fff; border: 2px solid var(--green); border-radius: 50%; content: ""; height: 12px; left: 0; position: absolute; top: -5px; width: 12px; }
.vd-step__label { color: var(--soft); display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.11em; margin: 14px 0 10px; text-transform: uppercase; }
.vd-step h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 12px; }
.vd-step p { color: var(--muted); font-size: 17px; line-height: 1.55; }
@media (max-width: 920px) {
  .vd-steps { grid-template-columns: 1fr; gap: 36px; padding-left: 28px; }
  .vd-steps::before, .vd-steps::after { bottom: 0; height: auto; left: 0; right: auto; top: 0; width: 2px; transform-origin: 50% 0; }
  .vd-step { padding: 0; }
  .vd-step::before { left: -33px; top: 4px; }
}

/* Evidence (dark band) */
.vd-evidence { overflow: hidden; }
.vd-evidence__top { align-items: end; display: grid; gap: clamp(28px, 6vw, 96px); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin-bottom: clamp(48px, 6vw, 88px); }
.vd-evidence h2 { color: #fff; font-size: clamp(38px, 5vw, 76px); letter-spacing: -0.046em; line-height: 1.02; }
.vd-evidence__lead { color: rgb(255 255 255 / 0.78); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; max-width: 38ch; }
.vd-evidence__stage { position: relative; }
.vd-evidence__media { aspect-ratio: 21 / 9; border-radius: var(--r-lg); margin: 0; overflow: hidden; position: relative; }
.vd-evidence__media img { height: 100%; inset: 0; object-fit: cover; object-position: 50% 40%; position: absolute; width: 100%; }
.vd-evidence__sheet { background: #fff; border-radius: var(--r); bottom: clamp(-64px, -4vw, -32px); box-shadow: 0 40px 90px rgb(0 0 0 / 0.38); color: var(--ink); padding: 26px 28px 18px; position: absolute; right: clamp(20px, 4vw, 64px); width: min(360px, 40%); }
.vd-evidence__sheet-title { color: var(--ink); font-family: var(--f-display); font-size: 21px; letter-spacing: -0.02em; margin-bottom: 14px; }
.vd-evidence__sheet ol { border-top: 1px solid var(--line); counter-reset: vd-rr; }
.vd-evidence__sheet li { border-bottom: 1px solid var(--line); color: var(--text); counter-increment: vd-rr; display: grid; font-size: 17px; gap: 10px; grid-template-columns: 30px 1fr; padding: 10px 0; }
.vd-evidence__sheet li:last-child { border-bottom: 0; }
.vd-evidence__sheet li::before { color: var(--green-ink); content: counter(vd-rr, decimal-leading-zero); font-family: var(--f-display); font-size: 14.5px; padding-top: 2px; }
.vd-evidence__points { border-top: 1px solid rgb(255 255 255 / 0.16); display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(96px, 10vw, 152px); }
.vd-evidence__points li { color: #fff; display: grid; font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 26px); gap: 14px; letter-spacing: -0.02em; line-height: 1.25; padding-top: 26px; }
.vd-evidence__points .vd-figure { font-size: 16px; }
@media (max-width: 920px) {
  .vd-evidence__top { grid-template-columns: 1fr; align-items: start; }
  .vd-evidence__media { aspect-ratio: 4 / 3; }
  .vd-evidence__sheet { bottom: auto; margin: -56px 16px 0; position: relative; right: auto; width: auto; }
  .vd-evidence__points { grid-template-columns: 1fr; margin-top: 64px; }
}

/* Coverage */
.vd-coverage__grid { align-items: center; display: grid; gap: clamp(40px, 7vw, 112px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vd-coverage h2 { margin-bottom: 24px; }
.vd-coverage__copy > p:not(.vd-eyebrow) { color: var(--text); font-size: 19px; margin-bottom: 32px; max-width: 44ch; }
.vd-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.vd-pills a { border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 16.5px; font-weight: 500; padding: 10px 18px; transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease); }
.vd-pills a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.vd-coverage__media { aspect-ratio: 4 / 5; margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.vd-coverage__media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
@media (max-width: 920px) { .vd-coverage__grid { grid-template-columns: 1fr; } .vd-coverage__media { aspect-ratio: 16 / 11; } }

/* Insights */
.vd-cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  padding: clamp(26px, 2.6vw, 36px);
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.35s ease;
}
.vd-card:hover { border-color: transparent; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vd-card__meta { color: var(--ocean); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.vd-card h3 { font-size: clamp(21px, 1.7vw, 25px); letter-spacing: -0.025em; line-height: 1.2; }
.vd-card h3 a::after { content: ""; inset: 0; position: absolute; }
.vd-card p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.vd-card .vd-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 920px) { .vd-cards { grid-template-columns: 1fr; } .vd-card { min-height: 0; } }

/* ---------- Inner pages: shared ---------- */
.vd-page-top { padding-top: calc(var(--header-h) + clamp(36px, 5vw, 72px)); }
.vd-h2--sm { font-size: clamp(30px, 3.4vw, 50px); }
.vd-crumbs { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 15.5px; gap: 10px; margin-bottom: clamp(28px, 4vw, 52px); }
.vd-crumbs a { transition: color 0.2s ease; }
.vd-crumbs a:hover { color: var(--ink); }
.vd-crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.vd-crumbs [aria-hidden] { color: var(--line); }
.vd-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vd-cards--4 .vd-card { min-height: 260px; }
@media (max-width: 1080px) { .vd-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vd-cards--4 { grid-template-columns: 1fr; } }
.vd-card__meta .vd-figure { margin-right: 6px; }

/* Expandable panel */
.vd-more { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.3s ease, box-shadow 0.4s var(--ease); }
.vd-more[open] { border-color: transparent; box-shadow: var(--shadow-2); }
.vd-more > summary { align-items: center; cursor: pointer; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 44px; list-style: none; padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.8vw, 36px); }
.vd-more > summary::-webkit-details-marker { display: none; }
.vd-more__text .vd-eyebrow { margin-bottom: 12px; }
.vd-more__text h2 { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.03em; line-height: 1.16; }
.vd-more__title { color: var(--ink); font-family: var(--f-display); font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.vd-more__hint { color: var(--ocean); display: block; font-size: 15.5px; font-weight: 600; margin-top: 12px; }
.vd-more__hint::before { content: "Show the full plan"; }
.vd-more[open] .vd-more__hint::before { content: "Hide the plan"; }
.vd-more__icon { border: 1px solid var(--line); border-radius: 50%; height: 44px; position: relative; transition: background-color 0.3s ease, border-color 0.3s ease; width: 44px; }
.vd-more__icon::before, .vd-more__icon::after { background: var(--ink); content: ""; height: 1.5px; left: 50%; position: absolute; top: 50%; transition: rotate 0.45s var(--ease), background-color 0.3s ease; translate: -50% -50%; width: 14px; }
.vd-more__icon::after { rotate: 90deg; }
details[open] > summary .vd-more__icon::after { rotate: 0deg; }
summary:hover .vd-more__icon { background: var(--ink); border-color: var(--ink); }
summary:hover .vd-more__icon::before, summary:hover .vd-more__icon::after { background: #fff; }
.vd-more__body { display: grid; gap: 28px; padding: 0 clamp(22px, 2.8vw, 36px) clamp(26px, 3vw, 40px); }
.vd-more--quiet { background: transparent; }
.vd-more--quiet[open] { background: #fff; }
.vd-more--quiet .vd-more__body p { color: var(--text); font-size: 17px; max-width: 80ch; }

/* Rich text from older sections */
.vd-rich { display: grid; gap: 22px; }
.vd-rich > * { min-width: 0; }
.vd-rich p { font-size: 17.5px; line-height: 1.7; max-width: 72ch; }
.vd-rich h2 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.12; }
.vd-rich h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.vd-rich a:not(.vd-btn):not(.vd-link) { color: var(--ocean); text-decoration: underline; text-decoration-color: rgb(1 83 152 / 0.3); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.vd-rich a:not(.vd-btn):not(.vd-link):hover { text-decoration-color: currentColor; }
.vd-rich ol, .vd-rich ul { border-top: 1px solid var(--line); counter-reset: vd-r; }
.vd-rich li { border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; padding: 12px 0; position: relative; }
.vd-rich ol > li { counter-increment: vd-r; padding-left: 40px; }
.vd-rich ol > li::before { color: var(--green-ink); content: counter(vd-r, decimal-leading-zero); font-family: var(--f-display); font-size: 14.5px; left: 0; position: absolute; top: 14px; }
.vd-rich strong, .vd-rich b { color: var(--ink); font-weight: 600; }
.vd-x-lead { color: var(--ink) !important; font-size: 19px !important; }
.vd-x-head { display: grid; gap: 14px; }
.vd-x-head .vd-eyebrow { margin-bottom: 0; }
.vd-x-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.vd-x-card { background: var(--mist); border-radius: var(--r-sm); display: grid; align-content: start; gap: 10px; padding: 22px 22px 24px; }
.vd-x-card:has(h2, h3, h4) > b:first-child, .vd-x-card:has(h2, h3, h4) > p:first-child:not(:only-child) { color: var(--green-ink); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vd-x-card h3 { font-size: 19px; margin: 0; }
.vd-x-card p { font-size: 17px; line-height: 1.6; }
.vd-x-card .vd-figure { font-size: 14.5px; }
.vd-x-note { background: var(--mist); border-radius: var(--r-sm); display: grid; gap: 10px; padding: 22px 24px; }
.vd-x-note h3 { margin: 0; }
.vd-x-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.vd-x-actions a { color: var(--ocean); font-weight: 600; text-decoration: none !important; }
.vd-x-actions a:hover { text-decoration: underline !important; }
.vd-x-figure { margin: 0; }
.vd-x-sec, .vd-x-group { display: grid; gap: 18px; min-width: 0; }
/* Cards: a run of two or more becomes a grid wherever it appears. */
.vd-pg__body:has(> .vd-x-card + .vd-x-card), .vd-x-group:has(> .vd-x-card + .vd-x-card) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.vd-pg__body:has(> .vd-x-card + .vd-x-card) > :not(.vd-x-card), .vd-x-group:has(> .vd-x-card + .vd-x-card) > :not(.vd-x-card) { grid-column: 1 / -1; }
.vd-x-card:not(:has(h2, h3, h4)) > p:first-child, .vd-x-card:not(:has(h2, h3, h4)) > b:first-child { color: var(--ink); font-family: var(--f-display); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; text-transform: none; }
.vd-x-card i { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.vd-x-card:has(h2 a, h3 a) { position: relative; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s ease; }
.vd-x-card:has(h2 a, h3 a):hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vd-x-card h2 a, .vd-x-card h3 a { color: var(--ink) !important; text-decoration: none !important; }
.vd-x-card h2 a::after, .vd-x-card h3 a::after { content: ""; inset: 0; position: absolute; }
.vd-x-card > .vd-x-group:first-child:not(:has(h2, h3, p)) { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vd-x-card > a:last-child, .vd-x-card > .vd-x-group > a:last-child { color: var(--ocean); font-weight: 600; text-decoration: none; }
.vd-tagchip { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: inline-block; font-size: 15px; font-weight: 500; margin: 0 6px 6px 0; padding: 7px 14px; }
.vd-pg--mist .vd-tagchip { background: #fff; }
/* A section holding several cards lays them out as a grid. */
.vd-x-sec:has(> .vd-x-card + .vd-x-card) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.vd-x-sec:has(> .vd-x-card + .vd-x-card) > :not(.vd-x-card) { grid-column: 1 / -1; }
/* A card whose first bold line is its name (no heading) shows it as the title. */
.vd-x-card:not(:has(h2, h3, h4)) > b:first-child { color: var(--ink); font-family: var(--f-display); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; text-transform: none; }
.vd-x-card em { color: var(--muted); font-size: 14.5px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.vd-x-group > .vd-eyebrow { margin-bottom: -4px; }
.vd-prose > .vd-x-sec + .vd-x-sec, .vd-prose > div > .vd-x-sec + .vd-x-sec { border-top: 1px solid var(--line); padding-top: 48px; }
.vd-prose > .vd-x-sec, .vd-prose > div > .vd-x-sec { scroll-margin-top: calc(var(--header-h) + 24px); }
.vd-prose .vd-x-sec > .vd-figure:first-child { margin-bottom: -10px; }
.vd-table { border: 1px solid var(--line); border-radius: var(--r-sm); overflow-x: auto; }
.vd-table:focus-visible { outline-offset: 2px; }
.vd-table table { border-collapse: collapse; font-size: 16.5px; line-height: 1.55; min-width: 640px; width: 100%; }
.vd-table caption { border-bottom: 1px solid var(--line); caption-side: top; color: var(--ink); font-family: var(--f-display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; padding: 16px 18px; text-align: left; }
.vd-table th { background: var(--mist); color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; padding: 12px 18px; text-align: left; vertical-align: bottom; }
.vd-table td { border-top: 1px solid var(--line); padding: 14px 18px; vertical-align: top; }
.vd-table td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Services directory ---------- */
.vd-dir-hero { padding-bottom: clamp(36px, 5vw, 64px); }
.vd-dir-hero__grid { align-items: end; display: grid; gap: clamp(28px, 6vw, 96px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.vd-dir-hero h1 { font-size: clamp(40px, 5.2vw, 78px); letter-spacing: -0.048em; line-height: 0.99; }
.vd-dir-hero .vd-lead { margin-bottom: 28px; }
.vd-dir-hero__media { aspect-ratio: 21 / 8; border-radius: var(--r-lg); margin: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; position: relative; }
.vd-dir-hero__media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
@media (max-width: 920px) { .vd-dir-hero__grid { grid-template-columns: 1fr; align-items: start; } .vd-dir-hero__media { aspect-ratio: 16 / 10; } }
.vd-dir { padding-bottom: var(--section); }
.vd-dir__tools { background: rgb(255 255 255 / 0.97); border-bottom: 1px solid var(--line-soft); display: grid; gap: 14px; margin-bottom: 24px; padding-block: 16px; position: sticky; top: var(--header-h); z-index: 5; }
.vd-dir__row { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; }
.vd-filter { display: flex; gap: 5px; margin-inline: -2px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.vd-filter::-webkit-scrollbar { display: none; }
.vd-filter button { flex: none; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 500; padding: 8px 12px; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease); }
.vd-filter button:hover { border-color: var(--ink); }
.vd-filter button:active { transform: scale(0.97); }
.vd-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vd-search input { -webkit-appearance: none; appearance: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: inherit; font-size: 16.5px; padding: 10px 18px; transition: border-color 0.2s ease; width: 100%; }
.vd-search { flex: 0 1 320px; }
.vd-search input:hover { border-color: var(--soft); }
.vd-search input:focus { border-color: var(--ocean); outline: none; box-shadow: 0 0 0 3px rgb(1 83 152 / 0.14); }
.vd-dir__count { color: var(--muted); font-size: 16.5px; }
.vd-dir__count b { color: var(--ink); font-weight: 600; }
.vd-dir__grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .vd-dir__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vd-dir__grid { grid-template-columns: 1fr; } .vd-dir__tools { position: static; } .vd-search { flex: 1 1 100%; } }
.vd-svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease; }
.vd-svc-card[hidden] { display: none; }
.vd-svc-card:hover { border-color: transparent; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vd-svc-card__media { aspect-ratio: 16 / 10; background: var(--mist-2); overflow: hidden; position: relative; }
.vd-svc-card__media img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: scale 1.1s var(--ease); width: 100%; }
.vd-svc-card:hover .vd-svc-card__media img { scale: 1.03; }
.vd-svc-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 24px 26px; }
.vd-svc-card__meta { align-items: center; color: var(--muted); display: flex; font-size: 13.5px; font-weight: 600; gap: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.vd-svc-card h2 { font-size: clamp(20px, 1.55vw, 23px); letter-spacing: -0.025em; line-height: 1.2; }
.vd-svc-card h2 a::after { content: ""; inset: 0; position: absolute; }
.vd-svc-card p:not(.vd-svc-card__meta) { color: var(--text); font-size: 17px; line-height: 1.55; }
.vd-svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.vd-svc-card__tags li { border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; padding: 4px 11px; }
.vd-dir__empty { color: var(--text); font-size: 19px; padding: 48px 0; text-align: center; }
.vd-dir__notes { border-top: 1px solid var(--line); color: var(--muted); display: grid; font-size: 16.5px; gap: 14px; margin-top: clamp(48px, 6vw, 80px); max-width: 860px; padding-top: 28px; }

/* ---------- Service pages ---------- */
.vd-svc-hero { padding-bottom: clamp(56px, 7vw, 104px); }
.vd-svc-hero__grid { align-items: center; display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.vd-svc-hero h1 { font-size: clamp(36px, 4.3vw, 64px); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 28px; max-width: 18ch; }
.vd-svc-hero .vd-lead { margin-bottom: 36px; max-width: 36em; }
.vd-svc-hero__media { aspect-ratio: 4 / 5; border-radius: var(--r-lg); margin: 0; max-height: 640px; overflow: hidden; position: relative; }
.vd-svc-hero__media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
@media (max-width: 920px) { .vd-svc-hero__grid { grid-template-columns: 1fr; } .vd-svc-hero__media { aspect-ratio: 16 / 11; } }
.vd-svc-body { border-top: 1px solid var(--line-soft); padding-block: clamp(64px, 8vw, 128px); }
.vd-svc-body__grid { align-items: start; display: grid; gap: clamp(40px, 6vw, 104px); grid-template-columns: 210px minmax(0, 1fr); }
.vd-svc-index { display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 36px); }
.vd-svc-index p { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 14px; text-transform: uppercase; }
.vd-svc-index a:not(.vd-btn) { border-left: 1px solid var(--line); color: var(--muted); font-size: 16.5px; line-height: 1.35; padding: 8px 0 8px 16px; transition: color 0.2s ease, border-color 0.2s ease; }
.vd-svc-index a:not(.vd-btn):hover, .vd-svc-index a[aria-current="true"] { border-color: var(--green); color: var(--ink); }
.vd-svc-index .vd-btn { justify-self: start; margin-top: 26px; }
@media (max-width: 920px) { .vd-svc-body__grid { grid-template-columns: 1fr; } .vd-svc-index { display: none; } }
.vd-svc-main { display: grid; gap: clamp(64px, 8vw, 112px); max-width: 860px; min-width: 0; }
.vd-svc-overview { display: grid; gap: 18px; }
.vd-svc-overview p { color: var(--ink); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.65; }
.vd-block__head { align-items: center; display: flex; gap: 16px; margin-bottom: 22px; }
.vd-block__head .vd-eyebrow { margin: 0; }
.vd-block__head .vd-eyebrow::before { display: none; }
.vd-block__head .vd-figure { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.vd-block > h2 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 26px; max-width: 24ch; }
.vd-block--lead > h2 { font-size: clamp(32px, 3.6vw, 52px); }
.vd-block__body { display: grid; gap: 22px; }
.vd-block__body > p { font-size: 19px; line-height: 1.7; max-width: 66ch; }
.vd-block__more { margin-top: 4px; }
.vd-points { border-top: 1px solid var(--line); column-gap: 40px; counter-reset: vd-pt; display: grid; grid-template-columns: 1fr 1fr; }
.vd-points li { border-bottom: 1px solid var(--line); color: var(--ink); counter-increment: vd-pt; display: grid; font-size: 17.5px; gap: 14px; grid-template-columns: 30px 1fr; line-height: 1.5; padding: 18px 0; }
.vd-points li::before { color: var(--green-ink); content: counter(vd-pt, decimal-leading-zero); font-family: var(--f-display); font-size: 14.5px; padding-top: 3px; }
@media (max-width: 640px) { .vd-points { grid-template-columns: 1fr; } }
.vd-when { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-when li { align-content: space-between; background: var(--mist); border-radius: var(--r); color: var(--ink); display: grid; font-size: 17.5px; font-weight: 500; gap: 28px; line-height: 1.45; min-height: 156px; padding: 22px 22px 24px; }
@media (max-width: 920px) { .vd-when { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vd-when { grid-template-columns: 1fr; } .vd-when li { min-height: 0; } }
.vd-process { border-top: 1px solid var(--line); }
.vd-process li { align-items: baseline; border-bottom: 1px solid var(--line); display: grid; gap: 4px 20px; grid-template-columns: 40px minmax(0, 170px) minmax(0, 1fr); padding: 22px 0; }
.vd-process li > div { display: contents; }
.vd-process h3 { font-size: 20px; letter-spacing: -0.02em; }
.vd-process p { color: var(--text); font-size: 17px; }
@media (max-width: 640px) { .vd-process li { grid-template-columns: 34px 1fr; } .vd-process p { grid-column: 2; } }
.vd-note { background: var(--mist); border-radius: var(--r); display: grid; gap: 8px; padding: 24px 28px; }
.vd-note > b:first-child { color: var(--green-ink); font-size: 13.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.vd-note h2 { font-size: 22px; letter-spacing: -0.025em; }
.vd-note p { font-size: 17px; }
.vd-svc-notes { display: grid; gap: 12px; }
.vd-block--choices { gap: 28px; }
.vd-svc-panels { display: grid; gap: 14px; }
.vd-svc-panels > .vd-eyebrow { margin-bottom: 10px; }
.vd-places { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); margin-bottom: 28px; }
.vd-places a { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; padding: 22px 24px 24px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease; }
.vd-places a:hover { border-color: transparent; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vd-places span { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.vd-places b { color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.4; }
.vd-faq { align-items: start; display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.vd-faq__head { position: sticky; top: calc(var(--header-h) + 36px); }
.vd-faq__head > p:not(.vd-eyebrow) { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 36ch; }
.vd-faq__list { border-top: 1px solid var(--line); }
.vd-faq__list details { border-bottom: 1px solid var(--line); }
.vd-faq__list summary { align-items: center; color: var(--ink); cursor: pointer; display: grid; font-family: var(--f-display); font-size: clamp(18px, 1.45vw, 21px); gap: 14px; grid-template-columns: 40px minmax(0, 1fr) 44px; letter-spacing: -0.02em; line-height: 1.32; list-style: none; padding: 24px 0; }
.vd-faq__list summary::-webkit-details-marker { display: none; }
.vd-faq__a { padding: 0 58px 28px 54px; }
.vd-faq__a p { color: var(--text); font-size: 17.5px; }
@media (max-width: 920px) { .vd-faq { grid-template-columns: 1fr; } .vd-faq__head { position: static; } .vd-faq__a { padding: 0 0 24px 54px; } }

/* ---------- Framed hero for inner pages (service pages, about, standards …) ---------- */
.vd-fhero { --frame-gap: clamp(10px, 1.2vw, 18px); container-type: inline-size; padding: calc(var(--header-h) + var(--frame-gap)) var(--frame-gap) 0; }
.vd-fhero__crumbs { padding: 10px 0 18px; }
.vd-fhero__crumbs .vd-crumbs { margin: 0; }
.vd-fhero__frame { background: var(--night); border-radius: clamp(20px, 2.2vw, 34px); color: #fff; display: grid; isolation: isolate; min-height: max(540px, min(84svh, 860px)); overflow: hidden; position: relative; }
.vd-fhero__media { inset: -6% 0 0; position: absolute; z-index: -2; }
.vd-fhero__media img { height: 100%; object-fit: cover; object-position: 60% 45%; width: 100%; }
.vd-fhero__frame::after { background: linear-gradient(90deg, rgb(7 20 38 / 0.86) 0%, rgb(7 20 38 / 0.6) 42%, rgb(7 20 38 / 0.12) 78%), linear-gradient(0deg, rgb(7 20 38 / 0.6) 0%, rgb(7 20 38 / 0) 46%); content: ""; inset: 0; position: absolute; z-index: -1; }
.vd-fhero__content { align-self: end; max-width: 980px; padding-block: clamp(40px, 7vh, 80px) clamp(32px, 5vh, 60px); padding-inline: max(22px, calc(max(var(--gutter), (100cqw - var(--wrap)) / 2) - var(--frame-gap))); }
.vd-fhero h1 { color: #fff; font-size: clamp(38px, min(5vw, 8.6svh), 78px); letter-spacing: -0.046em; line-height: 1.01; margin-bottom: 24px; max-width: 17ch; text-wrap: balance; }
.vd-fhero .vd-lead { color: rgb(255 255 255 / 0.88); margin-bottom: 30px; max-width: 40em; }
.vd-fhero .vd-eyebrow { color: rgb(255 255 255 / 0.8); }
@media (max-width: 920px) {
  .vd-fhero__frame { min-height: 0; }
  .vd-fhero__content { padding-top: 34svh; }
  .vd-fhero__frame::after { background: linear-gradient(0deg, rgb(7 20 38 / 0.94) 0%, rgb(7 20 38 / 0.7) 50%, rgb(7 20 38 / 0.2) 100%); }
}

/* At a glance (service pages) */
.vd-glance { padding: clamp(20px, 2.4vw, 32px) 0 0; }
.vd-glance__row { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vd-glance__cell { border-right: 1px solid var(--line); display: grid; gap: 6px; padding: 22px 24px; transition: background-color 0.25s ease; }
.vd-glance__cell:last-child { border-right: 0; }
.vd-glance__cell:hover { background: var(--mist); }
.vd-glance__cell span { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.vd-glance__cell b { color: var(--ink); font-family: var(--f-display); font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
@media (max-width: 920px) { .vd-glance__row { grid-template-columns: 1fr 1fr; } .vd-glance__cell:nth-child(2) { border-right: 0; } .vd-glance__cell:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } }

/* Survey process inside a service page */
.vd-steps--svc { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; }
.vd-steps--svc .vd-step { padding: 30px 18px 0 0; }
.vd-steps--svc .vd-step > .vd-figure { font-size: 15px; }
.vd-steps--svc .vd-step h3 { font-size: clamp(20px, 1.6vw, 24px); margin: 12px 0 8px; }
.vd-steps--svc .vd-step p { font-size: 16px; }
@media (max-width: 1080px) {
  .vd-steps--svc { gap: 30px; grid-template-columns: 1fr; padding-left: 28px; }
  .vd-steps--svc::before, .vd-steps--svc::after { bottom: 0; height: auto; left: 0; right: auto; top: 0; transform-origin: 50% 0; width: 2px; }
  .vd-steps--svc .vd-step { padding: 0; }
  .vd-steps--svc .vd-step::before { left: -33px; top: 4px; }
}

/* Related services with photographs */
.vd-related { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vd-related .vd-svc-card h3 { font-size: clamp(19px, 1.4vw, 21px); letter-spacing: -0.02em; line-height: 1.25; }
.vd-related .vd-svc-card h3 a::after { content: ""; inset: 0; position: absolute; }
.vd-related .vd-link { margin-top: auto; }
@media (max-width: 1080px) { .vd-related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vd-related { grid-template-columns: 1fr; } }

/* ---------- Text hero for pages without a photograph ---------- */
.vd-pghero { border-bottom: 1px solid var(--line-soft); padding-bottom: clamp(48px, 6vw, 88px); }
.vd-pghero__copy { max-width: 980px; }
.vd-pghero h1 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -0.048em; line-height: 1; margin-bottom: 26px; max-width: 18ch; text-wrap: balance; }
.vd-pghero h1 em, .vd-fhero h1 em { color: var(--green-ink); font-style: normal; }
.vd-fhero h1 em { color: var(--lime); }
.vd-pghero .vd-lead { margin-bottom: 30px; max-width: 46em; }
.vd-pghero .vd-lead + .vd-lead { margin-top: -14px; }
.vd-pghero__meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 15.5px; gap: 8px 22px; margin-top: 6px; }
.vd-pghero__meta span + span::before { color: var(--line); content: "·"; margin-right: 22px; }
.vd-pghero__rest { margin-top: 28px; }
/* Planning-template label (decision 5A) */
.vd-pghero__label { align-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); display: inline-flex; font-size: 15px; gap: 10px; line-height: 1.45; margin-top: 22px; padding: 9px 18px 9px 14px; }
.vd-pghero__label::before { background: var(--green); border-radius: 50%; content: ""; flex: none; height: 8px; width: 8px; }
.vd-fhero .vd-pghero__label { border-color: rgb(255 255 255 / 0.35); color: #fff; }

/* Folded lists (approved edits, "fold") */
.vd-fold { margin-top: 24px; }
.vd-fold .vd-more__title { font-size: 18px; }

/* ---------- Insights hub (decision 12A) ---------- */
.vd-hub__start { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-hub__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease; }
.vd-hub__card:hover { border-color: transparent; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.vd-hub__media { aspect-ratio: 16 / 10; background: var(--mist-2); display: block; overflow: hidden; position: relative; }
.vd-hub__media img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: scale 1.1s var(--ease); width: 100%; }
.vd-hub__card:hover .vd-hub__media img { scale: 1.03; }
.vd-hub__copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.vd-hub__kicker { color: var(--green-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vd-hub__cardtitle { font-family: var(--f-display); font-size: clamp(19px, 1.45vw, 22px); letter-spacing: -0.02em; line-height: 1.25; }
.vd-hub__lead { color: var(--text); font-size: 16px; line-height: 1.55; }
.vd-hub__groups { display: grid; gap: 16px; }
.vd-hub__group { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 28px 48px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); padding: clamp(26px, 3vw, 44px); }
.vd-hub__name h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 12px; }
.vd-hub__name p { color: var(--muted); font-size: 15.5px; }
.vd-hub__lists { display: grid; gap: 28px 40px; grid-template-columns: 1fr 1fr; }
.vd-hub__label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 8px; text-transform: uppercase; }
.vd-hub__list { list-style: none; margin: 0; padding: 0; }
.vd-hub__list li { border-top: 1px solid var(--line-soft); }
.vd-hub__list a { align-items: baseline; color: var(--ink); display: flex; font-size: 16.5px; gap: 12px; justify-content: space-between; line-height: 1.45; padding: 12px 0; transition: color 0.25s ease; }
.vd-hub__list a:hover { color: var(--ocean); }
.vd-hub__title { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 0.25s ease; }
.vd-hub__list a:hover .vd-hub__title { text-decoration-color: currentColor; }
.vd-hub__services { grid-column: 2; }
.vd-hub__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-hub__chips a { background: var(--mist); border-radius: 999px; color: var(--ink); font-size: 15px; padding: 8px 14px; transition: background-color 0.25s ease, color 0.25s ease; }
.vd-hub__chips a:hover { background: var(--ink); color: #fff; }
@media (max-width: 1080px) {
  .vd-hub__start { grid-template-columns: 1fr 1fr; }
  .vd-hub__group { grid-template-columns: 1fr; }
  .vd-hub__services { grid-column: auto; }
}
@media (max-width: 720px) {
  .vd-hub__start, .vd-hub__lists { grid-template-columns: 1fr; }
}

/* ---------- General page sections ---------- */
.vd-pg { padding-block: clamp(64px, 8vw, 120px); }
.vd-pg + .vd-pg:not(.vd-pg--mist):not(.vd-pg--tight) { border-top: 1px solid var(--line-soft); }
.vd-pg--mist { background: var(--mist); }
.vd-pg--tight { padding-block: clamp(32px, 4vw, 56px) 0; }
.vd-pg--tight + .vd-pg { border-top: 0 !important; }
.vd-pg__body { gap: 26px; }
.vd-pg__body > .vd-eyebrow, .vd-pg__body > div > .vd-eyebrow:first-child { margin-bottom: -6px; }
.vd-pg__body h2 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.042em; line-height: 1.06; max-width: 22ch; }
.vd-pg__body > p, .vd-pg__body > div > p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.65; max-width: 62ch; }
.vd-pg__body .vd-x-card h2, .vd-pg__body .vd-x-card h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; max-width: none; }
.vd-pg__body .vd-x-card p { font-size: 16.5px; }
.vd-pg__body img { border-radius: var(--r); height: auto; max-width: 100%; }
.vd-pg__body .vd-x-grid { gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.vd-pg--mist .vd-x-card { background: #fff; }
.vd-pg__body > ul, .vd-pg__body > div > ul, .vd-pg__body > ol { max-width: 72ch; }
.vd-pg__after { margin-top: 48px; }
.vd-answer { background: var(--mist); border-radius: var(--r-lg); display: grid; gap: 12px; padding: clamp(26px, 3.4vw, 44px); }
.vd-answer > strong:first-child, .vd-answer > div > strong:first-child, .vd-answer .vd-eyebrow { color: var(--green-ink); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vd-answer p { color: var(--ink); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; max-width: 64ch; }

/* ---------- Standards ---------- */
.vd-std-alert p:not(.vd-eyebrow) { font-size: clamp(17px, 1.3vw, 19px); }
.vd-std-alert h2 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; }
.vd-std__top { align-items: end; }
.vd-std__search { flex: 0 1 360px; }
.vd-std__search input { -webkit-appearance: none; appearance: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: inherit; font-size: 16.5px; padding: 12px 20px; width: 100%; }
.vd-std__search input:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgb(1 83 152 / 0.14); outline: none; }
.vd-std__count { color: var(--muted); font-size: 16px; margin: 6px 0 28px; }
.vd-std__count b { color: var(--ink); }
.vd-std__groups { display: grid; gap: clamp(36px, 4vw, 56px); }
.vd-std__group[hidden], .vd-std[hidden] { display: none; }
.vd-std__head { align-items: baseline; border-bottom: 1px solid var(--ink); display: flex; gap: 14px; padding-bottom: 14px; }
.vd-std__head h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; }
.vd-std__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.vd-std { align-items: baseline; border-bottom: 1px solid var(--line); color: var(--text); display: flex; font-size: 17px; gap: 16px; justify-content: space-between; line-height: 1.5; padding: 16px 0; }
.vd-std__type { color: var(--muted); flex: none; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.vd-std__name { flex: 1; min-width: 0; }
.vd-std__name b a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 0.25s ease; }
.vd-std__name b a:hover { text-decoration-color: var(--green); }
.vd-std__uses { display: inline-flex; flex: none; gap: 6px; }
.vd-std__uses a { background: var(--mist); border-radius: 999px; color: var(--ocean); font-size: 13px; font-weight: 600; padding: 3px 10px; transition: background-color 0.25s ease, color 0.25s ease; }
.vd-std__uses a:hover { background: var(--ink); color: #fff; }
.vd-std b { color: var(--ink); font-weight: 600; }
.vd-std__dash { color: var(--line); }
@media (max-width: 760px) { .vd-std__list { grid-template-columns: 1fr; } }
.vd-std__empty { color: var(--text); font-size: 18px; padding: 24px 0; }
.vd-std__note { margin-top: clamp(40px, 5vw, 64px); }
.vd-more__h { font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.18; }

/* ---------- Guides and legal: reading layout ---------- */
.vd-article { align-items: start; display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: 230px minmax(0, 1fr); }
.vd-toc { display: grid; gap: 2px; max-height: calc(100svh - var(--header-h) - 72px); overflow: auto; position: sticky; top: calc(var(--header-h) + 36px); }
.vd-toc p { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 12px; text-transform: uppercase; }
.vd-toc a { border-left: 1px solid var(--line); color: var(--muted); font-size: 15.5px; line-height: 1.35; padding: 8px 0 8px 16px; transition: color 0.2s ease, border-color 0.2s ease; }
.vd-toc a:hover, .vd-toc a[aria-current="true"] { border-color: var(--green); color: var(--ink); }
@media (max-width: 920px) { .vd-article { grid-template-columns: 1fr; } .vd-toc { display: none; } }
.vd-prose { gap: 24px; max-width: 780px; min-width: 0; }
.vd-prose--solo { margin: 0 auto; }
.vd-prose p, .vd-prose li { font-size: 18.5px; line-height: 1.75; }
.vd-prose h2 { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -0.035em; line-height: 1.12; margin-top: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.vd-prose > :first-child h2, .vd-prose > h2:first-child { margin-top: 0; }
.vd-prose h3 { font-size: 22px; margin-top: 12px; }
.vd-prose section { display: grid; gap: 22px; scroll-margin-top: calc(var(--header-h) + 24px); }
.vd-prose section + section { border-top: 1px solid var(--line); padding-top: 48px; }
.vd-prose .vd-figure { font-size: 15px; }
.vd-prose .vd-x-note { background: var(--mist); }

/* ---------- Contact ---------- */
.vd-contact { padding-bottom: var(--section); }
.vd-contact__grid { align-items: start; display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.vd-contact__side { position: sticky; top: calc(var(--header-h) + 36px); }
.vd-contact h1 { font-size: clamp(40px, 4.8vw, 72px); letter-spacing: -0.047em; line-height: 1.01; margin-bottom: 24px; }
.vd-contact h1 em { color: var(--green-ink); font-style: normal; }
.vd-contact__side .vd-lead { margin-bottom: 36px; }
.vd-contact__direct { border-top: 1px solid var(--line); padding-top: 26px; }
.vd-contact__direct dl { display: grid; gap: 18px; margin-top: 16px; }
.vd-contact__direct dt { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.vd-contact__direct dd { color: var(--ink); font-size: 18px; margin: 4px 0 0; }
.vd-contact__direct dd a { color: var(--ocean); font-weight: 600; }
.vd-contact__note { color: var(--muted); font-size: 15.5px; margin-top: 22px; }
@media (max-width: 920px) { .vd-contact__grid { grid-template-columns: 1fr; } .vd-contact__side { position: static; } }

/* The enquiry forms keep their original markup; these rules style it. */
.vd-form-card, .vd-pg--form form.enquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: clamp(24px, 3.4vw, 48px); }
form.enquiry-form { display: grid; gap: 40px; }
.vd-form-card form.enquiry-form { background: none; border: 0; box-shadow: none; padding: 0; }
form.enquiry-form .honeypot { height: 1px !important; left: -10000px !important; opacity: 0 !important; overflow: hidden !important; position: absolute !important; width: 1px !important; }
form.enquiry-form .form-section { display: grid; gap: 22px; }
form.enquiry-form .form-section-title { align-items: start; display: flex; gap: 16px; }
form.enquiry-form .form-section-title > span { border: 1px solid var(--line); border-radius: 999px; color: var(--green-ink); font-family: var(--f-display); font-size: 14.5px; padding: 3px 10px; }
form.enquiry-form .form-section-title .eyebrow { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 6px; text-transform: uppercase; }
form.enquiry-form h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.15; }
form.enquiry-form .form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr 1fr; }
form.enquiry-form label { color: var(--ink); display: grid; font-size: 15.5px; font-weight: 500; gap: 8px; }
form.enquiry-form input:not([type="checkbox"]):not([type="file"]), form.enquiry-form select, form.enquiry-form textarea { -webkit-appearance: none; appearance: none; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font: inherit; font-size: 17px; font-weight: 400; min-height: 52px; padding: 13px 16px; transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; width: 100%; }
form.enquiry-form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-repeat: no-repeat; background-size: 6px 6px; padding-right: 44px; }
form.enquiry-form textarea { line-height: 1.6; min-height: 180px; resize: vertical; }
form.enquiry-form input:hover, form.enquiry-form select:hover, form.enquiry-form textarea:hover { border-color: var(--soft); }
form.enquiry-form input:focus, form.enquiry-form select:focus, form.enquiry-form textarea:focus { background: #fff; border-color: var(--ocean); box-shadow: 0 0 0 4px rgb(1 83 152 / 0.12); outline: none; }
form.enquiry-form ::placeholder { color: #8a95a3; }
form.enquiry-form .consent { align-items: start; display: grid; font-weight: 400; gap: 14px; grid-template-columns: 22px 1fr; }
form.enquiry-form .consent input { accent-color: var(--green); height: 20px; margin-top: 3px; width: 20px; }
form.enquiry-form .consent span { color: var(--text); font-size: 15.5px; line-height: 1.55; }
form.enquiry-form .form-submit { background: var(--ink); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font-family: "VD Quiet Marks", var(--f-text); font-size: 17px; font-weight: 600; justify-self: start; min-height: 56px; padding: 0 32px; transition: background-color 0.25s ease, transform 0.25s var(--ease); }
form.enquiry-form .form-submit:hover { background: var(--ocean); transform: translateY(-1px); }
form.enquiry-form .form-submit:active { transform: scale(0.98); }
form.enquiry-form .form-submit:disabled { cursor: progress; opacity: 0.7; }
@media (max-width: 640px) { form.enquiry-form .form-grid { grid-template-columns: 1fr; } form.enquiry-form .form-submit { justify-self: stretch; } }
.vd-pg--form .vd-pg__body { gap: 32px; }

/* Converted content flows as text (inline links stay inside their sentence); only real
   runs of cards and the explicit grids lay out in columns. */
.vd-rich, .vd-x-sec, .vd-x-group, .vd-x-card, .vd-x-note, .vd-answer, .vd-more__body { display: block; }
.vd-rich > * + * { margin-top: 22px; }
.vd-x-sec > * + *, .vd-x-group > * + * { margin-top: 16px; }
.vd-x-card > * + *, .vd-x-note > * + *, .vd-answer > * + * { margin-top: 10px; }
.vd-more__body > * + * { margin-top: 26px; }
.vd-x-grid, .vd-pg__body:has(> .vd-x-card + .vd-x-card), .vd-x-group:has(> .vd-x-card + .vd-x-card), .vd-x-sec:has(> .vd-x-card + .vd-x-card) { display: grid; gap: 14px; }
.vd-x-grid > *, .vd-pg__body:has(> .vd-x-card + .vd-x-card) > *, .vd-x-group:has(> .vd-x-card + .vd-x-card) > *, .vd-x-sec:has(> .vd-x-card + .vd-x-card) > * { margin-top: 0; }
.vd-pg__body:has(> .vd-x-card + .vd-x-card) > :not(.vd-x-card):not(:first-child) { margin-top: 12px; }
/* Cards with a small detail line and a closing link (coverage country cards) */
.vd-x-card > small { color: var(--muted); display: block; font-size: 15px; line-height: 1.6; }
.vd-x-card > .vd-link, .vd-x-card > a:last-child { display: inline-flex; margin-top: 16px; }
/* A group made only of links (e.g. the 21 services on Coverage): a tidy two- or three-column list */
.vd-x-group:has(> a + a + a + a):not(:has(> :not(a))) { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.vd-x-group:has(> a + a + a + a):not(:has(> :not(a))) > a { align-items: baseline; border-top: 1px solid var(--line); color: var(--ink); display: flex; font-size: 16.5px; gap: 14px; line-height: 1.45; margin-top: 0; padding: 14px 0; text-decoration: none; transition: color 0.25s ease; }
.vd-x-group:has(> a + a + a + a):not(:has(> :not(a))) > a:hover { color: var(--ocean); }
.vd-rich .vd-x-group:has(> a + a + a + a):not(:has(> :not(a))) > a:not(.vd-btn):not(.vd-link) { color: var(--ink); text-decoration-color: transparent; }
.vd-rich .vd-x-group:has(> a + a + a + a):not(:has(> :not(a))) > a:not(.vd-btn):not(.vd-link):hover { color: var(--ocean); text-decoration-color: currentColor; }
.vd-x-group:has(> a + a + a + a):not(:has(> :not(a))) > a .vd-figure { flex: none; font-size: 13px; min-width: 2.2ch; }

/* ---------- Homepage: hero scroll cue ---------- */
.vd-hero__cue { align-items: center; color: rgb(255 255 255 / 0.72); display: flex; flex-direction: column; font-size: 12px; font-weight: 600; gap: 12px; letter-spacing: 0.22em; position: absolute; right: clamp(20px, 2.6vw, 40px); text-transform: uppercase; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; }
.vd-hero__cue i { background: rgb(255 255 255 / 0.26); height: 64px; overflow: hidden; position: relative; width: 1px; }
.vd-hero__cue i::after { animation: vd-cue 2.4s var(--ease) infinite; background: #fff; content: ""; height: 40%; left: 0; position: absolute; top: 0; width: 1px; }
@keyframes vd-cue { from { translate: 0 -110%; } to { translate: 0 260%; } }
@media (max-width: 920px) { .vd-hero__cue { display: none; } }

/* ---------- Homepage: disciplines as stacking cards ---------- */
.vd-stack { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.vd-stack > .vd-tile { grid-column: auto; justify-content: flex-end; min-height: min(76svh, 700px); padding: clamp(28px, 4vw, 60px); position: sticky; top: calc(var(--header-h) + 20px + var(--k, 0) * 14px); transform-origin: 50% 0; }
.vd-stack > .vd-tile::before { background: var(--night); content: ""; inset: 0; opacity: calc(var(--q, 0) * 0.55); pointer-events: none; position: absolute; z-index: 2; }
.vd-stack__copy { max-width: 680px; }
.vd-stack > .vd-tile h3 { font-size: clamp(34px, 4.4vw, 66px); letter-spacing: -0.042em; line-height: 1.02; margin-bottom: 18px; }
.vd-stack > .vd-tile p { font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 22px; max-width: 46ch; }
.vd-stack > .vd-tile::after { background: linear-gradient(90deg, rgb(7 20 38 / 0.82) 0%, rgb(7 20 38 / 0.45) 46%, rgb(7 20 38 / 0) 78%), linear-gradient(0deg, rgb(7 20 38 / 0.6) 0%, rgb(7 20 38 / 0) 50%); }
@media (max-width: 920px) {
  .vd-stack > .vd-tile { min-height: 72svh; top: calc(var(--header-h) + 10px + var(--k, 0) * 8px); }
  .vd-stack > .vd-tile::after { background: linear-gradient(0deg, rgb(7 20 38 / 0.9) 0%, rgb(7 20 38 / 0.5) 55%, rgb(7 20 38 / 0.1) 100%); }
}

/* ---------- Homepage: how a survey runs ---------- */
.vd-journey__grid { align-items: start; display: grid; gap: clamp(40px, 6vw, 104px); grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.vd-journey__media { height: calc(100svh - var(--header-h) - 10svh); min-height: 440px; position: sticky; top: calc(var(--header-h) + 5svh); }
.vd-journey__frame { background: var(--night); border-radius: var(--r-lg); height: 100%; isolation: isolate; overflow: hidden; position: relative; }
.vd-journey__frame img { height: 100%; inset: 0; object-fit: cover; opacity: 0; position: absolute; scale: 1.1; transition: opacity 0.9s var(--ease), scale 1.8s var(--ease-out); width: 100%; }
.vd-journey__frame img.is-active { opacity: 1; scale: 1; }
.vd-journey__frame::after { background: linear-gradient(0deg, rgb(7 20 38 / 0.7) 0%, rgb(7 20 38 / 0) 38%); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 1; }
.vd-journey__meter { align-items: center; bottom: clamp(20px, 2.4vw, 32px); color: #fff; display: flex; font-family: var(--f-display); gap: 20px; left: clamp(22px, 2.6vw, 36px); position: absolute; right: clamp(22px, 2.6vw, 36px); z-index: 2; }
.vd-journey__count { font-size: 16px; letter-spacing: 0.04em; white-space: nowrap; }
.vd-journey__count b { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.vd-journey__bar { background: rgb(255 255 255 / 0.26); flex: 1; height: 2px; overflow: hidden; position: relative; }
.vd-journey__bar i { background: var(--lime); inset: 0; position: absolute; transform: scaleX(var(--jp, 0.2)); transform-origin: 0 50%; transition: transform 0.2s linear; }
.vd-journey__steps { display: grid; }
.vd-journey__step { display: flex; flex-direction: column; justify-content: center; min-height: 64svh; padding-block: 48px; }
.vd-journey__step .vd-figure { font-size: 17px; }
.vd-journey__step .vd-step__label { margin: 14px 0 10px; }
.vd-journey__step h3 { font-size: clamp(42px, 5vw, 76px); letter-spacing: -0.046em; line-height: 1; margin-bottom: 20px; }
.vd-journey__step p { color: var(--text); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; max-width: 32ch; }
.vd-js .vd-journey__step { opacity: 0.2; transition: opacity 0.6s ease; }
.vd-js .vd-journey__step.is-active { opacity: 1; }
@media (max-width: 920px) {
  .vd-journey__grid { gap: 0; grid-template-columns: 1fr; }
  .vd-journey__media { background: #fff; height: 38svh; min-height: 230px; padding-bottom: 12px; top: calc(var(--header-h) + 8px); z-index: 3; }
  .vd-journey__step { justify-content: flex-start; min-height: 52svh; padding-block: 36px 24px; }
}

/* ---------- Motion ---------- */
/* Scroll effects only read the scroll position (site.js sets --p, 0 to 1); they never take
   over scrolling. Without JavaScript everything shows in place; with reduced motion
   nothing moves. Only transform, opacity and clip-path animate. */
@keyframes vd-rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes vd-frame-in { from { clip-path: inset(7% 5% 7% 5% round 48px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes vd-settle { from { scale: 1.18; } to { scale: 1.08; } }

.vd-progress { background: var(--green); height: 2px; left: 0; position: fixed; right: 0; top: var(--header-h); transform: scaleX(var(--doc-p, 0)); transform-origin: 0 50%; z-index: 49; }

@media (prefers-reduced-motion: no-preference) {
  /* Blocks rise into place */
  .vd-js [data-reveal] { opacity: 0; translate: 0 56px; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .vd-js [data-reveal].is-in { opacity: 1; translate: 0 0; }

  /* Headline words rise out of a mask, one after another */
  .vd-w { display: inline-block; margin-bottom: -0.14em; overflow: hidden; padding-bottom: 0.14em; vertical-align: top; }
  .vd-w > span { display: inline-block; transform: translateY(112%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--wi, 0) * 42ms + 60ms); }
  .is-words .vd-w > span { transform: none; }

  /* Big statements fill from grey to ink as they scroll through the screen */
  .vd-fw { opacity: 0.16; transition: opacity 0.25s linear; }

  /* Photos open like a curtain, then settle */
  .vd-js .vd-curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-out); }
  .vd-js .vd-curtain.is-shown { clip-path: inset(0 0 0 0); }
  .vd-js .vd-curtain img { transition: scale 1.9s var(--ease-out); }
  .vd-js .vd-curtain:not(.is-shown) img { scale: 1.3; }

  /* Parallax inside photo frames */
  .vd-parallax img { scale: 1.14; translate: 0 calc((var(--p, 0.5) - 0.5) * -12%); }

  /* Homepage hero: the frame opens on load, then recedes into the page as you scroll on */
  .vd-hero__frame { animation: vd-frame-in 1.6s var(--ease-out) both; transform: scale(calc(1 - var(--p, 0) * 0.07)); transform-origin: 50% 0; }
  .vd-hero__media img { animation: vd-settle 2.6s var(--ease-out) both; }
  .vd-hero[data-scroll] .vd-hero__media { translate: 0 calc(var(--p, 0) * 8%); }
  .vd-hero__content { opacity: calc(1 - var(--p, 0) * 1.7); translate: 0 calc(var(--p, 0) * -90px); }
  .vd-hero__content > * { animation: vd-rise 1.1s var(--ease-out) both; animation-delay: 0.35s; }
  .vd-hero__content > :nth-child(3) { animation-delay: 0.6s; }
  .vd-hero__content > :nth-child(4) { animation-delay: 0.72s; }
  .vd-hero__content > :nth-child(5) { animation-delay: 0.84s; }
  .vd-hero h1 { animation: none !important; }
  .vd-crumbs, .vd-svc-hero__copy > :not(h1), .vd-dir-hero__grid > div > :not(h1) { animation: vd-rise 1.05s var(--ease-out) both; animation-delay: 0.15s; }
  .vd-svc-hero__copy > .vd-lead, .vd-dir-hero__grid .vd-lead { animation-delay: 0.45s; }
  .vd-svc-hero__copy > .vd-actions, .vd-dir-hero__grid .vd-actions { animation-delay: 0.6s; }

  /* Survey steps: the line draws with the scroll and each step lights up as it is reached */
  .vd-steps[data-scroll]::after { transform: scaleX(clamp(0, calc((var(--p, 1) - 0.22) * 2.6), 1)); }
  .vd-step::before { transition: background-color 0.4s ease, box-shadow 0.4s ease; }
  .vd-steps[data-scroll] .vd-step.is-reached::before { background: var(--green); box-shadow: 0 0 0 6px rgb(48 144 18 / 0.14); }
  @media (max-width: 920px) { .vd-steps[data-scroll]::after { transform: scaleY(clamp(0, calc((var(--p, 1) - 0.22) * 2.2), 1)); } }

  /* Stacking cards shrink back as the next one slides over */
  .vd-stack > .vd-tile { transform: scale(calc(1 - var(--q, 0) * 0.07)); }

  /* Dark panels widen from a rounded card to full width as they arrive */
  .vd-panel[data-scroll], .vd-cta[data-scroll] { clip-path: inset(0 calc((1 - var(--e, 1)) * 5vw) round calc((1 - var(--e, 1)) * 44px)); }

  /* Reporting: the record card floats at its own pace over the photograph */
  .vd-evidence__stage[data-scroll] .vd-evidence__sheet { translate: 0 calc((var(--p, 0.5) - 0.5) * -90px); }
  @media (max-width: 920px) { .vd-evidence__stage[data-scroll] .vd-evidence__sheet { translate: none; } }

  /* Inner-page heroes open on load and recede as you scroll on */
  .vd-fhero__frame { animation: vd-frame-in 1.5s var(--ease-out) both; transform: scale(calc(1 - var(--p, 0) * 0.06)); transform-origin: 50% 0; }
  .vd-fhero__media img { animation: vd-settle 2.4s var(--ease-out) both; }
  .vd-fhero[data-scroll] .vd-fhero__media { translate: 0 calc(var(--p, 0) * 7%); }
  .vd-fhero__content { opacity: calc(1 - var(--p, 0) * 1.6); translate: 0 calc(var(--p, 0) * -70px); }
  .vd-fhero__content > :not(h1), .vd-pghero__copy > :not(h1), .vd-contact__side > :not(h1), .vd-crumbs { animation: vd-rise 1.05s var(--ease-out) both; animation-delay: 0.3s; }
  .vd-fhero__content > .vd-lead, .vd-pghero__copy > .vd-lead, .vd-contact__side > .vd-lead { animation-delay: 0.5s; }
  .vd-fhero__content > .vd-actions, .vd-pghero__copy > .vd-actions, .vd-contact__direct { animation-delay: 0.65s; }
  .vd-form-card { animation: vd-rise 1.1s var(--ease-out) both; animation-delay: 0.45s; }

  /* Footer wordmark rises as the page ends */
  .vd-footer__mark[data-scroll] span { translate: 0 calc(18% + (1 - var(--e, 1)) * 60%); }
}
