/* --- Global Containers & Typography Defaults --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.h1-serif {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px 0;
    font-weight: 500;
}

/* --- Section 1: Custom Production Styling --- */
.custom-specs-section {
    background-color: #000;
    padding: 120px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.specs-content-side {
    display: flex;
    flex-direction: column;
}

.specs-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #777;
    margin: 0 0 45px 0;
    max-width: 480px;
}

/* Precise 2x2 Micro-Card Block Framework */
.specs-quad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quad-card {
    background: #080808;
    border: 1px solid #141414;
    border-radius: 12px;
    padding: 25px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.quad-card:hover {
    border-color: rgba(212, 167, 74, 0.2);
}

.quad-icon {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.quad-card h6 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.quad-card p {
    margin: 0;
    font-size: 12px;
    color: #555;
}

/* Advanced Layered Image Assembler */
.dual-frame-container {
    position: relative;
    width: 100%;
    padding-top: 10px;
}

.frame-base-landscape {
    width: 90%;
    aspect-ratio: 4 / 3;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.frame-base-landscape img,
.frame-overlay-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.frame-overlay-square {
    position: absolute;
    width: 32%;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    border-radius: 16px;
    top: -30px;
    right: 0;
    overflow: hidden;
    box-shadow: -10px 20px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- Section 2: White Label Styling --- */
.white-label-section {
    background-color: #000;
    padding: 120px 0;
    border-top: 1px solid #111;
}

.white-label-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* Asymmetric Cascading Trio Graphic Module */
.trio-gallery-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.trio-card {
    flex: 1;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.trio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Exact Offset Rules to match image_557b3c.png */
.card-left {
    aspect-ratio: 3 / 4;
    transform: translateY(35px);
}

.card-center {
    aspect-ratio: 3 / 5;
}

.card-right {
    aspect-ratio: 3 / 4;
    transform: translateY(35px);
}

/* White Label Text Formatting */
.white-label-content-side {
    display: flex;
    flex-direction: column;
}

.white-label-description {
    font-size: 15px;
    line-height: 1.6;
    color: #888;
    margin: 0 0 40px 0;
    max-width: 480px;
}

/* Luxury Inline Parameter Ribbon */
.horizontal-attribute-strip {
    display: flex;
    gap: 30px;
    align-items: center;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #bbb;
    font-weight: 500;
}

.strip-item i {
    color: #d4a74a; /* Precise Brand Gold Accent Color */
    font-size: 12px;
}

/* --- Responsive Layout Breakdown --- */
@media (max-width: 1024px) {
    .specs-grid, 
    .white-label-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .specs-content-side,
    .white-label-content-side {
        text-align: center;
        align-items: center;
    }

    .specs-intro,
    .white-label-description {
        margin-left: auto;
        margin-right: auto;
    }

    .specs-visual-side {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    /* Keep ordering logic pure */
    .white-label-grid .trio-visual-side {
        order: 2;
    }
    .white-label-grid .white-label-content-side {
        order: 1;
    }
}

@media (max-width: 768px) {
    .h1-serif {
        font-size: 34px;
    }

    /* Safely reposition overlay graphics on mobile viewports */
    .frame-overlay-square {
        position: relative;
        width: 100%;
        margin-top: 20px;
        top: 0;
        left: 0;
        aspect-ratio: 4 / 3;
    }

    .frame-base-landscape {
        width: 100%;
    }

    /* Convert asymmetric layout to single balanced grid list row to avoid clipping */
    .trio-gallery-wrapper {
        flex-direction: row;
        gap: 12px;
    }

    .card-left, .card-center, .card-right {
        transform: none !important;
        aspect-ratio: 3 / 4 !important;
    }

    .horizontal-attribute-strip {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 30px;
    }
}

@media (max-width: 480px) {
    .specs-quad-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .trio-gallery-wrapper {
        grid-template-columns: 1fr;
        display: grid;
    }
}
/* --- Section 3: Process Track Styling --- */
.process-track-section {
    background-color: #000;
    padding: 120px 0;
    overflow: hidden;
}

.process-main-header {
    margin-bottom: 80px;
    text-align: left;
}

.process-pretitle {
    font-size: 11px;
    letter-spacing: 2px;
    color: #d4a74a; /* Brand Gold */
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* Master Timeline Wrapper Settings */
.timeline-container {
    position: relative;
    width: 100%;
}

/* Horizontal Line Engine running behind nodes */
.timeline-connecting-line {
    position: absolute;
    top: 30px; /* Aligns accurately with the middle of the number badge */
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,167,74,0.4) 0%, rgba(20,20,20,1) 100%);
    z-index: 1;
}

/* Perfect 5-Column Grid Distribution */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

/* Custom Card Animative Component */
.step-node-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Minimalist Number Callout with subtle blur glow on hover */
.step-number-badge {
    width: 60px;
    height: 60px;
    background: #000;
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #888;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.step-card-content {
    background: #080808;
    border: 1px solid #141414;
    border-radius: 16px;
    padding: 25px 20px;
    min-height: 220px; /* Prevents jumping heights across asymmetric card content weights */
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.step-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: 0.3px;
}

.step-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    transition: color 0.3s ease;
}

/* --- Interactive Micro-Animation System --- */
.step-node-card:hover {
    transform: translateY(-8px);
}

.step-node-card:hover .step-number-badge {
    color: #fff;
    border-color: #d4a74a;
    background-color: #d4a74a;
    box-shadow: 0 0 20px rgba(212, 167, 74, 0.4);
}

.step-node-card:hover .step-card-content {
    border-color: rgba(212, 167, 74, 0.25);
    background: #0d0d0d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.step-node-card:hover .step-desc {
    color: #aaa; /* Makes reading easier upon active engagement */
}

/* --- Dynamic Responsive Engine Breakdowns --- */
@media (max-width: 1200px) {
    .process-steps-grid {
        gap: 15px;
    }
    .step-title {
        font-size: 15px;
    }
    .step-desc {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    /* Safe breakdown switch to a vertical tracking framework to optimize horizontal limits */
    .timeline-connecting-line {
        width: 1px;
        height: calc(100% - 60px);
        left: 30px;
        top: 30px;
        background: linear-gradient(180deg, rgba(212,167,74,0.4) 0%, rgba(20,20,20,1) 100%);
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-node-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
        width: 100%;
    }

    .step-number-badge {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-card-content {
        min-height: auto;
        flex-grow: 1;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .process-main-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .step-node-card {
        gap: 15px;
    }

    /* Move line to left edge to squeeze out max space for text panels on tight viewports */
    .timeline-connecting-line {
        left: 20px;
    }

    .step-number-badge {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .step-card-content {
        padding: 20px;
    }
}