.cw-home-expertise {
    background: #f3efe7;
    color: #141210;
}

.cw-home-expertise__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cw-home-expertise__intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: clamp(24px, 4vw, 60px);
    align-items: end;
}

.cw-home-expertise__intro-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cw-home-expertise__eyebrow {
    margin: 0;
    font-family: var(--rk-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #6e6863;
}

.cw-home-expertise__title {
    margin: 0;
    font-family: var(--rk-display, 'Inter Tight', sans-serif);
    font-weight: 800;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.cw-home-expertise__title-em {
    font-family: var(--rk-serif, 'Playfair Display', serif);
    font-style: italic;
    font-weight: 500;
    color: #f04e23;
}

.cw-home-expertise__lead {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: #4a4643;
}

.cw-home-expertise__lead strong {
    color: #141210;
}

.cw-home-expertise__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 16px;
    align-items: stretch;
}

.cw-home-expertise__panel {
    border-radius: 26px;
    background: #141210;
    color: #f3efe7;
    padding: clamp(22px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cw-home-expertise__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cw-home-expertise__panel-kicker {
    font-family: var(--rk-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: rgba(234, 231, 225, 0.55);
}

.cw-home-expertise__app-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.cw-home-expertise__app-tab {
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(234, 231, 225, 0.16);
    background: transparent;
    color: #f3efe7;
    font: 600 12px var(--rk-body, 'Inter', sans-serif);
    cursor: pointer;
}

.cw-home-expertise__app-tab.is-active {
    border-color: #d4f53c;
    background: #d4f53c;
    color: #141210;
}

.cw-home-expertise__app-tab:focus-visible {
    outline: 2px solid #d4f53c;
    outline-offset: 2px;
}

.cw-home-expertise__compare-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--rk-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.cw-home-expertise__compare-labels span:first-child {
    color: rgba(234, 231, 225, 0.5);
}

.cw-home-expertise__after-label {
    color: #d4f53c;
}

.cw-home-expertise__range {
    width: 100%;
    cursor: ew-resize;
    accent-color: #d4f53c;
}

.cw-home-expertise__metrics {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cw-home-expertise__metric-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
}

.cw-home-expertise__metric-head > span:first-child {
    font-weight: 600;
}

.cw-home-expertise__metric-val {
    font-family: var(--rk-display, 'Inter Tight', sans-serif);
    font-weight: 800;
}

.cw-home-expertise__metric-bar {
    height: 10px;
    border-radius: 5px;
    background: rgba(234, 231, 225, 0.08);
    overflow: hidden;
}

.cw-home-expertise__metric-fill {
    display: block;
    height: 100%;
    border-radius: 5px;
    transition: width 0.15s ease, background 0.15s ease;
}

.cw-home-expertise__disclaimer {
    margin: 0;
    font-size: 12px;
    color: rgba(234, 231, 225, 0.45);
}

.cw-home-expertise__principles {
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 10px;
}

.cw-home-expertise__principle {
    border-radius: 22px;
    padding: 22px 24px;
    background: #fff;
    color: #141210;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    transition: background 0.35s ease, color 0.35s ease;
    border: 0;
    text-align: left;
    cursor: default;
}

.cw-home-expertise__principle.is-active {
    background: #f04e23;
    color: #fff;
}

.cw-home-expertise__principle-num {
    font-family: var(--rk-mono);
    font-size: 12px;
    padding-top: 4px;
    color: #f04e23;
}

.cw-home-expertise__principle.is-active .cw-home-expertise__principle-num {
    color: #fff;
}

.cw-home-expertise__principle-title {
    margin: 0;
    font-family: var(--rk-display, 'Inter Tight', sans-serif);
    font-weight: 800;
    font-size: 21px;
}

.cw-home-expertise__principle-text {
    margin: 8px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    opacity: 0.82;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .cw-home-expertise__metric-fill,
    .cw-home-expertise__principle {
        transition: none;
    }
}
