/* ==========================================================================
   Who We Are page styles (extends style.css)
   Ported structure from hscllc.net/who-we-are, restyled to the HST layout.
   ========================================================================== */

section[id] {
    scroll-margin-top: 80px;
}

.inline-logo {
    height: 1.05em;
    vertical-align: baseline;
    display: inline;
}

/* ---------- Shared section head ---------- */
.section-head-row {
    margin-bottom: 1.75rem;
}

.section-head-row .section-title {
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.section-head-row .section-subtitle {
    font-size: 0.975rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0;
}

/* ---------- Leadership ---------- */
.leadership {
    padding: 3.5rem 0;
    background: var(--color-primary-light);
}

.leader-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e3ebe5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.leader-photo {
    aspect-ratio: 3 / 2;
    background: #e5e7eb;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.leader-body {
    padding: 1.25rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.leader-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.leader-body h3 {
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
}

.leader-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0.2rem 0 0;
}

.leader-linkedin {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    transition: background 0.2s ease, color 0.2s ease;
}

.leader-linkedin:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.leader-body p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-gray);
    margin: 0;
}

.leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.leader-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-black);
    background: var(--color-primary-light);
    border: 1px solid #e3ebe5;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
}

/* ---------- History ---------- */
.history {
    padding: 3.5rem 0;
    background: #ffffff;
}

.history .section-text {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.history-card {
    padding: 1.75rem;
    background: var(--color-dark);
    color: #ffffff;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-card .section-label {
    color: var(--color-lime);
    margin-bottom: 0;
}

.history-card h3 {
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.history-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.history-timeline {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-timeline li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
}

.history-timeline strong {
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-lime);
}

/* ---------- Testimonials ---------- */
.results {
    padding: 3.5rem 0;
    background: var(--color-primary-light);
}

.quote-card {
    height: 100%;
    padding: 1.6rem 1.75rem;
    background: #ffffff;
    border: 1px solid #e3ebe5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
}

.quote-card::before {
    content: '\201C';
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-lime);
    position: absolute;
    top: 0.9rem;
    right: 1.25rem;
}

.quote-card p {
    font-size: 0.925rem;
    line-height: 1.65;
    color: #374151;
    margin: 0;
}

.quote-card footer {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* ---------- Careers ---------- */
.about-careers {
    padding: 3.5rem 0;
    background: var(--color-dark);
    color: #ffffff;
}

.about-careers .section-label {
    color: var(--color-lime);
}

.about-careers .section-title {
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    margin-bottom: 0.75rem;
}

.about-careers .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.975rem;
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 1rem;
}

.careers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.careers-actions .btn-secondary-hst {
    margin-left: 0;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.careers-actions .btn-secondary-hst:hover {
    background: #ffffff;
    color: var(--color-black);
    border-color: #ffffff;
}

.openings-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.75rem;
}

.openings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.openings-head h3 {
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.openings-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-lime);
    background: rgba(158, 198, 66, 0.12);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

.openings-empty {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.openings-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.openings-perks li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.openings-perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 1.5px;
    background: var(--color-lime);
}

.openings-sme {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.openings-sme h4 {
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
}

.openings-sme p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.openings-sme a {
    color: var(--color-lime);
    font-weight: 600;
    text-decoration: none;
}

.openings-sme a:hover {
    text-decoration: underline;
}

/* CTA a bit tighter than the default page-cta */
.page-cta {
    padding: 3.5rem 0;
}

.page-cta-box {
    padding: 3rem 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .leadership,
    .history,
    .results,
    .about-careers,
    .page-cta {
        padding: 2.75rem 0;
    }


}
