/* ==========================================================================
   dab-design-steps.css — Design Steps: Visualise Before You Build
   Figma: node 5170:18765 — bg #C8BBAB (stone), px-60px py-80px
   Header: 2-col flex (heading left / description right)
   Steps: flex row, 3 × flex-1, gap 20px, number 48px Freight Neo
   Images: 3 × flex-1, aspect 315/394, gap 20px
   ========================================================================== */

.dab-design-steps {
    background-color: var(--color-stone, #c8bbab);
    padding-block: 80px;
    padding-inline: 60px;
}

.dab-design-steps__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ── Header: 2-col ───────────────────────────────────────────────────────────── */
.dab-design-steps__header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.dab-design-steps__header-left {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: var(--color-dark, #1c1c1c);
}

.dab-design-steps__header-right {
    flex: 0 0 768px;
}

.dab-design-steps__eyebrow {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-dark, #1c1c1c);
    margin: 0;
}

.dab-design-steps__heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-dark, #1c1c1c);
    margin: 0;
}

.dab-design-steps__description {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.39;
    color: var(--color-dark, #1c1c1c);
    margin: 0;
}

/* ── Steps row ───────────────────────────────────────────────────────────────── */
.dab-design-steps__steps {
    display: flex;
    gap: 20px;
}

.dab-design-steps__step {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Step number: Freight Neo 400, 48px, lh 1 */
.dab-design-steps__step-number {
    font-family: var(--font-heading);
    font-size: 3rem;   /* 48px */
    font-weight: 400;
    line-height: 1;
    color: var(--color-dark, #1c1c1c);
    margin: 0;
}

/* Step title: Geist 500, 24px, lh 1.1 */
.dab-design-steps__step-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-dark, #1c1c1c);
    margin: 0;
}

/* Step description: Geist 300, 16px, lh 1.39 */
.dab-design-steps__step-description {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.39;
    color: var(--color-dark, #1c1c1c);
    margin: 0;
}

/* ── Desktop images row: 3 portrait (aspect 315/394), shown only ≥ 640px ──────── */
.dab-design-steps__images {
    display: flex;
    gap: 20px;
}

.dab-design-steps__image-wrap {
    flex: 1 0 0;
    aspect-ratio: 315 / 394;
    margin: 0;
    overflow: hidden;
}

.dab-design-steps__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile-only image inside each step — hidden on desktop */
.dab-design-steps__step-image-wrap {
    display: none;
}

/* ── Tablet ─────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .dab-design-steps {
        padding-inline: 40px;
    }
    .dab-design-steps__header {
        flex-direction: column;
        gap: 24px;
    }
    .dab-design-steps__header-right {
        flex: none;
        width: 100%;
    }
}

/* ── Mobile (≤ 639px) ────────────────────────────────────────────────────────── */
@media (max-width: 639px) {
    .dab-design-steps {
        padding-block: 80px;
        padding-inline: 16px;
    }

    /* Mobile/H2: 32px lh 1 */
    .dab-design-steps__heading {
        font-size: 2rem;
        line-height: 1;
    }

    /* Steps: stack vertically, 40px between each step */
    .dab-design-steps__steps {
        flex-direction: column;
        gap: 40px;
    }

    /* Each step: number → title → desc → image, 16px gap internally */
    .dab-design-steps__step {
        gap: 16px;
    }

    /* Step number: Mobile/H1 40px (not 48px desktop) */
    .dab-design-steps__step-number {
        font-size: 2.5rem;   /* 40px */
    }

    /* Step title: Mobile/H4 20px (not 24px desktop) */
    .dab-design-steps__step-title {
        font-size: 1.25rem;  /* 20px */
    }

    /* Show image inside each step on mobile — aspect 315/394 */
    .dab-design-steps__step-image-wrap {
        display: block;
        width: 100%;
        aspect-ratio: 315 / 394;
        margin: 0;
        overflow: hidden;
    }

    .dab-design-steps__step-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Hide the desktop bottom images row */
    .dab-design-steps__images {
        display: none;
    }
}
