/* Agiles Social R2.11 — methodology component */

.agiles-methodology{
  background:#fff;
}
.agiles-methodology button{font:inherit}
.agiles-methodology__principles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:58px;
}
.agiles-methodology__principles article{
  min-height:145px;
  padding:23px 24px;
  border:1px solid var(--mist);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.agiles-methodology__principles strong{
  display:block;
  font-size:1rem;
}
.agiles-methodology__principles p{
  margin:9px 0 0;
  color:var(--slate);
  font-size:.82rem;
  line-height:1.57;
}
.agiles-methodology__desktop{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(330px,.68fr);
  min-height:700px;
  overflow:hidden;
  border:1px solid var(--mist);
  border-radius:28px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.agiles-methodology__map{
  position:relative;
  min-width:0;
  overflow:hidden;
  border-right:1px solid var(--mist);
  background:
    radial-gradient(circle at 16% 82%,rgba(0,152,218,.038),transparent 24%),
    radial-gradient(circle at 84% 18%,rgba(244,185,66,.038),transparent 24%),
    #fbfeff;
}
.agiles-methodology__map-caption{
  position:absolute;
  z-index:3;
  top:27px;left:31px;
  max-width:365px;
}
.agiles-methodology__map-caption span{
  display:block;
  margin-bottom:7px;
  color:var(--brand-accessible);
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.agiles-methodology__map-caption strong{
  display:block;
  font-size:1.05rem;
}
.agiles-methodology__map-caption p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:.74rem;
  line-height:1.45;
}
.journey-svg{
  width:100%;
  height:700px;
}
.path-under{
  fill:none;
  stroke:rgba(0,59,87,.07);
  stroke-width:15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.path-core{
  fill:none;
  stroke:url(#am-r293-journey-gradient);
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:url(#am-r293-line-glow);
}
.path-center{
  fill:none;
  stroke:rgba(255,255,255,.8);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.stage-group{cursor:pointer}

.stage-group--structure{color:#0878aa}
.stage-group--collaboration{color:#d85c39}
.stage-group--outcome{color:#178f66}
.stage-group:focus{outline:none}
.stage-aura{
  opacity:0;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  transition:opacity .18s ease;
}
.stage-group:hover .stage-aura,
.stage-group.is-selected .stage-aura,
.stage-group:focus-visible .stage-aura{opacity:.85}
.stage-node{
  fill:#fff;
  stroke:currentColor;
  stroke-width:2;
  filter:url(#am-r293-node-shadow);
}
.stage-core{fill:currentColor;opacity:.12}
.stage-index{
  fill:currentColor;
  font-size:12px;
  font-weight:700;
  text-anchor:middle;
  dominant-baseline:middle;
}
.stage-label{
  fill:var(--ink);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.024em;
  text-anchor:middle;
}
.stage-summary{
  fill:var(--slate);
  font-size:11.75px;
  letter-spacing:-.01em;
  text-anchor:middle;
}
.stage-label--edge,
.stage-summary--edge{
  text-anchor:end;
}
.agiles-methodology__legend{
  position:absolute;
  z-index:3;
  left:29px;bottom:25px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.agiles-methodology__legend span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid var(--mist);
  border-radius:999px;
  color:var(--muted);
  background:rgba(255,255,255,.94);
  font-size:.63rem;
  font-weight:600;
}
.agiles-methodology__legend i{
  width:8px;height:8px;border-radius:50%;background:var(--brand);
}
.agiles-methodology__legend span:nth-child(2) i{background:var(--coral)}
.agiles-methodology__legend span:nth-child(3) i{background:var(--success)}

.agiles-methodology__inspector{
  padding:30px 28px 27px;
  background:linear-gradient(180deg,#fff,#fbfdff);
}
.am-inspector__top{
  padding-bottom:21px;
  border-bottom:1px solid var(--mist);
}
.am-inspector__kicker{
  margin-bottom:12px;
  color:var(--brand-accessible);
  font-size:.67rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.am-inspector__top h3{
  margin:0;
  font-size:2rem;
  line-height:1.06;
  letter-spacing:-.04em;
}
.am-inspector__top>p{
  margin:12px 0 0;
  color:var(--slate);
  font-size:.88rem;
  line-height:1.58;
}
.am-inspector__sections section{
  padding:16px 0;
  border-bottom:1px solid var(--mist);
}
.am-inspector__sections h4,
.am-inspector__next h4{
  margin:0 0 6px;
  font-size:.8rem;
}
.am-inspector__sections p,
.am-inspector__next p{
  margin:0;
  color:var(--muted);
  font-size:.76rem;
  line-height:1.53;
}
.am-inspector__next{
  margin-top:18px;
  padding:15px;
  border:1px solid rgba(244,185,66,.3);
  border-radius:var(--radius-sm);
  background:#fff8e8;
}
.am-inspector__next h4{color:#805A15}

.agiles-methodology__mobile{display:none}

@media(max-width:1050px) and (min-width:901px){
  .agiles-methodology__desktop{grid-template-columns:1fr}
  .agiles-methodology__map{
    border-right:0;
    border-bottom:1px solid var(--mist);
  }
  .agiles-methodology__inspector{
    display:grid;
    grid-template-columns:.75fr 1.25fr;
    gap:28px;
  }
  .am-inspector__sections{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:24px;
  }
  .am-inspector__next{grid-column:1/-1}
}

@media(max-width:900px){
  .agiles-methodology__principles{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:45px;
  }
  .agiles-methodology__principles article{
    min-height:135px;
    padding:19px;
  }
  .agiles-methodology__desktop{display:none}
  .agiles-methodology__mobile{
    display:block;
    overflow:hidden;
    padding:14px;
    border:1px solid var(--mist);
    border-radius:22px;
    background:#fbfeff;
    box-shadow:var(--shadow-sm);
  }
  .am-mobile-intro{
    padding:2px 3px 13px;
  }
  .am-mobile-intro p{
    margin:0;
    color:var(--muted);
    font-size:.76rem;
  }
  .am-mobile-track{
    display:flex;
    gap:12px;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 38px 10px 2px;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:2px;
    overscroll-behavior-inline:contain;
    touch-action:pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .am-mobile-track::-webkit-scrollbar{display:none}
  .am-mobile-card{
    flex:0 0 calc(100% - 38px);
    min-height:300px;
    display:grid;
    grid-template-rows:auto auto auto 1fr auto;
    padding:19px;
    border:1px solid var(--mist);
    border-radius:21px;
    background:#fff;
    scroll-snap-align:start;
  }
  .am-mobile-card.is-selected{border-color:rgba(0,152,218,.38)}
  .am-mobile-card__head{margin-bottom:18px}
  .am-mobile-card__number{
    width:42px;height:42px;
    display:grid;place-items:center;
    border-radius:50%;
    color:var(--brand-accessible);
    background:var(--blue-tint);
    font-size:.7rem;
    font-weight:700;
  }
  .am-mobile-card[data-key="dynamic"] .am-mobile-card__number,
  .am-mobile-card[data-key="tool"] .am-mobile-card__number{
    color:var(--orange);
    background:#fff1ed;
  }
  .am-mobile-card[data-key="deliverable"] .am-mobile-card__number,
  .am-mobile-card[data-key="outcome"] .am-mobile-card__number{
    color:var(--success);
    background:#eefaf7;
  }
  .am-mobile-card h3{
    margin:0 0 7px;
    font-size:1.46rem;
    line-height:1.05;
  }
  .am-mobile-card__summary{
    margin:0;
    color:var(--deep);
    font-size:.79rem;
    font-weight:600;
  }
  .am-mobile-card__meaning{
    margin:13px 0 0;
    color:var(--muted);
    font-size:.76rem;
    line-height:1.52;
  }
  .am-mobile-card__next{
    align-self:end;
    margin-top:15px;
    padding-top:12px;
    border-top:1px solid var(--mist);
    color:var(--brand-accessible);
    font-size:.67rem;
    line-height:1.43;
  }
  .am-mobile-card__next b{color:var(--deep)}
  .am-mobile-controls{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    align-items:center;
    gap:10px;
    margin-top:4px;
  }
  .am-mobile-controls button{
    width:44px;height:40px;
    display:grid;place-items:center;
    border:1px solid var(--mist);
    border-radius:13px;
    color:var(--brand-accessible);
    background:#fff;
    cursor:pointer;
  }
  .am-mobile-controls button:disabled{opacity:.35}
  .am-mobile-controls strong{
    justify-self:center;
    color:var(--deep);
    font-size:.72rem;
    letter-spacing:.09em;
  }
}
@media(max-width:700px){
  .agiles-methodology__principles{grid-template-columns:1fr}
  .agiles-methodology__principles article{min-height:0}
}
@media(max-width:430px){
  .am-mobile-card{flex-basis:calc(100% - 28px)}
  .am-mobile-track{padding-right:28px}
}


/* R2.12.7 — keep the mobile carousel inside the page viewport */
.agiles-methodology,
.agiles-methodology__mobile,
.am-mobile-track,
.am-mobile-card{
  min-width:0;
  max-width:100%;
}
@media(max-width:900px){
  .agiles-methodology__mobile{width:100%}
  .am-mobile-track{max-width:100%}
  .am-mobile-card{max-width:calc(100% - 28px)}
}
