/* ==========================================================================
   SECURITY PAGE HERO SECTION (Desktop 1440px x 924px Canvas, #FDFFF6)
   ========================================================================== */

.security-page-master {
    width: 100%;
    max-width: 100%;;
    margin: 0 auto;
    background-color: #FDFFF6;
    box-sizing: border-box;
}

.sec-hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;;
    min-height: 804px; /* 924px page height minus 120px reserved for global header */
    background-color: #FDFFF6;
    padding: 32px 48px 64px 48px; /* Top padding reduced to account for header */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.sec-hero-container {
    width: 1344px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* ==========================================================================
   Left Content Column 
   ========================================================================== */

.sec-hero-left-col {
    width: 588px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    z-index: 2;
}

/* Headline: Aspekta 400, 56px, line-height 110%, tracking -0.02em, #111111 */
.sec-hero-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 110%; /* 61.6px */
    letter-spacing: -0.02em; /* -1.12px */
    color: #111111;
    margin: 0 0 64px 0; /* Substantial gap between heading and badges grid */
    text-align: left;
}

/* 3x2 Badges Grid */
.sec-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 48px 64px;
    margin-bottom: 64px; /* Substantial gap before CTA */
    justify-content: flex-start;
    align-items: center;
}

.sec-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.sec-badge-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Dual-Segment CTA Button Group */
.sec-hero-cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    height: 48px;
    box-sizing: border-box;
}

/* Text Pill: #F3F3F3, radius: 4px, padding: 0 16px */
.sec-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 16px;
    background-color: #F3F3F3;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.sec-cta-pill span {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%; /* 16.8px */
    letter-spacing: 0;
    text-transform: uppercase;
    color: #2A2A2A;
    white-space: nowrap;
}

.sec-cta-pill:hover {
    background-color: #E6E6E6;
}

/* Arrow Circle: 48px circular, #CAED57, black icon */
.sec-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: #CAED57;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sec-cta-arrow:hover {
    background-color: #bce042;
    transform: translateX(2px);
}

/* ==========================================================================
   Right Artwork Column (Large Pixel Shield)
   ========================================================================== */

.sec-hero-right-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.sec-shield-media-wrap {
    width: 680px;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sec-shield-graphic {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    
    /* 1. Invert the video: Black background becomes white, light shield becomes dark */
    filter: invert(1); 
    
    /* 2. Multiply blend: Drops out the new white background, letting the ivory page show through */
    mix-blend-mode: multiply; 
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1200px) {
    .sec-hero-section {
        min-height: auto;
        padding: 48px 24px;
    }

    .sec-hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 64px;
    }

    .sec-hero-left-col {
        width: 100%;
    }

    .sec-hero-title {
        font-size: 44px;
        margin-bottom: 48px;
    }

    .sec-badges-grid {
        margin-bottom: 48px;
        gap: 32px 48px;
    }

    .sec-hero-right-col {
        width: 100%;
        justify-content: center;
    }

    .sec-shield-media-wrap {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 1;
    }
}

@media (max-width: 640px) {
    .sec-hero-section {
        padding: 32px 16px;
    }

    .sec-hero-title {
        font-size: 34px;
    }

    .sec-hero-title br {
        display: none;
    }

    .sec-badges-grid {
        grid-template-columns: repeat(2, auto);
        gap: 24px 32px;
    }
    
    .sec-badge-item {
        width: 60px;
        height: 60px;
    }
}


/* ==========================================================================
   SECURITY COMMITMENTS CAROUSEL SECTION (1440px Baseline)
   ========================================================================== */

.ow-commitments-section {
    position: relative;
    width: 100%;
    max-width: 100%;;
    background-color: #FCFFF5;
    margin: 0 auto;
    padding-top: 96px; 
    padding-bottom: 96px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* ==========================================================================
   Heading Row (1344px wide max)
   ========================================================================== */

.ow-commitments-header-row {
    width: 100%;
    max-width: 1344px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 48px;
    box-sizing: border-box;
    margin-bottom: 64px;
}

/* Heading: Aspekta 400, 48px/52.8px, -0.96px spacing, #111 */
.ow-commitments-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%; /* 52.8px */
    letter-spacing: -0.96px;
    color: #111111;
    margin: 0;
}

/* Navigation Controls (two 48x48 circular #111 buttons, 4px gap) */
.ow-commitments-nav {
    display: flex;
    gap: 4px;
}

.ow-commit-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: #111111;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ow-commit-nav-btn:hover {
    background-color: #2a2a2a;
    transform: scale(1.04);
}

.nav-icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Carousel Track Viewport
   ========================================================================== */

.ow-commitments-track-viewport {
    width: 100%;
    /* Keeps the carousel inside the 1440px content area, centered, while the section stays full width */
    max-width: 1440px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 0 48px; /* Matches layout alignment */
    box-sizing: border-box;
}

.ow-commitments-track-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Track holding the single row of cards (24px gap) */
.ow-commitments-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
    width: max-content;
}

/* ==========================================================================
   Individual Commitment Card (Fixed 432px width)
   ========================================================================== */

.ow-commit-card {
    position: relative;
    width: 432px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Top Artwork Pane: Dark Grid Background (432px x 424px) */
.ow-commit-artwork {
    width: 432px;
    height: 424px;
    background-color: #222222;
    border-radius: 4px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Subtle inner grid pattern based on reference styling */
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.ow-commit-artwork img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: screen; /* Integrates artwork with grid background */
}

/* Details Pane */
.ow-commit-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Purple Index Label */
.ow-commit-index {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #7D69FB;
    text-transform: uppercase;
}

/* Title: Aspekta 400, 36px, tracking -0.72px */
.ow-commit-card-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 110%; /* 39.6px */
    letter-spacing: -0.72px;
    color: #111111;
    margin: 0;
}

/* Description: Inter 400, 16px/24px */
.ow-commit-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%; /* 24px */
    letter-spacing: 0;
    color: #4C4D4A;
    margin: 0;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1240px) {
    .ow-commitments-header-row {
        padding: 0 24px;
    }
    
    .ow-commitments-track-viewport {
        padding: 0 24px;
    }
}

@media (max-width: 640px) {
    .ow-commitments-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    .ow-commitments-title {
        font-size: 36px;
        line-height: 120%;
    }

    .ow-commit-card {
        width: 320px; /* Reduced fixed width for mobile scrolling */
    }

    .ow-commit-artwork {
        width: 320px;
        height: 314px;
    }
    
    .ow-commit-card-title {
        font-size: 28px;
    }
}
/* Commitments: mobile (design 390px). Arrows move below the cards, bottom right. */
@media (max-width: 767px) {
    .ow-commitments-section {
        padding: 24px 0;
        align-items: stretch;
    }

    .ow-commitments-header-row {
        display: contents;
    }

    .ow-commitments-title {
        order: 1;
        padding: 0 16px;
        margin-bottom: 36px;
        font-size: 36px;
        line-height: 43.2px;
        letter-spacing: -0.96px;
    }

    .ow-commitments-title br,
    .ow-commit-card-title br {
        display: none;
    }

    .ow-commitments-track-viewport {
        order: 2;
        padding: 0 16px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
    }

    .ow-commitments-track {
        gap: 24px;
    }

    .ow-commit-card {
        width: 358px;
        flex: 0 0 358px;
        scroll-snap-align: start;
    }

    .ow-commit-artwork {
        width: 358px;
        height: 306px;
    }

    .ow-commit-card-title {
        font-size: 24px;
        line-height: 26.4px;
        letter-spacing: -0.48px;
    }

    .ow-commitments-nav {
        order: 3;
        align-self: flex-end;
        margin: 36px 16px 0 0;
    }
}
