/* =====================================================================
   VEM — Interactive Client Brochure v3 (meeting-room deck)
   A HORIZONTAL click-through presentation built on the site brand
   system — same blue accent language as the website (no gold).
   Loads AFTER tokens.css. Self-contained: no homepage CSS.

   The site-wide --accent token was flipped to gold (tokens.css); this deck
   is scoped back to blue below so it stays true to the comment above
   regardless of that flip — the ~65 var(--accent...) consumers throughout
   this file were silently rendering gold until this override was added. */
body.bro {
  --accent:       var(--vem-blue);
  --accent-soft:  var(--vem-blue-soft);
  --accent-deep:  var(--vem-blue-deep);
  --accent-hover: #43649C;
  --accent-glow:  rgba(92, 124, 184, 0.45);
}

/* Centerpiece: the 3D "process orbit" on the Investment Process slide —
   a tilted concentric-ring scene (universe outside -> portfolio core)
   that responds to the pointer and opens stage explanations on click.
   Print stylesheet at the bottom turns the same page into a handout.
   ===================================================================== */

.bro {
  background: #EEEDEA;
  color: var(--vem-white);
  overflow: hidden;
}

/* ---------- Deck: horizontal scroll-snap ---------------------------- */
.deck {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }

.slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  /* `safe center` centers content that fits, but falls back to top-alignment
     when a slide is taller than the screen — otherwise the centered overflow
     pushes the top out of reach and it can't be scrolled to (the mobile
     cut-off-at-top bug). The plain `center` is the fallback for old engines. */
  align-content: center;
  align-content: safe center;
  padding: clamp(64px, 8vh, 104px) clamp(56px, 6vw, 96px) clamp(64px, 9vh, 104px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;   /* momentum scroll inside tall slides on iOS */
}
.slide__inner { width: 100%; max-width: 1180px; margin-inline: auto; }
.slide__inner--wide { max-width: 1280px; }

/* Surfaces */
.slide--navy   { background: var(--vem-navy-dark); }
.slide--navy2  { background:
  radial-gradient(120% 90% at 80% 10%, rgba(52,81,140,0.30), transparent 60%),
  var(--vem-navy); }
.slide--light  { background: #F6F5F1; color: var(--vem-ink); }

/* Background imagery — now PROMINENT. The photo carries the slide; a
   smoked-glass panel (below) holds the text so nothing washes out. Just a
   whisper of tint at the corners for edge legibility. */
.slide__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.96; }
.slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7,16,34,0.14) 0%, rgba(7,16,34,0.03) 50%, rgba(7,16,34,0.16) 100%);
}

/* Smoked-glass content panel — every image slide's content sits on this.
   Desaturated charcoal-navy (NOT royal blue) so the deck reads less blue;
   the frosted blur keeps white text crisp while the photo stays vivid
   around it. */
.slide__bg ~ .slide__inner {
  position: relative; z-index: 1;
  background: rgba(16,23,37,0.42);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 50px) clamp(26px, 3.4vw, 50px);
  box-shadow: 0 40px 90px -46px rgba(0,0,0,0.78);
}
@media (max-width: 720px){
  .slide__bg ~ .slide__inner { padding: 22px 18px; border-radius: 16px; }
}

/* Cover slide with image */
.slide--cover { padding-block: 0; }
.slide__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; }
/* Zoom the cover photo up from the left edge so the recognizable skyline
   cluster (Reunion Tower + the green-lit tower, which sit center-left of the
   frame) slides into the OPEN right half of the slide — clear of the text
   column on the left. */
.slide--cover .slide__media img { transform: scale(1.42); transform-origin: left bottom; }
.slide__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Lighter, more neutral scrim so the Dallas skyline reads through; only a hint of blue. */
  background: linear-gradient(115deg, rgba(12,16,24,0.40) 0%, rgba(12,16,24,0.20) 48%, rgba(12,16,24,0.04) 100%);
}
.slide--cover .slide__inner {
  position: relative; z-index: 2;
  /* Left-anchored text column so the right half of the slide stays open for
     the skyline. */
  max-width: 540px; margin-inline: 0;
}

/* ---------- Shared type --------------------------------------------- */
.bro-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-100); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-soft); margin: 0 0 clamp(14px, 2.2vh, 24px);
  font-weight: 600;
}
.bro-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent-soft); display: inline-block; }
.slide--light .bro-eyebrow { color: var(--accent-deep); }
.slide--light .bro-eyebrow::before { background: var(--accent-deep); }

.bro-h {
  font-family: var(--font-display); font-weight: 600;
  line-height: 1.04; letter-spacing: var(--tracking-tight);
  font-size: clamp(2rem, 1rem + 3.4vw, 3.5rem);
  margin: 0;
  /* Explicit pin (not just inherited from .bro) so a future regression can't
     silently darken headings on dark slides again. */
  color: var(--vem-white);
}
.slide--light .bro-h { color: var(--vem-ink); }
/* Gold heading accents on dark slides — the site-wide gold "shine" signature
   (see css/tokens.css --shine-band / @keyframes vemGoldSweep), triggered the
   first time the deck marks a slide .is-in (sticky — stays lit after that).
   Static gold is the fallback before that class lands (first paint, no-JS). */
.bro-h em {
  font-style: italic;
  color: var(--vem-gold);
}
.slide.is-in:not(.slide--light) .bro-h em {
  color: transparent;
  background-color: var(--vem-gold);
  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;
}
.slide--light .bro-h em {
  /* Gold-on-white fails AA for this size, so light slides keep the deep-blue
     shine instead. NB: the base rule's fallback `color: var(--vem-gold)` is
     opaque now (it needs to be, for the dark-slide pre-.is-in fallback), so
     this must re-assert `color: transparent` itself — it can no longer rely
     on inheriting it from the base rule. */
  color: transparent;
  background: linear-gradient(100deg, var(--accent-deep) 20%, var(--vem-blue) 50%, var(--accent-deep) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: blueSweep 7s var(--ease-soft) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-in:not(.slide--light) .bro-h em {
    animation: none; background: none;
    color: var(--vem-gold); -webkit-text-fill-color: var(--vem-gold);
  }
}

.bro-lead {
  margin: clamp(16px, 2.4vh, 26px) 0 0; max-width: 62ch;
  font-size: clamp(1.02rem, 0.94rem + 0.45vw, 1.32rem);
  line-height: 1.55; color: var(--on-dark-80);
}
.bro-lead--sm { font-size: var(--fs-300); color: var(--on-dark-60); }
.slide--light .bro-lead { color: #41485C; }
.slide--light .bro-lead--sm { color: var(--vem-gray-text); }

/* ---------- Cover --------------------------------------------------- */
.cover__brand { height: 40px; width: auto; margin-bottom: clamp(26px, 5.5vh, 56px); }
/* Smoked-glass panel behind the cover headline so text stays readable over the
   brighter parts of the skyline. */
.cover__panel {
  display: inline-block; max-width: min(680px, 94%);
  padding: clamp(22px, 3vw, 40px) clamp(24px, 3.2vw, 46px);
  border-radius: 22px;
  /* Lighter glass: the skyline reads clearly through the panel. The stronger
     blur (not opacity) is what keeps the headline legible over the brighter
     parts of the city, plus a soft text-shadow on the title below. */
  background: linear-gradient(150deg, rgba(8,16,32,0.34), rgba(8,16,32,0.18));
  backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(148,171,214,0.16);
  box-shadow: 0 34px 80px -40px rgba(0,0,0,0.85);
}
.cover__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 1.2rem + 3.1vw, 3.7rem); line-height: 1.04;
  letter-spacing: var(--tracking-tight); margin: 0; max-width: 14ch;
  text-shadow: 0 2px 18px rgba(4,10,22,0.55);
  /* Explicit pin — the cover is always a dark image slide. */
  color: var(--vem-white);
}
.cover__title em {
  font-style: italic;
  color: var(--vem-gold);
}
.slide.is-in .cover__title em {
  color: transparent;
  background-color: var(--vem-gold);
  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) {
  .slide.is-in .cover__title em {
    animation: none; background: none;
    color: var(--vem-gold); -webkit-text-fill-color: var(--vem-gold);
  }
}
@keyframes blueSweep { 0%,100%{ background-position: 0% 0; } 50%{ background-position: 100% 0; } }
.cover__line {
  width: 120px; height: 2px; border: 0; margin: clamp(16px,2.6vh,26px) 0 0;
  background: linear-gradient(90deg, var(--accent-soft), rgba(148,171,214,0.12));
  transform-origin: left center; transform: scaleX(0);
}
.slide.is-in .cover__line { animation: lineDraw 1.2s var(--ease-out) 0.5s forwards; }
@keyframes lineDraw { to { transform: scaleX(1); } }
.cover__sub {
  margin: clamp(18px,2.8vh,28px) 0 0; max-width: 56ch;
  font-size: clamp(1.02rem, 0.94rem + 0.55vw, 1.4rem); line-height: 1.5;
  color: var(--on-dark-80); font-family: var(--font-display); font-style: italic;
}
.cover__callouts { margin-top: clamp(26px, 4.5vh, 48px); display: flex; flex-wrap: wrap; gap: 14px; }
.cover__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(148,171,214,0.45);
  font-size: var(--fs-200); letter-spacing: 0.06em; color: var(--vem-white);
  background: rgba(92,124,184,0.10);
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}
.cover__chip:hover { border-color: var(--accent-soft); background: rgba(92,124,184,0.2); }
.cover__chip svg { width: 15px; height: 15px; color: var(--accent-soft); }
.cover__hint {
  margin-top: clamp(30px, 5.5vh, 58px);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-100); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-60);
}
.cover__hint svg { width: 18px; height: 18px; color: var(--accent-soft); animation: broNudgeX 1.9s var(--ease-soft) infinite; }
@keyframes broNudgeX { 0%,100%{ transform: translateX(0);} 50%{ transform: translateX(6px);} }

/* ---------- Who We Are ----------------------------------------------- */
.bro-who {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4.5vw, 64px); align-items: center;
  margin-top: clamp(8px, 1.4vh, 16px);
}
@media (max-width: 880px){ .bro-who { grid-template-columns: 1fr; gap: 30px; } }
.bro-portrait { margin: 0; }
.bro-portrait img {
  width: 100%; height: auto; max-height: min(60vh, 580px);
  object-fit: cover; object-position: top;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52,81,140,0.30);
  box-shadow: 0 24px 60px -28px rgba(11,31,68,0.55);
}
.bro-portrait figcaption {
  margin-top: 10px; font-size: var(--fs-100); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--vem-gray-text);
}
.bro-portrait figcaption b { color: var(--vem-ink); font-weight: 600; }

.bro-two {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 28px);
  align-items: start; margin-top: clamp(20px, 3.2vh, 34px);
}
.bro-who .bro-two { grid-template-columns: 1fr; }
@media (max-width: 860px){ .bro-two { grid-template-columns: 1fr; gap: 18px; } }

/* Expandable definition cards (click to open) */
.bro-defcard {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
  padding: clamp(18px,2.2vw,26px); border-radius: var(--radius-lg);
  background: #FFFFFF; border: 1px solid var(--vem-gray);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-fast) var(--ease-soft);
}
.bro-defcard:hover { transform: translateY(-2px); border-color: rgba(52,81,140,0.4); }
.defcard__t {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500);
  margin: 0 0 6px; letter-spacing: -0.01em; color: var(--vem-ink);
}
.defcard__teaser { margin: 0; color: #4A5163; line-height: 1.55; font-size: var(--fs-300); }
.defcard__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-mid) var(--ease-out); }
.defcard__more > p { overflow: hidden; margin: 0; color: #4A5163; line-height: 1.6; font-size: var(--fs-300); }
.bro-defcard[aria-expanded="true"] .defcard__more { grid-template-rows: 1fr; }
.bro-defcard[aria-expanded="true"] .defcard__more > p { margin-top: 10px; }
.defcard__chev, .bro-diff__chev {
  flex: 0 0 auto; width: 9px; height: 9px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: 0.5;
  transition: transform var(--dur-mid) var(--ease-out);
  display: inline-block;
}
[aria-expanded="true"] .defcard__chev,
[aria-expanded="true"] .bro-diff__chev { transform: rotate(225deg); }

/* ---------- Differentiator rows (expandable) ------------------------- */
.bro-diff { margin-top: clamp(22px,3.6vh,40px); display: grid; gap: 12px; }
.bro-diff__row {
  display: grid; grid-template-columns: 44px 1fr 16px; gap: 18px; align-items: center;
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  padding: clamp(13px,1.6vw,18px) clamp(18px,2vw,24px);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}
.bro-diff__row:hover { border-color: rgba(148,171,214,0.45); background: rgba(92,124,184,0.10); transform: translateX(4px); }
.bro-diff__row[aria-expanded="true"] { border-color: rgba(148,171,214,0.55); background: rgba(92,124,184,0.12); }
.bro-diff__ico {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(92,124,184,0.16); color: var(--accent-soft);
  border: 1px solid rgba(148,171,214,0.3);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.bro-diff__row:hover .bro-diff__ico,
.bro-diff__row[aria-expanded="true"] .bro-diff__ico { background: var(--accent); color: var(--vem-white); }
.bro-diff__ico svg { width: 22px; height: 22px; }
.bro-diff__main { min-width: 0; }
.bro-diff__t { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); margin: 0 0 2px; }
.bro-diff__d { display: block; margin: 0; font-size: var(--fs-300); color: var(--on-dark-60); line-height: 1.5; }
.bro-diff__more {
  display: block; max-height: 0; overflow: hidden; margin: 0;
  font-size: var(--fs-200); color: var(--accent-soft); line-height: 1.55;
  transition: max-height var(--dur-mid) var(--ease-out), margin var(--dur-mid) var(--ease-out);
}
.bro-diff__row[aria-expanded="true"] .bro-diff__more { max-height: 120px; margin-top: 8px; }
.bro-diff__chev { color: var(--on-dark-40); }

/* ---------- 5-part framework (sequential ignition) ------------------- */
.bro-frame {
  margin-top: clamp(30px,4.5vh,52px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative;
}
@media (max-width: 820px){ .bro-frame { grid-template-columns: 1fr 1fr; gap: 16px; } }
.frame__node { position: relative; text-align: center; padding: 0 10px; }
.frame__node:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; left: 50%; width: 100%; height: 2px;
  background: rgba(255,255,255,0.12);
  transition: background 0.6s var(--ease-soft);
}
.frame__node.is-lit:not(:last-child)::after {
  background: linear-gradient(90deg, var(--accent), rgba(92,124,184,0.25));
}
@media (max-width: 820px){ .frame__node::after { display: none !important; } }
.frame__dot {
  position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--vem-navy); border: 2px solid rgba(148,171,214,0.3);
  color: var(--on-dark-50);
  transition: border-color 0.5s var(--ease-soft), color 0.5s var(--ease-soft),
              box-shadow 0.5s var(--ease-soft), transform 0.5s var(--ease-out);
}
.frame__node.is-lit .frame__dot {
  border-color: var(--accent-soft); color: var(--accent-soft);
  box-shadow: 0 0 22px -4px var(--accent-glow);
  transform: translateY(-3px);
}
.frame__node:hover .frame__dot { border-color: var(--accent-soft); color: var(--accent-soft); box-shadow: 0 0 26px -2px var(--accent-glow); }
.frame__dot svg { width: 26px; height: 26px; }
.frame__n { font-size: var(--fs-100); letter-spacing: 0.18em; color: var(--accent-soft); text-transform: uppercase; margin: 0 0 4px; }
.frame__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); margin: 0 0 6px; }
.frame__desc { margin: 0; font-size: var(--fs-200); color: var(--on-dark-60); line-height: 1.5; max-width: 22ch; margin-inline: auto; }

/* =====================================================================
   THE PROCESS ORBIT — 3D concentric scene
   ===================================================================== */
.bro-orbit-cta { margin: clamp(10px, 1.6vh, 18px) 0 0; }

/* ---------- Universe launch gateway (replaces the in-deck canvas orbit) ---- */
.uni-gate {
  margin-top: clamp(16px, 2.6vh, 30px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(22px, 3.4vw, 52px); align-items: center;
}
@media (max-width: 960px){ .uni-gate { grid-template-columns: 1fr; gap: 20px; } }

.uni-launch {
  position: relative; display: flex; align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: 18px; text-decoration: none;
  background:
    radial-gradient(120% 140% at 18% 30%, rgba(92,124,184,0.20), rgba(11,31,68,0) 60%),
    rgba(8,16,34,0.42);
  border: 1px solid rgba(148,171,214,0.22);
  box-shadow: 0 24px 60px -32px rgba(0,0,0,0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 220ms var(--ease-soft), transform 220ms var(--ease-soft), box-shadow 220ms var(--ease-soft);
}
.uni-launch:hover, .uni-launch:focus-visible {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.78);
  outline: none;
}

/* concentric rings + glowing core — a faithful echo of the WebGL universe */
.uni-rings {
  position: relative; flex: 0 0 auto;
  width: clamp(96px, 11vw, 132px); aspect-ratio: 1; display: grid; place-items: center;
}
.uni-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0.5;
  /* squash to a 3/4 tilt, like the real orbit */
  transform: rotateX(62deg);
}
.uni-ring--1 { inset: 0;                color: #ff5a4f; }
.uni-ring--2 { inset: 13%;              color: #ff9f2e; }
.uni-ring--3 { inset: 27%;              color: #ffd750; }
.uni-ring--4 { inset: 41%;              color: #5fd57e; }
.uni-core {
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #d6ecff, #8fd0ff 45%, #2f6bd0 100%);
  box-shadow: 0 0 24px 6px rgba(143,208,255,0.55), 0 0 60px 14px rgba(92,124,184,0.30);
}
.uni-launch:hover .uni-core { box-shadow: 0 0 30px 8px rgba(143,208,255,0.7), 0 0 78px 18px rgba(92,124,184,0.42); }

.uni-launch__copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.uni-launch__k {
  font-size: var(--fs-100); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-soft); font-weight: 600;
}
.uni-launch__t {
  font-family: var(--font-display, "Cormorant", serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.1;
  color: var(--vem-white);
}
.uni-launch__cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-200); color: var(--accent-soft); font-weight: 600; margin-top: 2px;
}
.uni-launch__cta span { transition: transform 220ms var(--ease-soft); }
.uni-launch:hover .uni-launch__cta span { transform: translateX(4px); }

/* five-stage narrowing ladder */
.uni-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.2vh, 14px); }
.uni-step { display: flex; align-items: baseline; gap: 14px; }
.uni-step__n {
  flex: 0 0 auto; font-size: var(--fs-100); font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent-soft); opacity: 0.85; padding-top: 2px;
}
.uni-step__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.uni-step__name { color: var(--vem-white); font-weight: 600; font-size: var(--fs-300); }
.uni-step__count { color: var(--vem-blue-soft); font-size: var(--fs-200); line-height: 1.4; }
.uni-step--core .uni-step__name { color: #bfe0ff; }

.orbit {
  margin-top: clamp(14px, 2.2vh, 26px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(24px, 3.6vw, 56px); align-items: center;
}
@media (max-width: 960px){ .orbit { grid-template-columns: 1fr; gap: 16px; } }

.orbit__scene {
  position: relative;
  width: min(100%, 560px); margin-inline: auto;
  aspect-ratio: 1 / 0.78;
  perspective: 1100px;
  touch-action: pan-x;
}
.orbit__plane {
  position: absolute; left: 50%; top: 50%;
  width: min(92%, 520px); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(0deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.orbit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Ring hit areas — discs stacked inner-on-top for annulus hit-testing */
.orbit__hit {
  position: absolute; left: 50%; top: 50%;
  width: var(--hr); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%; border: 0; background: transparent;
  cursor: pointer; padding: 0;
}
.orbit__hit:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: -2px; }
/* Dark vignette so the lit sphere + particles pop on the glass panel */
.orbit__scene::before {
  content: ""; position: absolute; inset: -8% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 60% at 54% 50%, rgba(7,12,26,0.7), rgba(7,12,26,0) 72%);
}

/* Leader-line callouts — labels sit outside, a line points to the ring */
.orbit__tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.orbit__tag {
  position: absolute; left: 3%; top: var(--ty);
  transform: translateY(-50%); pointer-events: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--on-dark-80);
  background: rgba(7,16,34,0.66); border: 1px solid rgba(148,171,214,0.32);
  border-radius: var(--radius-pill); padding: 5px 13px; cursor: pointer;
  backdrop-filter: blur(5px); white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-out);
}
.orbit__tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent-soft); box-shadow: 0 0 7px var(--accent-glow);
}
.orbit__tag::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  width: var(--lead, 50px); height: 1.5px; transform-origin: left center;
  transform: rotate(var(--ang, 0deg));
  background: linear-gradient(90deg, var(--accent-soft), rgba(148,171,214,0.04));
  pointer-events: none;
}
.orbit__tag:hover { color: #fff; border-color: var(--accent-soft); transform: translateY(-50%) scale(1.05); }
.orbit__tag.is-active { color: var(--vem-navy-dark); background: var(--accent-soft); border-color: var(--accent-soft); }
.orbit__tag.is-active::before { background: var(--vem-navy-dark); box-shadow: none; }
.orbit__tag--core::before { background: #fff; }
@media (max-width: 600px){ .orbit__tag { font-size: 10px; padding: 4px 9px; } .orbit__tag::after { width: calc(var(--lead) * 0.6); } }

/* Zoom control */
.orbit__zoom {
  position: absolute; right: 3%; bottom: 4%; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.04em;
  color: var(--vem-white); cursor: pointer;
  background: rgba(92,124,184,0.22); border: 1px solid rgba(148,171,214,0.45);
  backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-out);
}
.orbit__zoom:hover { background: rgba(92,124,184,0.36); border-color: var(--accent-soft); transform: translateY(-1px); }
.orbit__zoom svg { color: var(--accent-soft); }
.orbit__zoom[aria-pressed="true"] { background: var(--accent-soft); color: var(--vem-navy-dark); border-color: var(--accent-soft); }
.orbit__zoom[aria-pressed="true"] svg { color: var(--vem-navy-dark); }
.orbit.is-zoomed .orbit__scene { z-index: 5; }
.orbit.is-zoomed .orbit__tag { opacity: 0.55; }

.orbit__hint {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  margin: 0; font-size: var(--fs-100); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-40); white-space: nowrap;
}

/* Stage panel — one open at a time, swaps on ring click */
.orbit__panel { position: relative; min-height: clamp(280px, 40vh, 420px); }
.orbit__stage {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(18px); pointer-events: none;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  padding: clamp(18px,2.2vw,26px);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09);
  border-left: 3px solid var(--accent-soft);
  overflow-y: auto;
}
.orbit__stage.is-active { opacity: 1; transform: none; pointer-events: auto; }
.orbit__k { margin: 0 0 6px; font-size: var(--fs-100); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); }
.orbit__stage h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-600); margin: 0 0 6px; }
.orbit__count { margin: 0 0 12px; font-size: var(--fs-200); font-weight: 600; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.orbit__stage > p:not(.orbit__k):not(.orbit__count) { margin: 0; font-size: var(--fs-300); line-height: 1.6; color: var(--on-dark-70); }

/* The Multi-Factor Ranking chart (axes from the original brochure) */
.orbit__chart { margin: 16px 0 0; }
.orbit__chart svg { width: 100%; max-width: 360px; height: auto; display: block; }
.oc-axis { stroke: rgba(255,255,255,0.4); stroke-width: 1; }
.oc-zero { stroke: rgba(255,255,255,0.18); stroke-width: 1; stroke-dasharray: 3 4; }
.oc-lab { font-family: var(--font-body); font-size: 11px; fill: var(--on-dark-60); letter-spacing: 0.06em; }
.oc-tick { font-family: var(--font-body); font-size: 10px; fill: var(--on-dark-50); }
.oc-bars rect {
  fill: rgba(148,171,214,0.72);
  transform-box: fill-box; transform-origin: bottom; transform: scaleY(0);
}
.oc-bars rect:nth-child(n+8) { fill: var(--accent-soft); }
.oc-bars rect.oc-neg { fill: rgba(148,171,214,0.28); transform-origin: top; }
.orbit__stage.is-active .oc-bars rect { animation: barGrow 0.8s var(--ease-out) forwards; }
.oc-bars rect:nth-child(2){ animation-delay: 0.05s !important; }
.oc-bars rect:nth-child(3){ animation-delay: 0.10s !important; }
.oc-bars rect:nth-child(4){ animation-delay: 0.15s !important; }
.oc-bars rect:nth-child(5){ animation-delay: 0.20s !important; }
.oc-bars rect:nth-child(6){ animation-delay: 0.25s !important; }
.oc-bars rect:nth-child(7){ animation-delay: 0.30s !important; }
.oc-bars rect:nth-child(8){ animation-delay: 0.35s !important; }
.oc-bars rect:nth-child(9){ animation-delay: 0.40s !important; }
.oc-bars rect:nth-child(10){ animation-delay: 0.45s !important; }
@keyframes barGrow { to { transform: scaleY(1); } }
.orbit__chart figcaption { margin-top: 8px; font-size: var(--fs-100); color: var(--on-dark-50); line-height: 1.5; font-style: italic; max-width: 48ch; }

/* ---------- Strategy-platform funnel (website engine, ported) --------
   Clamped-particle funnel from the live site: particles are constrained
   to the funnel half-width so they never fall outside the silhouette. */
.pfunnel {
  margin-top: clamp(22px, 3.2vh, 40px);
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
@media (max-width: 880px){ .pfunnel { grid-template-columns: 1fr; gap: clamp(22px,5vw,34px); } }

.pfunnel__viz { display: flex; justify-content: center; }
.pfunnel__svg { width: 100%; max-width: 320px; height: auto; display: block; overflow: visible; }

.pband-g .pband {
  fill: rgba(255,255,255,0.05);
  stroke: rgba(255,255,255,0.12); stroke-width: 1;
  transition: fill 0.6s var(--ease-soft), stroke 0.35s var(--ease-soft), stroke-width 0.35s var(--ease-soft);
  cursor: pointer;
}
.pband-g .pband-label {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  fill: rgba(255,255,255,0.30); letter-spacing: -0.01em;
  transition: fill 0.55s var(--ease-soft); pointer-events: none;
}
.pband-caption { font-family: var(--font-display); font-style: italic; font-size: 15px; fill: var(--accent-soft); }

/* Poured state — concentrates from faint to bright accent at the tip */
.pband-g.is-filled[data-i="0"] .pband { fill: rgba(148,171,214,0.18); }
.pband-g.is-filled[data-i="1"] .pband { fill: rgba(148,171,214,0.32); }
.pband-g.is-filled[data-i="2"] .pband { fill: rgba(148,171,214,0.52); }
.pband-g.is-filled[data-i="3"] .pband { fill: rgba(124,152,208,0.78); }
.pband-g.is-filled[data-i="4"] .pband { fill: var(--accent-soft); }
.pband-g.is-filled .pband-label { fill: var(--vem-white); }
.pband-g.is-filled[data-i="4"] .pband-label { fill: var(--vem-navy-dark); }
.pband-g.is-filled[data-i="4"] .pband { animation: bandPulse 2s var(--ease-soft) infinite; }
@keyframes bandPulse {
  0%,100% { filter: drop-shadow(0 0 0 rgba(148,171,214,0)); }
  50%     { filter: drop-shadow(0 0 7px rgba(148,171,214,0.75)); }
}
.pband-g.is-active .pband { stroke: var(--accent-soft); stroke-width: 2.4; }

/* Falling particles — clamped to the silhouette (no leak) */
.pgrains { filter: drop-shadow(0 0 2px rgba(173,196,232,0.9)); }
.pgrain { fill: #eaf2fb; pointer-events: none; }

/* Stage accordion */
.pfunnel__stages { display: flex; flex-direction: column; gap: 10px; }
.pstage {
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.035); overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), box-shadow var(--dur-mid) var(--ease-soft);
}
.pstage:hover { border-color: rgba(148,171,214,0.30); box-shadow: 0 0 0 1px rgba(148,171,214,0.12), 0 14px 30px -22px rgba(0,0,0,0.7); }
.pstage.is-open {
  border-color: rgba(148,171,214,0.55);
  background: linear-gradient(120deg, rgba(92,124,184,0.20), rgba(92,124,184,0.04));
  box-shadow: 0 0 0 1px rgba(148,171,214,0.22), 0 18px 40px -24px rgba(92,124,184,0.85);
}
.pstage__head {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 14px; padding: clamp(12px,1.5vw,15px) clamp(14px,1.7vw,18px);
  background: transparent; border: 0; text-align: left; cursor: pointer; color: inherit;
}
.pstage__head:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.pstage__num { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400); line-height: 1; color: var(--on-dark-40); transition: color var(--dur-fast) var(--ease-soft); }
.pstage__name { font-size: var(--fs-300); font-weight: 600; line-height: 1.2; color: var(--on-dark-80); }
.pstage__count { font-size: var(--fs-200); color: var(--on-dark-70); white-space: nowrap; }
.pstage__count--live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-soft); }
.pstage__livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 9px rgba(148,171,214,0.85); animation: liveDot 1.7s var(--ease-soft) infinite; }
@keyframes liveDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.66); } }
.pstage__chev { color: var(--on-dark-40); flex-shrink: 0; transition: transform var(--dur-mid) var(--ease-out), color var(--dur-fast) var(--ease-soft); }
.pstage.is-open .pstage__num   { color: var(--accent-soft); }
.pstage.is-open .pstage__name  { color: var(--vem-white); }
.pstage.is-open .pstage__count { color: var(--accent-soft); }
.pstage.is-open .pstage__chev  { transform: rotate(180deg); color: var(--accent-soft); }
.pstage__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-mid) var(--ease-out); }
.pstage.is-open .pstage__body { grid-template-rows: 1fr; }
.pstage__body-inner { overflow: hidden; }
.pstage__body p { margin: 0; padding: 2px clamp(14px,1.7vw,18px) clamp(14px,1.8vw,17px); font-size: var(--fs-300); line-height: 1.6; color: var(--on-dark-70); max-width: 60ch; }
@media (prefers-reduced-motion: reduce){ .pband-g .pband, .pband-g .pband-label, .pstage__body { transition: none; } .pband-g.is-filled[data-i="4"] .pband, .pstage__livedot { animation: none; } }

/* ---------- Style boxes / model cards (flip) -------------------------- */
.bro-models { margin-top: clamp(24px,3.6vh,44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.6vw,32px); }
.bro-models--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 860px){ .bro-models, .bro-models--two { grid-template-columns: 1fr; } }
.model {
  position: relative; display: block; width: 100%; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  padding: 0; border: 0; background: transparent;
  perspective: 900px;
}
.model--static { cursor: default; }
.model__face {
  display: block;
  padding: clamp(20px,2.4vw,28px); border-radius: var(--radius-lg);
  background: #FFFFFF; border: 1px solid var(--vem-gray);
  box-shadow: var(--shadow-card);
  backface-visibility: hidden;
  transition: transform 0.65s var(--ease-out);
}
.model__front { position: relative; transform: rotateY(0deg); }
.model__back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--vem-navy); border-color: var(--vem-navy-700); color: var(--vem-white);
}
.model.is-flipped .model__front { transform: rotateY(-180deg); }
.model.is-flipped .model__back { transform: rotateY(0deg); }
.model:hover .model__face { box-shadow: 0 28px 56px -26px rgba(11,31,68,0.5); }
/* static (non-flip) model cards on dark slides */
.model--static {
  padding: clamp(20px,2.4vw,28px); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-soft);
}
.model--static:hover { transform: translateY(-4px); border-color: rgba(148,171,214,0.4); }
.model__t, .model--static h3 { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-600); margin: 0 0 4px; color: var(--vem-ink); }
.model--static h3, .model__back .model__t { color: inherit; }
.model__tag { display: block; font-size: var(--fs-100); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 14px; }
.model--static .model__tag, .model__back .model__tag { color: var(--accent-soft); }
.model__p, .model--static p { display: block; margin: 12px 0 0; font-size: var(--fs-300); line-height: 1.55; color: #4A5163; }
.model--static p { color: var(--on-dark-70); }
.model__back .model__p { color: var(--on-dark-80); }
.model__bench { display: block; margin: 12px 0 0; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); color: var(--vem-white); line-height: 1.3; }

/* Size axis (Large / Mid / Small, top→bottom) beside the style-box illustration.
   Grid rows mirror the box's 3 rows (same 5px gap) so L / M / S line up exactly
   with each row; left-aligned so the first letters form a clean vertical line. */
.sboxw { display: inline-grid; grid-template-columns: auto auto; align-items: stretch; gap: 9px; }
.sbox-yax {
  display: grid; grid-template-rows: repeat(3, 1fr); gap: 5px;
  align-items: center; justify-items: start;
  line-height: 1; white-space: nowrap;
  font-size: 9px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: #5b6479;
}
.sbox-yax i { font-style: normal; }
.model--static .sbox-yax, .slide--light .sbox-yax { color: #5b6479; }
.sbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 132px; }
/* Morningstar-style: empty squares are light; the captured square fills DARK navy. */
.sbox__cell {
  aspect-ratio: 1; border-radius: 3px; background: #94ABD6;
  opacity: 0; transform: scale(0.55);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), background 0.45s var(--ease-soft);
}
.sbox__cell.is-on,
.sbox__cell.is-hot { background: var(--vem-navy); }
.sbox__cell.is-hot { box-shadow: 0 2px 9px -3px rgba(11,31,68,0.55), 0 0 0 1px rgba(34,49,104,0.2); }
.model--static .sbox__cell { background: #94ABD6; }
.model--static .sbox__cell.is-on,
.model--static .sbox__cell.is-hot { background: var(--vem-navy); }
.slide.is-in .sbox__cell { opacity: 1; transform: scale(1); }
.slide.is-in .sbox__cell:nth-child(1){ transition-delay: 0.30s; }
.slide.is-in .sbox__cell:nth-child(2){ transition-delay: 0.36s; }
.slide.is-in .sbox__cell:nth-child(3){ transition-delay: 0.42s; }
.slide.is-in .sbox__cell:nth-child(4){ transition-delay: 0.48s; }
.slide.is-in .sbox__cell:nth-child(5){ transition-delay: 0.54s; }
.slide.is-in .sbox__cell:nth-child(6){ transition-delay: 0.60s; }
.slide.is-in .sbox__cell:nth-child(7){ transition-delay: 0.66s; }
.slide.is-in .sbox__cell:nth-child(8){ transition-delay: 0.72s; }
.slide.is-in .sbox__cell:nth-child(9){ transition-delay: 0.78s; }
.model__cap { display: block; margin-top: 12px; font-size: var(--fs-100); color: var(--vem-gray-text); font-style: italic; }
.model--static .model__cap { color: var(--on-dark-50); }
.model__back .model__cap { color: var(--on-dark-60); }

/* ---------- Light-slide overrides: ETF cards + notes on white -------- */
.slide--light .model--static {
  background: #FFFFFF; border: 1px solid var(--vem-gray); box-shadow: var(--shadow-card);
}
.slide--light .model--static:hover { border-color: rgba(52,81,140,0.4); }
.slide--light .model--static h3 { color: var(--vem-ink); }
.slide--light .model--static p { color: #4A5163; }
.slide--light .model--static .model__tag { color: var(--accent-deep); }
.slide--light .model--static .model__cap { color: var(--vem-gray-text); }

.slide--light .note {
  background: #FFFFFF; border: 1px solid var(--vem-gray); border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-card);
}
.slide--light .note:hover { border-color: rgba(52,81,140,0.35); border-top-color: var(--accent); }
.slide--light .note h3 { color: var(--vem-ink); }
.slide--light .note > p { color: #4A5163; }
.slide--light .note li { color: #4A5163; }
.slide--light .note li::marker { color: var(--accent-deep); }
.slide--light .note__risk { color: var(--vem-gray-text); }
.slide--light .note__toggle {
  color: var(--accent-deep); background: rgba(52,81,140,0.06); border-color: rgba(52,81,140,0.22);
}
.slide--light .note__toggle:hover { background: rgba(52,81,140,0.12); border-color: rgba(52,81,140,0.45); }

/* ---------- GIPS context -------------------------------------------- */
.bro-gips { margin-top: clamp(22px,3.6vh,40px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(26px,4vw,56px); align-items: center; }
@media (max-width: 880px){ .bro-gips { grid-template-columns: 1fr; gap: 24px; } }
.bro-gips__claim { padding: clamp(20px,2.6vw,30px); border-radius: var(--radius-lg); background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-left: 3px solid var(--accent-soft); }
.bro-gips__claim p { margin: 0 0 12px; color: var(--on-dark-70); line-height: 1.6; font-size: var(--fs-300); }
.bro-gips__claim p:last-child { margin-bottom: 0; }
.bro-gips__cta { margin-top: 18px !important; }
.bro-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bro-stat {
  padding: 20px; border-radius: var(--radius-md);
  background: rgba(92,124,184,0.10); border: 1px solid rgba(148,171,214,0.22); text-align: center;
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-out);
}
.bro-stat:hover { border-color: var(--accent-soft); background: rgba(92,124,184,0.16); transform: translateY(-3px); }
.bro-stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem,1rem+1.5vw,2.2rem); color: var(--vem-white); font-variant-numeric: tabular-nums; }
.bro-stat span { display: block; margin-top: 4px; font-size: var(--fs-100); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-60); }

/* ---------- Structured notes ----------------------------------------- */
.bro-notes { margin-top: clamp(22px,3.6vh,42px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px,3vw,36px); }
@media (max-width: 820px){ .bro-notes { grid-template-columns: 1fr; } }
.note {
  padding: clamp(20px,2.4vw,28px); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--accent);
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-soft);
}
.note:hover { transform: translateY(-3px); border-color: rgba(148,171,214,0.35); }
.note h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-600); margin: 0 0 10px; }
.note > p { margin: 0 0 14px; color: var(--on-dark-70); line-height: 1.6; font-size: var(--fs-300); }
.note__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  text-align: left; cursor: pointer; font: inherit;
  font-size: var(--fs-200); font-weight: 600; color: var(--accent-soft);
  background: rgba(92,124,184,0.10); border: 1px solid rgba(148,171,214,0.25);
  border-radius: var(--radius-sm); padding: 10px 14px;
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft);
}
.note__toggle:hover { background: rgba(92,124,184,0.18); border-color: rgba(148,171,214,0.5); }
.note__list {
  margin: 0; padding: 0 0 0 18px; display: grid; gap: 7px;
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-mid) var(--ease-out), margin var(--dur-mid) var(--ease-out);
}
.note__toggle[aria-expanded="true"] + .note__list { max-height: 260px; margin-top: 12px; }
.note li { font-size: var(--fs-200); color: var(--on-dark-60); line-height: 1.45; }
.note li::marker { color: var(--accent-soft); }
.note__risk { margin: 14px 0 0; font-size: var(--fs-100); color: var(--on-dark-50); line-height: 1.5; font-style: italic; }

/* ---------- Team ------------------------------------------------------ */
.bro-team { margin-top: clamp(22px,3.6vh,42px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2.4vw,28px); }
@media (max-width: 920px){ .bro-team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .bro-team { grid-template-columns: 1fr; } }
.tm { text-align: center; }
.tm__photo {
  width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 16px;
  object-fit: cover; border: 2px solid rgba(52,81,140,0.45);
  background: var(--vem-navy);
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-soft), box-shadow var(--dur-mid) var(--ease-out);
}
.tm:hover .tm__photo { transform: scale(1.06); border-color: var(--accent); box-shadow: 0 12px 30px -12px var(--accent-glow); }
.tm__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); margin: 0; }
.tm__role { margin: 3px 0 10px; font-size: var(--fs-100); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.tm__bio { margin: 0; font-size: var(--fs-200); color: #4A5163; line-height: 1.5; }

/* ---------- Team: people circles + detail panel (cloned from the site) ----
   Tap a circle to open that person's panel; sized compact to fit a deck slide. */
.team__people {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(16px, 3vw, 46px); margin: clamp(18px, 3vh, 34px) 0 0;
}
.person {
  background: none; border: 0; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: clamp(118px, 12vw, 150px);
  transition: transform 0.25s var(--ease-soft);
}
.person:hover { transform: translateY(-4px); }
.person__photo {
  width: clamp(76px, 7vw, 96px); height: clamp(76px, 7vw, 96px);
  border-radius: 50%; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--vem-navy), var(--vem-navy-dark));
  box-shadow: 0 0 0 3px var(--vem-gray), 0 12px 26px -14px rgba(11,31,68,0.5);
  transition: box-shadow 0.3s 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.4rem; 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-gray), 0 0 0 5px var(--accent), 0 14px 30px -14px rgba(11,31,68,0.6);
}
.person__name { margin-top: 11px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400); 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: 22ch; }

.team__panels { margin-top: clamp(16px, 2.6vh, 30px); }
.member-panel {
  display: grid; grid-template-columns: clamp(150px, 16vw, 200px) 1fr;
  gap: clamp(20px, 3vw, 40px); align-items: center;
  background: var(--vem-white); border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px -34px rgba(11,31,68,0.45);
  padding: clamp(18px, 2.4vw, 30px);
  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: 0 18px 40px -24px rgba(11,31,68,0.5); 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-600); line-height: 1.05; color: var(--vem-navy-dark); margin: 0; }
.member-panel__role { margin-top: 6px; font-size: var(--fs-100); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-deep); }
.member-panel__bio { margin-top: 12px; font-size: var(--fs-300); line-height: 1.55; color: #41485C; max-width: 64ch; }
.member-panel__cred { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; 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; } }

/* ---------- Closing / contact ---------------------------------------- */
.bro-cta { margin-top: clamp(26px,4vh,46px); display: flex; flex-wrap: wrap; gap: 16px; }
.bro-contact { margin-top: clamp(26px,4vh,46px); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px,5vw,64px); align-items: start; }
@media (max-width: 720px){ .bro-contact { grid-template-columns: 1fr; gap: 24px; } }
.bro-contact address { font-style: normal; line-height: 1.7; color: var(--on-dark-70); font-size: var(--fs-300); }
.bro-contact address a { color: var(--accent-soft); }
.bro-contact strong { color: var(--vem-white); }
.bro-disc { font-size: var(--fs-100); color: var(--on-dark-50); line-height: 1.55; max-width: 70ch; }
.bro-disc p { margin: 0 0 8px; }

/* Phones: the 56px slide side-padding squeezes content (and wraps the contact
   email). Tighten the gutters so slides have room, and keep the email on one line. */
@media (max-width: 560px) {
  .slide { padding-left: 20px; padding-right: 20px; }
  .bro-contact address a[href^="mailto:"] { white-space: nowrap; }
}

/* On phones the slide is tall and narrow, so the left-column + zoomed-from-left
   framing of the cover doesn't apply — let the panel span the width and show
   the skyline centered. */
@media (max-width: 760px) {
  .slide--cover .slide__inner { max-width: 100%; }
  .slide--cover .slide__media img { transform: none; }
}

/* ---------- Buttons: .btn/.btn--gold/.btn--ghost now live in tokens.css (single source of truth) ---------- */

/* ---------- Deck chrome ------------------------------------------------ */
.bro-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(7,16,34,0.65), transparent);
  pointer-events: none;
}
.bro-top a { pointer-events: auto; }
.bro-top__brand img { height: 46px; width: auto; }
@media (max-width: 560px){ .bro-top__brand img { height: 38px; } }
.bro-top__exit {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-200); color: var(--on-dark-70);
  padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2); background: rgba(7,16,34,0.4);
  backdrop-filter: blur(6px); transition: color var(--dur-fast), border-color var(--dur-fast);
}
.bro-top__exit:hover { color: #fff; border-color: var(--accent-soft); }

/* Edge arrows — big presenting controls at mid-height */
.bro-edge {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: var(--z-overlay);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.22); background: rgba(7,16,34,0.45);
  color: var(--vem-white); cursor: pointer; backdrop-filter: blur(6px);
  transition: background var(--dur-fast), border-color var(--dur-fast), opacity var(--dur-fast), transform var(--dur-fast);
}
.bro-edge--prev { left: clamp(10px, 1.6vw, 22px); }
.bro-edge--next { right: clamp(10px, 1.6vw, 22px); }
.bro-edge:hover { background: rgba(92,124,184,0.3); border-color: var(--accent-soft); transform: translateY(-50%) scale(1.07); }
.bro-edge svg { width: 22px; height: 22px; }
.bro-edge[disabled] { opacity: 0.25; cursor: default; }
@media (max-width: 720px){ .bro-edge { width: 42px; height: 42px; } }

/* Bottom bar: horizontal dot rail + progress + counter */
.bro-foot {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px clamp(16px, 3vw, 28px);
  background: linear-gradient(0deg, rgba(7,16,34,0.65), transparent);
  pointer-events: none;
}
.bro-foot > * { pointer-events: auto; }
.bro-rail { display: flex; flex-direction: row; gap: 11px; }
@media (max-width: 720px){ .bro-rail { display: none; } }
.bro-rail__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
  background: transparent; cursor: pointer; padding: 0; position: relative;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.bro-rail__dot:hover { border-color: var(--accent-soft); transform: scale(1.25); }
.bro-rail__dot.is-active { background: var(--accent-soft); border-color: var(--accent-soft); }
.bro-rail__dot::after {
  content: attr(data-label); position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 12px; color: var(--vem-white);
  background: rgba(7,16,34,0.9); padding: 5px 10px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-fast);
  border: 1px solid rgba(148,171,214,0.3);
}
.bro-rail__dot:hover::after { opacity: 1; }
.bro-progress { flex: 1; height: 2px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; max-width: 420px; }
.bro-progress__bar { height: 100%; width: 0; background: var(--accent-soft); transition: width var(--dur-mid) var(--ease-soft); }
.bro-count { font-size: var(--fs-200); color: var(--on-dark-60); font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }

/* ---------- Reveal on enter (horizontal) ----------------------------- */
.slide__inner > * { opacity: 0; transform: translateX(26px); }
.slide.is-in .slide__inner > * { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.slide.is-in .slide__inner > *:nth-child(2){ transition-delay: 0.06s; }
.slide.is-in .slide__inner > *:nth-child(3){ transition-delay: 0.12s; }
.slide.is-in .slide__inner > *:nth-child(4){ transition-delay: 0.18s; }
.slide.is-in .slide__inner > *:nth-child(5){ transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce){
  .deck { scroll-behavior: auto; }
  .slide__inner > * { opacity: 1; transform: none; }
  .sbox__cell { opacity: 1; transform: none; transition: none; }
  .cover__hint svg, .cover__title em, .bro-h em,
  .orbit__stage.is-active .oc-bars rect { animation: none; }
  .cover__line { transform: scaleX(1); }
  .oc-bars rect { transform: scaleY(1); }
}

/* ===================================================================
   PRINT — the same page becomes a clean PDF handout
   =================================================================== */
@media print {
  .bro-top, .bro-edge, .bro-foot, .cover__hint, .pgrains, .orbit__hint { display: none !important; }
  .bro { overflow: visible; }
  .deck { display: block; width: auto; height: auto; overflow: visible; scroll-snap-type: none; }
  html, body, .bro { background: #fff !important; color: #111 !important; }
  .slide {
    width: auto; height: auto; min-height: 0;
    page-break-after: always; break-after: page;
    padding: 28px 32px; display: block; overflow: visible;
    background: #fff !important; color: #111 !important;
  }
  .slide--cover { padding: 0; }
  .slide__bg { display: none !important; }
  .slide__bg ~ .slide__inner {
    background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
  }
  .slide__scrim { background: linear-gradient(180deg, rgba(12,16,24,0.30) 0%, rgba(12,16,24,0.58) 100%) !important; }
  .cover__title em { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--vem-blue-soft) !important; animation: none; }
  .bro-h em { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; animation: none !important; }
  .cover__line { transform: scaleX(1) !important; animation: none; }
  .slide__inner > * { opacity: 1 !important; transform: none !important; }
  .bro-lead, .defcard__teaser, .defcard__more > p, .model p, .model__p, .note > p, .tm__bio, .frame__desc,
  .note li,
  .orbit__stage > p:not(.orbit__k):not(.orbit__count) { color: #333 !important; }
  .bro-h, .model h3, .model__t, .defcard__t, .note h3, .frame__name, .cover__title,
  .bro-diff__t, .tm__name, .orbit__stage h3 { color: #0B1F44 !important; }
  .bro-h em, .model__tag, .frame__n, .bro-eyebrow, .orbit__k, .orbit__count,
  .bro-diff__more { color: #34518C !important; }
  .bro-defcard, .model__face, .model--static, .note, .bro-gips__claim,
  .bro-diff__row, .bro-stat, .orbit__stage {
    background: #fff !important; border: 1px solid #ccc !important; box-shadow: none !important;
  }
  /* every expandable opens; every stage article prints */
  .defcard__more { grid-template-rows: 1fr !important; }
  .defcard__more > p { margin-top: 10px !important; }
  .bro-diff__more { max-height: none !important; margin-top: 8px !important; display: block !important; }
  .note__list { max-height: none !important; margin-top: 12px !important; }
  .note__toggle { display: none !important; }
  .orbit { grid-template-columns: 1fr; }
  .orbit__scene { display: none; } /* 3D scene is screen-only; stages carry the content */
  .orbit__panel { min-height: 0; }
  .orbit__stage {
    position: static !important; opacity: 1 !important; transform: none !important;
    pointer-events: auto; margin-bottom: 14px; overflow: visible;
  }
  .oc-bars rect { animation: none !important; transform: scaleY(1) !important; }
  .oc-axis, .oc-zero { stroke: #888 !important; }
  .oc-lab, .oc-tick { fill: #555 !important; }
  .oc-bars rect { fill: #94ABD6 !important; }
  .orbit__chart figcaption { color: #666 !important; }
  /* model flips: print both faces stacked */
  .model__back { position: static !important; transform: none !important; margin-top: 10px;
    background: #fff !important; color: #111 !important; }
  .model__back .model__bench { color: #0B1F44 !important; }
  .model.is-flipped .model__front { transform: none !important; }
  .sbox__cell { opacity: 1 !important; transform: none !important; background: #94ABD6 !important; }
  .sbox__cell.is-on  { background: #223168 !important; }
  .sbox__cell.is-hot { background: #223168 !important; box-shadow: none !important; }
  .pband { fill: rgba(92,124,184,0.3) !important; animation: none !important; filter: none !important; }
  .pband-g[data-i="3"] .pband, .pband-g[data-i="4"] .pband { fill: #5C7CB8 !important; }
  .pband-label { fill: #0B1F44 !important; }
  .pband-caption { fill: #34518C !important; }
  .pgrains { display: none !important; }
  .pstage { background: #fff !important; border: 1px solid #ccc !important; box-shadow: none !important; }
  .pstage__body { grid-template-rows: 1fr !important; }
  .pstage__name { color: #0B1F44 !important; } .pstage__num, .pstage__count { color: #34518C !important; }
  .pstage__body p { color: #333 !important; }
  .pstage__livedot { display: none !important; }
  .frame__node::after { background: #5C7CB8 !important; }
  .frame__dot { border-color: #5C7CB8 !important; color: #34518C !important; box-shadow: none !important; transform: none !important; }
  .bro-stat b { color: #34518C !important; }
  .bro-stat span, .bro-disc, .bro-contact address { color: #333 !important; }
  .bro-contact strong { color: #0B1F44 !important; }
  .tm__role { color: #34518C !important; }
  .btn { border: 1px solid #34518C !important; background: #fff !important; color: #34518C !important; box-shadow: none !important; }
}
