/* ---------- self-hosted fonts (was Google Fonts) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #1d1b4b;
  --amber: #f5b643;
  --cream: #fbf6ec;
  --warm: #f1e6d2;
  --peach: #f5cfa8;
  --rose: #d68a6c;
  --sage: #8aa07a;
  --ink: #14123a;
  --mute: #6e6877;
  --line: rgba(20,18,58,.12);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- skip to content ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--cream);
  padding: 12px 18px;
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; outline: 2px solid var(--amber); outline-offset: -2px; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  transition: padding .18s ease, background .2s ease, box-shadow .2s ease;
}
.nav {
  padding: 22px 32px;
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.nav.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(20, 18, 58, 0.08);
}
.nav .lockup { display: inline-flex; align-items: center; }
.nav .lockup img { height: 36px; width: auto; display: block; transition: height .18s; }
.nav.scrolled .lockup img { height: 30px; }

.nav .links { display: flex; gap: 28px; justify-content: center; font-size: 14px; align-items: center; }
.nav .links > a,
.nav-dropdown-trigger {
  color: var(--ink); opacity: .8;
  transition: color .15s, opacity .15s;
  position: relative;
  padding: 0 0 6px;
  text-decoration: none;
}
.nav .links > a:hover,
.nav-dropdown-trigger:hover { opacity: 1; color: var(--navy); }

.nav .links > a.is-active,
.nav-dropdown-trigger.is-active { opacity: 1; color: var(--navy); }
.nav .links > a.is-active::after,
.nav-dropdown-trigger.is-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--rose);
}

/* services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none; border: 0; font: inherit;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-caret { font-size: 10px; line-height: 1; transition: transform .15s; opacity: .7; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: -14px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px -28px rgba(20, 18, 58, 0.22);
  padding: 12px;
  z-index: 100;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background .12s;
  text-decoration: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active { background: var(--cream); }
.nav-dropdown-menu .nav-cat {
  display: block;
  font-family: var(--mono); font-weight: 500;
  font-size: 13.5px; color: var(--navy); line-height: 1.25;
  letter-spacing: -.01em;
}
.nav-dropdown-menu .nav-cat-desc {
  display: block;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--mute);
  text-transform: uppercase; letter-spacing: .12em;
  margin-top: 4px;
}

/* CTA cluster (right side): Need support? · Login · Contact Sales */
.nav-ctas {
  display: flex; align-items: center; gap: 22px;
}
.nav-support {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--rose);
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
}
.nav-support:hover { opacity: .75; }
.nav-support-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
  display: inline-block;
}
.nav-login {
  font-size: 13.5px; font-weight: 500;
  color: var(--ink); opacity: .75;
  text-decoration: none;
  transition: opacity .15s, color .15s;
}
.nav-login:hover { opacity: 1; color: var(--navy); }
.nav .cta {
  background: var(--navy); color: var(--amber);
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: background .15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav .cta:hover { background: var(--ink); }

/* hamburger (mobile/tablet) */
.nav-toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px; padding: 12px;
  cursor: pointer;
  justify-self: end;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy);
  margin: 4px 0;
  transition: transform .18s, opacity .18s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO (homepage) ---------- */
.hero {
  max-width: 1320px; margin: 0 auto;
  padding: 24px 32px 56px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero .eyebrow {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero .eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--rose); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 7vw, 112px);
  line-height: .98; letter-spacing: -.025em;
  margin: 0 0 24px; color: var(--navy);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--amber); }
.hero h1 .underline { background: linear-gradient(transparent 58%, var(--peach) 58%, var(--peach) 90%, transparent 90%); padding: 0 .08em; }
.hero .lede {
  font-size: 19px; line-height: 1.55; color: var(--mute);
  max-width: 56ch; margin: 0 0 28px;
}
.hero .lede [data-tagline] { color: var(--ink); font-style: italic; font-family: var(--serif); font-size: 22px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--navy); color: var(--amber); border: 0;
  padding: 14px 22px; border-radius: 999px; font-family: var(--sans);
  font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: background .15s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-text { color: var(--ink); font-weight: 500; padding: 14px 4px; border-bottom: 1.5px solid var(--ink); }

.hero-stats {
  display: flex; gap: 32px; margin-top: 36px;
  padding-top: 22px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stats div { font-size: 13px; color: var(--mute); flex: 1 1 140px; }
.hero-stats div b { display: block; font-family: var(--serif); font-size: 28px; color: var(--navy); font-weight: 400; line-height: 1; margin-bottom: 4px; }

/* hero portrait */
.portrait-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 24px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--peach) 0%, var(--rose) 100%);
  box-shadow: 0 40px 80px -30px rgba(20,18,58,.35);
}
.portrait-wrap .grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(20,18,58,.22) 0, transparent 50%);
  mix-blend-mode: soft-light;
}
.portrait-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-tag {
  position: absolute; right: 28px; bottom: 36px;
  background: var(--cream); color: var(--ink);
  padding: 12px 18px; border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(20,18,58,.3);
  display: flex; gap: 14px; align-items: center;
  font-size: 13px;
}
.portrait-tag .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 18px;
}
.portrait-tag b { display: block; font-family: var(--serif); font-style: italic; font-size: 16px; font-weight: 400; color: var(--navy); }
.portrait-tag span { color: var(--mute); font-size: 12px; }
.portrait-badge {
  position: absolute; left: 60%; top: 36px;
  background: var(--amber); color: var(--navy);
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  box-shadow: 0 12px 30px -8px rgba(20,18,58,.3);
  transform: translateX(-50%) rotate(6deg);
}

/* ---------- LOGO STRIP ---------- */
.logos {
  background: var(--warm);
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
}
.logos .label {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--mute); max-width: 22ch;
}
.logos .row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px;
  align-items: center;
}
/* Pre-JS placeholder text styling (and fallback for old <span> markup) */
.logos .row > span {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--navy); opacity: .7; text-align: center; letter-spacing: -.01em;
}

/* Logo cell, produced by clients.js, holds either an <img> or a text fallback */
.logos .row .logo-cell {
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 6px 10px;
  opacity: .85; transition: opacity .15s, transform .15s, background .15s;
  border-radius: 10px;
}
.logos .row .logo-cell:hover { opacity: 1; transform: translateY(-1px); }
.logos .row .logo-cell img {
  max-height: 52px; max-width: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
.logos .row .logo-cell .logo-cell-text {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--navy); text-align: center; letter-spacing: -.01em;
  line-height: 1.1;
}

/* Variant: dark backplate, for white/light logos that disappear on cream */
.logos .row .logo-cell.is-dark {
  background: var(--ink);
  padding: 10px 16px;
}
.logos .row .logo-cell.is-dark:hover { background: var(--navy); }

/* Variant: invert, flips a pure-black logo to white. Rarely used. */
.logos .row .logo-cell.is-invert img { filter: invert(1); }

/* ---------- SECTION HEADERS ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: 88px 32px; }
.section--narrow { max-width: 980px; }
.section-head { max-width: 880px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ''; width: 28px; height: 1.5px; background: var(--rose); }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--navy);
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--rose); }
.section-head p {
  font-size: 18px; color: var(--mute); max-width: 60ch; margin: 0 auto;
  line-height: 1.55;
}

/* ---------- SERVICES (homepage grid) ---------- */
.services {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.svc {
  grid-column: span 2;
  background: #fff; border-radius: 24px; padding: 28px;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 14px;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -28px rgba(20,18,58,.3); }
.svc.feature { grid-column: span 6; background: var(--navy); color: var(--cream); border-color: var(--navy); flex-direction: row; gap: 32px; align-items: stretch; padding: 0; overflow: hidden; }
.svc.feature .svc-img-large { flex: 0 0 320px; }
.svc.feature .svc-body { padding: 32px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.svc.feature h3 { color: var(--amber); }
.svc.feature p { color: var(--cream); opacity: .85; }
.svc.feature .more { color: var(--amber); }

.svc-img {
  aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  position: relative;
  background: var(--peach);
}
.svc-img.warm { background: linear-gradient(135deg, #f5cfa8, #d68a6c); }
.svc-img.sage { background: linear-gradient(135deg, #c5d4ba, #8aa07a); }
.svc-img.rose { background: linear-gradient(135deg, #f5cfa8, #b95c44); }
.svc-img.amber { background: linear-gradient(135deg, #fdd789, #d4892a); }
.svc-img.navy { background: linear-gradient(135deg, #564b8a, #1d1b4b); }
.svc-img.violet { background: linear-gradient(135deg, #b8a8d4, #564b8a); }
.svc-img-large { background: linear-gradient(135deg, #564b8a, #1d1b4b); position: relative; }
.svc-img svg, .svc-img-large svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-img .placeholder-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(20,18,58,.7); color: var(--cream);
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em;
}
.svc h3 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 26px; line-height: 1.05; letter-spacing: -.015em;
  margin: 0; color: var(--navy);
}
.svc p { font-size: 14.5px; color: var(--mute); margin: 0; line-height: 1.5; }
.svc .more {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--navy); margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
}
.svc .more::after { content: '→'; transition: transform .15s; }
.svc:hover .more::after { transform: translateX(4px); }

/* ---------- TEAM / PEOPLE ---------- */
.team-band { background: var(--warm); }
.team-band .section { padding-top: 88px; padding-bottom: 88px; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.pcard {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s;
}
.pcard:hover { transform: translateY(-3px); }
.pcard .pimg {
  aspect-ratio: 1 / 1.1; position: relative;
}
.pcard .pimg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcard .pimg .placeholder-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(20,18,58,.7); color: var(--cream);
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em;
}
.pcard .pbody { padding: 18px 20px 22px; }
.pcard .pname {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; line-height: 1; color: var(--navy); margin: 0 0 6px;
}
.pcard .prole {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--rose);
}
.pcard .pquote {
  font-family: var(--serif); font-style: italic; font-size: 14.5px;
  color: var(--mute); line-height: 1.4; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--line);
}

/* ---------- STORY ---------- */
.story-band { background: var(--peach); }
.story-band .section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 96px 32px;
}
.story-img {
  aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  position: relative; background: var(--rose);
  box-shadow: 0 40px 80px -30px rgba(20,18,58,.35);
}
.story-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-img .ph-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--cream); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
}
.story h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.02em;
  margin: 0 0 22px; color: var(--navy); text-wrap: balance;
}
.story h2 em { font-style: italic; color: var(--rose); }
.story p { font-size: 17px; color: var(--ink); line-height: 1.6; margin: 0 0 16px; opacity: .85; }
.story .pull {
  font-family: var(--serif); font-style: italic; font-size: 24px;
  line-height: 1.3; color: var(--navy); border-left: 3px solid var(--rose);
  padding: 4px 0 4px 18px; margin: 22px 0;
}
.story-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(20,18,58,.18); }
.story-stats div b { display: block; font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--navy); line-height: 1; }
.story-stats div span { font-size: 12px; color: var(--mute); margin-top: 4px; display: block; }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.testi .stars { color: var(--amber); font-size: 14px; letter-spacing: 1px; }
.testi blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.3; letter-spacing: -.005em;
  margin: 0; color: var(--navy); flex: 1;
}
.testi cite {
  font-style: normal; display: flex; gap: 12px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.testi cite .av {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
}
.testi cite .av svg { width: 100%; height: 100%; }
.testi cite b { display: block; font-weight: 600; color: var(--navy); }
.testi cite span { color: var(--mute); font-size: 12.5px; }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--navy); color: var(--cream);
  border-radius: 32px;
  overflow: hidden;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  position: relative;
}
/* Soft amber glow, matching the homepage CTA panel. */
.cta-band::before {
  content: ''; position: absolute; pointer-events: none;
  width: 700px; height: 700px; border-radius: 50%;
  top: -280px; right: -200px;
  background: radial-gradient(closest-side, rgba(245,182,67,.1), transparent);
}
.cta-band .inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch;
  position: relative;
}
.cta-band .left {
  padding: 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.cta-band h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--amber); text-wrap: balance;
}
.cta-band h2 em { font-style: italic; color: var(--cream); }
.cta-band p { font-size: 17px; opacity: .85; line-height: 1.55; margin: 0 0 22px; }
.cta-band ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.cta-band ul li { padding: 8px 0; border-bottom: 1px solid rgba(251,246,236,.12); display: flex; gap: 10px; }
.cta-band ul li::before { content: '✦'; color: var(--amber); }

/* The CTA right column now sits on the navy panel (matching the homepage
   CTA), so its text and dividers are tinted for the dark background. */
.cta-form .cta-checks { margin: 18px 0 0; color: var(--cream); }
.cta-form .cta-checks li {
  border-bottom-color: rgba(251,246,236,.12);
  color: rgba(251,246,236,.85);
  align-items: baseline;
}
.cta-form .cta-checks li:last-child { border-bottom: none; }
.cta-form .cta-checks li::before { color: var(--amber); }

.cta-form {
  background: transparent; color: var(--cream);
  padding: 48px;
}
.cta-form p { color: rgba(251,246,236,.82); }
/* Amber button on the navy panel, matching the homepage CTA. */
.cta-form .btn-primary { background: var(--amber); color: var(--navy); }
.cta-form .btn-primary:hover { background: #ffc658; }
.cta-form h3 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 30px; line-height: 1; margin: 0 0 22px; color: var(--navy);
}
.field { margin-bottom: 14px; }
.field label {
  display: block; font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--mute);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
  font-family: var(--sans); font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--rose); box-shadow: 0 0 0 4px rgba(214,138,108,.2);
}
.field input.error, .field select.error, .field textarea.error { border-color: #c53a2a; }
.mv-field-error { margin: 6px 0 0; font-family: var(--sans); font-size: 12.5px; line-height: 1.4; color: #b3261e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit {
  background: var(--navy); color: var(--amber); border: 0;
  padding: 14px 22px; border-radius: 999px; width: 100%;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  cursor: pointer; transition: background .15s; margin-top: 6px;
}
.submit:hover { background: var(--ink); }
.form-success {
  background: var(--cream); padding: 56px 48px;
  text-align: center;
}
.form-success h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; color: var(--navy); margin: 0 0 12px; }
.form-success p { color: var(--mute); margin: 0; font-size: 15px; }

/* ---------- footer ---------- */
footer.foot { padding: 56px 32px 36px; max-width: 1320px; margin: 0 auto; }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px;
  border-top: 1px solid var(--line); padding-top: 36px;
}
/* Row 2: Design under Managed IT (col 2), Compliance under Cybersecurity (col 3). */
.foot-col-design     { grid-column: 2 / 3; grid-row: 2 / 3; }
.foot-col-compliance { grid-column: 3 / 4; grid-row: 2 / 3; }
.foot-brand { margin-bottom: 16px; line-height: 1; }
.foot-brand img { height: 44px; width: auto; display: block; }
.foot-grid h5 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--rose); margin: 0 0 14px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.foot-grid ul li { padding: 4px 0; }
.foot-grid ul li a { transition: color .15s; }
.foot-grid ul li a:hover { color: var(--rose); }
.foot-social { display: flex; gap: 12px; margin-top: 16px; }
.foot-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); transition: background .15s, color .15s, border-color .15s;
}
.foot-social a:hover { background: var(--navy); color: var(--amber); border-color: var(--navy); }
.foot-social svg { width: 15px; height: 15px; fill: currentColor; }
.foot-end {
  border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px;
  font-family: var(--mono); font-size: 11.5px; color: var(--mute);
  text-transform: uppercase; letter-spacing: .1em;
}
.foot-legal a { color: var(--mute); transition: color .15s; }
.foot-legal a:hover { color: var(--rose); }
.foot-legal button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--mute); transition: color .15s;
  text-transform: uppercase; letter-spacing: .1em;
}
.foot-legal button:hover { color: var(--rose); }

/* ---------- Cookie consent banner + settings modal ---------- */
.mv-consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(20, 18, 58, .35);
  max-width: 720px; margin-left: auto;
}
.mv-consent-banner[hidden] { display: none; }
.mv-cb-inner {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 22px;
}
.mv-cb-eyebrow {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; font-weight: 700; margin: 0;
  /* Darkened sage: reads as a bold green and stays legible on the cream
     banner (the lighter --sage token fails contrast for small text here). */
  color: #3f6b3a;
}
.mv-cb-text {
  margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink);
}
.mv-cb-text strong { color: var(--navy); font-weight: 600; }
.mv-cb-text a { color: var(--rose); border-bottom: 1px solid currentColor; }
.mv-cb-text em { font-style: italic; color: var(--navy); }
.mv-cb-actions {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end;
}
.mv-cb-btn {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; line-height: 1.3;
  transition: background .15s, color .15s, border-color .15s;
}
.mv-cb-btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.mv-cb-btn-ghost:hover { border-color: var(--navy); }
.mv-cb-btn-primary {
  background: var(--navy); color: var(--amber); border-color: var(--navy);
}
.mv-cb-btn-primary:hover { background: var(--ink); border-color: var(--ink); }

/* Settings modal */
.mv-consent-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.mv-consent-modal[hidden] { display: none; }
.mv-cm-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 18, 58, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mv-cm-card {
  position: relative; background: var(--cream);
  border-radius: 18px; width: 100%; max-width: 520px;
  padding: 32px 30px 24px;
  box-shadow: 0 30px 80px -20px rgba(20, 18, 58, .4);
  max-height: 90vh; overflow-y: auto;
}
.mv-cm-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; font-size: 22px; line-height: 1;
  color: var(--mute); cursor: pointer; padding: 6px 10px; border-radius: 6px;
}
.mv-cm-close:hover { color: var(--ink); background: rgba(20,18,58,.05); }
.mv-cm-eyebrow {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin: 0 0 6px;
}
.mv-cm-card h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 26px; line-height: 1.1; color: var(--navy); margin: 0 0 10px;
}
.mv-cm-intro {
  font-size: 13.5px; line-height: 1.55; color: var(--mute);
  margin: 0 0 18px;
}
.mv-cm-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.mv-cm-row-toggle { cursor: pointer; }
.mv-cm-row:last-of-type { border-bottom: 1px solid var(--line); }
.mv-cm-row-text {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
}
.mv-cm-row-text strong {
  font-family: var(--sans); font-size: 14.5px; color: var(--navy);
}
.mv-cm-row-text span {
  font-size: 12.5px; line-height: 1.5; color: var(--mute);
}
.mv-cm-row-control { flex-shrink: 0; padding-top: 2px; }
.mv-cm-row-control input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--rose); cursor: pointer;
}
.mv-cm-locked {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--mute);
}
.mv-cm-actions {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px;
}

@media (max-width: 640px) {
  .mv-consent-banner { left: 12px; right: 12px; bottom: 12px; }
  .mv-cb-actions { justify-content: stretch; }
  .mv-cb-actions .mv-cb-btn { flex: 1; }
  .mv-cm-card { padding: 28px 22px 20px; }
}

/* =================== INNER PAGES =================== */

/* breadcrumb */
.crumbs {
  max-width: 1320px; margin: 0 auto; padding: 18px 32px 0;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--mute);
}
.crumbs a { color: var(--mute); transition: color .15s; }
.crumbs a:hover { color: var(--rose); }
.crumbs span.sep { margin: 0 10px; opacity: .5; }
.crumbs span.current { color: var(--navy); }

/* page hero (inner pages, smaller than homepage) */
.page-hero {
  max-width: 1320px; margin: 0 auto;
  padding: 48px 32px 72px;
}
.page-hero.split {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center;
}
.page-hero .eyebrow {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.page-hero .eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--rose); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1; letter-spacing: -.025em;
  margin: 0 0 22px; color: var(--navy);
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero h1 .underline { background: linear-gradient(transparent 60%, var(--peach) 60%); padding: 0 .08em; }
.page-hero h1 em.rose { color: var(--rose); }
.page-hero .lede {
  font-size: 19px; line-height: 1.55; color: var(--mute);
  max-width: 60ch; margin: 0 0 24px;
}
.page-hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Monumental hero variant, for the category landing pages. Full-width
   serif headline at the homepage scale, lede + CTA in a row beneath, and
   the hero photo as a wide cinematic band. */
.page-hero--mono {
  display: block;
  padding: 64px 32px 64px;
}
.page-hero--mono .eyebrow { display: inline-flex; }
.page-hero--mono h1 {
  font-size: clamp(54px, 8vw, 124px);
  line-height: .96; letter-spacing: -.03em;
  margin: 0 0 36px;
}
.page-hero--mono .ph-mono-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px;
  align-items: end; border-top: 1px solid var(--line); padding-top: 32px;
}
.page-hero--mono .ph-mono-grid .lede { margin: 0; max-width: 56ch; }
.page-hero--mono .ph-mono-grid .ctas { justify-content: flex-end; }
.page-hero--mono .ph-mono-photo {
  margin-top: 44px; border-radius: 20px; overflow: hidden;
  height: clamp(280px, 34vw, 440px);
}
.page-hero--mono .ph-mono-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .page-hero--mono .ph-mono-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .page-hero--mono .ph-mono-grid .ctas { justify-content: flex-start; }
  .page-hero--mono .ph-mono-photo { height: clamp(220px, 50vw, 360px); }
}

/* Compliance subpages use a custom .cmp-page-hero. Bring it up to the
   monumental treatment (and fix its previously-unstyled sans h1). */
.cmp-page-hero .eyebrow {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.cmp-page-hero .eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--rose); }
.cmp-page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 108px); line-height: .98; letter-spacing: -.03em;
  color: var(--navy); margin: 0 0 22px; text-wrap: balance;
}
.cmp-page-hero h1 em { font-style: italic; color: var(--amber); }
.cmp-page-hero .lede { font-size: 19px; line-height: 1.55; color: var(--mute); margin: 0; }

/* Voice testimonial cards (promoted from the homepage so other pages,
   e.g. the clients page, can reuse them). reviews.js emits this markup
   when a container sets data-reviews-style="voice". */
.hx-voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.hx-voice { display: flex; flex-direction: column; gap: 16px; }
.hx-voice .stars { color: var(--amber); font-size: 13px; letter-spacing: 3px; }
.hx-voice blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.hx-voice .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.hx-voice .av { width: 36px; height: 36px; border-radius: 50%; display: inline-block; }
.hx-voice .who b { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
.hx-voice .who span { font-size: 12.5px; color: var(--mute); }
@media (max-width: 900px) { .hx-voices-grid { grid-template-columns: 1fr; gap: 36px; } }

/* visual panel for inner page hero */
.hero-visual {
  aspect-ratio: 4 / 4.5;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(20,18,58,.35);
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual .ph-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--cream); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
}

/* prose blocks */
.prose { max-width: 64ch; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--ink); opacity: .85; margin: 0 0 18px; }
.prose h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -.02em;
  margin: 36px 0 18px; color: var(--navy);
}
.prose h2 em { font-style: italic; color: var(--rose); }
.prose h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 26px; line-height: 1.1; color: var(--navy); margin: 28px 0 10px;
}
.prose .pull {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  line-height: 1.3; color: var(--navy); border-left: 3px solid var(--rose);
  padding: 4px 0 4px 18px; margin: 24px 0;
}

/* feature grid (4-up "what's included") */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.feat-grid > article {
  background: #fff; border-radius: 16px; padding: 26px 24px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.feat-grid .ico {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--warm); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 18px;
  margin-bottom: 4px;
}
.feat-grid h3 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 22px; line-height: 1.1; color: var(--navy); margin: 0;
}
.feat-grid p { margin: 0; font-size: 14px; color: var(--mute); line-height: 1.55; }

/* two-column split (e.g. "approach + outcomes") */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05; letter-spacing: -.02em;
  margin: 0 0 16px; color: var(--navy);
}
.two-col h2 em { font-style: italic; color: var(--rose); }
.two-col p { font-size: 16px; line-height: 1.6; color: var(--ink); opacity: .82; margin: 0 0 14px; }
.two-col ul { padding: 0; margin: 12px 0 0; list-style: none; }
.two-col ul li {
  font-size: 15px; line-height: 1.55; padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 10px; align-items: baseline;
  color: var(--ink);
}
.two-col ul li::before {
  content: '✦'; color: var(--rose); font-size: 12px;
}

/* numbered process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.steps .num {
  font-family: var(--serif); font-style: italic; font-size: 36px;
  color: var(--rose); line-height: 1; margin-bottom: 8px;
}
.steps h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 20px; color: var(--navy); margin: 0 0 6px;
}
.steps p { font-size: 13.5px; color: var(--mute); margin: 0; line-height: 1.55; }

/* related services strip */
.related-strip {
  background: var(--warm);
  padding: 56px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.related-strip-inner { max-width: 1320px; margin: 0 auto; }
.related-strip h4 {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin: 0 0 22px; font-weight: 500;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.related-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; transition: transform .2s, box-shadow .2s;
  display: block;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(20,18,58,.3); }
.related-card .lab {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin-bottom: 8px;
}
.related-card h5 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--navy); margin: 0 0 6px;
}
.related-card p { font-size: 13.5px; color: var(--mute); line-height: 1.5; margin: 0; }

/* contact page */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
}
.contact-info h3 {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose); margin: 0 0 12px; font-weight: 500;
}
.contact-info .big {
  font-family: var(--serif); font-size: 32px; color: var(--navy);
  line-height: 1.15; margin: 0 0 28px; font-weight: 400;
}
.contact-info .big em { font-style: italic; color: var(--rose); }
.contact-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px;
  background: #fff; margin-bottom: 14px;
}
.contact-card h4 {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--mute); margin: 0 0 6px; font-weight: 500;
}
.contact-card p {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--navy); margin: 0; line-height: 1.2;
}
.contact-card a { color: var(--navy); transition: color .15s; }
.contact-card a:hover { color: var(--rose); }
.contact-card .small { font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--mute); margin-top: 6px; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 30px; line-height: 1; margin: 0 0 8px; color: var(--navy);
}
.contact-form .sub { color: var(--mute); margin: 0 0 22px; font-size: 14px; }

/* blog */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -28px rgba(20,18,58,.3); }
.blog-card .b-img {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--peach), var(--rose));
}
.blog-card .b-img.sage { background: linear-gradient(135deg, #c5d4ba, #8aa07a); }
.blog-card .b-img.amber { background: linear-gradient(135deg, #fdd789, #d4892a); }
.blog-card .b-img.violet { background: linear-gradient(135deg, #b8a8d4, #564b8a); }
.blog-card .b-img.navy { background: linear-gradient(135deg, #564b8a, #1d1b4b); }
.blog-card .b-img svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.blog-card .b-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card .b-tag {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--rose);
}
.blog-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; line-height: 1.1; letter-spacing: -.015em;
  margin: 0; color: var(--navy);
}
.blog-card p { font-size: 14px; color: var(--mute); line-height: 1.55; margin: 0; }
.blog-card .b-meta {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--mute); margin-top: auto; padding-top: 12px;
}

/* responsive */
@media (max-width: 980px) {
  .hero, .story-band .section, .cta-band .inner, .page-hero.split, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc { grid-column: span 2; }
  .svc.feature { grid-column: span 2; flex-direction: column; }
  .svc.feature .svc-img-large { flex: 0 0 220px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid, .related-grid, .blog-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col-design,
  .foot-col-compliance { grid-column: auto; grid-row: auto; }

  /* --- nav goes to hamburger / drawer at this width --- */
  .nav { grid-template-columns: auto 1fr; padding: 14px 20px; }
  .nav-toggle { display: block; }
  .nav .links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column; align-items: stretch;
    gap: 6px;
    padding: 12px 0 4px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open .links { display: flex; }
  .nav .links > a,
  .nav-dropdown-trigger { padding: 12px 0; font-size: 16px; width: 100%; text-align: left; }
  .nav-dropdown-trigger { justify-content: space-between; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent;
    border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 8px 8px; padding: 4px 0 4px 14px;
    min-width: 0; display: none;
  }
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .nav-ctas {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 14px; margin-top: 4px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open .nav-ctas { display: flex; }
  .nav-support { justify-content: center; padding: 8px 0; font-size: 15px; }
  .nav-login { text-align: center; padding: 8px 0; font-size: 15px; }
  .nav .cta { text-align: center; justify-content: center; }
  .logos-inner { grid-template-columns: 1fr; }
  .logos .row { grid-template-columns: repeat(3, 1fr); }
  .cta-band { margin-left: 16px; margin-right: 16px; }
  .cta-band .left, .cta-form { padding: 32px; }
  .story-stats { grid-template-columns: 1fr; }
  .page-hero { padding: 32px 32px 48px; }
  .two-col { gap: 32px; }
  .contact-grid { gap: 32px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 46px; }
  .page-hero h1 { font-size: 40px; }
  .section { padding: 64px 20px; }
  .services { grid-template-columns: 1fr; }
  .svc, .svc.feature { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .feat-grid, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-col-design,
  .foot-col-compliance { grid-column: auto; grid-row: auto; }
  .nav { padding: 16px 20px; }
  .nav .cta { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 16px 20px 40px; }
  .form-row { grid-template-columns: 1fr; }
  .crumbs { padding: 14px 20px 0; }
  .page-hero { padding: 24px 20px 40px; }
  .related-strip { padding: 40px 20px; }
  .contact-form { padding: 28px; }
}

.silhouette-bg { fill: rgba(20,18,58,.18); }
.silhouette-fg { fill: rgba(20,18,58,.55); }

/* When the WebP <picture> wrap is active (IMG_WEBP), <picture> must not affect
   layout: display:contents makes it transparent so the img participates in the
   container as if it were a direct child. The selectors below use a descendant
   combinator so they match the img whether it is a direct child or nested in a
   <picture>. */
picture { display: contents; }
/* Photographic placeholders fill their container, cropped to cover. */
.svc-img img,
.svc-img-large img,
.pcard .pimg img,
.story-img img,
.portrait-wrap img.photo,
.hero-visual img,
.testi cite .av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hero portrait: zoom 4% to crop out any AI-generated border. */
.portrait-wrap img.photo {
  transform: scale(1.04);
  transform-origin: center;
}
/* Avatar img, the .av container is small (44px) and not positioned absolute */
.testi cite .av img { position: absolute; }
.testi cite .av { position: relative; }

/* ---------- FULL-MENU SERVICE LIST (homepage) ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 980px;
  margin: 0 auto;
}
.menu-grid-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1240px;
}
@media (max-width: 980px) {
  .menu-grid-4 { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .menu-grid-4 { grid-template-columns: 1fr; gap: 28px; }
}
.menu-cat {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--rose);
  margin: 0 0 18px;
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list a {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  font-style: italic;
  font-weight: 400;
  transition: color .15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
.menu-list a::after {
  content: "→";
  font-family: var(--mono);
  font-style: normal;
  font-size: 14px;
  color: var(--mute);
  transition: transform .15s, color .15s;
}
.menu-list a:hover { color: var(--rose); }
.menu-list a:hover::after { color: var(--rose); transform: translateX(4px); }
@media (max-width: 720px) {
  .menu-grid { grid-template-columns: 1fr; gap: 32px; }
  .menu-list a { font-size: 19px; }
}

/* ---------- FOOTPRINT MAP ---------- */
.footprint-wrap {
  margin: 36px auto 0;
  max-width: 1080px;
  padding: 12px 0;
}
.footprint-svg {
  display: block;
  width: 100%;
  height: auto;
}
.footprint-svg .states path {
  fill: #fbf6ec;
  stroke: rgba(20, 18, 58, .08);
  stroke-width: 0.75;
}
.footprint-svg .state-borders {
  fill: none;
  stroke: rgba(20, 18, 58, .18);
  stroke-width: 0.75;
  stroke-linejoin: round;
  pointer-events: none;
}
.footprint-svg .city-dot {
  fill: var(--amber);
  stroke: var(--ink);
  stroke-width: 1.25;
}
.footprint-svg .city-dot-halo {
  fill: var(--amber);
  opacity: .18;
}
.footprint-svg .city:hover .city-dot-halo { opacity: .35; }
.footprint-svg .city { cursor: default; }
.footprint-legend {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--mute);
  text-align: center;
  margin-top: 14px;
}
