/* ==========================================================================
   Icon7 Redesign — Our Story / About Us page
   --------------------------------------------------------------------------
   Ported VERBATIM from the prototype `_design_source/icon7-our-story.html`
   inline <style> (Round 2 fidelity pass). Every rule is scoped under
   `.story-page` so it never collides with other pages' shared class names.
   Nav / footer / body / tokens / buttons come from the shared redesign.css —
   only this page's own sections live here. Section background images use
   relative URLs into assets/images/redesign/ (optimized copies of the design's
   originals). Desktop, tablet and mobile match the prototype's @media rules.
   ========================================================================== */

/* ---- Hero --------------------------------------------------------------- */
.story-page .story-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.story-page .story-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 43, 74, 0.25), rgba(26, 43, 74, 0.45)),
                url('../../images/redesign/story-hero.webp') center/cover no-repeat;
}

.story-page .story-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: storyFadeUp 1.2s ease-out 0.3s both;
}

@keyframes storyFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.story-page .story-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.story-page .story-hero-body {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.story-page .story-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: storyBounce 2s infinite;
}

.story-page .story-scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--white));
}

@keyframes storyBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ---- Why We Exist ------------------------------------------------------- */
.story-page .story-why-exist {
    background-color: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    padding: 0;
    min-height: 100vh;
}

.story-page .story-why-exist-image {
    height: 100vh;
    min-height: 700px;
    background: url('../../images/redesign/story-why-exist.webp') center/cover no-repeat;
    position: relative;
}

.story-page .story-why-exist-content {
    padding: 4rem 6rem 4rem 2rem;
}

.story-page .story-why-exist-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.story-page .story-why-exist-body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
    line-height: 1.9;
    max-width: 650px;
}

.story-page .story-why-exist-body p {
    margin-bottom: 1.5rem;
}

.story-page .story-why-exist-body p:last-child {
    margin-bottom: 0;
}

/* ---- The Seventh Sense -------------------------------------------------- */
.story-page .story-seventh {
    background-color: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    align-items: center;
}

.story-page .story-seventh-content {
    position: relative;
    z-index: 1;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-page .story-seventh-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: left;
}

.story-page .story-seventh-body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    text-align: left;
    max-width: 550px;
}

.story-page .story-seventh-body p {
    margin-bottom: 1.5rem;
}

.story-page .story-seventh-body .story-highlight {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold);
    margin: 2.5rem 0;
}

.story-page .story-seventh-body .story-conclusion {
    font-style: italic;
    color: var(--white);
    opacity: 1;
}

.story-page .story-seventh-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    background: url('../../images/redesign/story-seventh-bg.webp') center/cover no-repeat;
    position: relative;
}

.story-page .story-seventh-visual img {
    width: 80%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* ---- Our Pillars -------------------------------------------------------- */
.story-page .story-pillars {
    padding: 8rem 4rem;
    background-color: var(--white);
}

.story-page .story-pillars-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.story-page .story-pillars-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1rem;
}

.story-page .story-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.story-page .story-pillar {
    text-align: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.story-page .story-pillar-icon {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(26, 43, 74, 0.15);
}

.story-page .story-pillar-italian {
    font-family: var(--font-script);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.story-page .story-pillar-english {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.story-page .story-pillar-description {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--navy);
    line-height: 1.8;
    opacity: 0.8;
}

/* ---- Invitation --------------------------------------------------------- */
.story-page .story-invitation {
    background-color: var(--lake-blue);
    min-height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

.story-page .story-invitation-image {
    background: url('../../images/redesign/story-invitation.jpg') center/cover no-repeat;
    min-height: 500px;
}

.story-page .story-invitation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 5rem;
}

.story-page .story-invitation-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 2rem;
}

.story-page .story-invitation-body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   Responsive — ported from the prototype's @media blocks (page sections only;
   nav/footer breakpoints are handled globally in redesign.css).
   ========================================================================== */
@media (max-width: 1200px) {
    .story-page .story-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .story-page .story-why-exist {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .story-page .story-why-exist-image {
        height: 50vh;
        min-height: 400px;
    }

    .story-page .story-why-exist-content {
        padding: 4rem 2rem;
    }

    .story-page .story-seventh {
        grid-template-columns: 1fr;
        padding: 0;
        min-height: auto;
    }

    .story-page .story-seventh-content {
        padding: 4rem 2rem;
    }

    .story-page .story-seventh-visual {
        padding: 2rem 1rem;
    }

    .story-page .story-seventh-visual img {
        width: 75%;
        max-width: 380px;
    }

    .story-page .story-pillars {
        padding: 5rem 2rem;
    }

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

    .story-page .story-invitation-image {
        height: 50vh;
        min-height: 400px;
    }

    .story-page .story-invitation-content {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .story-page .story-hero-title {
        font-size: 3rem;
    }

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

    .story-page .story-pillar {
        padding: 2rem 1rem;
    }

    .story-page .story-seventh-visual img {
        width: 70%;
        max-width: 280px;
    }
}
