/* ==========================================================================
   Vandeplus Ltd — Site styles
   Mobile-first, no dependencies.
   ========================================================================== */

:root {
  --navy: #002E8A;
  --navy-dark: #00226A;
  --navy-deep: #001A52;
  --blue: #1D72FF;
  --teal: #25C7C7;
  --teal-ink: #0A6C73;
  --bg: #F7F9FC;
  --text: #17202A;
  --text-muted: #4A5563;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #C9D3E1;
  --error: #B42318;
  --success: #0E7A4F;

  --font: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 42, 0.06);
  --shadow: 0 1px 2px rgba(23, 32, 42, 0.04), 0 8px 24px rgba(0, 46, 138, 0.07);
  --shadow-lg: 0 2px 4px rgba(23, 32, 42, 0.05), 0 20px 48px rgba(0, 46, 138, 0.14);

  --header-h: 72px;
  --container: 1200px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--blue); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

strong { font-weight: 650; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.visually-hidden {
  position: absolute !important;
  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;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
}
.section-head.center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.grid { display: grid; gap: 1.5rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-5-7 { grid-template-columns: 5fr 7fr; }
  .split-7-5 { grid-template-columns: 7fr 5fr; }
  .split-top { align-items: start; }
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(180%) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 46, 138, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--navy);
}
.brand img { height: 78px; width: auto; }
.brand-text {
  display: none;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.brand-text span { color: var(--blue); }
.brand.img-missing img { display: none; }
.brand.img-missing .brand-text { display: inline; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle-icon { position: relative; width: 18px; height: 12px; }
.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 5px; }
.nav-toggle-icon span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(0, 46, 138, 0.1);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.primary-nav.is-open { display: block; }
.no-js .primary-nav { position: static; display: block; box-shadow: none; border: 0; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem 1.25rem;
}
.nav-list a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-weight: 550;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-list li:last-child a { border-bottom: 0; }
.nav-list a:hover { color: var(--navy); }
.nav-list a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.nav-list a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.6rem;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--teal);
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
  }
  .nav-list a {
    position: relative;
    padding: 0.5rem 0.7rem;
    font-size: 0.9375rem;
    border: 0;
    border-radius: var(--radius-sm);
  }
  .nav-list a:hover { background: var(--bg); }
  .nav-list a[aria-current="page"]::before { display: none; }
  .nav-list a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.7rem; right: 0.7rem; bottom: -0.95rem;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--navy);
  }
  .nav-list .nav-cta a {
    margin-left: 0.5rem;
    padding: 0.55rem 1.1rem;
    color: var(--white);
    background: var(--navy);
  }
  .nav-list .nav-cta a:hover { background: var(--navy-dark); color: var(--white); }
  .nav-list .nav-cta a[aria-current="page"]::after { display: none; }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }

.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--bg); color: var(--navy-dark); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #E8EFFC; color: var(--navy-dark); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }

.on-dark :focus-visible { outline-color: var(--teal); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.text-link:hover { color: var(--blue); }
.text-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 46, 138, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 46, 138, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 7fr 5fr; }
}
.hero h1 { color: var(--navy); max-width: 14ch; }
.hero .lead { max-width: 58ch; }

.hero-visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-visual svg { width: 100%; height: auto; }
.hero-visual figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.page-header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 56px solid rgba(37, 199, 199, 0.08);
  box-shadow: 0 0 0 56px rgba(29, 114, 255, 0.04);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--navy); max-width: 22ch; }
.page-header .lead { max-width: 64ch; margin-bottom: 0; }

.breadcrumb { margin-bottom: 1.25rem; font-size: 0.875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); }
.card .text-link { margin-top: auto; padding-top: 1.25rem; }
.card-hover:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card-hover:hover { transform: none; } }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(29, 114, 255, 0.1), rgba(37, 199, 199, 0.12));
  border-radius: var(--radius);
}
.card-icon svg { width: 26px; height: 26px; }

.card-step {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-ink);
}
.card-accent { border-top: 4px solid var(--navy); }
.card-accent:nth-child(2) { border-top-color: var(--blue); }
.card-accent:nth-child(3) { border-top-color: var(--teal); }

.card-compact { padding: 1.5rem; }
.card-compact .card-icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.card-compact .card-icon svg { width: 22px; height: 22px; }
.card-compact h3 { font-size: 1.125rem; }
.card-compact p { font-size: 1rem; }

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.1rem;
  border-bottom: 1px solid var(--border);
}
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 199, 199, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6C73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tick-list.two-col { display: grid; gap: 0 2rem; }
@media (min-width: 640px) { .tick-list.two-col { grid-template-columns: 1fr 1fr; } }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tag-list li {
  padding: 0.35rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--navy);
  background: #EEF3FD;
  border-radius: 999px;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-ink);
  background: rgba(37, 199, 199, 0.14);
  border-radius: 999px;
}
.badge-navy { color: var(--navy); background: #E8EFFC; }

/* --------------------------------------------------------------------------
   Service blocks (What we do)
   -------------------------------------------------------------------------- */
.service-block {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 900px) {
  .service-block { grid-template-columns: 5fr 6fr; gap: 4rem; }
}
.service-block .card-icon { margin-bottom: 1rem; }
.service-block h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.service-block p { color: var(--text-muted); }
.service-number { font-size: 0.875rem; font-weight: 700; color: var(--teal-ink); letter-spacing: 0.06em; }

.panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.panel h3 { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }

.notice {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
}
.notice svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--navy); margin-top: 0.15rem; }
.notice h2, .notice h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.notice p { font-size: 1rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Publications
   -------------------------------------------------------------------------- */
.feature-pub {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .feature-pub { grid-template-columns: minmax(220px, 4fr) 7fr; }
}

.cover {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  border-radius: 4px 10px 10px 4px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: -6px 0 0 -2px rgba(0, 0, 0, 0.06) inset, var(--shadow-lg);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.08) 60%, transparent);
  pointer-events: none;
}
.cover-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem 1.5rem 1.75rem;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 199, 199, 0.45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(29, 114, 255, 0.55), transparent 50%),
    var(--navy);
}
.cover-fallback .cf-title { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.cover-fallback .cf-sub { margin-top: 0.75rem; font-size: 0.85rem; line-height: 1.4; opacity: 0.88; }
.cover-fallback .cf-authors { font-size: 0.8rem; font-weight: 600; line-height: 1.5; }
.cover-fallback .cf-imprint { margin-top: 0.75rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.cover.img-missing img { display: none; }
.cover.img-missing .cover-fallback,
.cover-placeholder .cover-fallback { display: flex; }
.cover-placeholder .cover-fallback {
  background:
    radial-gradient(circle at 80% 20%, rgba(29, 114, 255, 0.5), transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(37, 199, 199, 0.55), transparent 50%),
    #0B3A8F;
}

.pub-meta {
  display: grid;
  gap: 0.75rem 2rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 560px) { .pub-meta { grid-template-columns: auto 1fr; } }
.pub-meta dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding-top: 0.15rem; }
.pub-meta dd { margin: 0; font-weight: 550; }
.pub-meta dd span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.9375rem; }

.pub-title { color: var(--navy); }
.pub-subtitle { display: block; margin-top: 0.5rem; font-size: 0.6em; font-weight: 600; letter-spacing: -0.01em; color: var(--text); line-height: 1.35; }

/* --------------------------------------------------------------------------
   Value / why grid
   -------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-item { padding: 2rem; background: var(--white); }
.value-item h3 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.125rem; }
.value-item h3 svg { width: 22px; height: 22px; color: var(--teal-ink); flex-shrink: 0; }
.value-item p { color: var(--text-muted); font-size: 1rem; }
.value-item.value-intro { background: var(--navy); color: var(--white); }
.value-item.value-intro h3, .value-item.value-intro p { color: var(--white); }
.value-item.value-intro p { opacity: 0.88; }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding-top: 3.25rem; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 20px; left: 52px; right: 0;
  height: 1px;
  background: var(--border-strong);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; margin-bottom: 0.4rem; }
.steps p { color: var(--text-muted); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */
.case-study {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  grid-template-columns: 1fr;
}
.case-study + .case-study { margin-top: 2rem; }
@media (min-width: 860px) {
  .case-study { grid-template-columns: minmax(220px, 4fr) 8fr; align-items: start; }
}
.case-study .cover { max-width: 300px; }
.case-label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.case-label .case-num { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; }
.case-study h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.case-study h3 { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 1.75rem 0 0.5rem; }
.case-study p { color: var(--text-muted); }
.case-facts { display: grid; gap: 1rem; margin: 1.75rem 0 0; grid-template-columns: 1fr; }
@media (min-width: 560px) { .case-facts { grid-template-columns: repeat(3, 1fr); } }
.case-facts div { padding: 1rem 1.25rem; background: var(--bg); border-radius: var(--radius-sm); }
.case-facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.case-facts dd { margin: 0.25rem 0 0; font-weight: 600; font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   Profiles
   -------------------------------------------------------------------------- */
.profile { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 560px) { .profile { flex-direction: row; align-items: flex-start; } }
.avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
}
.profile:nth-child(2) .avatar, .grid-2 > .card:nth-child(2) .avatar { background: linear-gradient(135deg, var(--teal-ink), var(--teal)); }
.profile h3 { margin-bottom: 0.25rem; font-size: 1.35rem; }
.profile-role { margin-bottom: 1rem; font-weight: 600; color: var(--navy) !important; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--white);
  background: var(--navy);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 64px solid rgba(37, 199, 199, 0.16);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 220px;
  top: -140px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(29, 114, 255, 0.35);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 24ch; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 56ch; font-size: 1.125rem; }
.cta-band a:not(.btn) { color: var(--white); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 7fr 4fr; align-items: start; } }

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.5rem; }
.form-intro { color: var(--text-muted); margin-bottom: 1.75rem; }

.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field label, .field legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.field .optional { font-weight: 400; color: var(--text-muted); }
.field .req { color: var(--error); }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317202A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA8BD; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29, 114, 255, 0.35);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.25); }

.field-hint { margin-top: 0.35rem; font-size: 0.875rem; color: var(--text-muted); }
.field-error { margin-top: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.checkbox input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0.1rem 0 0;
  accent-color: var(--navy);
}
.checkbox label { margin: 0; font-weight: 400; font-size: 0.9375rem; line-height: 1.55; }
.checkbox input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form-actions p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

.form-status { margin-top: 1.25rem; }
.form-status:empty { display: none; }
.form-status .alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 550;
}
.alert-success { color: var(--success); background: #E7F6EF; border: 1px solid #A7DFC6; }
.alert-error { color: var(--error); background: #FDECEA; border: 1px solid #F5BDB7; }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-method {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-method .card-icon { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.contact-method .card-icon svg { width: 22px; height: 22px; }
.contact-method h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-method p { margin: 0 0 0.35rem; font-size: 0.9375rem; color: var(--text-muted); }
.contact-method a { font-weight: 600; word-break: break-word; }

/* --------------------------------------------------------------------------
   Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.75rem; padding-top: 0.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.prose p, .prose li { color: #2B3542; }
.prose li { margin-bottom: 0.45rem; }
.prose .updated { font-size: 0.9375rem; color: var(--text-muted); }

.legal-layout { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px 1fr; } }
.toc {
  align-self: start;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.toc h2 { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: 0.9375rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--navy); text-decoration: underline; }

.details-box {
  margin: 1rem 0 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.details-box p { margin-bottom: 0.25rem; }

.data-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9375rem; }
.data-table caption { text-align: left; font-weight: 600; margin-bottom: 0.5rem; }
.data-table th, .data-table td { padding: 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--bg); font-weight: 650; }
.table-wrap { overflow-x: auto; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); background: var(--bg); }
.error-code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.error-code span { color: var(--teal); }
.error-page .lead { max-width: 52ch; margin-inline: auto; }
.error-page .btn-row { justify-content: center; }
.error-links { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 4fr 2fr 2fr 3fr; } }

.footer-brand .brand img { height: 78px; }
.footer-brand p { margin-top: 1rem; max-width: 36ch; color: var(--text-muted); }
.footer-tagline { font-weight: 600; color: var(--navy) !important; }

.footer-col h2 {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--navy); text-decoration: underline; }

.social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social a:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
.footer-legal-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-legal-links a { color: var(--text-muted); }
.footer-legal-links a:hover { color: var(--navy); }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--text-muted); }
.text-navy { color: var(--navy); }
.center { text-align: center; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer .social, .nav-toggle, .cta-band, .skip-link, .btn-row { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; }
  .page-header, .hero, .section-alt { background: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Venn diagram caption and Vandeplus signature */
.venn-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.75rem;
  text-align: center;
}

.venn-caption-text {
  display: block;
  color: var(--muted, #5a6475);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.venn-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.venn-brand {
  display: block;
  width: min(300px, 76%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.venn-brand-tagline {
  display: block;
  color: var(--navy, #002e8a);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.005em;
  margin: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .venn-caption {
    gap: 1.15rem;
    margin-top: 0.5rem;
  }

  .venn-caption-text {
    max-width: 26ch;
    font-size: 0.95rem;
  }

  .venn-brand {
    width: min(260px, 82%);
  }

  .venn-brand-tagline {
    font-size: 0.82rem;
  }
}