/* 
   ABOUT PAGE REDESIGN 
   Inspired by Parable Aesthetic - Acting as UI Designer 
*/

:root {
    --about-ink: #3C2A1E;
    --about-clay: #A45D39;
    --about-paper: #FDFBFA;
    --about-gold: #D4AF37;
    --brand-dark-brown: #3C2A1E;
}

.hero-kicker {
    font-family: var(--font-body);
    color: var(--about-gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.editorial-heading-dark {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--brand-dark-brown);
    line-height: 1;
}

.section-tag-light {
    font-family: var(--font-body);
    color: var(--about-gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.editorial-heading-light {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--about-paper);
    line-height: 0.95;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

/* SECTION 1: ATMOSPHERIC HERO */
.about-hero-atmos {
    min-height: 100vh;
    background: linear-gradient(rgba(30, 20, 15, 0.8), rgba(30, 20, 15, 0.4)), url('../assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 10;
    padding-block: 10rem;
    overflow: hidden;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Asymmetric for better visual weight */
    gap: clamp(4rem, 8vw, 12rem);
    align-items: flex-start; /* Align headings horizontally */
    width: 100%;
    padding-top: 4rem; /* Move content up for better visibility */
}

.hero-left-content {
    text-align: left;
}

.hero-left-content h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-left-content .hero-lede {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: #ffffff !important;
    opacity: 1;
    max-width: 48ch;
    margin-bottom: 3rem;
    font-family: var(--font-body);
}

/* VERTICAL PILLAR CARD (Refined Visual Hierarchy) */
.pillar-card.vertical-layout {
    background: rgba(253, 251, 250, 0.9); /* More opaque for better readability */
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: clamp(3rem, 5vw, 6rem);
    /* Calculate precise distance to viewport edge */
    margin-right: calc( (100vw - 100%) / -2 - 2rem ); 
    padding-right: calc( (100vw - 100%) / 2 + 5rem ); 
    
    border-radius: 4rem 0 0 4rem;
    box-shadow: -40px 0 100px rgba(0, 0, 0, 0.1);
    width: auto;
    margin-left: 0;
    border: none;
    border-left: 1px solid rgba(164, 93, 57, 0.1); 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vertical-layout h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 0.95;
    margin-bottom: 3.5rem;
    color: var(--brand-dark-brown);
    letter-spacing: -0.03em;
    font-weight: 700;
}

.pillar-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Increased gap for better spacing */
}

.pillar-mini-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 2rem;
    border: 1px solid rgba(60, 42, 30, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(60, 42, 30, 0.02);
}

.pillar-mini-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(60, 42, 30, 0.1);
    border-color: var(--about-clay);
}

/* Individual Item Accents */
.pillar-mini-item:nth-child(1) i {
    background: var(--about-gold);
    color: white;
}

.pillar-mini-item:nth-child(2) i {
    background: var(--about-clay);
    color: white;
}

.pillar-mini-item:nth-child(3) i {
    background: var(--about-ink);
    color: white;
}

.pillar-mini-item i {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    padding: 10px;
    transition: transform 0.3s ease;
}

.mini-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--brand-dark-brown);
    font-family: var(--font-body);
    /* Changed to body for better legibility in small spots */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mini-content p {
    font-size: 0.95rem;
    color: #6D6A66;
    line-height: 1.4;
    margin: 0;
    font-family: var(--font-body);
}

.pillar-card[data-reveal="true"] {
    transform: translateY(0);
    opacity: 1;
}

.pillar-card:not([data-reveal="true"]) {
    transform: translateY(100px);
    opacity: 0;
}

.pillar-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--brand-dark-brown);
    line-height: 1;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.pillar-item {
    text-align: center;
}

.pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    color: var(--about-gold);
}

.pillar-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
}

.pillar-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--about-ink);
}

.pillar-item p {
    font-family: var(--font-body);
    color: #666;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    margin-bottom: 2rem;
}

.pillar-link {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--about-ink);
    text-decoration: none;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--about-gold);
    transition: all 0.3s ease;
}

.pillar-link:hover {
    color: var(--about-clay);
    border-bottom-color: var(--about-clay);
}

/* SECTION 3 & 5: VIEWPORT SPLITS */
.about-split {
    padding-block: clamp(5rem, 10vw, 10rem);
    background: var(--about-paper);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.about-split.brown-theme {
    background: var(--brand-dark-brown);
}

.swot-desc.light p {
    color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light {
    display: inline-flex;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--about-paper);
    text-decoration: none;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--about-paper);
    color: var(--brand-dark-brown);
}

.about-split .container {
    position: relative;
    z-index: 5;
}

.split-copy {
    width: 50%;
    max-width: 550px;
}

.about-split.reverse .split-copy {
    margin-right: auto;
    padding-right: 4rem;
}

.about-split:not(.reverse) .split-copy {
    margin-left: auto;
    padding-left: 4rem;
}

.split-visual-viewport {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45vw;
    /* Slightly less than 50% to give breathing room */
    aspect-ratio: 1/1;
    z-index: 1;
}

.about-split.reverse .split-visual-viewport {
    right: 0;
}

.about-split:not(.reverse) .split-visual-viewport {
    left: 0;
}

.viewport-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.inner-round-left {
    border-radius: 8rem 0 0 8rem;
    /* Inner corners rounded, Outer touch viewport */
}

.inner-round-right {
    border-radius: 0 8rem 8rem 0;
    /* Inner corners rounded, Outer touch viewport */
}

.viewport-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.viewport-img-wrapper:hover .viewport-img {
    transform: scale(1.08);
}


/* SECTION 6: TESTIMONIAL */

/* SECTION 6: DATA ART (REFINED) */
.swot-section {
    padding-block: 10rem;
    background: #F8F6F4;
    /* Subtle warm paper background */
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.swot-header-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 8rem;
}

.swot-mandate {
    max-width: 500px;
}

.swot-desc p {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: #555;
    line-height: var(--line-height-base);
}

.strategic-scorecard {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2.5rem;
    padding: 4rem;
    position: relative;
    box-shadow: 0 40px 100px rgba(60, 42, 30, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.score-item {
    width: 100%;
}

.score-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-dark-brown);
}

.score-info span:last-child {
    color: var(--about-clay);
}

.score-bar {
    width: 100%;
    height: 8px;
    background: #F0F0F0;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(to right, var(--about-gold), var(--about-clay));
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Trigger animation on page reveal or scroll */
.strategic-scorecard.reveal .score-fill {
    transform: scaleX(1);
}

/* Metrics Grid - More Color & Contrast */
.swot-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.metric-card {
    background: #FFFFFF;
    padding: 4rem 3rem;
    border-radius: 2rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 4px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Distinct card accents */
.swot-metrics-grid .metric-card:nth-child(1) {
    border-top-color: var(--about-gold);
}

.swot-metrics-grid .metric-card:nth-child(2) {
    border-top-color: var(--about-clay);
}

.swot-metrics-grid .metric-card:nth-child(3) {
    border-top-color: var(--brand-dark-brown);
}

.metric-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(60, 42, 30, 0.08);
}

.metric-icon {
    margin-bottom: 2rem;
    display: inline-flex;
    padding: 1rem;
    background: var(--about-paper);
    border-radius: 1rem;
}

.metric-card:nth-child(1) .metric-icon {
    color: var(--about-gold);
}

.metric-card:nth-child(2) .metric-icon {
    color: var(--about-clay);
}

.metric-card:nth-child(3) .metric-icon {
    color: var(--brand-dark-brown);
}

.metric-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5px;
}

.metric-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--brand-dark-brown);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.metric-card p {
    font-family: var(--font-body);
    color: #666;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

@media (max-width: 991px) {
    .swot-header-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .swot-mandate {
        max-width: none;
        margin-inline: auto;
    }

    .swot-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .about-split {
        min-height: auto;
        padding-block: 5rem;
    }

    .about-split .container {
        display: flex;
        flex-direction: column;
    }

    .split-copy {
        width: 100%;
        max-width: none;
        padding: 0 !important;
        order: 2;
        margin-top: 3rem;
    }

    .split-visual-viewport {
        position: relative;
        top: 0;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
        order: 1;
    }

    .inner-round-left,
    .inner-round-right {
        border-radius: 4rem;
        /* Standard rounded on mobile */
    }
}