/* =====================================================
   Section 1: Compact Inner-Page Banner
===================================================== */
.story-hero {
    position: relative;
    display: flex;
    min-height: 390px;
    overflow: hidden;
    align-items: flex-end;
    color: var(--white);
    background: var(--deepest);
}

.story-hero-image,
.story-hero-shade {
    position: absolute;
    inset: 0;
}

.story-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.story-hero-shade {
    background: linear-gradient(90deg, rgba(2, 22, 25, 0.95) 0%, rgba(2, 22, 25, 0.68) 48%, rgba(2, 22, 25, 0.2) 100%);
}

.story-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 74px;
    padding-bottom: 64px;
}

.story-breadcrumb {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-breadcrumb a { color: var(--aqua-soft); }
.story-breadcrumb span { color: rgba(255, 255, 255, 0.62); }

.story-hero-content h1 {
    max-width: 760px;
    margin: 8px 0 12px;
    color: var(--white);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.story-hero-content > p:last-child {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
}

/* =====================================================
   Section 2: Story Introduction
===================================================== */
.story-introduction { overflow: hidden; }

.story-introduction-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(340px, 1.12fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
}

.story-heading { position: sticky; top: 150px; }

.story-heading h2 {
    max-width: 590px;
    margin-bottom: 0;
    font-size: clamp(2.3rem, 4vw, 4rem);
}

.story-copy {
    position: relative;
    padding-left: 42px;
    border-left: 1px solid rgba(8, 47, 51, 0.18);
}

.story-copy::before {
    position: absolute;
    top: 0;
    left: -3px;
    width: 5px;
    height: 76px;
    content: "";
    background: linear-gradient(var(--aqua), var(--sage));
    border-radius: 10px;
}

.story-copy p { margin-top: 0; margin-bottom: 24px; }
.story-copy p:last-child { margin-bottom: 0; }

.story-lead {
    color: var(--deep);
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 600;
    line-height: 1.45;
}

/* =====================================================
   Section 3: Complete Solutions Feature
===================================================== */
.story-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 720px;
}

.story-feature-image { position: relative; min-height: 560px; overflow: hidden; }
.story-feature-image img { width: 100%; height: 100%; object-fit: cover; }

.story-feature-label {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    max-width: 260px;
    padding: 21px 24px;
    flex-direction: column;
    color: var(--white);
    background: rgba(4, 36, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(10px);
}

.story-feature-label span { color: var(--aqua-soft); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.story-feature-label strong { margin-top: 5px; font-family: "Manrope", Arial, sans-serif; font-size: 1.12rem; }

.story-feature-content { display: flex; padding: clamp(60px, 8vw, 120px); align-items: center; }
.story-feature-content-inner { max-width: 620px; }
.story-feature-content h2 { margin-bottom: 26px; font-size: clamp(2.3rem, 4vw, 4rem); }

.story-service-list {
    display: grid;
    margin: 34px 0 30px;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(8, 47, 51, 0.15);
    border-left: 1px solid rgba(8, 47, 51, 0.15);
}

.story-service-list span {
    padding: 15px 12px;
    color: var(--deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    border-right: 1px solid rgba(8, 47, 51, 0.15);
    border-bottom: 1px solid rgba(8, 47, 51, 0.15);
}

/* =====================================================
   Section 4: Mission and Vision
===================================================== */
.purpose-section { background: var(--white); }
.purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.purpose-card {
    position: relative;
    min-height: 430px;
    padding: clamp(36px, 5vw, 68px);
    overflow: hidden;
    background: #f1f5ed;
    border: 1px solid rgba(8, 47, 51, 0.08);
    border-radius: var(--radius-large);
}

.purpose-card-vision { background: var(--deep); }
.purpose-card-vision h3, .purpose-card-vision p { color: var(--white); }
.purpose-card-vision > p:last-child { color: rgba(255, 255, 255, 0.75); }
.purpose-card-vision .eyebrow { color: var(--aqua); }

.purpose-number {
    position: absolute;
    top: 30px;
    right: 34px;
    color: rgba(8, 47, 51, 0.15);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 4rem;
    font-weight: 800;
}

.purpose-card-vision .purpose-number { color: rgba(255, 255, 255, 0.12); }

.purpose-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 34px;
    place-items: center;
    color: var(--forest);
    background: rgba(159, 196, 117, 0.22);
    border-radius: 50%;
}

.purpose-card-vision .purpose-icon { color: var(--aqua); background: rgba(80, 209, 207, 0.12); }
.purpose-icon svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.purpose-card h3 { max-width: 500px; margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.purpose-card > p:last-child { max-width: 560px; margin-bottom: 0; }

/* =====================================================
   Section 5: Company Values
===================================================== */
.values-section { color: var(--white); background: var(--deepest); }

.values-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
    gap: clamp(50px, 9vw, 130px);
    align-items: start;
}

.values-introduction { position: sticky; top: 150px; }
.values-introduction h2 { margin-bottom: 20px; color: var(--white); font-size: clamp(2.3rem, 4vw, 4rem); }
.values-introduction > p:not(.eyebrow) { margin-bottom: 30px; color: rgba(255, 255, 255, 0.7); }

.values-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }

.values-list li {
    display: grid;
    min-height: 74px;
    grid-template-columns: 62px 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: padding-left var(--transition), background var(--transition);
}

.values-list li:hover { padding-left: 15px; background: rgba(80, 209, 207, 0.05); }
.values-list span { color: var(--aqua); font-size: 0.72rem; letter-spacing: 0.12em; }
.values-list strong { font-family: "Manrope", Arial, sans-serif; font-size: clamp(1rem, 1.7vw, 1.32rem); }

/* =====================================================
   Section 6: Page Call to Action
===================================================== */
.story-cta { position: relative; display: flex; min-height: 510px; overflow: hidden; align-items: center; color: var(--white); }
.story-cta-media, .story-cta-shade { position: absolute; inset: 0; }
.story-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.story-cta-shade { background: linear-gradient(90deg, rgba(3, 25, 28, 0.94), rgba(3, 25, 28, 0.53)); }
.story-cta-content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.story-cta-content h2 { max-width: 820px; color: var(--white); font-size: clamp(2.4rem, 4.7vw, 4.5rem); }
.story-cta-content > p:not(.eyebrow) { max-width: 660px; color: rgba(255, 255, 255, 0.78); }

/* =====================================================
   Section 7: Responsive Layout
===================================================== */
@media (max-width: 1100px) {
    .story-feature-content { padding: 60px; }
}

@media (max-width: 860px) {
    .story-hero { min-height: 340px; }
    .story-hero-content { padding-top: 54px; padding-bottom: 50px; }
    .story-introduction-grid, .story-feature, .values-layout { grid-template-columns: 1fr; }
    .story-heading, .values-introduction { position: static; }
    .story-copy { padding-left: 28px; }
    .story-feature { min-height: 0; }
    .story-feature-image { min-height: 480px; }
    .purpose-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .story-hero { min-height: 300px; }
    .story-hero-shade { background: linear-gradient(90deg, rgba(2, 22, 25, 0.92), rgba(2, 22, 25, 0.5)); }
    .story-hero-content { padding-top: 38px; padding-bottom: 38px; }
    .story-breadcrumb { margin-bottom: 16px; }
    .story-hero-content h1 { font-size: clamp(2.7rem, 14vw, 3.8rem); }
    .story-feature-image { min-height: 360px; }
    .story-feature-label { right: 16px; bottom: 16px; left: 16px; max-width: none; }
    .story-feature-content { padding: 48px 20px; }
    .story-service-list { grid-template-columns: repeat(2, 1fr); }
    .purpose-card { min-height: 0; padding: 34px 28px; }
    .purpose-number { top: 24px; right: 26px; font-size: 3rem; }
    .values-layout { gap: 42px; }
    .values-list li { grid-template-columns: 48px 1fr; }
    .story-cta { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
    .values-list li { transition: none; }
}