/* ============================================================
   Location Spoke — Storm
   File: assets/css/spoke/spoke-storm.css
   Scope: .spoke-storm__* classes only
   Figma: "Storm Block" node 2205:611 — navy bg, centered header +
   a row of image cards; each card is a photo with a dark overlay
   and a title + body positioned on top.
   ============================================================ */

/* Anchor target for in-page links (e.g. Reality body "hail damage" link)
   so a sticky header does not cover the section top on jump. */
#spoke-storm {
    scroll-margin-top: 100px;
}

.spoke-storm__header {
    text-align: center;
    max-width: 825px;
    margin: 0 auto 50px;
}

/* Header type locked to Figma "Header Text" (node 2205:485) specs so the
   heading + intro wrap exactly like the design (independent of global
   .spoke-h2 / .spoke-intro, which stay untouched for other sections). */
.spoke-storm .spoke-storm__heading {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-white);
    margin: 0 0 14px;
}

.spoke-storm .spoke-storm__intro {
    font-size: 16px;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-white);
    margin-bottom: 0;
}

/* ============================
   IMAGE CARDS
   ============================ */

.spoke-storm__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1220px;
    margin: 0 auto;
}

.spoke-storm__card {
    position: relative;
    min-height: 357px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
}

.spoke-storm__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spoke-storm__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.spoke-storm__card-content {
    position: relative;
    z-index: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spoke-storm__card-title {
    font-family: var(--spoke-font-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-white);
    margin: 0;
}

.spoke-storm__card-body {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-white);
    margin: 0;
}

/* ============================
   RESPONSIVE — STORM
   ============================ */

@media (max-width: 1024px) {
    .spoke-storm .spoke-storm__heading {
        font-size: 38px;
    }

    .spoke-storm__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 24px;
    }

    .spoke-storm__card {
        min-height: 320px;
    }

    .spoke-storm__card-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .spoke-storm .spoke-storm__heading {
        font-size: 30px;
    }

    .spoke-storm__card {
        min-height: 280px;
    }

    .spoke-storm__card-content {
        padding: 28px 24px;
    }

    .spoke-storm__card-title {
        font-size: 26px;
    }
}

.spoke-storm__cta {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}