
/* =========================================================
   DWY — IN60 DELIVERABLES
   File: assets/css/pages/dwy/deliverables.css
   ========================================================= */

.dwy-deliverables {
    padding: clamp(5rem, 9vw, 9rem) 0;
    background: var(--bcc-color-surface, #f6f7f5);
    color: var(--bcc-color-primary, #0D2230);
}

.dwy-deliverables *,
.dwy-deliverables *::before,
.dwy-deliverables *::after {
    box-sizing: border-box;
}

.dwy-deliverables__container {
    width: min(100% - 3rem, 1440px);
    margin-inline: auto;
}

/* Section heading */

.dwy-deliverables__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    align-items: end;
    column-gap: clamp(2rem, 6vw, 6rem);
    row-gap: 1.5rem;
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.dwy-deliverables__eyebrow {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dwy-deliverables__title {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 650;
    letter-spacing: -0.08em;
    line-height: 0.98;
}

.dwy-deliverables__title span {
    display: block;
    margin-top: 0.18em;
    opacity: 0.5;
}

.dwy-deliverables__intro {
    max-width: 450px;
    margin: 0 0 0.35rem;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.8;
    opacity: 0.75;
}

/* Deliverable cards */

.dwy-deliverables__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgb(13 34 48 / 16%);
    border: 1px solid rgb(13 34 48 / 16%);
}

.dwy-deliverables__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    background: var(--bcc-color-surface, #f6f7f5);
}

.dwy-deliverables__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgb(13 34 48 / 20%);
}

.dwy-deliverables__number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.dwy-deliverables__category {
    color: var(--bcc-color-primary, #0D2230);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0.6;
}

.dwy-deliverables__card-title {
    margin: 2rem 0 0;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 1.08;
}

.dwy-deliverables__card-description {
    margin: 1rem 0 0;
    font-size: 0.98rem;
    line-height: 1.8;
    opacity: 0.75;
}

.dwy-deliverables__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.dwy-deliverables__list li {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgb(13 34 48 / 13%);
    font-size: 0.9rem;
    line-height: 1.65;
}

.dwy-deliverables__list-marker {
    color: var(--bcc-color-primary, #0D2230);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.35;
}

/* Tablet */

@media (max-width: 1024px) {
    .dwy-deliverables__header {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .dwy-deliverables__eyebrow {
        grid-column: auto;
    }

    .dwy-deliverables__intro {
        max-width: 650px;
    }

    .dwy-deliverables__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .dwy-deliverables__card {
        padding: 2rem;
        border-bottom: 1px solid rgb(13 34 48 / 16%);
    }

    .dwy-deliverables__card:last-child {
        border-bottom: 0;
    }

    .dwy-deliverables__card-title {
        max-width: 600px;
    }

    .dwy-deliverables__card-description {
        max-width: 650px;
    }

    .dwy-deliverables__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .dwy-deliverables {
        padding: 4.5rem 0;
    }

    .dwy-deliverables__container {
        width: min(100% - 2rem, 560px);
    }

    .dwy-deliverables__header {
        margin-bottom: 2.5rem;
    }

    .dwy-deliverables__title {
        font-size: clamp(2.7rem, 10.5vw, 4rem);
    }

    .dwy-deliverables__intro {
        font-size: 1rem;
        line-height: 1.75;
    }

    .dwy-deliverables__card {
        padding: 1.5rem 1.25rem;
    }

    .dwy-deliverables__card-top {
        padding-bottom: 1.1rem;
    }

    .dwy-deliverables__card-title {
        margin-top: 1.5rem;
        font-size: 1.85rem;
    }

    .dwy-deliverables__card-description {
        font-size: 0.95rem;
    }

    .dwy-deliverables__list {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 1.5rem;
    }

    .dwy-deliverables__list li {
        padding: 0.8rem 0;
    }
}
