:root {
    --ink: #0f1117;
    --ink-soft: #5a5f72;
    --ink-mute: #9298ab;
    --canvas: #f5f3ef;
    --paper: #1c5cb0;
    --accent: #c8873a;
    --accent-dk: #a36825;
    --accent-lt: #f0e0ca;
    --rule: #e2ddd6;
}

/* ── PLATFORMS ── */
.platforms-wrap {
    padding: 0px 0 72px;
}

/* Category card */
.cat-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 32px 28px 28px;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1.5px solid transparent;
    transition: border-color .25s ease;
    pointer-events: none;
}

.cat-card:hover {
    box-shadow: 0 12px 40px rgba(15, 17, 23, .08);
    transform: translateY(-3px);
}

.cat-card:hover::after {
    border-color: var(--cat-accent, var(--accent));
}

.cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    background: var(--cat-bg, var(--accent-lt));
    color: var(--cat-accent, var(--accent));
}

.cat-title {

    font-size: 20px;
    font-weight: 600;
    /* text-transform: uppercase; */
    color: #fff;
    margin-bottom: 16px;
}

/* Pill tags */
.pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    background: #eeeeee;
    color: var(--cat-accent, var(--accent-dk));
    border: 1px solid transparent;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}

.pill:hover {
    background: var(--theme);
    color: #fff;
    border-color: var(--theme);
}

/* Colour variants */
.cat--amber {
    --cat-accent: #1c5cb0;
    --cat-bg: #f5e4cc;
}

/* Responsive tweaks */
@media (max-width: 768px) {

    .platforms-wrap {
        padding: 60px 0 48px;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .sectors-page-title {
        padding: 10px 0;
    }
}

.team-group {
    max-width: 1200px;
    max-height: 500px;
    overflow: hidden;
    padding-bottom: 20px;
    position: relative;
    /* ensure child positioning */
}

.team-group img {
    width: 100%;
    height: 100%;
    /* fill container height */
    display: block;
    border-radius: 10px !important;
    object-fit: cover;
}