/* Our Work — hero; shared .iaoa-page-hero shell in main.css */

#overview,
#centers,
#natural-science,
#social-science,
#technology-transfer,
#health-research,
#publishing {
    scroll-margin-top: 6rem;
}

.our-work-hero {
    min-height: clamp(22rem, 58vh, 38rem);
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}

.our-work-hero__inner {
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.our-work-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}

.our-work-hero__badge-dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #f5dfad;
    box-shadow: 0 0 0 2px rgba(245, 223, 173, 0.35);
}

.our-work-hero__title {
    margin: 0 auto 1.25rem;
    max-width: 52rem;
    font-size: clamp(2rem, 4.8vw + 0.65rem, 3.15rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #fff;
}

.our-work-hero__lead {
    margin: 0 auto 2rem;
    max-width: 52rem;
    font-size: clamp(1rem, 0.9vw + 0.9rem, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.our-work-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .our-work-hero__actions {
        gap: 1rem;
    }
}

/* Overview section */

.our-work-section {
    padding: 3.5rem 0 4.25rem;
}

.our-work-section--surface {
    background: var(--color-surface);
}

.our-work-section--gray {
    background: #f4f8fc;
}

.our-work-overview__head {
    max-width: 52rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.our-work-overview__kicker {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2563eb;
}

.our-work-overview__title {
    margin: 0 0 1.15rem;
    font-size: clamp(1.45rem, 1.8vw + 0.9rem, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.our-work-overview__intro {
    margin: 0 auto;
    max-width: 46rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.our-work-overview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .our-work-overview__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .our-work-overview__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.our-work-cap-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1.35rem 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-top: 4px solid #2563eb;
    border-radius: 14px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
}

.our-work-cap-card--pms {
    border-top-color: #2563eb;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 38%);
}

.our-work-cap-card--research {
    border-top-color: #5b21b6;
    background: linear-gradient(180deg, #faf8ff 0%, #fff 38%);
}

.our-work-cap-card--comm {
    border-top-color: #0369a1;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 38%);
}

.our-work-cap-card--dialogue {
    border-top-color: #b45309;
    background: linear-gradient(180deg, #fffbf5 0%, #fff 38%);
}

.our-work-cap-card__tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #475569;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.our-work-cap-card__tag--pms {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.our-work-cap-card__tag--research {
    color: #5b21b6;
    background: rgba(91, 33, 182, 0.1);
}

.our-work-cap-card__tag--comm {
    color: #0369a1;
    background: rgba(3, 105, 161, 0.1);
}

.our-work-cap-card__tag--dialogue {
    color: #b45309;
    background: rgba(180, 83, 9, 0.1);
}

.our-work-cap-card__tag--natural {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.our-work-cap-card__tag--social {
    color: #5b21b6;
    background: rgba(91, 33, 182, 0.1);
}

.our-work-cap-card__tag--tech {
    color: #0369a1;
    background: rgba(3, 105, 161, 0.1);
}

.our-work-cap-card__tag--health {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
}

.our-work-cap-card__tag--publishing {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.our-work-cap-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.our-work-cap-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* Project management system */

.our-work-pms-feature {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(145deg, #dbeafe 0%, #e0f2fe 48%, #eff6ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(37, 99, 235, 0.1);
}

.our-work-pms-feature > .row {
    position: relative;
    z-index: 1;
}

.our-work-pms-feature::before {
    content: "";
    position: absolute;
    top: -5.5rem;
    right: -5.5rem;
    width: 16rem;
    height: 16rem;
    border: 2px solid rgba(147, 197, 253, 0.55);
    border-radius: 50%;
    pointer-events: none;
}

.our-work-pms-feature::after {
    content: "";
    position: absolute;
    top: -3.25rem;
    right: -3.25rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.42) 0%, rgba(191, 219, 254, 0) 68%);
    pointer-events: none;
}

@media (min-width: 992px) {
    .our-work-pms-feature {
        padding: 2rem 2.25rem;
    }
}

.our-work-pms-feature__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #b45309;
    background: rgba(180, 83, 9, 0.1);
    border-radius: 999px;
}

.our-work-pms-feature__kicker-dot {
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.our-work-pms-feature__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.125rem, 1.2vw + 0.85rem, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.our-work-pms-feature__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.our-work-pms-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .our-work-pms-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.our-work-pms-tile {
    position: relative;
    z-index: 1;
    padding: 1rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-text);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.our-work-pms-split {
    margin-top: 0.25rem;
}

.our-work-pms-card {
    height: 100%;
    padding: 1.5rem 1.35rem 1.65rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
}

.our-work-pms-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.our-work-pms-card__text {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.our-work-pms-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.our-work-pms-list li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.our-work-pms-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.our-work-pms-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.55);
}

.our-work-pms-list--compact {
    margin-bottom: 1rem;
}

.our-work-pms-card--stacked {
    display: flex;
    flex-direction: column;
}

.our-work-pms-notice {
    margin: auto 0 0;
    padding: 0.85rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.6;
    color: #475569;
    background: #eef4fb;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 10px;
}

/* Publishing & Ibn Battuta panels */

.our-work-panel {
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(15, 23, 42, 0.07);
}

@media (min-width: 992px) {
    .our-work-panel {
        padding: 2rem 2.25rem;
    }
}

.our-work-panel + .our-work-panel {
    margin-top: 1.5rem;
}

.our-work-panel__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.125rem, 1.2vw + 0.85rem, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.our-work-panel__title--caps {
    font-size: clamp(1rem, 1vw + 0.8rem, 1.15rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.our-work-panel__text {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.our-work-panel__text:last-of-type {
    margin-bottom: 1.25rem;
}

.our-work-panel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.our-work-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.our-work-btn--primary {
    color: #fff;
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.our-work-btn--primary:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.our-work-btn--outline {
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.our-work-btn--outline:hover {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.2);
    background: #f8fafc;
}

.our-work-comm-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .our-work-comm-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.our-work-comm-tile {
    padding: 1rem 1.1rem 1rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left-width: 3px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.our-work-comm-tile:nth-child(4n+1) {
    border-left-color: #2563eb;
    background: linear-gradient(90deg, #f8fbff 0%, #fff 36%);
}

.our-work-comm-tile:nth-child(4n+2) {
    border-left-color: #5b21b6;
    background: linear-gradient(90deg, #faf8ff 0%, #fff 36%);
}

.our-work-comm-tile:nth-child(4n+3) {
    border-left-color: #059669;
    background: linear-gradient(90deg, #f4fdf8 0%, #fff 36%);
}

.our-work-comm-tile:nth-child(4n) {
    border-left-color: #b45309;
    background: linear-gradient(90deg, #fffbf5 0%, #fff 36%);
}

.our-work-ibn__kicker {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
}

.our-work-ibn-visual {
    position: relative;
    overflow: hidden;
    min-height: 14rem;
    padding: 2rem 1.75rem;
    background: linear-gradient(145deg, #0b1f3a 0%, #1e3a8a 45%, #1d4ed8 100%);
    border-radius: 16px;
    color: #fff;
}

.our-work-ibn-visual::before {
    content: "";
    position: absolute;
    top: -4rem;
    right: -4rem;
    width: 13rem;
    height: 13rem;
    border: 2px solid rgba(147, 197, 253, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.our-work-ibn-visual::after {
    content: "";
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.our-work-ibn-visual__title {
    position: relative;
    z-index: 1;
    margin: 0 0 1.25rem;
    font-size: clamp(1.35rem, 1.4vw + 1rem, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.our-work-ibn-visual__tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.our-work-ibn-visual__tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

/* Institutional development support */

.our-work-institutional__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .our-work-institutional__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .our-work-institutional__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.our-work-institutional-card {
    height: 100%;
    padding: 1.5rem 1.35rem 1.65rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-top-width: 3px;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
}

.our-work-institutional-card--education {
    border-top-color: #059669;
    background: linear-gradient(180deg, #f4fdf8 0%, #fff 40%);
}

.our-work-institutional-card--academy {
    border-top-color: #2563eb;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 40%);
}

.our-work-institutional-card--project {
    border-top-color: #b45309;
    background: linear-gradient(180deg, #fffbf5 0%, #fff 40%);
}

.our-work-institutional-card__tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
}

.our-work-institutional-card--education .our-work-institutional-card__tag {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.our-work-institutional-card--academy .our-work-institutional-card__tag {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.our-work-institutional-card--project .our-work-institutional-card__tag {
    color: #b45309;
    background: rgba(180, 83, 9, 0.1);
}

.our-work-institutional-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.our-work-institutional-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* How we work process */

.our-work-process__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .our-work-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .our-work-process__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.our-work-process-card {
    height: 100%;
    padding: 1.35rem 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
}

.our-work-process-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: #64748b;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.our-work-process-card:nth-child(1) .our-work-process-card__num,
.our-work-process-card:nth-child(4) .our-work-process-card__num {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.our-work-process-card:nth-child(2) .our-work-process-card__num,
.our-work-process-card:nth-child(5) .our-work-process-card__num {
    background: linear-gradient(145deg, #5b21b6, #4c1d95);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.22);
}

.our-work-process-card:nth-child(3) .our-work-process-card__num,
.our-work-process-card:nth-child(6) .our-work-process-card__num {
    background: linear-gradient(145deg, #059669, #047857);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
}

.our-work-process-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.our-work-process-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.our-work-process__disclaimer {
    margin: 2.25rem auto 0;
    max-width: 52rem;
    font-size: 0.8125rem;
    line-height: 1.65;
    text-align: center;
    color: var(--color-text-muted);
}

/* Work with IAOA CTA */

.our-work-cta__inner {
    width: 100%;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.our-work-cta__title {
    margin: 0 0 1.15rem;
    font-size: clamp(1.75rem, 3.5vw + 0.75rem, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

.our-work-cta__lead {
    margin: 0 auto 2rem;
    max-width: 46rem;
    font-size: clamp(1rem, 0.9vw + 0.9rem, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.our-work-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .our-work-cta__actions {
        gap: 1rem;
    }
}
