/* =====================================================================
   Vendors subpage — layers on top of styles-v17.css (tokens, header,
   footer, buttons, reveal, mobile all inherited from there)
   ===================================================================== */

/* nav current state */
.navlinks a.current{color:var(--magenta);font-weight:700;}

/* ---------- collaboration section (moved from homepage): give it its own
   band + a divider so it reads separately from "Partnership Benefits" ---------- */
.vendors{background:var(--surface);border-bottom:1px solid var(--border);padding:56px 0 60px;}

/* ---------- sub-hero ---------- */
.vp-hero{padding:66px 0 10px;}
.vp-eyebrow{display:inline-block;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--magenta);margin-bottom:16px;}
.vp-hero h1{font-family:var(--font-display);font-weight:600;font-size:clamp(1.9rem,3.9vw,2.8rem);line-height:1.08;letter-spacing:-.02em;color:var(--navy);max-width:none;}
.vp-hero .lede{margin-top:20px;font-size:clamp(1.05rem,1.6vw,1.2rem);line-height:1.6;color:var(--ink-muted);max-width:64ch;}

/* ---------- generic section ---------- */
.vp-sec{padding:64px 0;}
.vp-sec h2{font-family:var(--font-display);font-weight:600;font-size:clamp(1.7rem,3.2vw,2.3rem);color:var(--navy);letter-spacing:-.01em;line-height:1.18;}

/* ---------- benefits grid ---------- */
.vp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.vp-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:26px 24px;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease;}
.vp-card:hover{transform:translateY(-6px);box-shadow:0 24px 46px -30px rgba(15,23,42,.45);border-color:rgba(253,58,104,.45);}
.vp-card .ico{width:46px;height:46px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--magenta) 0%,var(--magenta-deep) 100%);margin-bottom:16px;box-shadow:0 8px 18px -8px rgba(253,58,104,.55);transition:transform .45s cubic-bezier(.2,.8,.2,1);}
.vp-card:hover .ico{transform:translateY(-2px) scale(1.07) rotate(-3deg);}
.vp-card .ico svg{width:22px;height:22px;}
.vp-card h3{font-size:1.12rem;color:var(--navy);font-weight:700;margin-bottom:8px;position:relative;display:inline-block;}
.vp-card h3::after{content:"";position:absolute;left:0;bottom:-5px;height:2px;width:0;background:var(--magenta);border-radius:2px;transition:width .45s cubic-bezier(.2,.8,.2,1);}
.vp-card:hover h3::after{width:100%;}
.vp-card p{color:var(--ink-muted);font-size:.95rem;line-height:1.62;}

/* stagger beyond the 5 defaults inherited from styles-v17.css */
.reveal-stagger.in>*:nth-child(6){transition-delay:400ms;}
.reveal-stagger.in>*:nth-child(7){transition-delay:200ms;}
.reveal-stagger.in>*:nth-child(8){transition-delay:280ms;}
.reveal-stagger.in>*:nth-child(9){transition-delay:120ms;}
.reveal-stagger.in>*:nth-child(n+10){transition-delay:200ms;}

/* =====================================================================
   Partnership Benefits — orbital selector
   LEFT: a still ring of diagnostic-ring icons around a pulsing hub.
   RIGHT: the selected benefit's content. Click a node to change it;
   the 3 o'clock node is selected on load. Only the hub waves move.
   ===================================================================== */
.vo-wrap{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:52px;align-items:center;
}

.vo-stage{
  position:relative;justify-self:center;
  width:min(460px,90vw);
  height:min(460px,90vw);
  --r:174px;              /* ring radius             */
  --chip:72px;            /* node diameter           */
  --chip-ico:56px;        /* icon size inside a node */
}

/* faint ring guide */
.vo-stage::before{
  content:"";position:absolute;top:50%;left:50%;
  width:calc(var(--r) * 2);height:calc(var(--r) * 2);
  transform:translate(-50%,-50%);border-radius:50%;
  border:1px dashed rgba(36,69,104,.16);
}

/* ---------- centre hub + waves ---------- */
.vo-hub{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:150px;height:150px;border-radius:50%;z-index:5;border:0;padding:0;
  font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:radial-gradient(circle at 34% 28%,#33507a 0%,var(--navy) 58%,#1a3350 100%);
  box-shadow:0 26px 54px -22px rgba(36,69,104,.7),inset 0 1px 0 rgba(255,255,255,.14);
  transition:box-shadow .3s ease;
}
.vo-hub:hover{box-shadow:0 26px 54px -20px rgba(36,69,104,.85),0 0 0 3px rgba(253,58,104,.3),inset 0 1px 0 rgba(255,255,255,.14);}
.vo-hub:focus-visible{outline:2px solid var(--magenta);outline-offset:4px;}
.vo-hub.is-active{box-shadow:0 26px 54px -22px rgba(36,69,104,.7),0 0 0 3px rgba(253,58,104,.55),inset 0 1px 0 rgba(255,255,255,.14);}
.vo-hub-label{
  position:relative;z-index:2;color:#fff;font-family:var(--font-display);
  font-weight:600;font-size:1.06rem;line-height:1.18;letter-spacing:.005em;padding:0 12px;
}
.vo-hub-ring{
  position:absolute;inset:-2px;border-radius:50%;pointer-events:none;
  border:1px solid rgba(253,58,104,.55);
  animation:voPulse 3.6s ease-out infinite;
}
.vo-hub-ring--2{animation-delay:1.8s;border-color:rgba(253,58,104,.4);}
@keyframes voPulse{
  0%{transform:scale(.9);opacity:.85}
  100%{transform:scale(1.3);opacity:0}
}

/* ---------- static ring ---------- */
.vo-orbit{position:absolute;inset:0;}
.vo-node{
  position:absolute;top:50%;left:50%;width:0;height:0;
  transform:rotate(calc(var(--i) * 51.4286deg)) translate(var(--r)) rotate(calc(var(--i) * -51.4286deg));
}

/* icon chip (clickable) */
.vo-chip{
  position:absolute;left:0;top:0;
  width:var(--chip);height:var(--chip);border-radius:50%;padding:0;
  display:grid;place-items:center;cursor:pointer;
  background:var(--surface);border:1px solid var(--border);
  box-shadow:0 12px 26px -16px rgba(15,23,42,.45);
  transform:translate(-50%,-50%);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease,background .3s ease;
}
.vo-chip:hover{transform:translate(-50%,-50%) scale(1.09);border-color:rgba(253,58,104,.45);}
.vo-chip:focus-visible{outline:2px solid var(--magenta);outline-offset:3px;}
.vo-chip .dr-icon{width:var(--chip-ico);height:var(--chip-ico);margin:0;}
.vo-chip .dr-icon>svg.dr-ring{width:100%;height:100%;}
.vo-chip .dr-icon>svg.dr-glyph{width:42%;height:42%;}

/* selected node — just enlarge; keep the icon fully visible */
.vo-node.is-active{z-index:6;}
.vo-node.is-active .vo-chip{
  transform:translate(-50%,-50%) scale(1.28);
  border-color:var(--magenta);
  box-shadow:0 18px 34px -14px rgba(253,58,104,.5);
}

/* content source held on each node (never displayed) */
.vo-src{display:none;}

/* ---------- right-hand detail panel ---------- */
.vo-detail{
  background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--magenta);
  border-radius:16px;padding:30px 30px 32px;min-height:236px;
  box-shadow:0 30px 60px -34px rgba(15,23,42,.5);
}
.vo-detail h3{
  font-family:var(--font-display);font-weight:600;color:var(--navy);
  font-size:clamp(1.3rem,2.4vw,1.62rem);line-height:1.15;margin-bottom:12px;
}
.vo-detail p{color:var(--ink-muted);font-size:1rem;line-height:1.7;}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .vo-wrap{grid-template-columns:1fr;gap:34px;}
  .vo-detail{text-align:center;}
}
@media(max-width:640px){
  .vo-stage{width:min(340px,92vw);height:min(340px,92vw);--r:128px;--chip:56px;--chip-ico:44px;}
  .vo-hub{width:120px;height:120px;}
  .vo-hub-label{font-size:.9rem;}
  .vo-detail{padding:24px 22px 26px;}
}
@media(max-width:400px){
  .vo-stage{--r:112px;--chip:50px;--chip-ico:38px;}
  .vo-hub{width:108px;height:108px;}
  .vo-hub-label{font-size:.82rem;}
}

/* respect reduced-motion: hold the hub waves still too */
@media(prefers-reduced-motion:reduce){
  .vo-hub-ring{animation:none;opacity:.4;}
  .vo-chip{transition:none;}
}

/* ---------- CCC certificate ---------- */
.vp-cert{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.vp-cert-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;}
.vp-cert-copy h2{margin:12px 0 18px;}
.vp-cert-copy p{color:var(--ink-muted);font-size:1rem;line-height:1.72;margin-top:14px;}
.vp-cert-points{list-style:none;margin:26px 0 0;display:grid;gap:14px;}
.vp-cert-points li{display:flex;gap:13px;align-items:flex-start;}
.vp-cert-points .mk{flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--teal),var(--teal-deep));margin-top:2px;}
.vp-cert-points .mk svg{width:15px;height:15px;}
.vp-cert-points strong{display:block;color:var(--navy);font-size:1rem;font-weight:700;}
.vp-cert-points span{color:var(--ink-muted);font-size:.92rem;}

/* seal visual */
.vp-cert-visual{display:flex;justify-content:center;}
.vp-seal{text-align:center;}
.vp-seal svg{width:min(300px,72vw);height:auto;filter:drop-shadow(0 30px 50px -30px rgba(15,23,42,.5));}
.vp-seal-cap{margin-top:14px;font-weight:700;color:var(--navy);font-size:.98rem;letter-spacing:.01em;}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .vp-grid{grid-template-columns:repeat(2,1fr);}
  .vp-cert-grid{grid-template-columns:1fr;gap:40px;}
  .vp-cert-visual{order:-1;}
}
@media(max-width:560px){
  .vp-grid{grid-template-columns:1fr;}
}

@media(prefers-reduced-motion:reduce){
  .vp-card,.vp-card .ico,.vp-card h3::after{transition:none;}
  .vp-card:hover{transform:none;}
  .vp-card:hover .ico{transform:none;}
}
