/* =====================================================================
   VEM — Shared section primitives + §02 Who We Are
   Reused by every content section below the hero.
   ===================================================================== */

/* Skip link — first focusable element; off-screen until keyboard focus,
   then slides in at top-left so keyboard/AT users can jump past the nav. */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px;
  background: var(--vem-navy-dark, #0B1F44); color: #fff;
  font: 600 0.9rem/1 var(--font-body, system-ui, sans-serif); text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(calc(-100% - 16px));
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--accent, #5C7CB8); outline-offset: 2px; }

/* ----------------------- Layout primitives ------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
}
.section--light { background: var(--vem-white); color: var(--vem-ink); }
.section--gray  {
  background-color: var(--vem-gray);
  color: var(--vem-ink);
}
.section--navy  {
  background: var(--vem-navy-dark);
  color: var(--on-dark-100);
  position: relative;
  overflow: clip;
}
/* Depth for navy sections: a soft navy glow top-right + a whisper of gold
   bottom-left, so they aren't flat blocks. */
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(115% 80% at 88% -10%, rgba(34, 49, 104, 0.65), transparent 58%),
    radial-gradient(90% 70% at -5% 110%, rgba(185, 155, 95, 0.06), transparent 55%);
}
/* (Old white hairline grid removed — the navy crushed-paper texture now carries
   the surface detail on dark sections.) */
.section--navy > .container { position: relative; z-index: 1; }

/* §05 process — graphite "command center" ground.
   Neutral near-black so the BLUE accents (dots, pills, numbers) pop instead of
   blue-on-blue, with a subtle, heavily-darkened background image for depth. */
.process.section--navy {
  background:
    linear-gradient(180deg, rgba(6, 14, 32, 0.80) 0%, rgba(7, 15, 34, 0.86) 55%, rgba(4, 10, 24, 0.94) 100%),
    url("../assets/img/process-bg.jpg") center center / cover no-repeat,
    #07112A;
}
.process.section--navy::before {
  background:
    radial-gradient(52% 56% at 23% 54%, rgba(92, 124, 184, 0.17), transparent 70%),
    radial-gradient(115% 80% at 88% -10%, rgba(92, 124, 184, 0.22), transparent 58%),
    radial-gradient(90% 70% at -5% 110%, rgba(148, 171, 214, 0.05), transparent 55%);
}
/* The photo already carries a blueprint grid — fade the CSS grid so they
   don't clash, and keep just a whisper of it for evenness. */
.process.section--navy::after { opacity: 0.14; }

/* ------------------------- Section header ------------------------- */
.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-deep);   /* was var(--accent) — raw gold measured 2.65:1 on white, fails AA */
}
.overline::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--accent);
}
.section--navy .overline { color: var(--accent); }

.section-head { max-width: 40ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-800);
  line-height: 1.06;
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-4);
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  color: var(--accent-deep);     /* AA-safe on light backgrounds — was var(--accent), 2.65:1, fails */
  font-weight: 600;
}
.section--navy .section-head h2 em { color: var(--accent-soft); }

/* §04 — the three words read as strong, uniform dark navy (no blue), a touch bolder */
.philosophy .section-head h2 { font-weight: 700; }
.philosophy .section-head h2 em { color: var(--vem-navy-dark); }

/* --------------------- Scroll-reveal utility ---------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  /* funnel bars appear at full size with no fill animation */
  .pstage__bar { transition: none !important; }
  .pstage.is-visible .pstage__bar { width: var(--w, 100%); }
}

/* ===================================================================
   §02 — Who We Are
   =================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;   /* image gets the larger share — a panel, not a card */
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* Lift the text column onto the page's quiet card plane so it balances the
   elevated .about__media beside it (credstat recipe + one rationed accent rule). */
.about__lede {
  background: var(--vem-gray);
  border: 1px solid rgba(11, 31, 68, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 44px);
}
@media (max-width: 820px) { .about__lede { padding: clamp(24px, 6vw, 32px); } }
.about__lede p {
  font-size: var(--fs-500);
  line-height: 1.6;
  color: var(--vem-ink);
  max-width: 52ch;
}
.about__lede p + p { margin-top: var(--space-5); }
.about__lede strong { font-weight: 600; color: var(--vem-navy); }

/* Fills the second (right) column of the existing .about__grid, which
   previously sat empty — that empty column was why the section "felt flat."
   Bleeds out to the viewport's right edge for real size, and its aspect-ratio
   is set to match the SOURCE photo (1400x788) exactly — that's what stops
   object-fit:cover from cropping the family out of frame; frame and image
   now share one ratio, so cover behaves like contain (nothing cut). Scroll
   drift comes from the shared [data-parallax] JS handler in js/sections.js
   (same mechanism as the CTA band); the img keeps a little vertical bleed
   (118%/-9%) only to give that ±42px vertical drift room, not for cropping. */
.about__media {
  position: relative;
  aspect-ratio: 1400 / 788;                 /* matches assets/img/about-family.jpg exactly */
  /* Bleeds most of the way to the viewport edge but stops short by --edge-margin
     — real size without literally touching the browser edge. */
  --edge-margin: clamp(24px, 4vw, 56px);
  margin-right: calc(-1 * max(0px, (100vw - var(--container)) / 2) - var(--gutter) + var(--edge-margin));
  width: calc(100% + max(0px, (100vw - var(--container)) / 2) + var(--gutter) - var(--edge-margin));
  /* No border-radius — a straight-cornered clip-path polygon (the wipe overlay
     below) inside a ROUNDED overflow:hidden parent leaves a curved sliver at
     the corner where the two clip boundaries diverge (the "white circle" bug).
     Sharp rectangle + diagonal notch matches the reference design anyway. */
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about__media img {
  position: absolute;
  left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}
/* Scroll-linked reveal: a white sheet (same as the section--light bg) covers
   the image and retreats LEFT — back toward the words — as the section scrolls
   in, with an ANGLED (not straight) trailing edge, per the reference design.
   js/sections.js writes the --wipe custom property (0..1) each frame; the
   polygon math lives here in CSS because a pseudo-element's clip-path can't
   be set directly from JS. The overlay exists only once JS arms it
   (.wipe-armed), so no-JS visitors always see the image. */
.media-wipe.wipe-armed::after {
  content: "";
  position: absolute;
  inset: -1px;                       /* -1px kills edge seams */
  z-index: 2;
  background: var(--vem-white);
  /* Angled trailing edge (a parallelogram, not a straight vertical line) cut
     at a literal 45 degrees. The panel's aspect-ratio is LOCKED to 1400/788
     (~1.777:1) at every viewport width, so one skew value works everywhere:
     a true 45 degree line needs a horizontal span of height/width = 788/1400
     ~= 56.29% of the box width; the polygon is symmetric (+-skew around a
     center), so skew = 56.29/2 ~= 28%. Baseline is shifted +2*skew (=156%) so
     the bottom corner sits at exactly 100% when --wipe:0 (full coverage, no
     sliver); travel is 160% (not just 118%) so BOTH corners fully clear past
     the box edge at --wipe:1 (a narrower travel under-clears the top corner
     at this wider skew). */
  clip-path: polygon(
    0% 0%,
    calc(156% - var(--wipe, 0) * 160%) 0%,
    calc(100% - var(--wipe, 0) * 160%) 100%,
    0% 100%
  );
  will-change: clip-path;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .media-wipe.wipe-armed::after { display: none; }
}
@media (max-width: 820px) {
  .about__media { margin-right: 0; width: 100%; margin-top: var(--space-6); }
}

/* Vision pull-quote — quiet card, single gold rule */
.about__quote {
  background: var(--vem-gray);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: clamp(28px, 4vw, 44px);
}
.about__quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-600);
  line-height: 1.32;
  color: var(--vem-navy);
  text-wrap: pretty;
}
.about__quote blockquote::before { content: "\201C"; }
.about__quote blockquote::after  { content: "\201D"; }
.about__quote figcaption {
  margin-top: var(--space-5);
  font-size: var(--fs-200);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vem-gray-text);
  font-weight: 600;
}

/* Fact row */
.about__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--vem-gray);
  padding-top: clamp(28px, 4vw, 44px);
}
@media (max-width: 720px) {
  .about__facts { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); }
}
.about__facts li { display: flex; flex-direction: column; gap: var(--space-2); }
.about__facts .fact__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-700);
  line-height: 1;
  color: var(--vem-navy);
  letter-spacing: -0.01em;
}
.about__facts .fact__label {
  font-size: var(--fs-200);
  line-height: 1.4;
  color: var(--vem-gray-text);
}

/* ===================================================================
   Stats bar — deep navy band directly below the hero
   =================================================================== */
.stats-bar {
  position: relative;
  background: var(--vem-navy-dark);
  color: var(--on-dark-100);
  border-top: 1px solid rgba(185, 155, 95, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* Inset top highlight: reads "lit from above" on a dark band (a drop-shadow
     can't render against the dark page). Static — honors the "moving band looks
     nervous" note. */
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
}
/* PREVIEW: quiet right-weighted texture — a thin band reads as flat text-only,
   so a very low-opacity image gives it depth without competing with the stats.
   Reveal only (no parallax): a short band moving on scroll looks nervous. */
.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/img/stats-texture.jpg") right center / cover no-repeat;
  opacity: 0.12;
}
.stats-bar__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(34px, 4.5vw, 56px);
}
@media (max-width: 720px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); }
}
/* 5-across variant (now includes $231M AUM, relocated from the old hero card) */
.stats-bar__grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .stats-bar__grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .stats-bar__grid--5 { grid-template-columns: repeat(2, 1fr); }
  /* 5 stats in 2 columns leaves an orphan — let the last one span, centered */
  .stats-bar__grid--5 .stat:last-child { grid-column: 1 / -1; text-align: center; }
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-left: clamp(14px, 1.6vw, 22px);
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.stat:first-child::before { display: none; }   /* orphan leading tick — nothing to its left to divide */
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-700);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--vem-white);
}
.stat__label {
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: var(--fs-100);
  font-weight: 600;
  line-height: 1.35;
  color: var(--on-dark-70);
}

/* Shared pop-in reveal variant (scale + rise) */
.reveal.reveal--pop { transform: translateY(26px) scale(0.965); }
.reveal.reveal--pop.is-visible { transform: none; }

/* ===================================================================
   §03 — What We Manage  (interactive explorer, LIGHT)
   =================================================================== */
.manage__intro {
  margin-top: var(--space-5);
  max-width: 56ch;
  font-size: var(--fs-500);
  line-height: 1.55;
  color: var(--vem-ink);
}

.explorer { margin-top: clamp(40px, 6vw, 72px); }

/* PREVIEW: converted from a plain underline-tab pair to real pill buttons —
   the flat bottom-border style didn't read as "two selectable options." */
.explorer__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.explorer__tab {
  background: var(--vem-white);
  border: 1.5px solid rgba(11, 31, 68, 0.16);
  border-radius: 999px;
  cursor: pointer; font: inherit;
  text-align: left;
  padding: var(--space-4) var(--space-6);
  display: flex; flex-direction: column; gap: 4px;
  transition: background var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}
.explorer__tab:hover { border-color: var(--vem-navy); transform: translateY(-1px); }
.explorer__tab-label {
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--fs-500); line-height: 1.1;
  color: var(--vem-navy-dark);
  transition: color var(--dur-fast) var(--ease-soft);
}
.explorer__tab-sub {
  font-size: var(--fs-100);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--vem-gray-text); opacity: 0.7;
  transition: color var(--dur-fast) var(--ease-soft);
}
.explorer__tab.is-active { background: var(--vem-navy-dark); border-color: var(--vem-navy-dark); }
.explorer__tab.is-active .explorer__tab-label,
.explorer__tab.is-active .explorer__tab-sub { color: var(--vem-white); }

.explorer__body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(28px, 4vw, 48px);
  align-items: start;          /* photo keeps its 4:5 size; dropdowns push down, don't stretch it */
}
@media (max-width: 860px) { .explorer__body { grid-template-columns: 1fr; } }

.explorer__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  box-shadow: var(--shadow-card);
  background: linear-gradient(160deg, var(--vem-navy) 0%, var(--vem-navy-dark) 100%);
}
@media (max-width: 860px) { .explorer__media { aspect-ratio: 16 / 10; min-height: 0; } }
.explorer__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.explorer__img.is-active { opacity: 1; }

/* Lift the strategy list into a calm card matching the shadowed image beside it
   (credstat recipe). Applied to the PERSISTENT wrapper, not the display-toggling
   .explorer__panel. Content-height by design — .explorer__body is a grid whose
   panel column isn't guaranteed a resolved height, so no height:100% here. */
.explorer__panels {
  background: var(--vem-white);
  border: 1px solid rgba(11, 31, 68, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(6px, 1vw, 12px) clamp(10px, 1.4vw, 18px);
}
.explorer__panel { display: none; }
.explorer__panel.is-active { display: flex; flex-direction: column; height: 100%; animation: panelIn 0.35s var(--ease-out); }
@media (max-width: 860px) { .explorer__panel.is-active { height: auto; } }
/* List spans the full height of the image beside it, rows distributed top→bottom */
.strat-list { list-style: none; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.strat { border-bottom: 1px solid var(--vem-gray); }
.strat:last-child { border-bottom: 0; }
.strat__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  width: 100%;
  padding: clamp(15px, 1.8vw, 20px) var(--space-3);
  background: none; border: 0; text-align: left; cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-soft);
}
.strat__head:hover { background: var(--vem-gray); }
.strat__head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* One rationed accent: the currently-open row gets a navy tint + accent inset. */
.strat__head[aria-expanded="true"] {
  background: rgba(11, 31, 68, 0.06);
  box-shadow: inset 3px 0 0 0 var(--accent);
}
.strat-list__idx { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400); color: var(--accent-deep); }
.strat-list__text { display: block; }
.strat__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); line-height: 1.1; color: var(--vem-navy-dark); }
.strat__lead { display: block; margin-top: var(--space-2); font-size: var(--fs-300); line-height: 1.5; color: var(--vem-gray-text); max-width: 54ch; }
.strat__chev {
  width: 11px; height: 11px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transform-origin: 60% 60%;
  transition: transform var(--dur-fast) var(--ease-soft); opacity: 0.65;
}
.strat__head[aria-expanded="true"] .strat__chev { transform: rotate(225deg); opacity: 1; }
.strat__detail { padding: 0 var(--space-3) 0 calc(var(--space-3) + 1.6em); overflow: hidden; }
.strat__detail[hidden] { display: block; max-height: 0; opacity: 0; transition: max-height 0.35s var(--ease-soft), opacity 0.25s var(--ease-soft), padding 0.35s var(--ease-soft); }
.strat__detail:not([hidden]) { max-height: 320px; opacity: 1; padding-bottom: clamp(14px, 1.8vw, 20px); transition: max-height 0.4s var(--ease-out), opacity 0.35s var(--ease-soft) 0.05s, padding 0.4s var(--ease-out); }
.strat__detail p { font-size: var(--fs-300); line-height: 1.65; color: var(--vem-gray-text); max-width: 58ch; }

.manage__cta {
  margin-top: clamp(44px, 6vw, 72px);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.manage__cta .note {
  font-size: var(--fs-200);
  color: var(--vem-gray-text);
}
/* On a gray section, keep the explorer's hairlines + hover visible */
.section--gray .strat { border-bottom-color: rgba(11, 31, 68, 0.10); }
.section--gray .strat__head:hover { background: rgba(255, 255, 255, 0.65); }

/* ===================================================================
   §04 — Our Approach  (Conviction · Clarity · Commitment + feature image)
   =================================================================== */
.section-head--center {
  max-width: 48ch;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .overline { justify-content: center; }
.philosophy .phil__lead {
  margin: var(--space-5) auto 0;
  max-width: 56ch;
  text-align: center;
  font-size: var(--fs-500);
  line-height: 1.55;
  color: var(--vem-ink);
}

.phil__feature {
  position: relative;
  margin: clamp(40px, 6vw, 76px) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-card);
  background: linear-gradient(160deg, var(--vem-navy) 0%, var(--vem-navy-dark) 100%);
}
.phil__feature img {
  position: absolute;
  top: -9%; left: 0;
  width: 100%; height: 118%;
  object-fit: cover;
  object-position: center;
}
.phil__feature.is-missing img { display: none; }
.phil__feature.is-missing::after {
  content: "Feature image";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-500);
  color: var(--on-dark-40);
}

.phil__stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 820px) { .phil__stages { grid-template-columns: 1fr; gap: var(--space-7); } }
.phil-stage { border-top: 2px solid var(--vem-navy); padding-top: var(--space-5); }
.phil-stage__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-700);
  line-height: 1;
  color: var(--accent);
}
.phil-stage h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-600);
  line-height: 1.1;
  color: var(--vem-navy-dark);
  margin-top: var(--space-3);
}
.phil-stage p {
  margin-top: var(--space-4);
  font-size: var(--fs-400);
  line-height: 1.6;
  color: var(--vem-ink);
}

/* ===================================================================
   §05 — Investment Process  (navy section, narrowing funnel)
   =================================================================== */
.process__intro {
  margin-top: var(--space-5);
  max-width: 58ch;
  font-size: var(--fs-500);
  line-height: 1.55;
  color: var(--on-dark-80);
}
/* §05 process — the funnel + stage accordion now live in css/funnel.css.
   Only the closing figures note below remains shared with that section. */

/* Immersive, full-bleed interactive 3D process universe
   (iframe of brochure/process.html rendered edge-to-edge as the section itself,
   with the section heading overlaid in the upper-left). */
.process--immersive { padding-block: 0; overflow: hidden; }

.process-stage {
  position: relative;
  /* Break out of the container to true viewport width without the
     scrollbar double-count of `width: 100vw`. */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.process-stage__frame {
  display: block;
  width: 100%;
  height: clamp(640px, 92vh, 940px);
  border: 0;
}

/* Heading overlaid on the universe, upper-left, large */
.process-stage__head {
  position: absolute;
  top: clamp(26px, 6vh, 70px);
  left: clamp(20px, 5vw, 76px);
  z-index: 3;
  max-width: min(44ch, 40vw);
  pointer-events: none; /* let drags pass through to the universe */
  transition: opacity 0.8s ease;
}
/* While the guided tour runs, fade the heading out so it doesn't sit over the
   core; it returns on stop / recenter (toggled via postMessage from the iframe). */
.process-stage__head.tour-hidden { opacity: 0; }
.process-stage__head .overline { color: var(--accent-soft, #94abd6); }
.process-stage__head h2 {
  margin: 0.35em 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: var(--tracking-tight);
  color: var(--vem-white);
  text-shadow: 0 2px 30px rgba(4, 12, 28, 0.75), 0 1px 4px rgba(4, 12, 28, 0.6);
}
.process-stage__head h2 em {
  font-style: italic;
  color: var(--accent-soft, #94abd6);
}
/* Gold "shine" once the section reveals — the site-wide signature (see
   css/tokens.css --shine-band / @keyframes vemGoldSweep). Static gold above
   is the fallback before .is-visible lands (first paint, no-JS). */
.process-stage.is-visible .process-stage__head h2 em {
  color: transparent;
  background-color: var(--accent-soft);
  background-image: var(--shine-band);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vemGoldSweep 5.5s var(--ease-soft) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .process-stage.is-visible .process-stage__head h2 em {
    animation: none; background: none;
    color: var(--accent-soft); -webkit-text-fill-color: var(--accent-soft);
  }
}
.process-stage__intro {
  margin-top: clamp(14px, 1.6vw, 22px);
  max-width: 34ch;
  font-size: var(--fs-400);
  line-height: 1.6;
  color: var(--on-dark-70);
  text-shadow: 0 1px 16px rgba(4, 12, 28, 0.8);
}

/* Soft scrim behind the heading so text stays legible over the particle field */
.process-stage__head::before {
  content: "";
  position: absolute;
  inset: -40px -60px -60px -50px;
  z-index: -1;
  background: radial-gradient(120% 110% at 18% 22%,
    rgba(6, 16, 34, 0.62) 0%, rgba(6, 16, 34, 0.32) 45%, transparent 78%);
  pointer-events: none;
}

/* Restore normal padding for the "what this means" block below the universe */
.process--immersive > .container { padding-block: clamp(34px, 5vw, 64px) 0; }

@media (max-width: 760px) {
  /* dvh (not vh) so the section fits the *visible* viewport — otherwise the
     iframe runs ~14% taller than the screen and its bottom (the Play CTA) hides
     under the mobile browser's bottom toolbar. */
  .process-stage__frame { height: min(86dvh, 700px); }
  /* Phone: SHOW the "From 9,000 names to 40" intro before the tour — it now
     fades out the instant the tour starts (the iframe posts vem-tour → the
     heading gets .tour-hidden, opacity 0, with the 0.8s transition), exactly
     like desktop, so it doesn't fight the cinematic 3D. Keep it compact:
     overline + headline only, centered up top; drop the longer intro line. */
  .process-stage__head {
    top: clamp(16px, 4vh, 40px);
    left: 16px;
    right: 16px;
    max-width: none;
    text-align: center;
  }
  .process-stage__head h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .process-stage__intro { display: none; }
}

.pdash__note { margin-top: clamp(16px, 2vw, 24px); font-size: var(--fs-100); color: var(--on-dark-40); }

/* ===================== §05b — Performance ===================== */
/* Subtle globe/data-viz background layer — "Held to the global standard"
   pairs naturally with a globe image. Parallax drift comes from the shared
   [data-parallax] JS handler in js/sections.js (same mechanism as the About
   and CTA-band images). Low opacity: texture, not a hero image — the solid
   white credstat cards below keep full contrast regardless. */
.performance { position: relative; overflow: hidden; }
.performance > .container { position: relative; z-index: 1; }
.performance__bg {
  position: absolute;
  inset: -6% 0 -6% 0;         /* vertical bleed for the +-42px parallax travel */
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.performance__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 28% center;   /* was: right center — pull the globe under the copy */
  opacity: 0.22;                 /* was: 0.16 — still texture on section--gray, capped low */
  will-change: transform;
}
.perf__intro { margin-top: var(--space-5); max-width: 70ch; font-size: var(--fs-400); line-height: 1.6; color: var(--vem-gray-text); }

/* Credibility row — GIPS / verification facts (no returns shown on the page) */
.perf-cred {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 760px) { .perf-cred { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .perf-cred { grid-template-columns: 1fr; } }
.credstat {
  padding: clamp(20px, 2.2vw, 28px);
  background: #fff;
  border: 1px solid rgba(11, 31, 68, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.credstat__val {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.05;
  color: var(--vem-navy); letter-spacing: -0.01em;
}
.credstat__label {
  margin-top: var(--space-3); font-size: var(--fs-200);
  color: var(--vem-gray-text); line-height: 1.4;
}

/* Highlight cards — only true, net-of-fee outperformance, each vs the benchmark it beats */
.perf__highlights {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 960px) { .perf__highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .perf__highlights { grid-template-columns: 1fr; } }

.perfcard {
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 28px);
  background: #fff;
  border: 1px solid rgba(11, 31, 68, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.perfcard__name {
  font-size: var(--fs-100); letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-deep);
}
.perfcard__stat {
  margin-top: var(--space-4);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: 0.95;
  color: var(--vem-navy-dark); letter-spacing: -0.01em;
  display: flex; align-items: flex-start;
}
.perfcard__stat span { font-size: 0.42em; margin-top: 0.25em; margin-left: 0.04em; color: var(--accent); }
.perfcard__vs { margin-top: var(--space-3); font-size: var(--fs-200); color: var(--vem-gray-text); }
.perfcard__vs b { color: var(--vem-navy-dark); font-weight: 600; }
.perfcard__take {
  margin-top: var(--space-4); padding-top: var(--space-4);
  border-top: 1px solid rgba(11, 31, 68, 0.08);
  font-family: var(--font-display); font-style: italic;
  font-size: var(--fs-400); line-height: 1.3; color: var(--vem-navy);
}
.perfcard__meta { margin-top: auto; padding-top: var(--space-4); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--vem-gray-text); line-height: 1.5; }

.perf__cta { margin-top: clamp(28px, 3.5vw, 44px); display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.perf__cta-note { font-size: var(--fs-200); color: var(--vem-gray-text); }
.perf__disc { margin-top: clamp(24px, 3vw, 40px); font-size: 0.72rem; line-height: 1.65; color: var(--vem-gray-text); max-width: 120ch; }
.perf__disc a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.82); } }
@keyframes dotPulse  { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes chipIn    { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .pdot, .is-live .pdot.is-lit, .ppanel__live i, .ppanel__chips li { animation: none !important; transition: none !important; }
}

/* ===================================================================
   §06 — The Difference  (light section, portrait + parallax feature)
   =================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

/* Portrait frame — works as a drop-in: navy placeholder until the photo lands */
.diff-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--vem-navy) 0%, var(--vem-navy-dark) 100%);
  box-shadow: var(--shadow-card);
}
.diff-figure::before {           /* placeholder label, sits behind the photo */
  content: "Aaron J. Vann";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-500);
  color: var(--on-dark-40);
  letter-spacing: 0.02em;
}
.diff-figure img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;     /* image is 4:5 like the frame → fits, no crop */
  object-fit: cover;
  object-position: center top;   /* keep the head safe */
  z-index: 1;
}
.diff-figure img.is-missing { display: none; }
.diff-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--space-5);
  background: linear-gradient(transparent, rgba(11, 31, 68, 0.88));
  color: var(--on-dark-100);
  font-size: var(--fs-200);
  letter-spacing: 0.03em;
}
.diff-figure::after {            /* gold corner rule */
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 42%; height: 3px;
  background: var(--accent);
  z-index: 3;
}

.diff-models { margin-top: var(--space-6); display: flex; flex-direction: column; }
.diff-model + .diff-model { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--vem-gray); }
.diff-model h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-600);
  line-height: 1.1;
  color: var(--vem-navy);
}
.diff-model p { margin-top: var(--space-3); font-size: var(--fs-400); line-height: 1.6; color: var(--vem-ink); max-width: 52ch; }

.diff-note {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-500);
  line-height: 1.35;
  color: var(--vem-navy);
}

/* ===================================================================
   §07 — The Team  (gray section, gold-ring portraits)
   =================================================================== */
.team__sub {
  margin: var(--space-5) auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: var(--fs-500);
  line-height: 1.5;
  color: var(--vem-ink);
}
.team .section-head { max-width: none; text-align: center; }
.team .section-head .overline { justify-content: center; }
.team .section-head h2 { margin-inline: auto; }

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 5vw, 72px) clamp(32px, 5vw, 80px);
  max-width: 940px;
  margin: clamp(44px, 6vw, 76px) auto 0;
}
@media (max-width: 720px) { .team__grid { grid-template-columns: 1fr; gap: var(--space-8); } }

.member { text-align: center; display: flex; flex-direction: column; align-items: center; }
.member__photo {
  width: 148px; height: 148px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--vem-navy) 0%, var(--vem-navy-dark) 100%);
  box-shadow: 0 0 0 4px var(--vem-gray), 0 0 0 6px var(--accent),
              0 16px 30px -16px rgba(11, 31, 68, 0.5);
}
.member__photo::before {                /* monogram placeholder */
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-80);
}
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; z-index: 1; }
.member__photo img.is-missing { display: none; }

.member__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-600);
  line-height: 1.12;
  color: var(--vem-navy);
  margin-top: var(--space-5);
}
.member__title {
  margin-top: var(--space-2);
  font-size: var(--fs-100);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--vem-gray-text);
}
.member__bio {
  margin-top: var(--space-4);
  font-size: var(--fs-300);
  line-height: 1.55;
  color: var(--vem-ink);
  max-width: 36ch;
}
.member__cred {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vem-gray-text);
}
.member__cred::before { content: ""; width: 18px; height: 1px; background: var(--accent); }

.team__closing {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: var(--space-7);
  border-top: 1px solid var(--vem-gray);
  text-align: center;
  font-family: var(--font-logo);
  font-size: var(--fs-200);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vem-navy);
}

/* ---- Team: circles across + click-to-expand detail panel ---- */
.team__sub { margin: var(--space-5) auto 0; max-width: 62ch; text-align: center; font-size: var(--fs-500); line-height: 1.5; color: var(--vem-ink); }

.team__people {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 6vw, 72px);
}
.person {
  background: var(--vem-white);
  border: 1px solid rgba(11, 31, 68, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.4vw, 28px) var(--space-5) var(--space-6);
  cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 200px;                        /* was 168px — room for the card padding */
  transition: transform var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-mid) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
}
.person:hover,
.person:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(11, 31, 68, 0.16);
  box-shadow: 0 24px 50px -26px rgba(11, 31, 68, 0.62);
}
.person[aria-expanded="true"] { border-color: var(--accent); }
.person__photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--vem-navy) 0%, var(--vem-navy-dark) 100%);
  box-shadow: 0 0 0 3px var(--vem-white), 0 12px 26px -14px rgba(11, 31, 68, 0.5);
  transition: box-shadow var(--dur-mid) var(--ease-soft);
}
.person__photo::before {
  content: attr(data-initials);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.55rem;
  color: var(--on-dark-80);
}
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 1; }
.person__photo img.is-missing { display: none; }
.person[aria-expanded="true"] .person__photo {
  box-shadow: 0 0 0 3px var(--vem-white), 0 0 0 5px var(--accent), 0 14px 30px -14px rgba(11, 31, 68, 0.6);
}
.person__name {
  margin-top: var(--space-4);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500);
  line-height: 1.1; color: var(--vem-navy-dark);
}
.person__role {
  margin-top: 4px;
  font-size: var(--fs-100); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--vem-gray-text); max-width: 20ch;
}

.team__panels { margin-top: clamp(28px, 4vw, 48px); }
.member-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--vem-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 40px);
  animation: panelIn 0.4s var(--ease-out);
}
.member-panel[hidden] { display: none; }
@media (max-width: 680px) { .member-panel { grid-template-columns: 1fr; } }
.member-panel__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
  background: var(--vem-navy);
}
.member-panel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member-panel__body h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-700); line-height: 1.05; color: var(--vem-navy-dark); }
.member-panel__role { margin-top: var(--space-2); font-size: var(--fs-100); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-deep); }
.member-panel__bio { margin-top: var(--space-4); font-size: var(--fs-400); line-height: 1.6; color: var(--vem-ink); max-width: 64ch; }
.member-panel__cred { margin-top: var(--space-4); display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-100); letter-spacing: 0.08em; text-transform: uppercase; color: var(--vem-gray-text); }
.member-panel__cred::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ===================================================================
   §08 — CTA band (office underlay + parallax) + contact details
   =================================================================== */
.cta-band {
  position: relative;
  min-height: clamp(440px, 62vh, 620px);
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--vem-navy-dark);
  isolation: isolate;
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img {
  position: absolute;
  left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
/* NOTE: the consultation photo (assets/img/cta-consult.jpg, couple + advisor) was
   tried here and measured out — its faces span 48-80% of the frame, so in this
   split layout every crop either slices a face on the form edge or runs headline
   text across a face. It's unused (not currently wired into contact.html either —
   that page uses cta-office.jpg) — recommended for a future contact-page hero,
   not yet implemented. */
.cta-band__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* PREVIEW: the "hands + planning" photo is already very dark on the left
     (its own shadow/table tone), so a heavy blue wash was unnecessary and was
     flattening the warm brown/gold tones into a flat blue tint. Much lighter
     touch now — just enough to guarantee the headline pops, image left to
     breathe otherwise. */
  background:
    linear-gradient(90deg, rgba(34,49,104,0.38) 0%, rgba(34,49,104,0.18) 48%, rgba(34,49,104,0.06) 100%),
    linear-gradient(180deg, rgba(34,49,104,0.00) 0%, rgba(34,49,104,0.16) 100%);
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 10vw, 120px);
}
.cta-band__inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-800);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--vem-white);
  margin-top: var(--space-4);
  max-width: 16ch;
}
.cta-band__inner h2 em { font-style: italic; color: var(--accent-soft); }
/* Gold "shine" once the section reveals — same signature as above. */
.cta-band__copy.is-visible h2 em {
  color: transparent;
  background-color: var(--accent-soft);
  background-image: var(--shine-band);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vemGoldSweep 5.5s var(--ease-soft) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__copy.is-visible h2 em {
    animation: none; background: none;
    color: var(--accent-soft); -webkit-text-fill-color: var(--accent-soft);
  }
}
.cta-band__lead {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: var(--fs-500);
  line-height: 1.5;
  color: var(--on-dark-80);
}
.cta-band__actions { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-4); }

.contact-info .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 720px) { .contact-info .container { grid-template-columns: 1fr; gap: var(--space-6); } }
.contact-item h3 {
  font-size: var(--fs-100);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.contact-item a, .contact-item p {
  margin-top: var(--space-3);
  font-size: var(--fs-400);
  line-height: 1.5;
  display: block;
}
.contact-item a { font-weight: 600; color: var(--vem-ink); transition: color var(--dur-fast) var(--ease-soft); }
.contact-item a:hover { color: var(--vem-navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-item p { color: var(--vem-gray-text); }

/* ===================================================================
   §09 — Footer
   =================================================================== */
.site-footer {
  background: var(--vem-navy-dark);
  color: var(--on-dark-80);
  position: relative;
  overflow: clip;
}
.site-footer::before {            /* faint blue glow, top-right */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(90% 70% at 90% -10%, rgba(92, 124, 184, 0.10), transparent 60%);
}
.site-footer > .container { position: relative; z-index: 1; }

.footer__top {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: clamp(40px, 6vw, 84px);
  padding-block: clamp(56px, 7vw, 96px);
}
/* Stack the brand above the nav earlier (≤1024) so the nav columns get the full
   width — that's what gives the Contact column room to hold the email on one line. */
@media (max-width: 1024px) { .footer__top { grid-template-columns: 1fr; gap: var(--space-8); } }

.footer__logo { height: 62px; width: auto; }
.footer__tagline {
  margin-top: var(--space-5);
  max-width: 38ch;
  font-size: var(--fs-300);
  line-height: 1.55;
  color: var(--on-dark-60);
}
.footer__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Right side of the footer: nav columns with the offices row tucked beneath */
.footer__main { display: flex; flex-direction: column; gap: clamp(26px, 3.4vw, 44px); }
.footer__nav {
  display: grid;
  /* Contact column (3rd) sizes to its content so the email fits on one line;
     the other two share the remaining space. */
  grid-template-columns: 1fr 1fr auto;
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 560px) { .footer__nav { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-5); } }
/* Grid/flex items default to min-width:auto, so the long, unbreakable email
   string forced the footer wider than the screen (then overflow:clip hid the
   cut-off). Let the columns shrink, let long links wrap, and stack to a single
   column on small phones so nothing is clipped. */
.footer__main, .footer__nav, .footer__col { min-width: 0; }
/* Short nav labels (e.g. "Performance") must NOT break mid-word; only the long,
   unbreakable email needs to wrap, and only on the narrow phone layouts. */
.footer__col a { overflow-wrap: normal; }
.footer__col a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Keep the email on ONE line from tablet up (its auto-sized column gives it the
   room); only let it wrap on the narrow 1–2 column phone layouts below. */
@media (min-width: 561px) { .footer__col a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; } }
@media (max-width: 440px) { .footer__nav { grid-template-columns: 1fr; gap: var(--space-6); } }

/* Offices — one compact horizontal row, addresses side by side (no map) */
.footer__offices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) clamp(28px, 5vw, 72px);
  padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foffice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: var(--fs-200); }
.foffice__city { font-weight: 600; color: var(--vem-white); letter-spacing: 0.01em; }
.foffice__city em {
  font-style: normal; font-size: var(--fs-100); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-soft); margin-left: 5px;
}
.foffice a { color: var(--on-dark-60); transition: color var(--dur-fast) var(--ease-soft); }
.foffice a:hover { color: var(--vem-white); }
.footer__col h3 {
  font-size: var(--fs-100);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a {
  color: var(--on-dark-80);
  font-size: var(--fs-300);
  transition: color var(--dur-fast) var(--ease-soft);
}
.footer__col a:hover { color: var(--vem-white); }

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: clamp(28px, 3vw, 44px);
}
.footer__disc {
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--on-dark-40);
  max-width: 120ch;
}
.footer__disc + .footer__disc { margin-top: var(--space-4); }
/* GIPS claim — the credibility statement, a notch brighter than the fine print */
.footer__disc--gips {
  color: var(--on-dark-70);
  font-size: 0.78rem;
  padding-left: var(--space-4);
  border-left: 2px solid var(--accent-soft);
}
.footer__disc--gips a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer__disc--gips a:hover { color: var(--vem-white); }
.footer__base {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  font-size: var(--fs-100);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-60);
}

/* Footer: socials + hours */
.footer__follow { margin-top: var(--space-7); }
.footer__follow-label {
  display: block;
  font-size: var(--fs-100);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.footer__social { list-style: none; display: flex; gap: var(--space-3); }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark-80);
  transition: background var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}
.footer__social svg { width: 17px; height: 17px; }
.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__hours { color: var(--on-dark-40); }
