/* ===================================================================
   CRESYN × OMNINGAGE — Partner Presentation
   Design system: dark navy canvas, single cyan-blue accent, restrained
   amber used only for proof-point numbers. One scene fills the
   viewport at a time; js/app.js toggles position state classes below.
=================================================================== */

/* ---------- Design tokens ---------- */
:root{
  --navy-950:#03060a;
  --navy-900:#060d16;
  --navy-800:#0a1420;
  --navy-700:#101d2c;
  --navy-600:#16283b;
  --navy-500:#1d3650;

  --ink-0:#f5f8fb;
  --ink-1:#c9d4e0;
  --ink-2:#8fa1b3;
  --ink-3:#5c7288;

  --blue-400:#4dd2ff;
  --blue-500:#12abe8;
  --blue-600:#0097cf;
  --blue-700:#046faa;

  --amber-400:#ffb648;

  --line:rgba(255,255,255,0.09);
  --line-strong:rgba(255,255,255,0.16);
  --glass:rgba(16,29,44,0.55);
  --glass-soft:rgba(16,29,44,0.35);

  --ease-out:cubic-bezier(.16,.8,.28,1);
  --ease-inout:cubic-bezier(.65,0,.35,1);
  --ease-back:cubic-bezier(.34,1.56,.64,1);

  --dur-scene:900ms;
  --dur-reveal:700ms;

  --fs-eyebrow: clamp(11px, 0.9vw, 14px);
  --fs-headline: clamp(28px, 4.6vw, 58px);
  --fs-headline-hero: clamp(36px, 6.2vw, 84px);
  --fs-subhead: clamp(15px, 1.5vw, 21px);
  --fs-body: clamp(14px, 1.15vw, 17px);

  --pad-x: clamp(28px, 6vw, 96px);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html,body{
  height:100%;
  margin:0;
  overscroll-behavior:none;
}
body{
  background:var(--navy-950);
  color:var(--ink-0);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Inter,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow:hidden;
  cursor:default;
}
h1,h2,h3,h4,p,blockquote,ul{ margin:0; }
ul{ padding:0; list-style:none; }
img{ display:block; max-width:100%; }
a{ color:inherit; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
kbd{
  font:inherit; font-size:0.85em; padding:0.1em 0.5em; border-radius:5px;
  border:1px solid var(--line-strong); background:rgba(255,255,255,0.05);
}
svg{ display:block; overflow:visible; }

/* ambient background depth — two soft blurred blobs, fixed behind everything */
body::before,body::after{
  content:"";
  position:fixed;
  z-index:0;
  width:60vmax; height:60vmax;
  border-radius:50%;
  filter:blur(90px);
  opacity:0.16;
  pointer-events:none;
  animation:drift 34s ease-in-out infinite alternate;
}
body::before{
  top:-20vmax; left:-16vmax;
  background:radial-gradient(circle, var(--blue-600), transparent 70%);
}
body::after{
  bottom:-24vmax; right:-18vmax;
  background:radial-gradient(circle, var(--blue-700), transparent 70%);
  animation-delay:-17s;
}
@keyframes drift{
  from{ transform:translate(0,0) scale(1); }
  to{ transform:translate(4vmax,3vmax) scale(1.08); }
}

/* ===================================================================
   DECK / SCENE STAGE
=================================================================== */
#deck{
  position:relative; z-index:1;
  width:100%; height:100%;
}
.scene{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  padding:clamp(40px, 8vh, 88px) var(--pad-x);
  will-change:transform, opacity;
  transition:transform var(--dur-scene) var(--ease-inout), opacity var(--dur-scene) var(--ease-inout);
  pointer-events:none;
  overflow-y:auto; /* safety net: scrollable rather than silently clipped on short/laptop viewports */
}
.scene::-webkit-scrollbar{ display:none; }

.scene[data-state="active"]{
  opacity:1; transform:translateY(0) scale(1);
  pointer-events:auto;
  z-index:2;
}
.scene[data-state="prev"]{ opacity:0; transform:translateY(-4%) scale(.96); z-index:1; }
.scene[data-state="next"]{ opacity:0; transform:translateY(4%) scale(.96); z-index:1; }
.scene[data-state="far"]{ opacity:0; transform:translateY(0) scale(.94); z-index:0; }

.scene--dim{ background:radial-gradient(ellipse at 50% 40%, var(--navy-800), var(--navy-950) 70%); }
.scene--divider{ background:linear-gradient(180deg, var(--navy-900), var(--navy-950)); }

.scene-content{
  position:relative;
  width:100%; max-width:1180px;
  display:flex; flex-direction:column;
  gap:22px;
}
.scene-content--center{ align-items:center; text-align:center; }
.scene-content--split{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:clamp(24px,4vw,64px);
  max-width:1320px;
}
.scene-content--split .split-text{ flex:1 1 420px; text-align:left; display:flex; flex-direction:column; gap:22px; }

/* ---------- Scene background image (cold open) ---------- */
.scene-bg{ position:absolute; inset:0; background-size:cover; background-position:center; z-index:0; }
.scene-bg--skyline{
  background-image:url('../assets/images/skyline-bg.jpg');
  animation:kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns{
  from{ transform:scale(1.0); }
  to{ transform:scale(1.09) translate(-1%,-1%); }
}
.scene-scrim{
  position:absolute; inset:0; z-index:0;
  background:
    linear-gradient(180deg, rgba(3,6,10,0.55) 0%, rgba(3,6,10,0.72) 55%, rgba(3,6,10,0.94) 100%),
    linear-gradient(90deg, rgba(3,6,10,0.5), rgba(3,6,10,0.2) 40%, rgba(3,6,10,0.2) 60%, rgba(3,6,10,0.5));
}

/* ===================================================================
   TYPOGRAPHY
=================================================================== */
.eyebrow{
  font-size:var(--fs-eyebrow);
  font-weight:600;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--blue-500);
}
.headline{
  font-size:var(--fs-headline);
  font-weight:650;
  letter-spacing:-0.01em;
  line-height:1.08;
  color:var(--ink-0);
}
.headline--hero{ font-size:var(--fs-headline-hero); font-weight:700; letter-spacing:-0.02em; }
.headline--statement{ max-width:20ch; }
.subhead{
  font-size:var(--fs-subhead);
  color:var(--ink-1);
  line-height:1.5;
  max-width:62ch;
  font-weight:400;
}
.subhead--hero{ max-width:48ch; font-size:clamp(16px,1.7vw,22px); }
.subhead--statement{ max-width:44ch; }
.scene-content--center .subhead{ margin-left:auto; margin-right:auto; }
.scene-kicker{
  font-size:var(--fs-body); color:var(--blue-400); font-weight:600;
  border-left:2px solid var(--blue-600); padding-left:14px;
}
.scene-kicker-bottom{
  font-size:clamp(15px,1.3vw,19px); color:var(--ink-1); font-weight:500;
  padding-top:8px;
}
.scene-content--center .scene-kicker-bottom{ text-align:center; }
.accent-caps{ color:var(--blue-500); }

/* ===================================================================
   REVEAL / STAGGER ANIMATION SYSTEM
   Elements start hidden; scene controller adds .in on scene activation,
   staggered using the --d custom property (index * step).
=================================================================== */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay:calc(var(--d, 0) * 90ms);
}
.scene[data-state="active"] .reveal{ opacity:1; transform:translateY(0); }

[data-stagger-group] > *{
  opacity:0;
  transform:translateY(22px);
  transition:opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
.scene[data-state="active"] [data-stagger-group] > *{ opacity:1; transform:translateY(0); }
[data-stagger-group] > *:nth-child(1){ transition-delay:60ms; }
[data-stagger-group] > *:nth-child(2){ transition-delay:150ms; }
[data-stagger-group] > *:nth-child(3){ transition-delay:240ms; }
[data-stagger-group] > *:nth-child(4){ transition-delay:330ms; }
[data-stagger-group] > *:nth-child(5){ transition-delay:420ms; }
[data-stagger-group] > *:nth-child(6){ transition-delay:510ms; }
[data-stagger-group] > *:nth-child(7){ transition-delay:600ms; }
[data-stagger-group] > *:nth-child(8){ transition-delay:690ms; }
[data-stagger-group] > *:nth-child(9){ transition-delay:780ms; }
[data-stagger-group] > *:nth-child(10){ transition-delay:870ms; }

/* ===================================================================
   COLD OPEN
=================================================================== */
.brand-lockup{
  display:flex; align-items:center; gap:12px;
  margin-bottom:6px;
  color:var(--ink-1);
  font-weight:600; letter-spacing:0.04em;
  font-size:clamp(13px,1.1vw,16px);
}
.brand-mark{ width:26px; height:26px; object-fit:contain; }
.brand-mark--omni{ width:24px; height:24px; }
.brand-word{ color:var(--ink-0); }
.brand-word--omni{ color:var(--blue-500); }
.brand-sep{
  width:6px; height:6px; flex-shrink:0;
  background:none;
  border:1px solid var(--blue-500);
  border-radius:1.5px;
  transform:rotate(45deg);
}

.scene-footnote{
  position:absolute; bottom:28px; left:var(--pad-x);
  font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-3);
}
.scene-footnote-inline{ font-size:14px; color:var(--ink-2); font-style:italic; }

.scroll-cue{
  position:absolute; bottom:28px; right:var(--pad-x);
  display:flex; align-items:center; gap:10px;
  font-size:12px; color:var(--ink-2); letter-spacing:0.05em;
}
.scroll-cue span{
  width:20px; height:32px; border:1.5px solid var(--line-strong); border-radius:12px;
  position:relative;
}
.scroll-cue span::after{
  content:""; position:absolute; top:6px; left:50%; width:3px; height:6px;
  background:var(--blue-500); border-radius:2px; transform:translateX(-50%);
  animation:scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ opacity:1; top:6px; } 60%{ opacity:0; top:16px; } 100%{ opacity:0; top:6px; }
}

/* ===================================================================
   THE ASK — quote + "oh by the way" stack
=================================================================== */
.hero-quote{
  font-size:clamp(22px,2.6vw,36px);
  font-weight:600; line-height:1.35; color:var(--ink-0);
  max-width:22ch;
  border-left:3px solid var(--blue-600); padding-left:22px;
}
.hero-quote cite{
  display:block; margin-top:14px; font-style:normal; font-size:14px;
  color:var(--ink-2); letter-spacing:0.08em; text-transform:uppercase;
}
.aside-stack{ display:flex; flex-direction:column; gap:12px; margin-top:6px; }
.aside-line{
  font-size:clamp(15px,1.4vw,19px); color:var(--ink-2);
  padding-left:22px; position:relative;
}
.aside-line::before{
  content:"—"; position:absolute; left:0; color:var(--blue-700);
}

/* ===================================================================
   UNSPOKEN QUESTIONS — spotlighted rotating thoughts
=================================================================== */
.thought-stack{
  position:relative;
  width:100%;
  min-height:clamp(150px, 20vw, 220px);
  margin-top:28px;
  display:flex; align-items:center; justify-content:center;
}
.thought{
  position:absolute;
  top:50%; left:50%;
  font-size:clamp(19px,2.3vw,30px);
  font-weight:500; color:var(--ink-1);
  line-height:1.4;
  opacity:0; transform:translate(-50%,calc(-50% + 14px));
  transition:opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  max-width:24ch;
  width:max-content;
}
.thought.is-current{ opacity:1; transform:translate(-50%,-50%); color:var(--ink-0); }

/* ===================================================================
   THE WIDENING GAP — SVG line chart
=================================================================== */
.gap-chart{ position:relative; width:100%; max-width:min(920px, 100vh); margin-top:8px; }
.gap-chart svg{ width:100%; height:auto; display:block; }
.gap-area{ fill:url(#gapFill); stroke:none; }
.gap-line{ fill:none; stroke-width:3; stroke-linecap:round; }
.gap-line--expect{ stroke:var(--blue-500); }
.gap-line--given{ stroke:var(--ink-3); stroke-dasharray:2 10; }
.gap-label{
  position:absolute; font-size:12.5px; font-weight:600; letter-spacing:0.02em;
  padding:5px 10px; border-radius:20px;
  background:var(--glass); border:1px solid var(--line);
  opacity:0; transform:translateY(6px);
  transition:opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  white-space:nowrap;
}
.gap-label--expect{ color:var(--blue-400); }
.gap-label--given{ color:var(--ink-3); }
.gap-label.is-in{ opacity:1; transform:translateY(0); }
.gap-axis{
  position:absolute; font-size:11px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--ink-3);
}
.gap-axis--expect{ top:2%; left:0; color:var(--blue-500); }
.gap-axis--given{ top:60%; left:0; }

/* ===================================================================
   THE PATTERN — focus/consolidate animation
=================================================================== */
.focus-anim{ position:relative; width:min(440px,30vh,55vw); height:min(440px,30vh,55vw); margin-top:10px; }
.focus-orbit{ position:absolute; inset:0; }
.focus-chip{
  position:absolute; top:50%; left:50%;
  padding:9px 18px; border-radius:30px;
  background:var(--glass-soft); border:1px solid var(--line);
  font-size:13px; font-weight:600; color:var(--ink-2);
  transform-origin:center;
  transition:transform 1400ms var(--ease-inout), opacity 1400ms var(--ease-inout), background 600ms;
  opacity:0;
}
.scene[data-state="active"] .focus-chip{ opacity:1; }
/* spread positions set by JS via --x/--y; collapse handled by adding .is-collapsed */
.focus-core{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:118px; height:118px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:radial-gradient(circle at 35% 30%, var(--blue-600), var(--navy-700) 75%);
  color:#fff; font-weight:700; font-size:13.5px; letter-spacing:0.01em;
  box-shadow:0 0 60px rgba(0,151,207,0.35);
  animation:corePulse 3.2s ease-in-out infinite;
}
@keyframes corePulse{
  0%,100%{ box-shadow:0 0 60px rgba(0,151,207,0.35); }
  50%{ box-shadow:0 0 88px rgba(0,151,207,0.55); }
}
@media (prefers-reduced-motion:reduce){
  .focus-core{ animation:none; }
}

/* ===================================================================
   BRIDGE DIAGRAM (What Cresyn Is)
=================================================================== */
.bridge-diagram{ position:relative; width:100%; max-width:980px; height:min(280px, 30vh); margin-top:8px; }
.bridge-diagram svg{ position:absolute; inset:0; width:100%; height:100%; }
.bridge-paths path{ fill:none; stroke:var(--line-strong); stroke-width:1.5; }
.bridge-flow circle{ fill:var(--blue-400); }
.bridge-node{
  position:absolute;
  padding:12px 16px; border-radius:14px;
  background:var(--glass); border:1px solid var(--line);
  font-size:13px; font-weight:600; text-align:center; line-height:1.3;
  color:var(--ink-1);
}
.bridge-node--source{ left:0; top:50%; transform:translateY(-50%); width:190px; color:var(--ink-2); }
.bridge-node--core{
  left:50%; top:50%; transform:translate(-50%,-50%);
  width:120px; height:120px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 35% 30%, var(--blue-600), var(--navy-700) 75%);
  color:#fff; font-size:16px; font-weight:800; letter-spacing:0.02em;
  box-shadow:0 0 50px rgba(0,151,207,0.3);
  border:none;
}
.bridge-node--dest{ right:0; width:180px; font-size:12.5px; }
.bridge-node--dest[data-slot="0"]{ top:6%; }
.bridge-node--dest[data-slot="1"]{ top:32%; }
.bridge-node--dest[data-slot="2"]{ top:58%; }
.bridge-node--dest[data-slot="3"]{ top:84%; }

.stat-row{ display:flex; gap:clamp(24px,5vw,72px); margin-top:14px; flex-wrap:wrap; }
.stat{ display:flex; flex-direction:column; gap:4px; }
.stat-num{
  font-size:clamp(34px,4vw,54px); font-weight:800; color:var(--ink-0);
  font-variant-numeric:tabular-nums; letter-spacing:-0.02em;
}
.stat-row--case .stat-num{ color:var(--amber-400); }
.stat-label{ font-size:13px; color:var(--ink-2); max-width:20ch; }
.inline-stat{ color:var(--blue-400); font-weight:800; font-variant-numeric:tabular-nums; }

/* ===================================================================
   VENN / CONVERGENCE (Omningage)
=================================================================== */
.venn-diagram{ position:relative; flex:1 1 420px; height:min(420px,46vw); min-height:320px; }
.venn-circle{
  position:absolute; width:58%; height:58%; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding:20px;
  background:rgba(0,151,207,0.10);
  border:1px solid rgba(0,151,207,0.35);
  color:var(--ink-1); font-size:12.5px; font-weight:600; line-height:1.3;
  transition:transform 1200ms var(--ease-inout), opacity 900ms var(--ease-out);
  opacity:0;
}
.scene[data-state="active"] .venn-circle{ opacity:1; }
.venn-circle--a{ top:0; left:8%; transform:translate(-30%,-10%); }
.venn-circle--b{ top:0; right:8%; transform:translate(30%,-10%); }
.venn-circle--c{ bottom:0; left:50%; transform:translate(-50%,30%); }
.scene[data-state="active"] .venn-circle--a{ transform:translate(-8%,0); }
.scene[data-state="active"] .venn-circle--b{ transform:translate(8%,0); }
.scene[data-state="active"] .venn-circle--c{ transform:translate(-50%,8%); }
.venn-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) scale(0.6);
  width:118px; height:118px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:radial-gradient(circle at 35% 30%, var(--blue-500), var(--navy-800) 80%);
  color:#fff; font-weight:800; font-size:14px; letter-spacing:0.03em;
  box-shadow:0 0 60px rgba(0,151,207,0.45);
  opacity:0;
  transition:opacity 700ms var(--ease-out) 900ms, transform 700ms var(--ease-back) 900ms;
  z-index:2;
}
.scene[data-state="active"] .venn-center{ opacity:1; transform:translate(-50%,-50%) scale(1); }

/* ===================================================================
   CAPABILITY / VALUE CARD GRIDS
=================================================================== */
.capability-grid, .card-row, .outcome-grid, .services-grid, .case-card-row{
  display:grid; gap:16px; margin-top:6px;
}
.capability-grid{ grid-template-columns:repeat(3, 1fr); }
.card-row{ grid-template-columns:repeat(3, 1fr); gap:20px; }
.outcome-grid{ grid-template-columns:repeat(2, 1fr); max-width:920px; gap:18px; }
.services-grid{ grid-template-columns:repeat(5, 1fr); }
.case-card-row{ grid-template-columns:repeat(2, 1fr); gap:24px; max-width:1000px; }

.capability-card{
  background:var(--glass-soft); border:1px solid var(--line); border-radius:16px;
  padding:20px; font-size:14px; color:var(--ink-1); line-height:1.45;
  display:flex; flex-direction:column; gap:10px;
}
.capability-icon{ width:26px; height:26px; display:block; }
.capability-icon::before{ content:""; display:block; width:100%; height:100%; }

.value-card{
  background:var(--glass); border:1px solid var(--line); border-radius:18px;
  padding:26px 24px; transition:border-color 300ms, transform 300ms;
}
.value-card:hover{ border-color:var(--line-strong); transform:translateY(-3px); }
.value-card h3{ font-size:17px; font-weight:700; color:var(--ink-0); margin-bottom:10px; }
.value-card p{ font-size:14px; color:var(--ink-2); line-height:1.55; }

.outcome-card{
  background:var(--glass-soft); border:1px solid var(--line); border-radius:18px;
  padding:24px; position:relative;
}
.outcome-num{ font-size:12px; color:var(--blue-500); font-weight:700; letter-spacing:0.1em; }
.outcome-card h3{ font-size:16px; font-weight:700; margin:10px 0 8px; color:var(--ink-0); }
.outcome-card p{ font-size:13.5px; color:var(--ink-2); line-height:1.5; }

.service-chip{
  background:var(--glass-soft); border:1px solid var(--line); border-radius:12px;
  padding:14px 14px; font-size:12.5px; font-weight:600; color:var(--ink-1);
  line-height:1.35; text-align:center;
  display:flex; align-items:center; justify-content:center;
}

.case-card{
  background:var(--glass); border:1px solid var(--line); border-radius:18px; padding:28px;
}
.case-card h3{ font-size:20px; font-weight:800; color:var(--ink-0); margin-bottom:8px; }
.case-context{ font-size:13.5px; color:var(--ink-2); line-height:1.5; margin-bottom:16px; }
.case-stats{ display:flex; flex-direction:column; gap:8px; }
.case-stats li{ font-size:13.5px; color:var(--ink-1); }
.case-stats strong{ color:var(--amber-400); font-weight:800; }

/* ===================================================================
   PILLARS INTRO
=================================================================== */
.pillars-intro{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:16px;
  margin-top:10px; max-width:1080px; width:100%;
}
.pillar-block{
  padding:22px 20px; border-radius:18px;
  background:var(--glass-soft); border:1px solid var(--line);
  display:flex; flex-direction:column; gap:10px; text-align:left;
}
.pillar-num{ font-size:12px; color:var(--blue-500); font-weight:700; letter-spacing:0.1em; }
.pillar-name{ font-size:19px; font-weight:800; color:var(--ink-0); margin-left:8px; }
.pillar-list{ display:flex; flex-direction:column; gap:7px; }
.pillar-list li{
  font-size:12.5px; color:var(--ink-2); line-height:1.35;
  padding-left:13px; position:relative;
}
.pillar-list li::before{
  content:""; position:absolute; left:0; top:0.5em;
  width:4px; height:4px; border-radius:50%; background:var(--blue-500);
}

/* pill sub-nav shown only during People/Product/Process/Profits scenes */
.pill-nav{
  position:fixed; top:26px; left:50%; transform:translateX(-50%);
  display:flex; gap:6px; padding:6px; border-radius:30px;
  background:var(--glass); border:1px solid var(--line);
  z-index:15; opacity:0; pointer-events:none;
  transition:opacity 400ms var(--ease-out);
}
body[data-pillar]:not([data-pillar=""]) .pill-nav{ opacity:1; }
.pill-nav span{
  font-size:12px; font-weight:600; padding:7px 16px; border-radius:20px; color:var(--ink-3);
  transition:background 300ms, color 300ms;
}
body[data-pillar="people"] .pill-nav span[data-pillar="people"],
body[data-pillar="product"] .pill-nav span[data-pillar="product"],
body[data-pillar="process"] .pill-nav span[data-pillar="process"],
body[data-pillar="profits"] .pill-nav span[data-pillar="profits"]{
  background:var(--blue-600); color:#fff;
}

/* ===================================================================
   CASE STUDY / QUOTE
=================================================================== */
.case-header{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.logo-chip{
  background:#fff; border-radius:12px; padding:10px 16px;
  display:inline-flex; align-items:center; justify-content:center;
}
.logo-chip img{ height:22px; width:auto; }
.logo-chip--booksy img{ height:18px; }
.badge-row{ margin-top:10px; }
.badge-row .logo-chip{ padding:8px 14px; }
.badge-row .logo-chip img{ height:44px; }

.case-quote{
  font-size:clamp(17px,1.8vw,23px); font-weight:600; color:var(--ink-0); line-height:1.5;
  max-width:56ch; border-left:3px solid var(--amber-400); padding-left:22px; margin-top:6px;
}
.case-quote cite{
  display:block; margin-top:12px; font-style:normal; font-size:13.5px;
  color:var(--ink-2); letter-spacing:0.04em;
}

/* ===================================================================
   ENGAGEMENT STEPPER (CTA)
=================================================================== */
.engagement-stepper{
  position:relative; display:flex; gap:clamp(20px,4vw,60px); margin-top:14px;
  max-width:920px; justify-content:center; flex-wrap:wrap;
}
.stepper-line{ position:absolute; top:19px; left:0; width:100%; height:2px; z-index:0; }
.stepper-line path{ stroke:rgba(77,210,255,0.3); stroke-width:2; fill:none; stroke-dasharray:920; stroke-dashoffset:920; transition:stroke-dashoffset 1400ms var(--ease-inout) 300ms; }
.scene[data-state="active"] .stepper-line path{ stroke-dashoffset:0; }
.step{ position:relative; z-index:1; width:230px; text-align:left; }
.step-num{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%; margin-bottom:14px;
  background:var(--navy-800); border:1.5px solid var(--blue-600); color:var(--blue-400);
  font-weight:800; font-size:15px;
  transform:scale(0.5); opacity:0;
  transition:transform 500ms var(--ease-back), opacity 400ms;
}
.scene[data-state="active"] .step:nth-child(2) .step-num{ transition-delay:400ms; }
.scene[data-state="active"] .step:nth-child(3) .step-num{ transition-delay:900ms; }
.scene[data-state="active"] .step:nth-child(4) .step-num{ transition-delay:1400ms; }
.scene[data-state="active"] .step-num{ transform:scale(1); opacity:1; }
.step h4{ font-size:15px; font-weight:700; color:var(--ink-0); margin-bottom:6px; }
.step p{ font-size:13px; color:var(--ink-2); line-height:1.45; }

.contact-row{ display:flex; align-items:center; gap:14px; margin-top:10px; font-size:clamp(16px,1.6vw,20px); font-weight:600; }
.contact-item{ color:var(--blue-400); text-decoration:none; }
.contact-item:hover{ color:var(--blue-400); text-decoration:underline; }
.contact-sep{ color:var(--ink-3); }
.tagline{ font-size:14px; color:var(--ink-3); letter-spacing:0.1em; text-transform:uppercase; margin-top:4px; }

/* ===================================================================
   ICONS (simple inline mask-based glyphs, single accent color)
=================================================================== */
.capability-icon{ background:var(--blue-500); -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; border-radius:6px; }
.capability-icon[data-icon="connect"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="engineer"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14.7 6.3a4 4 0 1 1-5.4 5.4L3 18v3h3l6.3-6.3a4 4 0 0 1 5.4-5.4z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14.7 6.3a4 4 0 1 1-5.4 5.4L3 18v3h3l6.3-6.3a4 4 0 0 1 5.4-5.4z'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="stack"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3 2 8l10 5 10-5z'/%3E%3Cpath d='M2 16l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3 2 8l10 5 10-5z'/%3E%3Cpath d='M2 16l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="ai"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M9 9h.01M15 9h.01M8 15c1.3 1 2.7 1 4 1s2.7 0 4-1'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M9 9h.01M15 9h.01M8 15c1.3 1 2.7 1 4 1s2.7 0 4-1'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="product"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="scale"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 20V10M9 20V4M15 20v-8M21 20V8'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 20V10M9 20V4M15 20v-8M21 20V8'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="kiosk"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='6' y='2' width='12' height='16' rx='2'/%3E%3Cpath d='M9 22h6M12 18v4'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='6' y='2' width='12' height='16' rx='2'/%3E%3Cpath d='M9 22h6M12 18v4'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="assistant"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.5-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.5-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="portal"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 2.5 15.5 0 18M12 3c-2.5 2.5-2.5 15.5 0 18'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 2.5 15.5 0 18M12 3c-2.5 2.5-2.5 15.5 0 18'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="archive"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9M10 13h4'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9M10 13h4'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="oem"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5M12 22V12'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5M12 22V12'/%3E%3C/svg%3E"); }
.capability-icon[data-icon="custom"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2 2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5' opacity='0'/%3E%3Cpath d='M14.7 6.3a4 4 0 1 1-5.4 5.4L3 18v3h3l6.3-6.3a4 4 0 0 1 5.4-5.4z'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14.7 6.3a4 4 0 1 1-5.4 5.4L3 18v3h3l6.3-6.3a4 4 0 0 1 5.4-5.4z'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3C/svg%3E"); }

/* ===================================================================
   RFP AS A SERVICE — interactive 6-stage journey
=================================================================== */
.rfp-layout{
  display:grid; grid-template-columns:1fr 300px; gap:28px;
  width:100%; max-width:1160px; align-items:start; margin-top:4px;
}
.rfp-main{ min-width:0; }

/* --- horizontal stage track --- */
.journey-track{ position:relative; display:flex; justify-content:space-between; padding:0 6px; }
.journey-line{ position:absolute; top:24px; left:0; width:100%; height:2px; z-index:0; }
.journey-line path{ stroke:var(--line-strong); stroke-width:2; fill:none; }
.journey-node{
  position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:8px;
  background:none; border:none; cursor:pointer; padding:2px; flex:1;
}
.journey-icon{
  width:48px; height:48px; border-radius:50%; position:relative;
  background:var(--navy-700); border:1.5px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center;
  transition:background 350ms, border-color 350ms, transform 350ms;
}
.journey-icon::before{
  content:""; display:block; width:20px; height:20px;
  background:var(--ink-2);
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  transition:background 350ms;
}
.journey-icon[data-icon="envelope"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.journey-icon[data-icon="search"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8'/%3E%3C/svg%3E"); }
.journey-icon[data-icon="team"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='5' r='2.2'/%3E%3Ccircle cx='5' cy='18' r='2.2'/%3E%3Ccircle cx='19' cy='18' r='2.2'/%3E%3Cpath d='M12 7.2 6 16M12 7.2l6 8.8M7.2 18h9.6'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='5' r='2.2'/%3E%3Ccircle cx='5' cy='18' r='2.2'/%3E%3Ccircle cx='19' cy='18' r='2.2'/%3E%3Cpath d='M12 7.2 6 16M12 7.2l6 8.8M7.2 18h9.6'/%3E%3C/svg%3E"); }
.journey-icon[data-icon="shrink"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 6h18M3 12h13M3 18h7'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 6h18M3 12h13M3 18h7'/%3E%3C/svg%3E"); }
.journey-icon[data-icon="shortlist"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.5 2.5 5.5-5.5'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.5 2.5 5.5-5.5'/%3E%3C/svg%3E"); }
.journey-icon[data-icon="win"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0V4z'/%3E%3Cpath d='M7 6H4a3 3 0 0 0 3 3M17 6h3a3 3 0 0 1-3 3M12 14v4M8 21h8'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0V4z'/%3E%3Cpath d='M7 6H4a3 3 0 0 0 3 3M17 6h3a3 3 0 0 1-3 3M12 14v4M8 21h8'/%3E%3C/svg%3E"); }

.journey-label{ font-size:11.5px; font-weight:600; color:var(--ink-3); text-align:center; max-width:90px; transition:color 350ms; }
.journey-node.is-active .journey-icon{ background:radial-gradient(circle at 35% 30%, var(--blue-600), var(--navy-700) 80%); border-color:var(--blue-400); transform:scale(1.08); box-shadow:0 0 26px rgba(0,151,207,0.45); }
.journey-node.is-active .journey-icon::before{ background:#fff; }
.journey-node.is-active .journey-label{ color:var(--ink-0); }
.journey-node.is-done .journey-icon{ background:var(--blue-700); border-color:var(--blue-600); }
.journey-node.is-done .journey-icon::before{ background:#fff; }
.journey-node.is-done .journey-label{ color:var(--ink-1); }
.journey-line path.is-drawn{ transition:stroke-dashoffset 500ms var(--ease-inout); }

.journey-hint{
  text-align:center; font-size:11.5px; color:var(--ink-3); margin-top:10px;
  transition:opacity 400ms;
}
.journey-hint.is-hidden{ opacity:0; }

/* --- shared stage-detail area: one panel visible at a time --- */
.journey-panels{ position:relative; min-height:232px; margin-top:18px; }
.journey-panel{
  position:absolute; inset:0 0 auto 0; width:100%;
  opacity:0; transform:translateY(10px); pointer-events:none;
  transition:opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.journey-panel.is-active{ opacity:1; transform:translateY(0); pointer-events:auto; position:relative; }
.journey-caption{ font-size:15px; color:var(--ink-1); line-height:1.55; max-width:56ch; }
.journey-caption--lg{ font-size:19px; color:var(--ink-0); font-weight:600; max-width:32ch; }
.journey-checklist{ display:flex; flex-direction:column; gap:9px; }
.journey-checklist li{
  font-size:14px; color:var(--ink-1); line-height:1.4; padding-left:20px; position:relative; max-width:54ch;
}
.journey-checklist li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--blue-500); font-weight:700; }
.journey-kicker{ margin-top:12px; font-size:14px; color:var(--blue-400); font-weight:600; }

/* --- stage 3: joint response team --- */
.team-diagram{ position:relative; width:220px; height:150px; margin:0 auto 14px; }
.team-lines{ position:absolute; inset:0; width:100%; height:100%; }
.team-lines path{ stroke:var(--line-strong); stroke-width:1.5; fill:none; }
.team-node{
  position:absolute; padding:8px 14px; border-radius:20px; font-size:11.5px; font-weight:700;
  background:radial-gradient(circle at 35% 30%, var(--blue-600), var(--navy-700) 80%);
  color:#fff; border:1px solid var(--blue-600); transform:translate(-50%,-50%);
  box-shadow:0 0 20px rgba(0,151,207,0.3);
}
.team-node--top{ top:8%; left:50%; }
.team-node--left{ top:88%; left:18%; }
.team-node--right{ top:88%; left:82%; }
.team-columns{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:720px; margin:0 auto; }
.team-columns h4{ font-size:12.5px; color:var(--blue-400); font-weight:700; margin-bottom:6px; }
.team-columns ul{ display:flex; flex-direction:column; gap:4px; }
.team-columns li{ font-size:11.5px; color:var(--ink-2); line-height:1.35; }

/* --- stage 4: reduced cost of pursuit --- */
.cost-bars{ display:flex; flex-direction:column; gap:12px; max-width:460px; margin-bottom:14px; }
.cost-bar-row{ display:flex; align-items:center; gap:14px; }
.cost-bar-label{ font-size:12px; color:var(--ink-2); width:126px; flex-shrink:0; }
.cost-bar-track{ flex:1; height:10px; background:rgba(255,255,255,0.06); border-radius:6px; overflow:hidden; }
.cost-bar{ height:100%; border-radius:6px; background:linear-gradient(90deg,var(--blue-700),var(--blue-400)); transition:width 1100ms var(--ease-inout); }
.cost-bar--full{ width:92%; }
.cost-bar--shared{ width:92%; }
.cost-bar--shared.is-active{ width:42%; }

/* --- stage 5: customer evaluation --- */
.eval-steps{ display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.eval-step{
  display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:var(--ink-3);
  opacity:0.4; transition:opacity 400ms, color 400ms;
}
.eval-step.is-active{ opacity:1; color:var(--ink-0); }
.eval-check{
  width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--navy-700); border:1.5px solid var(--line-strong); color:transparent; font-size:12px;
  transition:background 400ms, border-color 400ms, color 400ms;
}
.eval-step.is-active .eval-check{ background:var(--blue-600); border-color:var(--blue-400); color:#fff; }

/* --- stage 6: win together formation --- */
.win-formation{ position:relative; height:130px; margin-bottom:16px; }
.win-node{
  position:absolute; top:50%; transform:translate(-50%,-50%);
  display:flex; align-items:center; justify-content:center; text-align:center;
  border-radius:50%; color:#fff; font-weight:700; box-shadow:0 0 24px rgba(0,151,207,0.3);
}
.win-node--partner{
  left:50%; width:104px; height:104px; font-size:14px; z-index:2;
  background:radial-gradient(circle at 35% 30%, var(--blue-500), var(--navy-700) 80%);
  border:1.5px solid var(--blue-400);
}
.win-node--support{
  width:78px; height:78px; font-size:11.5px; z-index:1; top:32%;
  background:var(--navy-700); border:1px solid var(--line-strong); color:var(--ink-1);
}
.win-node--cresyn{ left:26%; }
.win-node--omningage{ left:74%; }

/* --- side panel: "Why Partners Like This Model" --- */
.rfp-side-panel{
  background:var(--glass); border:1px solid var(--line); border-radius:18px;
  padding:24px 22px; align-self:start;
}
.rfp-side-panel h3{ font-size:15px; font-weight:800; color:var(--ink-0); margin-bottom:14px; line-height:1.3; }
.rfp-side-panel ul{ display:flex; flex-direction:column; gap:12px; }
.rfp-side-panel li{
  font-size:12.5px; color:var(--ink-2); line-height:1.45; padding-left:16px; position:relative;
}
.rfp-side-panel li::before{ content:"\2022"; position:absolute; left:0; top:0; color:var(--blue-500); font-weight:700; }

@media screen and (max-width:980px){
  .rfp-layout{ grid-template-columns:1fr; }
  .team-columns{ grid-template-columns:1fr; max-width:360px; }
  .journey-label{ display:none; }
}
@media screen and (max-width:700px){
  .journey-track{ overflow-x:auto; justify-content:flex-start; gap:28px; }
}

/* ===================================================================
   CHROME: edge nav arrows
=================================================================== */
.edge-nav{
  position:fixed; top:0; height:100%; width:7vw; min-width:56px;
  display:flex; align-items:center; z-index:10;
  opacity:0; transition:opacity 300ms;
}
.edge-nav svg{ width:22px; height:22px; }
.edge-nav path{ fill:none; stroke:var(--ink-1); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.edge-nav--prev{ left:0; justify-content:flex-start; padding-left:18px; }
.edge-nav--next{ right:0; justify-content:flex-end; padding-right:18px; }
body:not(.no-hover):hover .edge-nav{ opacity:0.35; }
.edge-nav:hover{ opacity:0.9 !important; }
.edge-nav.is-disabled{ opacity:0 !important; pointer-events:none; }

/* ===================================================================
   CHROME: HUD (top brand + controls)
=================================================================== */
.hud{
  position:fixed; top:0; left:0; right:0; z-index:15;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px var(--pad-x) 0;
  pointer-events:none;
}
.hud-brand{
  display:flex; align-items:center; gap:8px;
  font-size:12px; font-weight:600; color:var(--ink-2); letter-spacing:0.03em;
  opacity:0.8;
}
.hud-brand-mark{ width:18px; height:18px; object-fit:contain; }
.hud-brand-mark--omni{ width:17px; height:17px; }
.hud-brand-word{ color:var(--ink-2); }
.hud-brand-word--omni{ color:var(--blue-500); }
.hud-brand-sep{
  width:4px; height:4px; flex-shrink:0;
  background:none;
  border:1px solid var(--blue-500);
  border-radius:1px;
  transform:rotate(45deg);
}
.hud-controls{ display:flex; gap:8px; pointer-events:auto; }
.hud-btn{
  width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:var(--glass-soft); border:1px solid var(--line);
  transition:background 200ms, border-color 200ms;
}
.hud-btn:hover{ background:var(--glass); border-color:var(--line-strong); }
.hud-btn svg{ width:16px; height:16px; }
.hud-btn path,.hud-btn rect{ fill:none; stroke:var(--ink-1); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* ===================================================================
   CHROME: progress rail
=================================================================== */
.progress-rail{
  position:fixed; bottom:0; left:0; right:0; z-index:15;
  display:flex; align-items:center; gap:16px;
  padding:0 var(--pad-x) 22px;
}
.progress-track{ flex:1; height:3px; background:var(--line); border-radius:2px; overflow:hidden; }
.progress-fill{ height:100%; width:0%; background:linear-gradient(90deg,var(--blue-700),var(--blue-400)); transition:width 500ms var(--ease-out); }
.progress-counter{ font-size:11px; color:var(--ink-3); font-variant-numeric:tabular-nums; letter-spacing:0.06em; white-space:nowrap; }

/* ===================================================================
   TOAST (first-run hint)
=================================================================== */
.toast{
  position:fixed; bottom:64px; left:50%; transform:translateX(-50%) translateY(10px);
  z-index:16; background:var(--glass); border:1px solid var(--line);
  padding:10px 20px; border-radius:30px; font-size:12.5px; color:var(--ink-2);
  opacity:0; transition:opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  pointer-events:none;
}
.toast.is-visible{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ===================================================================
   EXPORT OVERLAY (shown briefly while diagrams settle before print)
=================================================================== */
.export-overlay{
  position:fixed; inset:0; z-index:60;
  background:rgba(3,6,10,0.88); backdrop-filter:blur(10px);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px;
  opacity:0; pointer-events:none; transition:opacity 250ms var(--ease-out);
  text-align:center; padding:24px;
}
.export-overlay.is-visible{ opacity:1; pointer-events:auto; }
.export-spinner{
  width:34px; height:34px; border-radius:50%;
  border:3px solid var(--line); border-top-color:var(--blue-500);
  animation:export-spin 800ms linear infinite;
}
@keyframes export-spin{ to{ transform:rotate(360deg); } }
.export-label{ font-size:14px; color:var(--ink-1); line-height:1.6; }
.export-label span{ font-size:12px; color:var(--ink-3); }

/* ===================================================================
   CHAPTER MAP OVERLAY
=================================================================== */
.map-overlay{
  position:fixed; inset:0; z-index:30;
  background:rgba(3,6,10,0.88); backdrop-filter:blur(16px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity 350ms var(--ease-out);
  padding:60px var(--pad-x);
  overflow-y:auto;
}
.map-overlay.is-open{ opacity:1; pointer-events:auto; }
.map-close{
  position:fixed; top:26px; right:var(--pad-x);
  width:40px; height:40px; font-size:22px; color:var(--ink-1);
  border:1px solid var(--line); border-radius:10px; background:var(--glass-soft);
}
.map-grid{
  display:grid; grid-template-columns:repeat(4, minmax(180px,1fr)); gap:14px;
  max-width:1200px; width:100%;
}
.map-chapter-label{
  grid-column:1 / -1; font-size:11px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--blue-500); font-weight:700; margin-top:18px;
}
.map-chapter-label:first-child{ margin-top:0; }
.map-tile{
  background:var(--glass-soft); border:1px solid var(--line); border-radius:14px;
  padding:16px; text-align:left; transition:border-color 200ms, transform 200ms, background 200ms;
}
.map-tile:hover{ border-color:var(--blue-600); transform:translateY(-2px); background:var(--glass); }
.map-tile-index{ font-size:10.5px; color:var(--ink-3); font-variant-numeric:tabular-nums; }
.map-tile-title{ font-size:13.5px; font-weight:700; color:var(--ink-0); margin-top:4px; line-height:1.3; }
.map-tile.is-current{ border-color:var(--blue-400); }

/* ===================================================================
   PRESENTER VIEW (only rendered meaningfully with ?presenter=1)
=================================================================== */
.presenter-view{ display:none; }
body.is-presenter .presenter-view{
  display:grid; grid-template-columns:1.4fr 1fr; grid-template-rows:1fr auto;
  position:fixed; inset:0; z-index:50; background:var(--navy-950);
  padding:36px; gap:24px;
}
body.is-presenter #deck,
body.is-presenter .hud,
body.is-presenter .edge-nav,
body.is-presenter .progress-rail,
body.is-presenter .pill-nav,
body.is-presenter .toast{ display:none; }

.presenter-col{ background:var(--glass-soft); border:1px solid var(--line); border-radius:18px; padding:28px; overflow-y:auto; }
.presenter-tag{ font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--blue-500); font-weight:700; margin-bottom:10px; }
.presenter-title{ font-size:26px; font-weight:800; color:var(--ink-0); margin-bottom:16px; }
.presenter-col--next .presenter-title{ font-size:20px; color:var(--ink-1); }
.presenter-notes{ font-size:15px; color:var(--ink-1); line-height:1.7; white-space:pre-line; }
.presenter-footer{
  grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between;
  background:var(--glass-soft); border:1px solid var(--line); border-radius:14px; padding:14px 22px;
}
.presenter-clock{ font-size:20px; font-variant-numeric:tabular-nums; font-weight:700; color:var(--ink-0); }
.presenter-progress{ font-size:13px; color:var(--ink-2); }
.presenter-nav{ display:flex; gap:10px; }
.presenter-nav button{
  padding:9px 18px; border-radius:10px; background:var(--navy-700); border:1px solid var(--line-strong);
  font-size:13px; font-weight:600; color:var(--ink-0);
}
.presenter-nav button:hover{ background:var(--navy-600); }

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media screen and (max-width:980px){
  .capability-grid{ grid-template-columns:repeat(2,1fr); }
  .card-row{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(3,1fr); }
  .case-card-row{ grid-template-columns:1fr; }
  .pillars-intro{ grid-template-columns:repeat(2,1fr); }
  .scene-content--split{ flex-direction:column; text-align:center; }
  .scene-content--split .split-text{ text-align:center; }
  .bridge-node--source{ display:none; }
  .venn-diagram{ width:100%; }
}
@media screen and (max-width:700px){
  .outcome-grid{ grid-template-columns:1fr; }
  .capability-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .pillars-intro{ grid-template-columns:1fr; max-width:360px; }
  .engagement-stepper{ flex-direction:column; align-items:flex-start; gap:28px; }
  .stepper-line{ display:none; }
  body.is-presenter .presenter-view{ grid-template-columns:1fr; }
}

/* ===================================================================
   REDUCED MOTION
=================================================================== */
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* ===================================================================
   PRINT / PDF EXPORT
   app.js's exportPDF() forces every .scene into its fully-revealed
   "active" state before calling window.print(), so the normal
   .scene[data-state="active"] rules already handle visibility here —
   this block only needs to pull scenes out of their absolutely-
   positioned stack into normal document flow (one per printed page)
   and hide the interactive chrome.
=================================================================== */
@media print{
  /* Force a widescreen page to match the deck's on-screen proportions —
     without this, the OS print dialog's Letter/A4 portrait or landscape
     shape doesn't match the design, so text reflows onto extra lines
     and overflows a fixed-height slide box. */
  @page{ size:1280px 720px; margin:0; }

  .edge-nav, .hud, .progress-rail, .toast, .map-overlay, .export-overlay,
  .pill-nav, .scroll-cue, .presenter-view{ display:none !important; }

  html, body{ height:auto !important; }
  #deck{ position:static !important; height:auto !important; }

  .scene{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    /* 1px short of 100vh, not a full 100vh: when a scene's content
       height lands exactly on the page boundary, Chrome's print
       pagination can insert a spurious blank page after it (a known
       Chrome quirk with min-height:100vh + forced page-break-after on
       the same box) — nudging just under the boundary avoids the
       exact-height case that triggers it, with no visible effect on
       the printed page. */
    min-height:calc(100vh - 1px) !important;
    height:auto !important;
    overflow:visible !important;
    page-break-after:always;
    break-after:page;
  }
  .scene:last-of-type{ page-break-after:auto; break-after:auto; }

  /* Diagrams normally reveal via JS-driven CSS transitions (SVG stroke
     draw-ins, staggered setTimeout label fades) timed against a live
     presenter's pacing — exportPDF()'s one fixed settle delay can't
     reliably outlast every one of those independent timers, so force
     each diagram's fully-drawn end state directly instead of hoping
     the delay was long enough. */
  .gap-area{ opacity:1 !important; }
  .gap-line--expect, .gap-line--given{ stroke-dashoffset:0 !important; }
  .gap-label{ opacity:1 !important; transform:none !important; }
  .bridge-paths path{ stroke-dashoffset:0 !important; }
  .journey-line path{ stroke-dashoffset:0 !important; }
  .focus-chip{ opacity:1 !important; }

  /* The mobile responsive rules further down (@media screen and
     (max-width:...)) are screen-only and never apply here — print
     always gets the full desktop layout regardless of the @page size
     above or the exporting browser window's actual width. */

  /* The "unspoken questions" scene normally cross-fades one .thought
     at a time via a JS setInterval loop (see Anim.runThoughtStack) —
     exportPDF() doesn't run that loop, so without this override the
     printed page would show only the headline and no questions at
     all. Show every thought at once as a compact static list instead
     (smaller type than the single-thought-at-a-time on-screen size,
     so five lines still fit one printed page). */
  .thought-stack{
    position:static !important;
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    align-items:start !important;
    justify-items:center !important;
    gap:14px 32px !important;
    min-height:auto !important;
    margin-top:20px !important;
    max-width:900px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .thought{
    position:static !important;
    opacity:1 !important;
    transform:none !important;
    color:var(--ink-0) !important;
    font-size:16px !important;
    line-height:1.35 !important;
  }

  *{
    animation:none !important;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }
}
