
/* =========================================
   ANSHRIKA PURE - OUR STORY PAGE
========================================= */

.our-story-page {
    --story-green: #064537;
    --story-green-dark: #003e32;
    --story-gold: #986020;
    --story-cream: #fff9ed;
    --story-text: #34352d;
    --story-sage: #e9ead8;

    background: var(--story-cream);
    color: var(--story-text);
    font-family: Georgia, "Times New Roman", serif;
    overflow: hidden;
}

.our-story-page *,
.our-story-page *::before,
.our-story-page *::after {
    box-sizing: border-box;
}

.our-story-page img {
    display: block;
    max-width: 100%;
}

.our-story-page h1,
.our-story-page h2,
.our-story-page h3,
.our-story-page p {
    margin-top: 0;
}

.story-container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

/* =========================================
   HERO SECTION
========================================= */

.story-hero {
    position: relative;
    min-height: 327px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: #f8ecd4;
}

.story-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../images/mangobanner.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 48%;
}

.story-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(255, 248, 232, 0.99) 0%,
        rgba(255, 248, 232, 0.96) 38%,
        rgba(255, 248, 232, 0.72) 52%,
        rgba(255, 248, 232, 0.05) 75%
    );
}

.story-hero-inner {
    padding-top: 28px;
    padding-bottom: 28px;
}

.story-hero-content {
    width: min(590px, 57%);
}

.story-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--story-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.story-hero h1 {
    margin-bottom: 10px;
    color: var(--story-green);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;
}

.story-intro {
    margin-bottom: 9px;
    color: #233b31;
    font-size: 17px;
    line-height: 1.4;
}

.story-description {
    max-width: 550px;
    margin-bottom: 0;
    color: #45443b;
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================
   SHARED SECTION HEADING
========================================= */

.story-section-heading {
    text-align: center;
    margin-bottom: 26px;
}

.story-section-heading h2 {
    margin-bottom: 2px;
    color: var(--story-green);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
}

.story-section-heading > p {
    margin-bottom: 0;
    color: var(--story-gold);
    font-size: 21px;
    line-height: 1.4;
}

/* =========================================
   OUR JOURNEY
========================================= */

.story-journey {
    padding: 16px 0 24px;
    background: var(--story-cream);
}

.journey-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px
                           minmax(0, 1fr) 30px
                           minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.journey-card {
    min-width: 0;
}

.journey-card-image {
    position: relative;
    height: 258px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #efe5d0;
}

.journey-card-image img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}

.journey-card:nth-of-type(3) .journey-card-image img {
    object-position: center;
}

.journey-number {
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff0cf;
    color: var(--story-gold);
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(80, 54, 18, 0.05);
}

.journey-card-content h3 {
    margin-bottom: 5px;
    color: var(--story-green);
    font-size: 19px;
    line-height: 1.25;
}

.journey-card-content p {
    margin-bottom: 10px;
    color: #45423a;
    font-size: 14px;
    line-height: 1.42;
}

.journey-card-content p:last-child {
    margin-bottom: 0;
}

.journey-arrow {
    align-self: start;
    padding-top: 82px;
    color: #a36c25;
    font-family: Arial, sans-serif;
    font-size: 30px;
    text-align: center;
}

/* =========================================
   FOUNDERS
========================================= */

.story-founders {
    padding: 18px 0;
    background: var(--story-sage);
}

.founders-layout {
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: center;
    gap: 26px;
}

.founders-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 6px;
}

.founders-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
}

.founders-content .story-eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.founders-content h2 {
    margin-bottom: 2px;
    color: var(--story-green);
    font-size: 32px;
    line-height: 1.2;
}

.founders-content h3 {
    margin-bottom: 8px;
    color: var(--story-gold);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
}

.founders-content p {
    margin-bottom: 0;
    color: #45443b;
    font-size: 15px;
    line-height: 1.55;
}

/* =========================================
   OUR VALUES
========================================= */

.story-values {
    padding: 15px 0 24px;
    background: var(--story-cream);
}

.values-heading {
    margin-bottom: 20px;
}

.values-heading h2 {
    font-size: clamp(26px, 2.8vw, 34px);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.value-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 4px 18px;
    border-right: 1px solid #ded4bf;
}

.value-card:first-child {
    padding-left: 4px;
}

.value-card:last-child {
    padding-right: 4px;
    border-right: 0;
}

.value-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #986020;
    border-radius: 50%;
    color: #986020;
}

.value-icon svg {
    width: 42px;
    height: 42px;
}

.value-copy h3 {
    margin-bottom: 4px;
    color: var(--story-green);
    font-size: 15px;
    line-height: 1.25;
}

.value-copy p {
    margin-bottom: 0;
    color: #45443b;
    font-size: 13px;
    line-height: 1.4;
}

/* =========================================
   CLOSING QUOTE BANNER
========================================= */

.story-quote {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 180px;
    background: #f7ebcf;
}

.story-quote-image {
    min-height: 180px;
    overflow: hidden;
}

.story-quote-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    object-position: center;
}

.story-quote-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px clamp(24px, 5vw, 65px);
    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(211, 200, 150, 0.18),
            transparent 35%
        ),
        #fff3d8;
}

.quote-mark {
    height: 23px;
    color: #a36c25;
    font-size: 48px;
    line-height: 1;
}

.story-quote blockquote {
    margin: 0 0 10px;
    color: var(--story-green);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.4;
}

.story-quote-content > p {
    margin-bottom: 0;
    color: #625443;
    font-size: 13px;
    letter-spacing: 1px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
    .story-container {
        width: calc(100% - 44px);
    }

    .story-hero-content {
        width: 62%;
    }

    .journey-grid {
        grid-template-columns: minmax(0, 1fr) 20px
                               minmax(0, 1fr) 20px
                               minmax(0, 1fr);
        gap: 7px;
    }

    .journey-card-image {
        height: 145px;
    }

    .journey-card-content h3 {
        font-size: 17px;
    }

    .journey-card-content p {
        font-size: 13px;
    }

    .value-card {
        gap: 9px;
        padding: 5px 10px;
    }

    .value-icon {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
    }

    .value-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
    .story-container {
        width: calc(100% - 32px);
    }

    .story-hero {
        min-height: 340px;
    }

    .story-hero-image {
        background-position: 62% center;
    }

    .story-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(255, 248, 232, 0.98) 0%,
            rgba(255, 248, 232, 0.94) 53%,
            rgba(255, 248, 232, 0.65) 78%,
            rgba(255, 248, 232, 0.18) 100%
        );
    }

    .story-hero-inner {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .story-hero-content {
        width: 100%;
        max-width: 470px;
    }

    .story-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .story-hero h1 {
        font-size: clamp(27px, 7vw, 36px);
        line-height: 1.13;
        letter-spacing: -0.5px;
    }

    .story-hero h1 br {
        display: none;
    }

    .story-intro {
        font-size: 15px;
    }

    .story-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .story-journey {
        padding: 30px 0;
    }

    .story-section-heading {
        margin-bottom: 28px;
    }

    .story-section-heading h2 {
        font-size: 29px;
    }

    .story-section-heading > p {
        font-size: 17px;
    }

    .journey-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
    }

    .journey-card-image {
        height: auto;
        aspect-ratio: 1.65 / 1;
        margin-bottom: 14px;
    }

    .journey-number {
        width: 43px;
        height: 43px;
        top: -17px;
        font-size: 20px;
    }

    .journey-card-content h3 {
        font-size: 20px;
    }

    .journey-card-content p {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .journey-arrow {
        display: none;
    }

    .story-founders {
        padding: 26px 0;
    }

    .founders-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .founders-image {
        height: 280px;
    }

    .founders-image img {
        object-position: center top;
    }

    .founders-content .story-eyebrow {
        font-size: 10px;
    }

    .founders-content h2 {
        font-size: 30px;
    }

    .founders-content h3 {
        font-size: 19px;
    }

    .founders-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .story-values {
        padding: 28px 0;
    }

    .values-heading {
        margin-bottom: 24px;
    }

    .values-heading h2 {
        font-size: 26px;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .value-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 12px;
        border-right: 0;
        gap: 10px;
    }

    .value-card:nth-child(odd) {
        border-right: 1px solid #ded4bf;
        padding-left: 0;
    }

    .value-card:nth-child(even) {
        padding-right: 0;
    }

    .value-icon {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .value-icon svg {
        width: 36px;
        height: 36px;
    }

    .value-copy h3 {
        font-size: 15px;
    }

    .value-copy p {
        font-size: 12px;
        line-height: 1.5;
    }

    .story-quote {
        grid-template-columns: minmax(0, 1fr);
    }

    .story-quote-image {
        min-height: 180px;
        height: 180px;
    }

    .story-quote-image img {
        min-height: 180px;
    }

    .story-quote-content {
        padding: 25px 22px 30px;
    }

    .story-quote blockquote {
        font-size: 20px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .story-container {
        width: calc(100% - 24px);
    }

    .story-hero {
        min-height: 355px;
    }

    .story-hero h1 {
        font-size: 27px;
    }

    .story-intro {
        font-size: 14px;
    }

    .values-grid {
        column-gap: 8px;
    }

    .value-card {
        padding-right: 8px;
    }

    .value-card:nth-child(even) {
        padding-left: 8px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .our-story-page *,
    .our-story-page *::before,
    .our-story-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* MOBILE BANNER */
@media (max-width: 700px) {
    .story-hero {
        width: 100%;
        height: min(120vw, 520px);
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .story-hero-image {
        background-image: url("../images/mangobanner-mobile.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
    }
}
