/* ============================================
   ETHICS & COMPLIANCE PAGE
   Each section is a unique component designed
   specifically for ethics/compliance content
   ============================================ */

/* ---- Shared typography ---- */
.ec-label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.ec-heading {
    font-family: var(--font-heading);
    font-size: var(--text-section);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    letter-spacing: -0.6px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-6);
}

.ec-intro {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    max-width: var(--text-max-width);
    margin: 0;
}

.ec-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    margin: 0 0 var(--space-5);
}

.ec-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    letter-spacing: -0.6px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-5);
}


/* ============================================
   1. HERO — Pure typographic impact
   No images. Massive ghost watermark.
   Centered manifesto with pillar badges.
   ============================================ */
.ec-hero {
    position: relative;
    min-height: 90vh;
    background: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Engraved-certificate crosshatch — fine 45° / -45° lines, like a banknote or
   notarized document. Reads as "fine print on official paper" and ties straight
   to the Ethics & Compliance theme. Subtle 0.045 alpha so it's a texture, not a
   pattern. Radial mask keeps the centerpiece title legible and fades the edges. */
.ec-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(50, 48, 47, 0.045) 0,
            rgba(50, 48, 47, 0.045) 1px,
            transparent 1px,
            transparent 11px),
        repeating-linear-gradient(-45deg,
            rgba(50, 48, 47, 0.045) 0,
            rgba(50, 48, 47, 0.045) 1px,
            transparent 1px,
            transparent 11px);
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 40%,
        #000 70%,
        #000 88%,
        transparent 100%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 50%,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 40%,
        #000 70%,
        #000 88%,
        transparent 100%);
}

.ec-hero__grid-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #FFFFFF, transparent);
    z-index: 1;
}

.ec-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px var(--container-padding) 0;
    text-align: center;
}

.ec-hero__ghost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 800;
    color: rgba(50, 48, 47, 0.025);
    line-height: 0.85;
    letter-spacing: -0.04em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.ec-hero__content {
    position: relative;
}

.ec-hero__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: var(--font-semibold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.ec-hero__title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.3em;
    white-space: nowrap;
    margin: 0 0 var(--space-8);
}

.ec-hero__line--display {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -3px;
    color: var(--color-text-primary);
    white-space: nowrap;
    /* Engraved-into-paper effect — like a stamped seal */
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6),
        0 -1px 0 rgba(0, 0, 0, 0.08);
}

.ec-hero__line--script {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-primary);
    display: block;
    position: relative;
    padding-bottom: 0.2em;
    white-space: nowrap;
    /* Match the engraved feel on the script word */
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6),
        0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* On narrow viewports the inline title would clip — fall back to stacked. */
@media (max-width: 720px) {
    .ec-hero__title {
        flex-direction: column;
        align-items: center;
        white-space: normal;
    }
}

/* Hand-drawn brush underline that "signs" Compliance — animates in on load
   like signing a document. Uses clip-path to reveal left-to-right. */
.ec-hero__line--script::after {
    content: '';
    position: absolute;
    left: 20%; bottom: 0;
    width: 60%;
    height: 0.22em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M 4,8 C 50,3 130,2 200,6 C 270,10 350,8 396,5 C 350,11 270,15 200,12 C 130,9 50,12 4,13 Z' fill='%23FF1A0F' opacity='0.95'/%3E%3Cpath d='M 12,10 C 70,7 150,6 210,9 C 270,12 360,10 390,8' stroke='%23FF1A0F' stroke-width='1' fill='none' opacity='0.45' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    clip-path: inset(0 100% 0 0);
    animation: ecBrushDraw 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}

@keyframes ecBrushDraw {
    0%   { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0% 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    .ec-hero__line--script::after {
        clip-path: none;
        animation: none;
    }
}

.ec-hero__lead {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto var(--space-10);
}

/* Pillars — single inline manifesto bar, framed by thin horizontal rules,
   diamond separators between values, Roman numeral prefixes on each.
   Reads like a sealed bar at the foot of an official document. */
.ec-hero__pillars {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(14px, 1.5vw, 20px) 0;
    border-top: 1px solid rgba(50, 48, 47, 0.18);
    border-bottom: 1px solid rgba(50, 48, 47, 0.18);
}

/* Inner double rule — adds the "two thin lines, like a passport stamp" detail */
.ec-hero__pillars::before,
.ec-hero__pillars::after {
    content: '';
    position: absolute;
    left: clamp(20px, 4vw, 80px);
    right: clamp(20px, 4vw, 80px);
    height: 1px;
    background: rgba(50, 48, 47, 0.08);
    pointer-events: none;
}
.ec-hero__pillars::before { top: 4px; }
.ec-hero__pillars::after  { bottom: 4px; }

.ec-hero__pillar {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 0;
    border: none;
    border-radius: 0;
    position: relative;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: var(--font-semibold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    white-space: nowrap;
}

/* Diamond separator between adjacent pillars (after each except the last) */
.ec-hero__pillar + .ec-hero__pillar::before {
    content: '';
    position: absolute;
    left: calc(-1 * clamp(1.5rem, 3.5vw, 3rem) / 2);
    top: 50%;
    width: 5px;
    height: 5px;
    background: rgba(50, 48, 47, 0.55);
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Roman numeral prefix in a smaller monospace face — like a clause marker */
.ec-hero__pillar-num {
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
}

.ec-hero__pillar-word {
    color: var(--color-text-primary);
}

@media (max-width: 700px) {
    .ec-hero__pillars {
        gap: 1rem 1.5rem;
        padding: 12px clamp(16px, 4vw, 24px);
    }
    .ec-hero__pillar + .ec-hero__pillar::before { display: none; }
    .ec-hero__pillar { font-size: 0.68rem; letter-spacing: 0.18em; }
}


/* ============================================
   2. REPUTATION — Statement + vertical stats
   Left: thick border accent with large text
   Right: three stacked stat blocks
   ============================================ */
/* Reputation panel — mirrors the .ec-leadership layout: light gray section, a
   label/heading/body intro, then a white spotlight card containing a round
   portrait + meta (name/role/quote). Same dimensions, shadows, and hover lift
   so the two panels feel like one family. */
.ec-reputation {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.ec-reputation__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ec-reputation__spotlight {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
    max-width: 760px;
    background: var(--color-pure-white);
    border: 0.5px solid #d8d8d4;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.ec-reputation__spotlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28),
                0 4px 10px rgba(0, 0, 0, 0.05);
}

.ec-reputation__portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-border);
}

.ec-reputation__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-reputation__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    letter-spacing: -0.6px;
    margin: 0;
}

.ec-reputation__role {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.ec-reputation__quote {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    color: var(--color-text-primary);
    line-height: var(--leading-normal);
    letter-spacing: -0.3px;
    font-style: italic;
    margin: 0;
    padding-left: var(--space-5);
    border-left: 3px solid var(--color-border);
}

@media (max-width: 600px) {
    .ec-reputation__spotlight { flex-direction: column; align-items: flex-start; }
}


/* ============================================
   Reusable cinematic photo banner — full-bleed strip with caption.
   Used between content blocks to break up rhythm.
   ============================================ */
.ec-cinema {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 560px;
    overflow: hidden;
    border-radius: 18px;
    margin: clamp(2rem, 5vw, 4rem) 0;
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.5),
                0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Cinema figure — wider + taller on mobile.
   Desktop holds the image at 21:9 which on a 375px phone renders ~
   311×133px, barely visible. Below 700px switch to a 4:3 aspect so
   the image renders ~311×233px — roughly 2× taller. The figure
   already fills width:100% so no horizontal change needed. */
@media (max-width: 700px) {
    .ec-cinema {
        aspect-ratio: 4 / 3;
        max-height: none;
        border-radius: 14px;
    }
}

.ec-cinema__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ec-cinema:hover .ec-cinema__img {
    transform: scale(1.03);
}

.ec-cinema::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 20, 18, 0.65) 0%,
        rgba(20, 20, 18, 0.2) 50%,
        rgba(20, 20, 18, 0) 100%
    );
    pointer-events: none;
}

.ec-cinema--right::after {
    background: linear-gradient(
        270deg,
        rgba(20, 20, 18, 0.65) 0%,
        rgba(20, 20, 18, 0.2) 50%,
        rgba(20, 20, 18, 0) 100%
    );
}

.ec-cinema__caption {
    position: absolute;
    left: clamp(1.5rem, 5vw, 4rem);
    bottom: clamp(1.5rem, 4vw, 3rem);
    max-width: 540px;
    color: #FFFFFF;
    z-index: 1;
}

.ec-cinema--right .ec-cinema__caption {
    left: auto;
    right: clamp(1.5rem, 5vw, 4rem);
    text-align: right;
}

.ec-cinema__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-3);
}

.ec-cinema__text {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: var(--font-semibold);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}


/* ============================================
   3. COMPLIANCE CULTURE — Four tall pillar cards
   Blueprint-framed vertical cards with icons
   ============================================ */
/* Compliance Culture — styled to mirror the subcontractor "Creating the Workplace
   We Deserve" section (.sc-house pattern). Off-white bg, big light-weight heading,
   panoramic feature image with corner brackets, then pillar grid with top-border
   separators (no rounded boxes, no icons). */
.ec-culture {
    padding: 0 0 clamp(80px, 10vw, 140px);
    background: #fafaf8;
}

.ec-culture__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 80px);
}

/* Feature image (formerly .ec-cinema) inside this section: panoramic 16:8,
   rounded, with two thin white corner brackets matching .sc-house__feature. */
.ec-culture .ec-cinema {
    position: relative;
    border-radius: clamp(16px, 2vw, 28px);
    overflow: hidden;
    aspect-ratio: 16 / 8;
    margin: 0 0 clamp(56px, 7vw, 96px);
}

.ec-culture .ec-cinema__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reset the original .ec-cinema gradient overlay + caption-positioning so the
   image inside .ec-culture reads exactly like the sc-house feature. */
.ec-culture .ec-cinema::after {
    display: none;
}

.ec-culture .ec-cinema__caption {
    position: absolute;
    bottom: clamp(24px, 4vw, 48px);
    left: clamp(24px, 4vw, 48px);
    color: var(--color-pure-white);
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Two thin corner brackets overlaid on the image (top-left + bottom-right) */
.ec-culture .ec-cinema::before,
.ec-culture .ec-cinema > .ec-cinema__caption::before,
.ec-culture .ec-cinema > .ec-cinema__caption::after {
    /* visual treatment supplied via overlay element below — keep clean */
}

.ec-culture__header {
    max-width: 880px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

/* Heading inside Compliance Culture mirrors sc-house__heading exactly:
   light-weight (400), tight tracking, big size. */
.ec-culture .ec-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-5);
}

.ec-culture .ec-intro {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--color-text-secondary);
    max-width: 720px;
    margin: 0;
}

.ec-culture__pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 56px);
}

/* Each pillar: 3px top-border rule, padding-top, no card background. */
.ec-culture__pillar {
    padding-top: clamp(28px, 3.5vw, 44px);
    border-top: 3px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    border-radius: 0;
}

.ec-culture__pillar-num {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.18em;
    margin-bottom: var(--space-4);
    line-height: 1;
}

/* Hide the icon — sc-house pattern has no icons in the pillars. */
.ec-culture__pillar-icon {
    display: none;
}

.ec-culture__pillar-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
    margin-bottom: clamp(12px, 1.5vw, 20px);
}

.ec-culture__pillar-desc {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: var(--font-regular);
    line-height: 1.4;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 1100px) {
    .ec-culture__pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .ec-culture__pillars { grid-template-columns: 1fr; gap: 0; }
    .ec-culture__pillar + .ec-culture__pillar { margin-top: var(--space-6); }
}


/* ============================================
   4. ETHICAL STANDARDS — Dark blueprint section
   ============================================ */
/* Standards panel — same leadership spotlight pattern, repeated five times.
   Each card swaps the round portrait for a numbered circle so the principles
   read as a stack of identical cards rather than a dark numbered list. */
.ec-standards {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.ec-standards__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ec-standards__spotlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-top: var(--space-8);
    max-width: 760px;
}

.ec-standards__spotlight {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    background: var(--color-pure-white);
    border: 0.5px solid #d8d8d4;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.ec-standards__spotlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28),
                0 4px 10px rgba(0, 0, 0, 0.05);
}

.ec-standards__num {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-border);
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-standards__num span {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: var(--font-bold);
    letter-spacing: -0.04em;
    color: var(--color-text-primary);
    line-height: 1;
}

.ec-standards__meta {
    flex: 1;
}

.ec-standards__text {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    color: var(--color-text-primary);
    line-height: var(--leading-normal);
    letter-spacing: -0.3px;
    font-style: italic;
    margin: 0;
    padding-left: var(--space-5);
    border-left: 3px solid var(--color-border);
}

@media (max-width: 600px) {
    .ec-standards__spotlight { flex-direction: column; align-items: flex-start; }
}


/* ============================================
   5. QUOTE — Blueprint drawing sheet
   Annotation bar, tick marks, centered
   ============================================ */
/* Quote panel — leadership spotlight, with a circular quote-mark mark replacing
   the portrait. Quote text + attribution live in the meta column. */
.ec-quote {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.ec-quote__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ec-quote__spotlight {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
    max-width: 760px;
    background: var(--color-pure-white);
    border: 0.5px solid #d8d8d4;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.ec-quote__spotlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28),
                0 4px 10px rgba(0, 0, 0, 0.05);
}

.ec-quote__portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid var(--color-border);
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-quote__portrait-mark {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 0.6;
    transform: translateY(10px);
}

.ec-quote__meta {
    flex: 1;
}

.ec-quote__text {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    color: var(--color-text-primary);
    line-height: var(--leading-normal);
    letter-spacing: -0.3px;
    font-style: italic;
    margin: 0;
    padding-left: var(--space-5);
    border-left: 3px solid var(--color-border);
}

.ec-quote__attr {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-top: var(--space-3);
    padding-left: var(--space-5);
}

@media (max-width: 600px) {
    .ec-quote__spotlight { flex-direction: column; align-items: flex-start; }
}


/* ============================================
   6. POLICIES — Mini blueprint sheet cards
   Each document is its own small drawing sheet
   ============================================ */
.ec-policies {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.ec-policies__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ec-policies__header {
    margin-bottom: var(--space-12);
    max-width: 600px;
}

.ec-policies__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.ec-policies__card {
    background: var(--color-pure-white);
    border: 0.5px solid #d8d8d4;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.ec-policies__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28),
                0 4px 10px rgba(0, 0, 0, 0.05);
}

.ec-policies__card-bar {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) var(--space-5);
    border-bottom: 0.5px solid #e4e4e0;
    font-family: 'Courier New', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b8b8b4;
    position: relative;
    z-index: 2;
}

.ec-policies__card-body { position: relative; z-index: 2; }

.ec-policies__card-body {
    padding: var(--space-6) var(--space-5);
}

.ec-policies__card-icon {
    font-size: 1.6rem;
    color: var(--color-text-primary);
    opacity: 0.25;
    display: block;
    margin-bottom: var(--space-4);
}

.ec-policies__card-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    letter-spacing: -0.4px;
    margin: 0 0 var(--space-3);
}

.ec-policies__card-desc {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    margin: 0;
}

@media (max-width: 768px) {
    .ec-policies__grid { grid-template-columns: 1fr; }
}


/* ============================================
   7. REPORTING — Horizontal process flow
   Three steps connected by lines
   ============================================ */
.ec-reporting {
    background: transparent;
    padding: var(--section-padding) 0;
}

.ec-reporting__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ec-reporting__header {
    margin-bottom: var(--space-12);
    max-width: 600px;
}

.ec-reporting__flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.ec-reporting__step {
    padding-top: var(--space-8);
    border-top: 2px solid var(--color-text-primary);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ec-reporting__step-num {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-text-secondary);
    line-height: 1;
}

.ec-reporting__step-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: var(--font-regular);
    color: var(--color-text-primary);
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin: 0;
}

.ec-reporting__step-desc {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    line-height: var(--leading-normal);
    margin: 0;
}

/* Hide the old chevron connectors — the top-border layout doesn't need them */
.ec-reporting__connector { display: none; }

@media (max-width: 900px) {
    .ec-reporting__flow { grid-template-columns: 1fr; gap: var(--space-8); }
}


/* ============================================
   8. LEADERSHIP — Focused spotlight card
   Single person with portrait + quote
   ============================================ */
.ec-leadership {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.ec-leadership__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.ec-leadership__spotlight {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
    max-width: 760px;
    background: var(--color-pure-white);
    border: 0.5px solid #d8d8d4;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.ec-leadership__spotlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28),
                0 4px 10px rgba(0, 0, 0, 0.05);
}

.ec-leadership__portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-border);
}

.ec-leadership__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-leadership__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    letter-spacing: -0.6px;
    margin: 0;
}

.ec-leadership__role {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.ec-leadership__quote {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    color: var(--color-text-primary);
    line-height: var(--leading-normal);
    letter-spacing: -0.3px;
    font-style: italic;
    margin: 0;
    padding-left: var(--space-5);
    border-left: 3px solid var(--color-border);
}

@media (max-width: 600px) {
    .ec-leadership__spotlight { flex-direction: column; align-items: flex-start; }
}


/* ============================================
   9. CTA — Warm beige
   ============================================ */
.ec-cta {
    position: relative;
    background: #F5F5F5;
    padding: clamp(6rem, 12vw, 10rem) 0;
    overflow: hidden;
    isolation: isolate;
}

.ec-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: grayscale(0.2);
    will-change: clip-path;
}

.ec-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    will-change: clip-path;
    background: linear-gradient(
        180deg,
        rgba(20, 20, 18, 0.45) 0%,
        rgba(20, 20, 18, 0.7) 60%,
        rgba(20, 20, 18, 0.85) 100%
    );
}

.ec-cta__inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.ec-cta__heading {
    font-family: var(--font-heading);
    font-size: var(--text-section);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    letter-spacing: -0.6px;
    color: #FFFFFF;
    margin: 0 0 var(--space-8);
}

.ec-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 18px 44px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: #1a1814;
    background: #FFFFFF;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background var(--duration-base) var(--ease-out),
                gap var(--duration-base) var(--ease-out);
}

.ec-cta__btn:hover {
    background: #fafaf8;
    gap: var(--space-4);
}

.ec-cta__btn i {
    font-size: 1.1rem;
}


/* ============================================
   MERGED — Tabbed left-nav layout
   Left column: clickable navbox (sticky); each box has a number,
   title, and small description. Click → activates the corresponding
   panel on the right. Arrows sit at the top of the right column.
   ============================================ */
.ec-merged {
    position: relative;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    /* Match .ec-culture__inner containment so this section's content sits
       on the same horizontal rails as the section above it. */
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--section-padding) clamp(24px, 4vw, 80px);
}

/* ---- Left nav (sticky) ---- Styled to match the homepage .page-explorer__nav:
   one accent-red panel containing a clean list of numbered items (no per-item
   boxes), white left-bar marker on the active row, larger/white active label. */
.ec-merged__nav {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--color-accent, #FF3B30);
    border-radius: 16px;
    padding: clamp(1.5rem, 2.5vw, 2rem) 0;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.ec-merged__nav::-webkit-scrollbar {
    width: 4px;
}

.ec-merged__nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.ec-merged__navbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.6rem, 1vw, 1rem);
    padding: clamp(0.55rem, 0.9vw, 0.75rem) clamp(1.2rem, 2vw, 1.8rem);
    background: none;
    border: none;
    border-radius: 0;
    text-align: left;
    cursor: pointer;
    width: 100%;
    position: relative;
    transition: background 0.2s, opacity 0.2s;
    box-shadow: none;
}

.ec-merged__navbox:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: none;
    box-shadow: none;
    border: none;
}

.ec-merged__navbox.is-active {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    box-shadow: none;
}

.ec-merged__navbox.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 0 2px 2px 0;
}

.ec-merged__navbox-num {
    font-family: var(--font-body, 'Urbanist', sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    min-width: 24px;
    letter-spacing: 0.02em;
    opacity: 1;
}

.ec-merged__navbox.is-active .ec-merged__navbox-num {
    color: rgba(255, 255, 255, 0.8);
}

.ec-merged__navbox-title {
    font-family: var(--font-body, 'Urbanist', sans-serif);
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
    transition: color 0.2s, font-size 0.2s, font-weight 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.ec-merged__navbox.is-active .ec-merged__navbox-title {
    color: #fff;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 600;
}

/* Per-row description doesn't appear in the homepage explorer style — hide it
   so the list reads as clean num + title rows. */
.ec-merged__navbox-desc {
    display: none;
}

/* ---- Right content ---- */
.ec-merged__content {
    min-width: 0;
}

/* Top controls: arrows above the panel */
.ec-merged__controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.ec-merged__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1.5px solid rgba(10, 17, 25, 0.15);
    border-radius: var(--radius-pill);
    color: var(--color-text-primary);
    cursor: pointer;
    transition: background var(--duration-base) var(--ease-out),
                color var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}

.ec-merged__arrow:hover {
    background: var(--color-text-primary);
    color: var(--color-pure-white);
    border-color: var(--color-text-primary);
}

.ec-merged__arrow svg {
    width: 28px;
    height: 18px;
}

/* ---- Panels: only the active one shows ---- */
.ec-merged__panels {
    position: relative;
}

.ec-merged__panel {
    display: none;
}

.ec-merged__panel.is-active {
    display: block;
    animation: ecMergedFade 0.35s var(--ease-out);
}

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

/* Reset section-level margins/padding so panels render cleanly inside the grid —
   the standalone sections each carry var(--section-padding) top/bottom which is
   too much vertical space inside the panel container. */
.ec-merged__panel > section {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Mobile stepper — hidden on desktop, takes over from the sticky red
   sidebar nav below 1024px. */
.ec-merged__mobile-nav { display: none; }

/* ---- Responsive: stack vertically below 1024px ---- */
@media (max-width: 1023px) {
    .ec-merged {
        grid-template-columns: 1fr;
    }

    /* Hide the desktop red sidebar (and its mobile horizontal-scroll
       variant). The hidden nav still owns the active state — JS click-
       cycles its buttons — but the visible UI is now the stepper. */
    .ec-merged__nav { display: none; }

    /* Stepper — red pill matching the ethics accent, two 44px circular
       arrow buttons flanking the current section's number + name.
       Sticky: pins below the site header (80px clears the 76px header
       with 4px breathing room) and unsticks naturally once .ec-merged
       scrolls past the viewport. z-index 10 sits above the panel
       content but below the floating page-nav (z-index 50 globally). */
    /* Styled to match the homepage .page-explorer__pager — square-ish
       buttons (56x56, radius 10), stronger drop shadow, larger label.
       Sticky at top:0 so it pins to the viewport's very top while the
       section is in view (same anchor point as the homepage pager). */
    .ec-merged__mobile-nav {
        display: flex;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.55rem;
        background: var(--color-accent, #FF3B30);
        color: #FFFFFF;
        border-radius: 14px;
        box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.35);
        margin-bottom: var(--space-4);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: sticky;
        top: 0;
        z-index: 20;
    }
    .ec-merged__mobile-btn {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.15s ease, transform 0.15s ease;
    }
    .ec-merged__mobile-btn:active {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(0.94);
    }
    .ec-merged__mobile-current {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.15rem;
        padding: 0 0.25rem;
        text-align: center;
    }
    .ec-merged__mobile-num {
        font-family: var(--font-body, "Urbanist", sans-serif);
        font-size: 0.58rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
    }
    .ec-merged__mobile-label {
        font-family: var(--font-body, "Urbanist", sans-serif);
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.15;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
