/* ============================================
   About page — Chalkwell Recruitment
   ============================================ */

.ab-page {
    --ab-ink: var(--navy);
    --ab-accent: var(--primary-blue);
    --ab-soft: var(--light-blue);
    --ab-muted: var(--text-muted);
    --ab-line: rgba(10, 17, 40, 0.08);
    background: #f7f9fc;
    color: var(--ab-ink);
}

/* Hero */
.ab-hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: flex-end;
    padding: 96px 0 72px;
    overflow: hidden;
    color: #fff;
}

.ab-hero-media,
.ab-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ab-hero-media img {
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.04);
    animation: abKen 18s ease-out forwards;
}

@keyframes abKen {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

.ab-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(5, 12, 32, 0.93) 0%, rgba(8, 18, 48, 0.8) 46%, rgba(10, 17, 40, 0.48) 100%),
        linear-gradient(0deg, rgba(5, 12, 32, 0.55) 0%, transparent 42%);
}

.ab-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    animation: abRise 0.7s ease both;
}

@keyframes abRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.ab-brand {
    margin: 0 0 14px;
    font-size: clamp(2.3rem, 5.2vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.ab-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.ab-hero-lead {
    margin: 0 0 28px;
    max-width: 540px;
    font-size: 1.06rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

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

.ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ab-btn:hover {
    transform: translateY(-1px);
}

.ab-btn-primary {
    background: var(--ab-accent);
    color: #fff;
}

.ab-btn-primary:hover {
    background: var(--primary-blue-hover);
    color: #fff;
}

.ab-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    backdrop-filter: blur(8px);
}

.ab-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.ab-section-intro {
    max-width: 560px;
    margin-bottom: 32px;
}

.ab-section-intro h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ab-section-intro p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mission */
.ab-mission {
    padding: 72px 0;
    background: #fff;
}

.ab-mission-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 36px;
    align-items: start;
}

.ab-mission-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ab-mission-copy-wide {
    max-width: 720px;
}

.ab-mission-copy p {
    margin: 0 0 14px;
    color: var(--ab-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.ab-mission-copy p:last-child {
    margin-bottom: 0;
}

.ab-mission-aside {
    display: grid;
    gap: 12px;
}

.ab-metric {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--ab-line);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.ab-metric strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
    color: var(--ab-ink);
}

.ab-metric span {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ab-muted);
}

/* Our Mission */
.ab-our-mission {
    padding: 64px 0;
    background:
        linear-gradient(135deg, rgba(0, 86, 210, 0.06) 0%, transparent 55%),
        #f7f9fc;
    border-top: 1px solid var(--ab-line);
    border-bottom: 1px solid var(--ab-line);
}

.ab-our-mission-inner {
    max-width: 760px;
}

.ab-our-mission-label {
    margin: 0 0 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ab-accent);
}

.ab-our-mission h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.45;
    color: var(--ab-ink);
}

/* Values */
.ab-values {
    padding: 72px 0;
    background: #f7f9fc;
}

.ab-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ab-value {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ab-line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-value:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(10, 17, 40, 0.07);
}

.ab-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ab-soft);
    color: var(--ab-accent);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.ab-value h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ab-value p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Who we serve */
.ab-serve {
    padding: 72px 0;
    background: #fff;
}

.ab-serve-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ab-serve-card {
    display: block;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--ab-line);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ab-serve-card:hover {
    border-color: rgba(0, 86, 210, 0.28);
    box-shadow: 0 14px 36px rgba(10, 17, 40, 0.08);
    transform: translateY(-2px);
    color: inherit;
}

.ab-serve-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ab-soft);
    color: var(--ab-accent);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.ab-serve-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ab-serve-card p {
    margin: 0 0 16px;
    color: var(--ab-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ab-serve-card span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ab-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Approach */
.ab-approach {
    padding: 24px 0 72px;
    background: #fff;
}

.ab-approach-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 36px;
    border-radius: 22px;
    border: 1px solid var(--ab-line);
    background: #f7f9fc;
    align-items: start;
}

.ab-approach-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ab-approach-inner > div > p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.ab-approach-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.ab-approach-list li {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ab-line);
}

.ab-approach-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ab-approach-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.98rem;
    font-weight: 800;
}

.ab-approach-list span {
    color: var(--ab-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA */
.ab-cta {
    padding: 0 0 80px;
    background: #fff;
}

.ab-cta-inner {
    border-radius: 24px;
    padding: 56px 32px;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(74, 144, 226, 0.22), transparent 36%),
        radial-gradient(circle at 85% 0%, rgba(0, 86, 210, 0.28), transparent 34%),
        linear-gradient(145deg, #050f2c 0%, #0a1128 48%, #12356d 100%);
    color: #fff;
    box-shadow: 0 20px 48px rgba(10, 17, 40, 0.18);
}

.ab-cta-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.ab-cta-inner p {
    margin: 0 auto 26px;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.02rem;
    line-height: 1.6;
}

.ab-cta .ab-hero-actions {
    justify-content: center;
}

@media (max-width: 991px) {
    .ab-hero {
        min-height: auto;
        padding: 72px 0 56px;
        align-items: center;
    }

    .ab-mission-grid,
    .ab-value-grid,
    .ab-serve-grid,
    .ab-approach-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ab-hero {
        padding: 56px 0 48px;
    }

    .ab-hero-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .ab-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .ab-hero-actions {
        justify-content: center;
    }

    .ab-mission,
    .ab-our-mission,
    .ab-values,
    .ab-serve {
        padding: 56px 0;
    }

    .ab-approach {
        padding: 8px 0 56px;
    }

    .ab-approach-inner,
    .ab-cta-inner {
        padding: 28px 20px;
        border-radius: 18px;
    }
}
