/* css/brandcraft.css */

/* Typography Utilities */
.section-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bc-divider-short {
    width: 60px;
    height: 2px;
    background-color: var(--text-primary);
    margin-top: 2.5rem;
}

.bc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    position: relative;
    z-index: 10;
}

/* 02. SECTION ONE — HERO */
.brandcraft-hero {
    position: relative;
    padding: 16rem 5vw 10rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

/* Full Width Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* White overlay so the text remains easy to read */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 0.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.brandcraft-hero .hero-main {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-support {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
}

.brand-statement {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    line-height: 2;
    color: var(--text-primary);
    font-weight: 600;
}

/* 03. SECTION TWO — DISCIPLINES GRID */
.brandcraft-disciplines {
    padding: 8rem 0;
}

.discipline-row {
    display: grid;
    /* Desktop 4-Column Layout */
    grid-template-columns: 8% 35% 42% 15%;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.discipline-row.active {
    padding-bottom: 4rem;
}

/* Base Columns */
.col-num {
    grid-column: 1;
    font-size: 1.2rem;
    font-weight: 800;
}

.col-heading {
    grid-column: 2;
    padding-right: 2rem;
}

.col-heading .tech-title {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.col-desc {
    grid-column: 3;
    padding-right: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    transition: opacity 0.3s ease;
}

.discipline-row.active .col-desc {
    opacity: 0;
    pointer-events: none;
}

.col-action {
    grid-column: 4;
    text-align: right;
}

.explore-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.explore-btn:hover {
    opacity: 0.7;
}

/* 04. EXPANDED EDITORIAL CONTENT */
.col-expanded {
    grid-column: 1 / -1;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.discipline-row.active .col-expanded {
    grid-template-rows: 1fr;
}

.expanded-inner-container {
    overflow: hidden;
}

.expanded-flex {
    display: flex;
    gap: 4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.discipline-row.active .expanded-flex {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.expanded-text-content {
    flex: 1;
}

.expanded-image-wrapper {
    width: 38%;
    flex-shrink: 0;
}

.expanded-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.expanded-list-title {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.expanded-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 3rem;
}

.expanded-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    break-inside: avoid-column;
}

.expanded-list li strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

/* 05. DIRECT IMAGE STYLING */
.bc-image {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.02);
    display: block;
}

.ratio-4-3 {
    aspect-ratio: 4/3;
}

.ratio-3-4 {
    aspect-ratio: 4/5;
}

/* 06. RESPONSIVE DESIGN & MOBILE FIXES */
@media (max-width: 1024px) {
    .discipline-row {
        grid-template-columns: 8% 30% 47% 15%;
    }

    .brandcraft-hero .hero-main {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-right {
        display: none;
    }
}

@media (max-width: 900px) {
    .brandcraft-hero {
        padding: 12rem 5vw 6rem;
        min-height: auto;
    }

    .brandcraft-hero .hero-main {
        font-size: 3rem;
    }

    /* Natural stacked flow for mobile discipline rows without absolute grid row conflicts */
    .discipline-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem 0;
    }

    .col-num {
        font-size: 1rem;
        color: var(--text-secondary);
    }

    .col-heading {
        padding-right: 0;
        width: 100%;
    }

    .col-heading .tech-title {
        font-size: 1.8rem;
    }

    .col-desc {
        padding-right: 0;
        width: 100%;
    }

    /* Places the explore button cleanly below description on mobile */
    .col-action {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
    }

    .explore-btn {
        display: inline-block;
    }

    .col-expanded {
        width: 100%;
        grid-column: auto;
    }

    .expanded-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .expanded-image-wrapper {
        width: 100%;
    }

    .expanded-list {
        columns: 1;
    }
}