.expertise-section {
    order: 2;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    contain: inline-size layout paint;
    padding: 38px 0 48px;
    overflow: hidden;
    background: #f6f7f8;
}
.expertise-viewport:focus-visible {
    outline: 2px solid #7b5cff;
    outline-offset: -2px;
}
.expertise-viewport {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
.expertise-track { display: flex; width: max-content; }
.expertise-group {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    justify-content: space-around;
    gap: 20px;
    min-width: 100vw;
    padding: 8px 20px 16px 0;
    list-style: none;
}
.expertise-card {
    position: relative;
    display: flex;
    flex: 0 0 clamp(280px, 27vw, 360px);
    width: clamp(280px, 27vw, 360px);
    min-height: 114px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 15px 20px;
    border: 6px solid #58616b;
    border-radius: 24px;
    background: #f6f7f8;
    color: #07101a;
    box-shadow: 0 12px 28px rgba(44, 50, 72, .045);
    text-align: left;
}
.expertise-card::after {
    position: absolute;
    top: -52px;
    right: -30px;
    width: 160px;
    height: 160px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .12;
    content: "";
    pointer-events: none;
}
.expertise-card--mint { border-color: #afece1; }
.expertise-card--purple { border-color: #b5a4f5; }
.expertise-icon {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #58616b;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.expertise-card--mint .expertise-icon { stroke: #709b92; }
.expertise-card--purple .expertise-icon { stroke: #9480d6; }
.expertise-card h3 {
    min-width: 0;
    position: relative;
    font-size: clamp(1.35rem, 1.8vw, 1.6rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-wrap: balance;
    text-align: left;
}
.expertise-group[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .expertise-section.is-ready .expertise-group[aria-hidden="true"] { display: flex; }
    .expertise-section.is-ready .expertise-viewport { overflow-x: hidden; }
    .expertise-section.is-ready .expertise-track { animation: expertise-scroll 85s linear infinite; }
    .expertise-section:focus-within .expertise-track { animation-play-state: paused; }
    @keyframes expertise-scroll { to { transform: translateX(-50%); } }
}
@media (hover: hover) {
    .expertise-viewport:hover .expertise-track { animation-play-state: paused; }
}
@media (max-width: 760px) {
    .expertise-section { padding: 28px 0 34px; }
    .expertise-group { gap: 16px; padding-right: 16px; }
    .expertise-card { flex-basis: 280px; width: 280px; min-height: 100px; padding: 13px 18px; }
}
