/* ============================================================
   Victory Consulting — Studio Seven build
   Themed to Brand Book V1 (August 2026)
   Palette: Victory Navy 7546C · Deep Navy 7547C · 407C/406C · Ember 484C · Gold 7563C · Off-White
   Type: Source Sans 3 (instructs) + Source Serif 4 (believes)
   ============================================================ */

:root {
  /* Brand colors (Brand Book p.16–17) */
  --navy: #253746;        /* Victory Navy 7546C — headings + Victory wordmark */
  --midnight: #131E29;    /* Deep Navy 7547C — the dark canvas, grounds and overlays */
  --stone: #C4BCB7;       /* 406C — Consulting reversed, tint base */
  --stone-2: #B2A8A2;     /* 407C — Consulting on the full-color logo */
  --red: #9A3324;         /* Ember 484C — the single accent, small amounts, LIGHT grounds only */
  --gold: #D69A2D;        /* Gold 7563C — premium accent (approved as text on Deep Navy) */
  --taupe: #3D3935;       /* Black 7 — all body copy on a light ground */
  --muted: #746661;       /* 410C — captions, muted support */
  --rule: #857874;        /* 409C — rules and dividers */
  --white: #FCFBFA;       /* Off-White — the light canvas */
  --card-bg: #FFFFFF;     /* pure white — boxes on the canvas */
  --cloud: #F0EEED;       /* 406C @ 25% — tint band (bands, table banding, quiet structure) */
  --line: #E8E5E2;        /* 406C @ 39% — hairlines where two fields meet */
  --line-dark: rgba(255,255,255,.14);
  --navy-20: #D3D7DA;     /* navy 20% tint — backgrounds/UI states only */

  /* Type (Brand Book p.19) */
  --font-sans: "Source Sans 3", "Segoe UI", -apple-system, sans-serif;  /* what Victory instructs */
  --font-serif: "Source Serif 4", Georgia, serif;                       /* what Victory believes */

  /* Spacing */
  --container: 1240px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 56px);
  --edge: clamp(18px, 3.2vw, 46px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--taupe); /* Black 7 body copy on the light canvas (Brand Book p.17) */
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }

/* ============ Header — Studio Seven floating nav (exact spec) ============ */
.site-header {
  position: fixed; top: 20px; left: var(--edge); right: var(--edge); height: 68px;
  z-index: 100; pointer-events: auto;
}
.site-header-inner {
  position: relative; height: 100%;
  display: flex; justify-content: space-between; align-items: center;
}

/* ⭐ Unified background pill — expands to swallow the whole bar on hover */
.site-header::before {
  content: ""; position: absolute; top: -8px; left: -18px; right: -18px; bottom: -8px;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.09); border-radius: 9999px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.14), 0 6px 18px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  opacity: 0; transform: scale(0.32, 0.9); transform-origin: center;
  transition: opacity .35s cubic-bezier(.2,.7,.2,1), transform .42s cubic-bezier(.22,1,.36,1);
  z-index: -1; pointer-events: none;
}
.site-header:hover::before,
.site-header.is-scrolled::before { opacity: 1; transform: scale(1, 1); }

/* Logo (left) — 78px, overflows the 68px bar slightly (allowed) */
.brand { display: flex; align-items: center; position: relative; z-index: 1; }
.brand .logo { height: 36px; width: auto; display: block; transition: opacity .2s ease; }
.brand .logo-white { display: none; }
.brand:hover .logo { opacity: .75; }

/* Center pill (nav links) — absolutely centered, dissolves on nav hover */
.nav-primary {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 2px; list-style: none;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.06); border-radius: 9999px; padding: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.03);
  transition: background .32s cubic-bezier(.2,.7,.2,1), border-color .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s cubic-bezier(.2,.7,.2,1);
}
.site-header:hover .nav-primary,
.site-header.is-scrolled .nav-primary {
  background: transparent; border-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.nav-primary a {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans); font-weight: 400; font-size: 14px; letter-spacing: -0.005em;
  color: #0c0d12; border-radius: 9999px; padding: 10px 18px; white-space: nowrap;
  transition: background .2s ease;
}
.nav-primary a:hover { background: rgba(0,0,0,0.05); }
.nav-primary a.active { background: rgba(0,0,0,0.06); }

/* Services dropdown ("What We Do") */
.nav-primary .has-dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-sans); font-weight: 400; font-size: 14px; letter-spacing: -0.005em;
  color: #0c0d12; border-radius: 9999px; padding: 10px 18px; white-space: nowrap; cursor: pointer; user-select: none;
  transition: background .2s ease;
}
.has-dropdown:hover .dropdown-toggle, .dropdown-toggle.active { background: rgba(0,0,0,0.05); }
.dropdown-toggle .caret { transition: transform .25s ease; }
.has-dropdown:hover .dropdown-toggle .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 12px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.dropdown-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 8px; min-width: 244px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.14), 0 6px 18px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
}
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap;
  font-family: var(--font-sans); font-weight: 400; font-size: 14px; letter-spacing: -0.005em; color: #0c0d12;
  transition: background .18s ease;
}
.dropdown-menu a:hover, .dropdown-menu a.active { background: rgba(0,0,0,0.04); }

/* Right side */
.header-cta { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.header-phone { display: none; }
.nav-contact { display: none; } /* only shown inside the mobile menu */

/* Contact — solid black pill */
.site-header .header-cta .btn-accent {
  background: #0c0d12; color: #fff; border: none; border-radius: 100px;
  padding: 12px 24px; font-family: var(--font-sans); font-weight: 500; font-size: 14px; letter-spacing: -0.005em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.site-header .header-cta .btn-accent:hover {
  background: #0c0d12; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}

/* Logo color adapts over the dark video hero */
body.hero-dark .site-header:not(.is-scrolled) .logo-navy { display: none; }
body.hero-dark .site-header:not(.is-scrolled) .logo-white { display: block; }
/* when the white unified pill expands on hover, switch back to the dark logo */
body.hero-dark .site-header:not(.is-scrolled):hover .logo-white { display: none; }
body.hero-dark .site-header:not(.is-scrolled):hover .logo-navy { display: block; }
body.hero-dark .site-header:not(.is-scrolled) .menu-toggle { color: #fff; }
.site-header:hover .menu-toggle,
.site-header.is-scrolled .menu-toggle { color: #0c0d12; }

/* ============ Video hero ============ */
.hero-video-wrap { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-video-wrap > .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video-wrap .hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,14,20,.54) 0%, rgba(10,14,20,.48) 45%, rgba(10,14,20,.58) 72%, rgba(10,14,20,.80) 100%);
}
.hero-video-wrap .container { position: relative; z-index: 2; max-width: none; padding: 0 var(--edge) clamp(56px,8vw,104px); width: 100%; }
.hero-video-wrap .eyebrow { color: rgba(255,255,255,.9); }
.hero-video-wrap .eyebrow:before { background: rgba(255,255,255,.6); }
.hero-video-wrap h1 { color: #fff; max-width: 940px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-video-wrap h1 em { color: var(--stone); }
.hero-video-wrap .lead { color: rgba(255,255,255,.92); text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero-video-wrap .rotator { color: var(--stone); }
.hero-media-mobile { display: none; }
.hero-video-wrap .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.hero-video-wrap .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-video-wrap .hero-ctas { margin-top: 34px; }
@media (max-width: 760px) {
  .hero-media-desktop { display: none; }
  .hero-media-mobile { display: block; }
  .hero-video-wrap { min-height: 100svh; }
}

/* ============ Buttons (Guidelines p.14/16) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(19,30,41,.4); }
.btn-primary { background: var(--navy); color: #fff; }             /* navy fill / white label */
.btn-primary:hover { background: var(--midnight); }
.btn-accent { background: var(--red); color: #fff; }               /* red fill — LIGHT sections only */
.btn-accent:hover { background: #7f2a1e; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }               /* on dark: white fill / navy label */
.btn-light:hover { background: var(--cloud); }
.bg-deep .btn-outline, .bg-deep-2 .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.bg-deep .btn-outline:hover, .bg-deep-2 .btn-outline:hover { background: #fff; color: var(--navy); }
.btn.sm { padding: 12px 22px; font-size: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); transition: gap var(--t-med) var(--ease), color var(--t-fast);
}
.link-arrow:after { content: "→"; }
.link-arrow.long { text-transform: none; letter-spacing: .01em; font-size: .95rem; }
.link-arrow:hover { gap: 14px; color: var(--navy); }

.menu-toggle { display: none; }

/* ============ Sections ============ */
section { padding: clamp(60px, 9vw, 130px) 0; position: relative; }
section.tight { padding: clamp(40px, 5vw, 70px) 0; }
.bg-card { background: var(--cloud); }          /* 406C tint band */
.bg-deep { background: var(--midnight); color: #fff; }  /* the dark canvas — Deep Navy */
.bg-deep-2 { background: var(--navy); color: #fff; }

/* The Angle (Brand Book p.22) — a quiet panel whose edge runs 19° off vertical, like the book covers */
.bg-deep, .bg-deep-2 { overflow: hidden; }
.bg-deep::before, .bg-deep-2::before {
  content: ""; position: absolute; top: -12%; bottom: -12%; right: -14%; width: 44%;
  background: rgba(255,255,255,.035); transform: skewX(-19deg); pointer-events: none;
}
.bg-deep > .container, .bg-deep-2 > .container { position: relative; z-index: 1; }

.page-header { padding: clamp(80px, 11vw, 160px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.page-header.tall { padding: clamp(100px, 13vw, 190px) 0 clamp(80px, 10vw, 140px); }
.page-header > .container { max-width: none; padding: 0 var(--edge); }
/* Reserved keyline — premium separator: navy → gold hairline → red (flagship openers only) */
.page-header.keyline { border-bottom: 0; }
.page-header.keyline:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 62%, var(--gold) 62% 78%, var(--red) 78% 100%);
}
/* Photo-filled hero: page-specific image on the right, faded out under the text */
.page-header.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--ph-img); background-size: cover; background-position: center right;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 40%, rgba(0,0,0,.82) 72%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0 40%, rgba(0,0,0,.82) 72%, #000 100%);
  opacity: .92;
}
.page-header.has-photo > .container { position: relative; z-index: 1; }
.page-header.has-photo h1, .page-header.has-photo .lead { max-width: 600px; }
@media (max-width: 900px) { .page-header.has-photo::after { display: none; } }

/* Eyebrow — Source Sans caps with the Ember dash cut at the brand's 19° angle (Brand Book p.20/22) */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow:before {
  content: ""; width: 30px; height: 4px;
  background: var(--red); transform: skewX(-19deg); /* the V's 19° stroke angle */
}
.bg-deep .eyebrow, .bg-deep-2 .eyebrow { color: rgba(255,255,255,.85); }
.bg-deep .eyebrow:before, .bg-deep-2 .eyebrow:before { background: var(--red); } /* Ember dash reads as artwork, like the Brand Book covers */
.eyebrow.center { justify-content: center; }

/* Display / H1 — ExtraBold 800, pulled to the Brand Book scale (p.20) */
h1 {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08;
  letter-spacing: -.015em; max-width: 900px; color: var(--navy);
}
.bg-deep h1, .bg-deep-2 h1 { color: #fff; }
h1 em, h2 em { font-style: normal; color: var(--red); }
.bg-deep h1 em, .bg-deep h2 em, .bg-deep-2 h1 em, .bg-deep-2 h2 em { color: var(--stone); font-style: normal; } /* Ember stays on light (p.21) */
/* Lead — the sentences the firm stands behind run in Source Serif 4 (p.19) */
.lead { margin-top: 26px; font-family: var(--font-serif); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; max-width: 640px; color: var(--taupe); font-weight: 400; }
.bg-deep .lead, .bg-deep-2 .lead { color: rgba(255,255,255,.8); }
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.section-head { margin-bottom: clamp(40px, 5vw, 70px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18;
  color: var(--navy); letter-spacing: -.01em;
}
.bg-deep h2, .bg-deep-2 h2 { color: #fff; }
.section-head p { margin-top: 16px; color: var(--taupe); font-size: 17px; }
.bg-deep .section-head p { color: rgba(255,255,255,.75); }

/* ============ Reveal motion ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 720ms cubic-bezier(.22,1,.36,1), transform 720ms cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; } .reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; } .reveal.d4 { transition-delay: 360ms; }
.reveal-mask { overflow: hidden; }
.reveal-mask > span { display: block; transform: translateY(110%); transition: transform 950ms var(--ease); }
.reveal-mask.visible > span { transform: none; }

/* ============ Trusted-by logo strip — inside the hero (Studio Seven) ============ */
.hero-video-wrap.has-brands .container { padding-bottom: clamp(270px, 33vh, 320px); }
.hero-brands {
  position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 3;
  pointer-events: none; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-brands-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,11,16,0) 0%, rgba(8,11,16,0) 30%, rgba(8,11,16,.18) 46%, rgba(8,11,16,.44) 74%, rgba(8,11,16,.62) 100%);
}
.hero-brands-label {
  position: relative; z-index: 2; text-align: left;
  color: rgba(255,255,255,.72); font-family: var(--font-sans);
  font-size: 13px; font-weight: 400; letter-spacing: .02em;
  padding: 0 var(--edge) 18px;
}
.hero-brands-track {
  position: relative; z-index: 2; width: 100%; overflow: hidden; padding-bottom: 34px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hero-brands-row {
  display: flex; align-items: center; width: max-content;
  animation: heroBrandScroll 55s linear infinite;
}
/* trailing margin on every logo (incl. last) keeps the -50% loop perfectly seamless */
.hero-brands-row img {
  height: 150px; width: auto; display: block; flex: 0 0 auto; object-fit: contain;
  margin-right: 70px; opacity: .95; filter: brightness(1.28);
}
@keyframes heroBrandScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 900px) {
  /* strip pulled lower + tighter so hero content sits further down the page */
  .hero-video-wrap.has-brands .container { padding-bottom: 232px; }
  .hero-brands { height: 222px; }
  .hero-brands-label { font-size: 11px; padding: 0 var(--edge) 6px; }
  .hero-brands-track { padding-bottom: 10px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  }
  .hero-brands-row { will-change: transform; transform: translateZ(0); }
  .hero-brands-row img { height: 180px; margin-right: 26px; }
}

/* ============ Cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.card {
  background: var(--card-bg); border: 1px solid var(--line);
  border-radius: 10px; padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.bg-card .card { background: var(--card-bg); }
section:not(.bg-card):not(.bg-deep) .card { background: var(--cloud); border-color: transparent; }
.card:hover { transform: translateY(-10px); box-shadow: 0 30px 64px -30px rgba(19,30,41,.5); border-color: var(--navy); }
.card .icon {
  width: 54px; height: 54px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--navy);
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.card .icon svg { stroke-width: 2.2px; }
.card:hover .icon { transform: translateY(-4px) scale(1.06); background: var(--navy); color: #fff; border-color: var(--navy); }
.card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 21px; color: var(--navy); margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--taupe); margin-bottom: 12px; }
.card .link-arrow { margin-top: auto; padding-top: 14px; }

/* Key-point callout — navy card, red top edge (Guidelines p.16) */
.callout-key {
  background: var(--navy); color: #fff; border-radius: 10px;
  border-left: 3px solid var(--gold); /* Ember stays on light — gold is the accent on dark (p.21) */
  padding: 18px 24px; margin: 22px 0;
}
.callout-key h3, .split .callout-key h3 { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.callout-key p, .split .callout-key p { color: #fff; font-size: 15.5px; line-height: 1.55; margin: 0; }

/* ============ Split ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

/* Wide split — full-width, tighter side spacing, shorter vertically */
.intro, .split-wide { padding: clamp(44px, 5.5vw, 82px) 0; }
.intro > .container, .split-wide > .container, .container.wide { max-width: none; padding: 0 var(--edge); }
.intro .split, .split-wide .split { grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 3vw, 48px); align-items: stretch; }
.intro .split > *, .split-wide .split > * { align-self: center; }
.intro .split .visual, .split-wide .split .visual { min-height: clamp(300px, 34vw, 460px); align-self: stretch; }
.container.wide .section-head { max-width: 760px; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--taupe); margin-bottom: 15px; }
.bg-deep .split p { color: rgba(255,255,255,.78); }

/* Photo slot — placeholder until client photography arrives */
.split .visual {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 10px; min-height: clamp(340px, 40vw, 460px);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
}
.split .visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.photo-slot-label {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; text-align: center; padding: 0 24px; opacity: .75;
}
.photo-slot-mark { width: 56px; opacity: .16; }

/* Checklist — small red squares, not round bullets (Guidelines p.16) */
.checklist { list-style: none; margin-top: 24px; }
.checklist li { padding-left: 26px; position: relative; margin-bottom: 14px; color: var(--taupe); font-size: 16px; }
.bg-deep .checklist li { color: rgba(255,255,255,.8); }
.checklist li:before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 8px; height: 8px; background: var(--red); border-radius: 1px; transform: skewX(-19deg); /* 19° brand angle */
}
.bg-deep .checklist li:before { background: var(--stone); } /* red never on dark */

/* ============ Stats ============ */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.big-stat { text-align: center; padding: 8px; }
.big-stat .num {
  font-family: var(--font-sans); font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -.01em; /* gold on Deep Navy — premium pieces (p.21) */
}
.big-stat .lbl {
  margin-top: 12px; font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone); font-weight: 600;
}
.bg-card .big-stat .num, .stats-light .big-stat .num { color: var(--navy); }
.bg-card .big-stat .lbl, .stats-light .big-stat .lbl { color: var(--muted); }

/* ============ Quotes ============ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px); }
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: clamp(28px, 3vw, 38px);
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -28px rgba(19,30,41,.3); }
.bg-deep .quote { background: rgba(255,255,255,.045); border-color: var(--line-dark); }
.quote .qmark { font-family: var(--font-sans); font-size: 52px; font-weight: 800; line-height: .6; color: var(--red); margin-bottom: 22px; }
.bg-deep .quote .qmark { color: var(--stone); } /* red never on dark */
.quote p { font-size: 15.5px; color: var(--taupe); flex: 1; }
.bg-deep .quote p { color: rgba(255,255,255,.82); }
.quote .who { margin-top: 26px; font-weight: 700; font-size: 15px; color: var(--navy); }
.bg-deep .quote .who { color: #fff; }
.quote .who small { display: block; font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); margin-top: 4px; }
.bg-deep .quote .who small { color: var(--stone); }
.quote.feature { grid-column: span 3; text-align: center; padding: clamp(40px, 5vw, 60px); }
.quote.feature p { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.5; color: var(--navy); font-weight: 500; }

/* --- Google-review styling: white cards + gold stars --- */
.quote { background: #fff; border: 1px solid var(--line); }
.quote .qmark { display: none; }
.quote::before {
  content: "★★★★★"; display: block; color: #FBBC04;
  font-size: 17px; letter-spacing: 3px; line-height: 1; margin-bottom: 16px;
}
.quote p { color: #3c4650; }
.quote .who { color: #0c0d12; }
.quote .who small { color: #5b6670; }
.bg-deep .quote { background: #fff; border-color: transparent; box-shadow: 0 24px 60px -34px rgba(0,0,0,.55); }
.bg-deep .quote p { color: #3c4650; }
.bg-deep .quote .who { color: #0c0d12; }
.bg-deep .quote .who small { color: #5b6670; }
.quote.feature::before { text-align: center; }
.quote.feature p, .bg-deep .quote.feature p { color: var(--navy); }

.divider-quote {
  text-align: center; max-width: 800px; margin: 0 auto;
  font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500; line-height: 1.5; color: var(--navy);
}
.divider-quote .attr {
  display: block; margin-top: 22px; font-style: normal;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--midnight);
  border-radius: 10px; padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 60px);
  position: relative; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  box-shadow: 0 22px 50px -28px rgba(19,30,41,.5);
}
/* VC mark watermark — subtle brand accent in the CTA banner */
.cta-banner::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 340px; height: 258px;
  background: url("assets/mark-white.svg") no-repeat center / contain;
  opacity: .06; pointer-events: none;
}
/* 19° angle panel (Brand Book p.22) */
.cta-banner::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; right: -10%; width: 42%;
  background: rgba(255,255,255,.04); transform: skewX(-19deg); pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { margin-top: 14px; color: rgba(255,255,255,.75); }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: span 2; }
label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 8px; }
input, textarea, select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; font-family: inherit; font-size: 15.5px;
  color: var(--navy); transition: border var(--t-fast), box-shadow var(--t-fast);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(36,55,71,.1); }
textarea { min-height: 140px; resize: vertical; }

/* ============ Team ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 28px); }
/* Flip card: photo + name/title on front, bio on back (tap/click to flip) */
/* Fixed aspect + both faces absolutely stacked → every card identical size, no flip glitch */
.person { background: transparent; border: none; cursor: pointer; perspective: 1600px; }
.person .flip-inner {
  position: relative; width: 100%; aspect-ratio: 1 / 1.46;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.person.flipped .flip-inner { transform: rotateY(180deg); }
.person .face {
  position: absolute; inset: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.person .face.front { display: flex; flex-direction: column; transition: box-shadow .45s var(--ease), border-color .45s var(--ease); }
.person:hover .face.front { box-shadow: 0 26px 58px -32px rgba(19,30,41,.45); border-color: var(--navy-20); }
.person .face.back {
  transform: rotateY(180deg); background: var(--navy); color: #fff;
  padding: clamp(16px,1.4vw,22px); display: flex; flex-direction: column; justify-content: center;
}
.person .photo { aspect-ratio: 1/1; flex: none; overflow: hidden; background: var(--cloud); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 700ms var(--ease); }
.person:hover .photo img { transform: scale(1.04); }
.person .meta { flex: 1; min-height: 0; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; }
.person .meta .nm { font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.15; }
.person .meta .ttl { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 5px; line-height: 1.3; }
.person .flip-hint { display: inline-block; margin-top: 9px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: var(--red); font-weight: 700; opacity: .8; }
.person .flip-hint::before { content: "\21ba  "; }
.person .face.back .nm { font-weight: 700; font-size: 16px; color: #fff; line-height: 1.2; }
.person .face.back .ttl { font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--stone); font-weight: 700; margin-top: 4px; line-height: 1.3; }
.person .face.back .bio { font-size: 11.5px; color: rgba(255,255,255,.88); margin-top: 10px; line-height: 1.5; }

/* Double side padding helper (Meet Victory century + team, Insights) */
.split-wide.pad2x > .container,
.container.wide.pad2x { padding-left: calc(var(--edge) * 2); padding-right: calc(var(--edge) * 2); }

/* ---- Section side-padding presets (desktop target px, scales down on narrow screens) ---- */
/* Page-wide default via body class; hero is always excluded */
body.pad150 section:not(.hero-video-wrap) > .container,
body.pad200 section:not(.hero-video-wrap) > .container,
body.pad250 section:not(.hero-video-wrap) > .container { max-width: none; margin: 0; }
body.pad150 section:not(.hero-video-wrap) > .container { padding-left: clamp(20px,10.4vw,150px); padding-right: clamp(20px,10.4vw,150px); }
body.pad200 section:not(.hero-video-wrap) > .container { padding-left: clamp(24px,13.9vw,200px); padding-right: clamp(24px,13.9vw,200px); }
body.pad250 section:not(.hero-video-wrap) > .container { padding-left: clamp(24px,17.4vw,250px); padding-right: clamp(24px,17.4vw,250px); }
/* Per-section overrides (used on home) — placed after body rules to win on equal specificity */
body.pad150 section.px250 > .container { padding-left: clamp(24px,17.4vw,250px); padding-right: clamp(24px,17.4vw,250px); }
body.pad150 section.px300 > .container { padding-left: clamp(28px,20.8vw,300px); padding-right: clamp(28px,20.8vw,300px); }
/* Bigger, more filled photo splits on the What We Do pages */
body.pad250 .split .visual { min-height: clamp(380px, 42vw, 580px); }

/* Smaller team photos: cap grid width so squares shrink */
#team .team-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }

/* Join-the-team card */
.team-grid .join-card {
  grid-column: span 3; background: var(--navy); color: #fff;
  border-radius: 10px; display: flex; align-items: center;
}
.team-grid .join-card .join-inner { padding: clamp(26px, 3vw, 42px); width: 100%; }
.join-card .eyebrow { color: var(--stone); }
.join-card h3 { color: #fff; font-weight: 700; font-size: clamp(23px, 2.3vw, 30px); margin: 8px 0 10px; }
.join-card p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.6; max-width: 640px; }
.join-form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.join-form .jf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.join-form input, .join-form textarea {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: 14.5px;
}
.join-form input::placeholder, .join-form textarea::placeholder { color: rgba(255,255,255,.55); }
.join-form input:focus, .join-form textarea:focus { outline: none; border-color: var(--stone); background: rgba(255,255,255,.12); }
.join-form textarea { resize: vertical; }
.join-form .btn-accent { align-self: flex-start; margin-top: 2px; background: var(--gold); color: var(--midnight); }
.join-form .btn-accent:hover { background: #c08a26; }
@media (max-width: 980px){ .team-grid .join-card { grid-column: span 1; } .join-form .jf-row { grid-template-columns: 1fr; } }

/* ============ Blog ============ */
.post-card {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(28px, 4vw, 44px); max-width: 760px; display: block;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -28px rgba(19,30,41,.3); border-color: var(--navy-20); }
.post-card .date { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.post-card h3 { font-size: 25px; font-weight: 700; color: var(--navy); margin: 14px 0; }
.post-card p { color: var(--taupe); font-size: 15.5px; }

/* Insights listing: intro left, posts right */
.blog-split { display: grid; grid-template-columns: 0.82fr 1.5fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.blog-intro { position: sticky; top: 116px; }
.blog-intro .eyebrow { margin-bottom: 14px; }
.blog-intro h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
.blog-intro p { color: var(--taupe); margin-top: 18px; font-size: 16px; line-height: 1.66; }
.blog-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 28px); }
@media (max-width: 900px){ .blog-posts { grid-template-columns: repeat(2, 1fr); } }
.blog-posts .post-card { padding: 0; overflow: hidden; max-width: none; }
.blog-posts .post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.blog-posts .post-card .date { padding: 22px 22px 0; display: block; }
.blog-posts .post-card h3 { font-size: 20px; line-height: 1.24; margin: 10px 22px; }
.blog-posts .post-card p { padding: 0 22px 24px; }
@media (max-width: 980px){ .blog-split { grid-template-columns: 1fr; } .blog-intro { position: static; } }
@media (max-width: 620px){ .blog-posts { grid-template-columns: 1fr; } }

.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(32px, 4.2vw, 46px); }
.article .meta-line { margin: 22px 0 44px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.article h2 { font-size: 25px; margin: 46px 0 15px; }
/* Long-form body runs in Source Serif 4 (Guidelines p.15) */
.article p { margin-bottom: 19px; color: var(--taupe); font-size: 18px; line-height: 1.75; font-family: var(--font-serif); }
.article .callout {
  border-left: 3px solid var(--red); background: var(--cloud); border-radius: 0 10px 10px 0;
  padding: 22px 26px; margin: 30px 0; color: var(--navy); font-size: 16px; font-family: var(--font-sans);
}

/* ============ Credentials strip — continuous scrolling banner ============ */
/* full-bleed so the banner scrolls across the whole screen */
body .creds-section > .container { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
.creds-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.creds-track {
  display: flex; align-items: stretch; width: max-content;
  animation: credScroll 34s linear infinite;
}
.creds-marquee:hover .creds-track { animation-play-state: paused; }
@keyframes credScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
/* each credential is a pill chip; trailing margin on every chip keeps -50% seamless */
.cred {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px;
  margin-right: 18px; padding: 16px 24px;
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 34px -26px rgba(19,30,41,.45);
}
.cred .cred-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--navy); border: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.cred .cred-icon svg { width: 21px; height: 21px; }
.cred .cred-txt { line-height: 1.3; white-space: nowrap; }
.cred .cred-txt b { display: block; font-size: 15.5px; color: #0c0d12; font-weight: 800; }
.cred .cred-txt span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #253746; font-weight: 700; }
@media (max-width: 640px){
  .cred { margin-right: 12px; padding: 13px 18px; }
  .cred .cred-icon { width: 38px; height: 38px; }
}

/* ============ Case studies ============ */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px); }
.case-card {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -28px rgba(19,30,41,.35); border-color: var(--navy-20); }
.case-card .case-photo { aspect-ratio: 16/10; background: var(--cloud); overflow: hidden; position: relative; display:flex; align-items:center; justify-content:center; }
.case-card .case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-card .case-photo .photo-slot-mark { width: 46px; opacity: .16; }
.case-card .case-tag { position: absolute; top: 14px; left: 14px; background: rgba(19,30,41,.82); color:#fff; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 10px; }
.case-card .case-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.case-card .metric { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.case-card .metric-lbl { font-size: 13px; color: var(--muted); margin-top: 6px; margin-bottom: 16px; }
.case-card h3 { font-size: 18.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.case-card p { font-size: 14.5px; color: var(--taupe); flex: 1; }
.case-card .case-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; gap: 14px; flex-wrap: wrap; }
.case-card .case-meta span:before { content: ""; }
.placeholder-note {
  background: rgba(214,154,45,.1); border: 1px dashed var(--gold); border-radius: 10px;
  padding: 12px 16px; font-size: 13px; color: #8a6a1f; margin-bottom: 26px; text-align: center;
}

/* ============ Pills / misc ============ */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pill {
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--navy);
  border: 1.5px solid var(--line); background: #fff;
  padding: 10px 20px; border-radius: 10px;
  transition: all var(--t-med) var(--ease);
}
.pill:hover { border-color: var(--navy); transform: translateY(-2px); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.breadcrumb a:hover { color: var(--navy); }
.notice-404 { text-align: center; padding: clamp(100px, 14vw, 180px) 0; }
.notice-404 .big { font-size: clamp(90px, 14vw, 150px); font-weight: 800; color: var(--stone); line-height: 1; }

.rotator { margin-top: 34px; font-size: 12.5px; letter-spacing: .22em; font-weight: 600; text-transform: uppercase; color: var(--stone); }
.rotator span { opacity: .5; margin: 0 12px; }

/* ============ Footer (Deep Navy canvas, white logo) ============ */
.site-footer { background: var(--midnight); color: rgba(255,255,255,.72); padding: clamp(60px, 8vw, 90px) 0 36px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: -12%; bottom: -12%; right: -14%; width: 40%;
  background: rgba(255,255,255,.03); transform: skewX(-19deg); pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer .brand img.logo { height: 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 60px); }
.site-footer p { font-size: 14.5px; line-height: 1.7; margin-top: 18px; max-width: 300px; }
.site-footer h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; font-weight: 700; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a { font-size: 14.5px; color: rgba(255,255,255,.72); transition: color var(--t-fast), padding-left var(--t-med) var(--ease); }
.site-footer ul a:hover { color: #fff; padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-med) var(--ease);
}
.socials a:hover { background: #fff; border-color: #fff; transform: translateY(-3px); }
.socials a:hover svg { fill: var(--midnight); }
.socials svg { width: 16px; height: 16px; fill: #fff; transition: fill var(--t-fast); }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .site-header { left: 40px; right: 40px; }
}
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .site-header { top: 12px; left: 14px; right: 14px; height: 50px; }
  /* keep the pill fully on-screen (a few px in from each edge) so it renders as a clean oval */
  .site-header::before { left: -8px; right: -8px; top: -7px; bottom: -7px; }
  .brand .logo { height: 23px; }
  .brand { margin-left: 6px; } /* nudge logo right so it sits cleanly inside the pill's rounded end */
  .menu-toggle { display: block; background: none; border: none; cursor: pointer; color: #0c0d12; padding: 8px; }
  .header-cta .btn-accent { font-size: 13px; padding: 9px 18px; }
  /* high-specificity + !important so it always beats the header hover/scroll transparency */
  .site-header .nav-primary.open,
  .site-header:hover .nav-primary.open,
  .site-header.is-scrolled .nav-primary.open {
    display: flex; position: fixed; inset: 68px 12px auto 12px; transform: none;
    background: #fff !important; border: 1px solid var(--line); border-radius: 20px;
    flex-direction: column; align-items: stretch; padding: 10px; gap: 0;
    box-shadow: 0 34px 80px -20px rgba(19,30,41,.5);
    -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 200;
  }
  .nav-primary.open > li { border-bottom: 1px solid var(--line); }
  .nav-primary.open > li:last-child { border-bottom: none; }
  .nav-primary.open a,
  .nav-primary.open .dropdown-toggle { padding: 16px 16px; font-size: 16px; font-weight: 600; color: #0c0d12; border-radius: 12px; }
  .nav-primary.open a:hover, .nav-primary.open a.active { background: var(--cloud); }
  .nav-primary.open .nav-contact a { color: var(--navy); font-weight: 700; }
  .nav-primary.open .has-dropdown { flex-direction: column; align-items: stretch; }
  .nav-primary.open .dropdown-toggle { display: flex; justify-content: space-between; align-items: center; color: #0c0d12; }
  .nav-primary.open .dropdown-toggle .caret { display: none; }
  .nav-primary.open .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; padding-top: 0; }
  .nav-primary.open .dropdown-card { box-shadow: none; border: none; background: transparent; padding: 0 0 6px 10px; min-width: 0; }
  .nav-primary.open .dropdown-card a { font-size: 15px; font-weight: 500; color: #47535e; padding: 11px 14px; }
  .cards, .quotes, .case-cards { grid-template-columns: 1fr; }
  .quote.feature { grid-column: span 1; }
  /* Collapse ALL splits (incl. intro / split-wide) to one column on mobile */
  .split, .intro .split, .split-wide .split { grid-template-columns: 1fr; gap: 26px; }
  /* Always stack text first, image below — override any desktop image-first ordering */
  .split > * { order: 1; }
  .split .visual { order: 2 !important; min-height: 300px !important; }
  /* Header: logo + burger only */
  .header-cta .btn-accent, .header-phone { display: none !important; }
  .nav-primary.open .nav-contact { display: block; }
  /* Hero CTAs: small, left-aligned, stacked (Why Victory under Start the Conversation) */
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-ctas .btn { width: auto; padding: 12px 22px; font-size: 14px; }
  /* Hero headline: tighter, breathing room on the right */
  .hero-video-wrap .container { padding-left: 22px; padding-right: 22px; }
  .hero-video-wrap h1 { font-size: clamp(31px, 8vw, 43px); line-height: 1.13; }
  .hero-video-wrap .lead { font-size: 15px; margin-top: 16px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; margin-bottom: 34px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer p { max-width: none; }
  .site-footer { padding-top: clamp(48px, 12vw, 70px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner .actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  /* Cap oversized desktop side-padding on phones so sections fill the width */
  body.pad150 section:not(.hero-video-wrap) > .container,
  body.pad200 section:not(.hero-video-wrap) > .container,
  body.pad250 section:not(.hero-video-wrap) > .container,
  body.pad150 section.px250 > .container,
  body.pad150 section.px300 > .container,
  .intro > .container, .split-wide > .container, .container.wide,
  .split-wide.pad2x > .container, .container.wide.pad2x {
    padding-left: 20px !important; padding-right: 20px !important;
  }
  /* Squarer, fuller cards */
  .card { padding: 22px; }
  .case-card .case-photo { height: 200px; }
  .case-card .case-photo img { height: 100%; width: 100%; object-fit: cover; }
  .case-card .case-body { padding: 22px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-grid .join-card { grid-column: 1 / -1; }
  .person .meta { padding: 11px 13px; }
  .person .meta .nm { font-size: 14.5px; }
  .person .meta .ttl { font-size: 9px; }
  .person .flip-hint { font-size: 8px; margin-top: 6px; }
  .person .face.back { padding: 13px 14px; }
  .person .face.back .nm { font-size: 14px; }
  .person .face.back .bio { font-size: 10.5px; margin-top: 8px; line-height: 1.46; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
  .header-cta .btn { padding: 11px 18px; font-size: .8rem; }
}

/* ============ Reduced motion / print ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-mask > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .btn, .menu-toggle { display: none !important; }
}

/* ============ Clean UI polish — rounder cards + smooth hover ============ */
.quote, .case-card, .split .visual { border-radius: 10px; }
.card, .callout-key, .quote, .case-card {
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s cubic-bezier(.22,1,.36,1), border-color .45s var(--ease);
}
.case-card:hover { transform: translateY(-10px); box-shadow: 0 30px 64px -30px rgba(19,30,41,.5); border-color: var(--navy); }
.quote:hover { transform: translateY(-8px); box-shadow: 0 26px 58px -30px rgba(19,30,41,.4); }
.case-card .case-photo img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.case-card:hover .case-photo img { transform: scale(1.06); }
.split .visual img.photo { transition: transform .7s cubic-bezier(.22,1,.36,1); }
.split .visual:hover img.photo { transform: scale(1.04); }

/* Footer VC mark beside the copyright */
.footer-mark-wrap { display: inline-flex; align-items: center; gap: 10px; }
.footer-mark { height: 22px; width: auto; opacity: .9; }

/* ============ Theme toggle button ============ */
.theme-toggle {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: transparent; border: 1px solid rgba(0,0,0,.18); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #0c0d12; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); background: rgba(0,0,0,.05); }
.theme-toggle .icon-sun { display: none; }
body.hero-dark .site-header:not(.is-scrolled) .theme-toggle { color: #fff; border-color: rgba(255,255,255,.45); }
.site-header:hover .theme-toggle,
.site-header.is-scrolled .theme-toggle { color: #0c0d12; border-color: rgba(0,0,0,.18); }

/* ============ DARK THEME (test toggle) ============ */
body.theme-dark {
  --white: #131E29; --cloud: #1B2735; --line: rgba(255,255,255,.13);
  --navy: #FCFBFA; --midnight: #0D141C; --taupe: rgba(252,251,250,.85); --muted: #C4BCB7; --rule: rgba(255,255,255,.22); --navy-20: rgba(255,255,255,.28); --card-bg: #1B2735;
  background: #131E29; color: #FCFBFA;
}
body.theme-dark .theme-toggle .icon-sun { display: block; }
body.theme-dark .theme-toggle .icon-moon { display: none; }
body.theme-dark .theme-toggle,
body.theme-dark .site-header:hover .theme-toggle,
body.theme-dark .site-header.is-scrolled .theme-toggle { color: #fff; border-color: rgba(255,255,255,.4); }

/* header surfaces */
body.theme-dark .site-header::before { background: rgba(16,22,30,.97); border-color: rgba(255,255,255,.1); }
body.theme-dark .nav-primary { background: rgba(16,22,30,.96); border-color: rgba(255,255,255,.09); }
body.theme-dark .site-header:hover .nav-primary,
body.theme-dark .site-header.is-scrolled .nav-primary { background: transparent; border-color: transparent; }
body.theme-dark .nav-primary a, body.theme-dark .dropdown-toggle { color: #fff; }
body.theme-dark .nav-primary a:hover, body.theme-dark .has-dropdown:hover .dropdown-toggle { background: rgba(255,255,255,.08); }
body.theme-dark .nav-primary a.active { background: rgba(255,255,255,.1); }
body.theme-dark .dropdown-card { background: #101A24; border-color: rgba(255,255,255,.1); }
body.theme-dark .dropdown-menu a { color: #fff; }
body.theme-dark .dropdown-menu a:hover, body.theme-dark .dropdown-menu a.active { background: rgba(255,255,255,.07); }
body.theme-dark .site-header .header-cta .btn-accent { background: #fff; color: #0c0d12; }
body.theme-dark .site-header:hover .menu-toggle,
body.theme-dark .site-header.is-scrolled .menu-toggle { color: #fff; }
/* keep the white logo in dark mode at all times */
body.theme-dark .site-header .logo-navy { display: none !important; }
body.theme-dark .site-header .logo-white { display: block !important; }

/* card & surface literals */
body.theme-dark :is(.card, .bg-card .card, .post-card, .case-card, .cred, .person .face.front) {
  background: #1B2735; border-color: rgba(255,255,255,.12);
}
body.theme-dark section:not(.bg-card):not(.bg-deep) .card { background: #1B2735; }
body.theme-dark .quote, body.theme-dark .bg-deep .quote { background: #1B2735; border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
body.theme-dark .quote p, body.theme-dark .bg-deep .quote p { color: #C4BCB7; }
body.theme-dark .quote .who, body.theme-dark .bg-deep .quote .who { color: #fff; }
body.theme-dark .quote .who small, body.theme-dark .bg-deep .quote .who small { color: #C4BCB7; }
body.theme-dark .cred .cred-txt b { color: #fff; }
body.theme-dark .cred .cred-txt span { color: #c6cdd4; }
body.theme-dark .cred .cred-icon { background: #FCFBFA; color: #101A24; }
body.theme-dark .case-card .case-body h3 { color: #FCFBFA; }
body.theme-dark .join-form input, body.theme-dark .join-form textarea { background: rgba(255,255,255,.07); }
body.theme-dark .form-grid input, body.theme-dark .form-grid textarea, body.theme-dark .form-grid select {
  background: #1B2735; color: #FCFBFA; border-color: rgba(255,255,255,.18);
}
body.theme-dark .callout-key { background: #1B2836; }
body.theme-dark .mobile, body.theme-dark .nav-primary.open,
body.theme-dark .site-header .nav-primary.open,
body.theme-dark .site-header:hover .nav-primary.open,
body.theme-dark .site-header.is-scrolled .nav-primary.open { background: #101A24 !important; border-color: rgba(255,255,255,.12); }
body.theme-dark .nav-primary.open a, body.theme-dark .nav-primary.open .dropdown-toggle { color: #fff; }
body.theme-dark .nav-primary.open a:hover, body.theme-dark .nav-primary.open a.active { background: rgba(255,255,255,.08); }
body.theme-dark .nav-primary.open .dropdown-card a { color: #C4BCB7; }
body.theme-dark .nav-primary.open > li { border-color: rgba(255,255,255,.1); }
body.theme-dark .nav-primary.open .nav-contact a { color: #FCFBFA; }
body.theme-dark .btn-primary { background: #FCFBFA; color: #101A24; }
body.theme-dark .btn-outline:not(.hero-video-wrap .btn-outline) { color: #FCFBFA; border-color: rgba(255,255,255,.4); }

/* Fix: when the white header pill expands on hover, the toggle turns dark (visible) */
body.hero-dark .site-header:not(.is-scrolled):hover .theme-toggle {
  color: #0c0d12; border-color: rgba(0,0,0,.22);
}
body.theme-dark .site-header:not(.is-scrolled):hover .theme-toggle { color: #fff; border-color: rgba(255,255,255,.4); }

/* Fix: pills (Our Approach etc.) invert properly in dark mode */
body.theme-dark .pill { background: #1B2735; border-color: rgba(255,255,255,.18); color: #FCFBFA; }
body.theme-dark .pill:hover { border-color: #FCFBFA; }

/* Fix: white buttons keep BLACK text in dark mode (hero CTAs, CTA banner, everywhere) */
body.theme-dark .btn-light { background: #fff; color: #0c0d12; }
body.theme-dark .btn-light:hover { background: #E8E5E2; color: #0c0d12; }

/* ============ Brand Book dark-mode accent rules — Ember stays on light (p.21) ============ */
body.theme-dark .link-arrow { color: var(--gold); }
body.theme-dark .link-arrow:hover { color: #FCFBFA; }
body.theme-dark h1 em, body.theme-dark h2 em { color: var(--gold); }
body.theme-dark .person .meta .ttl, body.theme-dark .person .flip-hint { color: var(--gold); }
body.theme-dark .btn-accent:not(.site-header .btn-accent) { background: var(--gold); color: var(--midnight); }
body.theme-dark .btn-accent:not(.site-header .btn-accent):hover { background: #c08a26; }
body.theme-dark .quote::before { color: var(--gold); } /* stars — gold premium on dark */
/* Key-takeaway callout inside articles: white sans text on the navy card (beats .article p) */
.article .callout-key p { color: #fff; font-family: var(--font-sans); font-size: 15.5px; margin-bottom: 0; }

/* ============ Hero polish (client feedback 8/28) ============ */
/* "Elevate Culture" never breaks across lines */
.hero-video-wrap h1 em { white-space: nowrap; }
/* Pages without the brand strip: hero copy vertically centered like the rest */
.hero-video-wrap:not(.has-brands) { align-items: center; }
.hero-video-wrap:not(.has-brands) > .container { padding-top: clamp(110px, 12vw, 150px); padding-bottom: clamp(70px, 9vw, 120px); }
/* Insights hero: lift copy toward center above the brand strip */
.hero-video-wrap.hero-mid > .container { padding-bottom: clamp(360px, 46vh, 450px); }
/* Testimonials: two-card layout after $2B removal */
.quotes.two { grid-template-columns: repeat(2, 1fr); }
.quotes.two .quote.feature { grid-column: span 2; }
@media (max-width: 900px){ .quotes.two { grid-template-columns: 1fr; } .quotes.two .quote.feature { grid-column: span 1; } }

/* ============ Legal pages + form sub-links ============ */
.legal-body h2 { font-size: 20px; margin: 34px 0 10px; }
.legal-body p { color: var(--taupe); margin-bottom: 14px; font-size: 15.5px; line-height: 1.7; }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.form-legal { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form-legal a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.form-legal.dark { color: rgba(255,255,255,.6); }
.form-legal.dark a { color: var(--gold); }
.form-grid .form-legal.full { grid-column: span 2; margin-top: 2px; }
@media (max-width: 560px){ .form-grid .form-legal.full { grid-column: span 1; } }
