/* Clickable boxes that open an information pop-up */
.has-popup{cursor:pointer;position:relative}
.has-popup:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.card-more{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:15.5px;font-weight:650;color:var(--orange)}
.card-more span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:color-mix(in srgb,var(--orange) 14%,transparent);font-size:16.5px;line-height:1;transition:transform .25s}
.has-popup:hover .card-more span{transform:rotate(90deg)}
.vision-card.is-accent .card-more{color:var(--orange-light,#d4776a)}
.vision-card.is-accent .card-more span{background:#ffffff1a}
.vision-card.has-popup{transition:transform .25s var(--ease),box-shadow .25s}
.vision-card.has-popup:hover{transform:translateY(-4px);box-shadow:var(--shadow)}

/* Value-chain stages: the round number is the obvious tap target */
.process-grid li.has-popup{border-radius:16px;padding-block:8px 16px!important;transition:background-color .25s}
.process-grid li.has-popup:hover{background:color-mix(in srgb,var(--surface) 70%,transparent)}
.process-grid li.has-popup .process-number{transition:transform .25s var(--ease),box-shadow .25s}
.process-grid li.has-popup:hover .process-number,.process-grid li.has-popup:focus-visible .process-number{transform:scale(1.1);box-shadow:0 0 0 8px color-mix(in srgb,var(--orange) 18%,transparent)}
.process-grid li.has-popup .process-number:after{content:"+";position:absolute;right:-4px;top:-4px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--navy);color:#fff;font-size:14.5px;font-weight:700;box-shadow:0 0 0 2px var(--surface-2,#fff)}
.process-grid li .process-number{position:relative}
.process-grid .card-more{margin-top:10px}

/* Roadmap phases */
.phase-track li.has-popup{border-radius:12px;padding-block:6px}
.phase-track li.has-popup:hover .phase-dot{transform:scale(1.12);box-shadow:0 0 0 6px var(--surface-2),0 0 0 9px color-mix(in srgb,var(--orange) 30%,transparent)}
.phase-dot{transition:transform .25s var(--ease),box-shadow .25s}

/* Inner-page cards: short preview, full text in the pop-up */
.rc-card-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- The dialog ---------- */
html.has-dialog{overflow:hidden}
.info-dialog{width:min(680px,calc(100% - 32px));max-height:min(86vh,860px);padding:0;border:0;border-radius:24px;background:var(--surface);color:var(--text);box-shadow:0 30px 80px -20px #142b4580;overflow:auto;overscroll-behavior:contain}
.info-dialog::backdrop{background:#0b1520b3;backdrop-filter:blur(4px)}
.info-dialog[open]{animation:popup-in .32s cubic-bezier(.2,.8,.2,1)}
.info-dialog[open]::backdrop{animation:popup-fade .3s ease}
@keyframes popup-in{from{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:none}}
@keyframes popup-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.info-dialog[open],.info-dialog[open]::backdrop{animation:none}}
.info-dialog-inner{position:relative}
.info-dialog-close{position:absolute;top:16px;right:16px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--heading);font-size:26px;line-height:1;cursor:pointer;transition:background-color .2s,color .2s,transform .2s}
.info-dialog-close:hover{background:var(--navy);color:#fff;transform:rotate(90deg)}
.popup-head{padding:36px 40px 26px;background:linear-gradient(135deg,var(--navy) 0%,#1f3d5e 100%);color:#fff;border-radius:24px 24px 0 0;padding-right:76px}
.popup-head .card-icon{width:58px;height:58px;border-radius:16px;background:#ffffff14;color:var(--orange-light,#d4776a);margin-bottom:18px}
.popup-head .card-icon svg{width:30px;height:30px}
.popup-badge.is-round{display:grid;place-items:center;width:76px;height:76px;margin-bottom:18px;border-radius:50%;background:var(--orange);color:#fff;font-size:26px;font-weight:800;box-shadow:0 0 0 8px #ffffff1a,0 0 0 16px #ffffff0d}
.popup-head .eyebrow{display:block;margin:0 0 8px;font-size:14.5px;color:var(--orange-light,#d4776a)!important;justify-content:flex-start}
.popup-title{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.15;color:#fff}
.popup-body{padding:30px 40px 38px;display:grid;gap:18px}
.popup-body>*{margin:0}
.popup-body p{font-size:18px;line-height:1.7;color:var(--text-2)}
.popup-body .popup-lead{font-size:19.5px;line-height:1.6;color:var(--heading);font-weight:500}
.popup-body strong{color:var(--heading)}
.popup-subhead{margin:8px 0 -4px!important;font-size:14.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--orange)}
.popup-body .rc-checks{padding:4px 20px}
.popup-body .rc-checks.is-2{grid-template-columns:1fr}
.popup-body .rc-checks.is-2 li:nth-last-child(2){border-bottom:1px solid var(--border)}
.popup-body .rc-facts{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}
.popup-body .rc-steps li{padding:14px 16px;box-shadow:none}
.popup-body .rc-response{margin:0!important}
.popup-body .rc-card-link a,.popup-body p a{color:var(--orange);font-weight:650}
@media(max-width:560px){.popup-head{padding:30px 24px 22px}.popup-body{padding:24px 24px 30px}.popup-badge.is-round{width:64px;height:64px;font-size:23px}}

.info-dialog-close{border-color:#ffffff40;background:#ffffff1a;color:#fff}
.info-dialog-close:hover{background:#fff;color:var(--navy)}
.popup-body .rc-checks li strong{color:var(--heading)}

/* Leader profiles open in the pop-up instead of expanding */
details.leader.has-popup>summary{cursor:pointer}
details.leader.has-popup[open]>summary{pointer-events:auto}
.leader-view{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;font-size:15px;font-weight:650;color:var(--orange)}
.leader-view span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:color-mix(in srgb,var(--orange) 14%,transparent);font-size:16.5px;line-height:1;transition:transform .25s}
details.leader>summary:hover .leader-view span{transform:rotate(90deg)}
.popup-head-person{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:22px;align-items:end}
.popup-portrait{grid-row:1/span 2;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;overflow:hidden;background:#ffffff14;border:3px solid var(--orange);box-shadow:0 0 0 6px #ffffff14}
.popup-portrait picture,.popup-portrait img{width:100%;height:100%;object-fit:cover;display:block}
.popup-portrait .leader-monogram{font-size:34px;color:#fff}
.popup-head-person .eyebrow{align-self:end;margin-bottom:6px}
.popup-head-person .popup-title{align-self:start}
.team-popup-body .team-biography{font-size:17.5px;line-height:1.7;color:var(--text-2)}
.team-popup-body .team-biography h3{font-size:14.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--orange);margin:22px 0 8px}
.team-popup-body .team-biography p{margin:0 0 12px}
.team-popup-body .team-biography ul{margin:0 0 12px;padding-left:20px}
.team-popup-body .team-biography li{margin-bottom:6px}
.team-popup-body .team-biography li::marker{color:var(--orange)}
.team-popup-cta{margin-top:6px!important}
@media(max-width:560px){.popup-head-person{grid-template-columns:1fr}.popup-portrait{grid-row:auto;width:92px;height:92px;margin-bottom:14px}}
