/* ================================
   How Might We • Centered Layout
   Scope: .hmw
================================== */
/* ================================
   How Might We • Final Section
   Scope: .hmw
================================== */

.hmw {
    --rail-max: 1120px;
    --panel: #dbe6eb;
    --card: #ffffff;
    --outline: #f2b134;
    --brand: #165c7d;
    --ink-900: #111827;
    --ink-700: #374151;
    --radius: 10px;
    --shadow: 0 8px 22px rgba(2, 12, 27, 0.08);

    --sectionPad: clamp(40px, 5vw, 72px);
    --pillRise: 14px; /* pill sits above the card */

    padding-top: max(12px, calc(var(--sectionPad) - var(--pillRise)));
    padding-bottom: var(--sectionPad);

    color: var(--ink-900);
    font-family: "Montserrat";
}

.hmw .hmw__rail-5 {
    max-width: var(--rail-max);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 28px);
}

/* Card */
.hmw .hmw-card-hmw {
    position: relative;
    width: min(920px, 100%);
    margin-inline: auto;
    background: var(--card);
    border: 2px solid var(--outline);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow), inset 0 0 120px rgba(255, 108, 99, 0.1),
        inset 0 0 160px rgba(57, 143, 186, 0.12);
    padding: clamp(22px, 4vw, 40px);
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Pill label */
.hmw .hmw-card-hmw::before {
    content: "How Might We";
    position: absolute;
    top: calc(-1 * var(--pillRise));
    left: 28px;
    padding: 0.45rem 0.85rem;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 10px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(30, 117, 255, 0.25);
}

/* Hidden H2 for accessibility */
.hmw .hmw-card__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Main question text */
.hmw .hmw-card__body {
    margin: 0;
    color: var(--brand);
    font-weight: 300;
    font-size: clamp(26px, 3.7vw, 34px);
    line-height: 1.45;
    text-wrap: pretty;
}

.hmw .hmw-card__body strong {
    font-weight: 700;
    color: #ff6c63;
}

/* Supporting line */
.hmw .hmw-card__final {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #6a7284;
}

/* Hover effect */
.hmw .hmw-card-hmw:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14),
        inset 0 0 120px rgba(255, 108, 99, 0.1),
        inset 0 0 160px rgba(57, 143, 186, 0.12);
}

/* Small screens */
@media (max-width: 560px) {
    .hmw {
        --pillRise: 12px;
        --sectionPad: 40px;
    }
    .hmw .hmw-card-hmw {
        padding: 18px;
    }
    .hmw .hmw-card-hmw::before {
        left: 18px;
        font-size: 13px;
    }
}

/* ===============================
   SOLUTION OVERVIEW
=============================== */
.solution {
    --ink: #222733;
    --muted: #6a7284;
    --blue: #398fba;
    --blue-600: #165c7d;
    --line: #d6e4ef;
    --soft: #f6f9fc;
    --white: #ffffff;

    font-family: "Montserrat", sans-serif;
    color: var(--ink);
    padding: clamp(40px, 6vw, 84px) clamp(16px, 4vw, 48px);
}

.solution .solution__rail {
    max-width: 1160px;
    margin: 0 auto;
}

.solution .solution-card {
    background: var(--white);
    border: 1px solid rgba(57, 143, 186, 0.16);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    padding: clamp(20px, 3vw, 32px);
}

.solution .solution__title {
    margin: 0 0 16px 0;
    font-size: clamp(22px, 2.1vw, 28px);
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--ink);
}

.solution .solution__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}

@media (max-width: 900px) {
    .solution .solution__grid {
        grid-template-columns: 1fr;
    }
    .solution .solution__art {
        order: -1;
        margin-bottom: 20px;
    }
}

.solution .solution__body {
    margin: 8px 0 16px 0;
    line-height: 1.65;
}

.solution .brand {
    color: var(--blue-600);
    font-weight: 700;
}

/* Feature list */
.solution .solution__list {
    display: grid;
    gap: 14px;
    margin: 16px 0 12px 0;
    padding: 0;
    list-style: none;
}

.solution .solution__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.solution .ico {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    color: var(--blue-600);
}

/* Outcome line */
.solution .solution__final {
    margin: 16px 0 0 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* Illustration */
.solution .solution__art {
    display: grid;
    place-items: center;
}
.solution .illo {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

/* SVG element styling inside illustration */
.solution .solution__art .st {
    fill: #fff;
    stroke: var(--line);
    stroke-width: 2;
}
.solution .solution__art .lt {
    fill: #eef6fb;
    stroke: #d6e4ef;
}
.solution .solution__art .fg {
    fill: #c8deec;
    stroke: #c8deec;
}
.solution .solution__art .fill {
    fill: #e5f1f8;
    stroke: #cfe4f2;
}
.solution .solution__art .ghost {
    fill: #f3f9fd;
    stroke: #e5eef5;
}
.solution .solution__art .chip {
    fill: url(#blueGrad);
    stroke: #cfe4f2;
}
.solution .solution__art .chipDot {
    fill: #ffffff;
    stroke: #b6d6e9;
    stroke-width: 1;
}
