/* Collaborate HQ corporate layout — same card language as Blueprint HQ */

html.chq-landing {
    --chq-accent: #588157;
    --chq-accent-dark: #3f5d3c;
    --chq-ink: #1e2937;
    --chq-muted: #64748b;
    --chq-line: #e2e8f0;
    --chq-canvas: #f8fafc;
    --chq-hero-image: url('../images/hero-unsplash-office-two-proxyclick.jpg');
}

html.chq-landing.chq-hero-bg-unsplash-proxyclick {
    --chq-hero-image: url('../images/hero-unsplash-office-two-proxyclick.jpg');
}

html.chq-landing.chq-hero-bg-bp {
    --chq-hero-image: url('../images/hero-scaling-operations.jpg');
}

html.chq-landing,
html.chq-landing body {
    height: auto;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

html.chq-landing body {
    display: block;
    min-height: 100dvh;
    background: #fff;
    position: relative;
    color: #475569;
}

html.chq-landing p {
    font-size: 15px;
    line-height: 1.75;
}

html.chq-landing .heading-title > span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html.chq-landing .heading-title h2 {
    margin-top: 0.35rem;
}

html.chq-landing a:not(.button):not(.nav-link) {
    color: var(--chq-accent-dark);
}

/* Header */
.chq-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    width: 100%;
}

.chq-header .navbar {
    width: 100%;
    max-width: none;
    min-height: 4rem;
}

.chq-header .navbar .container-fluid {
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: none;
}

.chq-header .navbar-brand {
    margin: 16px 0;
    padding: 0;
    width: 80px;
    max-width: 80px;
}

.chq-header .navbar-brand > img {
    width: 100%;
    height: auto;
}

.chq-header .navbar-nav .nav-link {
    color: #fff !important;
    font-size: 0.9rem;
}

.chq-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.chq-nav-toggle span,
.chq-nav-toggle span::before,
.chq-nav-toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
}

.chq-nav-toggle span::before,
.chq-nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.chq-nav-toggle span::before {
    top: -7px;
}

.chq-nav-toggle span::after {
    top: 7px;
}

.chq-mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    padding: 0.75rem 1.25rem 1.25rem;
}

.chq-mobile-nav a {
    display: block;
    color: #fff !important;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

body.chq-nav-open .chq-mobile-nav {
    display: block;
}

/* Hero */
.chq-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
}

.chq-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--chq-hero-image) center center / cover no-repeat;
}

.chq-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 70%);
}

.chq-hero-stack {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 88vh;
    padding: 150px 1rem 0;
}

.chq-hero-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem 3.5rem;
    text-align: center;
}

.chq-hero .hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.9;
    margin: 0 0 0.85rem;
}

.chq-hero .hero-line1,
.chq-hero .hero-line2 {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 24px rgba(0, 0, 0, 0.35);
}

.chq-hero .hero-line1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 200;
    margin: 0 0 0.65rem;
    line-height: 1.25;
}

.chq-hero .hero-line2 {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 500;
    margin: 0.5rem auto 0;
    line-height: 1.55;
    max-width: 36em;
}

.chq-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.6rem;
}

.chq-cta-row .button {
    margin: 0;
}

/* Buttons — match BP density, CHQ accent */
html.chq-landing .button {
    background: var(--chq-accent);
    color: #fff;
    border-color: var(--chq-accent);
}

html.chq-landing .button:hover {
    background: var(--chq-accent-dark);
    color: #fff;
    border-color: var(--chq-accent-dark);
}

html.chq-landing .button.white-btn {
    background: #fff;
    color: var(--chq-ink);
    border-color: #fff;
}

html.chq-landing .button.white-btn:hover {
    background: #f1f5f9;
    color: var(--chq-ink);
}

html.chq-landing .button.ghost-btn {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

html.chq-landing .button.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

/* Proof strip under hero */
.chq-proof {
    background: #0f172a;
    color: #fff;
    padding: 2.25rem 0;
}

.chq-proof .chq-proof-item {
    text-align: center;
    padding: 0.5rem 1rem;
}

.chq-proof strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.35rem;
}

.chq-proof span {
    display: block;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.45;
}

/* Sections */
.chq-section {
    padding: 5.5rem 0;
}

.chq-section.bglight,
.chq-canvas {
    background: var(--chq-canvas);
}

.chq-lead {
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
}

/* Cards — same language as BP .bp-card */
.chq-card {
    height: 100%;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--chq-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.chq-card h3,
.chq-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--chq-ink);
}

.chq-card p:last-child {
    margin-bottom: 0;
}

.chq-card--kicker {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--chq-accent);
    font-weight: 600;
    margin-bottom: 0.55rem;
}

/* Who we are — split + timeline */
.chq-split {
    align-items: flex-start;
}

.chq-split__copy h2 {
    text-align: left;
}

.chq-split__copy .heading-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.chq-callout {
    margin-top: 1.5rem;
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--chq-accent);
    background: var(--chq-canvas);
    border-radius: 0 8px 8px 0;
}

.chq-callout p {
    margin: 0;
    color: var(--chq-ink);
    font-weight: 500;
}

.chq-legal {
    margin-top: 1.75rem;
    font-size: 0.8rem;
    color: var(--chq-muted);
    line-height: 1.6;
}

.chq-timeline {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0;
    position: relative;
}

.chq-timeline::before {
    content: '';
    position: absolute;
    left: 5.15rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: var(--chq-line);
}

.chq-timeline li {
    display: grid;
    grid-template-columns: 4.4rem 1fr;
    gap: 1.35rem;
    padding: 0 0 1.15rem;
    position: relative;
}

.chq-timeline li:last-child {
    padding-bottom: 0;
}

.chq-timeline__year {
    font-weight: 600;
    color: var(--chq-accent);
    font-size: 0.95rem;
    padding-top: 0.85rem;
    text-align: right;
}

.chq-timeline__body {
    padding: 0.85rem 1.1rem;
    background: #fff;
    border: 1px solid var(--chq-line);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.chq-timeline__body p {
    margin: 0;
    color: var(--chq-ink);
}

/* Step cards */
.chq-step {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0 1rem;
    border-radius: 999px;
    background: var(--chq-accent);
    color: #fff;
    font-weight: 600;
    line-height: 2.5rem;
    text-align: center;
}

.chq-step--center {
    margin-left: auto;
    margin-right: auto;
}

/* Team */
.chq-team-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--chq-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.chq-team-card .image {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e2e8f0;
}

.chq-team-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.chq-team-card__meta {
    padding: 1.1rem 1rem 1.25rem;
}

.chq-team-card__meta h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.chq-team-card__meta p {
    margin: 0;
    color: var(--chq-muted);
    font-size: 0.9rem;
}

/* Contact cards */
.chq-contact-card address {
    font-style: normal;
    margin: 0;
}

/* Footer */
.chq-footer {
    background: #0d1117;
    color: #cbd5e1;
    padding: 3.5rem 0 2rem;
}

.chq-footer h3 {
    margin-bottom: 0.75rem;
}

.chq-footer a {
    color: #fff;
}

@media (max-width: 991px) {
    .chq-header .navbar-nav {
        display: none !important;
    }

    .chq-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .chq-split__copy .heading-title,
    .chq-split__copy h2 {
        text-align: center;
    }

    .chq-timeline::before {
        left: 4.35rem;
    }
}

@media (max-width: 575px) {
    .chq-hero-content {
        padding: 0 0.5rem 2.5rem;
    }

    .chq-timeline {
        padding-left: 0;
    }
}
