/* ==========================================================================
   Basuula Matama & Co. Associates | style.css
   Rebuilt 2026-08-25 (Kafunda Kreative)
   System: navy + yellow, square corners, one accent used with discipline.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens & Reset
   -------------------------------------------------------------------------- */
:root {
    --c-primary: #13214C;
    --c-primary-deep: #0D1322;
    --c-accent: #FFD52A;
    --c-accent-dark: #E5BD00;
    --c-text: #333B52;
    --c-muted: #66708C;
    --c-white: #FFFFFF;
    --c-canvas: #FAF8F4;      /* warm off-white page canvas */
    --c-surface: #FFFFFF;
    --c-hairline: #E5E2D9;
    --container-width: 1200px;

    /* Type ladder: the only display sizes on the site */
    --fs-h1: clamp(2.1rem, 4.2vw, 3.5rem);
    --fs-h2: clamp(2rem, 3.2vw, 2.75rem);
    --fs-h3: 1.25rem;
    --fs-body: 1rem;
    --fs-small: 0.9rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--c-text);
    background-color: var(--c-canvas);
    font-size: var(--fs-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
    outline: 3px solid var(--c-accent);
    outline-offset: 2px;
}

/* Eyebrow: the section signature (yellow marker + tracked caps) */
.eyebrow,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--c-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.eyebrow::before,
.hero-eyebrow::before {
    content: '';
    width: 9px;
    height: 9px;
    background-color: var(--c-accent);
    flex: none;
}

.eyebrow--dark { color: var(--c-primary); }
.eyebrow--dark::before { background-color: var(--c-accent); }

/* --------------------------------------------------------------------------
   Buttons: yellow means "act"; nothing else is yellow
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    border: 2px solid transparent;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-primary);
}

.btn-primary:hover {
    background-color: var(--c-accent-dark);
    border-color: var(--c-accent-dark);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.btn-ghost:hover {
    background-color: var(--c-accent);
    color: var(--c-primary);
}

.btn .arrow-icon { transition: transform 0.3s ease; }
.btn:hover .arrow-icon { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 2rem;
    background-color: var(--c-white);
    position: absolute;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, var(--container-width));
    z-index: 100;
    border: 1px solid rgba(19, 33, 76, 0.15);
    box-shadow: 0 10px 30px rgba(13, 19, 34, 0.1);
}

/* Logo fills ~3/4 of the header bar height */
.logo img {
    height: 69px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    margin-left: auto;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.3rem;
    background: linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 0% 2px no-repeat;
    transition: background-size 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background-size: 100% 2px;
}

.nav .nav-cta {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
    background: var(--c-accent);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav .nav-cta:hover {
    background: var(--c-accent-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--c-primary);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    display: flex;
    min-height: 700px;
    position: relative;
    border-bottom: 1px solid var(--c-primary);
}

.hero-left {
    flex: 1 1 60%;
    background-color: var(--c-primary);
    display: flex;
    align-items: center;
    padding: 13rem 3rem 6rem max(5%, calc((100% - var(--container-width)) / 2));
}

.hero-text-box {
    max-width: 720px;
}

.hero-text-box h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-text-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 30em;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
}

.hero-secondary {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 2px solid var(--c-accent);
    padding-bottom: 2px;
    transition: color 0.25s ease;
}

.hero-secondary:hover { color: var(--c-white); }

.hero-right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    background-color: var(--c-primary);
    padding-top: 11.75rem; /* keeps the photo clear of the floating header */
}

.hero-stat-block {
    flex: 0 0 auto;
    background-color: var(--c-accent);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--c-primary);
}

.stat-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    display: flex;
    gap: 3.5rem;
}

.stat-item .exp-num {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--c-primary);
    line-height: 1.1;
    display: block;
}

.stat-item .exp-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-primary);
    max-width: 12em;
    display: block;
}

.dot-pattern-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.12) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}

.hero-image-block {
    flex: 1 1 auto;
    position: relative;
    min-height: 300px;
}

.hero-image-block img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

/* --------------------------------------------------------------------------
   Trust gap: the story's problem statement
   -------------------------------------------------------------------------- */
.trust-gap {
    background-color: var(--c-surface);
    padding: 6rem 5%;
    border-bottom: 1px solid var(--c-hairline);
}

.trust-gap-inner {
    max-width: 760px;
    margin: 0 auto;
}

.trust-gap h2 {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.75rem;
    text-wrap: balance;
}

.trust-gap p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    max-width: 65ch;
}

.trust-gap p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   Process ("The other side of the table"): self-hosted surface
   -------------------------------------------------------------------------- */
.process {
    position: relative;
    padding: 7rem 5%;
    background-color: var(--c-primary-deep);
    background-image:
        linear-gradient(rgba(13, 19, 34, 0.82), rgba(13, 19, 34, 0.82)),
        url('../process-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.process-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.process-right {
    flex: 0 1 640px;
}

.process-title {
    color: var(--c-white);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
    text-wrap: balance;
}

.process-lede {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 60ch;
}

.sector-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.sector-chips span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 213, 42, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.process-grid h4 {
    color: var(--c-accent);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.process-grid p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Partners teaser: puts the faces behind the story on the homepage
   -------------------------------------------------------------------------- */
.partners-teaser {
    background-color: var(--c-surface);
    padding: 6.5rem 5%;
    border-bottom: 1px solid var(--c-hairline);
}

.teaser-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.teaser-head { max-width: 640px; margin-bottom: 3rem; }

.teaser-head h2 {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.teaser-head p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.teaser-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

.teaser-card img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    flex: none;
    border-bottom: 4px solid var(--c-accent);
}

.teaser-body h3 {
    color: var(--c-primary);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.teaser-creds {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-accent-dark);
    margin-bottom: 0.9rem;
}

.teaser-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--c-text);
}

@media (max-width: 560px) {
    .teaser-card { flex-direction: column; gap: 1.1rem; }
    .teaser-card img { width: 100%; height: 300px; }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services {
    background-color: var(--c-canvas);
    padding: 6rem 5%;
}

.services-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.services-heading {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.s-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    position: relative;
    cursor: pointer;
}

.card-num {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.35s ease;
}

.card-interactive:hover .card-num { color: rgba(19, 33, 76, 0.4); }

.s-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.s-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-icon svg {
    width: 30px;
    height: 30px;
    transition: transform 0.35s ease;
}

.card-interactive:hover .s-icon svg { transform: scale(1.12); }

.s-card h3 {
    font-size: var(--fs-h3);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.s-card p {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.s-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
}

.card-interactive {
    background-color: var(--c-primary);
    color: var(--c-white);
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.card-interactive .s-icon {
    background: rgba(255, 255, 255, 0.06);
    color: var(--c-accent);
    transition: background-color 0.35s ease, color 0.35s ease;
}

.card-interactive h3 { color: var(--c-white); transition: color 0.35s ease; }
.card-interactive p { transition: color 0.35s ease; }

.card-interactive .s-btn {
    border-color: var(--c-accent);
    background: transparent;
    color: var(--c-accent);
}

.card-interactive:hover {
    background-color: var(--c-accent);
    color: var(--c-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(19, 33, 76, 0.12);
}

.card-interactive:hover h3,
.card-interactive:hover p { color: var(--c-primary); }

.card-interactive:hover .s-icon {
    background: rgba(0, 0, 0, 0.1);
    color: var(--c-primary);
}

.card-interactive:hover .s-btn {
    border-color: var(--c-primary);
    background: var(--c-primary);
    color: var(--c-white);
}

/* --------------------------------------------------------------------------
   Who we serve
   -------------------------------------------------------------------------- */
.who {
    padding: 7rem 5%;
    background-color: var(--c-surface);
    border-top: 1px solid var(--c-hairline);
    border-bottom: 1px solid var(--c-hairline);
}

.who-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.who-left { flex: 0 0 42%; }

.who-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 1rem;
}

.who-label::before {
    content: '';
    width: 9px;
    height: 9px;
    background-color: var(--c-accent);
}

.who-left h2 {
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--c-primary);
}

.who-right { flex: 1; }

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.tag {
    padding: 0.7rem 1.3rem;
    border: 1px solid var(--c-primary);
    font-weight: 700;
    font-size: var(--fs-small);
    color: var(--c-primary);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tag:hover {
    background-color: var(--c-primary);
    color: var(--c-white);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Case study: self-hosted surface
   -------------------------------------------------------------------------- */
.case-study {
    position: relative;
    padding: 7rem 5%;
    background-color: var(--c-primary-deep);
    background-image:
        linear-gradient(100deg, rgba(13, 19, 34, 0.96) 30%, rgba(13, 19, 34, 0.72) 58%, rgba(13, 19, 34, 0.45) 100%),
        url('../case-bg.jpg');
    background-size: auto, cover;
    background-position: center, center 30%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.case-box .btn { margin-top: 2rem; }

.case-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.case-box { max-width: 460px; }

.case-box h2 {
    color: var(--c-white);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.2;
    text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Lead magnet: the checklist band
   -------------------------------------------------------------------------- */
.checklist {
    background-color: var(--c-canvas);
    padding: 6rem 5%;
}

.checklist-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.checklist-copy { flex: 1 1 55%; }

.checklist-copy h2 {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.checklist-copy p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 32em;
}

.checklist-form-box {
    flex: 1 1 45%;
    max-width: 440px;
    background-color: var(--c-primary);
    padding: 2.5rem;
    border-top: 4px solid var(--c-accent);
}

.checklist-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.checklist-form .form-group label { color: var(--c-white); }

.checklist-form .form-group input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--c-white);
}

.checklist-form .form-group input:focus { border-color: var(--c-accent); }

.checklist-download[hidden] { display: none; }

.checklist-cta-box h3 {
    color: var(--c-white);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.checklist-cta-box > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.checklist-cta-box .btn { margin-bottom: 1.25rem; }

.checklist-download {
    display: inline-block;
    color: var(--c-accent);
    font-weight: 700;
    border-bottom: 2px solid var(--c-accent);
    padding-bottom: 2px;
    width: fit-content;
}

/* --------------------------------------------------------------------------
   Footer: navy band; yellow appears once, on the action
   -------------------------------------------------------------------------- */
.footer-block {
    background-color: var(--c-primary-deep);
    color: var(--c-white);
    padding: 4.5rem 5% 3rem;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    gap: 4rem;
}

.footer-left {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 1rem;
    width: fit-content;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-links a:hover {
    color: var(--c-white);
    border-bottom-color: var(--c-accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a { color: var(--c-white); }
.footer-contact a:hover { color: var(--c-accent); }

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand img {
    height: auto;
    width: 100%;
    max-width: 320px;
    object-fit: contain;
}

.footer-right { flex: 1 1 45%; }

.footer-right h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 1.75rem;
}

.footer-line {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
    max-width: 26em;
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 3.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Forms: shared bits
   -------------------------------------------------------------------------- */
.form-note {
    font-size: var(--fs-small);
    margin-top: 0.75rem;
    color: var(--c-accent);
    display: none;
}

.form-note.visible { display: block; }

/* --------------------------------------------------------------------------
   Lead modal
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 19, 34, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: var(--c-white);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    border-top: 4px solid var(--c-accent);
}

.modal-content h3 {
    color: var(--c-primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-content > p {
    color: var(--c-muted);
    margin-bottom: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--c-muted);
    cursor: pointer;
}

.modal-close:hover { color: var(--c-primary); }

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 0.9rem;
    border: 1px solid #C9C5BA;
    background: var(--c-white);
    color: var(--c-text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--c-primary);
}

.lead-form .btn { width: 100%; padding: 1rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.page-hero {
    background-color: var(--c-primary);
    padding: 12rem 5% 5rem;
}

.page-hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.page-hero h1 {
    font-size: var(--fs-h1);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 18em;
    text-wrap: balance;
}

.story {
    background-color: var(--c-surface);
    padding: 5rem 5%;
    border-bottom: 1px solid var(--c-hairline);
}

.story-inner { max-width: 820px; margin: 0 auto; }

.story-inner p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

.story-inner .story-line {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-primary);
    border-left: 4px solid var(--c-accent);
    padding-left: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.team {
    background-color: var(--c-canvas);
    padding: 5rem 5%;
}

.team-inner { max-width: var(--container-width); margin: 0 auto; }

.team-heading {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.partner-card {
    background-color: var(--c-primary);
    color: var(--c-white);
    padding: 2rem;
}

.partner-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-bottom: 4px solid var(--c-accent);
    margin-bottom: 2rem;
}

.partner-card h3 {
    color: var(--c-accent);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.partner-card .creds {
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--c-white);
    display: block;
    margin-bottom: 1rem;
}

.partner-card .email {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--c-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.partner-card .email:hover { border-bottom-color: var(--c-accent); }

.partner-card > p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   Audience pages (who we serve)
   -------------------------------------------------------------------------- */
.aud-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.aud-h2 {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
    text-wrap: balance;
    max-width: 20ch;
}

.aud-h2--light { color: var(--c-white); }

/* Problem */
.aud-problem {
    background-color: var(--c-surface);
    padding: 6rem 5%;
    border-bottom: 1px solid var(--c-hairline);
}

.aud-problem-inner { max-width: 760px; margin: 0 auto; }

.aud-problem h2 {
    color: var(--c-primary);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.75rem;
    text-wrap: balance;
}

.aud-problem p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    max-width: 65ch;
}

.aud-problem p:last-child { margin-bottom: 0; }

/* What we do */
.aud-do {
    background-color: var(--c-canvas);
    padding: 6rem 5%;
}

.aud-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.aud-item {
    background: var(--c-surface);
    border: 1px solid var(--c-hairline);
    border-left: 4px solid var(--c-accent);
    padding: 1.6rem 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aud-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(19, 33, 76, 0.09);
}

.aud-item h3 {
    color: var(--c-primary);
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.aud-item p {
    font-size: 0.94rem;
    line-height: 1.6;
}

/* The engagement */
.aud-how {
    background-color: var(--c-primary-deep);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 18px 18px;
    padding: 6rem 5%;
}

.aud-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.aud-step-n {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--c-accent);
    letter-spacing: 1px;
    margin-bottom: 0.9rem;
}

.aud-step h3 {
    color: var(--c-white);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.aud-step p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* The deliverable */
.aud-get {
    background-color: var(--c-surface);
    padding: 6rem 5%;
}

.aud-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    max-width: 1000px;
}

.aud-list li {
    position: relative;
    padding: 1rem 0 1rem 2.2rem;
    border-bottom: 1px solid var(--c-hairline);
    font-size: 1rem;
    line-height: 1.6;
}

.aud-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.4rem;
    width: 11px;
    height: 11px;
    background: var(--c-accent);
}

/* CTA + related */
.aud-cta {
    background-color: var(--c-canvas);
    padding: 5.5rem 5%;
    border-top: 1px solid var(--c-hairline);
}

.aud-cta-box {
    background: var(--c-primary);
    border-top: 4px solid var(--c-accent);
    padding: 3rem;
    margin-bottom: 3.5rem;
}

.aud-cta-box h2 {
    color: var(--c-white);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    text-wrap: balance;
}

.aud-cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 50ch;
}

.aud-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.aud-others-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
    .aud-problem, .aud-do, .aud-how, .aud-get { padding: 4.5rem 5%; }
    .aud-cta { padding: 4.5rem 5%; }
    .aud-steps { grid-template-columns: 1fr; gap: 2rem; }
    .aud-h2 { max-width: none; }
}

@media (max-width: 700px) {
    .aud-grid { grid-template-columns: 1fr; }
    .aud-list { grid-template-columns: 1fr; gap: 0; }
    .aud-cta-box { padding: 2rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   Checklist tool page
   -------------------------------------------------------------------------- */
.page-hero--compact { padding: 11rem 5% 3.5rem; }

.page-hero-sub {
    color: rgba(255, 255, 255, 0.78);
    max-width: 42em;
    margin-top: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-hero-sub a {
    color: var(--c-accent);
    border-bottom: 1px solid var(--c-accent);
}

.cl-scorebar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-hairline);
}

.cl-scorebar-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0.9rem 5%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cl-progress-track {
    flex: 1;
    height: 8px;
    background: var(--c-hairline);
}

.cl-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--c-accent);
    transition: width 0.4s ease;
}

.cl-progress-label {
    font-size: 0.85rem;
    color: var(--c-muted);
    white-space: nowrap;
}

.cl-progress-label b { color: var(--c-primary); }

.cl-jump {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-primary);
    border-bottom: 2px solid var(--c-accent);
    white-space: nowrap;
}

.cl-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 5% 5rem;
}

.cl-section {
    background: var(--c-surface);
    border: 1px solid var(--c-hairline);
    padding: 2rem 2.25rem;
    margin-bottom: 1.75rem;
}

.cl-section-head {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.cl-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--c-accent-dark);
}

.cl-section-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--c-primary);
    margin-bottom: 0.25rem;
}

.cl-section-head p {
    font-size: 0.9rem;
    color: var(--c-muted);
}

.cl-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--c-hairline);
    cursor: pointer;
    font-size: 0.97rem;
    line-height: 1.5;
}

.cl-row:hover { background: var(--c-canvas); }

.cl-row input {
    flex: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--c-accent);
    cursor: pointer;
}

.cl-row input:checked ~ span:last-child { color: var(--c-muted); }

.cl-results {
    scroll-margin-top: 80px;
    background: var(--c-primary);
    color: var(--c-white);
    padding: 2.5rem;
    border-top: 4px solid var(--c-accent);
    margin-top: 3rem;
}

.cl-score-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1.25rem 0 2rem;
}

.cl-big-score {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--c-accent);
    line-height: 1;
    flex: none;
}

.cl-big-score small {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.cl-score-row h2 {
    color: var(--c-white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cl-score-row p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.97rem;
}

.cl-report-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.cl-report-form h3 {
    color: var(--c-white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.cl-report-form > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.cl-report-form .form-group label { color: var(--c-white); }

.cl-report-form .form-group input,
.cl-report-form .form-group select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--c-white);
}

.cl-report-form .form-group select option {
    background: var(--c-primary);
    color: var(--c-white);
}

.cl-report-form .form-group input:focus,
.cl-report-form .form-group select:focus { border-color: var(--c-accent); }

.cl-report-form form { display: flex; flex-direction: column; gap: 1.1rem; }

.cl-form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cl-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2.5rem;
    margin-bottom: 2rem;
}

.cl-bd-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.85);
}

.cl-bd-row b { color: var(--c-accent); }

@media (max-width: 640px) {
    .cl-breakdown { grid-template-columns: 1fr; }
}

.cl-next {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.75rem;
}

.cl-next p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.cl-next b { color: var(--c-white); }

@media (max-width: 768px) {
    .page-hero--compact { padding: 3.5rem 5% 3rem; }
    .cl-section { padding: 1.5rem 1.25rem; }
    .cl-score-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cl-jump { display: none; }
}

@media print {
    .header, .cl-scorebar, .cl-report-form, .cl-next, .footer-block, .modal-overlay, .nav-cta { display: none !important; }
    .page-hero--compact { padding: 1rem 0; }
    body { background: #fff; }
    .cl-section { border: 1px solid #ccc; break-inside: avoid; }
    .cl-results { background: #fff; color: #000; border: 2px solid #13214C; }
    .cl-results h2, .cl-score-row p { color: #000; }
}

/* --------------------------------------------------------------------------
   Motion: scroll reveals, hero entrance, counters
   -------------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: none;
}

/* Hero entrance on load */
@keyframes rise {
    to { opacity: 1; transform: none; }
}

@keyframes hero-zoom {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
}

.hero-text-box > * {
    opacity: 0;
    transform: translateY(22px);
    animation: rise 0.7s ease forwards;
}

.hero-text-box > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text-box > *:nth-child(2) { animation-delay: 0.15s; }
.hero-text-box > *:nth-child(3) { animation-delay: 0.28s; }
.hero-text-box > *:nth-child(4) { animation-delay: 0.4s; }

.hero-image-block img {
    animation: hero-zoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up { opacity: 1; transform: none; transition: none; }
    .hero-text-box > * { animation: none; opacity: 1; transform: none; }
    .hero-image-block img { animation: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet and below (includes iPad portrait 768–1024px) */
@media (max-width: 1024px) {
    /* Header: logo + hamburger on one row, checklist button below */
    .header {
        position: static;
        transform: none;
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        padding: 0.9rem 5%;
        border-left: none;
        border-right: none;
        border-top: none;
        box-shadow: none;
    }

    .logo img { height: 88px; }

    .nav-toggle { display: block; }

    .nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    .nav a:not(.nav-cta) {
        display: none;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--c-hairline);
        font-size: 0.9rem;
        background: none;
    }

    .nav.open a:not(.nav-cta) { display: block; }

    .nav .nav-cta {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        margin-top: 0.85rem;
        padding: 0.8rem 1.1rem;
        font-size: 0.85rem;
    }

    /* Hero stacks so neither column is squeezed */
    .hero { flex-direction: column; min-height: 0; }
    .hero-left { padding: 4.5rem 5%; }
    .hero-right { padding-top: 0; }
    .hero-image-block { min-height: 420px; }
    .stat-content { padding: 2rem 5%; gap: 3rem; flex-wrap: wrap; }

    .trust-gap { padding: 5rem 5%; }

    .process { padding: 5rem 5%; }
    .process-content { justify-content: flex-start; }
    .process-right { flex: 1 1 auto; }

    .services { padding: 5rem 5%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .who { padding: 5rem 5%; }
    .who-content { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .who-left { flex: 1 1 auto; }

    .partners-teaser { padding: 5rem 5%; }
    .teaser-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .teaser-card img { width: 180px; height: 225px; }

    .case-study { padding: 5rem 5%; }
    .case-box { margin-right: 0; max-width: none; }

    .checklist { padding: 5rem 5%; }
    .checklist-inner { flex-direction: column; align-items: stretch; gap: 2.5rem; }
    .checklist-form-box { max-width: none; }

    .footer-inner { flex-direction: column; gap: 3rem; }
    .footer-block { padding: 3.5rem 5% 2rem; }

    .page-hero { padding: 4rem 5%; }
}

@media (max-width: 768px) {
    .hero-left { padding: 4rem 5%; }
    .hero-image-block { min-height: 320px; }
    .stat-content { padding: 1.5rem 5%; gap: 2rem; }

    .process { padding: 4.5rem 5%; }
    .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .services { padding: 4.5rem 5%; }
    .who { padding: 4.5rem 5%; }
    .trust-gap { padding: 4.5rem 5%; }
    .checklist { padding: 4.5rem 5%; }
    .case-study { padding: 4.5rem 5%; }
    .partners-teaser { padding: 4.5rem 5%; }
    .teaser-grid { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: 1fr; }
    .partner-card img { height: 340px; }

    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .s-card { min-height: 0; }
    .s-card p { margin-bottom: 1.5rem; }

    .stat-content { flex-direction: column; gap: 1rem; }
    .stat-item .exp-num { font-size: 2.2rem; }

    .btn { width: 100%; }
    .s-btn { width: auto; }

    .modal-content { padding: 1.75rem 1.25rem; }
}
