/* Our Story — background image + premium glass panel */

.our-story {
    position: relative;
    width: 100%;
    min-height: clamp(480px, 62vw, 620px);
    padding: clamp(48px, 7vw, 88px) clamp(16px, 3vw, 48px);
    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;
    display: flex;
    align-items: center;
}

.our-story__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.our-story__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transform: scale(1.04);
    will-change: transform;
}

.our-story__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            118deg,
            rgba(10, 16, 38, 0.82) 0%,
            rgba(22, 34, 72, 0.72) 38%,
            rgba(36, 51, 102, 0.62) 68%,
            rgba(48, 67, 143, 0.55) 100%
        );
    pointer-events: none;
}

.our-story__accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--color-accent, #e85126) 20%,
        rgba(232, 81, 38, 0.6) 50%,
        var(--color-accent, #e85126) 80%,
        transparent 100%
    );
    opacity: 0.85;
    pointer-events: none;
}

.our-story__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.our-story__glow--1 {
    width: 280px;
    height: 280px;
    top: -5%;
    right: 8%;
    background: rgba(232, 81, 38, 0.18);
}

.our-story__glow--2 {
    width: 200px;
    height: 200px;
    bottom: -5%;
    left: 4%;
    background: rgba(48, 67, 143, 0.3);
}

.our-story__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Premium glass panel */
.our-story__panel {
    width: 100%;
    padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
    border-radius: clamp(20px, 2.8vw, 28px);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11) 0%,
            rgba(255, 255, 255, 0.05) 100%
        );
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-sizing: border-box;
}

.our-story__panel--simple {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
    text-align: center;
}

.our-story__head--simple {
    margin-bottom: clamp(18px, 2.5vw, 24px);
    padding-bottom: 0;
    border-bottom: none;
}

.our-story__head--simple .our-story__label.section-badge {
    margin-bottom: 0;
}

.our-story__copy--simple {
    max-width: 760px;
    margin: 0 auto;
}

.our-story__copy--simple .our-story__text {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.15em;
}

.our-story__copy--simple .our-story__text:last-child {
    margin-bottom: 0;
}

.our-story__head {
    margin-bottom: clamp(22px, 3vw, 32px);
    padding-bottom: clamp(18px, 2.5vw, 24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.our-story__label.section-badge {
    margin-bottom: 12px;
    color: #fff;
    background: rgba(232, 81, 38, 0.2);
    border-color: rgba(232, 81, 38, 0.45);
}

.our-story__label .section-badge__dot {
    background: var(--color-accent, #e85126);
    box-shadow: 0 0 0 4px rgba(232, 81, 38, 0.35);
}

.our-story__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
}

.our-story__title span {
    color: var(--color-accent, #e85126);
}

/* Two-column body — shorter height */
.our-story__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 28px);
    align-items: start;
}

@media (min-width: 992px) {
    .our-story__layout {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        gap: clamp(24px, 3.5vw, 40px);
    }
}

.our-story__text {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1em;
    opacity: 1;
    visibility: visible;
}

/* Story text always readable (no hidden motion-item state) */
.our-story__copy .our-story__text {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

.our-story__text:last-child {
    margin-bottom: 0;
}

.our-story__text strong {
    color: #fff;
    font-weight: 700;
}

.our-story__copy {
    margin: 0;
}

.our-story__pillars {
    list-style: none;
    margin: clamp(20px, 3vw, 28px) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.our-story__pillar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.875rem, 1.15vw, 0.96875rem);
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.our-story__pillar-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 81, 38, 0.18);
    border: 1px solid rgba(232, 81, 38, 0.35);
    color: var(--color-accent, #e85126);
}

.our-story__pillar-icon svg {
    width: 14px;
    height: 14px;
}

.our-story__aside {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 22px);
}

.our-story__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    border: none;
}

.our-story__stat {
    text-align: center;
    padding: clamp(14px, 2vw, 18px) 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.our-story__stat:hover {
    background: rgba(232, 81, 38, 0.14);
    border-color: rgba(232, 81, 38, 0.35);
}

.our-story__stat-num {
    display: block;
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent, #e85126);
    margin-bottom: 4px;
}

.our-story__stat-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

.our-story__quote {
    position: relative;
    margin: 0;
    padding: clamp(18px, 2.5vw, 24px) clamp(18px, 2.5vw, 22px);
    border: none;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.our-story__quote-mark {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    color: rgba(232, 81, 38, 0.22);
    pointer-events: none;
}

.our-story__quote-mark svg {
    width: 100%;
    height: 100%;
}

.our-story__quote p {
    margin: 0 0 12px;
    font-size: clamp(0.875rem, 1.2vw, 0.96875rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.our-story__quote footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.our-story__quote-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: var(--color-accent, #e85126);
}

.our-story__quote cite {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .our-story {
        min-height: 0;
        padding: clamp(32px, 5vw, 48px) clamp(14px, 3vw, 24px);
        align-items: stretch;
    }

    .our-story__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(10, 16, 38, 0.88) 0%,
                rgba(22, 34, 72, 0.8) 50%,
                rgba(36, 51, 102, 0.76) 100%
            );
    }

    .our-story__bg-img {
        object-position: center 40%;
    }

    .our-story__glow--1 {
        width: 180px;
        height: 180px;
        top: -8%;
        right: -4%;
    }

    .our-story__glow--2 {
        width: 140px;
        height: 140px;
        bottom: -6%;
        left: -2%;
    }

    .our-story__layout {
        gap: clamp(24px, 4vw, 32px);
    }

    .our-story__head {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .our-story__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        line-height: 1.18;
    }

    .our-story__text {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .our-story__pillars {
        margin-top: 18px;
        gap: 10px;
    }

    .our-story__pillar {
        align-items: flex-start;
    }

    .our-story__pillar-icon {
        margin-top: 2px;
    }

    .our-story__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .our-story__stat:last-child {
        grid-column: 1 / -1;
    }

    .our-story__stat {
        padding: 14px 12px;
    }

    .our-story__stat-num {
        font-size: clamp(1.125rem, 4vw, 1.375rem);
    }

    .our-story__stat-label {
        font-size: 0.625rem;
    }

    .our-story__quote p {
        font-size: 0.9375rem;
        padding-right: 28px;
    }
}

@media (max-width: 767.98px) {
    .our-story {
        padding: 28px 14px;
    }

    .our-story__panel {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .our-story__aside {
        gap: 14px;
    }

    .our-story__stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .our-story__stat:last-child {
        grid-column: auto;
    }

    .our-story__stat {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        text-align: left;
        padding: 14px 16px;
    }

    .our-story__stat-num {
        margin-bottom: 0;
        flex-shrink: 0;
        min-width: 0;
        text-align: right;
    }

    .our-story__stat-label {
        text-align: left;
        flex: 1;
        letter-spacing: 0.05em;
    }

    .our-story__quote {
        padding: 16px;
    }

    .our-story__quote-mark {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .our-story {
        padding: 24px 12px;
    }

    .our-story__panel {
        padding: 20px 16px;
        border-radius: 16px;
        box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .our-story__head {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .our-story__label.section-badge {
        margin-bottom: 10px;
        font-size: 0.75rem;
    }

    .our-story__title {
        font-size: 1.375rem;
        letter-spacing: -0.02em;
    }

    .our-story__text {
        font-size: 0.875rem;
        line-height: 1.65;
        margin-bottom: 0.875em;
    }

    .our-story__pillars {
        margin-top: 16px;
        gap: 9px;
    }

    .our-story__pillar {
        font-size: 0.8125rem;
        gap: 10px;
        line-height: 1.4;
    }

    .our-story__pillar-icon {
        width: 24px;
        height: 24px;
    }

    .our-story__pillar-icon svg {
        width: 12px;
        height: 12px;
    }

    .our-story__stat {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .our-story__stat-num {
        font-size: 1.0625rem;
    }

    .our-story__stat-label {
        font-size: 0.5625rem;
    }

    .our-story__quote p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 10px;
        padding-right: 20px;
    }

    .our-story__quote-avatar {
        width: 34px;
        height: 34px;
        font-size: 0.6875rem;
    }

    .our-story__quote cite {
        font-size: 0.75rem;
    }
}

@media (max-width: 374.98px) {
    .our-story {
        padding: 20px 10px;
    }

    .our-story__panel {
        padding: 18px 14px;
    }

    .our-story__title {
        font-size: 1.25rem;
    }

    .our-story__stat {
        padding: 12px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .our-story__stat:hover {
        transform: translateY(-4px);
        background: rgba(232, 81, 38, 0.14);
        border-color: rgba(232, 81, 38, 0.35);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }
}

@media (hover: none) {
    .our-story__stat:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .our-story__bg-img {
        transform: none;
    }
}
