/* =========================================
   ABOUT HERO: ASYMMETRIC GRID
   ========================================= */
.about-hero {
    padding-top: calc(var(--nav-height) + 60px);
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hero-grid {
    display: grid;
    grid-template-columns: 80px 1fr 1fr; /* Vertical text | Headline | Block */
    grid-template-rows: auto;
    align-items: end;
    gap: 40px;
}

/* Vertical Ghost Text */
.vertical-ghost {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgba(30, 41, 59, 0.2);
    align-self: start;
}

/* Headline Styling */
.headline-wrapper h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    color: var(--color-text-black);
}

.accent-text {
    color: var(--color-primary);
    display: block;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
}

.structural-line {
    width: 120px;
    height: 4px;
    background: var(--color-dark);
    margin-top: 40px;
}

/* The "Architecture" Box */
.structure-block {
    background-color: var(--color-dark);
    height: 400px;
    width: 120%; /* Bleeds off the right edge */
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.inner-stats {
    color: var(--color-white);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    display: block;
    opacity: 0.3;
}

.stat-label {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Lead text positioning */
.lead-container {
    margin-left: 120px;
    margin-top: 60px;
    max-width: 600px;
}

.lead-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-dark);
}

/* Mobile Tweak */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .vertical-ghost {
        display: none;
    }
    .structure-block {
        width: 100%;
        height: 300px;
    }
    .lead-container {
        margin-left: 0;
    }
}

/* =========================================
   SECTION 2: PARADIGM GRID
   ========================================= */
.about-paradigm {
    padding: 120px 0;
    position: relative;
}

.paradigm-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 80px;
}

.section-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.paradigm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* We want them to feel "joined" */
    align-items: center;
}

/* Common Box Styles */
.paradigm-box {
    padding: 60px;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Traditional: Solid & Dark */
.traditional {
    background-color: var(--color-dark);
    color: var(--color-white);
    transform: translateX(20px); /* Subtle overlap */
    z-index: 1;
}

.traditional h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Proactive: Hollow & Primary */
.proactive {
    border: 2px solid var(--color-primary);
    background-color: var(--color-white);
    z-index: 2;
    box-shadow: 20px 20px 0px rgba(0, 140, 255, 0.05);
}

.proactive h4 {
    font-size: 2.2rem;
    color: var(--color-text-black);
    margin-bottom: 20px;
}

.eyebrow-small {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

/* Tags at the bottom of the boxes */
.box-tag {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.3;
}

.box-tag.accent {
    color: var(--color-primary);
    opacity: 1;
}

/* Structural Detail Line */
.inner-line {
    position: absolute;
    top: 0;
    left: 40px;
    width: 1px;
    height: 100%;
    background: rgba(0, 140, 255, 0.1);
}

/* Responsive Tweak */
@media (max-width: 992px) {
    .paradigm-grid {
        grid-template-columns: 1fr;
    }
    .traditional {
        transform: none;
        min-height: auto;
        padding: 40px;
    }
    .proactive {
        margin-top: -30px; /* Overlap vertically on mobile */
        padding: 40px;
    }
}

/* =========================================
   SECTION 3: AREAS OF COMMAND
   ========================================= */
.about-areas {
    padding: 100px 0;
}

.areas-intro {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-top: 15px;
    opacity: 0.8;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* The Technical Box */
.area-box {
    border: 1px solid rgba(30, 41, 59, 0.1);
    padding: 40px;
    position: relative;
    background: var(--color-white);
    transition: var(--transition);
}

.area-box.accent-box {
    border-color: var(--color-primary);
}

.area-box:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 15px 15px 0px rgba(0, 140, 255, 0.03);
}

/* Coordinate Text (A1, B1, C1) */
.area-coord {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.area-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.area-header i {
    font-size: 2rem;
    color: var(--color-primary);
}

.area-header h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--color-text-black);
}

/* Technical "Leader" Line */
.area-line {
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
}

.area-line::after {
    content: "";
    position: absolute;
    right: -5px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.area-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-dark);
}

/* Mobile */
@media (max-width: 992px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SECTION 4: IMPACT RIBBON
   ========================================= */
.about-impact {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--color-dark);
    padding: 60px 0;
    margin-top: 40px;
}

.impact-ribbon {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.metric-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 700;
    line-height: 1;
}

/* The Ruler Detail */
.metric-ruler {
    position: absolute;
    right: -40%;
    top: 50%;
    display: flex;
    gap: 10px;
    opacity: 0.2;
}

.metric-ruler span {
    width: 1px;
    height: 20px;
    background: var(--color-white);
}

.metric-ruler span:nth-child(2) {
    height: 35px;
    transform: translateY(-7px);
}

/* Mobile */
@media (max-width: 992px) {
    .impact-ribbon {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    .metric-ruler {
        display: none;
    }
}

/* =========================================
   SECTION 5: PROJECT LIFECYCLE CTA
   ========================================= */
.about-cta {
    padding: 150px 0;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-lead {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 60px;
    opacity: 0.8;
}

/* Timeline Logic */
.project-timeline {
    position: relative;
    margin-bottom: 80px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(30, 41, 59, 0.1);
    z-index: 1;
}

.timeline-points {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.point {
    background: var(--bg-light); /* Matches body to hide line behind it */
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-num {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
    background: white;
}

.p-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
}

/* Premium Button Styling */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 45px;
    background-color: var(--color-dark);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--color-dark);
}

.btn-premium:hover {
    background-color: transparent;
    color: var(--color-dark);
    transform: translateY(-3px);
}

.btn-premium i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(8px);
}

/* Mobile */
@media (max-width: 768px) {
    .timeline-points {
        flex-direction: column;
        gap: 30px;
    }
    .timeline-line {
        left: 50%;
        width: 1px;
        height: 100%;
    }
}

/* --- MANIFESTO CTA OVERHAUL --- */
.manifesto-cta {
    background-color: var(--color-dark);
    padding: 120px 0;
    color: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.manifesto-text h2 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
}

.outline-text {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

.manifesto-text p {
    font-size: 1.3rem;
    opacity: 0.8;
    max-width: 500px;
}

.btn-mega {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 2px solid var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.btn-mega .btn-top {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.btn-mega .btn-bottom {
    font-size: 0.9rem;
    color: white;
    opacity: 0.6;
    margin-top: 5px;
}

.btn-mega:hover {
    background-color: var(--color-primary);
}

.btn-mega:hover .btn-top,
.btn-mega:hover .btn-bottom {
    color: white;
    opacity: 1;
}

/* --- INTERSECTION ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MOBILE OPTIMIZATION (THE STACK)
   ========================================= */

@media (max-width: 992px) {
    /* 1. Hero Adjustments */
    .about-hero {
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr; /* Stack headline and block */
        gap: 20px;
    }

    .hero-ghost-large {
        font-size: 150px; /* Scale down so it doesn't cause horizontal scroll */
        top: 30%;
        left: 50%;
    }

    .structure-block {
        width: 100%; /* No longer bleeds off-screen */
        height: 250px;
        margin-top: 20px;
    }

    .lead-container {
        margin-left: 0; /* Align with headline */
        margin-top: 30px;
    }

    /* 2. Paradigm Stacking (The "Interlock" Look) */
    .paradigm-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .traditional {
        transform: none; /* Remove horizontal shift */
        min-height: auto;
        padding: 40px 30px;
        margin-bottom: -20px; /* Negative margin to pull the next box UP */
        z-index: 1;
    }

    .proactive {
        padding: 40px 30px;
        z-index: 2; /* Sits on top of the dark box */
        margin-left: 10px; /* Slight offset to keep it "asymmetric" */
        margin-right: 10px;
        box-shadow: 0 10px 30px rgba(0, 140, 255, 0.1);
    }

    /* 3. Practice Areas & Map */
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-wrapper {
        height: 300px;
    }

    /* 4. Manifesto CTA */
    .manifesto-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .manifesto-text h2 {
        font-size: 3rem;
    }

    .manifesto-text p {
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 480px) {
    .headline-wrapper h1 {
        font-size: 2.8rem; /* Fit mobile screens better */
    }

    .metric-value {
        font-size: 1.8rem;
    }
}
