﻿
/* ==========================================
   FOUNDATION STORY PAGE
   Theme: Green, Gold & Ivory
========================================== */

.foundation-story-page {
    --story-green: #2C4021;
    --story-green-dark: #1C2D18;
    --story-gold: #D4AF37;
    --story-ivory: #F8F7F2;
    --story-text: #45483F;
    --story-muted: #77796F;
    --story-white: #FFFFFF;
    background: var(--story-ivory);
    color: var(--story-text);
    font-family: inherit;
    overflow: hidden;
}

    .foundation-story-page * {
        box-sizing: border-box;
    }

    .foundation-story-page img {
        max-width: 100%;
        display: block;
    }

    .foundation-story-page p {
        font-size: 16px;
        line-height: 1.95;
        margin-bottom: 18px;
        color: var(--story-text);
    }

    .foundation-story-page h2,
    .foundation-story-page h3 {
        color: var(--story-green);
        font-weight: 700;
    }

    .foundation-story-page .story-section-label {
        display: inline-block;
        color: #A78320;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        margin-bottom: 17px;
    }

    .foundation-story-page .story-gold-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin: 24px 0;
        color: var(--story-gold);
    }

        .foundation-story-page .story-gold-divider span {
            width: 55px;
            height: 1px;
            background: var(--story-gold);
        }

        .foundation-story-page .story-gold-divider i {
            font-size: 17px;
        }


    /* READING PROGRESS */

    .foundation-story-page .story-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        z-index: 99999;
        background: rgba(212,175,55,.15);
    }

    .foundation-story-page .story-progress-bar {
        height: 100%;
        width: 0;
        background: var(--story-gold);
        transition: width .1s linear;
    }


    /* HERO */

    .foundation-story-page .story-hero {
        min-height: 650px;
        position: relative;
        background: var(--story-green-dark);
        display: flex;
        align-items: center;
        padding: 90px 0;
        overflow: hidden;
    }

    .foundation-story-page .story-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(28,45,24,.98) 0%, rgba(28,45,24,.94) 43%, rgba(28,45,24,.55) 72%, rgba(28,45,24,.22) 100%);
        z-index: 1;
    }

    .foundation-story-page .story-hero-content {
        position: relative;
        z-index: 3;
        max-width: 1180px;
    }

    .foundation-story-page .story-eyebrow {
        display: inline-block;
        color: var(--story-gold);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }

        .foundation-story-page .story-eyebrow i {
            margin-right: 9px;
        }

    .foundation-story-page .story-hero h1 {
        color: #F7F0D9;
        font-family: Georgia, serif;
        font-size: clamp(34px, 4.2vw, 58px);
        line-height: 1.22;
        max-width: 750px;
        font-weight: 400;
        margin-bottom: 20px;
    }

        .foundation-story-page .story-hero h1 span {
            display: block;
            color: var(--story-gold);
            font-size: .72em;
            margin-top: 12px;
        }

    .foundation-story-page .story-hero .story-gold-divider {
        justify-content: flex-start;
        margin: 27px 0;
    }

    .foundation-story-page .story-hero-content > p {
        color: #F4F1E7;
        max-width: 600px;
        font-size: 17px;
        line-height: 1.8;
    }

    .foundation-story-page .story-explore-btn {
        display: inline-flex;
        align-items: center;
        gap: 15px;
        padding: 15px 27px;
        margin-top: 20px;
        background: var(--story-gold);
        color: var(--story-green-dark);
        border-radius: 4px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .5px;
        transition: all .3s ease;
    }

        .foundation-story-page .story-explore-btn:hover {
            background: #F0D77B;
            color: var(--story-green-dark);
            transform: translateY(-4px);
            text-decoration: none;
        }

    .foundation-story-page .story-hero-image {
        position: absolute;
        right: 7%;
        top: 50%;
        transform: translateY(-50%);
        width: 340px;
        height: 440px;
        z-index: 2;
        border: 5px solid rgba(212,175,55,.65);
        padding: 7px;
        border-radius: 180px 180px 8px 8px;
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0,0,0,.35);
    }

        .foundation-story-page .story-hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 25%;
            border-radius: 180px 180px 5px 5px;
            filter: grayscale(100%);
        }

    .foundation-story-page .hero-image-caption {
        position: absolute;
        left: 7px;
        right: 7px;
        bottom: 7px;
        padding: 15px 8px;
        text-align: center;
        background: rgba(28,45,24,.88);
        color: #F8F2DF;
        font-size: 12px;
        letter-spacing: .5px;
    }

        .foundation-story-page .hero-image-caption i {
            color: var(--story-gold);
            margin-right: 6px;
        }

    .foundation-story-page .story-hero-bottom {
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 35px;
        background: var(--story-ivory);
        clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
    }


    /* INTRODUCTION */

    .foundation-story-page .story-intro-section {
        padding: 85px 0 65px;
        background: var(--story-ivory);
    }

    .foundation-story-page .story-intro-card {
        max-width: 900px;
        margin: auto;
        text-align: center;
    }

        .foundation-story-page .story-intro-card h2 {
            font-family: Georgia, serif;
            font-size: 38px;
            margin-bottom: 0;
        }

    .foundation-story-page .story-intro-text {
        font-size: 19px;
        line-height: 2;
        max-width: 820px;
        margin: 0 auto 30px;
    }

    .foundation-story-page .story-highlight {
        position: relative;
        padding: 32px 45px;
        background: #FFFFFF;
        border-left: 4px solid var(--story-gold);
        box-shadow: 0 10px 35px rgba(44,64,33,.07);
        border-radius: 5px;
    }

        .foundation-story-page .story-highlight > i {
            color: var(--story-gold);
            font-size: 26px;
        }

        .foundation-story-page .story-highlight p {
            color: var(--story-green);
            font-family: Georgia, serif;
            font-size: 20px;
            font-style: italic;
            margin: 12px 0 0;
        }


    /* STORY NAVIGATION */

    .foundation-story-page .story-navigation-wrap {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(248,247,242,.96);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(212,175,55,.2);
        border-bottom: 1px solid rgba(212,175,55,.3);
    }

    .foundation-story-page .story-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 35px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 17px 0;
        scrollbar-width: none;
    }

        .foundation-story-page .story-navigation::-webkit-scrollbar {
            display: none;
        }

    .foundation-story-page .story-nav-link {
        color: var(--story-green);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        position: relative;
        padding: 5px 0;
        transition: color .3s ease;
    }

        .foundation-story-page .story-nav-link:after {
            content: "";
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--story-gold);
            bottom: -5px;
            left: 0;
            transition: width .3s ease;
        }

        .foundation-story-page .story-nav-link:hover,
        .foundation-story-page .story-nav-link.active {
            color: #A78320;
            text-decoration: none;
        }

            .foundation-story-page .story-nav-link.active:after,
            .foundation-story-page .story-nav-link:hover:after {
                width: 100%;
            }


    /* GENERAL CONTENT SECTIONS */

    .foundation-story-page .story-content-section {
        padding: 100px 0;
        background: var(--story-ivory);
    }

    .foundation-story-page .story-image-frame {
        position: relative;
        max-width: 440px;
        margin: 0 auto;
        padding: 13px;
        background: #FFFFFF;
        border: 1px solid rgba(212,175,55,.65);
        box-shadow: 0 20px 50px rgba(44,64,33,.12);
    }

    .foundation-story-page .story-main-image {
        width: 100%;
        height: 490px;
        object-fit: cover;
        object-position: center 25%;
        filter: grayscale(100%);
    }

    .foundation-story-page .story-image-decoration {
        position: absolute;
        width: 110px;
        height: 110px;
        right: -17px;
        bottom: -17px;
        border-right: 3px solid var(--story-gold);
        border-bottom: 3px solid var(--story-gold);
        z-index: -1;
    }

    .foundation-story-page .story-image-label {
        background: var(--story-green);
        color: #FFFFFF;
        padding: 14px 12px;
        text-align: center;
        font-size: 12px;
        letter-spacing: .5px;
    }

        .foundation-story-page .story-image-label i {
            color: var(--story-gold);
            margin-right: 7px;
        }

    .foundation-story-page .story-text-content {
        padding: 20px 20px 20px 35px;
    }

        .foundation-story-page .story-text-content h2 {
            font-family: Georgia, serif;
            font-size: 38px;
            line-height: 1.3;
            margin-bottom: 24px;
        }

        .foundation-story-page .story-text-content strong {
            color: #9B7820;
        }


    /* RAJA SECTION */

    .foundation-story-page .story-raja-section {
        padding: 100px 0;
        background: #FFFFFF;
        position: relative;
    }

        .foundation-story-page .story-raja-section .story-text-content {
            padding-left: 0;
        }

    .foundation-story-page .raja-quote-card {
        background: var(--story-green);
        color: #FFFFFF;
        text-align: center;
        padding: 50px 35px;
        border-radius: 5px;
        border: 1px solid rgba(212,175,55,.65);
        box-shadow: 0 20px 50px rgba(44,64,33,.15);
    }

    .foundation-story-page .raja-quote-icon {
        width: 65px;
        height: 65px;
        margin: 0 auto 20px;
        border: 1px solid var(--story-gold);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--story-gold);
        font-size: 23px;
    }

    .foundation-story-page .raja-quote-card > span {
        color: #E4D7A8;
        font-size: 11px;
        letter-spacing: 3px;
        font-weight: 700;
    }

    .foundation-story-page .raja-quote-card h3 {
        color: var(--story-gold);
        font-family: Georgia, serif;
        font-size: 70px;
        margin: 20px 0;
    }

    .foundation-story-page .raja-quote-card .story-gold-divider {
        margin: 15px 0;
    }

    .foundation-story-page .raja-quote-card p {
        color: #F7F1E4;
        font-family: Georgia, serif;
        font-size: 17px;
        font-style: italic;
        margin: 0;
    }


    /* MEMORY IMAGE */

    .foundation-story-page .story-memory-section {
        padding: 85px 0;
        background: #F0EEE5;
    }

    .foundation-story-page .story-memory-image {
        height: 460px;
        position: relative;
        overflow: hidden;
        border: 8px solid #FFFFFF;
        box-shadow: 0 15px 45px rgba(44,64,33,.12);
    }

        .foundation-story-page .story-memory-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 35%;
            filter: grayscale(100%);
            transition: transform .8s ease;
        }

        .foundation-story-page .story-memory-image:hover img {
            transform: scale(1.04);
        }

    .foundation-story-page .story-memory-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 55px 25px 25px;
        background: linear-gradient(transparent, rgba(20,32,18,.9));
        text-align: center;
    }

        .foundation-story-page .story-memory-caption span {
            color: var(--story-gold);
            font-size: 11px;
            letter-spacing: 3px;
            font-weight: 700;
        }

        .foundation-story-page .story-memory-caption h2 {
            color: #FFFFFF;
            font-family: Georgia, serif;
            font-size: 32px;
            margin: 12px 0 0;
        }


    /* CENTERED HEADING */

    .foundation-story-page .story-centered-heading {
        text-align: center;
        max-width: 750px;
        margin: 0 auto 65px;
    }

        .foundation-story-page .story-centered-heading h2 {
            font-family: Georgia, serif;
            font-size: 40px;
            margin-bottom: 15px;
        }

        .foundation-story-page .story-centered-heading p {
            color: var(--story-muted);
        }


    /* TIMELINE */

    .foundation-story-page .story-timeline {
        max-width: 850px;
        margin: 0 auto;
        position: relative;
    }

        .foundation-story-page .story-timeline:before {
            content: "";
            position: absolute;
            top: 25px;
            bottom: 25px;
            left: 30px;
            width: 1px;
            background: rgba(212,175,55,.7);
        }

    .foundation-story-page .story-timeline-item {
        position: relative;
        display: flex;
        gap: 30px;
        margin-bottom: 35px;
    }

    .foundation-story-page .timeline-dot {
        flex: 0 0 61px;
        width: 61px;
        height: 61px;
        border-radius: 50%;
        background: var(--story-green);
        border: 4px solid var(--story-ivory);
        outline: 1px solid var(--story-gold);
        color: var(--story-gold);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        font-size: 20px;
    }

    .foundation-story-page .timeline-content {
        flex: 1;
        background: #FFFFFF;
        padding: 26px 30px;
        border-radius: 5px;
        border-left: 3px solid var(--story-gold);
        box-shadow: 0 8px 30px rgba(44,64,33,.06);
    }

        .foundation-story-page .timeline-content h3 {
            font-family: Georgia, serif;
            font-size: 23px;
            margin-bottom: 10px;
        }

        .foundation-story-page .timeline-content p {
            margin: 0;
        }


    /* WHY RAJA */

    .foundation-story-page .story-why-raja-section {
        padding: 100px 0;
        background: var(--story-green);
        position: relative;
    }

    .foundation-story-page .why-raja-card {
        max-width: 850px;
        margin: auto;
        text-align: center;
        padding: 55px 65px;
        border: 1px solid rgba(212,175,55,.55);
        background: rgba(255,255,255,.04);
    }

    .foundation-story-page .why-raja-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--story-gold);
        color: var(--story-gold);
        font-size: 26px;
    }

    .foundation-story-page .why-raja-card h2 {
        color: #FFFFFF;
        font-family: Georgia, serif;
        font-size: 39px;
        margin-bottom: 25px;
    }

        .foundation-story-page .why-raja-card h2 span {
            color: var(--story-gold);
        }

    .foundation-story-page .why-raja-card p {
        color: #F0EFE7;
    }

    .foundation-story-page .why-raja-quote {
        color: #F4E7B9;
        font-family: Georgia, serif;
        font-style: italic;
        font-size: 21px;
        line-height: 1.8;
        padding: 25px 20px;
        margin-top: 25px;
        border-top: 1px solid rgba(212,175,55,.5);
        border-bottom: 1px solid rgba(212,175,55,.5);
    }


    /* PURPOSE */

    .foundation-story-page .story-purpose-section {
        padding: 100px 0;
        background: var(--story-ivory);
    }

        .foundation-story-page .story-purpose-section .story-text-content {
            padding-left: 0;
        }

    .foundation-story-page .story-purpose-card {
        padding: 38px 32px;
        background: #FFFFFF;
        border-top: 4px solid var(--story-gold);
        box-shadow: 0 12px 40px rgba(44,64,33,.09);
    }

    .foundation-story-page .purpose-card-icon {
        color: var(--story-gold);
        font-size: 30px;
        margin-bottom: 15px;
    }

    .foundation-story-page .story-purpose-card h3 {
        font-family: Georgia, serif;
        font-size: 26px;
        margin-bottom: 25px;
    }

    .foundation-story-page .story-purpose-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .foundation-story-page .story-purpose-card li {
        padding: 12px 0;
        border-bottom: 1px solid #EEECE3;
        color: var(--story-text);
        font-size: 14px;
        line-height: 1.6;
    }

        .foundation-story-page .story-purpose-card li:last-child {
            border-bottom: 0;
        }

        .foundation-story-page .story-purpose-card li i {
            color: #A78320;
            margin-right: 9px;
        }


    /* FOUNDATION NAME */

    .foundation-story-page .story-name-section {
        padding: 105px 0;
        background: radial-gradient(circle at center, rgba(212,175,55,.12), transparent 55%), var(--story-green-dark);
        text-align: center;
    }

    .foundation-story-page .story-name-content {
        max-width: 1000px;
        margin: auto;
    }

    .foundation-story-page .story-name-section .story-section-label {
        color: var(--story-gold);
    }

    .foundation-story-page .story-name-section h2 {
        color: #FFFFFF;
        font-family: Georgia, serif;
        font-size: clamp(30px, 4vw, 48px);
        line-height: 1.5;
        letter-spacing: 2px;
        margin: 20px 0;
    }

        .foundation-story-page .story-name-section h2 span {
            color: var(--story-gold);
            display: block;
        }

    .foundation-story-page .story-name-meaning {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        margin-top: 60px;
    }

        .foundation-story-page .story-name-meaning > div {
            padding: 30px 20px;
            border: 1px solid rgba(212,175,55,.35);
            background: rgba(255,255,255,.04);
            transition: all .3s ease;
        }

            .foundation-story-page .story-name-meaning > div:hover {
                background: rgba(212,175,55,.1);
                transform: translateY(-7px);
                border-color: var(--story-gold);
            }

        .foundation-story-page .story-name-meaning i {
            font-size: 27px;
            color: var(--story-gold);
            margin-bottom: 17px;
        }

        .foundation-story-page .story-name-meaning h3 {
            color: #FFFFFF;
            font-family: Georgia, serif;
            font-size: 22px;
        }

        .foundation-story-page .story-name-meaning p {
            color: #E4E1D5;
            font-size: 14px;
            margin: 0;
        }


    /* FINAL MESSAGE */

    .foundation-story-page .story-final-section {
        padding: 100px 0;
        background: var(--story-ivory);
    }

    .foundation-story-page .story-final-card {
        max-width: 850px;
        padding: 65px 55px;
        margin: auto;
        text-align: center;
        background: #FFFFFF;
        border: 1px solid rgba(212,175,55,.6);
        box-shadow: 0 20px 60px rgba(44,64,33,.08);
        position: relative;
    }

    .foundation-story-page .final-quote-mark {
        font-family: Georgia, serif;
        color: var(--story-gold);
        font-size: 90px;
        line-height: .7;
    }

    .foundation-story-page .final-message {
        color: var(--story-green);
        font-family: Georgia, serif;
        font-size: 25px;
        line-height: 1.7;
        font-style: italic;
    }

    .foundation-story-page .final-regards {
        margin-top: 35px;
        color: var(--story-muted);
    }

    .foundation-story-page .story-final-card h3 {
        font-family: Georgia, serif;
        font-size: 29px;
        margin: 10px 0 5px;
    }

    .foundation-story-page .final-founder-label {
        color: #A78320;
        font-size: 11px;
        letter-spacing: 3px;
        font-weight: 700;
    }

    .foundation-story-page .final-foundation-name {
        color: var(--story-green);
        font-size: 15px;
        font-weight: 700;
        margin: 25px 0 8px;
    }

    .foundation-story-page .final-location {
        font-size: 13px;
        color: var(--story-muted);
    }

        .foundation-story-page .final-location i {
            color: var(--story-gold);
            margin-right: 5px;
        }


    /* BACK TO TOP */

    .foundation-story-page .story-back-top {
        position: fixed;
        right: 25px;
        bottom: 25px;
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 50%;
        background: var(--story-green);
        color: var(--story-gold);
        font-size: 23px;
        box-shadow: 0 5px 20px rgba(0,0,0,.18);
        cursor: pointer;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: all .3s ease;
    }

        .foundation-story-page .story-back-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .foundation-story-page .story-back-top:hover {
            background: var(--story-gold);
            color: var(--story-green);
        }


    /* SCROLL REVEAL */

    .foundation-story-page .story-reveal {
        opacity: 0;
        transform: translateY(35px);
        transition: opacity .8s ease, transform .8s ease;
    }

        .foundation-story-page .story-reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }


/* TABLET */

@media (max-width: 991px) {

    .foundation-story-page .story-hero {
        min-height: 620px;
        padding: 80px 0;
    }

    .foundation-story-page .story-hero-image {
        right: 3%;
        width: 260px;
        height: 360px;
        opacity: .55;
    }

    .foundation-story-page .story-hero-overlay {
        background: linear-gradient(90deg, rgba(28,45,24,.98) 0%, rgba(28,45,24,.90) 65%, rgba(28,45,24,.65) 100%);
    }

    .foundation-story-page .story-hero-content {
        max-width: 720px;
    }

    .foundation-story-page .story-text-content {
        padding: 35px 10px 10px;
    }

    .foundation-story-page .story-image-frame {
        max-width: 390px;
    }

    .foundation-story-page .story-main-image {
        height: 430px;
    }

    .foundation-story-page .story-name-meaning {
        gap: 12px;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    .foundation-story-page .story-hero {
        min-height: 650px;
        padding: 75px 0 90px;
        align-items: flex-start;
    }

    .foundation-story-page .story-hero-overlay {
        background: linear-gradient(180deg, rgba(28,45,24,.97) 0%, rgba(28,45,24,.91) 65%, rgba(28,45,24,.75) 100%);
    }

    .foundation-story-page .story-hero-image {
        width: 155px;
        height: 195px;
        top: auto;
        bottom: 35px;
        right: 20px;
        transform: none;
        opacity: .95;
        border-width: 3px;
    }

    .foundation-story-page .hero-image-caption {
        font-size: 9px;
        padding: 9px 4px;
    }

    .foundation-story-page .story-hero h1 {
        font-size: 34px;
        max-width: 100%;
    }

        .foundation-story-page .story-hero h1 span {
            font-size: .72em;
        }

    .foundation-story-page .story-hero-content > p {
        font-size: 15px;
        max-width: 95%;
    }

    .foundation-story-page .story-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .foundation-story-page .story-intro-section,
    .foundation-story-page .story-content-section,
    .foundation-story-page .story-raja-section,
    .foundation-story-page .story-purpose-section,
    .foundation-story-page .story-why-raja-section,
    .foundation-story-page .story-final-section {
        padding: 65px 0;
    }

    .foundation-story-page .story-intro-card h2,
    .foundation-story-page .story-text-content h2,
    .foundation-story-page .story-centered-heading h2 {
        font-size: 30px;
    }

    .foundation-story-page .story-intro-text {
        font-size: 16px;
    }

    .foundation-story-page .story-highlight {
        padding: 25px 20px;
    }

        .foundation-story-page .story-highlight p {
            font-size: 17px;
        }

    .foundation-story-page .story-navigation {
        justify-content: flex-start;
        gap: 25px;
        padding: 15px 5px;
    }

    .foundation-story-page .story-nav-link {
        font-size: 12px;
    }

    .foundation-story-page .story-image-frame {
        max-width: 330px;
    }

    .foundation-story-page .story-main-image {
        height: 370px;
    }

    .foundation-story-page .story-text-content {
        padding: 35px 0 0;
    }

        .foundation-story-page .story-text-content p {
            font-size: 15px;
        }

    .foundation-story-page .raja-quote-card {
        margin-top: 35px;
        padding: 35px 25px;
    }

        .foundation-story-page .raja-quote-card h3 {
            font-size: 58px;
        }

    .foundation-story-page .story-memory-section {
        padding: 55px 0;
    }

    .foundation-story-page .story-memory-image {
        height: 300px;
        border-width: 5px;
    }

    .foundation-story-page .story-memory-caption h2 {
        font-size: 23px;
    }

    .foundation-story-page .story-memory-caption span {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .foundation-story-page .story-timeline:before {
        left: 23px;
    }

    .foundation-story-page .story-timeline-item {
        gap: 20px;
    }

    .foundation-story-page .timeline-dot {
        flex-basis: 47px;
        width: 47px;
        height: 47px;
        font-size: 16px;
    }

    .foundation-story-page .timeline-content {
        padding: 20px;
    }

        .foundation-story-page .timeline-content h3 {
            font-size: 20px;
        }

        .foundation-story-page .timeline-content p {
            font-size: 14px;
        }

    .foundation-story-page .why-raja-card {
        padding: 35px 22px;
    }

        .foundation-story-page .why-raja-card h2 {
            font-size: 29px;
        }

    .foundation-story-page .why-raja-quote {
        font-size: 17px;
        padding: 20px 5px;
    }

    .foundation-story-page .story-purpose-card {
        margin-top: 30px;
        padding: 30px 22px;
    }

    .foundation-story-page .story-name-section {
        padding: 75px 0;
    }

        .foundation-story-page .story-name-section h2 {
            font-size: 29px;
            letter-spacing: 1px;
        }

    .foundation-story-page .story-name-meaning {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

        .foundation-story-page .story-name-meaning > div {
            padding: 25px 15px;
        }

    .foundation-story-page .story-final-card {
        padding: 45px 22px;
    }

    .foundation-story-page .final-message {
        font-size: 20px;
    }

    .foundation-story-page .story-back-top {
        right: 15px;
        bottom: 15px;
        width: 43px;
        height: 43px;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .foundation-story-page *,
    .foundation-story-page *:before,
    .foundation-story-page *:after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .foundation-story-page .story-reveal {
        opacity: 1;
        transform: none;
    }
}
