/* Hero image height */
@media (min-width: 1024px) {
    .design-hero-img {
        height: 630px;
    }
}

/* ============================================
 * About Page Styles
 * Only loaded on the About page
 * ============================================ */

/* ============================================
 * Shared Section Typography (aligned with design page / homepage)
 * ============================================ */
.about-label {
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #b71c1c;
    margin-bottom: 0.5rem;
}
.about-section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    color: #1a1a1a;
    line-height: 1.2;
}
@media (min-width: 1024px) {
    .about-section-heading {
        font-size: 3.7rem;
        line-height: 4.1rem;
    }
}
.about-section-body {
    font-size: 1rem;
    color: #666;
    line-height: 1.625;
}
@media (min-width: 1024px) {
    .about-section-body {
        font-size: 1.25rem;
    }
}
.about-section-body-wrap {
    max-width: 100%;
}

/* Who We Are — 60/40 split on desktop */
@media (min-width: 1024px) {
    .about-who-we-are {
        grid-template-columns: 60fr 40fr;
    }
    .about-who-right {
        padding-top: 1.8rem;
    }
}

/* Image hover lift + shadow */
.about-img-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-img-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ============================================
 * About-Specific Image Heights
 * ============================================ */
.about-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    min-height: 200px;
}
@media (min-width: 1024px) {
    .about-img {
        aspect-ratio: auto;
        height: 750px;
    }
}

/* Manufacturing Strength — 8rem gap on desktop, override fp-first-pt to 4rem */
/* Mobile: tighten gap below the video block */
.fp-first-pt:has(.about-manufacturing-grid) {
    padding-top: 2rem;
}
@media (min-width: 1024px) {
    .about-manufacturing-grid {
        gap: 8rem;
    }
    .fp-first-pt:has(.about-manufacturing-grid) {
        padding-top: 4rem;
    }
}

/* Design Team — 40/60 split + 2x gap on desktop */
@media (min-width: 1024px) {
    .about-design-team-grid {
        grid-template-columns: 42fr 58fr;
        gap: 7rem;
    }
}
/* Design Team — increase gap to sections above and below */
.fp-section-pt:has(.about-design-team-grid) {
    padding-top: 2rem;
}
.fp-pb-8:has(.about-design-team-grid) {
    padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
    .fp-section-pt:has(.about-design-team-grid) {
        padding-top: 6rem;
    }
    .fp-pb-8:has(.about-design-team-grid) {
        padding-bottom: 6rem;
    }
}

/* ============================================
 * Design Team — Carousel Dots
 * ============================================ */
.about-team-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 10;
}

/* Ensure carousel has positioning context for dots */
#about-team-carousel {
    position: relative;
}
.about-team-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}
.about-team-dot.active {
    background: #fff;
}

/* ============================================
 * Stats Grid
 * ============================================ */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.about-stat-num {
    font-size: 3rem;
    font-weight: 600;
    color: #b71c1c;
}
.about-stat-unit {
    font-size: 3rem;
    font-weight: 600;
    color: #b71c1c;
}
.about-stat-label {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Video Section — half white / half gray background + override fp-pb-8 to 4rem */
.about-video-wrap.fp-pb-8 {
    padding-bottom: 2rem;
}
@media (min-width: 1024px) {
    .about-video-wrap {
        background: linear-gradient(to bottom, #fff 50%, #f5f5f5 50%);
    }
    .about-video-wrap.fp-pb-8 {
        padding-bottom: 4rem;
    }
}

/* ============================================
 * Video Section
 * ============================================ */
.about-video-container {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-video-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #334155, #0f172a);
}
.about-video-btn {
    position: relative;
    z-index: 10;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.about-video-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile: smaller stats */
@media (max-width: 767px) {
    .about-video-wrap.fp-section-pt {
        padding-top: 1.5rem;
    }
    .about-design-team-grid .about-section-heading {
        margin-bottom: 1rem;
    }
    .about-design-team-grid .about-section-body-wrap {
        margin-bottom: 1rem;
    }
    .about-stat-num {
        font-size: 1.75rem;
    }
    .about-stat-unit {
        font-size: 1.75rem;
    }
}

/* ============================================
 * CTA — aligned with customization page CTA
 * ============================================ */
.about-page-cta .design-cta-title {
    font-size: 2.25rem;
}
.about-page-cta .design-cta-text {
    font-size: 1rem;
}
@media (min-width: 1024px) {
    .about-page-cta .design-cta-title {
        font-size: 4.5rem;
    }
    .about-page-cta .design-cta-text {
        font-size: 1.4rem;
        max-width: 65rem;
    }
}
