/* --------------------------------------------------
   ISERA OUR STORY PAGE
   Compact editorial layout
-------------------------------------------------- */

:root {
    --ivory: #f7f4ee;
    --warm-white: #fcfaf6;
    --navy: #17243a;
    --soft-navy: #314056;
    --gold: #a58a58;
    --line: rgba(23, 36, 58, 0.18);

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--navy);
    font-family: var(--sans);
    line-height: 1.6;
}

a {
    color: inherit;
}


/* HEADER */

.story-header {
    min-height: 76px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--ivory);
    border-bottom: 1px solid var(--line);
}

.story-logo {
    font-family: var(--serif);
    font-size: 1.45rem;
    letter-spacing: 0.18em;
    text-decoration: none;
}

.story-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.story-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.story-nav a:hover,
.story-nav a[aria-current="page"] {
    color: var(--gold);
}


/* HERO */

.story-hero {
    min-height: 42vh;
    padding: 3rem 8vw 2rem;

    display: flex;
    align-items: center;

    background: var(--ivory);
}

.story-hero-inner {
    width: min(100%, 820px);
}

.story-eyebrow {
    margin: 0 0 1.25rem;

    color: var(--gold);

    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.story-hero h1 {
    max-width: 760px;
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;

    line-height: 0.98;
    letter-spacing: -0.04em;
}

.story-intro {
    max-width: 600px;
    margin: 1.75rem 0 0;

    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.7rem);

    line-height: 1.35;
}


/* FAMILY STORIES */

.family-stories {
    padding: 1rem 8vw 4rem;
}

.family-story {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: 4.5rem 0;

    border-top: 1px solid var(--line);
}

.family-story:first-child {
    padding-top: 2rem;
}

.family-story-copy {
    width: 100%;
}

.story-photo {
    width: 78%;
    max-width: 620px;
    height: auto;

    display: block;
    margin: 0 0 2.5rem;

    border-radius: 6px;
}

.family-name {
    margin: 0 0 1.5rem;

    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 400;

    line-height: 1;
    letter-spacing: -0.03em;
}

.family-story-copy p {
    max-width: 680px;
    margin: 0 0 1.1rem;

    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.story-emphasis {
    margin-top: 2rem !important;

    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem) !important;

    line-height: 1.25;
}

blockquote {
    margin: 2rem 0;

    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.4rem);

    line-height: 1.1;
}


/* EMOTIONAL TRANSITIONS */

.story-transition,
.story-reveal {
    min-height: 46vh;
    padding: 4rem 8vw;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.story-transition {
    background: var(--warm-white);
}

.story-reveal {
    background: var(--navy);
    color: var(--warm-white);
}

.story-transition p,
.story-reveal p {
    max-width: 900px;
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.5vw, 4.3rem);

    line-height: 1.05;
    letter-spacing: -0.035em;
}


/* STATISTICS */

.story-statistics {
    padding: 5rem 8vw;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;

    background: var(--navy);
    color: var(--warm-white);
}

.statistics-introduction {
    grid-column: 1 / -1;

    max-width: 900px;
    margin: 0 0 4.5rem;
}

.statistics-introduction h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 400;

    line-height: 1.08;
    letter-spacing: -0.03em;
}

.statistic {
    min-height: 230px;
    padding: 1.5rem 3rem;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.statistic:first-of-type {
    padding-left: 0;
}

.statistic:last-of-type {
    border-right: 0;
}

.statistic-number {
    margin: 0 0 1rem;

    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.8rem);

    line-height: 1;
}

.statistic-copy {
    max-width: 300px;
    margin: 0;

    font-size: 1rem;
}

.statistics-closing {
    grid-column: 1 / -1;

    margin: 4rem 0 0;
    padding-top: 2.5rem;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 3rem);

    line-height: 1.2;
}


/* FINAL MESSAGE */

.story-closing {
    min-height: 52vh;
    padding: 4.5rem 8vw;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--ivory);
    text-align: center;
}

.story-closing-inner {
    width: min(100%, 800px);
}

.story-closing h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;

    line-height: 0.98;
    letter-spacing: -0.04em;
}

.story-link {
    margin-top: 2.75rem;

    display: inline-flex;
    align-items: center;
    gap: 0.8rem;

    padding-bottom: 0.35rem;

    border-bottom: 1px solid var(--navy);

    font-size: 0.75rem;
    letter-spacing: 0.12em;

    text-decoration: none;
    text-transform: uppercase;
}

.story-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}


/* FOOTER */

.story-footer {
    padding: 1.75rem 5vw;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid var(--line);

    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-footer p {
    margin: 0;
}

.story-footer a {
    text-decoration: none;
}


/* TABLET */

@media (max-width: 900px) {

    .story-statistics {
        grid-template-columns: 1fr;
    }

    .statistic,
    .statistic:first-of-type {
        min-height: auto;
        padding: 2.5rem 0;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .statistic:last-of-type {
        border-bottom: 0;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .story-header {
        min-height: 68px;
        padding: 0 1.25rem;
    }

    .story-logo {
        font-size: 1.25rem;
    }

    .story-nav {
        gap: 0.85rem;
    }

    .story-nav a {
        font-size: 0.62rem;
    }


    .story-hero {
        min-height: 42vh;
        padding: 3.5rem 1.5rem;
    }


    .family-stories {
        padding: 0 1.5rem 3rem;
    }

    .family-story {
        padding: 3.5rem 0;
    }

    .story-photo {
        width: 100%;
        margin-bottom: 2rem;
    }


    .story-transition,
    .story-reveal {
        min-height: 38vh;
        padding: 3.5rem 1.5rem;
    }


    .story-statistics {
        padding: 4rem 1.5rem;
    }

    .statistics-introduction {
        margin-bottom: 3rem;
    }

    .statistics-closing {
        margin-top: 2.5rem;
    }


    .story-closing {
        min-height: 42vh;
        padding: 4rem 1.5rem;
    }


    .story-footer {
        padding: 1.75rem 1.5rem;
    }

}