/* Company-only state surfaces. The shared [data-dbt-expand] contract owns the
   centered two-axis enlargement; content remains ordinary readable flow. */
#service-resources .story-resource-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,2.2vw,34px);max-width:none;overflow:visible}
#service-resources .story-resource-card{position:relative;background:#edf5fb;background-image:none;border:1px solid #c9e1ef;color:#183f59;border-radius:12px;box-shadow:0 6px 22px #17486d0a;transition:border-color 180ms,box-shadow 240ms;isolation:isolate}
#service-resources .story-resource-card :is(h4,p){color:inherit;transition:none}
#service-resources .story-resource-card p{color:#4b6b80;line-height:1.9}
#service-resources .story-resource-card .story-resource-icon{filter:none;color:#087eb3;background:none}
#service-resources .story-resource-card:not(.dbt-expand-active):not(.is-active):not([aria-pressed="true"]):not(:hover):not(:focus-within) .story-resource-icon>img{filter:none}
#service-resources .story-resource-card:is(.dbt-expand-active,.is-active,.is-selected,[aria-pressed="true"],:hover,:focus-within){z-index:4;background:#0068b7;background-image:none;border-color:#0068b7;color:#fff;box-shadow:0 12px 30px #087bb82e}
#service-resources .story-resource-card:is(.dbt-expand-active,.is-active,.is-selected,[aria-pressed="true"],:hover,:focus-within) :is(h4,p){color:#fff}
#service-resources .story-resource-card:is(.dbt-expand-active,.is-active,.is-selected,[aria-pressed="true"],:hover,:focus-within) .story-resource-icon{color:#fff;filter:none}
/* Raw-img fallback; shared artwork wrappers use the same measured surface. */
#service-resources .story-resource-card:is(.dbt-expand-active,.is-active,.is-selected,[aria-pressed="true"],:hover,:focus-within) .story-resource-icon>img{filter:brightness(0) invert(1)}
#service-resources .story-resource-card:focus-visible{outline:3px solid #e8aa65;outline-offset:5px}

/* These remain information modules. Their existing icons can respond locally;
   no destination, hidden description, role=button or fabricated detail is added. */
#digital .adv13-software{background:#fff;background-image:none;color:#183f59;transition:border-color 180ms,box-shadow 240ms}
#digital .adv13-software :is(h3,p){color:inherit;transition:none}
#digital .adv13-software p{color:#40586a}
#digital .adv13-software-icon{background:#edf8fe;color:#087eb3;transition:background-color 180ms,color 180ms}
#digital .adv13-software:is(.dbt-expand-active,:hover,:focus-within){z-index:3;background:#0068b7;background-image:none;border-color:#0068b7;color:#fff;box-shadow:0 12px 30px #087bb82e}
#digital .adv13-software:is(.dbt-expand-active,:hover,:focus-within) :is(h3,p){color:#fff}
#digital .adv13-software:is(.dbt-expand-active,:hover,:focus-within) .adv13-software-icon{background:#ffffff1c;color:#fff}
#digital .adv13-software:is(.dbt-expand-active,:hover,:focus-within) .adv13-software-icon>img{filter:brightness(0) invert(1)}

@media(max-width:1100px){#service-resources .story-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#service-resources .story-resource-grid{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(prefers-reduced-motion:reduce){#service-resources .story-resource-card,#digital .adv13-software,#digital .adv13-software-icon{transition:none}}
