@charset "UTF-8";

/* ============================================================
   Velocity Partners — refreshed front end
   Composed on Bulma 0.9.4 with overridden variables.
   Custom layer prefix: vp4-  (derived from the design seed)
   Radii, shadows, density and motion all follow seed 566520877.
   ============================================================ */

/* ---------- self hosted Open Sans (the family the site always used) ---------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/opensans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/opensans-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans Accented";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/opensans-accented.woff2") format("woff2");
  unicode-range: U+00A1, U+00BF, U+00C0-00D6, U+00D8-00F6, U+00F8-00FF,
    U+0152-0153, U+0104-0107, U+0118-0119, U+0141-0144, U+0179-017C, U+2018-201E;
}

/* ---------- token layer ---------- */
:root {
  /* brand reds: the Velocity mark, slightly deepened for body sized text */
  --vp4-red: #e31b23;
  --vp4-red-deep: #b8121a;
  --vp4-red-ink: #8f0e15;
  --vp4-amber: #f5b02c;
  --vp4-teal: #2a7f9c;
  --vp4-teal-deep: #1f6479;
  --vp4-ink: #23262a;
  --vp4-ink-soft: #4a5158;
  --vp4-slate: #6d757d;
  --vp4-line: #dcdfe3;
  --vp4-line-strong: #c3c8ce;
  --vp4-paper: #ffffff;
  --vp4-mist: #f2f3f5;
  --vp4-mist-deep: #e7e9ec;
  /* repeated four equal steps (seed 566520877 mod 9 = 1) */
  --vp4-r-sm: 4px;
  --vp4-r-md: 8px;
  --vp4-r-lg: 12px;
  /* one soft elevation, used sparingly (seed mod 5 = 1) */
  --vp4-shadow: 0 2px 10px rgba(35, 38, 42, 0.07);
  /* roomy spacing scale (seed mod 4 = 0) */
  --vp4-space-1: 6px;
  --vp4-space-2: 12px;
  --vp4-space-3: 20px;
  --vp4-space-4: 32px;
  --vp4-space-5: 52px;
  --vp4-space-6: 84px;
  --vp4-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --vp4-max: 1200px;
  --vp4-gutter: 40px;
  --vp4-flag-top: #23262a;
}

/* the accents sit at the top edge of every card: square tops, seeded rounding */
.vp4-frame {
  border: 1px solid var(--vp4-line);
  border-radius: 0 0 var(--vp4-r-md) var(--vp4-r-md);
  background: var(--vp4-paper);
  box-shadow: var(--vp4-shadow);
}
.vp4-frame--flat { box-shadow: none; }

/* ---------- Bulma variable overrides ---------- */
:root {
  --bulma-family-primary: "Open Sans", "Open Sans Accented", "Rubik", "Segoe UI", Arial, sans-serif;
  --bulma-link: #b8121a;
  --bulma-primary: #e31b23;
}

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

body.vp4-shell {
  font-family: "Open Sans", "Open Sans Accented", "Rubik", "Segoe UI", Arial, sans-serif;
  color: var(--vp4-ink-soft);
  background: var(--vp4-paper);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vp4-shell h1, .vp4-shell h2, .vp4-shell h3, .vp4-shell h4, .vp4-shell h5,
.vp4-shell .title, .vp4-shell .subtitle {
  font-family: inherit;
  color: var(--vp4-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
/* Bulma ships minireset, which zeroes every heading margin. Rebuild the
   heading rhythm here: a heading always needs air beneath it, and a heading
   that follows running text needs air above it. Without this the copy below
   a heading sits flush against its baseline. */
.vp4-shell h1, .vp4-shell h2, .vp4-shell h3, .vp4-shell h4, .vp4-shell h5 {
  margin-top: 0;
  margin-bottom: 0.55em;
}
.vp4-shell p + h1, .vp4-shell p + h2, .vp4-shell p + h3, .vp4-shell p + h4,
.vp4-shell ul + h2, .vp4-shell ol + h2, .vp4-shell ul + h3, .vp4-shell ol + h3 {
  margin-top: 1.5em;
}
.vp4-shell h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.05rem); font-weight: 800; }
.vp4-shell h2 { font-size: clamp(1.5rem, 1.18rem + 1.25vw, 2.1rem); }
.vp4-shell h3 { font-size: clamp(1.16rem, 1.04rem + 0.5vw, 1.4rem); }
.vp4-shell h4 { font-size: 1.06rem; }
.vp4-shell p { margin: 0 0 var(--vp4-space-3); }
.vp4-shell p:last-child { margin-bottom: 0; }
.vp4-shell a { color: var(--vp4-red-deep); }
.vp4-shell a:hover { color: var(--vp4-red-ink); }
.vp4-shell strong, .vp4-shell b { color: var(--vp4-ink); font-weight: 700; }
.vp4-shell em, .vp4-shell i { font-style: italic; }
.vp4-shell hr { height: 1px; background: var(--vp4-line); margin: var(--vp4-space-4) 0; }
.vp4-shell ul, .vp4-shell ol { margin: 0 0 var(--vp4-space-3); }
.vp4-shell li { margin: 0.3em 0; }
.vp4-shell blockquote {
  margin: var(--vp4-space-4) 0;
  padding: var(--vp4-space-3) var(--vp4-space-4);
  border-left: 4px solid var(--vp4-red);
  background: var(--vp4-mist);
  color: var(--vp4-ink);
  font-size: 1.06rem;
  font-style: italic;
}
.vp4-shell figure { margin: 0; }
.vp4-shell img { max-width: 100%; height: auto; }

/* ---------- screen reader helper ---------- */
.vp4-sr {
  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 + focus ---------- */
.vp4-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--vp4-ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--vp4-r-md) 0;
}
.vp4-skip:focus { left: 0; }
.vp4-shell :focus-visible {
  outline: 3px solid var(--vp4-teal);
  outline-offset: 2px;
  border-radius: var(--vp4-r-sm);
}

/* ---------- utility rows ---------- */
/* The row owns the page gutter. Inner padding is generous enough that copy
   never crowds the edge, and the section rules (cards, panels, photos) align
   to the row's inner edge rather than to the raw container edge. */
.vp4-row { width: 100%; max-width: var(--vp4-max); margin: 0 auto; padding: 0 var(--vp4-gutter); }
.vp4-row--narrow { max-width: 880px; }
.vp4-band { padding: var(--vp4-space-6) 0; }
.vp4-band--mist { background: var(--vp4-mist); }
.vp4-band--ink { background: var(--vp4-ink); color: #d9dde1; }
.vp4-bare { margin: 0 !important; }

/* ---------- masthead ---------- */
.vp4-masthead {
  position: sticky; top: 0; z-index: 40;
  background: var(--vp4-paper);
  border-bottom: 1px solid var(--vp4-line);
}
.vp4-identity {
  display: flex; align-items: center; gap: 18px;
  min-height: 84px; padding-top: 10px; padding-bottom: 10px;
}
.vp4-mark { display: block; line-height: 0; flex: 0 0 auto; }
.vp4-mark img { width: 168px; height: auto; display: block; }
.vp4-group-note {
  font-size: 0.72rem; line-height: 1.35; color: var(--vp4-slate);
  border-left: 1px solid var(--vp4-line-strong); padding-left: 18px;
  width: 190px; flex: 0 0 auto;
}
.vp4-group-note strong { color: var(--vp4-ink); font-weight: 700; }

.vp4-desktop-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; align-items: center; }
/* the five groups plus the contact button need 951px on one line; with the
   logo and the Endava note that only clears at very wide viewports, so the
   nav may start centred and spill toward the note if the shell is narrower */
.vp4-navlist { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex: 0 0 auto; }
.vp4-navlist > li { position: relative; margin: 0; flex: 0 0 auto; }
/* labels stay on one line: a wrapped label grows the bar and squeezes the logo */
.vp4-identity, .vp4-navlist, .vp4-navlink, .vp4-spot { white-space: nowrap; }
.vp4-spot { flex: 0 0 auto; }
.vp4-navlink {
  display: flex; align-items: center; gap: 6px;
  /* nav labels are plain buttons, so clear the platform chrome explicitly */
  -webkit-appearance: none; appearance: none;
  margin: 0; background: transparent; border: 0; border-bottom: 3px solid transparent;
  border-radius: 0; font-family: inherit; cursor: pointer; white-space: nowrap;
  padding: 30px 12px 28px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--vp4-ink-soft);
  transition: color 0.16s var(--vp4-ease), border-color 0.16s var(--vp4-ease);
}
.vp4-navlink:hover, .vp4-navlink:focus-visible { color: var(--vp4-red-deep); border-color: var(--vp4-red); }
.vp4-navlink[aria-current="page"] { color: var(--vp4-red-deep); border-color: var(--vp4-red); }
.vp4-navlink[aria-expanded="true"] { color: var(--vp4-red-deep); border-color: var(--vp4-red); }
.vp4-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform 0.18s var(--vp4-ease);
}
.vp4-navlink[aria-expanded="true"] .vp4-caret { transform: rotate(180deg); }

.vp4-panel {
  position: absolute; top: 100%; left: 0; min-width: 278px;
  background: var(--vp4-paper);
  border: 1px solid var(--vp4-line);
  border-top: 3px solid var(--vp4-red);
  border-radius: 0 0 var(--vp4-r-md) var(--vp4-r-md);
  box-shadow: 0 12px 26px rgba(35, 38, 42, 0.13);
  padding: 10px 0; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.16s var(--vp4-ease), transform 0.16s var(--vp4-ease), visibility 0.16s;
}
.vp4-panel.is-open,
.vp4-panel.is-open:not(.is-open) { opacity: 1; visibility: visible; transform: translateY(0); }
li:hover > .vp4-panel, li:focus-within > .vp4-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.vp4-panel a {
  display: block; padding: 10px 18px;
  font-size: 0.9rem; font-weight: 600; color: var(--vp4-ink-soft);
  border-left: 3px solid transparent;
}
.vp4-panel a:hover, .vp4-panel a:focus-visible {
  background: var(--vp4-mist); color: var(--vp4-red-deep); border-left-color: var(--vp4-red);
}
.vp4-spot { margin-left: 14px; }
.vp4-spot a, a.vp4-btn--spot {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: var(--vp4-r-md);
  background: var(--vp4-red); color: #fff;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
  transition: background 0.16s var(--vp4-ease);
}
.vp4-spot a:hover, a.vp4-btn--spot:hover { background: var(--vp4-red-deep); color: #fff; }

/* ---------- buttons ---------- */
a.vp4-btn, button.vp4-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; min-height: 46px;
  border-radius: var(--vp4-r-md); border: 2px solid transparent;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; cursor: pointer; line-height: 1.2;
  transition: background 0.16s var(--vp4-ease), color 0.16s var(--vp4-ease),
              border-color 0.16s var(--vp4-ease), transform 0.16s var(--vp4-ease);
}
a.vp4-btn--solid, button.vp4-btn--solid {
  background: var(--vp4-red); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}
a.vp4-btn--solid:hover, button.vp4-btn--solid:hover { background: var(--vp4-red-deep); color: #fff; }
a.vp4-btn--quiet, button.vp4-btn--quiet {
  background: transparent; color: var(--vp4-ink); border-color: var(--vp4-line-strong);
}
a.vp4-btn--quiet:hover, button.vp4-btn--quiet:hover {
  border-color: var(--vp4-ink); color: var(--vp4-ink); background: var(--vp4-mist);
}
a.vp4-btn--onink, button.vp4-btn--onink { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
a.vp4-btn--onink:hover, button.vp4-btn--onink:hover { background: #fff; color: var(--vp4-ink); border-color: #fff; }
a.vp4-btn:active { transform: translateY(1px); }

.vp4-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9rem; color: var(--vp4-red-deep);
  border-bottom: 2px solid rgba(227, 27, 35, 0.28); padding-bottom: 2px;
}
.vp4-textlink::after { content: "\2192"; font-size: 1em; transition: transform 0.16s var(--vp4-ease); }
.vp4-textlink:hover { color: var(--vp4-red-ink); border-bottom-color: var(--vp4-red-ink); }
.vp4-textlink:hover::after { transform: translateX(3px); }
.vp4-textlink--onink { color: #f7b9bb; border-bottom-color: rgba(255, 255, 255, 0.4); }
.vp4-textlink--onink:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- small type helpers ---------- */
.vp4-eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--vp4-red-deep);
  margin-bottom: 10px;
}
.vp4-datestamp { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vp4-slate); }
.vp4-lede { font-size: 1.1rem; line-height: 1.65; color: var(--vp4-ink-soft); }
.vp4-prose { max-width: 72ch; }
.vp4-prose h2 { margin: 1.9em 0 0.55em; }
.vp4-prose h3 { margin: 1.6em 0 0.45em; }
.vp4-prose > :first-child { margin-top: 0; }
.vp4-prose img { border-radius: var(--vp4-r-sm); }

/* ---------- hero ---------- */
.vp4-hero { position: relative; background: var(--vp4-ink); color: #e9ecef; overflow: hidden; }
.vp4-hero__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.42;
}
.vp4-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(24, 26, 30, 0.94) 0%, rgba(24, 26, 30, 0.8) 52%, rgba(24, 26, 30, 0.42) 100%);
}
/* vertical rhythm only: the horizontal gutter comes from .vp4-row and must
   never be reset here, or the hero copy runs into the screen edge */
.vp4-hero__inner { position: relative; padding-top: 78px; padding-bottom: 66px; }
.vp4-hero__inner--compact { padding-top: 54px; padding-bottom: 46px; }
.vp4-hero h1, .vp4-hero h2, .vp4-hero h3 { color: #fff; }
.vp4-hero .vp4-lede { color: #d3d8dd; }
.vp4-hero .vp4-eyebrow { color: #ffb3b6; }
.vp4-hero__copy { max-width: 760px; }
.vp4-hero__copy h1 { margin-bottom: 0.42em; }
.vp4-hero .vp4-lede { margin-bottom: 0; }
.vp4-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--vp4-space-4); }

/* ---------- lanes / cards ---------- */
.vp4-grid { display: grid; gap: var(--vp4-space-3); }
.vp4-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vp4-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vp4-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.vp4-lane {
  position: relative; display: flex; flex-direction: column;
  background: var(--vp4-paper);
  border: 1px solid var(--vp4-line);
  border-top: 4px solid var(--vp4-tech);
  border-radius: 0 0 var(--vp4-r-md) var(--vp4-r-md);
  padding: var(--vp4-space-3);
  transition: border-color 0.16s var(--vp4-ease), box-shadow 0.16s var(--vp4-ease);
}
.vp4-lane:hover { box-shadow: var(--vp4-shadow); border-color: var(--vp4-line-strong); }
.vp4-lane--tech { --vp4-tech: var(--vp4-teal); }
.vp4-lane--red { --vp4-tech: var(--vp4-red); }
.vp4-lane--amber { --vp4-tech: #d79a1c; }
.vp4-lane--ink { --vp4-tech: var(--vp4-ink); }
.vp4-lane h3 { font-size: 1.12rem; margin-bottom: 8px; }
.vp4-lane h3 a { color: var(--vp4-ink); }
.vp4-lane h3 a:hover { color: var(--vp4-red-deep); }
.vp4-lane p { font-size: 0.95rem; margin-bottom: 0; }
.vp4-lane__foot { margin-top: auto; padding-top: 14px; }

/* dark feature strip item */
.vp4-fact { border-top: 3px solid var(--vp4-red); padding-top: 14px; }
.vp4-fact strong { display: block; color: #fff; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.vp4-fact span { display: block; margin-top: 6px; font-size: 0.9rem; color: #c4cad0; }

/* ---------- picture tiles (original artwork kept) ---------- */
.vp4-tile { display: block; position: relative; overflow: hidden; border-radius: var(--vp4-r-md); background: var(--vp4-mist-deep); }
.vp4-tile img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s var(--vp4-ease); }
.vp4-tile:hover img, .vp4-tile:focus-visible img { transform: scale(1.035); }
.vp4-tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(20, 22, 25, 0.88), rgba(20, 22, 25, 0));
  color: #fff; font-weight: 700; font-size: 0.98rem;
}

/* ---------- service page furniture ---------- */
.vp4-breadcrumb { font-size: 0.8rem; margin-bottom: 18px; }
.vp4-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.vp4-breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: #b9c0c7; }
.vp4-breadcrumb li + li::before { content: "/"; color: #7d868e; }
.vp4-breadcrumb a { color: #e7eaee; }
.vp4-breadcrumb a:hover { color: #fff; text-decoration: underline; }

.vp4-callout {
  background: var(--vp4-mist);
  border-left: 5px solid var(--vp4-red);
  border-radius: 0 var(--vp4-r-md) var(--vp4-r-md) 0;
  padding: var(--vp4-space-3) var(--vp4-space-4);
  margin: var(--vp4-space-4) 0;
}
.vp4-callout p:last-child { margin-bottom: 0; }

.vp4-readnext { display: grid; gap: 12px; }
.vp4-readnext a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-md);
  font-weight: 600; font-size: 0.92rem; color: var(--vp4-ink);
  transition: border-color 0.16s var(--vp4-ease), background 0.16s var(--vp4-ease);
}
.vp4-readnext a::after { content: "\2192"; color: var(--vp4-red); font-weight: 700; }
.vp4-readnext a:hover { border-color: var(--vp4-red); background: var(--vp4-mist); }

.vp4-rail { border-top: 4px solid var(--vp4-ink); padding-top: var(--vp4-space-3); }
.vp4-rail h2, .vp4-rail h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.vp4-taglist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vp4-taglist li { margin: 0; }
.vp4-taglist a {
  display: inline-block; padding: 6px 11px; font-size: 0.79rem; font-weight: 600;
  color: var(--vp4-ink-soft); background: var(--vp4-mist);
  border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-sm);
}
.vp4-taglist a:hover { background: var(--vp4-paper); border-color: var(--vp4-red); color: var(--vp4-red-deep); }

/* ---------- people ---------- */
.vp4-person { display: block; }
.vp4-person__shot { display: block; position: relative; overflow: hidden; border-radius: var(--vp4-r-md); background: var(--vp4-mist-deep); }
.vp4-person__shot img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; transition: transform 0.5s var(--vp4-ease); }
.vp4-person:hover .vp4-person__shot img { transform: scale(1.03); }
.vp4-person__name { margin: 14px 0 2px; font-size: 1.05rem; color: var(--vp4-ink); }
.vp4-person__role { font-size: 0.83rem; color: var(--vp4-slate); font-weight: 600; }

/* ---------- offices ---------- */
.vp4-office { position: relative; overflow: hidden; border-radius: var(--vp4-r-md); background: var(--vp4-ink); }
.vp4-office img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0.85; }
.vp4-office__tag {
  position: absolute; left: 14px; bottom: 12px; color: #fff;
  font-weight: 700; font-size: 0.9rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.vp4-office__kind { display: block; font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.85; }

/* ---------- quotes ---------- */
.vp4-quote { background: var(--vp4-paper); border: 1px solid var(--vp4-line); border-left: 5px solid var(--vp4-teal); border-radius: 0 var(--vp4-r-md) var(--vp4-r-md) 0; padding: var(--vp4-space-3); }
.vp4-quote p { font-style: italic; color: var(--vp4-ink); }
.vp4-quote cite { display: block; font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--vp4-red-deep); }

/* ---------- badges (awards, certifications) ---------- */
.vp4-badge { display: flex; gap: 16px; align-items: center; border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-md); padding: 14px; background: var(--vp4-paper); }
.vp4-badge img { width: 86px; height: auto; flex: 0 0 auto; }
.vp4-badge p { font-size: 0.9rem; margin: 0; }

/* ---------- list rows (news, jobs, archive) ---------- */
.vp4-stack { display: grid; gap: var(--vp4-space-3); }
.vp4-entry {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--vp4-space-3);
  background: var(--vp4-paper); border: 1px solid var(--vp4-line);
  border-radius: var(--vp4-r-md); overflow: hidden;
  transition: border-color 0.16s var(--vp4-ease), box-shadow 0.16s var(--vp4-ease);
}
.vp4-entry:hover { border-color: var(--vp4-line-strong); box-shadow: var(--vp4-shadow); }
.vp4-entry__thumb { display: block; background: var(--vp4-mist-deep); }
.vp4-entry__thumb img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.vp4-entry__body { padding: var(--vp4-space-3) var(--vp4-space-3) var(--vp4-space-3) 0; }
.vp4-entry__body h2, .vp4-entry__body h3 { font-size: 1.18rem; margin: 4px 0 8px; }
.vp4-entry__body h2 a, .vp4-entry__body h3 a { color: var(--vp4-ink); }
.vp4-entry__body h2 a:hover, .vp4-entry__body h3 a:hover { color: var(--vp4-red-deep); }
.vp4-entry__body p { font-size: 0.94rem; margin-bottom: 10px; }
.vp4-entry--nothumb { grid-template-columns: minmax(0, 1fr); }
.vp4-entry--nothumb .vp4-entry__body { padding: var(--vp4-space-3); }
.vp4-chip { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vp4-teal-deep); margin-right: 12px; }

/* ---------- filters (chips rather than dropdowns) ---------- */
.vp4-filters { border-top: 1px solid var(--vp4-line); border-bottom: 1px solid var(--vp4-line); padding: 16px 0; margin-bottom: var(--vp4-space-4); }
.vp4-filters__group + .vp4-filters__group { margin-top: 12px; }
.vp4-filters__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--vp4-slate); margin-right: 10px; }
.vp4-filters ul { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 6px 0 0; padding: 0; }
.vp4-filters li { margin: 0; }
.vp4-filters a { font-size: 0.87rem; font-weight: 600; color: var(--vp4-ink-soft); }
.vp4-filters a:hover { color: var(--vp4-red-deep); text-decoration: underline; }
.vp4-filters a[aria-current="page"] { color: var(--vp4-red-deep); border-bottom: 2px solid var(--vp4-red); }

/* ---------- pagination ---------- */
.vp4-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--vp4-space-5); list-style: none; padding: 0; }
.vp4-pager li { margin: 0; }
.vp4-pager a, .vp4-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 13px;
  border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-sm);
  font-size: 0.9rem; font-weight: 600; color: var(--vp4-ink-soft); background: var(--vp4-paper);
}
.vp4-pager a:hover { border-color: var(--vp4-red); color: var(--vp4-red-deep); }
.vp4-pager [aria-current="page"] { background: var(--vp4-ink); border-color: var(--vp4-ink); color: #fff; }

/* ---------- forms ---------- */
.vp4-field { margin-bottom: 18px; }
.vp4-field label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vp4-ink); margin-bottom: 7px; }
.vp4-field .vp4-req { color: var(--vp4-red-deep); }
.vp4-field input, .vp4-field textarea, .vp4-field select {
  width: 100%; padding: 13px 15px; min-height: 48px;
  font: inherit; font-size: 0.98rem; color: var(--vp4-ink);
  background: var(--vp4-paper); border: 1px solid var(--vp4-line-strong);
  border-radius: var(--vp4-r-sm); transition: border-color 0.16s var(--vp4-ease), box-shadow 0.16s var(--vp4-ease);
}
.vp4-field textarea { min-height: 160px; resize: vertical; }
.vp4-field input::placeholder, .vp4-field textarea::placeholder { color: #7c848c; }
.vp4-field input:focus, .vp4-field textarea:focus, .vp4-field select:focus {
  border-color: var(--vp4-teal); box-shadow: 0 0 0 3px rgba(42, 127, 156, 0.16); outline: none;
}
.vp4-field--error input, .vp4-field--error textarea { border-color: var(--vp4-red); }
.vp4-field__help { font-size: 0.82rem; color: var(--vp4-slate); margin-top: 6px; }
.vp4-field__error { font-size: 0.84rem; color: var(--vp4-red-ink); font-weight: 600; margin-top: 6px; display: none; }
.vp4-field--error .vp4-field__error { display: block; }
.vp4-formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.vp4-formgrid .vp4-wide { grid-column: 1 / -1; }
.vp4-formnote { font-size: 0.84rem; color: var(--vp4-slate); }
.vp4-formstatus {
  border-radius: var(--vp4-r-md); padding: 16px 18px; margin-bottom: var(--vp4-space-3);
  font-weight: 600;
}
.vp4-formstatus--ok { background: #e9f4f1; border: 1px solid #9dcfc4; color: #1d5a4b; }
.vp4-formstatus--bad { background: #fdeceb; border: 1px solid #f2b6b2; color: #8f1f18; }
.vp4-formstatus[hidden] { display: none; }

.vp4-note-form { display: flex; flex-wrap: wrap; gap: 10px; }
.vp4-note-form input { flex: 1 1 240px; padding: 12px 14px; min-height: 46px; border: 1px solid var(--vp4-line-strong); border-radius: var(--vp4-r-sm); font: inherit; }
.vp4-note-form input:focus { border-color: var(--vp4-teal); outline: none; box-shadow: 0 0 0 3px rgba(42, 127, 156, 0.16); }

/* ---------- article body ---------- */
.vp4-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 0.85rem; color: var(--vp4-slate); margin-bottom: var(--vp4-space-3); }
.vp4-postmeta a { color: var(--vp4-red-deep); font-weight: 600; }
.vp4-byline { display: flex; align-items: center; gap: 12px; margin: var(--vp4-space-4) 0; padding: var(--vp4-space-3) 0; border-top: 1px solid var(--vp4-line); border-bottom: 1px solid var(--vp4-line); }
.vp4-byline strong { color: var(--vp4-ink); }
.vp4-byline span { font-size: 0.88rem; color: var(--vp4-slate); }
.vp4-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vp4-share a { padding: 8px 12px; font-size: 0.8rem; font-weight: 700; border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-sm); color: var(--vp4-ink-soft); }
.vp4-share a:hover { border-color: var(--vp4-red); color: var(--vp4-red-deep); }

/* ---------- downloads ---------- */
.vp4-download { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 15px 18px; border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-md); background: var(--vp4-paper); }
.vp4-download + .vp4-download { margin-top: 10px; }
.vp4-download__type { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--vp4-ink); padding: 3px 7px; border-radius: var(--vp4-r-sm); }
.vp4-download strong { flex: 1 1 220px; color: var(--vp4-ink); font-size: 0.98rem; }

/* ---------- newsletter block ---------- */
.vp4-newsletter { background: var(--vp4-ink); color: #d5dade; border-radius: var(--vp4-r-md); padding: var(--vp4-space-4); }
.vp4-newsletter h2, .vp4-newsletter h3 { color: #fff; }
.vp4-newsletter .vp4-note-form input { border-color: #565e66; background: #2f343a; color: #fff; }
.vp4-newsletter .vp4-note-form input::placeholder { color: #a9b1b8; }
.vp4-newsletter__msg { margin-top: 12px; font-size: 0.88rem; }

/* ---------- footer ---------- */
.vp4-footnote { background: #1b1d21; color: #aeb5bc; padding: var(--vp4-space-5) 0 0; font-size: 0.92rem; }
.vp4-footnote a { color: #dfe3e7; }
.vp4-footnote a:hover { color: #fff; text-decoration: underline; }
.vp4-footnote h2, .vp4-footnote h3 {
  color: #fff; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 700;
}
.vp4-footnote ul { list-style: none; margin: 0; padding: 0; }
.vp4-footnote li { margin: 0 0 9px; }
.vp4-footnote__brand img { width: 168px; background: #fff; padding: 12px 14px; border-radius: var(--vp4-r-sm); }
.vp4-footnote__brand p { margin: 16px 0 0; max-width: 300px; color: #9fa7ae; font-size: 0.9rem; }
.vp4-footnote__law {
  margin-top: var(--vp4-space-4); border-top: 1px solid #31343a;
  padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between; font-size: 0.82rem; color: #8d959c;
}
.vp4-mailto { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- motion (seed mod 4 = 0: a single quiet reveal, no parallax) ---------- */
.vp4-reveal { opacity: 1; transform: none; }
.vp4-js .vp4-reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--vp4-ease), transform 0.5s var(--vp4-ease); }
.vp4-js .vp4-reveal.is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vp4-js .vp4-reveal { opacity: 1; transform: none; transition: none; }
  .vp4-tile img, .vp4-person__shot img { transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- mobile drawer ---------- */
.vp4-burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto;
  -webkit-appearance: none; appearance: none;
  border: 1px solid var(--vp4-line-strong); border-radius: var(--vp4-r-md);
  background: var(--vp4-paper); cursor: pointer; padding: 0;
}
/* three bars drawn from one element: the label stays screen reader only */
.vp4-burger__bars { position: relative; display: block; width: 20px; height: 2px; background: var(--vp4-ink); }
.vp4-burger__bars::before, .vp4-burger__bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--vp4-ink);
  transition: transform 0.2s var(--vp4-ease), top 0.2s var(--vp4-ease);
}
.vp4-burger__bars::before { top: -6px; }
.vp4-burger__bars::after { top: 6px; }
.vp4-burger[aria-expanded="true"] .vp4-burger__bars { background: transparent; }
.vp4-burger[aria-expanded="true"] .vp4-burger__bars::before { top: 0; transform: rotate(45deg); }
.vp4-burger[aria-expanded="true"] .vp4-burger__bars::after { top: 0; transform: rotate(-45deg); }

.vp4-drawer {
  position: fixed; inset: 0; z-index: 60; display: none;
}
.vp4-drawer.is-open { display: block; }
.vp4-drawer__scrim { position: absolute; inset: 0; background: rgba(20, 22, 25, 0.55); border: 0; width: 100%; padding: 0; }
.vp4-drawer__sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(390px, 92vw);
  background: var(--vp4-paper); overflow-y: auto; padding: 18px 20px 40px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}
.vp4-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.vp4-drawer__head img { width: 140px; }
.vp4-drawer__close {
  width: 42px; height: 42px; border: 1px solid var(--vp4-line-strong); background: var(--vp4-paper);
  border-radius: var(--vp4-r-sm); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--vp4-ink);
}
.vp4-drawer nav ul { list-style: none; margin: 0; padding: 0; }
.vp4-drawer nav > ul > li { border-bottom: 1px solid var(--vp4-line); margin: 0; }
.vp4-drawer nav > ul > li > a, .vp4-drawer .vp4-drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 2px; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--vp4-ink); background: none; border: 0; text-align: left; cursor: pointer;
  font-family: inherit;
}
.vp4-drawer .vp4-drawer__sub { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; display: none; }
.vp4-drawer .vp4-drawer__sub.is-open { display: block; }
.vp4-drawer .vp4-drawer__sub a { display: block; padding: 9px 0; font-size: 0.9rem; color: var(--vp4-ink-soft); }
.vp4-drawer__cta { margin-top: 22px; display: grid; gap: 10px; }

/* ---------- responsive ---------- */
@media screen and (max-width: 1279px) {
  .vp4-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp4-mark img { width: 148px; }
  .vp4-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp4-band { padding: var(--vp4-space-5) 0; }
  .vp4-hero__inner { padding-top: 58px; padding-bottom: 50px; }
}
@media screen and (max-width: 1499px) {
  .vp4-desktop-nav { display: none; }
  .vp4-burger { display: inline-flex; }
}
/* the five groups plus the contact button need 951px and the logo needs
   237px: both only clear once the content column reaches 1200px, so the
   Endava note (repeated in the hero eyebrow) stands down at 1499px and up */
.vp4-group-note { display: none; }
@media screen and (max-width: 767px) {
  body.vp4-shell { font-size: 16px; line-height: 1.6; }
  :root { --vp4-gutter: 18px; }
  .vp4-mark img { width: 132px; }
  .vp4-grid--2, .vp4-grid--3, .vp4-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .vp4-band { padding: var(--vp4-space-5) 0; }
  .vp4-entry { grid-template-columns: minmax(0, 1fr); }
  .vp4-entry .vp4-entry__thumb img { height: 190px; min-height: 0; }
  .vp4-entry__body { padding: 0 var(--vp4-space-3) var(--vp4-space-3); }
  .vp4-formgrid { grid-template-columns: minmax(0, 1fr); }
  .vp4-hero__inner { padding-top: 44px; padding-bottom: 40px; }
  .vp4-hero__inner--compact { padding-top: 36px; padding-bottom: 32px; }
  .vp4-hero__actions a.vp4-btn { width: 100%; }
  .vp4-pager a, .vp4-pager span { min-width: 42px; height: 42px; }
  .vp4-shell blockquote { padding: var(--vp4-space-3); }
}
@media screen and (max-width: 480px) {
  .vp4-identity { gap: 10px; }
}
@media screen and (min-width: 1600px) {
  :root { --vp4-max: 1280px; --vp4-gutter: 56px; }
}
@media print {
  .vp4-masthead, .vp4-footnote, .vp4-burger, .vp4-newsletter, .vp4-share { display: none !important; }
  body.vp4-shell { color: #000; }
  .vp4-hero__veil { display: none; }
}

/* ---------- page specific blocks ---------- */
.vp4-officegrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.vp4-promo {
  position: relative; display: flex; align-items: flex-end; min-height: 210px;
  border-radius: var(--vp4-r-md); overflow: hidden; padding: 20px;
  background-color: var(--vp4-ink); background-size: cover; background-position: center;
  color: #fff;
}
.vp4-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,25,0.86), rgba(20,22,25,0.25)); }
.vp4-promo__text { position: relative; font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.vp4-promo:hover { color: #fff; }
.vp4-promo:hover::before { background: linear-gradient(to top, rgba(184,18,26,0.9), rgba(20,22,25,0.3)); }

.vp4-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 22px 0 10px; }
.vp4-logo { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 12px; border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-md); background: var(--vp4-paper); }
.vp4-logo img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.82; transition: filter 0.2s var(--vp4-ease), opacity 0.2s var(--vp4-ease); }
.vp4-logo:hover img { filter: none; opacity: 1; }

.vp4-portrait { display: block; width: 100%; border-radius: var(--vp4-r-md); object-fit: cover; aspect-ratio: 4 / 5; object-position: center 18%; }
.vp4-leadimg { display: block; width: 100%; border-radius: var(--vp4-r-md); margin-bottom: var(--vp4-space-4); object-fit: cover; max-height: 520px; }

.vp4-roles { display: grid; gap: 10px; }
.vp4-role {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 18px;
  padding: 18px 20px; border: 1px solid var(--vp4-line); border-left: 4px solid var(--vp4-red);
  border-radius: 0 var(--vp4-r-md) var(--vp4-r-md) 0; background: var(--vp4-paper);
  transition: background 0.16s var(--vp4-ease), border-color 0.16s var(--vp4-ease);
}
.vp4-role:hover { background: var(--vp4-mist); border-color: var(--vp4-line-strong); }
.vp4-role__title { font-weight: 700; color: var(--vp4-ink); font-size: 1.04rem; }
.vp4-role__meta { grid-column: 1; font-size: 0.87rem; color: var(--vp4-slate); }
.vp4-role__go { grid-column: 2; grid-row: 1 / span 2; color: var(--vp4-red); font-weight: 700; font-size: 1.2rem; }

.vp4-tablewrap { overflow-x: auto; border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-md); }
.vp4-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 520px; }
.vp4-table th, .vp4-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--vp4-line); }
.vp4-table th { background: var(--vp4-mist); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vp4-ink); }
.vp4-table tbody tr:last-child td { border-bottom: 0; }

.vp4-jobsec { border-top: 3px solid var(--vp4-teal); padding-top: 14px; margin-bottom: 24px; }
.vp4-jobsec h2 { font-size: 1.06rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.vp4-jobsec ul { padding-left: 1.15em; }
.vp4-jobsec li { font-size: 0.95rem; }

.vp4-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--vp4-r-md); overflow: hidden; background: var(--vp4-ink); }
.vp4-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media screen and (max-width: 1023px) {
  .vp4-officegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .vp4-officegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp4-role { grid-template-columns: minmax(0, 1fr); }
  .vp4-role__go { display: none; }
}

.vp4-directory { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.vp4-directory li {
  display: grid; gap: 4px; padding: 15px 18px; border: 1px solid var(--vp4-line);
  border-radius: var(--vp4-r-md); background: var(--vp4-paper);
}
.vp4-directory li a { font-weight: 700; color: var(--vp4-ink); }
.vp4-directory li a:hover { color: var(--vp4-red-deep); }
.vp4-directory li span { font-size: 0.92rem; color: var(--vp4-slate); }

/* ---------- refinements ---------- */
.vp4-hero__photo { opacity: 0.72; }
.vp4-hero__veil {
  background: linear-gradient(94deg, rgba(22, 24, 28, 0.93) 0%, rgba(22, 24, 28, 0.8) 46%, rgba(22, 24, 28, 0.28) 100%);
}
.vp4-hero__inner--short { padding-top: 46px; padding-bottom: 40px; }
.vp4-hero .vp4-breadcrumb { margin-bottom: 12px; }
.vp4-texttile { display: block; border-radius: var(--vp4-r-md); overflow: hidden; border: 1px solid var(--vp4-line); background: var(--vp4-paper); transition: border-color .16s var(--vp4-ease), box-shadow .16s var(--vp4-ease); }
.vp4-texttile:hover { border-color: var(--vp4-line-strong); box-shadow: var(--vp4-shadow); }
.vp4-texttile__band { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--vp4-ink); color: #fff; font-weight: 700; font-size: .95rem; }
.vp4-texttile__band::before { content: ""; width: 9px; height: 9px; background: var(--vp4-red); border-radius: 50%; flex: 0 0 auto; }
.vp4-texttile__body { padding: 18px 16px; }
.vp4-texttile__body p { font-size: .92rem; margin: 0; }
.vp4-logowall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.vp4-logowall img { width: 100%; height: 64px; object-fit: contain; background: var(--vp4-paper); border: 1px solid var(--vp4-line); border-radius: var(--vp4-r-sm); padding: 10px; filter: grayscale(1); opacity: .78; transition: filter .2s var(--vp4-ease), opacity .2s var(--vp4-ease); }
.vp4-logowall a:hover img { filter: none; opacity: 1; }
@media screen and (max-width: 900px) { .vp4-logowall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media screen and (max-width: 520px) { .vp4-logowall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vp4-entry__body p a { pointer-events: none; }

.vp4-reflist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vp4-reflist li { font-size: .9rem; }
.vp4-reflist li a { color: var(--vp4-teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.vp4-reflist li a:hover { color: var(--vp4-red-deep); }

.vp4-ranked__list { display: grid; gap: 2px; }
.vp4-ranked { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--vp4-line); }
.vp4-ranked:first-child { border-top: 1px solid var(--vp4-line); }
.vp4-ranked__pos { font-size: 1.6rem; font-weight: 800; color: var(--vp4-red); line-height: 1; padding-top: 4px; }
.vp4-ranked h2 { font-size: 1.14rem; margin-bottom: 6px; }
.vp4-ranked h2 a { color: var(--vp4-ink); }
.vp4-ranked h2 a:hover { color: var(--vp4-red-deep); }
.vp4-ranked p { font-size: .95rem; margin-bottom: 8px; }

/* ---------- mobile: no sideways scroll ---------- */
html, body.vp4-shell { overflow-x: hidden; }
@media screen and (max-width: 767px) {
  .vp4-shell main .vp4-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .vp4-shell main .vp4-grid > * { min-width: 0; }
}
.vp4-shell main .vp4-grid > * { min-width: 0; }
.vp4-shell main div, .vp4-shell main section, .vp4-shell main article, .vp4-shell main aside { min-width: 0; }
.vp4-shell main img, .vp4-shell main iframe, .vp4-shell main table { max-width: 100%; }

/* people cards: block layout so the picture always shows */
.vp4-person { display: block; text-decoration: none; }
.vp4-person__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; border-radius: var(--vp4-r-md); background: var(--vp4-mist-deep); transition: transform .4s var(--vp4-ease); }
.vp4-person:hover .vp4-person__img { transform: scale(1.02); }
.vp4-person__name { display: block; }
.vp4-person__role { display: block; }
