/* ==========================================================================
   /about — About page redesign v4
   Design tokens: lime #CDEA2F, black #111827, card radius 20px/16px
   All classes prefixed abt2- to avoid collisions with old abt- rules
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Design tokens
   --------------------------------------------------------------------------- */
:root {
    --abt-lime:    #ccea4a;
    --abt-black:   #000;
    --abt-grey:    #4b5563;
    --abt-muted:   #9ca3af;
    --abt-border:  #e5e7eb;
    --abt-surface: #f9fafb;
}

/* ---------------------------------------------------------------------------
   Outer container — full width, centered, horizontal padding
   --------------------------------------------------------------------------- */
.abt2-outer {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px 15px;
    border-top: 1px dotted var(--abt-border);
}

@media (min-width: 1900px) {
    .abt2-outer {
        max-width: 1680px;
    }
}

/* Hero and story sections share the lime zone — suppress the border between them */
.abt2-outer--no-border,
.abt2-outer:first-of-type {
    border-top: none;
}

/* ---------------------------------------------------------------------------
   SECTION 1: HERO — LIME card, left/right layout
   --------------------------------------------------------------------------- */
.abt2-hero {
    background: var(--abt-lime);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 900px) {
    .abt2-hero {
        flex-direction: column;
        padding: 36px 28px;
        gap: 32px;
    }
}

.abt2-hero-left {
    flex: 1 1 55%;
}

.abt2-hero-h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--abt-black);
    margin: 0 0 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (max-width: 640px) {
    .abt2-hero-h1 { font-size: 2rem; }
}

.abt2-hero-sub {
    color: var(--abt-black);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 1.75rem;
    max-width: 520px;
    opacity: 0.8;
}

.abt2-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Trust pills — single horizontal row on desktop, top-right of the card */
.abt2-hero-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    align-self: flex-start;
    flex-wrap: nowrap;
}

@media (max-width: 1100px) {
    .abt2-hero-right {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .abt2-hero-right {
        flex-wrap: wrap;
        gap: 8px;
        align-self: auto;
    }
}

/* Trust pills: BLACK background, WHITE text — against lime card */
.abt2-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    background: #000;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.abt2-trust-pill:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #fff;
}

.abt2-stars {
    color: #f59e0b;
    letter-spacing: 1px;
    font-size: 0.6rem;
}

.abt2-trust-text {
    font-weight: 600;
    font-size: 0.6rem;
    color: #fff;
}

/* ---------------------------------------------------------------------------
   Buttons — general
   --------------------------------------------------------------------------- */

/* Lime button — for use on dark (CTA) backgrounds */
.abt2-btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    height: 44px;
    border-radius: 999px;
    background: var(--abt-lime);
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
    border: none;
}

.abt2-btn-lime:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #000;
}

/* Black button — PRIMARY on lime hero card */
.abt2-btn-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    height: 44px;
    border-radius: 999px;
    background: var(--abt-black);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
    border: none;
}

.abt2-btn-black:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #fff;
}

/* White button — SECONDARY on lime hero card */
.abt2-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    color: var(--abt-black);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1.5px solid rgba(0,0,0,0.15);
    transition: border-color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.abt2-btn-white:hover {
    border-color: rgba(0,0,0,0.35);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--abt-black);
}

/* Outline button — for use on dark (CTA) backgrounds */
.abt2-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    height: 44px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: border-color 0.15s;
    white-space: nowrap;
}

.abt2-btn-outline:hover {
    border-color: rgba(255,255,255,0.65);
    color: #fff;
    text-decoration: none;
}

/* Dark button — for use on white/light backgrounds */
.abt2-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    height: 44px;
    border-radius: 999px;
    background: var(--abt-black);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
    border: none;
}

.abt2-btn-dark:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #fff;
}

/* ---------------------------------------------------------------------------
   Eyebrow pill — lime background, exact spec
   --------------------------------------------------------------------------- */
.abt2-eyebrow {
    display: inline-block;
    background: #ebf7b7;
    color: #111827;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ---------------------------------------------------------------------------
   Section heading patterns
   --------------------------------------------------------------------------- */
.abt2-section-head {
    margin-bottom: 1.75rem;
}

.abt2-section-head--center {
    text-align: left;
}

.abt2-h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--abt-black);
    margin: 0 0 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 640px) {
    .abt2-h2 { font-size: 1.5rem; }
}

.abt2-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--abt-black);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.abt2-subtitle {
    color: var(--abt-grey);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.abt2-prose {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--abt-grey);
    margin: 0 0 1rem;
}

.abt2-prose:last-child {
    margin-bottom: 0;
}

.abt2-prose strong {
    color: var(--abt-black);
}

.abt2-prose a {
    color: var(--abt-black);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   SECTION 2: OUR STORY — 2-column layout
   --------------------------------------------------------------------------- */
.abt2-story-grid {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .abt2-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.abt2-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.abt2-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Showcase thumbnail strip — flex row with rounded square cards */
.abt2-showcase-strip {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.abt2-showcase-strip::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1024px) {
    .abt2-showcase-strip {
        flex-wrap: wrap;
    }
}

.abt2-showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 1 1 0;
    aspect-ratio: 1;
    min-width: 80px;
    background: var(--abt-surface);
    text-decoration: none;
    display: block;
}

.abt2-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.abt2-showcase-card:hover img {
    transform: scale(1.07);
}

.abt2-showcase-card:nth-child(1) { background: #e8f4fd; }
.abt2-showcase-card:nth-child(2) { background: #f0f7ee; }
.abt2-showcase-card:nth-child(3) { background: #fef3e2; }
.abt2-showcase-card:nth-child(4) { background: #fce8e8; }

.abt2-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.abt2-showcase-card:hover .abt2-showcase-overlay {
    opacity: 1;
}

.abt2-showcase-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.abt2-showcase-style {
    font-size: 0.625rem;
    color: var(--abt-lime);
    margin-top: 1px;
}

/* ---------------------------------------------------------------------------
   SECTION 3: OUR LIBRARY — heading + button on same line, NO stats
   --------------------------------------------------------------------------- */
.abt2-library-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.abt2-library-action {
    flex-shrink: 0;
    padding-bottom: 4px;
}

/* ---------------------------------------------------------------------------
   SECTION 4: DESIGN PHILOSOPHY — header row, full-width image, 2-column text
   --------------------------------------------------------------------------- */

/* Header row: eyebrow+H2+subtitle on left, avatar circles on right */
.abt2-philosophy-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

/* Stacked circular avatars — overlapping like a team cluster */
.abt2-philosophy-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    align-self: center;
}

.abt2-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    margin-left: -12px;
    background: var(--abt-surface);
}

.abt2-avatar-img:first-child {
    margin-left: 0;
}

.abt2-philosophy-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    margin-bottom: 2rem;
    object-fit: cover;
    max-height: 420px;
}

/* Two-column layout — left column has a 1px border-right divider */
.abt2-philosophy-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.abt2-philosophy-col {
    padding: 0 32px;
    border-left: 3px solid var(--abt-lime);
    padding-left: 20px;
}

.abt2-philosophy-col:first-child {
    padding-right: 40px;
}

.abt2-philosophy-col:last-child {
    padding-right: 0;
}

@media (max-width: 768px) {
    .abt2-philosophy-cols {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .abt2-philosophy-col:first-child {
        padding-right: 0;
        padding-bottom: 28px;
    }

    .abt2-philosophy-col:last-child {
        padding-right: 0;
    }
}

/* ---------------------------------------------------------------------------
   SECTION 5: VALUES — clean borderless 4-column layout
   --------------------------------------------------------------------------- */
.abt2-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

@media (max-width: 900px) {
    .abt2-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .abt2-values-grid {
        grid-template-columns: 1fr;
    }
}

/* No card background, no border-radius, no shadow — clean spec */
.abt2-value-card {
    background: transparent;
    border-radius: 0;
    padding: 28px 24px 28px 0;
    text-align: left;
    border: none;
}

.abt2-value-card + .abt2-value-card {
    padding-left: 24px;
}

.abt2-value-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 16px;
    display: block;
}

.abt2-value-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--abt-black);
    margin: 0 0 8px;
}

.abt2-value-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--abt-grey);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   SECTION 6: MEET OUR CREATORS — horizontal founder cards, 2-column
   --------------------------------------------------------------------------- */
.abt2-team-photo {
    width: 100%;
    border-radius: 16px;
    display: block;
    margin-bottom: 2rem;
    object-fit: cover;
    max-height: 280px;
}

.abt2-founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .abt2-founders-grid {
        grid-template-columns: 1fr;
    }
}

/* Founder card: image left, bio text right (horizontal layout) */
.abt2-founder-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    align-items: flex-start;
    border: none;
}

@media (max-width: 480px) {
    .abt2-founder-card {
        flex-direction: column;
        gap: 16px;
    }
}

/* Photo — 3/4 aspect ratio feel, constrained */
.abt2-founder-img {
    width: 200px;
    height: 240px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .abt2-founder-img {
        width: 160px;
        height: 110px;
    }
}

.abt2-founder-info {
    flex: 1;
}

.abt2-founder-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--abt-black);
    margin: 0 0 2px;
}

.abt2-founder-role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--abt-grey);
    margin-bottom: 10px;
}

.abt2-founder-bio {
    font-size: 13px;
    line-height: 1.65;
    color: var(--abt-grey);
    margin: 0 0 12px;
}

.abt2-founder-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--abt-muted);
}

.abt2-founder-location svg {
    color: var(--abt-muted);
    flex-shrink: 0;
}

/* (Testimonials section removed per design) */

/* ---------------------------------------------------------------------------
   SECTION 8: COMPANY INFO — table left, description right
   --------------------------------------------------------------------------- */
.abt2-company-grid {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .abt2-company-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.abt2-company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.abt2-company-table th,
.abt2-company-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--abt-border);
    text-align: left;
    vertical-align: top;
}

.abt2-company-table th {
    font-weight: 700;
    color: var(--abt-black);
    width: 130px;
    padding-right: 16px;
    white-space: nowrap;
}

.abt2-company-table td {
    color: var(--abt-grey);
    line-height: 1.5;
}

/* Social icons row */
.abt2-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.abt2-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--abt-surface);
    border: 1px solid var(--abt-border);
    color: var(--abt-grey);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.abt2-social-link:hover {
    background: var(--abt-black);
    color: #fff;
    border-color: var(--abt-black);
    text-decoration: none;
}

/* ---------------------------------------------------------------------------
   CTA — dark card at the bottom
   --------------------------------------------------------------------------- */
.abt2-cta {
    background: var(--abt-black);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
}

@media (max-width: 640px) {
    .abt2-cta {
        padding: 40px 24px;
    }
}

.abt2-cta-h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

@media (max-width: 640px) {
    .abt2-cta-h2 { font-size: 1.5rem; }
}

.abt2-cta-sub {
    color: var(--abt-muted);
    font-size: 1rem;
    margin: 0 0 1.75rem;
}

.abt2-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
