/* Page-local styles extracted from landing/customers.html */

/* =====================================================================
   CUSTOMERS PAGE-LOCAL STYLES
     1. Customer photo frame
     2. Sticky pill nav: left in flow; centers in column when bar is stuck
     3. Section chapter numerals (About-style BG 01 / 02 / 03)
     4. Bullet card (palette-driven)
   ===================================================================== */


/* -- 1. Customer photo frame ------------------------------------- */
.customer-photo {
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(15, 61, 46, 0.04),
        0 28px 60px -28px rgba(15, 61, 46, 0.30);
    border: 1px solid #E3DBCD;
}


/* -- 2. Sticky pill nav (same system as product_section) ---------- */
.customers-nav-row {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}
/* Compact pill bar: beige track; inactive = text only; active = white inset pill */
.product-tabs {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1px;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 3px;
    background: var(--bone);
    border: 1px solid var(--rule);
    border-radius: 9999px;
    box-shadow:
        0 1px 2px rgba(15, 61, 46, 0.05),
        0 4px 12px -4px rgba(15, 61, 46, 0.08);
    transition:
        background-color 200ms ease,
        box-shadow 200ms ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
    .product-tabs {
        transition:
            background-color 200ms ease,
            box-shadow 200ms ease;
    }
}
.product-tab {
    flex: 0 1 auto;
    padding: 6px 8px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--stone);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
    white-space: nowrap;
}
@media (min-width: 480px) {
    .product-tabs {
        gap: 2px;
        padding: 4px;
    }
    .product-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .product-tab {
        padding: 9px 14px;
        font-size: 13px;
    }
}
@media (hover: hover) {
    .product-tab:not(.is-active):hover {
        color: var(--ink);
    }
}
.product-tab.is-active {
    background: #ffffff;
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(15, 61, 46, 0.10);
}

/* Each firm-type panel is always visible; spacing + hairline rule
   separates them in the continuous scroll layout. */
.customer-panel {
    scroll-margin-top: 8rem;
}
.customer-panel + .customer-panel {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--rule);
}
@media (min-width: 768px) {
    .customer-panel + .customer-panel {
        margin-top: 6rem;
        padding-top: 6rem;
    }
}

/* -- 3. Chapter numerals (matches about.html about-chapter-num) -- */
.customer-chapter {
    position: relative;
    overflow: hidden;
}
.customer-chapter-num {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    pointer-events: none;
    user-select: none;
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(4.5rem, 14vw, 9rem);
    line-height: 1;
    color: rgba(15, 61, 46, 0.10);
}
@media (min-width: 640px) {
    .customer-chapter-num { left: 2.5rem; }
}
.customer-chapter.bg-bone .customer-chapter-num {
    color: rgba(15, 61, 46, 0.12);
}


/* -- 4. Bullet card --------------------------------------------- */
.customer-bullet {
    background: #FFFFFF;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: border-color 220ms ease, transform 220ms ease;
}
@media (hover: hover) {
    .customer-bullet:hover {
        transform: translateY(-1px);
        border-color: #C8B99E;
    }
}
.customer-bullet-dot {
    width: 5px;
    height: 5px;
    border-radius: 9999px;
    background: var(--forest);
    margin-top: 7px;
    flex-shrink: 0;
}


/* -- 5. Metric + quote row -------------------------------------- */
.customer-metric {
    background: var(--bone);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 16px 24px;
    min-width: 160px;
}
.customer-metric-num {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--forest);
}
.customer-metric-label {
    font-size: 11px;
    color: var(--stone);
    margin-top: 4px;
    line-height: 1.4;
}
.customer-quote {
    background: #FFFFFF;
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 16px 24px;
    flex: 1 1 240px;
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.customer-quote-text {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: 15px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
}
.customer-quote-author {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 8px 0 0;
}
    
