/* Direct platform artwork: no cards, capsules or logo plates. */
.hp-expertise { position: relative; isolation: isolate; overflow: hidden; padding-block: 6.5rem; background: #142131; color: #fff; }
.hp-expertise .hp-expertise-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 5rem; }
.hp-expertise .hp-eyebrow { color: #d1dee8; }
.hp-expertise .hp-number { background: #fd3a68; color: #142131; }
.hp-expertise .hp-expertise-copy h2 { max-width: 33rem; font-size: clamp(2.2rem, 3.84vw, 2.85rem); line-height: 1.13; letter-spacing: -.045em; }
.hp-expertise .hp-expertise-copy h2 > span { color: #fd8ba5; }
.hp-expertise-copy > p:not(.hp-eyebrow) { max-width: 31rem; margin-top: 1.4rem; color: #c4d0db; font-size: 1rem; line-height: 1.8; }
.hp-expertise-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.75rem; margin-top: 1.3rem; padding-bottom: .2rem; border-bottom: 1px solid #fd3a68; color: #fff; font-size: .9rem; font-weight: 600; }
.hp-expertise-link:hover { color: #ffa2b9; }
.hp-expertise-link:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.hp-expertise-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 2rem 2.4rem; width: min(100%, 25rem); margin: 1rem auto; padding: .6rem 1.2rem; list-style: none; }
.hp-expertise-platform { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-width: 0; min-height: 9rem; padding: .75rem; color: #dce7ef; }
.hp-expertise-platform-facebook { transform: rotate(-7deg) translateY(.5rem); }
.hp-expertise-platform-instagram { transform: rotate(6deg) translateY(-.7rem); }
.hp-expertise-platform-google { transform: rotate(5deg) translateY(.1rem); }
.hp-expertise-platform-shopify { transform: rotate(-5deg) translateY(-.7rem); }
.hp-expertise-platform-logo { display: block; width: 5.7rem; height: 5.7rem; max-width: 100%; object-fit: contain; filter: drop-shadow(0 .5rem .75rem #060e1745); }
.hp-expertise-platform > span { font-family: var(--font-heading); font-size: .85rem; font-weight: 500; line-height: 1.3; }
.hp-expertise-toolkit-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-top: 4rem; padding-bottom: 1.6rem; border-bottom: 1px solid #ffffff1c; }
.hp-expertise-toolkit-heading h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.hp-expertise-toolkit-heading p { color: #b7c7d4; font-size: .8rem; line-height: 1.7; }
.hp-expertise-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1.5rem .75rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.hp-expertise-tool, .hp-expertise-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; min-width: 0; min-height: 8.2rem; padding: 1.1rem .4rem; text-align: center; }
.hp-expertise-tool-logo { display: block; width: 3.5rem; height: 3.5rem; max-width: 100%; object-fit: contain; filter: drop-shadow(0 .35rem .55rem #060e174d); }
/* The original geometry stays intact; black marks get a white monochrome
   treatment directly on navy rather than a backing shape. */
.hp-expertise-tool[data-platform="mailchimp"] .hp-expertise-tool-logo,
.hp-expertise-tool[data-platform="nextdotjs"] .hp-expertise-tool-logo,
.hp-expertise-tool[data-platform="github"] .hp-expertise-tool-logo,
.hp-expertise-tool[data-platform="vercel"] .hp-expertise-tool-logo { filter: brightness(0) invert(1) drop-shadow(0 .35rem .55rem #060e174d); }
.hp-expertise-tool-name { display: grid; align-items: center; width: 100%; min-height: 2.7em; max-width: 9rem; padding-inline: .1rem; color: #f1f5f8; font-family: var(--font-heading); font-size: .82rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.hp-expertise-more { gap: .65rem; }
.hp-expertise-more-count { display: flex; align-items: baseline; justify-content: center; min-height: 3.5rem; color: #ff8aa6; font-family: var(--font-heading); font-size: 2.9rem; font-weight: 600; line-height: 1.15; letter-spacing: -.06em; }
.hp-expertise-more-count > span { padding-left: .08em; font-size: 1.9rem; font-weight: 400; }
.hp-expertise-more-label { color: #f1f5f8; font-family: var(--font-heading); font-size: .85rem; font-weight: 500; }
@media (max-width: 1100px) {
  .hp-expertise { padding-block: 5rem; }
  .hp-expertise .hp-expertise-intro { gap: 2.7rem; }
  .hp-expertise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 1rem; }
  .hp-expertise-tool-name { font-size: .9rem; }
  .hp-expertise-featured { padding-inline: .8rem; gap: 1.5rem; }
  .hp-expertise-platform-logo { width: 5rem; height: 5rem; }
  .hp-expertise-toolkit-heading { align-items: start; flex-direction: column; gap: .5rem; }
}
@media (max-width: 760px) {
  .hp-expertise { padding-block: 4rem; }
  .hp-expertise .hp-expertise-intro { grid-template-columns: 1fr; gap: 2rem; }
  .hp-expertise .hp-expertise-copy h2 { font-size: clamp(2.1rem, 6.5vw, 2.6rem); }
  .hp-expertise-copy > p:not(.hp-eyebrow) { max-width: 34rem; font-size: 1rem; }
  .hp-expertise-featured { width: min(100%, 23rem); }
  .hp-expertise-platform-logo { width: 5.5rem; height: 5.5rem; }
  .hp-expertise-toolkit-heading { margin-top: 2rem; }
}
@media (max-width: 520px) {
  .hp-expertise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .5rem; margin-top: 1.5rem; }
  .hp-expertise-tool, .hp-expertise-more { min-height: 8rem; padding: .8rem .25rem; gap: .9rem; }
  .hp-expertise-tool-logo { width: 3.1rem; height: 3.1rem; }
  .hp-expertise-tool-name { font-size: .9rem; }
  .hp-expertise-more { gap: .6rem; }
  .hp-expertise-more-count { min-height: 3.1rem; font-size: 2.5rem; }
  .hp-expertise-more-count > span { font-size: 1.6rem; }
  .hp-expertise-more-label { font-size: .85rem; }
  .hp-expertise-featured { width: min(100%, 20rem); padding-inline: .6rem; gap: 1rem; }
  .hp-expertise-platform { min-height: 7.7rem; padding: .65rem; gap: .7rem; }
  .hp-expertise-platform-logo { width: 4.6rem; height: 4.6rem; }
  .hp-expertise-platform > span { font-size: .8rem; }
  .hp-expertise-toolkit-heading h3 { font-size: 1.15rem; }
  .hp-expertise-toolkit-heading p { font-size: .85rem; }
}
/* Keep the long brand name intact only in the three-column phone grid. */
@media (min-width: 360px) and (max-width: 520px) {
  .hp-expertise-tool[data-platform="woocommerce"] .hp-expertise-tool-name { font-size: .8rem; letter-spacing: -.025em; white-space: nowrap; overflow-wrap: normal; padding-inline: 0; }
}
@media (max-width: 359px) {
  .hp-expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
  .hp-expertise-tool, .hp-expertise-more { min-height: 8.5rem; }
  .hp-expertise-tool-name { font-size: .9rem; }
  .hp-expertise-featured { gap: .7rem; padding-inline: .3rem; }
  .hp-expertise-platform-logo { width: 4.2rem; height: 4.2rem; }
}
@media print {
  .hp-expertise-tool, .hp-expertise-more { break-inside: avoid; }
}
