/* ============================================================
   COMPANY PAGE — specific styles
   ============================================================ */

/* Hero */
.company-hero {
    padding-top: 160px;
    padding-bottom: 0;
}

.company-hero .hero-image-container {
    margin-top: 64px;
}

.company-hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 120px;
    font-weight: 300;
    letter-spacing: -2.4px;
    line-height: 114px;
    margin-bottom: 48px;
    max-width: 1100px;
}

.company-hero-intro {
    max-width: 640px;
}

.company-hero-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.company-hero-intro p:last-child {
    margin-bottom: 0;
}

/* Shared section layout — eyebrow left, content right
   (mirrors .services-layout from the homepage) */
.company-section {
    padding: 96px 0;
}

.company-section-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: start;
}

.company-section-label {
    padding-top: 6px;
    margin-bottom: 0;
}

.company-section-content {
    min-width: 0;
}

.company-section-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    opacity: 0.8;
    margin-bottom: 16px;
    max-width: 640px;
}

.company-section-content p:last-child {
    margin-bottom: 0;
}

/* Trusted by — text strip (mirrors hero .trust-line) */
.company-logos-line {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: rgb(10, 10, 10);
    opacity: 0.8;
    margin-top: 24px !important;
    max-width: none !important;
}

.company-partner-line {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(10, 10, 10, 0.8);
    margin-top: 32px !important;
    width: fit-content;
    padding: 12px 20px;
    background: #ffffff;
    background-image: linear-gradient(90deg,
        rgba(242, 80, 34, 0.08) 0%,
        rgba(127, 186, 0, 0.08) 33%,
        rgba(0, 164, 239, 0.08) 66%,
        rgba(255, 185, 0, 0.08) 100%);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(10, 10, 10, 0.12),
                0 1px 3px rgba(10, 10, 10, 0.06);
}

.partner-ms-logo {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}

@media (max-width: 480px) {
    .company-partner-line {
        font-size: 16px;
        max-width: 100%;
        padding: 12px 18px;
    }
}

/* Founding team grid — sits inside the right (2fr) content column,
   3 columns across, same visual weight as the services-offer-grid
   on the homepage */
.company-founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px !important;
    max-width: none !important;
}

.company-founder-card {
    display: flex;
    flex-direction: column;
}

.company-founder-image {
    aspect-ratio: 4 / 5;
    background-color: rgb(243, 238, 231);
    overflow: hidden;
    margin-bottom: 16px;
}

.company-founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-founder-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: normal;
    color: rgb(10, 10, 10);
    margin: 0 0 4px;
}

.company-founder-role {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(10, 10, 10, 0.6);
}

.company-founders-credibility {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(10, 10, 10, 0.6);
    margin-top: 32px !important;
    max-width: 720px;
}

/* Get in touch — CTA spacing */
.company-contact .cta-btn {
    margin-top: 24px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
    .company-hero h1 {
        font-size: 88px;
        letter-spacing: -1.76px;
        line-height: 83.6px;
    }
}

@media (max-width: 768px) {
    .company-hero {
        padding-top: 120px;
        padding-bottom: 0;
    }

    .company-hero .hero-image-container {
        margin-top: 40px;
    }

    .company-hero h1 {
        font-size: 56px;
        letter-spacing: -1.12px;
        line-height: 53px;
        margin-bottom: 32px;
    }

    .company-hero-intro p {
        font-size: 16px;
        line-height: 24px;
    }

    .company-section {
        padding: 64px 0;
    }

    .company-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .company-section-label {
        padding-top: 0;
    }

    .company-founders-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 48px;
    }

    .company-founder-image {
        aspect-ratio: 4 / 5;
    }
}
