/* =====================================================================
   Captain Franks Hotdog Emporium — about.css
   About-page-only styles. Shared styles live in main.css.
   ===================================================================== */

/* ---------------------------------------------------------------------
   HOOK
   --------------------------------------------------------------------- */
#about-hook {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    overflow: hidden;
}

.about-hook-img {
    position: relative;
    overflow: hidden;
}

.about-hook-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: var(--captain-orange) 4px solid;
    border-radius: 25px;
}

.about-hook-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem 5rem 5rem;
    border-radius: 25px;
    background: var(--clr-bg, #fff);
}

.about-hook-content .section-label {
    margin-bottom: 1rem;
}

.hook-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.hook-headline em {
    font-style: italic;
    color: var(--captain-orange-deep);
}

.hook-body {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--clr-text-muted, #555);
    max-width: 44ch;
}

/* ---------------------------------------------------------------------
   WHY
   --------------------------------------------------------------------- */
#about-why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    overflow: hidden;
}

/* Image is on the RIGHT for this block */
#about-why .about-block-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 5rem 5rem 7vw;
    background: var(--clr-surface, #faf8f5);
    order: 1;
}

#about-why .about-block-img {
    position: relative;
    overflow: hidden;
    order: 2;
}

#about-why .about-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: var(--captain-orange) 4px solid;
    border-radius: 25px;
}

.why-headline {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.5rem 0 1.25rem;
    letter-spacing: -0.015em;
}

.why-headline em {
    font-style: italic;
    color: var(--captain-orange-deep);
}

.why-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--clr-text-muted, #555);
    max-width: 52ch;
}

/* ---------------------------------------------------------------------
   PROOF / STATS
   --------------------------------------------------------------------- */
#about-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
    overflow: hidden;
}

#about-proof .about-block-img {
    position: relative;
    overflow: hidden;
    order: 1;
}

#about-proof .about-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: var(--captain-orange) 4px solid;
    border-radius: 25px;
}

#about-proof .about-block-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 7vw 5rem 5rem;
    background: var(--clr-bg, #fff);
    border-radius: 25px;
    order: 2;
}

.proof-headline {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.5rem 0 1.5rem;
    letter-spacing: -0.015em;
}

.proof-headline em {
    font-style: italic;
    color: var(--captain-orange-deep);
}

.proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.stat-box {
    background: var(--clr-surface, #faf8f5);
    border-left: 4px solid var(--captain-orange);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--captain-orange-deep);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--font-label);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--clr-text-muted, #666);
}

.proof-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--clr-text-muted, #555);
}

/* ---------------------------------------------------------------------
   TEAM / HUMAN ELEMENT
   --------------------------------------------------------------------- */
#about-team {
    background: var(--clr-surface, #faf8f5);
    padding: 6rem 7vw;
    text-align: center;
}

#about-team .section-title {
    margin-bottom: 0.75rem;
}

#about-team .section-sub {
    margin-bottom: 3.5rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.team-card {
    background: var(--clr-bg, #fff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.team-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.team-card-body {
    padding: 1.5rem 1.75rem 2rem;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
    letter-spacing: -0.01em;
}

.team-role {
    font-family: var(--font-label);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--captain-orange-deep);
    margin-bottom: 0.9rem;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--clr-text-muted, #555);
}

/* ══════════════════════════════════════════════
   RESPONSIVE  (≤ 768px)
══════════════════════════════════════════════ */
@media (max-width: 768px) {
    #about-hook,
    #about-why,
    #about-proof {
        grid-template-columns: 1fr;
        min-height: auto; /* Allow the sections to shrink to content size */
        gap: 0;
    }

    /* Force the image containers to a specific size so they crop correctly */
    .about-hook-img,
    #about-why .about-block-img,
    #about-proof .about-block-img {
        height: 300px; /* This forces the "crop" */
        width: 100%;
        order: 1 !important; /* Puts image on top */
        padding: 1rem 1.5rem 0; /* Adds some breathing room around the border */
    }

    /* Ensure the image fills the 300px box we just made */
    .about-hook-img img,
    #about-why .about-block-img img,
    #about-proof .about-block-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* This does the actual cropping */
        border-radius: 20px; /* Slightly smaller radius for smaller screens */
    }

    .about-hook-content,
    #about-why .about-block-content,
    #about-proof .about-block-content {
        order: 2 !important; /* Puts text below image */
        padding: 2.5rem 1.5rem;
    }

    .proof-stats {
        grid-template-columns: 1fr; /* Stack stats on very small screens */
    }

    #about-team {
        padding: 4rem 1.5rem;
    }
}
