/* =========================================================
   AFRICGUIDE — OUR STORIES
   Step 2: Hero + Our Origins + What Drives Us
   ========================================================= */

.our-stories-page {
    background: #ffffff;
}

/* ---------- HERO ---------- */

.our-stories-hero {
    position: relative;
    min-height: 520px;
    margin-top: 70px;
    overflow: hidden;
    isolation: isolate;
    background: #101923;
}

.our-stories-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("https://res.cloudinary.com/l4sunhik/image/upload/v1793567601/Golden-Hour.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scaleX(-1);
}

.our-stories-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8, 15, 25, 0.78) 0%,
            rgba(8, 15, 25, 0.64) 24%,
            rgba(8, 15, 25, 0.42) 42%,
            rgba(8, 15, 25, 0.18) 58%,
            rgba(8, 15, 25, 0.04) 74%,
            rgba(8, 15, 25, 0.00) 100%
        );
}

.our-stories-hero_inner {
    width: 100%;
    max-width: 1300px;
    min-height: 520px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.our-stories-hero_copy {
    width: min(620px, 52%);
    color: #ffffff;
    padding: 38px 0 42px;
}

.our-stories-hero_eyebrow,
.section-kicker {
    margin: 0 0 13px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.our-stories-hero_eyebrow {
    color: rgba(255, 255, 255, 0.92);
}

.section-kicker {
    color: #f5650c;
}

.our-stories-hero h1 {
    margin: 0 0 18px;
    font-family: "Playfair", serif;
    font-size: clamp(58px, 6vw, 88px);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.our-stories-hero_accent {
    color: #f5650c;
}

.our-stories-hero_lead {
    max-width: 580px;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.96);
}

.our-stories-hero_lead strong {
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
    color: #ffffff;
}

/* ---------- ORIGINS ---------- */

.origins-section {
    padding: 76px 0 70px;
    background: #ffffff;
}

.origins-section_inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 64px;
    align-items: center;
}

.origins-section_copy {
    max-width: 520px;
}

.origins-section_copy h2,
.values-section_heading h2 {
    margin: 0;
    font-family: "Playfair", serif;
    color: #10233c;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.origins-section_copy h2 {
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.origins-section_copy > p:last-child {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #546174;
    font-size: 16px;
    line-height: 1.75;
}

.origins-section_image-wrap {
    position: relative;
}

.origins-section_image-wrap::before {
    content: "";
    position: absolute;
    width: 72%;
    height: 72%;
    right: -18px;
    bottom: -18px;
    border-radius: 22px;
    background: #fff0e7;
    z-index: 0;
}

.origins-section_image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 22px 50px rgba(17, 34, 57, 0.14);
}

/* ---------- VALUES ---------- */

.values-section {
    padding: 58px 0 70px;
    background: #fffaf6;
    border-top: 1px solid rgba(245, 101, 12, 0.08);
    border-bottom: 1px solid rgba(245, 101, 12, 0.08);
}

.values-section_inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.values-section_heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.values-section_heading h2 {
    font-size: clamp(32px, 3.2vw, 44px);
    line-height: 1.1;
    margin-bottom: 10px;
}

.values-section_heading > p:last-child {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #738094;
    font-size: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    min-height: 176px;
    padding: 28px 28px 26px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border: 1px solid rgba(17, 35, 60, 0.07);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(17, 35, 60, 0.06);
}

.value-card_icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5650c;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.value-card_icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h3 {
    margin: 2px 0 9px;
    font-family: "Inter", sans-serif;
    color: #10233c;
    font-size: 18px;
    font-weight: 700;
}

.value-card p {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #687589;
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {
    .our-stories-hero,
    .our-stories-hero_inner {
        min-height: 460px;
    }

    .our-stories-hero_copy {
        width: min(600px, 64%);
    }

    .origins-section_inner {
        gap: 40px;
        grid-template-columns: 1fr 1fr;
    }

    .origins-section_image {
        height: 330px;
    }
}

@media (max-width: 780px) {
    .origins-section,
    .values-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .origins-section_inner,
    .values-section_inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .origins-section_inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .origins-section_copy {
        max-width: none;
    }

    .origins-section_image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .our-stories-hero {
        min-height: 520px;
    }

    .our-stories-hero::before {
        background-position: 34% center;
    }

    .our-stories-hero::after {
        background: linear-gradient(
            180deg,
            rgba(8, 15, 25, 0.14) 0%,
            rgba(8, 15, 25, 0.46) 46%,
            rgba(8, 15, 25, 0.88) 100%
        );
    }

    .our-stories-hero_inner {
        width: 100%;
        min-height: 520px;
        padding-left: 20px;
        padding-right: 20px;
        align-items: flex-end;
    }

    .our-stories-hero_copy {
        width: 100%;
        padding: 54px 0 42px;
    }

    .our-stories-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(49px, 14vw, 64px);
    }

    .our-stories-hero_lead {
        max-width: 500px;
        font-size: 15px;
        line-height: 1.55;
    }
}

@media (max-width: 520px) {
    .origins-section_copy h2 {
        font-size: 38px;
    }

    .value-card {
        padding: 22px;
    }
}

/* ---------- OUR JOURNEY ---------- */

.journey-section {
    padding: 72px 0 82px;
    background: #ffffff;
}

.journey-section_inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.journey-section_heading {
    max-width: 740px;
    margin: 0 auto 32px;
    text-align: center;
}

.journey-section_heading h2 {
    margin: 0 0 10px;
    font-family: "Playfair", serif;
    color: #10233c;
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.journey-section_heading > p:last-child {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #738094;
    font-size: 15px;
}

.journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 22px;
    height: 2px;
    background: linear-gradient(90deg, rgba(245,101,12,0.10) 0%, rgba(245,101,12,0.42) 50%, rgba(245,101,12,0.10) 100%);
    z-index: 0;
}

.journey-step {
    position: relative;
    z-index: 1;
    background: #fffaf6;
    border: 1px solid rgba(245, 101, 12, 0.08);
    border-radius: 18px;
    padding: 34px 20px 22px;
    box-shadow: 0 12px 24px rgba(17, 35, 60, 0.05);
}

.journey-step::before {
    display: none;
}

.journey-step_icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    display: grid;
    place-items: center;
    color: #f5650c;
}

.journey-step_icon svg {
    width: 32px;
    height: 32px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-step:nth-child(4) .journey-step_icon svg rect {
    fill: currentColor;
    stroke: none;
}

.journey-step_number {
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5650c;
}

.journey-step h3 {
    margin: 0 0 8px;
    font-family: "Inter", sans-serif;
    color: #10233c;
    font-size: 17px;
    font-weight: 700;
}

.journey-step p {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #687589;
    font-size: 13px;
    line-height: 1.65;
}

.journey-story {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
    align-items: stretch;
}

.journey-story_image-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(17, 35, 60, 0.10);
}

.journey-story_image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.journey-story_quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 34px;
    border-radius: 18px;
    background: #fffdfb;
    border: 1px solid rgba(245, 101, 12, 0.10);
    box-shadow: 0 16px 36px rgba(17, 35, 60, 0.06);
}

.journey-story_quote-mark {
    display: block;
    margin-bottom: 10px;
    color: #f5650c;
    font-family: "Playfair", serif;
    font-size: 52px;
    line-height: 0.8;
}

.journey-story_quote-card blockquote {
    margin: 0;
    font-family: "Playfair", serif;
    color: #10233c;
    font-size: clamp(28px, 2.2vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-style: italic;
}

.journey-story_quote-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.journey-story_quote-line {
    flex: 0 0 48px;
    height: 2px;
    background: #f5650c;
}

.journey-story_quote-meta strong {
    display: block;
    margin-bottom: 4px;
    font-family: "Inter", sans-serif;
    color: #10233c;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.journey-story_quote-meta p {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #8a96a8;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .journey-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-story {
        grid-template-columns: 1fr;
    }

    .journey-story_image {
        min-height: 220px;
    }
}

@media (max-width: 780px) {
    .journey-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .journey-section_inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 620px) {
    .journey-timeline {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .journey-timeline::before {
        display: none;
    }

    .journey-step {
        padding: 26px 18px 20px;
    }

    .journey-story_quote-card {
        padding: 24px 22px;
    }

    .journey-story_quote-card blockquote {
        font-size: 28px;
    }
}

/* ---------- LATEST STORIES ---------- */

.stories-section {
    padding: 72px 0 84px;
    background: #ffffff;
}

.stories-section_inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.stories-section_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.stories-section_intro {
    max-width: 720px;
}

.stories-section_intro h2 {
    margin: 0 0 8px;
    font-family: "Playfair", serif;
    color: #10233c;
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.stories-section_intro > p:last-child {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #738094;
    font-size: 15px;
}

.stories-section_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #f5650c;
}

.stories-section_link:hover {
    opacity: 0.86;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.story-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #ffffff;
    border: 1px solid rgba(17, 35, 60, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(17, 35, 60, 0.06);
}

.story-card_image-wrap {
    overflow: hidden;
    background: #edf1f5;
}

.story-card_image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.story-card_content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 20px;
}

.story-card_tag {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f6f8;
    color: #6c788b;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.story-card h3 {
    margin: 0 0 10px;
    font-family: "Playfair", serif;
    color: #10233c;
    font-size: 24px;
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.story-card p {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #687589;
    font-size: 14px;
    line-height: 1.62;
}

.story-card_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #f5650c;
}

.story-card_link:hover {
    opacity: 0.86;
}

@media (max-width: 1180px) {
    .stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .stories-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .stories-section_inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .stories-section_header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .story-card_image {
        height: 200px;
    }
}
