/* impact — milestone 2 page & section styles (builds on main.css + tokens.css). */

/* ---------- Motion primitives (progressive; safe without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Hero / above-the-fold content is never hidden (avoids a load-time flash). */
.hero.reveal, .hero .reveal { opacity: 1 !important; transform: none !important; }
.float { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ribbon-flow { animation: dash 5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -60; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Header nav toggle (mobile) ---------- */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-deep); border-radius: 2px; }
.nav-mobile-actions { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { display: none; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 12px 0; }
  .nav-open .site-nav { display: flex; }
  .nav-mobile-actions { display: flex; gap: 14px; align-items: center; padding-top: 10px; border-top: 1px solid var(--c-line); margin-top: 6px; }
}

/* ---------- Buttons / pills / chips extra ---------- */
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-pink { background: var(--c-raspberry-200, #F7B8C4); color: var(--recruiter-ink, #4D1833); }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--c-mist); color: var(--c-deep); text-decoration: none; font-size: 20px; flex: none; }
.pill { display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 15px; }
.pill-deep { background: var(--c-deep); color: #fff; }
.pill-outline { border: 1.5px solid var(--c-line); color: var(--c-deep); }
.chip { display: inline-block; padding: 6px 12px; border-radius: var(--r-chip, 14px); background: var(--c-pale, #D5EBF2); color: var(--c-ocean, #255F7F); font-size: 13px; font-weight: 500; }
.chip-duration { background: var(--c-deep); color: #fff; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.label-ocean { color: var(--c-ocean, #255F7F); }
.note { margin: 0; }
.lead { font-size: var(--fs-lead, 19px); max-width: 60ch; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.band-tight { padding: 40px 0; }
.band-deep { background: var(--c-deep); color: #fff; }
.band-deep h1, .band-deep h2 { color: #fff; }
.band-pale { background: var(--c-pale, #D5EBF2); }

/* ---------- Hero backgrounds / parallax ---------- */
.hero { position: relative; overflow: hidden; border-radius: 0; }
.hero-bg { position: absolute; inset: -60px 0 0 0; height: calc(100% + 120px); background: url('/assets/backgrounds/flow-dark.webp') center/cover no-repeat; transform: scale(1.12); will-change: transform; }
.hero-bg-light { background-image: url('/assets/backgrounds/flow-light.webp'); }
.hero-scrim { position: absolute; inset: 0; background: var(--scrim-hero); }
.hero-inner { position: relative; z-index: 1; }
.hero-join h1, .hero-join .hero-text { color: #fff; }
.eyebrow-aqua { color: var(--c-aqua, #93CFDC); }

/* ---------- Practices (flagship) ---------- */
.flagship-top { display: flex; justify-content: space-between; align-items: flex-start; }
.flagship-icon .icon-lg { width: 44px; height: 44px; }
.outcome-panel { background: rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.practice-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.outcome-list-sm li { margin: .2em 0; }
.icon { width: 24px; height: 24px; }
.icon-md { width: 32px; height: 32px; }

/* ---------- Method ---------- */
.method-panel { background: #fff; border-radius: var(--r-hero, 36px); box-shadow: var(--shadow-card); padding: 36px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; align-items: start; }
.method-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.method-chips li { display: flex; align-items: center; gap: 10px; background: var(--c-mist); border-radius: 12px; padding: 10px 14px; font-weight: 500; }
.method-chips .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.method-ribbons { display: flex; flex-direction: column; align-items: center; }
.ribbons { width: 100%; max-width: 260px; height: auto; }
.ribbon-caption { text-align: center; font-size: 13px; margin-top: 8px; }
.deliverable-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.deliverable-tile { background: var(--c-mist); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
.deliverable-tile .caption { font-size: 12px; }
.mini { display: block; width: 72px; height: 54px; position: relative; background: #fff; border-radius: 8px; box-shadow: var(--shadow-card); overflow: hidden; }
.mini-bar { position: absolute; top: 0; left: 0; right: 0; height: 12px; background: var(--c-navy); }
.mini-line { position: absolute; left: 8px; right: 8px; height: 4px; background: var(--c-line); top: 22px; border-radius: 2px; }
.mini-line.short { top: 32px; right: 28px; }
.mini-box { position: absolute; left: 8px; bottom: 8px; width: 24px; height: 12px; background: var(--c-raspberry-light, #CD4C67); border-radius: 3px; }
.mini-gantt .g { position: absolute; height: 7px; border-radius: 4px; }
.mini-gantt .g1 { top: 8px; left: 8px; width: 34px; background: var(--c-steel); }
.mini-gantt .g2 { top: 20px; left: 16px; width: 40px; background: var(--c-ocean); }
.mini-gantt .g3 { top: 32px; left: 10px; width: 28px; background: var(--c-raspberry-light); }
.mini-gantt .g4 { top: 44px; left: 20px; width: 24px; background: var(--c-orange); }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 6px; }
.mini-grid .cell { background: var(--c-pale); border-radius: 2px; }
.mini-grid .cell.head { background: var(--c-navy); }
.mini-grid .cell.gold { background: var(--c-gold-light); }
.mini-grid .cell.orange { background: var(--c-orange); }
.mini-bars .kpi { position: absolute; top: 4px; left: 6px; font-size: 11px; font-weight: 700; color: var(--c-coral-text); }
.mini-bars .b { position: absolute; bottom: 6px; width: 10px; border-radius: 2px 2px 0 0; }
.mini-bars .b1 { left: 10px; height: 16px; background: var(--c-aqua); }
.mini-bars .b2 { left: 24px; height: 26px; background: var(--c-steel); }
.mini-bars .b3 { left: 38px; height: 20px; background: var(--c-raspberry-light); }
.mini-bars .b4 { left: 52px; height: 30px; background: var(--c-coral); }
.mini-player { background: var(--c-navy); }
.mini-player .scorm { position: absolute; top: 6px; left: 6px; font-size: 9px; color: #fff; font-weight: 700; }
.mini-player .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--c-amber); }
.mini-player .progress { position: absolute; bottom: 8px; left: 8px; width: 60%; height: 4px; background: var(--c-orange); border-radius: 2px; }
.mini-checklist .row { position: absolute; left: 8px; right: 8px; height: 8px; border-radius: 3px; }
.mini-checklist .row.done { background: var(--c-ocean); }
.mini-checklist .row:nth-child(1) { top: 10px; }
.mini-checklist .row:nth-child(2) { top: 24px; }
.mini-checklist .row.open { top: 38px; background: #fff; border: 1.5px solid var(--c-raspberry); }

/* ---------- Engagement ---------- */
.engage-panel { background: #fff; border-radius: var(--r-hero, 36px); box-shadow: var(--shadow-card); padding: 28px 32px; }
/* Meta column + timeline column; the scale header and every bar track live in
   the SAME timeline column, so ticks and bars share one coordinate space. */
.engage-row { display: grid; grid-template-columns: minmax(230px, 300px) 1fr; gap: 24px; align-items: center; }
.engage-head { margin-bottom: 10px; }
.engage-scale { position: relative; height: 24px; border-bottom: 1px dashed var(--c-line); }
.engage-scale .tick { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.engage-scale .tick-end { right: 0; left: auto !important; transform: none; }
.engage-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.engage-meta { display: flex; gap: 14px; align-items: center; }
.engage-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.engage-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.engage-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill-deep.pill, .engage-name .pill-deep { background: var(--c-deep); color: #fff; padding: 2px 10px; font-size: 11px; border-radius: 999px; }
.best-for { font-size: 13px; }
.engage-track { position: relative; height: 48px; background: var(--c-mist); border-radius: 14px; }
.engage-bar { position: absolute; top: 9px; height: 14px; border-radius: 999px; transform-origin: left center; }
.js .engage-bar.grow { transform: scaleX(0); transition: transform .8s var(--ease-out); }
.js .reveal.is-visible .engage-bar.grow { transform: scaleX(1); }
.engage-duration { position: absolute; top: 28px; font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 100%; }

/* ---------- Industries ---------- */
.industry-tile { position: relative; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.industry-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-feature); }
.industry-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 18px; background: var(--tint); margin-bottom: 16px; }
.industry-badge .ring { position: absolute; inset: -6px; border-radius: 22px; border: 2px solid var(--accent); opacity: .4; animation: pulse 3.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.88); opacity: .5; } 100% { transform: scale(1.18); opacity: 0; } }
.industry-tile:hover .icon { transform: rotate(-10deg) scale(1.14); transition: transform .25s var(--ease-out); }

/* ---------- Certifications ---------- */
.cert-panel { background: var(--c-deep); color: #fff; border-radius: var(--r-panel, 32px); padding: 40px; }
.cert-panel h2 { color: #fff; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; margin-top: 24px; }
.cert-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cert-seal { width: 72px; height: 72px; border-radius: 50%; background: var(--c-gold-light); color: var(--c-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; border: 3px dashed rgba(255,255,255,.35); }
.cert-item strong { font-size: 14px; }
.cert-practice { color: var(--c-amber); font-size: 12px; }
.cert-flag { font-size: 11px; color: var(--c-on-dark-muted); font-style: italic; }
.cert-unconfirmed .cert-seal { opacity: .8; }

/* ---------- Recruiters panel ---------- */
.recruiter-panel { background: var(--c-burgundy, #7A1E3D); color: #fff; border-radius: var(--r-panel, 32px); padding: 44px; }
.recruiter-panel h2 { color: #fff; max-width: 20ch; }
.recruiter-text { color: #F7D7DF; max-width: 60ch; }
.recruiter-checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.recruiter-checks li { background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.recruiter-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Services page ---------- */
.anchor-pills { display: flex; gap: 8px; flex-wrap: wrap; align-self: flex-end; }
.services-hero { padding: 72px 0 32px; }
.services-hero-inner { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.services-hero-text { flex: 1 1 560px; }
.services-hero-text h1 { margin: 10px 0; }
.services-section { padding: 16px 0; }
.services-cta-section { padding: 24px 0 96px; }
.practice-panel { display: flex; flex-wrap: wrap; gap: 40px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-feature, 28px); padding: 44px; box-shadow: var(--shadow-card); }
.practice-panel-gold { background: var(--c-gold-light, #F9D692); border-color: transparent; }
.practice-panel-gold h2, .practice-panel-gold .practice-tagline { color: var(--c-deep); }
.practice-panel-gold .svc-item { background: #fff; }
.practice-left { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.practice-panel-icon .icon-xl { width: 48px; height: 48px; }
.practice-left h2 { font-size: 36px; margin: 0; }
.practice-tagline { color: var(--c-muted); line-height: 1.6; margin: 0; }
.practice-experts-link { margin-top: 4px; }
.lead-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--c-ice); text-decoration: none; color: inherit; }
.lead-avatar { width: 44px; height: 44px; border-radius: 14px; background: var(--c-aqua); color: var(--c-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.lead-meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.lead-meta .muted { font-size: 13px; }
.practice-right { flex: 2 1 540px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.svc-item { background: var(--c-mist); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.svc-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.svc-item-head h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.dur-chip { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--c-gold-light, #F9D692); color: var(--c-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.practice-panel-gold .dur-chip { background: var(--c-ice); }
.deliverable-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.icon-xl { width: 48px; height: 48px; }
.dashed-cta { border: 2px dashed var(--c-muted); border-radius: var(--r-feature, 28px); padding: 44px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dashed-cta h2 { margin: 0 0 8px; }
.dashed-cta p { margin: 0; max-width: 60ch; }
@media (max-width: 720px) { .services-hero { padding: 48px 0 24px; } .practice-panel { padding: 28px; } }

/* ---------- Experts list ---------- */
.page-head { padding: 72px 0; }
.experts-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.experts-filters { background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-card); position: sticky; top: 20px; }
.filter-title { font-size: 20px; }
.filter-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field input, .filter-form input[type=search] { padding: 10px 12px; border: 1.5px solid var(--c-line); border-radius: var(--r-chip); font: inherit; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; min-height: 32px; }
.recruiter-box { margin-top: 20px; background: var(--recruiter-100, #FADDE3); border-radius: var(--r-chip); padding: 16px; font-size: 14px; }
.experts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.expert-card { background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-card); }
.expert-card h3 { margin: 10px 0 2px; }
.expert-card h3 a { color: var(--c-deep); text-decoration: none; }
.expert-avatar { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; background: var(--c-aqua); color: var(--c-deep); align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.expert-role { font-weight: 600; color: var(--c-ocean); margin: 0 0 8px; }
.expert-meta { font-size: 13px; }

/* ---------- Expert detail: service catalogue cards ---------- */
.services-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.service-card { background: #fff; border-radius: var(--r-card, 24px); padding: 24px; box-shadow: var(--shadow-card); }
.service-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.service-card-head h3 { margin: 0; font-size: 18px; }
.svc-num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--c-deep); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }

/* Expert detail — rich service catalogue + engage layout */
.exd-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-top: 20px; }
.exd-service { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card, 24px); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.exd-service-head { display: flex; gap: 14px; align-items: flex-start; }
.exd-service-head h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.3; }
.exd-service-dur { font-size: 13px; font-weight: 600; color: var(--c-coral-text); }
.exd-solves { margin: 0; font-size: 15px; line-height: 1.5; }
.exd-items { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--c-muted); line-height: 1.45; }
.exd-track { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--c-ice); font-size: 14px; line-height: 1.45; }
.exd-track-label { font-weight: 600; color: var(--c-coral-text); }
.exd-engage-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.exd-engage { flex: 2 1 520px; background: var(--c-ice); border-radius: var(--r-feature, 28px); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.exd-engage h2 { margin: 0 0 6px; font-size: 26px; }
.exd-model-row { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 14px 16px; border-radius: 16px; background: #fff; align-items: baseline; }
.exd-model-row strong { flex: 0 0 180px; font-size: 16px; }
.exd-model-row span { flex: 1 1 200px; font-size: 14px; }
.exd-sidecard { flex: 1 1 300px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-feature, 28px); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.exd-sidecard h2 { margin: 0; font-size: 26px; }
.exd-systems-h { margin: 8px 0 0; font-size: 16px; }
.pill-gold { padding: 8px 14px; border-radius: 999px; background: var(--c-gold-light, #F9D692); color: var(--c-deep); font-size: 14px; font-weight: 500; }
.pill-outline-aqua { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--c-aqua, #93CFDC); font-size: 14px; }

/* ---------- Expert detail ---------- */
.breadcrumb { padding: 20px var(--gutter); color: var(--c-muted); font-size: 14px; }
.breadcrumb a { text-decoration: none; }
.profile-card { background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-card); overflow: hidden; }
.profile-banner { height: 124px; background: url('/assets/backgrounds/flow-light.webp') center/cover; }
.profile-head { display: flex; gap: 24px; padding: 0 32px 28px; margin-top: -48px; align-items: flex-end; flex-wrap: wrap; }
.profile-avatar { width: 136px; height: 136px; border-radius: 28px; background: var(--c-aqua); color: var(--c-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 44px; border: 5px solid #fff; flex: none; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.badge-deep { background: var(--c-deep); color: #fff; }
.badge-success { background: var(--c-success-bg); color: var(--c-success-fg); }
.profile-headline { font-size: var(--fs-lead); max-width: 62ch; }
.profile-meta { font-size: 14px; }
.ai-geo { font-size: var(--fs-lead, 19px); line-height: 1.6; color: var(--c-deep); }
.profile-links { margin: 4px 0 0; }
.linkedin-link { display: inline-flex; align-items: center; gap: 8px; color: #0A66C2; font-weight: 600; text-decoration: none; font-size: 14px; }
.linkedin-link:hover { text-decoration: underline; }
.recruiter-gate { background: var(--c-burgundy); color: #fff; border-radius: var(--r-card); padding: 28px; margin-top: 24px; }
.gate-value { font-size: 22px; font-weight: 700; }
.gate-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.small { font-size: 12px; }
.metrics-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.metric-tile { background: var(--c-ice); border-radius: 18px; padding: 20px; text-align: center; }
.metric-hi { background: var(--c-gold-light); }
.metric-value { display: block; font-size: 32px; font-weight: 800; font-family: var(--font-display); }
.metric-label { font-size: 12px; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.company-tile { background: #fff; border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow-card); }
.company-name-placeholder { display: inline-block; border: 1.5px dashed var(--c-line); border-radius: 10px; padding: 8px 14px; font-weight: 700; margin-bottom: 10px; }
.company-logo { height: 36px; margin-bottom: 10px; }
.advisory { margin-top: 16px; font-style: italic; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.why-card { background: var(--c-navy-2); border-radius: var(--r-card); padding: 24px; }
.why-card strong { display: block; margin: 10px 0 6px; color: #fff; }
.why-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--c-amber); color: var(--c-deep); align-items: center; justify-content: center; font-weight: 800; }
.engage-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.engage-list li { background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-card); }
.chip-sets { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 24px; }
.cta-bar { background: var(--c-coral); color: #fff; border-radius: var(--r-panel); padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-bar strong { font-size: 22px; }
.cta-bar span { display: flex; gap: 12px; flex-wrap: wrap; }
.band-join-cta { background: var(--c-ocean); }

/* ---------- Join page ---------- */
.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: #fff; border-radius: var(--r-panel); padding: 32px; box-shadow: var(--shadow-card); }
.info-card-dark { background: var(--c-navy); color: #fff; }
.info-card-dark h3 { color: #fff; }
.step-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step-card { background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--c-aqua); color: var(--c-deep); align-items: center; justify-content: center; font-weight: 800; }
.faq details { background: #fff; border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.faq summary { font-weight: 600; cursor: pointer; }

/* ---------- Legal ---------- */
.legal h1 { margin-bottom: 20px; }
.placeholder-inline { background: var(--c-warning-bg); color: var(--c-warning-fg); padding: 12px 16px; border-radius: 12px; display: inline-block; }

/* ---------- Auth ---------- */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); }
.is-bare .auth-split { min-height: 100vh; }
.auth-back { display: inline-block; margin-bottom: 18px; font-size: 14px; color: var(--c-muted, #5b6b78); text-decoration: none; }
.auth-back:hover { text-decoration: underline; }
.auth-aside { background: var(--c-deep); color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: url('/assets/backgrounds/flow-dark.webp') center/cover; opacity: .9; }
.auth-aside-inner { position: relative; z-index: 1; padding: 64px; max-width: 420px; }
.auth-aside .brand-word-light { font-size: 32px; }
.auth-aside-text { font-size: 26px; font-weight: 700; margin: 18px 0 8px; font-family: var(--font-display); }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); }
.auth-form { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 34px; }
.role-switch { display: flex; gap: 8px; background: var(--c-mist); border-radius: 999px; padding: 4px; margin: 18px 0; }
.role-opt { flex: 1; text-align: center; padding: 10px; border-radius: 999px; text-decoration: none; color: var(--c-muted); font-weight: 600; }
.role-opt.is-on.role-expert { background: var(--c-ocean); color: #fff; }
.role-opt.is-on.role-recruiter { background: var(--c-raspberry); color: #fff; }
.stack-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.btn-block { width: 100%; }
.btn-linkedin { background: #0A66C2; color: #fff; width: 100%; }
.field-aux { float: right; font-weight: 500; font-size: 13px; }
.divider { text-align: center; border-top: 1px solid var(--c-line); line-height: 0; margin: 20px 0; }
.divider span { background: var(--c-mist); padding: 0 12px; color: var(--c-muted); font-size: 13px; }
.form-error { background: var(--c-error-bg); color: var(--c-error-fg); padding: 12px 16px; border-radius: 12px; }
.form-ok { background: var(--c-success-bg); color: var(--c-success-fg); padding: 12px 16px; border-radius: 12px; }
.auth-links { font-size: 14px; margin-top: 18px; }
.staff-box { margin-top: 24px; background: var(--c-ice); border-radius: 14px; padding: 16px; font-size: 13px; color: var(--c-muted); }
.inline-form { display: inline; }
.app-welcome { max-width: 640px; }
.role-expert-band { border-top: 4px solid var(--c-ocean); }
.role-recruiter-band { border-top: 4px solid var(--c-raspberry); }
.role-admin-band { border-top: 4px solid var(--c-amber); }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .method-panel { grid-template-columns: 1fr; }
  .services-block { grid-template-columns: 1fr; }
  .experts-layout { grid-template-columns: 1fr; }
  .experts-filters { position: static; }
  .metrics-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .engage-row { grid-template-columns: 1fr; }
  .two-cards { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-bar, .join-bar { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   Expert detail v2 (.xd) — positioning, why-now, service track, core
   services, track record, engagement. Scoped to avoid clobbering others.
   ===================================================================== */
.xd { --xd-gap: 28px; padding-bottom: 72px; }
.xd .breadcrumb { padding-top: 22px; padding-bottom: 22px; }
.xd .breadcrumb a { text-decoration: underline; text-underline-offset: 3px; color: var(--c-muted); }
.xd h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; color: var(--c-deep); }
.xd-section { margin-top: 40px; }
.xd-section-lg { margin-top: 72px; }
.xd-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.xd-eyebrow-amber { color: var(--c-amber); }
.xd-eyebrow-aqua { color: var(--c-aqua); }
.xd-eyebrow-coral { color: var(--c-coral-text); }
.xd-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.xd-row-head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); }
.xd-note { color: var(--c-muted); font-size: 14px; }
.xd-staff-flag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--c-warning-bg); color: var(--c-warning-fg); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* hero */
.xd-hero { display: grid; grid-template-columns: minmax(0, 1fr) 364px; gap: var(--xd-gap); align-items: stretch; }
.xd-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-panel); overflow: hidden; }
.xd-banner { height: 124px; background: url('/assets/backgrounds/flow-light.webp') center/cover, linear-gradient(90deg, var(--c-sky), var(--c-ocean) 45%, var(--c-raspberry-light) 75%, var(--c-orange)); }
.xd-head { display: flex; gap: 28px; padding: 0 36px 40px; }
.xd-avatar { flex: 0 0 136px; height: 136px; margin-top: -4px; border-radius: 28px; border: 4px solid #fff; background: var(--c-aqua); color: var(--c-deep); display: flex; align-items: center; justify-content: center; font: 800 52px/1 var(--font-display); letter-spacing: -0.02em; position: relative; top: -2px; box-sizing: border-box; }
.xd-head-body { padding-top: 36px; min-width: 0; }
.xd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.xd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; white-space: nowrap; border-radius: 999px; font-size: 13px; font-weight: 700; }
.xd-badge-deep { background: var(--c-deep); color: #fff; }
.xd-badge-track { background: linear-gradient(90deg, var(--c-steel), var(--c-rose) 55%, var(--c-orange)); color: #fff; padding-left: 6px; }
.xd-badge-dot { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.28); align-items: center; justify-content: center; }
.xd-badge-ok { background: var(--c-success-bg); color: var(--c-success-fg); font-weight: 600; }
.xd-head h1 { margin: 0 0 14px; font: 800 clamp(36px, 4vw, 50px)/1.02 var(--font-display); letter-spacing: -0.035em; color: var(--c-deep); }
.xd-headline { margin: 0 0 18px; font-size: 20px; line-height: 1.45; color: var(--c-deep); max-width: 60ch; }
.xd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0 0 6px; color: var(--c-muted); font-size: 15px; }
.xd-meta span { display: inline-flex; align-items: center; gap: 8px; }
.xd-meta svg { flex: none; }
.xd-linkedin { color: var(--c-ocean); font-weight: 600; text-decoration: none; }
.xd-gate { background: var(--c-burgundy); color: #fff; border-radius: var(--r-panel); padding: 38px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.xd-gate-eyebrow { margin: 0; color: var(--recruiter-200); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.xd-gate-status { margin: 0; display: flex; align-items: center; gap: 10px; font: 800 24px/1.2 var(--font-display); }
.xd-dot { width: 14px; height: 14px; border-radius: 50%; background: #7BC47F; box-shadow: 0 0 0 4px rgba(123,196,127,.3); flex: none; }
.xd-gate-note { margin: 0 0 8px; color: var(--recruiter-100); font-size: 15px; line-height: 1.5; }
.xd-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
.xd-btn-pink { background: var(--recruiter-200); color: var(--recruiter-ink); }
.xd-btn-ghost { border: 1.5px solid rgba(255,255,255,.85); color: #fff; }
.xd-btn-white { background: #fff; color: var(--c-deep); }
.xd-btn:hover { filter: brightness(1.05); }
.xd-gate-link { color: var(--recruiter-200); font-size: 14px; font-weight: 600; text-align: center; text-underline-offset: 3px; }
.xd-gate-small { margin: 4px 0 0; color: var(--recruiter-100); opacity: .85; font-size: 13px; line-height: 1.45; }

/* positioning */
.xd-position { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 48px; border-radius: var(--r-panel); color: #fff;
  background: linear-gradient(100deg, rgba(19,53,80,.97) 0%, rgba(19,53,80,.9) 50%, rgba(74,34,60,.82) 100%), url('/assets/backgrounds/flow-dark.webp') center/cover, var(--c-navy); }
.xd-quote { margin: 0 0 18px; color: #fff !important; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.xd-position-text { margin: 0; color: var(--c-on-dark-muted); font-size: 18px; line-height: 1.55; max-width: 60ch; }
.xd-bestfor { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; padding: 26px 24px; }
.xd-bestfor .xd-eyebrow { font-size: 12px; margin-bottom: 10px; }
.xd-bestfor p:last-child { margin: 0; font-size: 16px; line-height: 1.5; color: #fff; }

/* why now */
.xd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xd-stat { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 22px 24px; }
.xd-stat-value { display: block; font: 800 46px/1 var(--font-display); color: var(--c-coral-text); letter-spacing: -0.03em; margin-bottom: 10px; }
.xd-stat p { margin: 0 0 8px; font-size: 16px; line-height: 1.45; color: var(--c-deep); }
.xd-stat small { color: var(--c-muted); font-size: 13px; }
.xd-unverified { border-style: dashed; border-color: var(--c-warning-fg); }
.xd-conclusion { margin: 22px 0 0; font-size: 16px; line-height: 1.55; color: var(--c-deep); }

/* metrics */
.xd-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.xd-metric { background: var(--c-ice); border-radius: var(--r-card); padding: 26px 22px; }
.xd-metric-hi { background: var(--c-gold-light); }
.xd-metric-value { display: block; font: 800 clamp(30px, 3vw, 40px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--c-deep); margin-bottom: 14px; }
.xd-metric-label { font-size: 15px; line-height: 1.35; color: var(--c-deep); }

/* service track */
.xd-track { margin-top: 72px; background: var(--c-navy); color: #fff; padding: 80px 0 88px; }
.xd-track h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin: 18px 0 14px; max-width: 24ch; letter-spacing: -0.035em; }
.xd-track-pill { display: inline-block; background: var(--c-amber); color: var(--c-deep); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.xd-track-intro { margin: 0 0 36px; color: var(--c-on-dark-muted); font-size: 18px; line-height: 1.5; max-width: 62ch; }
.xd-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.xd-step { border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; min-height: 112px; box-sizing: border-box; }
.xd-step-n { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.xd-step strong { font-size: 16px; line-height: 1.25; }
.xd-step-ref { font-size: 13px; }
.xd-step-1 { background: var(--c-steel); } .xd-step-2 { background: var(--c-ocean); } .xd-step-3 { background: var(--c-rose); }
.xd-step-4 { background: var(--c-coral); } .xd-step-5 { background: var(--c-amber); color: var(--c-deep); }
.xd-track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xd-tsvc { background: #fff; color: var(--c-deep); border-radius: var(--r-card); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.xd-tsvc-head { display: flex; gap: 16px; align-items: flex-start; }
.xd-tsvc-num { flex: none; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--c-rose), var(--c-coral) 60%, var(--c-orange)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.xd-tsvc h3 { margin: 0 0 4px; font: 700 21px/1.22 var(--font-display); letter-spacing: -0.01em; }
.xd-dur { color: var(--c-coral-text); font-size: 14px; font-weight: 700; }
.xd-solves { margin: 0; font-size: 16px; line-height: 1.45; }
.xd-items { margin: 0; padding-left: 18px; color: var(--c-muted); font-size: 14.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 6px; }
.xd-deliverable { margin: 4px 0 0; display: flex; gap: 10px; align-items: flex-start; background: #FDF0DC; border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.45; }
.xd-deliverable svg { flex: none; color: var(--c-coral-text); margin-top: 2px; }
.xd-buildson { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--c-ice); font-size: 14px; line-height: 1.45; color: var(--c-muted); }
.xd-buildson strong { color: var(--c-ocean); }

/* core services */
.xd-core-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.xd-core { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.xd-core-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.xd-core h3 { margin: 0; font: 700 16px/1.3 var(--font-body); color: var(--c-deep); }
.xd-chip { flex: none; background: var(--c-ice); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.xd-core-problem { margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.45; }
.xd-core-track { margin: auto 0 0; padding-top: 12px; font-size: 14px; line-height: 1.4; }
.xd-core-track strong { color: var(--c-coral-text); }

/* companies + stories */
.xd-companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xd-company { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 18px 18px 22px; }
.xd-company strong { display: block; margin: 16px 0 4px; font-size: 16px; }
.xd-company p { margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.45; }
.xd-logo { min-height: 98px; border-radius: 16px; background: var(--c-ocean, #255F7F); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px; box-sizing: border-box; }
.xd-logo img { max-height: 54px; max-width: 72%; object-fit: contain; }
.xd-logo-name { font: 700 22px/1.2 var(--font-body); color: #fff; text-align: center; }
.xd-logo .xd-staff-flag { margin: 6px 0 0; }
.xd-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.xd-story { background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--r-card); padding: 24px; }
.xd-story-ph { border: 2px dashed var(--c-coral); }
.xd-story .xd-eyebrow { font-size: 12.5px; margin-bottom: 8px; }
.xd-story h3 { margin: 0 0 8px; font-size: 19px; }
.xd-story p:last-child { margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.5; }

/* why work with */
.xd-why { margin-top: 72px; background: var(--c-deep); color: #fff; padding: 80px 0 88px; }
.xd-why h2 { color: #fff; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.06; margin: 0 0 32px; max-width: 20ch; letter-spacing: -0.035em; }
.xd-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.xd-why-card { background: var(--c-navy-2); border-radius: var(--r-card); padding: 24px; }
.xd-why-num { color: var(--c-amber); font-weight: 800; font-size: 18px; }
.xd-why-card strong { display: block; margin: 12px 0 10px; font-size: 18px; line-height: 1.3; color: #fff; }
.xd-why-card p { margin: 0; color: var(--c-on-dark-muted); font-size: 15px; line-height: 1.55; }
.xd-about { max-width: 75ch; }

/* engage + side */
.xd-engage-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.xd-engage { background: var(--c-ice); border-radius: var(--r-feature); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.xd-engage h2 { margin: 0 0 6px; font-size: 28px; }
.xd-model { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 16px; background: #fff; border-radius: 14px; padding: 16px; font-size: 15px; line-height: 1.4; }
.xd-model strong { font-size: 17px; }
.xd-model-for { color: var(--c-ocean); }
.xd-side { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-feature); padding: 28px; }
.xd-side h2 { margin: 0 0 16px; font-size: 28px; }
.xd-side h3 { margin: 22px 0 12px; font-size: 17px; }
.xd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xd-chip-ind { background: var(--c-pale); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.xd-chip-sys { border: 1.5px solid var(--c-aqua); border-radius: 999px; padding: 7px 14px; font-size: 15px; }

/* cta */
.xd-cta { background: var(--c-coral); color: #fff; border-radius: var(--r-panel); padding: 44px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.xd-cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.xd-cta p { margin: 0; font-size: 17px; opacity: .95; }
.xd-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .xd-hero { grid-template-columns: 1fr; }
  .xd-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xd-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xd-track-grid, .xd-companies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xd-core-grid, .xd-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xd-position, .xd-engage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .xd-head { flex-direction: column; gap: 0; padding: 0 22px 28px; }
  .xd-avatar { width: 104px; height: 104px; flex-basis: auto; font-size: 40px; margin-top: -52px; }
  .xd-head-body { padding-top: 18px; }
  .xd-position { padding: 36px 24px; }
  .xd-stats, .xd-track-grid, .xd-companies, .xd-core-grid, .xd-why-grid, .xd-stories, .xd-steps { grid-template-columns: 1fr; }
  .xd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xd-model { grid-template-columns: 1fr; gap: 4px; }
  .xd-cta { padding: 32px 24px; }
}

.xd-track-services { margin: 24px 0 0; }

/* ---- Homepage: Accelerating transformation (dark band) ---- */
.acc-band { position: relative; overflow: hidden; background: var(--c-deep); color: #fff; }
.acc-band h2, .acc-band h3 { color: #fff; }
.acc-streaks { position: absolute; inset: 0; pointer-events: none; }
.acc-streaks span { position: absolute; height: 2px; width: 120px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(242,156,92,.55)); transform: rotate(-2deg); }
.acc-streaks span:nth-child(1) { top: 7%; left: 58%; } .acc-streaks span:nth-child(2) { top: 5%; left: 86%; }
.acc-streaks span:nth-child(3) { top: 10%; left: 67%; } .acc-streaks span:nth-child(4) { top: 13%; left: 78%; }
.acc-streaks span:nth-child(5) { top: 17%; left: 64%; } .acc-streaks span:nth-child(6) { top: 16%; left: 92%; }
.acc-streaks span:nth-child(7) { top: 6%; left: 31%; opacity: .5; } .acc-streaks span:nth-child(8) { top: 9%; left: 3%; opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .acc-streaks span { animation: acc-streak 7s linear infinite; }
  .acc-streaks span:nth-child(even) { animation-duration: 9s; animation-delay: -3s; }
  @keyframes acc-streak { from { translate: -40px 0; opacity: 0; } 20% { opacity: 1; } to { translate: 160px -8px; opacity: 0; } }
}
.acc-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.acc-head h2 { font-size: clamp(36px, 4.6vw, 60px); max-width: 19ch; line-height: 1.02; }
.acc-lead { color: rgba(255,255,255,.82); max-width: 62ch; margin: 0; }
.acc-signal { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 14px; color: rgba(255,255,255,.9); }
.acc-signal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 0 3px rgba(242,156,92,.25); }
.acc-cards { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.acc-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: #172F45; min-height: 330px; }
.acc-card h3 { display: flex; align-items: center; gap: 10px; font: 700 18px/1.2 var(--font-display); margin: 0 0 4px; }
.acc-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.acc-ico-light { background: #CFE9F0; color: var(--c-deep); }
.acc-card p { margin: 6px 0 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.45; }
.acc-card small { margin-top: auto; padding-top: 12px; color: rgba(255,255,255,.55); font-size: 12px; }
.acc-meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; font-size: 14px; color: rgba(255,255,255,.85); }
.acc-meter strong { font-size: 14px; } .acc-meter strong.dim { font-weight: 500; }
.acc-meter i { grid-column: 1 / -1; display: block; height: 9px; border-radius: 9px; background: #0E2234; overflow: hidden; }
.acc-meter b { display: block; height: 100%; border-radius: 9px; }
.acc-spark { width: 100%; height: 72px; }
.acc-figure { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: 14px; color: rgba(255,255,255,.8); }
.acc-figure strong { color: #fff; font-size: 16px; }
.acc-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); }
.acc-dates span { display: inline-block; min-width: 78px; margin-right: 8px; padding: 2px 8px; border-radius: 6px; background: #CFE9F0; color: var(--c-deep); font-weight: 700; font-size: 13px; text-align: center; }
.acc-bottom { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 40px; }
.acc-gap { padding: 28px; border-radius: 24px; background: #15344F; }
.acc-gap-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-gap-head h3 { font-size: 24px; margin: 0; }
.acc-legend { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,.8); }
.acc-legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.acc-gap-chart { width: 100%; height: auto; margin: 12px 0 8px; }
.acc-gap p { margin: 0; color: rgba(255,255,255,.85); }
@media (prefers-reduced-motion: no-preference) {
  .acc-draw { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.6s ease; }
  .acc-gap.is-visible .acc-draw { stroke-dashoffset: 0; }
}
.js .acc-gap:not(.is-visible) .acc-draw { stroke-dashoffset: 700; }
.acc-why { position: relative; overflow: hidden; padding: 32px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 90% at 100% 100%, #7A1E3D 0%, transparent 60%), radial-gradient(90% 80% at 0% 100%, #255F7F 0%, transparent 60%), #1C3550; }
.acc-why h3 { font-size: 30px; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.acc-checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.acc-checks li { position: relative; padding-left: 30px; line-height: 1.4; color: rgba(255,255,255,.9); }
.acc-checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--c-amber); font-weight: 700; }
.acc-checks strong { color: #fff; }
.acc-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1080px) { .acc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acc-bottom { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .acc-cards { grid-template-columns: 1fr; } .acc-card { min-height: 0; } .acc-head { flex-direction: column; align-items: flex-start; } }

/* ---- Homepage: How we deliver ---- */
.hw-band { background: #fff; }
.hw-band .section-head h2 { max-width: 22ch; }
.hw-formula { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 24px; background: var(--c-ice); margin-bottom: 40px; flex-wrap: wrap; }
.hw-f { flex: 1 1 140px; min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 14px; border-radius: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; line-height: 1.15; }
.hw-op { flex: none; font-size: 24px; font-weight: 700; color: var(--c-muted); }
.hw-f-expertise { background: #133550; color: #fff; }
.hw-f-methods { background: #255F7F; color: #fff; }
.hw-f-knowledge { background: #F7C076; color: var(--c-deep); min-height: 70px; }
.hw-f-deliverables { background: var(--c-coral); color: #fff; }
.hw-f-value { background: #fff; border: 2px solid var(--c-deep); color: var(--c-deep); text-transform: none; letter-spacing: -0.01em; font-family: var(--font-display); }
.hw-f-value small { font-size: inherit; font-weight: 700; margin-left: .3em; text-transform: none; }
.hw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hw-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 26px; min-height: 380px; }
.hw-card header { display: flex; justify-content: space-between; align-items: flex-start; }
.hw-num { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hw-card h3 { font-size: 27px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.hw-card-expertise { background: #133550; color: #fff; } .hw-card-expertise .hw-num { color: #93CFDC; }
.hw-card-methods { background: #255F7F; color: #fff; } .hw-card-methods .hw-num { color: #CFE9F0; }
.hw-card-knowledge { background: #FDF0DC; color: var(--c-deep); } .hw-card-knowledge .hw-num { color: #B4651B; } .hw-card-knowledge header svg { color: #B4651B; }
.hw-card-expertise h3, .hw-card-methods h3 { color: #fff; }
.hw-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: rgba(255,255,255,.9); }
.hw-checks li { display: flex; gap: 10px; align-items: flex-start; } .hw-checks svg { flex: none; margin-top: 3px; color: #93CFDC; }
.hw-ai { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid #F29C5C; color: #fff; font-weight: 600; font-size: 14px; }
.hw-ai svg { color: #F7C076; }
.hw-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hw-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 600; }
.hw-chips .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid; }
.hw-chips-light li { background: #fff; color: var(--c-deep); padding: 5px 12px 5px 5px; }
.hw-ind { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.hw-ind svg { width: 15px; height: 15px; }
.hw-foot { margin: auto 0 0; font-size: 15px; line-height: 1.45; opacity: .9; }
.hw-card-knowledge .hw-foot { color: var(--c-muted); opacity: 1; }
.hw-converge { display: block; width: 84%; height: 90px; margin: 14px auto 14px; }
@media (prefers-reduced-motion: no-preference) { .hw-flow { animation: hw-flow 1.6s linear infinite; } @keyframes hw-flow { to { stroke-dashoffset: -48; } } }
.hw-lib { padding: 30px; border-radius: 30px; background: var(--c-deep); color: #fff; box-shadow: 0 30px 60px -30px rgba(12,30,46,.55); }
.hw-lib-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hw-num-amber { color: var(--c-orange); }
.hw-lib-head h3 { color: #fff; font-size: 30px; letter-spacing: -0.02em; margin: 4px 0 0; }
.hw-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.hw-filter { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: 600 13px/1.2 var(--font-body); cursor: pointer; }
.hw-filter:hover { border-color: rgba(255,255,255,.6); }
.hw-filter.is-active { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-deep); }
.hw-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hw-group { padding: 14px; border-radius: 18px; background: #162B40; }
.hw-group.is-empty { opacity: .45; }
.hw-group-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--g); }
.hw-group-head span { color: var(--g); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.hw-group-head small { color: rgba(255,255,255,.6); font-size: 12px; }
.hw-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hw-group li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 12px; }
.hw-group li:hover { background: rgba(255,255,255,.05); }
.hw-item-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--gt); color: var(--c-deep); display: inline-flex; align-items: center; justify-content: center; }
.hw-item-text { display: flex; flex-direction: column; min-width: 0; }
.hw-item-text strong { font-size: 14px; line-height: 1.2; }
.hw-item-text small { font-size: 12.5px; color: rgba(255,255,255,.62); line-height: 1.3; }
.hw-fmt { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); white-space: nowrap; }
.hw-lib-foot { margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.hw-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.hw-benefit { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: var(--c-mist); }
.hw-benefit-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.hw-benefit strong { display: block; font-size: 16px; }
.hw-benefit small { display: block; color: var(--c-muted); font-size: 14px; line-height: 1.35; }
@media (max-width: 1080px) { .hw-cards { grid-template-columns: 1fr; } .hw-card { min-height: 0; } .hw-groups, .hw-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hw-op { display: none; } }
@media (max-width: 640px) { .hw-groups, .hw-benefits { grid-template-columns: 1fr; } .hw-converge { display: none; } }

/* ---- Homepage hero: featured expert card (+ other experts behind it) — templates/home/_hero.php ---- */
.hero-inner.has-cards { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(440px, 1fr); gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-cards { position: relative; z-index: 2; min-height: 640px; display: grid; place-items: center; }
.hc-card { background: #fff; color: var(--c-deep, #0C1E2E); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(12,30,46,.6); }
.hc-card h3 { margin: 0; font-size: 27px; line-height: 1.12; color: var(--c-deep, #0C1E2E); }
.hc-featured { position: relative; width: 380px; max-width: 100%; transform: rotate(1.5deg); padding: 10px; border: 5px solid #F7C076; z-index: 3; }
.hc-photo { position: relative; aspect-ratio: 4 / 3.3; border-radius: 18px; overflow: hidden; background: var(--c-navy, #133550); }
.hc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.hc-photo.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--c-navy, #133550) url('/assets/backgrounds/flow-dark.webp') center / cover; color: #fff; }
.hc-initials { font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1; }
.hc-photo.is-empty small { font-size: 12px; color: #C3D3DE; }
.hc-badge { position: absolute; left: 12px; top: 12px; background: #F7C076; color: #2b1d00; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.hc-practice { position: absolute; left: 12px; bottom: 12px; background: var(--pc); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.hc-body { padding: 16px 10px 8px; }
.hc-name-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hc-avail { flex: none; font-size: 12px; font-weight: 700; color: #2F7A3A; padding-top: 7px; }
.hc-avail::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3E9A4B; margin-right: 6px; vertical-align: 1px; }
.hc-title { margin: 6px 0; font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--pc); }
.hc-sub { margin: 0 0 10px; font-size: 14px; line-height: 1.4; color: var(--c-muted, #4A6274); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-lines { list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; line-height: 1.35; }
.hc-lines li { position: relative; padding: 4px 0 4px 22px; }
.hc-lines li::before { content: "✓"; position: absolute; left: 2px; top: 4px; color: var(--c-coral, #C24931); font-weight: 800; }
.hc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 0; padding-top: 10px; border-top: 1px solid var(--c-line, #D3E2E8); font-size: 12.5px; color: var(--c-muted, #4A6274); }
.hc-foot a { flex: none; color: var(--c-coral-text, #B03E28); font-weight: 700; font-size: 14px; text-decoration: none; }
.hc-foot a:hover { text-decoration: underline; }
.hc-side { position: absolute; top: 50%; width: 250px; padding: 8px; opacity: .95; }
.hc-side h3 { font-size: 19px; }
.hc-side .hc-title { font-size: 13.5px; }
.hc-photo-sm { aspect-ratio: 4 / 3; }
.hc-photo-sm .hc-initials { font-size: 40px; }
.hc-side-left { left: -10px; transform: translateY(-46%) rotate(-9deg); }
.hc-side-right { right: -10px; transform: translateY(-46%) rotate(9deg); }
@media (max-width: 1180px) {
  .hero-inner.has-cards { grid-template-columns: 1fr; }
  .hero-cards { min-height: 0; padding: 8px 0 0; }
  .hc-side { display: none; }
}
@media (max-width: 640px) {
  .hc-featured { transform: none; width: min(360px, 100%); }
}
.xd-avatar.has-photo, .expert-avatar.has-photo { overflow: hidden; padding: 0; }
.xd-avatar.has-photo, .expert-avatar.has-photo { position: relative; }
.xd-avatar.has-photo img, .expert-avatar.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; border-radius: inherit; }

/* ---- Expert profile: LinkedIn contact (sticky pill, gate + CTA buttons, experts list) ---- */
.xd-btn-li { gap: 10px; font-size: 15px; padding: 0 18px; white-space: nowrap; }
.xd-li-badge { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #0A66C2; color: #fff; flex: none; }
.xd-li-badge svg { width: 15px; height: 15px; }
.xd-btn-white svg { color: #0A66C2; }
.xd-fab { position: fixed; z-index: 900; top: 96px; right: 24px; display: flex; align-items: center; gap: 14px; padding: 9px 12px 9px 9px; border-radius: 999px; background: var(--c-deep, #0C1E2E); color: #fff; text-decoration: none; box-shadow: 0 18px 40px -14px rgba(12,30,46,.65), 0 0 0 1px rgba(255,255,255,.08) inset; animation: xd-fab-in .55s cubic-bezier(.2,.8,.2,1) .6s both; transition: transform .2s, box-shadow .2s; }
.xd-fab:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -14px rgba(12,30,46,.75); }
.xd-fab:focus-visible { outline: 3px solid var(--c-amber, #F7C076); outline-offset: 3px; }
.xd-fab-photo { position: relative; width: 60px; height: 60px; border-radius: 50%; flex: none; background: var(--c-aqua, #93CFDC); color: var(--c-deep, #0C1E2E); display: grid; place-items: center; font: 800 20px/1 var(--font-display); box-shadow: 0 0 0 3px #F7C076; }
.xd-fab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: 50%; }
.xd-fab-dot { position: absolute; right: 1px; bottom: 2px; width: 15px; height: 15px; border-radius: 50%; background: #3FBF5A; border: 3px solid var(--c-deep, #0C1E2E); }
.xd-fab-text { display: flex; flex-direction: column; line-height: 1.2; }
.xd-fab-text strong { font-size: 19px; font-weight: 800; }
.xd-fab-text small { font-size: 13.5px; color: #C3D3DE; margin-top: 3px; }
.xd-fab-li { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0A66C2; color: #fff; flex: none; margin-left: 4px; }
.xd-fab-li svg { width: 20px; height: 20px; }
@keyframes xd-fab-in { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .xd-fab { top: auto; bottom: 0; left: 0; right: 0; border-radius: 18px 18px 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); animation-name: xd-fab-up; }
  .xd-fab-photo { width: 46px; height: 46px; }
  .xd-fab-text strong { font-size: 17px; }
  .xd-fab-li { margin-left: auto; }
  .xd { padding-bottom: 80px; }
}
@keyframes xd-fab-up { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .xd-fab { animation: none; } }
.expert-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: auto 0 0; }
.btn-li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #0A66C2; color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.btn-li:hover { background: #0958A8; }
